A friend demonstrated this to me: is this a known problem? It seems as
if the implicit union() fails
Jon
module trimod(b, d, y, h){
polyhedron( points = [
[0, 0, 0], //point 0
[b, 0, 0], //point 1
[d, y, 0], //point 2
[0, 0, h], //point 3
[b, 0, h], //point 4
[d, y, h]], //point 5
faces = [
[3,4,5],
[0,3,4,1],
[4,5,2,1],
[0,1,2],
[0,2,5,3],
]
);
}
module ThisIsOK()
trimod(3,4,6,1);
module ThisFails() {
// when run with F6 the trimod loses most of its faces
trimod(3,4,6,1);
sphere(3);
}
ThisIsOK();
!ThisFails();
On 06/04/2016 07:31 PM, jon wrote:
A friend demonstrated this to me: is this a known problem?
Wrong winding order of one of the polygons.
ciao,
Torsten.
Ah. And this is invisible (and unreported) unless you show Thrown
Together in F5 mode.
Thank you
On 6/4/2016 1:43 PM, Torsten Paul wrote:
On 06/04/2016 07:31 PM, jon wrote:
A friend demonstrated this to me: is this a known problem?
Wrong winding order of one of the polygons.
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7639 / Virus Database: 4591/12358 - Release Date: 06/04/16
On 06/04/2016 07:55 PM, jon wrote:
Ah. And this is invisible (and unreported) unless you show
Thrown Together in F5 mode.
Yes, I guess that really needs a better solution, both regarding
the visualization by default and also some additional error
checking.
ciao,
Torsten.