Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a venting valve consisting of a main housing and a separate plug. The housing is built around a central vertical axis. Start with a main cylinder 100mm tall with a 50mm diameter. Add a conical transition section from 40mm to 46mm in height that flares from a 50mm diameter to a 60mm diameter over 7mm. Above this,...
valve(); translate([0,0,-25]) sphere(r=20,$fn=180); translate([0,0,-95])plug(); module valve(){ difference(){ union(){ cylinder(100,d=50,true,$fn=99); translate([0,0,46]) cylinder(54,d=60,true,$fn=99); translate([0,0,40]) cylinder(7,d1=50,d2=60,true,$fn=99); ...
glb/cad_23eda3f07791.glb
Create a hitch ball ultrasonic cloaking cap. Start by constructing a solid base consisting of a cylinder with a diameter of 54mm and a height of 1mm. On top of this base, create a truncated cone that transitions from the 54mm base diameter down to a top diameter of 30mm over a height of 37mm. Enclose the top of this sh...
branding="Low-Z"; $fn=200; cap(); module cap(){ difference(){ hull(){ translate([0,0,35+2])cylinder(15,d1=54,d2=30,$fn=200); translate([0,0,0])cylinder(1,d=54,$fn=200); translate([0,47.5,0])cylinder(52,d=1); } hull(){ unio...
glb/cad_cdf51d22b000.glb
Create a case for a Greaseweazle V4.1 and a 3.5-inch floppy drive. Start by creating a main rectangular base plate measuring 95mm wide, 50mm deep, and 1.5mm thick. Center this plate on the X and Y axes. On the top surface of this plate, place four mounting holes for the PCB. These holes should be 3mm in diameter and ...
module gw_pos() { translate([-14.4, 190, 0]) children(); } module gw_holes() { for (y = [-1, 1]) { for (x = [-1, 1]) { translate([x*81/2, y*35/2-2.5]) children(); } } } module gw() { translate([0, 0, 6]) { color("darkgreen") difference() { cube([95, 50, ...
glb/cad_ba7e044c5172.glb
Create a protective case for a Greaseweazle V4.1 and a 3.5-inch floppy drive consisting of a top and bottom shell. The main body is a rectangular enclosure with outer dimensions of 150mm by 250mm and a height of 10mm. The walls are 2mm thick with 8mm rounded corners. For the bottom shell, create a base with a 1mm thic...
$fn=32; module mirrorkeep(x) { children(); mirror(x) children(); } module offset_diff(d) { difference() { offset(d[0]) children(); offset(d[1]) children(); } } module fill() { for (i = [-10:10]) { translate([0, i*30]) square([500, 1.2], center=true); } } module shell(...
glb/cad_bc60c9955156.glb
Create a splittable laser tube mount consisting of two symmetrical frame halves and two ring components. First, create a main frame block measuring 105mm x 105mm x 20mm. Hollow out the center with an 80mm x 80mm x 21mm cube. At each of the four corners, remove a 21mm cube rotated 45 degrees. Add four small 21mm cubes...
tube(); frame_top(); frame_bottom(); ring_top(); ring_bottom(); knurled2(); M3=6.4; M4=7.9; module frame(){ difference(){ cube([105,105,20], center=true); difference(){ cube([80,80,21], center=true); translate([42.5,42.5,0]) rotate([0,0,45]) cube([21,21,21],center=true); ...
glb/cad_1d648158830a.glb
Create a hard protective sleeve for an e-reader. The main body is a hollow rectangular shell with a wall thickness of 1.2mm. The outer dimensions of the sleeve are 167.1mm in length and 15.3mm in width, with rounded corners using a radius of 2.25mm. The interior cavity is designed to fit a device measuring 161.4mm by 9...
book_width = 114.75; book_length = 164.4; book_thickness = 12.8; book_corner = 1.5; case_thickness = 1.2; case_notch = 12; $fn=24; translate([0,0,book_width + 2*case_thickness]) rotate([180,0,0]) union() { translate([0,0,book_width + case_thickness]) linear_extrude(case_thickness) profile_...
glb/cad_47851d5372a5.glb
Create a narrow sanding block consisting of a main body, a grip, and two hexagonal nut caps. The main body is a hull created between two cylinders: one with a 3mm diameter and the other with a 6mm diameter, both spanning a width of 40mm and a length of 100mm. Subtract twenty triangular prisms (each with a 1.5mm diamete...
include <BOSL2/std.scad>; include <BOSL2/screws.scad>; include <BOSL2/threading.scad>; include <BOSL2/rounding.scad>; block_width=40; block_length=100; color ("Orange") block(); color ("Yellow") grip(); translate([block_length/4-10,0,6]) color ("Red") nut_cap(); translate([-block_length/4,0,6]) rotate([0,0,90]) color...
glb/cad_cf3d2191024d.glb
Create a smart meter D0 opto sensor case consisting of a lower housing and a matching upper lid. For the lower housing, create a main cylinder with a diameter of 32mm and a height of 5mm. From the center of the bottom face, remove a cylindrical recess with a diameter of 15mm and a depth of 2mm. Create two vertical cy...
$fn=100; translate([40,-3,27])upper(); lower(); module lower(){ union(){ difference(){ cylinder(5,d=32); translate([0,0,-0.1])cylinder(2,d=15); translate([3,0,-1])cylinder(10,d=5); translate([-3,0,-1])cylinder(10,d=5); rotate([0,0,210])translate([11,0,-0.1])cylinder(2.5,d=5.5); rotate([0,0...
glb/cad_a1491150be57.glb
Create a floral foam pin holder by constructing a hollowed cylindrical vessel with an outer diameter of 28mm and a total height of 21mm. The main body is a thin-walled tube with a wall thickness of 1mm, created by removing an inner cylinder of 26mm diameter from the center, leaving a solid base 1mm thick at the bottom....
$fa=0.5; $fs=0.5; fd = 28; id = fd - 2.0; hd = 21; pc = 4; rd = 360 / pc; br = 2.0; intersection() { union() { difference() { cylinder(d=fd,h=hd); translate([0,0,1.0]) cylinder(d=id,h=hd-2); translate([0,0,-0.25]) { cylinder(d=4, h=2); for (v = [0,90,18...
glb/cad_0e824aaf5cd9.glb
Create a facecloth hook designed to fit a 17mm diameter shower slide bar. Start by creating a main vertical cylinder with a diameter of 24mm and a height of 30mm. Remove a central vertical hole with a diameter of 17.5mm and a height of 50.1mm to allow the bar to pass through. To form the hook's gripping arms, add two i...
$fn=100; union(){ difference(){ union(){ cylinder(30,d=24); rotate([0,0,35])translate([0,-10,10])hook(); rotate([0,0,-35])translate([0,-10,10])hook(); } translate([0,0,-1])cylinder(50.1,d=17.5); translate([0,13.5,25])rotate([0,0,45])cube([25,25,55]...
glb/cad_382cc2474596.glb
Create a micro hook holder case. The main body is a rectangular block with rounded corners of 2mm radius. The overall dimensions are 33mm in height, 15mm in width, and a length determined by 9 slots spaced at a pitch of 5.3mm, totaling approximately 49.7mm in length. Across the top surface, create 9 identical cutouts ...
Size = 9; Product = "EZ-Hook XKM"; EZ_Hook_XKM = 2.35; Hantek_HT321 = 2.40; module hook_cutout() { opening_size_y = 4; opening_size_x = 3; difference() { union() { translate([0, 0, 33/2]) cube([4.5, 13, 35], center = true); } union() ...
glb/cad_e87521ef4bfe.glb
Create a base for a TinyTapeout demoboard by starting with a solid rectangular block measuring 99.5mm in width, 78mm in length, and 8mm in height. Round the four outer corners with a radius of 5mm. Carve out a central rectangular cavity to accommodate the PCB, leaving a perimeter wall. This cavity should be 1.6mm dee...
Screw_Type = "M2 with insert"; Height = 8; module pcb_base(width, length, pcb_thickness, corner_radius, height, mounting_hole_diameter) { difference() { union() { hull() { for(x = [-1, 1]) { for(y = [-1, 1]) ...
glb/cad_cc2c87d1e6f0.glb
Create a housing for a single-slot server power supply. Start by constructing a main sleeve with outer dimensions of 88mm width, 40mm depth, and 209mm height. The corners of this sleeve should be slightly rounded with a 1.5mm radius. Hollow out the center of the sleeve to create a bezel, leaving a wall thickness that a...
sleeve(); scale([0.995,0.995,0.995]) plate(); module psu(){ union(){ translate([-43.5,-19.5,0]) cube([87,39,190]); translate([-42,-11.5,0]) cube([84,3,200]); translate([-38,-22.4,0]) cube([41,3.5,27]); } } module sleeve(){ difference(){ minkowski(){ tran...
glb/cad_74d0c3078627.glb
Create a Modified Prusa i3 MK3 PSU cover. Start with a main base block measuring 95mm in width, 65mm in depth, and 54.25mm in height. From this base, remove a large central rectangular cutout measuring 89.02mm by 65.02mm with a height of 50mm to create the primary open cavity. On the front face, create a rectangular ...
module CubeAdjust(Xdim, Zdim) { for (x =[6:11.2:Xdim-12]) { for (z =[6:11.2:Zdim-12]) { translate([x,-0.2,z])cube([10,0.4,10]); } } } module nuttrap() { rotate([0, 180, 0]) difference() { union() { ...
glb/cad_0fceb4eb7c04.glb
Create a gear for the IKEA BLOMFLUGA with a total height of 10mm. The main body is a flat cylinder with a wavy outer perimeter defined by a sine wave. This perimeter should oscillate between a minimum diameter of 40mm and a maximum diameter of 55mm, completing 10 full wave cycles around the center. The resulting shape ...
$fn = 100; $height = 10; $d1 = 19; $d2 = 40; $d3 = 55; $amp = ($d3 - $d2) / 2 / 2; function fromPolar(radius, angle) = [ radius * cos(angle), radius * sin(angle), ]; difference() { linear_extrude(height = $height) polygon([ for (theta = [0 : 360]) fromPolar($d2 / 2 + $amp + $amp * sin(theta * 10), ...
glb/cad_49aea5400796.glb
Create a Christmas heart ornament with a total thickness of 10mm. The main body is a stylized heart shape constructed from a combination of a central cube and rounded circular elements. Start with a base cube measuring 69.5mm by 69.5mm by 10mm. To form the heart's lobes, add two cylinders with a radius of 15mm and a he...
Scale = 5; Stem = true; RibbonHole = false; StemHole = true; difference() { translate([7.5 * Scale,13.9 * Scale,0]) cylinder(2 * Scale,7.5 * Scale,7.5 * Scale); translate([7.5 * Scale,13.9 *Scale,-1 * Scale]) cylinder(4 * Scale,6.5 * Scale,6.5 *Scale); translate([0,0,-1]) cube([13.9 * Scale,1...
glb/cad_0380c82029f9.glb
Create a rectangular base plate measuring 100mm in length, 9mm in width, and 3mm in height. At each end of this plate, centered along the width, place a vertical cylinder with a radius of 3mm and a total height of 3mm. For the cylinder on the left side, create a hole through its center with a radius of 2.25mm that exte...
scale = 5; length = 20; difference() { cube([length * scale,1.8 * scale,0.60]); translate([.8 * scale,.9 * scale,0]) cylinder(2 * scale,0.45 * scale ,0.45 * scale); } difference() { translate([.8 * scale,.9 * scale,0]) cylinder(.6 * scale,0.57 * scale,0.57 * scale); translate([.8 * scale,.9 * scal...
glb/cad_71581bbb991c.glb
Create a glue bottle holder consisting of a tiered cylindrical base and a hollow upper socket. Start by creating a solid cylinder for the base with a diameter of 6.35mm and a height of 38.1mm. Centered on top of this base, add a wider cylinder with a diameter of 19.05mm and a height of 12.7mm. On top of that wider sect...
$fn=60; difference(){ union(){ cylinder(0.25*25.4,1.5*25.4,1.5*25.4); translate([0,0,0.25*25.4]) cylinder(0.75*25.4,0.75*25.4,0.5*25.4); translate([0,0,1*25.4]) cylinder(0.75*25.4,0.5*25.4,1.25*25.4); translate([0,0,1.75*25.4]) cylinder(0.75*25.4,1.25*25.4,1.25*25.4); } cylinder(1.8*25.4,0.375*25.4,0.375*2...
glb/cad_7a6d5b2f83d6.glb
Create a wall mount for a pair of pliers by starting with a solid rectangular block 20mm wide, 50mm long, and 10mm high, centered on the origin. From this main body, remove a central vertical slot and a series of cutouts to create a cradle. First, carve out a cylinder with a 25mm diameter and 10mm height, centered at t...
$fn=100; Bb = 10; mT = 5; hH = 10; r1=5; r2=0.5; difference(){ cube([Bb*2,50,hH],true); translate([0,-10,hH])rotate([45,0,0])rotate([0,90,0])union(){ cylinder(d=25,h=Bb,center=true); translate([7.5,20,0])cube([10,40,Bb],true); cube([40,75,7],true); } translate([0,-26.5,0])rotat...
glb/cad_29bbe139a7ab.glb
Create a parametric cable tag by starting with a rectangular base block that is 5mm high and 20mm wide. Centered within this block, create a horizontal cylindrical void with a diameter of 3mm that runs through the entire 20mm width of the tag. Surround this inner void with a concentric cylindrical shell that has an out...
$fn=40; wire_diam=3; wrap_thickness=0.8; label_width=20; label_height=5; difference() { union() { linear_extrude(label_height/2,scale=[0,1]) square([label_height,label_width],center=true); translate([0,0,wire_diam/2+.4]) rotate([90,0,0]) cylinder(label_width,d=wire_diam+2*wrap_thickness,center=true); } ...
glb/cad_6bb99754f603.glb
Create a snowflake-themed candle holder. Start with a central cylindrical sleeve that has an outer diameter of 24mm and a total height of 15.4mm. Create a hole through the center of this sleeve with a diameter of 21mm and a depth of 12.1mm, starting 3.4mm from the base. Surrounding the center, place six identical deco...
include <BOSL2/std.scad>; include <BOSL2/rounding.scad>; taper_size=21; color ("White") main (); module main(){ difference(){ cylinder(d=taper_size+3,15.4,$fn=100); translate([0,0,3.4]) cylinder (d=taper_size,12.1,$fn=100); } for (a=[0:60:360]){ difference(){ union(){ hull(){ translate([40*sin(a),40*cos(a),0]) cyli...
glb/cad_673d86120814.glb
Create a slimline wall-mounted pizza peel hook. Start with a rectangular backplate that is 50mm wide, 14mm thick, and 50mm high. Center two circular mounting holes through the backplate, each with a diameter of 4mm, positioned 15mm from the top and bottom edges respectively. At the bottom of the backplate, construct ...
intersection() { union() { difference() { translate([-25,0,0]) cube([50,14,50]); translate([-18,0,0]) cube([36,10,60]); translate([-30,3,7]) cube([60,8,60]); translate([-30,0,15]) cube([60,10,60]); translate([-25,7,7]) rotate([0,90,0]) cylinder(50...
glb/cad_74c344431191.glb
Create an OOBB Holder for N20 Gearmotor. Start by creating a square base plate with rounded corners, measuring 34mm by 34mm with a height of 12mm. The corners are formed by a hull of four cylinders, each with a radius of 5mm, positioned at the coordinates (±17, ±17). Remove several cylindrical holes from this base to...
$fn = 50; difference() { union() { hull() { translate(v = [-17.0000000000, 17.0000000000, 0]) { cylinder(h = 12, r = 5); } translate(v = [17.0000000000, 17.0000000000, 0]) { cylinder(h = 12, r = 5); } translate(v = [-17.0000000000, -17.0000000000, 0]) { cylinder(h = 12, r = 5); } tr...
glb/cad_fcafe9fb0b5a.glb
Create an OOBB Holder for N20 Gearmotor. Start by creating a base plate that is a rounded rectangle with a height of 3.7mm. The main body is formed by a hull connecting four cylinders of radius 5mm positioned at coordinates (±17, ±17, 0). Add a central rectangular cutout to accommodate the motor, defined by a hull of...
$fn = 50; difference() { union() { translate(v = [50, 0, 7.4000000000]) { rotate(a = [180, 0, 0]) { difference() { union() { hull() { translate(v = [-17.0000000000, 17.0000000000, 0]) { cylinder(h = 3.7000000000, r = 5); } translate(v = [17.0000000000, 17.0000000000, 0...
glb/cad_0afdbf036e7a.glb
Create an OOBB Holder for an N20 gearmotor. Start by constructing a solid block that is the convex hull of four cylinders, each with a radius of 5mm and a height of 30mm. These cylinders should be positioned at the corners of a rectangle centered on the origin, with coordinates at (±13.25, ±2, 0). From this solid, rem...
$fn = 50; difference() { union() { hull() { translate(v = [-13.2500000000, 2.0000000000, 0]) { cylinder(h = 30, r = 5); } translate(v = [13.2500000000, 2.0000000000, 0]) { cylinder(h = 30, r = 5); } translate(v = [-13.2500000000, -2.0000000000, 0]) { cylinder(h = 30, r = 5); } trans...
glb/cad_ec59f5454f06.glb
Create an OOBB Holder for an N20 gearmotor. Start by creating a solid base block that is the convex hull of four cylinders, each with a radius of 5mm and a height of 30mm. These cylinders should be positioned at the corners of a rectangle centered on the origin, with coordinates at (±17mm, ±2mm). From this solid base,...
$fn = 50; difference() { union() { hull() { translate(v = [-17.0000000000, 2.0000000000, 0]) { cylinder(h = 30, r = 5); } translate(v = [17.0000000000, 2.0000000000, 0]) { cylinder(h = 30, r = 5); } translate(v = [-17.0000000000, -2.0000000000, 0]) { cylinder(h = 30, r = 5); } trans...
glb/cad_1cbf3d831ca7.glb
Create an OOBB Holder for N20 Gearmotor. Start by creating a solid base block that is the convex hull of four cylinders, each with a radius of 5mm and a height of 12mm. These cylinders should be positioned at the corners of a rectangle centered on the origin, with coordinates at (+/-17mm, +/-2mm). From this base, remo...
$fn = 50; difference() { union() { hull() { translate(v = [-17.0000000000, 2.0000000000, 0]) { cylinder(h = 12, r = 5); } translate(v = [17.0000000000, 2.0000000000, 0]) { cylinder(h = 12, r = 5); } translate(v = [-17.0000000000, -2.0000000000, 0]) { cylinder(h = 12, r = 5); } trans...
glb/cad_5d701d27ad1b.glb
Create an OOBB Holder for an N20 gearmotor. Start by creating a base plate that is a convex hull connecting four cylinders, each with a radius of 5mm and a height of 12mm. These cylinders should be positioned at the corners of a rectangle centered on the origin, with coordinates at X = ±17mm and Y = ±2mm. From this ba...
$fn = 50; difference() { union() { hull() { translate(v = [-17.0000000000, 2.0000000000, 0]) { cylinder(h = 12, r = 5); } translate(v = [17.0000000000, 2.0000000000, 0]) { cylinder(h = 12, r = 5); } translate(v = [-17.0000000000, -2.0000000000, 0]) { cylinder(h = 12, r = 5); } trans...
glb/cad_49b453a73bd4.glb
Create an OOBB Holder for N20 Gearmotor by starting with a solid block that is the convex hull of four cylinders, each with a radius of 5mm and a height of 30mm, positioned at the corners of a 34mm by 34mm square (at coordinates [±17, ±17]). From this main body, remove several cylindrical holes to create mounting poi...
$fn = 50; difference() { union() { hull() { translate(v = [-17.0000000000, 17.0000000000, 0]) { cylinder(h = 30, r = 5); } translate(v = [17.0000000000, 17.0000000000, 0]) { cylinder(h = 30, r = 5); } translate(v = [-17.0000000000, -17.0000000000, 0]) { cylinder(h = 30, r = 5); } tr...
glb/cad_7ffaaba463b8.glb
Create a Dirty Dozen Puzzle consisting of a rectangular base with a total width of 36mm, a length of 78mm, and a uniform thickness of 6mm. From this solid block, carve out five rectangular slots to create a series of interlocking pieces. Each slot must have a height of 6.4mm and a width of 36.8mm, centered along the le...
unit=6; pad=0.4; offsets=[3, -1, 2, -2, -1, 3]; difference(){ cube([6*unit,13*unit,unit]); for(i=[0:5]) translate([offsets[i]*unit-pad, (2*i+1)*unit-pad/2, -unit/2 ]) cube([6*unit+2*pad,unit+pad,2*unit]); }
glb/cad_118f9ccef4da.glb
Create a decorative screw spacer with a total height of 15mm and a main body diameter of 21mm. The main form is a cylinder with a central vertical hole 6mm in diameter running through its length. Around the outer perimeter of the cylinder, integrate eight circular grips, each with a radius of 4mm, spaced evenly every 4...
$fn = 100; diameter=21; radius=diameter/2; height=15; hole_radius=3; top_fillet_radius=4; top_countersink_diameter=10.5; top_countersink_depth=0.2; num_grips = 8; grip_radius = 4; module grips() { for (angle = [0:360/num_grips:360]) { rotate(angle) translate([radius+3/4*grip_radius, 0, 0]) circle(r=...
glb/cad_c3ae0fc6934f.glb
Create a Parametric Finger Splint designed to immobilize two finger joints. The main body is a hollowed, tapered cylindrical shell with a rounded base. The interior cavity is defined by a conical void starting with a radius of 7.16mm at the base and expanding to a radius of 7.96mm at the top over a total height of 77mm...
$fn = 100; edge = true; first_gap = 1; second_gap = 2; circumference_tip_to_joint = 45; circumference_first_to_second = 50; tip_to_joint_length = 22; first_joint_to_second_joint_length = 30; second_joint_to_third = 25; curve_beg = 5; tip_to_joint_diamenter = circumference_tip_to_joint / PI + first_gap; first_joint_t...
glb/cad_7926022b52f6.glb
Create a Bed Frame Support consisting of a rectangular block with a hollowed center and integrated pins. The main body is a rectangular prism measuring 56.2mm in width, 11.7mm in height, and 30mm in depth, with a uniform wall thickness of 2mm. Remove a cylindrical notch from the top center of the block; this notch ha...
dblSided = false; separatorWallThick = 2; tableWidth = 52.2; tableHeight = 7.7; tableDeep = 30; notchRadius = 20; pinDiam = 6.5; pinDiam2 = 7.5; pinHeight = 1.5; pinCount = 3; pinGape = 0.5; pinIntercenter = 35.5; pinCenter = 12.5; wallThick=2; $fa = 1; $fs = 0.4; tableDeepReal = tableDeep + (dblSided?tab...
glb/cad_347f7aaee712.glb
Create a Customizable Ruler Stop by starting with a solid rectangular block measuring 38mm in length, 10mm in width, and 20mm in height. From this main body, remove a central rectangular section to create a slot for a ruler; this cutout should be 32mm long, 2mm wide, and 20mm deep, positioned 3mm from the front edge an...
Rheight = 32; Rthick = 2; Bdiam = 3; $fn = 50; difference(){ cube([Rheight + 6,10,20],false); translate([3,4,0]) union(){ cube([Rheight,Rthick,20],false); translate([(Rheight - (Rheight-8))/2,-5,0]) cube([Rheight - 8,5,20],false); } translate([0,5,...
glb/cad_1837299c2806.glb
Create a Spektrum DX5R Steering Wheel with a total diameter of 47mm and a thickness of 20mm. Start by creating a main cylinder of 47mm diameter and 20mm height. Hollow out the center of this cylinder with a smaller concentric cylinder of 45mm diameter, leaving a bottom face depth of 2mm. At the center of the base, cre...
$fn=256; hub_diameter=7; hub_radius=hub_diameter/2; axle_diameter=2.5; wheel_diameter=47; wheel_thickness=20; face_depth=2; hub_offset=5; speed_hole_diameter=11; stopper_offset=0; stopper_angle=18; stopper_radius=7; stopper_cutoff_diameter=29; module draw_hex(radius=6) { long_side=radius/sin(60); polygon...
glb/cad_3ac0a7e3f843.glb
Create a strike plate adapter for a door lock. Start with a rectangular base measuring 29mm wide, 172mm long, and 8mm thick. At the top right edge of this base, add a rounded extension that is 13mm wide, 53mm long, and 8mm thick, with the top and right edges fully rounded to a radius of 8mm. Remove a rectangular slot...
include <BOSL2/std.scad> screw_head_diameter = 8.10; screw_head_height = 4; screw_diameter = 1.6; thickness = 8; ramp = "rounded"; module screw_head() { union() { translate([0, 0, thickness-screw_head_height]) cylinder(h=screw_head_height, r1=screw_diameter, r2=screw_head_diameter / 2, $fn=64, center=fa...
glb/cad_519fa3dbde2d.glb
Create a CableSaver guide by starting with a rectangular base measuring 21mm in length, 28mm in width, and 3mm in height. At the center of this base, carve out a vertical slot that is 10mm wide and 20mm high, leaving a 9mm gap from the edge. Within the remaining structure, place five vertical decagonal prisms (10-sided...
CWIDTH = 10; GAP = 9; HEIGHT = 20; difference(){ cube([GAP,4,HEIGHT]); translate([04,0,HEIGHT/2])cube([1,2*CWIDTH+8,2]); } difference(){ translate([0,-0,0])cube([12+GAP,2*CWIDTH+8,3]); translate([0,CWIDTH+4,0])scale([1.4,1,1])cylinder(h= 50, r=CWIDTH);}; translate([2,4,0])cylinder($fn = 10,h= HEIGHT, r=(CWIDTH/5))...
glb/cad_19f7affdc326.glb
Create a Rada push-button shower button-pusher clip. Start with a main outer cylinder that has a diameter of 49mm and a total height of 62mm. Hollow out the center of this cylinder to create a wall thickness of 2mm. Inside this shell, create a primary cylindrical recess at the base with a diameter of 45mm and a heigh...
b_dia = 36.0; b_hei = 10.0; v_dia = 45.0; v_hei = 50.0; c_ext = 20.0; p_dia = 26.0; w_thi = 2.0; $fn=100; difference() { union() { translate([0, 0, 0]) cylinder(h=(v_hei+b_hei+w_thi), d=v_dia+w_thi+w_thi, center=false); } translate([0, 0, 0]) cylinder(h=v_hei, d=v_dia, center=false); tr...
glb/cad_621e0fde9642.glb
Create a PVC pipe connector hub for a racegate. Start with a central cube with a side length equal to the circumscribed diameter of an octagon that has an internal diameter of 17.6mm. Extend six octagonal connectors from the faces of this cube (top, bottom, front, back, left, and right). Each octagonal connector shou...
pipe_internal_diameter = 17.6; backstop_length = 2.0; connector_length = 20; chamfer_connectors = true; connect_front = true; connect_back = true; connect_left = true; connect_right = true; connect_top = true; connect_bottom = false; hollow = true; gate_width_mm = 24 * 25.4; connector_length_adjusted = connector...
glb/cad_10e045c462e3.glb
Create a Voron 0 Z-Axis assembly helper by constructing a flat plate 5mm thick. The outer perimeter is a custom polygon defined by the following vertices in the XY plane: starting at (0,0), move to (0,15), then to (-15,15), (-15,25), (0,25), (0,40), (55,40), (58,40), (60,40), (60,30), (58,30), and finally (58,0) before...
module v0HelperShape() { polygon([ [0,0], [0,15], [-15,15], [-15,25], [0,25], [0,40], [55,40], [55,40], [58,40], [58+2,40], [58+2,30], [58,30], [58,0], ...
glb/cad_4ff82415e471.glb
Create a plastic bag adapter ring for a bucket. Start by constructing a main hollow cylinder with an outer diameter of 165mm and a height of 30mm. At the base of this cylinder, add a wider circular flange with a diameter of 170mm and a thickness of 7mm. To create the interior cavity, remove a central cylinder with a di...
$fn=100; translate([0,0,50]) difference(){ ring(); cone(); } intersection(){ ring(); cone(); } module cone(){ cylinder(90,d1=175,d2=145,center=true); } module ring(){ union(){ difference(){ union(){ cylinder(30,d=165); translate([0,0,0])cylinder(7,d=170); translat...
glb/cad_08efd4f85ab6.glb
Create a belt clip for a Gigaset phone consisting of a mounting base and a flexible clip. First, construct the mounting base. Create a central rectangular block 22.8mm wide, 20mm high, and 2mm deep. To this central block, add two side wings that are each 13.1mm wide, 20mm high, and 2mm deep. These wings should be pos...
$fn=360; phone_depth = 22; phone_width = 48.5; phone_clip_height = 20; phone_clip_depth = 2; belt_clip_width = 20; belt_clip_height = 65; belt_clip_depth = 3; phone_flat_middle = 22.8; phone_side_shortest = 8; translate([phone_clip_depth / -2, 0, 0]) { translate([phone_flat_middle / -2, phone_clip_depth / -2])...
glb/cad_1f284e5bf742.glb
Create a replacement inner ring for a microphone shock mount. Start with a hollow cylinder that has an outer diameter of 64.2mm, an inner diameter of 57mm, and a height of 10mm. Cut a rectangular opening into the side of the cylinder to create a release gap. Within this gap, create a vertical hole for a screw with a ...
$fn = 64; d = 57; r = d/2; h = 10; t = 3; c = 15; module part1() { difference() { cylinder(h = 10, r = r+3.6); translate([0,0,-0.01]) cylinder(h=10.1, r = r); } } module part2() { difference() { union() { part1(); translate([r,-c/2,-3]) { ...
glb/cad_1c49f19dd97e.glb
Create a Drawer Grid Inlay for a Raaco Assorter 55. Start with a rectangular back plate that is 0.2mm thick. The overall dimensions are determined by a grid of 5 boxes wide and 3 boxes high, where each box is 35.6mm wide and 50.5mm high. Construct a perimeter wall and internal grid dividers with a height of 2mm and a ...
num_boxes_x = 5; num_boxes_y = 3; box_width = 35.6; box_height = 50.5; wall_thickness = 1.75; back_plate_thickness = 0.2; cross_size = 19.5; cross_thickness = 3.5; wall_height = 2; support_with = 3.5; support_depth = 10.42; total_width = (num_boxes_x * box_width) + (wall_thickness * 2) + (support_with * (num_boxes_x -...
glb/cad_17cc7a6ec7ea.glb
Create a Parametric Swatch Tray by first constructing a rectangular outer box with a length of 105mm, a width of 81.6mm, and a height of 24.5mm. Hollow out the center of this box to create a container with walls 2mm thick, leaving a base thickness of 2mm. Inside this container, add 19 pairs of guide rails to create s...
swatch_length = 101; swatch_width = 3.3; swatch_height = 45; num_swatches = 20; wall_thickness = 2; guide_length = 5; rib_width = 2; spacing = 2; box_depth = swatch_height /2 + wall_thickness * 2; slot_width = swatch_width; box_length = swatch_length + wall_thickness * 2; box_width = (wall_thickness * 2) + (num_swatc...
glb/cad_aae89891c993.glb
Create a Starlink Mini magnetic holder consisting of a flat base and a mounted cylindrical tube. Start with a square block 150mm wide, 150mm deep, and 8mm thick. In this block, create a grid of 81 square holes, each 5mm by 5mm and 8mm deep, arranged from -4 to 4 on both the X and Y axes with a spacing of 20mm between c...
previewSegments = 64; renderSegments = 500; $fn = renderSegments; blockLength = 150; blockThickness = 8; magnetCubeEdge = 5; tubeDiameter = 54; knobDiameter = 28; gridCount = 4; gridSpacing = 4; difference() { cube([blockLength, blockLength, blockThickness], center = true); fo...
glb/cad_e0866986d22d.glb
Create a tube holder block by starting with a rectangular base measuring 66mm wide, 15mm deep, and 120mm high. From this block, remove material to create three cylindrical holes angled at 5 degrees from the vertical axis to hold tubes of different sizes. The first hole is a concentric ring centered at the bottom, wit...
tube_big = [55, 58.5]; tube_small = [45.3, 51.9]; PVC = [ 13.4, 16.1]; angle = 5; length = 500; ext1 = 50; ext2 = 40; ext3 = 30; module tube(dim, length) { rotate([90 - angle, 0, 0]) difference() { cylinder(length, d=dim[1], center=false); cylinder(length, d=dim[0], center=false); } }; c...
glb/cad_109f15b89fc9.glb
Create an RF module container consisting of a main tub and a separate lid. For the tub, create a rounded rectangular box with outer dimensions of 68mm by 44mm and a height of 21mm. The corners should have a 4mm radius. Hollow out the center to create a cavity of 63mm by 39mm and a depth of 19mm, leaving walls that ar...
$fn=99; tub(); translate([0,0,50])lid(); module tub(){ difference(){ union(){ difference(){ hull(){ translate([0,0,19])minkowski(){ translate([0,0,0])cube([64,40,1],center=true); cylinder(1,d=4,center=true);} minkowski(){ translate([0,0,0])cube([63,39,1],center=true...
glb/cad_68daf4f1845d.glb
Create a Prusa MK3s X End Motor mount for the MK2.5. Start with a central base block that features a large hexagonal cutout for the motor shaft and a rectangular belt hole measuring 10mm by 25mm by 22mm. Incorporate a material-saving central cutout of 60mm by 42mm by 42mm. Add motor mounting holes by creating a series...
use <x-end.scad> module x_end_motor_endstop_holes(){ translate([-23.5,-28.5,58]){ translate([17/2,7.5,-3]){ translate([-4.75,0,0])cylinder(r=1,h=19,$fn=20); translate([-4.75,0,6])cylinder(r1=1, r2=1.5, h=2,$fn=20); translate([4.75,0,0])cylinder(r=1,h=19,$fn=20); ...
glb/cad_de56759707db.glb
Create a Prusa MK3s X End Motor mount for the MK2.5. Start with a central base block that features a large hexagonal cutout for the motor shaft and a rectangular belt hole measuring 10mm by 25mm by 22mm. Incorporate a material-saving central cutout of 60mm by 42mm by 42mm. Add motor mounting holes by creating a series...
use <x-end.scad> module x_end_motor_endstop_holes(){ translate([-23.5,-28.5,58]){ translate([17/2,7.5,-3]){ translate([-4.75,0,0])cylinder(r=1,h=19,$fn=20); translate([-4.75,0,6])cylinder(r1=1, r2=1.5, h=2,$fn=20); translate([4.75,0,0])cylinder(r=1,h=19,$fn=20); ...
glb/cad_78f8aff32982.glb
Create a filament runout sensor base. Start with a main body that is 44mm wide, 10mm deep, and 9mm high. The body is formed by a hull of four cylinders with a 5mm diameter, positioned at the corners of a 44mm by 27mm rectangle, all centered at a height of 5.5mm. Carve out the following openings from this body: first, ...
$fa=1; $fs=.1; module switch() { difference() { union() { translate([0,-3.3,0]) cube([10, 6.6, 9.5]); translate([-10,-3.3,0]) cube([10, 6.6, 10.3]); translate([-7,-3.3,10.5]) rotate([0,70,0]) cube([7, 6.6, 21]); } translate([5, 4, 2.6]) rotate([90,0,0]) cylinder(d=3,h=8); translate...
glb/cad_5662d1a98982.glb
Create a scaffolding tube cap designed for a 27mm diameter tube. The main body is a cylinder with a total height of 14mm. The lower section of the body has a radius of 11.1mm and extends up to a height of 10mm. At the 10mm mark, add a bevel that transitions from the 11.1mm radius to a wider head. The head is a shallowe...
include <rounded_cube.scad> $fn=100; tube_wall_thickness=2.16; height=14; head_height=4; head_ratio=0.3; lower_height=height-head_height; spacing=0.2; bevel_width=1; bevel_height=1; big_diameter=27.5; big_radius=big_diameter/2; small_radius=11.1; bottom_radius=small_radius-0.5; strip_radius=1; module tube(height...
glb/cad_e87c6b831732.glb
Create a simple curtain holder by extruding a specific 2D profile to a height of 20mm. The profile is a complex polygon defined by the following vertices in sequence: start at (0,0), move to (100,0), then to (100,5), (55,5), (50.5,10), (70,15), (100,15), (100,18), (0,18), (0,15), (5,10.15), (10,15), (30,15), (49.5,10),...
off = .3; linear_extrude(20) { polygon([ [0, 0], [100, 0], [100, 5], [55, 5], [50.5, 10], [70, 15], [100, 15], [100, 18], [0, 18], [0, 15], [5, 10 + off / 2], [10, 15], [30, 15], [49.5, 10], [45, 5], [10, 5], [5, 10 - off / 2], [0, 5] ]); }
glb/cad_f9885ee90db6.glb
Create a hexagonal shelf bracket and matching coat hooks. The bracket is a honeycomb grid with a thickness of 10mm. It is composed of hollow hexagonal rings, each with a diagonal length of 50mm and a wall thickness of 5mm. Arrange these hexagons in a staggered pattern with row counts of 4, 3, 3, 2, 2, 1, and 1 from top...
height = 10; hexagon_line_thickness = 5; hexagon_diagonal_length = 50; hook_overhang = 12; hook_width = 10; module hexagon(height, diameter, line_width) { rotate([0, 0, 30]) difference() { cylinder($fn=6, h=height, d=diameter, center=true); cylinder($fn=6, h=height, d=diameter-(line_width*2), ...
glb/cad_b2b886ef0394.glb
Create a Cubicle Wall Headset Hook with a uniform thickness of 4mm and a total depth of 20mm. The structure is a continuous geometric path consisting of three main sections. First, create a vertical rectangular wall 74mm high and 4mm thick. At the top of this wall, attach a horizontal arm extending 31mm across to creat...
wall_thickness = 4; cube_wall = 27; total_height = 70; hook_height = 18; hook_length = 40; width = 20; rounding_size = hook_length / 4; $fn = 24; union() { cube([wall_thickness, total_height + wall_thickness, width]); cube([hook_length + (2*wall_thickness), wall_thickness, width]); translate([-(cube_w...
glb/cad_982a8c00289b.glb
Create a protective cap for a modeling chisel by starting with a solid rectangular block that is 25mm long, 6mm wide, and 4mm thick. From the center of one of the 6mm by 4mm faces, carve out a hollow internal cavity to hold the tool. This cavity begins as a thin slot 4mm wide and 2mm thick that extends 22mm deep into t...
length=25; max_blade_length=22; neck_radius=1; neck_length=12; blade_width=3; blade_thickness=1; margin=0.5; width=blade_width+margin*2+3; thickness=blade_thickness+margin*2+3; $fn=100; eps=0.001; module cap_base() { translate([-thickness/2, -width/2, 0]) cube([thickness, width, length]); } module blade() { uni...
glb/cad_e630930b3f5b.glb
Create an interior passenger car floor and seating layout. Start with a rectangular base measuring 83mm long, 30mm wide, and 1mm thick. Place two sets of passenger benches. Each set consists of two facing rows of seats. Each individual seat block is 4.3mm wide, 10mm deep, and 4.5mm high. In each row, place one seat b...
bottom = [83, 30, 1.0]; size = [4.3, 10, 4.5]; space = 9.8; toilet = 36.6; translate([0, 0, -bottom[2]]) cube(bottom, center=false); module bank(opp=0) { cube([size[0], size[1], size[2]]); translate([(opp*(size[0]-0.6)), 0, 0]) cube([0.6, size[1], size[2] *1.8]); } module banks() { for (i=[0, 1]){ ...
glb/cad_55a7a306bd91.glb
Create a measuring tool organiser consisting of several hollow rectangular compartments and a circular base. Start with a base plate that is a cylinder with a diameter of 72.6mm and a height of 1.3mm. On top of this base, construct four main vertical storage bins. The first bin is a rectangular shell with outer dimen...
difference(){ cube([20.6,19.6,106.3]); translate([1.3,1.301,-1]) cube([18,17,108]); } difference(){ translate([33,0,0]) cube([39.6,22.6,106.3]); translate([34.3,1.301,-1]) cube([37,20,108]); } translate([18.3,18.3,0]) cube([15,1.3,81.3]); difference(){ translate([0,-8.3,0]) cube([72.6,9.6,81.3]); translate...
glb/cad_584aae389a84.glb
Create a cable protector consisting of a rounded base and a hollowed-out top cover. Start with a base form created by the hull of two cylinders with a radius of 7.25mm, a height of 6mm, and centers positioned at x= 7.25 and x= -7.25. From this base, remove a central groove formed by the hull of two cylinders with a r...
basewidth = 14.5; baselength = 29.5; baseheight = 6; verticaloffset = -0.5; innerwidth = 12.5; innerlength = 27.5; pipediameter1 = 42.5; pipediameter2 = 52.5; pipewallthickness = 4; topwidth = 12; toplength = 27; topheight = 3; cable1diameter = 4; cable1type = 1; cable1width = 0; cable2diameter = 5; cable2type = 1...
glb/cad_700709e7053a.glb
Create a steering knuckle mount for a Tarmo4 RC car starting with a solid rectangular block measuring 15mm in width, 12mm in depth, and 6mm in height. Carve a horizontal cylindrical hole through the center of the block along the depth axis. This hole should have a diameter of 3.3mm and be positioned 3.3mm from the to...
$fn = 32; x = 15; y = 12; z = 6; sd = 3.3; difference() { cube([x, y, z]); translate([5, -1, z - sd / 2 - 0.75]) rotate(a = -90, v = [1, 0, 0]) cylinder(d = sd, h = y + 2); translate([-1, 2.5 - 0.2, z - sd / 2]) cube([x + 2, 4.4, 5]); }
glb/cad_93293eae2e11.glb
Create a Radiator Venting Plug Protection cap by combining three concentric cylindrical sections. Start with a solid base cylinder 15mm in radius and 2mm in height. Above this, add a main hollow wall that is 11mm tall with an outer radius of 15mm; the center of this wall must be hollowed out by a hexagonal prism with a...
union() { translate( [0, 0, 13]) difference() { color("red") cylinder(r=15, h = 2, $fn=100); translate( [0, 0, -1]) cylinder(r=13, h=4, $fn=100); } translate( [0, 0, 2]) difference() { cylinder(r=15, h = 11, $fn=100); ...
glb/cad_b822e54f2490.glb
Create a HWS 9V Battery Dispenser consisting of two mirrored vertical holders joined by a mounting rail. Each holder features a main vertical channel and a shorter lower channel angled at 170 degrees from the vertical. The channels are designed to hold batteries with a diameter of 18.7mm and a length of 49mm. The ver...
include <BOSL2/std.scad> include <BOSL2/rounding.scad> include <BOSL2/shapes3d.scad> include <Honeycomb_wall_insert_module.scad> cell_diameter = 16.7; cell_length = 47; capacity_upper_section = 7; capacity_lower_section = 2; n = 1; blanks = 1; detail = 90; angle = 170; thickness_of_rail = 2; thickness_of_outer...
glb/cad_e3eb35f7ef2e.glb
Create a StitchBro Stacking Storage Box for embroidery floss bobbins. The main body is an open-top rectangular container with an interior width of 172mm and a total height of 25mm. The walls and floor are 1.25mm thick. The interior consists of 23 repeating slots. Each slot is defined by a floor section 10.25mm deep (9...
$fn=50; slotcount=23; bobbinmeasurement=170; bobbinheight=14; clampclearanceH=3.5; boxheight=25; wall=1.25; raildepth=3; bobbinclearance=2.75; slotwidth=9; lidoverlap=5; bobbinlength=bobbinmeasurement+2; boxwidth=bobbinlength+2*wall; boxdepth=(slotwidth+wall)*slotcount+wall; stackwidth=boxwidth+2*wall; stackdept...
glb/cad_45a9e12fbfe4.glb
Create two identical token rings for the Freedom Five Action Tokens. Each ring is a hollow cylinder with an outer diameter of 55mm and a total height of 3.7mm. To form the main body, create a cylinder with an outer diameter of 55mm and a height of 3.7mm. Subtract a concentric inner cylinder to create a wall thickness...
module cylinder_outer(h,r,fn){ fudge = 1/cos(180/fn); cylinder(h=h,r=r*fudge,$fn=fn);} module pie(radius,height, degrees){ intersection(){ cylinder(r=radius,h=height,$fn=50); rotate([0,0,-90+degrees]) cube([radius,radius, height]); cube([radius,radius, height]); } } module arc(outer_radius, inner_ra...
glb/cad_df14694725b7.glb
Create two identical token rings designed to hold a cardboard token. Each ring is a hollow cylinder with an outer diameter of 29.75mm and a total height of 3.7mm. For each ring, create a base section that is 1mm high with the full 29.75mm outer diameter. Above this base, create a concentric inner wall that rises an a...
module cylinder_outer(h,r,fn){ fudge = 1/cos(180/fn); cylinder(h=h,r=r*fudge,$fn=fn);} module pie(radius,height, degrees){ intersection(){ cylinder(r=radius,h=height,$fn=50); rotate([0,0,-90+degrees]) cube([radius,radius, height]); cube([radius,radius, height]); } } module arc(outer_radius, inner_ra...
glb/cad_e4612b8f6676.glb
Create two identical circular token rings. For each ring, start with a base cylinder that has an outer diameter of 36.2mm and a height of 3.7mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 32.2mm and a height of 2.1mm, positioned so that it is centered verticall...
module cylinder_outer(h,r,fn){ fudge = 1/cos(180/fn); cylinder(h=h,r=r*fudge,$fn=fn);} module pie(radius,height, degrees){ intersection(){ cylinder(r=radius,h=height,$fn=50); rotate([0,0,-90+degrees]) cube([radius,radius, height]); cube([radius,radius, height]); } } module arc(outer_radius, inner_ra...
glb/cad_0a0f58c71f11.glb
Create a stackable table with a rectangular top and four hexagonal legs. The tabletop is 210mm wide, 190mm deep, and 6mm thick, with rounded corners of 8mm radius. The top surface features a hexagonal grid pattern consisting of hexagonal holes with a 5mm radius and 2mm gaps between them. This grid is contained within...
$fa = 1; $fs = 0.4; include <BOSL2/std.scad>; hex_radius = 5; gap = 2; table_width = 210; table_depth = 190; height = 6; leg_height = 56; leg_radius = 8; leg_offset = 6; leg_hole_clearance = 0.4; collar_thickness = 2; collar_depth = 2; collar_height = 6; ...
glb/cad_bac53e37c396.glb
Create a Pythagorean Theorem visual proof set with a uniform thickness of 3mm. The set is based on a total outer square dimension (a+b) of 75mm. First, create a square frame with an outer dimension of 77.6mm and an inner cutout of 75mm, leaving a border thickness of 1.3mm. Emboss the text "a+b" on two opposite sides o...
angle=30; a=sin(angle)/(sin(angle)+cos(angle)); b=cos(angle)/(sin(angle)+cos(angle)); ab_size=75; thickness=3; border_tolerance=0.8; font_size=8; font_thickness=1.2; margin=1; border_thickness=font_size+margin*2; part_spacing=5; font="Arial Rounded MT Bold:style=Regular"; a_offset=0.5; b_offset=0.5; c_offset=0.4; sc...
glb/cad_6cc8a7d0d4a8.glb
Create a MediMemo replacement lid with a total length of 93.9mm and a thickness of 1.5mm. The overall shape is a tapered flat plate. The wide end has a width of 20mm with rounded corners (radius 4mm). The narrow end has a width of 17.3mm with rounded corners (radius 3mm). The body transitions linearly between these two...
DoPart = "body"; BodyColour = "red"; LettersColour = "blue"; depth = 1.5; big_end_width = 20; bottom_width = 18.4; top_width = 17.3; small_end_width = top_width; big_end_len = 10.1; small_end_len = 9.4; total_len = 93.9; centre_len = total_len - big_end_len - small_end_len; big_end_radius = 4; small_end_radius = 3...
glb/cad_0adba6b7cf61.glb
Create a PZB input panel starting with a main rectangular plate measuring 150mm x 80mm x 3.5mm. Center the plate and remove four 4mm diameter mounting holes: two at the front corners and two at the back corners, each 4mm deep. Cut three distinct openings into the top surface. On the left, create a circular hole with a...
$fn=90; difference(){ union(){ cube([150,80,3.5],center=true); translate([0,0,-20])rotate([0,90,0])cylinder(d=60,h=20,center=true); translate([40,0,-20])rotate([0,90,0])cylinder(d=60,h=20,center=true); } translate([-40,0,0])cylinder(d=28,h=4,center=true); translate([-48,-32,-0....
glb/cad_7e2220ba6d70.glb
Create a Heuer Front 120 Vice Jaw Protector. Start by constructing a main rectangular block with a length of 122mm, a total height of 27mm, and a thickness of 3mm. To this main body, add a stepped section on one side that extends the thickness to 10.5mm for a height of 22.5mm, while the remaining 4.5mm of the height re...
l=122; d=3; hb=27; tb=10.5; hs=4.5; tn=1.5; rotate([90,0,0]) difference(){ Backe(); translate([d,hb/2,-0.1]) cylinder(r=tn,h=l+3*d,$fn=4); translate([d,hb/2,l/2+d]) rotate([90,0,0]) cylinder(r=tn,h=hb+2*d,$fn=4,center=true); } module Backe(){ linear_extrude(l+2*d) ...
glb/cad_0eb23770b702.glb
Create a Solar Filter Box consisting of a bottom container and a matching lid. For the bottom, create a rectangular box with rounded corners of 5mm. The outer dimensions are 31.1mm in width, 85.7mm in depth, and 51.8mm in total height. The walls are 1.8mm thick. The top edge features a friction-fit lip that extends 8...
part = "all"; x_compartment_width = 14.5; y_width = 82; compartments = 2; separator_thickness = 1.0; bottom_height = 50.0; lid_height = 32.0; thickness = 1.8; lip_height = 8; lip_thickness = 0.8; looseness_offset = 0.15; radius = 5; generate_box = (part == "bottom" || part == "all"); generate_lid = (part =...
glb/cad_1f33045c652a.glb
Create a curtain rod holder consisting of a vertical cylindrical base and a spherical top. Start by creating a vertical cylinder with a diameter of 15mm and a height of 75mm. Bore a hole through the center of this cylinder with a diameter of 11mm. Position a sphere with a diameter of 47mm so that its center is 96.5mm a...
$fn = 100; translate([0,0,36.5]) difference() { cylinder(h=75, d=15, center=true); cylinder(h=75.1,d=11, center=true); } difference(){ translate([0,0,96.5]) sphere(d=47); translate([0,0,96.5]) rotate ([90,0,0]) cylinder (h = 50, d=30.1, center = true, $fn=100); }
glb/cad_a1f5c60773d0.glb
Create a 20mm lens holder by constructing a flat, circular disc with a height of 3.3mm and an outer diameter of 26mm. Center a cylindrical hole with a diameter of 20mm through the middle of the disc to hold the lens. To create a handle, extend a rectangular block from the side of the disc with a width of 8mm and a heig...
include <BOSL2/std.scad> $fn=500; difference() { union() { cylinder(h=3.30, d=26, center=true); right(48) cuboid([80, 8, 3.30]); right(88) cylinder(h=3.30, d=8, center=true); } cylinder(h=3.30, d=20, center=true); right(88) cylinder(h=3.30, d=4, ...
glb/cad_544407332e75.glb
Create a CNC dust collector consisting of two main components: a shoe holder and a removable shoe. First, construct the shoe holder. Create a hollow cylinder with an outer diameter of 39.8mm and a wall thickness of 2.4mm. The main body is a cylindrical shell with a height of 5mm. At the base, integrate a larger cylind...
include <CNC_spindel_120W.scad>; include <Magnet.scad>; translate([0,0,16]) color("gray") translate([0,0,(motor_height)]) rotate([180,0,0]) spindel_assembly(); error_factor = 0.1; printing_offset = 2; offset_dust_shoe_holder = 5; max_screw_length = 3; dust_shoe_holder_top_thick = 3; dust_shoe_holder_wall_thick = 2.4...
glb/cad_f0d62d992979.glb
Create a Parametric Telescope Tubus Mount by starting with a rectangular plate that is 100mm wide, 150mm long, and 50mm thick. Center this plate on the origin. From the bottom center of the plate, remove a semi-cylindrical section to create a concave cradle. This cutout should be formed by a cylinder with a diameter of...
TUBUS_D = 200; MOUNT_W = 100; MOUNT_L = 150; MOUNT_OFFSET_TOP = 10; $fn = 100; module tubus(d, l) { rotate([90, 0, 0]) translate([0, -d/2, 0]) cylinder(l, d/2, d/2, center = true); } module mount_plate(w, l, h, offset_top) { translate([0, 0, -h/2]) cube(size = [w, l, h+offset_top*2], center = tru...
glb/cad_ef066dc18a2b.glb
Create a parametric zip-tie fastener with a thickness of 0.8mm. The model consists of a long, flexible band and a locking head tab. For the band, create a strap 8mm wide. Along one edge of the strap, generate a series of repeating teeth (links). Each link is composed of a rectangle with two semi-circular protrusions o...
FunctionalLength = 150; Thickness = 0.8; LinkGap = 1; BandWidth = 8; HoleType = "Both"; LinkRadius = 1.5; LinkLength = 2*LinkRadius + LinkGap; LockHoleLength = 1.8; LockHoleWidth = BandWidth * 1.05; SpaceHoleLength = LinkRadius*2; SpaceHoleWidth = BandWidth*1.2 + LinkRadius*2; TaperHoleLength = LinkRadius*2 + Band...
glb/cad_abcd14331ef1.glb
Create a filament dryer shell for a food dehydrator. The main body is a hollow cylinder with an outside diameter of 286mm and a height of 125mm. The wall thickness is 3mm. At the bottom edge, add a circular lip that extends outward to a diameter of 282mm. This lip has a height of 3.5mm and features a flat interior sec...
include <ISOThread.scad> ; make_shell = true; make_plug = false; make_bulkhead = false; make_bearing_mount = false; Height = 125; OutsideDiameter = 286; BaseDiameter = 282; ThicknessShell = 3; Clearance = .1; GrooveDepth = .75; Lip = 2; Flat = 5.15; ZipTieSize = 3; InsideLipHeight = 3.5; InsideFlatWidth = 6; Fila...
glb/cad_95aa3def7ef3.glb
Create a Prusa Mini Nozzle Cam mount. Start with a main body that is a rounded cube of 40mm x 40mm x 10mm. The corners should have a radius of 4mm. Hollow out the center of this cube to create a wall thickness of 1mm. On the top surface, create a large circular cutout with a radius of 19mm to accommodate a fan rotor. ...
$fn=70; extra = 1; camR = 4.1; camTubeR = 6; camTubeL = 30; fanXY=40; fanZ=10; heatBreakZ=20; minkowR2=3; wallThickness=1; minkowR1=minkowR2+wallThickness; mountThickness=0.4; rotatorR=19; fanScrewR=2.5; armMoveX=30; armMoveY=0; module miniFanHolder() { difference() { union() { translate([-f...
glb/cad_7206ac59579c.glb
Create a Susan Bates finishing needle by constructing a long, slender tool with a total length of 40mm. Start with a central cylinder that has a radius of 2mm and a length of 40mm. At both ends of this cylinder, add elongated, capsule-like caps created by scaling a sphere to 2mm in radius and 8 times its height along t...
$fn=100; rotate([90,0,0]) translate([0,1.5,-20]){ difference(){ union(){ cylinder(40,r=2); translate([0,0,40]) scale([1,1,8]) sphere(2); translate([0,0,0]) scale([1,1,8]) sphere(2); } union(){ translate([-2.5,1.5,-20]) cube([5,4,80]); translate([-2.5,-5.5,...
glb/cad_f4cbe33f6ee7.glb
Create a toy train set consisting of various cars, each featuring a rectangular base and wheels. For most cars, create a long base measuring 84mm x 20mm x 13mm, while others use a medium base of 75mm x 20mm x 13mm or a short base of 58mm x 20mm x 13mm. Each car must include two embedded cavities for 20mm x 10mm x 5mm m...
include <BOSL2/std.scad>; include <BOSL2/screws.scad>; include <BOSL2/threading.scad>; include <BOSL2/rounding.scad>; color ("SlateBlue") translate([0,0,0]){engine();} color ("DarkBlue") translate([0,70,0]) {flat_car();} color ("MediumBlue") translate([0,140,0]) {coach_car();} color ("SteelBlue") translate([0,210,0]) ...
glb/cad_f0930ef1addb.glb
Create a 3D flip text model featuring the years 2024 and 2025. First, generate the text "2024" with a font size of 140mm, centered both horizontally and vertically, and extrude it to a depth of 168mm. Second, generate the text "2025" using the same 140mm font size and 168mm extrusion depth, but rotate this second piece...
textA = "2024"; textB = "2025"; w = 140; h = w; wx = w*1.2; d=0; intersection() { color("blue") translate([wx/2,h/2, d]) scale([1,1,1]) linear_extrude(wx) text(textA, size=w, halign="center", valign="center", font="AntiqueOlive LT Nord", spacing=0.8); color("red") rotate([90,0,0]) ...
glb/cad_1cfdd958edbd.glb
Create a flexible piggy bank lid by constructing a circular plug with a total height of 8.1mm. Start by creating a base cylinder with a radius of 15mm and a height of 1mm. Above this base, add a central cylinder with a radius of 15mm and a height of 4.1mm. Cap the structure with a final cylinder that has a radius of 17...
$fn=100; radius=32; dicke=4.1; difference() { union() { translate([0,0,0]) cylinder(h=1, r1=radius/2 - 1, r2=radius/2+1); translate([0,0,1]) cylinder(h=dicke, r1=radius/2 - 1, r2=radius/2 - 1); translate([0,0,dicke+1]) cylinder(h=2, r1=radius/2 - 1, r2=radius/2+2); }; translate([0...
glb/cad_57eab92db12f.glb
Create a cable outlet cover consisting of two concentric, hollow cylindrical shells, split exactly in half along the vertical axis to form a semi-circular C-shape. The base is a wide, short ring with an outer diameter of 36mm, an inner diameter of 27mm, and a height of 2mm. Centered on top of this base is a taller, nar...
$fs=0.5; $fa=0.5; difference() { color("Red", 1.0) { difference() { difference() { translate([0,0,0]) cylinder(h=13, r=14); translate([0,0,0]) cylinder(h=13, r=11.5); } } ...
glb/cad_3625da77f880.glb
Create a stackable baking measure spoon consisting of a hemispherical bowl and an attached handle. The bowl is formed by creating a hollow hemisphere with an outer radius of approximately 2.62mm plus a 2mm wall thickness, and an inner radius of 2.62mm to maintain a 15ml volume. Attach a rectangular handle to the edge o...
volume = 15; thickness = 2; handle_length = 80; handle_width = 25; hole_size = 10; label = "1 tbsp (15ml)"; label_depth = 0.5; label_size = 55; enable_rib = 0; enable_rib_bool = (enable_rib==1)?true:false; sphereVolume = volume * 1000 * 2; radius = pow(((sphereVolume * 3) / (4 * PI)), (1/3)); rotate([180,0,...
glb/cad_5e64d13b260a.glb
Create a ring-based candle holder consisting of three concentric flat disks and three vertical support pillars. All disks have a uniform thickness of 1.6mm. The first disk is a solid central circle with a radius of 12mm. The second disk is a ring with an inner radius of 19mm and an outer radius of 30mm; it features th...
$fn = 64; hole_radius = 3.4; thickness = 1.6; connector_width = 6.0; connector_tolerance = 1.6; center = true; holes_1 = false; radius_1 = 12.0; center_logo = ""; cl_size_x = 9; cl_size_y = 9; cl_tx = -10; cl_ty = -10; cl_thickness = 0.6; cl_dpi = 96; holes_2 = 3; radius_inner_2 = 19.0; radius_outer_2 ...
glb/cad_29d9662435a6.glb
Create a fondue fork cap consisting of a spherical head and a cylindrical stem. Start by creating a sphere with a diameter of 8.8mm, centered such that its lowest point is 1mm above the base plane. Directly beneath this sphere, centered on the vertical axis, add a cylinder with a diameter of 3.6mm and a height of 9mm, ...
echo(version=version()); $fn=200; difference() { translate([0,0,1]) {sphere(d=8.8); } translate([0,0,-5]) {cube(size=10,center=true); } } translate([0,0,-.25]) {cylinder(h=9,d=3.6,center=true); } cylinder(h=1,d=8.8);
glb/cad_2c6292920846.glb
Create a 1u rack shelf mount. Start with a base plate 3mm thick. On this plate, create three vertical holes with a diameter of 6.25mm. The centers of these holes should be aligned linearly along the center axis of the plate. The first hole is positioned 6.35mm from the edge, and the subsequent two holes are spaced 15.8...
function panel_height_inch( n = 1 ) = ( 1.75 * n - 0.031 ); function panel_height_mm ( n = 1 ) = ( 44.45 * n - 0.794 ); $fn=30; rail_face_width = 15.875; mount_spacing = 15.875; hole_1_center = 6.35; hole_2_center = hole_1_center + mount_spacing; hole_3_center = hole_2_center + mount_spacing; ...
glb/cad_d40b658f6ee2.glb
Create a Pocket Operator PO-33 Case. Start by constructing a main body with a base footprint of 60.5mm by 105mm and a thickness of 1.85mm. The main cavity should be a cutout of 60.5mm by 1.85mm by 105mm, offset 2.5mm from the edges, with a rounded bottom edge using a 2.5mm radius. Add two battery side housings. Each h...
$fn=180; po_x = 60.5; po_y = 1.85; po_z = 105; difference() { union() { minkowski() { translate([2.5,2.5,0]) cube([po_x,po_y,po_z-9]); cylinder(r=2.5,h=2); } CubePoints = [ [0,0,0], [2,0,0], [2,11,18], [0,11,18], ...
glb/cad_96a8d34acac0.glb
Create a warning sign plate with a base measuring 96mm wide, 28mm high, and 2mm thick. The base should have rounded corners with a radius of 5mm. Carve a rectangular recessed area into the top face, starting 3mm from the left and 3mm from the bottom, measuring 90mm by 23mm and 4mm deep. Inside this recess, add two line...
$fn=180; difference() { union() { minkowski() { translate([3,3,0]) cube([90,23,2]); cylinder(r=5,h=2); } } union() { translate([3,3,2]) cube([90,23,4]); } } translate([17,14,2]) linear_extrude(2.5) text("WARNING!",9, "Arial Black"); translate([7,6,2]) linear...
glb/cad_5dda27db8d06.glb
Create a warning sign plate that is 155mm long, 45mm wide, and 2mm thick. The plate should have rounded corners with a radius of 5mm. Carve a rectangular recessed area into the top face, leaving a 5mm border around the edges; this cutout should be 145mm by 35mm and 2mm deep. Inside this recessed area, add two lines of ...
$fn=180; difference() { union() { minkowski() { translate([5,5,0]) cube([145,35,2]); cylinder(r=5,h=2); } } union() { translate([5,5,2]) cube([145,35,4]); } } translate([29,22.5,2]) linear_extrude(2.5) text("WARNING!",14, "Arial Black"); translate([9,10,2]) ...
glb/cad_143cdb9afa22.glb
Create a Small Parts Tray by starting with a solid rectangular base measuring 200.2mm in length, 140.2mm in width, and 17mm in height. All four exterior vertical edges of this base must be rounded with a 5mm radius. Carve out nine rectangular compartments of varying sizes from the top of the base, ensuring each cutou...
$fn=360; difference() { union() { minkowski() { translate([5.1,5.1,0]) cube([190,130,15]); cylinder(r=5,h=2); } } union() { tray(5,5,50,45); tray(5,50.33,50,90); tray(5,95,50,135); tray(55,5,110,33.75); tray(55,38.75,110,67...
glb/cad_1638064cccc2.glb
Create a Teensy Case by starting with a rectangular base measuring 51.66mm in width, 2mm in height, and 33mm in depth. Within this base, create a rectangular cutout measuring 11mm by 4mm by 8mm, positioned 34mm from the side and 3mm from the bottom. The final object should be a flat, thin enclosure with a specific open...
$fn=90; tox = 30; toy = 2; bx = 55; by = 43; bh = 37; fh = 17; rotate([90,0,0]) difference() { union() { #translate([0,0,0]) cube([bx+3-3.34,2,33]); } union() { translate([34,0,3]) cube([11,4,8]); } }
glb/cad_1d038be3e7cd.glb
Create a Teensy Case by starting with a rectangular base plate measuring 56.8mm by 48.8mm with a thickness of 2mm. At one end of the plate, create a rectangular cutout measuring 15mm by 32mm with a depth of 25mm to house the board. Adjacent to this cutout, create a circular hole with a radius of 3.25mm and a depth of...
$fn=90; tox = 30; toy = 2; bx = 55; by = 43; bh = 1; fh = 17; rotate([26,180,0]) difference() { union() { #translate([-101,-3,bh-1.5]) rotate([-26,0,0]) cube([bx+1.8,48.8,2]); } union() { translate([-104,-3.1,bh-33]) rotate([0,0,0]) cube([bx+10-3.34,4,37]); transl...
glb/cad_19a503f65696.glb
Create a Teensy Case for a Teensy 2.0 board, an LED, and a switch. Start with a rectangular base measuring 55mm by 43mm with a thickness of 2mm. Construct the outer walls by adding two side panels 37mm high and 2.5mm thick at the left and right edges, and a back panel 4mm thick and 37mm high that extends 2mm beyond the...
$fn=90; tox = 30; toy = 2; bx = 55; by = 43; bh = 37; fh = 17; difference() { union() { translate([0,0,0]) cube([bx,by,2]); translate([-2,-2,0]) cube([bx+4.5,4,bh]); translate([0,by-2,2]) cube([bx,2,fh]); translate([tox+6.5,toy,2]) cube([7,31.5,5]); tr...
glb/cad_d04043e8b3fb.glb
Create a customizable speaker stand consisting of a rectangular base and support poles. For the base, create a rectangular plate 240mm wide, 200mm deep, and 3mm thick with rounded corners. Remove a rectangular section from the center of the plate to create a hollow frame, leaving a border around the edges. At each of...
$fn=128; 1_base_2_poles = 1; base_width = 240; base_depth = 200; base_height = 3; 1_Solid_2_Cutout = 2; support_pole_radius = 25; support_pole_height = 210; base_width_a = base_width - 14; base_depth_a = base_depth - 14; xo = 7; yo = 7; if(1_base_2_poles==1) { difference() { union() { ...
glb/cad_b72cc6862671.glb
Create a Nintendo Switch Car Visor Mount consisting of two identical mirrored brackets. For each bracket, start with a base rectangular plate measuring 30mm wide, 4mm thick, and 7mm high. On the outer edge of this base, attach a vertical support wall that is 9mm wide and 103mm long, with a thickness of 1.5mm. At the to...
$fn=50; width=30; union() { translate([0,42,0]) cube([9,103,1.5]); translate([0,143.5,0]) cube([9,3,20]); translate([1,42,1.5]) cube([7,35,3]); translate([0,42,3]) cube([9,35,2]); translate([3,2,0]) cube([4,40,7]); translate([5,2,0]) cylinder(r=2,h=7); transl...
glb/cad_615112af593c.glb
Create a Multiple Hazards Sign. Start by constructing a rectangular base plate measuring 200mm by 160mm with a total height of 14mm. The base should have rounded corners with a 5mm radius. The top surface of the plate is recessed by 5mm, leaving a raised outer border that is 10mm wide. On the top surface, add three li...
w = 180; l = 140; h = 4; $fn=50; difference() { minkowski() { translate([10,10,10]) cube([180,140,1]); cylinder(r=5,h=4); } translate([10,10,12]) cube([180,140,5]); } translate([13,130,10]) linear_extrude(5) text("WARNING!",12.5, "Arial Black"); translate([13,110,10]) linear_extrude(...
glb/cad_1da5e65dad61.glb
Create a small parts organizer drawer with a total width of 94mm, a depth of 77mm, and a height of 25mm. The drawer is a hollow rectangular box with walls 3mm thick. Divide the interior into three equal compartments using two internal vertical walls, each 2mm thick and 23mm deep, running from the back of the drawer tow...
$fn = 45; DRAWER_HEIGHT = 25; CABINET_WIDTH = 100; CABINET_DEPTH = 80; difference() { translate([0,0,0]) cube([CABINET_WIDTH - 6, CABINET_DEPTH - 3, DRAWER_HEIGHT]); translate([2,2,2]) cube([CABINET_WIDTH - 10, CABINET_DEPTH - 7, DRAWER_HEIGHT]); translate([(CABINET_WIDTH / 2) - 2, 3, -1]) sphere(2); } ...
glb/cad_dd349391cd43.glb
Create a small parts organizer drawer with a total width of 94mm, a depth of 77mm, and a height of 25mm. The drawer is a hollow rectangular box with walls 3mm thick. Inside the drawer, place a central dividing wall that is 2mm wide and 71mm deep, positioned exactly in the center of the width to split the interior into ...
$fn = 45; DRAWER_HEIGHT = 25; CABINET_WIDTH = 100; CABINET_DEPTH = 80; difference() { translate([0,0,0]) cube([CABINET_WIDTH - 6, CABINET_DEPTH - 3, DRAWER_HEIGHT]); translate([2,2,2]) cube([CABINET_WIDTH - 10, CABINET_DEPTH - 7, DRAWER_HEIGHT]); translate([(CABINET_WIDTH / 2) - 2, 3, -1]) sphere(2); } d...
glb/cad_c1f80b7985d0.glb