-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating grids and aligning them with uploaded .STLs #33
Comments
Also, this technically isn't the same issue, but whenever I try to rotate one of the meshes, it becomes a cube instead of staying as a mesh. Is there a way to avoid this? |
Hi. When you load the stl or any other file type, no info is supplied from JS to .NET side. Please, see #30 for more info. |
I have never seen such behavior before. are you trying to rotate programmatically? |
Yes, I have code like this for each of the rotation directions. Is this not the intended way? |
there are 2 moments:
unfortunately, the current state of the Blazor3D doesn't provide functionality required by you |
I've created a program that takes in an .STL file input, gets the corresponding URL for the object from the filestream, and renders it with Blazor3D. I'm trying to then add a new GridHelper, whose dimensions are relative to the size of the object rendered, something like GridHelper(Object.Length*2). I thought I had found the correct source for the rendered object's dimensions in the scene's child's Objects.Mesh.Geometry, however since it's a mesh, all of the dimensions are the default values (1,1,1), even if two meshes are vastly different in size.
My question is, is there a way I can find an 'absolute size' or another metric to handle things like varied grid size or camera location?
The text was updated successfully, but these errors were encountered: