// star
l=50;
d=20;
num=19;
module point(){
intersection(){
cylinder (d1=d,d2=0,h=l,$fn=3);
translate([0,-l,0])
cube(3*l);
}
}
for(j=[0:360/num:360])
rotate([0,0,j])
rotate([0,-90,0]) point();
On 14/12/2024 10:12, Shaporev, Timur via Discuss wrote:
You have got already complete solution without extra libraries,
but just in case https://www.thingiverse.com/thing:3428265
https://www.thingiverse.com/thing:3428265 :-)
From: mike.fraser.1945+osc--- via Discuss discuss@lists.openscad.org
Sent: 14 December 2024 02:11:05
To: discuss@lists.openscad.org
Cc: mike.fraser.1945+osc@gmail.com
Subject: [OpenSCAD] 3D five point star
One of my projects has a star in the center. Using the “star” BOSL2
routine then linear extrude to produce a 3D object works but it looks
plain, i.e. flat on top. Any suggestions how to get something like the
pic below.
Thanks, Mike
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
I thought you wanted a flat back. If not instead of $fn=3, make it
$fn=4, maybe need to rotate it, and omit the intersection. You can alter
the 'thickness', by using scale on the point in the appropriate direction.
On 14/12/2024 11:09, Raymond West via Discuss wrote:
// star
l=50;
d=20;
num=19;
module point(){
intersection(){
cylinder (d1=d,d2=0,h=l,$fn=3);
translate([0,-l,0])
cube(3*l);
}
}
for(j=[0:360/num:360])
rotate([0,0,j])
rotate([0,-90,0]) point();
On 14/12/2024 10:12, Shaporev, Timur via Discuss wrote:
You have got already complete solution without extra libraries,
but just in case https://www.thingiverse.com/thing:3428265
https://www.thingiverse.com/thing:3428265 :-)
From: mike.fraser.1945+osc--- via Discuss discuss@lists.openscad.org
Sent: 14 December 2024 02:11:05
To: discuss@lists.openscad.org
Cc: mike.fraser.1945+osc@gmail.com
Subject: [OpenSCAD] 3D five point star
One of my projects has a star in the center. Using the “star” BOSL2
routine then linear extrude to produce a 3D object works but it looks
plain, i.e. flat on top. Any suggestions how to get something like
the pic below.
Thanks, Mike
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
like this
// star
l=40;
d=20;
num=5;
thick=0.5;
for(j=[0:360/num:360])
rotate([0,0,j])
rotate([0,-90,0])
scale([thick,1,1])
cylinder (d1=d,d2=0,h=l,$fn=4);
On 14/12/2024 11:17, Raymond West via Discuss wrote:
I thought you wanted a flat back. If not instead of $fn=3, make it
$fn=4, maybe need to rotate it, and omit the intersection. You can
alter the 'thickness', by using scale on the point in the appropriate
direction.
On 14/12/2024 11:09, Raymond West via Discuss wrote:
// star
l=50;
d=20;
num=19;
module point(){
intersection(){
cylinder (d1=d,d2=0,h=l,$fn=3);
translate([0,-l,0])
cube(3*l);
}
}
for(j=[0:360/num:360])
rotate([0,0,j])
rotate([0,-90,0]) point();
On 14/12/2024 10:12, Shaporev, Timur via Discuss wrote:
You have got already complete solution without extra libraries,
but just in case https://www.thingiverse.com/thing:3428265
https://www.thingiverse.com/thing:3428265 :-)
From: mike.fraser.1945+osc--- via Discuss discuss@lists.openscad.org
Sent: 14 December 2024 02:11:05
To: discuss@lists.openscad.org
Cc: mike.fraser.1945+osc@gmail.com
Subject: [OpenSCAD] 3D five point star
One of my projects has a star in the center. Using the “star” BOSL2
routine then linear extrude to produce a 3D object works but it
looks plain, i.e. flat on top. Any suggestions how to get something
like the pic below.
Thanks, Mike
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 todiscuss-leave@lists.openscad.org