If you do an F5 on this, and look at it from above and below, sometimes
you see a half-bagel that is above the XY plane, and sometimes one below
the XY plane. Confusing. Is there any way to make it always show the
correct geometry?
Jon
// Sink Drain Food Catcher
bd = 80.7; // big diameter
br = bd/2;
sd = 47; // small diameter
ht = 44; // height
module Torus(of, ra)
rotate_extrude(convexity = 10, $fn = 100)
translate([ra + of, 0, 0])
circle(r = ra, $fn = 100);
module CutTorus(of, ra)
difference() {
Torus(of, ra);
translate([-500, -500, 0])
cube(1000);
}
cube([br + 55, 1, 1]);
cube([1, 1, ht]);
CutTorus(0, 44);
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
Make the cube smaller, zoom out further or use orthogonal mode.
The cube gets clipped by the front clipping plane and that breaks OpeCSG.
On Mon, 26 Feb 2024 at 13:21, jon via Discuss discuss@lists.openscad.org
wrote:
If you do an F5 on this, and look at it from above and below, sometimes
you see a half-bagel that is above the XY plane, and sometimes one below
the XY plane. Confusing. Is there any way to make it always show the
correct geometry?
Jon
// Sink Drain Food Catcher
bd = 80.7; // big diameter
br = bd/2;
sd = 47; // small diameter
ht = 44; // height
module Torus(of, ra)
rotate_extrude(convexity = 10, $fn = 100)
translate([ra + of, 0, 0])
circle(r = ra, $fn = 100);
module CutTorus(of, ra)
difference() {
Torus(of, ra);
translate([-500, -500, 0])
cube(1000);
}
cube([br + 55, 1, 1]);
cube([1, 1, ht]);
CutTorus(0, 44);
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I’m on my iPad at the moment so can’t run your program, but this sounds like https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/FAQ#Why_does_difference_(or_intersection)_sometimes_not_work_in_preview? .
Running OpenSCAD version 2024.01.23 (git 88d244aed) with manifold checked.
It appears to preview fine, with the half torus always below the XY plane.
On Mon, Feb 26, 2024 at 12:05 PM Jordan Brown via Discuss <
discuss@lists.openscad.org> wrote:
I’m on my iPad at the moment so can’t run your program, but this sounds
like
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/FAQ#Why_does_difference_(or_intersection)_sometimes_not_work_in_preview?
.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
previews fine, with or without manifold, but not f6
On 26/02/2024 18:19, Leonard Martin Struttmann via Discuss wrote:
Running OpenSCAD version 2024.01.23 (git 88d244aed) with manifold
checked. It appears to preview fine, with the half torus always below
the XY plane.
On Mon, Feb 26, 2024 at 12:05 PM Jordan Brown via Discuss
discuss@lists.openscad.org wrote:
I’m on my iPad at the moment so can’t run your program, but this
sounds like
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/FAQ#Why_does_difference_(or_intersection)_sometimes_not_work_in_preview? .
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org