Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a rectangular filament swatch with rounded corners, measuring 70mm in width, 45mm in height, and 3.4mm in total thickness. The main body consists of a raised outer rim 3.4mm wide and 3.4mm high, enclosing a recessed central area that is 2mm deep. The corners of the rectangle have a radius of 2.5mm. On the top e...
vendor="Prusament"; color="Galaxy Black"; type="PETG"; nudgeCnt=2; height=45; width=70; depth=2.0; edge_depth=3.4; edge_width=3.4; text_font="Liberation Sans"; text_style="Bold"; text_depth=0.6; crnRad=2.5; nudgeRad=3.5; nudgeDeep=1.5; nudgeOffset=8; fudge=0.1; cavPitch=[11.8,11]; cavOffset=[8,2.5,0]; insOffset=...
glb/cad_e80db715ddef.glb
Create a drinking straw casing by constructing a rectangular hollow tube. Start with a solid rectangular prism measuring 28mm wide, 220mm long, and 28mm high. From the center of this volume, remove a smaller rectangular prism measuring 24mm wide, 230mm long, and 24mm high to create a hollow interior. Ensure the inner c...
difference() { cube([28,220,28],center=true); translate([0,-7,0]) cube([24,230,24],center=true); }
glb/cad_285a82f27bbc.glb
Create a drinking straw casing by starting with a solid cube that measures 31mm on all sides. Carve out a rectangular void from the center of the cube to create a hollow shell. This interior cutout should measure 28mm in width and 28mm in height, while extending 40mm in length to fully penetrate through the front and b...
difference() { cube([31,30,31],center=true); translate([0,-6,0]) cube([28,40,28],center=true); }
glb/cad_650f13b62abc.glb
Create a straw top consisting of a hollow cylindrical tower with a wider circular base. First, construct the main body as a tall, thin-walled cylinder with an outer diameter of 11mm and a total height of 33mm. This body should have a consistent wall thickness of 3mm. At the bottom of this tower, add a wider, solid circ...
difference(){ rotate_extrude($fn=360) offset(r=-3,$fn=360) offset(delta=3) union() { square([5,30]); square([7,3]); } translate([0,0,0]) rotate([0,0,0]) cylinder(h=28,d=8.1, $fn=100); translate([0,0,0]) rotate([0,0,0]) cylinder(h=31,d=6.48, $fn=100); }
glb/cad_adf63a6da894.glb
Create a fresh air intake device consisting of a rectangular base and a circular head. Start with a central rectangular slab measuring 2mm thick, 25mm wide, and 56.86mm long. Remove four small rectangular notches from the top and bottom edges of this slab; each notch should be 6mm wide, 3mm thick, and angled at 6 degre...
$fn = 100; union(){ difference(){ translate([0,0,0]) rotate([0,90,0]) cube([2,25,56.86], center=true); translate([29,0,0]) rotate([0,90,0]) cylinder(h=6, d=2, center=true); translate([-26.5,0,0]) rotate([0,90,0]) cylinder(h=6, d=2, center=true); translate([0,10,2.2]) rotate([-6,0,0]) cube([58,6,3], center...
glb/cad_db345846c77d.glb
Create a fresh air intake vent consisting of a flat rectangular base and a raised rectangular frame. Start by creating a base plate measuring 79.47mm in length, 44.21mm in width, and 4.1mm in height, with rounded corners with a radius of 2mm. Centered on this base, construct a hollow rectangular frame with outer dimens...
$fn = 100; union(){ difference(){ minkowski(){ translate([0,0,0]) rotate([0,0,0]) cube([75.47,40.21,0.1], center=true); rotate([0,0,0]) cylinder(2); } translate([0,0,3]) rotate([0,0,0]) cube([59.82,24.67,10], center=true); } difference(){ minkowski(){ translate([0,0,5]) rotate([0,0,0]) cube([59.87,24.75...
glb/cad_e34a09205707.glb
Create a four-way pressure clamp notch bar with a total width of 37mm and a thickness of 18.6mm. The main body is a rectangular block with a length of 174mm. Along the length of the block, create six equidistant cylindrical holes to hold clamping bars. Each hole has a diameter of 16mm and is centered within a spacing...
$fn=40; inter_space=22.0; holder_gap=16.0; number_of_holders=6; screw_every=2; screw_diameter=6.8; countersink_depth=4.7; bevel=2.0; thickness=18.6; holder_thickness=6.1; width=37.0; difference(){ hull(){ translate([0,bevel,0])linear_extrude(width)square([thickness-bevel,number_of_holders*(inter_space+...
glb/cad_da1331584fff.glb
Create a desktop organizer starting with a rectangular base plate measuring 151mm by 70mm with a thickness of 1.5mm. On top of this base, construct a series of thin-walled vertical dividers and compartments. On the left side, build a large rectangular enclosure with outer walls 100mm high, 50.5mm wide, and 31mm deep....
color("blue") translate([0, 0, 0]) linear_extrude(height = 1.5) square([151, 70], center = true); color("red") translate([23, -34, 1]) linear_extrude(height = 80) square([104.5, 1.5], center = true); color("red") translate([23, -4, 1]) linear_extrude(height = 80) square([104.5, 1.5], center = true);...
glb/cad_50e071236248.glb
Create an SD card cover bracket by starting with a rectangular block 2mm wide, 55mm long, and 10mm high. Rotate this block 45 degrees around the Z-axis. To finish the shape, remove two cylindrical sections from the block: first, create a cylinder with a 7mm radius and a height of 4mm, positioned at coordinates (-4, 3, ...
include<lcd-support-A-bolt-mounted.scad>; rotate([0,0,45]) difference(){ translate( [ -3 , 3 , 10 ] ) cube( [ 2 , 55 , 10 ] ); translate( [ -4 , 3 , 20 ] ) rotate([0,90,0]) cylinder( h = 4, r = 7, $fn=30); translate( [ -4 , 58 , 20 ] ) rotate([0,90,0]) cylinder( h = 4, r = 7, $fn=30); }
glb/cad_e7fd0ac774e8.glb
Create a Prusa i3 Mk2 Bolt-mounted LCD Bracket. Start with a main body that is 15mm thick. The overall footprint is roughly rectangular but modified by several cutouts and chamfered edges. Create two primary vertical holes for threaded rods, each with a radius of 4.2mm and a height of 17mm, positioned at coordinates ...
module body(){ difference() { union(){ translate( [ -55, -2 , 0 ] ) cube( [ 69 , 81 , 10 ] ); } union (){ translate( [ -69.6, 32, -1 ] ) rotate([0,0,45]) cube( [ 60 , 53 , 15 ] ); translate( [ 13.7, 89.7, -1 ] ) rotate([0,0,135]) cube( [ 60 , 42 , 15 ] ); translate( [ -19, -9, -1 ] )...
glb/cad_48b07267619e.glb
Create a clip for an ESP32 camera and USB board. Start with a main rectangular base measuring 27mm in length, 8mm in width, and 2mm in height. On the top surface of this base, add two thin vertical walls, each 1mm thick, 8mm wide, and 5mm high, positioned at the far left and right edges. Between these walls, integrate ...
include <BOSL2/std.scad> $fn=64; cube([27,8,2]) { align(LEFT) up(1.5) cube([1,8,3+2]); align(LEFT) up(4.5) fwd(4) right(.5) wedge([8,3,1], spin=270); align(RIGHT) up(1.5) cube([1,8,3+2]); align(RIGHT) up(4.5) fwd(4) left(.5) wedge([8,3,1], spin=90); position(RIGHT+F...
glb/cad_c6b9b8f51fb1.glb
Create a pipe clamp pad by constructing a hollow rectangular shell with a solid base. Start with a rectangular base plate measuring 40mm by 36mm with a thickness of 2mm. Build vertical walls around three sides of this plate: two side walls each 2mm thick and 9mm high, and one back wall 2mm thick and 44mm wide that conn...
rotate([-90,0,180]) { linear_extrude(2)square([40,36], true); translate([0,0,7]) linear_extrude(2) difference(){ square([40,36], true); translate([0,5,0]) square([7,17.75], true); translate([0,-11,0]) square([19,15], true); } linear_extr...
glb/cad_bfb2e6040961.glb
Create a pipe clamp pad by constructing a hollow rectangular box with a base and three walls. Start with a flat rectangular base measuring 40mm by 36mm and 2mm thick. Add two side walls, each 2mm thick and 9mm high, positioned at the left and right edges of the base, extending 36mm along the length. Connect these side ...
rotate([-90,0,180]) { linear_extrude(2)square([40,36], true); translate([0,0,7]) linear_extrude(2) difference(){ square([40,36], true); polygon([ [-11.5,16],[11.5,16],[16,-20],[-16,-20],[-11.5,16] ]); } linear_extrude(9){ translate([-21,0,0]) square([2,...
glb/cad_f786d06e8bf2.glb
Create a pipe clamp pad with an overall thickness of 7.75mm. Start by forming a main rectangular body that is 50.5mm wide and 42mm tall, with walls that are 2mm thick. Within this body, remove a central rectangular section measuring 10mm wide and 50mm tall to create a hollow interior. At the bottom center of the front ...
$fn=90; $wall_thickness=2; $pad_thickness=7.75; rotate([-90,0,180]){ linear_extrude($wall_thickness) square([46.5+($wall_thickness*2),40+$wall_thickness], true); translate([0,0,$pad_thickness]){ linear_extrude($wall_thickness){ difference() { square([50.5,42], true); ...
glb/cad_47c17c53b960.glb
Create a pipe clamp pad by constructing a hollow rectangular box with a total thickness of 7.75mm. The main body is a rectangular shell with outer dimensions of 50.5mm by 42mm and a wall thickness of 2mm. The structure consists of two parallel side walls, each 2mm thick and 42mm long, positioned 46.5mm apart. Connect t...
$fn=90; $wall_thickness=2; $pad_thickness=7.75; rotate([-90,0,180]){ linear_extrude($wall_thickness) square([46.5+($wall_thickness*2),40+$wall_thickness], true); translate([0,0,$pad_thickness]){ linear_extrude($wall_thickness){ difference() { square([50.5,42], true); ...
glb/cad_4a05081c16a6.glb
Create a pipe clamp pad consisting of a hollowed-out shell with a total thickness of 6.5mm. Start by creating a front face with a profile that is 46mm wide at the top, tapering slightly to 51mm wide at the bottom, with a total height of 40mm. Extrude this face to a thickness of 2mm. Create a matching rear face position...
$fn=90; $wall_thickness=2; $pad_thickness=6.5; rotate([-90,0,180]){ linear_extrude($wall_thickness) polygon([ [-23,0],[23,0],[25.5, -40],[-25.5, -40], [-23,0] ]); translate([0,0,$pad_thickness]) linear_extrude($wall_thickness) difference(){ polygon([ [-23,0],[23,0]...
glb/cad_c3218e8f466a.glb
Create a pentagram acoustic panel holder. Start by creating a pentagonal prism with a diameter of 332mm and a height of 50mm. Remove a cylindrical core from the center with a diameter of 240mm, leaving a wall thickness of 50mm. Inside this hollow center, add five rectangular beams, each 10mm wide and 48mm long, arran...
body_diameter=332; body_thickness=50; hole_diameter=240; beam_width=10; bottom_thickness=2; side_thickness=2; screw_hole_diameter=5; module MainForm(d_body, thickness, d_hole, beam_thickness) { difference() { cylinder(h=thickness, d=d_body, $fn=5); translate([0, 0, -1]) cylinder(h=thickne...
glb/cad_ed6e033e9b51.glb
Create a TTGO VGA32 protective case consisting of a main body, a lid, and two buttons. For the main body, create a rectangular box with outer dimensions of 63.4mm x 37.4mm and a height of 21.2mm, with walls 1.2mm thick. The interior should be hollowed out to 61mm x 35mm, starting 1.2mm from the base. Add four cylindr...
board_size = [61, 35]; height = 20; wall = 1.2; nub_z = 5.2; tap_drill = 2.8; clr_drill = 3.2; nub_dia = 3.75; $fn = 32; corner_pos = [ [-wall, -wall], [board_size.x + wall, -wall], [-wall, board_size.y + wall], [board_size.x + wall, board_size.y + wall] ]; part_main(); translate([0, board_size.y + 10]) part_...
glb/cad_64748da82de2.glb
Create a Dupont connector pin holder. Start with a rectangular base block measuring 4.36mm wide, 29.22mm long, and 3.4mm high. Subtract a central rectangular cavity to create walls 0.81mm thick. This cavity should be 2.75mm wide and 28.4mm long, starting from a base thickness of 0.6mm and extending to the top of the ...
pins = 1; wall_thickness = 0.81; base_thickness = 0.6; additional_height = 0.4; $fn = 40; dupont_width = 2.75; dupont_height = 2.75; dupont_length = 14.2; wire_diameter = 1.85; notch_space = 1.4; notch_height = 0.2; notch_offset = 0.15; mounting_hole = "false"; mounting_hole_size = 3.2; mounting_head_coun...
glb/cad_b19b1d685726.glb
Create a lamp holder for an IKEA Tertial LED strip. Start by creating a main cylinder with a diameter of 28.5mm and a height of 35.2mm, centered on the origin. Remove a central cylindrical hole from this main body with a diameter of 12.8mm and a height of 30.2mm, also centered on the origin. Add a decorative flange by ...
union(){$fn=200; difference(){ translate([0,0,0]) rotate([0,0,0]) cylinder(d=28.50,h=35.2, center=true); translate([0,0,2.6]) rotate([0,0,0]) cylinder(d=12.8,h=30.2, center=true); } difference(){ translate([0,0,18.8]) rotate([0,0,0]) cylinder(d=34.6,h=3, center=true); translate([0,0,19]) rotate([0,0,0]...
glb/cad_c6dd63739fd3.glb
Create a lazy susan stand consisting of two separate circular components: a base and a top platform. For the base, create a cylinder with a diameter of 120mm and a height of 9.5mm. Remove a central cylindrical section from this base to create a cavity for a bearing; this cavity should have a diameter of 20mm and a dept...
part = "top"; test = false; platform = 120; wall=2; bore=8; outside=22; width=7; Dia = test ? 25 : platform; module top(){ padding = 0.25; pinDia = bore+padding; translate([0,0,wall+width-1.5])cylinder(d1=pinDia, d2=pinDia-1, h=0.6); translate([0,0,wall+0.5])cylinder(d=pinDia, h=width-2); translate([0,...
glb/cad_77e22df46e8d.glb
Create a Finger Pen Holder consisting of two joined cylindrical sections. First, create a main ring with an outer diameter of 26mm and an inner hole diameter of 21mm, both 18mm high. Cut a 9mm wide rectangular notch out of the side of this ring to allow for finger entry. Attached to the side of this ring, create a sec...
Ring_L = 18.0; Ring_HD = 21.0; Ring_C =9.0; Ring_T = 2.5; Pen_L = 18; Pen_HD = 10.1; Pen_SHD = 3; Pen_T = 2.5; Pen_A =0; Distance = 0; Total_W = Ring_HD+(Ring_T*2)+(Pen_HD*2)+(Pen_T*2)+(Distance*2); $fn=200; difference(){ Outer_Structure(); holes(); } module Outer_Structure (){ cylinder(d1=Ring_T+Ring...
glb/cad_e1a4aaaffc9b.glb
Create a set of vegetable garden labels consisting of flat rectangular plates and matching support blocks. For each label, create a flat plate with a thickness of 3.5mm. The plate should be wide enough to accommodate text and have a length of 15mm. Centered on the bottom of the plate, create a protruding pin with a w...
Labels=[ "Corn", "Dill", "Peas", "Basil", "Chard", "Leeks", "Roman", "Swede", "Balkon", "Celery", "Chives", "Rocket", "Turnip", "Oregano", "Parsley", "Pumpkin", "Spinach", "Valence", "Beetroot", "Broccoli", "Celeriac", "Parsnips", "Red pear", "Tarragon", "Tomatoes", "Aubergine", "WaterMelon", "Coriander", "Jalapeños", ...
glb/cad_2f642ed2b665.glb
Create a two-piece mould for casting silicone skull shapes. The bottom piece is an open rectangular box with outer dimensions of 141.3mm in width, 113.3mm in depth, and a total height of 26.3mm. The walls of this box are 1.3mm thick, creating an internal cavity of 140mm by 112mm with a depth of 25mm. Inside this cavity...
filename = "vampireSkull_0.2.stl"; skullStartXPos = 30; skullStartYPos = 23; skullStartZPos = 0.9; skullXSpacing = 45; skullYSpacing = 35; compx = 140; compy = 112; wall = 1.3; nox = 1; noy = 1; deep = 25; tol=.1; module base() { union() { for ( l = [0 : 2] ) for ( i = [skullStartYPos : skullYSpacing : compy] )...
glb/cad_8e835d4cc94f.glb
Create a mounting bracket for a kids kitchen electronic module. Start by creating a base consisting of two adjacent cylinders, each with a diameter of 34.5mm and a height of 8.6mm, positioned so their centers are 34.5mm apart. On top of this base, add a rectangular plate with a thickness of 0.6mm, an overall width of 6...
module holes(h,d,s=0) union() { translate([d/2,d/2,0]) { cylinder(d=d, h=h, $fn = 64); translate([d/2+s,0,0]) { cylinder(d=d, h=h, $fn = 64); } } } module lcd() { union() { cube([42.5, 25, 1.6]); translate([8,4.1,1.6]) { cube([30.1, 14.1, 7]...
glb/cad_825cb5f6c75b.glb
Create a hollow cylindrical tube for a kids kitchen accessory. The outer shell should be a cylinder with a diameter of 5mm and a height of 11mm. Bore a concentric hole through the center of the cylinder from top to bottom with a diameter of 2.9mm and a height of 11mm, leaving a consistent wall thickness throughout the ...
difference() { cylinder(d=5, h=11, $fn = 64); cylinder(d=2.9, h=11, $fn = 64); }
glb/cad_1636fdd44eec.glb
Create a rectangular base block measuring 76mm in length, 50mm in width, and 9mm in height. From this base, remove several geometric volumes to create a housing for a PCB and various access points. First, carve out a central rectangular void measuring 62mm by 50mm with a height of 5mm, positioned 6mm from the front edg...
difference() { cube([76,50, 9]); union() { translate([2.5,0,7]) { cube([71,50, 2]); } translate([6,0,2]) { cube([62,50, 5]); } translate([73 - 0.75 - 1.5 ,0.75 + 1.5,0]) { cylinder(d=3, h=10, $fn=64); translate([0,50 - 4....
glb/cad_b9b83b7f9566.glb
Create a mounting case for a kids kitchen electronic module. Start by creating a base block that is 34.5mm wide, 34.5mm deep, and 13.6mm high. Within this base, integrate two vertical cylinders with a diameter of 34.5mm, positioned so their centers are 34.5mm apart, creating a rounded bottom profile. On top of this b...
module holes(h,d,s=0) union() { translate([d/2,d/2,0]) { cylinder(d=d, h=h, $fn = 64); translate([d/2+s,0,0]) { cylinder(d=d, h=h, $fn = 64); } } } module lcd() { union() { cube([42.5, 25, 1.6 + 5]); translate([8,5.9,1.6 + 5]) { cube([30.1, ...
glb/cad_244dbcc32252.glb
Create a battery cover pin consisting of a rectangular base and a rounded vertical post. Start by creating a rectangular block 6.4mm long, 5mm wide, and 8mm high. Drill a vertical hole through the center of this block with a diameter of 2.4mm and a depth of 7mm. Centered on top of the block, add a vertical pin with a d...
block_h=8; block_l=6.4; block_w=5; block_hole_h=7; block_hole_d=2.4; pin_h=6; pin_d=4.8; clip_d=1.3; $fn=32; pin_r = pin_d/2; difference() { translate(v = [0, 0, block_h/2]) { cube([block_l,block_w,block_h], center=true); } cylinder(h= block_hole_h,r = block_hole_d/2); } translate(v = [0, 0, b...
glb/cad_bc39e7e37349.glb
Create a Toroidal Propeller consisting of a central hub and four symmetrical toroidal blades. The overall height of the model is 8mm. Start by creating a central hub cylinder with a diameter of 16mm and a height of 8mm. Through the center of this hub, remove a twisted square-profile hole with a width of 13.1mm that rot...
eps=1/128; $fn = 100; module toroidal_propeller( blades = 4, height = 8, blade_length = 68, blade_width = 58, blade_thickness = 2, blade_hole_offset = 0.4, blade_attack_angle = 30, blade_offset = -6, safe_blades_direction = "PREV", hub_d = 16, hub_screw_d = 5.5, hub_not...
glb/cad_eaa9afc93bad.glb
Create a computer fan spacer by starting with a square plate that is 80.1mm wide and 2mm thick. At each of the four corners, create a circular pillar with a radius of 4.25mm (the sum of a 2.25mm hole radius and a 2mm offset from the edge). Within these four corner pillars, center a vertical hole with a diameter of 4.5m...
$fn = $preview ? 16 : 220; width = 80.1; hole_diameter=4.5; hole_distance_between=71.2; hole_from_edge=2; cutout_diameter=77; thickness=2; module multiHull(){ for (i = [0 : $children-1]) hull(){ children(0); children(i); } } module case_fan( width=80.1, holeD=4.5, hol...
glb/cad_b87805b59a02.glb
Create a customizable RC wheel hex hub. Start by creating a hexagonal prism with a height of 6mm and a flat-to-flat width of 11.8mm. Centered within this hexagon, create a vertical cylindrical hole with a diameter of 5.2mm that passes completely through the part. To accommodate a bearing, add a concentric cylindrical e...
hexHeight = 6.0; hexSize = 11.8; axleDiameter = 5.2; pinDiameter = 2; pinLength = 10.0; pinDepth = 2; offsetDiameter = 6.2; offsetHeight = 0.4; $fn=180; module cylinder_outer(height,radius,fn){ fudge = 1/cos(180/fn); cylinder(h=height,r=radius*fudge,$fn=fn);} difference(){ union(){ cylinder...
glb/cad_1ddc7190c6dc.glb
Create a Jeep toy car consisting of a main body and four separate wheels. Construct the car body as a rectangular block 80mm long, 40mm wide, and 15mm high. Center a rectangular seat cavity 20mm long, 30mm wide, and 20mm deep in the middle of the body. At the front, add a windshield by placing a 20mm wide, 40mm deep,...
$fn=90; previewAssembled = false; wheels = true; body = true; width = 40; height = 15; length = 80; axleDiameter = 2.337; axleHoleDiameter = 2.8; axleHoleWidth = 3.0; axleLift = 2.0; wheelDiameter = 15; wheelHoleDiameter = axleDiameter; wheelWidth = 6; wheeldistance = 15; wheelBodyGap = 1; wheelCavityDiameter = 2...
glb/cad_2cdab6a96820.glb
Create an HO Scale Bridge consisting of a flat rectangular base and two identical truss side walls. The base should be 222.25mm long, 80mm wide, and 3mm thick. Construct each side wall as a series of connected geometric supports. Each wall starts with a triangular support structure where the first section rises from t...
bedLength=8.7*25.4; bedWidth=50+2*15; trestleSize=5; exp=0.4; slotWidth=8.8-exp; slotLength=3-exp; tieThickness=2; lip=0.5; separation=12.7; tieWidth=28.7; baseHeight=3; small=0.01; module clipPost() { cube([slotLength,slotWidth,tieThickness]); translate([0,0,tieThickness-small]) linear_extrude(height=...
glb/cad_e23720bc51db.glb
Create a wall mount bracket for a power brick. Start with a main outer frame that is a rounded cube measuring 66.6mm wide, 123.3mm long, and 38mm high, with a corner radius of 1.5mm. Inside this frame, carve out a central rectangular cavity to fit the power brick. This cavity should be 59.6mm wide, 133.3mm long, and ...
module polyhole(h, d=0, r=0, center=false) { _r = (r == 0 ? d / 2 : r); _d = (d == 0 ? r * 2 : d); n = max(round(2 * _d),3); rotate([0,0,180]) cylinder(h = h, r = (_d / 2) / cos (180 / n), $fn = n, center=center); } module screw_countersunk( l=20, dh = 6, lh = 3, ...
glb/cad_c4b99661874a.glb
Create a Taco Holder by extruding a specific 2D profile to a length of 60mm. The profile consists of two identical, mirrored units placed side-by-side. Each unit is a symmetrical shape defined by a outer boundary and an inner cutout to create a wall thickness of 2mm. For one unit, start with a polygon that rises to a...
$fn=40; tacos(2); height = 60-20; width_full = 36+5+2-3; width_top = 16.5+5+2-3; width_bottom = 10+5-3; thickness = 2; length=60; module taco_half() { polygon(points=[ [0,height], [width_full - width_top,height], [width_full - width_bottom, thickness], [...
glb/cad_bad1b6cdc2e8.glb
Create a connector for a Pragotron clock. The main body is a convex hull enclosing several cylinders of 7.5mm diameter: two cylinders with a height of 20mm positioned 6.75mm apart along the X-axis, and two cylinders with a height of 30mm positioned at X coordinates of 2.25mm and 4.5mm. Remove a horizontal cylindrical ...
$fn=80; diff_h=6.75; thick_con=7.5; module blocks (){ module block_B (){ cylinder (d=thick_con, h=20); } module block_S (){ cylinder (d=thick_con, h=30); } hull () { block_B(); translate ([diff_h,0,0]) block_B(); translate ([diff_h/2,0,0]) block_S(); translate ([diff_h/3,0,0]) block_S(); t...
glb/cad_7714d93cbf68.glb
Create a coil binding fix by starting with a rectangular base plate measuring 235mm in length, 30mm in width, and 0.5mm in thickness. Along the length of this plate, create a series of 46 rectangular slots to accommodate a 3:1 coil binding. Each slot must be 4.5mm wide and 40mm long, extending through the width of the ...
pageheight=235; gapwith=4.5; nosewith=8.47-gapwith; difference(){ linear_extrude(height = 0.5) square([pageheight, 30], center = false); for(n=[0:45]) translate([n*nosewith+n*gapwith+nosewith, 5, -0.1]) linear_extrude(height = 2.2) square([gapwith, 40], center = false...
glb/cad_f405dd5bdc20.glb
Create a monitor mount consisting of a main bracket and a separate tightening bolt. The bracket is a U-shaped holder with a base measuring 44mm by 50mm and a height of 4mm. The two vertical walls of the bracket are 5mm thick and 44mm high, spaced apart to create a central channel. In the center of the base, create a ve...
use <threadlib/threadlib.scad> $fn=360; rotate([0, -90, 0]) union() { translate([0, 0, 44]) union() { minkowski() { translate([2, 2, 0]) cylinder(r=2,h=0.1); cube([10, 46, 3.9]); } cube([12, 50, 4]); } difference() { cube([5, 50, 44]); transl...
glb/cad_dbe167ea292c.glb
Create a Nuki Adaptor consisting of two stacked geometric sections with a central vertical hole. The base is a hexagonal prism with a height of 10mm and a diameter of 17mm. Resting on top of this base is a smooth cylinder with a height of 6mm and a diameter of 14.5mm. Run a continuous vertical hole through the center...
doorHeight = 6; nukiHeight = 10; nukiDiameter = 17; nukiBottomWidth = 0; doorPinDiameter = 8; splintDiameter1 = 2; splintOffset1 = 4; splintDiameter2 = 3; splintOffset2 = 3; splintDiameter3 = 4; splintOffset3 = 1; printerSpecificAdd = .3; difference(){ union() { rotate([0,0,90]) cylinder(d...
glb/cad_980b7c4a4508.glb
Create a pipe connector consisting of a central cubic core and an extending shaft. The core is a cube with a side length of 10mm (calculated as the 8mm pipe diameter plus a 1mm wall thickness on each side). From the center of one face of this core, extend a square shaft with a width of 10mm and a total length of 25mm...
id=8; l=25; el=0; th=1; right=true; back=true; top=true; left=false; front=false; bottom=false; support=1; eps=1/128; module single(v) for(i=[if(v.x%2 == 1) [0, 1, 0], if(v.x>=2) [0, -1, 0], if(v.y%2 == 1) [-1, 0, 0], if(v.y>=2) [1, 0, 0], if(v.z%2 == 1) [0, 0, 0], ...
glb/cad_d14a93e41caf.glb
Create a modular instant photo frame clip by starting with a rectangular base measuring 10mm wide, 25mm long, and 2mm thick. Centered on the top face of this base, carve out a longitudinal slot that is 1mm wide and 15mm long. Within this slot, remove a semi-cylindrical channel with a radius of 1.8mm and a 20-facet reso...
difference() { cube([10,25,2],true); translate([0,0,2]) cube([1,15,4],true); }; difference() { rotate([90,0,0]) translate([0,1.8,0]) cylinder(14.6,1.8,1.8,true,$fn=20); cube([20,25,2],true); translate([0,0,2]) cube([1,15,4],true); translate([0,0,2]) cube([1,15,4],true); };
glb/cad_b53d036a8988.glb
Create a modular instant photo frame clip by starting with a centered rectangular block measuring 20mm wide, 25mm long, and 2mm thick. From this base, remove a centered cylindrical hole with a diameter of 4.2mm and a depth of 2.1mm. Additionally, carve a rectangular slot out of the center of the block that is 1mm wide,...
difference() { cube([20,25,2],true); translate([5,0,2]) cube([1,15,4],true); translate([-5,0,0]) cylinder(2.1,2.1,4.2,true,$fn=20); }; difference() { rotate([90,0,0]) translate([5,1.8,0]) cylinder(14.6,1.8,1.8,true,$fn=20); cube([20,25,2],true); translate([5,0,2]) cube([1,15,4],true); ...
glb/cad_67bd90097c1b.glb
Create a modular instant photo frame clip. Start with a central rectangular plate measuring 74mm by 106mm with a thickness of 5mm. From this main body, remove four rectangular sections from the edges to create a cross-like profile. Specifically, remove two blocks measuring 5.4mm by 25.4mm by 3mm centered on the left an...
paper_w=54; paper_l=86; image_w=46; image_l=62; top_margin=5; pw=paper_w; pl=paper_l; iw=image_w; il=image_l; tm=top_margin; difference() { translate([0,0,5]) cube([pw+20,pl+20,5],true); translate([(pw/2)+7.5,0,4]) cube([5.4,25.4,3],true); rotate([90,0,0]) translate([(pw/2)+5,4.5,0]) cylinder(15,2,2,true,$fn=2...
glb/cad_62ba2e4b8ea7.glb
Create a modular instant photo frame. Start with a main rectangular base plate measuring 74mm by 106mm with a thickness of 5mm, centered on the origin. Carve out a central rectangular void measuring 54.4mm by 86.4mm with a depth of 1mm to hold the photo paper. Within this central area, create a smaller rectangular cuto...
paper_w=54; paper_l=86; image_w=46; image_l=62; top_margin=5; pw=paper_w; pl=paper_l; iw=image_w; il=image_l; tm=top_margin; difference() { cube([pw+20,pl+20,5],true); translate([0,0,2.5]) cube([pw+.4,pl+.4,1],true); translate([0,((pl-il)/2)+.2-tm,0]) cube([iw,il,7],true); translate([0,-((pl+.4)/2)...
glb/cad_08b6b6d11bac.glb
Create a modular instant photo frame clip by starting with a rectangular base measuring 20mm wide, 25mm long, and 2mm thick. Centered on this base, create two identical parallel slots. Each slot is formed by removing a volume that consists of a cylinder with a diameter of 3.6mm and a height of 14.6mm, oriented horizont...
difference() { cube([20,25,2],true); translate([5,0,2]) cube([1,15,4],true); translate([-5,0,2]) cube([1,15,4],true); }; difference() { rotate([90,0,0]) translate([5,1.8,0]) cylinder(14.6,1.8,1.8,true,$fn=20); cube([20,25,2],true); translate([5,0,2]) cube([1,15,4],true); translate([-...
glb/cad_72e813e0a5e7.glb
Create a modular instant photo frame consisting of a main rectangular plate and four connecting clips. The main plate is a centered rectangular slab measuring 74mm by 106mm with a thickness of 5mm. Carve a central rectangular cutout from the top face measuring 46mm by 62mm, with a depth of 7mm, to hold the photo. At t...
paper_w=54; paper_l=86; image_w=46; image_l=62; top_margin=5; pw=paper_w; pl=paper_l; iw=image_w; il=image_l; tm=top_margin; difference() { cube([pw+20,pl+20,5],true); translate([0,0,2.5]) cube([pw+.4,pl+.4,1],true); translate([0,((pl-il)/2)+.2-tm,0]) cube([iw,il,7],true); translate([0,-((pl+.4)/2)...
glb/cad_969651d7418c.glb
Create a Tap to Cat Adapter designed to channel water from a faucet. Start by creating a hollow, semi-circular neck that acts as a mounting bracket, using a 180-degree rotate extrusion of a square profile with a width of 2mm and a height of 25mm, centered around a radius of 26.5mm. Attached to this neck, construct a m...
r1 = 15.5; r2 = 15; r3 = 26.5; h1 = 10; h2 = 15; x1 = 2; y1 = 10; y2 = 5; h3 = h2 + r2; r4 = 10; x2 = 150; r5 = 5; *head(l = 40); *translate([0, 0, -y2]) #head(x1, y1, y2); head_adapter(); translate([0, 0, -h3]) { neck(); canal(); } module canal() { xa = r3 + x1; xb = xa + 1; v1 = [r3 + x1, r3 + x1, r4]; v2 = ...
glb/cad_793689befab0.glb
Create a Seeed T1000 Charger Stand by starting with a solid rectangular block measuring 58mm wide, 14mm deep, and 90mm high, centered on the X and Z axes. From this block, remove a central rectangular volume of 55.5mm by 6mm by 86mm to create a slot for the tracker. Within this slot, carve out a space for the charger p...
$fn=64; module T1000() { cube([55.5,6.0,86.0], center=true); } module Charger() { union () { translate([0,-0.6,0]) cube([6.5,7.6,15.25-3.25], center=true); translate([0,4-1.5-1.55,-47]) cylinder(h=50,r=1.55); translate([0,1.55-4,-23.5]) cube([3.1,4+3.1,50],center=true); hull() ...
glb/cad_a93a24620684.glb
Create a 5-inch magnetic tape reel centerpiece. Start with a central cylindrical hub that is 45mm in diameter and 8.5mm high. This hub should have a central vertical hole with a diameter of approximately 8.9mm. Within the hub's volume, carve out eight radial slots, each 5mm wide, spaced evenly every 45 degrees around...
t1 = 2.0; t2 = 8.5; t3 = 4; d1 = (5 * 25.4) - 4; d2 = 45; d3 = (5/16 * 25.4) + .4; d4 = 13; d5 = 30; d6 = d2 - 20; steps = 3; $fn=80; module plate() { difference() { color(c=[0,0,0], alpha = 1.0) { cylinder(h=t1, d=d1); cylinder(h=t1, d=d6); } } } module smallplate() {...
glb/cad_41e7d6019710.glb
Create a Matchbox Cover by constructing a hollow rectangular sleeve. Start with a solid rectangular block measuring 52mm in length, 36.4mm in width, and 17.2mm in height. From this main body, remove a central rectangular volume to create the interior cavity, leaving walls that are 1mm thick. This interior cutout should...
wallThickness = 1; height = 15; edge = 3; length = 52; halfLength = length / 2; width = 36; halfWidth = width / 2; somePlay = 0.2; module outer() { color("blue") linear_extrude(height = height + (2 * wallThickness) + somePlay) polygon(points = [[halfLength, halfWidth + wallThickness + somePlay...
glb/cad_d9999bc7bf7a.glb
Create a WheelBlock, which is a specialized interlocking building block. Start by constructing a rectangular base block that is 2 pegs wide by 1 peg long. On the top surface of this block, centered along the length and positioned at a distance of half a block size from the edge, add a cylindrical axle. The axle is co...
use <UberBloxMini.scad> axleLen = 13.4; axleClipLen = 1.6; axleDiam = 6; axleClipDiam = 8; eps = .001; $fs = .01; module Axle() { axleClipFraction = 1/8; translate([-axleLen-axleClipLen,0,0]) { difference() { translate([0,0,(.5-axleClipFraction)*axleDiam]) { rotate(90,[0,1,0]) ...
glb/cad_09e49c45f869.glb
Create an Oloid by generating the convex hull of two identical circles. Start by creating a cylinder with a diameter of 30mm and a height of 0.8mm, centered on the origin. Create a second cylinder with the same 30mm diameter and 0.8mm height, but position its center at x = 15mm, y = 0.4mm, and z = 0.4mm, and rotate it ...
diam = 30.0; thickness = 0.8; $fn=256; module oloid() { hull() { cylinder(h = thickness, d = diam); translate([diam / 2, thickness / 2, thickness / 2]) rotate([90, 0, 0]) cylinder(h = thickness, d = diam); } } translate([0, 0, diam]) rotate([0, 90, 0]) oloid();
glb/cad_b8b881e68aab.glb
Create a Gift Card Torture Box consisting of a bottom base and a top lid. The main body is a rounded rectangular box with external dimensions of 130mm by 110mm by 40mm, featuring rounded corners with a 5mm radius. The interior is hollowed out to create a cavity measuring 90mm by 56mm by 1mm, designed to hold a credit c...
$fn=80; difference(){ minkowski(){ cube([120,100,30],center=true); cylinder(r=5); } translate([0,0,-1])minkowski(){ cube([80,48,1],center=true); cylinder(r=3); } minkowski(){ cube([60,28,40],center=true); cylinder(r=3); } translate([0,41,0])cylinder(d=12.5,h=40,center=true); translate([-5...
glb/cad_34bb28f5e97b.glb
Create a Gift Card Torture Box consisting of a hollowed rectangular container with a matching lid. The main body is a rounded rectangular prism with overall outer dimensions of 130mm by 110mm and a height of 40mm. The corners are rounded with a 5mm radius. Create a central internal cavity measuring 90mm by 56mm with a ...
$fn=80; difference(){ minkowski(){ cube([120,100,30],center=true); cylinder(r=5); } translate([0,0,-1])minkowski(){ cube([80,48,1],center=true); cylinder(r=3); } minkowski(){ cube([60,28,40],center=true); cylinder(r=3); } translate([0,41,0])cylinder(d=12.5,h=40,center=true); translate([-5...
glb/cad_4e97bcf024f7.glb
Create a key for a gift card torture box. Start by constructing the main body as a union of three shapes: a cylinder with a 20mm diameter and 4mm height centered at the origin, a second cylinder with an 18mm diameter and 4mm height centered at [3.5, 0, 0], and a third cylinder with a 22mm diameter and 4mm height center...
$fn=90; difference(){ union(){ hull(){ translate([0,0,0])cylinder(d=20,h=4,center=true); translate([3.5,0,0])cylinder(d=18,h=4,center=true); } hull(){ translate([10,0,0])cylinder(d=8,h=4,center=true); translate([50,0,0])cylinder(d=4,h=4,center=t...
glb/cad_3e116b175fb4.glb
Create a kitchen phone holder consisting of two identical side supports connected by a base. Each side support is constructed from 4mm thick walls. Start with a rectangular section 90mm long and 4mm high. At one end, create a 19-degree angled bend upwards to form a support lip. The main body of each side is a 90mm by...
tloustka=4; delka=90; sirka=160; uhel=19; tloustka_zahak=7; tloustka_telefon=19; module bok() { translate([0,+tloustka/4,-tloustka/2]) rotate([uhel,0,0]) cube([tloustka,delka,tloustka]); cube([tloustka,tloustka,delka*2/3]); translate([0,0,delka*2/3-tloustka/2]) rotate([-uhel,0,0]) cube([tloustka,delka,tloustka]); tr...
glb/cad_a56d4d30d062.glb
Create a Mean Well RS-25 Power Supply enclosure. Start by constructing a rectangular base plate with dimensions 55.5mm wide by 82.2mm long and 1.2mm thick. Build the walls of the enclosure to create a pocket for the power supply. The front wall and the two side walls should be 1.2mm thick and 31.2mm high. The front w...
$fa = 12; $fs = 2; $fn = $preview ? 12 : 60; micron = 0.001; print_margin = 0.3; wall = 1.2; wall_thick = 3; wall_front = wall_thick; wall_top = wall; pw_screw_dia = 4.5; MW_width = 51.5; MW_length = 79; MW_length_plus = 92; MW_height = 28.5; BT_width = wall + MW_width + wall; BT_length = wall + MW_length_plus + w...
glb/cad_3807f54f0bca.glb
Create a Mean Well RS-50 Power Supply enclosure consisting of a main case and a top cover. For the main case, create a rectangular base with outer dimensions of 101mm width (97mm internal width + 2mm walls) and 105mm length (99mm internal length + 2mm walls). The walls should be 2mm thick. The interior should be a ho...
$fa = 12; $fs = 2; $fn = $preview ? 12 : 60; micron = 0.001; print_margin = 0.3; wall = 2.0; wall_bottom = 1.6; MWPS_length = 99 + 1; MWPS_width = 97; MWPS_height = 36; MWPS_front = 47; MWPS_front_z = MWPS_height; edge_height = 7; case_x = wall + MWPS_width + wall; case_y = wall + MWPS_length + wall; front_y = wal...
glb/cad_b5283ab3c356.glb
Create a strategic tetra dice by starting with a truncated tetrahedron with a base side length of 35mm. Soften the edges of this volume by applying a Minkowski sum with a sphere of radius 1mm to create rounded corners. Hollow out the center of the tetrahedron by removing a smaller truncated tetrahedron from the interi...
include<ub.scad> useVersion=21.119; if(Version<useVersion||is_undef(Version))echo("<h1><font color='red'>Install current ub.scad library‼ ⇒ <a href=http://v.gd/ubaer>v.gd/ubaer</a>"); nozzle=.2; s=35; d=1.5; l=10; fn=28; !Wuerfel(opt=2); TetraederstumpfNetz(); *rotate(180)TetraederstumpfNetz(); module Tetraederstu...
glb/cad_b6fa4f2abc89.glb
Create a spatial sensor cover for a Schneider UNICA frame. Start by constructing a main body that is roughly 46mm wide and 46mm deep. The top surface should be slightly convex, while the bottom is flat. At the four corners of the base, create four vertical support posts. Each post is formed by a hull connecting a 2.6...
$fn=120; translate([0,0,0]) cidlo(); module cidlo() { difference() { union() { hull() { translate([23,23,1]) cylinder(d=2.6,h=2); translate([-23,23,1]) cylinder(d=2.6,h=2); translate([23,-23,1]) cylinder(d=2.6,h=2); translate([-23,-23,1]) cylinder(d=2.6,h=2); ...
glb/cad_826e405473d3.glb
Create a parametric monitor stand consisting of three integrated components: a base, a support arm, and a front lip. Start by creating a base plate that is 100mm long and 12mm wide with rounded ends (5mm radius). The base should have a thickness of 5mm, but feature a central rectangular cutout 40mm long and 8mm deep, l...
base_length = 100; stand_height = 80; stand_angle = -45; width = 12; lip_height = 1.5; $fn=360; module base() { difference() { minkowski() { translate([5, 5, 0]) cube([width, base_length, 1]); cylinder(r=5,h=4); } translate([5, 5, 0]) cub...
glb/cad_227fc7da0a7f.glb
Create a door latch consisting of a flat plate with two circular cutouts. Start by creating a solid shape that is the convex hull of two cylinders, each with a radius of 18.2mm and a height of 6mm, positioned 136mm apart from center to center along the x-axis. From this solid, remove two cylindrical holes to create the...
$fn=100; handleDist = 111.6; handleDiameter = 24.4; handleDepth = 6; ringOD = 6; tolerance = .1; handleRadius = handleDiameter / 2; ringID = handleRadius - tolerance / 2; offsetX = handleDiameter + handleDist; difference() { hull() { cylinder(handleDepth, handleRadius+ringOD, handleRadius+ringOD); ...
glb/cad_9ae9fe749bd6.glb
Create a wire cover consisting of a base plate and a removable curved lid. Start by creating a rectangular base plate 34mm wide, 60mm long, and 10mm thick. From this base, remove a central rectangular section 30mm wide, 62mm long, and 8mm high, starting 2mm from the bottom edge, to create a U-shaped channel. Additional...
$fn=50; difference(){ union(){ translate([15,0,10])rotate(a=[0,90,90])cylinder(h=60,d=34); translate([-2,0,0])cube([34,60,10]); } translate([15,-1,10])rotate(a=[0,90,90])cylinder(h=62,d=30); translate([0,-1,2])cube([30,62,8]); translate([2,-1,-1])cube([26,62,4]); translate([4,-1,...
glb/cad_3faf9e26877d.glb
Create a wire cover consisting of a base plate and a sliding cover. For the base plate, start with a rectangular block 29mm wide, 60mm long, and 2mm thick. Centered on this plate, add a cylinder with a diameter of 29mm and a height of 3mm, extending outward from the face. On the top surface of the base plate, create tw...
$fn=50; difference (){ union(){ cube([29,60,2]); translate([14.5,0,10])rotate(a=[0,90,90])cylinder(h=3,d=29); translate([0,0,1])cube([29,3,10]); } translate([2,-1,0])rotate(a=[0,-135,0])cube([pow(8,0.5),82,pow(8,0.5)]); translate([31,-1,0])rotate(a=[0,-135,0])cube([pow(8,0.5),8...
glb/cad_7895022fa334.glb
Create a Parametric Rugged Vial Box consisting of a bottom container and a snapping lid. For the bottom, create a rectangular box with a shell thickness of 1.6mm and 4mm fillets. The outer dimensions are determined by a grid of 2 rows and 5 columns of vials, each 17mm in diameter and 40mm tall. The total interior len...
$fn=64; vial_diameter = 17; vial_height = 40; vial_holder_height = vial_height*0.35; vial_holder_outer_padding = 1; vial_holder_inner_padding = 0; vial_rows = 2; vial_columns = 5; shell_width = 1.6; fillet = 4; hinge_diameter = 5; hinge_clearance = 1; rib_width = 5; rib_offset = 5; clearance=0.2; latch_width_sca...
glb/cad_17f28e590db7.glb
Create a stackable wire spool holder designed to hold six spools, each with an external diameter of 55mm and a width of 20mm. The main body is a rectangular tray with a wall thickness of 2mm. Construct six adjacent slots to house the spools. Each slot should have a width of 22mm (spool width plus 2mm tolerance on eac...
$fa = 10; $fs = 0.1; spool_dia = 55; spool_width = 20; spool_count = 6; wall_thickness = 2; wire_hole_dia = 5; wire_hole_offset = 10; base_height = 20; cutout_radius = 5; external_divider_width = 5; internal_divider_width = 10; spool_tolerance = 1; spool_widths = [for (i = [1:spool_count]) spool_width]; fu...
glb/cad_34d0d7965397.glb
Create a dual camera holder and stand by starting with a central rectangular base plate measuring 68mm in length, 38mm in width, and 5mm in thickness. At the center of the base, carve out two identical semi-circular cutouts with a radius of 18.2mm, positioned side-by-side along the length of the plate to accommodate ...
$fn=40; r=18+0.2; r2=3/2+0.1; l=38; o=10; i=1; th=5; d3=6.4; w=2.6; difference(){ union(){ cube([o+l+2*i+l+o,l,th],center=true); translate([-(o+l+i),l/2,-th/2]) cube([o+l+2*i+l+o,5,th]); translate([-(o+l+i),-(d3+2*w)/2,0]) cube([10,d3+2*w,d3+2*w]); translate([(o+l+i)-10,-(d3+2*w)/2,0]) cube([10,d3+2*w...
glb/cad_5ce28eb975d2.glb
Create a dual camera holder and stand by constructing a frame based on a central rectangular void. Start with a main horizontal base block measuring 103.1mm in length, 5.1mm in width, and 5.1mm in height, centered on the origin. Add two vertical support pillars at the far ends of the base. Each pillar consists of a v...
$fn=40; l=98+0.1; l2=50; l3=150; th=5.1; h=40; cube([th+l+th,th,th],center=true); translate(-[l/2+3/2*th,+l2/4,0]) cube([th,l2+th+l2/2,th],center=true); translate([l/2+3/2*th,-l2/4,0]) cube([th,l2+th+l2/2,th],center=true); translate([l/2+th,th/2,th/2]) cube([th,th,l3]); translate([-l/2-2*th,th/2,th/2]) cube([th,th,l3])...
glb/cad_0e487fb46ade.glb
Create a Menger sponge fractal as a 50mm cube. Start with a solid cube of 50mm per side. Divide this cube into a 3x3x3 grid of 27 smaller sub-cubes, each with a side length of approximately 16.67mm. Remove the central sub-cube and the six sub-cubes located at the center of each face, leaving 20 solid sub-cubes. Repeat ...
module menger_sponge(depth, size) { if (depth == 0) { cube(size = size, center = true); } else { offset = size / 3; for (i = [-1, 0, 1]) { for (j = [-1, 0, 1]) { for (k = [-1, 0, 1]) { if (abs(i) + abs(j) + abs(k) > 1) { ...
glb/cad_9ed4968fb4ef.glb
Create a shelf insert for Nintendo Switch game boxes. Start with a rectangular base plate that is 96mm wide, 1.6mm thick, and has a total length of 105.6mm (calculated from 8 slots). The base must have a total depth of 19.8mm, consisting of the 1.6mm top plate and a 18.2mm deep hollow structure underneath. This hollow ...
max_base_length = 150; switch_box_t = 11.8; base_depth = 19.8; base_width = 96; sep_wall_t = 1.2; base_wall_t = 1.6; max_bridge_length = 30; override_num_places = 8; do_end_wall = 0; calc_num_places = floor((max_base_length - sep_wall_t)/(sep_wall_t + switch_box_t)); num_places = override_num_places > ...
glb/cad_fa24429e7d4b.glb
Create a simple hook by starting with a rectangular baseplate measuring 20mm wide, 50mm long, and 2.5mm thick. Attached to this base, construct a vertical hook element that is 20mm wide. This hook element should rise from the base and curve or slope upwards and backwards. Specifically, the profile of the hook starts at...
b_t = 2.5; b_w = 20; b_l = 50; a = 20; union() { cube([b_w, b_l, b_t]); translate([0, 0, b_t]) { difference() { rotate([0, 90, 0]) linear_extrude(b_w) polygon( [[0, 0], [-5, 3], [-22, 30], [-19, 31], [-3, 20], [0, 20]]); rotate([0, ...
glb/cad_0319b0f7504e.glb
Create a hanging plant hook for mounting under a shelf. Start by constructing a rectangular base plate that is 40mm long, 10mm wide, and 10mm thick. On one end of this plate, attach a cylinder with a radius of 9mm and a height of 10mm, oriented so its flat face is flush against the base plate. This cylinder should be c...
$fn=200; t=10; l=40; o=4; difference() { union() { translate([o,-l/2,0]) cube([5,l,t]); cylinder(h=t,r=9); } translate([o,l/2-5,t/2]) screw(); translate([o,-l/2+5,t/2]) screw(); cylinder(h=t,r=6); } module screw() { rotate(a=[0,0,90]) rotate(a=[90,0,0]) union() { cylind...
glb/cad_b7734504de0b.glb
Create a Table Saw Insert with a main body that is 340.5mm long, 95mm wide, and 14mm thick. The ends of the body should be rounded with a radius of 47.5mm. On the top surface, create a finger hole centered 90mm from the front edge and 16mm from the fence edge. This hole has a 20mm diameter and is beveled, tapering fro...
$fn=360; Width = 95; Length = 340.5; Thickness = 14; FingerHoleSize = 20; FingerHoleYPos = 16; FingerHoleXPos = 90; Knife = true; KnifeHeight = 19; KnifeLength = 30; KnifeThick = 2.5; KnifeInset = 72.3; KnifeXPos = 300; MagnetDiameter = 10; MagnetHeight = 3; MagnetRow1 = 60; MagnetRow2 = 276; MagnetPad = .5...
glb/cad_5cfdf0521f90.glb
Create a PSU-lock tool consisting of a handle and a gripping head. Start by creating a cylinder for the head with a height of 14mm and a diameter of 12mm, then scale it by 1.42 along the X-axis to create an oval profile. Centered within this head, remove a pill-shaped void created by the hull of two 6.75mm diameter cyl...
$fn = 60; size = 20; height = 8; nobs = 9; sphere_dia = 6.5; hole = 6.75; nut = 9.5; difference() { union() { PSU_lock_Tool(); translate([0, 0, -19]) knob(); } cut_out_PSU_Lock(); ...
glb/cad_2e018fddf8b1.glb
Create a can cap by starting with a main cylinder 9mm in diameter and 10mm in height. Remove a central vertical hole from the bottom to a height of 5mm with a diameter of 4.5mm, and continue that central hole further up with a narrower diameter of 2mm. Cut a horizontal cylindrical tunnel through the center of the main ...
CAP_D = 9; CAP_HEIGHT = 10; STEM_D = 4.5; STEM_HEIGHT = 5; STEM_IN_D = 2; NOZZLE_D = 0.8; difference() { cylinder(h=CAP_HEIGHT, d=CAP_D, $fn=50); cylinder(h=STEM_HEIGHT, d=STEM_D, $fn=30); cylinder(h=STEM_HEIGHT + 2 + NOZZLE_D/2, d=STEM_IN_D, $fn=30); cylinder(h=1, d1=STEM_D+1, d2=STEM_D, center=true,...
glb/cad_65236c370d40.glb
Create an ADXL345 sensor mount consisting of a main plate and a securing base. Start with a main rectangular plate measuring 18mm by 21mm with a thickness of 3mm. Center this plate on the X and Z axes. On the face of this plate, create two circular screw holes with a radius of 1.4mm and a depth of 3mm. Position the f...
$fn=100; screw_pos_1 = 7.5; rotate([90,0,0]) { difference() { translate([1,0,0]) linear_extrude(3) square([18, 21], center=true); translate([5.75,screw_pos_1,1]) cylinder(r=2.8/2,h=3); translate([5.75,-7.25,1]) cylinder(r=2.8/2,h=3); translat...
glb/cad_ad688d6517ee.glb
Create a Quick Change Sample Spool Holder consisting of two identical halves. For each half, create a large outer cylinder with a radius of 70mm and a total height of 10.5mm. Subtract a central coaxial cylinder with a radius of 27.5mm and a height of 10.5mm to create a hollow core. To form the inner support structure...
magsize=10; magheight=1.6; $fn=100; height_stack=3.5; stack_layers = 3; module spool_outer() { difference() { cylinder(r=140/2, h=height_stack); cylinder(r=55/2, h=height_stack+.1); } } module spool_inner(z) { translate([0,0,z+height]) difference() { cylinder(r=90/2, h...
glb/cad_f03f29abb24d.glb
Create a hole plug consisting of a tapered body and a flat cap. The main body is a 30-sided polygonal prism with a total height of 10mm. The bottom 7mm is a frustum that tapers outward from a base diameter of 14.5mm to a maximum diameter of 16mm. Atop this, add a 3mm tall frustum that tapers back inward from 16mm to 14...
$fn = 30; $EC = 0.4; IH = 10; Split_P = .7; Int_PD = 16; TOff = 1.5; CF= 1/cos(180/$fn); Cap_D = 17; Cap_H = 2; Cap_Taper = .1; Num_Slice = 6; Wal_Thk = 2; Gap = 1 ; Z_Off = .1; Phase = 0; difference() { Body(); slots(); translate([0,0,-.01]) cylinder(d=(Int_PD-2*Wal_Thk)*CF-$EC, h=I...
glb/cad_16829b774d55.glb
Create a cord strain relief consisting of a tapered main body and a square base. Start by creating a square base 15mm wide, 15mm deep, and 3mm high. Centered on this base, place a cylinder with a bottom diameter of 10mm and a height of 4.5mm. Above this cylinder, add a tapered conical section that transitions from a 10...
$fn=60; Body_H = 30; Body_Top_D = 5; Body_Bottom_D = 10; Body_Hole_Y_Scale = 1; Hole_D = 4; Hole_Y_Scale = 1; Hole_Phase = 0; Tip_Ena = true; Tip_Square = true; Tip_H = .08; Tip_D = .5; Retainer_Ena = true; Retainer_H = 2; Retainer_Top_D = .75; Retainer_D = .25; Gap_H = 1.5; Gap_Inset = 0; Base_Ena = true; Base_...
glb/cad_a8bde24e3f54.glb
Create an Orichalcum game organizer by starting with a rounded rectangular base measuring 219mm in length, 73.2mm in width, and 27mm in height. From this base, remove several vertical cylindrical and pill-shaped voids to create storage compartments. First, create two circular holes with a diameter of 32.5mm, centered...
$fn=200; difference(){ roundedCube(219,73.2,27); for(i = [0:1]){ translate([18.65,(i*35.9)+18.65,1]) cylinder(h=400, d=32.5, center=false); translate([53.9,(i*35.4)+18.9,3]) linear_extrude(35) hull(){ translate([0,0,0]) rotate([0,0,0]) circle(d=33); translate([31.25,0,0]) rotate([0,0,0]) circle(d=33); } translate...
glb/cad_4603f172d505.glb
Create an Orichalcum game organizer insert by starting with a rounded rectangular block measuring 80mm wide, 120mm deep, and 66mm high, with corner radii of 3mm. Carve out a rectangular interior cavity starting 1mm from the bottom, with dimensions of 75.2mm wide and 61.2mm deep, extending upwards through the top. At ...
$fn=200; difference(){ roundedCube(80,120,66); translate([2.4,2.4,1]) roundedCube(75.2,61.2,200); translate([40,250,66]) rotate([90,0,0]) cylinder(h=400, d=60, center=false); translate([3.0,240,58]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([76.9,240,58]) mirror([1,0,0]) rot...
glb/cad_7a2aac78bcb6.glb
Create an Orichalcum game organizer insert by starting with a rounded rectangular block measuring 205mm in length, 120mm in width, and 66mm in height, with corner radii of 3mm. From this main volume, remove a large rectangular section measuring 200.2mm by 61.2mm and 200mm deep, positioned 2.4mm from the length and wi...
$fn=200; difference(){ roundedCube(205,120,66); translate([2.4,2.4,1]) roundedCube(200.2,61.2,200); for(i = [0:1]){ translate([(i*85)+60,250,66]) rotate([90,0,0]) cylinder(h=400, d=60, center=false); translate([(i*85)+23.1,240,58]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate(...
glb/cad_5aab2778498d.glb
Create an Orichalcum game organizer insert by starting with a base rounded rectangular block measuring 219mm in length, 94mm in width, and 43mm in height. From this base, carve out a large central void starting 8mm from the bottom. This void is formed by the convex hull of four circles, each 31mm in diameter, positio...
$fn=200; difference(){ roundedCube(219,94,43); translate([22,46,8]){ scale([1.116,1.176,1]) linear_extrude(36) hull(){ translate([0,0,0]) rotate([0,0,0]) circle(d=31); translate([49,0,0]) rotate([0,0,0]) circle(d=31); translate([24.5,13.5,0]) rotate([0,0,0]) circle(d=31); translate([24.5,-13.5,0]) rotate([0,0,0]) ...
glb/cad_f1170395ecc1.glb
Create an Orichalcum game organizer tray by constructing a hollowed-out vessel with a height of 35mm. First, create the outer shell by forming a hull around four circles, each with a diameter of 31mm. Position two circles at the center of the X-axis (0 and 49mm) and two circles offset 13.5mm along the Y-axis (positive ...
$fn=200; difference(){ scale([1.1,1.16,1]) linear_extrude(35) hull(){ translate([0,0,0]) rotate([0,0,0]) circle(d=31); translate([49,0,0]) rotate([0,0,0]) circle(d=31); translate([24.5,13.5,0]) rotate([0,0,0]) circle(d=31); translate([24.5,-13.5,0]) rotate([0,0,0]) circle(d=31); } translate([1.5,0.2,1]) scale([1.0...
glb/cad_cb330a03dbc4.glb
Create an Orichalcum organizer insert by starting with a main cylinder that has a height of 35mm and a diameter of 56.3mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 51.5mm, starting from a height of 1mm from the base. To create the access opening, remove a cyl...
$fn=200; difference(){ translate([0,0,0]) rotate([0,0,0]) cylinder(h=35, d=56.3, center=false); translate([0,0,1]) rotate([0,0,0]) cylinder(h=400, d=51.5, center=false); translate([0,-25.75,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([-20.3,5,29]) rotate([90,0,0]) linear_extrude(50) differen...
glb/cad_0d6fe23aebc1.glb
Create an Elfa slide rail extender bracket with a total height of 22.5mm. The main body is a rectangular block 35mm wide and 23mm deep. The top section is a raised rectangular platform measuring 31.2mm by 14.5mm and 5mm thick, centered on the base. Integrate four vertical cylindrical mounting posts into the corners of...
kiinnike(); module kiinnike(){ difference(){ union(){ hull(){ translate([0,0,23.5])cube([35.2, 18, 0.1]); translate([-2.5,-2.5,0])cube([35+5, 18+5, 0.1]); } hull(){ translate([3.5, -9, 0])cylinder(d=10, h=5, $fn=100); ...
glb/cad_751ffc144bac.glb
Create a Premier1 Fence Latch with a total width of 19mm, a depth of 45mm, and a height of 32mm. The main body is a rectangular block with rounded edges. Carve two vertical cylindrical holes through the entire height of the block, each with a diameter of 15.05mm. Position these holes so their centers are 22mm apart a...
$fn = $preview ? 30 : 120; epsilon = 0.001; pole_diameter = 15.05; width = 19; depth = 45; height = 32; module roundConcaveFillet(radius, rads) { rotate_extrude() translate([radius, 0, 0]) difference() { square([rads, rads]); translate([rads, rads]) ...
glb/cad_0344e3ff45bf.glb
Create a Premier1 Fence Latch by starting with a solid rectangular block measuring 19mm in width, 42mm in depth, and 32mm in height. Center this block on the X and Z axes. Subtract two vertical cylindrical holes, each with a diameter of 15.05mm, positioned symmetrically along the depth axis at Y = 11mm and Y = -11mm....
$fn = $preview ? 30 : 120; epsilon = 0.001; pole_diameter = 15.05; width = 19; depth = 42; height = 32; module roundConcaveFillet(radius, rads) { rotate_extrude() translate([radius, 0, 0]) difference() { square([rads, rads]); translate([rads, rads]) ...
glb/cad_8ed47b85f8d2.glb
Create a Premier1 Fence Latch by starting with a central rectangular block measuring 19mm wide, 45mm deep, and 32mm high. Subtract two vertical cylindrical holes, each with a diameter of 15.05mm, positioned symmetrically along the depth axis at 11mm from the center (one at y=11 and one at y=-11). To create the openings...
$fn = $preview ? 30 : 120; epsilon = 0.001; pole_diameter = 15.05; width = 19; depth = 45; height = 32; module roundConcaveFillet(radius, rads) { rotate_extrude() translate([radius, 0, 0]) difference() { square([rads, rads]); translate([rads, rads]) ...
glb/cad_bf3986acdd9c.glb
Create a Shopvac Adapter consisting of a wide circular base and a hollow cylindrical neck. Start with a base disk 85mm in diameter and 4mm thick. Centered on this disk, create a hollow cylinder with an outer diameter of 62mm and an inner diameter of 58mm, extending 40mm upward. The transition between the base disk and ...
$fn = $preview ? 30 : 120; epsilon = 0.001; screw_hole_diameter = 4; screw_dist_from_edge = screw_hole_diameter/2 + 3; screw_inset_diameter = 8; screw_inset_thickness = 2; screw_inset_dist_from_edge = screw_inset_diameter/2 + 1; ring_inner_diameter = 58; ring_outer_diameter = 85; ring_height = 4; ring_bevel = 4; hose...
glb/cad_3d4436c49938.glb
Create a Shopvac Adapter consisting of a circular base and a hollow cylindrical neck. Start with a base disk 85mm in diameter and 4mm thick. Centered on this disk, create a hollow cylinder with an inner diameter of 58mm and an outer diameter of 62mm, extending 40mm upward. Between the base and the cylinder, add a conic...
$fn=120; screw_hole_diameter = 4; screw_dist_from_edge = screw_hole_diameter/2 + 3; screw_inset_diameter = 8; screw_inset_thickness = 2; screw_inset_dist_from_edge = screw_inset_diameter/2 + 1; ring_inner_diameter = 58; ring_outer_diameter = 85; ring_height = 4; ring_bevel = 4; hose_cylinder_wall_thickness = 2; hose_...
glb/cad_e53cbfa687b3.glb
Create a Lego Wall Hanger base by starting with a solid cylinder that has an outer radius of 38mm and a total height of 30mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 25mm, starting from a height of 8mm and extending to the top, leaving a solid bottom base 8mm th...
$fn=600; stl_file="Large Base.3mf"; stl_50mm_inner_thread="50mm_thread.stl"; lower_depth=8; total_height=30; lip_height=8; outer_rad=38; inner_rad=25; thickness=8; color("lightblue"){ lower_section(); } module lower_section(){ difference(){ union(){ difference(){ cylinder(total_height,outer_r...
glb/cad_4e2318d8844b.glb
Create a Lego Wall Hanger consisting of a thick circular base with a hollow center. The main body is a cylinder with an outer radius of 32mm and a total height of 28mm. Create a central cylindrical hole with a radius of 19mm that starts 8mm from the bottom and extends to the top. Within the bottom 8mm section, place t...
$fn=600; stl_40mm_inner_thread="40mm_thread.stl"; lower_depth=8; total_height=21+7; lip_height=8; outer_rad=32; inner_rad=19; thickness=8; color("lightblue"){ lower_section(); } module lower_section(){ difference(){ union(){ difference(){ cylinder(total_height,outer_rad,outer_rad); t...
glb/cad_284bcaf8573e.glb
Create a Lego Wall Hanger consisting of a cylindrical base with a total height of 17.3mm. The main body is a cylinder with an outer radius of 19mm. From the top surface, remove a central cylindrical core with a radius of 12.5mm that extends from the top down to a depth of 8mm, leaving a flat circular floor at the botto...
$fn=600; stl_26mm_inner_thread="26mm_thread.stl"; lower_depth=8; total_height=12.8 + 4.5; lip_height=8; outer_rad=19; inner_rad=12.5; thickness=8; stl_file="Small Base.3mf"; color("lightblue"){ lower_section(); } module lower_section(){ difference(){ union(){ difference(){ cylinder(total_hei...
glb/cad_c7ff31fd3f4d.glb
Create a ring display stand by starting with a rectangular base that is 125mm wide, 50mm deep, and 10mm high. The base should have slightly rounded corners with an 8mm margin. Along the center depth of the base, create a series of circular holes to hold rings vertically. Each hole must have a diameter of 25mm and a wid...
BASE_WIDTH = 125; BASE_DEPTH = 50; BASE_HEIGHT = 10; BASE_MARGIN = 8; RING_DIAMETER = 25; RING_WIDTH = 10; SPACING = 10; assert(SPACING > 0); assert(RING_DIAMETER > 0); assert(RING_WIDTH > 0); assert(BASE_MARGIN > 0); assert(BASE_HEIGHT > 0); assert(BASE_DEPTH > RING_DIAMETER); assert(BASE_WIDTH >= RING_WIDTH + ...
glb/cad_d91116e2e9fb.glb
Create a boxing gloves dryer consisting of a hollow vertical cylinder with a height of 150mm, an outer radius of 25mm, and a wall thickness of 4mm. To provide ventilation, carve a series of diamond-shaped holes through the cylinder walls. These holes are created by intersecting the cylinder with rotated rectangular pri...
HEIGHT = 150; RADIUS = 25; STRENGTH = 4; NUM_HOLES = 6; HOLE_GAP = 8; assert(HEIGHT > 0, "HEIGHT must be positive"); assert(RADIUS > 0, "RADIUS must be positive"); assert(STRENGTH > 0, "STRENGTH must be positive"); assert(NUM_HOLES > 0, "NUM_HOLES must be positive"); assert(NUM_HOLES % 2 == 0, "Number of holes mus...
glb/cad_8564b18a2585.glb
Create a set of three stacked box trays. Each individual tray is a hollow rectangular shell with outer dimensions of 106mm in width, 64mm in height, and 113mm in depth, featuring a uniform wall thickness of 3mm. The trays are open at the top. To create the lattice structure, remove a grid of square cutouts from the b...
width = 100; height = 58; depth = 110; wall_thickness = 3; cutout_size = 15; cutout_thickness = 4; tray_count = 3; wt2 = wall_thickness * 2; module wall_cutout(wall_width, wall_height, extrude_size) { height_count = floor(wall_height / cutout_size); width_count = floor(wall_width / cutout_size); h_off...
glb/cad_934bf924eb1e.glb
Create a set of hanging bin dividers designed to fit a bin with top dimensions of 288mm x 288mm and bottom dimensions of 190mm x 190mm, with a top bend radius of 144mm and a bottom bend radius of 95mm. The dividers should be 150mm tall, with a wall thickness of 1.6mm and a top lip thickness of 3mm that overhangs the bi...
render_option = "all_dividers"; label_texts = "Recycling|Organic|Other|Paper|Verpackung|Bio|Rest|Papier"; divider_rows = 2; divider_columns = 2; render_divider_at_row = 1; render_divider_at_column = 1; rows = divider_rows; cols = divider_columns; assert(render_divider_at_row <= divider_rows, "Must select row wit...
glb/cad_29948e779d85.glb
Create a Screw on Fly Screen Catch. Start with a rectangular base section that is 7mm long, 8mm wide, and 5mm thick. In the center of this base, create a vertical screw hole with a diameter of 3.6mm. The hole should be a countersink, starting with a conical opening at the top that transitions into a straight cylinder p...
Instructions_availble_at = "https://www.thingiverse.com/thing:5603990"; Made_By_lazdavila = "https://www.thingiverse.com/lazdavila"; catch_width = 8; screw_section_thickness = 5; screw_section_length = 7; screw_hole_diameter = 3.6; screw_taper_angle = 90; flat_protrusion_section_length = 8; protrusion_thickness ...
glb/cad_de9b34135088.glb