Hello Discuss,
I would like to have all the edges in this figure rounded like this, but this is way too slow.
include <BOSL2/std.scad>
include <BOSL2/rounding.scad>
Best regards,
Bob mailto:roosbob@wybatap.com
There is no general method other than minkowski that can round
arbitrary differences, though in practice if you give it an arbitrary
difference it'll take a couple hours, so it's a somewhat theoretical
capability.
Your figure looks like it's a pretty simple figure, though. You could
round it by subtracting a cylinder with flaring ends.
$fn = 36;
difference(){
cuboid([80,73,2.5],rounding=1);
translate([0,35,0])
cyl(d=70,h=2.51,rounding=-1);
}
This doesn't round quite the same way as minkowski, since it leaves
corners where the cylinder cuts in. If that's not OK you could use
round_corners() or path_join() to make a 2d point list that you pass
to offset_sweep().
On Sat, Jun 4, 2022 at 2:23 PM Bob Roos roosbob@wybatap.com wrote:
Hello Discuss,
I would like to have all the edges in this figure rounded like this, but this is way too slow.
include <BOSL2/std.scad>
include <BOSL2/rounding.scad>
Best regards,
Bob mailto:roosbob@wybatap.com
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Hi Adrian,
Thank you very much. That is MUCH faster and it will hold the shower curtain up off the surround wall perfectly.
I did not know about flare (negative) rounding.
I will explore offset-sweep. That looks it will require some serious study.
Bob Roos
Saturday, June 4, 2022, 4:27:31 PM, you wrote:
There is no general method other than minkowski that can round
arbitrary differences, though in practice if you give it an arbitrary
difference it'll take a couple hours, so it's a somewhat theoretical
capability.
Your figure looks like it's a pretty simple figure, though. You could
round it by subtracting a cylinder with flaring ends.
$fn = 36;
difference(){
cuboid([80,73,2.5],rounding=1);
translate([0,35,0])
cyl(d=70,h=2.51,rounding=-1);
}
This doesn't round quite the same way as minkowski, since it leaves
corners where the cylinder cuts in. If that's not OK you could use
round_corners() or path_join() to make a 2d point list that you pass
to offset_sweep().
On Sat, Jun 4, 2022 at 2:23 PM Bob Roos roosbob@wybatap.com wrote:
Hello Discuss,
I would like to have all the edges in this figure rounded like this, but this is way too slow.
include <BOSL2/std.scad>
include <BOSL2/rounding.scad>
Best regards,
Bob mailto:roosbob@wybatap.com
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
--
have Fun,
Bob mailto:roosbob@wybatap.com