Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a fan duct and sensor mount consisting of a rectangular base plate measuring 63mm in length, 40mm in width, and 5.8mm in height. At the center of the plate, create a vertical cylindrical hole with a radius of 8.25mm. Position two primary mounting holes with a diameter of 4.4mm, spaced 50mm apart along the leng...
barrel_radius = 11; barrel_height = 26.2; main_height = 39.0; groove_radius = 6.0 + 0.1; groove_height = 6.0 - 0.2; top_hotend_diameter = 16.5; ring_radius = top_hotend_diameter/2; mp_length=63; mp_width=40; mp_hole_diameter=4.4; mp_hole_spacing=50; mp_nut_relief_spacing=26; mp_nut_relief_diameter=7.5; fanVoffset=0;...
glb/cad_276add4c0b94.glb
Create a Hand Crank replacement consisting of a central spindle head, a double-sided crank, and two handle pins. First, construct the spindle head by combining two cylinders: a primary cylinder with a diameter of 17.03mm (0.670 * 25.4mm) and a height of 34.4mm, and a wider cylinder with a diameter of 24.92mm (0.981 *...
print_pin = 1; print_handle = 1; print_crank = 1; mmpi = 25.4; spindle_width=.981*mmpi; spindle_height=1.250*mmpi; spindle_depth=0; spindle2_width=.670 *mmpi; spindle2_height =1.357*mmpi; spindle2_depth=0; shaft_diameter= .4518 *mmpi+0.5; shaft_radius = shaft_diameter/2; wall = spindle2_height - 1.173*mmpi; tb_depth ...
glb/cad_7f907dc23d99.glb
Create a knurled napkin ring or knob with a total height of 35mm. The main body is formed by two overlapping extruded shapes centered vertically. Start with an 8-sided polygon with an outer diameter of 43mm and an inner diameter of 36mm. Extrude this shape to the full height, applying a twist of 2160 degrees (6 full ro...
print_height=35; print_resolution=0.2; outer_diameter=43; inner_diameter=36; sides=8; twist_factor=6; circular_hole="yes"; close_top="no"; top_width=1; twist = (360/sides) * twist_factor; twist_b= twist * -1; no_slices=print_height/print_resolution; rotation=360/sides; union(){ if(close_top == "yes") tran...
glb/cad_378bdef81310.glb
Create a Spinning Ring consisting of two concentric circular parts: an inner ring and an outer ring, both with a 180-facet resolution. For the inner ring, create a revolved profile with a height of 8mm and an inner diameter of 19.63mm. The profile starts at a thickness of 0.8mm, increases to 1.4mm over a 0.6mm rise, ...
ring_size = 10; parts_to_print = 0; ring_height = 8; ring_diameter = 0; thinnest_layer = 0.8; bearing_intrusion = 0.6; bearing_gap = 0.4; resolution = 180; inner_diameter = ring_diameter ? ring_diameter : 11.63 + 0.8128*ring_size; echo(inner_diameter=inner_diameter); ring_thick = thinnest_layer*2 + bearing_gap...
glb/cad_80f44a612e90.glb
Create a Micro-Turbine for water power with a total height of 100mm. Begin by creating a central cylindrical hub with a diameter of 26mm. Around this hub, arrange 12 identical blades spaced evenly every 30 degrees. Each blade is formed by taking a cylinder with a 28mm diameter and removing two overlapping cylinders: on...
$fn=200; module Blade(){ difference(){ translate([-3,14,0])cylinder(100,14,14); translate([0,20,0])cylinder(h=100,r1=16,r2=16); translate([1,20.7,0])cylinder(h=100,r1=16,r2=16); };}; module Center(){ cylinder(100,13,13); }; module Blade_Rotation(){ for(n=[1:12]) { rotate([0,0,n*30]) { Blade();}};}; ...
glb/cad_b701db9d971b.glb
Create a twisted tent stake with a total height of 190mm. The main body is 150mm tall and consists of a four-sided profile with a radius of 15mm. This profile is extruded vertically and twisted by 250 degrees. Within this main body, incorporate a second, smaller twisted profile with a radius of 10.5mm, rotated 45 degre...
pointHeight = 40; stakeHeight = 150; stakeRadius = 15; radiusScale = .7; upperTwist = 250; numberOfSides = 4; smallRadius = stakeRadius * radiusScale; r=stakeRadius/numberOfSides; smallR=smallRadius/numberOfSides; rotationAngle = 360/numberOfSides/2; lowerTwist=(upperTwist*pointHeight)/stakeHeight; module hypotr...
glb/cad_6b882d16573c.glb
Create a stethoscope diaphragm consisting of a tiered conical structure. Start with a base cylinder 7mm high with a radius of 25mm. Hollow out the center of this base with a cylinder of radius 22mm, leaving a 3mm wall, but leave a small gap at the bottom to create a ring-like channel. Above this base, add a transition...
$fn = 100; b1 = 25; b1in = 23; b2 = 17.5; b2in = 15.5; t1 = 20; t1in = b2; dia_nozzle = 6*2; noz_r1 = 3.4; noz_r2 = 2; module bottom(){ difference(){ cylinder(h = 7, r1 = b1, r2 = b1); translate([0,0,-.1])cylinder(h = 9, r1 = b1in-1, r2 = b1in-1); } } module space_for_washer(){ differe...
glb/cad_0c5c10aabe54.glb
Create a stethoscope diaphragm connector consisting of three hollow, decagonal tubes that meet at a central junction. Each tube has an outer radius of 5mm and an inner bore radius of 3mm. Position the first tube horizontally along the Y-axis, centered at [0, 5, 0] with a length of 30mm. Create two additional tubes of...
noz_r1 = 5.0; noz_r2 = 3; $fn=10; module base(){ minkowski() { cube([10,10,10]); cylinder(r=2,h=1); } } module tubes(){ union(){ translate([0,5,0])rotate([90,0,0])cylinder(h = 30, r1 = noz_r1, r2 = noz_r1); translate([15,30,0])rotate([90,0,-30])cylinder(h = 30, r1 = noz_r1, r2 = noz_r1); ...
glb/cad_aa41847f4b8d.glb
Create a stethoscope nozzle consisting of a series of connected cylinders centered along a single axis. Start by creating a main cylinder with a length of 20mm, a base radius of 5mm, and a top radius of 5mm. Attach a second cylinder to the end of the first, with a length of 12mm, a base radius of 6mm, and a top radius ...
b1 = 25; b1in = 23; b2 = 17.5; b2in = 15.5; t1 = 20; t1in = b2; dia_nozzle = 6*2; noz_r1 = 6.0; noz_r2 = 5; $fn = 100; module nozzel(){ union(){ translate([10,0,15])rotate([0,90,0])cylinder(20,r1=noz_r2, r2=noz_r2); translate([27,0,15])rotate([0,90,0])cylinder(dia_nozzle, r1 = noz_r1, r2 = noz_r2-...
glb/cad_8c0e996c715e.glb
Create a stethoscope earpiece by constructing a hollow tube with an outer radius of 5.3mm and an inner bore radius of 3mm. The structure begins with a vertical cylinder 80mm long. From the top of this cylinder, extend a second cylinder 74mm long, angled 15 degrees off the vertical axis. At the end of this angled sectio...
$fn = 10; out_rad = 5.3; in_rad = 3; module arch_out(){ for (ii = [0:0.3:14]) union(){ translate([0,(-25*exp(-ii/3)),25-ii])sphere(out_rad, center = true); } } module arch_in(){ for (ii = [-0.5:0.3:30]) union(){ translate([0,(-25*exp(-ii/3)),25-ii])sphere(in_rad, center = tru...
glb/cad_cc8ec9cccaf4.glb
Create a garden water sprinkler consisting of a main cylindrical body and a connecting nozzle. Start by creating a large cylinder with a radius of 60mm and a height of 40mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 45mm and a height of 34mm, starting from a heigh...
$fn=100; difference(){ cylinder(r=60,h=40); translate([0,0,7]) cylinder(r=45,h=34); rotate([0,90,0]) translate([-20,0,22]) cylinder(r=12,h=30); rotate([0,90,0]) translate([-20,0,15]) cylinder(r=6.5,h=110); } difference(){ cylinder(r=25,h=40); translate([0,0,7]) cylinder(r=15,h=40); } difference(){ translate([0...
glb/cad_da37ace627ff.glb
Create a garden water sprinkler consisting of a main cylindrical base and a connecting nozzle. Start by creating a large cylinder with a radius of 140mm and a height of 40mm. Hollow out the center of this cylinder by removing a smaller cylinder with a radius of 120mm and a height of 34mm, starting from a height of 7mm ...
$fn=100; difference(){ cylinder(r=140,h=40); translate([0,0,7]) cylinder(r=120,h=34); rotate([0,90,0]) translate([-20,0,105]) cylinder(r=12,h=30); rotate([0,90,0]) translate([-20,0,95]) cylinder(r=6.5,h=110); } difference(){ cylinder(r=90,h=40); translate([0,0,7]) cylinder(r=75,h=34); } rotate([90,0,0]) translate([-...
glb/cad_94cd83a0ab55.glb
Create a parametric pegboard consisting of a rectangular base plate and a grid of pegs. Start by creating a solid rectangular base plate that is 70mm wide, 105mm deep, and 2mm thick. On the top surface of this plate, arrange a grid of 10 columns and 15 rows of pegs. Each peg should be a decagonal prism with a diameter ...
module pegboard(w, h) { diam = 1.8; dist = 7-diam; height = 5.5; hbase = 2; for(x=[0:w-1]) { for(y=[0:h-1]) { translate([x*dist, y*dist, 0]) cylinder( h= height, r1 = diam/2, r2 = diam/2, center = false, $fn=10); } } translate([-dist/2, -dist/2, 0]) cube([(w)*dist, (h)*dist, hbase]); } pegboar...
glb/cad_5205f72e4d81.glb
Create a sailing cam cleat consisting of two identical mirrored components. For one component, start by creating a base shape formed by the convex hull of two cylinders: one with a radius of 20mm and another with a radius of 15mm positioned 25mm away along the x-axis, both with a height of 9mm. Subtract a vertical cy...
module cleat (){ hull () { cylinder(h=9, r=20, center=false); translate ([25,0,0]) cylinder(h=9, r=15, center=false); } } module bh () { translate ([25,-5,0]) cylinder(h=15, r=3, center=false); } bh (); module teeth (){ translate ([-5,19,0]){ for (i=[1:15]) { translate ([i*3,i*-1.5,0]) cube ([4,1...
glb/cad_65f458a6987d.glb
Create a sailing cam cleat baseplate by forming a hull between two cylinders, each with a radius of 20mm and a height of 14mm, positioned 75mm apart along the x-axis. From this base, remove two hexagonal holes with a diameter of 12.5mm and a height of 15mm; center the first hole at the origin and the second at x=76.35m...
module base () { module baseplate () { hull () { cylinder(h=14, r=20, center=false); translate ([75,0,0]) cylinder(h=14, r=20, center=false); } } difference () { baseplate (); cylinder ( d=12.5, h=15, $fn=6); translate ([76.35,0,0]) cylinder ( d=12.5, h=15, $fn=6); } } module pit (){ hull () { tran...
glb/cad_99ba2d856fb2.glb
Create a spare special key consisting of a rectangular bow and a cylindrical shank. Start by creating a rectangular block for the bow that is 40mm wide, 12mm high, and 10mm deep. Center a hole through the bow by removing a cylinder with a radius of 2.5mm, oriented perpendicularly to the block's face. Attached to the ...
outer_diameter=12; inner_diameter=11; height_of_shank=20; number_of_center_sides=3; depth_of_center_hole=8; union() { difference() { translate([-20, 0-(outer_diameter/2), 0]) cube([40,outer_diameter,10]); rotate([0, 90, 90]) translate([-5,15,-20]) cylinder(r=2.5, h=40); ...
glb/cad_c2aa3abeb33d.glb
Create an adjustable filament spool holder foot by combining two rectangular blocks. First, create a base rectangular prism measuring 20mm wide, 15mm deep, and 5mm high. Centered on top of this base, add a second rectangular prism that is 15mm wide, 15mm deep, and 28mm high, positioned 2.5mm from the left and right edg...
$fn = 32; rotate([90,0,0]) spool_feet(); module spool_feet() { difference() { union() { cube([20,15,5]); translate([2.5,0,5]) cube([15, 15, 28]); } translate([10, -1, 16]) rotate([-90, 0, 0]) cylinder(h=17, r=8.2/2); translate([1.5, 7.5, 25.5]) rotate([0, 90, 0]) cylinder(h=17, r=8.2/2...
glb/cad_41694e843cdc.glb
Create a surgical retractor prototype consisting of two main joined components. First, construct a rectangular tip body measuring 25mm in length, 8mm in width, and 17mm in height. This body should be hollowed out by removing a central block of 21mm by 4mm by 15mm, leaving a U-shaped channel. Drill a 6mm diameter hole t...
module hole(){ cylinder(d=6,h=9); } module tipbody(){ union(){ translate([23,0,0])cube([2,8,17]); difference(){ cube([23,8,17]); translate([0,2,2])cube([21,4,15]); } } } module retractor(){ difference(){ union(){ translate([7,10,0]) rotate([90,0,0]) cylinder(h=20,r=10);...
glb/cad_adaa83e44954.glb
Create a Variable Sifter consisting of a circular grid enclosed by a ring. Start by constructing a flat, circular mesh of intersecting bars. The mesh is formed by two sets of parallel rectangular prisms, each 1mm thick and 1.5mm high. One set runs along the X-axis and the other along the Y-axis, spaced 5mm apart. These...
module Sifter(GridThickness,RingLength, SifterHeight, GridSpread, CID,Offset) { IterationMax=CID*3; CubeWidth=CID*2.4; union(){ color("Purple") difference(){ union(){ for (y = [0:IterationMax-1] ) {translate([0,-IterationMax*GridSpread/2+GridSpread/2+Offset,0]) {translate([0-1,y*GridSpread,0])cube([Cu...
glb/cad_79c8f202b45e.glb
Create a Variable Sifter consisting of a shallow, wide funnel shape. Start by creating a main hollow cylinder with a height of 1.5mm and an outer radius of 33.5mm. This cylinder should have a concentric inner hole with a radius of 25mm, creating a wall thickness of 8.5mm. Within the wall of this cylinder, place 16 sm...
module Funnel(RingLength,SifterHeight,CID,bowl,bowl_r) { thickness = 2; translate([0,0,SifterHeight*2]) difference(){ union(){ difference(){ difference(){ color("Purple") cylinder(h = SifterHeight, r = CID+RingLength+thickness/2, center = true,$fn=100); cylinder(h = SifterHeight+1, r = CID, center = tru...
glb/cad_3322aea997fb.glb
Create a Micro Lathe Frame consisting of a rectangular base and a raised guide rod block. Start with a base plate measuring 125mm in length, 100mm in width, and 10mm in height, centered on the origin. On the top surface of the base, place a rectangular guide rod block measuring 20mm wide, 100mm long, and 25mm high. P...
TotalLength = 125; TotalWidth = 100; GuideRodBarWidth = 20; difference(){ union(){ difference(){ cube([TotalLength,TotalWidth,10], center = true); translate([.5*TotalLength - 15,35,0]){ cylinder(h=50, r=1.85, center=true,$fn=100); } translate([.5*TotalLength - 55,35,0]){ cylinder(h=50, r=1.85, center=true,$fn=100);...
glb/cad_777838573b1e.glb
Create a Micro Lathe Frame base. Start by constructing a central rectangular block that is 59mm wide, 80mm deep, and 10mm high, centered on the origin. Add a second rectangular block on top of this, also centered, with dimensions of 59mm wide, 110mm deep, and 10mm high, shifted 10mm upward along the Z-axis. From this ...
TotalLength = 80; difference(){ union(){ translate([0,0,10]) cube([59,110,10], center=true); cube([59,80,10], center=true); } translate([20,0,0]){ rotate([90,0,0]) cylinder(r=1.5, h=200, center=true, $fn=200); } translate([-20,0,0]){ rotate([90,0,0]) cylinder(r=1.5, h=200, center=true, $fn=200); } translate([20,0,0])...
glb/cad_fcdb32243810.glb
Create a Micro Lathe Frame consisting of a rectangular base and a vertical tailstock assembly. Start with a base block measuring 100mm by 100mm with a height of 20mm, centered on the origin. Subtract three cylindrical holes from this base, all oriented along the Y-axis. Place two main guide rod holes with a radius of...
union(){ difference(){ union(){ difference(){ difference(){ difference(){ union(){ cube([100,100,20], center = true); translate([40,50,-7.5]){ rotate([90,0,0]) cylinder(h=100,r=11,$fn=100); } translate([-40,50,-7.5]){ rotate([90,0,0]) cylinder(h=100,r=11,$fn=100); } translate([0,50,-7.5]){ rotate([90,0,0]) cylin...
glb/cad_7f6b6288135b.glb
Create a Micro Lathe Frame consisting of a central vertical body with mounting tabs. The main body is a flat plate 15mm thick, with a base width of 150mm and a total height of 150mm. The top of the body narrows to a width of 40mm, creating a tapered profile. At the top of the body, center a large circular bearing hole...
mainbearinghole_radius = 15; guiderod_hole_radius = 13.05/2; tailstock_thread_hole_radius = 3.5; bodyheight = 150; body_support_notch_height = bodyheight-10; basewidth = 150; topwidth = 40; notchwidth = topwidth-10; depth = 15; tablength = 4*depth; Mount_Tab_Width= 30; difference(){ rotate([90,0,90]){ difference(){ ...
glb/cad_642b37cc7d24.glb
Create a Micro Lathe Frame consisting of a central rectangular base and several precise cylindrical cutouts. Start with a solid rectangular block measuring 150mm in length, 100mm in width, and 15mm in height, centered at the origin. Remove three primary cylindrical holes running through the width of the block along th...
union(){ difference(){ difference(){ difference(){ union(){ cube([150,100,15], center = true); translate([40,50,-7.5]){ rotate([90,0,0]) cylinder(h=100,r=11,$fn=100); } translate([-40,50,-7.5]){ rotate([90,0,0]) cylinder(h=100,r=11,$fn=100); } translate([0,50,-7.5]){ rotate([90,0,0]) cylinder(h=100,r=7.5,$fn=100)...
glb/cad_611963235a6d.glb
Create a Micro Lathe Frame body with a total depth of 15mm. The main profile is a flat plate with a base width of 150mm and a top width of 40mm, extending to a height of 175mm. At the top, create a notch that is 30mm wide and 165mm high. Incorporate several holes through the body: two guide rod holes with a radius of ...
mainbearinghole_radius = 11.1; guiderod_hole_radius = 12.7/2; tailstock_thread_hole_radius = 3.5; bodyheight = 175; body_support_notch_height = bodyheight-10; basewidth = 150; topwidth = 40; notchwidth = topwidth-10; depth = 15; tablength = 4*depth; Mount_Tab_Width= 30; rotate([90,0,90]){ difference(){ union(){ tra...
glb/cad_148baa351af0.glb
Create a Micro Lathe Frame with a total depth of 15mm. The main body is a symmetrical trapezoidal shape with a base width of 150mm and a top width of 40mm, extending to a height of 175mm. At the top, create a notch that is 30mm wide and 10mm deep. Integrate several cylindrical holes through the body: two guide rod hol...
mainbearinghole_radius = 11.1; guiderod_hole_radius = 12.7/2; tailstock_thread_hole_radius = 6.3/2; bodyheight = 175; body_support_notch_height = bodyheight-10; basewidth = 150; topwidth = 40; notchwidth = topwidth-10; depth = 15; tablength = 60; Mount_Tab_Width= 30; rotate([90,0,0]){ difference(){ union(){ differen...
glb/cad_d2a8e7b22cf8.glb
Create a Micro Lathe Frame consisting of a rectangular base with a central cylindrical post. Start with a rectangular block measuring 75mm in width, 60mm in depth, and 14mm in height, centered on the origin. At the center of this base, add a vertical cylinder with a radius of 20mm and a height of 37.5mm. From this cy...
difference(){ union(){ difference(){ cube([75,60,14], center= true); rotate([90,0,0]){ translate([0,0,0]) cylinder(h=110, r=3.5, center = true,$fn=100); } rotate([90,0,0]){ translate([25,0,0]) cylinder(h=110, r=11.6/2, center = true,$fn=100); } rotate([90,0,0]){ translate([-25,0,0]) cylinder(h=110, r=11.6/2, center ...
glb/cad_7e3eaae44345.glb
Create a Micro Lathe Frame component consisting of a main cylindrical body with a central hole. Start by creating a cylinder with a height of 12.5mm and a radius of 20mm, centered on all axes. Bore a concentric hole through the center of this cylinder with a radius of 6.35mm. Engrave a series of radial markings into t...
difference(){ cylinder(h=12.5,r=20,center=true,$fn=100); translate([0,0,-1.5]) for(i=[0:5:180]){ rotate([0,0,i]) translate([0,-20,-4]){ cube([.5,1,5], center=true); } for(i=[0:90:180]){ rotate([0,0,i]) translate([0,-20,-4]){ cube([.5,1,10], center=true); } } for(i=[0:45:180]){ rotate([0,0,i]) tr...
glb/cad_922ad9fb1515.glb
Create a Simple Umbilical Cord Clip consisting of two mirrored, interlocking serrated arms. Each arm is based on a series of seven small cubes, each measuring 2mm by 2mm by 1mm, rotated 45 degrees on the Z-axis and spaced 1mm apart along the X-axis from 0mm to 7mm. These cubes form a row of teeth. To shape the arms, re...
module Teeth(){ rotate(2) difference(){ difference(){ union(){ rotate([0,0,45]) cube([2,2,1],true); translate([1,0,0]) rotate([0,0,45]) cube([2,2,1],true); translate([2,0,0]) rotate([0,0,45]) cube([2,2,1],true); translate([3,0,0]) rotate([0,0,45]) cube([2,2,1],true); translate([4,0,0]) rotate([0,0,45]) cube([2,2,1]...
glb/cad_5dffd47c49e8.glb
Create a choke lever by starting with a main vertical rectangular body that is 6mm wide, 4mm deep, and 37mm tall. At the top center of this body, create a circular hole with a diameter of 6mm that passes through the 4mm depth. Centered along the length of the body, carve out a vertical slot that is 2.5mm wide and 29mm ...
difference(){ cube([7,14,7], center=true, $fn=100); translate([0,5.5,0]) rotate(v=[1,0,0],a=90) cylinder(d=4, h=3, center=true, $fn=100); translate([0,-5.5,0]) rotate(v=[1,0,0],a=90) cylinder(d=4, h=3, center=true, $fn=100); translate([0,-6,-2.5]) cube([1,2.5,2],center=true,$fn=100); translate([0,6,...
glb/cad_eb94ea27a60b.glb
Create a choke lever by starting with a flat plate 10mm thick. The main body is defined by a polygon with vertices at [0,0], [19,0], [40,6], [40,11], [9.5,11], [8,13], [-1,13], and [0,0], extruded to the 10mm thickness. From this base shape, remove a cylindrical hole with a 3mm diameter that passes through the center o...
difference(){ linear_extrude(height = 10, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[19,0],[40,6],[40,11],[9.5,11],[8,13],[-1,13],[0,0]]); translate([8.5,3.5,0]) cylinder(d=3,h=10,center=true,$fn=100); translate([8,4,0]) cube([19,8,4.5],center=true,$fn=100); translate([-3,9,0]) rotate(v=[0,0,1],...
glb/cad_50e4e1d38acf.glb
Create a choke lever by starting with a central rectangular block measuring 16mm wide, 20.5mm deep, and 40mm tall. Carve a rectangular slot out of the center of this block that is 12mm wide, 16.5mm deep, and 37mm tall. On the top surface of the block, add a cylinder with a diameter of 18mm and a height of 10mm, centere...
difference(){ cube([16,20.5,40], center=true,$fn=100); translate([0,0,-1.5]) cube([12,16.5,37], center=true,$fn=100); translate([1.5,0,21]) cube([6,4,20],center=true,$fn=100); } difference(){ translate([1.2,0,25]) cylinder(d=18,h=10, center=true, $fn=100); translate([17 ,0,25]) cube([18,18,10], center=true, $fn=100...
glb/cad_323f8e46d92d.glb
Create a choke lever for a snowmobile by constructing a hexagonal prism with a diameter of 29mm and a height of 5mm. Center the shape and ensure the hexagonal profile is regular. Bore a smooth, circular hole through the center of the prism from top to bottom with a diameter of 17.5mm.
difference(){ cylinder(d=29,h=5,center=true,$fn=6); cylinder(d=17.5,h=5,center=true,$fn=100); }
glb/cad_6f02e8453044.glb
Create a mount base for an iPhone 6 tough case that functions as a triple GoPro connector. Start by creating a hexagonal prism with a flat top and bottom. Within this prism, integrate a right-handed trapezoidal threaded nut with an axial length of 18mm, an outer radius of 13.5mm, and a pitch of 5mm. The thread profile ...
use <Thread_Library.scad> mountBase(); module mountBase() { translate(v = [0, 0, 6]) { trapezoidNut( length=18, radius=27.0/2, pitch=5.0, pitchRadius=16.85/2, threadHeightToPitch=0.33, ...
glb/cad_222a1c610f57.glb
Create a French verbs dice by starting with a cube 40mm on each side, centered on the origin. Modify the cube by intersecting it with a sphere of radius 28mm to give it rounded corners. On each of the six faces, engrave the following words centered on the surface: "avoir" on the top, "aller" on the bottom, "faire" on t...
dice_size=40; font_size=8; text_front="faire"; text_back="être"; text_left="vouloir"; text_right="pouvoir"; text_top="avoir"; text_bottom="aller"; difference(){ intersection(){ cube(dice_size,center=true); sphere(r=dice_size/2*1.4,$fa=0.5); } for (side=[[[0,0,0],text_top],[[0,180,0],text_bottom],[[90,-90,0],text_fron...
glb/cad_98606e1a3617.glb
Create an integrated Z motor mount by starting with a central block and adding several geometric components. Form the main body by combining a central rectangular prism of 51.75mm by 60mm by 16mm with a wider, flatter base prism measuring 51.75mm by 74.5mm by 8mm centered beneath it. Add a central vertical block of 9mm...
include <configuration.scad> module zmotormount(){ difference(){ union(){ translate(v=[2.5-3.25/2,0,0]) cube(size = [55-3.25,60,16], center = true); translate(v=[2.5-3.25/2,0,-4]) cube(size = [55-3.25,74.5,8], center = true); translate(v=[30+9/2,29.25/2,0]) cube(size = [9,29.25,16], center = true); translate...
glb/cad_4dce37e09ac7.glb
Create a Tri-Rockwall Handhold consisting of three elongated, petal-like lobes radiating from a central core. Each lobe is formed by scaling a sphere of 7mm radius by a factor of 3.5 along its primary axis, resulting in an ellipsoidal shape. Position these three ellipsoids so they originate from the center and extend o...
B=25; h=500; 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(){ intersection(){ union(){ x= 10; y = 10; z = 10; length = norm([x,y,z]); b = acos(z/length); c = atan2(y,x); rotate([0, .5*b, 30*c]) scale([length,3.5,3.5]) sph...
glb/cad_3d32ac0398da.glb
Create a WeIO case, a protective enclosure for a PCB. Start by creating a main hollow rectangular body with outer dimensions of 63mm x 96mm x 19.6mm and a wall thickness of 2mm. The interior cavity should be 59mm x 92mm x 15.6mm. Round the exterior corners with a radius of 1mm. At the bottom of the interior, add a PCB...
thickness = 2; two_side = false; top = 1; bottom = 1; ROUNDED = 1; FIRST_LAYER = 0.2; weio_x = 59; weio_y = 92; weio_z = 15.6; outer_x = weio_x + thickness * 2; outer_y = weio_y + thickness * 2; outer_z = weio_z + thickness * 2; module bare_case() { difference() { minkowski() { cube([ou...
glb/cad_a5051e6bb677.glb
Create a rectangular container with an outer dimension of 246mm in length, 46mm in width, and 80mm in height. Hollow out the center to create a cavity that is 240mm long, 40mm wide, and 80mm high, leaving a wall thickness of 3mm on all sides and leaving the top open. On the front exterior wall, centered both horizontal...
inside_length = 240; inside_width = 40; height = 80; outside_length = inside_length + 6; outside_width = inside_width + 6; label_text = "Your Label Here"; label_size = 1.8; module boxBase() { difference() { translate([0,0,height/2]) cube([outside_length,outside_width,height],center=true); trans...
glb/cad_a757d37620a1.glb
Create a puzzle piece for a Cylinder Puzzle by starting with a cylinder that has a radius of 36mm and a total height of 72mm, centered on the origin. From this cylinder, remove a rectangular section using a cube that is 36mm wide, 18mm deep, and 90mm tall, centered on the origin and shifted 36mm along the x-axis. Addit...
module piece_alt_u(m){ intersection(){ cylinder(h = m*4, r=m*2,$fn=100,center=true); difference(){ translate([2*m,0,0]) cube([2*m,m,5*m],true); translate([1.5*m,-m,-m/2]) cube([m,m*2,m]); } } } render() { piece_alt_u(18); }
glb/cad_10abb8ea0262.glb
Create a puzzle piece for a Cylinder Puzzle by starting with a cylinder that has a radius of 36mm and a height of 72mm, centered on all axes. From this cylinder, carve out a central geometric shape formed by the intersection of the cylinder and a rectangular block measuring 90mm wide, 18mm deep, and 18mm high, also cen...
module piece_bone(m){ intersection(){ cylinder(h = m*4, r=m*2,$fn=100,center=true); difference(){ cube([m*5,m,m],true); translate([-m/2,0,-m]) rotate([90,0,0]) cube([m,m*2,m]); translate([-m/2,-m,0]) cube([m,m*2,m]); } } } render() { piece_bone(18); }
glb/cad_01b8d013b761.glb
Create a puzzle piece called a piece_hook by starting with a solid rectangular prism that measures 72mm in length, 18mm in width, and 18mm in height. Center this prism on all axes. From this main body, remove a smaller rectangular section to create a notch. This cutout should be 9mm wide, 36mm deep, and 18mm high. Posi...
module piece_hook(m){ difference(){ cube([4*m,m,m],true); translate([m,-m,0]) cube([m/2,2*m,m]); } } render() { piece_hook(18); }
glb/cad_427cfeaed94e.glb
Create a Cylinder Puzzle piece by starting with a central cylinder that has a radius of 36mm and a height of 72mm, centered on the origin. From this cylinder, remove several rectangular volumes to create a complex interlocking void. First, remove a central cube measuring 9mm by 90mm by 9mm, centered on the origin. Then...
module piece_large(m){ difference(){ cylinder(h = m*4, r=m*2,$fn=100,center=true); translate([-m/2,-2.5*m,-2.5*m]) cube([5*m,5*m,5*m]); translate([-m/2,0,0]) cube([m,5*m,m],true); translate([-m/2,0,0]) cube([m,m,5*m],true); translate([-2*m,0,0]) cube([m,m,5*m],true); translate([-2.5*m,-m/2,m/2]) cube([2.5...
glb/cad_13fd6e3f6b74.glb
Create a puzzle piece for a Cylinder Puzzle by starting with a central rectangular block that measures 72mm in length, 18mm in width, and 18mm in height. Center this block on the origin. From this main volume, remove a smaller rectangular section measuring 45mm in length, 36mm in width, and 18mm in height, positioned s...
module piece_large_hook(m){ difference(){ cube([4*m,m,m],true); translate([-m,-m,0]) cube([2.5*m,2*m,m]); } } render() { piece_large_hook(18); }
glb/cad_2bbb9daa8088.glb
Create a Cylinder Puzzle piece by starting with a cylinder that has a radius of 36mm and a height of 72mm, centered on the origin. From this cylinder, remove a central rectangular volume to create a void. This void is defined by a cube centered on the origin with a width of 90mm, a depth of 18mm, and a height of 18mm. ...
module piece_u(m){ intersection(){ cylinder(h = m*4, r=m*2,$fn=100,center=true); difference(){ translate([0,m/2,0]) cube([5*m,m,m],true); cube([3*m,m,2*m],true); } } } render() { piece_u(18); }
glb/cad_fd529237a625.glb
Create a puzzle piece for a Cylinder Puzzle by starting with a cylinder that has a radius of 36mm and a height of 72mm, centered on all axes. From this cylinder, carve out a complex geometric shape by intersecting it with a central block that is 90mm wide, 18mm high, and 18mm deep, also centered on all axes. Within thi...
module piece_w(m){ intersection(){ cylinder(h = m*4, r=m*2,$fn=100,center=true); difference(){ cube([m*5,m,m],true); translate([m/2,-m,0]) cube([m,m*2,m]); translate([-1.5*m,-m,0]) cube([m,m*2,m]); translate([-m/2,0,-m]) rotate([90,0,0]) cube([m,m*2,m]); } } } render() { piece_w(18); }
glb/cad_207a729ac97f.glb
Create a labeled container with external dimensions of 246mm in length, 46mm in width, and 80mm in height. The container is a hollow shell with a solid bottom and a wall thickness of 3mm on all sides, creating an internal cavity of 240mm by 40mm by 80mm. On the front and back faces, create two horizontal rows of circ...
inside_length = 240; inside_width = 40; height = 80; outside_length = inside_length + 6; outside_width = inside_width + 6; label_text = "Your Label Here"; label_size = 1.8; module boxBase() { difference() { translate([0,0,height/2]) cube([outside_length,outside_width,height],center=true); trans...
glb/cad_963e11a631e3.glb
Create a front panel for a DIY TV box. Start by constructing a solid rectangular base with a total height of 66mm, a total depth of 38.5mm, and a thickness of 1.5mm. Centered on top of this base, add a second rectangular slab that is 62mm high and 37mm deep, with a thickness of 1.5mm, leaving a consistent wall thicknes...
wall_w = 1.5; total_h = 66; inner_h = 62; total_d = 38.5; inner_d = 37; cube([total_h,total_d,wall_w]); translate([(total_h-inner_h)/2,0,wall_w]) cube([inner_h,inner_d,wall_w]);
glb/cad_e368ed25741c.glb
Create two identical button components for a DIY TV front panel. Each button is constructed from three stacked cylindrical sections. Start with a base cylinder that has a diameter of 9.5mm and a height of 1.3mm. On top of this base, center a second cylinder with a diameter of 8.2mm and a height of 2.2mm. Cap the struct...
outset=1.1; int_d=2.7; inset=4.0-int_d; module button() { translate([0,0,inset]) cylinder(d=8.2,h=outset+int_d-0.5,$fn=30); translate([0,0,inset+outset+int_d-0.5]) cylinder(d=7.2,h=0.5,$fn=30); cylinder(d=9.5,h=inset,$fn=30); } module menu() { translate([-2,-2.5]) square([4,1]); translate([-2,-0.5]) square([...
glb/cad_71b02a39c8f9.glb
Create a labeled container crate with external dimensions of 246mm in length, 46mm in width, and 80mm in height. The walls and base should be 3mm thick, creating an internal cavity of 240mm by 40mm by 80mm. On the front exterior wall, center the text "Your Label Here" with a scaling factor of 1.8 and an extrusion dep...
inside_length = 240; inside_width = 40; height = 80; outside_length = inside_length + 6; outside_width = inside_width + 6; label_text = "Your Label Here"; label_size = 1.8; module boxBase() { difference() { translate([0,0,height/2]) cube([outside_length,outside_width,height],center=true); trans...
glb/cad_fe23739aa35d.glb
Create a Customizable Mould Maker consisting of two mirrored halves, a mould top and a mould bottom. Each half starts as a rectangular block with dimensions 80mm x 110mm x 25mm (half of the total 50mm Z-dimension), featuring rounded corners with a 10mm radius. Inside each half, create a cavity by removing a central ma...
show_axis="Yes"; show_master="No"; show_sprue_and_riser="No"; include_runner="No"; show_mould_top="Yes"; show_mould_bottom="Yes"; resolution=36; master_points="[]"; master_faces="[]"; master_x_rotation=0; master_y_rotation=0; master_z_rotation=0; master_x_translation=0; master_y_translation=0; master_z_translation...
glb/cad_d0ae6e020bff.glb
Create an XLR Mount chassis by starting with a rectangular box measuring 30mm in width, 122mm in length, and 40mm in height. Along the top length of the box, create three identical mounting stations spaced evenly. Each station consists of a large central circular cutout with a radius of 12.3mm that penetrates deep in...
$fn = 180; nrOfHoles = 3; xlrRadius = 24 / 2; xlrPlugInnerRadius = 15.5 / 2; xlrPlugHoleRadius = 20 / 2; plateX = 27; plateY = 37; plateZ = 2; screwHoleDistX = 5; screwHoleDistY = 5; screwHoleR = 3 / 2; plateMargin = 1.5; plateSpacingY = 5; boxW = plateX + (plateMargin * 2); boxL = (plateY * nrOfHoles) + ((nrOfH...
glb/cad_45f2b84c8696.glb
Create a 3-way load carrier joint by constructing a central spherical core with a diameter of 66.8mm. Extend two cylindrical arms from this core, positioned perpendicular to one another. The first arm should extend vertically, and the second should extend horizontally along the X-axis. Both arms must have an outer diam...
in_radius=26; out_radius=33.4; hull() {cylinder(d=out_radius,h=10); translate([-7,0,-7])rotate(a=90,v=[0,-1,0]) cylinder(d=out_radius,h=10); translate([0,0,-7])sphere(d=out_radius,center=true); } difference(){ translate([0,0,10])cylinder(d=in_radius,h=30); translate([0,0,10])cylinder(d=in_radius-4,h...
glb/cad_046cff517402.glb
Create a 3 Mode Load Carrier for Labourer by first constructing a solid base using the convex hull of two cylinders, each with a diameter of 45mm and a height of 30mm, positioned 45mm apart. From this solid, remove two vertical cylindrical holes, each 50mm high, with diameters of 34.8mm and 34.6mm respectively, centere...
module a() { hull() { cylinder(d=45,h=30); translate([45,0,0])cylinder(d=45,h=30);}} difference() { a(); cylinder(d=34.8,h=50); translate([45,0,0])cylinder(d=34.6,h=50); translate([0,50,15])rotate(a=90,v=[1,0,0])cylinder(d=13.5,h=100); translate([45,50,15])rotate(a=90,v=[1,0,0])cylinder(d=13.5,h=100); ...
glb/cad_0f2391fc5c7c.glb
Create a 3 Mode Load Carrier joint by constructing a central core and removing internal channels. Start by creating a solid hull that encompasses a sphere with a diameter of 66.8mm centered at the origin, a cylinder of the same diameter with a height of 10mm positioned vertically, and two additional cylinders of the sa...
in_radius=26; out_radius=33.4; hull() {cylinder(d=out_radius,h=10); translate([-7,0,-7])rotate(a=90,v=[0,-1,0]) cylinder(d=out_radius,h=10); translate([0,17,-7])rotate(a=90,v=[1,0,0]) cylinder(d=out_radius,h=10); translate([0,0,-7])sphere(d=out_radius,center=true); } translate([0,0,-7]) rotate(a=90,v=[0,1,0]...
glb/cad_1a5492ac23f0.glb
Create a 3D Koch Snowflake with a total width of 50mm and a total height of 5mm. The model is constructed by stacking three concentric, flat polygonal layers of increasing complexity and decreasing thickness. First, create the base layer as a Koch snowflake at iteration 1, extruded to a height of 1.67mm. On top of thi...
width = 50; thickness = 5; maximum_iteration = 3; minimum_iteration = 1; hole = 0; if (minimum_iteration > maximum_iteration) { echo( "Minimum Iteration is greater than Maximum Iteration: There's nothing to do!" ); } else { make_flake(); } module make_flake() { kochs=[koch_1, koch_2, koch_3, koch_4, k...
glb/cad_fce76eaa9798.glb
Create a Periodic Table Magnet tile by starting with a square block measuring 25.4mm in width, 25.4mm in height, and 4mm in thickness. Center the block on the origin. On the underside of the tile, create a cylindrical hole for a magnet with a diameter of 6.5mm and a depth of 3.3mm, centered horizontally and verticall...
include <more_fontz/Antic_Regular.scad> include <more_fontz/Cabin_Regular.scad> tile_width = 25.4; tile_height = 25.4; tile_thickness = 4; element("H","1"); module magnet() { $fn = 25; magnet_diameter = 6.5; magnet_thickness = 1.65; cylinder(r=magnet_diameter/2, h=magnet_thickness, center=true); } module elemen...
glb/cad_06adf12ce666.glb
Create a Wiper Fluid Plug by constructing a hollow, tapered cylinder with a total height of 40mm. The outer wall should taper from a bottom diameter of 50mm to a top diameter of 53mm. The object must be hollowed out from the top, leaving a base thickness of 2mm at the bottom. To allow for pressure equalization, add a s...
plugHeight = 40.0; plugDiameterTop = 53.0; plugDiameterBottom = 50.0; module main() { $fn = 360; topRadius = plugDiameterBottom / 2.0; bottomRadius = plugDiameterTop / 2.0; thickness = 2.0; difference() { cylinder(r2 = topRadius, r1 = bottomRad...
glb/cad_bb72d63725fd.glb
Create a Soma puzzle piece composed of three rounded cubes. Each individual cube has a side length of 10mm and rounded corners with a radius of 1mm. The three cubes are arranged in an L-shape on a single plane. Position the first cube at the origin, the second cube adjacent to it along the x-axis at (10, 0, 0), and the...
$fn = 32; length = 10; radius = 1; space = 0.2; module myCube() { dist = length/2-radius-space; hull() { translate([dist,dist,dist]) sphere(r=radius); translate([-dist,dist,dist]) sphere(r=radius); translate([dist,-dist,dist]) sphere(r=radius); translate([-dist,-dist,dist]) sphere(r=radius); translate([dist...
glb/cad_6da5d530a94d.glb
Create an aquarium cover spacer by constructing a primary rectangular block measuring 14.5mm in thickness, 40mm in width, and 50mm in height. Within this main body, carve out a central rectangular slot that is 8.5mm wide, 40mm long, and 20mm deep, starting from the bottom face and centered such that there is a 3mm wall...
t=8.5; t2=3; b1=40; h1=50; rotate ([90,0,0]) { difference() { union() { cube([t+2*t2, b1, h1]); translate ([0,0,h1]) cube([t+t2,b1,20]); } translate ([t2,0,0]) cube([t,b1,20]); } }
glb/cad_8f5b627e1b1b.glb
Create a parametric multiple hotend base called "The Palette." Start by creating a central motor-axis mount consisting of a cylinder with a radius of 10mm and a height of 20mm, with a concentric hole of 4mm radius drilled through its center. At the top of this cylinder, centered at a height of 20mm, add a hexagonal pri...
number_of_extruders = 10; length=80; theta2 = 180/number_of_extruders; difference(){ cylinder(r=10,h=20); cylinder(r=4,h=20); translate([0,0,20]){ rotate(a=[0,0,0]) cylinder(r=7.5,h=7,$fn=6,center=true); } } for ( j = [ 1 : number_of_extruders ] ){ rotate (a=[0,0,j*theta2]){ pallete (number_of_extruders,theta2,leng...
glb/cad_143e217fb35a.glb
Create a Washing Up Brush Holder by starting with a conical frustum body that is 50mm tall, with a bottom radius of 30mm and a top radius of 20mm. Hollow out the center of this body by removing a smaller conical frustum that starts 6mm from the base, with a bottom radius of 14.5mm and a top radius of 20mm. At the base...
holder_ht=50; holder_top_max_rad=20; holder_bottom_rad=30; foothick=6; footlen=85; footwid=holder_bottom_rad*0.8; module holder() { difference () { cylinder(r1=holder_bottom_rad, r2=holder_top_max_rad,h=holder_ht); translate ([0,0,foothick]) cylinder(r1=14.5, r2=holder_top_max_rad,h=holder_ht); } module foot...
glb/cad_5898b6ccd3a1.glb
Create a Yamaha Quick Fastener consisting of a tiered cylindrical assembly. Start with a base cylinder 11.7mm in diameter and 4mm high, centered on the origin. Remove a central rectangular slot from this base that is 2mm wide, 8.3mm long, and 1.7mm high. Above this base, add a middle cylinder with a diameter of 5.96mm ...
difference(){ cylinder(d=11.7,h=4,center=true,$fn=100); translate([0,0,-1.2]) cube([2,8.3,1.7],center=true,$fn=100); } translate([0,0,5.5]) cylinder(d=5.96,h=7.5,center=true, $fn=100); translate([0,0,9.8]) cylinder(d=5.5,h=1.3,center=true,$fn=100); translate([0,0,10.7]) cylinder(d=6.87,h=.6,center=true,$fn=100); tr...
glb/cad_e4646b79046a.glb
Create a customizable crate by starting with a solid rectangular block that is 106mm long, 106mm wide, and 50mm high. Hollow out the center of this block to create a container with an interior cavity measuring 100mm by 100mm, leaving walls that are 3mm thick. To create the crate's characteristic perforated pattern, r...
inside_length = 100; inside_width = 100; height = 50; outside_length = inside_length + 6; outside_width = inside_width + 6; module boxBase() { difference() { translate([0,0,height/2]) cube([outside_length,outside_width,height],center=true); translate([0,0,(height/2)+4]) cube([inside_length,inside...
glb/cad_487e917f9ce3.glb
Create a Multiple Parametric Filament Extruder consisting of a main extruder block and an idler assembly. Construct the main extruder block as a rectangular base with a width of 33mm and a height of 60mm. Integrate a motor mount plate with a thickness of 5mm, featuring four rectangular slots for mounting. The slots a...
mount_thickness = 5; motor_mount_height = 60; motor_mount_width = 57; extruder_mount_length = 110; extruder_mount_width = 28; extruder_mount_hole_separation = 50; extruder_block_width = 33; extruder_block_width_final = 24; filament_rad=2.1; ptfe_rad=8.5; ptfe_depth=10; m8_rad=4.6; bearing_rad=11.2; bearing_width=7; he...
glb/cad_1d3999e25469.glb
Create a Multiple Parametric Filament Extruder consisting of a mirrored pair of extruder blocks. Each block is composed of a main body and a filament idler assembly. For the filament idler, create a rectangular base measuring 28mm wide, 60mm high, and 14mm thick. Within this base, center a vertical hole with a radius ...
mount_thickness = 5; motor_mount_height = 60; motor_mount_width = 57; extruder_mount_length = 110; extruder_mount_width = 28; extruder_mount_hole_separation = 50; extruder_block_width = 33; extruder_block_width_final = 24; filament_rad=2.1; ptfe_rad=8.5; ptfe_depth=10; m8_rad=4.6; bearing_rad=11.2; bearing_width=7; he...
glb/cad_fa1260a2d3bc.glb
Create a multiple filament extruder cam system consisting of several identical cam arms. For each arm, start with a base cylinder of radius 12mm and height 2mm. Subtract a central vertical hole with a radius of 4.4mm and a height of 6mm. On the outer edge of the cylinder, centered along the X-axis, add a cylindrical ...
$fn=60; number_of_extruders = 3; n=number_of_extruders*1; m8_clearance_hole=8.8; hole_for_608=22.6; 608_diameter=22; m3_wrench = 5.5; m4_wrench = 7; bearing_outer=22; bearing_spacing=9; bearing_width=7; arm_width=13; arm_height = 4; extruder_width=20; axis_rad = 12; arm_length = axis_rad+bearing_outer/2; washer_diam =...
glb/cad_feb218f2d39e.glb
Create a Jugger cookie cutter based on the provided logo silhouette. The model consists of two concentric wall sections extruded vertically to a total height of 10mm. First, create a base flange by extruding the logo shape to a height of 1.5mm with a wall thickness of 10mm. Directly above this base, create the main cut...
wCutter = 2; wFlange = 10; h = 10; outline(0.15 * h, wFlange); translate([0, 0, 0.15 * h]) { outline(0.85 * h, wCutter); } module outline(h, w){ difference(){ minkowski(){ baseShape(h); cylinder(r = w, h = h); } translate([0, 0, -0.01]) { baseShape(1e6); ...
glb/cad_a30de26de00e.glb
Create a T4 quadcopter leg with a total length of 165mm and a thickness of 20mm. The main body is a rectangular hollow shell with a wall thickness of 2mm. At the top of the leg, create a mounting bracket 20mm wide and 6mm thick. Within this bracket, carve out a central cylindrical void with a radius of 25mm. To allow...
KREIS_QUALITAET = 90; HOLDER_THICKNESS = 20; CABLE_TIE_THICKNESS = 5; CABLE_TIE_GAP = (HOLDER_THICKNESS - 2*CABLE_TIE_THICKNESS) / 5; CABLE_TIE_GROOVE = 1; LEG_LEN = 165; difference() { union() { linear_extrude(height = HOLDER_THICKNESS, center = true, convexity = 10, twist = 0) polygon(points=[[7.6, 0], [16.5...
glb/cad_beab539f82ab.glb
Create a battery pack holder for two AA batteries. Start with a solid rectangular base block measuring 67mm in length, 35mm in width, and 17.6mm in height. Carve out two cylindrical battery compartments, each with a diameter of 15.5mm and a depth of 16.6mm, leaving a bottom thickness of 1.6mm. These compartments shou...
AA = [ 15.5, 52.5 ]; AAA = [ 10.5,44.5 ]; C = [ 26.2, 50 ]; D = [ 34.2, 61.5 ]; typ = AA; num =2; bottom_thick=1.6; fr_thick=5.5; side_thick=2; distance_bat=1; nut_h = 4; nut_radius = 8.8/2; nut_drill = 4.8; ser=1; w=typ[0]; h=w; l=typ[1]*ser; ip_l = l; ip_w = w + (w+distance_bat)*(num-1); ip_h = h; mc_l = ip_l+...
glb/cad_76059114aa0b.glb
Create a TwixT game piece by starting with a rectangular base measuring 33.94mm in length, 3.86mm in width, and 1.6mm in height. At each end of this rectangle, add a cylinder with a radius of 4.7mm and a height of 1.6mm, centered such that the cylinder's center is positioned 1.7mm from the side and 1.7mm from the botto...
difference() { union() { cube(size=[33.94,3.86,1.6], center=false); translate([-1.9,1.7,0]) cylinder(h = 1.6, r=4.7, center = false, $fn=25); translate([35.84,1.7,0]) cylinder(h = 1.6, r=4.7, center = false, $fn=25); } hull() { translate([-1.9,1.7,0]) cylinder(h = 1.6, r=1.9, center = false, $fn=2...
glb/cad_2bbe5856c4d3.glb
Create a 3D model of a TwixT game component by starting with a primary rectangular block measuring 9mm in width, 2mm in depth, and 7mm in height. From this main volume, remove two smaller rectangular sections to create a notched profile. The first cutout should be a block 2mm wide, 6mm deep, and 7mm high, positioned 0....
difference() { union() { cube(size=[9,2,7], center=false); translate([.5,0,0]) cube(size=[2,6,7], center=false); translate([6.5,0,0]) cube(size=[2,6,7], center=false); } }
glb/cad_d4e4a578d19a.glb
Create a TwixT game piece by combining several geometric primitives. Start with a base cylinder 7mm high with a radius of 4.3mm. Directly on top of this, add a second, thinner cylinder 1.3mm high with a radius of 4.7mm. Above this, place a rectangular block measuring 1.3mm wide, 9.2mm deep, and 16.6mm high, centered ho...
difference() { union() { translate([0,0,0]) cylinder(h = 7.0, r=4.3, center = false, $fn=25); translate([0,0,6.8]) cylinder(h = 1.3, r=4.7, center = false, $fn=25); translate([-.65,-4.6,8]) cube(size=[1.3, 9.2, 16.6], center = false, $fn=25); rotate(a=[0,0,90]) translate([-.65,-4.6,8]) cube(size=[1.3,...
glb/cad_3caf765512e3.glb
Create a TwixT game board by starting with a rectangular base measuring 203.2mm in length, 135.52mm in width, and 2mm in height. Add a raised border around the entire perimeter of this base; the border consists of four walls that are 11.7mm high and 2mm thick. Across the top surface of the board, create a grid of hol...
difference() { union() { cube(size=[203.2,135.52,2], center=false); translate([0,0,1]) cube(size=[203.2,2,11.7], center=false); translate([0,133.52,1]) cube(size=[203.2,2,11.7], center=false); translate([0,0,1]) cube(size=[2,135.52,11.7], center=false); translate([201.2,0,1]) cube(size=[2,135.52,1...
glb/cad_6add01d4f4ae.glb
Create a TwixT game board base. Start with a rectangular solid measuring 67.69mm in length, 50.75mm in width, and 2mm in height. Add two thin rectangular walls, each 2mm wide and 11.7mm high, running the full length of the board at the top and bottom edges, and two similar walls running the full width at the left and r...
difference() { union() { cube(size=[67.69,50.75,2], center=false); translate([0,0,1]) cube(size=[67.69,2,11.7], center=false); translate([0,48.75,1]) cube(size=[67.69,2,11.7], center=false); translate([0,0,1]) cube(size=[2,50.75,11.7], center=false); translate([65.69,0,1]) cube(size=[2,50.75,11.7]...
glb/cad_f1a8e5216350.glb
Create a TwixT game board by starting with a rectangular base measuring 203.21mm in length, 135.52mm in width, and 2mm in height. Add a perimeter wall around the edges that is 11.7mm high and 2mm thick, creating a shallow tray. Within the interior of this tray, arrange a grid of holes. The grid consists of 12 columns...
difference() { union() { cube(size=[203.21,135.52,2], center=false); translate([0,0,1]) cube(size=[203.21,2,11.7], center=false); translate([0,133.52,1]) cube(size=[203.21,2,11.7], center=false); translate([0,0,1]) cube(size=[2,135.52,11.7], center=false); translate([201.21,0,1]) cube(size=[2,135....
glb/cad_33dffbd5f5cb.glb
Create a TwixT game board by starting with a rectangular base measuring 203.21mm in length, 135.45mm in width, and 2mm in height. Add a raised perimeter wall that is 11.7mm high and 2mm thick along all four edges of the base. Across the surface of the board, create a grid of holes. The grid consists of 12 columns and...
difference() { union() { cube(size=[203.21,135.45,2], center=false); translate([0,0,1]) cube(size=[203.21,2,11.7], center=false); translate([0,133.45,1]) cube(size=[203.21,2,11.7], center=false); translate([0,0,1]) cube(size=[2,135.45,11.7], center=false); translate([201.21,0,1]) cube(size=[2,135....
glb/cad_86a547171ec9.glb
Create a Spacer Wall by constructing a central rectangular slab 32mm wide, 2mm thick, and 10mm high. At each end of the slab, centered on the width, add a cylindrical protrusion with an outer diameter of 6mm and a height of 10mm. Finally, bore a 4mm diameter hole through the center of each cylinder and through the enti...
spacerDiameter = 4; spacerWidth = 32; spacerThickness = 1; wallThickness = 2; wallHeight = 10; difference() { union() { translate([0,wallThickness/2,0]) cube([spacerWidth,wallThickness,wallHeight],center=true); SpacerWrapper(); } SpacerHole(); } module SpacerWrapper() { for (xPos = [-spacerWidth/2, spacerW...
glb/cad_a6bfbfbafc20.glb
Create a small rectangular plate with rounded corners. The main body should be 10mm wide and 30mm long with a total thickness of 4mm. All four vertical edges must be rounded with a radius of 3mm, resulting in a smooth, pill-shaped perimeter.
breedte = 10; hoogte = 30; afronding = 3; $fn =50; minkowski(){ cube ([breedte,hoogte,1]); cylinder(r=afronding, h=1); }
glb/cad_77e98586c07d.glb
Create a floating customizable die with a width of 20mm. Start with a cube of 20mm and intersect it with a sphere of radius 14mm to round the corners. To create the floating effect, remove three intersecting cylinders with a radius of 8.75mm, each aligned with the X, Y, and Z axes. To maintain the structure, add three ...
use <write/Write.scad>; die_width = 20; Die_Color = "red"; Symbol_Color = "white"; resolution = 36; $fn=resolution; m_dist = die_width/5.2; rounded = 1; floating = 1; floating_space = 1.25; dual_extrusion = 0; side_1_mode = 0; side_1_characters = "!"; side_1_size = 4; side_1_rotation = 45; side_1_font = "Lett...
glb/cad_89aca8c426c2.glb
Create a trapezoidal antiwobble nut holder by starting with a base shape formed by the convex hull of two cylinders: one with a diameter of 22.1mm and another with a diameter of 28.1mm positioned 20mm away along the x-axis, both having a height of 10mm. From this solid, remove a central vertical hole with a diameter of...
k = 0.1; screw_d = 3; screw_radius = 8; nut_d = 10.2 + k; nut_rim_d = 22; nut_h = 15; nut_rim_h = 3.5; nut_rim_offset = 10; rod_d = 8 + k; rod_offset = 20; t = 6; t2 = 10; $fa = 0.5; $fs = 0.5; module nut(){ union(){ cylinder(d=nut_d, h=nut_h); translate([0, 0, nut_rim_offset]) cyli...
glb/cad_08365fe0ed0a.glb
Create a Mini Drill Press arm mount. Start with a central cylinder 10mm in radius and 12mm in height. Remove a central vertical hole with a radius of 2mm (the rod diameter divided by two) that extends 30mm through the center. Within this central cylinder, create a hexagonal cutout for an M8 captive nut, positioned 1mm ...
armMount(); include <functions.scad>; include <config.scad> module armMount() { union() { difference() { translate([0,0,0]) rotate([0,0,0]) cylinder(r=20/2, h=12, $fn=50); translate([0,0,-1]) rotate([0,0,0]) nut(m8_nut_dia,6); translate([0,0,0]) rotate([0,0,0]) cylinder(r=...
glb/cad_6684dd580fe9.glb
Create a Mini Drill Press arm knob by starting with a sphere that has a radius of 12.5mm. Flatten the bottom of the sphere by removing a cubic section 30mm wide, 30mm deep, and 4mm high, positioned 12mm below the center point. Finally, bore a vertical cylindrical hole through the center of the model with a radius of 2m...
armKnob(); include <config.scad> module armKnob() { difference() { sphere(r=25/2, $fn=50); translate([0,0,-12]) cube([30,30,4], center=true); translate([0,0,-20]) cylinder(r=arm_dia/2, h=30, $fn=50); } }
glb/cad_34a92e2a194c.glb
Create a Mini Drill Press base by starting with a square platform. Form the main body by creating a hull between two centered cubes: a bottom cube measuring 100mm x 100mm x 3mm and a top cube measuring 95mm x 95mm x 3mm positioned 4mm above the first. At the front center of the platform, add a cylindrical post mount ...
base(); include <functions.scad> include <config.scad> module base() { difference() { hull() { translate([0,0,0]) rotate([0,0,0]) cube([100,100,3], center=true); translate([0,0,4]) rotate([0,0,0]) cube([95,95,3], center=true); } translate([0,19,-3]) rotate([0,0,0]) cylinder(r=10/2, h=15, $fn=50);...
glb/cad_fc51848a4de6.glb
Create a sliding wedge for a mini drill press. Start with a main body formed by extruding a polygon with vertices at [0,0], [5,10], [30,10], and [35,0] to a height of 100mm, centered vertically. From this body, remove a rack gear section with a pitch of 8, 20mm width, 10mm height, and 10 teeth, positioned at [0, 23, 55...
slidingWedge(); include <publicDomainGearV1.1.scad>; module slidingWedge() { translate([0,-20,11]) rotate([0,0,0]) difference() { translate([-17.5,20,0]) scale([0.98,0.98,0.98]) linear_extrude(height=100, center=true) polygon( points=[[0,0],[5,10],[30,10],[35,0]] ); translate([0,23,55]) rotate([0,90,0]) rack(8,20,1...
glb/cad_0bcd506c924f.glb
Create a Mini Drill Press fixed slide. Start with a central rectangular block measuring 45mm wide, 15mm deep, and 61mm high, centered on the origin. From this main body, remove a central vertical profile defined by a polygon with points at [0,0], [5,10], [30,10], and [35,0], extruded 75mm high. Carve out two cylindri...
fixedSlide(); include <functions.scad>; include <config.scad>; module fixedSlide() { union() { difference() { translate([0,0,-15]) cube([45,15,61], center=true); translate([-17.5,0.1,-15]) linear_extrude(height=75, center=true) polygon( points=[[0,0],[5,10],[30,10],[35,0]] ); translate([0,-8,-8.5]) ...
glb/cad_40f5c1013b3f.glb
Create a Mini Drill Press for a hobby drill. Start with a base platform and center a vertical alignment shaft with a 2.5mm radius and 190mm height. Position a fixed slide at [0, -18, 130] and a sliding wedge at [0, -18, 100]. Above these, place a tool collar mount at [0, 19, 72] and a tool body mount at [0, 19, 152], b...
use <drill_base.scad> use <fixed_slide.scad> use <sliding_wedge_rack.scad> use <rotacraft_rc18_drill_collar_mount.scad> use <rotacraft_rc18_drill_body_mount.scad> use <rack_gear.scad> use <arm_mount.scad> use <arm_knob.scad> use <thumb_wheel.scad> base(); color("lightblue") translate([0,-42,0]) rotate([0,0,0]) cylin...
glb/cad_edf3e752e22c.glb
Create a slide gear for a mini drill press. Start by constructing a central cylinder with a radius of 10mm and a height of 10mm, centered on the X and Z axes. Integrate this with a gear that has a pitch circle of 8mm, 15 teeth, and a thickness of 9mm. From this combined volume, remove a central cylindrical shaft hole...
slideGear(); include <publicDomainGearV1.1.scad>; include <config.scad> module slideGear() { translate([0,0,0]) rotate([0,270,0]) difference() { union() { color("blue") rotate([0,90,0]) translate([-10,-17,8]) cylinder(r=20/2, h=10, center=true); color("yellow") rotate([0,90,0]) translate([-10,-17,0])...
glb/cad_aa34ffe0e797.glb
Create a series of rectangular prisms, each measuring 3mm in width, 1mm in depth, and 2mm in height. Arrange these prisms along a circular arc with a radius of 10mm. Place the first prism at 0 degrees and continue adding subsequent prisms every 30 degrees along the arc until you reach 260 degrees, resulting in a total ...
module on_arc(radius, angle) { x = radius - radius * cos(angle); y = radius * sin(angle); translate([x,y,0]) rotate([0,0,-angle]) child(0); } on_arc_example(); module on_arc_example() { union() { for(a = [0 : 30 : 260]) { on_arc(10, a) cube([3,1,2]); } ...
glb/cad_b509637bbe4b.glb
Create a Bowden Clamp for a heater end consisting of three main components: a base with a riser, a tightening cone, and a cap. First, construct the base as a rounded square block 48mm wide and 6mm high with a corner radius of 3.5mm. On the fan side, integrate a rectangular extension 9mm wide and 2mm high. Drill four v...
include <boxes.scad> include <knurledFinishLib.scad> include <polyScrewThread.scad> baseWidth = 48; baseCornerRadius = 3.5; outsideHolesFromCentre = 20.5; insideHolesFromCentre = 11; outsideHolesRadius = 1.5; oHR_Allow = 0.75; baseHeight = 6; centreToInsideBase = 7; baseLegWidth = 9; fanSideBaseHeight = 2; tubeRadius ...
glb/cad_c7f0c9680f39.glb
Create a Bowden Clamp for a heater end consisting of a base, a riser tube, a tightening cone, and a threaded cap. Start with a square base 48mm wide and 6mm high with 3.5mm corner radii. On the fan side, add a rectangular extension 9mm wide and 6mm high. Drill four holes with a 2.25mm radius: two at the center of the ...
use <boxes.scad> use <knurledFinishLib.scad> use <polyScrewThread.scad> baseWidth = 48; baseCornerRadius = 3.5; outsideHolesFromCentre = 20.5; insideHolesFromCentre = 11; outsideHolesRadius = 1.5; oHR_Allow = 0.75; baseHeight = 6; centreToInsideBase = 7; baseLegWidth = 9; fanSideBaseHeight = 6; tubeRadius = 3.1; tR_Al...
glb/cad_f77d6c62dbf9.glb
Create a set of three nested parts trays. The largest outer tray has a length of 95mm, a width of 75mm, and a height of 15mm. Each tray is a hollow rectangular container with rounded side corners of 5mm and rounded bottom edges of 1mm. The walls and bottom are 2mm and 1.6mm thick, respectively. To ensure the trays nes...
mode = "printing"; num_trays = 3; nested_height = "y"; outer_length = 95; outer_width = 75; outer_height = 15; side_radius = 5; bottom_radius = 1.0; side_wall = 2; bottom_wall = 1.6; side_margin = 0.6; bottom_margin = 0.0; demo_bottom_margin = 0.1; printing_space = 5; eps1 = 0.001; $fn = 90; module roun...
glb/cad_5ffad16a8521.glb
Create a Three Magnet Connector for Delta Printer Arms consisting of a main joint body and a separate test sphere. For the joint body, create a conical base with a bottom diameter of 14.8mm and a top diameter of 13.8mm, with a height of 8.5mm. On top of this base, add a cylinder with a bottom diameter of 13.8mm and a ...
MagDia = 4.7; MagHt = 13; MagRot = 27; Mag3xOD = 15.5; Mag3xID = 9.8; Rod_Dia = 7.5*1.07; echo("Rod_Dia = ",Rod_Dia); Rod_Len = 50; Jnt_Thk = 4; Jnt_Dia1 = Mag3xID + Jnt_Thk+1; Jnt_Dia2 = Mag3xOD + Jnt_Thk; Jnt_Dia=9.8; Jnt_Ht = 7.5 + 1; Jnt_RodHt = 12; SphereDia = 10; SphereRad = SphereDia / 2; $fn=64; M4CapHd = 7; A...
glb/cad_15fe70fdba6a.glb
Create a top hat by constructing a series of stacked cylinders and hollowing out the center. Start with a wide, flat brim by creating a cylinder 2mm high with a bottom radius of 59mm and a top radius of 60mm. Above this, place a cylinder 26mm high starting at a height of 3mm, tapering from a bottom radius of 30mm to a ...
difference() { union() { translate([0,0,0]) cylinder( h=2, r1=59, r2=60); translate([0,0,1]) cylinder( h=2, r1=59, r2=59); translate([0,0,3]) cylinder( h=26, r1=30, r2=28); translate([0,0,6]) rotate([0,2,5]) cylinder( h=16, r1=31, r2=30); translate([0,0,29]) cylinder( h=10, r1=28, r2=28.5); translate([0,0,39...
glb/cad_0e8483296f26.glb
Create a top hat by constructing a series of stacked cylinders and hollowing out the center. Start with a wide, flat brim as a cylinder with a height of 2mm, a bottom radius of 59mm, and a top radius of 60mm. Above this, place a cylinder for the lower body starting at a height of 3mm with a height of 26mm, tapering fro...
difference() { union() { translate([0,0,0]) cylinder( h=2, r1=59, r2=60); translate([0,0,1]) cylinder( h=2, r1=59, r2=59); translate([0,0,3]) cylinder( h=26, r1=30, r2=28); translate([0,0,6]) rotate([0,2,5]) cylinder( h=16, r1=31, r2=30); translate([0,0,29]) cylinder( h=10, r1=28, r2=28.5); translate([0,0,39...
glb/cad_6cd98842c4f1.glb
Create a Globe Holder designed to support a gear cube. The holder consists of a central support structure and a base. First, create the main body by combining three concentric cylinders rotated 90 degrees along the X-axis. The largest cylinder has a diameter of 120mm and a height of 4mm. The middle cylinder has a dia...
sidelength=50; scale(sidelength/47.5) { difference() { rotate_extrude(convexity = 10, $fn = 48) translate([50, 0, 0]) circle(r = 5, $fn = 24); translate([-100,-100,-200])cube(200); translate([0,0,-100]) cube(200); rotate([0,0,-45]) translate([0,0,-100]) cube(200); } difference() { union() ...
glb/cad_aff45e7a988a.glb
Create a replacement extruder floor with a rectangular body measuring 42.5mm in length, 22mm in height, and 17mm in thickness. Round the corners of the body. On the bottom face, place two mounting screw holes with a diameter of 4mm, each offset 3.8mm from the nearest side and end edges. Add a countersink to each screw...
body_length = 42.5; body_thickness = 17; body_height = 22; fitting_dia = 9.8; fitting_depth = 6.5; fitting_x = 15.4; fitting_z_fix = 0.0; filament_hole_dia = 2.9; filament_ridge_y = 19; bearing_dia = 10; bearing_x = 10.1; bearing_y = body_height - 1; drive_gear_dia = 13.8; drive_gear_x = 21.4; drive_gear_y = body...
glb/cad_e5c19bb6c6e9.glb
Create a Wall-E costume ring for a Pololu Zumo bot. Start by constructing a hollow cylinder with an outer diameter of 124mm, an inner diameter of 117mm, and a total height of 20mm. The wall thickness is 3.5mm. The outer perimeter of the ring is modified with a series of repeating geometric teeth. Create these teeth b...
$fn=90; diente=2; ancho=20; d_ext=120; grosor=1.5; giro=[0,0,-1,1,0,-1,1,0]; helice=[0,1,-2,1,1,-2,1,0]; difference(){ union(){ for (i=[0:10:110]) { rotate([0,0,i]) for (j=[0:1:7]) { translate([0,0,ancho/8*j]) rotate([0,0,giro[j]]) linear_extrude(height=ancho/8,twist=helice[j]) circle(d=d_ext+diente*2,$fn=3); } } cyl...
glb/cad_c530f05775b2.glb
Create a Wall-E costume part for a Pololu Zumo bot. Start by constructing a rectangular base measuring 40mm in length, 10mm in width, and 4mm in height. At one end of this base, attach a cylinder with a radius of 4mm and a height of 10mm, oriented so its axis is perpendicular to the base and centered along the width. T...
$fn=36; rotate([-90,0,0]) difference(){ union(){ cube(size=[40,10,4]); translate([0,10,0]) rotate([90,0,0]) cylinder(r=4,h=10); } translate([0,5,-5]) cylinder(r=1.6,h=10); translate([32,5,2]) rotate([0,90,0]) cylinder(r=0.8,h=8); }
glb/cad_dd6b33bdf126.glb