Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Paste Extruder consisting of a main syringe holder and a rail guide. Construct the syringe holder as a rectangular block with a width of 44.25mm and a length of 70.525mm. Within this block, create a central cavity to house a 10cc syringe with a radius of 11mm. At the base, include a 5mm thick bottom plate wi...
include <MCAD/involute_gears.scad> $fn=40; railX = 10.5; railY = 30; supportOffset = 29; width = 88.5/2; length = 70.525; syringeRadius = 11; nemaWidth = 42.3; nemaHeight = 34; nemaOffset = length-(nemaWidth/2)-3; nemaScrew = 5.4; P = (21 + 2) / (width - 5.5); fittedView(); module printableView() { translate([0,0,...
glb/cad_dd7cf1c0c618.glb
Create a 3D model of an arthropoda-inspired organic form. The shape is constructed as a continuous, segmented body following a specific path of seven coordinate points: [-67.85, 23.31, 77.64], [-64.71, 0.31, 95.03], [-50.77, -16.96, 81.09], [-41.98, -27.00, 44.43], [-51.95, -31.58, -3.16], [-63.39, -33.86, -47.05], and...
V3d = [ [-67.8509, 23.3115, 77.6378,1], [-64.7054, 0.307143, 95.027,2], [-50.7696, -16.9558, 81.0949,3], [-41.9771, -26.9999, 44.4277,3], [-51.9501, -31.5773, -3.16171,3], [-63.3934, -33.86, -47.0519,2], [-60.9717, -35.7994, -74.2041,1], ]; profile = [ [5, 5], [0,6], [-5, 5], [-7,0], [-5, -5], [0,-6]...
glb/cad_2a836a250c3f.glb
Create a 3D model of an arthropod leg composed of a series of connected, tapering segments. The leg is constructed as a continuous chain of hull-shaped volumes that transition in thickness and orientation. Start with a base segment at position [-20, 30, 0] with a thickness of [10, 5, 5]. Progressively add the followin...
Leg = [ [-20, 30, 0,[10,5,5]], [35, 10,0,[7,3,4]], [55, 35,0,[4,6,4]], [200, 200,0, [3,6,3]], [220, 200,0,[3,3,2] ], [250,-50,0,[2,2,2]], [300,-60, 0, [2,1,1]], [350, -55,0,[2,1,1]], [375, -55,0,[2,1,1]], [400, -50,0,[3,1,1]], [450, -70,0,[1,1,1]], ]; profile = [ [5, 5], [0,6], [-5, 5], [...
glb/cad_d505434fedfe.glb
Create a parametric LED matrix holder. Start by creating a solid rectangular base plate with a total width of 50.8mm, a depth of 43.18mm, and a height of 8mm. From this base, remove a central rectangular block to create a hollow frame with walls 1mm thick, leaving a bottom floor that is 1mm thick. Within this floor...
rows=5; columns=7; grid=2.54; led_diameter=5; spacing=3; BasePlateThickness=1; WallThickness=1; height=8; edge_Supports=1; baseX=grid*spacing+(columns*grid*spacing); baseY=grid*spacing+(rows*grid*spacing); baseXinner=(grid*spacing+(columns*grid*spacing))-(WallThickness*2); baseYinner=(grid*spacing+(rows*grid*s...
glb/cad_63201c5e61b7.glb
Create a Mailbox Latch consisting of a mounting plate and a curved hook. Start with a rectangular mounting plate 21.75mm wide by 33mm high with a thickness of 3.5mm. One end of the plate should be rounded with a radius of 10.875mm. On the top surface of the plate, centered width-wise, place two aligned studs. Each stu...
$fa=1; $fs=.7; thickness = 3.5; mount_height=33; mount_width=21.75; stud_distance_from_top = 5; stud_distance_between = 21.5; hook_diameter = 30; hook_radius = hook_diameter / 2; hook_offset = 1.5; stud_base_width=7.8; stud_base_r = stud_base_width / 2; stud_base_height=2; stud_neck_width = 4.8; stud_neck_r = stu...
glb/cad_cd305e4cc17a.glb
Create a parametric bearing pillow block with a total thickness of 13.1mm. The main body is a base plate with a central circular housing to hold a bearing with an outer diameter of 22.2mm and a thickness of 7.1mm. The housing features a lip that is 3mm thick with a 3.5mm internal intrusion to secure the bearing. The ...
$fn = 64; bearing_outer_diameter = 22.2; bearing_thickness = 7.1; mounting_hole_diameter=6; mounting_hole_nut_diameter=11.5; mounting_hole_nut_height=8; bearing_OD_pillowblock_thickness = 6; lip_size = 3.5; lip_thickness = 3; lift = 4; mounting_pad=2; print_endplate = true; end_plate_bolt_diameter = 3; end_plate_t...
glb/cad_74f8f33b3dd9.glb
Create a parametric bearing pillow block designed for a bearing with an outer diameter of 42.4mm and a thickness of 12.1mm. The main body is a base plate with a total thickness of 16.1mm. At the center, create a cylindrical bearing holder with an outer radius of 27.2mm and a height of 16.1mm. This holder features a c...
$fn = 64; bearing_outer_diameter = 42.4; bearing_thickness = 12.1; mounting_hole_diameter=6; bearing_OD_pillowblock_thickness = 6; lip_size = 8; lip_thickness = 2; lift = 3; mounting_pad=2; print_endplate = true; end_plate_bolt_diameter = 3; end_plate_thickness = 2; end_plate_clearance = 0.5; thickness=lip_thickn...
glb/cad_881fb370a7ef.glb
Create a parametric bearing pillow block consisting of three stacked concentric cylinders with a central bore. Start with a central main cylinder 11mm high with a radius of 10mm. On top of this, add a second cylinder acting as a flange with a radius of 12.5mm and a height of 2.2mm. Above that, add a third, wider sealin...
sealing_flange_diameter=38; sealing_flange_height=2; flange_diameter=25; flange_height=2.2; height=11; outer_diameter=20; inner_diameter=8; difference () { union () { cylinder (r=outer_diameter/2,h=height,$fn=32,center=true); translate ([0,0,height/2+flange_height/2]) cylinder (r=flange_diameter/2,h=flange_height,...
glb/cad_5ff5cf3f291d.glb
Create a Z-axis coupler by starting with a main cylinder 30mm tall with an external diameter of 20mm. Split this cylinder vertically down the center with a 0.5mm wide gap to create two symmetrical halves. Remove a central vertical hole from the bottom half of the cylinder with a diameter of 5mm and a depth of 15mm to ...
couplerHeight = 30; couplerExternalDiameter = 20; motorShaftDiameter = 5; threadedRodDiameter = 7.9; screwDiameter = 3.4; screwHeadDiameter = 7; screwThreadLength = 10; nutWidth = 5.7; nutThickness = 3; halvesDistance = 0.5; shaftLen = couplerHeight/2; rodLen = couplerHeight/2; shaftScrewsDistance = motorShaftD...
glb/cad_5e8f90d2a99a.glb
Create a Galatian Star keyring by constructing an eight-pointed star with a total height of 3mm. Form the main body by centering a square with a diagonal of 30mm and overlaying a second identical square rotated 45 degrees. From this combined shape, remove a smaller concentric eight-pointed star created from two squares...
include <keyring.scad>; module galatianstar(outer, inner, height) { function side_from_diag(di) = sqrt(pow(di,2)/2); dimensions = [side_from_diag(outer), side_from_diag(outer), height]; d2 = [side_from_diag(inner), side_from_diag(inner), height]; module star(dimensions, height){ cube(dimensions, center=true); ...
glb/cad_855f86356eb8.glb
Create a Batlamp by combining a sphere and a cylinder. Start with a sphere of radius 7.5mm centered at the origin. Attach a cylinder with a radius of 7.5mm and a height of 5mm, centered vertically at -3.75mm. From this combined volume, remove a central vertical hole with a radius of 2.5mm and a height of 11.25mm, cente...
$fn=20; module example002() { r = 7.5; h = 5; ri=2.5; n = 10; d = 1.15; difference() { union() { sphere(r=r, center = true); translate([0, 0, -r/2]) cylinder(h=r, r=r, center=true); } for (i = [1:n]) { translate([d*r*sin(i*360/n), d*r*cos(i*360/n), 0]) cylinder(r=2, h = 100, center = true...
glb/cad_c15cb53c1c44.glb
Create a bushing adapter by starting with a main outer cylinder that has a height of 23.6mm, a diameter of 14.9mm, and a 24-facet resolution. From this main body, remove a central vertical hole with a diameter of 9mm that runs through the entire height of the object. Additionally, remove a larger cylindrical section fr...
inner_diameter_slop = .4; outer_diameter_slop = .1; length_slop = .4; lm8UU_length = 24-length_slop; lm8UU_diameter = 15-outer_diameter_slop; bushing_length = 10+length_slop; bushing_outer_diameter = 10+inner_diameter_slop; bushing_flange_diameter = 15+inner_diameter_slop; bushing_flange_width = 1; smooth_rod_diameter...
glb/cad_120e70df0a91.glb
Create a square plate for an X580 dome with a total width and length of 29mm and a thickness of 1mm. Round the four corners of the plate with a radius of 4mm. At each of the four corners, center a circular hole with a diameter of 2.5mm. The center of each hole should be positioned exactly 12.5mm from the center of the ...
$fa=5; $fs=0.1; difference() { linear_extrude(height = 1.0) { offset(4) { square(25, center = true); } } translate([12.5,12.5,0]) cylinder(r=1.25,h=1); translate([-12.5,12.5,0]) cylinder(r=1.25,h=1); translate([12.5,-12.5,0]) cylinder(r=1.25,h=1); translate([-12.5,-12.5,0]) cylinder(r=1.25,h=1...
glb/cad_3abb1a761481.glb
Create a Bike Handlebar Plug consisting of a wide circular base and a narrower hollow cylinder extending upwards. Start by creating a solid disc base with a radius of 14mm and a thickness of 3mm. Centered on this base, add a hollow cylinder with an outer radius of 9.5mm and a total height of 20mm. This upper cylinder m...
thickness = 3; rInner=9.5; rOuter=14; height = 20; slitWidth=1.5; slitDepth=8; numSlits=6; difference(){ union(){ cylinder(r=rOuter, h=thickness); cylinder(r=rInner, h=height); } translate([0,0,thickness]) cylinder(r=rInner-thickness, h=height); for(i=[1:numSlits]){ rotate([0,0,i*360/numSlits]) translate([0,...
glb/cad_2010acc4fdbd.glb
Create a mudguard mount by starting with a main body composed of a cylinder with a radius of 10mm and a height of 20mm. Attach a rectangular block to the side of this cylinder, measuring 15mm in length, 20mm in width, and 20mm in height, aligned so the cylinder's center is the block's center. Add a horizontal cylinder ...
r1 = 8; r2 = 10; height = 20; gap = 4; rBolt = 2.5; nut = 8.5; nutDepth=4; rBoltHead=5; boltPos = 15; module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true); } difference(){ union(){ cylinder(h=height, r=r2); translate([0,-r2,0]) cube...
glb/cad_86d9887ae067.glb
Create a 3D sign shaped like a slice of toast. Start by creating a base rectangular block with dimensions 95mm wide, 76mm deep, and 3mm thick. Round the four corners of this base with a 5mm radius. To form the top crust of the toast, add a rounded rectangular extension on top of the base that is 95mm wide and 16mm deep...
Line1_text = "MILF"; Line1_font_size = 20; Line1_x_adjust = 0; Line1_y_adjust = -5; Line1_letter_1_font = "Londrina Outline"; Line1_letter_2_space = .9; Line1_letter_2_font = "Londrina Outline"; Line1_letter_3_space = .8; Line1_letter_3_font = "Londrina Outline"; Line1_letter_4_space = .8; Line1_letter_4_font = "L...
glb/cad_41de1b7d9d83.glb
Create a single-wall cylinder with an outer diameter of 30mm and a total height of 8mm. The model should feature a solid circular base with a thickness of 0.2mm. The walls of the cylinder must have a uniform thickness of 0.55mm, created by removing a concentric inner cylinder with a diameter of 28.9mm from the main bod...
diameter=30; extrusionWidth=0.55; height=8; layerHeight=0.2; rad=diameter/2; $fn=200; union() { translate([0,0,-layerHeight]) cylinder(r=rad, h=layerHeight); difference () { cylinder(r=rad, h=height); translate([0,0,-1]) cylinder(r=rad-extrusionWidth, h=height+2); } }
glb/cad_bc9ab4a72fe0.glb
Create a clip and hook for an elastic strip by starting with a solid rectangular base measuring 24.5mm in width, 19mm in depth, and 3mm in height. From this base, remove three rectangular slots to create the internal geometry. The first slot is a rectangular cutout measuring 3.3mm wide and 13mm deep, positioned 3mm fro...
c = 3; x = 13; wid = 7 * c; dep = x + 2 * c; hei = 3; hhei = 4; module holes() { translate([c, c, 0]) { cube([1.1*c, x, hhei]); } linear_extrude(height = hhei) { polygon(points = [[2*c,c], [2*c, 1.1*dep], [3*c, 1.1*dep], [2*c, c]]); } translate([4*c, c, 0]) { cube([c, x, hh...
glb/cad_407bd8581879.glb
Create a vacuum attachment adapter consisting of two coaxial cylindrical ports connected by a conical transition. First, create the bottom port as a hollow cylinder with a height of 25.4mm. The outer diameter starts at 38.1mm at the base and tapers slightly to 36.5mm at the top. The inner bore of this port is a taper...
in = 25.4*1; hose_id = 1.25 * in; hose_id_min = hose_id - 1/16 * in; hose_od = 1.5 * in; hose_od_min = hose_od - 1/16 * in; hose_2in = 2 * in; port_id = hose_id_min; port_height = 1 * in; case_wall = 1/16 * in; plate_width = 3/16 * in; pin_width = 1/4 * in; tolerance = 1/64 * in; fn = 120; radius = hose_od/PI...
glb/cad_8acc9722550b.glb
Create a sand-powered time piece consisting of two mirrored glass bulbs held between two hexagonal bases by a series of twisted pillars. First, create two hexagonal bases, each 5mm thick. The bases should have a radius that accommodates the pillars and the glass, with slightly rounded edges. Construct five pillars, e...
pillarCount = 5 ; pillarWidth = 5 ; pillarHeight = 60; glassWidth = 50 ; pillarSides = 4 ; glassJunction = 3.25 ; baseHeight = 5 ; rotation = 360 ; wallWidth = .42; pillarSlices = 300; glassPretty = 30; minki = 1.5; part = "All"; ff = .001; module base(){ union(){ minkowski() { translate([0,0,-pil...
glb/cad_fb2754462774.glb
Create a crumpet prop by starting with a cylinder 60mm in diameter and 18mm in height. Remove a ring-shaped channel from the center of the cylinder, 3mm in radius, positioned 3mm from the bottom. To create the porous texture on the top and throughout the body, distribute 300 small vertical holes of varying sizes betwee...
$fn = 100; seed=99; numbHoles=300; random_rot=rands(0,12000,numbHoles,seed); random_dist=rands(1,100,numbHoles,seed); random_size=rands(0.25,1.25,numbHoles,seed); scale([1,1,6])difference() { cylinder(3,30,30,fn=60); translate([0,0,3])rotate_extrude(convexity = 10 ) translate([30, 0, 0]) circle(r = 3); for(i=[0:nu...
glb/cad_b3fc7e8f4cb1.glb
Create a Toothless Grid Square Connector, a cylindrical joint designed to connect wire grid panels. Start with a main cylindrical base with a radius of 30mm and a height of 11mm (calculated as gapwidth 4mm + thickness 2.5mm * 2.5). At the center of the cylinder, create a vertical square hole 8mm wide and 8mm deep, wi...
$fn = 25; gapwidth = 4; thickness = 2.5; radius = 30; fin_height = radius - gapwidth; tooth_r = 1; fd = radius / 2 * sqrt(2); epsilon = 1/4; ball_radius = 5; ball_thickness = 1; wire_radius = 2; bgs_rad = (ball_radius+wire_radius+gapwidth/2) * sqrt(2); module rounded_corner(cr,rr,length) { union(){ rotate_extrud...
glb/cad_a82bc3463b9e.glb
Create a Window Ornament pendant by starting with a flat cylinder 28mm in diameter and 5mm thick, centered on the Z-axis. To create the hanger, add a ring to the side of the disc by extruding a circular shape 5mm thick, with an outer radius of 8mm and an inner radius of 6mm, positioned 28mm from the center. For the d...
include <patterns.scad> mark = 7; union() { hanger(); combine(); } module combine() { translate ([0,0,2.5]) scale([2,2,1]) difference() { cylinder(r=14,h=5,$fn=48,center=true); intersection() { translate([0,0,-2.6]) linear_extrude(height=5.2) rotate([0,0,180]) scale(0.12) p6_343(15); translate([0,0,-2.6]) li...
glb/cad_b958c470426f.glb
Create a Window Ornament pendant consisting of a main circular body and a hanging loop. Start by creating a flat cylinder with a radius of 28mm and a height of 5mm. At the edge of this disc, centered at x=-28, y=0, add a hanging loop created by extruding a ring 5mm thick; this ring is defined by an outer circle with a ...
include <patterns.scad> mark = 7; union() { hanger(); combine(); } module combine() { translate ([0,0,2.5]) scale([2,2,1]) difference() { cylinder(r=14,h=5,$fn=48,center=true); intersection() { translate([0,0,-2.1]) linear_extrude(height=4.2) rotate([0,0,180]) scale(0.12) p6_343(15); translate([0,0,-2.1]) l...
glb/cad_a73e97c2b4c2.glb
Create a silicone cast button pad form. Start with a solid rectangular base block measuring 35mm by 35mm with a height of 13mm. In the center of this block, create a grid of four identical square recessed wells. Each well is formed by three concentric square steps carved into the block. The deepest part of each well ...
rows = 2; cols = 2; translate(v=[-(((rows-1)*15)+35)/2,-(((cols-1)*15)+35)/2,5.5] ){ difference(){ translate(v=[0,0,-5.5] )cube(size=[((rows-1)*15)+35,((cols-1)*15)+35,13]); translate(v=[17.5, 17.5,0]) union(){ translate(v=[((rows-1)*15), ((cols-1)*15),2.5]) translate(v=[13,13,5.5] )scale([1/10, 1/10, 1/10]) sphere(3...
glb/cad_731b6d01a582.glb
Create a casting form for a silicone button pad. Start with a solid rectangular base measuring 35mm by 35mm with a height of 3mm. Within this base, create a 2x2 grid of square protrusions. Each protrusion consists of three stacked concentric squares centered at 15mm intervals. The bottom layer of each protrusion is a...
rows = 2; cols = 2; translate(v=[-(((rows-1)*15)+35)/2,-(((cols-1)*15)+35)/2,0] ){ difference(){ union(){translate(v=[0,0,0] )cube(size=[((rows-1)*15)+35,((cols-1)*15)+35,3]); translate(v=[17.5, 17.5,0]) union(){ translate(v=[((rows-1)*15), ((cols-1)*15),0]) translate(v=[13,13,3] )scale([1/10, 1/10, 1/10]) sphere(25)...
glb/cad_09a2f6c1a84e.glb
Create a Looping Louie Autopilot assembly consisting of four distinct components: a servo mount, a servo coupler, a notch, and a notch mount. First, create the servo mount as a rectangular base measuring 60.5mm by 23mm by 3.5mm. Remove two vertical cylindrical holes with a radius of 8mm and a height of 1.7mm, position...
$fn=100; print_plate(); module 3d_view(){ rotate([-90,0,0]) servo_mount(); translate([30,-8,15]) rotate([270,-20,0]) servo_coupler(); translate([80,15,15]) rotate([180,0,-90]) notch(); translate([4,15,0]) rotate([0,0,180]) notch_mount(); } module print_plate(){ translate([0,0...
glb/cad_5f0b1058de79.glb
Create a toast stamp consisting of a base plate and raised mirrored text. Start by creating a rectangular base 95mm wide, 76mm deep, and 3mm thick, with rounded corners (5mm radius). Extend the back edge of the base with a 16mm wide strip of the same thickness, also featuring rounded corners. On the top surface of the...
Line1_text = "LOVE"; Line1_mirror = "Yes"; Line1_font_size = 20; Line1_x_adjust = -7; Line1_y_adjust = 16; Line1_letter_1_font = "Dancing Script"; Line1_letter_2_space = .9; Line1_letter_2_font = "Dancing Script"; Line1_letter_3_space = .9; Line1_letter_3_font = "Dancing Script"; Line1_letter_4_space = .9; Line1_l...
glb/cad_113cdfab919f.glb
Create a round knitting loom consisting of a circular frame and several vertical pins. Start by constructing the frame as a hollow cylinder with a height of 5mm, an outer diameter of 45mm, and an inner diameter of 35mm. Distribute 25 vertical pins around the loom. Place 24 pins evenly spaced along the center line of ...
$fn=20; roundLoom(frameHeight = 5,frameDiam = 40, frameWidth = 5, nPins=6, pinHeight=10,pinDiam=4, addKnobs=true,knobDiam = 6, addSide=true,sideHeight=8); module roundLoom(frameHeight=5,frameDiam = 40,frameWidth=5, nPins=24,pinHeight=10,pinDiam=4, addKnobs=true,knobDiam=6, addside=true,sideHeight=10) {...
glb/cad_5ea390e2b344.glb
Create a G4 LED Lamp Box consisting of a main container and a separate lid. The main box is a rectangular prism with dimensions 35mm length, 30mm width, and 20mm height. All exterior vertical corners must be rounded with a radius of 4mm. The walls are 2.5mm thick. The interior is hollowed out, leaving a floor of 2.5mm....
width = 30; length = 35; height = 20; wall_thickness = 2.5; lamp_offset = 23; lamp_height = 10; lamp_width = 6.4; lamp_radius = 3.9; switch_offset = 10; switch_radius = 3.1; cable_radius = 2.0; lidhole_radius = 1.5; edge_roundness = 4; tolerance = 0.3; $fn = 20; inner_box_dimensions = [length,width,height]; mod...
glb/cad_39a28123b1ae.glb
Create a pulley wheel for a rear derailleur with a central bearing bore and ten outer teeth. Start with a central cylindrical base 7mm high with a radius of 12mm, topped by a 2.5mm thick flange that transitions from a 14.5mm radius down to 12mm. Above this, add a 1.5mm thick disc with a radius of 20.75mm, positioned 2....
$fn=60; module main_base(){ union(){ translate([0,0,2.5]) cylinder(r=20.75,h=1.6); cylinder(r=12,h=7); cylinder(r1=12,r2=14.5,h=2.5); translate([0,0,4.5]) cylinder(r2=12,r1=14.5,h=2.5); translate([0,0,1]) cylinder(r1=7,r2=20.71,h=1.5); translate([0,0,4.1]) cylind...
glb/cad_8d5134ead3a1.glb
Create a brush stand by first constructing a U-shaped base. Form this base using three rectangular blocks, each 6mm thick: one central block measuring 50mm by 70mm, and two side blocks measuring 50mm by 52mm and 50mm by 60mm, positioned to create a solid frame. From this combined structure, carve out a central void to ...
$fn = 30; module body(){ translate([0,1,0]){ rotate([90,0,0]){ cube([50,52,6]); } } cube([50,70,6]); translate([0,74,0]){ rotate([90,0,0]){ cube([50,60,6]); } } } module cutOut(){ translate([25,-11,30]){ sphere(r = 19); } translate([12,-6,35]){ cube([26,10,20]); } translate([6,-6,52]){ ...
glb/cad_cd5890705a44.glb
Create a custom lidded box consisting of a main container and a separate lid. For the container, create a rounded rectangular prism with overall dimensions of 107.95mm in length, 95.25mm in width, and 69.85mm in height, using a corner radius of 10mm. Hollow out the center of this prism to create a wall thickness of 1mm...
$fs = 0.1; $fn = 200; length = 107.95; width = 95.25; height = 69.85; radius = 10; doubleRadius = 2*radius; translate([10,10,0]) { difference() { roundedBox(length, width, height, radius); translate([1,1,1]) { roundedBox(length-2, width-2, height-1, radius); } } } translate([leng...
glb/cad_77a399658d1c.glb
Create a Hardhat Flashlight Clip with a total width of 30mm. The main body is based on a concentric ring structure with a wall thickness of 2mm. The inner diameter of the clip is 21.2mm, and the outer diameter is 25.2mm. The clip is an open-ended cylinder, partially cut away to allow for insertion. On the open side, ...
clip_width=30; diam=21.2; thickness=2; release_tab_length=5; locking_clip_angle=15; locking_clip_reach=13; locking_clip_barb_size=2; module insertion_tabs() { polygon(points=[[0,0],[50,50*sqrt(3)],[50,-50*sqrt(3)]],path=[[0,1,2]]); } module insertion_tabs_trim() { translate([(thickness/2)*sqrt(3),0]) { polygon(...
glb/cad_65510baa24e5.glb
Create a Leitz paper size adjuster tool. Start with a rectangular base measuring 135mm in length, 12mm in depth, and 5mm in height. Hollow out the center of this base, leaving a wall thickness of 1.5mm on the sides and a 2mm gap from the top and bottom faces. Round the edges of the base with a 1.5mm radius along the l...
$fn = 70; LENGTH = 135; DEPTH = 12; HEIGHT = 5; LABELS = 1; translate([2,DEPTH,HEIGHT]){ rotate(a=180,v=[1,0,0]){ difference(){ base(); union(){ roundingv(); roundingh(0); roundingh(1); translate([30,0,0]){ cut(); emboss("88"); } t...
glb/cad_e5711e7733f7.glb
Create a customizable bookmark consisting of a thin rectangular tag and a thicker square head. First, construct the tag as a rectangular plate measuring 15mm wide and 50mm long with a thickness of 0.5mm. Center the text "I ♥ U" on the surface of this tag, carving the characters out of the material so they appear as h...
text = "I ♥ U"; lenght = 50; thick = 0.5; head_thick = 1; head_height = 1; rotation = 0; image = "img.png"; tag_color = "Crimson"; head_color = "Olive"; image_scale = 1/15; imgs = 1/4; customizer = 1; over = 0.2; width = 15; gap = 2; head = width; hsize = (width-(2*gap)); vsize = (lenght-gap)/(len(text))...
glb/cad_191a4eb7eb44.glb
Create a dial indicator backplate by starting with a main circular disk that has a radius of 25mm and a height of 2mm. In this disk, create three screw holes, each with a radius of 1mm and a depth of 2mm. Position these holes at a distance of 22.5mm from the center, spaced evenly apart at 120-degree intervals (specific...
$fn = 70; RADIUS = 25; SCREWRADIUS = 0.5; difference(){ cylinder(r = RADIUS,h=2); screwholes(); } connector(); module screwholes(){ rotate(a=-60, v=[0,0,1]){ screw(); } rotate(a=60, v=[0,0,1]){ screw(); } rotate(a=180, v=[0,0,1]){ screw(); } } module screw(){ ...
glb/cad_6c6f91e1831f.glb
Create a solder dispenser designed to hold a 60mm diameter spool. Start by constructing the main body as a hollowed-out semi-cylindrical trough. The outer shell should be 62mm wide, with a cross-section based on a 60mm diameter circle. The bottom of the body is flattened to create a stable base, achieved by intersectin...
$fn = 120; w = 62; d = 60; h = d/4; t = 1.2; base_d = 40; cut_angle = 30; cut_offset = 5; holder_w = 18; core_dia = 14; core_len = 2.2; module body() { module outer(){ rotate([cut_angle,0,0]) intersection(){ rotate([0,90,0]) cylinder(r=d/2,h=w,center=true); translate([0,0,-(d/4+1)]) cube([w+2,d+2,d/2+2+cut_o...
glb/cad_f92091a3a626.glb
Create a Parametric Card Holder consisting of a base plate and four surrounding walls. Start with a central rectangular base plate measuring 72mm by 97mm with a thickness of 3mm, centered on the origin. Subtract two low-resolution cylinders (radius 31.5mm) from the top and bottom edges of the plate to create concave cu...
card_x = 63; card_y = 89; show_logo = "no"; show_text = "yes"; line_1_text = "Cards"; line_2_text = "Against"; line_3_text = "Humanity"; line_1_offset_x = -7*(len(line_1_text)/2); line_2_offset_x = -7*(len(line_2_text)/2); line_3_offset_x = -7*(len(line_3_text)/2); line_1_offset_y = 10; line_2_offset_y = -5; line_3_...
glb/cad_49ea804d32c9.glb
Create a twisted pot with a height of 80mm and a wall thickness of 1mm. The base shape is a square with a side length of 30mm, which is extruded upwards to the full height. During the extrusion process, apply a 90-degree twist to the geometry. The corners of the square should be rounded with a radius of 20mm. To create...
twist = 90; height = 80; side = 40; thick = 1; holes = 1; holes_thick = 5; poly = 30; size = side+20; fn = poly; difference() { twistPot(height,size/2,side/2,thick,twist); if(holes==1) { color("red") randomHoles(height,holes_thick,thick,size); } } module randomHoles(height,d,base_thick,size) { unio...
glb/cad_ee44f0e2678c.glb
Create a part for a Danboard helmet by starting with a central rectangular block measuring 46mm in width, 31mm in depth, and 29mm in height, centered on the origin. Remove a small rectangular section measuring 3mm by 3mm by 10mm, also centered on the origin but shifted 11mm down along the Y-axis and 9.5mm down along th...
eyelength = 30; union(){ cube([46,31,29],true); translate([-24.5,-11,-9.5])cube([3,3,10],true); translate([ 8,-30.5,2.5])rotate([90,0,0])cylinder(eyelength,2.5,2.5,true,$fn=20); translate([-8,-30.5,2.5])rotate([90,0,0])cylinder(eyelength,2.5,2.5,true,$fn=20); translate([0,0,-39.5])cube([80,31,5...
glb/cad_1affb0671aaa.glb
Create a male and female pair of customizable screw threads, each 10mm in height with a 10mm diameter. For the male thread, generate a helical shape by sweeping a trapezium profile—defined by the points [1,0], [0,0.25], [0,0.75], and [1,1]—around the cylinder. The profile should protrude and recess relative to the 10mm...
profile = [[1,0],[0,0.25],[0,0.75], [1,1]]; pitch = 1; diameter = 10; height = 10; fa = 10; $fa = fa*1; translate([-diameter/2-2,0,0]) thread(profile=profile, pitch=pitch, diameter=diameter, height=height); translate([diameter/2+2,0,0]) difference() { cylinder(d=diameter+1.01, h=height-0.02); translate([0,0,-...
glb/cad_5337fabcc91f.glb
Create a Toy Car Gravity Ramp consisting of a base, side walls, and a small toy car. Use a material thickness of 12mm for all structural components. Construct a rectangular base 180mm long and 60mm wide. Cut two longitudinal slots into the base, each 12mm wide, positioned 12mm from the edges. Create two side walls, e...
flat=1; ramps = 1; ramppp=3; material_t = 12; height_of_ramp = 180; length_of_ramp = 180; width_of_ramp = material_t * 5; drop_gap_between_slides = material_t * 3; slide_hole_l = material_t * 2; inset_slot_1_x = material_t; inset_slot_2_x = length_of_ramp - material_t - material_t; base_slot_width=width_of_ramp - ...
glb/cad_37911b7698fb.glb
Create a chalk holder by starting with a tapered cylinder that is 82mm tall, centered on the origin, with a bottom radius of 7.5mm and a top radius of 8.5mm. Hollow out the center by removing a smaller tapered cylinder of the same height, which has a bottom radius of 4.5mm and a top radius of 5.5mm, shifted 3mm downwar...
difference() { cylinder (r1=7,5, r2=8.5, h=82, center=true, $fn=50); union() { translate([0,0, -3 ]) cylinder (r1=4,5, r2=5.5, h=82, center=true, $fn=50); difference() { translate([0,0, -11 ]) cube([20,3,62], center=true); union() { rotate([0.5,0,0]) translate([0,-2.5, -11 ]) cube([...
glb/cad_ce35944309ff.glb
Create a chalk holder by starting with a main outer cylinder that has a height of 82mm, a bottom radius of 8mm, and a top radius of 9mm. Hollow out the center of this cylinder by removing a smaller internal cylinder with a height of 82mm, a bottom radius of 5mm, and a top radius of 6mm. Create a vertical slot for chalk...
difference() { cylinder (r1=8, r2=9, h=82, center=true, $fn=50); union() { translate([0,0, -3 ]) cylinder (r1=5, r2=6, h=82, center=true, $fn=50); difference() { translate([0,0, -11 ]) cube([20,3,62], center=true); union() { rotate([0.5,0,0]) translate([0,-2.5, -11 ]) cube([20,3,62]...
glb/cad_e096c96032e2.glb
Create a parametric electronics enclosure called the Ultimate Box Maker. The main body is a rounded rectangular shell with a length of 80mm, width of 60mm, and height of 30mm, featuring a wall thickness of 2mm and corner radii of 2mm. The shell is an open-top box with a hollowed interior. On the side walls, create a ...
BPanel=1; FPanel=1; PHolder=1; BShell=1; TShell=0; Text=1; Holes=1; VHoles=1; Holewdt=1; PCBFix=1; PCBHight=10; PCBLength=44.2; PCBWidth=44.2; PCBThick=1.6; ShowPCB=1; txt = ""; TxtSize = 3; Police="Arial Black"; Length = 80; Width = 60; Height = 30; Round = 2; Resolution = 50; Th...
glb/cad_a2c0a5a5feb1.glb
Create a MultiWii Pro anti-vibration mount consisting of a flat base plate with a central rectangular cutout. Start by creating a solid rectangular plate 80mm wide, 60mm deep, and 2mm thick, with rounded corners. In the center of this plate, remove a rectangular section measuring 41mm by 31mm to create a hollow frame. ...
$fa=5; $fs = 0.1; translate([0,35,0]) cylinder(r = 2.5, h=5); translate([0,-35,0]) cylinder(r = 2.5, h=5); translate([45,0,0]) cylinder(r = 2.5, h=5); translate([-45,0,0]) cylinder(r = 2.5, h=5); translate([0,32.5,1]) cube([5,5,2], center=true); translate([0,-32.5,1]) cube([5,5,2], center=true); translate([42.5,0,1])...
glb/cad_4097ceeb9481.glb
Create a bubble maker consisting of a circular ring attached to a rectangular handle. Start by creating a flat cylinder with a radius of 14mm and a height of 2mm. Remove a smaller concentric cylinder from the center with a radius of 12mm and the same 2mm height to create a hollow ring with a wall thickness of 2mm. Atta...
thickness = 2; radius = 14; length = 50; $fn = 50; difference () { union () { cylinder (r = radius, h = thickness, center = false); translate ([0, -thickness / 2, 0]) { cube ([length + radius, thickness, thickness]); } } cylinder (r = radius - thickness, h = thickness, center = false); }
glb/cad_fef4b346dffb.glb
Create two mirrored motor covers for a CNC Y-motor pulley assembly. Each cover consists of a flat face and perpendicular side walls with a uniform thickness of 1.5mm. The face of the cover is a flat polygon defined by the vertices [0,0], [170,0], [170,35], [88,35], [88,75], [40,75], [0,20], and [0,0]. Extrude side wa...
$fn=60; thk=1.5; cutout=88; coverheight=25; module cover(rot,disp) { difference() { union() { linear_extrude(height=thk) rotate([rot,0,0])polygon(points =[ [0,0],[170,0],[170,35],[cutout,35],[cutout,75],[40,75],[0,20],[0,0] ...
glb/cad_94526cb94f40.glb
Create a 1 1/8" wrench tool with a total thickness of 26.4mm. The central handle is a rectangular bar 29mm wide and 130.5mm long, with a thickness of 12mm. Carve a large circular cutout from the sides of the handle with a radius of 143.55mm to create a tapered profile. At each end of the handle, add a circular wrench ...
include <shapes.scad> $fn = 12; nut_diameter = 29; nut_thickness = 22; bar_thickness = 12; wrench_thickness = 1.2 * nut_thickness; wrench_length = 4.5 * nut_diameter; wrench_head_extra_d = 1.2 * nut_diameter; cutout_radius = wrench_length * 1.1; module wrench_head(thickness, nut_d, head_extra, open_ended) { diffe...
glb/cad_be295a56989f.glb
Create a snowman figure by stacking three spheres of decreasing size along a central vertical axis. Place the largest sphere at the bottom with a radius of 20mm, centered at a height of 21mm. Position a medium sphere with a radius of 15mm directly above it, centered at a height of 45mm, and a small sphere with a radius...
translate([0,0,21]) sphere(20,$fn=60); translate([0,0,45]) sphere(15,$fn=60); translate([0,0,65]) sphere(10,$fn=60); translate([0,0,70]) cylinder(h=2,r=15); translate([0,0,72]) cylinder(h=15,r=10); translate([0,10,40]) rotate([-50,0,0]) cylinder(h=25,r=1,$fn=60); translate([0,-10,40]) rotate([50,0,0]) cylinder(h=25,r=1...
glb/cad_393eb462f55f.glb
Create a MakerGear X-carriage 40mm fan mount consisting of two identical mirrored clips joined at a central point. For each clip, start with a base consisting of a cylinder with a radius of 14mm and a height of 4mm. Hollow out this cylinder by removing a concentric inner cylinder with a radius of 10.9mm and a height of...
fan_angle = 45; fan_clip(); translate([0,40,0]) mirror([1,0,0]) fan_clip(); module fan_clip() { rotate([0,0,-fan_angle]) difference() { union() { translate([-4,8.5,0]) cube([8,8,4]); translate([-4,11.5,0]) cube([8,5,12]); } translate([0,20,8]) rotate([90,0,0]) cylinder(r=3.5/2, h=15); }...
glb/cad_d33b926c04b9.glb
Create a 3D model consisting of three distinct extruded polygonal sections joined together. First, create a flat base plate by extruding a polygon to a height of 2mm. The polygon vertices for this base are [5,0], [15,0], [15,-5], [25,-5], [25,0], [35,0], [35,-15], and [5,-15]. Second, create a taller wall section by...
module module1() { color ([0.8,0.2,0.6]) { linear_extrude( height = 2, center=false, convexity = 10, twist = 0, $fn = 10) polygon(points = [ [5.00,0.00] ,[15.00,0.00] ,[15.00,-5.00] ,[25.00,-5.00] ,[25.00,0.00] ,[35.00,0.00] ,[35.00,-15.00] ,[5.00,-15.00] ] ,paths = [ [0,1,2,3,4,5,6,7]] ); } ...
glb/cad_2bf99e788411.glb
Create a Customizable Flag Wall Mount consisting of a base plate and four protruding tubes. Start with a rectangular base 55mm wide, 50mm high, and 3mm thick. Round the corners with a 5mm radius and apply a taper to the overall width and height of the base by 85%. Center a single screw hole through the base with a 2....
base_width=55; base_height=50; base_corner_radius=5; taper_width_pct=85; taper_height_pct=85; base_thickness=3; number_of_screws=1 ; screw_diameter=2.5; screw_taper_diameter=5; screw_taper_thickness=1.5; screw_margin=5; tube_number=4; min_tube_horiz_angle = 45 ; tube_diameter=5; tube_angle=45; tube_length...
glb/cad_a06d50d6b308.glb
Create a Cat Deterrent plate by starting with a square base measuring 100mm by 100mm with a thickness of 1mm. On this base, place a grid of 45 conical spikes. Each spike should have a bottom radius of 3mm, a top radius of 0.5mm, and a height of 12.7mm. Arrange these spikes in 5 rows of 9; the spikes should be positione...
$fn = 36; module solid() { union() { cube([100,100,1.0]); for(x = [0:9], y = [0:4]) translate([5+(x*10),15+(y*20),0.6]) cylinder(r1=3,r2=0.5, h=12.7); } } module holes() { union() { for(x = [0:2], y = [0:4]) translate([3+15+(x*32),5+(y*20),0.6]) cube ([...
glb/cad_22a38622185d.glb
Create an endstop holder for a micro switch. Start with a base composed of a cylinder with a radius of 7.15mm and a height of 10mm, using 20 facets. Merge this with two rectangular blocks: one measuring 15.5mm by 14.3mm by 10mm positioned at the cylinder's center, and another measuring 35mm by 4mm by 10mm extending fro...
include <configuration.scad> module endstop(){ outer_diameter = m8_diameter/2+3.3; screw_hole_spacing_x = 22.2; screw_hole_spacing_z = 10.3; opening_size = m8_diameter-1.5; difference(){ union(){ translate([outer_diameter, outer_diameter, 0]) cylinder(h =10, r = outer_diameter, $fn = 20); translate([outer_diame...
glb/cad_502c9d869b78.glb
The provided image is a blue, stylized spiral or swirl on a white background. It resembles a simplified representation of a galaxy, a shell, or a decorative flourish. The line thickness varies, giving it a hand-drawn or organic feel.
target_width = 100.000000; target_depth = 1.000000; module image(sx,sy,sz) { scale([sx, sy, sz]) polyhedron(points = [ [4.000000,123.000000,0.000000], [4.000000,123.000000,1.000000], [5.000000,124.000000,0.000000], [5.000000,124.000000,1.000000], [5.000000,123.000000,0.000000], [5.000000,123.000000,1.000000], [6.0000...
glb/cad_8164f329391c.glb
Create a parametric seed box rack consisting of a backplane and a grid of interlocking storage cells. Use a material thickness of 4mm for all components. The rack is defined by a grid of 4 boxes horizontally and 3 boxes vertically. Each individual cell has an inner width of 50mm, an inner height of 40mm, and an inner ...
th = 4; sz = 30; sx = 50; sy = 40; nx = 4; nz = 3; ksw = 8; exploded(); gx = (sx+th)*nx+th; gy = (sy+th); gz = (sz+th)*nz+th; module xyShape() { difference() { cube([gx,gy,th]); for (i=[0:nx-1]) translate([i*(sx+th),sy,0]) union() { cube([(sx-ksw)/2+th,th,th]); translate([(sx+ksw)/2+th,0,0]...
glb/cad_b5f455ddbde6.glb
Create a rounded cube with overall dimensions of 120mm in length, 60mm in width, and 30mm in height. Every edge and corner of the cube must be rounded with a consistent radius of 10mm. To achieve this, construct the central core using three intersecting rectangular prisms: one measuring 100mm by 40mm by 30mm, one measu...
module rounded_cube(sx,sy,sz,r) { union() { translate([r,r,0]) cube([sx-2*r,sy-2*r,sz],false); translate([r,0,r]) cube([sx-2*r,sy,sz-2*r],false); translate([0,r,r]) cube([sx,sy-2*r,sz-2*r],false); translate([r,r,r]) rotate(a=[0,90,0]) cylinder(h=sx-2*r,r=r,center=false); translate([r,sy-r,r]) rotate(a=[0,9...
glb/cad_2b8feb071f49.glb
Create a Parametric Spice Clip Rack consisting of a vertical backplate and three identical circular clips. The backplate is a rectangular slab 1.5mm thick and 10mm high. Each clip is constructed by starting with a cylinder of 44.5mm outer diameter and 10mm height. From this cylinder, remove a central cylinder of 41.5...
circle_polys = 100; inner_diameter = 41.5; lip_diameter = 36.5; thick = 1.5; clip_space = 0; nib_ratio = 1.5; height = 10; num_clips = 3; $fn=circle_polys; outer_diameter = inner_diameter+2*thick; max_diameter_diff = (outer_diameter-lip_diameter)/2; width = outer_diameter + thick*2 + clip_space; total_width = ...
glb/cad_3047831b7454.glb
Create a Customizable Pickle Fork Slingshot with a total depth of 20mm. Start by constructing a rounded handle that is 50mm wide at the base and 30mm wide at the top, with a length of 35mm. The handle should have a rounded profile with a corner radius of 6mm. In the center of the handle's base, add a lanyard hole with ...
DEPTH = 20; CORNER_RADIUS = 6; ROUND_HANDLE = "true"; HANDLE_LENGTH = 35; HANDLE_TOP_WIDTH = 30; HANDLE_BOTTOM_WIDTH = 50; LANYARD_HOLE_RADIUS = 6; LANYARD_HOLE_ROUNDING = 6; FORKS_LENGTH = 65; FORKS_OUTER_WIDTH = 60; FORK_GAP = 15; GROOVE_DEPTH = 2; GROOVE_WIDTH = 5; module fork_left() { fork_width = (FOR...
glb/cad_290bd193fa61.glb
Create a drawer rail by starting with a rectangular base measuring 240mm in length, 15mm in height, and 8mm in depth. Center the base on the origin. Add two cylindrical pins to the top surface of the rail, each with a radius of 2.5mm and a height of 10mm. Position these pins so they are spaced 193mm apart, centered alo...
cube([240, 15, 8], center=true); for (x=[-193/2, 193/2]) { translate([x,0,4]) cylinder(r=5/2, h=10); }
glb/cad_0828be4c02fd.glb
Create a bottom cover for a W1209 device. Start with a rectangular base plate measuring 55mm in width, 47mm in depth, and 2mm in height, centered on the origin. At each of the four corners of the plate, construct a mounting pin. Each pin consists of a main cylindrical shaft with a diameter of 3mm and a total height o...
$fn = 100; module case_base() { base_x = 55; base_y = 47; base_z = 2; pin_d = 3; pin_h = 17; difference(){ translate([0, 0, base_z]) cube([base_x, base_y, base_z], center = true); translate([-20.5, 17, 0]) cylinder(7,3, 3); translate([+20.5, 17, 0]) cylinder(7,3, 3); translate([+20.5, -15....
glb/cad_a62f27fcf19f.glb
Create a Split Y-Motor Mount for a Prusa i3 printer. The assembly consists of two symmetrical bracket halves and a J-shaped shim. For the brackets, create a base geometry that features two vertical holes for threaded rods (8.5mm diameter) spaced 20mm apart. The bracket should include a rectangular section to house a N...
ew=0.56; eh=0.25; module chamfered_cube(size,d=1){ hull(){ translate([d,d,0])cube(size-2*[d,d,0]); translate([0,d,d])cube(size-2*[0,d,d]); translate([d,0,d])cube(size-2*[d,0,d]); } } module chamfered_cylinder(r=0,r1=0,r2=0,h=0,d=1){ hull(){ translate([0,0,d])cylinder(r1=(r?r:r1),r2=(r>0?...
glb/cad_30167482261a.glb
Create a parametric can lid by combining a hollowed disc, a lip, and a handle. Start by creating a main cylindrical ring with an outer diameter of 87.4mm and an inner diameter of 86.4mm, with a total height of 6mm. Position this ring so it is centered on the XY plane. Next, create a thin circular lip by rotating a smal...
canDiameter = 86.4; lidWallThickness = 1; lipThickness = 0.35; lipHeight=2; handleRatio = 0.25; lidHeight = 5; lipZAdjustment = 0; $fn=60; union() { translate([0,0,(lidWallThickness+lidHeight)/2]) difference() { cylinder (h = lidWallThickness+lidHeight, d = canDiameter+lidWallThickness, center=true); ...
glb/cad_452f7aec4e7c.glb
Create a Kossel magnetic endstop z-probe consisting of a main holder and a separate probe pin. For the holder, create a bridge-like structure with an overall height of 90mm and a thickness of 10mm. The width varies from 26mm at the lower section to 55mm at the upper section. In the center of the holder, create a vert...
Print = "probe"; height = 90; depth1 = 10; depth2 = 6; length1 = 55; length2 = 26; length3 = 10; offset = 26; savematerial = 1.1; magnetdia = 11; magnetdepth = 1; magnetsep = 45; r_probe = 4; d_probe = 1; h_pin = 2.5; clearance = 0.3; $fs = 0.5; $fa = 2; hfz = offset + depth1/2; rn = depth2; h_probe = ...
glb/cad_f63910d4d911.glb
Create a 3D model of a Makerbot or Big Tree Tech endstop. Start with a central rectangular PCB base measuring 40mm by 16mm with a thickness of 1.6mm. At each end of the PCB's long axis, centered 20mm from the middle, create a vertical hole with a radius of 2mm and a height of 10mm, using a 16-sided polygonal profile fo...
$fs=0.5; module endstop() { translate([0,0,0.8]){ difference(){ cube([40,16,1.6], center = true); translate([(40/2)-3.5,-(16/2)+2.5,0]) cylinder(r=2,h=10,center=true,$fn=16); translate([(40/2)-(19+3.5),-(16/2)+2.5,0]) cylinder(r=2,h=10,center=true,$fn=16); } translate([0,-7.5,0.8]){ translate([0,-0.5,0]) cube([14...
glb/cad_302238e6c4b1.glb
Create a spur gear with a total height of 5mm and a pitch diameter of 45mm. The gear should have 30 teeth, each with a width of 2mm, an addendum of 2mm, and a dedendum of 2mm. At the center, create a solid cylindrical core with a diameter of 5mm. Surround this core with an outer cylindrical flange that extends 5mm bey...
gearHeight=5; pitchDiam=45; shaftDiam=5; teethNum=30; addendum=2; dedendum=2; toothWidth=2; involute=0; pressAngle=5; centerShape=1; starNum=6; starWidth=2; circleNum=7; circleDiam=7; extrudeOut=1; extrudeOutHeight=5; extrudeOutWidth=5; extrudeIn=0; extrudeInDiam=pitchDiam/2-dedendum*2; extrudeInHeight=2.5;...
glb/cad_138aebc35255.glb
Create a HuPo Take-Off hand crank device. Start by constructing a central output shaft with a splined profile consisting of 6 teeth. The shaft should have a maximum diameter of 24mm and a minimum diameter of 16mm, with a total height of 36mm. Include a hub with a diameter of 36mm and a height of 22mm, featuring a round...
output="assembly"; rod_dia = 8; rod_margin = 5; crank_type = "double"; crank_bulge = 38; crank_spacing = 150; crank_thickness = 12; crank_A_dia = 32; crank_B_dia = 26; crank_rod_dia_A = 8; crank_rod_dia_B = 8; crank_nut_A = 13; crank_nut_B = 13; crank_nut_thickness_A = 6.5; crank_nut_thickness_B = 6.5; crank_nut_cl...
glb/cad_ecedd933a671.glb
Create a cable strain relief clip starting with a rectangular base measuring 40mm in length, 10mm in width, and 2mm in height. At the end of this base, centered at x=30mm, create a vertical mounting hole with a diameter of 3.5mm that passes through the base. On the top surface of the base, centered at x=20mm, add a sma...
$fn = 40; cable_diameter = 12; ring_clip_opening_width = cable_diameter - 2; ring_clip_length = 10; ring_clip_width = 2; mount_hole_size = 3.5; module ring_clip() { external_radius = cable_diameter / 2 + ring_clip_width; translate([0, 0, external_radius]) rotate([0, -90, 180]) difference() { cylinder(r = exter...
glb/cad_ce694afca172.glb
Create a parametric fan guard for a 30mm fan. Start with a square base plate that is 30mm wide and 30mm deep, with a total thickness of 3mm. The corners of the plate should be rounded with a radius of 1mm. At each of the four corners, center a cylindrical mounting hole with a diameter of 3.5mm. In the center of the p...
fan_side_length=30; mount_hole_width=24; mount_hole_d=3.5; mesh_kind="hex"; mesh_holes_d=10; mesh_thickness=2; mesh_clearance=1; mesh_density_ratio= 98; solid_outer_border=1; outer_roundness=50; mesh_offset= 68; tol=0.1+0; $fa=1+0; $fs=0.33+0; dholes= mesh_holes_d; marginhole= (fan_side_length-mount_hole_wi...
glb/cad_d307b28b775c.glb
Create a hexagonal fan guard for a 40mm fan. Start with a square plate 40mm wide and 40mm deep, with a total thickness of 3mm. At each of the four corners, center a circular mounting hole with a diameter of 3.5mm. In the center of the plate, create a circular cutout with a diameter of 38mm that penetrates through t...
fan_side_length=40; mount_hole_width=32; mount_hole_d=3.5; mesh_kind="hex"; mesh_holes_d=10; mesh_thickness=2; mesh_clearance=1; mesh_density_ratio= 98; solid_outer_border=1; outer_roundness=50; mesh_offset= 68; tol=0.1+0; $fa=1+0; $fs=0.33+0; dholes= mesh_holes_d; marginhole= (fan_side_length-mount_hole_wi...
glb/cad_1fdfbca4a878.glb
Create a vacuum powered motor hub consisting of a central shaft and a supporting flange. Start by creating a hexagonal base with a flat bottom. Centered on this base, place a cylindrical flange with an outer diameter of 34mm and a height of 9mm. Inside this flange, create a central vertical hole with a diameter of 8....
extrusion_width=0.7; common_inner_slack=0.6; common_outer_slack=0.5; shaft_dia=7.5+common_inner_slack; shaft_support_dia=shaft_dia+extrusion_width*2; shaft_key_dia=15+common_inner_slack; shaft_key_flat_dia=16+common_inner_slack; shaft_key_depth=6; disc_inner_dia=22+common_outer_slack; flange_outer_dia=34; flange_heigh...
glb/cad_1f8b3794dfdc.glb
Create a Z-axis endstop holder for a Prusa i3 Hephestos. Start with a rectangular base block measuring 50mm in length, 10mm in width, and 10mm in height. At the front end, create two vertical walls, each 3mm thick and 10mm high. The first wall is positioned at the edge, and the second wall is positioned 6.1mm from th...
$fn = 70; HEIGHT = 10; PANEL = 6.1; LENGTH = 50; DISTANCE = 39; RODRADIUS = 4; ROUNDCORNER = 1; difference(){ base(); subtract(); } module corner(radius, right,up){ vec1 = right ? [0,-radius,0] : [-radius,-radius,0]; vec2 = up ? [0,radius,0] : [0,0,0]; vec = vec1 + vec2; translate(-vec){ difference(...
glb/cad_885b8fa71bec.glb
Create a fractal leaf structure starting from a central stem. The initial stem is a cylinder with a diameter of 11mm and a length of 150mm. From this stem, generate a recursive branching pattern where each subsequent level of branches is scaled by a ratio of 0.8. At each branching point, create three new paths: one co...
doVeins = 1; doBase = 1; doSkeleton = 1; D = 11; L = 150; Ac = 5; Pl = .5; Al = 30; Pr = .5; Ar = 30; Rn = .80; smallest = 4; $fn=8; module veins(D, L, Ac, Pl, Al, Pr, Ar, Rn, smallest = 2) { if (D > smallest) { rod(D, L); translate([0, L, 0]) rotate([0, 0, Ac]) veins(D * Rn, L * Rn, Ac, P...
glb/cad_e77026040fe5.glb
Create a 3D model of a sphere with a diameter of 34.6 mm.
focal_length = 90; hole_type = "Copal #0"; hole_diameter = 34.6; combo_box = "Yes"; sphere(hole_diameter);
glb/cad_3394de072539.glb
Create a kickboard clip for a threaded foot with a total width of 20mm. Start by creating a main circular body with an outer radius of 8mm and a central hole with a radius of 4mm, resulting in a wall thickness of 4mm. Extend the outer geometry into two symmetrical, wide triangular insertion tabs that flare outwards fro...
clip_width=20; diam=8; thickness=2; release_tab_length=3; locking_clip_angle=15; locking_clip_reach=13; locking_clip_barb_size=2; mounting_block_width=5; mounting_block_height=5; module insertion_tabs() { polygon(points=[[0,0],[50,50*sqrt(3)], [50,-50*sqrt(3)]], path=[[0,1,2]]); } module insertion_tabs_trim()...
glb/cad_fe7d6fd39128.glb
Create a Baffle Clip for a chocolate tempering machine by starting with a cylinder that has a radius of 90mm and a total height of 11.8mm. From this cylinder, remove a large central section to create a curved clip. Specifically, carve out a square block with a side length of 180mm, centered on the cylinder, that extend...
clip=15; thickness=4; clip_cutout=3.8; bowl_radius=90; clip_width=35; clip_offset=72; clip_thickness=thickness*2+clip_cutout; scale([1,1,-1]) difference() { cylinder(r=bowl_radius, h=clip_thickness); translate([-bowl_radius,-bowl_radius-clip_offset-clip,-1]) cube([bowl_radius*2,bowl_radius*2,clip_thickness+2]); t...
glb/cad_3149a328ee6f.glb
Create a Baffle Clip for a chocolate tempering machine by starting with a cylinder that has a radius of 90mm and a total height of 11.8mm. From this cylinder, remove a large section to leave only a curved clip. First, remove a cubic volume to leave a curved wall with a thickness of 4mm. Then, carve a rectangular slot o...
clip=15; thickness=4; clip_cutout=3.8; bowl_radius=90; clip_width=90; clip_offset=72; clip_thickness=thickness*2+clip_cutout; scale([1,1,-1]) difference() { cylinder(r=bowl_radius, h=clip_thickness, $fn=100); translate([-bowl_radius,-bowl_radius-clip_offset-clip,-1]) cube([bowl_radius*2,bowl_radius*2,clip_thicknes...
glb/cad_856b219151ed.glb
Create a Lazy Sunday Pendant by starting with a base plate. Construct this plate as a flat, extruded shape with a thickness of 3.6mm (scaled from 3mm). The footprint of the plate is a rounded rectangle formed by the Minkowski sum of a circle with a radius of 2mm and a polygon with vertices at [-12.5, 10.5], [12.5, 10.5...
use <Spiff.scad>; $fn = 25; module lazysunday() { translate([-12.5,0.5,0]) write("LAZY"); translate([-20.5,-10.5,0]) write("SUNDAY"); } thickness = 3; depth = 1; scale([1.2,1,1]){ difference(){ linear_extrude(height=thickness,convexity=10) minkowski(){ circle(r=2,$fn=25); polygon([[-12.5,10.5],[12.5...
glb/cad_9058fd00d1f6.glb
Create a lipstick box organizer with a total footprint of 120mm in width, 175mm in depth, and varying heights. The structure is composed of several adjacent sections of hollow rectangular cells. Starting from the left, create a section 20mm wide and 175mm deep. In this section, place four cells, each 19mm deep and 40m...
difference(){ union(){ union(){ cube([20,175,30],false); translate([0,0,30]){ for(vx = [0 : 1 : 4]){ translate([0,vx*19,0]){ difference(){ cube([20,19,40],false); translate([1,1,1]) ...
glb/cad_4d5807d3b12d.glb
Create a Pirate Flag decorative plaque. Start with a rectangular base plate measuring 30mm wide, 25mm deep, and 2mm thick, centered at the origin. On the top surface of the plate, add a raised emblem consisting of a skull and two crossed swords. The emblem should be scaled to fit the center of the plate and have a hei...
fudge = 0.1; module poly_path744(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[170.687500,112.492188],[178.687500,117.492188],[174.562500,125.617188],[172.921875,130.289063],[172.576172,132.490234],[172.687500,134.492188],[173.022217,136.250977],[173.630859,137.781250],[...
glb/cad_16cf4b6f5c8b.glb
Create a rain meter consisting of three main components: a funnel, a base, and a clapper. First, construct the funnel as a hollow cylinder with an outer diameter of 100mm and a total height of 100mm. The walls should be 2mm thick. The interior is a cone that tapers from the 100mm top diameter down to a small center op...
diameter = 100; funnelheight = diameter*0.6; assemblyheight = diameter; clapperheight = 0.5*(assemblyheight-funnelheight); clapperwidth = 0.6*(assemblyheight-funnelheight); clapperlength = 0.8*diameter; minordiameter = diameter/10; thick = 2; fudge = 0.5; printing = true; square_centimeters = diameter * diameter / ...
glb/cad_14529573d5d1.glb
Create a parametric quadcopter consisting of a central plate system, four motor mounts, four arms, and landing gear. Start with a central main plate of 2mm thickness. The plate is a square of 80mm with four 45-degree rotated square cutouts and eight small 2mm screw holes distributed symmetrically. Above this, add a to...
outputObject = 0; armsMaterial = "peru"; printMaterialColor = "red"; thickness = 3; armsHeight = 12.3; screwHolesSize = 2; quadcopterSize = 400; plateThickness = 2; mainPlateSize = 80; mainPlateExtraSize = 50; topPlateSize = 55; vibrationDampenerHolesSize = 6.5; motorMountThickness = 4; motorDiameter = 23; shaftHol...
glb/cad_a68fcdac5a09.glb
Create a customizable caliper measuring tool consisting of a main ruler body and a sliding marker. The main body is a flat bar 150mm long, 15mm wide, and 3mm thick. The side profile of the body is a trapezoid for a tighter fit. Along the length of the body, create a scale with major tick marks every 10mm and minor ti...
Length=150; Width=15; Thickness=3; Scale=10; MajorScaleIncrement = 1; MinorScale=10; outerEdgeThickness = 2.5; Clearance=.1; bold =0; holeSize = 03; BrimCircleHeight = .3; BottomScaleSize = 2; ScaleThickness=1; Offset=0.15; minorTickMinHeightRatio = .2; minorTickMaxHeightRatio = .3; maxNumDigits = floor(l...
glb/cad_7f6f956e51f2.glb
Create a crystal die by constructing a series of stacked and intersecting geometric prisms. Start by creating a hexagonal prism with a radius of 10mm and a height of 6mm. Generate six of these identical hexagonal units and stack them vertically along the Z-axis, each shifted by 6mm. For each unit in the stack, apply a ...
module poly(n_sides, r, h) { theta = 360/n_sides; pts_1 = [for (i = [0:theta:360]) [r*sin(i),r*cos(i)]]; tri = [[0,0], pts_1[0], pts_1[1]]; union() { difference() { linear_extrude(h) polygon(pts_1); translate([0,0,h/3]) linear_extrude(h/3) ...
glb/cad_f15b7f1cb83c.glb
Create a Nokia DT-900 wireless charger stand. Start by placing two flat rectangular feet, each measuring 10mm by 60mm with a height of 5mm, positioned 55mm apart. Between these feet, add a main body block measuring 65mm wide, 105mm long, and 12mm thick, tilted backward at a 60-degree angle. Within this main body, carv...
$fn = 100; union() { cube([10, 60, 5]); translate([65 - 10, 0, 0]) cube([10, 60, 5]); rotate([60, 0, 0]) union() { difference() { union() { cube([65, 105, 12]); difference() { translate([(65 - 50) / 2, 9, 12]) rotate([-60, 0, 0]) cube([50, 12, 20]); translate([(65 - 55) / 2, 27, ...
glb/cad_86c807475354.glb
Create a Nokia DT-900 wireless charger stand. Start with a base consisting of two parallel rectangular feet, each measuring 15mm by 80mm with a height of 5mm, spaced 45mm apart. Construct the main body as a rectangular slab measuring 75mm by 105mm with a thickness of 12mm, tilted at a 60-degree angle relative to the ...
$fn = 100; union() { cube([15, 80, 5]); translate([75 - 15, 0, 0]) cube([15, 80, 5]); rotate([60, 0, 0]) union() { difference() { union() { cube([75, 105, 12]); difference() { translate([(75 - 50) / 2, 9, 12]) rotate([-60, 0, 0]) cube([50, 12, 20]); translate([(75 - 55) / 2, 27, ...
glb/cad_dc7858ef551d.glb
Create a 3D fractal Pythagoras Tree starting with a central cube that has a side length of 10mm. On the top face of this cube, position two smaller cubes such that their bases form the hypotenuse of a right triangle resting on the original cube's top edge. Each of these new cubes must be scaled down by a factor of $\sq...
sideLength = 10; angle = 45; tree(sideLength, angle); module branch(angle) { children(0); translate([sideLength / 2, 0, sideLength]) rotate([0, angle, 0]) scale(.5 * sqrt(2)) children(0); translate([-sideLength / 2, 0, sideLength]) rotate([0, -angle, 0]) scale(.5 * sqrt(2)) children(0); } module tree(sid...
glb/cad_43134abb035d.glb
Create a Flight Badge consisting of a central circular emblem flanked by two symmetrical wings. Start by placing a cylinder with a radius of 25mm and a height of 8mm at the center. On the face of this cylinder, center a 50mm by 50mm square logo. Construct the wings using a series of stacked, extruded polygons to crea...
module wings(){ linear_extrude(height = 2, center = false, convexity = 10, twist = 0) polygon([[10,10],[35,10],[40,18],[90,18],[95,26],[45,26],[20,18]]); linear_extrude(height = 4, center = false, convexity = 10, twist = 0) polygon([[15,18],[40,18],[45,26],[100,26],[105,34],[50,34],[25,26]]); linear_extrude(height...
glb/cad_23a5fbc21dee.glb
Create a Kitchen Slider Hook by combining a central mounting bar with a curved hook. Start with a central rectangular bar measuring 5mm wide, 114mm long, and 10mm high, centered on the origin. Attached to the side of this bar, create a rectangular extension that is 15mm long, 114mm wide, and 10mm high, but remove a cen...
latchWidth=5; latchLength=114; latchHeight=10; hookLength=67; hookWidth=6; openingMul=3; tabsLength=15; tabsThickness=5; opening=hookWidth*openingMul; hookHeight=latchHeight; union(){ cube([latchWidth,latchLength,latchHeight],center=true); translate([latchWidth+((tabsLength-latchWidth)/2),0,0]){ differ...
glb/cad_8c052c41c4e6.glb
Create a motor mount for a Prusa i3 X-axis end motor. Start with a base block centered at [-15, 31, 26.5] with dimensions 17mm wide, 62mm deep, and 53mm high. From this base, remove several geometric sections to create the final part. First, carve out a central hexagonal hole for the motor shaft with a radius of 17mm...
use <x-end.scad> extra_clearance=10; module x_end_motor_base(){ x_end_base(); translate(v=[-15,31,26.5]) cube(size = [17,44+extra_clearance*1.8,53], center = true); } module x_end_motor_holes(){ x_end_holes(); translate(v=[-1,32+extra_clearance,30.25]){ translate(v=[-14,1-extra_clearance,0]) cube(size = [10,...
glb/cad_e4f86adea836.glb
Create a shock absorbing leg for a quadcopter. Start with a rectangular base measuring 53mm in length, 10.5mm in width, and 4mm in height. Centered on the top surface of this base, add a semi-circular leg extension that curves outward. This curved leg should have an outer radius of 40mm and a wall thickness of 1.5mm, f...
base_length=53; base_width=10.5; base_high=4; base_distance_between_holes=46; base_distance_to_screw_hole=10; base_distance_from_edge_hole_to_qad_center=3.5; base_hole_rad=1.5; base_hole_nut_rad=2.5; base_screw_hole_rad = 1.6; leg_high=40; leg_thikness=1.5; leg_width=base_width; direction_indicator_rad=1.6; $fn=6...
glb/cad_610e507ba823.glb
Create a tweezer holder by starting with a rectangular base measuring 66.5mm in length, 10mm in width, and 4mm in height. Position this base so its center is offset by -5.5mm on the X-axis and -2.3mm on the Y-axis. Remove two vertical cylindrical holes, each with a radius of 3.75mm, from the base: one centered at the o...
left = 1; difference() { translate([-5.5,-2.3,0])cube([66.5,10,4]); union () { cylinder(10,r=7.5/2); translate([58.5,0,0])cylinder(10,r=7.5/2); }} if (left == 1) { translate([0,11,5.8]) difference() { rotate([0,90,0])cylinder(6,r=5.8); rotate([0,90,0])cylinder(8,r=5.8/2); } } else { translate([0,11,-5.8+4]) differenc...
glb/cad_5e5dea175f69.glb
Create a double helical gear with a total height of 14mm, consisting of two mirrored helical sections. The gear has a pitch diameter of 45mm and 30 teeth. Each tooth has a width of 2mm, an addendum of 2mm, and a dedendum of 2mm. The teeth should angle at 30 degrees, curving in one direction for the top half and the opp...
doubleHelical=1; gearHeight=7; pitchDiam=45; shaftDiam=5; teethNum=30; addendum=2; dedendum=2; toothWidth=2; angle=-30; orientation=-1; centerShape=3; starNum=6; starWidth=2; circleNum=7; circleDiam=7; extrudeOut=1; extrudeOutHeight=3; extrudeOutWidth=7; extrudeIn=1; extrudeInDiam=pitchDiam/2-dedendum*2; ...
glb/cad_0f57cedd0469.glb
Create a double helical gear with a pitch diameter of 45mm and a total height of 14mm (two 7mm sections). The gear features 30 teeth. Each tooth is constructed from a rectangular profile with a width of 1mm and a total height of 3mm (1mm addendum and 2mm dedendum). The teeth are arranged in a double helical pattern: ...
doubleHelical=1; gearHeight=7; pitchDiam=45; shaftDiam=5; teethNum=30; addendum=1; dedendum=1; toothWidth=1; angle=30; centerShape=1; starNum=6; starWidth=2; circleNum=7; circleDiam=7; extrudeOut=0; extrudeOutHeight=3; extrudeOutWidth=7; extrudeIn=1; extrudeInRad=pitchDiam/2-dedendum*2; extrudeInHeight=5;...
glb/cad_028a26ed93d2.glb
Create a wall-mount for a window-shutter consisting of two perpendicular plates joined at a right angle. First, create a vertical plate measuring 3mm wide, 26mm high, and 18mm deep. Round the two upper corners of this plate using a radius of 5mm. Drill a hole completely through the center of this plate with a radius of...
$fn=50; union() { difference() { translate([0,-13,0])cube([3,26,18]); translate([-1,8,13]) difference() { cube([5,6,6]); rotate([0, 90, 0])cylinder(r=5,h=6); } translate([-1,-8,13]) rotate([90,0,0]) difference() { cube([5,6,6]); rotate([0, 90, 0])cylinder(r=5,h=6); } translate(...
glb/cad_5519d46f7a3e.glb
Create a parametric piano hinge consisting of four interlocking tabs. The core of the hinge is a central cylinder with an outer radius of 6mm and an inner radius of 3.5mm, creating a tube wall thickness of 2.5mm. Construct the hinge by alternating four tab sections along the length of the cylinder. Each tab is a rect...
NumberOfTabs=4; TabsTolerance=0.3; TabLength=15; OuterRadius=6; OuterThickness=2; InnerRadius=3.5; TasselThickness=1; TasselLength=15; United=0; module hingePart(partLength,outerRadius,outerThickness,innerRadius,tabWidth,tabThickness,tabLength){ union(){ difference(){ rotate([90,0,0]) linear...
glb/cad_92088ee3dfdd.glb
Create a feminist key ring charm by constructing a circular ring with an outer diameter of 8mm and an inner diameter of 18mm, both with a height of 12mm. To this ring, add a cross-shaped element on the top surface formed by two intersecting rectangular prisms: one measuring 3mm by 11mm by 4mm and another measuring 11mm...
$fn=100; union(){ difference(){ cylinder(4,12,12); cylinder(6,9,9); } translate([-1,11,0]) cube ([3,11,4]); translate([-5,15,0]) cube ([11,3,4]); difference() { translate([0,-11,0]) cylinder(4,2,2); translate([0,-11,0]) cylinder(4,1,1); } }
glb/cad_9139d9e4eca9.glb
Create a closed-loop heart chain consisting of 22 interlocking links. Each individual link is composed of two heart shapes joined together. Each heart is a flat, extruded polygon with a thickness of 1.6mm. To form a single link, position one heart normally and a second heart mirrored across the X-axis, rotated -110 d...
Type=1; Links=22; H=1.6; $fn=32; module HEARTS(){ module Gusset(d){ rotate([90,0,0]) translate([0,0,-d/2]) intersection(){ cylinder(r=d,h=1,center=false); cube([d,d,1],center=false); } } module HEARTHALF(h){ scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h,center=true) polygon([[-14.57...
glb/cad_69c7fec0f3e9.glb