Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a rectangular tray with rounded corners and a hollowed-out center. The outer dimensions of the tray are 93.1mm in width, 83.8mm in depth, and 21mm in height. The corners should have a radius of 3mm. Inside this outer shell, create a rectangular cutout to form the storage compartment. This interior void should b...
$fn=100; difference(){ roundedCube3(93.1,83.8,21); translate([2.4,2.4,1]) roundedCube3(88.3,79,30); } module roundedCube3(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_224239eb8a04.glb
Create a rectangular storage bin for game cards with overall external dimensions of 97.8mm in width, 40.8mm in depth, and 62mm in height. The outer corners of the bin should be rounded with a radius of 3mm. Hollow out the center of the bin to create a storage cavity measuring 93mm by 36mm with a base thickness of 1mm...
$fn=200; difference(){ roundedCube3(97.8,40.8,62); translate([2.4,2.4,1]) cube([93,36,100]); translate([48.9,200,65]) rotate([90,0,0]) cylinder(h=400, d=70, center=false); translate([7.5,190,54]) rotate([90,0,0]) linear_extrude(200) difference(){square(8);circle(8);} translate([90.5,190,54]) mirror([1,0,0]) rotat...
glb/cad_8bb54cc3ab44.glb
Create a rectangular storage bin for game cards with external dimensions of 97.8mm width, 82.8mm depth, and 62mm height. The outer corners of the bin should be rounded with a 3mm radius. Hollow out the center of the bin to create a storage cavity measuring 93mm by 78mm, leaving a wall thickness of 2.4mm on the sides ...
$fn=200; difference(){ roundedCube3(97.8,82.8,62); translate([2.4,2.4,1]) cube([93,78,100]); translate([48.9,200,65]) rotate([90,0,0]) cylinder(h=400, d=70, center=false); translate([7.5,190,54]) rotate([90,0,0]) linear_extrude(200) difference(){square(8);circle(8);} translate([90.5,190,54]) mirror([1,0,0]) rotat...
glb/cad_ca49abf761d8.glb
Create a Tapestry Insert organizer by starting with a rounded rectangular block measuring 155.1mm in width, 103.3mm in depth, and 42.5mm in height. Carve out several storage compartments from this block. First, remove a large section from the top to reduce the overall height, leaving a base structure. Within this str...
$fn=100; difference(){ roundedCube3(155.1,103.3,42.5); translate([58.5,-1,33.5]) cube([200,107.9,50]); translate([34,-1,33.5]) cube([200,38,50]); translate([34,37,33.5]) linear_extrude(height=50) polygon(points=[[0,0],[30,40],[30,0]]); translate([0.9,0.9,0]){ translate([1.5,1.5,1]) cube([29,6,45]); translate([1.5,...
glb/cad_18eb2c9bc0b7.glb
Create a rectangular tray for a game organizer with overall outer dimensions of 109mm in length, 67.2mm in width, and 9mm in height. The exterior corners of the tray should be rounded with a radius of 3mm. To form the interior storage compartment, remove a rectangular section from the center of the block. This interi...
$fn=100; difference(){ roundedCube3(109,67.2,9); translate([2.4,2.4,1]) roundedCube3(104.2,62.4,9); } module roundedCube3(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_f9933e0f179a.glb
Create a rectangular organizer tray for game components with overall dimensions of 97.8mm in width, 109.9mm in depth, and 19.5mm in height. The main body should have rounded corners with a radius of 3mm. Inside this volume, carve out two distinct storage compartments. The first is a rounded rectangular void for player...
$fn=100; difference(){ roundedCube3(97.8,109.9,19.5); translate([12.4,12.4,11]) minkowski(){ cube([73,14,23]); sphere(r=10); } translate([17.4,38.4,1]) roundedCube3(63,69.4,30); translate([2.4,71.8,1]) roundedCube3(93,36,30); translate([0,54.95,-1]) rotate([0,0,90]) cylinder(h=30, d=30, center=false); translate([...
glb/cad_2c6bb2e30af2.glb
Create a Tapestry game organizer tray by starting with a rounded rectangular block measuring 97.8mm in width, 57.1mm in depth, and 62mm in height, with corner radii of 3mm. Inside this main volume, carve out four longitudinal rectangular slots to create card and tile holders. Position the first slot at (2.4, 2.4, 1) ...
$fn=200; difference(){ roundedCube3(97.8,57.1,62); translate([2.4,2.4,1]) cube([93,8,100]); translate([2.4,12.8,1]) cube([93,27,100]); translate([2.4,42.2,1]) cube([93,5,100]); translate([2.4,49.6,1]) cube([93,5.1,100]); translate([48.9,200,65]) rotate([90,0,0]) cylinder(h=400, d=70, center=false); translate([7...
glb/cad_ddd525ba3087.glb
Create a hexagonal container with a wall thickness of 0.5mm. The outer boundary should be a regular hexagon with a width of 66.8mm and a height of 39mm. Inside this, create a hollow hexagonal cavity with a width of 62mm and a depth of 60mm, leaving a 1mm thick base. Finally, remove a vertical cylindrical hole with a di...
$fn=100; difference(){ phex(66.8,0.5,39); translate([0,0,1]) phex(62,0.5,60); translate([-24,-14,-1]) rotate([0,0,0]) cylinder(h=60, d=25, center=false); } module roundedCube(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } } module phex(wid,rad,height){ hull(){ tra...
glb/cad_53992f10ff21.glb
Create a Tapestry Insert tray by starting with a solid rounded rectangular block measuring 88.6mm in width, 75.2mm in depth, and 39mm in height, with corner radii of 3mm. Hollow out the interior of this block by removing two distinct rectangular sections. First, create a void for the science dice measuring 83.8mm wid...
$fn=100; difference(){ roundedCube3(88.6,75.2,39); translate([2.4,22.8,1]) roundedCube3(83.8,50,60); translate([2.4,2.4,1.5]) roundedCube3(83.8,18,60); translate([-1,-1,33.5]) cube([100,6.7,50]); translate([-1,32.2,25.5]) cube([100,100,50]); translate([-1,28.2,35]) rotate([90,0,90]) linear_extrude(200) difference...
glb/cad_be2b78c25ab8.glb
Create a Tapestry Inspiration Tiles and Landmark Tokens tray. Start with a base block measuring 109mm wide, 216.8mm long, and 9mm high, with rounded corners. Carve out a large central cavity starting from the bottom, measuring 200mm by 100mm and 20mm deep, rotated -36 degrees. Remove a small 20mm cube from the bottom...
$fn=100; difference(){ roundedCube3(109,216.8,9); translate([-70,61.2,-1]) rotate([0,0,-36]) roundedCube3(200,100,20); translate([-2,-2,-1]) roundedCube3(20,20,20); translate([101,63,-2]) mirror([1,0,0]) rotate([0,0,180]) linear_extrude(20) difference(){square(8);circle(8);} translate([108,53.5,-1]) cube([2,2,20])...
glb/cad_bcd4f53c96fd.glb
Create a Tapestry organizer tray by starting with a rounded rectangular base measuring 109mm wide, 216.8mm long, and 9mm high, with corner radii of 3mm. Within this base, carve out five identical rectangular slots for inspiration tiles. Each slot should be 114mm wide and 23mm long, 20mm deep, and rotated -36 degrees....
$fn=100; difference(){ roundedCube3(109,216.8,9); translate([1.3,73.7,1]) for (i = [0:4]){ translate([0,i*30.8,0]) rotate([0,0,-36]) roundedCube3(114,23,20); translate([102.7,(i*30.8)-61,-2]) rotate([0,0,0]) cylinder(h=20, d=18, center=false); translate([102.7,(i*30.8)-70,-2]) cube([18,18,30]); translate([104.8,(i...
glb/cad_b32243d67584.glb
Create a Tapestry Inspiration Tiles and Landmark Tokens tray. Start with a base block measuring 109mm wide, 216.8mm long, and 9mm high, with rounded corners. Carve out a large rectangular recessed area from the top, measuring 200mm by 200mm, rotated -36 degrees, and centered at x=-2, y=137.7. Within this main recess,...
$fn=100; difference(){ roundedCube3(109,216.8,9); translate([-2,137.7,-1]) rotate([0,0,-36]) roundedCube3(200,200,20); translate([-2,137.7,-1]) roundedCube3(200,200,20); translate([8,129,-2]) mirror([1,0,0]) rotate([0,0,0]) linear_extrude(20) difference(){square(8);circle(8);} translate([1.3,73.7,1]) for (i = [0:4...
glb/cad_cb8626ff75a7.glb
Create a rectangular tray with rounded corners, measuring 109mm in length, 67.2mm in width, and 9mm in height. From this solid base, remove six cylindrical holes and two larger finger-access holes to create storage voids. Position the first set of storage holes at x=19.4mm and y=14.25mm, and x=52.5mm and y=14.25mm. A...
$fn=100; difference(){ roundedCube3(109,67.2,9); translate([2,0,0]){ translate([19.4,14.25,1]) rotate([0,0,0]) cylinder(h=30, d=30.7, center=false); translate([19.4,0,-1]) rotate([0,0,0]) cylinder(h=30, d=20, center=false); translate([52.5,14.25,1]) rotate([0,0,0]) cylinder(h=30, d=30.7, center=false); translate([...
glb/cad_25b50430231b.glb
Create a Tapestry organizer tray by starting with a rounded rectangular base measuring 163.5mm in width, 186.2mm in depth, and 13.5mm in height, with corner radii of 3mm. Inside this base, carve out a large rectangular cavity for capital city mats measuring 158.7mm by 178mm, positioned 2.4mm from the side and 4.1mm f...
$fn=100; difference(){ roundedCube3(163.5,186.2,13.5); translate([2.4,4.1,1.5]) cube([158.7,178,100]); translate([0,93.1,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([0,1,0]){ translate([12.4,14.1,-1]) roundedCube3(138.7,45.3,50); translate([22.4,69.4,-1]) roundedCube3(128.7,45.3,50); tran...
glb/cad_550cebe37726.glb
Create a Tapestry Inspiration Tiles and Landmark Tokens tray by starting with a rounded rectangular block measuring 109mm wide, 216.8mm long, and 9mm high, with corner radii of 3mm. From this base, remove several geometric sections to create storage voids. First, create five identical slots for inspiration tiles: eac...
$fn=100; difference(){ roundedCube3(109,216.8,9); translate([1.3,73.7,1]) for (i = [0:4]){ translate([0,i*30.8,0]) rotate([0,0,-36]) roundedCube3(114,23,20); translate([102.7,(i*30.8)-61,-2]) rotate([0,0,0]) cylinder(h=20, d=18, center=false); translate([102.7,(i*30.8)-70,-2]) cube([18,18,30]); translate([104.8,(i...
glb/cad_06adc4a01cee.glb
Create a rectangular tray for a board game insert with overall dimensions of 97.8mm in width, 70.8mm in depth, and 19.5mm in height. The outer edges of the tray should be rounded with a radius of 3mm. Inside this tray, create a large rectangular cutout for a card deck holder measuring 68.8mm wide, 66mm deep, and 50mm ...
$fn=200; difference(){ roundedCube3(97.8,70.8,19.5); translate([14.5,2.4,1]) cube([68.8,66,50]); translate([14.5,35.4,1]) rotate([0,0,90]) cylinder(h=30, d=24.2, center=false); translate([83.3,35.4,1]) rotate([0,0,90]) cylinder(h=30, d=24.2, center=false); translate([48.9,90,35]) rotate([90,0,0]) cylinder(h=100, d...
glb/cad_47c73a7d57a6.glb
Create a card holder for the Tapestry board game. Start with a rounded rectangular block measuring 66.8mm in width, 18mm in depth, and 64mm in height, with corner radii of 3mm. Hollow out the main compartment to create a storage slot measuring 62mm wide, 13.2mm deep, and 100mm high, offset from the outer walls by 2.4...
$fn=200; difference(){ roundedCube3(66.8,18,64); translate([2.4,2.4,1]) cube([62,13.2,100]); translate([33.4,40,40]) rotate([90,0,0]) cylinder(h=30, d=25, center=false); translate([20.9,10,40]) cube([25,30,100]); translate([2.4,-1,35]) cube([62,10,100]); translate([33.4,10,35]) rotate([90,0,0]) scale([1.5,1,1]) ...
glb/cad_315461a73c7d.glb
Create a Tapestry Organizer tray with overall dimensions of 144.8mm in width, 98.3mm in depth, and 39mm in height. The main body is a rounded cube with a 3mm corner radius. From this main volume, remove the following geometric features: 1. A large rectangular block from the top, starting at X=21.4mm, leaving a base wa...
$fn=100; difference(){ roundedCube3(144.8,98.3,39); translate([21.4,0,33.5]) cube([200,100,50]); translate([-1,70,33.5]) cube([200,100,50]); translate([1,38.3,0]) rotate([0,0,30]) translate([1,30,-1]) phex(66.8,0.5,41.5); translate([-3,-3,-1]) roundedCube3(25,34.4,60); translate([54.2,-3,-1]) roundedCube3(100,13,...
glb/cad_37ce354470f8.glb
Create a Tapestry organizer tray by starting with a rounded rectangular block measuring 97.6mm x 96.6mm x 39mm. From this main volume, remove a rounded rectangular cutout measuring 35.4mm x 34.4mm x 45mm positioned at the corner (offset by -3mm, -3mm). Remove a rectangular block of 100mm x 100mm x 50mm starting at po...
$fn=100; difference(){ roundedCube3(97.6,96.6,39); translate([-3,-3,-1]) roundedCube3(35.4,34.4,45); translate([-1,53.6,25.5]) cube([100,100,50]); translate([0,31.4,2]){ translate([64.2,0.9,0]){ translate([1.5,1.5,3]) cube([29.5,8,45]); translate([1.5,9.5,6]) linear_extrude(height=50) polygon(points=[[2,0],[7,25]...
glb/cad_271e198f7b58.glb
Create a rectangular organizer block with overall dimensions of 96.2mm in width, 103.3mm in depth, and 42.5mm in height. The outer edges of the block should be rounded with a 3mm radius. Carve out the following four internal compartments from the main block: 1. For the Rubber Works section, create two intersecting re...
$fn=100; difference(){ roundedCube3(96.2,103.3,42.5); translate([0,0,0]){ translate([2.4,2.4,3]) cube([57,29,45]); translate([2.4,2.4,3]) cube([29,57,45]); translate([30.9,0,42.5]) rotate([270,0,0]) cylinder(h=5, d=45, center=false); translate([0,30.9,42.5]) rotate([90,0,90]) cylinder(h=5, d=45, center=false); } ...
glb/cad_fb3757543507.glb
Create a Lathe Chuck Soft Jaw by starting with a main block that is 44mm wide, 80mm deep, and 19mm high. From this main volume, remove a central rectangular section to create a recessed channel. This channel should be 36mm wide and 11mm deep, centered along the depth of the block. To refine the shape, remove a smalle...
t=2; w1=40; w2=15; h1=15; h2=16; d1=20; d2=80; D(){hull(){ Cu(w1+2*t,d2,h1+2*t);Tz(h2-h1/2)Cu(w2+t,d2,h1+2*t);} Ty(t)hull(){Cu(w1,d2,h1);Tz(h2-h1/2)Cu(w2,d2,h1);} Ty(d1)Cu(w1+3*t,d2-h1,h2+h1/2); T(0,t,-h1/2-t)hull(){Cu(w1-3*t,d2,0.001);Tz(t)Cu(w1,d2,0.001);} } $fn = 100; module show_examples() pl...
glb/cad_d54ce9e6c9b4.glb
Create a Centerfinder tool with a height of 5mm. Start with a main base that is a cube of 50mm by 50mm by 5mm, centered on the origin. From this base, remove material to create two intersecting slots. The first slot is a rectangular channel 5mm wide and 50mm long, running through the center along one axis. The second...
h=5; w=50; t=5; sharpie=0.1; D(){intersection(){Cu(w+t,2*(w-t/2),h);U(){Tx(t/2)Cu(w,t,h); T(w/2,w/2-t/2,0)Cu(t,w,h); T(w/2,0,0)Rz(45)T(t/2+sharpie,w/2+2*t,0)Cu(t,sqrt(2)*w-t,h);}} T(0,w/2,h/2)Cu(w,w,h);} $fn = 100; module show_examples() place_in_rect(30, 30) { Cy(h = 10); CyH(h = 10); CyH(h = 10, w = 30); ...
glb/cad_b4e955ed56e0.glb
Create a Chubby Grip for a bicycle handlebar. Start by creating a main cylindrical body with a total length of 125mm and an outer diameter of 44mm. This body should feature a solid end cap at both ends, each with a length of 10mm. Between these end caps, include a central core cylinder with a diameter of 36mm (22mm han...
function flats() = 80; $fn = flats(); handle_bar_dia = 22; grip_length = 125; grip_dia = 44; inner_wall_thickness = 7; end_cap_length = 10; fin_count = 40; fin_thickness = .8; difference(){ union(){ fins(); end_cap(); translate([0, 0, grip_length - end_cap_length]) end_cap(); ...
glb/cad_d5618cec1758.glb
Create a small antenna insulator. The main body is a rounded rectangular block with overall dimensions of 17mm in length, 7.6mm in width, and 2mm in height, featuring rounded corners with a radius of 0.6mm. At each end of the long axis, add a semi-cylindrical cap with a radius of 4mm and a height of 2mm, also with 0.6m...
$fn = 32; module rcube(Size=[20,20,20],b=2) {hull(){for(x=[-(Size[0]/2-b),(Size[0]/2-b)]){for(y=[-(Size[1]/2-b),(Size[1]/2-b)]){for(z=[-(Size[2]/2-b),(Size[2]/2-b)]){ translate([x,y,z]) sphere(b);}}}}} module rcylinder(r1=10,r2=10,h=10,b=2) {translate([0,0,-h/2]) hull(){rotate_extrude() translate([r1-b,b,0]) circle(r...
glb/cad_c9d370e7b30a.glb
Create a zip tie model consisting of a long, flat strap and a locking head. The strap is 15mm wide and 120mm long. Along the length of the strap, create a series of repeating teeth on both long edges; each tooth is 2mm long and 2.5mm high, spaced with 2mm gaps between them. At one end of the strap, construct a locking...
head_length = 20; head_width = 9; tip_radius = 4; tail_length = 20; tail_width = 15; stem_width = 4; tooth_length = 2; tooth_bump = 2.5; tooth_gap = 2; teeth_extent = 120; tail_radius = 1; hole_width = 9; hole_open = 1; hole_cut_width = 2; hole_cut = 0.25; hole_gap = 5; teeth_to_holes = 4; head_hole_radius = 1.5; conto...
glb/cad_9bda673857f3.glb
Create a minilathe tailstock lock lever. Start by forming a main body that consists of a rounded handle extending from a hexagonal socket. The socket is a hexagonal hole with a diameter of 20mm and a depth of 16mm. The surrounding head of the lever is a rounded, extruded shape created by rotating a circle of 8mm diamet...
bd = 20; bh = 8; w = 6; hl = 50; $fn=72; difference() { union() { hull() rotate_extrude() translate([bd/2+w-bh/4,bh*.75]) scale([0.5,1.5]) circle(d=bh); hull() { cylinder(d=bd,h=w); translate([hl-bd/2,0,bd/2]) rotate([90,0,0]) rotate_extrude() translate([bd/2-w/4,0]) scale([0.5,1]) circle(d=w)...
glb/cad_8e4daad09d50.glb
Create a 3D model of a hat aperiodic monotile by extruding a specific 13-sided polygon to a thickness of 0.6mm. To define the polygon, use a base unit $u = 5$ and $v = 5\sqrt{3}$ (derived from $r=20$). Plot the vertices at the following coordinates: (15, $10\sqrt{3}$), (15, 0), (25, 0), (35, $10\sqrt{3}$), (30, $15\sqr...
module hat(r) { u = r / 4; v = u * sqrt(3); vertices = [ [3 * u, 2 * v], [3 * u, 0], [5 * u, 0], [7 * u, 2 * v], [6 * u, 3 * v], [9 * u, 4 * v], [9 * u, 6 * v], [7 * u, 6 * v], [6 * u, 5 * v], [3 * u, 6 * v], [ ...
glb/cad_940205f514cf.glb
Create a Scholar's Trophy consisting of a book and three pencils. Start by modeling a book with a thick spine; on the spine, place the winner's name "Josef Průša" near the top and the prize "1st Place" near the bottom, both extruded 3mm from the surface. Arrange three pencils of varying heights radiating from behind ...
winner_name = "Josef Průša"; prize = "1st Place"; pencil_number = "2"; module place () { color ("red") { linear_extrude(3) { resize (newsize = [7, 0,0]) text(pencil_number, halign = "left"); } } } module name () { color ("green") { linear_extrude(3) { ...
glb/cad_9d27822c140d.glb
Create a Toroidal Rotor propeller with a total height of 8mm and an overall radius of 70mm. The main body consists of 3 symmetrical, rounded lobes arranged around a central axis. Each lobe is formed by a circular profile that is extruded vertically while applying a twist of approximately 45 degrees across the 8mm heigh...
extrusion_width = 0.8; lobes = 3; height = 8; prop_radius = 70; lobe_squish = 1; slope_angle = 45; center_diam = 15; $fn = 64; only_two = lobes == 2; lobe_offset_factor = only_two ? 0.9 : 1; l_twist = tan(slope_angle) * height / (prop_radius * PI) * 360; angle = 360 / lobes; center_rad = center_diam / 2 - e...
glb/cad_b0df42d25559.glb
Create a Toroidal Rotor propeller with a total height of 8mm and an overall radius of 70mm. The main body consists of three identical circular lobes arranged symmetrically around a central axis. Each lobe is based on a circle with a diameter of 70mm, which is then linearly extruded to the 8mm height while applying a ne...
extrusion_width = 0.8; lobes = 3; height = 8; prop_radius = 70; lobe_squish = 1; slope_angle = 50; center_diam = 15; $fn = 64; only_two = lobes == 2; lobe_offset_factor = only_two ? 0.9 : 1; l_twist = tan(slope_angle) * height / (prop_radius * PI) * 360; angle = 360 / lobes; center_rad = center_diam / 2 - e...
glb/cad_e41bffee8654.glb
Create a BLTouch mount for a Mellow NF Sunrise Extruder. Start with a main body that is a rounded cube measuring 12.5mm wide, 26mm long, and 17mm high, with a corner radius of 1mm applied only to the Z-axis faces. Subtract a 3.4mm diameter through-hole along the X-axis at the side. Add two vertical mounting holes wit...
bltouch_mount_hole_diameter=3.4; bltouch_mount_hole_m3_thread = 2.85; bltouch_mount_diameter_pin=3; bltouch_PosZ=13; $fs = .4; $fa = 4; module printposz() { text=bltouch_PosZ; linear_extrude(height = 0.4) { text(text = str(text), size = 6.7, halign = "center", valign = "center", $fn = 16); } } module r...
glb/cad_429e316ce972.glb
Create a Customizable XY optical endstop frame mount consisting of two joined rectangular blocks. The first block is a vertical rectangular prism measuring 11mm in width, 4mm in depth, and 26.5mm in height, positioned at [8.5, 0, -13.5]. The second block is a wider base prism measuring 24mm in width, 12mm in depth, and...
hole_diameter = 2.4; hole_diameter_m2 = 1.85; hole_diameter_m3 = 2.8; endstop_position = 6.5; $fs = .2; $fa = 2; difference() { translate([8.5,0,-13.5]) cube([width,depth,height], center = false); translate([14, 10,9.5]) rotate([90,0,0]) cylinder(h = 30, d = hole_diameter_m3); translate(...
glb/cad_24f55cda3122.glb
Create a phone holder for a wireless charging pad. Start with a solid rounded rectangular block with a base thickness of 2mm and a total height of 22.7mm. The outer dimensions are 151.3mm in width and 76.9mm in depth, with outer corners rounded to a radius of 21.4mm. Hollow out the center to create a compartment for a...
QiDia = 85.3; QiH = 11.1; QiR = 5; PhoneW = 146.9; PhoneL = 72.5; PhoneH = 7.9; PhoneR = 11; CamW = 42.5; CamL = 41.5; CamH = 3.6; Ext = PhoneH/2; Floor = 2; Wall = 0.4; Plug = true; PlugL = 29; Rec = true; RecL = 10.3; RecH = 6.8; $fn = 100; BoxR = PhoneR+Wall+Ext; ScaleW = (PhoneW+2*Ext)/(PhoneW); ScaleL = (PhoneL+2...
glb/cad_24f1fb9cefb4.glb
Create a phone holder for a wireless charging pad. Start by creating a solid rounded rectangular block with a total height of 17.4mm, a width of 144.4mm, and a depth of 74.4mm, using a corner radius of 21.4mm. From this main body, remove a central rectangular cavity to hold the phone. This cavity should start 2mm fro...
QiDia = 85.2; QiH = 7.7; QiR = 5; PhoneW = 139.2; PhoneL = 68.4; PhoneH = 7.7; PhoneR = 11; CamW = 20; CamL = 20; CamH = 1.2; Ext = PhoneH/2; Floor = 2; Wall = 0.4; $fn = 100; BoxR = PhoneR+Wall+Ext; ScaleW = (PhoneW+2*Ext)/(PhoneW); ScaleL = (PhoneL+2*Ext)/(PhoneL); difference() { translate([0,0,0]) roundRect(s...
glb/cad_633434d1bfe0.glb
Create a storage box for stacking blocks. The box should have an outer footprint of 220mm by 190mm with a total height of 61mm. The walls of the box must be 2mm thick, and the base should be 1mm thick, creating an interior cavity that is 216mm long, 186mm wide, and 60mm deep. Additionally, create stacking blocks that m...
cube ([220,190,1]); translate ([2,2,1]) cube ([2,186,60]); translate ([4,2,1]) cube ([214,2,60]); translate ([216,2,1]) cube ([2,186,60]); translate ([4,186,1]) cube ([212,2,60]);
glb/cad_d6948cc95a33.glb
Create a storage box for stacking blocks. Start by constructing a rectangular base that is 220mm wide, 190mm deep, and 1mm thick. From this base, extend four vertical walls to a height of 60mm. The two side walls should be 1.5mm thick and 190mm deep, positioned at the far left and right edges of the base. The front and...
cube ([220,190,1]); translate ([0,0,1]) difference() { cube ([1.5,190,60]); cube ([1.5,5,2]); } translate ([1.5,0,1]) cube ([218.5,1.5,60]); translate ([218.5,1.5,1]) difference() { cube ([1.5,188.5,60]); cube ([1.5,5,2]); } translate ([1.5,188.5,1]) cube ([218.5,1.5,60]);
glb/cad_6e58af0607d4.glb
Create a Rhombic Truncated Tetrahedron Puzzle consisting of four identical L-shaped pieces. Each piece is composed of three rhombic dodecahedrons with a side length of 10mm. To ensure the pieces fit together with a sliding tolerance, size each individual rhombic dodecahedron unit slightly smaller than 10mm by applying ...
module pyramid(R) { translate([0,0,R/2]) rotate([0,0,45]) cylinder(r1=R/sqrt(2), r2=0, h=R/2, $fn=4); } module rhombic_dodecahedron(R) { cube(R, center=true); rotate([ 0, 0,0]) pyramid(R); rotate([ 0, 90,0]) pyramid(R); rotate([ 0,180,0]) pyramid(R); rotate([ 0,270,0]) pyramid(R); ...
glb/cad_90d7145b06b1.glb
Create a sweet potato sprouting holder consisting of a flat, circular ring with a total outer diameter of 103mm and a thickness of 2mm. The ring has a central circular cutout with a diameter of 95mm, creating a wall thickness of 4mm. Radiating from the center of this cutout toward the outer edge, add six identical wedg...
rim_d = 95; wall = 4; inner_d = 30; union(){ linear_extrude(1){ for(a = [0:60:360]){ rotate([0,0,a]) polygon([[0,inner_d/2],[3,rim_d/2],[-3,rim_d/2]]); } } linear_extrude(2){ difference(){ circle(d=rim_d+wall*2,$fn=90); circle(d=ri...
glb/cad_2f7313ec79c9.glb
Create a low-poly ashtray by starting with a base shape formed from the intersection of a sphere, scaled to 45mm in the X and Y axes and 18mm in the Z axis, and a set of three hexagonal prisms. Position one hexagonal prism with a 50mm radius centered at [0, 0, -5] and two others with 25mm radii, one rotated 30 degrees ...
$fn = 6; difference() { intersection() { scale([1,1,0.4]) sphere(45 , $fn = 22); union() { translate([0,0,-5]) cylinder(10,50,50); rotate([0,0,-30]) translate([0,0,5]) cylinder(25,50,0); mirror([0,0,1]) ...
glb/cad_7165a5887e24.glb
Create a pegboard hook for the IKEA SKÅDIS system with a uniform thickness of 4.5mm. Start by extruding a flat profile that consists of a main vertical pin and a curved hook. The pin section is a rectangle 10.3mm wide and 21mm tall. At the top of this pin, create a hook that extends 10.3mm horizontally and 7mm vertical...
$fn=123; linear_extrude(4.5, convexity=10) polygon([ [0,1], [1,0], [5-1,0], [5,1], [5,7], [5+5.3,7] , [5+5.3,-26+5] , [3+1,-26+5], [3,-26+5-1], [3,-26+1], [3+1,-26] , [5+5.3+5,-26] , [5+5.3+5,7+5-1], [5+5.3+5-1,7+5] , [5+5.3+5,7+5], [1,7+5], [0,7+5-1] ]); hr=11.5; translate([5+5.3+hr,-18,0]) { differenc...
glb/cad_55bec9f517fa.glb
Create a Horseless Carriage Insert by starting with a solid rectangular block measuring 193.2mm in length, 23.2mm in width, and 40mm in height. Hollow out the interior of this block to create a storage tray with walls 1.6mm thick and a bottom floor 0.8mm thick. Within this hollowed space, carve out three adjacent recta...
$fn = 50; wall = 1.6; bottom = .8; x1 = 52 + 0.4; x2 = 65 + 0.4; x3 = 78 + 0.4; totalX = (x1 + x2 + x3) + 2*1.2 + 2*wall; totalZ = 40; innerY = 21; totalY = innerY + + 2*wall; module mainlines() { union() { cube([x1, innerY, totalZ]); translate([1.2 + x1, 0, 0]) cube([x2, innerY, total...
glb/cad_ea131a67afd5.glb
Create a Horseless Carriage Insert by starting with a solid rectangular block measuring 107.4mm in width, 81.2mm in depth, and 24mm in height. Hollow out the center of this block to create a container with a wall thickness of 1.2mm and a base thickness of 1.2mm, leaving an internal cavity of 105mm by 80mm with a depth ...
$fn = 50; factoryZ = 13; baseTiles = 11; innerX = 105; innerY = 80; innerZ = factoryZ + baseTiles; cardWidth = 48; cardHeight = 74; wall = 1.2; bottom = 1.2; tileHeight = innerY - 0.8; tileWidth = innerX - cardWidth - 4 - wall; difference() { translate([-wall, -wall, -bottom]) cube([innerX + wall * 2, inn...
glb/cad_dd3c2cd5acec.glb
Create a Horseless Carriage Insert consisting of a rectangular open-top box. The outer dimensions of the box are 81.2mm in width (X) and 105mm in depth (Y). The walls are 1.6mm thick and the bottom base is 0.8mm thick. The total height of the walls is 13.2mm. Inside the box, create a rectangular cutout starting from ...
use <slidebox.scad> $fn = 50; wall = 1.2; bottom = 0.8; lidHeight = 2; railThickness = 1.2; lidTolerance = 0.4; wallThickness = 1.6; totalZ = 15.2 - lidHeight; totalX = 80 + wall; totalY = 105; lidPattern = "Hex"; lidPadding = 8; cardWidth = 49; cardHeight = 75; module resourcesBox() { intersection () { ...
glb/cad_487d6e66a601.glb
Create a Horseless Carriage game insert consisting of a main storage container and a separate resource lid. Construct the main container as a rectangular box with overall dimensions of 137mm in length, 92mm in width, and a base height of 13mm. The walls should be 1.6mm thick with a bottom floor thickness of 0.8mm. Wi...
use <slidebox.scad> wall = 1.2; bottom = 0.8; lidHeight = 2; railThickness = 1.2; lidTolerance = 0.4; wallThickness = 1.6; baseHeight = 15 - lidHeight; cubesHeight = 35.4; smallRdHeight = 29.7; highRdHeight = 43.7; carsHeight = 40; carsWidth = 55; totalX = 137; totalY = 92; lidPattern = "Hex"; lidPadding = 8; mod...
glb/cad_7677cf76ca36.glb
Create a Horseless Carriage Insert by constructing a hollow rectangular container with a total height of 40mm, a total width of 87.8mm, and a total depth of 44.5mm. The container must have a base thickness of 0.8mm and wall thicknesses of 1.6mm. Inside this outer shell, carve out three adjacent rectangular compartments...
$fn = 50; wall = 1.6; bottom = .8; x1 = 38 + 0.4; x2 = 25 + 0.4; totalX = (x1 + x2 *2) + 2*1.2 + 2*wall; totalZ = 40; innerY1 = 40.5; innerY2 = 13 * 2 + 0.5; innerY3 = 12 * 2 + 0.5; totalY1 = innerY1 + 2*wall; totalY2 = innerY2 + 2*wall; totalY3 = innerY3 + 2*wall; module mainlines() { union() { cube(...
glb/cad_130e8172fd6a.glb
Create a Horseless Carriage game insert with overall dimensions of 113mm in width, 215.8mm in length, and 13mm in height. The main body is a rectangular tray with walls 1.6mm thick. Inside the tray, carve out several rectangular storage compartments starting from a base offset of 3.2mm from the edge. Create a series ...
use <slidebox.scad> $fn = 30; tl1 = 13 + 0.8; tl2 = 25 + 0.8; tl3 = 38 + 0.8; tl4 = 51 + 0.8; lidHeight = 2; railThickness = 1.2; lidTolerance = 0.4; wallThickness = 1.6; innerWall = 1.2; startY = railThickness + lidHeight; totalX = 113; totalY = 297-81.2-81.2-10; totalZ = 13; lidPattern = "Hex"; lidPadding ...
glb/cad_27d1f66620b3.glb
Create a Horseless Carriage Insert consisting of a rectangular storage box and a matching lid. The main box has overall exterior dimensions of 65mm in width, 111mm in depth, and 13mm in height. The walls of the box are 1.6mm thick. The interior is hollowed out to create a storage cavity, leaving a base and four side wa...
use <slidebox.scad> $fn = 30; lidHeight = 2; railThickness = 1.2; lidTolerance = 0.4; wallThickness = 1.6; totalX = 65; totalY = 111; totalZ = 13; lidPattern = "Hex"; lidPadding = 8; innerRadius = 2; largeWidth = 35; module resourcesBox() { intersection () { union () { rails(totalX, totalY...
glb/cad_7d4b4f6db82c.glb
Create a Horseless Carriage Insert for vertical storage. Construct a rectangular base box with overall dimensions of 53.4mm in width (X), 111.5mm in length (Y), and 13mm in height (Z). The walls should be 1.6mm thick. Inside this box, create a series of rectangular compartments. Position the first compartment at the f...
use <slidebox.scad> $fn = 30; tl1 = 13 + 0.8; tl2 = 25 + 0.8; tl3 = 38 + 0.8; tl4 = 51 + 0.8; lidHeight = 2; railThickness = 1.2; lidTolerance = 0.4; wallThickness = 1.6; innerWall = 1.2; startY = railThickness + lidHeight; totalX = tl3 + tl2 + innerWall + wallThickness * 2; totalY = 111.5; totalZ = 13; lidP...
glb/cad_8e21fce053dd.glb
Create a Horseless Carriage Insert consisting of a rectangular container with outer dimensions of 205mm in length, 55mm in width, and 38mm in height. The container features walls that are 1.6mm thick. Inside this main shell, carve out three adjacent rectangular compartments to create storage bays. The first compartment...
use <slidebox.scad> $fn = 30; lidHeight = 2; railThickness = 1.2; lidTolerance = 0.4; wallThickness = 1.6; totalX = 205; totalY = 55; totalZ = 40 - lidHeight; innerBoxHeight = 15; boxInternalA = (205 - wallThickness * 2 - 1.2 * 2) / 9; boxInternal1 = boxInternalA * 4.3; boxInternal2 = boxInternalA * 2.7; boxInterna...
glb/cad_9e772b2080ec.glb
Create a Sortimo Insert Boxx, which consists of a hollow rectangular container and four small cylindrical pegs. For the container, create a solid block with a height of 60.7mm. The outer base is a rounded square with a corner radius of 5mm and a width of 49.5mm. The top rim is slightly wider at 52.5mm with a corner r...
what = "both"; modulesH = 1; modulesV = 1; wallThickness = 1.7; pegDiameter = 7.4; stackableModules = 1; pegDistance = 39.5; baseCornerDiameter = 5; topCornerDiameter = 10; topWidth = 52.5; topLowerWidth = 51.5; topInnerDiameter = 48.5; bottomWidth = 49.5; height = 60.7 / stackableModules; pegSlackH = (modulesH ...
glb/cad_8d161781538f.glb
Create a hose adapter consisting of three coaxial sections with a uniform wall thickness of 1.6mm. Start with a large cylindrical base segment that has an outer diameter of 40mm and a height of 20mm. On top of this base, add a transition segment 30mm in height that tapers linearly from the 40mm outer diameter of the ba...
larger_OD = 40; larger_length = 20; smaller_OD = 20; smaller_length = 20; transition_length = 30; thickness = 1.6; module separator () {} $fn=200; epsilon=0.01; module larger_segment() { linear_extrude(height=larger_length) difference() { circle(d=larger_OD); circle(d=larger_OD-t...
glb/cad_918648645e13.glb
Create a Honeycomb Bracelet by constructing a curved, ring-like band. The band should have a total length of 240mm, a height of 35mm, and a thickness of 2.5mm. The overall shape is a closed loop forming a circle with an arc of 365 degrees, divided into 90 equal segments. The face of the band features a honeycomb patte...
include <../pattern.scad> module hollow_out(shell_thickness) { difference() { children(); offset(delta = -shell_thickness) children(); } } module bend_extrude(size, thickness, angle, frags = 24) { x = size[0]; y = size[1]; frag_width = x / frags ; frag_angle = angle / frags; ...
glb/cad_ad2644f4ba0b.glb
Create an ARCA OctoMount by starting with an octagonal frustum that has a height of 6mm, a bottom diameter of 42mm, and a top diameter of 28mm. Centered on top of this base, add a cylinder with a height of 2mm and a diameter of 30mm. To finish the piece, remove a central vertical hole consisting of two parts: a larger ...
difference(){ union(){ cylinder(h=6,d1=42,d2=28,center=true,$fn=8); translate([0,0,2])cylinder(h=2,d=30,center=true,$fn=300); } union(){ translate([0,0,-2])cylinder(h=6,d=17,center=true,$fn=300); translate([0,0,0])cylinder(h=8,d=5,center=true,$fn=300); } }
glb/cad_6445f16cd290.glb
Create a Space1999 Swift command module consisting of a tapered conical base and a flat-topped upper section. Start by constructing the main body as a hollowed-out, elongated conical shape. The base is a truncated cone with a diameter of 30mm at the bottom, tapering upwards. The upper section is a flat, rectangular p...
$fn=60; use<CommandModuleCutout.scad>; CMRocketCone(); module CMRocketCone(){ translate([0,0,8]) minkowski(){ cylinder(h=1,d=6); sphere(d=1); } difference(){ translate([0,0,-28]) difference(){ resize([13,13,80]) sphere(d=9); resize([12,12,80]) sphere(d=9); ...
glb/cad_e012b84f012d.glb
Create a Space1999 Swift vehicle component by constructing a mirrored pair of asymmetric polyhedrons. For one half, define a 3D shape using the following vertices: [2,20,12], [15,26,12], [15,0,12], [0,0,12], [0,0,0], [2,20,2], [15,0,0], and [15,26,3]. Connect these points to form a solid with six faces, ensuring the ge...
$fn=60; CutOut(); mirror([1,0,0]) CutOut(); module CutOut(){ polyhedron( points = [ [2,20,12],[15,26,12],[15,0,12],[0,0,12], [0,0,0],[2,20,2],[15,0,0],[15,26,3] ], faces = [ [0,1,2,3],[0,3,4,5],[3,2,6,4],[2,1,7,6], [1,0,5,7],[7,5,4,6] ]); }
glb/cad_b6a9df61874e.glb
Create a landing pad strut for a Space1999 Swift vehicle. The structure is composed of three intersecting cylinders, each with a diameter of 4mm. Position the first cylinder horizontally along the Z-axis with a length of 50mm. Place a second cylinder of the same diameter and a length of 70mm, rotated -90 degrees on the...
$fn=60; LPStrut(); module LPStrut(){ difference(){ union(){ rotate([-90,0,0]) cylinder(h=50,d=4); rotate([0,0,-50]) rotate([-90,0,0]) cylinder(h=70,d=4); rotate([0,0,-15]) rotate([-70,0,0]) cylinder(h=45,d=4); sphere(d=4); } translate([-5,50,-5]) rotate([45,0...
glb/cad_3dfae7e6e908.glb
Create a Tank Mount by starting with a rectangular base measuring 29mm by 13.6mm with a height of 1.8mm. Apply a 1mm fillet or rounding to all edges of this base. On the top surface of this base, place two rectangular protrusions, each measuring 6mm by 10mm with a height of 3.2mm. Position these protrusions so that the...
$fn=60; TankMount(); module TankMount(){ minkowski(){ cube([29,13.6,1.8]); sphere(d=1); } translate([16,2.3,-.5]) cube([6,10,3.2]); translate([8,2.3,-.5]) cube([6,10,3.2]); difference(){ union(){ translate([11.1,7.3,-.5]) sphere(4); translate([19.1,7.3,-.5]) sphere(4...
glb/cad_c830a0e2180b.glb
Create a Space1999 Swift vehicle body. Start with a main rectangular block that is 38mm wide, 250mm long, and 40mm high. Modify this core shape by removing two large, angled sections from the sides to create a tapered, aerodynamic profile. The front of the vehicle should transition into a narrower, lower section that...
$fn=60; BodyCore(); module BodyCore(){ minkowski(){ difference(){ union(){ translate([0,15,0]) polyhedron( points=[ [9,0,0],[9,40,0],[29,0,0],[29,40,0], [9,0,22],[9,40,25],[29,0,22],[29,40,25] ], faces=[ [3,1,0,2], [5,7,6,4],[4,6,2,0],[5,4,0,1],[6,7,3,2],[7,5,1,3] ] ); hull(){ polyhedron( ...
glb/cad_28f2613952f4.glb
Create a Space1999 Swift vehicle model. Start by constructing the main body as a linear extrusion 145mm long based on a trapezoidal profile with vertices at [0,0], [18,0], [13,15], and [5,15]. To this central form, add a complex polyhedron that defines the nose and rear sections, utilizing points that create a tapered,...
$fn=60; UpperCargo(); module UpperCargo(){ minkowski(){ union(){ translate([0,165,0]) rotate([90,0,0]) linear_extrude(145) polygon([ [0,0],[18,0],[13,15],[5,15] ]); polyhedron( points=[ [5,20,15],[13,20,15],[18,20,0],[0,20,0], [11,0,8],[7,0,8],[13,1,5],[5,1,5] ], faces= [...
glb/cad_63f271cc7ed2.glb
Create a Space1999 Swift vehicle engine component. Start by creating a central vertical column consisting of a cylinder with a diameter of 10mm and a height of 10mm. On top of this cylinder, place a sphere with a diameter of 15mm, flattened along the Z-axis to a height of 5mm. Above this, add another cylinder with a di...
$fn=60; MainEng(); module SecEngMnt(){ difference(){ MainEngPod(); translate([-12,-5,5]) rotate([0,45,0]) cube([10,10,20]); } } module SecEng(){ minkowski(){ cylinder(h=8,d=8); sphere(d=1); } translate([0,0,8]) sphere(d=8); difference(){ translate([0,0,20]) resize([8,8,20])...
glb/cad_e9296be68d2d.glb
Create a Space1999 Swift rocket model. Start with a base section consisting of a rounded, bulbous bottom that transitions into a cylindrical mid-section. The main body is a hollowed cylinder with a height of 15mm, tapering from a bottom diameter of 15mm to a top diameter of 10mm, with an internal wall thickness of 0.5m...
$fn=60; LowerRocketAssy(); module MainBodyRocket(){ difference(){ cylinder(h=15,d1=15,d2=10); cylinder(h=14,d1=14,d2=9); } } module LowerRocketAssy(){ translate([0,0,11]) minkowski(){ cylinder(h=8,d=12); sphere(d=1); } difference(){ hull(){ translate([0,0,10]) cylinder(h=.5,d=10); ...
glb/cad_ae2635d2a547.glb
Create a Gridfinity enhanced vase bin base. The overall footprint is a square with a width of 42.1mm. Construct the base using three stacked layers of geometry. The bottom layer is a hull connecting four cylinders with a radius of 0.8mm and a height of 0.8mm, positioned at the corners of a square with a side length o...
$fn = 32; topGap = 2.15; midGap = 1.80; bottomGap = 0.80; width = 35.6 + bottomGap * 2 + topGap * 2; rotate([180,0,0]) difference() { union(){ hull() { z = bottomGap/2; adjust = topGap+0.8; translate ([adjust, adjust, z]) cylinder(bottomGap, 0, bottomGap, center = true)...
glb/cad_d941fb14f3b8.glb
Create a Mini Voltmeter Housing consisting of two interlocking parts: a top cover and a base. Construct the top cover as a rectangular shell with outer dimensions of 35.5mm length, 18.5mm width, and 6mm height. The interior should be hollowed out by a cutout measuring 23.5mm by 14.5mm, leaving a 1mm wall thickness on ...
$fn = 150; top2(); translate([0, 23, 0]) base2(); module top2() { ledL = 23 + 0.5; ledW = 14 + 0.5; ledH = 7; difference() { union() { translate([1, 1, 1]) cube([ledL + 10, ledW+4, ledH-1]); cube([ledL+10+2, ledW+4+2, 1]); } translate([6, 3, 0]) cube([le...
glb/cad_a11d162fa0da.glb
Create a stand for a Wyze Cam Pan v3 by constructing a base and a vertical support. Start with a rectangular base plate measuring 75mm wide, 45mm deep, and 4mm thick. On top of this base, center a vertical block that is 43mm wide and 25mm tall, extending from the back edge of the base to a total height of 29mm. The fro...
difference(){ union(){ intersection(){ union(){ cube([75,45,4]); translate([0,45,0]) cube([75,30,25]); } union(){ translate([75/2-43/2,0,0]) cube([43,75/2,25]); translate(...
glb/cad_d6630ae89424.glb
Create a remote holder by first constructing a base plate 85mm wide, 92mm deep, and 10mm high. Centered atop this base, add a rectangular pedestal block that is 65mm wide, 72mm deep, and 40mm high, positioned 10mm from the front and side edges of the base. Carve three rectangular slots into the top of this pedestal, al...
difference () { union() { translate([10, 10, 0]){ cube([65, 72, 40], false); } cube([85, 92, 10], false); } translate([23, 15, 10]){ cube([40, 10, 30]); } translate([21, 30, 10]){ cube([45, 20, 30]); } translate([15.5, 55, 10]){ ...
glb/cad_ea26687d8c02.glb
Create a Solder Board soldering aid by starting with a rectangular block that is 12mm thick. The block's width should be 35.18mm (calculated as 7 intervals of 2.54mm plus 15mm of padding) and its length should be 53.32mm (calculated as 19 intervals of 2.54mm plus 3mm of padding). Remove two parallel rows of vertical ...
spacing = 2.54; holeDia = 1.35; pinColsIn = 8; pinRowsIn = 20; padSides = 15; padTopBottom = 3; height = 12; useMoreHoles = 0; pinCols = pinColsIn - 1; pinRows = pinRowsIn - 1; $fn = 25; board(); module board() { difference() { translate([spacing/2,spacing/3,0]) ...
glb/cad_84c7a42db95b.glb
Create a D6 Travel Dice Holder consisting of a main body and a screw-top lid. For the body, create a cylinder with a radius of 22.15mm and a total height of 65mm. The base of the body should have a 5mm thick floor. From the top of the floor, carve out six vertical rectangular slots arranged in a circle with a radius ...
include <threadlib/threadlib.scad> include <knurledFinishLib_v2.scad> part="body"; num_sets = 5; d6_size = 12.3; shaft_size = "M12"; shaft_OD = 12; pathRadius=16; floor_thiccnesse = 5; tolerance = 0.2; knurl_height = 1.5; bottom_recess_height=5; chamfer_radius=2; chamfer_height=4; num=6; res=100; stack_height = d6...
glb/cad_0aae31a41f38.glb
Create a chain generator that produces a series of interlocking links arranged in an Archimedean spiral. Each individual link is a rounded octagonal prism with a length of 60mm, a width of 45mm, and a thickness of 12mm. For each link, emboss a character (starting with the number "1" and incrementing for each subseque...
$fn=100; l = 60; h = 45; d = 12; r0 = 35*pow((l/h),2); pitch = 60; textArray = createNumbers(1, 5); spiral_chain(textArray,l,h,d,r0,pitch); module spiral_chain(textArray,l,h,d,r0,pitch) { spacing=l/2 + (sqrt(d)*10)/10; evenNudge = 2*d/7; for (i=[0:len(textArray) - 1]) { angle1 = inv_arch_len(spacing*i...
glb/cad_66567035557e.glb
Create a single chain link with an octagonal cross-section. The link should have an overall length of 60mm, a width of 45mm, and a thickness of 12mm. The main body is formed by an extruded octagonal ring. On the bottom surface of the link, embed the text "100" centered within the ring. The text should have a font size...
$fn=100; l = 60; h = 45; d = 12; chain_text = "100"; single_chain(chain_text,l,h,d,r0); module single_chain(chain_text,l,h,d,r0,pitch) { createSingleChain(l, h, d, chain_text); } module createSingleChain(l, h, d, myText) { fontSize = d/2; myFont="Bauhaus 93:style=Regular"; translate([0,-d/4,h/2 - d/16]){ ...
glb/cad_fd617d48cf39.glb
Create a shaft coupler with a total height of 30mm. The object consists of two cylindrical end caps connected by a central spring-like section. Each end cap has a height of approximately 9.75mm. The bottom cap features a central bore with a diameter of 5mm and a flat face measuring 4.5mm across. The top cap features a...
TOTAL_HEIGHT = 30; SHAFT_DIAM1 = 5; SHAFT_DIAM2 = 4; FLAT_DIAM1 = 4.5; FLAT_DIAM2 = 3.5; SET_SCREW_DIAM1 = 3.5; SET_SCREW_DIAM2 = 3.5; NUT_DIAM1 = 6.5; NUT_DIAM2 = 6.5; NUT_THICK1 = 2.5; NUT_THICK2 = 2.5; SPRINGS = 12; SLICES = 22; module sq_spring(N, in_R,out_R,height,rot) { width=out_R-in_R; linear_extrude(...
glb/cad_c6054cee2b0a.glb
Create a chamfered bushing with an inside diameter of 15mm, an outside diameter of 30mm, and a total length of 5mm. The main body is a hollow cylinder. The interior hole is a cylinder with a diameter of 15mm, but it features a slight taper; the radius at the bottom is reduced by 0mm (remaining 7.5mm), while the outer...
Instructions = ""; Inside_Diameter = 15; Length = 5; Outside_Diameter = 30; Flange_OD = 0; Flange_Thickness =0; Break = 0.2; HoleTaper = 0.0; OuterTaper = 0.0; $fn=100; eps=0.001; chamfered_bushing(Inside_Diameter, Length, Outside_Diameter, Flange_OD, Flange_Thickness, Break, HoleTaper,OuterTaper); module c...
glb/cad_438ed4d0106d.glb
Create an Aperiodic Monotile (Hat Tile) with a thickness of 2mm and a scale factor based on a width of 25mm. The main body is a 13-sided polygon defined by the following vertices, scaled by the width factor (width/6): (-2.5, -0.866), (-3, 0), (-1.5, 0.866), (-1.5, 2.598), (-0.5, 2.598), (0, 3.464), (1.5, 2.598), (1.5, ...
thick = 2; width = 25; Top_Curves = true; Bottom_Curves = true; Rounded_Grooves = true; root3 = sqrt(3); size = width / 6; verts = [ [-(5/2), -(root3/2)], [-3, 0], [-(3/2),root3/2], [-(3/2), (3*root3)/2], [-(1/2), (3*root3)/2], [0, 2*root3], [3/2, (3*root3)/2], [3/2, root3/2], [5/2, root3/2], ...
glb/cad_6d5140c9e420.glb
Create a Plano Storage Box Divider set consisting of two distinct components: a rectangular face plate and a compartment separator. For the face plate, create a rectangular slab measuring 155mm by 25mm with a thickness of 1mm. Center a text label on the top surface that is extruded 0.2mm above the slab. Bore two cyli...
$fn = 150; plate("0 - 12 \u2126"); translate([0, 30, 0]) plate("13 - 39 \u2126"); module sep() { translate([ 0, 0, 0]) seperator("0.x \u2126"); translate([ 0, 50, 0]) seperator("1.x \u2126"); translate([ 0, 100, 0]) seperator("1.x \u2126"); translate([ 53, 0, 0]) seperator("3.x \u2126"); t...
glb/cad_b5de4af0dd0e.glb
Create an air vent grille for a 45 mm pipe. Start by constructing a main outer ring with an outer diameter of 50 mm and a height of 3 mm. The top surface of this ring should feature a conical chamfer tapering from the 50 mm outer diameter down to 44.5 mm over a height of 1.5 mm. Create a central cylindrical hole throug...
use <solids.scad> use <line2d.scad> d_out = 50; d_in = 40; h_out = 3; vert_offs = d_in/5.5; d2_out = 44.5; d2_in = 42; h_in = 10; chamfer = h_out/2; bar_w = 1.6; bar_h = 3; supp_h = 5; lock = 1; $fn = $preview ? 25 : 100; difference () { union () { cylinder(d = d_out, h = h_out - chamfer); translate(...
glb/cad_a8976b1b5637.glb
Create a vase-mode glider with a 150mm wingspan. The main wing should be a truncated trapezoidal shape (similar to a cropped delta) with a 30° backward sweep and a 4° dihedral angle. Use an Eppler EP205 airfoil profile for the main wing, modified at the leading edge to be more rounded and at the trailing edge to mainta...
function BEZ03(u) = pow(1-u, 3); function BEZ13(u) = 3*u*pow(1-u,2); function BEZ23(u) = 3*pow(u,2)*(1-u); function BEZ33(u) = pow(u,3); function PointAlongBez4(p0, p1, p2, p3, u) = BEZ03(u)*p0+BEZ13(u)*p1+BEZ23(u)*p2+BEZ33(u)*p3; function d2BEZ03(u) = 6*(1-u); function d2BEZ13(u) = 18*u-12; function d2BEZ23(u) = -18...
glb/cad_71f46e36f54f.glb
Create a rubber band hand launcher for a glider. The device consists of a main handle and a pivoting arm connected by a print-in-place hinge. First, construct the handle as a composite shape. Create a central cylindrical body with a radius of 14mm and a height of 50mm. At the base of this cylinder, integrate a flat, e...
use <planeur.scad> include <hinge.scad> hinge_outer_t=1.6; hinge_cylinder_r=2.5; h_play=0.35; diagonal_play=0.35; first_h=hinge_pitch-bridge_play; n=6; hinge_h=first_h+(n-2)*hinge_pitch+last_h+bridge_play; echo(hinge_h); angle=135; top_l=40; module lanceur() { translate([0,0,-top_l]) intersection() { transla...
glb/cad_8e876b52f295.glb
Create a customizable strip feeder for SMD cut tape. The main body is a long, shallow tray with a total length of 322.6 mm. The base is a rectangular slab with a height of 1.9 mm (calculated as 1.3 mm magnet height plus a 0.6 mm wall). In the base, create 5 evenly spaced circular holes with a diameter of 6.2 mm and a d...
Tape_Width = 8; Tape_Thickness = 0.8; Pocket_Depth = 3.5; Dual_Sprocket_Row = false; Strip_Length = 322.6; Sections = 2; Minimum_Wall = 1.2; Include_Sprocket_Pin = true; Overhang_Slant = 60; Tolerance = 0.1; Dovetail_Length = 4; Magnet_Count = 5; Magnet_Diameter = 6.2; Magnet_Height = 1.3; Sprocket_Edge_O...
glb/cad_cc0fced811d5.glb
Create an exhaust hood coupler consisting of a series of concentric cylinders with a wall thickness of 3mm. Start with a base cylinder 101.6mm in diameter and 20mm high. Stack a second cylinder on top with a diameter of 98.1mm and a height of 25.4mm. Centered within these, create a hollow core by removing a cylinder wi...
$fa=1; $fs=0.4; inch = 25.4; pi = 3.1415926; elbow_coupler(); module elbow_coupler() { wall=3; difference() { union() { cylinder(d=4*inch, h=20); cylinder(d=4*inch-3, h=1*inch); translate([0,0,1*inch]) { cylinder(d=2.5*inch, h=1*inch); ...
glb/cad_02cef5628b84.glb
Create a hose coupler consisting of three stacked concentric sections with a consistent wall thickness of 3mm. The base is a truncated cone with a height of 25.4mm, tapering from a bottom diameter of 89.5mm to a top diameter of 90.5mm. Directly on top of this base, add a second truncated cone with a height of 19.05mm, ...
$fa=1; $fs=0.4; inch = 25.4; pi = 3.1415926; vivedino_fan_coupler(); module vivedino_fan_coupler() { wall=3; difference() { union() { cylinder(d1=89.5,d2=90.5,h=inch); translate([0,0,1*inch]) { cylinder(d1=90.5,d2=2.5*inch,h=0.75*inch); } ...
glb/cad_17f5f052d477.glb
Create a Lucas auxiliary switch panel. Start by forming a base mounting plate that is 60mm wide, 10mm thick, and 30mm high. The overall shape is a hybrid: the central section is a rectangular block, while the two outer ends are rounded with a diameter of 30mm. From this main body, carve out a central recessed area to...
face_thickness = 2.0; face_width_top = 60; face_height = 30; mount_thickness = 3.0; edge_thickness = 6.0; mount_width = 10; rib_thickness = 2.0; $fn = 60; difference() { plate(); translate([0, 15, -0.1]) cylinder(d = 10, h = 5); translate([12.5, -0.1, 0.5*mount_width]) rotate([90, 0, 0]) cylinder...
glb/cad_ee880e838b8f.glb
Create a Scrub Daddy Sponge Holder consisting of a curved hook and a connecting link. For the hook, start with a cylinder 35mm in diameter and 5mm high, centered on the origin. Remove a smaller concentric cylinder 26mm in diameter and 20mm high from the center. To create the open hook shape, remove a rectangular sectio...
union() { difference(){ color("red") cylinder(h=5,d=35,center=true); cylinder(h=20,d=26,center=true); translate([-10,0,-5]) cube(30);} translate([-15,8,-2.5]) cube([5,70,5]); translate([-11,73,-2.5]) cube([12.7,5,5]); translate([0,73.3,-2.5]) rotate([0,0,-20]) cube([40,5,5]);}
glb/cad_bbd3ee5b4706.glb
Create a Scrub Daddy Sponge Holder link by starting with a solid rectangular block that is 60mm long, 15mm wide, and 4mm thick. Shape the two ends of this block into semi-circles so that the overall footprint is a 60mm diameter circle flattened on the top and bottom to a height of 4mm. Centered within this flat slab, c...
difference() { intersection() { cylinder(h=10,d=60,center=true,$fn=100); cube([60,15,4],center=true);} translate([-17.5,0,-5]) cylinder(h=10,d=8.5,$fn=20); translate([17.5,0,-5]) cylinder(h=10,d=8.5,$fn=20); }
glb/cad_68c10e81a5a5.glb
Create a spinning plate for a 608 skate bearing. The model consists of a base support and an upper rotating assembly. For the base, create a circular platform 30mm in diameter and 2mm thick. From the center of this platform, extend a support structure upwards that tilts at a 15-degree angle. This support holds a cylin...
bearingType = "skate_608"; pr = 60; pang = 15; bearingTest = false; ww = 2; xw = 0.35; delta = 0.001; bearingLiftHeight = pr * sin(pang) * 1.5; bod = (bearingType == "skate_608") ? 22 : 24; bid = (bearingType == "skate_608") ? 8 : 10; bh = (bearingType == "skate_608") ? 7: 9; translate([0,0,bearingLiftHeight]) ...
glb/cad_0cbbd7f91cb4.glb
Create a rectangular strap for a slide shoe with a total width of 199.76mm, a height of 65mm, and a thickness of 3mm. Center the geometry on the origin. On the top surface of the strap, embed a logo consisting of a thin ring and text. Create a ring with an outer diameter of 53mm and a thickness of 2mm, centered on th...
$fn=360; size_39 = 96.52; size_40 = 99.06; size_41 = 96.52; size_42 = 96.52; size_43 = 104.14; size_44 = 109.22; shoe_size = size_39; extra_width = 0; strap_thickness = 3; strap_height = 65; to_add_to_strap = 103.24 + extra_width; shoe_width = shoe_size + to_add_to_strap; difference() { strap(shoe_width, stra...
glb/cad_dfe112ca6b85.glb
Create a 3D representation of the Ikurriña flag. Start by creating a rectangular base plate with a width of 1000mm, a height of approximately 560.7mm, and a thickness of 1mm. Centered horizontally on this base, add a vertical white rectangular strip with a width of approximately 85.6mm and a thickness of 3mm, extending...
width=1000; height=width / 1.785714285714286; color([0.835,0.169,0.118]) cube([width, height, 1]); translate([0,height / 2.3628691983122363,0]) color([1,1,1]) cube([width, height / 6.511627906976743, 3]); color([1,1,1]) translate([width / 2.1881838074398248,0,0]) cube([width / 11.682242990654204, height, 3]); color([0...
glb/cad_c385b899feba.glb
Create a Sodastream drip tray with a total height of 20mm and a base thickness of 2mm. The outer shape is a hull formed between two cylinders: one centered at the origin with a radius of 66mm, and another centered 60mm away along the X-axis with a radius of 78.5mm (63.5mm plus a 15mm offset). Hollow out the center of...
BACK_RADIUS = 66; FRONT_RADIUS = 63.5; CENTER_DISTANCE = 60; FRONT_EXTRA = 15; HEIGHT = 20; BOTTOM_THICKNESS = 2; WALL_THICKNESS = 2; $fn = 128; module shell() { difference() { hull() { cylinder(h = HEIGHT, r = BACK_RADIUS); translate([CENTER_DISTANCE, 0, 0]) { ...
glb/cad_e46d2165dc90.glb
Create a Playing Card Holder by constructing a thick, circular disc with a total height of 20mm and a radius of 40mm. The main body is formed by the intersection of a cylinder and the space between two large spheres. Position the first sphere with a radius of 200mm centered at a height of 200mm, and the second sphere w...
intersection() { cylinder(20,r=40,true, $fn=100); difference() { translate([0,0,200]){ sphere(r=200, $fn=100); } translate([0,0,204]){ sphere(r=200, $fn=100); } } } translate([0,0,3]){ cylinder(5,r=5,true, $fn=100); } intersection() { cylinder(20,r=40,true, $fn=100); difference() { tran...
glb/cad_7fa645913881.glb
Create a hollow cubic piggy bank with an external dimension of 100mm on all sides and a wall thickness of 2mm. On the top face, center a rectangular slot measuring 40mm in length and 4mm in width, cutting through the top wall to create an opening for coins. On one of the side faces, embed a bold capital letter "A" that...
SIZE = 100; WALL_THICKNESS = 2; LENGTH = 40; THICKNESS = 4; LETTER = "A"; LETTER_SIZE = SIZE-40; LETTER_HEIGHT = 1; difference(){ cube(SIZE, center = true); cube(SIZE-2*WALL_THICKNESS, center = true); translate([0,0,SIZE/2]) cube([LENGTH,THICKNESS,WALL_THICKNESS*2], center = true); transl...
glb/cad_ecb25563670a.glb
Create a parametric tray with a rectangular base and flared walls. The base of the tray is a rectangle measuring 76mm in width and 60mm in height, with a floor thickness of 3mm. The walls should rise to a total depth of 40mm. The tray features a flared design where the top opening is larger than the base. The top open...
tray_width = 76; tray_height = 60; wall_thickness = 1.5; floor_thickness = 3; tray_depth = 40; offset_height = 20; offset_width = 50; topLeft = [0, 0, 0]; topMiddle = [0, tray_width / 2, 0]; topRight = [0, tray_width, 0]; middleRight = [tray_height / 2,tray_width, 0]; bottomRight = [tray_height, tray_width,0]; b...
glb/cad_ad50abdb80e0.glb
Create an Undermount Drawer Guide by starting with a central rectangular block 20mm wide, 20mm deep, and 40mm tall, centered on the origin. Add two thin side walls, each 2.4mm thick, extending the depth to 24.8mm and the height to 40mm. Attach a wider flat base plate to the bottom that is 30mm wide, 60mm deep, and 2.4m...
$fn=60; width=20; wallTh=2.4; screwD=3; module underDrawerGuide(width=width,wallTh=wallTh,screwD=screwD){ difference(){ union(){ cube([width,width+2*wallTh,2*width],center=true); translate([-wallTh/2,0,0]) cube([wallTh,3*width,2*width],center=true); translate([-width/4,0,-width+wallTh/2...
glb/cad_a7b957fb8b07.glb
Create a display cover for a stationary bike console. The main body is a flat plate with a mirrored, symmetrical organic outline. The outer boundary is defined by a polygon with vertices at [0,0], [1,22], [10,39], [20,42], [30,43], [40,44], [70,45], [80,45], [110,44], [120,43], [130,42], [140,39], [149,22], and [150,0]...
lip_height = 5; thickness = 1; rpm_slot = true; time_slot = false; calorie_slot = false; speed_slot = true; distance_slot = false; level_slot = true; pulse_slot = true; module half_display_polygon() { polygon([ [ 0, 0], [ 1, 22], [ 10, 39], [ 20, 42], [ 30, 43], [...
glb/cad_0e8842954dac.glb
Create a HSW Corner joiner by combining two hexagonal inserts at a right angle. First, construct a hexagonal insert with a main outer across-flats distance of 20mm and a lip height of 2mm. Position the first insert horizontally, centered on the X-axis at -10mm. Create a second identical hexagonal insert and rotate it 9...
include<./hex plug library.scad>; extra_separation = 0; translate([-HEX_SEPARATION/2 - extra_separation, 0, 0]) { insert_horizontal(); } translate([-INSERT_MAIN_OUTER_AF_DISTANCE/2 - extra_separation, -INSERT_LIP_HEIGHT, 0]) { cube([HEX_SEPARATION/2 + extra_separation, INSERT_LIP_HEIGHT, INSERT_MAIN_OUTER_AF_...
glb/cad_67f3a3ba3b06.glb
Create a Karak/Carcassonne tile grid box. Start with a solid cube measuring 145mm x 145mm x 50mm. Hollow out the center by removing a cube of 143mm x 143mm x 50mm, leaving a wall thickness of 1mm. From the center of the floor, remove two intersecting cylinders with a diameter of 22mm and a height of 50mm, positioned su...
size = 143; lock_size = 20; height = 50; wall_width = 1; hole_width = 10; hole_top_margin = 10; hole_bottom_margin = 9; hole_half_count = 3; space_for_holes = (size - lock_size) / 2; space_between_holes = (space_for_holes - hole_half_count * hole_width) / (hole_half_count + 1 ); hole_height = height - hole_top_ma...
glb/cad_f67306de6829.glb
Create a Filament Sample Card. Start with a base rectangular plate measuring 60mm wide by 25mm high with a total thickness of 2mm and rounded corners with a 5mm radius. Create a recessed inner area by removing a central rectangle, leaving a 2mm wide frame around the edges. On the right side of the card, create a circ...
part="card"; t1=""; t2="Filamentbrand PLA"; t3="Name of filament"; t2x=1; t1s=8; t2s=4; w=60; h=25; d=2.0; d1=0.5; fw=2; or=5; tsn=5; tsd=0.2; tsw=4.6; tsh=10; tsx=w-or-tsn*tsw-fw+tsw+0.5; tsy=fw; spd=18; spx=fw+spd/2+20-2.5; spy=fw+spd/2-4; cux=50; cuw=3; cuh=1.2; cur=0.5; fullback=0; module box(pos,...
glb/cad_16d89bf621d9.glb
Create a QR Code Pet Name Tag in the shape of a dog bone. The base is a flat plate 2mm thick. The central section is a rectangle 60mm wide and 30mm high. At each of the four corners of this rectangle, add a semi-circular protrusion with a radius of 15mm. On the top surface, center a square QR code area measuring 30mm ...
qrCodeSize=30; tagShape="bone"; tagThickness=2; qrCodeFile="qrcode.png"; name="Fido"; textSize = 10; imageScale = 400; $fn = 20; qrCodeThickness = tagThickness+1; tagWidth = qrCodeSize; tagHeight = qrCodeSize; textHeight = textSize + 2; union(){ if ( tagShape == "rectangle") { makeRectangle(); ...
glb/cad_96135e7764df.glb
Create a paper plane glider consisting of a main wing, a head, a hull, and a tail wing. Start with the main wing as a flat rectangular base 170mm long, 30mm wide, and 0.2mm thick. Add a protective front edge to this wing that is 170mm long and 2mm wide, with a height of 0.4mm. Position this wing so its front edge is ...
$fn = 180; PrinterFirstLayerHightInMM = 0.2; MainWingMK3LengthInMM=180; MainWingMINILengthInMM=170; MainWingLengthInMM = MainWingMINILengthInMM; MainWingWidthInMM = 30; MainWingHightInMM = PrinterFirstLayerHightInMM; MainWingProtectiveFrontEdgeWidthInMM = 2; MainWingProtectiveFrontEdgeExtraHig...
glb/cad_073606524cee.glb
Create a replacement part for a sliding door by constructing a base plate that is 60mm wide, 60mm deep, and 6mm thick. The base should be a hybrid shape: one half is a rectangle measuring 30mm by 60mm, and the other half is a semi-circle with a 30mm radius, resulting in a total width of 60mm and a depth of 60mm. On t...
$fn=200; module prism(width, height, depth) { translate([0, depth, 0]) rotate( a = [90, 0, 0]) linear_extrude(height = depth) polygon(points = [ [0, 0], [width, 0], [0, height] ], paths=[[0,1,2,0]] ); } difference() { union() { translate([45,0,0]) cylinder(d=9,h=16)...
glb/cad_45fc9614e330.glb
Create a box for filament sample cards. The main body is a hollow rectangular container with outer dimensions of 61mm width, 121mm depth, and 25mm height. The walls have a thickness of 2.5mm, and the bottom base is 1.2mm thick. The exterior corners are rounded with a radius of 1.8mm. The interior of the box is hollowe...
part="lower"; separator_text="PLA"; dd=120; w=61; h=25; d=dd+1; h1=15; bt=1.2; ty=2.5; tx=2.5; t2=1.5; module box(pos,size) { translate(pos) cube(size); } module anglebox(pos=[0,0,0],size=[10,10,10],r=1,vr=0,mono=0) { vr=vr?vr:[r,r,r]; module abox(d) { translate(pos+[vr.x*d.x,vr.y*d.y,vr.z*d.z]...
glb/cad_7a2faf165c29.glb
Create a round pet tag by starting with a main circular disk that has a radius of 10mm and a height of 2mm. Center the text "Murphy" on the face of this disk using a font size of 3.5mm and an extrusion height of 2mm, positioning the text 1mm above the base of the disk. To create the attachment loop, add a second smalle...
$fn = 60; tagHeight = 2; petName = "Murphy"; text_color = [0, 0, 0]; font = "Arial"; text_height = 3.5; translate([0,11,0])difference(){ cylinder(h = tagHeight, r = 5, center=true); cylinder(h = (tagHeight*2), r = 3, center=true); } union() { cylinder(h = tagHeight, r = 10, center=true); translate([0...
glb/cad_8e9cd9ad202d.glb
Create an elongated pet tag with a total thickness of 2mm. The main body is a stadium shape formed by a central 20mm by 20mm square with two semicircles of 10mm radius attached to opposite sides along the x-axis. At the top center of the tag, create a circular loop for a collar by placing a cylinder with a 5mm radius a...
$fn = 60; tagHeight = 2; petName = "Marco"; text_color = [0, 0, 0]; font = "Arial"; text_height = 6; translate([0,11,0])difference(){ cylinder(h = tagHeight, r = 5, center=true); cylinder(h = (tagHeight*2), r = 3, center=true); } union() { translate([-10,0,0])cylinder(h = tagHeight, r = 10, center=true);...
glb/cad_7160bd15dce7.glb