Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a timing belt wheel with a total height of 28mm. Start with a central core cylinder that has a diameter of 38.2mm and a height of 3mm, serving as the base flange. Above this base, construct the main toothed section with a height of 26mm and an inner diameter of 38.2mm. Around this inner core, add 27 evenly spa...
$fn = 100; pi = 3.1415927; Zahnradhoehe = 26; Zahnhoehe = 2; Zahnabstand = 5; Zahnbreite = 1.7; Zahnanzahl = 27; Randbreite = 1; Randhoehe = 3; Wellendurchmesser = 8.2; Bohrungstiefe = 14; $Zahnradhoehe = Zahnradhoehe + (2 * Randbreite); AussenUmfang = Zahnanzahl * (Zahnabstand); Aussendurchmesser = Aussen...
glb/cad_c4a9289fe1c3.glb
Create a rectangular customizable mold block with a total width of 96mm, a total height of 42mm, and a total thickness of 20mm. Inside this block, create a centered rectangular cavity that starts 8mm from the bottom. This cavity has a base measuring 72mm by 28mm and extends upwards to a height of 12mm. The walls of t...
labelString = "Dustin"; fast = 1; pourHeight = 35; pourWidth = 90; pourThick = 12; taper = 0.8; labelDepth = 2; labelSmooth = 0.5; fontSize = 15; moldWall = 6; moldWidth = pourWidth + moldWall*2; moldHeight = pourHeight + moldWall*2; floorThick = moldWall + labelDepth; moldThick = pour...
glb/cad_cc1797aa3b14.glb
Create a BeagleBone case base with an outer dimension of 68.5mm width by 98.5mm height and a depth of 20mm. The walls should be 6.5mm thick with a base thickness of 2mm and corners rounded to a 5mm radius. Hollow out the center to create a basin, then cut four rectangular openings through the bottom and side walls: a 1...
wall_thickness=6.5; base_thickness=2.0; bb_depth=20; bb_width=55.5; bb_height=88.5; bb_curve_corner=10; peg_pow_front=16.0; peg_pow_side=3.0; peg_sd_front=6.5; peg_sd_side=6.5; peg_outer_radius=2.8; peg_inner_radius=2.0; module RoundedBB(extra_width,extra_height,depth,curve=bb_curve_corner) { minkowski() { cube(...
glb/cad_58e07cb42b67.glb
Create a BeagleBone case lid by starting with a rounded rectangular slab 61.5mm wide, 94.5mm high, and 2mm thick, with corner radii of 5mm. Hollow out the center of this slab to create a wall thickness of 6.5mm. Integrated into the top of this lid, add a battery holder. This holder is a rectangular block 37mm wide, 6...
wall_thickness=6.5; base_thickness=2.0; bb_depth=20; bb_width=55.5; bb_height=88.5; bb_curve_corner=10; bb_lid_thickness=2; bb_lid_depth=2.5; bb_lid_shrink=0.05; corner_size=12; bat_width=32; bat_height=64; bat_depth=8; bat_wall=5.0; bat_ceil=2.0; module RoundedBB(extra_width,extra_height,depth,curve=bb_curve_corne...
glb/cad_e0a7505e4e0d.glb
Create a customizable cookie cutter based on a 2D star-shaped polygon defined by the points (-30, 30), (0, 15), (30, 30), (15, 0), (30, -30), (0, -15), (-30, -30), and (-15, 0). The total height of the cutter is 15mm. Start by creating a base lip at the top that is 2mm deep and extends 3mm outward from the main wall ...
shape = [[[-30,30],[0,15],[30,30],[15,0],[30,-30],[0,-15],[-30,-30],[-15,0]],[[0,1,2,3,4,5,6,7]] ]; source = "drawing"; shape_file = ""; scale = 1.0; smooth = 0.0; height = 15; $fn=60; module cookie_cutter(h=10) { difference() { union() { linear_extrude(height=2, convexity=10) ...
glb/cad_cadbd4e1a8b5.glb
Create a Hand-Weaving Straight Shuttle with a total length of 127mm, a width of 12mm, and a height of 3mm. The main body is a flat rectangular prism, but both ends taper symmetrically toward the tips. Each tip should have a width of 3mm. On the top face of the shuttle, create a centered longitudinal notch that is 31.7...
use <utils/build_plate.scad>; shuttle_length = 127; shuttle_width = 12; shuttle_height = 3; notch_length = 31.75; notch_width = 3; tip_width = 3; etch_text = "5 in"; rounding = 0; text_height = 0; etch_depth = 1; pad_height = 0; cut_pad_corners = 0; rotate_model = 0; build_plate_preview = -1; eps = 0.001; ...
glb/cad_f9200413baee.glb
Create a customizable coffee stencil consisting of a thin circular disk and a handle. Start by creating a main circular plate with a radius of 40mm and a thickness of 1mm. Attached to the side of this disk, create a handle shaped like a rounded tab. The handle is formed by the area between two concentric ellipses; th...
filename = ""; radius = 40; height = 3; thickness = 1; function turtle(x, y, angle) = [[x, y], angle]; function forward(turtle, length) = turtle( turtle[0][0] + length * cos(turtle[1]), turtle[0][1] + length * sin(turtle[1]), turtle[1] ); function set_point(turtle, point) = [point, tu...
glb/cad_8fde3d78a0d8.glb
Create a longboard wedged riser by starting with a right-triangular prism. The prism should have a length of 95mm, a width of 12mm, and a height that tapers from 12mm down to 0mm along its length. From this main body, remove several geometric sections to create mounting holes and slots. First, drill eight circular hole...
translate([40,0,2.5]) rotate([0,0,60]) cube([55,5,5], center=true); translate([40,0,2.5]) rotate([0,0,-60]) cube([55,5,5], center=true); difference() { rotate([-90,270,0]) { linear_extrude(height = 56, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[12,0],[0,95]]); } translate([10,20.5,-2]) cy...
glb/cad_a2b2795b1073.glb
Create a Parametric Stepper Bracket for mounting a NEMA 17 motor to a 20mm extrusion. Start with a main body that is 80mm wide. The base is a rectangular block with a height of 25mm (calculated from a 20mm profile plus 5mm wall thickness). Centered within this width, create a cutout for the NEMA 17 motor mount, which...
bracketWidth = 80; distanceToMotorCenter = 30; profileSize=20; sectionCountWidth = 2; sectionCountDepth = 1; indentWidthOutside = 9; indentWidthInside = 7; vslotIndentHeight = 1; boltHeadDiameter = 10; boltThreadDiameter = 5; wallWidth=5; tolerance=0.7; screwHeight = 6; tolerance=0.7; oversize = 0.7; lengt...
glb/cad_b78964d51d14.glb
Create a rod alarm battery box designed to hold a single AA cell. Start with a main body consisting of a central block 26mm long, 15mm wide, and 10mm high. Add two vertical end plates, each 2mm thick, positioned at the far left and right edges of the main body; these plates should be 20mm high and 15mm wide. On the to...
Cell_Count = 1; length=10; width=15; module edge(radius, height) { difference() { translate([radius/2-0.5, radius/2-0.5, 0]) cube([radius+1, radius+1, height], center = true); translate([radius, radius, 0]) cylinder(h = height+1, r1 = radius, r2 = radius, center = true, $fn = 100); } } module battery_bo...
glb/cad_0c2ea7b7f0bf.glb
Create a rod alarm hook by constructing a flat geometric assembly with a uniform thickness of 0.8mm. Start with a central rectangular strip that is 3mm wide and 70mm long, centered on the origin. At one end of this strip, centered at the position [0, -30, 0], add a rectangular base measuring 9mm by 12mm. At the opposit...
thickness=0.8; clipthick=6; gap=clipthick; union (){ cube([3,70,thickness], center= true); translate ([0,39,0]) difference(){ cylinder( h=thickness, r1=clipthick, r2=clipthick, center=true); cylinder( h=thickness, r1=3.75, r2=3.75, center=true); rotate([0,0,110]) translate ([0,4.5,0 ]) cube...
glb/cad_7bc1137bbdf3.glb
Create a switch corner mount for aluminum extrusions by constructing three connected square plates, each measuring 20mm by 20mm with a thickness of 5mm. Arrange these plates in an L-shape: place the first plate flat on the XY plane, attach the second plate adjacent to it along the X-axis, and attach the third plate adj...
$fn = 60; switch = 12.5; screw = 5.5; extrusion = 20; thickness = 5; side = 3; difference() { cube([extrusion,extrusion,thickness]); translate([extrusion/2, extrusion/2, 0]) cylinder(r = switch/2, h = thickness); } translate([extrusion,0,0]) { difference() { cube([extrusion,extrusion,thic...
glb/cad_3c211b575b41.glb
Create an angled rig-mount for a Raspberry Pi 7" screen. Start by constructing a base platform that is 84.75mm wide, 126mm deep, and 7.5mm thick. At the front and back edges of this base, add two rectangular extensions that are 10mm wide, 5mm deep, and 7.5mm thick. Add four vertical support pillars at the corners of t...
Right = 1; Left = 0; Angle = 45; A_x = 84.75; A_y = 22.5; A_z = 7.5; SecondArm_y = 126; E_x = 10; E_y = 5; E_z = 7.5; S_x = 10; S_y = 10; S_z = 40; Hx_x = A_x; Hx_y = S_y; Hx_z = 10; Hy_x = E_x; Hy_y = SecondArm_y-A_y-2*E_y; Hy_z = 5; S1_x = 9.25; S2_x = A_x-S1_x; S1_y = 11.25; S2_y = SecondArm_y+S1_y; Sx = 8.5; S...
glb/cad_e206c3782d40.glb
Create an optical cage mount by starting with a central rectangular block measuring 41mm x 41mm x 15mm. Remove a large central cylinder with a radius of 15.5mm and a height of 15mm to create a through-hole for a lens. At the four corners of the block, centered 15mm from the middle of the block in both X and Y directi...
L_r = 15.5; S_r = 2; L_x = 41; L_y = 41; L_z = 15; Rods = 15; R_r = 3.125; s_r = 1.25; module Base_pos(){ cube ([L_x,L_y,L_z], center=true); } module Base_neg(){ translate([0,0,-L_z/2]){cylinder ($fn=500, r=L_r, h=L_z);} translate([-Rods,-Rods,-L_z/2]){cylinder ($fn=100, r=R_r, h=L_z);} translate([...
glb/cad_5c099a105994.glb
Create a heat exchanger consisting of ten stacked sections. Each section is a rounded rectangular block with a width of 50mm, a length of 100mm, and a thickness of 8mm, with a wall thickness of 1mm. Within each section, create a central hollow chamber. At the two ends of the length, integrate cylindrical pipe connect...
pd=10; pt=3; width=50; length=100; thickness=8; wall=1; number=10; pipe_connected=1; camera_ribs=3; difference(){ heat_exchager(); translate([0,0,15])cube([width/2,length,70]); } module heat_exchager(){ for (i=[0:number-1]) translate([0,0,(thickness-wall)*i]) section(i%2,i==number-1?thickness/2:i==number-2?((...
glb/cad_8d4a3ef2631e.glb
Create a camera mount consisting of a base plate and an angled supporting back. Start with a base plate 3mm thick. On this base, position four screw holes with a diameter of 3.2mm. Two front holes are spaced 30mm apart (center-to-center) and two rear holes are spaced 36mm apart (center-to-center), with a longitudinal d...
camera_depth = 20.2; back_height = 30; front_cc = 30; rear_cc = 36; front_rear_cc = 49.5; angle = 30; base_thickness = 3; hole_size = 3.2; edge_margin = 3; screw_head_size = 6; front_offset = 0; use_lip = "No"; velcro_width = 18; velcro_thickness = 3; added_height = 0; hole_clearence = edge_margin+hole_s...
glb/cad_9de49c68efdd.glb
Create a Hexagon Hotend Fanduct designed for a 40mm fan. Start by constructing a hexagonal prism with a diameter of 19mm and a height of 22.4mm. On top of this hexagon, add a cylindrical mount with a diameter of 16.4mm and a height of 14mm, using a 50-facet resolution for smoothness. Extend the body into a fan housing...
use<Hexagon-102.scad>; ColdEnd_dia=19; ColdEnd_hei=22.4; Mount_dia=16.4; Mount_hei=14; union(){ difference(){ Fix(); Tete(); } translate([ColdEnd_dia-1,0,ColdEnd_hei/2+0.5])rotate([0,0,180])Guide(); translate([39,0,6.75])rotate([0,90,0])Fan_Mount(); } module Fan_Mount(){ difference(){ rotate([0,90,0])cube([2,40,40],...
glb/cad_c622be7ed319.glb
Create a magnetic storage box for the Bang! card game. The box consists of a bottom base and a matching top lid. Construct the bottom base as a rectangular block with an overall width of 182.4mm, a depth of 91.4mm, and a height of 59.4mm. The interior is hollowed out to create a large open compartment, leaving walls ...
Wall = 1.2; Space = 2; Card_x = 87 + Space; Card_y = 57 + Space; Card_z = 0.3; Card_Fistful = 15; Card_Fistful_z = (Card_Fistful * Card_z) + Space; Card_WildWest = 10; Card_WildWest_z = (Card_WildWest * Card_z) + Space; Card_HighNoon = 15; Card_HighNoon_z = (Card_HighNoon * Card_z) + Space; Card_GoldRush = 24; Card_G...
glb/cad_c2253d01b3ae.glb
Create a foot damper for a printer by constructing a composite geometric shape with a total height of 22mm. Start by defining a base profile that consists of two 10mm radius circles centered at (10, 10) and (10, 30), connected by a 10mm wide by 40mm long rectangle and two 20mm square blocks positioned at the outer edge...
union(){ translate([0,0,-3])linear_extrude(3){offset(3){Pied(); }} translate([0,0,16])linear_extrude(3){offset(3){Pied(); }} difference(){ linear_extrude(16){difference(){ offset(3){Pied(); } Pied(); } } translate([14,0,0])cube([10,40,16]); } } module Pied() intersection(){ square([15,40]); union(){ translate([...
glb/cad_0bf68d79e96c.glb
Create a stepper motor alignment tool consisting of two stacked cylindrical sections. First, create a base cylinder with a radius of 14mm and a height of 4mm, centered on the origin. Remove a smaller concentric cylinder from the center of this base with a radius of 2.7mm and a height of 4mm to create a central hole. Ne...
difference(){ cylinder(2,14,14, center=true,$fn=100); cylinder(2,2.7,2.7, center=true,$fn=100); } translate([0,0,2])difference(){ cylinder(2,12,12, center=true,$fn=100); cylinder(2,10.8,10.8,center=true,$fn=100); }
glb/cad_9b797a004a55.glb
Create a lead screw cover with an alignment gauge by constructing a central body and removing specific internal and external volumes. Start with a primary cylinder 20mm in diameter and 10mm high. On top of this, add a second cylinder that transitions from a 20mm diameter at the base to a 13mm diameter at a height of 5m...
use <threads.scad> threads = 2; test = false; module screw() { thrs = 2; translate([0,0,-2]) metric_thread(diameter=8.2, thread_size=thrs, rectangle=2/thrs, pitch=2, n_starts=threads, length=19, internal=true); } module grooves() { union() { for (i = [0:45:315]) { ...
glb/cad_5240ee4b77d0.glb
Create a filament guide consisting of a rectangular base with an integrated circular loop. The main body is a rectangular block measuring 45mm in length, 10mm in width, and 10mm in height. Centered along the top length of this block, carve a longitudinal channel that is 6mm wide and 2mm deep, running from one end to th...
module top_left() { union() { translate( [ -4, 0, 10.5 ] ) cube( [42, 2, 11], true ); translate( [ -4, 4, 17 ] ) cube( [42, 10, 2], true ); translate( [ 0, 4, 0 ] ) cube( [50, 10, 10], true ); translate( [ 0, 12, 11 ] ) cube( [50, 10, 14], true ); } } difference() { union() { translate( [-4,3....
glb/cad_46e54be38764.glb
Create a refrigerator shelf holder. The main body is a hollowed-out frame with a height of 74mm. The overall footprint is based on a rectangular profile with rounded corners, where the side-to-side width is 205mm. The structure features a thick outer wall and a thinner inner wall, creating a channel. The base is a fl...
$fn=50; difference() { kuehlschrankhalter() ; translate([44,-125,44+30]) rotate([0,45,0]) cube([150,250,100]); } module kuehlschrankhalter() { r1 = 20; r2 = 2; r3 = 50-20; d = 120-20; h = 44+30; ss = 204+1; b = 3; is = 20; ie = 31; id = 6; ih = 34+30; ir = 2; ...
glb/cad_afe910553f08.glb
Create a Stackable Cornelius Keg Stand by constructing a thick, hollow cylindrical ring. The main body is a cylinder with an outer radius of 117mm and a total height of 85mm. Carve out the center of this cylinder to create a tiered profile. First, remove a central cylinder with a radius of 81mm that extends through t...
indent_height = 25; rubber_outside_radius = 218/2; rubber_inside_radius = 178/2; rubber_inside_radius_bot = 163/2; standoff_height = 35; wall_size = 8; actual_build_width = 140; build_width = actual_build_width + ((rubber_outside_radius+wall_size+25)/2); difference() { translate([0,-100,0]) difference() { ...
glb/cad_4f2420e25062.glb
Create a AAA to AA battery adapter consisting of two separate parts. First, create a hollow main body as a cylinder with an outer diameter of 14mm and a height of 48.5mm. Remove a central cylindrical core with a diameter of 10.6mm and a height of 50.5mm, positioned so that it cuts through the bottom and extends slightl...
$fn = 100; mainBody(); translate([-15,0,0]) { negativeTerminalExtenderCap(); } module mainBody() { difference() { cylinder(h=48.5, d=14); translate([0,0,-1]) { cylinder(h=50.5, d=10.6); } } } module negativeTerminalExtenderCap() { difference() { ...
glb/cad_bfa10e008c5c.glb
Create a k8200 enclosure part by starting with a base block that combines a 20mm by 30mm by 4mm rectangular slab with a 20mm by 5mm by 10mm rectangular block attached at the origin. From this combined volume, remove nine vertical cylindrical holes, each with a radius of 2mm and a height of 10mm. Position these holes at...
difference(){ union(){ cube([20,30,4]); cube([20,5,10]); } union(){ translate([5,10,0]) cylinder(h=10, r=2); translate([5,15,0]) cylinder(h=10, r=2); translate([10,20,0]) cylinder(h=10, r=2); translate([10,10,0]) cylinder(h=10, r=2); translate([10,15,0]) cylinder(h=10, r=2); translate([5,20,0]) cylinder(h=10, r=2); tr...
glb/cad_bdf7f3589a32.glb
Create a k8200 enclosure part by combining two rectangular blocks. First, form a base block measuring 50mm in length, 15mm in width, and 10mm in height. Attached to this base, place a second vertical block measuring 25mm in length, 15mm in width, and 33mm in height, positioned so its inner edge starts 12.5mm from the b...
difference(){union(){ translate([12.5,0,0]) cube([25,15,33]); cube([50,15,10]);}{ union(){ translate([16,0,0]) cube([18,15,25]); translate([7,7.5,0]) cylinder(h=33, r=2); translate([25,7.5,0]) cylinder(h=33, r=2); translate([43,7.5,0]) cylinder(h=33, r=2); }}}
glb/cad_1a84f8849126.glb
Create a k8200 enclosure part by starting with a base shape formed from the union of two rectangular blocks: one measuring 50mm by 15mm by 5mm, and another measuring 25mm by 15mm by 15mm positioned at coordinates 12.5, 0, 0. From this combined volume, remove a rectangular section measuring 18mm by 15mm by 10mm located ...
difference(){union(){ translate([12.5,0,0]) cube([25,15,15]); cube([50,15,5]);}{ union(){ translate([16,0,0]) cube([18,15,10]); translate([7,7.5,0]) cylinder(h=33, r=2); translate([25,7.5,0]) cylinder(h=33, r=2); translate([43,7.5,0]) cylinder(h=33, r=2); }}}
glb/cad_10538c0f43e5.glb
Create a k8200 enclosure part consisting of a central vertical rectangular pillar and a smaller base block. The main pillar is a rectangular prism 27mm wide, 12mm deep, and 120mm tall. At the bottom of this pillar, merge a centered cube measuring 34mm on all sides. From this combined mass, remove a series of centered r...
difference(){union(){ difference(){{union(){ translate([-10,-6,0]) cube([27,12,120]); translate([0,0,2]) cube([34,34,34],center=true); }}{ difference(){union(){ cube([28,28,30], center=true); cube([11,11,30],center=true); cube([23,23,30], center=true); cube([25,25,30],center=true); cube([17,17,30],center=true); }union...
glb/cad_6ec8305b9bdc.glb
Create a k8200 enclosure consisting of a rectangular base with walls. Start with a solid base plate measuring 130mm in length, 60mm in width, and 4mm in height. Build vertical walls around the perimeter: two long walls 122mm long and 15mm high, and two short walls 15mm wide and 25mm high. Position the short walls at th...
difference(){union(){ cube([130,60,4]); translate([4,0,0]) cube([122,56,5]); translate([4,0,0]) cube([5,15,25]); translate([4,51,0]) cube([122,5,15]); translate([121,0,0]) cube([5,15,25]); translate([121,41,0]) cube([5,15,25]); translate([4,0,0]) cube([5,56,15]); translate([121,0,0]) cube([5,56,15]); translate([4,51,0]...
glb/cad_655047dbfb7c.glb
Create an Arduino-JAB electronics enclosure with external dimensions of 72mm in width, 131.5mm in length, and 42.5mm in height. The main body is a hollow rectangular box. On the top face, create three small circular holes for LEDs and one larger square cutout for a USB connector. Additionally, include a circular hole o...
difference(){ rotate([90,0,0])difference(){ cube([10,10,15]); rotate([0,0,45])cube([20,20,20]); } translate([9,-13.5,2])rotate([0,-90,0])cube([8,12,8]); translate([5.5,-7.3,-1])cylinder(5,d=5,d=5,$fn=30); }
glb/cad_c2a5fd6a3cb6.glb
Create a rectangular lid for an electronics enclosure with overall dimensions of 72mm by 136mm and a thickness of 3mm. The four corners of the lid must be rounded with a radius of 5mm. Pierce the lid with six vertical cylindrical holes, each 2.7mm in diameter, to accommodate machine screws. Position these holes symme...
$fn=64; lid (72,136,3,5); module lid(xdim ,ydim ,zdim,rdim){ difference(){ hull(){ translate([rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,ydim-rdim,0])cylinder(h=zd...
glb/cad_8c5551833b0c.glb
Create a 75mm lens holder consisting of a square base with a semi-circular cutout to cradle a lens. Start with a solid cube measuring 81.4mm wide by 75.4mm deep by 8mm high. From the center of the top face, remove a semi-cylindrical volume to create the lens seat. This cutout consists of two concentric cylindrical bo...
diam = 75.4; lrdiam = 70.3; thick = 4.55; lh = 20; eps=0.05*1; $fa=5*1; $fs=0.2*1; rotate([90,0,0]) lensbracket(diam, thick, lh); wthick = 3; module lensbracket(d, t, lh) { translate([0,0,1]) scale([1,1,1]) difference() { union() { translate([-d/2-wthick,-(d/2)-wthick,2]) cube([d+(wthick*2),...
glb/cad_c6128413f507.glb
Create a stepper driver case with outer dimensions of 93mm length, 71mm width, and 24mm height. The case is a hollow box with 3mm thick walls. Remove the back wall entirely, leaving only the bottom and side walls. On the bottom face, create a rectangular cutout measuring 80mm by 10.5mm, with an additional extension for...
$fn = 100; PCBWidth = 65.5; PCBLength = 86; OrigWallThickness = 1.5; OrigBoxWidth = 71; OrigBoxLength = 93; OrigBoxHeight = 21; WallThickness = 3; DeltaWallThickness = WallThickness-OrigWallThickness; BoxWidth = 71 + DeltaWallThickness; BoxLength = 93; BoxHeight = OrigBoxHeight + DeltaWallThickness; MntHoleRecessDi...
glb/cad_105da50e8cb1.glb
Create a Hand-Weaving Curved Shuttle with a total length of 127mm, a width of 18mm, and a height of 3.5mm. The main body is a flat, elongated slab with rounded ends. At each end of the shuttle, create a symmetrical notch that is 31.75mm long and 5.5mm wide. These notches should be centered along the length and carved...
use <utils/build_plate.scad>; shuttle_length = 127; shuttle_width = 18; shuttle_height = 3.5; notch_length = 31.75; notch_width = 5.5; tip_gap = 3; etch_text = "5 in"; rounding = 0; text_height = 0; etch_depth = 1; tip_scaling = 0.75; pad_height = 0; cut_pad_corners = 0; rotate_model = 0; build_plate_preview...
glb/cad_84be4d2328de.glb
Create a ventilo fan model starting with a circular base 160mm in diameter and 4mm thick. Centered on this base, add a central cylinder 30mm in diameter and 30mm high. Bore an octagonal hole through the center of the entire assembly, starting from the top of the base, with a diameter of 17mm. Radiating from the centra...
Diametre_base = 160; Hauteur_base =4; Diametre_cylindre_central=30; Hauteur_cylindre_central=30; Diametre_trou_cylindre_central=17; Nbr_faces_trou_cylindre_central=8; Longueur_pale=110; Arrondi_pale=6; Epaisseur_pale=3; Hauteur_pale=10; Hauteur_helice=20; Decallage_helice=15; Longueur_helice=25; Nombre_de_pale=11; Sure...
glb/cad_6942a2044d5b.glb
Create a two-part protective box case for a Raspberry Pi PCB with internal dimensions of 86mm by 57mm. The case consists of a bottom shell and a top cover. Construct the bottom shell as a hollow rectangular box with a wall thickness of 2mm and rounded corners with a 4mm radius. The interior should feature several supp...
use<write.scad> DRAWfull = 0; DRAWtop = 1; DRAWbottom = 1; DRAWtopinlet = 0; DRAWbottominlet = 0; DRAWpcb = 0; GPIOHOLE = 2; GPIOsize = 12; topframe = false; topinlet = false; topholes = false; holeofs=5; holesiz=2.5; holestep=6; noholes=12; holelen=30; holeangl...
glb/cad_456cc0086601.glb
Create a booby trap trip wire attachment by starting with a rectangular block that is 40mm wide, 50mm long, and 10mm thick. Position the block so its center is aligned with the coordinate system. Drill two identical vertical holes completely through the block, each with a radius of 5mm. The first hole should be centere...
$fn = 30; difference() { translate([5,0,0]) cube([40,50,10]); translate([25,8,-1])cylinder(r=5,12); translate([25,43,-1]) cylinder(r=5,12); }
glb/cad_0ec3cc191fce.glb
Create a Phone GoPro clamp consisting of two symmetrical clamping halves that slide together to hold a device. For each half, create a main body with a width of 50mm and a minimum internal clamp height of 67mm. The inner profile of the clamp should be a semi-circular cutout with a diameter of 9mm to accommodate the e...
part = "assembly"; $fn = 50; goproConnector = "triple"; edgeDiameter = 9; clampWidth = 50; minClampHeight = 67; clampRange = 20; clampSides = 0; thickness = 2.5; springWireDiameter = 3; lockSpringWireDiameter = 1.5; springBoxSquareDimension = 12; tubeTolerance = 1.2; __minClampDim = minClampHeight - edgeDi...
glb/cad_7668036545e4.glb
Create an Involute Filament Guide by generating a 3D solid of revolution. Start with a 2D profile based on an involute curve. The profile begins at a central point and curves outward to create a funnel shape. The central hole of the resulting object must have a diameter of 20mm. The curve of the profile is defined by a...
function involuteCartesian(radius, theta) = [ radius * ( cos(theta) + theta/180*3.14159 * sin(theta) ) , radius * ( sin(theta) - theta/180*3.14159 * cos(theta) ) ] ; module involuteBell( holeD = 2, involuteR = 40, maxTheta = 45, thetaStep = 5, thickness = 2 ) { module involuteChord(...
glb/cad_8cd1de1dc48f.glb
Create an Involute Filament Guide designed to clip onto a 9.25mm diameter dowel. Start by constructing a circular clip with an outer diameter of 12.25mm and a thickness of 1.5mm. The clip should be a hollow ring with a 9.25mm inner diameter. To allow the clip to snap onto the dowel, remove a 45-degree wedge section fro...
use <InvoluteBell.scad> clipThick = 1.5; dowelD = 9.25; clipOuterD = dowelD + 2 * clipThick; noduled = 1; nodules = 12; bellThick = 1; bellRad = 40; bellMax = 45; smallBellMax = 30; bellHole = 2.5; bellStep = 5; module clip() { difference() { union() { difference() { cylinde...
glb/cad_e607284966f7.glb
Create a heat exchanger consisting of six stacked sections. Each section is a rounded rectangular block with a width of 25mm, a length of 100mm, and a thickness of 8mm, with a wall thickness of 1mm. Within each section, create a hollow internal chamber. Run a pipe with an outer diameter of 12mm and an inner diameter o...
pd=8; pt=2; width=50; length=100; thickness=8; wall=1; number=6; pipe_connected=1; camera_ribs=3; difference(){ heat_exchager(); translate([0,10,-thickness*2.5])cube([width/2,length-20,70]); } module arrow(cl){ if (number==6) translate([0,0,20]){ cylinder(d=pd,h=pd*2); translate([0,0,pd*2])cyl...
glb/cad_747b3e612878.glb
Create a Spider coupling with Sugru insert mold consisting of two main components: a central mold block and a supporting base. First, create the main mold body as a cube measuring 26mm x 26mm x 7mm. From the center of this cube, remove a "spider" or "star" shaped volume. This negative space is formed by the intersect...
include <jonaskuehling-default.scad> facets3mmhole=24; facetsSmallRadii=24; module radius(radius,length,axis) { if(axis=="X") { rotate(90,[1,0,0]) rotate(90,[0,1,0]) translate([0,0,-0.1]) linear_extrude(height = length+0.2, center = false, convexity = 4, twist = 0) difference() ...
glb/cad_68910e6e9c1c.glb
Create a VR lens holder for a mobile phone. The device is centered around an inter-pupillary distance (IPD) of 65mm. Construct two symmetrical lens housings. Each housing is based on a cylinder with a diameter of 37mm and a thickness of 3.3mm. Create a circular cutout within each cylinder with a radius of 17.5mm to h...
IPD = 65; lensSize1 = 37; lensSize2 = 37; visorWidth = 149; slotWidth = 10; lensThickness = 3.3; $fn=240; lensLip = 1; mountStart = (IPD+(lensSize1 + lensSize2)/2)/2 + 4; mountMid = (visorWidth/2-mountStart)/2 + mountStart; tolerance=0.3; phonex=147.5+tolerance; phoney=7.9+tolerance; phonez=72.6+tolerance; frame_widt...
glb/cad_e265749ba007.glb
Create a Right Wall for a Click Box organizer. The wall is a flat rectangular plate with a thickness of 0.8mm. The overall dimensions of the wall are based on a drawer size of 100mm width, 100mm length, and 50mm height. The wall's main body is a hull created from four cylinders, each with a diameter of 8mm and a heigh...
$fn=30; Element="Right Wall"; Number=1; drawer_x=100; drawer_y=100; drawer_z=50; drawer_t=0.8; shelf_z=10; plug_w=8; plug_t=1.2; shelf_ledge=5; cornerradius=3; adjustment=0.5; diffcorr=0.2; for (i=[0:Number-1]) { if (Element=="Example") {example();} else if (Element=="Drawer1") {drawer(1);} els...
glb/cad_32c5f0bd7076.glb
Create an EBS-Update electronics module consisting of a switch and an LED. First, construct the switch component. Start with a base block 14mm wide, 10mm deep, and 10mm high. Hollow out the center with a smaller block 11mm wide, 7mm deep, and 12mm high. Remove a smaller rectangular section 2mm wide, 6mm deep, and 12m...
$fn=100; Vx=0; Vy=0; Vz=0; Vr=2; Vw="Wert"; Schalter(0,0,0,""); LED(30,0,0,""); module Poti(Vx,Vy,Vz,Vw) { Leer(Vx,Vy,Vz,""); Kx1(Vx,Vy,Vz); Kx2(Vx,Vy,Vz); Ky1(Vx,Vy,Vz); Ky2(Vx,Vy,Vz); difference() { translate([Vx,Vy,Vz+8],center=false) { cylinder(h=15,r=9,center=true); } translate([Vx,Vy,Vz+3],center=false) ...
glb/cad_69e0a82ca0a1.glb
Create a Blum Hinge Spacer by starting with a rectangular base that is 51mm long, 15mm wide, and 2mm thick. Round the four corners of this base with a radius of 3mm. Centered along the length of the base, create two circular holes, each with a diameter of 5.6mm. These holes should be positioned 9.5mm from each end of t...
$fn=50; thickness=2; difference(){ minkowski() { cube([51-6,15-6,thickness/2],true); cylinder(thickness/2,3,3,true); } union() { translate([-(51/2-9.5),0,0]) hull() {translate([-3,0,0]) cylinder(10,2.8,2.8,true); translate([3,0,0]) cylinder(10,2.8,2.8,true);} translate([5...
glb/cad_864919d94b5b.glb
Create a quadcopter base plate by constructing a solid shape from the intersection of a cube with a side length of 120mm and a cylinder with a radius of 70mm and a height of 50mm, both centered on the Z-axis. Rotate this combined volume 45 degrees around the Z-axis. From this solid, remove a smaller internal volume cre...
include <MCAD/nuts_and_bolts.scad> module baseplate(hx) { rotate([0,0,45]) intersection() { translate([-60,-60,0]) cube([120,120,hx]); cylinder(r=70,h=hx,$fn=72); sphere(r=70,$fn=36); } } module baseplate2(hx,dx) { rotate([0,0,45]) intersection() { translate([-60+dx,-60+dx,...
glb/cad_fe4b1d8d9bd6.glb
Create a quadcopter motor mount and stand assembly. Start by creating a motor holder: a cube 40mm wide, 40mm deep, and 10mm high, rotated 45 degrees on the Z-axis. From this holder, remove a central vertical cylinder with a 3mm radius and four peripheral cylinders with a 13mm radius positioned 25mm from the center alon...
include <MCAD/nuts_and_bolts.scad> dx = 10.5; dy = 15; holes = 1.6; module motorholder() { rotate([0,0,45])difference() { rotate([0,0,45])translate([-20,-20,0])cube([40,40,10]); translate([-16.5,0,-0.5])cylinder(r=holes,h=60,$fn=32); translate([+16.5,0,-0.5])cylinder(r=holes,h=60,$fn=32); ...
glb/cad_35efd5645d95.glb
Create a Quadcopter V2 frame consisting of a central base plate and four radiating arms. Start with a circular base plate 140mm in diameter and 3mm thick. Construct two intersecting rectangular beams, each 160mm long, 10.5mm wide, and 15mm high, centered on the plate to form a cross. From this central structure, exte...
include <MCAD/nuts_and_bolts.scad> dix = 3; module cross() { dx = 10.5; dy = 15; up = 2; translate([-80,-dx/2,+up]) cube([160,dx,dy]); rotate([0,0,90])translate([-80,-dx/2,+up]) cube([160,dx,dy]); } module baseplate() { difference() { intersection() { transla...
glb/cad_ea6445d79e19.glb
Create a motor mount for a quadcopter. Start by constructing a base plate that is a 40mm by 40mm square with a thickness of 2mm, rotated 45 degrees on the Z-axis. From this plate, remove a central vertical cylinder with a radius of 3.5mm and four smaller vertical cylinders with a radius of 1.8mm. These four holes are p...
include <MCAD/nuts_and_bolts.scad> dx = 10.5; dy = 15; holes = 1.8; module motorholder() { rotate([0,0,45])difference() { rotate([0,0,45])translate([-20,-20,0])cube([40,40,2]); translate([-16.5,0,-0.5])cylinder(r=holes,h=60,$fn=32); translate([+16.5,0,-0.5])cylinder(r=holes,h=60,$fn=32); ...
glb/cad_170eb094af64.glb
Create a quadcopter motor mount and stand holder. Start with a motor holder block that is a 40mm cube rotated 45 degrees on the Z-axis, with a height of 10mm. Remove a central cylinder with a radius of 3mm and four peripheral cylinders with a radius of 13mm centered at coordinates (0, 25), (0, -25), (25, 0), and (-25, ...
include <MCAD/nuts_and_bolts.scad> dx = 10; dy = 15; hholes = 1.7; vholes = 1.6; module motorholder() { rotate([0,0,45])difference() { rotate([0,0,45])translate([-20,-20,0])cube([40,40,10]); translate([-16.5,0,-0.5])cylinder(r=hholes,h=60,$fn=32); translate([+16.5,0,-0.5])cylinder(r=hholes...
glb/cad_f447dbd93d39.glb
Create a refrigerator cheese box holder with a total length of 289mm, a width of 16.9mm, and a height of approximately 10mm. The main body is a rectangular base. At the rear, create a mounting bracket by forming a hull between a 2.85mm x 6.26mm x 16.9mm block and a cylinder with a 16.9mm diameter and 6.26mm height. R...
$fn=72; union(){ difference(){ union(){ difference(){ hull(){ translate([289,4.22,0]) cube([2.85,6.26,16.9]); translate([289+16.9/2,6.26/2+4.22,16.9/2]) rotate([90,0,0]) cylinder(d=16.9,h=6.26,center=true); } translate([289+16.9/2,6...
glb/cad_a423810eaab9.glb
Create a Prusa Mendel X-end prototype part. Start with a main rectangular block that is 15.8mm high, 40mm long, and 15.8mm wide. On the sides of this block, create two mirrored cutouts. Each cutout is formed by a cube of 10mm by 42mm by 20mm, centered on the Y-axis, with one rotated 180 degrees relative to the other....
include <configuration.scad> corection = 1.17; use <bushing.scad> use <teardrop.scad> axis_diameter_real=4; axis_diameter_larger=4.35; pressure_pad_height=2.5; add_strenght=1; xend_height=15.8; xend_length=40; solid_end_width=3; slot_width=1; pad_height=6.5; pad_width=7; pad_connector_height=3.3; bushing_support_widt...
glb/cad_5b0913080968.glb
Create a DLP-Based Resin Printer model by constructing a composite of four rectangular blocks. First, create a main central block measuring 30mm in width, 5mm in depth, and 38mm in height. From this block, remove two cylindrical holes with a radius of 1.75mm and a length of 20mm; position these holes centered on the Y-...
rotate([0,0,45]) { difference() { cube([30,5,38]); for(x = [5,33]) for(y = [5,25]) #translate([y,0,x]) rotate([90,0,0]) cylinder(r=1.75, h=20, center=true); } translate([10,-50,0]) cube([10,50,38]); translate([-155,-50,0]) cube([175, 10, 38]); translate([-155,-65,0]) cube([10,30,38...
glb/cad_9ceeed61cf42.glb
Create a filament splitter consisting of a Y-shaped junction that merges two input channels into one output channel. First, construct the outer body. Create two cylinders with a radius of 7.7mm and a length of 5.8mm, positioned symmetrically at a 15-degree angle from the center axis, extending 20mm outward. Connect t...
$fn=16; filament_r=1; wallthk = 3; in_thread_r = 4.7; in_thread_l = 6; in_angle = 15; in_l = 20; out_thread_r = 4.6; out_thread_l = 11.0; out_l = 10; out_funnel_l = 3; difference() { union(){ hull() { outlay(); mirror([1, 0, 0]) outlay(); } transl...
glb/cad_0d6126ccc11d.glb
Create a speaker stand consisting of a vertical support pillar and a top platform. The support pillar is a cylinder with a radius of 10.5mm. For the shorter version of the stand, create two pillars with a height of 520mm and one with a height of 550mm. For the taller version of the stand, create two pillars with a heig...
module triangolo(gx,gy,grx) { difference() { union() { difference() { translate([44,0,6]) rotate([0,0,45]) cube([70,70,4]); translate([9,-36.3,5]) cube([70,70,6]); } translate([0,42,0]) rotate([gx,gy,0]) cylinder(r=13,h=35); translate([88,42,0]) rotate([gx,-gy,0]) cylinder(...
glb/cad_eff8e55493b0.glb
Create a CO2 laser tube hanger consisting of two main components: an inner support and an external bracket. For the inner support, create a semi-cylindrical holder with an inner diameter of 80mm and a height of 25mm. The outer diameter should be 83mm. Cut away half of the cylinder to create a cradle. Add two square pr...
tube_d=80; tube_r=tube_d/2; module hanger(){ difference(){ union(){ rotate([0,0,-45+180]){ difference(){ cylinder(r=tube_r+1.5+10,h=25,$fn=100,center=true); translate([0,35,-0.01]) cube([120,60,25.2],center=true); cylinder(r=tube_r+1.5,h=25.1,$fn=100,center=true); } } translate([tube_r+10,0,0]) cube([7.5,30,2...
glb/cad_da0e70e051f7.glb
Create a height adjustable router attachment consisting of two main parts: a mount and a base. First, create the mount. Start with a hexagonal cylinder of radius 14mm and height 20mm. On top of this, add a trapezoidal nut with a length of 10mm, an outer radius of 14mm, and an internal thread radius of 9mm. Hollow out ...
include<Thread_Library/Thread_Library.scad> threadRad=9.0; nutRad=14; nutDepth=10; baseLift=5; maxDepth=20; nArcs=4; baseRad=30; baseDepth=30; holeRad=15; wallThick=5; keepout=.5; e=.01; $fn=0; $fa=0.6; $fs=2; module mount() { difference() { union() { translate([0,0,maxDepth]) trapezoidNut(length=n...
glb/cad_40407461399d.glb
Create a resistor storage box consisting of a drawer and a matching enclosure. For the drawer, create a rectangular box with outer dimensions of 22.4mm width, 67.2mm length, and 11.2mm height (based on 1.2mm wall thickness). The interior cavity should be 20mm wide, 65mm long, and 10mm high. On the front face, center ...
drawerWidthInner = 20; drawerHeightInner = 10; drawerLengthInner = 65; enableLabel = "true"; depthLabel = 0.4; handleHeight = 3; handleDepth = 5; handleLength = 20; handleIndentWidth = 4; handleIndentTop = 1; handleIndentSide = 2; columns = 5; rows = 6; enclosureClearance = 0.7; enableHoles = "true"; hol...
glb/cad_2ef39ddcaf22.glb
Create a customizable Christmas tree ball ornament. Start by constructing a hollow spherical cage with an outer diameter of 60mm and a wall thickness of 3mm. This cage is formed by a series of thin, circular bands, each 6mm wide, spaced at 60-degree intervals around the center. At the top of the sphere, add a cylindr...
use <write.scad> all(); ball_diameter = 60; wall = 3; side = 6; angle = 60; your_logo = "3D by Salvador"; text_size = 3; text_rotation =140; cylinder_elements = 50; $fn=cylinder_elements; module all() { ball(); hook(); logo(); } module logo() { rot...
glb/cad_dbe9efcd3042.glb
Create a 18650 battery box for a single cell. Start with a main body consisting of a central rectangular block measuring 75.3mm in length, 18.3mm in width, and 8mm in height. Add two vertical end walls, each 2mm thick and 18mm high, positioned at the far ends of the length. Carve a cylindrical cradle out of the top ce...
Cell_Count = 1; $fn = 100; module edge(radius, height) { difference() { translate([radius/2-0.5, radius/2-0.5, 0]) cube([radius+1, radius+1, height], center = true); translate([radius, radius, 0]) cylinder(h = height+1, r1 = radius, r2 = radius, center = true); } } module battery_box(cells) { differenc...
glb/cad_ddf84f7bfb9f.glb
Create a 18650 battery box for a single cell. Start with a central rectangular base measuring 73mm by 19mm by 8mm. Carve a cylindrical cradle through the center of the base with a radius of 9.5mm and a length of 65mm to hold the battery. At both ends of the base, add terminal holders. These are rectangular blocks meas...
Cell_Count = 1; $fn = 100; battery_diameter = 19; battery_length = 65; module edge(radius, height) { difference() { translate([radius/2-0.5, radius/2-0.5, 0]) cube([radius+1, radius+1, height], center = true); translate([radius, radius, 0]) cylinder(h = height+1, r1 = radius, r2 = radius, center = true); } } m...
glb/cad_bc1b12028e40.glb
Create a battery box for a single 18650 cell. Start with a central rectangular base measuring 81mm in length, 19mm in width, and 8mm in height, centered on the origin. Carve a cylindrical cradle out of the top of this base with a radius of 9.5mm and a length of 73mm to hold the battery. At both ends of the base, add t...
$fn = 100; battery_diameter = 19; battery_length = 73; difference() { union() { translate([0, 0, 4]) cube(size=[battery_length+8+4, battery_diameter, 8], center=true); translate([(battery_length/2)+4, 0, 9]) cube(size=[4, battery_diameter, 18], center=true); translate([(battery_lengt...
glb/cad_ae8fa3e9ec0e.glb
Create a configurable dice by starting with a cube that has a side length of 20mm. Modify the cube into a rounded shape by intersecting it with a sphere of radius 15.5mm. On each of the six faces, create an engraving with a depth of 1mm. The engravings should be centered on each face and scaled to fit the surface. Th...
DiceSide = 20; Roundness = 10; EngravingDepth = 1; Side1Engraving = "1.png"; Side2Engraving = "2.png"; Side3Engraving = "3.png"; Side4Engraving = "4.png"; Side5Engraving = "5.png"; Side6Engraving = "6.png"; TextureFolder = ""; SphereRadius = DiceSide * ((1-Roundness/10)*(0.87-0.70)+0.70); EngravingCorrection ...
glb/cad_7616ffda79d0.glb
Create a Tripod Quick Release Base by constructing a solid block with a height of 7.5mm. The block's footprint is a transition between two centered rectangles: the bottom is 37mm by 36mm, and the top is 37mm by 30mm, with the sides lofted smoothly between them. At each of the four corners of the top surface, create a...
x_bottom=37; y_bottom=36; y_top=30; z_base=7.5; $fn=36; r_thread=1.5; r_head=2.5; z_head=1.5; module bolt(zh,zt,rh,rt) { union(){ cylinder(h=zh, r=rh); cylinder(h=zt, r=rt); } } module base(){ difference(){ hull(){ cube([x_bottom,y_bottom,1], center=true); ...
glb/cad_7b948f31072c.glb
Create a set of four 3D gear components, each with a height of 8mm. The first is a spur gear with 13 teeth and a circular pitch of 10mm. The second is a spur gear with 7 teeth and a circular pitch of 10mm, positioned so its pitch circle is tangent to the first. The third is a spur gear with 17 teeth and a circular pitc...
include <gear.scad> teeth1=13; teeth2=7; teeth3=17; teeth4=47; circular_pitch=10; rad1=pitch_radius(num_teeth=teeth1,circular_pitch=circular_pitch); rad2=pitch_radius(num_teeth=teeth2,circular_pitch=circular_pitch); rad3=pitch_radius(num_teeth=teeth3,circular_pitch=circular_pitch); rad4=pitch_radius(num_teeth=teeth4,...
glb/cad_496b6ec5f764.glb
Create a beehive-style pencil holder composed of seven hexagonal cells arranged with one central cell surrounded by six others. Each cell is a hollow hexagonal prism with a wall thickness of 0.84mm and an outer radius of 20.42mm. The cells are open at the top and closed at the bottom. The central cell is the tallest a...
radius = 20 ; shell_thickness =0.84 ; central_hex_height = 90 ; NE_hex_height = 60 ; N_hex_height = 35 ; NW_hex_height = 75 ; SW_hex_height = 80 ; S_hex_height = 80 ; SE_hex_height = 80 ; module pot_hexa(h,r,shell) { difference (){ cylinder(h,r,r,$fn=6); translate([0,0,shell]) cylinder...
glb/cad_54958f08d353.glb
Create a replacement pin for an easel by constructing a symmetrical axial body. Start with a central cylinder that is 12mm long and 12mm in diameter. On both ends of this central cylinder, attach a smaller cylinder that is 8mm long and 8mm in diameter, aligned coaxially. To transition between the 8mm end cylinders and ...
d1=8; d2=12; d3=8; l1=8; l2=12; $fn=32; cr = (d2-d3)/4 + pow(l2,2)/(4*(d2-d3)); echo(str("RADIUS: ", cr, " mm")); rotate([90,0,0]) { cylinder(r=d1/2,h=l1*2+l2); translate([0,0,l1]) { rotate_extrude() { difference() { square(l2); translate([d3/2+cr,l2/2]) ...
glb/cad_679338e983f2.glb
Create an Involute Gear with 16 teeth and a module of 2mm. The gear should have a total thickness of 5mm. Incorporate an inner section with a thickness of 4mm, positioned 3mm from the inner radius of the teeth. At the center, create a mounting hole with a radius of 3mm. This hole should feature a hexagonal head with a...
teeth = 16; mod = 2; thickness = 5; details = 0.5; skip_after = 0; enable_inner_section = 1; inner_section = 3; inner_thickness = 4; hole = 3; hole_shape = 0; minor_hole_radius = 5.5; auto_hole_height = 0; hole_height = 6; generate_screw_hole = 1; generate_screw_hexagonal = 1; screw_hole_radius = 3; scr...
glb/cad_136cf59dad92.glb
Create a heat exchanger consisting of 8 stacked sections. Each section is a rounded rectangular chamber with a width of 50mm, length of 100mm, and thickness of 8mm, with a wall thickness of 1mm. Within each section, create two parallel fluid channels. Each channel is formed by a pipe with an inner diameter of 8mm and ...
pipe_inner_diameter=8; pipe_wall_thickness=2; connector_height=10; connector_inner_diameter=7.5; width=50; length=100; thickness=8; wall=1; number=8; camera_ribs=3; show_inside=1; show_colors=1; show_split=2; show_split_chamber=0; show_arrows=1; function colored(c)=show_colors?c:"yellow"; pd=pipe_inner_d...
glb/cad_b723f5e37778.glb
Create a humane mouse trap consisting of two intersecting rectangular walls and a vertical cylindrical post. First, construct a thin base wall that is 78mm wide, 5mm thick, and 50mm high. Perpendicular to this, attach a second wall that is 5mm wide, 50mm deep, and 50mm high, creating an L-shaped structure. Finally, add...
difference() { union() { cube([5,50,50]); cube([78,5,50]); } translate([73,2.5,-5]) cylinder(r=1.5,h=60, $fn=30); }
glb/cad_395334a60a5d.glb
Create a humane mouse trap consisting of a rectangular enclosure with a base and three walls. Start by creating a solid rectangular base measuring 85mm in length, 60mm in width, and 5mm in height. Extend two side walls upward from the base, each 60mm high and 5mm thick, positioned at the left edge and the far end of th...
difference() { union() { cube([85,60,5]); cube([85,5,60]); translate([0,55,0]) cube([85,5,60]); cube([5,60,60]); } translate([15,-10,5.1]) cube([4,80,40]); translate([12,30,53.5]) rotate([90,0,0]) cylinder(r=1.5,h=90,center=true,$fn=50); }
glb/cad_b7c040b679f4.glb
Create an Aquarium Castle consisting of a central hollow tower and a connecting tunnel. Start by creating a vertical cylinder with an outer diameter of 50mm and a height of 100mm, with a wall thickness of 4mm. This cylinder serves as the main tower. At the base, integrate a horizontal tunnel of the same 50mm diameter a...
$fn=50; $d=50; $dw=4; $h=100; module stick(angle){ rotate ([0,angle,0]) translate ([0,$h/2-5+$dw,0]) cube ([10,10,$d+20+$dw],center=true); } module hole(diam,x,y,z){ translate ([x,y-$d/2,z]) rotate([0,90,0]) cylinder (d=diam,h=$d+$dw,center=true); } module cone(shift){ translate ([0,$d/2-$dw,shift]) rotate ([-90,0,0...
glb/cad_17cd149b31b8.glb
Create a case for a GM328A component tester consisting of a top and bottom section. The overall footprint is based on a PCB measuring 72mm by 75mm. For the bottom section, create a base with a wall thickness of 1.5mm. Include four mounting pillars at the corners for M3 screws, each featuring a 3mm diameter hole and a ...
part = "demo"; wall = 1.5; tol = 0.5; d = 0.01; i2m = 25.4; pi = 3.1415926; batt = [54.0, 26.0, 17.0]; slant = 1.0; pcb_x = 72.0; pcb_y = 75.0; pcb_z = 1.65; pcb_below_min = 5.0; mnt_dia = 3.0; mnt_x1 = 1.0 + mnt_dia/2; mnt_y1 = pcb_y - 1.0 - mnt_dia/2; mnt_y2 = 1.0 + mnt_dia/2; mnts_thr = 2.5; mnt_head = 7.2; ...
glb/cad_d9f7e0f622bd.glb
Create an eyepiece adapter consisting of two stacked cylindrical sections. The base is a cylinder with a diameter of 48mm and a height of 14mm. Centered on top of this base is a second, narrower cylinder with an outer diameter of 34.2mm and a height of 30mm. Both sections are hollowed out by a central vertical bore wit...
diamext=34.2; diamint=33; bigdiam=48; wall=2.2; high=30; m4dia=5 ; m4diav=4.5; m4_nut_dia=9.4 ; m4_nut_h=3.1 ; m4_nut_v=9; delta=0.4; hhh=m4_nut_h+diamint/2+delta; module adapter() { translate([0,0,0]){ difference(){ union(){ translate([0,0,high/2]) cylinder(h=high, r=diamext/2, center=true,$fn=100); ...
glb/cad_fef583631952.glb
Create a customizable rod clamp consisting of two matching octagonal halves. Each half is based on an octagonal prism with a height of 7.2mm. The outer boundary is a regular octagon with a radius of approximately 12.7mm. For each half, carve a semi-cylindrical channel across the center to accommodate a rod. For the fi...
part = "both"; Rod1Diameter = 12; Rod2Diameter = 8; NutName = "M4"; CreateRidge = true; Wall=3; Gap=1; ScrewSeparation=1; Bevel = 3; BevelAngle=30; M3=[5.5, 2.4, 3.0]; M4=[7.0, 3.2, 4.0]; M5=[7.0, 4.7, 5.0]; M6=[10.0, 5.2, 6.0]; M8=[13.0, 6.8, 8.0]; M10=[17.0, 8.4, 10.0]; UsedNut=( NutName == "M3" ) ? M3 : ((...
glb/cad_317a88ada7d3.glb
Create a boiler control knob by constructing a main cylinder with a radius of 30mm and a height of 20mm. Integrate a gear-like anti-slip texture around the outer perimeter consisting of 17 teeth. At the center of the cylinder, create a vertical hole with a radius of 5mm that extends halfway through the height of the ob...
include <gears.scad>; echo(version=version()); rayon_externe=30; rayon_interne=5; meplat=4; hauteur=20; $fn=100; difference(){ union() { translate([0,0,-hauteur]) resize([rayon_externe,rayon_externe,hauteur]) linear_extrude(1) circle(1); demo_3d_gears_FF(); } t...
glb/cad_eaabe82d0695.glb
Create a Wii Sensor Bar Holder by constructing a base block and removing specific volumes to create a slotted cradle. Start with a solid rectangular block measuring 21mm wide, 30mm deep, and 7mm high. From this block, remove a central rectangular section measuring 10.2mm wide, 23.6mm deep, and 10mm high to create a rec...
{ module holder(){ difference() { translate([10.5, 15, 0]) cube([21, 30, 7], center = true); union() { translate([10.5, 19.2, 0]) cube([10.2, 23.6, 10], center = true); } } translate([31, 27.5, 0]) cube([20, 5, 7], center = true); translate([26.3, 15.5, 0]) rotate(-15, [0, 0, 1]) cube([19, 5, 7...
glb/cad_43aa6d3e70c4.glb
Create a toy stethoscope cap by constructing a shallow, circular dish. Start with a solid sphere that is heavily compressed along the Z-axis to a height of 7mm, while maintaining a diameter of 98mm in both the X and Y dimensions. From the center of this flattened shape, remove a cylindrical core to create a hollow inte...
echo(version=version()); rayon_interne=47.8; rayon_externe=49; epaisseur_max=7; $fs=0.01; $fn=200; difference () { union() { resize([rayon_externe,rayon_externe,epaisseur_max]) sphere(1); translate([0,0,0]) resize([rayon_externe,rayon_externe,epaisseur_max]) linear_extrude(height=1...
glb/cad_c7658ee6b09b.glb
Create a chair foot tube end cap consisting of a rounded base and an integrated insertion plug. Start with a base plate that is 40.2mm long, 15.5mm wide, and 5mm high, with all edges rounded by a 2.5mm radius. Hollow out the top center of this base to create a shallow tray. From this base, extend a plug structure upwar...
foot_l = 40.2; foot_w = 15.5; foot_h = 5; plug_h = 15; barb_w = 3; wall_t = 1.4; $fn=20; union() { short_wall(); rotate([0, 0, 180]) short_wall(); long_wall(); rotate([0, 0, 180]) long_wall(); difference(){ minkowski(){ cube([foot_l-foot_h, foot...
glb/cad_36fbaca948bb.glb
Create a small spool holder consisting of a threaded base, a central shaft, and a capped end. Start by creating a threaded cylinder at the bottom with a diameter of 30mm and a height of 20mm. Directly on top of this threaded section, add a flat circular disc with a diameter of 30mm and a thickness of 5mm. From the cent...
$fn = 0; $fs = 0.1; $fa = 4; include <polyScrewThread.scad> PI=3.141592; fat_diam = 30; fat_r = fat_diam/2; stop_length = 5; screw_length = 20; poke_length = 80; poke_diam = 10; poke_r = poke_diam/2; poke_end = 2; poke_overhang = 2; screw_thread(fat_diam, 1.7, 30, screw_length, PI/2, 0); translate([0, 0, screw_le...
glb/cad_2673fba63dc1.glb
Create a Wallace adjustable Z end stop consisting of two separate components. First, create a rectangular base measuring 9.5mm wide, 50mm long, and 3mm high, with a central rectangular slot removed from the top that is 3mm wide, 40mm long, and 3.1mm deep, positioned 3.25mm from the side edge and 5mm from the ends. Se...
m3_nut_size = 6; m3_size = 3; da6 = 1 / cos(180 / 6) / 2; difference() { cube([9.5, 50, 3]); translate([3.25, 5, 0]) cube([3, 40, 3.1]); } translate([-15.75, -2.5, 0]){ screw_hole_plate(); } translate([50, 0, 0]){ rotate([90, 0, 180]){ cube([2, 8, 30]); translate([-19, 0, 0]) scre...
glb/cad_6af3d91d129f.glb
Create a Korg Volca mixer enclosure consisting of a rectangular box and a matching lid. Construct the box as a hollow rectangular shell with outer dimensions of 193mm width, 35mm height, and 27mm depth. The walls should be 2mm thick. At each of the four corners, integrate a cylindrical screw column with a radius of 3...
lid_w = 193; lid_t = 2; lid_h = 35; box_w = lid_w; box_h = lid_h; box_d = 29 - lid_t; box_wall_t = 2; knob_r = 10.5/2; mount_r = 6.5/2; n_knobs = 4; n_mounts = n_knobs + 1; knobs_center_offset = 4; mounts_center_offset = 4; screw_r = 3.2/2; screw_hole_r = 2.8/2; screw_offset = 2; $fn=20; module knobs() { working...
glb/cad_9be0279e2483.glb
Create a Nema 17 to Nema 23 adapter plate by starting with a centered cube measuring 60mm x 60mm x 10mm. Remove a central cylinder with a radius of 12.25mm and a height of 10mm. Create four mounting holes for a Nema 23 motor by placing cylinders with a radius of 2.7mm and a height of 10mm at the coordinates (±23.57, ...
width = 60; length = 60; height = 10 ; nema23HoleR = 5.4/2; nema23HoleDistance = 47.14/2; nema23HeadR = 9/2; nema17HoleR = 3.4/2; nema17HoleDistance = 31/2; nema17CenterRadius = 24.5/2; nema17CutOuta = (nema23HoleDistance*2)-(nema23HeadR*2); nema17CutOutb = 43; $fn = 128; difference(){ cube([width, length, height]...
glb/cad_c17ed16db6ff.glb
Create a hollow acorn container consisting of two nesting parts. For the bottom section, create a cylinder with an outer radius of 13mm and a height of 10mm. On top of this cylinder, place a hemisphere with a radius of 13mm. Hollow out the center of both the cylinder and the hemisphere by removing a concentric shape wi...
bottompart_outterradius=13; wall=1.5; fn=100; part="bottom" ; bottompart_extension=10; toppart_tip_radius=bottompart_outterradius/8; toppart_tip_hight=bottompart_outterradius/2; toppart_extension=10; bottompart_tip_radius=bottompart_outterradius/3; bottompart_tip_hight=bottompart_outterradius/3; bottompart_inerradiu...
glb/cad_13e9ff1c347b.glb
Create an embossing stamp consisting of two mirrored handle sections connected by a central hinge. Each handle is a rectangular block 48mm wide, 70mm long, and 3.5mm thick. The outer edges of the handles are rounded with a 4mm radius. On the inner face of each handle, create a recessed rectangular guide area measuring ...
image_file = ""; hinge_placement = 1; emboss_height = 1.5; $fa = 6; $fs = 1.5; image_width = 40; image_length = 40; image_padding = 4; handle_width = image_width + image_padding*2; handle_length = 70; handle_height = emboss_height+2; nub = 3; tol = 0.4; assembly(); module assembly() { stamp_top(90*hinge_place...
glb/cad_d6a2450e0086.glb
Create a hollow cylindrical nut by constructing a large cylinder with a radius of 10mm and a height of 180mm, then remove a smaller concentric cylinder from its center with a radius of 9mm and the same height of 180mm to leave a wall thickness of 1mm.
difference(){ union(){ cylinder(r=10,h=180); } cylinder(r=9,h=180); }
glb/cad_239d69c9cb79.glb
Create a tuning wrench for string instruments. Start by constructing a central vertical cylinder with a height of 35mm and a radius of 14.1mm. Attach a rectangular handle to the side of this cylinder; the handle should be 24mm long, 10mm thick, and 13mm high, extending outward from the cylinder's base. To ensure a smoo...
cylinder_height = 35; wall_thickness = 2.4; handle_height = 13; handle_length = 24; handle_thickness = 10; hole_desired_height = 20.4; hole_desired_width = 22.69; hole_desired_middle_thickness = 8.24; hole_desired_outer_thickness = 4.52; tolerance = 0.5; hole_height = hole_desired_height + tolerance; hole_width = h...
glb/cad_464dd2818157.glb
Create a curved puller for a propeller launcher. The main body is a circular band with a radius of 55mm and an overall width of 7mm. Along the outer edge of this band, place 60 evenly spaced teeth. Each tooth is a trapezoidal prism with a base thickness of 1.5mm and a width of 5mm (3mm bottom thickness plus 2mm spacing...
width = 7; n_teeth=60; radius=55; tooth_thickness_bottom = 3; tooth_thickness_top = 1.5; tooth_height = 2.5; tooth_spacing = 2; base_thickness = 1.5; tooth_offset = 0.5; tooth_dimensions = [ [ -(tooth_thickness_bottom / 2), 0, 0 ], [ -(tooth_thickness_top / 2), tooth_height, 0 ], [ (tooth_thickness_top / 2...
glb/cad_c1b3e8e4eede.glb
Create a 3D Christmas ornament consisting of a series of concentric, nested five-pointed stars. The overall design is a flat, extruded shape with a thickness of 3mm. The geometry is formed by repeating a five-pointed star pattern four times, each scaled progressively. The innermost star is the smallest, with subseque...
l1 = 10; l2 = 5; linear_extrude(height=3) scale(1.33) union() { for (j = [1:1:4]) { draw(star,2/j,j); } rotate([0,0,18]) translate([8,-1,0]) square([22,2],center=false); for (i = [360/5:360/5:300]) { rotate([0,0,i+18]) translate([8,-1,0]) square([31,2],center=false); } } star = ...
glb/cad_ed43b76153e5.glb
Create a Christmas ornament in the shape of a five-cusped hypocycloid star. The ornament should be a flat plate with a uniform thickness of 3mm. The main body is formed by a series of concentric hypocycloid outlines, scaled from 0.2 to 1.4 in increments of 0.2, creating a ribbed, layered effect. To add structural det...
hypo_star(); module hypo_star() { difference() { linear_extrude(height=3) scale(3.75) union() { for (j = [0.2:0.2:1.4]) { hypo(0,360,2,.5,8,2,j); } for (i = [0:360/5:300]) { rotate([0,0,i]) translate([1,-.25,0]) square([13,.5]); }} translate([48,0]) cylinder(r=1,h=10,...
glb/cad_34a824bb5ede.glb
Create a 3D Christmas ornament in the shape of a six-pointed snowflake. The model is a flat, extruded plate with a thickness of 3mm. The geometry is formed by the union of three overlapping hypotrochoid curves, each scaled by a factor of 3. These curves are defined by the parametric equations x = (n * cos(t) + h * cos(...
hypo_snowflake(); module hypo_star() { linear_extrude(height=3) scale(1.25) union() { hypotrochoid(0,360,2,1,8,2,2,2); hypotrochoid(0,360,2,1,8,5,2,3); hypotrochoid(0,360,2,1,8,6,2,3); } } module hypo_snowflake() { linear_extrude(height=3) scale(3) union() { hypotrochoid(0,360,2,...
glb/cad_a691a65b1be4.glb
Create a Nickel-Weighted Fidget Spinner. The body is a symmetrical three-armed shape with a total height of 7mm. At the center, create a cylindrical hole with a diameter of 21.9mm to accommodate a 608 bearing. Extend three arms outward from the center, spaced 120 degrees apart. Each arm ends in a circular pod with an ...
PART = "spinner"; E = 0.1; BEARING_SLOP = -0.1; BEARING_INNER = 8; BEARING_OUTER = 22 + BEARING_SLOP; BEARING_HEIGHT = 7; COIN_SLOP = 0.3; COIN_OUTER = 21.3 + COIN_SLOP; COIN_HEIGHT = 1.9; STACK_COUNT = 3; STACK_HEIGHT = 1.9 * STACK_COUNT; COIN_FLOOR_HEIGHT = BEARING_HEIGHT - STACK_HEIGHT; COIN_WINDOW = COIN_OUTER ...
glb/cad_85d7c4bff8cb.glb
Create a customizable cell phone charging stand designed to hold a charging plug and prop up a phone. First, construct a plug holder. This is a hollowed-out shell based on a profile that combines a rectangular box (18.3mm length, 12.35mm width, 6.3mm height) and a tapered section (12.3mm length, 6.5mm width). The she...
$fn = 30; c_plug_box_l = 18.3; c_plug_box_w = 12.35; c_plug_box_h = 6.3; c_plug_taper_l = 12.3; c_plug_taper_w = 6.5; c_plug_cord_d = 3.9; c_plug_tol = 0.4; c_case_t = 2.9; c_phone_w = 77.5; c_angle=75; c_wall_t = 1.5; module plug_profile(box_l, box_w, taper_l, taper_w){ translate([0, -box_w/2]) union(){ ...
glb/cad_5b4b887a2852.glb
Create a strap bracket for a car boot. Start with a rectangular backboard measuring 130mm wide, 150mm high, and 6mm deep. Round the two vertical side edges of the board with a radius of 3mm. Cut two horizontal slots through the board to hold elastic straps. Each slot should be 25mm high and 5mm wide. Position the firs...
$fn=30; ElasticWidth=25; ElasticThickness=1.5; VerticalElasticOffset=20; HorizontalElasticOffset=10; BoardDepth=6; BoardWidth=130; BoardHeight=150; HookHeight=65; HookOffset=10; HookSize=10; module backBoard(height, width, depth) { union() { cube([width, depth, height]); translate([0, dep...
glb/cad_9fa89d3673d0.glb
Create a CO2 Laser Tube Support mount. Start with a rectangular block 103mm wide, 15mm thick, and 53.5mm high. Carve a semi-cylindrical cutout from the top of the block with a radius of 43.5mm, centered along the 15mm thickness, to create a cradle for the tube. Remove material from the two outer corners of the block ...
tubeDiameter = 80; grace = 3.5; supportWidth = 10; supportThickness = 15; mountingScrewShaftDiameter = 5; mountingScrewHeadRecess = 4.5; mountingScrewHeadDiameter = 8; jointPilotDiameter = 2.1; jointScrewShaftDiameter = 3; jointScrewHeadDiameter = 8; jointScrewHeadOffset = 5; top = false; tolerance = 0.01; segments ...
glb/cad_d44361d978fe.glb
Create a bicycle tail light holder consisting of a mounting clamp and an extending arm. Start by creating a cylindrical ring with an inner diameter of 32.6mm and a wall thickness of 2mm, with a total height of 12mm. The ring should be a partial cylinder, open by a small angle of 5 degrees to allow for installation. At...
part = "solid"; dseat = 32.6; wall=2; total_height=12; seatpostnut = 7; seatpostbolt = 4; lightnut = 8; lightbolt = 5; holderlength = 29; holderheight = 14; $fn=100; d=0.01; d2=d+d; d3=d2+d; sqrt32=1.732050808/2; module gaika(m, h) { cylinder (r=(m*1.01)/sqrt32/2, $fn=6, h=h ); } module up(h) { tran...
glb/cad_016d48643659.glb
Create a bicycle tail light holder. Start with a main rectangular base measuring 31mm by 15mm with a thickness of 3.5mm. At one end of this base, create a vertical attachment piece that is 15mm wide, 3.5mm thick, and 18mm high. On the outer face of this vertical piece, at a height of 18mm, center a cylindrical protrusi...
$fn=60; module lid(height) { cylinder (r=2, h=height, $fn=60); translate([0,-2,0]) cube ([13.5,4,height]); translate([13.5,0,0]) cylinder (r=2, h=height, $fn=60); } module holder() { difference () { cube ([31,15,3.5]); translate ([23,-1,13]) rotate([-90,0,0])...
glb/cad_285e9cc2d6f7.glb
Create a bicycle tail light holder designed to fit a seatpost with a diameter of 32.6mm. The main body is a flat, elongated bracket with a thickness of 3.6mm. At the center of the bracket, carve out a horizontal slot that is 13.5mm long and 4.4mm wide, with semi-circular ends of radius 2.2mm. One end of the bracket f...
$fn=60; module sideproj() { linear_extrude (height=38) polygon([[0,0],[52,0],[52,4],[0,4] ,[-0.9,3.42] ,[-1.78,2.87] ,[-2.73,2.3] ,[-3.67,1.76] ,[-4.64,1.24] ,[-5.6,0.77] ,[-6.59,0.34] ,[-7.6,0.04],[-8,0] ,[-9.01,0.18] ,[-10.02,0.57] ,[-10.98,1.06] ,[-11.9,1.59] ,[-12.79,2.15] ,[-13.65,2.74],[-14,3],[-16,0] ,[-15.1,-0....
glb/cad_14fd1986d2d7.glb