Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a prosthetic hand palm base with a width of 47mm. Start with a main rectangular base measuring 47mm by 49.3mm with a height of 2.1mm. Along the top edge, add three knuckle protrusions. Each protrusion consists of a small rectangular block (2mm x 8.3mm x 0.9mm) paired with a horizontal cylinder of radius 1.6mm an... | thumb_length = 15; middle_length = 20; palm_width = 47;
module palm_1(thumb_length, middle_length, palm_width)
{
finger_width = palm_width*15.8/90;
thumb_width = palm_width*16.3/90;
difference()
{
union()
{
difference()
{
union()
{
... | glb/cad_e8016fae1eac.glb |
Create a proximal phalanx for a prosthetic hand based on a palm width of 47mm. The base geometry is derived from a width of 8.24mm (calculated as 47 * 15.8 / 90).
Construct the main body by combining a cube of 10mm x 8.24mm x 4.94mm (where 10mm is half the middle length of 20mm) with two cylinders of radius 3.3mm and... | thumb_length = 15; middle_length = 20; palm_width = 47;
module proximal_phalanx(thumb_length, middle_length, palm_width)
{
width = palm_width*15.8/90;
difference()
{
union(){
cube([middle_length/2,width,width],false);
translate([0,0,width*3/5])
rotate([-90,0,0])... | glb/cad_c20982d76d37.glb |
Create a proximal phalanx for a prosthetic hand based on a palm width of 47mm. The base geometry is a combination of a cube and cylinders. Start with a rectangular block measuring 7.5mm in length, 8.47mm in width, and 8.47mm in height.
Add two cylinders with a radius of 3.39mm, oriented along the Y-axis; position the... | thumb_length = 15; middle_length = 20; palm_width = 47;
module proximal_phalanx(thumb_length, middle_length, palm_width)
{
width = palm_width*16.3/90;
difference()
{
union(){
cube([thumb_length/2,width,width],false);
translate([0,0,width*3/5])
rotate([-90,0,0])
... | glb/cad_1b54e281534c.glb |
Create a prosthetic thumb tip component based on a palm width of 47mm, a middle length of 20mm, and a thumb length of 15mm. First, define the base width as 8.45mm (calculated as 16.3/90 of the palm width). Construct the main body by combining a cube of 7.5mm by 8.45mm by 8.45mm with two cylinders: one with a radius of ... | thumb_length = 15; middle_length = 20; palm_width = 47;
module thumb_tip(thumb_length, middle_length, palm_width)
{
width = palm_width*16.3/90;
difference()
{
union(){
cube([thumb_length/2,width,width],false);
translate([0,0,width*3/5])
rotate([-90,0,0])
... | glb/cad_a75377e893d2.glb |
Create a 3D model of an LED component. Start by centering a cylinder with a diameter of 10mm and a height of 8mm. Directly on top of this cylinder, centered at a height of 4mm above the cylinder's center, place a sphere with a diameter of 10mm. Finally, create a conical shape that transitions from a base diameter of 10... | scope_dia = 55;
led_dia = 10;
translate([0, 0, -8]) {
cylinder(d=led_dia, h=led_dia-2, center=true);
translate([0, 0, 4]) {
sphere(d=led_dia);
}
}
%cylinder(d2=led_dia*3, d1=led_dia, h=16, center=true); | glb/cad_733b634170ef.glb |
Create a 3D composition consisting of three distinct geometric shapes. First, create a twisted prism by extruding a triangle with a 10mm radius to a height of 50mm, applying a 180-degree twist and scaling the top face down to a single point. Second, place a cylinder with a height of 15mm, a base radius of 5mm, and a to... | color("blue")
linear_extrude(height=50, twist=180, scale=0)
circle(10, $fn=3);
translate([10,10,0]){
rotate(a=90, v=[0,1,0])
cylinder(15,5,10);
cylinder(r1=2, h=20, r2=7);
} | glb/cad_0e7363173f73.glb |
Create a shackle body and hinge assembly. Start with a main cylindrical body with a radius of 40mm and a height of 45mm, centered on the origin.
Construct two identical hinge assemblies positioned at x=37 and x=-37. Each hinge consists of a hollow tube with an outer radius of 5.5mm and an inner radius of 3.8mm, and a... | $fn=50;
difference() {
cylinder(r=40, h=45, center=true);
cylinder(r=35, h=100, center=true);
cube([100, 9, 100], center=true);
translate([28, -6, 9.9]) {
cube(size=[20, 2, 20]);
}
translate([28, -6, -29.9]) {
cube(size=[20, 2, 20]);
}
translate([37, 5, 0]) {
cube(size=[20, 2, 20.4], center=true);
}
tr... | glb/cad_6cb533bb2b04.glb |
Create a shackle body and two hinge assemblies. The main body is a cylinder with a radius of 31mm and a height of 35mm. Remove a concentric cylinder with a radius of 28mm and a height of 100mm from its center, and cut a central rectangular slot 9mm wide and 100mm long through the middle.
Construct two identical hinge ... | $fn=50;
difference() {
cylinder(r=31, h=35, center=true);
cylinder(r=28, h=100, center=true);
cube([100, 9, 100], center=true);
translate([25, -6, 7.8]) {
cube(size=[20, 2, 20]);
}
translate([25, -6, -29.8]) {
cube(size=[20, 2, 22]);
}
translate([37, 5, 0]) {
cube(size=[20, 2, 16.4], center=true);
}
tr... | glb/cad_d7696158420e.glb |
Create a shackle body by starting with a cylinder 62mm in diameter and 35mm high, centered on the origin. Hollow out the center of this cylinder with a 56mm diameter hole and remove a 9mm wide slot through the center along the Y-axis. Cut additional rectangular notches into the walls of the cylinder to create a gap for... | $fn = 80;
difference() {
cylinder(r=31, h=35, center=true);
cylinder(r=28, h=100, center=true);
cube([100, 9, 100], center=true);
translate([25, -6, 7.8]) {
cube(size=[20, 2, 20]);
}
translate([25, -6, -29.8]) {
cube(size=[20, 2, 22]);
}
translate([37, 5, 0]) {
cube(size=[20, 2, 16.4], center=true);
}
... | glb/cad_e64c53007144.glb |
Create a lock pin by starting with a main vertical cylinder that has a radius of 3.4mm and a height of 18mm, centered on the Z-axis. Remove a smaller concentric cylindrical hole from the center with a radius of 2.5mm and a height of 12mm. Additionally, create a small transverse hole by removing a cylinder with a radius... | $fn = 80;
translate([-60, 10, -9]) {
difference(){
cylinder(r=3.4, h=18, center=true);
translate([0,0,9.1]){
cylinder(r=2.5, h=12, center=true);
}
translate([0,0,5]){
rotate([0,90,0]){
cylinder(r=0.8, h=10, center=true);
... | glb/cad_72281e1d9672.glb |
Create a lock pin consisting of a main shaft and a rounded head. Start by creating a central cylinder with a radius of 3.4mm and a total height of 18mm. At the bottom end of this cylinder, attach a rivet head formed by a sphere with a radius of 5.5mm that has been scaled to 60% of its height along the Z-axis. To refine... | $fn = 80;
translate([-60, 10, 10]) {
rotate([0,180,0]){
cylinder(r=3.4, h=18, center=true);
translate([0,0,9.5]){
cylinder(r=2.3, h=12, center=true);
translate([-1.8,0,4.5]){
sphere(r=0.9);
}
translate([1.8,0,4.5]){
... | glb/cad_3d670ab26a53.glb |
Create a Vampire Killer weapon model consisting of three main components: a blade, a rail guide, and a handle scale.
First, construct the blade as a tapered polyhedron. The base is a diamond-like shape 3mm wide and 22mm deep, extending upward to a point 100mm high. At the base, add a socket by combining a 3x22x25mm bl... | translate([-50, 0, 0]) {
polyhedron(
points=[
[0,0,0],
[1.5,11,0],
[3,0,0],
[1.5,-11,0],
[0.5,0,82],
[1.5,8,82],
[2.5,0,82],
[1.5,-8,82],
[1.2,0,100],
[1.5,0.5,100],
[1.8,0,100],
[1.5,-0.5,100],
],
faces=[
[0,1,2,3],
[0,1,5,4],
[1,2,6,5],
[2,3,7,6],
[3,0,4,7... | glb/cad_20d770268b0b.glb |
Create a Luer Lock cylinder head and piston assembly consisting of three distinct components. First, create a hollow tube with an outer radius of 5mm and an inner radius of 4.6mm, and a height of 100mm, centered on the origin. Second, construct a piston head by creating a cylinder with a radius of 4.4mm and a height of... | include <gear_generator.scad>
%difference() {
cylinder(r=5, h=100, center=true);
cylinder(r=4.6, h=110, center=true);;
}
translate([0, 20, 0]) {
difference() {
cylinder(r=4.4, h=12, center=true);
translate([0, 0, 4]){
difference() {
cylinder(r=10, h=0.8, center=true);
cylinder(r=4, h=1, center=true... | glb/cad_a434510bb5b1.glb |
Create a hollow cylindrical button with an outer diameter of 35mm and a total height of 25.5mm. The main body is a thick-walled tube with an inner cavity 29mm in diameter and 21.5mm high, starting 4.1mm from the base. At the center of the base, construct a vertical stem assembly. This assembly begins with a solid cylin... | dia_tige = 6.2;
dia_flat = 4.55;
dia_bouton = 35;
hauteur_tige = 14;
hauteur_bouton = 25.5;
$fn = 150;
difference() {
union() {
translate([0, 0, 4]) {
cylinder(d=dia_tige+6, h=hauteur_tige);
cylinder(d=dia_tige+10, h=hauteur_tige/3);
}
}
translate([0, 0, 4.1]) {
difference() {
cylinder(d=dia_tige, ... | glb/cad_40679caedc30.glb |
Create a bullet holder consisting of a main outer cylinder and an internal cavity. The outer cylinder has a diameter of 40mm and a height of 110mm, centered on its axis. Inside this volume, remove a central cylindrical socket with a diameter of 31mm and a height of 20mm.
Further hollow out the center by removing a cy... | bullet_holder_diameter = 30;
bullet_holder_height = 40;
receptacle_diameter = 20;
receptacle_depth = 70;
rod_diameter = 10;
$fn = 80;
body_diameter_9mm = 9.84;
grove_diameter_9mm = 8.6;
grove_straight_height_9mm = 1;
grove_taper_height_9mm = 1;
body_diameter_38sp = 9;
rim_diameter_38sp = 11;
rim_thickness_38sp = 1;
... | glb/cad_6f48fb325daa.glb |
Create a bullet holder consisting of a main cylindrical body with a diameter of 30mm and a height of 40mm. Centered within this cylinder, remove a vertical core with a diameter of 9.84mm. At the bottom of the holder, create a wider opening by removing a cylinder with a diameter of 11.84mm and a height of 20mm.
Incorpo... | bullet_holder_diameter = 30;
bullet_holder_height = 40;
receptacle_diameter = 20;
receptacle_depth = 70;
rod_diameter = 10;
$fn = 80;
body_diameter_9mm = 9.84;
grove_diameter_9mm = 8.6;
grove_straight_height_9mm = 1;
grove_taper_height_9mm = 1;
body_diameter_38sp = 9;
rim_diameter_38sp = 11;
rim_thickness_38sp = 1;
... | glb/cad_264be5205834.glb |
Create a base square plate measuring 100mm by 100mm with a thickness of 5mm. On top of this base, add a linear extrusion with a height of 6mm that follows a specific polygonal path: it starts as a 20mm wide strip along one edge, expands to cover the area from x=20 to x=100 and y=0 to y=12, and then extends to cover the... | difference() {
union(){
cube([100, 100, 5]);
translate([0, 0, 4.5]) {
linear_extrude(6){
polygon(
points=[
[0, 0],
[20, 0],
[100, 100-20],
[100, 100],
]
);
polygon(
points=[
[20, 0],
[20, 12],
[100, 12],
[100, 0],
]
);
}
}
... | glb/cad_83ffb3a94057.glb |
Create a vertical plaque with a height of 180mm. The base profile is a custom polygon defined by the coordinates (0,0), (45,0), (45,10), (35,15), (10,15), and (0,10). From this main body, remove a cutout on the side face located at X=42.1, Y=17, and Z=15. This cutout is a 2D profile extruded 1.8mm deep, defined by the ... | difference() {
linear_extrude(height = 180){
polygon(points = [
[0,0],
[45,0],
[45,10],
[45-10,15],
[10,15],
[0,10]
]);
}
translate([42.1, 17, 15]) {
rotate([0, 15, 90]) {
linear_extrude(height = 1.8){
polygon(points = [
[0, 0],
[-2, 0],
[-5, 4.2],
[-13, 4.2],
... | glb/cad_71b1dd74b225.glb |
Create a 3D model consisting of three distinct geometric components. First, construct a large rectangular block measuring 40mm in width, 90mm in length, and 25mm in height, centered at the coordinates (0, 47, 0). Second, construct a smaller rectangular block measuring 40mm in width, 70mm in length, and 25mm in height, ... | dia_rim = 11;
dia_casing = 9;
dia_bore = 8.6;
length_casing = 30;
length_bore = 90;
length_rim = 1;
translate([0, 47, 0]){
cube(size=[40, length_bore, 25], center=true);
}
translate([0, -37, 0]) {
cube(size=[40, 70, 25], center=true);
}
translate([40, 0, 0]) {
rotate([-90, 0, 0]) {
cylinder(d=dia_bore, h=length_... | glb/cad_30ed3004b3cc.glb |
Create a mechanical assembly consisting of a main tube, a piston, and a gear system.
First, construct the main tube as a hollow cylinder with an outer diameter of 20mm and a height of 200mm. The interior should be cleared by a central hole 16mm in diameter. Add a reinforcement ring at the base with a diameter taperin... | include <gear_generator.scad>
difference() {
difference(){
union(){
cylinder(d=20, h=200);
cylinder(d1=22, d2=21, h=15);
translate([0, 0, 195]) {
cylinder(d1=21, d2=21.5, h=6);
}
}
translate([0, 0, -1.001]){
cylinder(d=16, h=250);
cylinder(d1=18, d2=17, h=20);
}
translate([0, -10, ... | glb/cad_4c09c0a8f3b7.glb |
Create a mowerbot model consisting of a pair of meshing bevel gears.
First, create a large bevel gear with 41 teeth. This gear should have a cone distance of 100mm, a face width of 20mm, and a bore diameter of 5mm. Set the pressure angle to 30 degrees and the outside circular pitch to 1000mm.
Second, create a smalle... | bevel_gear_pair ();
pi=3.1415926535897932384626433832795;
module bevel_gear_pair (
gear1_teeth = 41,
gear2_teeth = 7,
axis_angle = 90,
outside_circular_pitch=1000)
{
outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360;
outside_pitch_radius2 = gear2_teeth * outside_circular_pitch / 360;
pitch_ape... | glb/cad_315eeae15058.glb |
Create a 3D model consisting of two intersecting rectangular prisms. First, construct a wide, flat base plate measuring 30mm in length, 30mm in width, and 7.5mm in height. To this, add a vertical rectangular column measuring 7.5mm in width, 30mm in depth, and 30mm in height, positioned so that it stands upright along o... | $fn=50;
q=30;
z=4;
difference() {
union() {
cube([q,q,q/z]);
cube([q/z,q,q]);
}
rotate([0,45,0]) #cube([.25,20,20]);
translate([10,10,0]) rotate([0,-45,0]) translate([0,0,-5]) #cylinder(20,d=2);
} | glb/cad_3106ab875e59.glb |
Create a rectangular block measuring 60mm in length, 20mm in width, and 20mm in height. From this main body, remove a cylindrical hole that begins with a 6mm diameter opening on the top surface and transitions into a 3.2mm diameter shaft. This shaft should be positioned centrally along the length at 30mm, starting 5mm ... | $fn=50;
V1=60;
V2=20;
module main() {
difference() {
body();
hole();
}
}
module hole() {
#translate([V1/2,V2+5,15]) rotate([45,0,0]) union() {
cylinder(60,d=3.2);
cylinder(10,d=6);
}
}
module body() {
cube([V1,V2,V2]);
hull() {
translate([0,0,V2]) polyhedron... | glb/cad_a5eb5148e3d3.glb |
Create a grid of 25 identical hollow tapered blocks arranged in 5 rows and 5 columns. Each individual block is formed by creating a larger outer shell and removing a smaller inner volume to leave a wall. The outer shell is a frustum with a rectangular base measuring 19.224mm by 9.1mm at the bottom, tapering upward to a... | ww=13.76;
hh=6.5;
zz=8;
iota=.1;
module flat() {
}
module outside() {
bf=1.4;
tf=1.2;
hull() {
translate([-ww*bf/2,-hh*bf/2,0]) linear_extrude(iota) square([ww*bf,hh*bf]);
translate([-ww*tf/2,-hh*tf/2,zz]) linear_extrude(iota) square([ww*tf,hh*tf]);
}
}
module inside() {
bf=.97... | glb/cad_3358b39b2ca9.glb |
Create a 3D model consisting of two intersecting hollow cylinders. First, create a main tube with a length of 20mm, an outer diameter of 4mm, and an inner hole of 2mm running through its center. Rotate this tube 90 degrees so it lies horizontally. Second, create a pin with a length of 10mm, an outer diameter of 4mm, an... | module pin() {
difference() {
cylinder(10,d=4);
cylinder(10,d=2);
}
}
module tube() {
difference() {
cylinder(20,d=4);
cylinder(20,d=2);
}
}
rotate([90,0,0]) tube();
translate([0,-8,0]) rotate([90,0,60]) pin(); | glb/cad_f53cf565f963.glb |
Create a 30mm cube. Remove a second cube of 30mm by 40mm by 30mm that is rotated 68 degrees around the Y-axis to carve a diagonal slice through the first cube. Finally, remove a cylinder with a radius of 3mm and a height of 30mm, positioned at X=20 and Y=15, and rotated 68 degrees around the Y-axis to create a circular... | difference() {
cube([30,30,30]);
rotate([68,0,0]) cube([30,40,30]);
#rotate([68,0,0]) translate([20,15,-30]) cylinder(30,r=3);
} | glb/cad_cd8856ab0754.glb |
Create a 3D model of the arrtlab object by constructing a series of aligned cylindrical shapes. Start by creating a primary cylinder with a diameter of 38mm and a height of 14mm. From this base, create a sequence of smaller cylindrical elements positioned along a central axis. Specifically, place two smaller cylinders,... | module t1() {
cylinder(d=38,h=14);
}
module t2() {
cylinder(d=38,h=14);
translate([-20,0,0]) cylinder(d=22,6);
translate([20,0,0]) cylinder(d=22,6);
}
module t3() {
hull() {
cylinder(d=38,h=14);
translate([-20,0,0]) cylinder(d=22,6);
translate([20,0,0]) cylinder(d=22,6);
... | glb/cad_7457445078fa.glb |
Create a shallow cylindrical lid for a container. Start by creating a solid cylinder with a diameter of 127mm and a height of 6mm. From the center of this cylinder, remove a smaller concentric cylinder with a diameter of 122.8mm and a height of 10mm to create a ring. Then, remove a further concentric cylinder from the ... | $fn=50;
ht=156;
hb=5;
diam=123;
wall=2;
module box() {
difference() {
union() {
cylinder(ht,d=diam+2);
cylinder(hb,d=diam+5);
#translate([0,0,ht-hb]) cylinder(hb,d=diam+5);
}
translate([0,0,2]) cylinder(ht,d=diam);
translate([0,0,0]) cylinder(ht,d=5);
}
}
module lid() {
dif... | glb/cad_2456c00ccab1.glb |
Create a battery holder box with a grid of rectangular compartments. The overall outer dimensions are based on a layout of 4 columns and 2 rows of cells. Each individual cell opening should be 36mm wide, 29mm deep, and 45mm tall.
The walls and the base of the box must be 0.5mm thick. To ensure a smooth finish, apply ... | box(36,29,45,4,2,"3s 1300", "chl");
*difference() {
box(17,14,30,2,5,"2s 300", "nonotech");
#translate([8.5,1.9,1]) cube([17,14.7,50]);
}
wall = .5;
emboss_depth = .5;
$fn=20;
module holes(nxx,nyy,bxx,byy,bzz) {
for (i = [0:1:nxx-1]) {
for (j = [0:1:nyy-1]) {
translate([wall+(i*(bxx+... | glb/cad_d345d25b7519.glb |
Create a hollow cylindrical holder with a height of 30mm. The outer wall should be a cylinder with a diameter of 15.5mm and a facet resolution of 40 sides. Create a hollow center by removing a concentric cylinder with a diameter of 13.5mm, leaving a wall thickness of 1mm. The inner void should start 3mm from the bottom... | $fn=40;
module baseplate() {
linear_extrude(2) {
square([40,20]);
}
}
module main() {
difference() {
baseplate();
translate([10,10,0]) holder();
}
}
module holder() {
difference() {
cylinder(30,d=15.5);
translate([0,0,3]) cylinder(30,d=13.5);
cylin... | glb/cad_46d872e972a9.glb |
Create a 20mm cube and remove a tetrahedron-shaped volume from its interior. The volume to be removed is defined by four vertices: the origin (0,0,0), a point 15mm along the x-axis (15,0,0), a point 15mm along the y-axis (0,15,0), and a point 15mm along the z-axis (0,0,15). This operation will leave a hollowed-out corn... | W=20;
D=15;
module cutout_cube() {
difference() {
cube([W,W,W]);
poly();
}
}
module poly() {
#polyhedron(points=[[0,0,0],
[D,0,0],
[0,D,0],
[0,0,D]],
faces=[[0,3,1],
[0,2,3],
... | glb/cad_986e37e58edb.glb |
Create a wheel-like geometric object with a total thickness of 4mm. Start by creating a thin outer rim with a diameter of 60mm and a wall thickness of 3mm. At the center, place a cylindrical hub with a diameter of 5mm and the same 4mm thickness. Connect the hub to the outer rim using four curved spokes. Each spoke is f... | $fn=50;
WIDTH=4;
DIAM=60;
HUBDIAM=5;
HOLEDIAM=1;
THICKNESS_RIM=3;
THICKNESS_SPOKE=1;
HUB_HEIGHT=5;
module ring(h,d,thickness) {
difference() {
cylinder(h,d=d,center=true);
cylinder(h,d=d-thickness,center=true);
}
}
module rim() {
ring(WIDTH,DIAM,THICKNESS_RIM);
}
module spoke() {
dif... | glb/cad_f783c88dbc5f.glb |
Create a cowling for a motor assembly. Start with a rectangular base plate measuring 46.32mm wide by 44.39mm high with a thickness of 1mm. This base plate should have a hollow rectangular center cutout measuring 36.32mm by 34.39mm, leaving a 10mm border around the edges. At each of the four corners of the base plate, 3... | $fn=100;
ww=46.32;
hh=44.39;
dd=28.39;
hole=17;
noserad=10;
thickness=1;
fwborder=10;
fwthickness=1;
screwsz=3;
screwhd=5;
screwoffset=3;
module nose() {
module piece() {
difference() {
hull() {
cylinder(dd, noserad, noserad);
cube([ww, hh, 1], center=true);... | glb/cad_bd12a821538c.glb |
Create a test tube rack consisting of a rectangular baseplate and ten vertical cylindrical holders. Start by creating a baseplate that is 193mm long, 20mm wide, and 3mm thick. Remove two small cylindrical holes, each 3mm in diameter and 15mm deep, positioned horizontally at opposite ends of the baseplate, centered 30mm... | $fn=40;
WALL=3;
ZZ=34;
ZZ2=WALL+8;
module baseplate() {
linear_extrude(WALL) {
square([193,20]);
}
difference() {
translate([0,20,0]) cube([193,WALL,ZZ2]);
translate([4,30,7]) rotate([90,0,0]) cylinder(15,d=3);
translate([189,30,7]) rotate([90,0,0]) cylinder(15,d=3);
}
... | glb/cad_82caa50faa1e.glb |
Create a circular mounting plate with a total diameter of 38mm and a thickness of 3mm. At the center of the plate, remove a cylindrical hole with a diameter of 10mm.
Position four mounting holes, each 2.6mm in diameter, arranged in a square pattern. These holes should be centered 16mm from the center of the plate alo... | $fn=50;
zz=3;
w=38;
mw=10;
mrad=18.5/2;
mrad2=16.5/2;
orad=32/2;
mbdiam=3;
obdiam=2.6;
module motorbolt() {
cylinder(zz,d=mbdiam);
cylinder(zz,d2=0,d1=mbdiam+4);
}
module mountscrew() {
cylinder(zz,d=obdiam);
}
module first() {
difference() {
cylinder(zz,d=w);
cylinder(zz,d=mw);
... | glb/cad_6b08d4198fa7.glb |
Create a template for aligning vertical stabilizers by constructing a composite geometric shape. Start with a base rectangular block measuring 20mm wide, 5mm thick, and 60mm long. From this base, remove a large angled section to create a guide: carve out a volume starting from the top and sides, leaving a remaining wal... | $fn=20;
THETA=68;
module angler() {
difference() {
cube([20,5,60]);
translate([-22,0,7]) rotate([0,90-THETA,0]) cube([20,5,80]);
translate([5,0,12]) rotate([0,90-THETA,0]) cube([20,5,80]);
translate([5,0,5]) cube([30,5,7]);
translate([0,2.5,50]) rotate([0,180-THETA,0]) cylin... | glb/cad_65bc4abbc669.glb |
Create a series of four identical curved arcs, each with a radius of 30mm and a thickness of 1mm. Each arc is a segment of a circle, with the length of the arc increasing progressively for each subsequent piece. The first arc covers 10% of a full circle, the second 15%, the third 20%, and the fourth 25%. Position these... | $fn=50;
module arc(rad, thick, percent) {
translate([thick/2,0,-rad+(2*rad*percent)]) {
rotate([0,-90,0]) {
intersection() {
translate([2*rad*(1.0-percent),0,0])
cube([2*rad,2*rad,thick], center=true);
cylinder(thick, r=rad, center=true);
}
}
}
}
translate([0,0,0]) arc(30, 1, .... | glb/cad_99e0b329561c.glb |
Create a geometric structure by combining two rectangular prisms. First, place a prism with dimensions 20mm wide, 60mm high, and 50mm deep, centered such that its width extends from -20mm to 0mm on the X-axis. Adjacent to this, add a second prism measuring 40mm wide, 20mm high, and 50mm deep, positioned from -20mm to 2... | $fn=50;
q=30;
z=4;
module old() {
difference() {
union() {
cube([q,q,q/z]);
cube([q/z,q,q]);
}
translate([0,0,4.6]) rotate([0,68,0]) #cube([.5,20,20]);
translate([10,10,0]) rotate([0,-45,0]) translate([0,0,-5]) #cylinder(20,d=2);
}
}
a=45;
ww=20;
hh1=60... | glb/cad_3e6665a8efd8.glb |
Create a small mechanical component by starting with a central core that combines a cylinder and a rectangular block. The core consists of a cylinder with a diameter of 6.35mm and a height of 5mm, merged with a centered rectangular prism measuring 30mm in length, 6.35mm in width, and 2mm in height. Apply a Minkowski su... | $fn=50;
H1=2;
H2=5;
BALL=3;
INCH=25.4;
THREAD=3.1;
HEAD_DIAM=7;
HEAD_HEIGHT=3;
module step4() {
minkowski() {
sphere(d=BALL);
hull() {
cylinder(h=H2,d=INCH/2);
translate([0,0,H1/2]) cube([30,INCH/4,H1],center=true);
}
}
}
module step3() {
hull() {
cy... | glb/cad_8731a489bb9e.glb |
Create a rectangular block with a width of 65mm, a height of 36mm, and a thickness of 10mm. From this main body, remove a wedge-shaped section that spans the full width of the block; this wedge is defined by a triangular profile starting at the origin and extending to the full thickness of 10mm at the top edge, creatin... | $fn=50;
WW=65;
HH=36;
ZZ=10;
module wedge() {
hull() {
polyhedron([[0,0,0],[0,ZZ,0],[0,0,ZZ]],[[0,1,2]]);
translate([WW,0,0]) polyhedron([[0,0,0],[0,ZZ,0],[0,0,ZZ]],[[0,1,2]]);
}
}
module holes() {
HX=37;
HY=16;
translate([HX,HY,0]) cylinder(ZZ,d=3);
translate([HX+6,HY-3.5,0]) cylin... | glb/cad_a3f3534309f2.glb |
Create a 3D model consisting of two joined rectangular blocks. First, create a base rectangular prism measuring 40mm in width, 60mm in depth, and 10mm in height. Attached to this base, position a second rectangular prism measuring 30mm in width, 5mm in depth, and 20mm in height, starting at a coordinate of 10mm along t... | $fn=50;
difference() {
union() {
cube([40,60,10]);
translate([10,0,0])
cube([30,5,20]);
}
rotate([0,0,68]) cube([100,100,10]);
rotate([0,0,90+68])
translate([-10,-10,4])
rotate([0,90,0])
#cylinder(20,d=3);
} | glb/cad_f1979f53e5bf.glb |
Create a double HDD fridge magnet holder. Start by creating the main body as a hull of two cylinders, each with a diameter of 3.6mm and a height of 32.4mm, positioned 14mm apart along the Y-axis. Add a second hull to this body consisting of a central rectangular block 1mm wide, 5.4mm thick, and 31.2mm high, which exten... | include <common.scad>;
extrusion_width = 0.4;
extrusion_height = 0.3;
wall_thickness = extrusion_width * 4;
floor_thickness = extrusion_height * 4;
resolution = 64;
magnet_thickness = 2;
magnet_hole_width = 17+3;
magnet_hole_length = 36+2;
magnet_hole_thickness = magnet_thickness+1;
module hdd_ma... | glb/cad_356132276223.glb |
Create a straight edge tool by starting with a square plate 175mm wide, 175mm long, and 3mm thick, centered on the origin. Remove several geometric cutouts from this plate. First, create a diagonal slot by removing a square with a side length of approximately 247.5mm, rotated 45 degrees and centered at the top-right co... | side_length=175;
thickness = 3;
diagonal_length = sqrt(2*pow(side_length, 2));
echo("DIAGONAL LENGTH: ", diagonal_length);
x=0;
y=1;
z=2;
module straight_edge() {
module body() {
cube([side_length,side_length,thickness],center=true);
}
module holes() {
translate([side_length/2,side_length/2,0])
... | glb/cad_9620945ed014.glb |
Create a rotary knob for a shaft. The main body is a revolved profile with a total height of 19.8mm. The profile starts at the base with a diameter of 22mm, which transitions upward into a rounded top with a diameter of 10mm.
At the center of the knob, create a vertical hole to accommodate a shaft with a diameter of ... | function accurate_diam(diam,sides) = 1 / cos(180/sides) / 2 * diam;
module hole(diam,len,sides=8) {
rotate([0,0,180/sides]) {
cylinder(r=accurate_diam(diam,sides),h=len,center=true,$fn=sides);
}
}
module accurate_circle(diam,sides=8) {
rotate([0,0,180/sides]) {
circle(r=accurate_diam(diam,sides),$fn=sid... | glb/cad_698320c7a8bc.glb |
Create a chandelier shade for a vase mode print. The object is a rotationally symmetrical solid formed by revolving a specific profile around a central vertical axis. Start with a cylindrical base that has an outer diameter of 42mm and a height of 12mm. From the top of this base, the shape transitions upward and outwar... | include <lumpyscad/lib.scad>;
resolution = 128;
use <./stand-and-shade.scad>;
debug=1;
module chandelier_shade_for_vase_mode() {
base_od = 42;
inset_rim_height = 12;
inset_rim_od = 42;
bulb_cover_height = 110;
bulb_diam = 60;
room_for_fingers = 20;
max_od = bulb_diam + room_for_fingers*2;
overall... | glb/cad_775573a1789d.glb |
Create a household miscellaneous guard by first constructing a main body. This body is a hull formed by combining a sphere with a radius of 26mm, rotated 45 degrees on the X-axis, and a cylinder with a radius of 26mm and a height of 46mm centered on the Z-axis. To this hull, add two rectangular blocks, each measuring 3... | left = -1;
right = 1;
board_thickness = 23;
board_offset = 3;
guard_diam = 36;
inner_wall = 10;
side_thickness = 23;
side_length = 50;
side_height = 50;
resolution = 18*3;
module board() {
translate([0,25,-25])
cube([side_thickness,side_length,side_height],center=true);
}
module guard() ... | glb/cad_b8a5ef155476.glb |
Create a lamp shade with a conical, flared geometry. The main body is a hollowed-out frustum created by lofting a circular base to a larger circular top. The bottom opening has a diameter of 44mm and the top opening has a diameter of 170mm, with a total height of 155mm.
The walls are hollowed out by removing a smalle... | left = -1;
right = 1;
top = -1;
bottom = 1;
build_x = 180;
build_y = 180;
build_z = 180;
extrusion_height = 0.2;
extrusion_width = 0.5;
resolution = 72;
function accurate_diam(diam,sides) = 1 / cos(180/sides) / 2 * diam;
module hole(diam,len,sides=8) {
cylinder(r=accurate_diam(diam,sides),h=len,center=true,$fn=si... | glb/cad_ead1e78d5226.glb |
Create a circular pulley-like hub with a total height of 11mm and an outer diameter of 36mm. The main body is a revolved profile consisting of a base plate 3mm thick and a raised outer rim. The outer rim has a wall thickness of 3mm and extends from the base to a total height of 11mm, but the top 2.5mm of this rim is ta... | include <lumpyscad/lib.scad>;
tolerance = 0.5;
extrude_width = 0.5;
extrude_height = 0.24;
resolution = 128;
id = 32+tolerance*2;
pulley_wall_thickness = extrude_width*3*2;
od = id + 2*pulley_wall_thickness;
rim_height = 2.5;
plate_thickness = 3;
height = 8+plate_thickness;
mounting_hole_spacing = 16;
mounting_hol... | glb/cad_a1d1139794b3.glb |
Create a star-shaped household utility object with seven points. The main body is a cylinder with a diameter of 63.5mm (2.5 inches) and a height of 12.7mm (0.5 inches). Each of the seven points is formed by a hull connecting a small central peak—a cube with a tiny diameter and a height of 31.75mm—to a cylindrical arm t... | include <../lib/util.scad>;
resolution = 64;
extrusion_width = 0.55;
wall_thickness = extrusion_width*2;
module star(points) {
body_diam = 2.5*inch;
arm_length = 3*inch;
arm_point_diam = 4;
arm_base_bottom_pct_width = 0.6;
height = 1/2*inch;
peak_height = height*2.5;
peak_diam = body_diam * 0.001;
li... | glb/cad_778b3eca538c.glb |
Create a backback hook by starting with a main body formed from the intersection of a scaled cylinder and a rectangular block. The block has dimensions of 60mm in depth, 40mm in height, and 60mm in width. The cylinder is centered and oriented horizontally, with a diameter of 150mm and an elongation scale of 1.3 applied... | left = -1;
right = 1;
top = -1;
bottom = 1;
print_layer_height = 0.2;
resolution = 128;
function accurate_diam(diam,sides) = 1 / cos(180/sides) / 2 * diam;
module hole(diam,len,sides=8) {
cylinder(r=accurate_diam(diam,sides),h=len,center=true,$fn=sides);
}
module backback_hook() {
hat_diam = 150;
elongation... | glb/cad_194114589822.glb |
Create a household storage cabinet with two drawers. The overall structure is based on a width of 63.75 inches (calculated from two drawer spacings of 31 inches plus a 0.75-inch thick plywood divider).
Construct the main frame using vertical dividers made of 0.75-inch thick plywood. These dividers are 20 inches high a... | include <lumpyscad/lib.scad>;
foot = 12*inch;
thin_ply = 0.5*inch;
thick_ply = 3/4*inch;
slide_thickness = 0.5*inch;
num_drawers = 2;
first_drawer = 0;
last_drawer = num_drawers-1;
side_reveal = 1/2*inch;
front_reveal = side_reveal;
drawer_spacing = 31*inch+thick_ply;
drawer_depth = 22*inch;
width = drawer_spac... | glb/cad_e396ce98c2ea.glb |
Create a round knob with a diameter of 50mm and a height of 45mm. The main body is a revolved profile that is rounded on the top and sides.
Carve seven equally spaced vertical grip divots around the perimeter. Each divot is created by removing a cylindrical volume with a diameter of 25mm, tilted at a -9 degree angle ... | include <../lib/util.scad>;
resolution = 180;
shaft_depth = 34;
shaft_diam = 9.1;
shaft_side_x = 7.8;
shaft_side_y = 8.3;
plate_hole_inner_diam = 17;
knob_depth_into_plate_hole = 3;
m4_head_diam = 8.2;
m4_shaft_diam = 4.4;
m4_nut_height = 3.5;
m4_nut_side = 7.2;
knob_height = 45;
knob_diam = 50;
function accurate_... | glb/cad_6680d4b87726.glb |
Create a tank-themed model consisting of a main body and a turret. Start by constructing the main body as a hull created from two 8-sided prisms, each with a diameter of 25mm and a height of 50mm, positioned at opposite ends of a 60mm length along the x-axis. The body should have a total height of 25mm and a width of 5... | include <../lib/util.scad>;
resolution = 128;
turret_diam = 30;
turret_height = 15;
tank_body_width = turret_diam + 10*2;
tank_body_height = 25;
tank_length = 75;
turret_shank_small_diam = tank_body_height/2;
cannon_diam = 10;
cannon_length = tank_body_width/2-turret_diam/2+3;
lego_leg_height = 12;
lego_leg_depth = ... | glb/cad_3ab06812230b.glb |
Create a base for a Mini Iambic Magnetic Morse Paddle. Start by constructing a flat base slab with a profile defined by a hull of two circles (radius 10mm) centered at x=±15mm and y=-10mm, and a square of width 30mm and height 20mm centered at the origin. Extrude this base to a thickness of 5mm.
Add a vertical wall fo... | include <util.scad>;
include <params.scad>;
module base2d(filled) {
module base_contour_outer() {
hull()
{
r=w1/2-pins_w/2;
translate([ w1/2-r,-lb+r]) circle(r=r);
translate([-w1/2+r,-lb+r]) circle(r=r);
translate([-w1/2,-lb+r]) square([w1,lt+lb+r]);
};
}
intersection() {
... | glb/cad_349d220f2649.glb |
Create a Mini Iambic Magnetic Morse Paddle. Start by constructing a vertical paddle arm with a height of 50mm. The base of the arm is a complex horizontal pivot section. This pivot section is formed by the hull of a circle with a radius of 6.5mm centered at the origin, a circle with a radius of 4.5mm centered at -3mm o... | include <util.scad>;
include <params.scad>;
module paddle() {
pivot_thickness=bearing_h+t_above_bearing;
pivot_radius=bearing_r_outer + thickness;
pivot_diameter=pivot_radius * 2;
difference() {
union() {
linear_extrude(height=pivot_thickness, convexity=4) {
hull() {
circle(r=pivo... | glb/cad_a87cb4544420.glb |
Create a DNA research model consisting of two primary rectangular blocks. First, construct a rectangular prism measuring 60mm in length, 26mm in width, and 7mm in height. From this first block, remove a smaller square prism measuring approximately 18.43mm by 18.43mm and 9mm in height, rotated 45 degrees and positioned ... | x=60;
y=26;
z=7;
t=40;
edge=0.71*y;
dx=edge*1.41;
difference (){
color("Lime") translate ([0,0,0]) cube ([x,y,z]);
rotate ([0,0,45]) translate ([0,0,-1]) cube ([edge,edge,z+2]);
}
translate ([dx/2,t,0]){
color("Lime") translate ([0,0,0]) cube ([x-dx/2,y,z]);
rotate ([0,0,45]) cube ([edge,edge,z]);
} | glb/cad_0a32089c0b6a.glb |
Create a DNA research model by combining several geometric primitives. Start with a base rectangular block measuring 120mm in length, 35mm in width, and 12mm in height, positioned at x=-17.5, y=0, z=0. Above this, place a second rectangular block of 100mm by 35mm by 12mm, shifted to x=0, y=50, z=0. Integrate a cylinder... | p=6;
g=12;
$fn=270;
scale ([1.1,1.2,1.3]) {
difference (){
color("MediumPurple") translate ([-17.5,0,0]) cube ([120,35,g]);
color("MediumPurple") translate ([-17.5,17.5,-1]) cylinder (15,17.5,17.5);
}
translate ([0,50,0]){
color("Red") cube ([100,35,g]);
difference () {
color("Red") translate ([0,17.5,-0]) cylinder ... | glb/cad_2ae15eb39634.glb |
Create a DNA research model consisting of a primary rectangular block with a total height of 7mm. Start with a base rectangular prism measuring 20mm in width, 45mm in length, and 9mm in height, positioned to center the overall assembly.
Within this main body, carve out several geometric voids. First, create a rectang... | z=7;
g=3.5;
translate ([0,79,0]) {
difference () {
translate([0,-50,0])cylinder(z,20,20, $fn=6);
translate ([-11.4,-67.5,2])cube ([20,21,3.5]);
translate ([-7,0,0]) {
rotate([0, 90, 0]) translate([-3.5,-54.6,-17+g]) cylinder(9,2.65,2.65);
rotate([0, 90, 0]) translate([-3.5,-45.6,-17+g]) cylinder(9,2.65,2.65);
}
transl... | glb/cad_bb219050fead.glb |
Create a DNA research model consisting of a primary rectangular base and several subtracted geometric features. Start with a rectangular block measuring 20mm in width, 45mm in length, and 11mm in height, positioned so its center is offset.
Within this block, create a large central hexagonal void with a height of 9mm ... | z=9;
g=3.5;
translate ([0,79,0]) {
difference () {
translate([0,-50,0])cylinder(z,20,20, $fn=6);
translate ([0,-50,5])cylinder(4.2,10.35,10.35);
translate ([-7,0,1]) {
rotate([0, 90, 0]) translate([-3.5,-54.6,-17+g]) cylinder(9,2.65,2.65);
rotate([0, 90, 0]) translate([-3.5,-45.6,-17+g]) cylinder(9,2.65,2.65);
}
trans... | glb/cad_dd89f903d765.glb |
Create a DNA research model consisting of a complex geometric base. Start with a primary block that is 20mm wide, 45mm deep, and 11mm high, positioned at coordinates (-28, -73, -1). Within the overall structure, integrate a hexagonal prism with a height of 9mm and a diameter of 20mm, using a 6-facet resolution.
Incor... | z=9;
g=3.5;
translate ([0,79,0]) {
difference () {
translate([0,-50,0])cylinder(z,20,20, $fn=6);
translate ([-16,-60,2])cube([20.35,20.35,4.2]);
translate ([0,-50,2])cylinder(4.2,10.35,10.35);
translate ([-7,0,1]) {
rotate([0, 90, 0]) translate([-3.5,-54.6,-17+g]) cylinder(9,2.65,2.65);
rotate([0, 90, 0]) translate([-... | glb/cad_bed065b8fe36.glb |
Create a DNA research model consisting of a rectangular base with integrated geometric features. Start with a main rectangular body measuring 50mm in length, 21mm in width, and 7mm in height.
At the center of the top surface, place a raised letter "T" formed by two intersecting rectangular prisms: a vertical bar 2mm ... | x=50;
y=21;
z=7;
t=0;
z2=2.5;
edge=13.49;
dx=19.0209;
difference() {
translate ([dx/2, t, 0]){
difference() {
color() translate ([3, 0, 0]) cube ([x+7, y-2, z+1.55], center=true);
rotate([180, 180, 0]) translate([41.2, 0, 0])
union() {
difference() {
union() {
translate ([dx/2, t, 0... | glb/cad_7bbad6efc919.glb |
Create a DNA research model based on a central rectangular slab. Start by creating a rectangular base measuring 62mm in length, 19mm in width, and 7mm in height, centered on the origin. At both the left and right ends of this base, add semi-cylindrical caps with a radius of 7mm and a height of 7mm, oriented to blend in... | x=50;
y=19;
z=7;
z2=2.5;
difference(){
union(){
difference() {
color("Red") cube ([x+12, y, z], center=true);
#rotate([0, 90, 0]) translate([0, 0, 26.5]) cylinder(10, 2.67, 2.67);
}
#color("Red") translate ([-29, y/200000, -3.5]) cylinder (z, y/2, y/2);
}
#rotate([90, 0, 90]) translate([0, 0, -44.4]) cylinder(9, ... | glb/cad_2d05e7fddc25.glb |
Create a DNA research base model. Start with a central rectangular block measuring 48mm in length, 19mm in width, and 8.7mm in height, centered on the origin. At each end of this block, attach a smaller rectangular section measuring 13.1mm by 19mm by 8.7mm. On the left side, modify the end cap by rotating a 13.5mm cube... | x=50;
y=19;
z=9;
dx=9;
d=2.67;
p=6;
difference() {
union() {
translate([0, 0, 0]) cube ([x-2, y, z-0.3], center=true);
translate([-24, 0, 0]) rotate([0, 0, 45]) cube ([13.5, 13.5, z-0.3], center=true);
translate([30.1, 0, 0]) cube ([13.1, 19, z-0.3], center=true);
}
translate([6, 0, 3]) cube ([x-10, y+2, z/1... | glb/cad_7e02e50d58a9.glb |
Create a DNA research model base consisting of two concentric cylinders aligned on the same center axis. First, construct a wide, flat circular disc with a radius of 90mm and a height of 9mm. Centered on top of this disc, add a smaller vertical cylinder with a radius of 9mm and a height of 90mm. Ensure both components ... | $fn=190;
x=9;
y=90;
z=90;
dz=0;
cylinder(x,y,z);
translate([0,0,dz]) cylinder(x*5,y/10,z/10); | glb/cad_b473e9551d2d.glb |
Create a DNA research model consisting of a rectangular base and several geometric attachments. Start with a central rectangular block measuring 53.5mm in length, 22mm in width, and 8mm in height. At one end of this block, integrate a cube measuring 15mm by 19mm by 8.5mm.
Add two cylindrical elements to the assembly:... | d=2.67;
x=55;
y=19;
z=9;
z2=2.5;
difference(){
difference (){
color("MediumPurple") translate ([2, 0, 2.55]) cube ([x+3, y, z+3], center=true);
color("lime") translate ([-27, y/200000, -4]) cylinder (z+9, y/2, y/2);
}
rotate([0, 90, 0]) translate([-0.5,0,-18.9]) cylinder(5, d, d);
translate([-10, -10.5, 0]) cube([50... | glb/cad_371a5b41c0b4.glb |
Create a DNA research model by starting with a sphere that has a diameter of 50mm. Remove two intersecting cylindrical holes, each with a diameter of 12mm and a length of 150mm, from the center of the sphere; position the first cylinder at a 130-degree angle and the second at a 230-degree angle relative to the X-axis. ... | x=12;
D=50;
$fn=190;
difference() {
color("YellowGreen")sphere(D);
rotate([130,0,0]) translate([0,0,0]) cylinder(150,x,x);
rotate([230,0,0]) translate([0,0,]) cylinder(150,x,x);
}
color ("Orange") translate([0,0,4]) cylinder(150,10,10); | glb/cad_fcc24f45f208.glb |
Create a DNA research model consisting of two identical mirrored sections. For the first section, start with a rectangular block 10mm wide, 45mm long, and 9mm high, positioned at x=30, y=-46, z=0. From this block, remove two horizontal cylinders with a radius of 8mm and a height of 2.65mm; the first is rotated -30 degr... | z=9;
g=3.5;
translate ([25,-46,0]) {
difference () {
translate ([5,30,0])cube ([10,45,z]);
translate ([-5,125,1]) {
translate ([9.3,-62.2,3.5])rotate([0,90,-30])cylinder (4.5+g,2.65,2.65);
translate ([14,-54.2,3.5])rotate([0,90,-30])cylinder (4.5+g,2.65,2.65);
}
translate([-5,30,-1])cylinder(z+2,20,20,$fn=6);
translat... | glb/cad_43eaeceedbf1.glb |
Create a DNA research model consisting of a central pentagonal prism and three intersecting cylinders. Start by constructing a pentagonal prism with a radius of 9mm and a height of 38mm. Remove a smaller concentric cylindrical core from this prism with a radius of 3mm and a height of 34mm, positioned 3mm from the base.... | module plaid() {
$fn=5;
x=9;
y=38;
z=38;
difference(){
cylinder(x, y, y);
translate([0,0,3]) cylinder(3, y-4, y-4);
}
}
module connect() {
$fn=160;
dx=4.2;
translate([9,78,dx]) rotate([90,0,0]) cylinder(50,4,4);
translate([9,-32,dx]) rotate([90,0,45]) cylinder(50,4,4);
translate([-66,-44,dx]) rotate([45,90,76]) cyl... | glb/cad_3253b74b9ec9.glb |
Create a 3D model of the GiGi Ergo Steno keyboard. The model consists of a top plate and a surrounding enclosure.
Construct the top plate by creating a series of rectangular switch plates, each 15.6mm wide by 15.6mm long with a thickness of 3.5mm. Arrange these plates into columns and rows based on the provided layout... | use <Switch.scad>
use <sweep.scad>
use <scad-utils/transformations.scad>
use <scad-utils/morphology.scad>
use <scad-utils/lists.scad>
use <scad-utils/shapes.scad>
use <scad-utils/trajectory.scad>
use <scad-utils/trajectory_path.scad>
use <skin.scad>
$fn = 32;
R0 = 0;
R1 = 1;
R2 = 2;
R3 = 3;
PM = 3;
R4 = 4;
R5 = 5;
C... | glb/cad_6ad139fd2738.glb |
Create a 3D model of a mechanical switch component called GiGi.
Start by creating a central switch body. This body is composed of a main rectangular block measuring 15mm by 15mm by 1mm, centered on the XY plane and positioned at a height of 1.75mm. Within this block, add a smaller rectangular block measuring 13mm by ... | plate_thickness = 1;
plate_size = 15.6;
edge_offset = 1;
bottom_height = 5;
bottom_size = plate_size - 2;
top_height = 11.6;
switch_height = 3.0;
switch_thick = 1;
switch_width = 5;
switch_length = 3;
cap_height = .38*25.4;
cap_heightShift = 0.69*25.4;
cap_width = 18.3;
clip_Length = 3;
module Switch(switchScale= ... | glb/cad_12d5ce4a58ce.glb |
Create a 3D model of the GiGi Ergo Steno keyboard plate and enclosure.
Construct a top plate using a series of rectangular switch plates, each measuring 18.05mm by 18.05mm with a thickness of 3.5mm. Arrange these plates into columns (C1 through C6) and rows (R0 through R1). For each switch position, create a rectangu... | use <Switch.scad>
use <sweep.scad>
use <scad-utils/transformations.scad>
use <scad-utils/morphology.scad>
use <scad-utils/lists.scad>
use <scad-utils/shapes.scad>
use <scad-utils/trajectory.scad>
use <scad-utils/trajectory_path.scad>
use <skin.scad>
$fn = 32;
R0 = 0;
R1 = 1;
R2 = 2;
R3 = 3;
PM = 3;
R4 = 4;
R5 = 5;
C... | glb/cad_b42cd1abf118.glb |
Create a raspi-messlab measurement lab base by constructing a rectangular prism with a width of 10mm, a depth of 5mm, and a height of 2mm. Round all four vertical corners of the prism using a radius of 1mm. Ensure the corners are smooth, resulting in a rounded rectangular slab centered on the origin. | roundCornersCube(10,5,2,1);
module createMeniscus(h,radius)
difference(){
translate([radius/2+0.1,radius/2+0.1,0]){
cube([radius+0.2,radius+0.1,h+0.2],center=true);
}
cylinder(h=h+0.2,r=radius,$fn = 25,center=true);
}
module roundCornersCube(x,y,z,r)
difference(){
cube([x,y,z], center=true);
trans... | glb/cad_158304592af8.glb |
Create a TestPointReport2STL holder by starting with a central rectangular block measuring 6mm in width, 4mm in depth, and 20mm in height, centered on the X and Y axes. From this main body, remove six vertical cylindrical holes to create sockets for test probes. These holes are arranged in two rows of three. The first ... | use <testprobe.scad>
$fs=0.05;
movementdistance=2;
timeoffset=0;
delay=0.25;
translate([-1.27,1.27/2,-2+1])testpin(ontop=true,inset=1,movementdistance=movementdistance,probe="050-PTP2540S",socket="050-STB255P");
translate([0,1.27/2,-2+1])testpin(ontop=true,inset=1,movementdistance=movementdistance,probe="050-PTP2540S... | glb/cad_27004cd5caa3.glb |
Create a TestPointReport2STL probe holder consisting of a vertical probe and a supporting socket.
First, construct the probe by creating a cylinder with a diameter of 1.17mm and a height of 1.17mm. Directly above this, add a second cylinder acting as the shaft with a diameter of 0.64mm and a height of 8mm, positioned... | translate([1.27,-1.27/2,-2])testpin(ontop=true,inset=0,movementdistance=2,probe="075-PRP2510S",socket="075-SDN250S");
module testpin(ontop=true,inset=0,probe="",socket="",inset=0,movementdistance=0){
$fs=0.3;
rotate([0,ontop?0:180,0]){
probe(probe=probe,inset=inset,movementdistance=movementdistance);
... | glb/cad_1f4917d6dad2.glb |
Create a TestPointReport2STL holder consisting of three stacked plates.
The bottom plate is a centered cube of 190x110x10mm. Remove sixteen 1.6mm diameter holes at x=±90mm with y offsets of 0, ±10, ±20, ±30, and ±50mm, and six 3mm diameter holes at x=±90mm with y offsets of ±5 and ±45mm. Additionally, remove four 3.2... | translate([0,0,40])WAMMountingTop();
translate([0,0,18])WAMMountingMiddle();
translate([0,0,0])WAMMountingBottom();
module WAMMountingTop(zpos=0){
translate([0,0,zpos+7]){
difference(){
color("White",alpha=0.2)
cube([190,110,10], center=true);
translate([90,-50,0])cylinder(d=1.6,h=10,c... | glb/cad_cb99fd912bdd.glb |
Create a Y-rod holder for an aluminum extrusion. Start with a rectangular base block measuring 50mm in width, 17mm in thickness, and 17mm in height. On the bottom face, center a rectangular notch that is 33mm wide, 6mm deep, and 5.7mm high to fit into the extrusion profile.
Cut a semi-cylindrical channel across the to... | screw_head_diameter = 11.4;
screw_diameter = 5.3;
hammer_nut_width = 16;
holes_from_edge = 5.5;
width = 50;
height = 17;
base_thickness = 3;
thickness = 17;
rod_diameter = 16.4;
zip_tie_offset = 3;
slot_width = 5.7;
slot_depth = 3;
with_support = 1;
support_distance = 0.2;
module y_rod_holder_base(){
cube(... | glb/cad_08f2977958fa.glb |
Create a cube portal for a board game with overall dimensions of 40mm x 40mm x 40mm. Start with a solid cube of these dimensions. From this cube, remove four identical arched openings to create passages. Two of these openings are positioned on opposite faces along the Y-axis, and two are positioned on opposite faces al... | module door(size=[60,10,100]) {
translate([0,0,size[2]/2]) {
difference() {
cube(size,true);
difference() {
translate([0,0,size[2]/2-size[0]/4]) {
cube([size[0],size[1],size[0]/2],true);
}
translate([0,0,size[2]/2-si... | glb/cad_06251d10bba9.glb |
Create a guide for two glass plates. Start by creating a rectangular block that is 100mm long, 10mm wide, and 10mm high, centered on the X and Y axes. From this block, remove two rectangular slabs to create slots for the glass. Each slab should be 90mm long, 90mm wide, and 2mm thick. Position the first slab so its cent... | glassHeight = 90;
glassWidth = 90;
glassThickness = 2;
glassGap = 1;
guideHeight = 10;
guideLength = 100;
guideWidth = 10;
module makeGuide(){
difference(){
translate([0,glassWidth / 2 - 2, 0]) cube([guideLength, guideWidth, guideHeight], true);
glassPlates();
translate([0,0,glassGap + ((glassThic... | glb/cad_0313365557c0.glb |
Create a model of a fuselage nose and boom assembly. Start by constructing a solid nose section using a hull operation that blends a sphere with a diameter of 15mm at the tip with a main fuselage body. The main fuselage body is formed by the hull of four cylinders, each with a radius of 8.7mm, positioned 90 degrees apa... | module makeMainShape(shrinkValue){
translate([shrinkValue/2,0,shrinkValue])
cube([boardLength-shrinkValue,boardWidth-shrinkValue*2,totalHeight],true);
rotate([0,90,0])translate([0,0,(boardLength+cowlingLength)/2-1-shrinkValue])
intersection(){
cylinder(cowlingLength+1, cowlingTailRadius-shrinkValue, cowlingTipRad... | glb/cad_a716d211a2d5.glb |
Create a 3D model of an excavator arm assembly. The model consists of four main structural components connected by pins and hydraulic cylinders.
First, create the base boom, a thick structural arm with a width of 50mm. It should be a rounded polygonal extrusion with a hollowed-out center to accommodate a hydraulic pis... | $fn = 80;
boomAngle = -15 -15 * $t;
dipperAngle = -10 - 70 * $t;
bucketAngle = -10 + 120 * -pow($t,2);
boomLen = 5;
dipperLen = 4;
linkageLen = 90;
pinSize = 15;
width = 50;
baseBoom = [-14,0,15];
baseHydr = [20,0,-20];
boomDipper = [575 * cos(-boomAngle+30) + baseBoom[0],0,
575 * sin(-boomAngle+30) +... | glb/cad_606d303a8491.glb |
Create a Geneva drive mechanism consisting of a driver wheel, a driven wheel, and a supporting base.
First, create a base platform. The base is a union of two cylinders with a radius of 15mm and 12mm respectively, positioned such that their centers are separated by approximately 13.4mm. The platform has a total thickn... | $fn = 80;
vecRadius = 0.5;
origin = [0,0,0];
drivenPoints = 4;
cycleSize = 360/drivenPoints;
driverR = 12;
driverA = 360*$t - 90;
drivenRo = driverR;
gearSep = driverR / cos(cycleSize/2);
echo("Gear Radius",drivenRo);
echo("Gear Separation",gearSep);
drivenX = gearSep + driverR * cos(driverA);
drivenY = driverR * sin... | glb/cad_e6057a35f245.glb |
Create a geometric representation of a vector system consisting of several thin cylinders with conical tips. Start by placing a cylinder of radius 1mm and length 30mm along the X-axis, starting from the origin [0,0,0] and extending to [30,0,0]. From the origin, create a second cylinder of radius 1mm and length 30mm, ro... | $fn = 80;
vecRadius = 1;
origin = [0,0,0];
drivenPoints = 4;
cycleSize = 360/drivenPoints;
driverR = 30;
driverA = 360*$t - 90;
drivenRo = driverR;
gearSep = driverR / cos(cycleSize/2);
echo("Gear Radius",drivenRo);
echo("Gear Separation",gearSep);
drivenX = gearSep + driverR * cos(driverA);
drivenY = driverR * sin(d... | glb/cad_297027ff9a69.glb |
Create a mechanical portfolio model consisting of a wheel, connecting rod, and piston assembly mounted on a base. Start with a rectangular base measuring 80mm by 18mm by 4mm. At one end, place a vertical axle 3mm in diameter and 12mm high.
Construct a wheel centered on this axle with a hub radius of 3mm and a rim with... | $fn=150;
wheelRadius = 15;
connRodLen = wheelRadius * 2 + 10;
cutaway = true;
cutaway = false;
crankPinCoords = [sin(360 * $t)*(wheelRadius + 1.5),
cos(360 * $t)*(wheelRadius + 1.5),0];
crossPinPos = sin(360 * $t)*(wheelRadius + 1.5) + sqrt(pow(connRodLen, 2) - pow(cos(360 * $t) * (wheelRadius + 1.... | glb/cad_00acc28e07b6.glb |
Create a bucket model with overall dimensions of 11mm width, 10mm depth, and 5mm height. Construct the main body by creating a hull that blends a 2D polygon with vertices at [0,0], [10,0], and [5,-2] extruded by 10mm, and a cylinder with a 4mm diameter and 10mm height positioned at [5,-3]. Hollow out this shape by remo... | $fn = 40;
angle = 45 * $t;
size = [11,10,5];
bucketFilled(size, angle);
module bucketFilled(size, angle){
color("blue")
rotate([0,angle,0])
resize(size)
difference(){
bucketShape();
translate([0,0,0.5])
resize([0,9,0])
bucketShape();
}
color("aqua", alpha=0.6)... | glb/cad_53884c8e0ffc.glb |
Create a Train Disassembly Tool consisting of a handle and a socket head. Start by creating a rectangular handle 60mm long, 8mm wide, and 10mm thick, with rounded edges created by a Minkowski sum with a cylinder of radius 8mm and height 1mm. Center a vertical hole with a radius of 3mm through the handle at the far end.... | $fn = 30;
velikost = 9;
prumer = 16;
translate([0, 0, 10]) difference() {
translate([0, 0, 0]) cylinder(r=prumer/2, h=20);
translate([-velikost/2, -velikost/2, 12]) cube([velikost, velikost, 8]);
}
difference() {
minkowski() {
translate([25, 0, 5]) cube([60, prumer/2, 10], center=true);
tr... | glb/cad_f00575b752f2.glb |
Create a 3D model of a diaphone pipe consisting of two main concentric components. The inner component is a complex revolved shape with an outer diameter of 60mm. It features a central air supply channel with a diameter of 11mm. The profile of this inner section transitions from a base diameter of 30mm to a wider outer... | pipe_diameter = 60;
inner_pipe_diameter = 55;
tube_diameter = 11;
rubber_thickness = 1;
min_wall = 1.2 + pipe_diameter * 0.005;
inner_diameter = pipe_diameter * 0.5;
stuck_width = pipe_diameter * 0.15 + 4;
vibration_help = pipe_diameter * 0.01;
fn = round(pipe_diameter * 2);
translate([0, 0, 2 * stuck_width + 2 * min... | glb/cad_4a44bf64a68f.glb |
Create a diaphone pipe holder consisting of a main cylindrical body and an attached ring. The main body is a cylinder with an outer diameter of 31.25mm and a height of approximately 15mm. This body contains a centered vertical hole with a diameter of 11mm to accommodate an air supply tube.
Attached to the side of the ... | pipe_diameter = 25;
tube_diameter = 11;
rubber_thickness = 1;
min_wall = 1.2 + pipe_diameter * 0.005;
inner_diameter = pipe_diameter * 1.25 + 5;
stuck_width = pipe_diameter*0.15 + 4;
fn = round(pipe_diameter * 2.5);
rotate([0, 0, 45])
difference(){
union(){
rotate_extrude($fn=fn) polygon
(poi... | glb/cad_940a0da849c7.glb |
Create a 3D model of a diaphone pipe consisting of a main cylindrical body and a generator housing.
Start by creating a hollow pipe with an outer diameter of 60mm and a wall thickness of 2.5mm. The pipe should be a hollow cylinder with a length of 120mm. At one end, integrate a generator housing. This housing is a la... | include <OpenSCAD_support/_extrudes.scad>
pipe_diam = 60;
pipe_wall_thick = 2.5;
tube_diam = 11;
rubber_thick = 1;
min_wall = 1.2 + pipe_diam * 0.005;
inner_diam = pipe_diam * 0.7;
stuck_width = pipe_diam * 0.15 + 3;
vib_help = pipe_diam * 0.01;
screw_place =
[(pipe_diam/2 + min_wall+1.6)/sqrt(2), pipe_diam/2 + (... | glb/cad_47e67ddac0ac.glb |
Create a 3D model of a diaphone pipe consisting of a main cylindrical body and a generator housing.
Start by creating a hollow pipe with an outer diameter of 60mm and a wall thickness of 2.5mm. The pipe should be a cylinder with a length of 60mm, but the bottom is modified to be flat for printing. Inside this pipe, c... | include <OpenSCAD_support/_extrudes.scad>
pipe_diam = 60;
pipe_wall_thick = 2.5;
tube_diam = 11;
rubber_thick = 1;
min_wall = 1.2 + pipe_diam * 0.005;
inner_diam = pipe_diam * 0.7;
stuck_width = pipe_diam * 0.15 + 3;
vib_help = pipe_diam * 0.01;
screw_place =
[(pipe_diam/2 + 1.6)/sqrt(2), pipe_diam/2 + (pipe_diam... | glb/cad_c440c18f323d.glb |
Create a 3D model of a diaphone pipe generator. Start by constructing a main cylindrical pipe body with an outer diameter of 60mm and a wall thickness of 2.5mm. The overall height of the pipe section is approximately 84.85mm ($\sqrt{2} \times 60$).
Hollow out the center of the pipe to an inner diameter of 55mm. At th... | include <OpenSCAD_support/_extrudes.scad>
pipe_diam = 60;
pipe_wall_thick = 2.5;
tube_diam = 11;
rubber_thick = 1;
height = sqrt(2) * pipe_diam;
min_wall = 1.2 + pipe_diam * 0.005;
inner_diam = pipe_diam - 2 * pipe_wall_thick;
stuck_width = pipe_diam * 0.15 + 3;
vib_help = pipe_diam * 0.005;
screw_place = [ pipe_diam... | glb/cad_2d40e5e268f6.glb |
Create a 3D model of a diaphone pipe. The main body is a hollow cylinder with an outer diameter of 60mm and a wall thickness of 2.5mm.
At the base, integrate a generator housing. This housing is a complex geometric assembly centered on the pipe. It features a curved floor created by subtracting a sphere with a radius... | include <OpenSCAD_support/_extrudes.scad>
pipe_diam = 60;
pipe_wall_thick = 2.5;
tube_diam = 11;
rubber_thick = 1;
min_wall = 1.2 + pipe_diam * 0.005;
inner_diam = pipe_diam * 0.7;
stuck_width = pipe_diam * 0.15 + 3;
height = pipe_diam * 0.5 + stuck_width*2 + 2*min_wall;
vib_help = pipe_diam * 0.01;
screw_place =
... | glb/cad_b4a6888c1322.glb |
Create a 3D model of a diaphone pipe assembly consisting of two main concentric components: an inner air supply section and an outer housing.
The inner section is a complex revolved profile centered on the Z-axis. Create a revolved shape with a maximum outer diameter of 60mm. This part features a central air supply tu... | pipe_diameter = 60;
pipe_wall_thickness = 2;
tube_diameter = 11;
rubber_thickness = 1;
min_wall = 1.2 + pipe_diameter * 0.005;
inner_diameter = pipe_diameter * 0.7;
stuck_width = pipe_diameter * 0.15 + 4;
vibration_help = pipe_diameter * 0.01;
fn = round(pipe_diameter *2);
edge_slit_distance = 4;
inside_space_edge =
... | glb/cad_25cf6464b48d.glb |
Create a RebeliX Z-top mount for a 3D printer. Start with a base composed of several joined rectangular blocks: one measuring 37.3mm x 8mm x 50mm, another 23.3mm x 32mm x 8mm, and a third 15.3mm x 32mm x 12mm. Add a block of 30mm x 8mm x 12mm and a vertical section measuring 8mm x 3mm x 19mm positioned at coordinates (... | include <../configuration.scad>
height = 50;
module z_top_base()
{
translate([z_motor_offset,0,0]) cube([37.3,8,height]);
translate([0,0,0]) cube([3.5+5.65 + 31/2,32,8]);
translate([0,0,0]) cube([2*7.65,32,12]);
translate([0,0,0]) cube([30,8,12]);
translate([3.5+4.35+14.45-4+z_motor_offset,-2,31]) cube([8,3... | glb/cad_cd9912b17f09.glb |
Create a front cover for a 12V/240W power supply called RebeliX. The main body is a hollowed rectangular shell with an outer width of 99.4mm, a height of 29mm, and a depth of 45mm, featuring a wall thickness of 2mm.
The base consists of a floor and two side walls. On the floor, center a horizontal slot 200mm long and ... | include <../../../configuration.scad>
use <../../inc/text_RebeliX.scad>
sirka = 99.4;
vyska = 29;
hloubka = 45;
tloustka_steny = 2;
plech_tloustka = 2.4;
hloubka_dilu = hloubka + 2*tloustka_steny + 1.5;
module euro_konektor(){
difference(){
cube([27.8,19.8,10],center=true);
translate([7.5,19.8/2,-10]) rota... | glb/cad_68db45458599.glb |
Create a RebeliX corner-coupler by starting with a rectangular base plate measuring 60mm in length, 30mm in width, and 1.5mm in thickness. Along the center line of the width (15mm from the edges), add two protruding slots designed to fit profile nuts. Each slot is composed of two cylinders with a 4mm radius and a heigh... | include <../configuration.scad>
module drazka()
{
distance = M6_dia >= profile_nut_width ? M6_dia : profile_nut_width;
translate([-30/2+4,0,0]) cylinder(r=4,h=coupler_thickness+1.5,$fn=32,center=true);
translate([-distance/2-4,0,0]) cylinder(r=4,h=coupler_thickness+1.5,$fn=32,center=true);
translate([-distanc... | glb/cad_e8d6954ce8ad.glb |
Create a rear power supply cover called RebeliX. Start with a base plate measuring 98.9mm wide, 49mm deep (calculated as 45mm plus two 2mm walls), and 2mm thick. From this base, extend two vertical side walls 23mm high. The left wall should be 4.5mm thick and run from the front edge to a depth of 31.5mm. The right wall... | include <../../../configuration.scad>
use <../../inc/text_RebeliX.scad>
sirka = 98.5+0.9;
sirka_vnitrni = 90.7;
vyska = 23;
hloubka = 45;
tloustka_steny = 2;
plech_tloustka = 2 + 0.4;
hloubka_dilu = hloubka + 2*tloustka_steny + 1.5;
module power_base(){
translate([0,0,0]) cube([sirka,hloubka_dilu+15,tloustka_steny]... | glb/cad_edd4ac0df430.glb |
Create a RebeliX compact direct drive extruder mount. Start by constructing a NEMA 17 motor mounting plate with a height of 9mm. The plate should be a square with rounded edges (radius 27mm) and feature a central circular cutout with a radius of 11.25mm. Add four M3 mounting holes at the NEMA 17 standard offsets (±15.5... | include <settings.scad>
epsilon = 0.01;
extra_radius = 0.1;
m3_major = 2.85;
m3_radius = m3_major / 2 + extra_radius;
m3_wide_radius = m3_major / 2 + extra_radius + 0.2;
m3_head_radius = 3 + extra_radius;
drive_gear_outer_radius = 9.00 / 2;
drive_gear_hobbed_radius = 8 / 2;
drive_gear_hobbed_offset = 4.2;
drive_ge... | glb/cad_05ee6d5cbf61.glb |
Create a RebeliX endstop holder by starting with a central rectangular block measuring 17.7mm in width, 16mm in depth, and 12mm in height, centered on the origin. From this base, remove a central vertical cylinder with a radius of 4.1mm and a height of 12.01mm.
To create the mounting slot, remove two rectangular pris... | rod_dia = 8.2;
height = 12;
endstop_width = 16;
module endstop_base()
{
translate([5.5/2,0,0]) cube([rod_dia + 9.5,endstop_width, height], center=true);
}
module endstop_cuts()
{
nut_offset = 2.5;
cylinder(r=rod_dia/2, h = 12 + 0.01, $fn = 32, center = true);
translate([-rod_dia/2,9.5/2,0]) rotate([0,90,0])... | glb/cad_8d298f3def4b.glb |
Create a RebeliX x-carriage for a single extruder. Start with a base body 52mm wide and 81mm long (extending from -12mm to 69mm on the Y-axis), with a thickness of 8.5mm.
Integrate two horizontal bearing supports positioned 45mm apart along the Y-axis. At the front and back of the carriage, create two 4.5mm radius se... | include <../configuration.scad>
include <inc/functions.scad>
use <inc/bearing.scad>
x_rod_distance = 45;
part_width = 52;
v_corr = 0;
module x_carriage_base(){
translate([0,-v_corr,0]) rotate([0,0,90]) horizontal_bearing_base(2);
translate([0,x_rod_distance,0]) rotate([0,0,90]) horizontal_bearing_base(2);
tra... | glb/cad_eacf22e3acba.glb |
Create a RebeliX electronics holder post by designing a rectangular base block measuring 30mm in length, 8mm in width, and 7mm in height. From this base, remove a central vertical hole with a diameter of 3.4mm and a height of 20mm. Additionally, carve out a hexagonal nut slot at one end of the block, positioned 7mm fro... | include <../../configuration.scad>
length = 30;
module base()
{
cube([length,8,7],center=true);
}
module cuts()
{
translate([-length/2+7,0,0]) rotate([0,-90,0]) nut_hole();
translate([length/2,0,0]) rotate([0,-90,0]) cylinder(r=2.4/2,h=20,$fn=16,center=true);
}
module nut_hole(nut_diameter=6.6)
{
cylinder(r=... | glb/cad_ee96a75142ff.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.