Works fine with F5 but not with F6. Seems like a simple difference() to
me (obscured by quite a few modules). Any thoughts? See attached
Error.scad.
Note that the error appears the first time you press F6, but not
thereafter. If you flush the cache, you get to see the error message again
On 10/23/2022 12:10 PM, jon wrote:
Works fine with F5 but not with F6. Seems like a simple difference()
to me (obscured by quite a few modules). Any thoughts? See attached
Error.scad.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Maybe the BigShape2D(di) polygon should be made with the points list rather
than matching various shapes.
On Sun, 23 Oct 2022 at 21:43, jon jon@jonbondy.com wrote:
Note that the error appears the first time you press F6, but not
thereafter. If you flush the cache, you get to see the error message again
On 10/23/2022 12:10 PM, jon wrote:
Works fine with F5 but not with F6. Seems like a simple difference()
to me (obscured by quite a few modules). Any thoughts? See attached
Error.scad.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
The first step in such a thing is to figure out exactly what's causing
the problem. If you think it's a bug, continue doing that until you get
to a program where removing anything makes the problem go away.
Here's a minimal program that demonstrates the problem:
rotate_extrude() {
square([3, 1]);
translate([2, 1])
square([1, 1]);
square([1, 2]);
}
translate([-100,0,0]) cube();
This appears to be a bug in the 2D subsystem that is then leading to
CGAL problems.
Looking at just the 2D object, with F6, is illuminating:
square([3, 1]);
translate([2, 1])
square([1, 1]);
square([1, 2]);
Notice that the top-right square, the second one created, is not
connected to the others. Strangely, removing the left-hand one causes
the right-hand one to be connected.
A workaround is to make the right-hand square start at Y=0 and be 8 tall
instead of 6.
Yes I have come across a few bugs in 2D operations like that. Better to
make it with a difference.
On Sun, 23 Oct 2022 at 19:30, Jordan Brown openscad@jordan.maileater.net
wrote:
The first step in such a thing is to figure out exactly what's causing the
problem. If you think it's a bug, continue doing that until you get to a
program where removing anything makes the problem go away.
Here's a minimal program that demonstrates the problem:
rotate_extrude() {
square([3, 1]);
translate([2, 1])
square([1, 1]);
square([1, 2]);
}
translate([-100,0,0]) cube();
This appears to be a bug in the 2D subsystem that is then leading to CGAL
problems.
Looking at just the 2D object, with F6, is illuminating:
square([3, 1]);
translate([2, 1])
square([1, 1]);
square([1, 2]);
Notice that the top-right square, the second one created, is not connected
to the others. Strangely, removing the left-hand one causes the right-hand
one to be connected.
A workaround is to make the right-hand square start at Y=0 and be 8 tall
instead of 6.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
this one works perfectly
On Sun, 23 Oct 2022 at 23:33, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:
Maybe the BigShape2D(di) polygon should be made with the points list
rather than matching various shapes.
On Sun, 23 Oct 2022 at 21:43, jon jon@jonbondy.com wrote:
Note that the error appears the first time you press F6, but not
thereafter. If you flush the cache, you get to see the error message
again
On 10/23/2022 12:10 PM, jon wrote:
Works fine with F5 but not with F6. Seems like a simple difference()
to me (obscured by quite a few modules). Any thoughts? See attached
Error.scad.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org