Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a replacement nozzle for concrete crack filler by constructing a hollow truncated cone. Start with a solid cone that has a base diameter of 16mm and a height of 25mm. From the center of this shape, remove a smaller concentric cylinder with a diameter of 12mm and a height of 25mm to create a hollow interior. This...
difference() { cylinder( 25, 8, 2 , false, $fn = 200); cylinder( 25, 6, 1, false, $fn = 200); }
glb/cad_7584ab02590b.glb
Create a cupholder consisting of a top plate, a base, and four connecting pillars. Start with the top plate: create a rectangular slab 115mm wide, 210mm long, and 10mm thick with rounded corners (10mm radius). In this plate, center two circular cutouts with a radius of 42.87mm each, positioned along the center line at ...
$fn=50; module Top(){ difference(){ minkowski() { translate([10,10,0]) cube([95,190,10]); cylinder(r=10,h=1); } translate([57.5,52.87,5]) cylinder(h=15, r1=42.87, r2=42.87, center = true); translate([57.5, 156.09,5]) cylin...
glb/cad_ab2496c8d451.glb
Create a cupholder consisting of a base and a top plate connected by pillars. Start with a rectangular base measuring 115mm by 210mm with a thickness of 10mm, featuring rounded corners with a 10mm radius. In this base, create two large circular cutouts for cups, each with a radius of 42.87mm, centered at coordinates (5...
$fn=50; module Base(){ difference(){ minkowski() { translate([10,10,0]) cube([95,190,10]); cylinder(r=10,h=1); } translate([57.5,52.87,7]) cylinder(h=10, r1=42.87, r2=42.87, center = true); translate([57.5, 156.09,7]) cyli...
glb/cad_8e5e0cb856a4.glb
Create a cupholder consisting of a base, a top plate, and four supporting pillars. Start by creating a circular base with a diameter of 80mm and a height of 10mm. For the top plate, create an identical circular disk with a diameter of 80mm and a height of 10mm, featuring two circular holes with a diameter of 75mm each,...
$fn=50; module Pillar(){ difference(){ translate([0, 0, 44.5]) cylinder(h=89, r1=5.45, r2=5.45, center=true); translate([0,0,44.5]) cylinder(h=89, r1=1.75, r2=1.75, center=true); } } Pillar();
glb/cad_a90f7215d668.glb
Create a cupholder consisting of a wedge-shaped base and a circular top plate. For the base, construct a wedge with a length of 190mm, a width of 95mm, and a height of 15mm. To ensure stability, carve a rectangular recess into the bottom of this wedge measuring 52mm by 120mm with a depth of 30mm, positioned 30mm from t...
$fn=50; include<wedge.scad>; module WedgeBase() { difference() { minkowski() { translate([10,10,0]) translate([95,0,0])rotate([-90,0,90]){wedge(95,190,15);} cylinder(r=10,h=1); } translate([30,40,-30])rotate([-15,0,0]){cube([52,120,30]);} ...
glb/cad_07027c9068d3.glb
Create a Phantom Power Supply Bracket consisting of two identical mirrored side arms connected by a central bridge. Each arm is based on a rectangular base measuring 104.5mm in length, 2mm in width, and 15mm in height. On each arm, create two holes to accommodate fasteners: one centered at x=25mm and another at x=75m...
$fn=50; module bracket(){ difference(){ translate([-2.25,0,0]){ cube([104.5,2,15]); } translate([25,4,7.5]){ sphere(3); } translate([75,4,7.5]){ sphere(3); } translate([25,-3,7.5]){ rotate(a=270,v=[1,0,0]){ cylinder(r=1,h=5); } } tr...
glb/cad_f188a0704d2a.glb
Create a secondary bracket for a servo-driven display. Start with a base plane that is 20mm wide, 12mm deep, and 2mm thick. Centered on this base, add a vertical plane that is 13mm wide and 2mm thick, extending upwards to a total height of 25mm. On the base plane, create two circular screw holes with a radius of 2mm....
select = 4; thickness = 1.0; halfThickness = thickness/2; brimThickness = 0.3; brimWidth = 4; servoX = 13; servoY = 23; servoRidge = 2.6; hornR = 25; hornZ = 10; hornStopR = 2; pivotR = 1.5; pivotLargeR = 1.8; dowellR = pivotLargeR - 0.3; strapY = 12; strapZ = 28; baseY = strapY; baseX = 10; holeR = 2; secondary...
glb/cad_00b29188b736.glb
Create a Bell Siphon with Snorkel and Cup for Aquaponics. Start by creating a main vertical cylinder with an outer radius of 28mm and an inner radius of 25mm, extending to a height of 250mm. Positioned adjacent to this main cylinder, create a smaller snorkel cylinder with an outer radius of 7mm and an inner radius of...
siphon_inner_radius = 25; siphon_thickness = 3; siphon_outer_radius = siphon_inner_radius + siphon_thickness; siphon_height = 250; snorkel_inner_radius = 5; snorkel_thickness = 2; snorkel_outer_radius = snorkel_inner_radius + snorkel_thickness; snorkel_centre_displacement = 55; snorkel_centre_from_siphon = snorkel_cen...
glb/cad_d87480baa225.glb
Create a Panowin F1 top spool holder consisting of a vertical support wall and a perpendicular base plate. Start by creating a vertical rectangular wall that is 135mm tall, 50mm wide, and 5mm thick. At the top center of this wall, create a horizontal cylindrical hole with a diameter of 10mm that passes completely throu...
bottomThick = 4.5; height=135; thick=5; holeDiameter=10; module bottomplate(bottomThick) { translate([54,0,0]) { rotate([90,0,180]) { difference() { cube([54,50,bottomThick]); translate([5,3,-1]) { cylinder(r=4/2, h=bottomThick+2, $fn=50); ...
glb/cad_353f8f6e26a1.glb
Create a button for an AKAI ME35T by constructing a main body and two side hooks. Start with a main body that is 11.25mm wide, 6.8mm high, and 11.25mm deep. The profile of this body is a polygon with vertices at [0,0], [8.5,0], [10,0.5], [8.5,6.8], and [0,6.8], extruded to a depth of 11.25mm. From this body, remove t...
wallthick = 1.5; height = 6.8; width = 11.25; hooksize = (15 - width)/2; tongueWidth = height - 2*wallthick - 1; tonguethick = 1.0; cutoutheight = (width - 2*tonguethick); difference() { linear_extrude(height=width) { polygon([ [0,0],[8.5,0],[10,0.5], [8.5,height...
glb/cad_94df42f3bd60.glb
Create a snap-on flag wall-mount holder consisting of a cylindrical clip and a flat rectangular wall attachment. First, construct the clip as a hollowed-out cylinder with a length of 48mm and an outer diameter of 22.24mm. The wall thickness of this cylinder is 1.55mm, and it is designed to hold a pole with a diameter...
clipAngle = 1.71; clipLength = 48; poleDiameter = 19.14; webThickness = 1.55; clipBottomStickout = 30; clipAttachmentThickness = 8; screwHoleSize = 3; screwHoleCountersinkDiameter = 8; screwHoleCountersinkDepth = 3; flangeWidth = 40; flangeThickness = 8; bottomScrewsHeightFactor = 0.3; topScrewsHeightFactor = 0.8; ...
glb/cad_944517ba286c.glb
Create a fidget cube assembly consisting of multiple rounded cubes. Each individual cube body is a 16mm cube with 4mm rounded edges and corners. For each cube, create internal cavities and external pins to allow rotation. The rotation axes are cylinders with a 2mm radius and a length of 8mm. To ensure a fit, the holes...
$fs = 1; $fs = .5; bsize = 16; blength= 16; bheight = 16; bgap = 1; br = 4; ar = 2; aw = 10-2; at = 0.05; h_depth = 4; h_len = h_depth*2 + bgap; bw = 6; bh = 3; airgap=.20; tolerance = .42; bSpace = .5; holeAngle = 95; module axis() { translate([0,-aw/2,0]) { sphere(ar); translate([0, aw, 0]) sphere(ar); } ...
glb/cad_68cc7fd7478a.glb
Create a fidget cube assembly consisting of eight rounded cubes, each 20mm in size with a corner radius of 4mm. The cubes are arranged in two rows of four. For each cube, create a main body by rounding the edges of a 20mm cube. To allow for rotation, integrate internal axes and corresponding holes. The axes are cylind...
$fs = 1; bsize = 20; blength= bsize; bheight = bsize; bgap = 1; br = 4; ar = 2; aw = 10-2+4; at = 0.05; h_depth = 4; h_len = h_depth*2 + bgap; bw = 6+4; bh = 3; airgap=.20; tolerance = .42; bSpace = .5; holeAngle = 95; module axis() { translate([0,-aw/2,0]) { sphere(ar); translate([0, aw, 0]) sphere(ar); } ...
glb/cad_279bd50f5baa.glb
Create a Macbook Power Cord Support consisting of a rectangular housing and an attached conical flare. First, construct the main housing as a rounded rectangular shell with outer dimensions of 18mm width, 13mm depth, and 10.1mm height. The corners along the Y-axis should be rounded with a 0.8mm radius. Hollow out the...
plugWidth = 16.4; plugHeight = 8.3; plugDepth = 12; cordThick = 5.5; indicatorRadius = 1.5; printerMinExtrude = .4; wall = .8; radiusCorner = wall; knockoutPercent = .6; flareLength = 16; include <roundedcube.scad>; union() { difference(){ roundedcube([plugWidth+(2*wall),plugDepth+wall,plugHeight+(2*wall)],false,r...
glb/cad_d1ae8baa21d1.glb
Create a shower shelf holder by starting with a solid cylinder that has a radius of 7.5mm and a height of 8mm, centered on the origin. From this main body, remove two smaller vertical cylinders, each with a radius of 2.6mm and a height of 10mm. Position the first hole at x = 4.1mm and y = 0, and the second hole at x = ...
d=5.2+0.2; abstand=3; divd=1.5; staerke=2.1; hoehe=8; $fn=100; difference() { union() { translate([0,0,0]) cylinder(r=d+staerke+abstand/2,h=hoehe,center=true); } translate([d/2+abstand/2,0,0]) cylinder(r=d/2,h=hoehe+2,center=true); translate([-d/2-abstand/2,0,0]) cylinder(r=d/2,h=hoehe+2,center=true); translate([(d-...
glb/cad_dd0d4bf16d3a.glb
Create a set of LED candle holders. Each holder is a truncated cone with a height of 20mm. The base radius varies between 12.5mm and 15mm, while the top radius varies between 10mm and 12.5mm. Each holder features a central vertical hole with a radius of 9.2mm and a height of 9mm, centered at the top of the cone. Addi...
$fn=9; durchmesserkerze=18.4; translate([-50,14,5]) staender(35,25,30,0); translate([-74,0,0]) staender(35,25,20,0); translate([-50,-14,10]) staender(35,25,40,0); translate([0,0,0]) staender(30); translate([50,0,0]) staender(35); translate([50,50,0]) staender(45,30); translate([0,50,0]) staender(45,35); translate([5...
glb/cad_0f5955f5262e.glb
Create a Small Lab Supply enclosure consisting of a main box, a back panel, and an angled front panel. The main box has a width of 122mm, a depth of 75mm, and a wall thickness of 3mm. On the back panel, center a 38mm diameter circular opening for a fan, with four 4mm diameter mounting holes spaced 32mm apart center-t...
show = 1; Explode = 0; PrintWhich = 1; ContWid = 72; ContHgt = 40; ContDep = 38; ContTabHgt = 13; ContTabWid = 2; ContTabDep = 10; ContTabThk = 1.5; ContBezWid = 3.9; ContBezHgt = 2.1; ContBezThk = 2.1; ContAng = 50; ContScrewOffset = 24; ContScrewWid = 20; ContScrewHgt = 5; ContOffset = 10; BanMntHoleDia = 13; BanM...
glb/cad_003cf8f0c4b0.glb
Create a circular dog tag with a diameter of 38mm and a thickness of 3mm. At the top edge of the circle, centered along the Y-axis, add a small cylindrical protrusion with a radius of 4.5mm and a height of 3mm. Pass a vertical hole with a radius of 2.5mm through the center of this protrusion and the main body of the ta...
$fn=60; tag_size = 38; tag_thickness=3; dog_name = "Fido"; dog_name_text_size = 5; owner_name = " Honest Joe"; owner_name_text_size = 2.8; owner_address = " Somewhere 22 s"; owner_address_text_size=2.8; owner_address_2 = "Owner Address 2"; owner_address_2_text_size =3; owner_phone = " 123-12345-123"; ow...
glb/cad_c1dcd048af5f.glb
Create a D Ring Mounting Bracket. Start by creating a main body that is the convex hull of two cylinders, each with a diameter of 15mm and a height of 21mm, positioned at [0, 1.75, 0] and [0, -1.75, 0]. Add a central structural element by creating a convex hull of two cylinders with a diameter of 12mm and a height of...
OD = 15; ID = 3.5; length = 21; thickness = 6; drill_centers = 20; drill_dia = 4.6; head_dia = 12; head_inset = 0.1; $fn = 64; difference(){ union(){ hull(){ translate([0,ID/2,0]) cylinder(length, OD/2, OD/2, true); translate([0,-ID/2,0]) cy...
glb/cad_8579cbabba3f.glb
Create a shape library consisting of several distinct geometric components. First, create a rectangular wall measuring 2mm by 200mm by 100mm. Perforate this wall with a grid of rectangular holes, each 2mm wide and 4mm high, spaced every 20mm along the height and width. Next, create a rounded pillar with a height of ...
module screw_hole(head_rad = 4, length = 40, thick_rad = 2, wall_thickness = 4, thin_rad = 1) { cylinder(h = length, r=thin_rad); cylinder(h = wall_thickness, r=thick_rad); cylinder(h=head_rad, r1=head_rad, r2=0); translate([0,0,-head_rad]) cylinder(h=head_rad, r=head_rad); } module ring_segment(rad = 4, heigh...
glb/cad_19cd4f99e4ea.glb
Create a Paddle Switch assembly consisting of a switch plate, linkages, hinge brackets, and spacers. First, create the switch plate as a rectangular slab measuring 82.55mm by 127mm with a thickness of 3.175mm. Center a rectangular recess measuring 38.1mm by 101.6mm with a depth of 0.79mm into the face. On the top and...
switchx=3.25; switchy=5; switchthick=.125; screwdist=2.375; recessdepth=1/16; boltdia=.26; slotx=.25; slotz=.375; slotlength=1.5; res=60; module finalplate(){ module plate(){ difference(){ cube([switchx,switchy,switchthick], center=true); cube([.5, 1, switchthick], center=true); translate ([0,screwdist...
glb/cad_b16103ab606d.glb
Create a cutter and insert tool for 1" grow cubes. Start by constructing a main body that combines a cylinder with a radius of 17.675mm and a height of 1mm, and a centered cube with dimensions of 23mm x 23mm x 40mm. From this combined shape, remove a central square column measuring 21mm x 21mm and 100mm in height. To...
difference() { union() { difference() { union() { cylinder(h=1, r=17.675); translate([0.00,0.00,20.00]) cube(size=[23, 23, 40], center=true); } cube(size=[21, 21, 100], center=true); translate([24.00,0.00,85.00]) rotate([45, 45...
glb/cad_3f32976302f5.glb
Create a cutter for 1" grow cubes consisting of a hollow square sleeve and a circular base. Start by creating a thin circular disk with a radius of 18.382mm and a height of 1mm. Centered on this disk, place a square tube with outer dimensions of 24mm by 24mm and a total height of 30mm, extending upwards from the base. ...
difference() { union() { cylinder(h=1, r=18.382); translate([0.00,0.00,10.00]) cube(size=[24, 24, 20], center=true); } cube(size=[22, 22, 100], center=true); }
glb/cad_f45d5f343dfe.glb
Create a cutter and insert tool for 1-inch grow cubes. Start by creating a solid cylinder with a radius of 28mm and a height of 1mm to serve as the base. Centered on this base, remove a square prism with a width and depth of 22mm and a height of 100mm to create a central square hole. To form the outer cutting structu...
difference() { union() { rotate([90, 0, 0]) translate([0.00,0.00,-0.50]) linear_extrude(height=1) polygon(points=[[0, 0], [28, 0], [25, 20], [0, 20]]); rotate([0, 0, 180]) rotate([90, 0, 0]) translate([0.00,0.00,-0.50]) linear_extrude(height=1) polygon(points=[[0, 0], [28, 0], [25, 20], [0, 20]]); ...
glb/cad_6f11913a8c52.glb
Create a Raft Return Filter consisting of a main rectangular base and a mounting clip. Start with a solid rectangular block measuring 75mm in width, 42mm in depth, and 10mm in height. On the top surface, carve out a wide semi-circular channel with a radius of 47mm, centered 5mm from the back edge and 80mm from the bott...
difference() { difference() { difference() { difference() { difference() { union() { translate([-37.50,0.00,0.00]) cube(size=[75, 42, 10], center=false); translate([0.00,0.00,40.00]) difference() { ...
glb/cad_6a9edb266192.glb
Create a set of three concentric interlocked rings. Each ring is formed by taking a sphere and removing the top and bottom sections to create a curved band with a total height of 15mm. The thickness of each band's wall is 5mm. The first and smallest ring is based on a sphere with a radius of 13.25mm. The second ring ...
start = 8; width = 5; height = 15; count = 3; spacing = 0.25; faces = 100; rings(start, width, height, count, spacing); module rings(start, width, height, count, spacing) { for (i = [1 : count]) { ring(start + (width + spacing) * i, width, height); } } module ring(radius, width, height) { differe...
glb/cad_bd7ad65055ae.glb
Create a seed starter holder for 1" grow cubes. Construct a rectangular base plate measuring 237mm by 237mm with a height of 30mm. Within this base, create a grid of 64 square openings, arranged in 8 rows and 8 columns. Each opening must be exactly 25mm by 25mm to accommodate the grow cubes. The walls separating these ...
difference() { union() { union() { union() { union() { union() { union() { union() { union() { union() { ...
glb/cad_24161bf45339.glb
Create a customizable tool stand by starting with a solid rectangular block measuring 100mm in width, 40mm in depth, and 60mm in height. Within this block, create a grid of vertical cylindrical holes, each with a diameter of 4mm. These holes should be spaced 10mm apart from each other (center-to-center) in both the X...
hole_dimension = 4; step = 9+1; grid_depth = 40; grid_width = 100; step_totaliy = grid_depth-5; step_totalix = grid_width-5; height_stand = 60; dimensione_parete = 3+0; height_supporti=height_stand/3; $fn=100+0; shows_support = "yes"; x=1+0; difference(){ cube([grid_width,grid_depth,height_stand]); for ( i = [step : s...
glb/cad_2f63c7601f40.glb
Create a Rack for X-Axis consisting of a linear support beam with a series of gear teeth. The main body is a rectangular beam with a total height of 11.2mm and a width of 11.2mm. Run a cylindrical hole with a radius of 3.1mm through the center of the beam's length. Along one side of the beam, create 20 identical gear ...
use <parametric_involute_gear_v5.0.scad>; include <configuration.scad>; pi=3.1415926535897932384626433832795; innerRadius=3.1; borders=2.5; diametralPitch=12; numberOfTeeth=20; pressureAngle=20*pi/180; centerAngle=25; rack(innerRadius,borders,diametralPitch,numberOfTeeth,pressureAngle,centerAngle); *demo_gear([0,0,0...
glb/cad_e6b4bb3a27fb.glb
Create a rack and pinion X-axis mount consisting of a rectangular base plate with a central cutout and a cylindrical boss. Start with a rectangular block 43mm wide, 95mm long, and 4mm thick. Center a vertical cylindrical hole with a radius of 4mm through the plate, positioned 52mm from the rear edge. In the center of t...
difference() { union() { translate([0,-95/2+43/2+10,0]) cube([43,95,4],center=true); translate([0,-52,0]) cylinder(h=10,r=10); } translate([0,10,0]) cylinder(h=50,r=23/2, center=true); translate([0,-10,0]) cylinder(h=50,r=23/2, center=true); cube([23,20,5], center=true); difference() { union() { translat...
glb/cad_2899dd0a791d.glb
Create a rack and pinion X-axis mount by starting with a solid rectangular block measuring 26.95mm in width, 38.45mm in depth, and 29.88mm in height. Carve out a rectangular section from the top center of the block, starting at a height of 14.94mm, with dimensions of 18.51mm in width and 17.74mm in depth, extending to ...
translate([-26.95/2,-38.45/2,0]) difference() { cube([26.95,38.45,29.88]); translate([0,0,14.94]) cube([18.51+1,17.74,29.88-14.94]); translate([18.51,0,0]) cube([26.95-18.51,33.11,29.88]); translate([9.89,10.05,-1]) cylinder(h=50, r=3, $fn=16); translate([23.19,0,23.425]) rotate([90,0,0]) cylinder(h=100, r=1.5, ce...
glb/cad_1a52635df2f3.glb
Create a Rack & Pinion for X-Axis mounting plate. Start with a central rectangular base measuring 102mm in length, 70mm in width (achsabstand 50mm plus 20mm), and 6mm in height, centered on the origin. At each end of the plate, centered 16mm from the outer edges, integrate two mounting blocks. Each block consists of ...
achsabstand=50; include <configuration.scad> hoehe=6; laenge=102; offset = 16; module halter() { union(){ translate(v = [0, 0, hoehe/2-(hoehe/2+16/2)/2 ]) cube(size = [20+14,30+2,hoehe/2+16/2], center = true); } } module halter_small() { union(){ translate(v = [0, 0, hoehe/2-(hoehe/2+16/2)/2 ]) ...
glb/cad_10df4809266b.glb
Create a Card Game Box consisting of a main caddy and a removable cover. For the caddy, create a rectangular base with a total height of 60mm. The outer dimensions are determined by the widest compartment (91mm) and the combined thickness of all internal pockets plus 1.5mm dividers. Carve out eight internal pockets o...
outputs = "both"; minimum_box_width=0; minimum_box_length=0; divider_thickness=1.5; divider_height=60; compartment_width=91; compartment_height=64; wall_thickness_minimum=1.5; finger_groove_radius=30; finger_groove_type="horizontal"; cover_top_clearance=1; cover_side_clearance=.1; caddy_lip = "yes"; lip_he...
glb/cad_852e333e4f29.glb
Create a Card Game Box consisting of a caddy and a cover. For the caddy, create a solid rectangular base with a total height of 40mm. The outer dimensions are determined by the widest pocket (91mm) plus a minimum wall thickness of 1.5mm on all sides. Within this body, carve out eight rectangular compartments of 64mm ...
outputs = "both"; caddy_lip = "yes"; minimum_box_width=0; minimum_box_length=0; divider_thickness=1.5; divider_height=40; compartment_width=91; compartment_height=64; wall_thickness_minimum=1.5; finger_groove_radius=20; pockets=[[compartment_width, 10, compartment_height],[compartment_width, 88, compartment_hei...
glb/cad_c317a553b9d9.glb
Create a parametric assortment box with outer dimensions of 65mm width, 126mm length, and 36mm height. The box should have a wall thickness of 1mm. Hollow out the center of the box, leaving a floor thickness of 1mm and maintaining the 1mm walls. On the top front edge, add a latching fin that is 1mm thick and 3mm high,...
box_width = 65; box_length = 126; box_height = 36; box_strength = 1; finn_height = 3; label_width = 50; label_height = 20; dividers = 1; difference() { cube(size = [box_width,box_length,box_height]); translate(v = [box_strength,box_strength,box_strength+0.01]) cube(size = [box_width-box_strength*2,box_...
glb/cad_b55d847d0de4.glb
Create a motor mount for a rack and pinion system. Start with a rectangular base plate measuring 60mm wide by 70mm high with a thickness of 2mm, centered on the origin. Cut two rectangular slots out of the base plate to serve as motor mounting holes; each slot should be 5mm wide and 30mm long. Position these slots sy...
vertical = 1; rack_rail_height = 30; rack_rail_width = 5; rack_hole_height = 13; motor_hole_width = 5; motor_hole_height = 30; base_width = 60; base_height = 70; rail_thickness=2; difference(){ cube([base_width,base_height,2], center=true); translate([-base_width/2+15,-base_height/13,0,])cube([motor_hol...
glb/cad_ccd53ed88a04.glb
Create a Customizable Anti-Warping Jig consisting of two identical units spaced 1.0mm apart. Each unit is a block designed to hold a metal bar over a 3D printer bed. For each unit, create a main body with a total depth of 30.4mm (calculated as the metal bar width of 22mm plus two 2mm bar thicknesses, plus 0.4mm cleara...
metal_bar_thickness = 2.0; metal_bar_width = 22.0; raft_thickness = 0.8; bed_thickness = 5.8; clearance = 0.1; quantity = 2; inner_length = 10.0; outer_length = 5.0; module anti_warping_jig() { fn=36; plate_thickness = 3.0; plate_side_width = 10.0; adj=0.1; all_height = metal_bar_thickness + raft_thickness + bed...
glb/cad_58ca8ef1ab4d.glb
Create a TI BP-8 replacement cover. Start with a main rectangular base measuring 63.05mm in length, 50.3mm in width, and 1.25mm in height. On top of this base, center a second rectangular plate that is 60.2mm long and 46.6mm wide, with a thickness of 1.25mm, leaving a small margin around the edges. Add four small rec...
A = (46.6 + 47)/2; B = 50.3; C = 02.45; D = 63.05; E = 60.8; F = 16.45; G = 01.25; H = 60.2; I= 06.15; K = 03.6; L = 49.5; M= 12.9; N=11.8; O = 19.5; P=21.2; Q=11.4; R = 07.8; S= 01.7; T = 00.7; difference() { cube([D,B,G]); translate([E,(B-F)/2,-G]) cube([10,F,3*G]); } hull() { translate([E-T,(B-F)/2,0]) cube...
glb/cad_959c8338de7a.glb
Create a cable tag consisting of a flat rectangular base with a rounded, C-shaped clip. Start with a rectangular base 20mm wide and 7mm high, with a uniform wall thickness of 1.8mm. On one end of the rectangle, form a circular clip designed to fit a 6mm diameter cable. This clip should be a nearly closed circle with an...
cable_diameter = 6; height = 7; string = "Text"; tag_width = 20; thickness = 1.8; gap_ratio = 0.85; hook_length = 3; text_height_ratio = 0.8; $fn = 32; e = 0.01; difference() { diam = cable_diameter + thickness; minkowski() { linear_extrude(height=e) { union() { difference() { circle(d=diam...
glb/cad_62b8735f34ae.glb
Create a pigeon spike deterrent consisting of a central rectangular base and radiating spikes. Start with a base plate measuring 40mm by 5mm with a height of 10mm. From the center of this base, extend a series of thin rectangular spikes, each 1mm thick. Place one spike straight along the Y-axis with a length of 80mm. A...
s=1; k=10; a=25; difference (){ union(){ union() {cube([40,5,k], center=true); translate([0, 40,(-k+s)/2 ]) cube([3,80,s], center=true); translate([-17, 39,(-k+s)/2 ]) rotate(a=20, v=[0,0,1]) cube([3,80,s], center=true); translate([-35, 37,(-k+s)/2 ]) rotate(a=35, v=[0,0,1]) cube([3,90,s], center=true); trans...
glb/cad_2fd7ad582a93.glb
Create a lampshade mount adapter consisting of a wide base and a hollow neck. Start with a cylindrical base 47mm in diameter and 1.5mm in height. On top of this base, center a hollow cylindrical neck with an outer diameter of 43mm, an inner diameter of 40.5mm, and a total height of 9mm. To create the grip pattern on th...
use <thread.scad> module nut_mount($fn=128,base_od=47,neck_od=43,neck_id=40.5,height=9) { difference() { union() { cylinder(d=base_od,h=1.5); cylinder(d=neck_od,h=height); intersection() { for(r=[0:360/8:360]) ...
glb/cad_bbc9defc13c6.glb
Create a lampshade mount adapter consisting of a hollow cylindrical base and a narrower neck. Start with a base that has a bottom outer diameter of 44mm and a height of 8mm. The bottom 2mm of this base should be a tapered transition from a diameter of 41mm at the very bottom to 44mm. The base must have a central hole w...
use <thread.scad> $fn=128; module mount(neck_od=37.5,neck_id=30,base_od=44,base_id=37,base_height=8,neck_height=24) { difference() { union() { cylinder(r1=(base_id+2)/2,r2=base_od/2,h=2); translate([0,0,2]) cylinder(d=base_od,h=base_height-2); cylinder(d=n...
glb/cad_7e53d08a3f5b.glb
Create a snorkel clip designed to hold a round tube. Start by creating a main cylindrical ring with an outer diameter of 33.9mm and an inner diameter of 26.5mm, with a total height of 18mm. Cut a narrow vertical expansion gap 2mm wide through one side of the ring to allow it to flex. Attached to the side of this ring,...
snorkel_diameter = 26.5; snorkel_clip_height = 18; strap_height = 18; strap_clip_offset = 3; strap_allowance = 7; holder_wall_thickness = 3.4; strap_clip_width = 17; strap_entrance_scale = 0.38; clip(); module clip(){ _uncenter = snorkel_clip_height/2; difference(){ union(){ difference(){...
glb/cad_cf33e58beaff.glb
Create a camera mount consisting of a base, a connecting arm, and a holder. Start with a base composed of three rectangular plates: a bottom plate measuring 30mm by 14mm by 3mm, a second plate of 30mm by 10mm by 3mm positioned 3mm above the first along the Y-axis, and a third plate of 30mm by 15mm by 3mm positioned 14m...
{ cube([30, 14, 3]); translate([0, 3, -10]) rotate(90, [1, 0, 0]) cube([30, 10, 3]); translate([0, 14, -15]) rotate(90, [1, 0, 0]) cube([30, 15, 3]); } { difference() { translate([10, 14, -2]) cube([10, 45, 5]); translate([11.5, 14, -4]) cube([7, 45, 5]); } } { difference() { translate([...
glb/cad_39c703ee0913.glb
Create a parametric rake tool. Start by forming a central rectangular crossbar that is 44mm wide, 5mm thick, and 10mm deep, centered on the origin. Attach a handle to the back of this crossbar by creating a cone that extends 60mm outwards; the cone should taper from a base radius of 5mm at the crossbar to a tip radius ...
module rastrillo(ancho=44, largo_pua=20, grosor=4, largo_mango=60, radio_mango=5, puas_abajo=false){ rm=radio_mango; mango=largo_mango; union(){ translate([-ancho/2,0,0]) for ( i=[0:floor(ancho/(2*grosor))]){ if (puas_abajo){ translate([grosor/2+(i*2*grosor),0,rm-(rm/2)]) ...
glb/cad_27f772d7bc2c.glb
Create a Customizable Coin Holder designed to fit a car cup holder. The main body is a cylinder with a radius of 37.5mm and a height of 50mm. Subtract five coin slots from the main body, distributed evenly in a circle. Each slot is a cylindrical cutout based on specific coin dimensions (diameter and thickness). For e...
use <write/Write.scad>; part = 1; chop = 0; numSlots = 5; coin1 = 1; coin2 = 2; coin3 = 3; coin4 = 4; coin5 = 5; coin6 = 6; coin7 = 0; coin8 = 0; cupHolderWidth = 75; cupHolderR = cupHolderWidth/2; cupHolderDepth = 50; springOD = 10; springOR = springOD/2; springID = 8; springIR = springID/2; echo ("spring ", s...
glb/cad_5b5a97770e07.glb
Create a Pocket Dice Tower consisting of a main tower body and a separate cover. For the tower body, create a rectangular tube with outer dimensions of 25mm width, 25mm depth, and 90mm height, with a wall thickness of 1mm. At the bottom, create an opening by removing a central square of 23mm by 23mm and a cylinder with...
width=25; depth=25; height=90; wall_depth=1; translate([-width*1.5,-depth/2,0]){ union(){ difference(){ difference() { cube([width,depth,height]); translate([wall_depth, wall_depth,wall_depth]){ cube([width-2*wall_depth, depth-2*wall_depth, height]); } } translate([width/2,-1,width-1]){ ...
glb/cad_52f873a94974.glb
Create a suitcase nametag by starting with a solid rectangular base measuring 58mm in width, 38mm in depth, and 6mm in height. Hollow out the center of this block by removing a rectangular section 56mm wide and 36mm deep, leaving a 1mm thick wall on the sides and a 4mm thick floor. Drill a circular hole with a radius o...
$fn=120; difference(){ cube([58,38,6]); translate([52,6,0])cylinder(h=10,r=4,center=1); translate([1,1,4])cube([56,36,6]);} module multiLine(){ union(){ for (i = [0 : $children-1]) translate([0 , -i * 9, 0 ]) children(i); } } multiLine() translate([2,29.5,0,])linear_extrude(height=6)multiLine(...
glb/cad_2d2337751a62.glb
Create a filament spool holder endcap by starting with a solid cylinder that has an outer diameter of 24mm and a height of 12mm. Round the top edges of this cylinder using a 7mm radius fillet. Carve a concentric circular slot into the top face of the cylinder to create a recessed ring. This slot must have an inner diam...
e = 0.3; dIn = 16.0; dOut = 24.0; h = 12.0; v = 8.0; t = 0.5; o = 7.0; $fn = 200; zero = 0.0001; module slot() { difference() { cylinder(d=dIn+e, h=v); cylinder(d=dIn-2*t-e,h=v); } } module endcap() { difference() { scale([dOut/(dOut+o),dOut/(dOut+o),h/(h+o)]) ...
glb/cad_c9d93b933d9d.glb
Create a filament spool holder hub with a total height of 24mm. Start by building a tiered central body: a base cylinder 51mm in diameter and 5mm high, topped by a 2mm high frustum that tapers outward from 51mm to 55mm, followed by a 3mm high cylinder 55mm in diameter, and finally a top cylinder 20.76mm in diameter and...
d1 = 51.0; d2 = 55.0; d3 = 16.18; t = 2.38; d4 = d3+2*t; $fn=300; zero=0.001; h = 24.0; h1 = 5.0; h2 = 2.0; h3 = 3.0; h4 = h-h1-h2-h3; n = 6; angle=(n==0)?720:360/n; r = (d1+d4)/4; dd = (n==0)?0:min( 2*3.1415*r/n-t ,(d2-d4)/2-2*t); module hub() { difference() { union() { ...
glb/cad_f95acd86de64.glb
Create a stand for a filament spool holder by constructing a rounded rectangular base and an attached vertical support. Start with a main block that is 38mm long, 9mm wide, and 8mm high, ensuring all corners and edges are rounded with a 2mm radius. From the top surface of this block, remove a rectangular section 30mm l...
e = 0.4; w = 4.6; t = 4.0; l = 30.0; h = 8.0; v = 4.0; $fn = 100; zero= 0.001; o = 2.0; module full_rounded_box(l, r, t, d) { scale([l/(l+d), r/(r+d), t/(t+d)]) minkowski() { cube([l,r,t]); translate([d/2,d/2,d/2]) sphere(d=d);} } module stand() { difference() { translate([-t,0,0]) full_rounded...
glb/cad_121a96a0267b.glb
Create a hot bed thumbwheel for an M3 screw. Start with a main cylindrical body 20mm in diameter and 4mm high. On top of this cylinder, add a tapered shim that transitions from a diameter of 9.5mm at the base to 7.5mm at a height of 2mm. Through the center of the entire assembly, create a vertical hole with a diameter...
o = 0.5; dWheel = 20.0; hWheel = 4.0; hShim = 2.0; dM3 = 3.0 + o; hNut = 2.4 + o; dNut = 5.5/cos(30) + o; dShim = dNut + 2*hShim; dT2 = dNut + hShim; hS = 1; nm = 5; $fn = 80; e = 0.01; module Scale() { l=(dWheel-dShim)/2; translate([0,0,hWheel-hS+e]) for(i=[0:nm*2-1]) ro...
glb/cad_cc32e605d603.glb
Create an Instant Wingnut Adapter based on a nut size of 11.4mm. Start by creating a central cylindrical base with a diameter of 14.82mm and a height of 5.13mm. Through the center of this base, remove a hexagonal hole with a flat-to-flat diameter of 11.4mm and a height that extends through the entire part. Add a small ...
m3 = 6.35; m4 = 8.0; m5 = 9.15; m6 = 11.4; m8 = 15.0; m10 = 19.4; diam = m6; wand = diam*0.30; dik1 = diam*0.45; dik2 = diam*0.30; oog = diam*0.75; $fn = 90; difference() { B1(); W1(); } module B1() { translate([0,0,0]) cylinder(h=dik1,d=diam+2*wand); hull() { ...
glb/cad_80f926236da7.glb
Create a circular disk for a 3Mirror Variable Lissajous Pattern Generator. Start by creating a main cylinder with a radius of 17mm and a height of 3mm. From this main body, remove a second cylinder with a radius of 20mm and a height of 2mm. Position this second cylinder so that its center is aligned with the first, but...
difference(){ union(){ cylinder(3,17,17,$fn=60); } rotate([2,0,0]) translate([0,0,2]) cylinder(2,20,20,$fn=60); }
glb/cad_8f0e564e1c5b.glb
Create a Sensor Protector by starting with a sphere 25mm in diameter. Cut the sphere in half horizontally to create a hemisphere with a flat top surface. Extend this flat top surface upwards by adding a cylinder with a 25mm diameter and a height of 5mm, creating a combined solid with a total height of 17.5mm. From the ...
include <threads.scad>; $fn=80; outerDiameter=25; additionalHeight=5; sensorHeadDiameter=16.9; sensorScrewDiameter=18; sensorScrewPitch=1; difference(){ union(){ difference(){ sphere(d=outerDiameter); cylinder(d=outerDiameter,h=outerDiameter/2);} cylinder(d=outerDiameter,h=additionalHeight)...
glb/cad_9a7e29615b37.glb
Create a Sensor Protector by starting with a sphere of 25mm diameter. Flatten the bottom of the sphere by removing the lower half, resulting in a hemispherical dome with a flat base. Extend the walls of this flat base vertically upwards by 8mm to create a cylindrical collar. Inside this shape, carve out a central ver...
include <threads.scad>; $fn=80; outerDiameter=25; additionalHeight=8; sensorHeadDiameter=16.9; sensorHeadHeigth=9; sensorScrewDiameter=18.1; sensorScrewPitch=1; difference(){ union(){ difference(){ sphere(d=outerDiameter); cylinder(d=outerDiameter,h=outerDiameter/2);} cylinder(d=outerDiamet...
glb/cad_46fe9147ec4a.glb
Create a flux syringe cap consisting of a hollow, slightly conical sleeve with a flat circular base. The main body is a cylinder with an outer diameter of 12.1mm and a total height of 30.8mm. The interior is a conical cavity 30.2mm long, tapering from a diameter of 10.5mm at the top opening to 10.4mm at the bottom, cre...
DEBUG=0; ID1 = 10.5; ID2 = 10.4; H1 = 3.0; IntLen = 30.0; BaseDia = 22.0; WW = 0.8; $fn = 36*2; ang=atan(H1/(ID1-ID2)); echo(ang=ang); a=IntLen/tan(ang); echo(a=a); module Cap() { translate([0,0,(IntLen+WW)/2]) { difference() { union() { cylinder(d=ID1+WW*2, h=IntLen+WW, center=true); ...
glb/cad_b687f305b4b3.glb
Create a Z Axis End Stop Adapter by starting with a main rectangular block measuring 20mm in width, 20mm in depth, and 25mm in height. Carve out a central slot to accommodate a circuit board, creating a void that is 6.3mm wide. This void should be removed from the block such that it leaves walls of varying thicknesses:...
board_width = 6.3; block_x = 20.0; block_y = 20.0; block_z = 25.0; offset = 2; x_width = block_x - board_width; translate([0, 0, block_y]) rotate([0, 90, 0]) difference() { cube([block_x, block_y, block_z]); union() { translate([0, block_y - (board_width * 2) - offset, block_z - board_width...
glb/cad_d2d1dd87187a.glb
Create a Filament Spool Adapter consisting of a tiered cylindrical base and a central column. Start with a flat circular bottom plate with a radius of 28.5mm and a height of 2mm. Centered on this plate, build a main cylindrical body with a height of 11mm. This body should be a hollow tube with an outer radius that tape...
axis_diameter = 8.2; spool_inter_diameter_top = 40; spool_inter_diameter_bottom = 38; bottom_plate_ratio = 0.75; bottom_plate_height = 2; tooth_width = 2; cylinder_ratio = 0.5; center_height = 11; text_height = 2; text_thickness = 5; text_lift = text_height - 1; resolution = 100; slices = 8; use <Writescad/write.scad>...
glb/cad_c4a5022c7af2.glb
Create a Customizable Tangram puzzle consisting of seven flat geometric pieces, each with a uniform thickness of 3mm. The pieces are derived from a square with a total side length of 100mm. Each piece should be slightly undersized by a 0.6mm offset to allow for a gap between them. Construct the following shapes based ...
side = 100; sep = 0.6; thickness = 3; drawBox = 0; paths = [ [ [ 0.00, 0.00 ], [ 0.50, 0.50 ], [ 1.00, 0.00 ] ], [ [ 0.50, 0.50 ], [ 1.00, 1.00 ], [ 1.00, 0.00 ] ], [ [ 0.00, 1.00 ], [ 0.50, 1.00 ], [ 0.00, 0.50 ] ], ...
glb/cad_3d3b66d09f49.glb
Create a light bulb shield designed to snap onto a bulb base. The model is centered around a vertical axis and consists of several concentric, partially rotated sections. Start by creating a central cylindrical collar with an inner radius of 16mm and an outer radius of 18.5mm, extending 20mm in height. This collar sh...
aov=220; function pa(a) = a / 2; function ma(a) = 0 - a / 2; union() { translate([0, 0, 20]) rotate_extrude(angle = 110, $fn=55) translate([16.75, 0]) circle(1.75); translate([0, 0, 20]) rotate_extrude(angle = -110, $fn=55) translate([16.75, 0]) circle(1.75); rotate_ext...
glb/cad_d9136ed24332.glb
Create a "Dancing Cubes" fidget toy consisting of a 3x3 grid of interlocking cubes. Each individual cube has a width of 20mm and rounded corners with a radius of 4.3mm. To form the cubes, start with a 20mm square with rounded corners. For each cube, carve out cylindrical sinks with a radius of 2.3mm. The specific num...
rows = 3; cube_width = 20; spacing = 0.8; hole_radius = 2.3; edge_width = 2; module part_for_carve_a_sink(hole_radius, height, edge_width) { $fn = 24; module part_for_h_carving() { leng = hole_radius + edge_width + 1; rotate([0, 90, 0]) linear_extrude(leng) circle(hole_radius); rotate([-90, 0,...
glb/cad_d13f67c35fbb.glb
Create a bike parametric bottle holder designed for a 70mm outer diameter bottle. The main body is a semi-cylindrical shell with a total length of 100mm and a wall thickness of 2mm. The shell is open at the front to allow the bottle to slide in. At the base, create a mounting plate that spans the width of the holder. ...
$fn=250; bottle_od = 65+5; bottle_l = 100; stop_x = 30; stop_y = 25; stop_d = 25; screw_dist = 64; screw_td = 5.2; screw_hd = 9; screw_hh = 5; base_zm = 2; base_wm = 2; holder_z = 2; open=.4; holder_x = 20; round_d = 30; bottle(); module bottle_holder() { difference() { union() { translate([0,(bottle_l-(...
glb/cad_1acecd76eb81.glb
Create a measuring cup consisting of a hemispherical bowl and an attached handle. Form the bowl by creating a hollow hemisphere with an outer radius of 5.47mm and an inner radius of 4.47mm, resulting in a wall thickness of 1mm. To stabilize the base, add a concentric cylindrical ring at the bottom of the bowl with an o...
vol_cm3 = 118.294; handle_lenght = 70; handle_thickness = 3; handle_width = 20; cup_thickness = 1; TEXT = "1/2 CUP"; stabilizator_radius_percent = 50; handle_brace=handle_thickness*.8; inside_sphere_rad = pow(6*vol_cm3*1000/(4*PI),1/3); outside_sphere_rad = inside_sphere_rad + cup_thickness; stab_rad=stabilizator_radi...
glb/cad_c4908649098a.glb
Create a microphone holder consisting of a main cylindrical collar and an attached mounting tab. For the collar, create a hollow cylinder with a height of 17.75mm, an outer bottom radius of 22.85mm tapering slightly to a top radius of 22.42mm, and an inner hollow space with a bottom radius of 19.85mm tapering to 19.42m...
difference() { union() { difference() { cylinder(h=17.75, r1 = 22.85, r2 = 22.42, center = false, $fn=100); translate([0,0,-.5]) cylinder(h=21, r1 = 19.85, r2 = 19.42, center = false, $fn=100); } translate([0,0,17.75]) torus2(21.48, 2); } translate([0,0,-.50])...
glb/cad_bc269b4ebc7d.glb
Create a printable spring consisting of a zig-zagging strip of material. The spring is formed by a series of folds. Each fold consists of a semi-circular arc with an inner diameter of 3mm and a thickness of 2mm, connected by straight arms. The total length of the arms is calculated based on an overall length of 20mm, m...
module spring_arc(arm_len, r, th, w) { or = r + th; translate([arm_len,or,0]) union() { difference() { cylinder(r=or, h=w, center=true, $fn=20); translate([-or,0,0]) cube([2*or, 2*or+2, w+2],center=true); cylinder(r=r, h=w+10, center=true, $fn=20); } translate([-arm_...
glb/cad_90d9e5c66df2.glb
Create a Dual E3d Mount by starting with a main cylinder 50mm high with a radius of 30mm. Remove two vertical cylindrical bores from the center of the main body, each with a radius of 13mm and a height of 30mm, positioned symmetrically at Y coordinates 12.5mm and -12.5mm. At a height of 29mm, remove two smaller cylindr...
difference(){ cylinder(h=50, r=30); translate([0,12.5,0])cylinder(h=30, r=13); translate([0,-12.5,0])cylinder(h=30, r=13); translate([0,12.5,29]) cylinder(h=25, r=8); translate([0,-12.5,29]) cylinder(h=25, r=8); translate([-32,-30,32.5]) cube([20,60,20]); translate([12,-30,32.5]) cube([20,...
glb/cad_2e66f946d565.glb
Create a PCB Easy enclosure consisting of a bottom shell, four support feet, and a front panel. First, construct the bottom shell as a rounded box with a height of 20mm and a wall thickness of 2mm. The outer dimensions are derived from a PCB size of 90mm by 70mm, resulting in a total length of 103mm and a width of 78...
Height = 20; Thick = 2; Filet = 2; Resolution = 50; m = 0.9; PCBFeet = 1; Vent = 0; Vent_width = 1.5; Txt = "Marco"; TxtSize = 5; Police ="Tahoma"; PCBLength = 90; PCBWidth = 70; PCBLeft = 2; PCBRight = 2; ...
glb/cad_5f2378855fc7.glb
Create a parametric electrical box shim by starting with a rectangular block that is 6mm high and 19mm deep. The total length of the block should be calculated based on three gangs, using a width of 44mm for the first gang and adding 46.0375mm for each subsequent gang, resulting in a total length of 136.1125mm. Withi...
numGangs = 3; shimDepth = 19.0; gangSpacing = 46.0375; shimHeight = 6.0; shimWidth = 44.0; holeOffset = 3.0; holeDia = 4.0; $fn=30; module shim() { cube([shimWidth+((numGangs-1)*gangSpacing), shimDepth, shimHeight]); } module holes() { for (i=[0:numGangs-1]) { translate([shimWidth/2 + i*gangSpacing,...
glb/cad_6e081bc1da24.glb
Create a three-piece antenna holder consisting of a central middle block and two outer plates. First, create the middle block as a cube measuring 40mm x 40mm x 17mm. Remove a cylindrical channel from the center with a radius of 7.5mm and a length of 50mm, oriented along the X-axis. Additionally, remove a cylindrical ...
diameter = 15; thickness1 = 10; thickness = 17; translate([50,25,-(thickness/2 - thickness1/2)]) rotate([0,0,0]) difference(){ cube([40,40,thickness1],center=true); translate([0,0,(thickness1/2)+(diameter/(diameter-7))]) rotate([90,0,0]) cylinder(r=diameter/2, h=50,$fn=100,center=true); translate([(20-(di...
glb/cad_87b10a2bb53d.glb
Create a Clip on Spool Drawer consisting of two identical cylindrical sections stacked vertically. First, create a cylinder with a diameter of 15mm and a height of 15mm. From the center of this cylinder, remove a complex vertical hole consisting of several stacked coaxial segments: a bottom cylinder with a diameter of ...
union(){ difference() { cylinder(d=15,h=15); clip_slot(); } translate([0,0,25.2])rotate([180])difference() { cylinder(d=15,h=15); clip_slot(); } } $fn=80; module clip_slot() { union() { slot(); mirror([0,0,1])slot(); } } module slot() {...
glb/cad_1aba95912ec9.glb
Create a Clip on Spool Drawer clip designed to hold drawers together. The main body is a symmetrical, multi-layered cylindrical pin with a total length of 66mm. Start by constructing the central core as a series of stacked cylinders along a central axis. The primary body consists of a cylinder with a diameter of 7.98...
length=66; scalesize=1; fullclip(); module fullclip() { rotate([90])scale([scalesize,scalesize,scalesize])difference() { union() { body(); mirror([0,0,1])body(); } cut(); mirror([0,0,1])cut(); } } $fn=80; module body() { color("cyan")cyl...
glb/cad_8cae3499442e.glb
Create a Clip on Spool Drawer consisting of a cylindrical container with internal dividers. Start with a main body defined by an outer diameter of 200mm and an inner diameter of 80mm, with a total height of 62mm. The structure features a bottom base and a top cap, both 2mm thick, separated by a central wall height of 5...
number_of_drawers = 4; render_drawers = 1; outer_diameter = 200; in_out_dist = 60; inner_diameter = ((outer_diameter/2) - in_out_dist)*2; inner_spool_width = 60; spool_hole_diameter = 30; segments_per_circle = 360; wall_thickness = 2; clearance_from_spool= ...
glb/cad_4eb34d6f4c6a.glb
Create a Clip on Spool Drawer guide by constructing a composite geometric base. Start with a central cylinder that has a diameter of 57mm and a total height of 10mm. The bottom 5mm of this central cylinder should be slightly wider, with a diameter of 63mm. Surrounding this center, create a circular ring structure with...
drawers = 4; outer_diameter = 200; inner_spool_width = 57; guide_height = 5; guide_thickness = 5; wall_thickness = 2; screw_size = 4; angles = 360/drawers; $fn = 80; difference() { union() { cylinder(d=inner_spool_width,h=guide_height+guide_thickness); cylinder(d=inner_spool_width+6,h=guide_thickness...
glb/cad_be9e89535884.glb
Create a 3D model of a shed with an external body length of 2200mm and a width of 1800mm. Start with a base consisting of two longitudinal runners 2200mm long, spaced 1800mm apart, supporting a floor made of 11mm thick OSB panels. Build the side walls to a height of 1800mm using a timber frame of 38mm by 89mm studs s...
LEN = 2200; WID = 1800; HEIGHT = 1800; ROOF_PITCH = 30; ROOF_OVERHANG = 100; interior_walls = 1; eaves_boarding = 1; roof_panels = 1; cladding = 1; DOOR_H = 2032; DOOR_W = 914; STUD_S = 38; STUD_SPACE = 600; SKID_SPACE = 800; NOGGIN_SPACE = 800; STUD_L = 89; BEAM_S = 38; BEAM_L = 144; OSB_T = 11; OSB...
glb/cad_3def5e7f5d39.glb
Create a modified x belt mount by starting with a solid rectangular base measuring 32mm in length, 17mm in width, and 7mm in height. Remove two vertical cylindrical holes, each with a radius of 2mm and a height of 9mm, centered at a height of 3.5mm; position the first hole 11mm to the left of the center point and the s...
difference() { cube(size=[32,17,7]); translate([32/2-11,6,7/2]) cylinder(r=4/2,h=9, center=true); translate([32/2+11,6,7/2]) cylinder(r=4/2,h=9, center=true); translate([32/2,7/2+8,7/2]) cube(size=[14,7,9],center=true); translate([(32-10)/4,7/2+8,5/2+4]) cube(size=[(32-10)/2+2,7,4+1],center=true); translate([(32-...
glb/cad_129b8018b8ca.glb
Create a modified x belt mount consisting of two joined rectangular prisms. First, construct a base rectangular block with dimensions of 23mm in length, 6.5mm in width, and 1.6mm in height. Attached to the top of this base, position a second rectangular block that is 11.4mm long, 6.5mm wide, and 7mm high. This second b...
translate([0,0,0]) cube(size=[14-2.6,6.5,7]); translate([0,0,0]) cube(size=[14+9-1.3,6.5,3-1.4]);
glb/cad_b29b4dbe19ed.glb
Create a customizable hinged box consisting of a base and a lid. The base is a rounded rectangular prism with an outer width of 120mm, depth of 60mm, and a total height of 40mm. The walls are 1.4mm thick with corner radii of 5mm. The interior of the base is hollowed out, leaving a height of 30mm (total height minus the...
part = 0; boxWidth = 120; boxDepth = 60; boxHeight = 40; lidHeight = 10; includeSeparators = 1; lidSeparators = 1; corner = 5; numSeparatorsX = 3; numSeparatorsY = 2; wallThickness = 1.4; tolerance = 0.2; font="Arial"; textFont = font != "" ? font : "Arial"; textBase = "Text"; textBaseSize = 15; textLid ...
glb/cad_a2f0245b7258.glb
Create a customizable hinged box with a base and a lid. The overall outer dimensions are 120mm width, 60mm depth, and 40mm total height. Both the base and lid should have rounded corners with a 5mm radius. Construct the base as a rounded rectangular container with a wall thickness of 1.4mm. The interior height of the ...
part = 0; boxWidth = 120; boxDepth = 60; boxHeight = 40; lidHeight = 10; includeSeparators = 1; lidSeparators = 1; corner = 5; numSeparatorsX = 3; numSeparatorsY = 2; wallThickness = 1.4; tolerance = 0.2; font="Arial"; textFont = font != "" ? font : "Arial"; textBase = "Text"; textBaseSize = 15; textLid ...
glb/cad_2c742867490c.glb
Create a keyboard foot consisting of a main rectangular body and a cylindrical pin. Start by creating a rectangular block 25.5mm long, 16.5mm wide, and 5.5mm thick. On one end of this block, integrate a cylinder that serves as a hinge pin, with a total length of 25mm and a radius of 1.5mm. The main body should transiti...
$fn=360; translate([3,0,2.5]){rotate([270,0,0]){difference(){ union(){ translate([0,0,-4]){ cylinder(r=1.5,25);} hull(){ cylinder(r=3,16.5); translate([23.5,1.6,0]){cylinder(r=1,16.5);} } } translate([-3,-5,3]){cube([14.5,10,1.5]);} translate([-3,-5,12]){cube([14.5,10,1.5]);} translate([-2,-2.5,-9]...
glb/cad_275127b743e8.glb
Create a BD Squobe by starting with a sphere that has a radius of 30mm. Constrain this sphere within a centered cube with side lengths of 47mm to flatten its six sides. From this resulting shape, remove three identical cylindrical holes, each with a radius of 13mm and a length of 60mm, that pass completely through the ...
difference() { intersection() { sphere(30); cube(47,47,47, center=true); } union() { translate([-30,0,0]) { rotate([0,90,0]) cylinder(h=60, r=13); } translate([0,30,0]) { rotate([90,0,0]) cylinder(h=60, r=13); } translate([0,0,-30]) { cylinder(h=60, r=13); } } }
glb/cad_ab055667ec64.glb
Create a Nikon EN-EL5 battery external adapter box. The main body is a rectangular block with a length of 53mm, a width of 35mm, and a height of 7mm. The edges of the body are rounded, formed by the hull of two cylinders with a radius of 2mm positioned at opposite ends of the width. On the sides of the body, add small...
en_el5_length = 53; en_el5_width = 35; en_el5_height = 7; en_el5_contact_hall_width = 3; en_el5_contact_hall_height = 4; en_el5_contact_hall_offset = [5, 11.5, 24.5]; module en_el5_body(){ hull(){ translate([2, 0, en_el5_height-2]) { rotate([-90, 0, 0]) cylinder(h = en_el5_length, r = 2, $fn = 32); translate(...
glb/cad_07d725983118.glb
Create an Alternative Z-Rider Coupling by starting with a main cylinder that is 40mm tall with a radius of 11mm. Remove a central vertical hole from this cylinder with a radius of 3.74mm that extends through the entire height. Additionally, remove a smaller concentric vertical cylinder from the center with a radius of ...
r0=22/2; r1=7.48/2; r2=5.1/2; h=40; difference() { cylinder(h,r0,r0,$fn=60); translate([0,0,h/2]) cylinder(h+1,r1,r1); cylinder(h,r2,r2); translate([-5.4/2,4.8,0]) cube([5.4,2.27+.6,h/3]); translate([0,0,h/2.5/2]) rotate(-90,[1,0,0]) cylinder(15,3.5/2,3.5/2,$fn=6); }
glb/cad_86d26603ff79.glb
Create a single link for a plastic chain mail system. Start by forming a flat, solid plate that is 3mm thick, created by joining two circles with a radius of 7mm whose centers are spaced 10mm apart. From this solid shape, remove two cylindrical holes, each with a radius of 4mm and a height of 6mm, centered at the same ...
difference() { linear_extrude(height=3) hull() { circle(7); translate([0,10,0]) circle(7); } translate([0,0,-1]) cylinder(r=4,h=6); translate([0,10,-1]) cylinder(r=4,h=6); translate([-1,12,-1]) cube([2,6,6]); }
glb/cad_77b2196e2acd.glb
Create a Squeeze Rod Clamp designed to hold an 8mm rod. Start by creating a main cylindrical body with a radius of 7.24mm (8mm rod radius plus a 3mm margin) and a total height of 9mm. Cut a vertical cylindrical hole through the center of this body with a radius of 4.24mm to accommodate the rod. To create the clamping...
rod_diameter = 8.0; bolt_diameter = 3.0; depth_margin = 3; rod_margin = 3; small_arms = 0; if( rod_diameter<=0 || bolt_diameter <= 0 ) { echo("<B>Error: Missing important parameters</B>"); } max_gap_thickness = 6; main_depth= max(3, bolt_diameter) + depth_margin*2; translate([0,0,main_depth/2]) opti...
glb/cad_f982671cdbd5.glb
Create a bolted rod clamp designed to secure an 8mm rod. Start by forming the main body as a union of a central cylinder and a rectangular block. The cylinder should have a radius of 8mm (the rod radius plus a 4mm margin) and a depth of 16mm. The attached rectangular block should be 16mm wide, 16mm high, and 16mm deep,...
rod_diameter = 8.0; bolt_diameter = 3.0; nut_diameter = 6.0; nut_thickness = 2.8; rod_margin = 4; if( rod_diameter <= 0 || bolt_diameter <= 0 || nut_diameter <= 0 || nut_thickness <= 0) { echo("<B>Error: Missing important parameters</B>"); } if(nut_diameter<=bolt_diameter) { echo("<B>Error: Nut size t...
glb/cad_3f42dbca0e5c.glb
Create a stylized toy bus model. Start with a main rectangular body measuring 30mm in length, 20mm in width, and 16mm in height. At the rear of the bus, carve out five rectangular window openings, each 4mm wide and 7mm high, spaced evenly along the top section. On the side of the bus body, center a capital letter "E"...
translate([7,3,5.3])cylinder(6.3,1.5,1.5); translate([7,3,1])cylinder(4.3,4.5,1.5); translate([7,3,0])cylinder(1,4.5,4.5); translate([7,3,10.7])cylinder(4.3,1.5,4.5); translate([7,3,15])cylinder(1,4.5,4.5); translate([33,3,0])cylinder(1,4.5,4.5); translate([33,3,1])cylinder(4.3,4.5,1.5); translate([33,3,5.3])cylinde...
glb/cad_190a33768b39.glb
Create a Logitech C270 Webcam Mount for car headrest poles. The device consists of a central rectangular bar connecting two identical cylindrical mounting rings. Create two hollow cylinders, each with an outer diameter of 20mm and an inner diameter of 10mm, and a height of 12mm. Position these cylinders 84.7mm apart, ...
HeadrestPoleDiameter=10; HeadrestPoleMountDiameter=20; HeadrestPoleMountHeight=12; HeadrestPoleSeparationDistance=84.7; WebcamAttachmentOffset=40; PegHeaderHeight=2; module cylinder_outer(height,radius,fn){ fudge = 1/cos(180/fn); cylinder(h=height,r=radius*fudge,$fn=fn);} difference(){ cylinder(h=Headre...
glb/cad_73066d40d714.glb
Create a NEMA 17 stepper motor mount plate as a square block measuring 42mm x 42mm with a thickness of 6mm. At the center of the plate, create a circular hole with a radius of 11.5mm that passes completely through the block. Position four screw holes with a radius of 1.5mm at the corners, specifically at coordinates ...
height=6; mirror([0,0,1]) { difference() { nemaplate(); nemacenter(); nemascrewhole(); nemanuthole(); 101screws(); } 101screwsupport(); } module nemaplate() { cube(size = [42,42,height], center = false); } module nemacenter() { translate([21, 21, -0.5]) { ...
glb/cad_f7952ecf0df8.glb
Create a NEMA 17 Upgrade (401sidekick) consisting of three NEMA mounts and one bowden extruder. For the NEMA mounts, create a circular base plate with a diameter of 54mm and a thickness of 5mm. Center a hole with a radius of 11.25mm in the middle and add a larger concentric axle hole with a radius of 13mm. Position f...
epsilon = 0.01; extra_radius = 0.1; m3_major = 2.85; m3_radius = m3_major / 2 + extra_radius; m3_wide_radius = m3_major / 2 + extra_radius + 0.2; m3_head_radius = 3 + extra_radius; drive_gear_outer_radius = 12 / 2; drive_gear_hobbed_radius = 11 / 2; drive_gear_hobbed_offset = 2.5; drive_gear_length = 13; drive_gear...
glb/cad_2ed5c9607aec.glb
Create a Nexus 4 Quick Release Tripod Mount consisting of a phone-holding grip attached to a quick-release base. First, construct the quick-release base. Create a trapezoidal prism with a height of 34.825mm. The bottom face is a rectangle 42.6mm wide and 8.875mm thick, while the top face is narrower at 32.6mm wide. A...
order = [ 1 , 1 , 1 , 1 ]; qr_base_length_top = 32.6; qr_thick = 8.875; qr_base_length_bottom = 42.6; qr_base_width = 34.825; if (order[0]) { color("pink") enchilada( whole = false ); } if (order[1]) { translate([60,0,0]) rotate(180) color("white") taco(); } if (order[2]) { t...
glb/cad_eb7567f4f2da.glb
Create a customizable hinged organizer box with a base and a lid. The overall outer dimensions are 150mm width, 60mm depth, and 40mm total height. Both the base and lid should have rounded corners with a 5mm radius. Construct the base with a wall thickness of 1.4mm. The base interior is divided into compartments by se...
part = 0; boxWidth = 150; boxDepth = 60; boxHeight = 40; lidHeight = 10; corner = 5; sepDir = 0; numSeparators = 5; mainSep = 25; separatorsLid = 1; wallThickness = 1.4; tolerance = 0.2; font="Arial"; textFont = font != "" ? font : "Arial"; textBase = "Here"; textBaseSize = 15; textLid = "Your Text"; te...
glb/cad_f0784fdfe2e1.glb
Create a single edge razor blade by starting with a rectangular slab measuring 38.75mm in length, 19.4mm in width, and 0.85mm in thickness. Cut a central oblong slot through the thickness of the blade. This slot is formed by two circles with a radius of 1.275mm, where one circle is positioned at the center of the bla...
single_edge_razor_blade(); module single_edge_razor_blade(sharp=true, printable=false) { $fn=23; rzl=38.75; rzw=19.4; rztopw=7.0; rztopthk=0.85; rzbldthk=0.2286; union() { color("silver") translate([0,0,printable ? 0 : -rztopthk/2]) cube([rzl,rztopw,rztopthk]); color("gray") difference() { translate([0,rz...
glb/cad_60aaf7def168.glb
Create a simpleShapeTest object by finding the intersection of two primary geometric volumes. First, center a cube with a side length of 15mm. Second, center a sphere with a diameter of 10mm at the same origin. The final shape is the volume where these two geometries overlap, resulting in a sphere with its sides flatte...
cubeSize = 15; sphereSize = 10; intersection() { cube(cubeSize, center=true); sphere(sphereSize); }
glb/cad_b7578e86169a.glb
Create a customizable breadboard base by starting with a solid rectangular plate measuring 23.84mm in width, 12.7mm in depth, and 2mm in height. Centered on this base, carve out a grid of 40 square holes arranged in 8 rows and 5 columns. Each hole must be 2mm wide, 2mm deep, and 4mm high to ensure they pass completely ...
row = 8; column = 5; height = 2; x = (row * 2.54) ; y = (column * 2.54) ; fen_x = ( x / 2.54 ) ; fen_y = ( y / 2.54 ) ; difference() { translate([-2,-2, 0]) { cube(size=[x+3.54, y+3.54, height]); }; for (i = [0:fen_x - 1]) { translate([i * 2.54, 0, 0]) for (i = [0:fen_y - 1]) { tr...
glb/cad_fa717d047d3f.glb
Create a Polyhedron Connector for a regular prism with a 6-sided polygonal base. The model consists of a central sphere with a radius of 8mm, which is flattened on the bottom to create a stable base for printing. From this central sphere, extend three identical connector units. Each unit is a cylinder with an externa...
PolyType="Regular Prism"; VertNumb=3; ngonBase=6; Height=100; Length=25; InternalDiameter=8.3; ExternalDiameter=11; HoleDepth=16; fillet=2; SlotLength=12; SlotWidth=2; ConnectorShape=12; InnerConnectorShape=6; BaseRadius=8; BaseElevation=0; GapTolerance=.25; phi=(1+sqrt(5))/2; Circumradius=1/(2*sin(180/...
glb/cad_5f99d20fc7c0.glb
Create a 3D squobe by starting with a sphere of 7mm radius. Intersect this sphere with a cube that has 10mm sides, centered at the origin, to create a rounded cubic form. From this resulting shape, remove three identical cylinders, each with a radius of 4mm and a length of 20mm. Position and orient these cylinders so t...
difference() { intersection() { translate([-5,-5,-5])scale([1,1,1])cube(10); scale(.98)sphere(7); } union() { translate([-10,0,0])rotate([90,0,90])cylinder(r=4,20); translate([0,-10,0])rotate([0,90,90])cylinder(r=4,20);translate([0,0,-10])rotate([0,0,0])cylinder(r=4,20); } }
glb/cad_5de44035b82c.glb
Create a handheld console stand by constructing a base plate 66mm wide, 133mm long, and 7mm thick. The main body is formed by a hull connecting four cylinders of 4mm radius positioned at the corners: two at the rear (y=133mm) and two at the front (y=0mm). The front cylinders are tapered, transitioning from a 4mm radius...
width=66; height=115; depth=7; solidB=false; solidF=true; flong=90; ftall=20; module base(){ ww=(width/2)-2; hh=height+ftall-2; difference(){ hull(){ translate([-width/2,height+ftall,0]) cylinder(h=depth/2,r=4,$fn=50); translate([width/2,height+ftall,0]) cylinder(h=depth/2,r=4,$fn=50); transla...
glb/cad_24bde89da6a7.glb
Create a 100mm adapter consisting of a square base plate and a cylindrical collar. Start with a square plate measuring 120mm by 120mm with a thickness of 3mm, centered on the origin. On top of this plate, add a cylinder with an outer radius of 50mm and a height of 25mm. Create a central hole through both the cylinder a...
difference(){union(){ cube([120,120,3],center=true); cylinder(h=25,r=50,$fa=1); }{ translate([0,0,-3]) cylinder(h=30,r=48); translate([45,45,-3]) cylinder(h=10,r=2); translate([-45,45,-3]) cylinder(h=10,r=2); translate([45,-45,-3]) cylinder(h=10,r=2); translate([-45,-45,-3]) cylinder(h=10,r=2); }}
glb/cad_57df74cf3e62.glb
Create a 100mm adapter with a grid by starting with a square base plate measuring 120mm by 120mm with a thickness of 3mm. Centered on this plate, add a cylinder with a radius of 50mm and a height of 25mm. To create the grid, remove a central cylindrical core with a radius of 48mm and a height of 30mm, starting from 3mm...
union(){ difference(){union(){ cube([120,120,3],center=true); cylinder(h=25,r=50,$fa=1); }{ translate([0,0,-3]) cylinder(h=30,r=48); translate([45,45,-3]) cylinder(h=10,r=2); translate([-45,45,-3]) cylinder(h=10,r=2); translate([45,-45,-3]) cylinder(h=10,r=2); translate([-45,-45,-3]) cylinder(h=10,r=2); }} translate([0...
glb/cad_67be03842a39.glb