Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a parametric pulley for a T2.5 belt with 14 teeth. The model consists of a central cylindrical body with a toothed section and a base. Start with a base cylinder of 14mm diameter and 6mm height. Above this, create the toothed section with a height of 10mm and an outside diameter of 11.88mm. Cut 14 equally space...
teeth = 14; profile = 5; motor_shaft = 2; m3_dia = 1.95; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 1; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 10; pulley_b_ht = 6; pulley_b_dia = 14; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 10.2; additional_tooth_width = 0.2; ...
glb/cad_0c81dc583d6a.glb
Create a Z-float modular x-end component. Start by creating a central hexagonal nut trap with a flat bottom of 1mm and a total height of 6.2mm. The trap should have an internal hexagonal recess with a diameter across flats of 13.25mm and a central vertical hole with a diameter of 10mm to accommodate a threaded rod. On...
overlap = 0.001; z_rod_offset = 0; z_float_screw_dia = 3; z_float_screw_spacing_y = 36; z_float_frame_width = 2.5; z_float_nut_dia_min = 13+0.25; z_float_nut_height=6.2; z_float_nut_trap_wall=2; z_float_nut_trap_bottom=1.0; z_float_rod_dia = 10; z_float_spring_width = 1.0; nut_diameter_max = z_float_nut_dia_min/cos(3...
glb/cad_090fcb366ed2.glb
Create a modular x-end for a 3D printer consisting of two primary components: a motor bracket and an idler bracket. First, construct the motor bracket. Create a main body with a length of 55mm (45mm body length plus 10mm), a thickness of 6mm, and a height of 15mm. Add two right-angle braces to the sides, each 55mm lon...
clearance = 0.2; overlap = 0.01; n17_screw_spacing = 31; n17_motor_width = 43; n17_motor_length = 46; n17_hub_diameter = 30; n17_screw_depth = 4.5; n17_shaft_length = 24; m3_screw_dia = 3; m3_screw_head_dia = 5.5; m3_screw_head_height = 3; m3_nut_wrench_size = 5.5; m3_nut_height = 2.4; m3_nut_dia = m3_nut_wrench_size...
glb/cad_7b4b80aee793.glb
Create a Customizable Template in the shape of an arrow. Start by creating a central rectangular base that is 50mm long, 20mm wide, and 4mm thick. At the front end of this rectangle, add an arrow head formed by a square with sides of 30mm, rotated 45 degrees on the Z-axis and centered on the base's end. To refine the a...
use <utils/build_plate.scad> $fn = 50*1; Template_Shape = 2; Width = 20; Height = 50; Thickness = 4; strip_x=Height; strip_y=Width; strip_z=Thickness; handle_d=5*1; handle_r=handle_d/2; handle_z=strip_z*3; handle_x = handle_d; arrow_y = strip_y*1.5; fudge=0.05*1; shape = Template_Shape; build_plate_selector...
glb/cad_d61670e7d008.glb
Create a parametric timing disk with a total diameter of 20mm and a thickness of 1.5mm. At the center of the disk, create a shaft hole with a diameter of 4mm. This hole should be modified from a perfect circle into a flat-sided shape by removing a rectangular section 1mm wide from the center, leaving a flat edge on the...
$fn=30; $EC = .3; Disk_D = 20; Disk_Thk = 1.5; Shaft_D = 4; Half_SD = 1; SSides = 30; W_dEdge = 1; W_dr = 3; W_Ang = 3; W_Phase = 0; W_Count = 20; WoR = Disk_D/2-W_dEdge; WiR = WoR-W_dr; Wp = [for (a=[-W_Ang:W_Ang*2/$fn:W_Ang]) [WoR*cos(a),(WoR+$EC)*sin(a)], for (a=[W_Ang:-W_Ang*2/$fn:-W_A...
glb/cad_4bf3648c6825.glb
Create a customizable pentominoes tray by constructing a rectangular box with an open top. The outer dimensions of the box should be 108mm in length, 68mm in width, and 8mm in height. The walls and the floor of the tray must be 4mm thick. To create the interior compartment, remove a rectangular volume from the center t...
length=10; tray_rows=6; tray_cols=10; wall=4; module tray() { difference() { cube([tray_cols*length + 2*wall, tray_rows*length + 2*wall, length/2+wall]); translate([wall, wall, wall]) cube([tray_cols*length, tray_rows*length, length/2+1]); } } tray();
glb/cad_74152efe3d53.glb
Create a Ziptie consisting of a long flat strap and a locking head. Start by creating the strap as a thin rectangular prism 113.4mm long, approximately 5mm wide, and 0.75mm thick. Along one long edge of the strap, add a series of small, repeating rectangular teeth (ridges) spaced closely together to create a ratchet ...
difference() { hull() { linear_extrude(height = .1, center = false) { polygon(points=[[-4.87,2.88],[-4.86,3.09],[-4.83,3.29],[-4.78,3.48],[-4.71,3.67],[-4.62,3.84],[-4.52,4.01],[-4.41,4.16],[-4.28,4.31],[-4.13,4.44],[-3.98,4.55],[-3.81,4.66],[-3.63,4.74],[-3.45,4.81],[-3.26,4.86],[-3.06,4.89],[-2.85,4.9],[2.85,4.9],[3...
glb/cad_840fac9d3f8e.glb
Create a ziptie consisting of a long flat strap and a locking head. Start by creating the strap as a thin rectangular prism 113.4mm long, approximately 5mm wide, and 0.75mm thick. Along one long edge of the strap, add a series of small, repeating rectangular teeth spaced approximately 0.8mm apart, each protruding sli...
difference() { hull() { linear_extrude(height = .1, center = false) { polygon(points=[[-4.87,2.88],[-4.86,3.09],[-4.83,3.29],[-4.78,3.48],[-4.71,3.67],[-4.62,3.84],[-4.52,4.01],[-4.41,4.16],[-4.28,4.31],[-4.13,4.44],[-3.98,4.55],[-3.81,4.66],[-3.63,4.74],[-3.45,4.81],[-3.26,4.86],[-3.06,4.89],[-2.85,4.9],[2.85,4.9],[3...
glb/cad_6101416d5955.glb
Create an Adjustable Z Axis End Stop consisting of a rectangular base with two slotted holes. Start by creating a solid rectangular block measuring 40mm in length, 30mm in width, and 8mm in height. On the top face of this block, carve out two identical linear slots. Each slot should be 3.5mm wide and 25mm long, cente...
box_length=40; slot_width=3.5; slot_length=box_length-15; module slot() { union () { cylinder(h=10, r=slot_width/2); translate([0, -slot_width/2, 0]) cube([slot_length, slot_width, 10]); translate([slot_length, 0, 0]) cylinder(h=10, r=slot_width/2); } } union() { import_stl("ZstopA.stl"); t...
glb/cad_c20b86e94db3.glb
Create a configurable gear assembly consisting of two coaxial gears. The first gear is a thick upper gear with 8 teeth, a circular pitch of 5.1, a thickness of 10mm, a rim thickness of 10mm, and a hub diameter of 10mm. It features a single decorative circle on its face and a central bore with a diameter of 7mm. The sec...
use <MCAD/involute_gears.scad> $fs = 0.2; pin_diameter = 2; pin_distance_from_center = 0; upper_gear_teeth = 8; upper_gear_cp = 5.1; upper_gear_thickness = 10; upper_gear_rim_thickness = 10; upper_gear_hub_diameter = 10; upper_gear_circles = 1; lower_gear_teeth = 29; lower_gear_cp = 4.7; lower_gear_thickness = 4; l...
glb/cad_c8647b35f220.glb
Create an idler pulley with a central hole 20mm in diameter. The main body is a cylinder with an outer diameter of 30mm and a total height composed of three sections: a bottom lip, a central belt groove, and a top lip. Start by creating a bottom cylindrical lip with a radius of 25mm and a height of 4mm. Above this, add...
idlerID = 20; idlerOD = 30; beltwidth= 10; $fn=30; lipheight = 10; lipthickness = 4; topangle = 60; difference(){ union(){ cylinder(r=lipheight+idlerOD/2, h=lipthickness); cylinder(r=idlerOD/2, h = lipthickness*2+beltwidth+lipheight*cos(topangle)); translate([0,0,lipthickness*2+beltwidth+lipheight*cos(t...
glb/cad_73e89fdf9a99.glb
Create a Customizable 4 Row Tool Bit Tray. Start by creating a rectangular base plate with a thickness of 5mm. The overall width and depth of the tray are determined by the largest tool row, with a 5mm margin around the edges. The tray features four rows of holes for tool storage. Row 1 contains 3 round holes with a d...
use <MCAD/regular_shapes.scad> number_of_tools_in_row_1 = 3; row_1_hole_diameter = 26; row_1_hole_shape = 0; number_of_tools_in_row_2 = 4; row_2_hole_diameter = 15; row_2_hole_shape = 1; number_of_tools_in_row_3 = 5; row_3_hole_diameter = 10; row_3_hole_shape = 0; number_of_tools_in_row_4 = 5; row_4_hole_diameter =...
glb/cad_d92d23d0e6a2.glb
Create a marble run trough by starting with a horizontal cylinder 100mm long with a radius of 10mm. Cut this cylinder in half along its length to create a semi-cylindrical open channel. From this shape, remove a rectangular block measuring 102mm in length, 20mm in width, and 30mm in height, centered to clear the interi...
l1=100; mr=6.25; md=2; $fn=100; difference(){ rotate([0,90,0]) translate([-10,5,0]) cylinder(r1=10,r2=10,h=l1); rotate([60,0,0]) translate([-1,-10,-10]) cube([l1+2,20,30]); translate([-1,12.5,0]) cube([l1+2,20,20]); rotate([0,90,0]) translate([-18,4.5,-1]) cylinder(r1=7,r2=7,h=l1+2); rotate([90,0,0]) translate([l1...
glb/cad_c01419b23e2f.glb
Create a friction-fit cap by starting with a solid cylinder 56.5mm in diameter and 9mm in height. Hollow out the center of this cylinder to create a cap with a wall thickness of 0.8mm and a top base thickness of 0.8mm, leaving an internal cavity that is 54.9mm in diameter and 8.2mm deep. Inside this cavity, at a height...
olM = 0.1; $fn = 200; capD = 56.5; capL = 9.0; capTT = 0.8; capOT = 0.8; bbTD = 2.7; bbT = 0.8; bbHt = 2.0; bbR = 0.8; bbOD = capD - (2 * capOT); module hrs (x,y,r) { translate([x,0,0]) difference() { hull() { translate([(x-r),(y-r)]) circle(r=r,$fn=30); translate([(x-r),(r...
glb/cad_234ec0703249.glb
Create a vacuum and water attachment for a 230mm grinder. Start by creating a semi-circular dust shield with a radius of 120mm and a height of 20mm. Attached to the side of this shield, create a rectangular mounting bracket that is 10mm wide, 25mm deep, and 10mm high. This bracket should be positioned so that it star...
use <pie.scad>; BLADE = 230; COVER_HEIGHT = 20; PIPE_DIAMETER = 6.5; PIPE_LENGTH = 30; bracket_height_start = 10; mounting_bolt_length = 30; nozzle_height = 45; diameter_start = 30.14; diameter_end = 31.80; wall = 2; external_shell_diameter = BLADE + 10; external_shell_radius = external_shell_diameter / 2.0; bracket...
glb/cad_95debcd55c31.glb
Create a VW Beetle Emergency Brake Button consisting of a main cylindrical body and a tapered top. Start by creating a cylinder with a diameter of 16mm and a total height of 28mm, using a 32-facet resolution. At the top of this cylinder, add a conical chamfer that transitions from the full 16mm diameter down to a top d...
BUTTON_CAP_D = 11.25; BUTTON_D = 16; BUTTON_LENGTH = 28; BUTTON_CAP_LENGTH = 0; BUTTON_THREAD_LENGTH = 10; BUTTON_THREAD_WIDTH = 5.5; CHAMFER_TOP = 5; module button() { cylinder(d1 = BUTTON_D, d2 = BUTTON_D, h = BUTTON_LENGTH, $fn=32, center=true); translate([0, 0, BUTTON_LENGTH/2]) cylinder(d1 = BUTTO...
glb/cad_bd3e5f0946cd.glb
Create a spool holder consisting of two legs and two centering pulleys. For each leg, create a base that is 100mm wide, 20mm thick, and 100mm high. At the top outer edge of the base, center a cylinder with a radius of 17mm and a height of 7mm. Remove a concentric hole from this cylinder with a radius of 11mm to hold ...
Render = 2; Min_Spool_Hole_Diameter = 27; Max_Spool_Hole_Diameter = 37; Spool_Diameter = 160; Under_Spool_Clearance = 20; Axle_Diameter = 8; Axle_Clearance = 1; Nut_Size = 14.62; Nut_width = 6.26; Flange_Width = 10; Bearing_Outer_Diameter = 22; Bearing_Width = 7; if(Render == 0) centering_pulley(Min_Spool_Hol...
glb/cad_fbd38d63634e.glb
Create a parametric angled drip tip for a vape. Start with a base cylinder 12.5mm in diameter and 5mm high. On top of this base, add a conical section 15mm high that tapers from a diameter of 15.5mm at the bottom to 10mm at the top. Atop this cone, attach a mouthpiece cylinder with a diameter of 12mm and a length of 20...
id1 = 12.5; id2 = 8; h0 = 5; h1 = 15; h2 = 20; thick1 = 1.5; thick = 1; twist = 1.5; noodle = 1; donut = 1; $fn=50; difference() { union() { cylinder(r=id1/2+thick1, h=h0); translate([0,0,h0]) { cylinder(r1=id1/2+thick1, r2=id2/2+thick, h=h1); translate([0,.5,h1-id2/3.1]) ro...
glb/cad_498058b0bfed.glb
Create a Szilassi polyhedron by constructing a complex geometric volume based on the intersection of three tetrahedra. Start by defining a primary tetrahedron with vertices at [15, 0, 0], [-15, 0, 0], [0, 30, 42.42], and [0, -30, 42.42]. Create a second identical tetrahedron and rotate it 180 degrees around the Z-axis....
C=30;H=C*sqrt(2);L=C;S=2;U=3; X=C*(H-L)/(L+S*H);Z=X*L/C+L;Y=-C*Z/H; F=[[1,2,3],[0,2,1],[0,1,3],[0,3,2]]; color("purple")difference() { polyhedron(points=[[C/S,0,0],[-C/S,0,0],[0,C,H],[0,-C,H]], faces=F); translate([-C,-C,0]) cube([2*C,2*C,L]);}; module tetra() polyhedron(points=[[C/S,0,0],[-C,0,0],[C/U,C/...
glb/cad_586c206f7186.glb
Create a Szilassi polyhedron, a toroidal polyhedron with seven hexagonal faces where every face shares an edge with every other face. Construct the geometry by defining the following vertices in 3D space: L0(20.1, 14.6, 48.6), L1(14.6, -24.7, 51.4), L2(-10.1, 20.1, 51.4), L3(-10.1, -24.7, 25.7), L4(20.1, -24.7, 25.7), ...
C=[[30,5,0],[-10,-5,5],[0,30,70],[-10,-40,75]]; PL=[0.67,.69,.71,.73]; L=concat([C[0]+(C[2]-C[0])*PL[0], C[0]+(C[3]-C[0])*PL[1], C[1]+(C[2]-C[1])*PL[2], C[1]+(C[3]-C[1])*PL[3] ],C); DX=1.3;DY=.3;DZ=.4; D=concat(L,[L[2]+(L[6]-L[2])*DZ],[L[5]+(L[4]-L[5])*DX], [L[5]+(L[7]-L[5])*DY...
glb/cad_0ed8966f46d3.glb
Create a Szilassi polyhedron by constructing a geometric form based on the intersection of three tetrahedra. Start with a base tetrahedron defined by vertices at [10, 0, 0], [-10, 0, 0], [0, 10, 42.42], and [0, -10, 42.42]. Subtract a central cube with a side length of 20mm, centered at the origin and extending from Z=...
C=30;H=C*sqrt(2);L=C;S=2;U=3; X=C*(H-L)/(L+S*H);Z=X*L/C+L;Y=-C*Z/H; F=[[1,2,3],[0,2,1],[0,1,3],[0,3,2]]; $fn=20; color("purple")minkowski(){sphere(C/30);difference() { polyhedron(points=[[C/S,0,0],[-C/S,0,0],[0,C,H],[0,-C,H]], faces=F); translate([-C,-C,0]) cube([2*C,2*C,L]);}}; module tetra() polyhedron(...
glb/cad_094d11240538.glb
Create a Szilassi polyhedron, a mathematical object with seven hexagonal faces where every face shares an edge with every other face. Construct the geometry by defining a central volume based on a height of approximately 42.43mm and a base scale of 30mm. The shape is formed by the intersection of three specific planes ...
C=30;H=C*sqrt(2);L=C;S=2;U=3; X=C*(H-L)/(L+S*H);Z=X*L/C+L;Y=-C*Z/H; $fn=20; color("purple")minkowski(){sphere(C/30);difference() { hull()for(j=[[C/S,0,0],[-C/S,0,0],[0,C,H],[0,-C,H]]) translate(j)sphere(.1); translate([-C,-C,0]) cube([2*C,2*C,L]);}}; for(i=[0,1]) rotate([0,0,180*i])color([i,1-i,0]) minkows...
glb/cad_5db08a6d46ff.glb
Create an Indoor Flight Propeller Mold consisting of two mirrored parts: a male plug and a female cavity. The overall shape is based on a propeller blade with a diameter of 240mm and a pitch of 360mm. The blade profile transitions from a NACA 3500 airfoil at the root to a NACA 8500 at the middle and back to a NACA 35...
mold_label="AeroMartin-2023"; prop_dia=240; pitch_over_dia=1.5; blade_pitch=prop_dia*pitch_over_dia; hub_dia=40; blade_width= 35; blade_width_ratio=blade_width/(prop_dia-hub_dia); max_width_location=0.8; stem_length=50; stem_dia=1.2; stem_location=0.9; mold_choice=-1; mold_thickness=20; mold_wall_thickness=...
glb/cad_4b9c418c6de7.glb
Create a dual flexible name bracelet with a total height of 15mm. The main body is a ring with an inner radius of 28mm and an outer radius of 33mm. Construct the ring by creating two concentric cylindrical shells. The outer shell is a thin wall between the 32.2mm and 33mm radii, and the inner shell is a thin wall bet...
part = "bracelet"; inner_radius = 28; outer_radius = 33; length = 15; nozzlediam = 0.4; sections = 25; text = "Ingegno.be"; text_thickness = 4; use <MCAD/fonts.scad> module test(){ echo("test"); } nozzle = 2*nozzlediam; baseheight = 0.8; r1 = inner_radius; r2 = outer_radius; n = sections; gapin=2*nozzle; g...
glb/cad_538375d906c5.glb
Create an upright laptop stand consisting of a main central body and two identical supporting base units. First, construct the main body as a rectangular block measuring 250mm in length, 40mm in width, and 50mm in height. Carve a central channel through this block by removing a volume that is 250mm long, 33mm wide, and...
module base() { difference() { union() { cube([10,140,5]); translate([0,3,0])rotate([41,0,0])cube([10,70,5]); translate([0,84,46])rotate([-41,0,0])cube([10,70,5]); } translate([0,53.5,5])cube([250,33,45]); } } module stand() { difference() { cube([250,40,50]); translate([0,3.5,5])cube([250,33,...
glb/cad_de6f47982106.glb
Create a Christmas Tree earring by constructing a tapered, spiraling tower. Start with a central axis 20mm high. Create five identical vertical fins, each 0.8mm thick, spaced evenly around the center. Each fin should follow a profile that is widest at the base with a radius of 7.5mm and tapers to a radius of 2mm at the...
number=5; base_diameter=15; height=20; wall=0.8; twist=120; direction=-1; hanger=2; baseplate=1; difference () { tree(number=number,radius=base_diameter/2,height=height,wall=wall,twist=twist,dir=direction); if (hanger==1) { for (i=[0,90]) { translate ([0,0,height*0.94]) rotate ([90,0,i]) scale ([1...
glb/cad_facd81c59387.glb
Create a stylized owl headphone wrapper. Start with a main body formed by the intersection of two cylinders with radii of 125mm and heights of 7mm and 9mm, positioned at [1, 66, 0] and [1, -126, 0] respectively. Refine this body by intersecting it with a cylinder of radius 40mm at [14, -77, 0] and a cube of 60x70x8mm a...
union(){ difference(){ union(){ intersection(){ translate([1,66,0]) cylinder(r=125,h=7,$fn=300); translate([1,-126,-1]) cylinder(r=125,h=9,$fn=300); } intersection(){ translate([1,66,0]) cylinder(r=125,h=8,$fn=300); translate([14,-77,0]) cylinder(r=40,h=8,$fn=100); translate([-14,-65,0]) cub...
glb/cad_5576c5d340ec.glb
Create a stylized owl headphone wrapper. Start with a main body formed by the intersection of two cylinders with radii of 125mm and heights of 7mm, positioned such that their centers are offset along the y-axis at 66mm and -126mm respectively. From this base, remove two rectangular sections measuring 40mm by 60mm by 9m...
union(){ difference(){ union(){ intersection(){ translate([1,66,0]) cylinder(r=125,h=7); translate([1,-126,0]) cylinder(r=125,h=7); } intersection(){ translate([1,66,6]) cylinder(r=125,h=2); translate([14,-77,6]) cylinder(r=40,h=2); translate([-14,-65,6]) cube([60,70,2]); } intersection(...
glb/cad_77ae7f9b1dbb.glb
Create a Borromean rings model consisting of three identical interlocking rings. Each ring is formed by a flat, extruded washer shape with an outer diameter of 30mm, an inner diameter of 28mm, and a thickness of 2mm. Position the first ring flat on the XY plane. Rotate and position the second ring 90 degrees around the...
C=30;D=28;E=.9; module boucle() linear_extrude (C-D) difference() { resize([C,C*E])circle(C); resize([D,D*E])circle(D); } boucle(); rotate([90,0,90]) boucle(); rotate([0,90,90]) boucle();
glb/cad_a57ea04a0b5b.glb
Create a customizable oloid by generating a convex hull between two identical thin cylinders. First, create a cylinder with a diameter of 100mm and a height of 0.1mm, centered on the XY plane and slightly offset along the Z-axis by 0.05mm. Position a second identical cylinder 100mm away along the X-axis, rotated 90 deg...
C=100; D=C; module m() translate([0,0,1/20]) cylinder(1/10,C,C); hull(){ m(); translate([D,0,0]) rotate([90,0,0])m(); }
glb/cad_b6ce5eb9c78d.glb
Create a zipper handle that is 40mm long, 10mm wide, and 3mm thick. Start by forming a central rectangular slab that is 30mm long, 10mm wide, and 3mm thick. On each end of this slab, add a semi-cylindrical cap with a radius of 5mm and a height of 3mm, resulting in a pill-shaped body with a total length of 40mm. On one ...
module zipperhandle(length, width, height, loopwidth) { difference() { union() { cube([length-width, width, height], center=true); translate([-(length-width)/2,0,-height/2]) cylinder(h=height, r=width/2); translate([(length-width)/2,0,-height/2]) cylinder(h=height, r=width/2); ...
glb/cad_2da06bdb9f51.glb
Create a KAIST character model. Start with a head formed by the intersection of three spheres with radii of 10mm, resized to dimensions of 100mm x 35mm x 15mm. Position two small black spheres with a radius of 3mm at the eye positions, located at [22, 4, 1] and its mirror image. For the body, create a hull encompassin...
$fn = 50; winder = false; cut = false; translate([0,0,64.5]) rotate([90,0,0]) difference() { intersection() { union() { translate([0,0,1]) face(winder); color("CornflowerBlue") body(); color("Cornflower...
glb/cad_839c0f2adc5c.glb
Create a GT2 pulley and shaft coupler with an integrated opto-interrupter flag. Start with a central main column post that is 40mm long with an outer diameter of 6.1mm and a longitudinal bore of 6.1mm for the shaft. In the center of this column, construct a 17-tooth GT2 timing belt pulley. The pulley's outer core h...
fn = 50; eps = 0.03; COD = 5.0; CID = 3.2; SSID = 2.9; SSZ = 3.2; CZ = 14; module collar() { difference() { cylinder(r=COD/2, h=CZ, $fn=50); translate([0,0,-eps]) cylinder(r=CID/2, h=CZ+2*eps, $fn=50); translate([0,0,SSZ]) rotate([0,90,0]) cylinder(r=SSID/2, h=CZ+2*eps, $fn=50); ...
glb/cad_9ec0e8abba53.glb
Create an area conversion table for a cubarithm workboard. The model consists of six small spheres, each with a diameter of 1.2mm and a facet resolution of 60. These spheres are arranged in two vertical columns of three, forming a Braille-like cell. In the left column, position the first sphere at (0.6, 5.6, 0), the s...
y (); module point1 (){ translate ([0.6,0.6+5,0]) sphere (d=1.2, $fn=60); } module point2 (){ translate ([0.6,0.6+2.5,0]) sphere (d=1.2, $fn=60); } module point3 (){ translate ([0.6,0.6,0]) sphere (d=1.2, $fn=60); } module point4 (){ translate ([0.6+2.5,0.6+5,0]) sphere (d=1.2, $fn=60); } module point5 (){ transla...
glb/cad_ff5edb0b08e5.glb
Create a spool holder side bracket with a uniform thickness of 6mm. Start with a base rectangular section 26mm wide and 15mm high. Attached to the top of this base, add a second rectangular section 10mm wide and 10mm high. Extend the structure from the outer edge of the base with a long arm that rises at an angle. Th...
grossura_Da_Peca = 6; grossura_Da_Barra_Superior = 7.7; altura_Do_Apoio_Alto = 10; altura_Do_Apoio_Baixo = 15; profundudade_Maxima_Da_Barra_Superior = 26; distancia_Superior_Reta = 50; distancia_Inferior_Reta = 80; tamanho_Da_Aste_Que_Sobe = 110; raio_Do_Furo = 4; borda_Do_Furo_Pra_Fora = 10; borda_Do_Furo_Pra_Cima = 1...
glb/cad_9351d7aa4eaa.glb
Create a Pointy Star by constructing five identical pointed arms arranged symmetrically around a central axis. Each arm is based on a hexagonal pyramid shape that has been scaled to a length of 50mm, a width of 17mm, and a height of 15mm. To form the star, position five of these scaled hexagonal pyramids radiating fr...
cornerCount = 5; starRadius = 50; cornerWidth = 17; cornerHeight = 15; cornerFN = 6; maniFix=0.01; halve=true; useExperimentalTruncation=true; if(halve){ halveStar(); }else{ star(); } module halveStar(){ difference(){ star(); translate([0,0,-cornerHeight]) cylinder(r=1.3*starRadius,h=2*cornerHeight,center=...
glb/cad_ab2b36c1ca55.glb
Create a simple egg stand by starting with a truncated cone that has a height of 14mm, a base diameter of 55mm, and a top diameter of 45mm. This outer shell must be rendered as an octagonal prism rather than a smooth cylinder, using only 8 facets. From this solid shape, remove a central void created by the combination ...
module shell1() { cylinder(h=14, d1=55, d2=45, $fn=8); } module shell2() { cylinder(h=14, d1=45, d2=25, $fn=16); } module eggball() { sphere(d = 45, $fn=60); } module build1() { difference() { shell1(); shell2(); translate([0,0,24]) eggball(); } } build1();
glb/cad_c6912f107d3c.glb
Create a PLA Spool Centre by constructing a central hub with three radiating arms. Start with a central cylinder 10mm high with a radius of 18mm. From this center, extend three rectangular arms, each 15mm wide and 10mm thick, spaced 120 degrees apart. Each arm should extend from the center to a total radius of 60mm; to...
spool_rad=50; spindle_height=10; arm_width=15; module spindle_arm() { union () { translate ([(spool_rad+10)/2,0,spindle_height/2]) { rotate([0,0,5]) cube([spool_rad+10,arm_width,spindle_height],center=true); rotate([0,0,-5]) cube([spool_rad+10,arm_width,spindle_height],center=true); } } } module spindle_b...
glb/cad_91e0c452da42.glb
Create a ring fitting by starting with a sphere 13.5mm in diameter, sliced by two parallel planes to create a centered slab with a total height of 8mm. Attach a cylindrical connector to the side of this slab; the connector must have an outer diameter of 6mm, a total length of 9mm, and a 0.5mm chamfer at the end. Holl...
sphere_diameter=13.5; height_fitting=8; middle_bore = 8; bore_for_flow = 8; offset_for_flow = -3; pipe_diameter = 6; pipe_bore = 3.5; pipe_length = 9; pipe_camfer = 0.5; $fn=90; difference() { union() { intersection() { sphere(d=sphere_diameter); cube([100,100,height_fitting],center=true); } rotate([90,0,0]...
glb/cad_8dd59f17babe.glb
Create an oil pump test bench adapter with a main body consisting of a 42mm cube with a total height of 32.5mm. Center a vertical hole with a diameter of 24mm through the entire block. Add four mounting holes for a stepper motor, positioned at a distance of 31mm from each other in a square pattern. Each of these hole...
$fn=90; height=32.5; senkung=3; dim_stepper = 42; bore_distance_stepper = 31; centering_diameter_stepper = 24; pump_bore_dia = 7; pump_bore_distance = 56; flange_thickness = 10; pump_connection_diameter= 28.4; pump_connection_depth = 3.5; pump_bore_offset = 4; nut_diameter=15; difference() { union() { cube(...
glb/cad_c51e407699a1.glb
Create a connector for an oil pump test bench by starting with a cylinder that has a diameter of 18mm and a height of 13mm, centered on the origin. From this cylinder, remove a central vertical hole with a diameter of 5mm that passes completely through the top and bottom faces. Additionally, remove a rectangular slot f...
$fn=90; height=13; diameter_cylinder=18; width_of_connector = 4; depth_of_connector = 6; difference() { cylinder(d=diameter_cylinder,h=height,center=true); intersection() { translate([0.5,0,0]) cube([5,5,30],center=true); cylinder(d=5,h=30,center=true); } translate([0,0,height/2-depth_of_connector/2]) cube([width_of...
glb/cad_565ed6e4440f.glb
Create a Voxel Heart by combining two mirrored halves. To construct one half, start with a sphere of radius 20mm. Rotate this sphere 45 degrees around the X-axis. Scale the resulting shape by a factor of 1 along the X-axis, 0.7 along the Y-axis, and 1.7 along the Z-axis. To create the heart's characteristic indentation...
scale_x=1; scale_y=0.7; scale_z=1.7; $fn = 100; animation_rotation = false; $vpt = animation_rotation ? [0, 0, 0] : []; $vpr = animation_rotation ? [70, 0, 365 * $t] : []; $vpd = animation_rotation ? 300 : []; easiest_heart([scale_x, scale_y, scale_z]); module half_heart(s) { difference() { rotate([0...
glb/cad_6f828893d858.glb
Create a Sumo Bot Structure Piece by starting with a solid cube measuring 40mm x 40mm x 20mm. From this base, remove a 40mm x 40mm x 17mm cube positioned at coordinates (9.5, 9.5, 3) to create a hollowed-out interior. To accommodate aluminum railings, remove two rectangular slots: one measuring 3.7mm x 40mm x 14mm star...
module frame90() { difference(){ #cube([40,40,20]); translate([3,7,3])cube([3.7,40,14]); translate([7,3,3])cube([40,3.7,14]); translate([9.5,9.5,3])cube([40,40,20]); translate([-1,20,10])rotate([0,90,0])cylinder(r=2.5, h=15, $fn =7); translate([-1,30,10])rotate([0,90,0])cylinder(r=2.5, h=15, $fn =7); translate([20,-1,...
glb/cad_a3820a5a0f90.glb
Create a Sumo Bot structure piece starting with a solid rectangular block measuring 40mm wide, 40mm deep, and 20mm high. Carve out two rectangular channels to create a T-shaped cross-section: first, remove a block 3.7mm wide, 40mm deep, and 14mm high, positioned 3mm from the front and 3mm from the bottom; second, remov...
module frametbar() { translate([9.5,0,0])rotate([0,0,90]){ difference(){ cube([40,40,20]); translate([3,-20,3])cube([3.7,70,14]); translate([7,3,3])cube([40,3.7,14]); translate([9.5,9.5,3])cube([40,40,20]); translate([-1,20,10])rotate([0,90,0])cylinder(r=2.5, h=15, $fn =7); translate([-1,30,10])rotate([0,90,0])cylinder...
glb/cad_9832aa9ecab2.glb
Create a Header Helper tool for PC front panel IO headers. Start by creating a solid rectangular block with a width of 11.16mm, a depth of 6.08mm, and a total height of 16mm. Hollow out the center of this block by removing a smaller rectangular volume from the bottom, measuring 10.66mm by 5.58mm, starting at a height...
hdr_size=2.54+0.1; hdr_height=14; top_height=8; bottom_height=8; thickness=0.5; numx=4; numy=2; cutout=[numx/2,numy]; blanks=[]; difference(){ color("blue") cube([hdr_size*numx+thickness*2, hdr_size*numy+thickness*2, top_height+bottom_height]); color("yellow") translate([thickn...
glb/cad_8772466a608c.glb
Create a USB data killer consisting of two identical rectangular blocks. For each block, start with a solid rectangular prism measuring 24mm wide, 33mm deep, and 20mm high, centered on the origin. Carve out a large central rectangular void measuring 40mm wide, 20mm deep, and 20mm high, centered at the top. Remove a sma...
$fn=50; difference(){ cube([24,33,20],center=true); translate([0,0,20])cube(40,center=true); translate([-9,-27/2,-7])cube([18,27,10]); translate([-12.5/2,0,-1.5])cube([12.5,20,20]); rotate([90,0,0])cylinder(r=2.2,h=20); } translate([30,0,0]) difference(){ cube([24,33,20],center=true); translate([0,0,20])cube(40,cente...
glb/cad_40ed0721d116.glb
Create a mousetrap spring adapter. Start with a main rectangular base measuring 50mm by 50mm with a height of 6mm. Attach a long rectangular extension to the side, measuring 100mm in length, 12mm in width, and 6mm in height. Add two supporting wings to the base, each 50mm long, 6mm wide, and 6mm high, angled outwards a...
module springadapter(){ difference(){ union(){ cube([50,50,6]); translate([48,19,0])cube([100,12,6]); translate([48,3,0])rotate([0,0,20])cube([50,6,6]); translate([48,41,0])rotate([0,0,-20])cube([50,6,6]); } translate([0,7.5,0])cube([36,35,6]); translate([0,7.5,-1])rotate([45,0,0])cube([39,6,6]); translate([...
glb/cad_48a774052a64.glb
Create a CD adapter for a mousetrap car by constructing two concentric cylinders with a central hole. First, create a wide, thin base cylinder with a radius of 15mm and a height of 1mm. Centered on top of this base, add a second, smaller cylinder with a radius of 7.25mm and a height of 2.5mm. Finally, remove a vertical...
module cdadapter() { difference(){ union(){ cylinder(r=7.25, h= 2.5); cylinder(r=15, h= 1); } cylinder(r=2.5, h=4); } } cdadapter();
glb/cad_451e4a233912.glb
Create a customizable petal screw box. Start by creating a cylindrical base with a diameter of 40mm and a height of 3mm. On top of this base, build a hollow cylindrical wall with an outer diameter of 40mm and a wall thickness of 3mm. This wall should extend to a total height of 48mm (the sum of the inner box height of ...
thickness = 3; diam = 40; height = 45; screwh = 45; screw_twist = 100; screwpetals = 3; logotext = "Ingegno.be"; letterheight = 12; part = "box"; reinforce = "yes"; clockwise = "no"; baseh = 3; res = 80; clearance = 0; use <utils/build_plate.scad>; use <MCAD/fonts.scad> build_plate_selector = 0; build_p...
glb/cad_283e0db3bd44.glb
Create a Solder Spool Stand consisting of a base plate and two vertical supports. Start with a rectangular base plate measuring 58mm by 90mm with a thickness of 3mm and rounded corners of 3mm radius. Cut a large rectangular opening from the center of the base, leaving a frame-like border. Construct two identical ver...
$fn=32; x1=58; y1=90; th=3; box_corner_radius=3; x2=52; y2=27; th2=6; bc2=3; sx1=5; sy1=8; sth=x1; str=0.8; x3=28; y3=sx1+0.3; th3=th2+1; sec_r1=5; sec_r2=9.5; sec_h=20; module strut() { P1=[sx1/2-str,sy1/2-str,0]; P2=[sx1/2-str,-sy1/2+str,0]; P3=[-sx1/2+str,-sy1/2+str,0]; P4=[-sx1/2+str,sy1/2-str,0]; ...
glb/cad_9318f61178ff.glb
Create a printable spacer by constructing a hollow cylinder with a total height of 12mm. The outer boundary should be a cylinder with a radius of 3.55mm, defined by 32 facets to create a smooth circular profile. Centered perfectly through the middle of this volume, remove a cylindrical hole with an inside diameter of 3...
spacerh = 12; holeid = 3.2; ID_fn = 32; OD_fn = 32; wall = 1.9; theta = 180.0 / OD_fn; spaceror = (holeid + 2 * wall)/cos(theta) / 2.0; echo( "OD =", 2 * spaceror ); holer = holeid / 2; render (convexity = 1) { spacer(); } module spacer() { difference() { cylinder(h=spacerh, r1=spaceror, r2=spaceror, ...
glb/cad_c0bc2f3f9918.glb
Create a Filament Swatch Book card. Start with a main rectangular card body measuring 90mm wide, 64mm tall, and 1.2mm thick. Round the four corners of the card with a 2mm radius. On the face of the card, add six lines of embossed text, each raised 0.6mm. Position the first line ("Brand Name") at the top with a 7mm fon...
$fn = 30 + 0; Card_Margin_Sides = 6; Card_Margin_Top = 8; Card_Corner_Radius = 2; Star = false; Layer_Heights_Preview = true; Layer_Heights_Step_Height = 8; Bridging_Test = false; Line_Margin = 2.5; Text_Offset = 0.6; Line_1_Position = "Left"; Line_2_Position = "Left"; Line_3_Position = "Left"; Line_4_Posi...
glb/cad_4cf79e318ed5.glb
Create a Customizable Pill Bottle Bracket System consisting of three interlocking hexagonal brackets arranged in a triangle. Each bracket is a flat plate 4mm thick with a central circular hole of 50mm diameter (25mm radius) to hold a pill bottle. The outer boundary of each bracket is a hexagon with a total height of 58...
bracket_to_print = 2; stand_hexes = 2; bot_rad = 25; hex_to_bot = 1; hex_bot_rad = 25; rim = 4; thick = 4; expansion = 1.35; $fn = 100; hex_h = (hex_to_bot == 1) ? ((bot_rad + rim) * 2) : ((hex_bot_rad + rim) * 2); hex_s = hex_h/sqrt(3); hex_d = hex_s * 2; ltri_h = sqrt(3) / 2 * hex_s; ltri_c = hex_s...
glb/cad_955296b8c714.glb
Create a TUSH Spool Holder Base by starting with a solid rectangular block measuring 120mm wide, 150mm long, and 23mm thick. Apply a 2mm fillet to all edges and corners of the block. Carve two identical rectangular slots into the top surface. Each slot must be 14.2mm wide, 127mm long, and 8mm deep. Position the first...
overall_width = 120; extra_spacing_offset = 0; overall_length = 150; overall_thickness = 23; slot_width = 14.2; slot_length = 127; slot_depth = 8; difference() { minkowski() { minkowski() { minkowski() { cube ([overall_width,overall_length,overall_thickness]); cylinder(h=.1, r...
glb/cad_7724187c804c.glb
Create an Oloid by generating the convex hull of two identical disks, each with a radius of 20mm. Position the first disk flat on the XY plane centered at the origin. Position the second disk such that it is rotated 90 degrees around the Y-axis and its center is translated 28.28mm (the radius multiplied by the square r...
form = "full"; radius=20; hole_radius=8; hole_slope= 30; offset_ratio = 1.414; module d(r) { cylinder(r1=r,r2=0,h=eps); } module disk(r){ d(r);rotate([0,180,0]) d(r); } module hole(r,slope) { translate([0,0,-1]) cylinder(r1=r,r2=r+slope,h=100); rotate([0,180,0]) translate([0,0,-1]) cylinder(r1=r...
glb/cad_b250997e8d14.glb
Create a protective case and lid for a timer circuit. The main case is a rectangular box with overall dimensions of 67mm in width, 35mm in depth, and 18.6mm in height. The walls are 6mm thick. Create a central hollow cavity measuring 47mm by 25mm with a floor thickness of 1.6mm, leaving an internal height of 17mm. At t...
use <MCAD/polyholes.scad> show_case = true; show_lid = true; layer_h = 0.4; nozzle_d = 0.4; de = 0.1; P10 = 47; P11 = 15 + 10; P15 = 1.6; P16 = 17; P17 = 2; P20 = 2; P21 = 6; P22 = 3.2; P25 = 3; P26 = 1.5; P30 = P20+5; P31 = 20; P32 = 4.2; assembly(); module assembly() { union() { if (show_case) ...
glb/cad_e4b85f928fa1.glb
Create a Flexy Jingly Bracelet by arranging a series of interlocking cylindrical segments into a circular ring with an inner wrist diameter of 54mm. Each standard segment consists of two concentric cylinders: an outer cylinder with a diameter of 8mm and a height of 10mm, and an inner cylinder with a diameter of 4.4mm a...
wrist_diameter = 54; cylinder_size = 8 ; height = 10; wall_width = 0.8; gap = 2.8; num_struts = 2; include_opening_segment=1; tol = 0.05 + 0; pi = 3.1415926 + 0; radPerDeg = 360 / (2*pi); ring_rad = (wrist_diameter + cylinder_size) / 2; ring_circumf = 2*ring_rad*pi; inside_cyl_dia = cylinder_size-wall_width-g...
glb/cad_f75f6bb45f23.glb
Create a Rod Holder consisting of a cylindrical ring attached to a flat mounting plate. First, construct the ring by creating a hollow cylinder with an outer radius of 22mm, an inner radius of 20mm, and a height of 15mm. Attach this ring to a vertical rectangular plate that is 3mm thick, 20mm wide, and 25mm high. Posit...
difference (){ translate([22,0,0]) cylinder(r=22,h=15); translate([22,0,0]) cylinder(r=20,h=15); } difference (){ holder(); translate([0,0,-5]) rotate([0,90,0]) cylinder(r=3,h=3); translate([0,0,20]) rotate([0,90,0]) cylinder(r=3,h=3); } module holder(){ translate([0,0,-5]) rotate([0,90,0]) cylinder(r=10,h=3); ...
glb/cad_f1a49c7d00cb.glb
Create a Rod Holder consisting of a hollow cylindrical cup and an attached mounting tab. Form the main body as a cylinder with an outer radius of 22mm and a height of 60mm, then remove a concentric inner cylinder with a radius of 20mm and a height of 60mm to create a wall thickness of 2mm. Attached to the side of this ...
difference (){ translate([22,0,0]) cylinder(r=22,h=60); translate([22,0,3]) cylinder(r=20,h=60); } difference (){ holder(); translate([0,0,-10]) rotate([0,90,0]) cylinder(r=3,h=3); translate([0,0,70]) rotate([0,90,0]) cylinder(r=3,h=3); } module holder(){ translate([0,0,-10]) rotate([0,90,0]) cylinder(r=10,h=3)...
glb/cad_28581b948d55.glb
Create a dome by constructing a spherical cap. First, calculate the radius of a sphere such that a horizontal slice creates a circular base with a diameter of 50mm and a total height of 10mm. Position this sphere so that the top 10mm of its curvature forms the dome. To achieve the final shape, remove the bottom portion...
module dome(D,H) { R=D/2; Sphere_Radius = ( pow(H,2) + pow(R,2) ) / (2*H); translate([0,0,-(Sphere_Radius-H)-H/2]) difference() { sphere(Sphere_Radius); translate([0,0,-H]) cube([2*Sphere_Radius,2*Sphere_Radius,2*Sphere_Radius],center=true); } } dome(50,10);
glb/cad_f1f49965821c.glb
Create a coffee mug by constructing a hollow cylindrical vessel. The main body is formed by rotating a profile around a central axis to create a circular wall with a height of 58.02mm. The outer diameter of the vessel is approximately 54mm, while the inner cavity is approximately 48mm, resulting in a wall thickness of ...
translate([-15,0,0]) difference() { rotate_extrude(height = 10, center = false, $fn = 100) { polygon(points=[[26.94,58.52],[26.63,58.85],[26.18,59.03],[25.64,59.09],[25.09,59.03],[24.64,58.85],[24.33,58.52],[24.22,58.02],[24.22,8.59],[24.13,7.7],[23.88,6.87],[23.47,6.11],[22.93,5.46],[22.27,4.92],[21.52,4.51],[20.69...
glb/cad_bd32c13d2600.glb
Create a Yazzonic Rectonic Connector by constructing a cube with a side length of 20.76mm. Through the center of this cube, create three cylindrical holes, each with a radius of 3.97mm, that pass completely through the object along the X, Y, and Z axes. These holes should intersect at the exact center of the cube, crea...
goldenratio = 1.61803399; joinfactor = 0.25; IR = 5/16/2*25.4; OR = (IR * goldenratio)*goldenratio; Length = OR*2; quarterinch = 1/4 * 25.4; eighthinch = 1/8 * 25.4; elbowriser(Length, IR, OR); module OuterSquareInnerCylinder(Length, IR, OR) { OuterSize = OR*2; difference() { cube(size=[OuterSize, OuterSize, ...
glb/cad_280ab871e3e2.glb
Create a Twisted Extruded Triangle by constructing two identical equilateral triangle frames connected by three twisted pillars. First, define the triangle base with a side length of 100mm. Place three spheres with a radius of 10mm at each of the three vertices. Connect these spheres with cylinders of a 10mm radius t...
$fn=36; cl=100; oh=cl; cr=10; sr=cr; iso_angle=60; x_dis=cos(iso_angle); echo("x dis: ", x_dis, " mm"); y_dis=sin(iso_angle); echo("y dis: ", y_dis, " mm"); mx_dis=cos(iso_angle/2); echo("x dis: ", mx_dis, " mm"); my_dis=sin(iso_angle/2); echo("y dis: ", my_dis, " mm"); oxf=-(cl*x_dis); oyf=-1/3*(cl*y_dis); omxf=(cl...
glb/cad_cfc5bb24c37c.glb
Create a Twisted Extruded Triangle by constructing two identical equilateral triangle frames connected by vertical pillars. First, define the base triangle. The triangle's side length is 100mm. Position the triangle so its orthocenter is the origin. Place three spheres with a radius of 10mm at each of the three verti...
$fn=36; cl=100; oh=cl; cr=10; sr=cr; iso_angle=60; x_dis=cos(iso_angle); y_dis=sin(iso_angle); mx_dis=cos(iso_angle/2); my_dis=sin(iso_angle/2); oxf=-(cl*x_dis); oyf=-1/3*(cl*y_dis); omxf=(cl*sin(iso_angle)*mx_dis); omyf=(cl*sin(iso_angle)*my_dis); is=2/3*(cl*y_dis); translate ([0+oxf,0+oyf,0]) rotate ([0,90,0...
glb/cad_d9a337e85020.glb
Create a Twisted Extruded Triangle by constructing a central equilateral triangle frame and adding twisted support columns. First, create the main frame using three "pill" shapes. Each pill consists of a cylinder with a radius of 10mm and a length of 80mm, capped at both ends with spheres of radius 10mm. Position the...
$fn=36; pl=100; oh=pl; cr=10; sr=cr; cl=pl-2*sr; iso_angle=60; x_dis=cos(iso_angle); y_dis=sin(iso_angle); oxf=-(cl*x_dis); oyf=-1/3*(cl*y_dis); mx_dis=cos(iso_angle/2); my_dis=sin(iso_angle/2); omxf=(cl*sin(iso_angle)*mx_dis); omyf=(cl*sin(iso_angle)*my_dis); base = [[0+oxf,0+oyf,0], [cl*x_dis+oxf,cl*y_dis+oyf...
glb/cad_f4e081605cf8.glb
Create a US Surface Mount Outlet Box with outer dimensions of 70mm width, 114mm height, and 28mm depth. The box is primarily a hollow shell with a wall thickness of 2.5mm. Start with a solid block of the outer dimensions and remove a central rectangular volume of 65mm by 109mm by 25.5mm, offset by 2.5mm from the fron...
$fn=25; olM = 0.1; outerThickness = 2.5; depth = 28; height = 114; width = 70; screwSize = 3; screwOffset = 83; module screwTab(thickness) { difference() { cube([11,(5 + (height - screwOffset) / 2),thickness]); translate([5.5,((height - screwOffset) / 2),-olM]) cylinder(h=(thickness + 2 * olM),d=s...
glb/cad_ff362ca6a643.glb
Create a parametric cable organizer as a rectangular block with a total height of 5mm. The overall footprint of the block should be 30mm by 30mm. Within this block, create a 4x4 grid of cylindrical holes, each with a diameter of 5mm and a depth of 5mm. Space these holes so that there is a 2mm gap between each cylinder ...
olM = 0.1; $fn=25; height = 5; cableSize = 5; cableGap = 2; cableAccess = 1; xCt = 4; yCt = 4; union() { difference() { cube([((xCt + 1) * cableGap + xCt * cableSize),((yCt + 1) * cableGap + yCt * cableSize),height]); for (y = [1:yCt]) { for (x = [1:xCt]) { translate([(...
glb/cad_8c0ff574b45f.glb
Create a customizable measuring cup. For a 1/4-cup volume (59.15ml), create a main cylindrical body with a height of 38.98mm and an outer radius of 43.98mm (which includes a 5mm wall thickness). Hollow out the center with a cylinder of radius 38.98mm and height 38.98mm to create the scoop. Attach a handle to the side ...
volume = 59.15; custom_volume_in_milliliters = 15; wall_thickness = 5; handle_width = 15; handle_length = 60; hanger_hole_hole_diameter = 4; handle_thickness = 3 * 1; DETAIL = 50 * 1; module handle(outer_wall_radius, handle_thickness, handle_width, handle_length, hanger_hole_hole_diameter) { difference() ...
glb/cad_4ca6ceb1a2d4.glb
Create a webcam holder consisting of a rectangular base plate measuring 40mm in length, 37mm in width, and 3mm in height. Center a vertical hole with a radius of 1.85mm and a height of 6mm through the middle of the plate. At one end of the plate, create a rectangular cutout measuring 5mm by 21mm by 4mm, centered relati...
clength = 40; cwidth = 37; cheight = 3; tube(); module tube() { difference() { cube([clength, cwidth,cheight], center=true); translate([clength /2 - 3.5,0,2]) cylinder(r=1.85,h=7, center=true, $fn=20 ); translate([0,0,0]) cylinder(r=1.85,h=6, center=true, $fn=20 ); } difference() { translate([cle...
glb/cad_96655ef8d846.glb
Create a webcam holder consisting of a hollow cylindrical tube and a rectangular base. Start by constructing a cylinder with a length of 75mm and an outer radius of 9mm, centered along its axis. Create a longitudinal hole through the center of this cylinder with a radius of 4.5mm to accommodate a 5/16 threaded rod. A...
length = 75; width = 18; rotate (90,[90,0,0]) tube(); module tube() { translate([-10,0,0]) { rotate (90,[90,0,0]) { difference() { rotate (90,[0,1,0]) { translate([0,2,10]) cylinder(r=width/2,h=length, center=true ); } rotate (90,[0,1,0]...
glb/cad_3412b740c001.glb
Create a webcam holder consisting of a main cylindrical tube and a rectangular mounting block. Form the main body by creating a cylinder with a length of 75mm and a radius of 9mm, then remove a smaller concentric cylinder from its center with a radius of 4.5mm to create a hollow tube. At one end of this tube, attach a ...
length = 75; width = 18; rotate (90,[90,0,0]) tube(); module tube() { translate([-10,0,0]) { rotate (90,[90,0,0]) { difference() { rotate (90,[0,1,0]) { translate([0,2,10]) cylinder(r=width/2,h=length, center=true ); } rotate (90,[0,1,0]...
glb/cad_34bf988afc81.glb
Create a set of four corner brackets for a printer wind shield. Each bracket is based on a sphere with a radius of 20mm. For each bracket, remove the bottom half of the sphere by intersecting it with a large cube centered below the origin. Then, carve two perpendicular slots into the remaining hemisphere to hold the en...
metacrilato = 2; pladur = 5.5; module rail_Metacrilato(){ translate([0,-metacrilato/2,1]) color("green") cube([100,metacrilato,100]); } module rail_Pladur(){ translate([-1,-pladur/2,1]) cube([100,pladur,100]); } module _sphere(){ difference() { #sphere(r=20, $fn=100); translate(v=[0,0,-50]) ...
glb/cad_fc13de368645.glb
Create a K250 spool holder extension by constructing a hollow cylinder with an outer diameter of 19mm and a total height of 12.5mm. Remove material from the center to create two concentric internal voids. First, create a large circular hole with a diameter of 16.2mm that penetrates the top of the cylinder to a depth of...
$fn=175; X=0.1; bearing_od=16; bearing_thick=5; screw_head_thick=5; screw_head_od=8.5; thick=1.5; length=bearing_thick+screw_head_thick+thick+1; id2=screw_head_od+2; od=bearing_od+2*thick; difference() { cylinder(r=od/2,length); translate([0,0,length-bearing_thick]) cylinder(r=bearing_od/2+X,length); transla...
glb/cad_f9f201aac898.glb
Create a pill cutting board base by starting with a main cylindrical disk that has a radius of 25.92mm and a height of 3.8mm. In the center of this disk, carve out a pill-shaped void created by the intersection of a cylinder with a radius of 4.8mm and a height of 20mm, and two spheres with radii of 11.1mm centered at Z...
pd=9.6; pt=4.2; pt2=2.6; bg=0.8; gto=2.2; part="base"; pc=(pt-pt2)/2; sp=pd/(tan(2*atan(2*pc/pd))*2)+pd; bh=pt2+(pt-pt2)/2+1; echo(sp); echo(pd+0.4); module pill() { rotate([0,0,0])intersection(){ cylinder(h=20,r=pd/2+0.15,center=true,$fn=48); translate([0,0,-sp+(pt2/2+0.2)])sphere(r=sp+0.2,center=true,$fn=48)...
glb/cad_73c4c2d79cdd.glb
Create a Customizable Rubik's Cube Shapes puzzle based on an octahedron. The overall geometry is derived from a 57mm donor cube mechanism, divided into a 3x3x3 grid of cubies. The target shape is a regular octahedron centered at the origin. To construct the pieces, define the octahedron using six vertices located at [...
displayPuzzle(); part=0; Full_Assembly_Filter=0; Explode_Distance=1; Round_Edges_See_Warning=0; Target_shape=3; Target_Shape_Resolution=6; Target_Shape_Radius_1=40; Target_Shape_Radius_2=40; Cylinder_Height=60; Target_X_Angle=0; Target_Y_Angle=0; Target_Z_Angle=0; Top_Layer_Offset=0; Bottom_Layer_Offset=0...
glb/cad_6fdc8aac1b24.glb
Create a Locking 608 Bearing Bracket by starting with a square block 40mm wide, 40mm long, and 9.8mm high. Round the four vertical corners of the block with a radius of 10mm. In the center of the block, create a cylindrical hole with a diameter of 22mm and a depth of 2.4mm, measured from the top surface. On the top...
render_part=0; render_part=1; hole_widen=0.0; bearing_608_od=22.0+hole_widen; bearing_608_id=8.0; bearing_608_h=7.0; m3_d=3.0+hole_widen; m3_scs_head_h=3.0; m3_scs_head_d=5.5+hole_widen; m3_scs_head_hex_w=2.5; m3_nut_din934_w=5.5+hole_widen; m3_nut_din934_h=2.4; z_bracket_w = 40.0; z_bracket_l = 40.0; z_bracket_h = ...
glb/cad_35c00bb6881e.glb
Create a trefoil knot composed of five overlapping, curved tubular segments, each with a diameter of 5mm. The primary structure is formed by repeating a basic unit consisting of a 100mm long cylinder capped with spheres at both ends. Position the first unit along the Z-axis. Add a second unit of the same dimensions, ro...
C=100;D=5; module b(X){ cylinder(X,D,D); sphere(D); translate([0,0,X])sphere(D); } color("red")b(C); color("orange")rotate([-30,0,0])b(C); translate([-C/2,C/7,C/2])rotate([0,90,0]) { color("blue")b(C*1.07); color("green")rotate([30,0,0])b(C); } color("yellow") translate([0,C*sin(30),C*cos(30)]) rotate(...
glb/cad_20945ee31323.glb
Create a roller carriage for a DLT-180 printer. Start with a central rectangular base measuring 20mm wide, 66mm long, and 9mm thick. On the top surface, center a longitudinal slot 0.95mm wide and 66mm long to accommodate a belt. At each end of the base, construct symmetrical mounting horns. Each horn is formed by a bl...
separation = 40; width = 20; height = 66; horn_thickness = 10; horn_x = 7; horn_y = 20; belt_width = 6+1; belt_x = 6.5; belt_z = 10-1; belt_thickness = 0.95; thickness = belt_z - 1; m3_radius = 3.4/2; m3_nut_w = 5.5+0.3; m3_nut_h = 2.4; module carriage() { difference() { union() { for (x = [-1, 1]) { ...
glb/cad_e4206fcd2448.glb
Create a roller carriage adapter with a base thickness of 7mm. The main body is a central rectangular block 20mm wide and 66mm long. At the two ends of the long axis, add rounded protrusions with a base radius of 8mm. These protrusions transition into truncated cones that rise from the 7mm base to a height of 15mm, tap...
roller_x = 19.5; roller_y = 25; roller_z = 15; base_radius = 16/2; width = roller_x*2 + base_radius*2; height = 66; thickness = 7; carriage_width = 20; center_x = width/2; center_y = height/2; m3_radius = 3.4/2; m3_nut_h = 3.1; m3_nut_w = 5.5+0.2; m6_radius = 6.3/2; shoulder_width = 12; shoulder_radius = width/2-...
glb/cad_b1c8ed89351f.glb
Create a Skate Wheel 80mm model consisting of an outer tire and a central hub. Start by creating the tire as a cylinder with an outer diameter of 82mm and a thickness of 24.1mm. Modify the tire's profile by intersecting it with a sphere of the same radius, flattened along the Z-axis to create a rounded, convex cross-se...
whz = 24.1; whz2 =7.0; whod = 82; whid1 = 18.9; whid2 = 21.9; spokes = 5; srod = 40.52; srid = 26.3; srz = 0.3; hiod = 44.5; shid1 = 12.7; shiro = 25.82/2; snw = 20; snwy = 1.69*2; hrnz = 2.0; fn = 60; eps = 0.03; module one_spoke() { union() { translate([shiro+shid1/2,0,-whz/2]) cylinder(d=shid1, h=whz*2, $fn...
glb/cad_1d93f19553f8.glb
Create a Skate Wheel 80mm model with a total thickness of 24.1mm. Start by creating the main tire body as a cylinder with an outer diameter of 82mm and a height of 24.1mm, but modify the top and bottom faces to be rounded using a sphere with a radius of 41mm. Remove a central core from this tire with a diameter of 44.5...
whz = 24.1; whz2 =7.0; whod = 82; whid1 = 18.9; whid2 = 21.9; spokes = 5; srod = 40.52; srid = 26.3; srz = 0.3; hiod = 44.5; shid1 = 12.7; shiro = 25.82/2; snw = 20; snwy = 1.69*2; hrnz = 2.0; fn = 60; eps = 0.03; module one_spoke() { union() { translate([shiro+shid1/2,0,-whz/2]) cylinder(d=shid1, h=whz*2, $fn...
glb/cad_991170350120.glb
Create a Skate Wheel 80mm model consisting of an outer tire and a central hub. Start by creating the tire as a cylinder with an outer diameter of 82mm and a thickness of 24.1mm. Modify the tire's profile by intersecting it with a sphere of the same radius, flattened along the Z-axis to a scale of 0.43, to give the oute...
whz = 24.1; whz2 =7.0; whod = 82; whid1 = 18.9; whid2 = 21.9; spokes = 5; srod = 40.52; srid = 26.3; srz = 0.3; hiod = 44.5; shid1 = 12.7; shiro = 25.82/2; snw = 20; snwy = 1.69*2; hrnz = 2.0; fn = 60; eps = 0.03; module one_spoke() { union() { translate([shiro+shid1/2,0,-whz/2]) cylinder(d=shid1, h=whz*2, $fn...
glb/cad_ef5669f9667d.glb
Create a tool organizer drawer separator with an overall width of 64mm, a height of 54mm, and a material thickness of 3mm. The main body consists of a central rectangular wall 57mm wide and 54mm high. At the bottom of this wall, add a horizontal rectangular base plate that is 64mm wide, 54mm high, and 13.5mm thick. On...
wi=60; wo=64; h=54; cd=6.3; mt=3; dh=h/4; dw=wi; $fn=50; module inner_wall(){ translate([0,0,h/2]){ cube([wi-mt,mt,h],center=true); } translate([0,0,dh/2]){ cube([dw-mt,mt*2,dh],center=true); } } module outer_half_circle(){ translate([0,0,h/2]){ difference(){ cylinder(r=cd/2+mt,h=h,center=true); ...
glb/cad_92180be555fb.glb
Create a rectangular block for an Arcade1up Midway Legacy Boosted J-block with dimensions of 184.25mm in width, 15.25mm in depth, and 40mm in height. Subtract three horizontal holes from the block to accommodate screws. Position one hole in the center and two others spaced 77mm away from the center on either side. Th...
HEIGHT=40; DEPTH=15.25; WIDTH=184.25; HOLE=5; BARREL_HOLE=8.15; BARREL_OFFSET=3; NUT_HOLE=8; SPACING=77; BARREL_SPACING=65.5; SCREW_OFFSET=-6.35; $fn = 100; module body() { cube([WIDTH, DEPTH, HEIGHT], center=true); } module barrel_hole() { translate([0,2,BARREL_OFFSET]) rotate([-90,0,0]) cylinder(h=DEPTH-2,...
glb/cad_8f4f518f97c5.glb
Create a planetary gear bearing with an outer ring, a central sun gear, and five planet gears. The total assembly has a thickness of 15mm and an outer diameter of 51.7mm. Construct the outer ring as a cylinder with a 15mm height. The interior of this ring must feature internal herringbone gear teeth. Create a central...
D=51.7; T=15; tol=0.15; number_of_planets=5; number_of_teeth_on_planets=7; approximate_number_of_teeth_on_sun=9; P=45; nTwist=1; w=2; solarHoleR=3.2; solarHolePhase=1.0; DR=0.5*1; m=round(number_of_planets); np=round(number_of_teeth_on_planets); ns1=approximate_number_of_teeth_on_sun; k1=round(2/m*(ns1+np)); k= ...
glb/cad_4f0084d7df52.glb
Create a nut holder for M3 nuts by starting with a solid cube that is 7.8mm wide, 7.8mm deep, and 5.0mm high. From the center of the top face, remove a hexagonal prism to create a socket for the nut; this hexagon should have a width of 5.8mm and a depth of 2.4mm, positioned 1.2mm from the top surface. Finally, remove a...
$fn = 128; mirror([0,0,180])translate([0.0,0.0,-5.0]) m3Nut(7.8, 5.0, 5.8, 2.4, 5.0, 3.2); module m3Nut(bSide,bHeight,hWidht,hHeight,pHeight,pDiameter){ difference(){ box (bSide,bHeight); translate([0.0,0.0,1.2]) hex(hWidht,hHeight); pin(pHeight,pDiameter); } } module box(bS,bH){ ...
glb/cad_8504cde74d00.glb
Create a cable organizer by designing a base block 50mm long, 25mm high, and 3.8mm wide. The main body is a rounded rectangular slab with a semi-circular profile. Start by creating a solid volume that is 50mm in length and 25mm in height. Carve a central channel through the length of the object to create a slot for cab...
l= 20; h = 50; w = 3.8; y = 25; dd = 13; $fn = 24; r = 5.5; difference() { linear_extrude(height=y) union() { difference() { hull(){circle(r=r+w); translate([dd,0,0])circle(r=r+w);} hull(){circle(r=r); translate([dd,0,0])circle(r=r);} } polygon([[-r-w,r], [-r-w,r+w+l], [-r,r+w+l],[-r,r+w], [h,r+w], [h,r]]); } un...
glb/cad_c500634da223.glb
Create a drywall screw distance limiter. Start with a main cylinder that has a radius of 11mm and a total height of 13mm. Remove a central conical void from this cylinder; the void should start with a radius of 6.5mm at the bottom and taper to a radius of 4mm at the top. Around the outer perimeter of the main cylinde...
$fn=100; h = 17-4; r11_h=1.5; r11=22/2; r1=13/2; r2=8/2; h_disk = 2; fillet_r=3; with_top_fillet = 0; difference() { union() { cylinder(r=r11,h=h); if ( with_top_fillet == 1 ) { translate([0,0,h-h_disk]) cylinder(r=r11+fillet_r+10,h=h_disk); } } translate([0,0,-0.005]) cy...
glb/cad_5877b5c6a479.glb
Create a Triforce keychain by constructing a solid right triangular prism. The prism should have a length of 25mm, a width of 8mm, and a height of approximately 43.3mm (calculated as 25 * sin(60°)). Orient the prism so that its largest flat triangular face is the front surface. On this face, centered horizontally and p...
$fn = 50; translate([25*sin(60),0,0]) rotate([0,-90,0]) difference(){ polyhedron ( points = [[0,0,50*sin(60)], [8,0,50*sin(60)], [8,-25,0], [0,-25,0], [0,25,0], [8,25,0], ], triangles = [[0,3,2], [0,2,1], [3,0,4], [1,2,5], [0,5,4], [0,1,5], [5,2,4], [4,2,3], ]); # translate([12,0,25*sin(60)]) scale([2,0.4,0.4...
glb/cad_157e073082c5.glb
Create a filament spool arm by constructing a composite geometric shape with a height of 12mm. Start with a base formed by the union of a 60mm by 30mm by 12mm rectangular block and a 26mm by 10mm by 12mm block centered at the origin, joined with a cylinder of 30mm radius and 12mm height centered at x=28. From this vo...
module roundedRect(size, radius) { x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([radius, radius, 0]) circle(r=radius); translate([x - radius, radius, 0]) circle(r=radius); translate([x - radius, y - radius, 0]) circle(r=radius); translate([radius, y - radius, 0]) circle(r=radiu...
glb/cad_7eb91d48e769.glb
Create a filament spool hub designed to hold a central axle and three support arms. Start by creating a central cylindrical body with a total height of 60mm. The core of this body is a hollow cylinder with an inner radius of 6.5mm and an outer radius of 6.5mm plus 4mm, extending to a height of 12mm. Above this base, ad...
use <MCAD/shapes.scad>; $fn=32; module m8Bearing() { difference() { cylinder(h=7,r=22/2); translate([0,0,-1]) cylinder(h=9,r=8/2); } } module m8Washer() { difference() { cylinder(h=1.6,r=16/2); translate([0,0,-1]) cylinder(h=9,r=8/2); } } module m8CapBolt(l=32) { union() { translate([0,0,-7]) differ...
glb/cad_67fc8c532122.glb
Create a Customizable Marble Run track by starting with a cylinder of radius 10mm and length 100mm, oriented along the Y-axis. Flatten the bottom of this shape and the back side to create a trough. Remove a smaller concentric cylinder with a radius of 7mm and a length of 102mm from the center to create the marble path....
l1=100; mr=6.25; md=2; od=10; withMagnets="no"; pinDia=3; pinHoleDepth=5; pinLength=15; perpendicular="false"; backAngle=60; placeOnBuildPlatform="true"; $fn=100; module track(){ difference(){ rotate([0,90,0]) translate([-od,od/2,0]) cylinder(r=od,h=l1); rotate([backAngle,0,0]) translate([-1,-od,-od]) ...
glb/cad_e5b80a406464.glb
Create a V-Slot 20x20 Mounting Bracket by combining two geometric volumes. First, create a rectangular base block that is 15mm wide, 20mm high, and 3mm deep. Attached to the top of this base, create a trapezoidal prism with a height of 20mm. The bottom face of this prism should be 8.3mm wide and sit flush against the b...
module v_slot(l = 1, w = 15, mnt_d = 3) { big_w = 8.3; small_w = 4.5; thk = 1.9; a = big_w/2; b = small_w/2; c = thk; d = 0; linear_extrude(height=l, center=false) { polygon(points = [ [-a,d],[a,d],[b,c],[-b,c]],paths = [[0,1,2,3]]); } translate([-w/2,-mnt_d,0]) cube([w,mnt_d,l]); } v_slot(20);
glb/cad_1b5d0ddcccb2.glb
Create an SMT parts tray by starting with a solid rectangular base measuring 74mm wide, 120mm long, and 20mm high. Carve out 12 identical square compartments, each 20mm by 20mm, arranged in a 3-by-4 grid. The compartments should be positioned in four columns of three, with the center of the grid aligned to the center o...
Hgt = 20; difference() { cube([74,120, Hgt], center = true); translate([ -23,-46, 2]) cube([ 20, 20, Hgt], center = true); translate([ 0, -46, 2]) cube([ 20, 20, Hgt], center = true); translate([ 23, -46, 2]) cube([ 20, 20, Hgt], center = true); translate([ -23,-23, 2]) cube([ 20, 20, Hgt], center = true...
glb/cad_bb0c96278875.glb
Create a battery cover for an LED light starting with a base rectangular plate measuring 21.9mm in width, 16.77mm in depth, and 1.38mm in height. Attach a semi-cylinder to the back edge with a radius of 10.95mm and a height of 1.38mm, creating a rounded rear profile. Add a small rectangular block measuring 21.9mm by 1....
difference() { union() { cube(size = [21.9,16.77,1.38], center = false); translate([21.9 / 2,16.77,0]) cylinder(h = 1.38, r=21.9 / 2); cube(size = [21.9,1.73,3.13], center = false); translate([2,0,2.03]) cube(size = [1.55,2.44,1.1], center = false); translate([18.66,0,2.03]) cube(size = [1.55,2.44,1.1], center = false)...
glb/cad_35555fcce2c3.glb
Create a GT2 Pulley for a Skate Wheel. Start by constructing a pulley with 42 teeth designed for a 6mm wide GT2 timing belt with 2mm teeth. The pulley should have a central bore with a diameter of 22.5mm to accommodate a standard 608 skate bearing. To integrate the pulley with an 80mm inline skate wheel, add a hub ass...
clearance = 0.3; whz = 24.1; whz2 =7.0; whod = 82; whid1 = 18.9; whid2 = 21.9; spokes = 5; srod = 40.52; srid = 26.3; srz = 0.3; hiod = 44.5; shid1 = 12.7; shiro = clearance + 25.82/2; snw = 20; snwy = 1.69*2; hrnz = 2.0; fn = 60; eps = 0.03; module one_spoke() { union() { translate([shiro+shid1/2,0,-whz/2]) c...
glb/cad_cb7756cca675.glb
Create a P3Steel flexible USB LED frame mount consisting of two separate parts: a frame mount and a sliding holder. First, create the frame mount as an inverted J-shaped base. The main body is a block 3mm thick, 32mm wide, and 30mm tall. On the back face, create a horizontal hole for an M3 bolt with a radius of 1.7mm,...
$fn = 32; base_thickness = 3; hole_distance = 13.6; module p3steel_LED_frame_mount() { difference() { translate([23,4,-28.5]) cube([base_thickness+1,32,30]); translate([20,25,-1.5-hole_distance]) rotate([0,90,0]) cylinder(h=10,r=3.4/2); } translate([27,4,-1.5]) cube([base_thickness+0.5,32,3]); transl...
glb/cad_d2ae51c5e237.glb
Create a bit storage inlay by starting with a rectangular base measuring 100mm in width, 30mm in depth, and 10mm in height. Apply a corner radius of 2mm to the base. On the top surface of this base, create a grid of 4 holes arranged in a single row (4 columns and 1 row). Each hole must be a cylinder with a diameter o...
fn=150; xDM=100; yDM=30; zDM=10; columns=4; rows=1; cr=2; bitDM=7.8; bitDeepness=7; bitSides=100; difference(){ bitHoleMatrix(); } module base() { hull(){ translate([-xDM/2+cr,-yDM/2+cr,0.4]) cylinder($fn=fn, h=zDM-0.4, d=2*cr); translate([-xDM/2+cr,yDM/2-cr,0.4]) cylinder($fn=fn, h=zDM-0.4, d=2*cr); tra...
glb/cad_6aaf91146433.glb
Create a headphone S-clip by constructing a continuous, zig-zagging ribbon of material with a uniform thickness of 5mm and a constant height of 20mm. Start with a vertical rectangular segment 50mm wide and 20mm high. From the top of this first segment, extend a horizontal arm 30mm long and 5mm thick. From the end of th...
height=20; thick=5; union() { cube(size=[thick,50,height],center=false); translate(v = [thick, 50-thick, 0]) cube(size=[30,thick,height], center=false); translate(v = [thick+30, 0, 0]) cube(size=[thick,50,height],center=false); translate(v = [thick+30+thick, 0, 0]) cube(size=[30,thick,height],center=false); translate(v...
glb/cad_18dc5ee80afa.glb
Create an M3 Wing nut for a Portabee print bed by constructing a base consisting of a central cylinder with a radius of 7.5mm and a height of 3.2mm, merged with a rectangular block measuring 25mm by 6mm by 3.2mm centered on the cylinder's axis and extending 12.5mm from each side. Cut a hexagonal hole through the center...
union() { difference() { union() { cylinder(h=3.2, r=7.5, center=false); translate([-12.5, -3, 0]) { cube(size=[25,6,3.2]); } }; translate([0,0,-2]) { cylinder(h=6, r=3.4, $fn=6 ); }; } difference() { cylinder(h=1, r=4); cylinder(h=3, r=1.8, $fn=20); } }
glb/cad_3f7144bae509.glb