Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a Racing Quadcopter Keychain by assembling a central body with four radiating arms and propellers. Start with a central rectangular body measuring 5mm wide, 6mm deep, and 4mm high, centered at the origin. Attach two intersecting rectangular arms, each 12mm long, 3mm wide, and 1.5mm thick; one arm is rotated 45 d...
scale = 1.25; Keychain_Loop = false; $fn = 50; module PropBlade () { translate ([0,-.5,0]) rotate ([45,0,0]) cube ([4.1,2,.5]); } module Prop () { difference () { cylinder (2,5,5); translate ([0,0,-1]) cylinder (5,4,4); } PropBlade (); rotate ([0,0,120]) PropBlade (); rotate ...
glb/cad_64fe5de98a5f.glb
Create a circular sign with a base plate 150mm in diameter and 1mm thick. The plate should have a concentric circular recessed area carved out of the top, leaving a thin outer rim; this recess is 147mm in diameter and 0.4mm deep. Centrally aligned on the face of the plate, add five lines of text using an Arial Regula...
plate_diameter=150; line1="line 1 text"; line2="line 2 text"; line3="line 3 text"; line4="line 4 text"; line5="line 5 text"; line1_size=14; line2_size=14; line3_size=14; line4_size=14; line5_size=14; font = "Arial:style=Regular"; module plate() { cylinder(1,plate_diameter/2,plate_diameter/2,$fn=64); difference...
glb/cad_b72429038c61.glb
Create a toilet brush adapter ring with a total height of 80mm. Start with a main hollow cylinder that has an outer diameter of 79mm and an inner diameter of 72mm. At the bottom, create a rounded base by removing a hemispherical section centered at Z=20mm with an inner diameter of 87.5mm. Throughout the height of the...
adapter_hoehe = 80; $fn = 60; ueberlapp = 2; halbkugel_d_aussen = 150; halbkugel_d_innen = 87.5; halbkugel_center_z = 20; konus1_d_aussen = 150; konus1_d_innen_oben = 88.5; konus1_d_innen_unten = 84.5; rippen_anzahl = 12; rippen_dicke = 3; zylinder_d_aussen = 79; zylinder_d_innen = 72; aussparung_laenge = 200; aus...
glb/cad_7fd241e8293e.glb
Create a resistor-shaped rock climbing hold. Start with a central cylinder 66mm long with a radius of approximately 18.18mm. Cap both ends of this cylinder with spheres of 20mm radius, centered at each end of the 66mm length. Extend a wire lead from each sphere, consisting of a cylinder with a radius of 8mm and a lengt...
include <Bolt.scad> h = 66; rResist = 20; rWire = 8; bandWidth = h/11; bandDepth = 4; res = 1; rotate([270,0,0]) { difference () { compResist(); translate([0,rWire*2,0]) cube([rResist*2,rResist,h*3],center=true); translate([0,65,h/2]) rotate([90,0,0]) ...
glb/cad_832fbc453368.glb
Create a LED Channel Hanger designed to clip an aluminum profile to a 1/2" EMT conduit. Start by creating a main body that is a hull combining a cylinder with a diameter and height of 9.5mm and a rounded rectangular block. This block should be 23.9mm wide, 7.12mm deep, and 20mm overall width, with a corner fillet radiu...
include <BOSL2/std.scad> include <BOSL2/masks3d.scad> include <BOSL2/transforms.scad> include <BOSL2/shapes3d.scad> include <BOSL2/attachments.scad> rail_od = 19/2; rail_oh = rail_od; overall_width = 20; wall_thickness = 2; rail_outer_radius = 0.5; clip_outer_radius = 1; rail_clip_thickness = 0.75; channel_oute...
glb/cad_6b68da13d19f.glb
Create a Forest Shuffle game insert by starting with a solid rounded rectangular block measuring 160mm x 110mm x 38mm with 5mm corner radii. From this main body, remove several internal volumes to create storage compartments. Carve out two identical card slots, each 59mm x 90mm x 50mm, positioned at [18, 13, 13] and [8...
$fn=200; difference(){ roundedCube(160,110,38); { translate([18,13,13]) roundedCube3(59,90,50); translate([83,13,1]) roundedCube3(59,90,50); } { translate([18,3,30]) roundedCube3(124,214,50);} { translate([29.5,3,25.5]) roundedCube3(101,81,50);} for(i = [0:1]) translate([(i*67)+46.5,110,-1]) cylinder(h=400, d=28,...
glb/cad_bb203e61bd28.glb
Create a Forest Shuffle game insert by starting with a solid rounded rectangular block measuring 160mm by 110mm with a height of 38mm and corner radii of 5mm. From this main body, carve out two identical rectangular card wells, each 59mm by 90mm and 50mm deep, positioned with their inner edges 13mm from the side walls ...
$fn=200; difference(){ roundedCube(160,110,38); { translate([18,13,1]) roundedCube3(59,90,50); translate([83,13,1]) roundedCube3(59,90,50); } { translate([18,3,30]) roundedCube3(124,214,50);} for(i = [0:1]) translate([(i*67)+46.5,110,-1]) cylinder(h=400, d=28, center=false); for(i = [0:1]) translate([(i*160)+0,55...
glb/cad_3c197649df81.glb
Create a Square Tubing Connector consisting of a central cube and tapered protrusions. Start by creating a central cube with dimensions 25mm x 25mm x 25mm. From the faces of this cube, add tapered square protrusions that extend 33mm in length. Each protrusion should start with a base dimension of 22.45mm at the cube'...
fittingType = 1; centerDim = 25; protrusionCenterDim = 22.45; protrusionEndDim = 22.2; protrusionLength = 33; protrusionSpacer = 0.0; roundoffRadius = 1.5; flatEdge = 0; edgeDepth = 4; bracket(cd=centerDim, pcd=protrusionCenterDim, ped=protrusionEndDim, pl=protrusionLength, ps=protrusionSpacer, r=roundoffRadiu...
glb/cad_f2cf4b84edac.glb
Create a desk shelf monitor stand consisting of a rectangular base with a honeycomb lattice cutout. Start by creating a solid rectangular block 126mm wide, 24.5mm deep, and 15mm high. From this block, remove a central rectangular volume 120mm wide, 18.5mm deep, and 15mm high, leaving a wall thickness of 3mm on all side...
plank_x=120; plank_y=18.5; plank_z=15; wall_t=3; difference(){ translate([-wall_t,-wall_t,0])cube([plank_x+2*wall_t,plank_y+2*wall_t,plank_z]); cube([plank_x,plank_y,plank_z]); }; module hexagon(radius) { circle(r=radius,$fn=6); } module shell(radius) { difference() { hexagon(radius*1.4); h...
glb/cad_be62800bf6b1.glb
Create a shower insert hair strainer with a total diameter of 80mm and a height of 12mm. Start by constructing a conical base that flares slightly outward from a bottom radius of 38mm to a top radius of 40mm. The outer wall of this base should be 4mm thick. Carve out the interior of the cylinder to create a hollow basi...
$fn = $preview ? 32 : 128; aussen = 40; rand = 4; segs = 16; hoehe = 12; steg = 1.5; difference() { cylinder(h=hoehe, r1=aussen-rand/2, r2=aussen); translate([0, 0, -1]) difference() { cylinder(h=hoehe+2, r=aussen-rand); for (i=[0:segs/2-1]){ rotate([90, 0, i*360/segs]) translate([-aussen, 0, ...
glb/cad_61a81f47b894.glb
Create a hose adapter consisting of two main cylindrical sections connected by a transition piece. The base section is a hollow cylinder with an outer diameter of 158mm, an inner diameter of 152mm, and a height of 42mm. The walls of this base section feature external thread ribs: create these by adding rings with an ou...
$fn=321; wall=3; module thread() { difference() { rotate([0,-3,0]) difference() { cylinder(r=152/2+wall-.1, h=2); for(a=[0,90,180]) rotate([0,0,a]) translate([-.01,-.01,-.01]) cube([152/2+wall+.02,152/2+wall+.02, 2.02]); translate([152/4,-152/4,0]) rotate([0,0,45]) ...
glb/cad_2527fe7ea8bf.glb
Create a hose connector for a Klarstein AireLux consisting of a tiered cylindrical adapter. Start with a base section that is 10mm high, featuring an outer diameter of 155mm and a centered inner hole with a diameter of 152mm. At the bottom of this base, integrate a small cylindrical protrusion with a 5mm diameter and 1...
$fn=321; difference() { rotate([0,0,45]) union() { difference() { union() { cylinder(r=155/2+5, h=2.5); difference() { cylinder(r=155/2+7.5, h=2.5); translate([-155/2-7.5-.01, -155/2-7.5-.01, -.01]) cube([7.5+155+7.5+.02, 7.5+155/2+.01, 2.52]); translate([155/2+5, 0, -.01]) ...
glb/cad_8ec6ec5deefc.glb
Create a drilling template for door handle fittings. Start with a rectangular base plate measuring 60mm wide, 100mm high, and 8mm thick. On the top surface of the plate, create four through-holes with a diameter of 7mm. Position these holes in two columns, spaced 38mm apart horizontally and 80mm apart vertically, cen...
breite = 60; hoehe = 100; dicke = 8; ld = 7; s = 8; el = 30; sd = 7; line_width = 0.75; function default_fn(r=10) = $fn>0?($fn>=3?$fn:3):ceil(max(min(360/$fa,r*2*PI/$fs),5)); function default_fn_angle(r=10) = 360/default_fn(r); function scale_hole(r=10) = (line_width + sqrt(line_width^2 + 4*r^2))/2 * (1...
glb/cad_0f4a39a2dcc2.glb
Create a Puzzle Ring Bracelet consisting of four interlocking elliptical bands. The overall assembly is based on an inner ellipse with a major axis of 75mm and a minor axis of 63mm. Each band has a thickness of 4.6mm and a width of 17.6mm. Construct the four bands such that they follow a wave-like pattern (sinusoidal)...
print ="insoluble"; major_axis = 75; minor_axis = 63; pattern_style = "wave"; patternwidth = 30; patternthickness = 7; ringclearance = 0.2; useclip = true; module dummy(){} ringwidth = 17.6; ringthickness = 4.6; density = 5.5; patternangle = 100; oclearance = 0.3; WAVE = 0; TRIANGLE = 1; HEX = 2; LIN = 8;...
glb/cad_a47da02eb179.glb
Create a Pi bracelet consisting of a flat, flexible band and an integrated fastening peg. The main band is a rectangular slab 160mm long, 12mm wide, and 1.5mm thick, with all four corners rounded to a 4mm radius. On the left end of the band, centered width-wise 5mm from the edge, place a cylindrical peg. The peg star...
length = 160; width = 12; height = 1.5; bevel_radius = 4; peg_diameter = 5; peg_height = 2.6; peg_top_diameter = 6; peg_base_height = 1; hole_diameter = 5.2; num_holes = 4; hole_spacing = 7; peg_offset = 5; pi_text = "3.1415926535897932..."; text_size = 8; text_height = 0.7; text_offset_x = -7; text_offset_y = 0; tex...
glb/cad_1b26d19c329a.glb
Create a parametric hex key tool. Start by constructing a hexagonal prism with a diameter of 6mm and a height of 27.5mm, oriented vertically. Attached to the base of this prism, create a bow handle. The handle is formed by the union of a hexagonal prism with a height of 12.5mm and a rounded rectangular block that is 25...
hex_diameter=6; total_length=35; thumb_length=25; thumb_width=25; hole_diameter=8; hole_vert_position=7; hole_horiz_position=0; h=total_length-thumb_length/2; r=hex_diameter/2; hole_r=hole_diameter/2; module lower_bow_2d(width=thumb_width,length=thumb_length,corner_radius=6) { offset(corner_radius) offset...
glb/cad_663baf243a06.glb
Create a replacement power button for a laptop. Start with a main rectangular body measuring 16mm in length, 5mm in width, and 2mm in thickness, ensuring the edges are rounded with a 0.5mm radius. Attach two mounting tabs to the ends of the main body; each tab should be 2mm wide and 0.7mm thick. On the underside of the...
$fn = 50; button_length = 16; button_width = 5; button_thickness = 2; tab_thickness = 0.7; tab_width = 2; actuator_height = 4; radius = 0.5; module rounded_rect(x,y,z,r) { translate([r,r,0]) minkowski() { cube([x-2*r,y-2*r,z-0.01]); cylinder(r=r,h=0.01); } } difference() { union() { ...
glb/cad_7d690b31e097.glb
Create a two-part card frame consisting of a back plate and a viewport. For the back plate, create a rounded rectangle with a width of 73mm, a depth of 98mm, a height of 2mm, and a corner radius of 4mm. From the center of this plate, remove a rectangular ring-shaped cutout with an outer width of 69.5mm and an outer dep...
$fn=100; card_w=63; card_h=88; frame_border=10; r=4; frame_h=2; bp_width=card_w+frame_border; bp_depth=card_h+frame_border; module rounded_rect(width, depth, height, radius) { minkowski(){ cube([width-2*radius, depth-2*radius, height], center=true); cylinder(h=height/2, r=radius); } }; module...
glb/cad_fe26333a7570.glb
Create a handlebar shim consisting of two concentric hollow cylinders stacked vertically. First, construct a thick base ring with an inner diameter of 25mm, an outer diameter of 28mm, and a height of 20mm. Directly on top of this base, add a second, thinner hollow cylinder that shares the same 25mm inner diameter but h...
inner1 = 25; outer1 = 28; thickness1 = 20; inner2 = 25; outer2 = 31; thickness2 = 1.2; segments = 150; module washer (inner, outer, thickness) { difference() { cylinder(d=outer, h=thickness, $fn=segments); translate([0,0,-thickness]) cylinder(d=inner, h=thickness*3, $fn=segments); }; ...
glb/cad_45611ec2c452.glb
Create a soap box consisting of a main container and a removable honeycomb inlay. For the container, create a 3D stadium shape with an external length of 30mm, width of 90mm, and a height of 20mm. The top and bottom edges are rounded with a radius of 45mm. Hollow out the center to create a basin with a wall thickness...
length1 = 30; width1 = 90; radius1 = width1/2; height = 20; wallThickness = 3; bottomThickness = 3; length2 = length1 - wallThickness; width2 = width1 - wallThickness; radius2 = width2/2; length3 = length2 - wallThickness; width3 = width2 - wallThickness; radius3 = width3/2; nHexagons = 8; rHexagons = 3; thCo...
glb/cad_8c29dee3888a.glb
Create a FlipGrip minimalist media control keyboard handle consisting of three interlocking cylindrical sections with an outer diameter of 33mm and a wall thickness of 8mm. First, create a top cap section. This is a hollow cylinder 5mm tall with a 6mm thick closed end. Cut a socket into the center of the cap to house ...
outer_diam = 33; wall_thick = 8.0; interface_height = 5; interference_gap = 0.0; board_length=33.1; board_width=18.1; board_thick=1.8; board_jut=5.0; epsilon=0.01; generate_cap = true; generate_mid = true; generate_bot = true; module outer_collar(collar_height) { key_size = 1; difference() { cylinder...
glb/cad_e3b5538350d8.glb
Create a Parametric Vector Board as a rectangular plate with dimensions 88.9mm in length, 76.2mm in width, and 1.57mm in thickness. The plate should have rounded corners. On the top face, create a centered grid of small circular holes, each with a diameter of 1.067mm. The holes must be spaced with a pitch of 2.54mm. T...
$fn = 60; board_l = 88.9; board_w = 76.2; board_t = 1.57; pitch = 2.54; hole_d = 1.067; padding = 1.25; rounded = true; use_mounting_holes = true; mounting_hole_d = 3.0; module __Customizer_Limit__(){} module hole_grid( rows = 1, columns = 1, p = pitch, d = hole_d ){ grid_l = ( ( columns -1 ) * p )- d/2...
glb/cad_f947c07f12d5.glb
Create a dual fidget ring consisting of two concentric, rotating rings. The overall height of the model is 6mm. First, create a base ring with an inner diameter of 20mm and a height of 3mm. This ring should have a knurled outer surface with a depth of 0.5mm and a width of 0.75mm. The top and bottom edges of this ring ...
$fn=64; use <knurledFinishLib_v2.scad> dia_finger=20; ring_h=3; overall_inner_chamfer=.5; inner_w=1; outer_w=2; gap_w=.6; ridge_w=1.2; click_r=ridge_w; tworingdist=6; clicks=0; fidgetring(dia_finger+2*overall_inner_chamfer,ridge_w, inner_w, outer_w, gap_w,ring_h); translate([0,0,ring_h]) chamferring(dia_fi...
glb/cad_b5ae9218d98d.glb
Create an SD card holder ring by combining a circular band with a rectangular card slot. Start by creating a hollow cylinder for the ring with an inner diameter of 22mm, an outer diameter of 24mm, and a width of 15mm. Attached to the side of the ring, construct a rectangular case to hold a microSD card. This case sho...
ring_inner_diameter=22; ring_thickness=1; ring_width=15; sdcard_width=11.5; sdcard_length=15.5; sdcard_height = 0.8; case_length=17; case_width=ring_width; case_height=3; case_fillet_top=0.5; case_card_handle=3; module __Customizer_Limit__ () {} epsilon=0.01; $fn=60; ring_outer_diameter=ring_inner_diameter+ring_th...
glb/cad_26d5b548a516.glb
Create a backdrop roll mandrel wedge by constructing a truncated cone with a height of 30mm. The base of the cone should have a diameter of 25mm, tapering upward to a top diameter of 10mm. Through the center of this cone, create a vertical cylindrical hole with a diameter of 10mm that passes completely through the ob...
$fn = 300; nut_hight = 10; nut_width = 15.15; pipe_id = 30; pipe_od = 35; bolt_d = 10; difference() { union() { cylinder(h=pipe_id,d1=pipe_id-5,d2=bolt_d); } union() { hexagone(nut_width,nut_hight); cylinder(h=155,d=bolt_d,center = true); translate([0,0,pipe_id-5]){cylinder(h=15,d=bolt_d*2,c...
glb/cad_ebd70ece8430.glb
Create a backdrop roll mandrel consisting of a central cylindrical body and a hexagonal base. Start by creating a central cylinder with a diameter of 25mm and a height of 30mm. Position this cylinder so its base sits 10mm above the bottom of the model. At the bottom of the assembly, create a hexagonal prism with a fla...
$fn = 200; nut_hight = 7; nut_width = 15; pipe_id = 30; pipe_od = 35; bolt_d = 10; difference() { union() { difference() { hexagone(pipe_id+10,20); hexagone_indent(pipe_id+10,20); } translate([0,0,10]){cylinder(h=30,d=pipe_id-5);} translate([0,0,41]){hexagone(nut_width-.25,nut_hight...
glb/cad_97215ba9f755.glb
Create a backdrop roll mandrel consisting of a flat rectangular base with a series of cutouts. Start with a solid rectangular block measuring 185mm in length, 90mm in width, and 15mm in height. From this block, remove four identical vertical holes to create mounting points. Each hole is a cylinder with a diameter of 26...
$fn = 200; difference() { translate([24,0,0])cube([185,90,15], center=true); { translate([105,20,0]) { cylinder(h=30,d=26,center=true); rotate([0,0,45]) { translate([0,-15,0]) { cube([26,26,30], center=true); } } } translate([55...
glb/cad_f967a8cd546f.glb
Create a Recymbol recycling symbol with a total width of 24mm, a depth of 30mm, and a height of 1mm. The model consists of three chasing arrows forming a triangular loop. Inside the center of this loop, place the number "7" as a 3D text element. Below the loop, add the text "PLA" in a bold sans-serif font. Ensure all e...
Symbol_width = 24; Symbol_depth = 30; Symbol_height = 1; size = [Symbol_width, Symbol_depth, Symbol_height]; Material_type = "PLA"; Single_digit = true; Custom_code =""; Custom_material_type =""; Use_triangle = false; Font = "Liberation Sans:style=bold"; Stack_symbol = false; Symbol_offset = 0; Text_offset =...
glb/cad_788914192786.glb
Create a YAS shelf designed to hold a motor. Start by creating a central cylindrical motor body with a length of 200mm and a radius of 40mm. Add cooling fins to the exterior of this cylinder, consisting of thin rectangular protrusions arranged both horizontally and vertically. At the center of the motor body, create a ...
include <BOSL2/std.scad> motor_length = 200; motor_diameter = 80; motor_radius = motor_diameter / 2; motor_rotor_diameter = 8.05; motor_rotor_radius = motor_rotor_diameter/2; motor_cooling_fin_length=0.2 *motor_radius; top_plate_thickness = 8; top_plate_length = 200; top_plate_width = 120; mount_plate_thickness = 8; ...
glb/cad_7d66912364c0.glb
Create a signet ring with a circular finger hole and a flat rectangular face for a recycling symbol. The inner diameter of the finger hole is 18.19mm, and the ring wall thickness is 1.27mm. The total height of the ring band is 6mm, but the shape transitions into a larger, flat plaque area at the top. The top face of t...
$vpr=[90 - atan(sin(45)),0,45]*1; include <Shapely/library.scad> include <Recymbol/library.scad> Object_type = 1; Ring_diameter = 18.19; Ring_thickness = 1.27; Ring_height = 6; Precision = 24; Symbol_thickness = 0.4; Emboss_symbol = false; Displayed_symbol = false; Material_type = "PLA"; Single_digit = true;...
glb/cad_9cb311d20d1a.glb
Create a memory card and USB holder by starting with a solid rectangular base that has rounded corners. The base should have a total height of 9.4mm. Carve out a central rectangular channel from the top surface, leaving a 6mm border around the edges. Within this central area, create two parallel rows of slots. Each r...
$fn = $preview ? 15 : 90; sdNumber = 12; sdWidth = 24.5; sdThickness = 2.4; thickness = 3; baseHeight = 0.4; height = 9; dispersion = 6; difference() { _base(); for (i = [0:((sdNumber / 2) - 1)]) { translate([i * ((sdThickness + thickness) * 2), 0, baseHeight]) { _sd_card(); } ...
glb/cad_701e4504eab9.glb
Create a decision ring with an inner diameter of 21mm and a total thickness of 8mm. The main body is a circular band with a rounded profile, created by extruding a circle of 1.5mm radius. To flatten the sides for text, remove four equal segments from the ring's outer circumference at 90-degree intervals using rectangul...
$fs = 0.2; $fa = 0.2; variation = 1; d = 24; mkr = 1; mkr2 = mkr + mkr; module mk(mink_r = mkr) { minkowski() { translate([0,0,mink_r]) children([0]); sphere(r=mink_r); } } circle_r = 1.5; z = 5; zt = z + 2*circle_r; module ring() { rotate_extrude(angle=360) translate([d/2,0]...
glb/cad_8a6430f131d0.glb
Create a Squiggle Ring by generating a continuous, undulating closed-loop band. The ring should have a central circular void with an inner diameter of 19mm. The band's path is defined by a series of connected segments that oscillate in a wave-like pattern both horizontally and vertically as they wrap around the center....
right = [1,0]; left = -right; back = [0,1]; forwards = -back; Z=[0,0,1]; Y=[0,1,0]; X=[1,0,0]; $fn = 10; function inrange(a,b,c) = (a<=c)&&(a>=b); function loc(n) = n*right + 3*sin(0.8*n*10)*back+ 9*sin(0.8*n*20)*left; pts = [for (n=0;n<360+1;n=n+2) loc(n)]; module chainhull_wr...
glb/cad_83c546a57eba.glb
Create an essential tool holder for a 3D printer frame. The main body is a block 20mm high with a back wall 7mm thick. On one end, create a snap-fit clip designed to grip a 6mm thick Z-axis frame, featuring a hook and a thin 4mm root that tapers to a 2mm snap end. On the top surface, create two circular holes with a 1...
side = "right"; hexclearance = 0.25; standclearance = 0.1; standoff = 0; recycle_num = 7; recycle_name = "PETG"; keysize = [2.5, 1.5, 2, 3 ]; module dummy(){} bendmult = 3; zthick = 6; zwidth = 50; holesep = 43; hookthick = 5; clipthick = 4; snapthick = 2; backthick = 7; clipht = 20; yclip = 22; plierhole = 13;...
glb/cad_9d4c6d69bccf.glb
Create a cable storage management hive consisting of a grid of 20 hexagonal cells arranged in 4 columns (X) and 5 rows (Y). Each cell is a hollow hexagonal prism with a height of 120mm, an outer diameter of 42mm, and a wall thickness of 1.2mm. The cells are packed in a staggered honeycomb pattern where every second row...
$fn = 6; nb_slots_X = 4; nb_slots_Y = 5; cable_slot_height = 120; cable_slot_diameter = 42; nozzle = 0.4; nb_of_outer_shell = 3; margin_to_have_correct_number_of_lines = 0.01; punch_corner_hole_count = 4; punch_corner_w = 8; punch_corner_h = 4; drillholeDiameter=8; countersunkDiameter=15; countersunkHeight=2; I_w...
glb/cad_119c564ccdb3.glb
Create a Guy Wire System consisting of two distinct parts: a ring and a rope tensioner winder. For the ring, create a cylindrical body with a total height of 10mm. The ring features two concentric inner bores: a larger inner diameter of 42.4mm and a smaller inner diameter of 39.9mm. To allow for rope attachment, add t...
Element = "Ring"; Cord_Diameter = 3; Large_Inner_Diameter = 42+0.4; Small_Inner_Diameter = 39.2+0.7; Height_Ring = 10; Length_Winder=35; if (Element == "Ring") {three_ropes(Large_Inner_Diameter,Small_Inner_Diameter);} if (Element == "Loop") {loop(Large_Inner_Diameter,Small_Inner_Diameter);} if (Element ...
glb/cad_eca968e46f69.glb
Create a Dividing Head Plate as a cylindrical disc with a diameter of 152.4mm and a thickness of 9.525mm. At the center of the disc, create a through-hole with a diameter of 28.575mm. Around the center, create three mounting holes spaced equally at a radius of 25.4mm from the center. Each mounting hole should have a ...
PLATE_D = 25.4 * 6; CENTER_D = 25.4 * (1 + 1/8); THICKNESS = 25.4 * 3/8; PIN_D = 25.4 * 1/8; HOLES_MIN = 15; ROW_COUNT = 6; MOUNT_COUNT = 3; MOUNT_RAD = 25.4 * 1.0; INNER_RING_RAD = 25.4 * 1.75; OUTER_RING_EDGE = 25.4 * 0.25; PIN_FN = 32; MOUNT_SCREW = 6; MOUNT_HEAD = 12; PRINTER_SLOP = 0.1; HOLES_MAX = HO...
glb/cad_eb793d1ec1fc.glb
Create a Spectranet case consisting of a main rectangular body with a hollow interior. The outer dimensions of the base are 103mm by 63mm with a total height of 20mm. The corners of the base should be rounded with a 1mm radius. Create a central hollow cavity measuring 101mm by 61mm and 25mm deep, starting 1.5mm from th...
$fn=64; module roundedCube(xdim ,ydim ,zdim,rdim) { hull(){ translate([rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); } ...
glb/cad_25db714dbf7c.glb
Create a coin organizer consisting of three vertical cylindrical tubes of varying diameters, each with a height of 30mm and a wall thickness of 3mm. The first tube should have an outer diameter of 28mm and an inner bore of 25mm. The second tube should have an outer diameter of 29.5mm and an inner bore of 26.5mm. The th...
$stena=3; $nohaspodek=1.5; $vyska=30; $koruna10 = 25; $koruna20 = 26.5; $koruna50 = 28; difference() { cylinder(h=$vyska,d=$koruna10+$stena); cylinder(h=2,d=$koruna10/2); translate([0,0,$nohaspodek]) cylinder(h=$vyska,d=$koruna10); translate([0,$koruna10/1.5 * -1,$nohaspode...
glb/cad_ca14ca326387.glb
Create a MeanWell SP320 PSU mount designed for 2020 extrusions. The object consists of three rectangular bars joined in a T-shape, all with a thickness of 4mm. Start with a top horizontal bar that is 108mm long, 10mm wide, and 4mm thick. Place two 4mm diameter holes through this bar: one centered at 96.2mm from the l...
horizontal_height=10; vertical_width=20; depth=4; mount_screw_head_height = 5; mount_screw_head_width = 10; mount_screw_hole = 6; psu_screw_hole=4; psu_vertical_screw_distance=87.5; psu_bottom_hole_center_distance = 7.1; psu_top_hole_distance=92.2 + psu_screw_hole; top_length=108; $fa = 0.01; $fs = 0.5; $fn = 0; t...
glb/cad_5fe25ef5415c.glb
Create a power supply shroud for a MeanWell SP320 with a material thickness of 1.6mm. The main body is a hollowed-out rectangular shell with an outer width of 118.2mm, a height of 53.2mm, and a length of 101.6mm. The bottom and front are open to form a cavity 112mm wide, 46.8mm high, and 100mm deep, leaving a 40mm lip ...
thk = 1.6; w = 115; h = 50; l = 100; d = 40; pw = 48; ph = 27; $fa = 0.01; $fs = 0.5; $fn = 0; main_edge(); module main_edge () { translate ([thk + w / 2, -thk - h / 2, 0]) rotate ([90, 0, 180]) difference () { cube ([w + 2 * thk, l + thk, h + 2 * thk]); translate ([2 * thk, thk, 2 *...
glb/cad_cc9a09b51688.glb
Create an Anti Backlash Nut Mount by starting with a main cylinder that has an outer diameter of 23mm and a height of 3mm. Remove a central coaxial hole with a diameter of 9.4mm that passes completely through the cylinder. To secure the nut, create four identical hexagonal recesses. Each recess is a six-sided prism w...
outer_dia = 22 + 1; inner_dia = 9.4; height = 3; hole_distance = (19.7 + 12.5) / 2; screw_hole_dia = 3.6; nut_dia = 6.5; nut_height = 2.5; $fn = 100; translate([0, 0, height]) rotate([180, 0, 0]) difference() { cylinder(d=outer_dia, h = height); translate([0, 0, -height]) cylinder(d=inner_dia, h = h...
glb/cad_a18a1ea3fb84.glb
Create an Ikea Skadis Spool Holder consisting of a main bracket and a cylindrical mounting hub. Start with a wedge-shaped base that is 110mm long, 50mm wide, and 6mm thick. On one end of this base, integrate a vertical cylindrical hub with an outer diameter of 26mm and a height of 26mm. This hub should feature a concen...
$fs = 0.1; $fa = 5; difference() { union() { difference() { rotate(a=[90,0,90]) prism(6, 90, 140); translate([110,0,0]) cube([50,50,6]); translate([0,85,0]) cube([50,50,6]); translate([5,5,0]) rotate(a=[90,0,90]) prism(6, 90-15, 140-20); } tr...
glb/cad_215b2d42fae1.glb
Create a spool holder mount for a pegboard system. Start with a main body that is a right-triangular prism with a length of 90mm, a width of 140mm, and a height of 6mm. From this main body, remove a smaller internal triangular prism that is 75mm long and 120mm wide to create a hollowed-out center. At the wide end of ...
$fs = 0.1; $fa = 5; difference() { union() { difference() { rotate(a=[90,0,90]) prism(6, 90, 140); translate([110,0,0]) cube([50,50,6]); translate([0,85,0]) cube([50,50,6]); translate([5,5,0]) rotate(a=[90,0,90]) prism(6, 90-15, 140-20); } translate([110,10,-20]) cylinder(h=26, r...
glb/cad_e413f6aeccaf.glb
Create an Ikea Skadis Spool Holder consisting of two stacked coaxial cylinders with a continuous central hole. Start by creating a base cylinder with a radius of 10mm and a height of 20mm. Directly on top of this base, add a second cylinder with a radius of 6.75mm and a height of 16mm, centered on the same axis. Finall...
$fs = 0.1; $fa = 5; difference() { union() { cylinder(h=20, r=10); translate([0,0,20]) cylinder(h=16, r=6.75); } cylinder(h=50, r=4); }
glb/cad_fd941635c8f6.glb
Create a hollow cylinder for an Ikea Skadis Spool Holder with a total length of 74mm. The outer diameter of the cylinder should be 14.75mm, and it must have a concentric inner hole with a diameter of 10.75mm to create a tube with a consistent wall thickness throughout its length.
$fs = 0.1; $fa = 5; long=74; diam_inter=10.75; difference() { translate([0,0,0]) cylinder(h=long, d=diam_inter+4); translate([0,0,0]) cylinder(h=long, d=diam_inter); }
glb/cad_780dbe2277ec.glb
Create an Ikea Skadis Spool Holder consisting of two stacked coaxial cylinders with a continuous central hole. Start by creating a base cylinder with a diameter of 10mm and a height of 20mm. Directly on top of this base, add a second cylinder with a diameter of 6.25mm and a height of 16mm, centered on the same axis. Fi...
$fs = 0.1; $fa = 5; difference() { union() { cylinder(h=20, d=10); translate([0,0,20]) cylinder(h=16, d=6.25); } cylinder(h=50, d=3); }
glb/cad_8baa4271f8fb.glb
Create a webcam mount adapter starting with a rectangular base measuring 20.2mm wide, 15mm deep, and 3.1mm high. Centered on top of this base, add a vertical rectangular block that is 13.7mm wide, 15mm deep, and 12.7mm high. Above this vertical block, construct a hollow rectangular sleeve to hold the camera. The oute...
base_width = 20.3; base_height = 3.2; base_open_front = 13.7; base_open_back = 15.7; base_openheight = 2.7 + 10; base_depth = 15; base_clearance = 0.1; cam_width = 36.2; cam_height = 9.4; cam_opening = cam_width-12; wall_width = 1.5; cube([base_width-base_clearance, base_depth, base_height-base_clearance]); transl...
glb/cad_dbae1c4085f5.glb
Create a Mask Holder consisting of a rectangular base with five protruding hooks. Start with a base plate measuring 120mm wide, 20mm high, and 2mm thick. Along the center of the base, place five identical hooks spaced evenly every 24mm, starting 12mm from the left edge. Each hook is composed of a cylinder with a 5mm di...
width = 120; heigth = 20; depth = 2; hook_count = 5; hook_dia = 5; hook_depth = 8; hook_distance = width/hook_count; label_depth=1; days = ["Mo", "Di", "Mi", "Do", "Fr"]; $fn=50; cube([width, heigth, depth]); translate([hook_distance/2, hook_dia, depth]) for(i = [0 : hook_count-1]) { translate([i*hook_dista...
glb/cad_66c841d2e2b0.glb
Create a pressBAR bottle opener. Start with a main body that is a rounded rectangular prism measuring 10mm by 80mm with a height of 14mm, ensuring all edges are softened with a 2mm radius. At one end of the body, carve out a cylindrical hole with a diameter of 32.3mm and a depth of 6.15mm to accommodate a crown cork. A...
$fs=0.6; $fa=6; translate([0,0,7])rotate([0,90,0]){ translate([0,0,1.9])scale([0.4,1,0.2])sphere( d=32.3); difference(){ minkowski(){ cube([10,80,14.0],center=true); sphere( d=4,$fs=0.3); } translate([+0,0,-4])krone(); translate([+0,-1.65,-8.0])scale([1.0,0.925,1])cylinder(2.5,d1=35.3,d2=32,center=true); tran...
glb/cad_2c1b7fd83840.glb
Create a discrete fidget ring consisting of two concentric, interlocking rings. The overall height of the object is 7mm. First, create the inner ring. This part is a cylinder with a diameter of 20mm. To create the internal track, remove a central cylinder that transitions from a diameter of 20mm at the top and bottom ...
faces=16; $fn=faces; use <knurledFinishLib_v2.scad> dia_finger=20; ring_h=7; inner_w=1; outer_w=2.5; gap_w=.8; ridge_w=1.4; click_r=ridge_w; clicks=0; chamferring(dia_finger, ridge_w, inner_w, ridge_w*2, 0,gap_w,0); chamferring(dia_finger+inner_w*2+gap_w*2, ridge_w, outer_w, ridge_w, 1,gap_w,+...
glb/cad_5a1fb01ad837.glb
Create a rubber buffer consisting of three stacked concentric cylinders with a shared central hole. Start with a base cylinder 12.6mm in diameter and 3mm high. Centered on top of this base, add a second cylinder 9.4mm in diameter and 2.4mm high. Finally, add a third cylinder on top of the second, 6.5mm in diameter and ...
$fn=100; r1=12.6/2; r2=9.4/2; r3=6.5/2; ri=4.5/2; h1=3; h2=2.4; h3=1; difference() { union() { cylinder(h1,r1,r1); translate([0,0,h1]) cylinder(h2,r2,r2); translate([0,0,h1+h2]) cylinder(h3,r3,r3); } cylinder(h1+h2+h3,ri,ri); }
glb/cad_9f6c8d2ed85d.glb
Create a Cable Clip with a total height of 16mm. The main body is a square block measuring 12mm by 12mm, with rounded sides formed by two cylinders of 12mm diameter centered 5mm apart along the Y-axis. Carve out two semi-circular cable recesses from the top and bottom of the block. Each recess is a cylinder with a di...
resolution = 100; $fn = resolution; cd = 8; ch = 16; finish = "grooves"; module ring_segment(od, id, th, sa, ea) { rotate([0, 0, sa]) rotate_extrude(angle=(ea-sa)) translate([id/2, 0, 0]) square([(od-id)/2, th]); } module inner(sa, ea) { translate([0, 0, -1]) cylinder(h=(ch+2), d=cd); ...
glb/cad_81c8314e9764.glb
Create a car radio knob consisting of three concentric cylindrical sections. Start with an outer ring that is 8mm high, tapering from a bottom radius of 13mm to a top radius of 12mm, with a wall thickness of 2mm. On top of this ring, add a cap that is 4mm high with a top radius of 12mm and rounded upper edges. Around t...
$fa = 1; $fs = 0.5; $cap = 1; $outer_ring = 1; $inner_ring = 1; $shaft_ring = 1; $split_ring = 1; OUTER_THICKNESS = 2; INNER_THICKNESS = 1; RISER = 4; HEIGHT = 8; EXTEND = 3; OUTER_TOP_RADIUS = 12; OUTER_BOT_RADIUS = 13; INNER_RADIUS = 8; SHAFT_RADIUS = 4.7/2; NOTCH = 0.5; if ($cap) { translate([0, 0, HEIGHT]) { ...
glb/cad_7b2b986930d8.glb
Create a Vudoo Magazine Feeding Fix by constructing a thin, square plate. The object should be a rectangular prism with a length of 10mm, a width of 10mm, and a thickness of 1mm. Ensure the geometry is a simple, solid flat square with sharp edges and uniform dimensions throughout.
thickness = 1; cube([10, 10, thickness], center = true);
glb/cad_cbab2a9c539e.glb
Create a microphone clip consisting of a tapered cylindrical sleeve and an attached handle. The main sleeve is 50mm long with a wall thickness of 4mm. The inner diameter of this sleeve tapers from 32mm at the base to 36mm at the top. Cut a notch out of the top of the sleeve to create an opening for the microphone to sl...
$fa = 10; $fs = 0.5; $just_handle = 0; $just_perf = 0; THICK1 = 4; THICK2 = 5.6; LENGTH1 = 50; LENGTH2 = 40; RADIUS1 = 32/2; RADIUS2 = RADIUS1 + 0.04*LENGTH1; RADIUS3 = 28/2; HOLE = 7.8/2; ANGLE = 20; module outer_cylinder() { cylinder(LENGTH1, RADIUS1 + THICK1, RADIUS2 + THICK1); translate([-(RADIUS1 + THIC...
glb/cad_860125c00fed.glb
Create a simple wheel for a small geared motor. Start by creating a main outer ring with an outer radius of 24mm and a height of 12.5mm. Hollow out the center of this ring by removing a cylinder with a radius of 22mm and a height of 13.5mm, leaving a thin wall. At the center of the wheel, place a central hub cylinder ...
wheelR=46/2; wheelH=12.5; tireH=11.5; tireOffset=1; centerOffset=2; $fn=50; centerR=5; centerH=5; spokes=3; motorR=3/2+0.1; module spokes() { intersection() { cylinder(r=wheelR-1, h=wheelH+1, center=true); for(a=[0:spokes]) rotate([0,0,a*(360/spokes)]) translate([wheelR*0.4,-0.4*wheelR,0]) d...
glb/cad_6eaa64b4f39f.glb
Create a simple wheel for a small geared motor. Start by creating a main outer ring with an outer radius of 24mm and a height of 12mm. Hollow out the center of this ring by removing a cylinder with a radius of 22mm and a height of 13mm. Next, construct the central hub and spoke system. Create a central cylinder with ...
wheelR=46/2; wheelH=12; tireH=11; tireOffset=1; centerOffset=2; $fn=50; centerR=5; centerH=5; spokes=3; motorR=3/2+0.1; module wheel() { union() { difference() { $fn=150; cylinder(r=wheelR+tireOffset, h=wheelH, center=true); cylinder(r=wheelR-1, h=wheelH+1, center=true); ...
glb/cad_ff83c6676488.glb
Create a Kids Shoe Stack consisting of two interlocking parts: a base and a top. For the base, create a rectangular platform 165mm long, 84mm wide, and 3mm thick. Round the corners with a 30mm radius. On the top surface of the base, center an imprint of the word "Maja" using a bold Ubuntu Mono font at 8mm size, recess...
$fn=150; size = 165; width = 84; thick = 3; corner = 30; t_back_h = 10; b_back_h = 0; tipp_h = 36; lean = 24; imprint = 3; imprint_t = "Maja"; imprint_f = "Ubuntu Mono:style=Bold"; imprint_s = 8; notch_size = 10; notch_tol = 0.2; module curve_border(radi,t,hei){ translate([radi/2,-radi...
glb/cad_8ad98b59f0e8.glb
Create a headphone holder by constructing a base shape that blends a rectangular profile with rounded ends. Start with a main body that is 75mm long, 30mm wide, and 20mm high. The front and back faces of this body should be rounded with a radius of 25mm. At the tall end of the holder, integrate a vertical support sec...
NAME = "T"; W = 30; H = 20; L = 75; HF = 35; T = 5; R = 25; $fn = 50; difference() { union() { hull() { translate([0,0,0]) intersection() { translate([0,0,-R+HF]) rotate([0,90,0]) cylinder(r=R, h=T); translate([0,-W/2,0]) cube([T, W, HF]); } translate([10,0,0]) in...
glb/cad_ed5050a50570.glb
Create a PVC Pipe Mount consisting of a square base and a conical collar. Start by creating a square base 60mm wide, 60mm deep, and 6mm thick. At each of the four corners of this base, centered 25mm from the middle along both the X and Y axes, place a vertical hole 3mm in diameter that passes completely through the bas...
$fn=100; id = 26.5; rd = id / 2; hi = 25.4; screwDia = 3; difference() { union() { translate([0,0,0]) cylinder(h=hi, r1=rd+14, r2=rd+5); translate([0,0,0]) foot(); } translate([0,0,-10]) cylinder(h=hi*2, r=rd); } module foot() { difference() { translate...
glb/cad_c505dc886e17.glb
Create a Laser Pointer Switch by starting with a main outer cylinder 25mm in diameter and 12mm high, centered on the origin. Attach a rectangular handle to this cylinder, measuring 6mm wide, 4mm deep, and 12mm high, positioned with its center at x=10, y=2.8, and z=-6. From this combined volume, remove a central vertica...
laserswitch(); module laserswitch () { difference() { union () { cylinder(d=25, h=12, center=true, $fn=200); translate([10,2.8,-6]) { cube([6,4,12]); } } translate([0,0,0]) { cylinder(d=14.60, h=13, center=true, $fn=200); } tran...
glb/cad_e04cb2fd192e.glb
Create a Magnerds magnet holder consisting of three main concentric components aligned along a central axis. First, create a belt ring by forming a cylinder with a radius of 4.4mm and a height of 7.6mm (twice the barrel outer diameter). Hollow this out by removing a concentric inner cylinder with a radius of 3.4mm. ...
BELT_DIAMETER = 4.4; BARREL_DEPTH = 4.6; BARREL_OUTER_DIAMETER = 3.8; RETAINER_RING_DIAMETER = .63; BAR = "no"; RETAINER_RING = "yes"; translate([0,BELT_DIAMETER,0]) { difference() { color("silver"){ cylinder (h = BARREL_OUTER_DIAMETER*2, r=BELT_DIAMETER,$fn=100); } color("Whi...
glb/cad_434bb16513c5.glb
Create a nozzle-shaped bead for a bike spoke. Start with a central shaft that is 7mm in diameter and 22mm long. The base of the nozzle features a threaded section created by a series of 150 small, rotating segments; the first 10 segments taper slightly, while the remaining segments maintain a constant diameter of 5mm. ...
resolution = 100; $fn = resolution; sd = 7; module hexagon(r) { for (i=[0:5]) { rotate(i*60) polygon([ [0, 0], [r, 0], [(r*cos(60)), (r*sin(60))]]); } } module rat(r) { translate([0, 0, -0.05]) linear_extrude(0.1) polygon([[r, 0], [(r+1), 0.5], ...
glb/cad_3784a5a8748a.glb
Create a vacuum spacer in the shape of a low-profile ring. Start with a cylinder that has an outside diameter of 30mm and a height of 3mm. Remove a concentric inner cylinder with a diameter of 18mm to create a hollow tube. To allow air to pass through the walls, create 19 small circular holes, each 2mm in diameter, dri...
$fn=30; outsidediameter=15; insidediameter=9; spacerheight=3; porthole=1; difference(){ difference(){ cylinder(h=spacerheight, r=outsidediameter); cylinder(h=spacerheight, r=insidediameter); } for(n=[0:18]) rotate([0,0,n*20]) translate([insidediameter-1,0,spacerheight/2]) rotate([0,90,0]) cylinder(h=outsid...
glb/cad_32ddf2c3f74f.glb
Create a Yagi Element Clip designed to mount an antenna element to a bar. Start by creating a base rectangular block with a width of 56mm and a height of 12.5mm. On top of this base, add a rectangular section that is 56mm wide, 40mm deep, and 5mm thick. To form the clip's grip, create a semi-cylindrical profile acr...
Clip_Type = "Clip"; Element_Diameter = 12.2; Bar_width = 46; Clip_width = 56; Bar_height = 12.5; Clip_height = Bar_height + 11; if (Clip_Type == "Clip") { rotate([90,0,180]) clip(); } else { rotate([90,0,180]) dipolclip(); } *yagi(); module clip(offset = 0, rot = 0) { color("green") translate([0,offse...
glb/cad_f7e81d89fd9e.glb
Create a set of PVC pipe connectors based on a central core with cylindrical shafts extending outward. The core is a cube with a side length of 27mm and rounded corners (3mm radius). Each connector features cylindrical shafts with an outer radius of 13.5mm and a length of 45mm. Construct five distinct connector variat...
$fa = 2; $fs = 0.5; INNER_RADIUS = 20.8/2; OUTER_RADIUS = 27/2; SIZE = 2*OUTER_RADIUS; LENGTH = 45; ANGLE = 60; $gc3 = 1; $gc4 = 1; $gc4l = 1; $gc4r = 1; $gc5 = 1; module core_small() { minkowski() { cube(SIZE, center=true); sphere(3); } } module core_big() { translate([-SIZE/5, 0, 0]) minkowski()...
glb/cad_ce2119fa8278.glb
Create a set of pane connectors consisting of an edge piece and a corner piece. Both components are based on a specific cross-section: a symmetrical, interlocking C-shaped profile with a central 2mm by 2mm square hole and walls 1mm thick, extending to a total outer width and height of 7mm. For the edge connector, ext...
$w = 1; $p = 2; $d = 7; $el = 25; $cl = 20; $edge = 1; $corner = 1; module cross_section() { p0 = 0; p1 = $w; p2 = $w + $p; p3 = 2*$w + $p; p4 = 2*$w + $p + $d; difference() { polygon([[p0,p0], [p4,p0], [p4,p1], [p3,p1], [p3,p2], [p4,p2]...
glb/cad_67729690b7ac.glb
Create a PCB DIN clip mount. Start with a central mounting bar that is 6mm high, 6mm wide, and 92mm long. At each end of the mounting bar, add a cylindrical pillar with a diameter of 6mm and a height of 4mm. These pillars should be centered on the bar's width. On the opposite side of the mounting bar, construct the ...
CLIP_H = 6; PILLAR_WIDTH = 6; PILLAR_LEN = PILLAR_WIDTH; HOLE_DIAMETER = 2.8; HOLES_UNDERSIZED = true; PILLAR_PITCH = 92; MOUNT_H = 6; PILLAR_H = 4; EXTRA_CLIP_HEIGHT = 1; EXTRA_CLIP_WIDTH = 4; EXTRA_SPRING_THICK = .5; DIN_WIDTH = 35; DIN_LIP_W = 1; CYLINDER_PILLARS = true; p = [ [13.39+DIN_LIP_W, 6+EXTRA_...
glb/cad_b561d5abc5a3.glb
Create a TPA3118 Pocket Amp enclosure consisting of a main box and a matching lid. For the main box, create a rectangular base with a wall thickness of 3mm and rounded corners with a 3mm radius. The interior should be hollowed to an inside height of approximately 15mm. Inside the box, add four cylindrical IC studs wi...
board_height=12.2; board_thick=1.6; ic_screw_length=6; ic_stud_height = ic_screw_length-board_thick+.5; screw_term_height=14.9; screw_term_spacing=28.3; screw_term_sdia=3.6; screw_term_slen=2.4; screw_term_depth=22; screw_term_bsh=ic_stud_height; screw_term_bsd=0; screw_term_width=27.8; screw_term_sin_x=4.9; screw_ter...
glb/cad_1173dfa90056.glb
Create a 9-volt battery holder consisting of two side-by-side vertical columns. The overall outer dimensions of the block are 66mm wide, 58mm deep, and 108mm tall. The walls and the central divider are each 4mm thick. The interior is hollowed out to create two slots, each designed to hold a stack of six batteries. Eac...
batteryHeight = 17; batteryWidth = 26; batteryDepth = 44; anodeCathodeWidth = 22; wallThickness = 4; tolerance = 2; batteriesInEachColumn = 6; grabbingAreaDepth = 19; cubeX = (batteryWidth * 2) + (3 * wallThickness) + tolerance; cubeY = batteryDepth + (2 * wallThickness) + tolerance; cubeZ = wallThickness + (batteryHe...
glb/cad_e38fe624ab6d.glb
Create a Ham Chest organizer consisting of two main compartments: a battery bay and a transceiver cage. For the battery bay, create a bottom plate 170mm by 142mm with a thickness of 7mm, featuring rounded corners with a 7mm radius. Cut two rectangular openings into this plate to accommodate a battery of 151mm by 64mm....
battery_x=151; battery_y=64; battery_z=95; *spacer(); *batbay_bottom(109); *batbay_side(109+20,4,90,0); *batbay_side(109+20,142-4,90,1); *batbay_top(109, 0, 150, 1); *transceiver_bottom(0,0); *transceiver_side(39,4,90,0); *transceiver_side(39,142-4,90,1); *transceiver_topbar(39+6,0,22+94,-90); display_mount(); *no...
glb/cad_902cb2a88d61.glb
Create a washer by constructing a flat, wide cylinder with an outer diameter of 30mm and a thickness of 2.65mm. Center a circular hole through the entire height of the object with an inner diameter of 16mm to create a ring shape. Ensure the geometry is perfectly centered and the walls are uniform.
outerDiameter = 30; innerDiameter = 16; thickness = 2.65 ; difference() { cylinder(h=thickness, r=outerDiameter / 2); translate([0,0,-1]) cylinder(h=thickness * 2, r=innerDiameter / 2); }
glb/cad_36b49634c4bb.glb
Create a toy xylophone mallet by joining a sphere and a long cylinder. Start by placing a sphere with a radius of 9mm at the base. Attached to the top of this sphere, extend a cylinder with a radius of 2mm and a total height of 180mm, centered along the same vertical axis. To create a recessed detail at the bottom of t...
difference() { union() { sphere(9, $fn=100); cylinder(180, 2, 2, $fn=100); } translate([0,0,-9]) cylinder(12, 4.5, 4.5, $fn=100); }
glb/cad_76819eca077b.glb
Create a bone-shaped treat toy with a total length of 63mm, a width of 36mm, and a height of 4mm. The main body is formed by a central rectangular bar with rounded ends, specifically using four cylinders with 16mm diameters positioned at the corners (two at each end) and a central rectangular section. Carve a smaller...
$fn=30; length = 63; width = 36; height = 4; code_length = 5; code_width = 1.9; codes = [ [0,1,0,1,0,1], [1,0,1,0,1,0], [1,0,0,1,0,1], [1,0,1,1,0,1], [0,1,0,0,0,1], [0,1,1,0,0,1], [1,0,0,0,0,1], [0,1,1,1,0,1], [1,1,0,0,0,1], [1,1,1,0,0,1], [1,1,0,1,0,1], [1,1,1,1,0,1], [1,0,0,0,1,0], [1,0,...
glb/cad_232069986738.glb
Create a Terminal Block Backplate by constructing a shallow open-topped rectangular box with an outer width of 76.1mm, a depth of 18.46mm, and a height of 9.6mm. The walls and the base of this box must be exactly 2mm thick, leaving a hollow interior cavity. At the center of the base, create two vertical cylindrical hol...
width = 75.9; depth = 16.26; height = 7.4; ledge = 1.6; pad = 0.1; thickness = 2; holerecessx = 4.45; holerecessy = 7.75; holediameter = 3.2; holeheight = 9.85; difference() { cube([width+pad,depth+pad+thickness*2,height+pad+thickness]); translate([0,thickness,thickness]) cube([width+pad,depth+pad,height+pad...
glb/cad_25c791d13166.glb
Create an offset screwdriver tool by designing a flat, elongated handle with a total length of 70mm, a depth of 7mm, and a width of 7.3mm. The overall shape should be a capsule, formed by joining two cylinders with a radius of 3.55mm positioned at each end of the 70mm length. At one end of this handle, create a hexagon...
width = 7.1+0.2; depth = 7; length = 70; $fn = 150; difference() { hull() { cylinder(h = depth, r = width); translate([length,0,0]) cylinder(h = depth, r = width); } translate([0,0,2]) cylinder(h = depth + 1, r = width/2, $fn = 6); }
glb/cad_a3ecc00e7611.glb
Create a Parametric AA Battery Box consisting of a holder and a cover. The holder is a rectangular base designed to house 4 AA batteries. Each battery cell space is defined by a barrel length of 56.6mm and a diameter of 14.5mm, with a bottom thickness of 3mm and side walls of 0.5mm. Construct the holder with a centra...
part = "holder"; cells = 4; seriesContacts = true; mounting_lugs = "topbottom"; mounting_lug_screw_diameter = 3; mounting_lug_thickness = 4; center_channel_width = 3.0; other_channel_width = 2.5; ...
glb/cad_1d159fc7be6e.glb
Create a tortilla press consisting of a base, a top pressing plate, and a connecting arm. For the base, create a cylinder with a diameter of 165.1mm and a height of 20.1mm. Add two rectangular blocks to the sides of the cylinder, each 40mm wide, 40mm deep, and 20mm high, centered 80mm from the center of the cylinder....
diam = 6.5*25.4; tortillaThickness = 1/16*25.4; base(); translate([-95,0,44.5]) arm(); translate ([0,0,40+tortillaThickness]) rotate([180,0,0])top(); module base(){ difference(){ union(){ cylinder(h=20.1,d=diam,center=false,$fn=60); translate([80,0,10]) minkowski()...
glb/cad_cea13d312e29.glb
Create a Pegboard Wizard tool holder designed for a pegboard with 4.5mm diameter holes. Start by creating a main body that is a rounded rectangular prism with a height of 15mm. The outer dimensions of this body should be 13.85mm in width (X) and 23.85mm in depth (Y), with a wall thickness of 1.85mm. The corners of th...
holder_x_size = 10; holder_y_size = 10; holder_height = 15; wall_thickness = 1.85; holder_x_count = 1; holder_y_count = 2; corner_radius = 30; taper_ratio = 1.0; holder_offset = 0.0; strength_factor = 0.66; closed_bottom = 0.0; holder_cutout_side = 0.0; holder_angle = 0.0; holder_sides = max(50, min(20, ho...
glb/cad_9b6ff17a4806.glb
Create a wall mount pen holder by constructing a hollowed-out cylindrical bin with a flat back. Start with a solid cylinder 75mm tall with an outer radius of 15mm. Attach a rectangular block to the side of this cylinder, measuring 30mm wide, 15mm deep, and 75mm tall, centered so it extends from the cylinder's center to...
wall_thickness = 3; wall_thickness_half= wall_thickness / 2; bin_height = 75; inside_radius = 12; outside_radius = inside_radius + wall_thickness; outside_cube = 2 * outside_radius; inside_cube = 2 * inside_radius; hole_radius = 2; hole_location = outside_radius / 3; $fn=100; difference() { union() { cylinder(r...
glb/cad_df1643634e35.glb
Create a sliding closet door guide consisting of a flat rectangular base and three vertical posts. The base should be 144mm long, 5mm thick, and 25mm wide. Position three vertical posts, each 4mm wide and 40mm high, extending upwards from the base. Place the first post 10mm from the left edge, the second post 48mm from...
$fn = 50; b = 25; c = 5; d = 40; e = 10; f = 38; g = 4; h = 7/2; i = 4.75/2; j = 98; a = 2*e+3*g+2*f; difference() { color("grey") linear_extrude(height = b) union() { square(size = [a, c]); translate([e, c]) square(size = [g, d]); translate([e+g+f, c]) square(size = [g, d]); translate([e+g+f+g+f, c]) squar...
glb/cad_f1ef83f9a9f2.glb
Create a hydraulic fluid tank breather cap consisting of a wide circular head and a narrow cylindrical stem. Start with a circular base 30.5mm in diameter and 5mm thick. The top surface of this base should be rounded with a radius of 2.5mm. Cut a rectangular slot 15mm wide, 3mm high, and 5mm deep through the center o...
$fn = 64; ID = 16.5; OD = 30.5; GROMMIT_DEPTH = 15; hydraulic_tank_plug(ID, OD, GROMMIT_DEPTH); module logo(cap_thickness=5) { translate([-13.6,12.8,-cap_thickness/2+0.2]) scale([0.35,0.35,1]) rotate([180,0,0]) linear_extrude(height=0.4, center=true, convexity=10) ...
glb/cad_5a4bb9c4d323.glb
Create a sweeping name plate sculpture consisting of two lines of text emerging from a curved base. First, create a base with a height of 1mm. The base should follow the contours of the text, extending 5mm beyond the sides and 3mm above and below the letters. On top of this base, place two lines of text. The upper l...
faces_segment = 6; textstring1="#"; textstring2="Hashtag"; HiddenText=""; textsize1=20; textsize2=16; distance=1.1; fontname1="Henny Penny"; fontstyle1="Regular"; fontname2="Slackey"; fontstyle2="<same as fontstyle1>"; base_radius_add=4; baseheight=1; cutangle=65; text_excenter=10; direction="up"; BaseT...
glb/cad_f2756106c5b3.glb
Create a Large Cup Holder Adapter consisting of a main cylindrical body with a hollowed interior. The outer cylinder must have a diameter of 78mm and a total height of 86mm. Starting from the bottom, create a conical transition that slopes inward from the outer 78mm diameter to an inner base diameter of 70mm. This holl...
$fa = 1; $fs = 0.4; height=86; diameter=78; bottomBaseDiameter=70; slopeTransitionOffset=12; module keys(size = 10) { translate([0,0,-8]) linear_extrude(10) union() { translate([17,17,0]) circle(d = size, $fs = 7); translate([17,-17,0]) circle(d = size, $fs = 7); translate([-17,17,0]) circle(d = ...
glb/cad_025f5aa5c1b1.glb
Create a bike light mount consisting of two identical mirrored components joined by a central axis. For each component, start with a base truncated cone that has a bottom radius of 10.5mm, a top radius of 8.25mm, and a height of 10mm. Centered within this base, add a rectangular block measuring 6mm by 6mm by 5mm. Above...
$fn=50; module basecylinder() { cylinder(r1=21.5/2,r2=16.5/2,h=10,center=true); for(a=[0:120:360]) rotate([12,0,a]) translate([0,9,-1.8]) cube([2,2,10],true); } difference() { union() { translate([0,0,-3]) basecylinder(); translate([0,0,-25/2+2.5]) { hull() { cylinder(r=22.5/2,h...
glb/cad_20046a531416.glb
Create an SSD mount rail by constructing a central rail and base. Start with a main rail body that is 75mm long, 8mm wide, and 5mm high. Attach this to a flat rectangular base that measures 12.4mm wide and 75mm long with a thickness of 2mm. On one side of the rail, add a vertical wall that is 75mm long and 16.2mm high....
include <BOSL2/std.scad> include <BOSL2/sliders.scad> include <BOSL2/hull.scad> pi_x = 85; pi_y = 55; bottom_x = 90.6; bottom_y = 61.4; bottom_z = 9.7; l = 75; w = 8; h = 5; wall = 4; base = 5; offset_base = -3.15; offset_y = -1; rail_base_width = wall+w+0.4; rail_base_height = 2; wall_h = 16.2; translate([0,-rail_...
glb/cad_f5290cafed4a.glb
Create a pogo pin clamp block by starting with a rectangular solid measuring 15mm in width, 6mm in height, and 2mm in depth. Along the bottom edge of the block, create five circular holes that pass completely through the 6mm height. Each hole must have a diameter of 1mm. Position the first hole centered at 1.27mm from ...
$fn = 16; ppinDiam = 1.0; blockHeight = 6.0; blockWidth = 15.0; blockDepth = 2.0; stepSize = 2.54; difference() { cube([blockWidth, blockHeight, blockDepth]); for (i = [0:1:5]) translate([stepSize/2 + stepSize*i, -0.01, 0]) { rotate([-90, 0, 0]) pin(); } } module pin() { cyl...
glb/cad_6341d643cfd9.glb
Create a pogo pin clamp block by starting with a rectangular solid measuring 15mm in width, 2.54mm in depth, and 5mm in height. Drill six vertical holes completely through the block, each with a diameter of 1mm. These holes should be arranged in two parallel rows of three. The first row of holes is positioned along the...
$fn = 16; cBlockWidth = 15.0; cblockHeight = 5.0; cblockDepth = 2.54; pinDist = 1.27; xOffset = pinDist * 2; pinDiam = 1.0; difference() { cube([cBlockWidth, cblockDepth, cblockHeight]); translate([xOffset, 0, 0]) { translate([pinDist * 2, 0, -0.01]) pinSpace(); translate([pinDist * 4, 0, -0....
glb/cad_30a284a05bad.glb
Create a Ring Hanger by constructing a thin, circular hoop with an outer diameter of 200mm and a height of 15mm. Hollow out the center to create a ring wall with a consistent width of 5mm. Around the perimeter of this ring, create 24 evenly spaced holes. Each hole should be 5mm in diameter and drilled completely throug...
ring(200, 5, 15, 5, 24, $fn = 72); module ring(outer_diameter, width, height, hole_diameter, hole_count) { difference() { cylinder(d = outer_diameter, h = height); translate([0, 0, -0.1]) cylinder(d = outer_diameter - 2 * width, h = height + 1); if (hole_diameter > 0 && hole_count > 0) { phi = 360 / hol...
glb/cad_31a23cd98a2b.glb
Create a parts organiser drawer with overall dimensions of 60mm width, 40mm height, and 200mm depth. The main body is a hollowed-out rectangular box with rounded corners, featuring walls and a floor that are 1.5mm thick. Divide the interior depth into four equal compartments using three internal walls, each 1.5mm thi...
WIDTH = 60; HEIGHT = 40; DEPTH = 200; COMPARTMENTS = 4; SECTIONS = 1; HAVE_HANDLE = true; HAVE_LABEL = true; HAVE_TAB = true; WALL_THICKNESS = 1.5; FLOOR_THICKNESS = 1.5; HANDLE_DEPTH = 7; HANDLE_STYLE = "FINGER"; TAB_HEIGHT = 5; TAB_WIDTH = WIDTH-(WIDTH*0.2); union() { difference() { round_c...
glb/cad_1be972f88c8d.glb
Create a CHAdeMO vehicle socket cover consisting of a hollow cylindrical cap and a wide circular base. Start by creating a solid cylinder with a radius of 40mm and a height of 5mm to serve as the base. Centered on top of this base, add a taller hollow cylinder with an outer radius of 35mm and a total height of 40mm. Th...
union(){ difference() { cylinder( r=35, h=40, $fn=100 ); translate( [0,0,5] ) cylinder( r=32, h=40, $fn=100 ); } cylinder( r=40, h=5, $fn=100 ); translate( [-50,-10,0] ) cube( [100,20, 5] ); translate( [-10,-50,0] ) cube( [20,100, 5] ); }
glb/cad_57be4ae1be54.glb
Create a mechanical keyboard plate and case. The plate is 3mm thick with a rounded outer boundary (radius 2mm). The plate features a grid of switch holes and specialized cutouts for 2u stabilizers. Each standard switch hole consists of a central rectangular cutout of 14mm by 14mm, with a surrounding rim that is 1.5mm t...
switch_x = 14; switch_y = switch_x; pitch = 19; u = pitch; clip_thickness = 1.5; clip_length = 2; layer_height = 0.2; plate_thickness = 3; rows = 2; cols = 2; outer_padding = 5.5; rounding = 2; hole_size = 4; case_height = 10; switch_positions = [ [2*u,1*u,0], [2*u,2*u,0], ...
glb/cad_7a7076fa3edf.glb
Create a mechanical keyboard plate and case consisting of two separate components. First, create a rectangular plate with a thickness of 3mm. The overall dimensions should be 48mm by 48mm (calculated from 19mm spacing for 2 rows and 2 columns plus 10mm total padding). Within this plate, create a 2x2 grid of square sw...
slop = 0.0; switch_x = 14 + slop; switch_y = switch_x; rounding = 2; plate_thickness = 3; clip_thickness = 1.5 + slop; num_rows = 2; num_cols = 2; outer_padding = 5; hole_size = 4; case_height=12; module cut_holes(){ hole_locations=[[0,0,0],[19*num_rows+outer_padding,0,0],[0,19*num_cols+outer_padding,0],[19*nu...
glb/cad_f6bd71cf0e0a.glb
Create a Lighting Choke consisting of a thin circular plate with a conical collar. Start with a flat circular disk that has a diameter of 214.54mm and a thickness of 2mm. In the center of this disk, create a cylindrical hole with a diameter of 100mm that passes completely through the plate. Attached to the bottom of t...
use <smooth_prim.scad> rim_diam = 8.25*25.4-2; rim_thick = 3.6; rim_wide = 0; cone_high = 8*25.4; cone_diam_top = 50; cover_face_thick = 2; flange_wall_thick = 1; tolerance = 0.4; hole_diam = 100; $fn=128; flange_high = rim_thick + flange_wall_thick; cone_diam1 = rim_diam - 2*rim_wide; cover_diam = rim_diam + 2*flan...
glb/cad_510c681de638.glb
Create a Power Strip Mount consisting of a central rectangular body and two symmetrical mounting wings. The central body is a hollowed-out rectangular shell with an outer dimension of 57.5mm width, 14mm depth, and 43.5mm height. The interior cavity is 53.5mm wide and 41.5mm high, leaving a wall thickness of 2mm. On the...
stripWidth=53.5; stripHeight=41.5; cordHoleWidth=40; cordHoleHeight=stripHeight-5; mountWidth=14; thickness=2; wingHoleDiameter=4.5; wingWidth=20; wingThickness=thickness*2; cornerRadius=4; totalWidth=stripWidth + 2 * thickness; totalHeight=stripHeight + thickness; $fa=6; $fs=0.4; translate([-(wingWidth+totalWidth/...
glb/cad_3f3d4c9ee1fd.glb
Create a parrot perch holder consisting of a central vertical cylinder and two symmetrical flat wing-like arms. Start by creating a central vertical cylinder with an outer diameter of 23mm and a height of 23mm. This cylinder should be hollow, with an inner diameter of 17mm. Position two identical flat plates extendin...
$fn=80; sirka=64; vyska=23; hloubka=3.8; r=vyska/4; mezera=2.2; dBidlo=17; dOutBidlo=23; vyskaPlastBidlo=23; prumerPropojovaciTycky=9; module packa(sirka,vyska,hloubka,r){ hull(){ cylinder(r=vyska/2,h=hloubka, center=true); translate([-sirka/2+r,0,0])cylinder(r=r,h=hloubka, center=true); translate([sirka/2-r,0,...
glb/cad_a80e3bb09ebb.glb
Create a Y-axis Bearing Holder. Start with a central block that is 16.4mm wide, 25.6mm long, and 6mm high. The block has rounded corners with a radius of 2.65mm. At the center of the block, create a cylindrical cutout for a bearing. The cutout should have a diameter of 15.3mm (bearing outer diameter plus 0.3mm loosen)...
bearing_od = 15; bearing_od_loosen = +0.3; bearing_lip = true; bearing_ln = 23.9; inset_loosen = 0.1; inset_wd = 16.4; inset_wd2 = 9.9; inset_ln = 25.6; inset_ht = 6.0; inset_r = 5.3/2; thickness_botton = 2.5; shell_wd = 10.2*2+inset_wd2; shell_ht = 17-inset_ht+3; bearing_r = bearing_od/2; bearing_ln_mod = bearing_...
glb/cad_fb4d89edd99e.glb
Create a Y-axis Bearing Holder. Start with a central block that is 16.4mm wide, 25.9mm long, and 6.2mm high. The block has rounded corners with a radius of 2.75mm. Add a rectangular shell around the center that is 20.4mm wide and 13mm high. On the bottom side of this shell, create a semi-cylindrical cutout to house th...
bearing_od = 15; bearing_od_loosen = 0.1; bearing_lip = true; bearing_ln = 23.9; inset_loosen = 0.1; inset_wd = 16.4; inset_wd2 = 9.9; inset_ln = 25.9; inset_ht = 6.2; inset_r = 5.5/2; thickness_botton = 2.5; shell_wd = 10.2*2+inset_wd2; shell_ht = 17-inset_ht+3; bearing_r = bearing_od/2; bearing_ln_mod = bearing_l...
glb/cad_25de93f9f9b4.glb
Create a Buster Beagle electronics mount consisting of three rectangular frames with 6mm thick walls. The first frame is 49.82mm by 49.09mm, featuring a 10mm by 20mm by 20mm central block and a cylindrical protrusion with a 6.25mm diameter and 20mm height, topped by a 10mm diameter, 6mm high disc. The second frame is 4...
$fn=25; thick = 6; module pidHolder(){ difference(){ cube([44.82+0.25+5,44.09+0.5+5,thick],center=true); cube([44.82+0.25,44.09+0.5,thick],center=true); } difference(){ translate([(44.82+0.25+5)/2+10/2,-((44.09+0.5+5)-20)/2,15-16/2]){ cube([10,20,20],center=true); } translate([(44.82+0.25+5)/2+5/2-5,-((44.0...
glb/cad_cd16a7760b92.glb