no way to render difference with stl

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

no way to render difference with stl

juerg.maier
I truly love OpenScad but it has its problems with imported STL-Files.
I have a partial globe land profile (cut down for size). I can render it. If I try to difference it from my globe-sphere it throws
ERROR: CGAL error in CGAL_Nef_polyhedron3():
I have tried to fix the STL with netfabb, netfabb cloud, meshmixer and Microsoft stl repair.
I am out of ideas how to make it work.
I want to subtract the land from a globe sphere to print the land parts in a second color. land7_Cut3_fixed_2_MM.stl
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: no way to render difference with stl

frankv
I looked at your file with FreeCAD... it finds (and sometimes fixes) faults the others don't.

It shows 3 or 4 large triangular holes in Antartica due apparently to flipped normals. And reports quite a lot of other faults. Automatically fixing them didn't work.

You could also try MeshLab to find and fix the faults.


On Sun, Feb 19, 2017 at 3:16 AM, juerg.maier <[hidden email]> wrote:
I truly love OpenScad but it has its problems with imported STL-Files.
I have a partial globe land profile (cut down for size). I can render it. If
I try to difference it from my globe-sphere it throws
ERROR: CGAL error in CGAL_Nef_polyhedron3():
I have tried to fix the STL with netfabb, netfabb cloud, meshmixer and
Microsoft stl repair.
I am out of ideas how to make it work.
I want to subtract the land from a globe sphere to print the land parts in a
second color.  land7_Cut3_fixed_2_MM.stl
<http://forum.openscad.org/file/n20473/land7_Cut3_fixed_2_MM.stl>



--
View this message in context: http://forum.openscad.org/no-way-to-render-difference-with-stl-tp20473.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: no way to render difference with stl

MichaelAtOz
Administrator
Meshlab show self intersection and non-manifold.
I haven't learnt sufficient skills in Meshlab to fix it.
Admin - PM me if you need anything,
or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: no way to render difference with stl

Neon22
In reply to this post by frankv
Those holes in Antarctica are how you get through to middle earth... Its also explains why they are inside out.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: no way to render difference with stl

juerg.maier
But why are the different programs able to show mit the object and telling me the file is OK?
And why can I see results with F5 but it fails when using F6?
It would need something like a accuracy factor to make me create a new STL in OpenScad?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: no way to render difference with stl

MichaelAtOz
Administrator
juerg.maier wrote
But why are the different programs able to show mit the object and telling me the file is OK?
And why can I see results with F5 but it fails when using F6?
It would need something like a accuracy factor to make me create a new STL in OpenScad?
F5 is a preview, an approximation, it does not calculate exact geometry.
F6, when it needs to do union() difference() etc, uses the geometry.
IF THE GEOMETRY IS BROKEN, SEE ABOVE, IT CANNOT WORK.

Unfortunately other programs take garbage-in and do garbage-out.
Admin - PM me if you need anything,
or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Loading...