JB
Jon Bondy
Wed, May 13, 2026 1:48 AM
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
AM
Adrian Mariano
Wed, May 13, 2026 2:53 AM
Depends on what exactly you want rounded. Either rounded_prism() or
offset_sweep() can round that, treating it as a sideways object (that is an
extruded pentagon).
On Tue, May 12, 2026 at 9:49 PM Jon Bondy via Discuss <
discuss@lists.openscad.org> wrote:
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
--
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
Depends on what exactly you want rounded. Either rounded_prism() or
offset_sweep() can round that, treating it as a sideways object (that is an
extruded pentagon).
On Tue, May 12, 2026 at 9:49 PM Jon Bondy via Discuss <
discuss@lists.openscad.org> wrote:
> Any easy way to round the edges on this shape?
>
>
>
>
> include <BOSL2/std.scad>
>
> eps = 0.01;
> slop = 0.2;
> $fa = 3;
> $fs = 0.2;
> inches = 25.4;
>
> difference() {
> down(10)
> cube([22, 38, 30]);
> // slanted top
> translate([-50, -10, -5])
> rotate([27, 0, 0])
> cube(100);
> // slanted bottom
> translate([-50, 15, 17])
> rotate([-27, 0, 0])
> cube(100);
> }
>
>
> --
> 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
L
larry
Wed, May 13, 2026 3:43 AM
On Tue, 2026-05-12 at 21:48 -0400, Jon Bondy via Discuss wrote:
Any easy way to round the edges on this shape?
If I was asked to make this shape, I'd probably do it this way.
Note: I know it isn't elegant but it's the first thing that came to
mind.
//--------------
include <BOSL2/std.scad>
hull() {
#sphere(1);
down(10) #sphere(1);
right(22) #sphere(1);
down(10) right(22) #sphere(1);
down(10) back(38) #sphere(1);
down(10) right(22) back(38) #sphere(1);
back(38) up(5) #sphere(1);
back(38) up(5) right(22) #sphere(1);
back(24) up(12) right(22) #sphere(1);
back(24) up(12) #sphere(1);
}
//--------------
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
--
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
On Tue, 2026-05-12 at 21:48 -0400, Jon Bondy via Discuss wrote:
> Any easy way to round the edges on this shape?
If I was asked to make this shape, I'd probably do it this way.
Note: I know it isn't elegant but it's the first thing that came to
mind.
//--------------
include <BOSL2/std.scad>
hull() {
#sphere(1);
down(10) #sphere(1);
right(22) #sphere(1);
down(10) right(22) #sphere(1);
down(10) back(38) #sphere(1);
down(10) right(22) back(38) #sphere(1);
back(38) up(5) #sphere(1);
back(38) up(5) right(22) #sphere(1);
back(24) up(12) right(22) #sphere(1);
back(24) up(12) #sphere(1);
}
//--------------
> include <BOSL2/std.scad>
>
> eps = 0.01;
> slop = 0.2;
> $fa = 3;
> $fs = 0.2;
> inches = 25.4;
>
> difference() {
> down(10)
> cube([22, 38, 30]);
> // slanted top
> translate([-50, -10, -5])
> rotate([27, 0, 0])
> cube(100);
> // slanted bottom
> translate([-50, 15, 17])
> rotate([-27, 0, 0])
> cube(100);
> }
>
>
> --
> 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
K
Ken
Wed, May 13, 2026 6:54 AM
minkowski seems to work ok?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
minkowski()
{
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
sphere (1);
}
On 13/5/26 11:48, Jon Bondy via Discuss wrote:
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
minkowski seems to work ok?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
minkowski()
{
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
sphere (1);
}
On 13/5/26 11:48, Jon Bondy via Discuss wrote:
> Any easy way to round the edges on this shape?
>
>
>
>
> include <BOSL2/std.scad>
>
> eps = 0.01;
> slop = 0.2;
> $fa = 3;
> $fs = 0.2;
> inches = 25.4;
>
> difference() {
> down(10)
> cube([22, 38, 30]);
> // slanted top
> translate([-50, -10, -5])
> rotate([27, 0, 0])
> cube(100);
> // slanted bottom
> translate([-50, 15, 17])
> rotate([-27, 0, 0])
> cube(100);
> }
>
>
--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html
----------------------------------------
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
JB
Jon Bondy
Wed, May 13, 2026 7:06 PM
I always start off thinking I must avoid minkowski(), but it works well
in this situation.
I had to take a medium sized project, with many difference() statements,
and refactor it into pre-difference() and post-difference() portions,
then minkowski() the union of the pre-diffs and finally apply the
post-diffs. An interesting exercise.
:)
On 5/13/2026 2:54 AM, Ken via Discuss wrote:
minkowski seems to work ok?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
minkowski()
{
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
sphere (1);
}
On 13/5/26 11:48, Jon Bondy via Discuss wrote:
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
I always start off thinking I must avoid minkowski(), but it works well
in this situation.
I had to take a medium sized project, with many difference() statements,
and refactor it into pre-difference() and post-difference() portions,
then minkowski() the union of the pre-diffs and finally apply the
post-diffs. An interesting exercise.
:)
On 5/13/2026 2:54 AM, Ken via Discuss wrote:
> minkowski seems to work ok?
>
>
> include <BOSL2/std.scad>
>
> eps = 0.01;
> slop = 0.2;
> $fa = 3;
> $fs = 0.2;
> inches = 25.4;
>
> minkowski()
> {
> difference() {
> down(10)
> cube([22, 38, 30]);
> // slanted top
> translate([-50, -10, -5])
> rotate([27, 0, 0])
> cube(100);
> // slanted bottom
> translate([-50, 15, 17])
> rotate([-27, 0, 0])
> cube(100);
> }
> sphere (1);
> }
>
> On 13/5/26 11:48, Jon Bondy via Discuss wrote:
>> Any easy way to round the edges on this shape?
>>
>>
>>
>>
>> include <BOSL2/std.scad>
>>
>> eps = 0.01;
>> slop = 0.2;
>> $fa = 3;
>> $fs = 0.2;
>> inches = 25.4;
>>
>> difference() {
>> down(10)
>> cube([22, 38, 30]);
>> // slanted top
>> translate([-50, -10, -5])
>> rotate([27, 0, 0])
>> cube(100);
>> // slanted bottom
>> translate([-50, 15, 17])
>> rotate([-27, 0, 0])
>> cube(100);
>> }
>>
>>
>
> --
> Cheers, Ken
> bats059@gmail.com
> https://vk7krj.com
> https://vk7krj.com/running.html
> ----------------------------------------
> A baby can be defined as an ego with a noise at one end and a smell at the other.
> Your job as parents is to teach them to control all three.
> My job as a grandad is to tell you how you are doing it all wrong!
>
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email todiscuss-leave@lists.openscad.org
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
AM
Adrian Mariano
Wed, May 13, 2026 8:08 PM
I think the methods I suggested are easier. Using rounded_prism just
rounds the shape you provide, no fussing around. As I previously noted you
can also do this with offset_sweep combined with round_corners, and I
didn't think of it but also convex_offset_extrude combined with round2d().
include<BOSL2/std.scad>
side = difference([ fwd(10, square([38, 30])),
move([-10,-5], zrot(27, square(100))),
move([15,17], zrot(-27, square(100)))
])[0];
rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss <
discuss@lists.openscad.org> wrote:
I always start off thinking I must avoid minkowski(), but it works well in
this situation.
I had to take a medium sized project, with many difference() statements,
and refactor it into pre-difference() and post-difference() portions, then
minkowski() the union of the pre-diffs and finally apply the post-diffs.
An interesting exercise.
:)
On 5/13/2026 2:54 AM, Ken via Discuss wrote:
minkowski seems to work ok?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
minkowski()
{
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
sphere (1);
}
On 13/5/26 11:48, Jon Bondy via Discuss wrote:
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
Virus-free.www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
<#m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I think the methods I suggested are easier. Using rounded_prism just
rounds the shape you provide, no fussing around. As I previously noted you
can also do this with offset_sweep combined with round_corners, and I
didn't think of it but also convex_offset_extrude combined with round2d().
include<BOSL2/std.scad>
side = difference([ fwd(10, square([38, 30])),
move([-10,-5], zrot(27, square(100))),
move([15,17], zrot(-27, square(100)))
])[0];
rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss <
discuss@lists.openscad.org> wrote:
> I always start off thinking I must avoid minkowski(), but it works well in
> this situation.
>
> I had to take a medium sized project, with many difference() statements,
> and refactor it into pre-difference() and post-difference() portions, then
> minkowski() the union of the pre-diffs and finally apply the post-diffs.
> An interesting exercise.
>
> :)
>
> On 5/13/2026 2:54 AM, Ken via Discuss wrote:
>
> minkowski seems to work ok?
>
>
> include <BOSL2/std.scad>
>
> eps = 0.01;
> slop = 0.2;
> $fa = 3;
> $fs = 0.2;
> inches = 25.4;
>
> minkowski()
> {
> difference() {
> down(10)
> cube([22, 38, 30]);
> // slanted top
> translate([-50, -10, -5])
> rotate([27, 0, 0])
> cube(100);
> // slanted bottom
> translate([-50, 15, 17])
> rotate([-27, 0, 0])
> cube(100);
> }
> sphere (1);
> }
>
> On 13/5/26 11:48, Jon Bondy via Discuss wrote:
>
> Any easy way to round the edges on this shape?
>
>
>
>
> include <BOSL2/std.scad>
>
> eps = 0.01;
> slop = 0.2;
> $fa = 3;
> $fs = 0.2;
> inches = 25.4;
>
> difference() {
> down(10)
> cube([22, 38, 30]);
> // slanted top
> translate([-50, -10, -5])
> rotate([27, 0, 0])
> cube(100);
> // slanted bottom
> translate([-50, 15, 17])
> rotate([-27, 0, 0])
> cube(100);
> }
>
>
>
> --
> Cheers, Kenbats059@gmail.comhttps://vk7krj.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=nA_RFW5V5ZW2_ZH1eaUa1-g8cao0E2wOQCTIvNvbMcw&e=>https://vk7krj.com/running.html <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com_running.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=PAaZSXR0Y5M0oUMgy5hY_8kX1QELcQmFFNpzXBYJGms&e=>
> ----------------------------------------
> A baby can be defined as an ego with a noise at one end and a smell at the other.
> Your job as parents is to teach them to control all three.
> My job as a grandad is to tell you how you are doing it all wrong!
>
>
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> Virus-free.www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
JB
Jon Bondy
Thu, May 14, 2026 1:05 PM
Adrian:
As always, your code is more sophisticated than I am. I did not know
the "trick" of converting a 2D object to 3D by appending the "[0]", for
example. Your examples are always educational.
In the end, I created a complex shape (consisting of 5 connected
moderately complex shapes) and used minkowski() to smooth the entire
thing, after which I difference()'d in the various holes that needed
drilling.
Jon
On 5/13/2026 4:08 PM, Adrian Mariano via Discuss wrote:
I think the methods I suggested are easier. Using rounded_prism just
rounds the shape you provide, no fussing around. As I previously
noted you can also do this with offset_sweep combined with
round_corners, and I didn't think of it but also convex_offset_extrude
combined with round2d().
include<BOSL2/std.scad>
side = difference([ fwd(10, square([38, 30])),
move([-10,-5], zrot(27, square(100))),
move([15,17], zrot(-27, square(100)))
])[0];
rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss
discuss@lists.openscad.org wrote:
I always start off thinking I must avoid minkowski(), but it works
well in this situation.
I had to take a medium sized project, with many difference()
statements, and refactor it into pre-difference() and
post-difference() portions, then minkowski() the union of the
pre-diffs and finally apply the post-diffs. An interesting exercise.
:)
On 5/13/2026 2:54 AM, Ken via Discuss wrote:
minkowski seems to work ok?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
minkowski()
{
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
sphere (1);
}
On 13/5/26 11:48, Jon Bondy via Discuss wrote:
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=nA_RFW5V5ZW2_ZH1eaUa1-g8cao0E2wOQCTIvNvbMcw&e=>
https://vk7krj.com/running.html <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com_running.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=PAaZSXR0Y5M0oUMgy5hY_8kX1QELcQmFFNpzXBYJGms&e=>
----------------------------------------
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
Virus-free.www.avg.com
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
<#m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
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
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
Adrian:
As always, your code is more sophisticated than I am. I did not know
the "trick" of converting a 2D object to 3D by appending the "[0]", for
example. Your examples are always educational.
In the end, I created a complex shape (consisting of 5 connected
moderately complex shapes) and used minkowski() to smooth the entire
thing, after which I difference()'d in the various holes that needed
drilling.
Jon
On 5/13/2026 4:08 PM, Adrian Mariano via Discuss wrote:
> I think the methods I suggested are easier. Using rounded_prism just
> rounds the shape you provide, no fussing around. As I previously
> noted you can also do this with offset_sweep combined with
> round_corners, and I didn't think of it but also convex_offset_extrude
> combined with round2d().
>
> include<BOSL2/std.scad>
>
> side = difference([ fwd(10, square([38, 30])),
> move([-10,-5], zrot(27, square(100))),
> move([15,17], zrot(-27, square(100)))
> ])[0];
>
> rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
>
>
> On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss
> <discuss@lists.openscad.org> wrote:
>
> I always start off thinking I must avoid minkowski(), but it works
> well in this situation.
>
> I had to take a medium sized project, with many difference()
> statements, and refactor it into pre-difference() and
> post-difference() portions, then minkowski() the union of the
> pre-diffs and finally apply the post-diffs. An interesting exercise.
>
> :)
>
> On 5/13/2026 2:54 AM, Ken via Discuss wrote:
>> minkowski seems to work ok?
>>
>>
>> include <BOSL2/std.scad>
>>
>> eps = 0.01;
>> slop = 0.2;
>> $fa = 3;
>> $fs = 0.2;
>> inches = 25.4;
>>
>> minkowski()
>> {
>> difference() {
>> down(10)
>> cube([22, 38, 30]);
>> // slanted top
>> translate([-50, -10, -5])
>> rotate([27, 0, 0])
>> cube(100);
>> // slanted bottom
>> translate([-50, 15, 17])
>> rotate([-27, 0, 0])
>> cube(100);
>> }
>> sphere (1);
>> }
>>
>> On 13/5/26 11:48, Jon Bondy via Discuss wrote:
>>> Any easy way to round the edges on this shape?
>>>
>>>
>>>
>>>
>>> include <BOSL2/std.scad>
>>>
>>> eps = 0.01;
>>> slop = 0.2;
>>> $fa = 3;
>>> $fs = 0.2;
>>> inches = 25.4;
>>>
>>> difference() {
>>> down(10)
>>> cube([22, 38, 30]);
>>> // slanted top
>>> translate([-50, -10, -5])
>>> rotate([27, 0, 0])
>>> cube(100);
>>> // slanted bottom
>>> translate([-50, 15, 17])
>>> rotate([-27, 0, 0])
>>> cube(100);
>>> }
>>>
>>>
>>
>> --
>> Cheers, Ken
>> bats059@gmail.com
>> https://vk7krj.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=nA_RFW5V5ZW2_ZH1eaUa1-g8cao0E2wOQCTIvNvbMcw&e=>
>> https://vk7krj.com/running.html <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com_running.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=PAaZSXR0Y5M0oUMgy5hY_8kX1QELcQmFFNpzXBYJGms&e=>
>> ----------------------------------------
>> A baby can be defined as an ego with a noise at one end and a smell at the other.
>> Your job as parents is to teach them to control all three.
>> My job as a grandad is to tell you how you are doing it all wrong!
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email todiscuss-leave@lists.openscad.org
>
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
> Virus-free.www.avg.com
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
>
>
> <#m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> 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
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
KE
Karl Exler
Thu, May 14, 2026 4:00 PM
I am always trying to learn from the profs... ;-) But now OpenScad says
that it don´t know the function "rounded_prism"
I renewed my BOSL2 Library... but .. nope
What I am doing wrong?
KARL
Am 14.05.26 um 15:05 schrieb Jon Bondy via Discuss:
Adrian:
As always, your code is more sophisticated than I am. I did not know
the "trick" of converting a 2D object to 3D by appending the "[0]",
for example. Your examples are always educational.
In the end, I created a complex shape (consisting of 5 connected
moderately complex shapes) and used minkowski() to smooth the entire
thing, after which I difference()'d in the various holes that needed
drilling.
Jon
On 5/13/2026 4:08 PM, Adrian Mariano via Discuss wrote:
I think the methods I suggested are easier. Using rounded_prism just
rounds the shape you provide, no fussing around. As I previously
noted you can also do this with offset_sweep combined with
round_corners, and I didn't think of it but also
convex_offset_extrude combined with round2d().
include<BOSL2/std.scad>
side = difference([ fwd(10, square([38, 30])),
move([-10,-5], zrot(27, square(100))),
move([15,17], zrot(-27, square(100)))
])[0];
rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss
discuss@lists.openscad.org wrote:
I always start off thinking I must avoid minkowski(), but it
works well in this situation.
I had to take a medium sized project, with many difference()
statements, and refactor it into pre-difference() and
post-difference() portions, then minkowski() the union of the
pre-diffs and finally apply the post-diffs. An interesting exercise.
:)
On 5/13/2026 2:54 AM, Ken via Discuss wrote:
minkowski seems to work ok?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
minkowski()
{
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
sphere (1);
}
On 13/5/26 11:48, Jon Bondy via Discuss wrote:
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=nA_RFW5V5ZW2_ZH1eaUa1-g8cao0E2wOQCTIvNvbMcw&e=>
https://vk7krj.com/running.html <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com_running.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=PAaZSXR0Y5M0oUMgy5hY_8kX1QELcQmFFNpzXBYJGms&e=>
----------------------------------------
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
Virus-free.www.avg.com
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
<#m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
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
I am always trying to learn from the profs... ;-) But now OpenScad says
that it don´t know the function "rounded_prism"
I renewed my BOSL2 Library... but .. nope
What I am doing wrong?
KARL
Am 14.05.26 um 15:05 schrieb Jon Bondy via Discuss:
>
> Adrian:
>
> As always, your code is more sophisticated than I am. I did not know
> the "trick" of converting a 2D object to 3D by appending the "[0]",
> for example. Your examples are always educational.
>
> In the end, I created a complex shape (consisting of 5 connected
> moderately complex shapes) and used minkowski() to smooth the entire
> thing, after which I difference()'d in the various holes that needed
> drilling.
>
> Jon
>
>
> On 5/13/2026 4:08 PM, Adrian Mariano via Discuss wrote:
>> I think the methods I suggested are easier. Using rounded_prism just
>> rounds the shape you provide, no fussing around. As I previously
>> noted you can also do this with offset_sweep combined with
>> round_corners, and I didn't think of it but also
>> convex_offset_extrude combined with round2d().
>>
>> include<BOSL2/std.scad>
>>
>> side = difference([ fwd(10, square([38, 30])),
>> move([-10,-5], zrot(27, square(100))),
>> move([15,17], zrot(-27, square(100)))
>> ])[0];
>>
>> rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
>>
>>
>> On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss
>> <discuss@lists.openscad.org> wrote:
>>
>> I always start off thinking I must avoid minkowski(), but it
>> works well in this situation.
>>
>> I had to take a medium sized project, with many difference()
>> statements, and refactor it into pre-difference() and
>> post-difference() portions, then minkowski() the union of the
>> pre-diffs and finally apply the post-diffs. An interesting exercise.
>>
>> :)
>>
>> On 5/13/2026 2:54 AM, Ken via Discuss wrote:
>>> minkowski seems to work ok?
>>>
>>>
>>> include <BOSL2/std.scad>
>>>
>>> eps = 0.01;
>>> slop = 0.2;
>>> $fa = 3;
>>> $fs = 0.2;
>>> inches = 25.4;
>>>
>>> minkowski()
>>> {
>>> difference() {
>>> down(10)
>>> cube([22, 38, 30]);
>>> // slanted top
>>> translate([-50, -10, -5])
>>> rotate([27, 0, 0])
>>> cube(100);
>>> // slanted bottom
>>> translate([-50, 15, 17])
>>> rotate([-27, 0, 0])
>>> cube(100);
>>> }
>>> sphere (1);
>>> }
>>>
>>> On 13/5/26 11:48, Jon Bondy via Discuss wrote:
>>>> Any easy way to round the edges on this shape?
>>>>
>>>>
>>>>
>>>>
>>>> include <BOSL2/std.scad>
>>>>
>>>> eps = 0.01;
>>>> slop = 0.2;
>>>> $fa = 3;
>>>> $fs = 0.2;
>>>> inches = 25.4;
>>>>
>>>> difference() {
>>>> down(10)
>>>> cube([22, 38, 30]);
>>>> // slanted top
>>>> translate([-50, -10, -5])
>>>> rotate([27, 0, 0])
>>>> cube(100);
>>>> // slanted bottom
>>>> translate([-50, 15, 17])
>>>> rotate([-27, 0, 0])
>>>> cube(100);
>>>> }
>>>>
>>>>
>>>
>>> --
>>> Cheers, Ken
>>> bats059@gmail.com
>>> https://vk7krj.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=nA_RFW5V5ZW2_ZH1eaUa1-g8cao0E2wOQCTIvNvbMcw&e=>
>>> https://vk7krj.com/running.html <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com_running.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=PAaZSXR0Y5M0oUMgy5hY_8kX1QELcQmFFNpzXBYJGms&e=>
>>> ----------------------------------------
>>> A baby can be defined as an ego with a noise at one end and a smell at the other.
>>> Your job as parents is to teach them to control all three.
>>> My job as a grandad is to tell you how you are doing it all wrong!
>>>
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> To unsubscribe send an email todiscuss-leave@lists.openscad.org
>>
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
>> Virus-free.www.avg.com
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
>>
>>
>> <#m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> _______________________________________________
>> 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
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email todiscuss-leave@lists.openscad.org
DP
Dan Perry
Thu, May 14, 2026 4:03 PM
Using a module as a function? Show your code.
Dan
On Thu, May 14, 2026 at 9:01 AM Karl Exler via Discuss <
discuss@lists.openscad.org> wrote:
I am always trying to learn from the profs... ;-) But now OpenScad says
that it don´t know the function "rounded_prism"
I renewed my BOSL2 Library... but .. nope
What I am doing wrong?
KARL
Am 14.05.26 um 15:05 schrieb Jon Bondy via Discuss:
Adrian:
As always, your code is more sophisticated than I am. I did not know the
"trick" of converting a 2D object to 3D by appending the "[0]", for
example. Your examples are always educational.
In the end, I created a complex shape (consisting of 5 connected
moderately complex shapes) and used minkowski() to smooth the entire thing,
after which I difference()'d in the various holes that needed drilling.
Jon
On 5/13/2026 4:08 PM, Adrian Mariano via Discuss wrote:
I think the methods I suggested are easier. Using rounded_prism just
rounds the shape you provide, no fussing around. As I previously noted you
can also do this with offset_sweep combined with round_corners, and I
didn't think of it but also convex_offset_extrude combined with round2d().
include<BOSL2/std.scad>
side = difference([ fwd(10, square([38, 30])),
move([-10,-5], zrot(27, square(100))),
move([15,17], zrot(-27, square(100)))
])[0];
rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss <
discuss@lists.openscad.org> wrote:
I always start off thinking I must avoid minkowski(), but it works well
in this situation.
I had to take a medium sized project, with many difference() statements,
and refactor it into pre-difference() and post-difference() portions, then
minkowski() the union of the pre-diffs and finally apply the post-diffs.
An interesting exercise.
:)
On 5/13/2026 2:54 AM, Ken via Discuss wrote:
minkowski seems to work ok?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
minkowski()
{
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
sphere (1);
}
On 13/5/26 11:48, Jon Bondy via Discuss wrote:
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=
Virus-free.www.avg.com
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=
<#m_-511053714183435358_m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Using a module as a function? Show your code.
Dan
On Thu, May 14, 2026 at 9:01 AM Karl Exler via Discuss <
discuss@lists.openscad.org> wrote:
> I am always trying to learn from the profs... ;-) But now OpenScad says
> that it don´t know the function "rounded_prism"
>
> I renewed my BOSL2 Library... but .. nope
>
> What I am doing wrong?
>
> KARL
> Am 14.05.26 um 15:05 schrieb Jon Bondy via Discuss:
>
> Adrian:
>
> As always, your code is more sophisticated than I am. I did not know the
> "trick" of converting a 2D object to 3D by appending the "[0]", for
> example. Your examples are always educational.
>
> In the end, I created a complex shape (consisting of 5 connected
> moderately complex shapes) and used minkowski() to smooth the entire thing,
> after which I difference()'d in the various holes that needed drilling.
>
> Jon
>
>
> On 5/13/2026 4:08 PM, Adrian Mariano via Discuss wrote:
>
> I think the methods I suggested are easier. Using rounded_prism just
> rounds the shape you provide, no fussing around. As I previously noted you
> can also do this with offset_sweep combined with round_corners, and I
> didn't think of it but also convex_offset_extrude combined with round2d().
>
> include<BOSL2/std.scad>
>
> side = difference([ fwd(10, square([38, 30])),
> move([-10,-5], zrot(27, square(100))),
> move([15,17], zrot(-27, square(100)))
> ])[0];
>
> rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
>
>
> On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss <
> discuss@lists.openscad.org> wrote:
>
>> I always start off thinking I must avoid minkowski(), but it works well
>> in this situation.
>>
>> I had to take a medium sized project, with many difference() statements,
>> and refactor it into pre-difference() and post-difference() portions, then
>> minkowski() the union of the pre-diffs and finally apply the post-diffs.
>> An interesting exercise.
>>
>> :)
>>
>> On 5/13/2026 2:54 AM, Ken via Discuss wrote:
>>
>> minkowski seems to work ok?
>>
>>
>> include <BOSL2/std.scad>
>>
>> eps = 0.01;
>> slop = 0.2;
>> $fa = 3;
>> $fs = 0.2;
>> inches = 25.4;
>>
>> minkowski()
>> {
>> difference() {
>> down(10)
>> cube([22, 38, 30]);
>> // slanted top
>> translate([-50, -10, -5])
>> rotate([27, 0, 0])
>> cube(100);
>> // slanted bottom
>> translate([-50, 15, 17])
>> rotate([-27, 0, 0])
>> cube(100);
>> }
>> sphere (1);
>> }
>>
>> On 13/5/26 11:48, Jon Bondy via Discuss wrote:
>>
>> Any easy way to round the edges on this shape?
>>
>>
>>
>>
>> include <BOSL2/std.scad>
>>
>> eps = 0.01;
>> slop = 0.2;
>> $fa = 3;
>> $fs = 0.2;
>> inches = 25.4;
>>
>> difference() {
>> down(10)
>> cube([22, 38, 30]);
>> // slanted top
>> translate([-50, -10, -5])
>> rotate([27, 0, 0])
>> cube(100);
>> // slanted bottom
>> translate([-50, 15, 17])
>> rotate([-27, 0, 0])
>> cube(100);
>> }
>>
>>
>>
>> --
>> Cheers, Kenbats059@gmail.comhttps://vk7krj.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=nA_RFW5V5ZW2_ZH1eaUa1-g8cao0E2wOQCTIvNvbMcw&e=>https://vk7krj.com/running.html <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com_running.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=PAaZSXR0Y5M0oUMgy5hY_8kX1QELcQmFFNpzXBYJGms&e=>
>> ----------------------------------------
>> A baby can be defined as an ego with a noise at one end and a smell at the other.
>> Your job as parents is to teach them to control all three.
>> My job as a grandad is to tell you how you are doing it all wrong!
>>
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>
>>
>>
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
>> Virus-free.www.avg.com
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
>> <#m_-511053714183435358_m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
KE
Karl Exler
Thu, May 14, 2026 4:48 PM
sorry for using wrong terminology... I simply tried this code.. and
received an error
include<BOSL2/std.scad>
side = difference([ fwd(10, square([38, 30])),
move([-10,-5], zrot(27, square(100))),
move([15,17], zrot(-27, square(100)))
])[0];
rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
Karl
Am 14.05.26 um 18:03 schrieb Dan Perry via Discuss:
Using a module as a function? Show your code.
Dan
On Thu, May 14, 2026 at 9:01 AM Karl Exler via Discuss
discuss@lists.openscad.org wrote:
I am always trying to learn from the profs... ;-) But now OpenScad
says that it don´t know the function "rounded_prism"
I renewed my BOSL2 Library... but .. nope
What I am doing wrong?
KARL
Am 14.05.26 um 15:05 schrieb Jon Bondy via Discuss:
Adrian:
As always, your code is more sophisticated than I am. I did not
know the "trick" of converting a 2D object to 3D by appending the
"[0]", for example. Your examples are always educational.
In the end, I created a complex shape (consisting of 5 connected
moderately complex shapes) and used minkowski() to smooth the
entire thing, after which I difference()'d in the various holes
that needed drilling.
Jon
On 5/13/2026 4:08 PM, Adrian Mariano via Discuss wrote:
I think the methods I suggested are easier. Using rounded_prism
just rounds the shape you provide, no fussing around. As I
previously noted you can also do this with offset_sweep combined
with round_corners, and I didn't think of it but also
convex_offset_extrude combined with round2d().
include<BOSL2/std.scad>
side = difference([ fwd(10, square([38, 30])),
move([-10,-5], zrot(27, square(100))),
move([15,17], zrot(-27, square(100)))
])[0];
rounded_prism(side, height=22, joint_sides=5, joint_top=5,
joint_bot=5);
On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss
<discuss@lists.openscad.org> wrote:
I always start off thinking I must avoid minkowski(), but it
works well in this situation.
I had to take a medium sized project, with many difference()
statements, and refactor it into pre-difference() and
post-difference() portions, then minkowski() the union of
the pre-diffs and finally apply the post-diffs. An
interesting exercise.
:)
On 5/13/2026 2:54 AM, Ken via Discuss wrote:
minkowski seems to work ok?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
minkowski()
{
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
sphere (1);
}
On 13/5/26 11:48, Jon Bondy via Discuss wrote:
Any easy way to round the edges on this shape?
include <BOSL2/std.scad>
eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;
difference() {
down(10)
cube([22, 38, 30]);
// slanted top
translate([-50, -10, -5])
rotate([27, 0, 0])
cube(100);
// slanted bottom
translate([-50, 15, 17])
rotate([-27, 0, 0])
cube(100);
}
--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=nA_RFW5V5ZW2_ZH1eaUa1-g8cao0E2wOQCTIvNvbMcw&e=>
https://vk7krj.com/running.html <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com_running.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=PAaZSXR0Y5M0oUMgy5hY_8kX1QELcQmFFNpzXBYJGms&e=>
----------------------------------------
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
Virus-free.www.avg.com
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
<#m_-511053714183435358_m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
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
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
_______________________________________________
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
sorry for using wrong terminology... I simply tried this code.. and
received an error
include<BOSL2/std.scad>
side = difference([ fwd(10, square([38, 30])),
move([-10,-5], zrot(27, square(100))),
move([15,17], zrot(-27, square(100)))
])[0];
rounded_prism(side, height=22, joint_sides=5, joint_top=5, joint_bot=5);
Karl
Am 14.05.26 um 18:03 schrieb Dan Perry via Discuss:
> Using a module as a function? Show your code.
>
> Dan
>
>
> On Thu, May 14, 2026 at 9:01 AM Karl Exler via Discuss
> <discuss@lists.openscad.org> wrote:
>
> I am always trying to learn from the profs... ;-) But now OpenScad
> says that it don´t know the function "rounded_prism"
>
> I renewed my BOSL2 Library... but .. nope
>
> What I am doing wrong?
>
> KARL
>
> Am 14.05.26 um 15:05 schrieb Jon Bondy via Discuss:
>>
>> Adrian:
>>
>> As always, your code is more sophisticated than I am. I did not
>> know the "trick" of converting a 2D object to 3D by appending the
>> "[0]", for example. Your examples are always educational.
>>
>> In the end, I created a complex shape (consisting of 5 connected
>> moderately complex shapes) and used minkowski() to smooth the
>> entire thing, after which I difference()'d in the various holes
>> that needed drilling.
>>
>> Jon
>>
>>
>> On 5/13/2026 4:08 PM, Adrian Mariano via Discuss wrote:
>>> I think the methods I suggested are easier. Using rounded_prism
>>> just rounds the shape you provide, no fussing around. As I
>>> previously noted you can also do this with offset_sweep combined
>>> with round_corners, and I didn't think of it but also
>>> convex_offset_extrude combined with round2d().
>>>
>>> include<BOSL2/std.scad>
>>>
>>> side = difference([ fwd(10, square([38, 30])),
>>> move([-10,-5], zrot(27, square(100))),
>>> move([15,17], zrot(-27, square(100)))
>>> ])[0];
>>>
>>> rounded_prism(side, height=22, joint_sides=5, joint_top=5,
>>> joint_bot=5);
>>>
>>>
>>> On Wed, May 13, 2026 at 3:08 PM Jon Bondy via Discuss
>>> <discuss@lists.openscad.org> wrote:
>>>
>>> I always start off thinking I must avoid minkowski(), but it
>>> works well in this situation.
>>>
>>> I had to take a medium sized project, with many difference()
>>> statements, and refactor it into pre-difference() and
>>> post-difference() portions, then minkowski() the union of
>>> the pre-diffs and finally apply the post-diffs. An
>>> interesting exercise.
>>>
>>> :)
>>>
>>> On 5/13/2026 2:54 AM, Ken via Discuss wrote:
>>>> minkowski seems to work ok?
>>>>
>>>>
>>>> include <BOSL2/std.scad>
>>>>
>>>> eps = 0.01;
>>>> slop = 0.2;
>>>> $fa = 3;
>>>> $fs = 0.2;
>>>> inches = 25.4;
>>>>
>>>> minkowski()
>>>> {
>>>> difference() {
>>>> down(10)
>>>> cube([22, 38, 30]);
>>>> // slanted top
>>>> translate([-50, -10, -5])
>>>> rotate([27, 0, 0])
>>>> cube(100);
>>>> // slanted bottom
>>>> translate([-50, 15, 17])
>>>> rotate([-27, 0, 0])
>>>> cube(100);
>>>> }
>>>> sphere (1);
>>>> }
>>>>
>>>> On 13/5/26 11:48, Jon Bondy via Discuss wrote:
>>>>> Any easy way to round the edges on this shape?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> include <BOSL2/std.scad>
>>>>>
>>>>> eps = 0.01;
>>>>> slop = 0.2;
>>>>> $fa = 3;
>>>>> $fs = 0.2;
>>>>> inches = 25.4;
>>>>>
>>>>> difference() {
>>>>> down(10)
>>>>> cube([22, 38, 30]);
>>>>> // slanted top
>>>>> translate([-50, -10, -5])
>>>>> rotate([27, 0, 0])
>>>>> cube(100);
>>>>> // slanted bottom
>>>>> translate([-50, 15, 17])
>>>>> rotate([-27, 0, 0])
>>>>> cube(100);
>>>>> }
>>>>>
>>>>>
>>>>
>>>> --
>>>> Cheers, Ken
>>>> bats059@gmail.com
>>>> https://vk7krj.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=nA_RFW5V5ZW2_ZH1eaUa1-g8cao0E2wOQCTIvNvbMcw&e=>
>>>> https://vk7krj.com/running.html <https://urldefense.proofpoint.com/v2/url?u=https-3A__vk7krj.com_running.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=h2RQwWIEhzj5wT2tfBV5hTt7t1xPZaMbjwOjDfl0ah2G6y4KAI3Al6kkFDzgaBso&s=PAaZSXR0Y5M0oUMgy5hY_8kX1QELcQmFFNpzXBYJGms&e=>
>>>> ----------------------------------------
>>>> A baby can be defined as an ego with a noise at one end and a smell at the other.
>>>> Your job as parents is to teach them to control all three.
>>>> My job as a grandad is to tell you how you are doing it all wrong!
>>>>
>>>>
>>>> _______________________________________________
>>>> OpenSCAD mailing list
>>>> To unsubscribe send an email todiscuss-leave@lists.openscad.org
>>>
>>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
>>> Virus-free.www.avg.com
>>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=LIZtHBFkfs-kequwsv0Kn3k1RZnJ7zKMPING6dH8cJPrRWRgerqEBk23ywJkYliD&s=eUb1B-tyP6lkGfXKsWlj_FAQ3pFzxp2ADerTfd0qFnY&e=>
>>>
>>>
>>> <#m_-511053714183435358_m_7018855624604288762_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email todiscuss-leave@lists.openscad.org
> _______________________________________________
> 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