You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
3DMLoader can occasionally fail to return geometry if render meshes are missing. Right now such warnings are only posted to console. It'll be helpful if these are returned when calling .load() or .parse()
Describe the solution you'd like
A solution may be that the returned object has an array of warnings. Another solution may be that parse and load methods accept an optional onWarning callback.
Describe alternatives you've considered
The current 3DMLoader outputs such messages to console using console.warn() . I've tried a workaround to capture all console.warn messages this way but it's pretty hacky.
Additional context
Below is a screenshot of an example model that was missing render meshes. (not the default Rhino Logo model)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
3DMLoader can occasionally fail to return geometry if render meshes are missing. Right now such warnings are only posted to console. It'll be helpful if these are returned when calling
.load()
or.parse()
Describe the solution you'd like
A solution may be that the returned object has an array of warnings. Another solution may be that
parse
andload
methods accept an optionalonWarning
callback.Describe alternatives you've considered
The current 3DMLoader outputs such messages to console using
console.warn()
. I've tried a workaround to capture allconsole.warn
messages this way but it's pretty hacky.Additional context
Below is a screenshot of an example model that was missing render meshes. (not the default Rhino Logo model)
The text was updated successfully, but these errors were encountered: