Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create three identical tablet holder wall clips, spaced 5mm apart along a linear axis. Each clip is a composite geometric shape with a total width of 15mm, a height of 17mm, and a thickness of 2.5mm. For each clip, construct two parallel outer walls, each 2.5mm thick and 15mm wide, separated by an inner gap of 14mm. ...
thickness = 2.5; inner_gap = 14; height = 17; width = 15; screw_hole_min = 2; screw_hole_max = 4.2; screw_driver_hole = 3.5; count_x = 1; count_y = 3; length = inner_gap + 2 * thickness; eps = 0.1; for (i = [0 : count_x - 1]) { for (j = [0 : count_y - 1]) { translate([(i - count_x / 2) * (height + 5), (j - (count_...
glb/cad_eb366141d38b.glb
Create a customizable laptop stand consisting of interlocking flat panels with a material thickness of 4mm. The stand is composed of two side support structures and several cross-members. Construct the side supports as panels with a total width of 276mm (stand width minus material thickness) and a back height of 180mm...
material_thickness = 4.0; kerf = 0.23; stand_width = 280; cross_member_overhang = 10; stand_height = 180; lower_deck_depth = 190; upper_deck_depth = 250; upper_deck_angle = 25; side_spar_thickness = 30; spar_spacing = 70; cross_member_spacing = 60; internal_spar_upper_deck_depth_divisor = 0.25; edge_support...
glb/cad_493f7df48b52.glb
Create a grid of 15 identical washers arranged in 5 rows and 3 columns. Each washer is a flat ring with an inner diameter of 26mm, an outer diameter of 32mm, and a thickness of 2.6mm. Position the washers so that they are spaced apart, with a center-to-center distance of 34mm between adjacent rings both horizontally an...
inner = 26; border = 6; thickness = 2.6; rows = 5; cols = 3; outer = inner + border; $fn=120; module myWasher (inner, outer, thickness) { difference() { cylinder(d=outer, h=thickness); translate([0,0,-thickness]) # cylinder(d=inner, h=thickness*3); }; } for(runY = [0 : rows-1]) for(r...
glb/cad_73c05807326d.glb
Create a Case with hidden hinges consisting of two matching halves. Each half is a rounded rectangular shell with overall dimensions of 60mm length, 200mm width, and 35mm height, featuring a corner radius of 10mm and a wall thickness of 1.6mm. The two halves fit together using a lip-and-groove joint; the bottom half f...
delta = 0.5; length = 60; wid = 200; ht = 35; cornerRadius = 10; wallWidth = 1.6; hingeOffset = -15; hingeLeafNumber = 5; hingeHoleDiam = 1.75; hingeHoleBossDiam = 6; hingeHoleBossThickness = 4.0; hingeHoleArmThickness = 2.4; hingeArmLengthA = 12 ; hingeArmLengthB = 24; hingeBossClearance = 0.3; hi...
glb/cad_e98e22e78bc9.glb
Create a Multitool Belt Holster with a wall thickness of 1.6mm. The main body is a hollow sleeve designed to hold a tool with a thickness of 18.5mm. The internal cavity starts at the bottom with a width of 33mm and a height of 55mm, then transitions linearly over a height of 7.5mm to a wider width of 35mm, continuing u...
narrow_end_width = 33; wide_end_width = 35; transition_start_height = 55; transition_end_height = 62.5; full_height = 100; multitool_thickness = 18.5; slot_width = 20; slot_depth = 10; slot_strip_height = 5; wall_thickness = 1.6; belt_loop_width = 20; belt_loop_height = 50; belt_loop_clearance = 6.3; belt_l...
glb/cad_a5953c2bfd6a.glb
Create a parametric angled drill and saw jig. Start by constructing a rectangular base foot with a length of 80mm, a width of 23mm (calculated as an 8mm diameter plus a 15mm margin), and a height of 15mm. On top of this base, add a rectangular guide block with the same 23mm width and a height of 55mm (70mm total height...
$fn=100; print_text = 1; diameter = 8; drill_tolerance = 0.6; height_guide = 70; angle = 15; height_foot = 15; length_foot = 80; margin = 15; width = diameter + margin; difference() { union() { translate( [ 0, length_foot*0.4, 0 ] ) rotate( [ angle, 0, 0 ] ) cube( [ width, width, height_guide-heigh...
glb/cad_4ff1aaeb446a.glb
Create a neo-zeer cooler consisting of a main cylindrical body and a separate lid. The main body is a vertical cylinder with a total height of 100mm and an outside diameter of 60mm. Inside this body, create a concentric hollow core with a diameter of 40mm, leaving a wall thickness of 2mm. The exterior of the main body...
Height = 100; OutsideDiameter = 60; InnerDiameter = 40; WallThickness = 2; StepHeight = 15; StepGap = 5; H = Height; OR = OutsideDiameter / 2; IR = InnerDiameter / 2; stepH = StepHeight; stepGap = StepGap; res = 200; OS = .1; wT = WallThickness; strawOS = 1; strawIR = 1; strawOR = strawIR + wT; steps = (H/ (stepH...
glb/cad_3c25cd838b4e.glb
Create a sculpture consisting of three identical interlocking rings. Each ring is a torus with a major radius of 50mm and a minor tube radius of 5mm. Position the first torus centered at the origin and lying flat on the XY plane. Place the second and third tori by rotating the first one 120 degrees and 240 degrees resp...
r1=5; r2=50; ang=70.528779; difference(){ union(){ t1(); translate([r2-r2*cos(ang),0,r2*sin(ang)])rotate([0,ang,0])t1(); rotate([0,0,120])translate([r2-r2*cos(ang),0,r2*sin(ang)])rotate([0,ang,0])t1(); rotate([0,0,240])translate([r2-r2*cos(ang),0,r2*sin(ang)])rotate([0,ang,0])t1(); } translate([-60,-60,-1...
glb/cad_cd5e85d92490.glb
Create a stepper motor control board by starting with a thin square plate measuring 35mm by 35mm with a thickness of 1mm, centered on the origin. Remove several cylindrical holes from this plate to create mounting points and component footprints. Place four mounting holes with a diameter of 2mm, each positioned at a ra...
size = [35, 35, 1]; holeSpacing = 20; holeDiameter = 2; pinSpacing = 0.1 * 25.4; pinDiameter = pinSpacing/2; chipOffset = [0, 2, 0]; connectorOffset = [0, -6, 0]; transistorOffset = [11, 3, 0]; bobbinOffset = [14, -4.5, 0]; merge = 0.1; $fn = 32; difference() { union() { cube(size, center=true); } for (t=[0:3]...
glb/cad_a4e3b670ef48.glb
Create a 12V LED light case and mounting system consisting of three main parts. First, create a rectangular LED base with outer dimensions of 49.2mm by 29.1mm and a thickness of 8mm. Hollow out the center to create a cavity of 43.2mm by 25.1mm, leaving a 3mm wall, and add a 2.5mm diameter hole through the center of one...
$fn=50; wall=3; LEDWidth=43.2; LEDHeight=29.1; LEDMountWidth=49.2; PivotWidth=7.85; ArmLength=40; i=4; if (i==1) { LedBase(); } else if (i==2) { LedBack(); } else if (i==3) { MountArm(); } else if (i==4) { test(); } module test() { LedBase() ; translate([0...
glb/cad_b3e44e8f24e3.glb
Create a Slimline Customisable Glasses Case consisting of two mirrored mating halves. The internal cavity of each half is based on a prism profile defined by a polygon with vertices at [0,-2], [0,33], [4,42], [27,34], and [25,22]. For each half, create a base shell by expanding this polygon with a Minkowski sum of a ...
wallT = 1.1; rad1 = 3; rad2 = 5; tHeight = 143; shrink = 0.76; $fs=0.5; hSec = (tHeight-24)/31; module glassesClearance() { minkowski() { scale([shrink,shrink,1]) linear_extrude(height = 0.1) { polygon(points = [[0,-2],[0,33],[4,42],[27,34],[25,22]], path = [1,2,3,4,5]); } } } module vertPrismProf...
glb/cad_25ecdfeb88bf.glb
Create an ASR 33 teletype chad box, which is a hollowed-out collection bucket. Start by constructing the main tub body using a hull operation between a rectangular top template of 179.74mm by 54.65mm (with 5.66mm corner radii) and a side profile defined by points [0,0], [175.31, 0], [160.43, 184.19], and [9.74, 185.62]...
facets = 120; $fn = facets; cornerRadius = 5.66; smallCornerRadius = 3.18; ASR33TeletypeChadBucket(); module ASR33TeletypeChadBucket() { difference() { Tub(); InnerTub(); FingerCutout(); } } module Tub() { BasicTub(); OuterSidePlate(); OuterEndStops(); InnerSidePl...
glb/cad_d53ade4e4df3.glb
Create a tablet and phone holder for a stationary bicycle consisting of a central rectangular plate with two cylindrical mounting points. Start with a central rectangular block measuring 15mm in length, 50mm in width, and 5mm in height, centered on the origin. To this central block, add a secondary flat piece that is 1...
$fn=50; drill_distance = 50; block_width = 50; block_length = 15; block_height = 5; block_length2 = 15; tube_outer_diameter = 13; tube_inner_diameter = 8.2; e = 0.1; difference() { union() { translate([0, 0, block_height / 2 - tube_outer_diameter / 2]) cube([block_length, block_width, block_height],...
glb/cad_df9aaaafff3c.glb
Create a tablet and phone holder for a stationary bicycle. Start with a central rectangular block measuring 50mm in length, 50mm in width, and 5mm in height. Attached to the bottom of this block, center a trapezoidal support piece that is 50mm wide and 5mm high, with a profile defined by four vertices: (-3, -5), (-10, ...
$fn=50; drill_distance = 50; block_width = 50; block_length = 25; block_height = 5; block_length2 = 15; tube_outer_diameter = 13; tube_inner_diameter = 8.2; difference() { union() { translate([0, 0, block_height / 2 - tube_outer_diameter / 2]) cube([block_length, block_width, block_height], center=t...
glb/cad_3bdd12be57af.glb
Create a tablet and phone holder for a stationary bicycle. Start with a central block that is 85mm wide, 75mm deep, and 10mm high. Intersect this block with a cube of the same height rotated 45 degrees on the Z-axis to create a faceted base. Add two cylindrical protrusions to the sides of the block, each with an outer...
$fn=50; block_width = 85; block_width2 = 75; drill_distance = 31; drill_diameter = 4.2; nut_size = 7.2; nut_height = 4; outer_diameter = 60; bearing_height = 8; block_height = 10; angle = 30; tube_inner_diameter = 8; tube_outer_diameter = 13; shift = 5; difference() { union() { intersection() ...
glb/cad_89be36e12351.glb
Create a heart sign stand by constructing a central vertical cylinder 115mm tall with a 20mm diameter. Add two horizontal cylinders, each 60mm long and 20mm in diameter, positioned symmetrically on opposite sides of the central cylinder's base. Center these horizontal cylinders so they extend 30mm outward from the cent...
$fn=100; use <HeartSign v02.scad>; module Stand() { translate([-15,0,0]) rotate([90,0,0]) cylinder(h=60,d=20, center=true); translate([15,0,0]) rotate([90,0,0]) cylinder(h=60,d=20, center=true); translate([0,20,0]) cylinder(h=115,d=20); } module StandWCutout() { difference() { Stand(); translate([0,...
glb/cad_9ebb9e20377f.glb
Create a Sierpinski Tetrahedron fractal with a total width of 50mm, iterated to a depth of 4 levels. The basic building block is a regular tetrahedron, but each individual tetrahedron must be scaled by a factor of 1.15 to ensure the parts overlap rather than touching at single points. The fractal is constructed by re...
difference() { sierpinski3D(50,1,4); translate([0,0,-5]) cube([100,100,10],center=true); } translate([0,0,0]) sierpinski2Dbase(50,1,4); module sierpinski3D(ww,nn,mm) { if (nn<mm) { translate([-ww/4,-ww/(4*sqrt(3)),0]) sierpinski3D(ww/2,nn+1,mm); translate([+ww/4,-ww/(4*sqrt(3)),0]) sierp...
glb/cad_39fe86bbb446.glb
Create a universal vacuum hose adapter. Start by creating a base cylinder with a diameter of 57.5mm and a height of 35mm. Add a rounded transition to the top of this base by applying a Minkowski sum of a 54mm diameter disk and a 9mm diameter sphere centered 18.5mm above the base. On top of this structure, add a second ...
$fn=64; shoe_diameter=57.5; hose_diameter=32; hose_connector_length=32; diameter=hose_diameter; module aussen() { cylinder(d=shoe_diameter, h=35, center=false); minkowski(){translate ([0,0,18.5]) cylinder(d=54, h=0.01, center=false); translate ([0,0,40,18.5]) sphere(d=9);}; translate ([0,0,35]) cylinder(d=(hose_diamet...
glb/cad_878f09200cc8.glb
Create a Duet electronics enclosure with an inner length of 125mm, an inner width of 110mm (102mm nominal plus 8mm extra), and an inner height of 33mm. The walls and base should be 3mm thick. Construct the main body as a rounded box. Hollow out the base to create a shelf 3mm thick under the PCB. On the side walls, cr...
Enc_hollowbase=true; Enc_wall_cutout=false; Enc_extra_width=8.0; Enc_ventillation=2.5; Enc_ventillation_spacing=6.0; Enc_inner_height=33.0; Enc_5V_cutout=true; Enc_inner_length=125.0; Enc_innerduet_width=102.0; Enc_inner_width=Enc_innerduet_width+Enc_extra_width; Enc_bottomshelf_width=3.0; Enc_base=3.0; Enc_wall=3.0; ...
glb/cad_b31ec8dbe3cf.glb
Create a custom electronics enclosure mount consisting of a thin rectangular base plate and two vertical support pins. The base plate should be a flat rectangle measuring 24mm by 11mm with a thickness of 0.24mm. Centered within this plate, create two circular cutouts with a radius of 4.5mm, spaced to accommodate the pi...
NumberX = 2; NumberY = 1; PinBaseDiameter = 7; PinBaseHeight = 0; PinMainDiameter = 7; PinMainHeight = 32; PinConeHeight = 0; PinConeDiameter = 1.5; Wall = 1.5; Tb = 1; Base = 0.24; $fn=20; module pin() { difference() { union() { cylinder(h=PinBaseHeight, r=PinBaseDiameter/2); cylinder(h=...
glb/cad_d5d32ace1cd4.glb
Create a custom enclosure mount for a Duet electronics board consisting of a thin rectangular base plate and two vertical support pins. The base plate should be a flat slab with a thickness of 0.24mm, measuring 20mm in width and 12mm in depth. Within this plate, create two circular cutouts with a radius of 4mm each, ce...
NumberX = 2; NumberY = 1; PinBaseDiameter = 8; PinBaseHeight = 3; PinMainDiameter = 3.5; PinMainHeight = 27; PinConeHeight = 2; PinConeDiameter = 1.5; Wall = 0; Tb = 1; Base = 0.24; $fn=20; module pin() { difference() { union() { cylinder(h=PinBaseHeight, r=PinBaseDiameter/2); cylinder(h=...
glb/cad_2431b14e5371.glb
Create a Pinewood Derby wheel gap guide by starting with a rectangular plate that is 40mm wide, 25mm high, and 0.4mm thick. Ensure the corners of the plate are rounded with a radius of 0.4mm. Centered along the width of the plate, create a circular hole with a diameter of 3mm that passes completely through the thicknes...
$fn=30; wheel_diameter=30; card_depth = 0.4; card_width=wheel_diameter+10; card_height=wheel_diameter/2 +10; axel_diameter=3; difference() { minkowski() { cube(size = [card_width, card_height, card_depth]); cylinder(r=card_depth,h=card_depth); } translate([card_width/2, card_height/3, -1])...
glb/cad_a7d9c4dc40e1.glb
Create a collection of Moai hats consisting of several distinct geometric shapes. Construct two truncated cones with a height of 10mm, both starting with a base radius of 11mm; one should taper to a top radius of 9mm and the other to 7mm. Create a third hat by placing a cylinder with a radius of 9mm and a height of 10m...
translate([-20,20,0]){ cylinder(r1=11,r2=9,h=10); } translate([20,20,0]){ cylinder(r1=11,r2=9,h=10); } translate([20,20,10]){ cylinder(r=4,h=5); } translate([-20,-20,0]){ cylinder(r1=11,r2=7,h=10); } cylinder(r=12,h=2); cylinder(r=9,h=10); translate([0,-40,0]){ cylinder(r=12,h=2); cylinder(r=9,h=18); } translate...
glb/cad_00ee592cd737.glb
Create a Hnefatafl game piece consisting of three stacked geometric sections. Start with a base octagonal prism that is 30mm tall, tapering from a bottom radius of 12.5mm to a top radius of 8mm. Directly on top of this base, add a second octagonal prism that is 10mm tall, tapering from a bottom radius of 8mm to a top r...
$fn=8; cylinder(h=30,r1=12.5,r2=8); translate([0,0,30]){ cylinder(h=10,r1=8,r2=2); } translate([0,0,40]){ sphere(2); }
glb/cad_cb2eb9e8cea2.glb
Create a Hnefatafl King game piece. The main body is a tapered, crystalline pillar formed by the convex hull of three distinct layers: a base octagonal footprint defined by points at [±20, 0, 0], [±15, ±7.5, 0], and [0, ±12.5, 0]; a middle octagonal section at height 70mm defined by points at [±15, 0, 70], [±10, ±4, 70...
OGHAMFONT="Noto Sans Ogham:style=Regular"; BEGIN = "\u169B"; END = "\u169C"; SPACE = "\u1680"; BRANDUBH = str(BEGIN, "\u1681\u168F\u1690\u1685\u1687\u1692\u1681\u1686", END); FIDCHELL = str(BEGIN,"\u1683\u1694\u1687\u1686\u1695\u1682",END); RUIRI = str(BEGIN, "\u168F\u1697\u168F\u1694", END); BRANDUBH_CORRECT_ORDER = ...
glb/cad_9f3018e0b922.glb
Create a Model Rocket Guide Ring by constructing a hollow cylinder with a height of 10mm. The ring should have an inner diameter of 19.1mm to accommodate a BT-20 body tube with a small amount of clearance. The outer diameter of the ring should be 29.1mm, resulting in a wall thickness of 5mm. Ensure the geometry is smoo...
makering(20); FUDGE=0.3; THICKNESS = 5; HEIGHT=10; $fn=64; module makering(size=20) { tube_od = get_tube_od(size); guide_radius = (tube_od + FUDGE)/ 2; guide_outer = guide_radius + 5; difference() { cylinder(r=guide_outer, h=HEIGHT); translate([0,0,-1]) cylinder(r=guide_radius, h=HEIGHT+2); } } functio...
glb/cad_297154d0559f.glb
Create a Buckle Box consisting of a bottom container and a lid connected by hinges. The box has a width of 75mm, depth of 75mm, and height of 18mm, with wall thicknesses of 1.5mm and rounded corners. For the bottom container, create a rectangular basin with rounded corners. On one 75mm side, integrate a hinge base. Th...
$fn = 100; width = 75; depth = 75; height = 18; wallThickness = 1.5; hingeOuter = 7; hingeInner = 3; hingeInnerSlop = .65; hingeFingerSlop = .4; fingerLength = hingeOuter/1.65; fingerSize = 12; topFingerSize = fingerSize; latchWidth = 20; latchSlop= 0.5; translate([0,0,0.5]) bhinge(); translate([0,0,0.5]) bcenterrod...
glb/cad_e9c5a2061190.glb
Create a Mendel90 nozzle fan duct consisting of a nozzle outlet, a connecting duct, a fan housing, and a mounting bracket. First, create the nozzle outlet as a ring sector with an outer diameter of 60mm, an inner diameter of 40mm, and a height of 10mm. Cut a 90-degree opening from the ring and create 8 equidistant air...
use <MCAD/polyholes.scad> show_debugging_cube = false; show_fanduct = true; show_bracket = true; layer_h = 0.3; nozzle_d = 0.4; de = 0.1; P0110 = 40; P0111 = 60; P0112 = 1.6; P0113 = 10; P0115 = 1.6; P0116 = 4; P0117 = 3; P0118 = 5; P0119 = 8; P0120 = 1.6; P0121 = 1.6; P0122 = 3; P0123 = 90; P0130 = 10; P0131 = ...
glb/cad_90071ac2b920.glb
Create a 25mm cube. On the top face, center a circular indentation with a radius of 9.9mm and a depth of 1.4mm. Inside this indentation, emboss a capital letter "T" using a stroke width of 2mm; the horizontal bar of the T should be 23.82mm wide and the vertical stem 11.81mm long. On the left side face, create a circu...
fit_tolerance = 0.35; penny_r = 19.05 / 2.0 + fit_tolerance; penny_t = 1.4; cube_s = 25.0; penny_c = cube_s / 2; tee_t = penny_t; tee_wt = 2; tee_w = penny_r * 1.20; tee_h = penny_r * 1.25; tee_z = cube_s - penny_t - tee_t; tee_x = (cube_s - tee_w) / 2.0; tee_y = (cube_s - tee_h) / 2.0 - tee_wt / 2.0; differ...
glb/cad_cec8f96b899f.glb
Create a door knob grip adapter consisting of two concentric cylindrical sections. First, create a large outer cylinder with a radius of 20mm and a height of 25mm. Carve eight semi-circular notches into the outer wall of this cylinder, spaced evenly every 45 degrees around the circumference. Next, create a smaller in...
wheel_radius=15.2; wheel_radius2=20; wheel_height=25; wheel_height2=25; wheel_steps=6; wheel_steps2=8; wheel_steps_start=0; wheel_steps_start2=0; $fn=100; module regular_polygon(order, r=1){ angles=[ for (i = [0:order-1]) i*(360/order) ]; coords=[ for (th=angles) [r*cos(th), r*sin(th)] ]; polygon(coords); ...
glb/cad_b5d4036d974d.glb
Create a door knob grip adapter consisting of two concentric cylinders. First, create a large outer cylinder with a radius of 20mm and a height of 25mm. Carve eight semi-circular grooves into the outer wall of this cylinder, spaced evenly every 45 degrees around the circumference, where each groove has a radius of appr...
wheel_radius=15.15; wheel_radius2=20; wheel_height=25; wheel_height2=25; wheel_steps=6; wheel_steps2=8; $fn=120; module regular_polygon(order, r=1){ angles=[ for (i = [0:order-1]) i*(360/order) ]; coords=[ for (th=angles) [r*cos(th), r*sin(th)] ]; polygon(coords); } union() { translate([0,0,wheel_hei...
glb/cad_cd2ef0264078.glb
Create a boot pusher upper bush by constructing a tiered cylindrical object with a central hole. Start with a base cylinder 22mm in diameter and 4mm high. On top of this base, add a tapered section 12mm high that narrows from a radius of 11mm at the bottom to 10mm at the top. Above this, add a final cylindrical section...
$fn=30; difference() { union() { cylinder(r=11, h=4); translate([0,0,4]) cylinder(r1=11, r2=10, h=12); translate([0,0,16]) cylinder(r1=10, r2=2.75, h=2.5); } translate([0,0,-1]) cylinder(r=2.75, h=20); translate([0,0,-1]) cylinder(r=5, h=6.5); translate([0,0,1]) cylinder(r=9.25, h=4.5); } differe...
glb/cad_38e1b764668c.glb
Create a shower head swivel by starting with a central sphere with a radius of 12.5mm. Attach a cylinder to the top of the sphere, centered on the Z-axis, with a height of 14mm and a radius of 11.7mm. To create the internal passage, remove a central vertical hole with a radius of 4mm that runs through the entire length...
difference(){ union(){ sphere(r=12.5); translate([0,0,12]){ cylinder(h = 14, r=11.7); } translate([0,0,2]){ cylinder(h = 14, r=7); } } translate([0,0,-15]){ # cylinder(h = 54, r=4); } translate([0,0,13]){ cylinder(h = 15, r=9.5); } }
glb/cad_5dec5647dd9c.glb
Create a set of four appliance risers. For each riser, construct a solid cylinder with a radius of 11mm and a total height of 8mm. From the top of this cylinder, remove a smaller concentric cylindrical volume with a radius of 9mm and a depth of 6mm, leaving a solid base 2mm thick and a wall thickness of 2mm. The final ...
FOOT_DIAMETER_MM = 18; FOOT_HEIGHT_MM = 6; RISE_HEIGHT_MM = 2; FOOT_COUNT = 1; WALL_SIZE = 2; CYLINDER_RADIUS = FOOT_DIAMETER_MM / 2 + WALL_SIZE; CYLINDER_HEIGHT = FOOT_HEIGHT_MM + RISE_HEIGHT_MM; INNER_CYLINDER_RADIUS = FOOT_DIAMETER_MM / 2; FOUR_UP_DISTANCE = 0.5; DETAIL = 80; module riser() { difference() ...
glb/cad_e386c7a33737.glb
Create a V10b Extruder Filament Guide. Start with a main body formed by a central block 15mm wide, 16mm high, and 19.5mm deep, merged with a secondary block 20mm wide, 5mm thick, and 35.5mm deep. Remove the following geometric features from this body: a vertical cylinder with a 3mm radius and 22.5mm height positioned...
$fn=100; clearance_drive = 0.75 ; clearance_screws = 0.3 ; hight = 16 ; offset = 2.4; bearing_r = 22; bearing_offset_h = 1.5; rotate([-90,0,0]){ difference(){ union(){ difference(){ translate([6,0, hight/2 - 5.5]) cube([15,16, 3.5 + hight],true); translate([6,-10, ]) cube([20,5, 3.5 + hight...
glb/cad_c25e186d3a02.glb
Create a V10b Extruder Filament Guide. Start with a main body formed by a block 15mm wide, 16mm high, and 19.5mm deep. From this body, remove a central rectangular section 20mm wide, 5mm thick, and 32mm high to create a notched profile. Carve several holes through the geometry: first, a vertical hole with a 3mm radius...
$fn=100; clearance_drive = 0.75 ; clearance_screws = 0.3 ; hight = 16 ; offset = 2.4; bearing_r = 22; bearing_offset_h = 1.5; rotate([-90,0,0]){ difference(){ union(){ difference(){ translate([6,0, hight/2 - 5.5]) cube([15,16, 3.5 + hight],true); translate([6,-10, ]) cube([20,5, 3.5 + hight...
glb/cad_0f7c590b10d6.glb
Create a V10b Extruder Filament Guide for 1.75mm filament. Start with a main body consisting of a rectangular block 15mm wide, 16mm deep, and 20.25mm high. Remove a central vertical cylinder with a radius of 3mm and a height of 22.5mm, offset by 2.4mm. Directly adjacent to this, remove a smaller vertical cylinder wit...
$fn=100; clearance_drive = 0.5 ; clearance_screws = 0.3 ; hight = 16.75 ; offset = 2.4; bearing_r = 22; bearing_offset_h = 1.5; rotate([-90,0,0]){ difference(){ union(){ difference(){ translate([6,0, hight/2 - 5.5]) cube([15,16, 3.5 + hight],true); translate([6,-10, ]) cube([20,5, 3.5 + hig...
glb/cad_d2ab595c0a74.glb
Create a Prusa i3 Vanilla Adjustable Y Axis Endstop Holder consisting of two primary symmetrical mounting brackets connected by a central brace. Each bracket is designed to hold an M8 threaded rod. For each bracket, create a main body with a cylindrical cutout of 8mm diameter and 6mm depth. Within this, create a larger...
$fn = 32; rotate([90,0,0]) union() { union() { difference() { translate([31,12,-2]) rotate([90,0,0]) cylinder(8,6,6); translate([31,13,-2]) rotate([90,0,0]) cylinder(20,4,4); translate([33,13,-1]) rotate([90,-30,0]) cube([6,6,20]); translate([29,-7,-1]) rotate([90,-30,180]) cube([6,6,20]); translate([33,0,0]) rot...
glb/cad_e8fe613e1edb.glb
Create a 2020 profile brace for a filler spool holder. Start by constructing a main block with a width of 34mm (hook width 26mm plus 4mm clearance on each side), a thickness of 12mm (hook thickness 4mm plus 4mm clearance on each side), and a height of 37mm (hook height 24mm plus 13mm). Apply a 0.6mm chamfer to the edge...
hook_clearence=0.3; brace_wall=4; brace_angle=0; profile_position = "vertical"; profile_type = "2020"; profile_stud_depth=2; profile_clearence=0.0; profile_nut_clearence=0.3; screw_dia = 3; screw_head = "flat"; screw_head_dia = 0; round_head_screw_head_height = 0; screw_length=8; screw_min_wall = 2; screw_clearence...
glb/cad_9b988adee2fc.glb
Create a Polygon Board Game piece by constructing a regular hexagonal prism. The prism should have a height of 5mm and an apothem (the distance from the center to the midpoint of each side) of 60mm. Ensure the geometry is a precise six-sided regular polygon centered on the origin.
Demo(); module Demo() { inch = 25.4; Polygon(N=6,A=60,h=5,debug=false); } module Polygon(N=3,A=0,R=0,S=0,h=0,debug=false) { N = ( N < 3 ? 3 : N ); angle = 360/N; angleA = angle/2; if (debug) { echo("N = ", N); echo("A = ", A); echo("S = ", S); echo("R = ", R); } if ( A > 0 ) { assign ( ...
glb/cad_90cfeaf263d7.glb
Create a Bowden clamp by starting with a rectangular base measuring 15mm wide, 50mm long, and 5mm high. At each end of the base, center a cylinder with a radius of 7.5mm and a height of 5mm, effectively rounding the ends of the base. On top of the base, at one end, add a vertical cylinder with a radius of 7.5mm and a h...
$fn = 40; INTERNAL_DIAMETER = 6.1; BASE_HEIGHT = 5; WELL_HEIGHT = 30; module main() { difference() { union() { cube(size = [15, 50, BASE_HEIGHT]); translate([7.5, 50, 0]) { cylinder(r = 7.5, h = BASE_HEIGHT); } translate([7.5, 0, 0]) { ...
glb/cad_346572a27337.glb
Create a decor cube consisting of a 3x3x3 grid of spheres connected by rectangular bars. Place spheres with a radius of 5mm at the intersections of a grid with 15mm spacing along the X, Y, and Z axes. Connect every adjacent sphere in the X, Y, and Z directions using rectangular prisms measuring 2mm by 10mm by 2mm. Spec...
rows=3; cols=3; layers=3; for(k=[0:(layers-1)]){ for(i = [0:(rows-1)]){ for(j = [0:(cols-1)]){ translate([j*15,i*15,k*15])sphere(r=5, center=true); if(i!=0){ translate([j*15,7+(i-1)*15,k*15])cube([2,10,2],center=true); } if(j!=0){ translate([7+(j-1)*15,i*15,k*15])rotate([0,0,90])cube([2,10,2],ce...
glb/cad_d9e81f5057f7.glb
Create a shower head holder composed of four stacked geometric layers. The first layer is a cylinder with a height of 4.3mm and a radius of 12.65mm, with a central rectangular slot 10.5mm wide and a circular hole with a radius of 5.25mm removed from its center. The second layer sits atop the first, consisting of a cyli...
layerpadding=1; layer1height=4.3; layer2height=4.8; layer3height=3.6; $fn=200; union (){ color([1,0,0]) difference () { union () { cylinder(h=layer1height,r=25.3/2); } translate ([0,0,-layerpadding]) { cylinder(h=layer1height+2*layerpadding,r=10.5/2); translate ([0,-10.5/2,0]) cube ([25.3,10.5,layer1...
glb/cad_1d4126a77b11.glb
Create a parametric wall knob consisting of two separate components: a tall cylindrical sleeve and a flat circular cap. First, construct the tall piece as a cylinder with a diameter of 15mm and a height of 20mm. Drill a 6mm diameter hole straight through the center along its vertical axis. Inside this central void, c...
end_diameter=20; end_thickness=3; cylinder_diameter=15; cylinder_height=20; screw_diameter=6; screw_counterbore=10; thread_diameter_inner=12; thread_pitch=3; thread_scale=0.9; $fn=100; include <simplethreads.scad>; translate([-end_diameter/2,0,0]) tall_piece(); translate([end_diameter/2,0,0]) end_piece(); module ...
glb/cad_2b8f3825849f.glb
Create a Modular Air Flow Duct consisting of a central fan housing and two flanking support arms. Start with a central rectangular base for the fan housing measuring 61.4mm wide, 40mm long, and 61.4mm high. Hollow out the center of this block, leaving a wall thickness of 0.7mm on all sides. At the top of this housing...
EXT_WIDTH=0.7; THICKNESS=2*EXT_WIDTH; LAYER_HEIGHT=0.3; FANSIZE=60; FANDEPTH=25; LENGTH=40; FANEDGE=4; FANSCREW_DIST=5; FANSCREW_R=2; FANSCREW_AROUND=2; R_SCREW=2; L_HANDLE=10; W_HANDLE=25; ANTIWARP=0; module support() { if(ANTIWARP) { cylinder(LAYER_HEIGHT,r=10); translate([0,-FANSIZE,0]) ...
glb/cad_5d5febd68430.glb
Create a camera mount for a Medion S47015 WiFi camera. Start with a central base plate that is a cylinder with a radius of 6mm and a height of 6mm, centered on the origin. Remove six vertical holes from this base, each with a radius of 3mm, arranged in a circular pattern with a diameter of 150mm. Additionally, remove s...
res = 30; rodD = 6; potD = 12; plateD = 170; nutD = 150; module frontPlate(){ difference(){ translate([0,0,-5]) cylinder(r=plateD/2,h=8,center=true,$fn=res); for (i=[0:5]){ rotate(360*i/6,[0,0,1]) translate([nutD/2,0,-5]) cylinder(r=rodD/2,h=8.2,center=true,$fn=res); } translate([0,105,-5]) cube([200.2,60,...
glb/cad_66b853aacbf3.glb
Create a tiny box for heat bed clips with outer dimensions of 50mm width, 70mm length, and 40mm height. The box should have a hollow interior created by removing a central block that leaves walls 2mm thick. To keep clips secure, add a reinforced top border 2mm thick that runs along the top edge, though the interior of ...
WIDTH = 50; LENGTH = 70; HEIGHT = 40; WALL = 2; difference() { cube([WIDTH,LENGTH,HEIGHT]); translate([2,2,-1]) { cube([WIDTH-WALL*2,LENGTH-WALL*2,HEIGHT+2]); } } difference() { translate([0,0,HEIGHT-2]) cube([WIDTH,LENGTH,2]); translate([3,3,HEIGHT-2.9]) cube([WIDTH-6,LENGTH-6,9]); } difference() { transla...
glb/cad_8dd55f23aa26.glb
Create a 3D model of an Octonauts Gup-A underwater vehicle consisting of a main hull, a propeller, and a lamp. For the hull, create a shape that blends a sphere of radius 10mm at the front to a sphere of radius 5mm at the back, with a total length of 17mm. Flatten the bottom of the hull to create a base. Cut a rectan...
include <openSCAD_modules/shapes.scad> include <openSCAD_modules/utilities.scad> gup_back_radius = 5; gup_front_radius = 10; gup_length = 17; gup_porthole_radius = 2; tow_line = 1; prop_shaft_diameter = 2.25; prop_shaft_length = 4; prop_arm_length = 5; scale = 2; $fn=50; translate([0,0,scale*(gup_length+gup_back_r...
glb/cad_55abaf1dc953.glb
Create a simple wall hook with a uniform thickness of 19mm. Start with a rectangular base measuring 45mm in length, 5mm in width, and 19mm in height. Attached to one end of this base, add a second rectangular arm measuring 30mm by 5mm by 19mm, rotated 135 degrees relative to the base. At the junction where these two ar...
width=19; cube ([45, 5 , width]); translate([50,0,0]) { translate ([0,5,0]) { rotate([0,0,135]) { cube ([30, 5 , width]); translate([30,5 ,0]) { cylinder(h=width,r=5); } } translate([-5,0,0]) { c...
glb/cad_f61c5215cc3d.glb
Create a construction toy arm with a male joint. Start by creating a rectangular arm body that is 70mm long, 18mm wide, and 7mm thick. At one end of the arm, create a hand section that is 25mm wide and 5mm thick. At the opposite end of the arm, add a male connector pin. The pin consists of a cylindrical shaft with a d...
TIPO_BRAZO="Rectas"; Longitud_Brazo=70; Hombro=18; Mano=25; Tipo_Mano=4; TIPO_UNION="Macho"; Diametro=8; Altura=15; Altura_brazo=7; Altura_brazo_b=2; if(TIPO_BRAZO=="Rectas"){ if(TIPO_UNION=="Hembra"){ arm_union_quadrangle(arm=[Hombro,Altura_brazo,Altura_brazo_b,Longitud_Brazo],hand=[Mano,Altura_brazo-2,2+Ti...
glb/cad_e3c7b3622f07.glb
Create a parametric LED candle holder. Start by constructing a hollow cylinder with an outer radius of 38mm and an inner radius of 32mm, extending to a height of 67mm. The walls should be 3mm thick. On top of this cylinder, add a distorted, molten-looking cap. This cap is formed by a series of connected polyhedrons t...
rounded = 3; theta_step = 6; beta_step = 20; fudge = 0.05; distortion = 4; function dist(theta) = distortion + 0.7 * distortion * cos(2*theta) + 0.2 * distortion * cos(theta) + 0.1 * distortion * sin(7*theta); module candletop(rad) { union() { for(theta = [0 : theta_step : 360 - theta_step]) { assign(next_theta...
glb/cad_b6bd7840ab54.glb
Create a parametric LED candle holder consisting of a circular base and a central vertical support structure. Start with a base cylinder 35mm in diameter and 2mm high, with a 60-facet resolution. Cut a rectangular slot through the center of this base measuring 3mm wide, 20mm long, and 10mm deep. Construct the central ...
module stand() { difference() { cylinder(r=17.5,h=2, $fn=60); cube(center=true,[3,20,10]); } } module fillet(length) { rotate([0,0,90]) difference() { cube(center=true,[length,4,4]); translate([0,1.99,1.99]) rotate(a=[0,90,0]) cylinder(r=4,h=length+1,center=true,$fn=20); } } module hole() { rotat...
glb/cad_b6875ea95f66.glb
Create a parametric LED candle holder base. Start by creating a thin circular plate with a radius of 30mm and a thickness of 2.01mm. Centered within this plate, remove two small vertical holes, each with a radius of 0.75mm and a height that exceeds the plate's thickness. These holes should be positioned 3mm apart, cent...
include </home/holger/Programming/GitRoot/3D-PCB/3D-PCB.scad>; module plate(width) { translate([0,0,width/2]) difference() { cylinder(r=30,h=width, center=true, $fn=60); translate([1.5,0,0]) zhole(width); translate([-1.5,0,0]) zhole(width); } } module zhole(width) { cylinder(r=.75,h=width+1,center=tru...
glb/cad_bc22d89dd684.glb
Create a toy wheel with a total diameter of 50mm and a width of 25mm. The main body is a cylinder with a radius of 22.5mm and a thickness of 25mm. Subtract a central shaft hole with a radius of 2.25mm and a depth of 15mm. To create the tread, remove a cylinder from the center with a radius of 25mm and a height of 25m...
include <openSCAD_modules/utilities.scad> include <openSCAD_modules/shapes.scad> $fn=50; part_only = 0; wheel(0); module wheel(part_only = 0) { radius = 22.5; width = 25; thickness = 5; tread_depth = 0.82; total_wheel_diameter = 2*(radius + thickness); number_of_vents = 8; vent_size = 3.5; curve_angle = 360; bloc...
glb/cad_a0f1dfc00b37.glb
Create a folding mobile phone stand consisting of two mirrored sets of interlocking arms. First, construct a "long arm" unit: a rectangular block 40mm long, 1.8mm thick, and 5mm high. At one end, add a semi-cylindrical cap with a 5mm radius. Drill a hole with a 1.75mm radius through the center of the arm's thickness,...
$fn = 32; hrad = 5; armthick = 1.8; armheight = hrad; gap = 1.2; spacing = armthick + gap; nrad = 3.5/2; longl = 40; shortl = longl - hrad- 0.5; numlong = 11; numshort = numlong - 1; module longarm() { difference() { union () { cube([longl,armthick,armheight-0.5]); translate([-armheight,0,armheight]) cu...
glb/cad_de4b2e4eb7f0.glb
Create a Peg Solitaire board for 14mm marbles. Construct a circular base with a height of 12mm. The top surface should have a rounded edge with a 6mm diameter, and the bottom edge should have a 3mm diameter radius. On the top face, create a grid of holes, each 14mm in diameter and 5.5mm deep, spaced 22mm apart from ce...
base_shape = "circle"; standard_board = "true"; base_z = 12; hole_d = 14; hole_z = 5.5; hole_spacing = 22; groove_z = 6.5; groove_inner_spacing = 2.5; groove_outer_spacing = 5; bot_cr = 3; top_cr = 6; rendering_fragments = 24; $fn = rendering_fragments; base_auto = true; base_x = groove_outer_spacing * 2 +...
glb/cad_1391a5b7baaf.glb
Create a toothbrush cup by constructing a hollow cylinder with an outer radius of 26mm and a total height of 60mm. The walls and the base should have a uniform thickness of 2mm. To soften the geometry, apply a rounding radius of 8mm to the bottom exterior edge. The interior of the cup should be a mirrored hollow space ...
$fn = 100; mug_radius = 26; mug_height = 60; mug_rnd_bottom = 8; mug_wall = 2; calc_round = min(mug_rnd_bottom, mug_radius/10); calc_height = mug_height - calc_round - mug_wall * 0.5; module mug_simple(h1,r1,rc) { cylinder(h1,r1,r1); rotate_extrude (convexity = 10) translate ([r1-rc,0,-rc/2]) circle (r=rc); tran...
glb/cad_7dd700a433e4.glb
Create a stylized alien figure using low-resolution geometric primitives with a facet count of 10. Start with the body by creating a hull that blends a sphere of radius 48mm (1.2 * 40mm) with another sphere of radius 40mm positioned 30mm above it along the Z-axis. Add a neck by placing a cylinder with a radius of 11m...
tipo="configurable"; $fn=10; radio=40; long_cuerpo=30; cuello_r=11; cuello_h=30; ojos_r=10; theta_ojos=70; phi_ojos=21; brazos_r=10; brazos_h=15; theta_brazos=45; phi_brazos=70; piernas_r=10; piernas_h=30; theta_piernas=160; phi_piernas=90; module alien(radio,long_cuerpo,cuello_r,cuello_h,ojos_r,theta_...
glb/cad_0f770ba17d06.glb
Create a Droid RAZR MAXX stand by starting with a base shape formed from a sphere with a radius of 21mm, scaled by 1.19 in the X-axis, 1.5 in the Y-axis, and 2 in the Z-axis. Flatten the bottom of this shape by removing the lower half using a centered cube of 100mm. Inside this base, create a hollow cavity to hold th...
th = 3; fn = 64; dth = 11; dw = 70; dl = 131; spth = dth+2; spw = 3; spl = 12; sr = 3; scl = 16-sr; scw = 9-sr; sh = 20; scut = 17; sw = scut+th; sl = 60; stand(); module stand() { render() difference() { union() { translate([6,-8,0]) difference() { scale([1.19,1.5,...
glb/cad_18bb8bd30fd0.glb
Create a Droid RAZR MAXX stand by starting with a sphere of radius 18mm, scaled by 1.19 in X, 1.5 in Y, and 1.9 in Z. Flatten the bottom of this shape by removing the lower half of the sphere with a cube. Tilt the overall assembly 30 degrees. Carve a cradle into the top to hold the phone. This cutout consists of a cen...
th = 3; fn = 64; cl = 0.01; dth = 11; dw = 70; dl = 131; spth = dth+2; spw = 3; spl = 12; sr = 3; scl = 16-sr; scw = 0; speakerTubeDepth = -13; usbr = 13/2; usbZoffset = 42; standR = 18; standXScale = 1.19; standYScale = 1.5; standZScale = 1.9; standXOffset = 6; standYOffse...
glb/cad_c22187f40671.glb
Create a custom multiline stencil with a thickness of 1.5mm. The stencil body is a flat plate with rounded corners, formed by the convex hull of the text area. The stencil features three rows of centered text using a stencil-style font with a font size of 30mm. The first row contains "0 1 2", the second row "3 4 5 6"...
text_lines = "0 1 2;3 4 5 6;7 8 9"; line_separator = ";"; fontsize = 30; border = 0; height = 1.5; form = "convex hull"; slanted = 0; lines = split_string(text_lines, line_separator); rectangular = (form == "rectangular"); $fs = 0.1; epsilon = 0.0001; fontwidth = 0.7*fontsize; fontheight = 1.5*fontsize; cornerradiu...
glb/cad_e18a433231f0.glb
Create a servo mount for an auto-bed leveling system. The main body is a rectangular block measuring 55mm in length, 6.35mm in thickness, and 28.5mm in width. At the center of the main body, create a rectangular cutout for the servo measuring 23mm wide and 12.5mm high. On both the left and right sides of this cutout,...
nut_cutouts = true; cord_tie = true; servo_width=23; servo_height=12.5; servo_bolt_size=3; difference() { rotate([90,0,0]) union(){ difference(){ mainblock(); translate([6,0,1]) servo_hole(); translate([-22,0,3.7]) nut_trap(); } } if (nut_cutouts == true){ translate([-11.5,-4.5,4.18]) screw_hole(); transla...
glb/cad_07046755e69a.glb
Create a door hanger for a shoulder pulley by constructing a U-shaped bracket with a central mounting block. Start by creating two parallel rectangular walls, each 35mm wide, 5mm thick, and 55mm tall, spaced 44mm apart to accommodate a door. Connect these walls at the top with a horizontal rectangular cap measuring 35m...
doorThickness = 44; doorGap = 5; hookX = 35; hookZ = 50; hookThickness = 5; widgetDiameter = 16.5; widgetThickness = 7; supportY = widgetDiameter * 1.5; supportX = hookX / 1; supportZ = hookZ / 1.25; $fn = 50; module prism(l, w, h){ polyhedron( ...
glb/cad_78521aa85477.glb
Create a ball-cup rod end consisting of a spherical socket, a conical transition, and a cylindrical rod holder. Start with a spherical cup with an outer diameter of 12.15mm and an inner diameter of 9.75mm. The cup should have a wall thickness of 1.2mm and a rim height of 1.4mm. Create a circular opening at the bottom...
ball_center_to_rod_end = 25; ball_dia = 9.75; ball_cup_wall = 1.2; ball_cup_rim_height = 1.4; ball_cup_bottom_hole = 6.8; cone_tip_to_ball = 4; cone_length = 7; rod_insert_length = 15; rod_outer_dia = 8; rod_inner_dia = 5.9; rod_i...
glb/cad_e06686d71561.glb
Create a parametric motor support bracket consisting of two mirrored L-shaped arms joined at a right angle. Each arm is formed by a vertical plate and a horizontal base, both with a thickness of 3mm. The vertical plate is a rectangle measuring 40mm in height and 20mm in width. Centered in this vertical plate, create a ...
$fa=2; $fs=0.01; H=40; E=3; D=10; d=2; T=4; M=15; module equerre(){ union(){ difference(){ cube([H/2,H,E]); union(){ hull(){ translate([H/2-(E+T/2),E+T+H/10,-E]) cylinder(r=T/2, h=3*E); translate([H/2-(E+T/2),H-E-T-H/10,-E])cylinder(r=T/2, h=3*E); } } } trans...
glb/cad_60b1149dd5b0.glb
Create a Brazo de un Oblobot, which is a robotic arm component. Start by constructing a rectangular arm body with a length of 70mm, a thickness of 7mm, and a width of 18mm. At one end of this body, create a hand section that is 25mm wide and 5mm thick. At the opposite end of the arm, add a male connector pin. This pin...
TIPO_BRAZO="Rectas"; Longitud_Brazo=70; Hombro=18; Mano=25; Tipo_Mano=4; TIPO_UNION="Macho"; Diametro=8; Altura=15; Altura_brazo=7; Altura_brazo_b=2; if(TIPO_BRAZO=="Rectas"){ if(TIPO_UNION=="Hembra"){ arm_union_quadrangle(arm=[Hombro,Altura_brazo,Altura_brazo_b,Longitud_Brazo],hand=[Mano,Altura_brazo-2,2+Ti...
glb/cad_e3c7b3622f07.glb
Create two extruded V-slot aluminum profile models, one 20x20mm and one 40x40mm, both with a length of 50mm. For the 20x20mm profile, start with a square base of 20mm per side with rounded corners (0.5mm radius). Subtract a central circular hole with a diameter of 4.2mm. On each of the four faces, create a V-shaped g...
q = 5; ri = 0.3; w2 = 6.4/2-ri; w1 = 11.0/2-ri; w0 = w2; th = 4.3; t0 = 2.1+1.8+ri; t1 = t0+2.35; t2 = t0+th-ri; module groove() { hull() { translate([ t2+2*ri, w2+2*ri]) circle(r=ri, $fn=2*q); translate([ t2+2*ri+5, w2+2*ri+5]) circle(r=ri, $fn=2*q); translate([ t2+2*ri, 10]) ...
glb/cad_76ef32f9fcff.glb
Create a Simple Seashell by generating a series of concentric rings that spiral outward and rotate. For each step in a sequence from 60 to 450 in increments of 10, create a hollow cylindrical ring. Each ring should have a height of 60 units. The outer radius of the ring starts at the current sequence value, and the inn...
rotate([90,0,180]) scale(.06) for (i = [60:10:450]) { rotate([0, i, 0]) translate([i, 0, 0]) ring(i, i); } module ring(size, angle) { difference() { cylinder(h=60, r1=size, r2=size-15); translate([0,0,-.1]) cylinder(h=60.2, r1=size-50, r2=size-60); } }
glb/cad_33ace93bff86.glb
Create a Kids Weaving Loom consisting of three separate parts: the loom frame, a weaving comb, and a needle. For the loom frame, create a rectangular block 100mm wide, 180mm long, and 20mm high. Hollow out the center by removing a rectangular section 92mm wide and 156mm long, leaving 4mm thick walls. Cut a large circu...
height=20; width=100; length=180; supportThickness=4; supports=0; sideWidth=12; show="all"; yarnInset=15; yarnCount=(width-yarnInset) / 7.9 + 0.5; $fn=90; if (show == "all") { translate([0,40,0]) loom(); translate([0,20,0]) kamm(); nadel(); } else if (show == "loom") { loom(); } else if (show =...
glb/cad_a7c805aba277.glb
Create a Cured Diseases Tray by starting with a solid rectangular base measuring 110mm wide, 43mm high, and 5mm deep. From this base, remove five square holes to hold dice; each hole should be 14.4mm by 14.4mm and 3mm deep. Position these holes in a single row, starting 10mm from the left edge and 10mm from the bottom ...
holes = 5; card_width = 22*holes; card_height = 43; die_size = 13.9; die_buffer = 0.25; depth = 5; hole_size = die_size + (die_buffer * 2); outside_border = 10; buffer = (card_width - (outside_border * 2) - (hole_size * holes)) / (holes-1); $fn = 100; union() { difference() { cube([card_width, card_...
glb/cad_f1ba9f9d275d.glb
Create two identical roof panels for an HO scale factory. Each panel should be a rectangular slab measuring 160mm in length, 60mm in width, and 3mm in height. The top surface of each panel must be textured with a grid of raised slats. Create longitudinal slats by placing 1mm wide, 3mm high rectangular ribs every 20mm a...
X=160;Y=60;H=3; translate([0, Y/2+5,0])Side_Roof(); translate([0,-Y/2-5,0])Side_Roof(); module Side_Roof(){resize([X,Y,H]){ difference(){ Roof(); translate([0,-Y/2,0])rotate([-40,0,0])cube([X+10,Y+1,2], center=true); translate([0,Y/2+1/2,0])rotate([40,0,0])cube([X+10,Y+1,2], center=true); translate([0,0,-H])cube([X+1...
glb/cad_b725e364efff.glb
Create a simple ring support consisting of a circular ring attached to a rectangular bar. First, construct the ring by creating a cylinder with an outer radius of 25mm and a height of 6mm, then remove a concentric inner cylinder with a radius of 20mm and a height slightly greater than 6mm to create a hollow hoop. Attac...
o=25; i=20; h=6; l=100; difference(){ cylinder(h=h,r=o, center=true, $fn=100); cylinder(h=h+1,r=i, center=true, $fn=100); } translate([i+(o-i)/2,-h/2,-h/2])cube([l,h,h]);
glb/cad_079503477a1c.glb
Create a construction toy block with a rectangular base and cylindrical studs on top. The base is a rectangular prism measuring 24.7mm in width, 12.35mm in depth, and 12.5mm in height. On the top surface, place two cylindrical studs. Each stud has a total height of 2mm, consisting of a main cylinder with a radius of ...
tipo_pieza = 1; es_remate = 0; altura = 1; anchura = 2; largura = 1; diametro = 7; numero_tetones = 16; tetones_corte = 3; tipo_corte_1 = 1; tipo_corte_2 = 1; lados_poligono = 3; angulo_esquina = 90; exinio = 12.35; exiniz = 12.5; tetonr = 4.8; tetonz = 2; tetonbr = 0.5; huecox = 2*tetonr; grosorx = (exinio...
glb/cad_f399b40954ac.glb
Create a set of customizable exo finger rings consisting of proximal and distal ring pairs for the thumb, index, middle, ring, and pinky fingers. Each ring is a hollow cylinder with a specific inner diameter and height. The proximal rings are simple rings with two small, oval-shaped cable guide protrusions extending ...
Thumb=1; tDIPd= 24 ; tDRL= 12 ; Index=1; iPIPd= 20 ; iDIPd= 17 ; iPRL= 10 ; iDRL=8; Middle=1; mPIPd= 21 ; mDIPd= 17 ; mPRL= 10 ; mDRL= 8 ; Ring=1; rPIPd= 20 ; rDIPd= 17 ; rPRL= 10 ; rDRL= 8 ; Pinky=1; pPIPd= 18 ; pDIPd= 16 ; pPRL= 8 ; pDRL= 6 ; module ring(InnerRad,Height){ ...
glb/cad_e845698d9d7f.glb
Create a Snap Circuits Replacement Motor Hub. Start with a central cylinder 5.9mm in diameter and 3.5mm in height. On top of this cylinder, place a hemisphere with a diameter of 4.9mm, centered at the top face. Remove a central vertical hole from the entire assembly consisting of a cylinder 2mm in diameter and 3mm in h...
printer_nozzle_od = 0.1; $fn = 90; difference() { union() { for (i = [0 : 120 : 240]) { rotate([0, 0, i]) hull() { translate([0, 0, 1.85]) { cylinder(d1 = 1.5 - printer_nozzle_od, d2 = 1.75 - printer_nozzle_od, h = 1.65); tran...
glb/cad_7c96ac4e3ad9.glb
Create a 3D model of the Cavallino Rampante (Prancing Horse) logo with a uniform thickness of 2mm. The model is a complex silhouette of a horse rearing up on its hind legs, facing right. The horse's form is defined by a detailed organic outline. The head is positioned at the top right, featuring a flowing mane. The fr...
fudge = 0.1; module poly_path2996(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-13.160367,308.527197],[-14.275723,307.222207],[-14.873392,305.906661],[-15.030474,304.280006],[-14.824067,302.041687],[-13.478586,295.790835],[-11.069045,289.976...
glb/cad_a13f5879300d.glb
Create a belt link by constructing a central geometric body and removing specific cylindrical volumes. Start with a main form composed of two cylinders with a radius of 2.5mm and a height of 10mm, positioned so their centers are 5mm apart along the X-axis. Connect these two cylinders with a rectangular block that is 5m...
include <belt_configuration.scad> module cross() { cut_height = belt_height - link_depth_height + link_tolerance; difference() { union() { cylinder(r=belt_thickness / 2, h=belt_height); translate([cross_width - belt_thickness,0,0]) cylinder(r=belt_thickness / 2, h=belt_height); ...
glb/cad_211d1df45b4b.glb
Create a belt buckle accessory by starting with a cross-shaped base. From this cross, remove a cylindrical hole that passes perpendicularly through the center of the shape. The hole should be centered relative to the cross's width and the belt's thickness, with a diameter defined by the hole_diameter variable. Ensure t...
include <belt_configuration.scad> use <cross.scad> module cross_hole() { difference() { cross(); translate([cross_width/2-belt_thickness / 2,-belt_thickness/2-mo,belt_height/2]) rotate([-90,0,0]) cylinder(r=hole_diameter / 2, h=belt_thickness+2*mo); } } cross_hole();
glb/cad_264d68064350.glb
Create a belt accessory consisting of a cross-shaped base with a cylindrical hole passing through it. First, construct a cross by joining two identical rectangular prisms that intersect at their centers at a 90-degree angle. Within this cross, center a vertical cylindrical hole that passes completely through the thickn...
include <belt_configuration.scad> use <cross.scad> module cross_male() { union() { cross(); translate([cross_width/2-belt_thickness / 2,belt_thickness/2-mo,belt_height/2]) rotate([-90,0,0]) cylinder(r=hole_diameter / 2, h=belt_thickness); } } cross_male();
glb/cad_a015c1f663e6.glb
Create a Belt accessory by constructing a rectangular plate with a thickness of 4mm, a width of 24mm, and a height of 60mm. Center a circular hole through the plate, with a diameter of 5mm, passing perpendicularly through the 24mm width.
include <belt_configuration.scad> use <h.scad> module h_hole() { difference() { h(); translate([h_width/2-belt_thickness / 2,-belt_thickness/2-mo,belt_height/2]) rotate([-90,0,0]) cylinder(r=hole_diameter / 2, h=belt_thickness+2*mo); } } h_hole();
glb/cad_be2d13c3d5af.glb
Create a belt link by constructing a main body composed of three joined sections: two cylinders with a radius of 2.5mm and a height of 10mm, positioned so that one is at the origin and the other is offset along the x-axis by 5mm. Connect these two cylinders with a rectangular block measuring 5mm in width, 5mm in depth,...
include <belt_configuration.scad> module end() { difference() { union() { cylinder(r=belt_thickness / 2, h=belt_height); translate([h_width - belt_thickness,0,0]) cylinder(r=belt_thickness / 2, h=belt_height); translate([0, -belt_thickness / 2, 0]) cube([h_width-belt_th...
glb/cad_42fc4dc2fe53.glb
Create a stylized squid model based on a body size of 10mm. Start by creating the main head as a sphere with a 20mm diameter, scaled by 0.8 along the Z-axis. On top of the head, add a conical cap formed by the convex hull of a sphere with a 12mm diameter and a sphere with a 25mm diameter scaled to 0.32 along the Z-axis...
tipo="configurable"; $fn=20; body_size=10; n_leg=7; aperture=-10; l_lenght=10; x_eyes_R=2; y_eyes_R=2; x_eyes_L=-2; y_eyes_L=2; pupila_ratio=2; module squid(body_size,n_leg,aperture,l_lenght, resize_scale, scale_hat1, scale_hat2, e_size, pupila_size,pupila_ratio, x_eyes_R, y_eyes_R, x_eyes_L, y_eyes_L) { ...
glb/cad_7b307ed5a94f.glb
Create a Y-axis motor mount endstop starting with a base rectangular block measuring 31mm in width, 42mm in depth, and 47mm in height, centered at x=-16, y=-1.5, z=0. Carve out the following geometric features: a horizontal cylinder with a radius of 11.5mm and length of 36mm centered at x=-20, y=19.5, z=26; a rectang...
module holder() { difference() { translate([-16,-1.5,0]) cube([31,42,47]); translate([-20,19.5,26]) rotate([0,90,0]) cylinder( h=36, r=11.5, $fn=50 ); translate([-10,20,15]) cube([26,23,22]); translate([-20,6.5,3.5]) cube([26,35,33.5]); translate([10,26,52]) ro...
glb/cad_1ff907be82e8.glb
Create a parametric case for a Raspberry Pi and PiCap LED controller consisting of a bottom tray and a top cover. The bottom tray is a rectangular box with a base of 85mm by 56mm and a wall thickness of 1.2mm. Include four cylindrical mounting pedestals at the corners to secure the PCB, each with a 2.2mm diameter hol...
part = "all"; have_plugrow = 0; have_open_plugrow = 0; have_camera = 0; have_sdcard_support = 1; have_leds = 0; mil2mm = 0.0254; pcb = [85.0, 56.0, 1.5]; pcb2floor = 4.0; pcb2roof = 35.0; pcbmntdia = 2.0; pcbmnt1dx = pcb[0]/2 - 3.5; pcbmnt1dy = 3.5 - pcb[1]/2; pcbmnt2dx = pcb[0]/2 - 3.5 - 58.0; pcbmnt2dy = pcb[1]/2...
glb/cad_10bfafc4b2c9.glb
Create a mount for an impulse sprinkler designed to fit inside a metal U-post. Start by constructing the main body as a hull that encompasses both a cylinder with a radius of 6mm and a height of 175mm, and a centered rectangular prism measuring 4mm by 40mm by 175mm. From this combined volume, remove a cylindrical hole ...
difference() { hull() { cylinder(r=12/2, h=175); translate([-2-15, 0, 175/2]) cube([4, 40, 175], center=true); } translate([0, 0, 25]) rotate([0, 90, 0]) cylinder(r=6.25/2, h=400, center=true); translate([-14.5, 0, 25]) rotate([0, 90, 0]) cylinder(r1=15/2, r2=6.25/2, h=4, center=true); translate([-18, ...
glb/cad_236d1de259bd.glb
Create a Table Saw Insert Plate with an overall length of 343.95mm, a width of 95.25mm, and a thickness of 3mm. The main body is a stadium shape, consisting of a central rectangular section with two semi-circular ends, each with a radius of 47.625mm. Cut a rectangular slot for the saw blade starting 29.75mm from the ...
_width = 95.25; _length = 343.95; _thickness = 3; _blade_front_edge = 29.75; _blade_back_edge = 12; _blade_right_edge = 62.75; module throat_plate(width, length, thickness, blade_front_edge, blade_back_edge, blade_right_edge) { difference() { union() { cylinder(h=thickness,r=width/2, center =...
glb/cad_11ba86176fbd.glb
Create an Aquarium Heater Bracket consisting of a flat rectangular base and four cylindrical mounting posts. Start with a base plate measuring 90mm wide, 180mm long, and 3mm thick. Cut a grid of rectangular slots into the base to reduce material, leaving a structural frame. Construct four identical heater posts. Eac...
baseWidth = 90; baseLen = 180; baseThickness = 3; heaterDiam = 24.5; postHeight = 25; postSpacing = 50; postWidth = heaterDiam*.95; postLen = 10; ringThickness = 3; echo("baseLen", baseLen); module print_post_ring() { translate([postWidth/2, postLen+0.00, postHeight]) { rotate([90, 0, 0]) { difference() ...
glb/cad_d900900bdde9.glb
Create a two-part battery case consisting of a bottom shell and a top cover. For the bottom shell, create a hollow cylinder with an outer radius of 13.7mm and a total height of 76.6mm. The interior should be a hollow cavity with a radius of 10.5mm and a height of 70.5mm, leaving a wall thickness of 3.2mm. The base of...
use <threads.scad> battery_diameter = 21; battery_height = 70.5; part = "both"; $fn = 60; inner_radius = battery_diameter/2; inner_height = battery_height; wall_thickness = 3.2; module battery_solid() { translate([0, 0, wall_thickness]) cylinder(r=inner_radius, h=inner_height); } module shell1() { rad...
glb/cad_388dce6a0672.glb
Create a Parametric Inline Skate Scooter Luggage Wheel consisting of two separate components: a tire and a hub. First, create the tire by generating a torus with an overall diameter of 110mm and a height of 24mm. The cross-section of the tire should be a circle with a radius of 12mm, though the profile should be scal...
use <knurledFinishLib_v2.scad> $fn = 64; GENERATE_TIRE = true; GENERATE_HUB = false; TOLERANCE = 0.15; BEARING_HEIGHT = 7; BEARING_DIAMETER = 22 + TOLERANCE; WHEEL_DIAMETER = 110; WHEEL_HEIGHT = 24; WHEEL_THICKNESS = 8; WHEEL_PROFILE = 0.85; WHEEL_FACTOR = 1.75; module tire(diameter, height, profile) { circle...
glb/cad_687378903acc.glb
Create a bracket for a smart card reader by starting with a solid rectangular block measuring 66mm wide, 35mm high, and 45mm deep. From this block, remove a large rectangular section measuring 66mm by 32mm by 50mm, positioned 8mm from the bottom and 18mm from the side, to create a hollowed-out channel. Additionally, re...
m3_hole = 3.1; m3_head_hole = 7.2; module screw_hole(shaft_diam, head_diam, shaft_height, head_height) { precision = .8; translate(v=[0, 0, shaft_height]) cylinder(h=head_height, r=head_diam/2, $fs=precision); cylinder(h=shaft_height, r=shaft_diam/2, $fs=precision); } module scr335_screw_hole(shaft_height...
glb/cad_6b2f1429fef2.glb
Create a chainsaw-themed geocache container consisting of four main components. First, construct the main body as a 100mm cube with a sphere of radius 30mm centered at [50, 10, 50]. Hollow out the interior of this body by removing a 90mm x 75mm x 96mm block from the center, and create specific openings: a 11mm x 6mm x ...
$fn=50; saege(0); module saege(selector) { if(selector == 1) {koerper();} else if(selector == 2) {schiene();} else if(selector == 3) {griff();} else if(selector == 4) {deckel();} else { koerper(); translate([0,90,0])schiene(); translate([100,50,100])rotate([90,0,180])griff(); translate([3.5,0,5.5])de...
glb/cad_996bac7d4c09.glb
Create a Bluetooth Stereo Receiver housing by combining a rectangular base with a cylindrical top. Start by centering a rectangular prism that is 4mm wide, 10mm deep, and 5.3mm high. On top of this base, centered along the width and depth, place a cylinder with a radius of 2mm and a height of 3.5mm. The cylinder should...
union() { translate([0,0,2.65])cylinder(r=2, h=3.5); cube([4,10,5.3], center = true); }
glb/cad_9c59c3823531.glb
Create a Bluetooth Stereo Receiver housing by combining a rectangular base with a faceted cylindrical top. Start by creating a rectangular prism that is 4mm wide, 10mm deep, and 7.5mm high, centered on the origin. On top of this base, centered along the width and depth, place an octagonal prism with a radius of 2mm and...
union() { translate([0,0,3.75])cylinder(r=2, h=3.5); cube([4,10,7.5], center = true); }
glb/cad_0ee14a29aa4e.glb
Create a Bluetooth Stereo Receiver housing by combining two stacked cylindrical shapes. Start by creating a base cylinder with a radius of 2.25mm and a height of 1.25mm. Centered on top of this base, add a second cylinder with a radius of 1.75mm and a height of 3mm, positioned so its bottom sits at a height of 1.25mm r...
union() { translate([0,0,1.25])cylinder(r=1.75, h=3); cylinder(r=2.25, h=1.25); }
glb/cad_de9da1cd7e22.glb
Create a Bluetooth Stereo Receiver case by starting with a rectangular block measuring 51mm in length, 46mm in width, and 11.5mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 48mm by 43mm by 10mm, positioned 1.5mm from the edges and bottom, leaving a wall thickness of 1.5mm....
union() { difference(){ difference(){ cube([51,46,11.5]); translate([1.5,1.5,1.5])cube([48,43,11.5]); } translate([49.5,12,5])cube([4,8,5]); translate([49,24.5,6])rotate(a=[0,90,0]){cylinder(h=3, r=2);} translate([49,40,6])rotate(a=[0,90,0]){cylinder(h=3, r=2);} translate([4.9,49,5.9])rotate(a=[90,0,0]){cylin...
glb/cad_ad8a97e1a824.glb
Create a Bluetooth Stereo Receiver housing by starting with a rectangular plate measuring 51mm by 46mm with a thickness of 1.5mm. Hollow out the center of this plate by removing a rectangular section of 48mm by 43mm, leaving a consistent wall thickness of 1.5mm around the perimeter. To complete the part, add four small...
mirror([1,0,0])translate([0,0,1.5])rotate(a = [180, 0, 0]) { union() { difference(){ difference(){ cube([51,46,1.5]); translate([1.5,1.5,1.5])cube([48,43,1.5]); } translate([12.8,43,-1.5])cylinder(r=1.5, h=2); translate([48,43,-1.5])cylinder(r=1.5, h=2); translate([3,3,-1.5])cylinder(r=1.5, h=2); translate([48.5...
glb/cad_4eae0e3f3305.glb
Create a Bluetooth Stereo Receiver housing by combining two concentric cylindrical shapes. First, create a wide, low base cylinder with a radius of 3.25mm and a height of 1mm. Centered on top of this base, add a second, narrower cylinder with a radius of 1.5mm and a height of 3mm. Position the narrower cylinder so that...
union() { translate([0,0,1])cylinder(r=1.5, h=3); cylinder(r=3.25, h=1); }
glb/cad_c0dcc684feec.glb
Create a pulley generator for an HTD 5mm pitch belt with 24 teeth. The main body should be a cylinder with a toothed outer profile 15mm in height. Add a belt retainer flange on top and an idler flange on the bottom, both 1.5mm high. At the center, create a vertical hexagonal hole across the flats measuring 12.954mm, f...
E = 0.001*1; teeth = 24; profile = 10; motor_shaft = 5.2; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; shaft_hex = true; shaft_hex_size = 12.954; shaft_hex_chamfer = 1.0; hub_holes = true; hub_holes_circle_dia = 47.625; hub_holes_count=6; hub_holes_dia = 4.4958; hub_hole_min_marg...
glb/cad_8cb16c40220b.glb
Create a selector plate for an MMU2. Start with a base plate that is 15mm wide, 34.5mm long, and 2.2mm thick. At the center of the plate, create a cylindrical protrusion with a diameter of 12mm and a height of 4.5mm. Within this protrusion, carve out a hexagonal hole with a diameter of 9mm and a depth of 8mm, starting ...
$fn = 64; M5 = 9; M6 = 11; tol = 0.5; nut_dia = M5; difference(){ union(){ translate([9,17.5,0]) cylinder(d = 12, h = 4.5); hull(){ cube([15,34.5,2.2]); translate([2,3.8/2,4.4]) cube([15-2,34.5-3.8,0.1]); } } translate([9,17.5,-1]) cylinder(d1 = 6, d2 =2, h = 3); translate([9,17.5,2]) rotate([0,0,90]) cylinde...
glb/cad_c9cb9ab6bb52.glb
Create a SumoBot Servo Wheel Hub Adapter consisting of a circular base and a square central hub. Start by creating a cylindrical base with a diameter of 18mm and a height of 2mm, centered on the origin. On top of this base, place a cube with dimensions 10.1mm x 10.1mm x 10mm. To create the mounting interface, remov...
$fn = 40; SERVO_HEAD_CLEAR = 0.2; FUTABA_3F_SPLINE = [ [6, 4, 1.1, 2.5], [25, 0.3, 0.7, 0.1] ]; module servo_futaba_3f(length, count) { servo_arm(FUTABA_3F_SPLINE, [length, count]); } module servo_standard(length, count) { servo_futaba_3f(length, count); } module servo_head_tooth(length, width, hei...
glb/cad_588e866995f0.glb