I've increased the bevel size so you can see it, but it works for
integer values above 2. But, for some reason, it doesn't work for some
even numbers 12 and below.
2.0001 is fine, however, and 12.0001. (in manifold, but not cgal rendering)
On 14/01/2025 14:45, Sanjeev Prabhakar wrote:
I could not see any chamfer or fillet here.
Anything missing?
On Tue, 14 Jan 2025 at 18:04, Raymond West via Discuss
discuss@lists.openscad.org wrote:
This gives a flat fillet (which I've called a bevel - depends if
you think it is internal or external, draughtsman or carpenter)
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
hull(){
intersection(){
tube(30); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+bevel);
}
intersection(){
tube(30+bevel); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20);
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
bevel=6; // greater than 2.
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
module fillet(a,b,c,d){
hull(){
intersection(){
tube(30+a); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+b);
}
intersection(){
tube(30+c); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+d);
}
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
for (j= [0:2:90]){
bevel=12.01;
a=bevelsin(j);
b=bevelcos(j);
fillet(0,a,b,0);
}
///////////////////////////////// More is better....
Privately.
I am not sure why, but your code (below) does not create a fillet for me
in OpenSCAD 2024.01.14.
Jon
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
module fillet(a,b,c,d){
hull(){
intersection(){
tube(30+a); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+b);
}
intersection(){
tube(30+c); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+d);
}
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
for (j= [0:2:90]){
bevel=12.01;
a=bevelsin(j);
b=bevelcos(j);
fillet(0,a,b,0);
}
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
And that is how "Reply" works when the From field is Raymond West via Discuss. Sigh.
On 1/15/2025 7:01 AM, Jon Bondy via Discuss wrote:
Privately.
I am not sure why, but your code (below) does not create a fillet for me in OpenSCAD 2024.01.14.
Jon
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
module fillet(a,b,c,d){
hull(){
intersection(){
tube(30+a); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+b);
}
intersection(){
tube(30+c); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+d);
}
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
for (j= [0:2:90]){
bevel=12.01;
a=bevel*sin(j);
b=bevel*cos(j);
fillet(0,a,b,0);
}
[https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-green-avg-v1.png]http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient Virus-free.www.avg.comhttp://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.orgmailto:discuss-leave@lists.openscad.org
Increase the "0" values in the last line. I tried 5,a,b,5 for example.
There is also the bevel=12.01 line slightly above that has some effect, I'm
sure.
On Wed, 15 Jan 2025 at 13:01, Jon Bondy via Discuss <
discuss@lists.openscad.org> wrote:
Privately.
I am not sure why, but your code (below) does not create a fillet for me
in OpenSCAD 2024.01.14.
Jon
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
module fillet(a,b,c,d){
hull(){
intersection(){
tube(30+a); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+b);
}
intersection(){
tube(30+c); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+d);
}
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
for (j= [0:2:90]){
bevel=12.01;
a=bevel*sin(j);
b=bevel*cos(j);
fillet(0,a,b,0);
}
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_3625393776829400504_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
My previous posting, wrt the straight fillet, I found that for values of
bevel, like 2,4,12, did not hull. My value for the 'thickness' of the
path, being 0.0001, was the thinnest I could run on my system. Even
then, it would not work on cgal rendering, but fine on manifold. I
believe Jon on his Mac needed 0.01. My more recent posting, showing the
curved fillet works for all the values I've tested on my system, windows
11, 64bit, 2024.12.03, but I'm guessing that there are values of j that
do not contribute to the shape, but adjacent ones do, so not necessarily
visible, but any bevel value seems to be OK. It seems to produce a
watertight stl.
On 15/01/2025 14:15, Michael Möller via Discuss wrote:
Increase the "0" values in the last line. I tried 5,a,b,5 for
example. There is also the bevel=12.01 line slightly above that has
some effect, I'm sure.
On Wed, 15 Jan 2025 at 13:01, Jon Bondy via Discuss
discuss@lists.openscad.org wrote:
Privately.
I am not sure why, but your code (below) does not create a fillet
for me in OpenSCAD 2024.01.14.
Jon
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
module fillet(a,b,c,d){
hull(){
intersection(){
tube(30+a); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+b);
}
intersection(){
tube(30+c); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+d);
}
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
for (j= [0:2:90]){
bevel=12.01;
a=bevel*sin(j);
b=bevel*cos(j);
fillet(0,a,b,0);
}
<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>
_______________________________________________
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
On 15/01/2025 14:15, Michael Möller via Discuss wrote:
Increase the "0" values in the last line. I tried 5,a,b,5 for
example. There is also the bevel=12.01 line slightly above that has
some effect, I'm sure.
On Wed, 15 Jan 2025 at 13:01, Jon Bondy via Discuss
discuss@lists.openscad.org wrote:
Privately.
I am not sure why, but your code (below) does not create a fillet
for me in OpenSCAD 2024.01.14.
Jon
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
module fillet(a,b,c,d){
hull(){
intersection(){
tube(30+a); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+b);
}
intersection(){
tube(30+c); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+d);
}
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
for (j= [0:2:90]){
bevel=12.01;
a=bevel*sin(j);
b=bevel*cos(j);
fillet(0,a,b,0);
}
<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_3625393776829400504_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
Still nothing. Has anyone been able to get this to work?
Jon
On 1/15/2025 9:15 AM, Michael Möller via Discuss wrote:
Increase the "0" values in the last line. I tried 5,a,b,5 for
example. There is also the bevel=12.01 line slightly above that has
some effect, I'm sure.
On Wed, 15 Jan 2025 at 13:01, Jon Bondy via Discuss
discuss@lists.openscad.org wrote:
Privately.
I am not sure why, but your code (below) does not create a fillet
for me in OpenSCAD 2024.01.14.
Jon
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
module fillet(a,b,c,d){
hull(){
intersection(){
tube(30+a); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+b);
}
intersection(){
tube(30+c); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+d);
}
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
for (j= [0:2:90]){
bevel=12.01;
a=bevel*sin(j);
b=bevel*cos(j);
fillet(0,a,b,0);
}
<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_3625393776829400504_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
On 1/15/2025 9:15 AM, Jon Bondy via Discuss wrote:
Still nothing. Has anyone been able to get this to work?
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
I'm not completely clear on why this is a tube instead of a cylinder,
but increasing the thickness of the tube (by making the 0.0001 larger)
makes the fillet appear. For preview, 0.01 seems to work; for Manifold
0.001 seem to work.
Hi Jon,
In order to make sure I'd not left out something, I copied back the text
in my post with the code and rounded fillet, and it is as the original,
working.
If you are getting nothing, do you not get the plain tubes without the
fillet, or is it the fillet that is missing? You may not see the fillet
if $fn is not set (or set to 1 or 3).
I've no idea with Macs, In my 60 or so years of software, I've only
touched apple a couple of times.
Maybe test what I've written, by making penultimate line of tube module
'circle (d=d-5);'
comment out everything after '$fn=100;
then enter and run 'fillet(0,20,20,0);' and you should get something on
the screen, either after hitting fn5 or fn6.
If nothing shows, then check your script with what I posted, and try
different values.
It works with bevel=80, too, values above that gets interesting, with
the cylinder sizes I have given.
On 15/01/2025 17:15, Jon Bondy via Discuss wrote:
Still nothing. Has anyone been able to get this to work?
Jon
On 1/15/2025 9:15 AM, Michael Möller via Discuss wrote:
Increase the "0" values in the last line. I tried 5,a,b,5 for
example. There is also the bevel=12.01 line slightly above that has
some effect, I'm sure.
On Wed, 15 Jan 2025 at 13:01, Jon Bondy via Discuss
discuss@lists.openscad.org wrote:
Privately.
I am not sure why, but your code (below) does not create a fillet
for me in OpenSCAD 2024.01.14.
Jon
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
module fillet(a,b,c,d){
hull(){
intersection(){
tube(30+a); //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+b);
}
intersection(){
tube(30+c); // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+d);
}
}
}
$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);
for (j= [0:2:90]){
bevel=12.01;
a=bevel*sin(j);
b=bevel*cos(j);
fillet(0,a,b,0);
}
<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_3625393776829400504_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
Hi Jordan,
I'm not completely clear on why this is a tube instead of a cylinder,
Because it evolved from my original effort, to generate a path on which
to use Minkowski and a special shape, and the original test was for
tubes. Possibly this fillet now could be generated differently, but even
the originators of the puzzle expected something other than openscad to
be used to generate the fillet.
From what you and Jon are saying, there are differences in the results
from openscad, depending on what platform - windows, Mac, Linux are used.
On 15/01/2025 17:26, Jordan Brown via Discuss wrote:
On 1/15/2025 9:15 AM, Jon Bondy via Discuss wrote:
Still nothing. Has anyone been able to get this to work?
On 1/15/2025 6:35 AM, Raymond West via Discuss wrote:
module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}
I'm not completely clear on why this is a tube instead of a cylinder,
but increasing the thickness of the tube (by making the 0.0001 larger)
makes the fillet appear. For preview, 0.01 seems to work; for Manifold
0.001 seem to work.
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org