On Sun, Nov 21, 2021 at 01:20:29PM +0000, Jaacov Molcho via Discuss wrote:
Date: Sun, 21 Nov 2021 13:20:29 +0000
From: ymolcho12@yahoo.com
To: discuss@lists.openscad.org
Subject: [OpenSCAD] My program does not rend (F6)
Please help me to find why the attached program cannot finish rend (F5).
It renders instantly as a preview on my computer (F5).
It takes (quite) a while with F6 ("render" in openscad speak).
It took 2h on my computer. It does warn about it being a valid
3D object.
Things to avoid are: subtracting part where a side matches precisely
So don't do:
difference () {
cube (20);
cube (10);
}
but
difference () {
cube (20);
translate ([-1,-1,-1]) cube (11);
}
To debug such things, remove parts of your design to see which part
triggers the behaviour you don't like.
Roger.
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
Also, you may want to move the parallel toruses outside of
the for(i=[0:30:360]) loop. They only need to be done once.
On Sun, Nov 21, 2021 at 9:34 AM Rogier Wolff R.E.Wolff@bitwizard.nl wrote:
On Sun, Nov 21, 2021 at 01:20:29PM +0000, Jaacov Molcho via Discuss wrote:
Date: Sun, 21 Nov 2021 13:20:29 +0000
From: ymolcho12@yahoo.com
To: discuss@lists.openscad.org
Subject: [OpenSCAD] My program does not rend (F6)
Please help me to find why the attached program cannot finish rend (F5).
It renders instantly as a preview on my computer (F5).
It takes (quite) a while with F6 ("render" in openscad speak).
It took 2h on my computer. It does warn about it being a valid
3D object.
Things to avoid are: subtracting part where a side matches precisely
So don't do:
difference () {
cube (20);
cube (10);
}
but
difference () {
cube (20);
translate ([-1,-1,-1]) cube (11);
}
To debug such things, remove parts of your design to see which part
triggers the behaviour you don't like.
Roger.
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110
**
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I was able to reduce the render time from 0:02:43.677 to 0:01:32.065 by
adding a hull() to the torr() module:
module torr(x,y,z)
{
r=1.5;
hull()
rotate_extrude(convexity=10)
translate([x,y,z])
circle(r);
}
On Sun, Nov 21, 2021 at 9:56 AM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:
Also, you may want to move the parallel toruses outside of
the for(i=[0:30:360]) loop. They only need to be done once.
On Sun, Nov 21, 2021 at 9:34 AM Rogier Wolff R.E.Wolff@bitwizard.nl
wrote:
On Sun, Nov 21, 2021 at 01:20:29PM +0000, Jaacov Molcho via Discuss wrote:
Date: Sun, 21 Nov 2021 13:20:29 +0000
From: ymolcho12@yahoo.com
To: discuss@lists.openscad.org
Subject: [OpenSCAD] My program does not rend (F6)
Please help me to find why the attached program cannot finish rend (F5).
It renders instantly as a preview on my computer (F5).
It takes (quite) a while with F6 ("render" in openscad speak).
It took 2h on my computer. It does warn about it being a valid
3D object.
Things to avoid are: subtracting part where a side matches precisely
So don't do:
difference () {
cube (20);
cube (10);
}
but
difference () {
cube (20);
translate ([-1,-1,-1]) cube (11);
}
To debug such things, remove parts of your design to see which part
triggers the behaviour you don't like.
Roger.
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110
**
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233
**
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org