-
Notifications
You must be signed in to change notification settings - Fork 514
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
Missing triangles in 3D view #36
Comments
code is here https://gist.github.com/codehero/8274288 |
I reduced it to the cylinder (x-axis) substracted from the cube; it's something in the csg.js substract operation: http://sprunge.us/IQPG |
This seems to work http://openjscad.org/#http://sprunge.us/XYeQ |
Ok, try this http://openjscad.org/#http://sprunge.us/MVbU and enter "Diameter of fork bolt" = 8, but at 8.1 it gives this error with the missing part . . . |
I found the problem, make sure the resolution is integer, not a fraction, do resolution: Math.floor(something * something) |
OK cool, thanks for checking it out. Maybe the API should throw an exception if there is a fractional part to the resolution? |
I just made sure the CSG.*({resolution: something}); is fetched as int. |
This PR adds & fixes a LOT of things: * adds initial support for geometry caching (see documentation in README) #34 * adds saving of cache & parameters between launches closes #35 and closes #36 * adds an options panel #37 * fixes error handling : fixes #33 * fixes a lot of minor & less minor issues : fixes #39 * restructures the code to make use of the new @jscad/core package
My .jscad file shows missing triangles in the 3d previewer and STL output
The text was updated successfully, but these errors were encountered: