Comments (15)
Maybe better to join the openscad mailing list and send this issue there:
http://rocklinux.net/mailman/listinfo/openscad
from openscad.
After investigating this for a bit, I've come to the conclusion that the internal mesh handling in OpenSCAD is slightly broken when given geometry including very small triangles. The culprit seems to be some internal optimization done by the grid class. This will be tricky to clean up without breaking something else :/
from openscad.
thanks for the update!
I'm getting into the habit of running /everything/ through
cloud.netfabb.com these days.
I wonder if it would tell you anything useful to compare before and
after from that process?
from openscad.
I've got myself a minimal example, so I think I'm good for now:
cube(size = [10,10,5]);
translate([5, 5, 8.1-9+0.9]) cube(size = [5,10,10]);
from openscad.
Also, boolean operations result in a lot of overlapping facets! :)
from openscad.
For me, OpenSCAD (2011.09.30) produces an STL file that contains a bad facet:
facet normal 0 0 0
outer loop
vertex 9.5 104.991 9.26462
vertex 9.5 104.991 9.38249
vertex 9.5 104.991 9.5
endloop
endfacet
from openscad.
bwilson:
- You're using a pretty old OpenSCAD
- Could you post the .scad file producing this STL?
from openscad.
I am seeing this with http://goldnerlab.physics.umass.edu/~bgamari/battery_holder.scad (according to Slic3r resulting in very incorrect GCode). I haven't yet been able which part of the model is responsible for the non-manifoldness, but it occurs with the current git master (67eb2eb with OpenCSG 1.3.2).
from openscad.
It looks like at least the two separating walls are infinitely thin and would cause such an error.
from openscad.
Ultimately I was able to stumble upon the issue (being the separating walls, as you mentioned, as well as some problems with the gasket recess, if I recall correctly).
While I understand that handling these issues correctly is remarkably difficult, it would be nice if OpenSCAD could help a bit more in tracking down the source of the problem. Especially in large models it can be very difficult to determine exactly where the problem is originating as the symptoms are often quite vague.
from openscad.
I agree - my wish would be to be able to graphically highlight such issues.
from openscad.
Another minimal example:
rotate([90,0,180]) translate ([0, 0, 8]) cube(10, center=true);
rotate([90,0,270]) translate ([0, 0, 8]) cube(10, center=true);
from openscad.
A more involved example: http://forum.openscad.org/file/n6554/corner.scad (which is taken from http://www.thingiverse.com/thing:179597)
from openscad.
Is it possible to fix the STLs locally?
from openscad.
At some point between 2016 and today, this issue was fixed. Likely by a fix in upstream CGAL.
The tests also work using the current Manifold backend
from openscad.
Related Issues (20)
- ERROR: The given mesh is not closed! HOT 1
- Customizer precision syntax causes default value to be changed HOT 1
- Functions as input for the scale parameter in linear_extrude
- Plan for next release HOT 2
- textmetrics does not work from command line HOT 3
- Render missing parts of the model HOT 4
- can not open dat file std:bad_alloc HOT 12
- 3DConnexion Bluetooth Wireless SpaceMouse
- example017 CGAL regression
- projection example CGAL regression
- can not open some *off file HOT 6
- Customizer doesn´t allow fractions for parameters which are integers HOT 1
- Emit Warning message when module is re-defined within a single file
- Comment among "Hidden" assignments causes unwanted parameters to appear in Customizer
- Unable to return to "Preview" (F9) view mode after "Thrown Together" (F12) view mode is selected.
- need to clean out old openscad installer and reset back to clean sheet HOT 6
- Allow selecting STL files to import via a file dialog HOT 12
- OpenSCAD does not respect macOS system keyboard shortcuts. HOT 4
- Can't build on OS X HOT 9
- Format on save
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openscad.