Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a customizable storage box for LR44 batteries. The model consists of two main sections: a main chest and a smaller cap. For the main chest, create a rectangular base with dimensions 21.4mm in width and 15.4mm in depth, with a wall thickness of 2mm. The chest should have an internal grid of dividers creating thr...
element_width = 5.2; element_depth = 11.2; element_height = 11.2; elements_per_row = 3; elements_per_column = 1; border_between_elements = 0.8; walls_width = 2; title = "LR44"; function chest_height(height) = height/5*3; function cap_height(height) = height - chest_height(height); calculated_element_width = elemen...
glb/cad_621512fbfbab.glb
Create a Circle Diameter Tester by constructing a thin cylindrical disc with a diameter of 42mm and a total height of 0.6mm. Centered on the top surface of this disc, add the number "42" as raised 3D text. The text should have a height of 0.2mm, making the total thickness of the center portion 0.8mm, and a font size of...
diameter = 42; text_size = 10; outline_only = "no"; outline = 2.5; $fn = 60; difference() { linear_extrude(0.6)circle(d = diameter); if (outline_only == "yes") { linear_extrude(0.6)circle(d = diameter - outline); } else { translate([0,0,0.4])linear_extrude(0.2)text(str(diameter), size = text_size, ha...
glb/cad_566f07a526fd.glb
Create a geodesic dome connector consisting of a central ring with radiating holes for 8mm rods. Start by creating a central cylinder with a height of 24mm, an outer radius of 36mm, and a concentric inner hole with a radius of 24mm to form a ring. Around this ring, add six cylindrical bushings to accommodate the rods...
bolt=8; angle=15; mount_num=([0,72,144,216,288]); mount_num=([0,60,120,180,240,300]); strength_faktor=1; ring_outer=(bolt*strength_faktor*4.5); ring_inner=(bolt*3); mount_bus_heigth=(ring_outer-ring_inner+bolt); ring_heigth=(bolt*3); bolt_bus=(bolt); bolt_hole=((bolt+1.5)/2); hole_in_ring=((ring_inner+bolt/2)*streng...
glb/cad_9512dee082f5.glb
Create a geodesic dome connector designed for 8mm rods. Start by constructing a central ring with an outer diameter of 36mm, an inner diameter of 24mm, and a height of 24mm. Around this ring, add five cylindrical mounting bosses. Each boss must have a diameter of 8mm and a height of 16mm, positioned symmetrically aro...
bolt=8; angle=30; mount_num=([0,72,144,216,288]); strength_faktor=1; ring_outer=(bolt*strength_faktor*4.5); ring_inner=(bolt*3); mount_bus_heigth=(ring_outer-ring_inner+bolt+4); ring_heigth=(bolt*3); bolt_bus=(bolt); bolt_hole=((bolt+1.5)/2); hole_in_ring=((ring_inner+bolt/4)*strength_faktor); center_in_ring=(bolt+8...
glb/cad_9673d5e4ddfc.glb
Create a Random Twisted Polygon Vase by extruding a complex 2D base profile to a height of 80mm. The extrusion must include a twist of 110 degrees and a top scale factor of 1.25. To construct the base profile, start with a circle of radius 39mm. Subtract from this circle a series of 60 shapes created by rotating a hu...
height = 80; twistangle = 110; topscale = 1.25; linear_extrude( height=height, twist=twistangle, scale=topscale, center=false){ union(){ difference() { circle(r=39); for (i = [0 : abs(6) : 360]) { rotate([0, 0, i]){ translate([38, 0, 0]){ hull(){ square(...
glb/cad_399eed4dec94.glb
Create a Quick-fit J-head extruder adaptor by constructing a tiered cylindrical assembly with a total height of 11mm. Start with a base cylinder 16mm in diameter and 4.8mm tall. Centered on top of this base, add a second cylinder with a diameter of 13mm and a height of 4.5mm, positioned 5mm from the bottom. Cap the top...
$fn=100; length = 11; difference(){ union(){ cylinder(r=8,h=4.8); translate([0,0,5]){ cylinder(r=6.5,h=4.5); } translate([0,0,9.5]) cylinder(r=8,h=1.7); } cylinder(r=1.5,h=length+1); }
glb/cad_fb3c1ab777df.glb
Create a Filter Holder for a Cell Sorter. Start with a rectangular base plate measuring 72mm in width and 85mm in length, with a total thickness of 7mm. In the center of this plate, create a circular cutout with a diameter of 63mm. Within this central void, place a smaller circular indentation at the bottom with a di...
xw=0.45; fd=56; il=85; iw=72; od=60; id=7; xd=4; ww=4; icd=31.5; icww=1.5; snugFit=true; *cube([iw*1.5,il,id], center=true); linear_extrude(height=id) difference(){ union(){ circle(d=fd+ww*2, $fn=60); for(r = [0:90:359]){ rotate(r+45) translate([fd/2,0]) circle(d=xd+ww*2, $fn=24); } tr...
glb/cad_f9a9fe38129b.glb
Create a Golfed Sierpinski Pyramid by recursively arranging small pyramids into a larger fractal structure. Start with a base pyramid defined by five vertices: a square base with corners at [1, 1, 0], [-1, 1, 0], [-1, -1, 0], and [1, -1, 0], and an apex at [0, 0, 1.57]. Generate the fractal by repeating this pyramid sh...
p=[[1,1,0],[-1,1,0],[-1,-1,0],[1,-1,0],[0,0,1.57]]; for(t=f(p,p,3))translate(t)hull()polyhedron(p*pow(.52,3),[[0,1,2,3,4]]); function f(p,pp,n=10)=n>0?f(p*.5,[for(i=pp,j=p) i+j*.52],n-1):pp;
glb/cad_abae576ba73c.glb
Create a climbing wall fixture consisting of a solid base with a bolt hole. Start by forming the main body as a union of two intersecting rectangular prisms: one measuring 75mm x 25mm x 25mm and another measuring 25mm x 75mm x 25mm, positioned such that they overlap to create an L-shaped footprint with a total width an...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } difference(){ union(){ hull(){ translate([0,50,0]) cube([75,25,25]); translate([25,0,0]) cube([25,75,25]); } translate([37.5,12.5,25]) cylinder(d=18.75, h=25); translate([62....
glb/cad_c7a0ccef431b.glb
Create a climbing wall fixture by starting with a main body formed from the convex hull of three spheres, each with a radius of 25mm, positioned at coordinates (55, 25, 0), (85, 75, 0), and (25, 75, 0). Flatten the bottom of this organic shape by removing all material below z = -50mm using a 120mm by 120mm square block...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } difference(){ hull(){ translate([55,25,0]) sphere(25); translate([85,75,0]) sphere(25); translate([25,75,0]) sphere(25); } translate([55,25,-0.1]) cylinder(d=21, h=26); trans...
glb/cad_e8bad15eed9f.glb
Create a knob consisting of a tapered base and a cylindrical shaft. Start by creating a 12-sided conical frustum with a height of 10mm, a top diameter of 5mm, and a bottom diameter of 7mm. On top of this base, center a 12-sided cylinder with a diameter of 4.2mm and a height of 3mm. Inside this top cylinder, create a r...
knobTipDiameter = 5; knobBaseDiameter = 7; lengthOfKnob = 10; knobShaftLength = 3; knobShaftDiameter = 4.2; attachmentDiameter = 2.6; attachmentDepth = 1.4; attachmentCutWidth = .4; attachmentCutHeight = .4; numberOfFaces = 12; module showNoMore(){} fOverlap = .01; fKRun = lengthOfKnob; fKTR = knobTipDiameter/2; fKBR...
glb/cad_d8a6ed8e459c.glb
Create a soda bottle funnel by combining a threaded cap with a conical funnel body. First, construct a PCO 1810 standard bottle cap. Hollow out the center of this cap by removing a cylinder with a diameter of 28.58mm and a height of 2mm. Attached to the bottom of this cap, create a conical funnel that extends 15mm down...
include <BOSL2/std.scad> include <BOSL2/bottlecaps.scad> difference(){ pco1810_cap(); cylinder(d=28.58, h=2); } translate([0, 0, -15]) difference(){ cylinder( d2=32.58, d1=71, h=15); cylinder( d2=28.58, d1=67, h=15); }
glb/cad_3922174393f1.glb
Create a 3D model consisting of a central base plate and six protruding cylinders. Start by creating a rectangular plate with dimensions 16mm by 16mm and a height of 2mm, centered at the origin. Generate six cylinders, each with a height of 5mm and a radius of 1mm. Position these cylinders such that they are arranged ...
for (i=[0:6])unionRound(1.5, 5) { cube([16,16,2],true); rotate(i*60) translate([6,0,0]) rotate([20,-10,0])cylinder(5,1,1,$fn=12); } module unionRound(r, detail = 5) { epsilon = 1e-6; children(0); children(1); step = 90 / detail; for (i = [0: detail-1]) { ...
glb/cad_bbd631458ae4.glb
Create a honeycomb generator consisting of a grid of 6 rows and 5 columns of hexagonal cells. Each cell is a hexagonal prism with a radius of 6mm, a height of 20mm, and a wall thickness of 0.8mm. The cells are open-ended tubes. Arrange the cells in a staggered honeycomb pattern. The horizontal offset between adjacent ...
cellrad = 6; cellheight = 20; cellthick = 0.8; rows = 6; cols = 5; celltype = "open"; overlaptype = "yes"; closed = (celltype == "closed") ? true : false; overlap = (overlaptype == "yes") ? true: false; module flatcube(x,y,z) { translate([0,0,z/2]) cube([x,y,z],center=true); } module closedcell(radius,height,...
glb/cad_18698d9776f3.glb
Create a 510 Cartridge and Battery Holder. Start with a rectangular base block that is 36mm wide, 21mm deep, and 44mm tall. To this base, attach a second rectangular block measuring 36mm wide, 42mm deep, and 24mm tall, aligned to the same origin, creating a stepped L-shaped profile. From the top surface, remove four ...
cartOD = 13; minThickness = 4; slotNumber = 8; heightMax = 40; heightMin = 20; width = slotNumber/2*(minThickness+cartOD); depth = 2*minThickness + cartOD; difference() { union() { cube([width, depth, heightMax+...
glb/cad_83ee0f6bac15.glb
Create a 3D surface composed of a grid of small cubes, acting as a Customizer Demo. The grid should be 37 units wide by 37 units deep, with each individual cube measuring 1mm x 1mm x 1mm at its base. For every position (i, j) in the grid, where i and j range from 0 to 36, create a rectangular prism with a width and dep...
MaxX=36; MaxY=36; for(i=[0:MaxY]) { for(j=[0:MaxX]) { color( [0.5+sin(10*i)/2, 0.5+sin(10*j)/2, 0.5+sin(10*(i+j))/2] ) translate( [i, j, 0] ) cube( size = [1, 1, 11+10*cos(10*i)*sin(10*j)] ); } }
glb/cad_8ca107fd9447.glb
Create a six-planet orrery consisting of a series of stacked gears and shafts held between a base plate and a top plate. Construct two main vertical shafts to support the gear stacks. The inner stack consists of three gears with 74, 57, and 46 teeth, positioned at heights of 0, 5mm, and 10mm respectively. The outer s...
include <gears.scad> shaft_wall = 2; shaft_sizes = [ 5 + 2.75*0, 5 + 2.75*1, 5 + 2.75*2, 5 + 2.75*3, 5 + 2.75*5, 5 + 2.75*7, 5 + 2.75*9, 5 + 2.75*11, ]; module inner_stack(h=5) { bore_diameter=5; spokes=9; translate([0,0,3*h]) orrery_gear(32, height=2*h-washer, direction=-1, bore_diameter=bore_diameter...
glb/cad_77c69ef04b02.glb
Create an electronics compartment cover with an overall footprint of 146mm width by 129mm depth. The main body is a hollowed shell with a wall thickness of 2mm. Construct the left side as a vertical wall 45mm high and 129mm deep. The front panel connects to this, extending 92mm across with a height of 45mm, but featu...
$fn=100; module base_shape() { module front_panel() { translate([0,2,0]) rotate([90,0,0]) { linear_extrude(2) difference() { union() { square([92,45]); translate([92,0,0]) square([146-92,21]); } translate([50,0,00]) square([82-50,14]); } } } fr...
glb/cad_cb4a77e53ded.glb
Create a Truncated Octahedron Construction Kit consisting of two distinct flat geometric pieces, both with a thickness of 3mm. First, create the joiner piece. This is a flat rectangular plate measuring 28mm by 5mm. From this rectangle, remove two smaller rectangular slots, each 3.2mm wide and 3.2mm high. Center one s...
bt=3; xw=0; sl=45; pw=5; jl=28; cl=((sl + pw) - jl)/2+bt; sigma=0.1; translate([cl/2-jl/2,cl+bt]) linear_extrude(height=bt) difference(){ square([jl,pw]); translate([0,pw/2]) square([(bt+xw)*2,bt+xw], center=true); translate([jl,pw/2]) square([(bt+xw)*2,bt+xw], center=true); } !linear_extrude(height=bt) differe...
glb/cad_c50c2c6f9ee4.glb
Create a Water Bottle Loop Replacement by designing a flat, 2mm thick plate that blends a large central circle with a smaller offset circle. Start with a primary circular disk that has a radius of 32mm. Create a second, smaller circular disk with a radius of 9mm and position its center 30mm away from the center of the ...
hole=50; $fn=60; difference() { hull() { cylinder(r=hole/2+7,h=2); translate([hole/2+7+5,0,0]) cylinder(r=9,h=2); } translate([0,0,-1])cylinder(r=hole/2,h=4); translate([hole/2+7+5,0,-1])cylinder(r=5,h=5); }
glb/cad_92d000d6f627.glb
Create a Customizable Flex Measuring Cup. Start with a solid circular base with a radius of 35mm and a thickness of 1mm. On the top surface of this base, center the text "Laird's" above the text "Cup", both with a font size of 8mm and a thickness of 0.67mm. Build a collapsible wall structure around the base. This cons...
use <write/Write.scad>; pi=3.1415926*1; $fn=64*1; cup=236.588237*1000; echo("target volume ",cup); t=0.5*1; tt=1*1; h=10*1; fullHeight=5*h; s=3.5*1; slant=2*1; half=0*1; layer=h; height=(3+2/sqrt(2))*layer; echo("Height = ",fullHeight," mm."); scale = 1*1; label1 = "Laird`s"; label2 = "Cup"; fsize=8; Font...
glb/cad_f8af1068d1e2.glb
Create a Customizable Flex Measuring Cup. The object is a collapsible vessel composed of alternating concentric rings. Start with a base disk that has a radius of 58.7mm and a thickness of 1.5mm. Build the walls using a series of rings, each 10mm in height. Create three outward-leaning rings starting from an inner ra...
use <write/Write.scad>; pi=3.1415926*1; $fn=64*1; cup=236.588237*1000; echo("target volume ",cup); t=0.5*1; tt=1.5*1; h=10*1; or=58.7; numRims=3; slant=10*1; half=0; fullHeight=numRims*h; layer=h; echo("Height = ",fullHeight," mm."); scale = 1*1; label1 = "Laird`s"; label2 = "Cup"; fsize=8; Font = "writ...
glb/cad_1384d4d01232.glb
Create a Polyhedron Facet, which is a ring-shaped connector used for building modular geometric forms. Start by creating a hollow cylinder with an outer radius of 12mm and a height of 10.5mm. Subtract a smaller concentric cylinder from the center to create the ring. Around the perimeter of the ring, place six identi...
module teardrop(radius=5,overhang=35,length=40,bridge=4) { rotate( 90,[0,0,1]){rotate( 90,[0,1,0]){rotate(-90,[1,0,0]) { cylinder(length,radius,radius); assign(so=sin(overhang), co=cos(overhang), to=tan(overhang)) { translate([-radius*so,-radius*co,0]){difference(){ scale([1.0/to,1,1]){rotate(45,[0,0,1]...
glb/cad_1fba8eb4ebd3.glb
Create a Customisable Olympic Plate Keychain by starting with a flat, ring-shaped disc that is 2mm thick, with an outer radius of 20mm and an inner hole radius of 15mm. Pierce a small vertical hole with a radius of 1.25mm through the ring at the coordinates (17.5, 0, 0) to serve as the keychain attachment point. On the...
top_initials="KBM"; bottom_initials="KBM"; thickness=2; difference() { difference() { cylinder(h=thickness,r=20); cylinder(h=thickness,r=15); } translate([17.5,0,0]) cylinder(h=10,r=1.25); } translate([0,0, thickness/2]) difference() { cylinder(h=thickness*0.125,r=15); cylinder(h=5...
glb/cad_7fdf8af700b9.glb
Create a Servo Mount for a Radio Shack Camera Board. Start with a central rectangular base measuring 60mm wide, 8mm deep, and 3mm high. At each end of this base, centered on the width, add a cylindrical standoff with a radius of 3mm and a height of 2mm. Remove two vertical holes with a radius of 1.2mm from the base, po...
module standoffs() { difference() { union() { translate([0,0.5,0]) { cube([60,8,3], center = true); } translate([27,-0.5,1.5]) { cylinder(h = 2,r = 3); } translate([-27,-0.5,1.5]) { cylinder(h = 2,r = 3); } } translate([26.5,-0.5,-5]) { cylinder(h = 15, r = 1.2); } translate([-26.5,-0...
glb/cad_2e8b22f076e3.glb
Create a Laser Trip Wire mount by constructing a base and a central tower. Start with a cross-shaped base formed by two intersecting rectangular prisms, each measuring 75mm by 10mm by 10mm, centered on the origin. From this base, build a central vertical tower using a hull operation that connects a 10mm by 10mm square ...
cube([10,75,10],center=true); cube([75,10,10],center=true); difference(){ hull(){ translate([0,0,25]) cube([10,10,50],center=true); translate([0,0,50]) cube([17,17,15],center=true); } translate([0,0,60]) cube([11,11,30],center=true); }
glb/cad_4e35a2a80890.glb
Create a Laser Trip Wire mirror mount. Start by creating a main cylindrical base with a radius of 26.16mm and a height of 10mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a bottom radius of 23.16mm and a top radius of 24.16mm, starting from a height of 1.5mm and extending to t...
$fn=100; difference(){ cylinder(r=46.32/2+3,h=10); translate([0,0,1.4+0.1]) cylinder(r1=46.32/2,r2=46.32/2+1,h=10-1.4); } scale([0.95,1,0.91]) translate([-5,46.32/2+2,0]) cube([10,50,10]);
glb/cad_ffa96eddcafb.glb
Create a Laser Trip Wire mount consisting of two perpendicular rectangular plates. First, construct a base plate that is 10mm wide, 46.1mm long, and 10mm thick. Position this base so it is centered on the Y-axis. Then, attach a vertical backplate to the base. This backplate should be 40mm wide, 3mm thick, and 40mm high...
$fn=100; scale([0.95,1,0.91]) translate([-5,0,0]) cube([10,46.10,10]); translate([0,0,20]) cube([40,3,40],center=true); translate([0,-20,1.5]) cube([40,40,3],center=true);
glb/cad_7acd4ed2dd67.glb
Create a rock wall rock by first forming a main body through the convex hull of four spheres: two spheres with a 30mm radius positioned at [0, 0, 0] and [40, 0, 0], and two smaller spheres with a 10mm radius positioned at [30, 30, 30] and [10, 30, 30]. Clip this resulting organic shape so it fits within a bounding box ...
$fn=50; difference(){ intersection(){ hull(){ sphere(30); translate([40,0,0]){ sphere(30); } translate([30,30,30]){ sphere(10); } translate([10,30,30]){ sphere(10); } } translate([-40,0,-40]){ cube([120,40,80]); } } translate([20,-50,0]){ rotate([-90,0,0]){ union(){...
glb/cad_b869ac839921.glb
Create a Batarang Rock Wall Piece by constructing a stylized bat symbol with a total thickness of 12mm. The symbol consists of a central head, two ears, a tail, and two wings. The head is a rectangular block 45mm wide by 30mm high. Add two ears on top, each created by hulling a sphere of radius 9mm with a cylinder of ...
$fn = 20; multiplier = 30; depth = 0.4; body_len = 1.5; body_width = 1.0; ear_radius = 0.6; ear_width = 0.7; ear_height =0.8; tail_offset = 0; tail_len = 1.5; hump_radius = 1.5; wing_span_h = 2; wing_width = .8; wing_arc = 0.7; wing_height = 0.1; wing_curve = 0.6; difference() { difference() { bat_symbol(multi...
glb/cad_91e4d988daa7.glb
Create a snap-together case for an Adafruit MacroPad RP2040 consisting of an upper and lower shell. For the upper shell, create a rounded rectangular body with outer dimensions of 66.5mm x 111mm and a wall thickness of 3mm. In the top face, center a rectangular cutout measuring 32mm x 15mm for the screen. Add a facep...
H = 105.0; W = 60.5; wall=3; showUpperCase = true; showLowerCase = true; addM3Holes = false; explodedView = 10; $fn=60; root2 = 1.4142; TabThick = wall/2; if (showUpperCase) union() { UpperCase(); Tabs(); } if (showLowerCase) translate([0,0,-explodedView]) difference() { LowerCase(); ...
glb/cad_d141fa2203b2.glb
Create a Rock Wall Hold by constructing an organic, asymmetrical grip shape. Form the main body using a series of blended, overlapping spheres and hulls of varying sizes, ranging from 10mm to 34mm in radius, to create a chunky, rounded form. Specifically, integrate several hull-based clusters of spheres centered around...
use <Bolt.scad> almostdone(); module almostdone(){ union(){ difference(){ removebolt(); smooth2(); } } } module smooth2(){ union(){ hull(){ translate([10,0,35]) cylinder(r1=25/2,r2=15,h=15,center=true); translate([10,0,44]) sphere(30/2,center=true); translate([10,0,55]) cylinder(r1=10,r2=17,h=5,center=true); } } ...
glb/cad_85d52a1049a6.glb
Create a Mini Kossel Basic Dual Extruder Effector. Start with a central body that is 26mm high. The core consists of a cylinder with a radius of 6mm and a height of 26mm, centered vertically. Attach a rectangular block measuring 12mm by 6mm by 26mm to this cylinder, centered on the Z-axis. Add two additional cylindric...
include <configuration.scad>; use <microswitch.scad>; height = 26; height2 = 26; tunnel = 2.4; face_offset = 4; module foot() { translate([12.5, 0, 0]) rotate([0, 0, -60]) translate([-12.5, 0, 1]) rotate([0, 0, -60]) union() { translate([7,-1.5,0]) cylinder(r=5, h=2, center=true, $fn=24); ...
glb/cad_d829ab77e985.glb
Create a microswitch mount by starting with a central rectangular block measuring 19.8mm in width, 6mm in height, and 10mm in depth, centered on the origin. Attach a smaller rectangular tab to the top surface, positioned at x=2.5mm, y=0.5mm, and z=6mm, with dimensions of 2mm width, 3.5mm height, and 5mm depth. Add thre...
module microswitch() { difference() { union() { translate([0, 0, 2.5]) cube([19.8, 6, 10], center=true); translate([2.5, 0.5, 6]) cube([2, 3.5, 5], center=true); for (x = [-8, -1, 8]) { translate([x, 0, 0]) cube([0.6, 3.2, 13], center=true); } } fo...
glb/cad_796f20e30ac4.glb
Create a NEMA 17 stepper motor mount by starting with a central cylinder 2.5mm in radius and 48mm in height. Surround this central pillar with a larger cylinder 11mm in radius and 4mm in height, and a third outer shape formed by the intersection of a 42.2mm cube and a cylinder 25.1mm in radius, all centered on the same...
include <configuration.scad>; module nema17() { difference() { union() { translate([0, 0, -motor_length/2]) intersection() { cube([42.2, 42.2, motor_length], center=true); cylinder(r=25.1, h=motor_length+1, center=true, $fn=60); } cylinder(r=11, h=4, center=true, $fn=32); ...
glb/cad_403f1d9c600c.glb
Create a Mini Kossel Basic Dual Extruder Effector. Start with a central body that features two parallel vertical cylinders to serve as J-head barrels, each with a radius of 7mm and a height of 30mm. These barrels are separated by a distance defined by the nozzle spacing. Around these barrels, create a main effector bo...
include <configuration.scad>; barrel_radius = hotend_radius + 1; barrel_height = 30; fan_offset = 18; include_fan_bracket = false; module hotend_fan() { difference() { union() { if(include_fan_bracket) { translate([0, 2 - fan_offset, 15]) cube([35, 35, 30], center=true); } if(!include_fan_bra...
glb/cad_51132ab91a86.glb
Create a rocket coupler by revolving a specific 2D profile around a central axis. The profile is defined by a series of connected points that create a stepped cylindrical wall. Start at a radius of 19mm and a height of 0mm, move outward to a radius of 21mm at the same height, then move vertically to a height of 10mm. F...
ir = 21; or = 22; t = 2; c_s = 5; c_t = 10; rotate_extrude($fn=200) polygon( points=[[ir-t,0],[ir,0],[ir,c_t],[or,c_t],[or,c_t+c_s],[ir, c_t+c_s],[ir, 2*c_t+c_s],[ir-t,2*c_t+c_s],[ir-t,0]] );
glb/cad_1e38a4dae2f2.glb
Create a rocket fincan consisting of a central motor body and three radial fins. Start by constructing the main body as a revolved profile around a central axis. The profile begins at a radius of 9mm, extends to an outer radius of 24mm for a length of 50mm, then steps inward to a radius of 22mm for a length of 3mm, and...
ir = 21; or = 22; or_f = 24; t = 2; c_s = 5; t_ab = 3; t_fb = 5; m_l = 70; m_r = 9; sw = 20; r_c = 50; t_c = 20; t_f = 3; union(){ rotate(90,0,0){ rotate_extrude($fn=200) polygon( points=[[m_r,0],[or_f,0],[or_f,r_c],[or,r_c],[or,r_c],[or, t_ab],[ir, t_ab],[ir,m_l+t_ab+t_fb],[m_r-2,m_l+t_ab+t_fb],[m_r-2,...
glb/cad_5384fa0f4346.glb
Create a rocket nosecone consisting of a cone joined to a cylindrical base. First, construct a cone with a base radius of 22mm and a height of 66mm, centered on the Z-axis. Directly beneath this cone, add a cylinder with a radius of 21mm and a height of 20mm. Position the cylinder so that its top face meets the base of...
ir = 21; or = 22; c_s = 5; c_t = 20; rat = 3; nc_l=or*rat; cylinder(nc_l,or,0,center=true); translate([0,0,-.5*nc_l-.5*c_t]) cylinder(c_t,ir,ir,center=true);
glb/cad_3be07a9ebf8a.glb
Create a rock climbing hold by forming a cluster of spheres and removing a central bolt hole. Begin by placing a large sphere with a radius of 60mm centered at (0, 0, 18). Arrange eight smaller spheres, each with a radius of 15mm, around the main body at the following coordinates (x, y, z): (20, 20, 60), (-30, 20, 55),...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } module base(){ union(){ translate([0,0,18])sphere(60,$fn=20); translate([20,20,60])sphere(15,$fn=20); translate([-30,20,55])sphere(15,$fn=20); translate([10,-30,54])sphere(1...
glb/cad_b6baef20504b.glb
Create a probe holder consisting of a rectangular base plate with four repeating vertical slots. The base plate is 10mm high and 2mm thick. Along the length of the plate, place four identical probe-holding blocks spaced 20mm apart (16mm block width plus a 4mm pitch). Each block is a cube 16mm wide, 10mm high, and 18mm ...
count = 4; high = 10; pitch = 4; probeHolder(count, 10, true, false); module probeHolder(pcs, probeH, enforced, rotated){ holeR = 2; difference(){ union(){ translate(v=[10,0,0]) cube(size=[(pcs+1)*(16+pitch),probeH,2], center=false); translate(v=[10,probeH/2,0]) cylinder(r=probeH/2, h=2, center=fa...
glb/cad_609c8db54076.glb
Create an EE5777 RockWall Hold by constructing a stacked series of ten rounded square plates. Each plate should be a square with a side length that starts at 100mm and decreases by 5mm for every subsequent layer, with each layer being 5mm thick. Center these plates on the same axis, but rotate each one by 5 degrees rel...
difference() { for (i=[0:5:45]) translate([0,0,-1+i]) rotate([0,0,i]) minkowski(){ cube([100-i,100-i,5],center=true); cylinder(r=10,h=4); } translate([0,0,40]) cylinder(h=12,d=30,$fs=4); cylinder(h=90,d=11,$fs=4,center=true); }
glb/cad_74e562510640.glb
Create a customizer label consisting of a base plate with two lines of raised text. Start by creating a rectangular base plate 120mm wide and 50mm high with a thickness of 3mm. Round the corners of the plate using cylinders with a 3mm radius. Subtract a central rectangular area from the plate, leaving a 3mm wide borde...
Message = "First Line"; Message2 = "Second Line"; Label_Width = 120; Label_Height = 50; Font_Size = 16; Font_Name="Lucida Handwriting"; $fn=50; TZT_Msg=Message; TZT_Msg2=Message2; TZT_Width=Label_Width; TZT_Height=Label_Height; TZT_Fnt=Font_Name; TZT_Fsz=Font_Size; TZT_PLATE (); linear_extrude(height = 1.5) { ...
glb/cad_88456e2d5004.glb
Create a rock wall hold by forming a convex hull around four primary shapes: a cylinder centered at the origin with a height of 50mm, a bottom diameter of 60mm, and a top diameter of 50mm; a sphere with a 25mm diameter positioned at [65, 0, 0]; a sphere with a 45mm diameter positioned at [-50, 15, 15]; and a sphere wit...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } difference(){ hull(){ cylinder(h = 50, d1 = 60, d2 = 50, center = true); translate([65,0,0])sphere(d=25); translate([-50,15,15])sphere(d=45); translate([0,50,25]) sphere(d=30); } ...
glb/cad_8dad4c68b06a.glb
Create a rock wall grip by combining two primary volumes. First, form a base shape by merging a sphere with a radius of 40mm, scaled by 1.0 in X, 1.75 in Y, and 0.75 in Z, with a second sphere of radius 50mm positioned at [0, -40, 7.5]. From this combined mass, remove a flattened ellipsoidal void centered at [0, -30, 3...
include <bolt.scad> difference(){ union(){ scale([1.0,1.75,0.75]) sphere(r=40.0); translate([0,-40,7.5]) sphere(r=50); } translate([0,-30,30]) scale([4,5,2]) sphere(r=10); translate([0,0,-25]) cube([200,200,50],center=true); translate([0,40,-58]) bolt(16); }
glb/cad_e03915c2af86.glb
Create a Rockwall Fist climbing hold by combining several rounded geometric volumes. Start with a base formed by the union of three rectangular prisms for the fingers, each approximately 35 to 45mm wide and 12mm thick, slightly angled relative to one another. Soften these edges using a 6mm radius. Add a palm section by...
$fn=50; module bolt(){ translate([20,36,0])rotate([0,0,0])cylinder(69.5,5.5,5.5); translate([20,36,69.4])rotate([0,0,0])cylinder(12,12.5,12.5); } difference(){ difference(){ union(){ minkowski(){ sphere(6,$fn=15); union(){ cube([20,15,40]); translate([-5,15,0])rotate([0,-2.5])cube([35,12,45]); t...
glb/cad_aa9e3db8e1fe.glb
Create a rockwall hold by forming a convex hull around three overlapping, distorted spheres. The first sphere is centered at the origin, scaled to 120mm by 80mm by 120mm. The second sphere is positioned at [80, 0, -50], rotated 30 degrees on the X-axis and 30 degrees on the Z-axis, and scaled to 40mm by 240mm by 160mm....
difference(){ hull(){ union(){ difference(){ union(){ translate([0,0,0])scale([1.5,1,1.5]) sphere(80); rotate([-30,0,30])translate([80,0,-50])scale([.5,3,2]) sphere(80); rotate([0,-70,0])translate([-100,50,-50])scale([.5,3,2]) sphere(80); rotate([0,80,0])translate([-100,50,-50])scale([.5,3,2]) sphere(80); } translate(...
glb/cad_0c169bc0b4f7.glb
Create a SodaStream CO2 Adapter Wrench consisting of a hollow cylindrical body with a total height of 140mm. The main outer shaft should have a diameter of 31.9mm. At the base, create a conical transition section 25mm high that flares out from the main shaft to a wider base cylinder with a diameter of 60mm and a height...
$fn = 64; nut_size=24.3; slack=0.3; h=140; baseh=25; shoulder=25; outer=60; tn=nut_size+slack; wall=tn+7.6; Sample=false; if (Sample) { difference() { cylinder(d=wall,10,true); translate([0,0,10/2]) fhex(tn,10+2); } } else { difference() { union () { cylinder(d=wall,h,tr...
glb/cad_c1cf9dc4fc57.glb
Create a rockwall hold by forming a central body and removing a central bolt hole. Start by creating a base shape that is the convex hull of a cylinder with a radius of 40mm and a height of 15mm, and a flat disc with a radius of 40mm and a height of 1mm. To this base, add four spheres, each with a radius of 25mm, posit...
$fn=50; h=15; r=80; kb=50; B=25; hb=50; l=69.5; d=11; module bolt(){ union(){ translate([0,0,h])cylinder(h=hb, r=B/2); translate([0,0,0])cylinder(h=100, r=d/2); }} module hold(){ hull(){ translate([0,0,h])cylinder(r=r/4,h=h); cylinder(h=1,r=r/2); } union(){ translate([r/2,0,0])sphere(r=kb/...
glb/cad_9ee1aa63b63e.glb
Create a rock climbing hold by forming a convex hull around five primary geometric volumes: a cylinder with a base radius of 30mm and a top radius of 10mm standing 30mm tall, and four spheres with radii of 12mm centered at coordinates [35, 35, 15], [-25, 25, 25], [25, -25, 25], and [-35, -35, 15]. Once this main grip...
module grip(){ hull(){ translate([0,0,0])cylinder(h=30,r1=30,r2=10,$fn=100,center=false); translate([35,35,15])sphere(12,$fn=100, center=false); translate([-25,25,25])sphere(12,$fn=100, center=false); translate([25,-25,25])sphere(12,$fn=100, center=false); translate([-35,-35,15])sphere(12,$fn=100, center=fal...
glb/cad_4911f6a7f7b2.glb
Create an ant-proof dog bowl holder consisting of a base reservoir and a removable top platform. Start by creating a cylindrical base with a radius of 75mm and a total height of 25mm. This base should have a wall thickness of 3mm. Inside this base, create a central supporting column with a radius of 70mm and a height o...
$fa = 5; r = 150/2; platformHeight = 2; ridge= 4; plug = 4; bowlHeight = 20; bowlThick = 3; colThick = 3; gap = 5; holeSize = 20; cylinder(platformHeight, r, r); translate([0,0,platformHeight]) difference() { cylinder(ridge, r, r); translate([0,0,-0.5]) cylinder(ridge + 1, r - ridge, r- ridge); } tran...
glb/cad_809e6366e8a6.glb
Create a Shale Rockwall Grip by constructing a complex, jagged geometric form composed of several intersecting and overlapping rectangular prisms. Start by combining seven primary blocks: one 100x19x10mm block at [5, -5, 5], a 60x20x10mm block rotated 15 degrees on the Y-axis and 20 degrees on the Z-axis at [0, -25, -3...
difference(){ union(){ translate([5,-5,5]) rotate([0,0,0]) cube([100,19,10]); translate([0,-25,-30]) rotate([0,15,20]) cube([60,20,10]); translate([0,-40,15]) rotate([-10,10,20]) cube([110,52,14]); translate([0,-35,-22]) rotate([0,4,18]) cube([100,20,40]); translate([0,-50,-28]) ...
glb/cad_3d71dd72d701.glb
Create a Rockwall project model by starting with a sphere of 15mm radius. Modify this sphere by removing a central cube of 40mm by 40mm by 20mm centered at [0, 0, -10] and adding a cylinder with a 5mm radius and 10mm height positioned at [0, 15, 0]. Enclose this result within a convex hull. From this shape, remove a cy...
use <Bolt.scad> $fn=50; module rock(){ hull(){ difference(){ sphere(15); translate([0, 0, -10]) cube([40, 40, 20],center=true); } translate([0,15,0]) cylinder(10,r=5); } } module rock2(){ hull(){ difference(){ rock(); translate([-10,15,5]) rotate([90,0,0]) cylinder(30,r=5); ...
glb/cad_75c745e81260.glb
Create a ceiling fan directional finial. Start with a main cylindrical body 40mm in diameter and 10mm high, centered vertically. Remove a central cylindrical core 25mm in diameter and 11mm high. Pierce a horizontal hole through the center of the body with a diameter of 4mm and a length of 20mm, and widen the central po...
$fn=60; chain_passage_dia=4; lock_dia=8; lg_chain_dia=3; lg_chain_space=5; sm_chain_dia=2; sm_chain_space=4; do_brim=1; union() { translate([0,0,5]) rotor(); if (do_brim) brim (); } module rotor() { union(){ difference() { cylinder(d=40,h=10,center = true); cylinder(d=25,h=11,center = true); ...
glb/cad_f4579cd89743.glb
Create a Customizable Temperature Tower consisting of 10 stacked levels, each 10mm high and 10mm deep. The entire structure sits on a rounded rectangular base with a 10mm margin. For each level, construct the following components from left to right: 1. A temperature block 10mm wide containing extruded text of the curr...
Levels = 10; tempIncrement = 5; startTemp = 225; tempOrder = -1; baseType = 1; levelDepth = 10; levelHeight = 10; enableTemperature = 1; temperatureWidth = 10; enableBridge = 1; bridgeDistance = 40; bridgeThickness = 2; enableStringing = 1; coneStartRadius = 3; coneEndRadius = 0; coneAmmount = 2; enable...
glb/cad_fdc72118e7e5.glb
Create a rock wall hold shaped like a four-leaf clover. Start with a central conical base that is 20mm high, tapering from a radius of 40mm at the bottom to 15mm at the top. Attach four identical smaller conical lobes to the sides of this central base; each lobe must be 10mm high, tapering from a radius of 30mm at the ...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } difference() { union(){ cylinder( h=20, r1 = 40, r2=15 ); translate ([30,0,0]) cylinder( h=10, r1 = 30, r2=10 ); translate ([-30,0,0]) cylinder( h=10, r1 = 30, r2=10 ); ...
glb/cad_101de87ac966.glb
Create a "Testey" pocket coin-op tool. Start with a main body that is a rounded, tapered trapezoidal plate with a total thickness of 6mm. The overall length is 50mm and the base width is 22mm. In the center of the body, create a large rectangular cutout for a bottle opener, with a base width of 23mm and a length of 19...
use <write/Write.scad> use <utils/build_plate.scad> logo_width = 100; logo_height = 100; logo_horizontal_align = 0; logo_vertical_align = 0; logo_image = "image-surface.dat"; logo_image_depth = 100; logo_image_intensity = 20; Text="Text"; TextHieght=90; TextRelief=-10; TextPositionX=-30; TextPositionY=0...
glb/cad_444c429a9d72.glb
Create a Bed Scraper tool with a total width of 50mm, a height of 4mm, and a depth of 50mm. The main body is a rounded, blade-like form created by the intersection of a 50mm wide cylinder and a 50mm wide sphere, both centered on the origin. The front edge of the tool is tapered to a sharp, flat scraping surface. To f...
$fn=($preview)?20:80; width = 50; height=4; w2=width/2; difference(){ intersection(){ linear_extrude(height) hull(){ translate([-1, w2])square(2, true); translate([-1,-w2])square(2, true); translate([-w2,-w2+2.5])resize([4,2])circle(5); ...
glb/cad_8fcd4bdfd567.glb
Create an Intermediate Hold for a rock climbing wall by combining several spherical and cylindrical volumes and removing a central bolt hole. Start by merging a 60mm diameter sphere with several smaller spheres and a cylinder to create an organic, asymmetrical protrusion. Specifically, include a sphere with a 60mm diam...
$fn = 100; d1=60; z1=30; rotate([90,0,0]) { difference(){ translate([0,-41,0]) { difference() { union() { translate([0,0,z1]) { sphere(d1); } translate([20,48,18]) { cylinder(h=30,r=20); } translate([20,48,18]) { sphere(20); } translate...
glb/cad_6a1a58329038.glb
Create an Anycubic RERF Tray by starting with a solid rectangular base measuring 135mm in width, 111mm in depth, and 3mm in height. Within this base, create eight rectangular cutouts to hold resin test tiles. Each cutout must be 32mm wide, 38mm deep, and 2.4mm deep. Arrange these cutouts in two rows of four. The firs...
param_base_thickness = 3.0; param_tile_cutout_depth = 2.4; param_exposure_time_initial = 0.8; param_exposure_time_increment = 0.4; param_num_rows = 2; param_num_cols = 4; param_font_size = 6.5; module hide_params() { } tile_width = 32; tile_depth = 38; num_x = param_num_cols; num_y ...
glb/cad_f3136b4a63f1.glb
Create a knurled base attachment nut for a joystick adapter. Start with a main cylinder that has an outside diameter of 42.8mm (42mm plus 0.8mm tolerance) and a total height of 17.5mm. The center of the cylinder must be hollowed out with a vertical pass-through hole 28.8mm in diameter (28.3mm plus 0.5mm tolerance). T...
use <knurledFinishLib_v2.scad> use <threads.scad> use <VPC_Adapter_Lib.scad> param_nut_height = 17.5; param_outside_dia = 42.0; param_dia_hole = 28.3; param_threads_ID = 33.6; param_threads_OD = 36.2; param_threads_pitch = 2.0; param_threads_H = 10.0; param_ring_thickness = 4.0; pa...
glb/cad_031ec76ab293.glb
Create a 60 Degree Angled Adapter Tube for a joystick. The model consists of three primary components: a threaded top, a bent tube body, and a base attachment socket. First, create a threaded cylinder at the top with a diameter of 35mm, a height of 10mm, and a wall thickness of 6mm. Include a bevel at the base of the ...
use <threads.scad> use <revolve_text.scad> use <bent_tube.scad> use <Naca_sweep.scad> use <splines.scad> module vpc_threads(diameter, height, wall_thickness, include_bevel=true, tol=0) { assert(diameter > 0.0); assert(height > 0.0); ring_height = 15; overhang = 2; $fn=220; difference() { ...
glb/cad_492e91787248.glb
Create a Z-MAX switch holder by starting with a composite base formed from a cylinder with a 16mm diameter and 16mm height, merged with a 16mm cube centered on the cylinder's axis and an 8mm by 8mm by 16mm rectangular block extending from the center to one side. Remove a central vertical hole with a diameter of 8.5mm t...
$fn=50; difference(){ union(){ cylinder(d=16,h=16); translate([-8,0,0])cube([16,16,16]); translate([0,-8,0])cube([8,8,16]); } cylinder(d=8.5,h=16); cylinder(d1=10.5,d2=8.5,h=2); translate([4,-20,0]) cube([10,40,16]); translate([0,-3,0])cube([8,6,16]); translate([-8,9,6]) rotate(a=90,v=[0,1,0]) cylinder(d=3.5,h=16);...
glb/cad_590494599712.glb
Create a rock climbing hold by first forming a main organic body using the convex hull of four spheres: one with a 30mm radius at [0, 0, 39.5], and three with radii of 34.75mm at [-30, 0, 39.5], [30, 0, 39.5], and [0, 50, 39.5]. From this base shape, remove a central bolt hole consisting of a cylinder with a 5.5mm radi...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } module rock () { hull() { translate([0,0,l-30])sphere (r=30); translate([-30,0,l-30])sphere(r=l/2); translate([30,0,l-30])sphere(r=l/2); translate([0,50,l-30])sphere(r=15); } } m...
glb/cad_5b29aef47c37.glb
Create a climbing hold by starting with a sphere of 40mm in diameter. To form the finger grips, add five identical protrusions equally spaced around the center at 20-degree intervals. Each protrusion is created by combining a 40mm by 10mm by 5mm rectangular block with a cylinder of 10mm radius and 10mm height, oriented...
$fn=75; s=40; N=5; T=20; rotate([0,180,0]) difference() { difference() { difference() { union() { sphere(s); union() { for (i = [1:N]) { rotate([0,0,T*i]) minkowski() { minkowski() { cube([40,10,5]); rotate([90,0,0]) cylinder(r=10,h=10); } rotate([0,90,0]) cylinder(r=10,h=10); ...
glb/cad_308bb38ca627.glb
Create a rock hold by forming a convex hull around four spheres to create an organic, rounded grip. Position these spheres at the following coordinates: one at [-20, 0, 8] with a radius of 15mm, one at [20, 0, 9] with a radius of 13mm, and two at [-8, -3, 12] and [8, -3, 12], both with radii of 15mm. Scale the resultin...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } module hold(){ hull(){ union(){ translate([-20,0,8])sphere(15,$fn=100); translate([20,0,9])sphere(13,$fn=100); translate([0,-16,1])sphere(15,$fn=100); translate...
glb/cad_173127686fb4.glb
Create a Rockwall Hold by forming a main organic body and subtracting a crack and bolt holes. First, construct the main body by creating a hull around five spheres: two spheres with a radius of 40mm positioned at [0, 20, -6] and [0, -20, -6], two spheres with a radius of 25mm positioned at [60, 0, -9] and [-60, 0, -9...
$fn=100; B=25; h=18; l=63; d=11; lt=27; thrth=45; thrtm=37; boltangle=-14.; boltcircrad=30; aligncrack=70; fingerdepth=30; crackovershoot=15; fingerwidth=13; ctrcracklength=35; cracklength=50; crackangle =35; rockcur...
glb/cad_2948ceaaf046.glb
Create a rockwall handhold by starting with a composite organic shape formed by the union of four spheres, each with a radius of 26mm, positioned and scaled to create an overall ovaloid volume measuring approximately 40mm by 50mm by 80mm. Through the center of this volume, create a vertical hole to accommodate a bolt. ...
B=25; h=30; l=69.5; d=11; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } module ovals(){ for (i = [1,5,12,20]){ translate([0,0,i]) rotate([i*4,i,3*i]) resize([40,50,80]) sphere(r=26); } } module main(){ union(){ difference(){ ovals(); translate...
glb/cad_822f3d807919.glb
Create a Rock Wall Hold by starting with a primary sphere with a radius of 50mm. Carve out two smaller spheres, each with a radius of 25mm, positioned 30mm away from the center along the Y-axis in opposite directions (one at Y=30 and one at Y=-30) to create a concave grip. Additionally, remove a central sphere with a r...
rotate([0,90,0]) import_stl("Bolt.stl",convexity=2); difference(){ sphere(50,$fa=5,$fs=0.1,center=false); translate(v=[25,30,0]){ sphere(25,$fa=5,$fs=0.1,center=false); } translate(v=[25,-30,0]){ sphere(25,$fa=5,$fs=0.1,center=false); } translate(v=[25,0,0]){ sphere(30,$fa=5,$fs=0.1,center=false); } translate(v=[...
glb/cad_274a0ba62824.glb
Create a rockwall climbing step by first constructing a convex hull that encompasses a central cube of 60mm x 60mm x 42mm and eight spheres, each with a radius of 10mm. These spheres should be positioned at the corners of the cube's footprint: four at the midpoints of the edges (30mm, 0, 20mm), (0, 30, 20mm), (0, -30, ...
module rockwallproject2() difference(){ hull(){ union(){{ translate([0,0,17.5])cube([60, 60, 42], center = true); translate([0,30,20])sphere(10, $fn=40); translate([30,0,20])sphere(10, $fn=40); translate([0,-30,20])sphere(10, $fn=40); translate([-30,0,20])sphere(10, $fn=40); translate([30,30,20])sphere(10, $fn=4...
glb/cad_fc814984f2f7.glb
Create a rock wall hold by starting with a central sphere 102mm in diameter. Flatten the bottom of this sphere by removing the lower half using a cube 102mm on each side, leaving a hemispherical dome. Integrate this dome with a cylinder 102mm in diameter and 4mm in height, centered on the same axis, to create a flat ba...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } difference(){ union() { cylinder (h = 4, d=102, center = true, $fn=100); translate([0,0,2]) difference(){ sphere(d=102, center = true, $fn=100); translate([0,0,-51])cube(102,c...
glb/cad_082bb37e7540.glb
Create a rockwall hold by combining a sphere and a rotated extruded shape, then removing a bolt-shaped void from the center. Start with a sphere of radius 25mm centered at coordinates (-40, -40, 20). Add to this a second geometric volume created by rotating a 2D profile—a 25mm by 40mm rectangle with a 30mm radius circl...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,24.5])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } module hold2(){ $fn =50; difference(){ translate([-40,-40,20]) difference(){ union(){ sphere(25); rotate([0,110,45]) rotate_extrude(convexity = 10) difference(){ squa...
glb/cad_e4678ce61424.glb
Create a Halloween Flashlight Projector consisting of a hollow conical adapter and a cylindrical barrel. Start by creating a thin circular base plate with an outer diameter of 48.8mm (beam diameter 45mm plus 1.4mm wall thickness on each side) and a thickness of 1mm. In the center of this plate, remove a circular hole...
cat = [[296,300],[[115.75,-0.88],[52,-1],[52.07,57.75],[52.15,116.5],[54.93,107],[58.32,97.21],[62.54,87],[66.8,78.12],[70.29,71.5],[74.01,65.77],[78.85,59],[85.03,51.38],[91.99,43.61],[99.94,36.05],[108.5,28.97],[116.33,23.35],[122.5,19.29],[129.26,15.75],[138.5,11.34],[149.21,7.03],[159.5,3.69],[168.03,1.56],[174.5,0...
glb/cad_d8b105916bab.glb
Create a rectangular tray with an outer length of 149.2mm, a width of 85.73mm, and a total height of 10mm. The tray should have a uniform wall thickness of 3mm on all four sides. To achieve this, start with a solid rectangular block of the outer dimensions and remove a smaller rectangular volume from the center, starti...
units = "mm"; length = 149.200001; width = 85.730001; depth = 10.000001; wall = 3.000001; if (units == "mm") tray(length,width,depth,wall); if (units == "cm") tray(length*10,width*10,depth*10,wall*10); if (units == "inches") tray(length*25.4,width*25.4,depth*25.4,wall*25.4); module tray(l,w,d,t) difference () { ...
glb/cad_f81ac369fbe7.glb
Create a customizable nametag by starting with a rectangular base measuring 80mm wide, 40mm high, and 2mm thick. Soften the corners of this base by applying a 5mm radius to all four vertical edges. In the upper-left corner, create a circular hole with a diameter of 5mm that passes completely through the 2mm thickness o...
module roundedcube(xdim ,ydim ,zdim,rdim){ hull(){ translate([rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); } } $fn=50;...
glb/cad_af6a9f8d2206.glb
Create a mini wind turbine hub by starting with a central cylinder that has a height of 16mm and a radius of 10mm. Drill a vertical hole with a radius of 1mm through the center of this cylinder. To form the blades, remove three identical rectangular sections from the main cylinder. Each section to be removed is a cube ...
difference() { difference() { translate([0,0,-1]) {cylinder(h = 16, r = 10);} cylinder(h = 18, r = 1); } rotate([30,0,120]) { translate([3,0,0]) cube( [16,16,6]); } rotate([30,0,240]) { translate([3,0,0]) cube( [16,16,6]); } rotate([30,0,0]) { translate([3,0,0]) cube( [16,16,6]); } } translate([0,0,-...
glb/cad_761ec8ec69a8.glb
Create a mini wind turbine model consisting of a central hub and three tapered blades. Start by creating a rectangular base hub measuring 6mm by 16mm with a height of 6mm, positioned at the bottom. Directly above this, add a thin rectangular plate measuring 14mm by 17mm with a thickness of 0.5mm. Construct the turbine...
total_height = 55; bottom_height = 40; angle = 20; taper_top = 0.6; taper_bottom = 0.4; total_segments = 40; bottom_total_segments = 20; thick = 6; wide = 4; segment = total_height / total_segments; bottom_segment = bottom_height / bottom_total_segments; for ( i = [0:total_segments] ) { assign (r_angle = i * ...
glb/cad_0e44cc44b866.glb
Create a Simple Ant Test Tube Portal. Start with a rectangular base block measuring 58.6mm in length, 35mm in width, and 20.4mm in height, centered on the X and Z axes. Subtract a large central rectangular volume from the top of the block, measuring 58.6mm by 35mm by 14.4mm, positioned 23mm up the Y-axis, to create a ...
$fn = 50; inner_r = 6/2; outer_r = 16.2/2; outer_r_taper_from = 16.5/2; block(); module tube(){ rot([90,0,0])cylinder(h = 20, r=outer_r, $fn = 50); } module block(){ difference(){ union(){ cube([outer_r*6+10,35,outer_r*2+4], center=true); } tr([0,23,+outer_r-inner_r+5....
glb/cad_f15642827f6e.glb
Create a Universal FPV Motor Softmount with a total height of 2mm. Start by creating a central cylindrical hole with a diameter of 3mm that passes completely through the object. Around this center, arrange four identical mounting arms spaced 90 degrees apart. Each arm is formed by the hull of two cylinders, each 7.5mm ...
mount_height = 2; screw_width = 3; motor_min_mount = 6; motor_max_mount = 9; anti_warp = .15; filament_width = 1.75; single_mount_width = screw_width * 2.5; $fs = $preview ? 1 : 0.5; $fa = $preview ? 20 : 5; motor_diff = motor_max_mount - motor_min_mount; function anti_warp_shrink(v) = v - (filament_width * anti_w...
glb/cad_e0517547a8d0.glb
Create a simple round groove pulley. Start by constructing a central cylinder with a total height of 6.75mm and a diameter of 40.4mm. At the top and bottom of this central cylinder, add two circular flanges, each with a thickness of 2mm and a diameter of 40mm. To create the pulley groove, remove a toroidal volume fro...
PullyPinDia=6.35; PullyAddedFlangeHeight=0; PullyAddedGrooveWidth=0.2; PullyCenterDiameter=40; PullyFlangeThickness=2; $fn=30; Pully(PullyPinDia=PullyPinDia, PullyAddedFlangeHeight=PullyAddedFlangeHeight, PullyAddedGrooveWidth=PullyAddedGrooveWidth, PullyCenterDiameter=PullyCenterDiameter, PullyFlangeThickness=PullyFl...
glb/cad_f5ffda7ab873.glb
Create a symmetrical earplug plug with a total height of 12.7mm and a central vertical hole 8mm in diameter running through the entire length. The outer profile is composed of several stacked sections. Start with a base cylinder 1.5mm high with a diameter of 14.2875mm. Above this, add a conical section that tapers inwa...
inside_diameter = 12.7; outside_diameter = 14.2875; hole_diameter =8; plug_height = 12.7; plug_lip = 1.5; plug_center = 3; module earplug1() { slope_increment = (plug_height-(plug_lip*2)-plug_center) / 2; outside_radius = outside_diameter / 2; inside_radius = inside_diameter / 2; difference(){ union(){ cylind...
glb/cad_0810a182e0a4.glb
Create a Stream Deck XL Stand by constructing a hollowed-out trapezoidal prism. Start with a solid trapezoidal block that has a height of 50mm, a front width of 162mm, a front depth of 105mm, a back width of 105mm, and a back depth of 105mm. Hollow out the center of this block by removing a smaller trapezoidal volume...
module end_of_params() { } length_mm = 105; width_mm = 162; width_2_mm = 105; height_mm = 50; thickness_top = 5; difference() { color("Blue") trapezoid(width_mm,width_2_mm,length_mm,height_mm); color("Red") translate([0,0,-thickness_top]) trapezoid(width_mm-16, width_2_mm-9, length_mm-1...
glb/cad_b886fc75c7ff.glb
Create a rockwall hold by forming a union of four cylinders, each with a height of 40mm and a radius of 20mm, all centered on the Z-axis. Position the first cylinder at the origin, the second at [0, 30, 0], the third at [20, 0, 0], and the fourth at [-10, -10, 0]. From this combined mass, remove a central vertical hole...
difference(){ union(){ translate([0,30,0]){ cylinder(60,40,20,center=true); } translate([20,0,0]){ cylinder(60,30,20,center=true); } translate([-10,-10,0]){ cylinder(60,30,20,center=true); } cylinder(60,40,20,center=true); } union(){ translate([0,0,30]){ cylinder(12,15,15,center=true); ...
glb/cad_ddc9a0f28c1c.glb
Create a customizable LED ring. Start with a central cylindrical void of 60mm radius. Build a ring around this void with a total width of 20mm (consisting of two concentric rings, each 10mm wide). The overall height of the main ring body is 5mm. Along the center of these rings, place 6 LED holes per ring, evenly space...
inner_radius = 60; ring_width = 10; number_of_leds = 6; number_of_rings = 2; led_r = 2.5; led_height = 5; cable_dept = 2; cable_width = 3; number_of_mounting_ears = 3; mounting_ear_size = 11; mounting_ear_mount_r = 1.7; inner_edge_height = 5; outer_edge_height = 5; development = 1; outer_radius = inner_rad...
glb/cad_8d2098c2b5b2.glb
Create a Customizable Jar Cap designed to fit a jar with a diameter of 51.5mm. The main body is a cylindrical shell with a total height of 16mm. The bottom half of the cap is a solid cylinder with a radius of 25.75mm. The top half is a slightly tapered cylinder that narrows from a top radius of 26.78mm down to 25.75mm ...
diameter = 51.5; holeDiameter = 1.8; holeRings = 6; rimWidth = -1; height = 16; holeSpace = 1; catchSize = 10; bottomRadius = diameter/2; topRadius = rimWidth == -1 ? bottomRadius * 1.04 : bottomRadius + rimWidth; basePocketRadius = bottomRadius - 2; basePartHeight = height / 2; catchCenterX = topRadius + 2; hol...
glb/cad_593a44c195b5.glb
Create a PCB holder for a camera ring light. Start with a square plate measuring 60mm by 60mm with a thickness of 3mm. Center a circular cutout with a diameter of 52mm through the plate. Position four screw holes with a diameter of 3mm symmetrically near the corners. The holes should be placed 1.5mm from the edges of...
holder_width = 60; holder_height = 60; holder_thick = 3; pcb_width = 58; pcb_height = 58; hole_dist_x = 1.5; hole_dist_y = 1.5; screw_hole_dia = 3; led_ring_dia = 52; dist_holders = false; dist_holder_len = 7; wall_thick = 2; joint_dia = 10; joint_len = 10...
glb/cad_a8f8d2a1698b.glb
Create a rectangular mounting plate with a thickness of 6mm. The overall length should be 105mm (calculated as the larger of the two hole spacings plus 10mm clearance) and the width should be 20mm (calculated as the 10mm vertical offset plus 10mm clearance). Center two sets of holes on the plate. The first pair of hol...
FirstMountHoleDiameter=3.4; FirstMountHoleDistance=95; SecondMountHoleDiameter=3.4; SecondMountHoleDistance=45; MountYOffset=10; MountPlateClearance=5; MountPlateThickness=6; FirstMountCounterStyle="None"; FirstMountCounterLocation="Top"; FirstMountCounterDiameter=6.9; FirstMountCounterBoreDepth=3.00; FirstM...
glb/cad_bd02882cd147.glb
Create a Eurorack panel with a total width of 60.96mm (12hp) and a height of 128.5mm. The main body is a rectangular slab with a thickness of 2mm. At the top and bottom edges, create mounting cutouts. Each cutout consists of a central rectangular slot 10.16mm wide and 3.2mm high, with semi-circular ends of radius 1.6...
panelThickness = 2; panelHp=12; holeCount=4; holeWidth = 10.16; holeOffset = 0.5; jackHoles = true; deepJackHoles = true; jackHoleDiameter = 3.85; jackHoleRows = 10; jackHoleColumns = 5; jackHoleDepth = 10; threeUHeight = 133.35; panelOuterHeight =128.5; panelInnerHeight = 110; railHeight = (threeUHeight-panelOuterHei...
glb/cad_d87aac506c6e.glb
Create a bumper for a smart robot car. Start with a main body consisting of a central rectangular plate measuring 100mm by 60mm with a thickness of 2.5mm. Extend the shape by creating a hull that connects a central cylinder with a 30mm radius to two smaller cylinders with 15mm radii positioned at the far left and right...
x=100; y=60; difference(){ body(); translate([81/2,y-5,0]) cylinder(h=10,r=3.2/2,center=true,$fn=15); translate([-81/2,y-5,0]) cylinder(h=10,r=3.2/2,center=true,$fn=15); translate([60/2,16.5,0]) cylinder(h=10,r=3.2/2,center=true,$fn=15); translate([-60/2,16.5,0]) cylinder(h=10,r=3.2/2,center=true,$fn=15); translate(...
glb/cad_3d05dd033931.glb
Create a Rockwall Hand Grip by forming a rounded, organic volume using the convex hull of four spheres, each with a radius of 20mm. Position these spheres at the following coordinates: one at the origin (0,0,0), one at (30,0,0), one at (0,30,0), and one at (15,15,8). From this solid mass, remove a vertical cylindrical ...
B=25; h=8; l=69.5; d=11; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } difference(){ minkowski(){ hull() { sphere(r=20); translate([30,0,0]) sphere(r=20); translate([0,30,0]) sphere(r=20); translate([15,15,8]) sphere(r=20); } translate([30,30,-25]) ...
glb/cad_329de8f1b1ac.glb
Create a customizable overhang test model. The base unit is formed by taking a square with side lengths of 10mm and 12mm and rotating it around one axis to create a curved, extruded arc. This arc is defined by an overhang angle of 45 degrees and a resolution of 3 steps, resulting in a faceted, wedge-like protrusion. ...
module overhang(overhangAngle, overhangSize, overhangSteps, overhangDepth) { translate([0, 0, 0]) { a = 180-90-overhangAngle; b = overhangSize*sin(a)/sin(90); dist = overhangSize-b; height = overhangSize*sin(overhangAngle)/sin(90); difference() { cu...
glb/cad_f8eb46f7c134.glb
Create a Chocolate Skull Mold Maker consisting of a rectangular outer box divided into four equal compartments. The overall outer dimensions of the box should be 283.6mm in width, 225.3mm in depth, and 36.3mm in height, with a uniform wall thickness of 1.3mm for the exterior and the internal dividers. Each of the four ...
filename = "vampireSkull_0.2.stl"; skullStartXPos = 30; skullStartYPos = 23; skullStartZPos = 0.9; skullXSpacing = 45; skullYSpacing = 35; compx = 140; compy = 112; wall = 1.3; nox = 2; noy = 2; deep = 35; union() { for ( k = [ 0 : compy : (noy-1) * compy] ) { for ( j = [ 0 : compx : (nox-1) * compx] ) { for ( i =...
glb/cad_d98b8d808267.glb
Create a rockwall handhold by constructing a complex geometric volume and removing specific sections. Start by creating a hull that blends a sphere with a radius of 3mm and a pentagonal prism. This prism should have a height of 3mm, a base radius of 5mm, and a top radius of 1mm, centered on the Z-axis. From this combin...
module bolt(){ h=6; thread=.25; res=100; union(){ cylinder(h=h,r=thread,$fn=res, center=true); translate([0,0,1])cylinder(h=3,r=1,$fn=res); } } module flat(){ b=100; translate([0,0,-.5*b])cube([10,10,b],center=true); } module piece1(){ rad=3; heighty=rad; res=100; b=100; hull(){ sphere(rad,$fn=res,center=true); tran...
glb/cad_27dd8be26635.glb
Create a simple rectangular box with outer dimensions of 69mm in width, 69mm in height, and 25mm in depth. To form the interior cavity, remove a smaller rectangular volume from the center, leaving a uniform wall thickness of 4mm on all four sides and a base thickness of 4mm at the bottom. The resulting hollow space sho...
cube_height = 69; cube_width = 69; cube_depth = 25; wall_size = 4; difference(){ cube([cube_width, cube_height, cube_depth]); translate([wall_size, wall_size, wall_size]) cube([ cube_width - wall_size*2, cube_height - wall_size*2, cube_depth - wall_size + 2 ]); }
glb/cad_3a3102d7deda.glb
Create a screw-on collar for milk jug funnels by constructing a hollow cylinder with a height of 22mm, an outer radius of 21mm, and an inner radius of 19mm. Inside this hollow cylinder, add a helical thread that winds around the inner wall. The thread should have a cross-sectional arm radius of 2mm and follow a pitch o...
height = 22; inner_r = 19; outer_r = 21; pitch = 4.1; difference() { cylinder(h=height, r=outer_r); cylinder(h=height, r=inner_r); } module helix_footprint(helix_r=50 ,arm_r=10 ) { translate([ -helix_r,0]) circle(arm_r,0); } module helix_coil(helix_r=50 , arm_r=10 , helix_h=100 , helix_twist=360.0 ) ...
glb/cad_6f515c48cbd4.glb
Create a threaded container called "ScrewIT!" designed to hold a standard snuff box. First, construct the main body as a cylinder with an outer diameter of 39.8mm and a total height of 38.5mm. Create a central hollow cavity with a diameter of 37mm and a depth of 36.5mm, leaving a base thickness of 2.1mm. At the top o...
include <Write.scad> $fn = 200; translate([0,0,0.2]){ %cylinder(25,35,35); } module complexObject(){ difference(){ union(){ color("lightgray") cylinder(19.9,38.5,38.5); translate([0,0,19.8]){ color("gray") metric_thread(77.1, 2, 5.5); } } union(){ translate([0,0,2.1]){ color("gr...
glb/cad_fd1fa2757d57.glb
Create a threaded container called "ScrewIT!" designed to hold a standard snuff box of 70mm diameter and 25mm height. Construct a main cylindrical box with an outer diameter of 39.7mm and a height of 10mm. The interior of this box must be hollowed out to accommodate the snuff box. Create a matching lid for the box....
include <Write.scad> $fn = 200; difference(){ union(){ translate([0,0,0]){ color("gray") cylinder(10,39.7,39.7); } } union(){ translate([0,0,10]){ color("white") write("Screw it!",h=12,t=2,font="knewave.dxf",center=true); } difference(){ union(){ translate([0,0,-0.1]){ color("lightgr...
glb/cad_9c29afe625a1.glb
Create a simple wall bracket with a total length of 232mm, a height of 26mm, and a width of 30mm. The main body is a horizontal rectangular bar 226mm long and 30mm wide, with a thickness of 3mm. At each end of the bar, add a square mounting tab that extends outward. These tabs should be 33mm long and 3mm thick, aligned...
length = 226; height = 26; width = 30; fixationLength = 30; wallThickness = 3; screwHole = true; screwDiameter = 10; module simpleWallBracket(length, height, width = 30, fixationLength = 30, thickness = 2, screwHole = true, screwDiameter = 10 ){ difference(){ linear_extrude(width){ offset(r=2)...
glb/cad_a7a068120a9b.glb
Create a Rombix puzzle set consisting of a containment bed and a collection of tiles. First, construct the bed as a shallow hollowed-out cylinder with a height of 1.6mm. The outer wall is a regular 24-sided polygon (hexacosagon) with a radius of approximately 115.47mm (calculated as $\tan(75^\circ) \times 20\text{mm}...
rombCount = 6; rombSize = 20; rombHeight = 1.6; rombFiletSize = 0.15; rombSpace = 0; generateRombixes = true; generateBed = true; innerBedOffset=3; module __Customizer_Limit__ () {} rombAngle = 180/(rombCount*2); $fn = 24; eps = 0.01; if (generateRombixes) { for(a=[1 : 1 : rombCount*2]) { for(b=[a: 1 : rom...
glb/cad_ab22c3a8f9d4.glb
Create a PolyPlanter consisting of an outer decorative shell and a removable inner soil holder. For the outer shell, create a hollow vessel with a total height of 90mm and a base width of 90mm. The walls should be 6mm thick. Instead of smooth surfaces, construct the walls using a series of 32-sided polyhedra arranged...
print_outer = true; print_inner = true; e = 0.3; h = 90; w = 90; so = 6; sb = 1.5; nd = 32; nv = 8; use_custom_radius = true; rmu = 10.0; radius_addition = [0.3*rmu,0.7*rmu, 1.0*rmu, 1.2*rmu, 1.33*rmu, 1.41*rmu, 1.45*rmu, 1.45*rmu, 1.45*rmu, ]; use_advanced_polygons = true; rn = 6; mir = 1.5; dir = 2.0; ...
glb/cad_31b13bcff43d.glb