Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a parametric pencil clip consisting of a main cylindrical holder and an attached tension clip. Start by creating a cylinder with an outer diameter of 9.2mm and a height of 45mm. Remove a concentric inner cylinder with a diameter of 7.2mm to create a tube with a wall thickness of 1mm. Cut a narrow slot 1mm wide t...
holderDiameter=7.2; holderLength=45; holderGap=1; clipWidth=6; clipLength=30; clipGap=1.5; clipBump=1; lip=0; holderThickness=1; clipThickness=2; module __Customizer_Limit__ () {} $fn=40; mkm=0.001; difference() { union() { cylinder(d=holderDiameter+holderThickness*2,h=holderLength); hull() ...
glb/cad_dab9e90fceaa.glb
Create a Glasses Arm Repair Brace by constructing a rectangular sleeve with a hollow center. The outer dimensions of the brace should be 25mm in length, 4.44mm in width, and 6.24mm in height. The interior of the brace must feature a rectangular hole running the full length of the object to accommodate the glasses arm...
glassesWidth = 2.64; glassesHeight = 3.84; nominalLength = 25.0; innerPadding = 0.6; outerPadding = 1.2; topPadding = 1.2; bottomPadding = 1.2; module chamferCube(sizeX, sizeY, sizeZ, chamferHeight = 1, chamferX = [1, 1, 1, 1], chamferY = [1, 1, 1, 1], chamferZ = [1, 1, 1, 1]) { chamferCLength = sqrt(chamferHeigh...
glb/cad_d32ee9de572b.glb
Create a wheel holder for a robot vacuum. Start with a solid cylindrical base 12mm in diameter and 2mm in height. On top of this base, build a tapered conical body that extends upward to a total height of 8.5mm. This upper section should narrow from the base radius of 6mm down to a top radius of 4.5mm. Through the cen...
wheel_r = 6.4 / 2; wheel_ir = 4.4 / 2; glue_h = 0.5; full_st_h = 8.5; base_r = 12 / 2; base_h = 2; arm_h = full_st_h - glue_h - base_h; arm_r = 12/2; $fn = 100; difference() { union() { cylinder(h = base_h, r = base_r); difference() { translate(v = [0,0,base_h]) linear_...
glb/cad_e7fea2246132.glb
Create a window winder clip starting with a square base plate measuring 20mm by 20mm with a thickness of 2mm, centered on the origin. On top of this base, center a hollow cylindrical clamp with an outer diameter of 18mm and a wall thickness of 2mm. The cylinder should have a total length of 20mm, oriented vertically al...
overall_h = 20; overall_w = overall_h; overall_l = 20; base_h = overall_h / 10; base_w = overall_w; base_l = overall_l; clamp_l = overall_l; clamp_d = overall_h - base_h; clamp_t = overall_h / 10; hole_l = clamp_l * 2; hole_d = clamp_d - clamp_t; space_d = clamp_d * 0.4; $fa = 1; $fs = 0.2; cube([ba...
glb/cad_d5820538ffbc.glb
Create an ADS-B antenna stand consisting of a top plate and four supporting legs. Start with a top plate that is a 40mm x 40mm x 6mm cuboid. In the center of this plate, create a circular hole with a diameter of 16.45mm that extends through the bottom. Construct four legs using a hull operation. Each leg starts as a 1...
use <BOSL2/std.scad>; use <BOSL2/rounding.scad>; use <nutsnbolts/cyl_head_bolt.scad>; include <nutsnbolts/materials.scad>; antenna_diam=15.7; difference(){ union(){ difference(){ cuboid ([40,40,6]); union(){ translate([0,0,-20]) cylinder (25,d=antenna_diam+.75,$fn=70); translate([15,15,-1.5]) cuboid([10,10,3]); tran...
glb/cad_8862ee454e90.glb
Create an ADS-B antenna stand consisting of a base and a perpendicular mounting arm. Start with a square base plate measuring 40mm by 40mm with a thickness of 6mm. At the four corners of this plate, centered 15mm from the middle in both X and Y directions, add four M4x10 machine screw holes. Construct a second 40mm by...
use <BOSL2/std.scad>; use <BOSL2/rounding.scad>; use <nutsnbolts/cyl_head_bolt.scad>; include <nutsnbolts/materials.scad>; antenna_diam=15.7; difference(){ union(){ difference(){ cuboid ([40,40,6]); union(){ translate([15,15,-1.5]) cuboid([10,10,3]); translate([15,-15,-1.5]) cuboid([10,10,3]); translate([-15,15,-1.5...
glb/cad_137c453905c7.glb
Create an I/O shield for a motherboard by starting with a solid rectangular backplate measuring 162mm in width, 48mm in depth, and 1mm in height. On top of this base, add a surrounding border frame that is 158mm wide, 44mm deep, and 2.58mm thick, with an internal hollow cutout of 155mm by 41mm to create a thin-walled p...
translate([-3.5, -3.5, 0]) union() { translate([2, 2, 1]){ difference() { cube([158, 44, 2.58]); translate([1.5, 1.5, -0.01]) cube([155, 41, 2.60]); } } difference() { cube([162, 48, 1]); translate([3.5, 3.5, -1]) { translate([8, 4, 0])...
glb/cad_a4121b7a2602.glb
Create a tripod holder for a tablet. Start by creating a solid rectangular base block with a total length of 213mm (iPad length 205mm plus 4mm wall thickness on each side), a total thickness of 22mm (iPad thickness 14mm plus 4mm walls on each side), and a height of 72mm (iPadZ 64mm plus 8mm base height). Inside this b...
iPadLength = 205; iPadThickness = 14; iPadZ = 64; iPadRadius = 14; wallThickness = 4; fingerThickness = 6; attachment = "Screw"; capHeight = 3.95; capWidth = 51.84; capLength = 51.84; totalHeight = 13.3; wedgeTopWidth = 35; wedgeWidth = 43.1; wedgeLength = 43.8; iPadClearance = 0.5; baseHeight = 8; modu...
glb/cad_acff53b7e897.glb
Create a tripod wedge consisting of a flat square plate atop a tapered base. Start by creating a square plate centered on the origin with a width and length of 51.84mm and a thickness of 3.95mm. Attached to the bottom of this plate, create a wedge-shaped base that extends downwards to the build plane. The base should...
capHeight = 3.95; capWidth = 51.84; capLength = 51.84; totalHeight = 13.3; wedgeTopWidth = 35; wedgeWidth = 43.1; wedgeLength = 43.8; module tripodWedge() { translate([-capWidth/2, -capLength/2, totalHeight - capHeight]){ cube([capWidth, capLength, capHeight]); } translate([0, wedgeLength/2, 0]) { ...
glb/cad_837d82714608.glb
Create a tripod holder for a tablet. Start by creating a main rectangular block with a total length of 249mm (iPad length 240.5mm plus two 4mm walls and 0.5mm clearance on each side), a thickness of 14mm (6mm tablet thickness plus two 4mm walls), and a height of 82mm (74mm grip height plus 8mm base). Inside this bloc...
iPadLength = 240.5; iPadThickness = 6; iPadZ = 74; iPadRadius = 14; wallThickness = 4; fingerThickness = 4; attachment = "Screw"; capHeight = 3.95; capWidth = 51.84; capLength = 51.84; totalHeight = 13.3; wedgeTopWidth = 35; wedgeWidth = 43.1; wedgeLength = 43.8; iPadClearance = 0.5; baseHeight = 8; mod...
glb/cad_975ce6a788f6.glb
Create a Knob Lever for a SUP Pump by constructing a solid base with a height of 11mm. The main body is formed by the convex hull of two cylinders: a primary cylinder with a radius of 27.5mm centered at the origin, and a smaller cylinder with a radius of 5mm centered at x=70mm. From this solid, remove a central slot ...
$fn=100; extra=0.02; dKnob = 45; hKnob = 11; wKnobHandle = 17; leverWallThickness = 5; dLever = 10; moveLever = 70; watchWindowX = 13; watchWindowY = 10; moveWatchWinX = ((dKnob/2) -1 + 0.4); module knobLever() { difference() { hull() { cylinder(r=(dKnob/2+leverWallThickness), h=hKnob); tr...
glb/cad_6bc113939c96.glb
Create a coupling rod for a brick-built train. Start with a rectangular base that is 64mm long, 7.38mm high, and 2.4mm thick. Add two thin rectangular strips, each 0.8mm thick, to the top and bottom edges of the base's height to increase the total thickness to 4mm, but only for the bottom 0.8mm and top 0.8mm of the hei...
lengths = [0,4,8]; axle_scale = 1.00; indent_scale = 1.00; rod_height = 7.38; hole_diameter = 4.8; indent_diameter = 6.2; indent_depth = 0.8; inner_thickness = 1.6; full_thickness = 4; support_thickness = 0.8; stud_spacing = 8; $fs=0.1; function sum(v, i=0, r=0) = i < len(v) ? sum(v, i+1, r + v[i]) : r; module cou...
glb/cad_8b2f94ed3a6c.glb
Create a Recessed Light Diffuser consisting of three stacked concentric cylindrical components. Start with a solid circular base disk with a diameter of 195mm and a height of 0.2mm. Directly on top of this base, center a thin vertical ring with an outer diameter of 195mm and an inner diameter of 194.2mm, extending upwa...
baseDiameter = 195; baseHeight = 0.2; innerRingThickness = 0.4; innerRingHeight = 3; upperRingHeight = 0.2; lipProtrusion = 0.4; module base_circle() { cylinder(h = baseHeight, d = baseDiameter, $fn=100); } module first_ring() { outer_radius = baseDiameter / 2; inner_radius = outer_radius - innerRingThick...
glb/cad_0c64d2c63703.glb
Create a conical funnel for a flour mill with a total height of 95mm. The shape is a hollow truncated cone with a uniform wall thickness of 1mm. The larger bottom opening must have a diameter of 120mm, and the smaller top opening must have a diameter of 60mm. Ensure the geometry is perfectly circular and smooth.
$fn=150; bottom_opening = 120; top_opening = 60; height = 95; wall = 1; difference() { cylinder(h=height, r1=top_opening/2, r2=bottom_opening/2, center = true); cylinder(h=height, r1=(top_opening/2)-wall, r2=(bottom_opening/2)-wall, center = true); }
glb/cad_ba0f112e9425.glb
Create a customizable vase by extruding a square profile vertically to a height of 100mm. The square base should be centered and sized so that the total width of the model is 100mm. As the square is extruded upward, apply a total twist of 180 degrees. Divide this extrusion into 250 discrete slices to define the outer f...
twist=180; steps=250; height=100; width=100; depth=4; function width_fix(x) = (x/1.41421); function inner_width_fix(i) = (i/1.41421); if (height>200){ if ((twist>320) && (twist<755) && (steps<10)){ difference(){ linear_extrude(height, twist=twist, slices=5*1.5){ sq...
glb/cad_fe2ee41a6bde.glb
Create a Card Sorting Tray Tower. Start by constructing a main outer box with a total width of 146mm, a length of 233mm, and a height of 94mm. The walls of this box should be 2mm thick. Hollow out the center to create an inner cavity with a width of 142mm, a length of 237mm, and a height of 92mm, leaving the top open. ...
include <Chamfers-for-OpenSCAD/Chamfer.scad>; card_width = 70; card_heigth = 92; card_thickness = 0.8; card_qty = 75; card_stack = card_thickness * card_qty; card_sticking_out = 20; outside_wall_thickness = 2; num_rows = 3; num_columns = 2; divider_thickness = 2; top_adjust = 17; inner_width = card_width * num_colu...
glb/cad_e0b696d4bcfa.glb
Create a personalized bag tag by starting with a base plate 47mm wide, 25mm high, and 1.5mm thick. The plate should have fully rounded ends, formed by semicircles with a radius of 12.5mm. Centered on top of this base, add a raised border 1mm thick and 1mm wide that follows the outer perimeter, leaving a small gap to cr...
$fa = 1; $fs = 0.5; width = 47; height = 25; tag_text = "Peter"; text_size = 13; base_thickness = 1.5; text_extr = 0.8; border_extr = 1; border_thick = 1; hole_dia = 3; hole_off = 4.5; module make_plate(wd, ht, th) { union(){ cube([wd, ht, th], true); translate([-wd/2,0,0]) cylinder(th, ht/2, ht/2, true); ...
glb/cad_a3423c302172.glb
Create a sponge holder by starting with a solid rectangular block measuring 40mm wide, 120mm deep, and 75mm high. Hollow out the center to create an open-top bin with walls 5mm thick, leaving the bottom base 5mm thick. On the exterior of one of the long side walls, center the word "Recurvit" as a raised 3D text eleme...
e=5; n=6; translate([-50,0,0]) difference() { cube([30+e*2,120,70+e]); translate([e,0,e]) cube([30,120,70]); for (i=[1:1:n]) { translate([(30+e*2)/2,(120-n)/n*i-e,0]) cylinder(r=(e-1),h=e); } translate([(30+e*2)-1,60,15]) rotate ([90,0,90]) linear_extrude(1) text("\u00ad",size=...
glb/cad_f0b777f32a6e.glb
Create a resizable tool organizer consisting of a flat rectangular base and a series of semi-cylindrical holders. Start by creating a base plate that is 20mm wide, 20mm deep, and 2mm thick. On this base, place a series of holders spaced 20mm apart from center to center. Each holder is formed by creating a cylinder with...
$fa = 1; $fs = 0.4; module part(size = 10, pos = 0) { difference() { translate([pos * 20 + 10, 0, 2 + size / 2]) rotate([90, 90, 0]) cylinder(10, size / 2 + 2, size / 2 + 2); translate([pos * 20 + 10, 0, 2 + size / 2]) rotate([90, 90, 0]) cyl...
glb/cad_e12d74978c5d.glb
Create a resizable box organizer with a total height of 50mm. The main body is a square prism with rounded corners of 3mm, based on a radius of 20mm. The walls are 2mm thick, leaving an interior cavity that starts 2mm from the base. The top of the organizer features a lid section 5mm thick, starting at a height of 43m...
$fa = 1; $fs = 0.4; height = 50; radius = 20; side = 4; corner_rad = 3; open = 1; module rounded_ngon(num, r, rounding = 0) { function v(a) = let (d = 360/num, v = floor((a+d/2)/d)*d) (r-rounding) * [cos(v), sin(v)]; polygon([for (a=[0:360-1]) v(a) + rounding*[cos(a),sin(a)]]); } module box() { difference() ...
glb/cad_e1b09cbe6b61.glb
Create a resizable box organizer by constructing a hollowed-out square prism with rounded corners. Start with a solid square base that has a total height of 50mm and a radius of 20mm, applying a corner rounding radius of 3mm to the exterior. Hollow out the center of this shape by removing a smaller square prism from th...
$fa = 1; $fs = 0.4; height = 50; radius = 20; side = 4; corner_rad = 3; module rounded_ngon(num, r, rounding = 0) { function v(a) = let (d = 360/num, v = floor((a+d/2)/d)*d) (r-rounding) * [cos(v), sin(v)]; polygon([for (a=[0:360-1]) v(a) + rounding*[cos(a),sin(a)]]); } difference() { linear_extrude(height =...
glb/cad_9beda85460bc.glb
Create a resizable box organizer by starting with a solid rectangular base measuring 48mm in width, 48mm in depth, and 5mm in height. Within this base, carve out four identical holes arranged in a 2x2 grid. Each hole must be a rounded square prism with a height of 8mm, which will penetrate through the top of the base. ...
$fa = 1; $fs = 0.4; radius = 20; side = 4; corner_rad = 3; Xsize = 2; Ysize = 2; front = 0; module rounded_ngon(num, r, rounding = 0) { function v(a) = let (d = 360/num, v = floor((a+d/2)/d)*d) (r-rounding) * [cos(v), sin(v)]; polygon([for (a=[0:360-1]) v(a) + rounding*[cos(a),sin(a)]]); } module hole() { li...
glb/cad_d1d6cb686063.glb
Create a resizable box organizer by constructing a solid rectangular base and removing a grid of smaller rectangular holes. Start with a solid rectangular slab that is 5mm thick, with a total width of 140mm and a total depth of 110mm. Within this slab, carve out six identical rectangular openings arranged in a 3 by 2 g...
$fa = 1; $fs = 0.4; height = 50; Xsize = 40; Ysize = 40; front = 0; Xnum = 3; Ynum = 2; difference() { cube([(Xsize + 5) * Xnum + 5, (Ysize + 5) * Ynum + 5, 5]); for (i=[0: Xnum -1]) for (j=[0: Ynum -1]) translate([5 + i * (Xsize + 5) + front, 5 + j * (Ysize + 5) + front, 0]) ...
glb/cad_dd3c19f04404.glb
Create a resizable box organizer with a total height of 50mm and a base footprint of 40mm by 40mm. Construct the main body as a hollow rectangular shell with a wall thickness of 2mm. The bottom section should be a solid base 2mm thick, with the interior cavity extending upwards to a height of 43mm. On the top surface...
$fa = 1; $fs = 0.4; height = 50; Xsize = 40; Ysize = 40; open = 0; module box() { difference() { cube([Xsize, Ysize, height - 7]); translate([2, 2, 2]) cube([Xsize - 4, Ysize - 4, height - 7]); } difference() { translate([1, 1, height - 7]) cube([Xsize - 2...
glb/cad_d69511263367.glb
Create a customizable hexagon-based desktop organizer consisting of a grid of hexagonal cells. Each cell is defined by an outer hexagon with a radius of 26mm and a wall thickness of 2mm. The entire structure sits on a shared base that is 2mm thick. The organizer is arranged in 4 columns and 4 rows. The height of each ...
radius = 26; base_height = 2; height_step = 25; walls_thickness = 2; rows = 4; cols = 4; height_map = " 2333444 233 22 "; label_enabled = false; label_text = "text"; label_font = "Liberation Sans:style=Bold"; label_size = 10; label_thickness = 0.5; label_col = 1; label_row = 0; distance = sqrt(3) / 2 * ra...
glb/cad_f981fdd1bb1a.glb
Create a customizable name tag starting with a rectangular base measuring 60mm wide, 40mm high, and 1mm thick. Apply a 2mm radius to all four corners to make them rounded. On the top surface of the base, add embossed text. For the primary line, use a bold sans-serif font at a size of 10mm with a thickness of 1mm, cen...
$fn=25; base_width = 60; base_height = 40; base_thickness = 1; t1enabled = true; t1text = "text"; t1font = "Liberation Sans:style=Bold"; t1size = 10; t1thickness = 1; t1halign = "center"; t1valign = "center"; t1hoffset = 0; t1voffset = 0; t2enabled = false; t2text = "text"; t2font = "Liberation Sans:styl...
glb/cad_ba470f963c25.glb
Create a charging station for a Xiaomi mini vacuum. Start with a main outer cylinder that has a diameter of 66mm (56mm plus 10mm total wall allowance) and a total height of 78mm (65mm plus 13mm deep base). Hollow out the center by removing a cylinder with a diameter of 56mm and a height of 78mm, starting from a base th...
D = 56; R = 11; H = 65; wall= 5; deep = 13; connector_r1=9/2; connector_l1=4; connector_l2=8; connector_h1 = 17; connector_w1 = 8; gap=0.2; module torus(r1,r2){ rotate_extrude($fn=400){ translate([r2,0]) circle(r=r1,$fn=40); } } module stand(){ difference(){ union(){ cylinder(r=D/2+wall,h=H+wall+deep,...
glb/cad_fad485edd006.glb
Create a case for a Sharp LQ092B5DW01 display. The main structure is a rectangular frame with an outer length of 252.5mm and an outer width of 57.33mm. The frame walls are 2mm thick. The case features a central rectangular cutout for the display bezel, measuring 234.5mm by 42.5mm. The depth of the outer frame is 33.8m...
frame_thickness = 2; screw_top_length = 7 + .5; screw_left_width = screw_top_length; screw_right_width = screw_top_length; screw_depth = 12; display_length = 242 + .5; echo("display_length: ", display_length); display_length_full = 248 + .5; echo("display_length_full: ", display_length_full); display_depth = 16.9;...
glb/cad_aa3933a1747e.glb
Create a Twindos refill funnel consisting of a wide hopper that transitions into a narrow vertical neck. Start by creating a rotationally symmetrical hopper with an outer diameter of 38mm at the top, tapering down to a base diameter of 11mm. The interior of the hopper should be hollowed out, tapering from an inner top ...
$fa = 12; $fs = 2; $fn = $preview ? 12 : 128; micron = 0.001; printMargin = 0.3; hop_bot = -40; hop_out = 38; hop_ins = hop_out - 2; hop_ins_main = 19.75/2; hop_ins_top = -2+1; out_out = 11; out_rid_out = 11 - 1.775; out_rid_in = 11 - 2.4; out_in = 11 - 2.5; out_base = 0; out_top = out_base + 20; out_rid_top = out...
glb/cad_905ce8ab2689.glb
Create an ADS-B Project Case consisting of a main hollowed rectangular body and a lid. The main body is a rounded cuboid measuring 235mm in length, 64mm in width, and 32mm in height, with a rounding radius of 1mm. Hollow out the center of this body with a cuboid measuring 231mm by 60mm by 30mm to create a shell. On th...
use <BOSL2/std.scad>; use <BOSL2/rounding.scad>; use <nutsnbolts/cyl_head_bolt.scad>; use <nutsnbolts/materials.scad>; screw_size="M4"; difference(){ union(){ translate([0,0,.5]) cuboid ([235,64,32], rounding=1, $fn=50); } union(){ translate([-120,0,-14]) cuboid([17,17,15]); translate([0,0,1]) cuboid ([231,60,30]); r...
glb/cad_966988a4d2fc.glb
Create an ADS-B Project Case lid by starting with a main rectangular body measuring 235mm by 64mm with a height of 4mm and 1mm rounding on the corners. Create a recessed central area by removing a smaller cuboid from the bottom, measuring 229.5mm by 58.5mm with a height of 3.5mm. Add six cylindrical mounting posts, ea...
use <BOSL2/std.scad>; use <BOSL2/rounding.scad>; use <nutsnbolts/cyl_head_bolt.scad>; use <nutsnbolts/materials.scad>; screw_size="M4"; difference(){ union(){ difference(){ translate([0,0,.5]) cuboid ([235,64,4], rounding=1, $fn=75); translate([0,0,-1]) cuboid ([235,64,1], rounding=0, $fn=75); } translate([0,27,-4]) ...
glb/cad_fcce23ad0fb9.glb
Create a parametric angled riser for a furniture foot. Start with a rectangular base block that has a width of 45.6mm (plus a 0.4mm fit allowance), a depth of 18.4mm (plus a 0.4mm fit allowance), and a height of 1.7mm. The walls of this base block should be 2mm thick, with the bottom center hollowed out to a depth of 1...
fit = 0.4; alpha = 2.2; stump_width = 45.6; stump_depth = 18.4; foot_height = 405 * sin(alpha); insert_thickness = 2.2; top_wall_thickness = 1.5; top_insertion_depth = 3; bottom_wall_thickness = 2; bottom_insertion_depth = insert_thickness - 0.5; eps = 0.001; $fa = 6; $fs = 0.2; base_width = (stump_width + fit...
glb/cad_0df3844b5613.glb
Create an aquarium airflow reducer consisting of two concentric cylindrical sections. First, construct a lower narrow cylinder with an outer diameter of 4.7mm and a height of 7.5mm. This lower section must be hollow, with a central bore diameter of 2.5mm running through its entire length. Directly on top of the lower ...
$fn=100; t=0.99; in_h = 7.5; in_r = 4.7; in_r2 = 2.5; big_h = 17.2; big_r = 12.5; big_r2=9.7; difference(){ union(){ translate([0,0,in_h/3]){ cylinder(2/3*in_h,in_r/2,in_r/2); }; cylinder(in_h/3,1.5*in_r2/2,in_r/2); translate([0,0,in_h]){ cylinder(big...
glb/cad_81120938897d.glb
Create a plissé mount consisting of two separate components. The first component is a rectangular base measuring 45mm in depth, 33mm in width, and 2.7mm in height. On top of this base, add a rectangular nose measuring 5mm in depth, 33mm in width, and 9mm in height. From this combined structure, remove three identical r...
board_width=33; board1_depth=45; board2_depth=12; board_height=2.7; nut_height=2; nose_height=9; nose_size=5; nut_size=5.5; screw_diameter=3; count=3; space=board_width/count-nut_size; step=space+nut_size; $fn=25; translate([0,board_width+10,0]) difference() { union() { cube([board1_depth,board_width,board...
glb/cad_aa8f501076a3.glb
Create a parametric bag clip consisting of two mirrored arms joined by a central hinge. Each arm is 50mm long, 10mm wide, and 6mm thick. The arms are connected by a cylindrical hinge axle with a diameter of 6mm. For the top arm, create a rectangular bar 50mm long and 6mm thick, with a cylindrical cutout for the axle. ...
len=50; width=10; th=12; clipGap=.4; latchTh=2; bump=2; cl=.2; module __Customizer_Limit__ () {} $fn=50; indent=min(width,th/2)/3*sqrt(2); module top() { difference() { union() { cylinder(d=th/2,h=width,center=true); translate([cl,-th/2,-width/2]) cube([len+th/2-cl,th/2-clipGap...
glb/cad_b09fe29f6114.glb
Create a game pawn for the Invisible Island board game. Start by creating a cylindrical base with a radius of 13.5mm and a height of 4mm. On top of this base, center a smaller cylinder with a radius of 4.5mm and a height of 8mm. Above this smaller cylinder, position a sphere with a radius of 9mm, centered so that its...
include <../defines.scad> include <../pawnBase.scad> depth = $depth - $fieldDepth - $pawnStandDepth + $pawnOverlay; radius = $fieldRadius - $pawnMargin; pawnBase(); cylinder(r1=radius, r2=radius/3, h=depth/3, $fn=64); translate([0, 0, depth/3]) resize([radius/3*2*2, radius/3*2*2, depth/3*2]) sphere(r=depth/3, $fn=64...
glb/cad_fdc8d7de0a87.glb
Create a totem marker for the Invisible Island board game. Start by creating a solid cylinder with a radius of 18mm and a height of 4mm, centered on the Z-axis and shifted down by 4mm. From this cylinder, remove a central core consisting of a smaller cylinder with a radius of 6mm and a height of 11mm, positioned to ext...
include <../defines.scad> depth = $depth - $fieldDepth - $totemRecess - $totemMarkerDepth; radius = $fieldRadius - $pawnMargin; inner = $fieldRadius - $totemMarkerMargin + $totemMargin; translate([0, 0, -$totemMarkerDepth]) { difference() { cylinder(r=radius, h=$totemMarkerDepth, $fn=64); intersection() { cylinder(r=...
glb/cad_4919c8ae7906.glb
Create a totem marker for the Invisible Island board game. Start by creating a main cylindrical base with a radius of 19mm and a height of 2mm, using a resolution of 64 facets. From this base, remove a central cylindrical core with a radius of 17mm to create a ring. Within this ring, carve out three identical rectang...
include <../defines.scad> depth = $depth - $fieldDepth - $totemRecess - $totemMarkerDepth; radius = $fieldRadius - $pawnMargin; inner = $fieldRadius - $totemMarkerMargin + $totemMargin; translate([0, 0, -$totemMarkerDepth]) { difference() { cylinder(r=radius, h=$totemMarkerDepth, $fn=64); intersection() { cylinder(r=...
glb/cad_81d3f1641d77.glb
Create a totem marker for the Invisible Island board game. The object is a composite cylindrical shape with a total height of 10mm. Start by creating a base cylinder with a radius of 18mm and a height of 2mm. Position this base so its bottom is at Z = -2mm. Within this base, create a central recessed area by intersec...
include <../defines.scad> depth = $depth - $fieldDepth - $totemRecess - $totemMarkerDepth; radius = $fieldRadius - $pawnMargin; inner = $fieldRadius - $totemMarkerMargin + $totemMargin; translate([0, 0, -$totemMarkerDepth]) { difference() { cylinder(r=radius, h=$totemMarkerDepth, $fn=64); intersection() { cylinder(r=...
glb/cad_b944e44fd328.glb
Create a totem marker for the Invisible Island board game. Start by creating a primary cylinder with a radius of 18mm and a height of 2mm. From the bottom of this cylinder, remove a smaller concentric cylinder with a radius of 15mm and a height of 2mm to create a thin outer ring. Within the center of this ring, add a ...
include <../defines.scad> depth = $depth - $fieldDepth - $totemRecess - $totemMarkerDepth; radius = $fieldRadius - $pawnMargin; inner = $fieldRadius - $totemMarkerMargin + $totemMargin; translate([0, 0, -$totemMarkerDepth]) { difference() { cylinder(r=radius, h=$totemMarkerDepth, $fn=64); intersection() { cylinder(r=...
glb/cad_06bc1e6f027f.glb
Create a totem marker for the Invisible Island board game. Start by creating a solid cylinder with a radius of 14mm and a total height of 4mm. From this cylinder, remove a central core to create a recessed area. This void is formed by the intersection of a cylinder with a radius of 12mm and a sphere with a radius of ...
include <../defines.scad> depth = $depth - $fieldDepth - $totemRecess - $totemMarkerDepth; radius = $fieldRadius - $pawnMargin; inner = $fieldRadius - $totemMarkerMargin + $totemMargin; translate([0, 0, -$totemMarkerDepth]) { difference() { cylinder(r=radius, h=$totemMarkerDepth, $fn=64); intersection() { cylinder(r=...
glb/cad_2e6e7ebea521.glb
Create a totem marker for the Invisible Island board game. Start by creating a base cylinder with a radius of 14.5mm and a height of 2mm. From the bottom of this base, subtract a smaller cylinder with a radius of 13.5mm and a height of 2mm to create a thin outer ring. Centered on top of this ring, place a small cube w...
include <../defines.scad> depth = $depth - $fieldDepth - $totemRecess - $totemMarkerDepth; radius = $fieldRadius - $pawnMargin; inner = $fieldRadius - $totemMarkerMargin + $totemMargin; translate([0, 0, -$totemMarkerDepth]) { difference() { cylinder(r=radius, h=$totemMarkerDepth, $fn=64); intersection() { cylinder(r=...
glb/cad_ce4eee254061.glb
Create a small tactile token consisting of a rectangular base and a cylindrical top. Start by creating a rectangular prism with a width of 5mm, a height of 20mm, and a thickness of 5mm. On the top surface of this prism, center a cylinder with a radius of 5mm and a height of 5mm. This cylinder should be positioned so ...
include <../defines.scad> w = $tokenSize / 4; h = $tokenSize; d = $tokenSize / 4; module line(w, h, d) { translate([-w/2, -h/2, 0]) cube([w, h, d/2]); translate([0, 0, d/2]) resize([w, h, d]) rotate([-90, 0, 0]) cylinder(r=d, h=w, center=true, $fn=64); } translate([w/4/2, h/2, 0]) line(w/4, h-h/5/3, d); translate([w...
glb/cad_7cc591c7ab29.glb
Create a heart-shaped token for the Invisible Island board game. The token is a stylized, rounded heart with a total width and depth of 10mm and a height of 4mm. To construct the main body, combine a central cube of 10mm x 10mm x 4mm with two intersecting cylinders, each with a diameter of 10mm and a height of 4mm; p...
include <../defines.scad> module heart() { resize([0, 0, $tokenSize/5]) resize([$tokenSize, 0, 0], auto=true) { x=2; y=10; minkowski() { union () { translate([y/2,0,0]) cylinder(x, d=y, center=true, $fn=64); translate([0,y/2,0]) cylinder(x, d=y, center=true, $fn=64); cube([y,y,x],true); } sphere(r=x/4, $fn=64); } ...
glb/cad_fec95a066a3b.glb
Create a small, flat token for the Invisible Island board game. Start by creating a rectangular base that is 20mm wide, 10mm deep, and 4mm high. On the top surface of this base, center a thin ring. This ring is formed by creating a cylinder with a diameter of 20mm and a height of 4mm, then removing a smaller concentr...
include <../defines.scad> cube([3, $tokenSize/2, $tokenSize/5]); translate([$tokenSize-3, 0, 0]) cube([3, $tokenSize/2, $tokenSize/5]); translate([$tokenSize/2, $tokenSize/2, 0]) intersection() { translate([-$tokenSize/2, 0, 0]) cube([$tokenSize, $tokenSize/2, $tokenSize/5]); difference() { cylinder(d=$tokenSize, h=$...
glb/cad_7a96e804d678.glb
Create a game pawn for the Invisible Island board game. Start by creating a base cylinder with a radius of 14mm and a height of 2mm. On top of this base, center a narrower cylinder with a radius of 4.67mm and a height of 7mm. Position a sphere with a radius of 3.5mm at a height of 3.5mm, but resize it along the Z-axi...
include <../defines.scad> include <../pawnBase.scad> depth = $depth - $fieldDepth - $pawnStandDepth + $pawnOverlay; radius = $fieldRadius - $pawnMargin; pawnBase(); cylinder(r1=radius, r2=radius/3, h=2, $fn=64); cylinder(r=radius/3, h=depth-3, $fn=64); translate([0, 0, depth/2]) resize([0, 0, depth-3]) sphere(r=rad...
glb/cad_8463a1fe4783.glb
Create a pawn for the Invisible Island board game. Start by constructing a wide, flat circular base with a radius of 18mm and a height of 2mm. From the center of this base, extend a narrow vertical cylinder with a radius of 6mm and a height of 4mm. On top of this narrow cylinder, place a sphere with a radius of 3.6mm....
include <../defines.scad> include <../pawnBase.scad> depth = $depth - $fieldDepth - $pawnStandDepth + $pawnOverlay; radius = $fieldRadius - $pawnMargin; pawnBase(); cylinder(r1=radius, r2=radius/3, h=2, $fn=64); cylinder(r=radius/3, h=depth/3*2, $fn=64); translate([0, 0, depth/4]) resize([0, 0, depth/2]) sphere(rad...
glb/cad_785aa4c84c1e.glb
Create a game pawn for the Invisible Island board game. Start by constructing a base as a cylinder with a radius of 14mm and a height of 4mm. On top of this base, add a smaller concentric cylinder with a radius of 3.5mm and a height of 11mm. Position a sphere with a radius of 2.8mm centered at a height of 8.67mm. With...
include <../defines.scad> include <../pawnBase.scad> depth = $depth - $fieldDepth - $pawnStandDepth + $pawnOverlay; radius = $fieldRadius - $pawnMargin; pawnBase(); cylinder(r1=radius, r2=radius/4, h=depth/4, $fn=64); cylinder(r=radius/4, h=depth-3, $fn=64); translate([0, 0, depth/3*2]) resize([0, 0, depth/3*2]) sp...
glb/cad_2bc14071d2ae.glb
Create a BTECH UV-50X2 radio mount consisting of two mirrored symmetrical brackets. For each bracket, start with a main rectangular block measuring 200mm x 30mm x 53mm. From this block, remove a central rectangular section of 202mm x 28mm x 41mm, offset by -4mm on the Y-axis. Create a series of cutouts along the leng...
use <BOSL2/std.scad>; difference(){ cuboid ([200,30,53]); union(){ translate([0,-4,0]) cuboid ([202,28,41]); hull(){ rotate([90,0,0]) translate([43,0,-15]) cylinder(6,d=4.75,$fn=70); rotate([90,0,0]) translate([37,0,-15]) cylinder(6,d=4.75,$fn=70); } hull(){ rotate([90,0,0]) translate([-7,0,-15]) cylinder(6,d=4.75,$fn...
glb/cad_86eb11f3b6fa.glb
Create a tea bag storage holder consisting of three identical side-by-side compartments. Each individual compartment is a hollowed-out rectangular shell with rounded corners and a radius of 2mm. The outer dimensions of each compartment are 73.6mm deep, 66.6mm wide, and 61mm high, with a wall thickness of 0.8mm. To for...
teabag_w=65; teabag_l=73; teabag_holder_h=60; depth=72; wall=.8; cutout=.15; rounded=2; compartments=3; holes=1; rotate([0,0,-90]) for (i=[0:compartments-1]) translate([0,(teabag_w+wall)*i,0]) oneholder(); module rounder(rounded) { rotate([0,-90,0]) translate([-rounded,-roun...
glb/cad_c7335eb52803.glb
Create a magnetic vice jaw protector by starting with a rectangular base measuring 78mm in length, 20mm in width, and 6mm in height. Attach a smaller rectangular ridge to the top of this base, measuring 78mm long, 3mm wide, and 11mm high, positioned along one long edge. To accommodate magnets, carve two cylindrical hol...
$fn = 100; difference() { union() { cube([78,20,6]); translate([0,0,6]){ cube([78,3,11]); } } translate([12.5,11,3]){ cylinder(3.01,7.5,7.5); } translate([65.5,11,3]){ cylinder(3.01,7.5,7.5); } for (i=[0:30]) translate([(5*i)-20,-1,-...
glb/cad_18d2b8aa5df1.glb
Create a Backpack Loop Protector by constructing a vertical, elongated sleeve with a hollow center. Start with a central vertical cylinder that has an inner diameter of 2.2mm and a height of 19mm. Surround this inner void with a wall thickness of 0.8mm to create the main body. To secure the protector, add a flat, oval-...
dia=2.2; t=0.8; w=3; h=19; $fn=32; module oval(dia, h, w) { hull() { cylinder(d=dia, h=h); translate([w, 0, 0]) cylinder(d=dia, h=h); } } difference() { union() { oval(dia+t*2, h+t+t, w); translate([0, 0, -t]) oval(dia+t*4, t, w); translate([0, 0, h+t+t]) oval(dia+t*4, t,...
glb/cad_ba38f428132a.glb
Create a Zoom H1 Microphone Stand by constructing a central mounting body and two supporting legs. Start with a main mount formed by the hull of a sphere with a diameter of 57.6mm and a second sphere with a diameter of 43.2mm positioned 76.2mm above the first. Rotate this entire assembly 35 degrees along the X-axis. A...
mic_angle=35; leg_angle=55+0; $fn=60+0; t=3+0; zw=36+0; zh=23.6+0; zl=3*25.4; overhang=zh-10; leg_dia1=10+0; leg_dia2=zw*1.6; leg_length=90+0; module mic_cutout() { union() { translate([t, t, t+0.1]) cube([zw, zh, zl*2]); translate([-0.1-zw, (zh+t*2)/2-overhang/2, t+0.1]) cube([zw*2, overhan...
glb/cad_8d7fdc731ddc.glb
Create a DJI Osmo Pocket Tripod Mount and Cover. The object is a protective housing with a flat base and a hollow interior to hold the camera gimbal. Construct the main body as a rectangular enclosure with a wall thickness of 2.4mm. The overall height of the clip section is 27mm. The interior cavity should be designed...
use <threads.scad> t=2.4; w=28.5; d1=21.3; d2=22.8; gimbal_d=24.3; gimbal_l=42; gimbal_w=39; shaft_diameter=21; clip_h=27; $fn=24; module clip() { translate([-w*0.8, t*0.2, 0]) cylinder(r=t*0.7, h=clip_h-5); hull () { translate([-w*0.8, t/2, 0]) cylinder(d=t, h=clip_h-5); translate([t/2, t/...
glb/cad_fa2f611aabc7.glb
Create a parametric plug and cap consisting of a wide base and a narrower stem. Start by creating a cylindrical base with a diameter of 14mm and a height of 2mm. On top of this base, add a second cylinder with a diameter of 10.2mm and a height of 6mm. To create a gripping texture, add 12 rectangular teeth around the pe...
id=10.2; plug_height=6; od=14; cap_height=2; t=1.5; tooth_width=1.3; tooth_protube=0.65; $fn=32; module plug() { difference() { union() { cylinder(d=od, h=cap_height); translate([0, 0, cap_height]) cylinder(d=id, h=plug_height); translate([0, 0, cap_height-tooth_width/2]) ...
glb/cad_08f308f49102.glb
Create a motor guard consisting of a thin circular disc with four protruding mounting posts. Start with a main cylinder that has a diameter of 18mm and a height of 3mm. On the top surface of this disc, place four cylindrical mounting posts arranged in a square pattern, each spaced 9mm apart from one another. Each of th...
spacing=9; m2_hole=3; m2_head=4.5; m2_length=7; frame=2; diameter=18; module screw() { cylinder(d=m2_hole, h=m2_length); } module screw_holes() { rotate([0, 0, 0]) translate([9/2, 0, 0]) screw(); rotate([0, 0, 90]) translate([9/2, 0, 0]) screw(); rotate([0, 0, 180]) translate([9/2, 0, 0]...
glb/cad_85ac0d38ecfd.glb
Create a Singer 834 sewing plate as a flat rectangular plate with a total width of 68.7mm, a total height of 32.3mm, and a thickness of 2.12mm. Round the corners of the main body: use a 15mm radius for the top corners and a 4.5mm radius for the bottom corners. Cut the following holes through the plate: - Three circ...
$fn=50; type = "universal"; total_width = 68.7; total_height = 32.3; small_height = 4.9; big_height=total_height-small_height; big_curv = [15,15]; small_curv = [4.5,4.5]; small_off = 6.4; height = 2.12; h2 = 1.5; b1 = [9.35,13.5,6.7]; b2 = [12.9,22.1,3.5]; b3 = [56,21.5,3]; slot1 = [30.1,16,2.55,26.5]; slot2 = [...
glb/cad_68f229eeac31.glb
Create a hammock attachment hook consisting of a flat rectangular base and a vertical hook element. The base is a rectangular plate measuring 62mm in length, 33mm in width, and 21mm in height. Centered along the length of this base, extend a vertical hook structure upwards. This hook is 13mm wide and 37mm tall, with a ...
$fn=50; module a(){ minkowski(){ translate([-6,2,15])cube([62,33,1]); cylinder(d=1,h=0.1); rotate([90,0,0])cylinder(d=1,h=0.1); rotate([0,90,0])cylinder(d=1,h=0.1);} minkowski(){ translate([-6,2,21])cube([62,33,1]); cylinder(d=1,h=0.1); rotate([90,0,0])cylinder(d=1,h=0.1); rotate([0,90,0])cylinder(d=1,h=0.1);} minko...
glb/cad_07e69ab0217c.glb
Create a hammock attachment hook consisting of a rectangular base and a vertical hook element. Start with a solid rectangular base measuring 62mm in length, 33mm in width, and 19mm in height. On one end of this base, centered along the width, extend a vertical rectangular column upwards to a total height of 56mm from t...
$fn=50; module a(){ minkowski(){ translate([-6,2,3])cube([62,33,1]); cylinder(d=1,h=0.1); rotate([90,0,0])cylinder(d=1,h=0.1); rotate([0,90,0])cylinder(d=1,h=0.1);} minkowski(){ translate([-6,2,9])cube([62,33,1]); cylinder(d=1,h=0.1); rotate([90,0,0])cylinder(d=1,h=0.1); rotate([0,90,0])cylinder(d=1,h=0.1);} minkowsk...
glb/cad_93a1bcda6d8b.glb
Create a parametric drain cap consisting of a hollow cylinder with an outer radius of 42mm and a total height of 50mm. The cylinder should have a wall thickness of 1mm, creating an inner void with a radius of 41.5mm that starts 2mm from the base. At the top of the cylinder, carve out three rectangular gaps to allow wat...
$fn=200; $outer_radius=42; $outer_height=50; $outer_wall=2; $gap_width=33; $gap_depth=90; $gap_height=15; $large_stud_width=5; $large_stud_height=$outer_height; $small_stud_width=$large_stud_width/2; $small_stud_height=30; $inner_radius=$outer_radius-($outer_wall/2); $inner_height=$outer_height-($outer_wall)+0.01;...
glb/cad_996cf6cb67cd.glb
Create two amplifier knob caps of different sizes. For each cap, construct a main cylindrical body with a height of 12mm. The first cap should have an outer diameter of 9mm and an inner bore diameter of 6.3mm. The second cap should have an outer diameter of 23.6mm and an inner bore diameter of 6.3mm. For both caps, cr...
$fn=200; difference() { union() { difference() { cylinder(12,4.5,4.5); translate([-5,3.15,0]) cube([10,4.5,12]); cylinder(12,3.15,3.15); } translate([-3.25,1.5,0]) cube([6.5,1.5,12]); } translate([-0.75,-4.5,0]) cube([1.5,9,7.4]); rotate([0,4,0...
glb/cad_db7e7c2dbcb8.glb
Create two amplifier knob caps of different sizes. For each cap, construct a main cylindrical body with a height of 12mm. The first cap should have an outer diameter of 9.2mm and the second a diameter of 6.5mm. For both caps, create a central vertical hole through the entire height with a diameter of 6.5mm for the la...
$fn=200; difference() { union() { difference() { cylinder(12,4.6,4.6); translate([-5,3.15,0]) cube([10,4.5,12]); cylinder(12,3.25,3.25); } translate([-3.25,1.5,0]) cube([6.5,1.5,12]); } translate([-0.75,-4.5,0]) cube([1.5,9,7.4]); rotate([0,4,0...
glb/cad_08c4ece0b573.glb
Create a replacement roller wheel by constructing a composite cylindrical shape. Start with a main outer cylinder that has a diameter of 10.8mm and a height of 4.6mm. Centered within this, add a second cylinder with a diameter of 5.4mm and a height of 9.5mm, but remove a smaller inner cylinder of the same 5.4mm diamete...
$fn=200; difference(){ union(){ cylinder(4.4, 4.6, 4.6); translate([0,0,1.5]) cylinder(2.7, 9.5, 9.5); translate([0,0,0.2]) difference(){ cylinder(5.4, 9.5, 9.5); cylinder(5.4, 8.5, 8.5); } } cylinder(4.4, 2.3, 2.3); }
glb/cad_39d49ebd5a19.glb
Create a set of game pieces for a Quarto board game. Each piece is based on a common foundation consisting of a base with a height of 14.3mm and a width of 3mm. Create four variations of solid pieces: a short square piece with a base of 15.9mm and a top of 12.8mm reaching a total height of 22.4mm; a tall square piece...
$fn=200; $nozzle_width=0.6; $sqare_base=15.9; $sqare_top=12.8; $square_mid=($sqare_base-$sqare_top)/2; $round_base=18.15/2; $round_top=14/2; $groove_width=3; $groove_height=14.3; $groove_depth=1; $top_offset=1.6; $short_height=24-$top_offset; $tall_height=36.2-$top_offset; $hole=10.3/2; $hole_depth=6.5; union(){...
glb/cad_a6311baf9537.glb
Create a Quarto game board by starting with a square base 165mm wide and 6mm thick, with all four corners rounded to a radius of 12mm. In the center of this base, carve out a circular recessed area with a diameter of 152mm and a depth of 2.6mm. Within this circular recess, create a 4x4 grid of 16 smaller circular holes...
$fn=200; $nozzle_width=0.6; $base=165; $height=6; $circle=152/2; $large_circle=157/2; $field= 24.5/2; $field_depth=2.6; $field_gap=28; $roundness=24/2; difference(){ translate([$roundness,$roundness,0]) hull() { cylinder($height, $roundness, $roundness, false); translate([$base-$roundness*2,0,...
glb/cad_dc0401739703.glb
Create a small funnel by constructing a hollowed conical shape with a cylindrical neck. Start by creating a solid outer body that transitions from a circular base with a radius of 26mm and a height of 2mm, tapering upward to a circular top with a radius of 4.85mm at a total height of 28mm. From this outer shell, remove...
$fn=200; difference(){ hull(){ cylinder(h=2, r=26, center=false); translate([0,0,26]) cylinder(h=1, r=4.85, center=false); } hull(){ cylinder(h=2, r=25.15, center=false); translate([0,0,26]) cylinder(h=1, r=4, center=false); } } difference(){ translate([0,0,27]) cylin...
glb/cad_50b0d94ff0a3.glb
Create a CANarchy Enclosure by starting with a main body that is a rounded rectangular prism. The body is formed by the intersection of a cube measuring 34mm by 21.1mm by 71.7mm and a hull created from two cylinders with a diameter of 21.1mm and a height of 71.7mm, positioned 24mm apart along the x-axis. From this mai...
l=29; w=16.1; height=67.7; module canarchy_board() { cube([l,w,height],center=true); translate([0,6,-(height/2)-4]) cube([14,10,10],center=true); translate([0,-50,35+5.5-15-13.5]) cube([25,100,15],center=true); translate([0,0,-17]) rotate([90,90,0]) hull() { translate([-10,0,50]) cylinder(d=...
glb/cad_6b246acacc10.glb
Create a handheld gaming system handle grip. Start with a main rectangular enclosure that has an outer width of 92.5mm (88.5mm plus 2mm walls on each side), a depth of 24.1mm (20.1mm plus 2mm walls on each side), and a height of 92mm (90mm plus 2mm base). Hollow out the center to create a slot for the device, leaving...
$fn=100; Game_Height = 90; Game_Width = 88.5; Game_Depth = 20.1; Wall_Thickness = 2; Lip_Size = 3; Ridge_Depth = 0.5; Ridge_Width = 5; Hole_Depth = 5; Hole_Width = 50; Handle_Rad1 = 20; Handle_Rad2 = 10; translate([0,0,Handle_Rad1]) union(){ difference(){ union(){ cube([Game_Width+Wall_Thickness*2,Game_Depth...
glb/cad_3b08921c641b.glb
Create a 6-point socket tool holder. Start with a main cylindrical body with a diameter of 39.8mm and a height of 15.4mm. At the center of this cylinder, create a vertical square hole that passes through the body. The square hole should have a side length of 6.55mm (including a 0.2mm tolerance) and be rotated 45 degr...
$fn = $preview ? 16 : 128; inch = 25.4; printer_tolerance = 0.2; max_overhang = 45; min_wall_thickness = 4; socket_inch = 0.25; socket_size = socket_inch * inch; socket_tol_size = socket_size + printer_tolerance; socket_tol_diag = socket_tol_size * sqrt(2); socket_cylinder_diam = socket_tol_diag + 2 * min_wall_thic...
glb/cad_cbf292872bab.glb
Create a sBITX keypad base by starting with a rectangular slab measuring 70mm in length, 60mm in width, and 3.2mm in thickness. Along one 70mm edge, add a vertical wall that is 2mm wide and 9.2mm high. On the side opposite this wall, extend a small rectangular block measuring 6mm wide, 7mm high, and 3.2mm thick from th...
th=3.2; l=70; w=60; drop=6; hr1=3.4/2; hr2=3.1; hd=2.1; l1=l-7; w1=10+2; l2=l1; w2=30+2; mh=6; ml=12; mlw=3; mhw=mlw+4; $fn=90; difference(){ union(){ cube([l,w,th]); cube([l,2,th+drop]); translate([l-mh,-mhw,0]) cube([mh,mhw,th]); } translate([l1,w1,0]) cylinder(r=hr...
glb/cad_45fbd229b3ad.glb
Create a minimal protective case for an Aranet 4 sensor. Start with a solid cube measuring 75mm x 75mm x 26mm. Hollow out the center by removing a volume that starts 2mm from the bottom and sides, creating a cavity 71mm x 71mm x 25mm. The interior cavity should have rounded corners with a radius of 6mm. On the top fac...
$fa = 1.0; $fs = 0.1; x = 71.0; y = 71.0; z = 24.0; wall = 2.0; x_outer = x + 2 * wall; y_outer = y + 2 * wall; z_outer = z + wall; y_vent = 9.0 + wall; x_vent = 9.0 + wall; z_vent = wall; vent_size_y = 12.0; vent_size_z = 8.0; module aranet_profile(z){ x = 71.0; y = 71.0; radius = 6.0; x0 = radius...
glb/cad_44e923e22b3e.glb
Create a minimal protective case for an Aranet 4 sensor. Start by creating a solid square plate with a total width and depth of 75mm and a thickness of 2mm. The main body of the case is based on a 71mm square with 6mm rounded corners. Cut a square window through the center of the plate. This window should be 31mm wid...
$fa = 1.0; $fs = 0.1; x = 71.0; y = 71.0; z = 2.0; wall = 2.0; x_outer = x + 2 * wall; y_outer = y + 2 * wall; x_window = 20 + wall; y_window = 19 + wall; x_window_size = 71 - 40; y_window_size = 71 - 41; module aranet_profile(z){ x = 71.0; y = 71.0; radius = 6.0; x0 = radius; y0 = radius; x...
glb/cad_aa78268bc75a.glb
Create a mounting bracket for a shade by constructing a primary C-shaped clip. Start with a cylindrical outer shell with a diameter of 43.8mm and a wall thickness of 1.9mm. The clip should have a depth of 50mm, but the cylinder is partially open, forming a channel. Inside this channel, create a smaller concentric cylin...
bracket_diameter = 40; bracket_thickness = 1.9; bracket_depth = 50; slide_in = 2; screw_diameter = 4; $fn = 64; rotate([-90,0,90]) { difference () { translate([0,0,-bracket_thickness]) { cylinder( d = bracket_diameter + bracket_thickness * 2, h = bracket_thickness * 3 ); translate([-bracket_diam...
glb/cad_41cdf847a80e.glb
Create an epoxy mix bowl consisting of a tapered container and a mixing stick. For the container, create a hollow vessel with a wall thickness of 0.6mm. The base should be a circle with an outer diameter of 40mm and the top a circle with an outer diameter of 55mm. The total height of the vessel is 20mm. Both the interi...
FN = 90; S_THK = 1; S_W = 8; S_L = 60; C_THK = .6; C_FR = .2; C_H = 20; C_B_OD = 40; C_T_OD = 55; container(); module container() { difference() { hull() { rotate_extrude($fn=FN) translate([C_B_OD/2-C_FR,0,0]) circle(r=C_FR, $fn=FN); translate([0,0,C_H]) ...
glb/cad_0af0459fd508.glb
Create a dial indicator mount plate. Start with a central rectangular block 48mm wide, 3mm thick, and 80mm tall. Attached to the face of this block, center a slightly wider vertical plate that is 25.5mm wide at its center, tapering at the bottom to 12.75mm on each side, with the bottom edges extending to a total width ...
$fa = 1; $fs = 0.4; union() { translate(v = [-24, 0, 0]) { cube(size = [48, 3, 80]); } translate(v = [0, 0.01, 0]) { linear_extrude(height = 80) { polygon(points = [[-12.75, 0], [-14.75, -3.875], [-14.75, -5.75], [14.75, -5.875], [14.75, -3.75], [12.75, 0]]); } } translate(v = [5.575, 0, 0]) { translate...
glb/cad_456ca88f360a.glb
Create a wall hook by stacking a series of concentric cylinders along a central vertical axis. Start with a circular base 1mm thick with a radius of 10mm. Directly on top of this base, add a second cylinder 2mm thick that tapers inward from a 10mm radius to an 8mm radius. Centered on top of that, place a third cylinder...
$fn=200; $base_height=1; $base_bottom_radius=10; $base_top_radius=8; $hook_lenght=10; $hook_bottom_radius=5; $hook_top_radius=3; cylinder($base_height,$base_bottom_radius,$base_bottom_radius); translate ([0,0,$base_height]) cylinder($base_height*2,$base_bottom_radius,$base_top_radius); translate ([0,0,$base_height*3]...
glb/cad_4c9fb28f7251.glb
Create a battery compartment lock tab for a Tomy Racing Turbo car. Construct the main body by creating a hull between two cylinders: one with a diameter of 7.5mm and another with a diameter of 4mm, positioned 12mm apart along the x-axis. Give this body a height of 2.9mm and apply a 1mm fillet rounding to all edges. Cen...
$fn = 100; rounding = 1; difference() { minkowski() { hull() { cylinder(d=9.5-2*rounding, h=3.9-rounding); translate([12,0,0]) cylinder(d=6-2*rounding, h=3.9-rounding); } sphere(r=rounding); } translate([0,0,-500]) cube([1000,1000,1000], center=true); cylinder(d=3, h=1000, center=true); translate([0,0,...
glb/cad_8d349d0bf23c.glb
Create a replacement ignition key for a toy car. Start with a base cylinder 7.47mm in diameter and 9.5mm high. On top of this base, add a second cylinder with a diameter of 10.78mm and a height of 1.51mm. Above that, add a third cylinder with a diameter of 13.24mm and a height of 1.75mm. On top of the third cylinder, p...
$fn = 100; difference() { union() { intersection() { cylinder(d=7.47, h=9.5); cube([6.3,10000,1000], center=true); } translate([0,0,9.5]) { intersection() { translate([0,0,4.9/2]) union() { cube([1.6, 7.47, 4.9], cente...
glb/cad_14a3c903d47d.glb
Create a phone holder mount by constructing a hollowed-out geometric shell. Start with a main outer body consisting of a truncated cone that is 23mm tall, tapering from a 25mm diameter base to a 18mm diameter top. Attach a thin cylindrical flange to the bottom of this cone with a height of 3.5mm and a diameter of 29mm....
$fn = 100; difference() { union() { PinHolder(); } Pin(); } module PinHolder() { dx = 5; difference() { union() { cylinder(h=23+dx, d1=20+dx, d2=13+dx, center=false); translate([0, 0, 22]) sphere(d=13.15+dx*1.65); ...
glb/cad_431d3215b4ff.glb
Create a phone holder mount by starting with a base shape formed from the convex hull of a 30mm diameter sphere centered at (25, 0, 40) and a rectangular block measuring 40mm x 80mm x 10mm positioned at (10, -40, 0). From this main body, remove a central vertical core consisting of a cylinder with a 25mm base diamete...
$fn = 100; Connector(); %translate([-16.69, -155/2, 0]) mobile(); module Connector() { difference() { union() { hull() { translate([25, 0, 40]) sphere(d=30); translate([10, -40, 0]) cube([40, 8...
glb/cad_4ca393f5da8f.glb
Create a French Cleat bracket with a total width of 150mm, a height of 18mm, and a depth of 18mm. The main body is a rectangular block, but one of its long side faces is sliced diagonally from the top edge to the bottom edge across the width, creating a wedge-shaped profile. On the top flat surface, place two screw ho...
french_cleat_x=150; french_cleat_yz=18; screw_holes_distance=75; screw_holes_distance_from_border_x=(french_cleat_x-screw_holes_distance)/2; FLARE="flare"; NUT="nut"; CYLINDER="cylinder"; screw_radius=2.5; screw_head=true; screw_head_outside=true; head_type=FLARE; head_radius=5; head_height=3.5; module prism(x, ...
glb/cad_b3d7667e1df6.glb
Create a customizable card box flip consisting of two mirrored halves: an inside base and an outside lid. For the inside base, create a rounded rectangular shell with an interior cavity of 66mm width, 20mm depth, and 91mm height. The walls should be 2.4mm thick with a fillet radius of 1.6mm on the exterior corners. R...
width = 66; depth = 20; height = 91; wall = 2.4; fillet = 1.6; hingeRadius = 1.1; clearance = 0.5; slantedOutside = false; $fs = 0.2; $fa = 2; depthTwo = (depth + (2*wall) + clearance); inside(0,0,0); outside(0,(depth + (2 * wall) + 5),0); module inside(iX, iY, iZ) { translate([iX, iY, iZ]) union() { ...
glb/cad_5f29bfc0851c.glb
Create a protective enclosure for a portable hard drive consisting of a bottom box and a top cover. The bottom box is a rounded rectangular shell with outer dimensions of approximately 87.2mm in width, 125.2mm in length, and a height of 22.4mm. The walls are 2mm thick with 4mm rounded corners. The interior is hollowe...
part = "both"; nozzle_size = 0.4; number_of_walls = 5; tolerance = 0.2; hook_thickness = 6*nozzle_size; snap_hold_tolerance = 0.25; bevel_offset = 1.4; object_length = 117.0 - 0.1; object_width = 80.0 - 0.1; object_thickness = 20.0 - snap_hold_tolerance; object_thickness = 14.8 - snap_hold_tolerance - bevel_offs...
glb/cad_4a2cca2bcea6.glb
Create a Synoshi adapter for Bosch cleaning pads starting with a base cylinder 60mm in diameter and 7mm high. Atop this base, add a second cylinder 51mm in diameter and 14mm high. Hollow out this upper cylinder with a central hole 46.5mm in diameter and 14mm deep. Inside this upper section, create a hexagonal core 32...
union(){ cylinder($fn=90,h=7,d=60); translate([0,0,7]) union(){ difference(){ cylinder($fn=90,h=14,d=51,center=false); cylinder($fn=90,h=14.1,d=46.5,center=false); } difference(){ union(){ cylinder($fn=6,h=14,d=32.4+3.3,center=false); translate([0,0,...
glb/cad_cc9b99a71fcb.glb
Create a Synoshi adapter for a Bosch detail brush. Start with a base consisting of a square block 24.3mm by 25.3mm with a height of 13mm, centered on the origin. Remove a central square column 16.35mm wide and 13.1mm high from this block. Below this block, add a hollow cylinder with an outer diameter of 30mm and an inn...
union(){ difference(){ translate([0,0,-6.5]) cube([24.3,25.3,13],center= true); translate([0,0,-6.5]) cube([16.35,16.35,13.1],center= true); translate([0,0,-13]) difference(){ cylinder(h=13.1,d=30,center=false); cylinder(h=13.1,d=24.5,center=false); } translate([0...
glb/cad_d71de99c77a7.glb
Create a Puzzle Gift consisting of a hollow cylindrical box and an internal maze mechanism. The overall external cube dimensions are 100mm. Construct the main box as a cylinder with an outer diameter of 42.5mm and a height of 66mm. The box is split into an upper and lower half. The interior of these halves features a ...
part = "core"; gen=undef; scl = 1000; cube_w_ = 100; cube_w = cube_w_*scl; core_h_=66; core_h=scl*core_h_; core_h2 = (cube_w-core_h)/2; pegs=2; outer_d_ = 42.5; outer_d = scl*outer_d_; wall_ = 3.1; wall = scl*wall_; Negative = 0; draft = 1; hollow = 0; section = 0; spring_d_ = 4.5; spring_d = scl*spring_d_; ...
glb/cad_7abaa1871ec3.glb
Create a tool tray mounting bracket consisting of a main C-shaped claw. Start with a solid rectangular block that is 15.3mm wide, 56mm deep, and 23mm high. From this block, remove a central rectangular core measuring 9.3mm wide, 50mm deep, and 23mm high, positioned so that a wall thickness of 3mm remains on the sides a...
Ueberlp = 0.1; Bdick = 3; Wand = 2; MKbreit = 50; MKdick= 9.3; Khoehe = 20+Bdick; Auflaglang = 105; KleberR=14; Tiefe= Khoehe; NipplR = 2.2; module Klaue(){ difference (){ color("orchid") cube([MKdick+Bdick, MKbreit+3*Wand, Khoehe]); echo("Klaue",MKbreit+3*Wand); color("pink") translate ([-Ueberlp, Wand, -Ueberlp]) ...
glb/cad_a5dd08255a92.glb
Create a tool tray support consisting of a single rectangular prism. The prism must have a square base measuring 9.9mm by 9.9mm and a total height of 30.1mm.
Ueberlp=0.1; Stuetz_xy=10-Ueberlp; Stuetz_z=30+Ueberlp; cube([Stuetz_xy,Stuetz_xy,Stuetz_z]);
glb/cad_5d4a42f8de47.glb
Create a tool tray module for a glue stick. Start by creating a solid cube with a side length of 30mm and a height of 23mm. From the top face of this cube, remove a cylindrical hole with a radius of 14mm and a depth of 20mm, leaving a solid base thickness of 3mm at the bottom. Center the hole such that there is a wall ...
Ueberlp = 0.1; Bdick = 3; Wand = 2; MKbreit = 50; MKdick= 9.3; Khoehe = 20; Auflaglang = 105; KleberR=14; Tiefe= Khoehe; NipplR = 2.2; module Kleber(){ difference (){ cube([2*KleberR+Wand, 2*KleberR+Wand, Tiefe+Bdick]); echo("Kleberbreite=",2*KleberR+Wand); translate([KleberR+Wand/2,KleberR+Wand/2,Bdick]) cylinde...
glb/cad_0446bbc39712.glb
Create a tool tray for an extruder bridge by constructing a solid cube with a side length of 57mm and a total height of 23mm. Inside this cube, carve out a centered cylindrical hole with a diameter of 53mm and a depth of 20mm, leaving a solid base thickness of 3mm at the bottom. The walls of the resulting container sho...
Ueberlp = 0.1; Luft=1; Bdick = 3; Wand = 2; MKbreit = 50; MKdick= 9.3; Khoehe = 20; Auflaglang = 105; IsopropD=53; Tiefe= Khoehe; NipplR = 2.2; IsopropWuerfel=[IsopropD+2*Wand,IsopropD+2*Wand, Khoehe+Bdick]; echo("Isopropbreite=",IsopropWuerfel); module Isopropanol(){ difference(Isoprop){ cube(IsopropWuerfel, false);...
glb/cad_96ffe181c638.glb
Create a tool tray for a 3D printer extruder bridge. Start by constructing a solid rectangular block with a total width of 146mm, a depth of 70mm, and a height of 23mm. From this block, carve out a central rectangular cavity to create the tray. The walls and the floor of the tray should each have a thickness of 3mm. ...
Schraeg= 10; BasisB=50; Hoehe=20; Lunt=120; Rand= 3; Boden=3; Ueberlp=0.1; AblageT=Rand+Schraeg+BasisB+Schraeg+Rand; module Kern(){ CubePoints = [ [Schraeg,Schraeg,0], [Schraeg+Lunt,Schraeg,0], [Schraeg+Lunt,Schraeg+BasisB,0], [Schraeg,Schraeg+BasisB,0], [0,0,Hoehe], [Schraeg+Lunt+Schraeg,0,Hoehe], [Sc...
glb/cad_5c99f5636828.glb
Create a tool tray called the MK4s-Werkzeugablage. Start with a rectangular base block measuring 177mm in length, 11mm in width, and 23mm in height. From this base, remove several geometric volumes to create specialized slots. First, carve out a rectangular section for a handle, measuring 28mm by 8mm by 7mm, position...
Ueberlp = 0.1; Bdick = 3; Wand = 2; MKbreit = 50; MKdick= 9.3; Khoehe = 20; KleberR=14; Tiefe= Khoehe; NipplR = 2.2; IsopropD=52; IsopropWuerfel=IsopropD+2*Wand; Schraeg= 10; BasisB=50; Hoehe=20; Lunt=120; Rand= 3; Boden=3; AblageT=2*(Rand+Schraeg)+BasisB; AblageL=2*(Rand+Schraeg)+Lunt; BuerstBreite=23; SchlitzL=A...
glb/cad_1ca75654bd84.glb
Create a plier holder consisting of a rectangular base and an attached cylindrical stopper. Start by creating a rectangular block with a length of 11mm, a width of 2mm, and a height of 20mm. At the end of this block, add a vertical cylinder with a diameter of 4mm and a height of 20mm. Position the cylinder so that its ...
Ueberlp=0.3; ZHdick=2; ZHhoch=20; ZHlang= 11; ZH_StopperD=4; Stopper_x=ZHlang+ZH_StopperD/2-Ueberlp; Stopper_y=ZHdick/2; Stopper_z=0; module Zangenreiter() { cube( [ZHlang,ZHdick,ZHhoch]); translate([Stopper_x, Stopper_y,Stopper_z]) cylinder(h=ZHhoch, d=ZH_StopperD);} Zangenreiter();
glb/cad_ae2b1da97f6f.glb
Create a brush holder tool tray by constructing a hollow rectangular box. Start with a solid outer cube measuring 27mm in width, 20mm in depth, and 23mm in height. From the top face, remove a smaller rectangular volume to create the interior cavity, leaving a wall thickness of 2mm on all sides and a base thickness of 3...
Ueberlp = 0.1; Bdick = 3; Wand = 2; MKbreit = 50; MKdick= 9.3; Khoehe = 20; Auflaglang = 105; KleberR=14; Tiefe= Khoehe; NipplR = 2.2; BuerstBreite=15; BuerstTiefe=12; module Buerste(){ difference(){ cube( [27,20,20+Bdick], true); cube([BuerstBreite, BuerstTiefe,20+Bdick+2*Ueberlp],true);}} Buerste();
glb/cad_194a45b84902.glb
Create a hexagonal flange for a tool tray. Construct a regular hexagonal prism with a height of 10mm. The distance from one flat side to the opposite parallel side must be exactly 12mm. Ensure the geometry is a sharp-edged six-sided polygon rather than a smooth cylinder.
Flansch_Hoehe=10; seiten_abstand = 12; hoehe = 10; radius = seiten_abstand / sqrt(3); module 6eck(){ rotate([90,0,0]) cylinder($fn=6,Flansch_Hoehe,r=radius);} 6eck();
glb/cad_94a38b62a21b.glb
Create a tool tray anchor point consisting of a hollowed-out cube. Start by creating a solid cube with dimensions of 16mm in width, 16mm in depth, and a total height of 12.9mm. From the top face of this cube, remove a hexagonal prism to create a hole. This hexagonal cutout should have a radius of 7mm and a depth of 10....
Ueberlp=0.1; Boden_dick=3; 6eck_r=7; 6eck_tief=10+Ueberlp; 6eck_Z=Boden_dick; Huelse_Aussen_x=16; Huelse_Aussen_y=16; Huelse_Aussen_Z=Boden_dick+6eck_tief-Ueberlp; Huelse_X=-Huelse_Aussen_x/2; Huelse_Y=-Huelse_Aussen_y/2; Huelse_Z=0; difference(){ translate([Huelse_X,Huelse_Y,Huelse_Z]) cube([Huelse_Aussen_x,Huelse...
glb/cad_bba9c7280c98.glb
Create a Penrose tiling coaster with a height of 3mm. The design is based on a polar arrangement of aperiodic Penrose tiles centered around a middle point. Construct the pattern using a 5-fold rotational symmetry, where the tiling is mirrored across the Y-axis to create a balanced, circular overall shape. The geometr...
recursion=4; divisor=5; wall=0.5; PHI=1.618; l=50; animation=false; seed=42; wire=true; h=3; ratio=animation?PHI+ 0.3 + sin(360*$t)* 0.5: PHI; function GR(a,b)=a+(b-a)/ratio; a=[0, +0 ]; angle= 360 / (divisor*4); b=a + [sin( angle), cos( angle)] * l; c=a + [sin(-angle), cos(-angle)] * l; diff...
glb/cad_1b2727d23a21.glb
Create a parametric tablet socket stand consisting of a rectangular base and a device socket. Start with a rectangular base 194mm wide, 125mm deep, and 3mm thick. At each of the four corners, add a cylindrical mounting hole with a diameter of 3.2mm, indented 5mm from the edges. Along the front edge of the base, add a...
render_socket_part = true; render_brace_part = true; socket_y_indent = 10; socket_gap_x_size = 184; socket_gap_y_size = 20; socket_z_height = 17; socket_z_height_extra_for_back = 25; socket_z_height_extra_for_front = 0; socket_z_height_extra_for_left = 0; socket_z_height_extra_for_right = 0; socket_wall_thi...
glb/cad_56816549502a.glb
Create a cylindrical container with an outer diameter of 35mm and a height of 25mm. Hollow out the center by removing a cylinder with a 30mm diameter starting from a height of 5mm, leaving a 5mm thick base. Inside the remaining central core, create a complex inner geometry by placing a 10mm diameter cylinder with a h...
$fn=60; module engrave_text (text_to_engrave, diam, height){ num_chars = len(text_to_engrave); angle_per_char = 15; for (i=[0:num_chars-1]){ rotate([0,0,i*-angle_per_char]) { translate ([diam/2-2,0,height/2-5]) { rotate([90,0,90]) { linear_extrude(height=2) { text(tex...
glb/cad_dc49b2c92b99.glb
Create a 5050 LED Strip track with a total length of 200mm, an overall height of 6mm, and a base width of 16.1mm (10.1mm internal width plus two 3mm walls). The track consists of a flat rectangular base 3mm thick, with two vertical side walls 3mm thick and 3mm high, creating a U-shaped channel to hold the LED strip. A...
width=10.1; thickness=0.6; walls=3; heigth=6; length=200; corner_length=12.7; endcap_length=25.4; screw_size=1; cover_length=3; tool_length=25.4; tool_heigth=heigth*2; show_part=1; interlocks=true; caps=true; screw_holes=false; if(show_part==1) { difference(){ difference(){ track(length); ...
glb/cad_ea07c616e550.glb