[OpenSCAD] avoiding assertion violation

MichaelAtOz oz.at.michael at gmail.com
Wed Jul 17 02:43:07 EDT 2019

Ronaldo wrote
> In the limit case, when just a simple polygon vertex is on the Y axis,
> there is no smartness to avoid non-manifoldness and an error might be
> issued.
> However, when, the polygon is not simple, like in the example bellow, it
> is
> harder to detect beforehand a non-manifoldness of rotate_extrude():
> rotate_extrude(){
>   polygon([ [2,2],[3,3], [2,4] ]);
>   translate([1,0]) square(2);
> }
> cube();

So a test would be if polygon vertex.x=0 then at least one adjacent vertex
must have x=0 & a different y.

Admin - email* me if you need anything, or if I've done something stupid...

* click on my MichaelAtOz label, there is a link to email me.

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!
Sent from: http://forum.openscad.org/

More information about the Discuss mailing list