Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Dowel Jig by starting with a rectangular block measuring 30mm in length, 10mm in width, and 10mm in height. Along the center line of the 30mm length, at 10mm intervals (at 5mm, 15mm, and 25mm), remove three distinct vertical holes. The first hole at 5mm is a bolt hole: create a cylindrical void 3mm in diamet...
$radial_error = 0.1; $fn = 16; module cylinder_outer(height, radius, fn=$fn) { fudge = 1/cos(180/fn); cylinder(h=height,r=radius*fudge+$radial_error, $fn=fn); } module cylinder_inner(height, radius, fn=$fn) { cylinder(h=height,r=radius-$radial_error,$fn=fn); } module bolt(diameter=3, depth=8, nut_offset=2, shaft_...
glb/cad_34cfb890bc74.glb
Create a Parametric Christmas Gift Box consisting of a base and a lid. For the base, create a rectangular hollow box with inner dimensions of 83mm length, 45mm width, and 35mm height. All walls should be 2mm thick. The four vertical corners of the base are rounded with a radius of 2mm. For the lid, create a rectangu...
lid_tolerance = .2; length=83; width=45; height=35; wall=2; ribbon_overlap=10; draw_bottom=1; draw_ribbon=1; draw_top=1; ribbon=(width>length?length/3:width/3); assembled=0; if( draw_bottom ) { difference() { union() { translate( [(width+wall*2-ribbon)/2,length+wall*2,wall] ) { rotate( [0,90,0] ) cylinder...
glb/cad_2628c845c6c9.glb
Create a Parasite coin by combining two geometric elements. First, create a cylinder with a radius of 100mm and a height of 10mm. Second, take the 2D shape defined in the parasite.dxf file and extrude it linearly to a height of 20mm, centering it along its Z-axis. Position this extruded shape so that its center is 10mm...
union(){ translate([0,0,10]) linear_extrude(file = "parasite.dxf", height = 20, center = true); translate([75,90,0]) cylinder(h = 10, r=100); }
glb/cad_16fde3165dd3.glb
Create a paint bottle organizer box with a brush container. The main body is a rectangular base with a total width of 102mm and a total depth of 52mm. The walls are 1mm thick. Construct a primary section for bottles with a height of 40mm. Divide this area into a grid of 4 columns and 2 rows of cells. Each cell should ...
showParts = 0; bottleSupportWidth = 25; bottleSupportDepth= 25; bottleHeight = 40; numColumns = 4; numRows = 2; saveMat = 1; brushDepth = 15; brushHeight = 15; numBrushes = 1; lid = 0; totalHeight = 90; outerWall = 1; innerWall = 1; lidWall = 2.4; totalWidth = (bottleSupportWidth+innerWall)*numColumns+2*o...
glb/cad_9c91c4a6cd93.glb
Create a Ninja Star Fidget Spinner with a three-pointed star geometry. The main body is a central cylinder with a diameter of 26mm (22mm bearing diameter plus 4mm wall thickness) and a height of 7mm. At the center, create a circular hole with a diameter of 22mm to accommodate a 608 bearing. Around this center, positi...
points = 3; yAspect = 1.7; whichWeight = "5/16 hex nut"; $fn = 60; x = 0; y = 1; z = 2; inch = 25.4; bearing = [22, 22, 7]; sae = [.577*inch, .5 * inch, 7]; sae38 = [.650*inch,.562*inch, 7]; sae12 = [.866*inch, .75*inch, 7]; metric8 = [15, 13, 7]; metric10_16 = [17.77, 16, 7]; metric10_17 = [19.6, 17, 7]; metric12_...
glb/cad_43f52a6bd51a.glb
Create a Printrbot Printable Print Bed holder consisting of two identical mirrored rails. For one rail, start with a central rectangular block measuring 200mm in length, 252mm in width, and 30mm in height, centered on the origin. Remove a series of cylindrical holes and rectangular slots from this block to create the...
D=4; R=D/2; module X_cross() { difference() { union() { cube([248, 15, 10], center = true); translate([124, 0, 0]) cylinder(h = 10, r1 = 7.5, r2 = 7.5, center = true); translate([-124, 0, 0]) cylinder(h = 10, r1 = 7.5, r2 = 7.5, center = true); } union() { translate([124, 0, 0]) ...
glb/cad_97a4fa3324b8.glb
Create a Printrbot Printable Print Bed consisting of two identical mirrored rails. For one rail, start with a central rectangular base measuring 320mm in length, 15mm in width, and 10mm in height. Round the two far ends of this base with semi-cylinders of a 7.5mm radius. From this base, remove several geometric secti...
D=4; R=D/2; module Y_cross() { difference() { union() { cube([320, 15, 10], center = true); translate([160, 0, 0]) cylinder(h = 10, r1 = 7.5, r2 = 7.5, center = true); translate([-160, 0, 0]) cylinder(h = 10, r1 = 7.5, r2 = 7.5, center = true); } union() { translate([160, 0, 0...
glb/cad_32a5efc4d23f.glb
Create a bearing cap for a fidget spinner by constructing a series of stacked concentric cylinders. Start with a main circular base plate that has a diameter of 22mm and a total thickness of 1.3mm. Centered on top of this base, add a second, smaller cylinder with a diameter of 11mm and a height of 0.5mm. Finally, place...
bearing_thickness=7; bearing_outer_diameter=22; bearing_inner_diameter=8; plate_thickness=1.3; air_gap=0.5; oversize_for_clamping=0.4; oversize_main_plate=0; phase=min(plate_thickness/2,1); $fn = 100; cylinder(phase,d1=bearing_outer_diameter+oversize_main_plate-phase*2,d2=bearing_outer_diameter+oversize_main_plate,c...
glb/cad_07da7ae01e24.glb
Create a Geeetech G2S Top Stabilizer by constructing a hollowed-out triangular wedge designed to fit over the printer's frame. Start with a solid equilateral triangle with a side length of 150mm and a thickness of 8mm. Create a larger outer shell by scaling this triangle by 1.8 in the X and Y planes and increasing its ...
supportHeight = 25; washersFlag = 1; triangleSize = 150; acrylicThickness = 8; cutSide=80; pulleyCutSide=38; module topWedge () { difference () { rotate ([0,0,15]) translate ([0,0,-acrylicThickness/2]) linear_extrude (height=acrylicThickness) polygon(points=[[0,0], [triangleSize,0], ...
glb/cad_2fa72adfefb5.glb
Create a Golf Ball Holder by starting with a solid cube that measures 30mm on all sides. From this cube, remove a sphere with a diameter of 30mm centered exactly at the cube's origin. To complete the geometry, remove three additional spheres, each with a diameter of 30mm, positioned such that they are centered on the c...
difference() { cube(30); sphere(30); } rotate([90, 0, 0])translate([0, 0])difference() { cube(30); sphere(30); } rotate([90, 90, 90])translate([0, 0])difference() { cube(30); sphere(30); } rotate([90, 90, 0])translate([0, 0])difference() { cube(30); sphere(30); }
glb/cad_9e2cb39b98a1.glb
Create an adjustable-angle fan mount for a 40mm fan. Start by constructing a main body that consists of a 40mm diameter cylinder with a height of 30mm. This cylinder should be hollowed out by a concentric inner cylinder with a radius of 18mm (20mm minus the panel thickness). At the base, create a square frame with a s...
$fs=0.5; $fa=5; module fan_mount(panel_thickness, mounting_hole_distance) { fan_dia = 40; screw_dia = 3; nut_dia = 5.5; nut_thickness = 2.5; module nuttrap(nutsize, length) { cylinder(r = nutsize / cos(180 / 6) / 2 + 0.05, length, $fn=6); } union() { difference() { union() { hull() { for (i =...
glb/cad_73a48d686a47.glb
Create a spice rack nameplate by starting with a rectangular base measuring 200mm wide, 30mm deep, and 2mm thick. Centered on the top face of this base, carve out the word "Spices" using a bold script font with a character height of approximately 11.38mm and a depth of 3mm. To the left and right of the text, carve thre...
Letters("≈≈≈ Spices ≈≈≈"); translate([30,26,-4]) latch(); translate([170,26,-4]) latch(); module Letters(letter, size=25) { difference() { translate([0,0,0]) cube([200,30,2]); translate([100,15,0]) { linear_extrude(height=3, convexity=4) text(letter, ...
glb/cad_bb17a16b2fc8.glb
Create a spice rack for a cabinet door starting with a rectangular base plate measuring 200mm by 70mm with a thickness of 2mm. On the two shorter ends of the base, add vertical side walls that are 2mm thick and 50mm high. Along the back edge of the base, place two horizontal braces that are 200mm long, 2mm thick, and 3...
cube([200,70,2]); side(); translate([198,0,0]) side(); wallmount(); translate([180,0,0]) wallmount(); edger(); edgel(); hbrace1(); hbrace2(); translate([98,68,2]) vbrace(); translate([49,68,2]) vbrace(); translate([151,68,2]) vbrace(); module side () { cube([2,70,50]); } module wallmo...
glb/cad_b4a95d0e74d3.glb
Create a spice rack for a cabinet door starting with a rectangular ground plate measuring 200mm by 70mm with a thickness of 2mm. Add two vertical side walls, each 2mm thick and 50mm high, positioned at opposite ends of the ground plate along its 200mm length. Install two horizontal braces, each 200mm long, 2mm wide, an...
cube([200,70,2]); side(); translate([198,0,0]) side(); wallmount(); translate([180,0,0]) wallmount(); edger(); edgel(); hbrace1(); hbrace2(); translate([200,68,2]) rotate([90,0,180]) Letters("≈≈≈ Gewürze ≈≈≈"); module side () { cube([2,70,50]); } module wallmount(){ difference(){ ...
glb/cad_f5d9bf7c87b3.glb
Create a spice rack for a cabinet door. Start with a rectangular ground plate measuring 200mm in length, 70mm in width, and 2mm in height. Add two vertical side walls, each 2mm thick and 50mm high, positioned at opposite ends of the ground plate. Install two horizontal braces, each 200mm long, 2mm wide, and 3mm thick...
cube([200,70,2]); side(); translate([198,0,0]) side(); wallmount(); translate([180,0,0]) wallmount(); edger(); edgel(); hbrace1(); hbrace2(); translate([200,68,2]) rotate([90,0,180]) Letters("≈≈≈≈ Spices ≈≈≈≈"); module side () { cube([2,70,50]); } module wallmount(){ difference(){ ...
glb/cad_5b6e3aa5af26.glb
Create a guitar pick with overall dimensions of 18mm by 22mm and a thickness of 1mm. The pick should have a smooth, rounded perimeter. Centered on the top surface, add a raised 3D character "б" that is 0.5mm high and 10mm in size. The character should be positioned so that it is centered horizontally and vertically on ...
$fn=10; H=1/2 ; d=40; X=10; text = "Align"; font = "GE Zodiac"; module Symbol(); { color("black") rotate([0,0,180]) translate([-0,0,1/2]) linear_extrude(height = 0.5) { text(text = str("g"), font = font, size = 10, halign = "center",valign = "center");} } module guitar_pick(); resize(newsize=[18,22,1]){ inter...
glb/cad_5bf326c13bdc.glb
Create a PCB Mounting Bracket consisting of a rectangular base and four vertical pillars. Start with a rectangular base plate that is 33mm wide (25mm between pillar centers plus two 4mm radii), 28mm deep, and 4mm thick. Cut a central spine through the base by removing two rectangular sections from the sides, leaving a ...
use_cutout=true; resolution = 90; width = 25; depth = 28; pillar_height = 24; pillar_hole_diameter = 2; pillar_diameter=4; mount_hole_diameter = 4; base_thickness=4; spine_width=10; $fn=resolution; hole_r = (pillar_hole_diameter/2); pillar_r = (pillar_diameter/2); mount_hole_r = (mount_hole_diameter/2); cut_depth=(de...
glb/cad_455c32a117e4.glb
Create a Popsicle Shell designed to hold play dough. The main body is a hollowed-out popsicle shape with overall dimensions of 25mm width, 45mm length, and 14mm height. The exterior is a rounded rectangular prism with a semi-circular top, created by blending a central block of 17mm x 33mm x 6mm with a sphere of radius ...
use <zcube.scad>; popsicle_bevel = 4; popsicle_size = [25, 45, 14]; $fn = 16; module diamond(size = bevel_size) { render() polyhedron( points=[ [size,size,0],[size,-size,0],[-size,-size,0],[-size,size,0], [0,0,size],[0,0,-size] ], faces=[ [0,1,4],[1,2,4],[2,3,4],[3,0,4], [0,1,5],[1,2,5],[2,3,5]...
glb/cad_85dc9533bd2d.glb
Create a Cube Constructor Set piece by starting with a solid cube that has an edge length of 15mm. Remove three cylindrical holes, each with a diameter of 4mm and a length of 16.5mm, to create through-holes along the X, Y, and Z axes. Each axis should have two parallel holes spaced slightly apart. Specifically, along t...
size = 15; hole = 4; $fs = 0.2; module burr_cube() { module rotcy(rot, r, h, shift) { translate(shift) rotate(90, rot) cylinder(r = r, h = h, center = true); } cy_r = hole/2; cy_h = (size * 1.1); x = hole + 0.001; difference() { cube(size = size, center = true); rotcy([0...
glb/cad_87976fdf23ff.glb
Create a Z-Stabilizer fixture by first constructing a base body that is 10mm thick. This body is formed by the convex hull of three cylinders, each 10mm high: one with a 15mm diameter at position (0, 0), one with a 15mm diameter at (53, 0), and one with a 30mm diameter at (73, 28). From this solid base, remove several ...
difference() { union() { hull() { translate([53,0,0]) cylinder(d=15,h=10,$fn=60); translate([73,0,0]) cylinder(d=15,h=10,$fn=60); translate([73,28,0]) cylinder(d=30,h=10,$fn=60); } ...
glb/cad_240bd5195d5b.glb
Create a Stage Axis with a parametric motor mount. Start by constructing a main rectangular base frame with an overall length of 80mm, width of 35mm, and height of 20mm, using a wall thickness of 2.5mm for the sides and flanks. Build a sliding stage platform within this frame that is 40mm long and 35mm wide, ensuring...
length = 80; width = 35; height = 20; stagelength = 40; thickness = 2.5; r_hexagon = 4.5; r_screw_slide = 2.3; r_sideholes_slide = 4; r_motor_mount = 2; hole_height = 13; sidehole_offset = 10; r_stageholes = 4.2; stagehole_offset = 7.5; sliding_gap = 0.3; gap_height = 5; gap_width = 9; motor_mount_length = 25; ...
glb/cad_57491760391b.glb
Create a 4th Axis CNC tool consisting of several components: buffers, a motor mount, a gear/pulley, and customizable jaws. For the buffers, create two identical base plates. Each plate is a rectangular block with a large central cylindrical cutout to hold a bearing. The plates feature a series of rectangular slots on ...
$fn=50*1; Part = "a"; slip_star = 0.25; diameter_buffer = 25; diameter_round_stock = 25; diameter_bearing_id = 8; diameter_insert_stock = 10; width_square_stock = 20; depth_square_stock = 20; if(Part=="a"){ backend(diameter_buffer,false); translate([45,0,0]){backend(diameter_buffer,true);} }else if...
glb/cad_105655e1223a.glb
Create a street scene consisting of a central road and two flanking rows of buildings. Start with a base platform 250mm wide, 500mm long, and 10mm high. Carve a rectangular channel out of the center of this platform to create a road that is 100mm wide, 500mm long, and 4mm deep, leaving 75mm wide curbs on either side. ...
road_width=100; curb_width=75; street_length=500; max_buildings_per_side=10; street(road_width, curb_width, street_length); module street(r_width, curb_width, s_length){ num_buildings = floor(rands(5,max_buildings_per_side,1)[0]); translate([curb_width/2,0,5]) block(num_buildings, s_length/(num_buildi...
glb/cad_2eee0d56b7e9.glb
Create a dial gauge mount consisting of a flat base and a vertical cylindrical holder. Start with a base plate that is 4mm thick, 64mm long, and 34mm wide. The base should have a rounded profile, specifically a hull formed by a central circle and two smaller circles of radius 7mm positioned 50mm apart along the center ...
eta = 0.01; $fa = 5; $fs = 0.5; flange_thickness = 4; height = 15; length = 64; width = 34; bore = 8; pitch = 50; wall = 2; tab = 7; slit = 1; screw_clearance_radius = 4.5 / 2; function sides(r) = max(round(4 *r),3); function corrected_radius(r,n) = 0.1 + r / cos(180 / n); function corrected_diameter(d) = 0.2 + d /...
glb/cad_f84485ab3115.glb
Create a 3D model of a stick man with a uniform thickness of 9mm. The figure consists of a central body, a head, two arms, and two legs, all constructed from cylindrical segments and rectangular blocks. The head is a cylinder with a diameter of 18mm and a height of 9mm, featuring a central vertical hole with a diamete...
upper_arm_l = -120; lower_arm_l = -50; hand_l = -10; upper_arm_r = 120; lower_arm_r = 50; hand_r = 10; thigh_l = -60; shin_l = 50; foot_l = 10; thigh_r = 60; shin_r = -50; foot_r = -10; body = 0; b_thickness = 9; thickness = 9; magnet_diameter = 4.4; magnet_entry_extra_width = -0.6; magnet_entry_extra_height = 1; mag...
glb/cad_df5daa313756.glb
Create a 3D model of a "Stick Man" figure with a uniform thickness of 9mm. The figure is composed of a central body and articulated limbs. Start with a head and torso: the head is a cylinder with a diameter of 18mm and a height of 9mm. The torso is a rectangular block 36mm long and 9mm wide, extending downwards from t...
upper_arm_l = -135; lower_arm_l = -40; hand_l = -5; upper_arm_r = 135; lower_arm_r = 40; hand_r = 5; thigh_l = -45; shin_l = 40; foot_l = 5; thigh_r = 45; shin_r = -40; foot_r = -5; body = 0; b_thickness = 9; thickness = 9; magnet_diameter = 4.4; magnet_entry_extra_width = -0.4; magnet_entry_extra_height = 1; magnet_...
glb/cad_97357ffd407a.glb
Create a "Stick Man" figure composed of several connected limbs and a head, all with a uniform thickness of 7mm and a depth of 7mm. Start with a central body consisting of a cylindrical head with a 12mm diameter and a 4.5mm hole through its center. Attached to the head is a 30mm long vertical torso. From the bottom o...
upper_arm_l = -150; lower_arm_l = -0; hand_l = -15; upper_arm_r = 150; lower_arm_r = 0; hand_r = 15; thigh_l = -30; shin_l = 0; foot_l = 15; thigh_r = 30; shin_r = -0; foot_r = -15; body = 0; b_thickness = 7; thickness = 7; magnet_diameter = 4.6; magnet_entry_extra_width = -0.6; magnet_entry_extra_height = 1; magnet_...
glb/cad_307b9bd63a19.glb
Create a "Stick Man" figure with a uniform thickness of 5mm. The figure is composed of a central body and four limbs (two arms and two legs), each consisting of three segments. Start with a head and torso: the head is a cylinder with a 12mm diameter and 5mm height, featuring a central hole with a 4.5mm diameter. The t...
upper_arm_l = -150; lower_arm_l = -0; hand_l = -15; upper_arm_r = 150; lower_arm_r = 0; hand_r = 15; thigh_l = -30; shin_l = 0; foot_l = 15; thigh_r = 30; shin_r = -0; foot_r = -15; body = 0; b_thickness = 5; thickness = 5; magnet_diameter = 4.4; magnet_entry_extra_width = -0.6; magnet_entry_extra_height = 1; magnet_...
glb/cad_b26c5a712e3f.glb
Create a stick man figure with a uniform thickness of 9mm. The figure consists of a central body and four limbs (two arms and two legs), each constructed from segments of rectangular bones with rounded ends. Start with a head that is a cylinder 18mm in diameter and 9mm high, featuring a central hole 4.5mm in diameter....
upper_arm_l = -135; lower_arm_l = -40; hand_l = -5; upper_arm_r = 135; lower_arm_r = 40; hand_r = 5; thigh_l = -45; shin_l = 40; foot_l = 5; thigh_r = 45; shin_r = -40; foot_r = -5; body = 0; b_thickness = 9; thickness = 9; magnet_diameter = 4.4; magnet_entry_extra_width = -0.6; magnet_entry_extra_height = 1; magnet_...
glb/cad_90206a936ef3.glb
Create a stick man figure with a thickness of 5mm and a depth of 5mm. The figure consists of a central body, a head, two arms, and two legs. Start with a head that is a cylinder with a diameter of 12mm and a height of 5mm. Remove a smaller central cylinder from the head with a diameter of 4.5mm to create a ring. Attac...
upper_arm_l = -85; lower_arm_l = -5; hand_l = -0; upper_arm_r = 85; lower_arm_r = 5; hand_r = 0; thigh_l = -45; shin_l = 40; foot_l = 5; thigh_r = 45; shin_r = -40; foot_r = -5; body = 0; b_thickness = 5; thickness = 5; magnet_diameter = 4.4; magnet_entry_extra_width = -0.6; magnet_entry_extra_height = 1; magnet_heig...
glb/cad_06883bc50567.glb
Create a filament feed mechanism for an Ultimaker extruder. Start with a main block measuring 24mm wide, 55mm high, and 28mm deep, with 6mm beveled edges. Attach a base plate 70mm long and 7mm thick, extending 25mm beyond the block. Integrate a motor mount shifted 10.625mm back to accommodate a large drive gear. The m...
include<configuration.scad> malcolm_hotend_mount=1; groovemount=2; peek_reprapsource_mount=4; arcol_mount=8; mendel_parts_v6_mount=16; grrf_peek_mount=32; wildseyed_mount=64; ultimaker_mount=128; wade(hotend_mount=ultimaker_mount); mirrorpart=1; idler_trap_holes_on_side=1; idler_screw_diameter=4.0; idler_nut_flat_...
glb/cad_54629b5e0174.glb
Create a pcb backside protector for miniFCC by starting with a solid rectangular base measuring 102.5mm in length, 15.5mm in width, and 6.35mm in height. From the center of this base, remove a rectangular volume measuring 98.5mm in length, 46.5mm in width, and 1.85mm in height to create a deep central channel. Addition...
module miniFccProtector() { lpD=1.85; lpY=15.5; lpX=98.5; lpDZ=2.5; d=2; difference() { translate([0,0,-(lpD+lpDZ+2*d)/2]) cube([lpX+2*d,lpY,lpD+lpDZ+2*d],center=true); translate([0,0,-d-lpD/2]) cube([lpX,3*lpY,lpD],center=true); translate([0,d,-d-lpD-lpDZ/2]) cube([lpX-2...
glb/cad_54e3733e2044.glb
Create a Desktop Cablehook by extruding a specific 2D profile to a thickness of 10mm. The profile is a flat, angular shape designed to grip a tabletop. Start from the origin and draw a line to 30mm on the X-axis, then drop slightly to (30, -1) and (27, -4). Continue the path to (-15, -4), then to (-18, -1) and (-18, 21...
tabletop = 30; width = 10; closedhook = "false"; depth = 10; str = tabletop; mst = str *0.7; if (closedhook=="true") { linear_extrude(height = width , center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[30,0],[30,-1],[27,-4],[-depth-5,-4],[-depth-8,-1],[-depth-8,str+1],[-depth-5,str+4],[-depth,str+4],...
glb/cad_6bed707b5c9c.glb
Create a 5-pointed Christmas tree star. The star is composed of five identical spikes radiating from a central hub. Each spike is formed by the convex hull of a 20mm by 30mm by 1mm rectangular base and a small cylinder with a radius of 2mm and height of 2mm positioned at coordinates [9, 14, 30]. These spikes are arrang...
module spike() { translate([-10,-15,10]) hull() { cube([20,30,1]); translate([9,14,30]) cylinder(2,2,0); } } module round_spike() { translate([0,0,10]) cylinder(30,10,0); } module star() { difference() { union() { for (i = [0 : 72 : 360]) { rotate(i, [1,0,0]) spike(); } ...
glb/cad_1c9fc7a7c195.glb
Create a Super Glue Stand by starting with a truncated cone that has a bottom diameter of 40mm, a top diameter of 10mm, and a height of 30mm. Carve a wedge-shaped slot out of the center of this cone; the slot should be 10mm wide at the top and 30mm deep, extending vertically through the height of the model to create a ...
$fn = 360; cylinderBottomDiameter = 40.0; cylinderTopDiameter = 10.0; cylinderHeight = 30.0; module base_cylinder() { cylinder(d1 = cylinderBottomDiameter, d2 = cylinderTopDiameter, h = cylinderHeight); } module wedge() { linear_extrude(height=cylinderHeight) polygon( points = [ [0, 0], [-...
glb/cad_2d6a41fd0875.glb
Create a Hanger Adapter consisting of a base platen and a protruding screw-like peg. Start by creating a base platen 4mm thick. This base is formed by the convex hull of two cylinders with a diameter of 11.2mm, positioned such that one is at the origin and the other is offset along the x-axis by 11.2mm. Bore a 7mm diam...
simulatedScrewHeadDiameter = 8; simulatedScrewHeadDepth = 3; simulatedScrewShankDiameter = 4; simulatedScrewShankProtrusionHeight = 4; screwHeadGussetHeight=.25; hangerPlatenThickness = 4; hangerHoleDiameter = 7; $fn=100; simulatedScrew(); screwHeadGusset(); if (simulatedScrewHeadDiameter > hangerHoleDiameter*1.4) h...
glb/cad_a30bc7a4265c.glb
Create a PowerPole connector plug shell. Start with a main rectangular body 20mm wide, 12mm thick, and approximately 31mm long, with 1mm rounded corners. At the front end, carve out a central rectangular cavity 25mm long, 8.5mm wide, and 8.5mm deep to house a pair of connectors. Within this cavity, include two small ...
pairCount = 1; cordCount = 1; cordDiameter = 4; strandCount = 2; powerPoleSquareSide = 8.5; rollPinDiameter = 2.25; module round4CornersCube(x,y,z,r) { translate([r, r, 0]) minkowski() { cube([x - 2 * r, y - 2 * r, z]); cylinder(r=r, h=0.1); } } module powerPoleSingleCutout(){ halfSide = powerPoleS...
glb/cad_40f0bf9d20cf.glb
Create a Garage Door Opener Clip designed to hold a fob and attach to a sun visor. First, construct a rectangular box to house the fob. The interior cavity should be 60.42mm long, 31.6mm wide, and 10.2mm high. The walls of this box should be 4mm thick. To accommodate the fob's button, add a central raised section on ...
fobLenA = 60.42; fobWidth = 31.60; fobThickA = 9.90; fobThickB = 10.20; fobButtonLen = 27.82; fobButtonThick = 12.4; fobSlantLen = 9.43; module fob() { union() { translate(v=[17,(fobButtonThick-fobThickB)/2,fobWidth/2]) cube([fobButtonLen,fobButtonThick,fobWidth],center=true); translate(v=[0,0,fobWidth/2]) ...
glb/cad_4bbedb5b47db.glb
Create a surface-mount wall box for a keystone ethernet jack and two PowerPole connectors. The main body is a rectangular enclosure with dimensions 60mm wide, 74mm long, and 24mm deep, featuring rounded corners with a 4mm radius. The walls are 2mm thick. On the top face, center a rectangular cutout for a single RJ45 k...
$fn = 24; $fa = 5; $fs = 0.01; width = 60; length = 74; depth = 24; radius = 4; thickness = 2; keystoneSpacing = 10; honeycombSideWidth = 5; honeycombWallThickness = 2; patternThickness = 0.5; screwHoleDiameter = 5; countersinkDepth = 2.5; countersinkDiameter = 9; captiveNutWallThickness = 2; captiveNutWallWidth = 14;...
glb/cad_70ca05358a98.glb
Create a range control knob spacer by starting with a main cylinder that has a diameter of 65mm and a height of 4.75mm. From this base, remove several geometric sections to create the final shape. First, remove a rectangular block measuring 70mm by 35mm by 5.25mm, positioned to cut a large notch out of one side of the ...
rotate([0,180,0]) { translate([0,0,-4.75]) { difference() { cylinder(d=65,h=4.75,$fn=180); translate([0,0,-0.25]) { translate([-35,-35,0]) { cube(size=[70,35,5.25],center=false); } cylinder(d=28,h=2.2,$fn=180); ...
glb/cad_3b2434c20182.glb
Create a foam board connector consisting of two intersecting rectangular arms that form a right angle. First, create a vertical rectangular block with a width of 5mm, a height of 31mm, and a thickness of 10mm. Second, create a horizontal rectangular block with a width of 31mm, a height of 5mm, and a thickness of 10mm...
plywood_thick = 11 +0; foam_thick = 4.9 +0; Red_Side_Width = 5; Green_Side_Width = 5; Connector_Thickness = 10; Connector_Length_Offset = 0; custom_connector(); module custom_connector() { armwid = 3; translate([Red_Side_Width + armwid*2, 1, 0]) difference() { translate([0, 1, 1]) union() { translate([-(Red...
glb/cad_b1dff16184a5.glb
Create a Poly-Snaps tile by constructing a regular pentagonal ring with a thickness of 3.5mm. The outer boundary is a regular pentagon with a side length of 25mm, and the inner boundary is a smaller concentric pentagon created by maintaining a border thickness of 3.5mm. Around the perimeter of the outer pentagon, add ...
sides = 5; snaps = 3; side_length = 25; thickness = 3.5; border = 3.5; clearance = .17; lengthen = .3; radius = side_length/(2*sin(180/sides)); inside = radius-border/(cos(180/sides)); snapwidth = radius*sin(180/sides)/snaps; union(){ poly_maker(); snap_maker(); } module poly_maker(){ difference(){ ...
glb/cad_3e7016787859.glb
Create a motor mount bracket by starting with a central rectangular block 20mm wide, 32mm long, and 17mm thick. Carve a cylindrical cutout through the center of the block's width to accommodate a motor with a radius of 14mm; this cutout should be positioned so that there is a 1mm gap between the bottom of the cylinder ...
width = 20; radius = 14; crown_height = 4; gap = 1; screw_plate_width = 12; screw_radius = 2.4; screw_head_radius = 4.5; screw_head_height = 5; screw_head_type = 1; bracket_height = radius + crown_height - gap; bracket_length = (radius + screw_plate_width) * 2; difference() { translate([0, 0, bracket_hei...
glb/cad_a47100113cd5.glb
Create a Cup Holder Phone Dock by starting with a conical base that has a top diameter of 86mm, a bottom diameter of 74mm, and a depth of 60mm. At the top of this base, carve out a space to fit a phone cradle. This cradle area should be tilted at a 20-degree angle. The cutout for the phone is based on the dimensions ...
topDiameter = 86; bottomDiameter = 74; depth = 60; tiltAngle = 20; cradleThickness = 17.84; nexusThickness = 13.84; rotationDelta = (nexusThickness * sin(tiltAngle))/2; topRadius = topDiameter/2; bottomRadius = bottomDiameter/2; module baseCylinder() { translate(v=[0,0,depth/2]) cylinder(h = depth, r2 = topRadius, ...
glb/cad_ef6558c19553.glb
Create a Bag Peg by constructing two symmetrical mirrored halves joined at a central axis. For one half, start with a 2D profile extruded to a height of 6mm. This profile is defined by a polygon with vertices at [0,0], [4,6], [2,12], [6,18], [4.3,40], [4,50], [5,65], [7,68], [6,70], [5,70], [4,68], [2,50], [1.2,20], an...
module right() { translate([0,0,1]) difference() { minkowski() { union() { linear_extrude(6){ polygon( [ [0,0], [4, 6], ...
glb/cad_9e8a0f318a2f.glb
Create a C-clip designed to snap onto a peg. Start with a solid cylinder that has a height of 1.5mm and an outer radius of 4mm. Hollow out the center by removing a smaller cylinder with a radius of 1.75mm. To create the snap-fit opening, remove a rectangular block from the center of the clip, centered on the Y-axis, ...
pegRadius = 1.75; clearance = .15; outerRadius = 4; thickness = 1.5; bevelAngle = 37.5; bevelStart = .5; wrapAround = .4; chamferAngle = 37.5; chamferHeight = .5; offset = ((thickness-bevelStart) / tan((90-bevelAngle))); innerRadius = (pegRadius - offset) + clearance; iR2 = innerRadius + offset; chamferWidth ...
glb/cad_8eba375a3747.glb
Create a C-Clip Peg by constructing a central vertical cylinder with a radius of 1.75mm and a total height of 4.5mm. From this main body, remove a specific section from the center to create a notch. This notch begins 1.5mm from the bottom of the peg and extends upward for 1.5mm. Within this 1.5mm middle section, remove...
pegRadius = 1.75; clipThickness = 1.5; bevelAngle = 37.5; bevelStart = .5; offset = ((clipThickness-bevelStart) / tan((90-bevelAngle))); $fn=100; difference() { cylinder( h=clipThickness*3, r=pegRadius ); translate([0, 0, clipThickness]) { difference() { cylinder( h=clipThickness, r=pegRadius ...
glb/cad_81da5d03c6ca.glb
Create a USB cable plug for a universal phone charging dock. Start by constructing a solid rectangular block with a width of 23.3mm, a depth of 11.3mm, and a height of 4.8mm. From this main body, remove a central rectangular section to create a slot for the USB plug. This cutout must be 10.3mm wide and 7.3mm deep, posi...
uW = 10.3; uD = 7.3; uS = 2.4; fH= 3; wF = 23.3; dF = 11.3; hF = 4.8; difference() { translate ([-wF/2, 0, 0]) cube([wF, dF, hF]); translate([-uW/2, uS, -1]) cube ([uW, uD, hF+2]); translate([-fH/2, -1, -1]) cube([fH, uS+2, hF+2]); }
glb/cad_6e650b1c43c4.glb
Create a mounting bracket for a 2.5-inch hard drive. Construct the main body as a U-shaped channel consisting of two parallel outer walls and a connecting base. Each outer wall should be a rectangular block measuring 3mm thick, 10mm wide, and 20mm long. Connect these two walls with a base plate that is 74mm long, 10mm ...
module harddisk() { translate([3,0,10]) color("grey") cube([70,100,9.5]); } module clamp() { difference(){ union(){ cube([3,10,20]); translate([73,0,0]) cube([3,10,20]); cube([74,10,3]); } $fn = 100; translate([-2,5,15]) rota...
glb/cad_ddb83c054e6e.glb
Create a Cutter Knive Holder by starting with a rounded rectangular block measuring 122mm in length, 27mm in height, and 10mm in width, with a corner radius of 3mm on all edges. Carve a longitudinal slot through the center of the block to hold the blade; this slot should be 1.5mm wide and 19mm high. Along the center ...
length = 122; height = 27; width = 10; blade_width = 1.5; blade_height = 19; blade_margin = 10; num_holes = 12; hole_margin = 8; hole_height = height/2; hole_radius = 2.2; pin_radius = 2; text_pos_x = 5; text_pos_y = 5; text_size = 5; text_content = "DiddyDevelopment"; text_depth = 1; rotate([90]) difference() { ro...
glb/cad_b6ede91218ed.glb
Create a battery cover for a Yamaha AMP remote. Start with a main rectangular body 53.5mm long, 23.4mm wide, and 1.35mm thick, with corners rounded to a 1mm radius. On the top surface of the main body, add two diagonal ribs that run the full length of the body. These ribs should be 9mm wide and 1.35mm thick, angled a...
module roundedRect(size, radius) { x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([(-x/2)+(radius/2), (-y/2)+(radius/2), 0]) circle(r=radius); translate([(x/2)-(radius/2), (-y/2)+(radius/2), 0]) circle(r=radius); translate([(-x/2)+(radius/2), (y/2)-(radius/2), 0])...
glb/cad_82f5996d6dbc.glb
Create a spool holder by starting with a rectangular base plate measuring 102mm wide, 100mm deep, and 10mm thick. Hollow out the center of this base by removing a rectangular section 72mm wide and 60mm deep, leaving a 15mm wide rim along the front and 20mm wide rims along the sides. At the four corners of the base, c...
spool(0,0,100+10); spoolholder(); module spoolholder(){ width = (70+(2*10)+2); depth = 100; difference(){ cube([depth,width,10],center=true); cube([depth-30,width-40,20],center=true); } gliders(33,33,5,14,10); gliders(-33,33,5,14,10); gliders(33,-33,5,14,10); gliders(-...
glb/cad_088dc919829a.glb
Create a 3D object with a total width of 25mm, a height of 10mm, and a depth of 25mm. The main body is a solid rectangular block of these dimensions. From this block, remove a smaller rectangular volume from the center to create a hollow interior. This internal void should be offset from the outer walls by 1mm on all s...
width = 25; height = 10; length = 25; r = 2; thick = 1; $fn = 64; linear_extrude(height=width) difference() { square([length,height]); translate([thick,thick]) offset(r) offset(-r) square(100); }
glb/cad_f23b63292d3f.glb
Create a hockey sticks wall mount consisting of a vertical wall support and three protruding holders. Start with a wall support base that is 6mm wide, 20mm deep, and 124mm tall, featuring rounded corners with a 2mm radius. Along the height of this base, create three stick holders. Each holder is a block 26mm wide, 20...
numSticks = 3; stickWidth = 20; stickHeight = 20; heightDiff = 30; numberDrills = 2; drillDiameter = 4; drillWidth = drillDiameter/2; oDepth = 20; wD = 5; wSWidth = 6; wallWidth = min(wSWidth, wD); totalSupportHeight = stickHeight + heightDiff * (numSticks - 1) + wallWidth + numberDrills * (drillWidth + 10); ...
glb/cad_f24549ea8720.glb
Create a Post Support by constructing a hollow square column. Start with a solid cube that is 50mm wide, 50mm deep, and 150mm tall. From the top of this cube, remove a smaller square section to create a central cavity. This cavity must be 40mm wide and 40mm deep, centered within the outer walls to leave a wall thicknes...
Width = 50; Wall_Thickness = 5; w2 = Width - 2*Wall_Thickness; Height = 110; Wall_Height = 40; h2 = Height + Wall_Height; difference() { cube([Width,Width,h2]); translate([Wall_Thickness, Wall_Thickness, Height]) cube([w2,w2,Height]); };
glb/cad_92cd69583ea5.glb
Create a Wire Shelving Hook with a uniform thickness of 2mm and a total width of 20mm. Start with a semi-circular ring at the top, created by a large circle with an 11mm outer diameter and a 7mm inner diameter, but remove the bottom half of the ring to leave a C-shaped open hook. Extend a straight arm from the end of t...
innerD = 7; thick = 2; lengthOverall = 60; supportDepth = 10; supportHeight = 5; width = 20; outerD = innerD + thick*2; linear_extrude(height=width) { union() { union() { union() { union() { difference() { difference() { ...
glb/cad_ee5e220f3ecf.glb
Create a Dexion 160 glass bracket designed to clip onto slotted angle steel. Start with a main outer block that is 16mm wide, 29mm high, and 12mm deep. Hollow out the center of this block to create a U-shaped channel that is 2.5mm wide, 25mm high, and 12mm deep, leaving a wall thickness of 2mm on each side. At the to...
Dexion160GlassBracket(); module Dexion160GlassBracket( ) { thickness=2; bracketheight=25; steelthickness=2.5; hh=12; glassoffsetdeep=6; difference(){ KACubeX( thickness+steelthickness+thickness,bracketheight+thickness,hh ); translate([thickness,0,0]) cube([steel...
glb/cad_b1929d434a1f.glb
Create a wrench for an RST fork by starting with a central cylinder 20mm in radius and 20mm in height. Remove a smaller concentric cylinder from the center with a radius of 17mm and a height of 21mm. Around this central body, place eight smaller cylinders, each with a radius of 7.5mm and a height of 20mm. Position thes...
$fn=100; { difference() { cylinder(r=20,h=20,center=true); cylinder(r=34/2,h=21,center=true); } difference() { union() { translate([22.2,0,0]) cylinder(r=15/2,h=20,center=true); translate([-22.2,0,0]) cylinder(r=15/2,h=2...
glb/cad_19f8dfb17893.glb
Create a pegboard hook by starting with a base rectangular block measuring 8mm by 8mm by 12mm. Attach a second rectangular block to the side, measuring 14mm by 8mm by 3mm, positioned so it extends from the base. Add a third rectangular block measuring 14mm by 8mm by 4mm, offset by -7mm on the X-axis and 6mm on the Z-ax...
difference () { rotate(a=[90,0,0]) { cube(size=[8,8,12]); cube(size=[14,8,3]); translate(v=[-7,0,6]) cube(size=[14,8,4]); translate(v=[1,0,0]) cube(size=[6,8,30]); translate(v=[1,0,24]) cube(size=[20,8,6]); } rotate(a=[0,0,45]) { translate(v=[-2,-2,0]) { cube(size=[4,4,10]); } } }
glb/cad_adb1d5d07769.glb
Create a pegboard hook by constructing a base block and adding extensions. Start with a central rectangular prism measuring 6mm wide, 8mm deep, and 30mm long. Attach a 14mm wide, 8mm deep, and 3mm thick rectangular plate to the bottom end of this central prism. At the opposite end, add a rectangular block measuring 16m...
difference () { rotate(a=[90,0,0]) { cube(size=[8,8,12]); cube(size=[14,8,3]); translate(v=[-7,0,6]) cube(size=[14,8,4]); difference () { union() { translate(v=[1,0,0]) cube(size=[6,8,30]); translate(v=[-8,0,20]) cube(size=[16,8,8]); } translate(v=[10,4,24]) rotate(a=[-90,0,90]) cylinder(h=20,r=3); } } rotate(a=[0,...
glb/cad_cb127898b41c.glb
Create a pegboard hook by constructing a long, narrow base and adding a perpendicular head. Start with a main rectangular body that is 40mm long, 8mm wide, and 4mm thick. At one end of this body, attach a cube measuring 8mm by 8mm by 7mm to serve as the hook's head. To create the mounting slot, remove a rectangular sec...
difference () { rotate(a=[90,0,0]) { cube(size=[8,8,7]); cube(size=[14,8,3]); translate(v=[-34,0,6]) cube(size=[40,8,4]); #translate(v=[-34,0,6]) cube(size=[6,8,12]); translate(v=[1,0,0]) cube(size=[6,8,10]); translate(v=[1,0,8]) cube(size=[13,8,2]); } rotate(a=[0,0,45]) { translate(v=[-2,-2,0]) { cube(size=[4,4,10]...
glb/cad_b9f2a48ac008.glb
Create a Simple Wi-Fi Car consisting of a chassis frame, two drive wheels, and four idler wheels. Construct the frame as a rectangular base measuring 140mm by 164mm with a thickness of 2mm. At each end of the frame's long axis, create a vertical support block measuring 20mm by 22mm by 2mm. Drill two 8mm diameter hole...
difference() { cube([140, 20, 2]); } difference() { union() { translate([0, -2, 0]) { cube([140, 2, 22]); } translate([100.5, 0, 2]) { cube([7, 6, 20]); } translate([52.5, 0, 2]) { cube([7, 6, 20]); } translate([238/2, ...
glb/cad_c97819f3b18b.glb
Create a Wi-Fi Car frame by starting with a main cylinder 41mm in diameter and 20mm high. Remove a central vertical cylinder with a 12mm diameter. Create four vertical holes, each 2.1mm in diameter and 20mm deep, positioned 13mm from the center along the X and Y axes. To create the gear-like outer edge, remove 18 r...
difference() { difference() { union() { cylinder(20, d=41); for (i = [0:17]) { rotate([0, 0, 20 * i]) { translate([-22, 0, 0]) { cube([6,2,20]); } } } } cylinde...
glb/cad_20d2d5ec0a00.glb
Create a drive wheel for a Wi-Fi car. Start with a main cylindrical body 20mm high with a diameter of 31mm. Add a wider, thin cylindrical flange at the bottom and top, each 1mm thick with a diameter of 39mm. Around the outer perimeter of the main cylinder, create 18 evenly spaced vertical rectangular notches, each 6m...
difference() { difference() { union() { cylinder(20, d=31); cylinder(1,d1=39,d2=39); translate([0, 0, 19]) { cylinder(1,d1=39,d2=39); } for (i = [0:17]) { rotate([0, 0, 20 * i]) { translate([-19,...
glb/cad_7d1be362cb37.glb
Create a Simple Wi-Fi Car consisting of a chassis frame, two drive wheels, and four idler wheels. Construct the frame as a rectangular base measuring 140mm in length, 20mm in width, and 2mm in thickness. Remove two cylindrical holes with a diameter of 8mm and a depth of 20mm, positioned 12mm from the top surface and ...
difference() { cube([140, 20, 2]); } difference() { union() { translate([0, -2, 0]) { cube([140, 2, 22]); } translate([100.5, 0, 2]) { cube([7, 6, 20]); } translate([52.5, 0, 2]) { cube([7, 6, 20]); } translate([238/2,...
glb/cad_aa351eb46a6c.glb
Create an Aurora 90 battery clip consisting of two separate components. First, create a U-shaped clipping part. Start with a central vertical wall 2mm thick, 34mm high, and 6mm deep. Attach two fixed horizontal arms to the top and bottom of this wall, each 5mm long, 2mm wide, and 6mm deep. From these arms, extend two...
battery_width = 30; battery_length = 55; battery_height = 11; wall_size = 2; heightA = 6; fixed_part_length = 5; distance_to_top = 3; distance_at_top = 41; helper_width = 4.5; helper_height = 4; helper_offset = 1; heightB = 4; small_arm_length = 9; cutout_length = heightA + 0.2; support_length = cutout_length + (2 ...
glb/cad_a5c926340f5a.glb
Create a LiPo 2S balancer connector saver by starting with a solid rectangular block measuring 10.8mm in width, 9mm in length, and 6.8mm in height. Hollow out the center of this block to create a rectangular cavity that is 8.4mm wide, 7.8mm long, and 4.4mm high, leaving a base thickness of 1.4mm at the bottom and walls...
wall_size = 1.2; bottom_height = 0.2; connector_width = 8.4; connector_length = 7.8; connector_height = 4.4; cutout_width = 1.6; cutout_offset = 1.4; difference() { cube([connector_width + (2 * wall_size), connector_length + wall_size, bottom_height + connector_height + (2 * wall_size)]); translate([wall_size...
glb/cad_1649daf57448.glb
Create a heart-themed fidget spinner with three heart-shaped arms spaced equally at 120-degree intervals. The central body is a cylinder with a diameter of 28mm and a height of 7mm, featuring a central circular hole 22mm in diameter to accommodate a 608 bearing. Each of the three arms is a filleted heart shape with a ...
hearts = 3; whichWeight = "5/16 hex nut"; radius = 2.5; $fn = 40; x = 0; y = 1; z = 2; inch = 25.4; thick = 4; space = 3; bearing = [22, 22, 7]; sae = [.577*inch, .5 * inch, 7]; sae38 = [.650*inch,.562*inch, 7]; sae12 = [.866*inch, .75*inch, 7]; metric8 = [15, 13, 7]; metric10_16 = [17.77, 16, 7]; metric10_17 = [19....
glb/cad_da38acb472a8.glb
Create a 10 mm Propeller Removal Tool by constructing a central body and removing a hexagonal core. Start with a solid shape formed by the union of a cylinder with a radius of 8 mm and height of 10 mm, and two additional cylinders with radii of 4 mm and heights of 10 mm positioned 15 mm away from the center on opposite...
$fn=128; hexasize = 10.5; radius = (2*hexasize)/sqrt(3)/2; difference() { union() { hull() { translate([-15,0,0]) cylinder(r = 4, h = 10, center = true); translate([15,0,0]) cylinder(r = 4, h = 10, center = true); } translate([0,0,0]) cylinder(r = 8, h = 10, center = true); } translate(...
glb/cad_41ad9eb2051a.glb
Create a show box rotating plate assembly. Start by creating a main outer cylinder with a radius of 50mm and a height of 30mm. Hollow this out by removing a concentric cylinder with a radius of 47mm and a height of 70mm. Cut a horizontal hole with a radius of 8mm through the wall, centered at a height of 20mm. At the ...
$fn=100; difference() { cylinder (h = 30, r=50, $fn=100); cylinder (h = 70, r=47, $fn=100); translate ([0,0,20]) rotate ([0,90,90]) cylinder (h = 100, r=8); } color ("red") translate([0,0,3]) difference() { cylinder (h = 5, r=15); translate([0,...
glb/cad_b4093e4ce194.glb
Create a Sanplast shower roll replacement consisting of three stacked components. Start by creating two identical outer plates. Each plate is a cylinder with a radius of 12.5mm and a height of 4.5mm, scaled by 1.52 along the Y-axis to form an oval footprint. In each of these plates, remove a central vertical hole with ...
use <c:/Program Files/OpenSCAD/libraries/MCAD/nuts_and_bolts.scad>; $fn=150; translate([0,0,-2])top_plate(); translate([0,4,6.25]) side_plate(); translate([0,0,14.5])top_plate(); module top_plate() { difference() { difference() { scale([1,1.52,1])cylinder(r=25/2,h=4.5,center=true);...
glb/cad_66639e9254ee.glb
Create a 20 Euro Cent Coin Holder consisting of a cylindrical sleeve with a removable base. The main body is a hollow cylinder with an outer radius of 14mm and an inner radius of 12mm, standing 27mm tall. The walls are 2mm thick. At the bottom of this cylinder, leave a 2mm thick solid base. Create a vertical slot by ...
translate([0,0,27])rotate([0,180,180]){ difference(){ difference(){ difference(){ difference(){ cylinder(r=14,h=27); cylinder(r=12,h=25); } cylinder(r=7.5,h=50); } translate([11,-15,0]...
glb/cad_baea6e0cd74f.glb
Create a 20 Euro Cent Coin Holder by constructing a thick-walled hollow cylinder with an outer radius of 14mm and an inner radius of 12mm. The total height of the cylinder should be 27mm. The base of the cylinder must be solid, with a thickness of 2mm. Create a central vertical hole through the cylinder from the bott...
thickness = 2.5; radius = 12; number = 10; thicknessHolder = 2; difference(){ difference(){ difference(){ difference(){ cylinder(r=radius+thicknessHolder,h=thickness*number+thicknessHolder); cylinder(r=radius,h=thi...
glb/cad_3d85441242c6.glb
Create a 20 Euro Cent Coin Holder by constructing a flat, ring-like disc with a height of 2mm. Start with a solid cylinder that has a radius of 14mm and a height of 2mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 7.5mm and the same 2mm height to create a hollow ring. To crea...
thickness = 2.5; radius = 12; number = 10; thicknessHolder = 2; difference(){ difference(){ difference(){ cylinder(r=radius+thicknessHolder,h=thicknessHolder); cylinder(r=(radius+thicknessHolder)/2+0.5,h=thicknessHolder); } translate([0,-(rad...
glb/cad_6647bec82a07.glb
Create a 20 Euro Cent coin holder designed to hold 10 coins. Start by creating a main cylindrical body with an outer radius of 14mm and a total height of 10mm. This body should be hollowed out by removing a central cylinder with a radius of 12mm, leaving a wall thickness of 2mm. At the base of this cylinder, integrat...
thickness = 2.5; radius = 12; number = 10; thicknessHolder = 2; difference(){ union(){ union(){ translate([0,-radius,radius*2])cube([radius-radius/12,radius*2,thicknessHolder]); translate([0,0,radius*2])cylinder(r=radius,h=thicknessHolder); } ...
glb/cad_22cb9f747d14.glb
Create a Configurable Length Platform for a resin printer. Start by constructing a main rectangular base that is 30mm wide, 5mm thick, and 38mm high. Add a rectangular extension to this base that is 10mm wide, 50mm long, and 38mm high, positioned to extend from the side. Attach a third rectangular section, the nose, wh...
nose_length=65; mount_width=10; nose_position=-1*(nose_length)+20; rotate([0,0,45]) { difference() { cube([30,5,38]); for(x = [5,33]) for(y = [5,25]) #translate([y,0,x]) rotate([90,0,0]) cylinder(r=1.75, h=20, center=true); } translate([10,-50,0]) cube([10,50,38]); translate([nose...
glb/cad_b1f1395570c5.glb
Create a Kossel 2020 OpenBeam Endstop mount by starting with a solid rectangular block measuring 30mm wide, 45mm long, and 9.5mm high. At the front end, carve out a square socket for a 20mm beam. This socket should be 21mm wide and 21mm long, extending 20mm deep into the block. Within this socket area, remove four th...
$fn=25; difference() { cube([30,45,9.5]); translate([4.5,4.5,-1]) openbeam_socket(height=20); translate([15,7,1.75+3]) rotate([90,0,0]) cylinder(h=13,d=4.75); translate([-1,15,1.75+3]) rotate([90,0,90]) cylinder(h=35,d=4.75); translate([4.5,34,0]) cube([21,7,12]); translate([2.75/2.0 + 5+4....
glb/cad_2f4719eb5bd4.glb
Create a Head Cooling Fan Holder consisting of a mounting plate and a tilted fan housing. Start with a rectangular plate 70mm wide, 2mm thick, and 27mm high. At each top corner of this plate, add a nut holder: a cube 11mm wide, 11mm deep, and 3mm high, with a centered cylindrical hole 7mm in diameter passing through it...
$fs = 1; drop = 20; nutSeparation = 66; nutHeadD = 7; nutHeadH = 3; nutHolderR = nutHeadD/2 + 1; drop = 22; dropThickness = 2; dropWidth = nutSeparation + nutHeadD+2; offsetToFan = 2.15; inclination = 40; fanD = 57; fanHoleD = 4.5; fanHoleWall = 3; fanDepth = 10; fanWidth = 55 - fanHoleD; fanMountWidth = fanWidth + fan...
glb/cad_1c4d19506d89.glb
Create a miniature Amstrad PC1640 monitor frame. Start by constructing a flat, rounded rectangular plate with a total thickness of 1.3mm. The outer boundary is defined by a hull of four circles with 10mm radii, positioned to create a shape approximately 31.5mm wide and 25.2mm high. From this plate, remove a central r...
m_e1 = 10; m_fx = 350; m_fy = 315; d_x=35.04; d_y=28.03; s_scale=[.725,.62]; md_scale=[(d_x/s_scale[0]/m_fx),(d_y/s_scale[0])/m_fy,0.124428]; o_x = 36.1; o_y = 23.3; o_z = 1.3; o_f = 13; i_scale=[.90,.88]; q=64; module shape1(){ x=m_fx/2-m_e1; y=m_fy/2-m_e1; hull(){ translate([x,y]) ...
glb/cad_18f41122fc9a.glb
Create a Tripod Clip for Phone consisting of a base platform and a mounting shoe. Start by creating a square platform 50mm wide and 12mm thick. On this platform, construct a quick-release shoe with an outer base of 41mm and an inner opening of 33mm, with a total shoe height of 9mm. Add two vertical slidey posts to the...
clip_base = 41; clip_in = 33; clip_h = 9; plat_w = 50; plat_h = 12; post_h = 105; post_w = 4; br_w = 6; br_h = 25; br_s = 4; band_w = 4; phone_thick = 14; hole_clearance = 0.55; band_r = band_w/2; support_th = 0.6; module round_rect(w, l, r){ translate([-(w-2*r)/2, -(l-2*r)/2, 0])minkowski(){ square([w...
glb/cad_46427be40dc8.glb
Create an XT30 Cap by constructing a hollowed-out shell with a rounded front and a flat back. First, create the outer body by forming a hull between a cube of 3.7mm width, 3.7mm depth, and 7mm height, and a cylinder with a 3.7mm diameter and 7mm height positioned 5.5mm away along the x-axis. This results in a pill-shap...
$fn=40; module xtbase(l, w, h) { hull() { translate([l, 0, 0]) cylinder(d=w, h=h, center=true); cube([w, w, h], center=true); } } module xt(l, w, h) { difference() { resize([l+w+1, 5, h+.4]) xtbase(l, w, h); translate([.25, 0, -.25]) xtbase(l, w, h); } translate([0...
glb/cad_70f1d383e091.glb
Create a Prusa Mk2 LCD knob by constructing a main cylindrical body with a diameter of 17.4mm and a height of 11.5mm, featuring rounded edges with a 2mm radius. The top surface should be flat with a centered circular indentation of 14mm in diameter and 2mm deep. Inside the body, create a central bore with a diameter of...
$fn=50; difference() { union() { difference() { translate([0,0,3.75]) minkowski(){ cylinder(7.5, 8, 8, true); sphere(2); } translate([0,0,-10]) cube([30,30,20], true); } union() { diffe...
glb/cad_6a9c73f796a3.glb
Create a spring coupler with a total height of 30mm and an outer diameter of 13.5mm. The object consists of two solid cylindrical end caps and a central flexible spring section. Each end cap has a height of 10mm; the top cap features a centered coaxial hole with a diameter of 6.35mm, and the bottom cap features a cente...
D1 = 13.5; D2 = 6.35; D2B = 8; H1 = 30; H2 = 10; N = 8; D3 = 3.6; Dnut=6.5; Hnut=2.5; B=5.2; H3=4; SLICES=50; Re = D1/2; Ri = D2/2; Rib = D2B/2; fn = 16*N; R3 = D3/2; Rnut=Dnut/2; B2 = B-Ri; Hspring=H1-2*H2; module sq_spring(in_R,out_R,height,rot) { width=out_R-in_R; linear_extrude(height = height, cent...
glb/cad_f2ce5b264cef.glb
Create a variable filament holder consisting of a tiered circular base with a central hole and three radial screw holes. Start with a base cylinder 24mm in radius and 3mm in height. Remove a central vertical hole with a diameter of 8mm that passes through the entire height of the object. Add a second tier on top of th...
module example001() DI=0; DiameterRoll1 = 40; DiameterRoll2 = 32; Hole = 8; Drill = 4; difference() { translate([0, 0, 0]) cylinder(h=3, r=DiameterRoll1/2+4); translate([0, 0, -1]) cylinder(h=50, r=Hole/2); rotate([0, 0, 0]) translate([11.5, 0, -1]) cylinder(h=70, r=Drill/2); rotate([0, 0, 120]) translate(...
glb/cad_40407d9c5272.glb
Create a Punch Set Tray designed to hold eight tools. Start with a solid rectangular base measuring 111.5mm in length, 84mm in width, and 16mm in height. Carve eight rectangular slots into the top surface to hold the punches. Each slot should be 108mm long and 8mm deep, starting 3mm from the front edge. The slots var...
toolLength = 102.5; outsideThickness = 3; divider = 2; depth = 1; bottomThickness = 3; verticalMargin = 5.5; horizontalMargin = 1; includeText = true; label1 = "1/16"; label2 = "3/32"; label3 = "1/8"; label4 = "5/32"; label5 = "3/16"; label6 = "7/32"; label7 = "1/4"; label8 = "5/16"; font = "Arial"; union(){ ...
glb/cad_f323a0cc2f8a.glb
Create a wheel repair part consisting of a main wheel body and a central axle collar. The main wheel is a cylinder with a diameter of 75mm and a height of 13mm. Remove a concentric inner cylinder from the wheel body, leaving a rim width of 4mm and a base thickness of 2mm. Within the wheel's face, create eight radial ...
outerD = 75; holeInset = 8; rim = 4; width = 13; holes = 5.5; AxleD = 3.5; spokeWidth = 3; axleDiam = 4.5; axlePartDiam = 20; axleWallThick = 3; wheel(); color([-5,.3,.1,0.8]){ axle(); } module axle(){ difference(){ union (){ cylinder(h = width, r = axlePartDiam/2); cylinder(h = width +3, r = axleDiam/2+2); } cyl...
glb/cad_bff828321ead.glb
Create a replacement linkage part consisting of a flat rectangular base and a central vertical column. Start with a rectangular base 43mm long, 16.1mm wide, and 2mm thick, with rounded corners of 1.7mm radius. Drill two holes completely through the base, each 6.1mm in diameter, positioned symmetrically along the center...
baseL = 43; baseW = 16.1; baseH = 2; baseCornerRad = 1.7; baseHoleD = 6.1; baseHoleFromSide = 6.1; colThickness = 2; colDTop = 10.5; colDBottom = 13.5; colH = 45; colHoleDTop = colDTop - colThickness; colHoleDBottom = colDBottom - colThickness; stopH = 4.5; stopD = 13.4; $fn = 50; module baseCorner() { cylinde...
glb/cad_af654957b31b.glb
Create a Modular Pendant Uplighter Lampshade consisting of a structural frame and infill panels. The overall diameter of the assembled shade is 400mm. First, create the anchor point for the light fitting: a 3mm thick disk with a 30mm radius, featuring a central hole with a 14.25mm radius and a larger 18.5mm radius out...
diaTotal = 400; dia=diaTotal/7; sideLen = 0.4142*(dia*2); outerSideLen=0.4142*diaTotal; midSideLen=sideLen*2.3; thickness=0.5; tabLen = 10; tol=0.25; transparency = 0.3; *!middle(); *!linear_extrude(thickness)smallShape(); *!linear_extrude(thickness)largeShape(); *!frameSection(); *!anchorPoint(); *!midFrameSection();...
glb/cad_79eac9f8aef1.glb
Create a customizable box with a lid and internal separators. The main base is a rectangular prism with dimensions 50mm wide, 35mm deep, and 30mm high, featuring rounded corners with a 3mm radius. The base has walls 1.4mm thick, leaving a hollow interior. On the outer side wall of the base, center the word "Text" embos...
boxWidth = 50; boxDepth = 35; boxHeight = 30; lidHeight = 10; roundCorner=3; wallThickness=1.4; textBase = "Text"; textBaseSize = 7; textLid = "Your"; textLidSize = 8; numSeparatorsX = 2; numSeparatorsY = 1; showParts = 0; showClosed = 1; $fn=60; tolerance = 0.8; iw = 1; if( showParts != 2 || showClosed ...
glb/cad_259a3e87515b.glb
Create a phone stand by starting with a rectangular base plate measuring 105mm by 85mm with a thickness of 10mm. Centered on this base, create a rectangular cutout measuring 10mm by 80mm. To support the phone, construct a tapered vertical wall that rises from the base. This wall should start with a bottom diameter of...
$fn = 60; pw = 80; pl = 100; pb = 10; pcd = 70; ph = 10; phl = 4; sd1 = 15; sd2 = 30; sh = 90; cs = 150; difference() { color ("Yellow") { #translate([-pl/2+5, 0, -ph/2]) { rotate([0, 20, 0]) { cylinder(d1=sd1, d2=sd2, h = sh); } } linear_extrude(he...
glb/cad_a938dbf76bfc.glb
Create an Arbor Press Ram Boot by constructing a solid rectangular block with a total height of 20mm, a width of 31.325mm, and a length of 31.325mm. From the top face of this block, remove a smaller rectangular section to create a centered hollow inset. This cutout must be 25.1mm wide and 25.1mm long, with a depth of 1...
Rl = 25.1; Rw = 25.1; outer_footprint_factor = 0.25; total_boot_height = 20; ram_depth = 10; Bl = (Rl*outer_footprint_factor)+Rl; Bw = (Rw*outer_footprint_factor)+Rw; module boot() { cube([Bl, Bw, total_boot_height]); } module inset() { translate([(Bl-Rl)/2,(Bw-Rw)/2,total_boot_height-ram_depth]) cube([Rl,Rw...
glb/cad_32a56129f353.glb
Create a name tag keychain by starting with a base plate formed from the convex hull of two cylinders, each 16mm in diameter and 2mm high, positioned 50mm apart center-to-center along the x-axis. At the center of the second cylinder, create a circular hole 14mm in diameter and 2mm deep to allow for a keyring. On top of...
Name = "Name"; Lenght = 50; linear_extrude(height = 5) translate([0, -5, 0]) text(Name); difference(){ hull(){ cylinder(h=2,d=16); translate([Lenght,0,0]) cylinder(h=2,d=16); } translate([Lenght,0,0]) cylinder(h=2,d=14); }
glb/cad_abb8a58d9237.glb
Create a parametric disc attachment for a drill. Start by creating a thin, flat circular base with a diameter of 40mm and a thickness of 2mm. From the center of this base, extend a hexagonal shank upwards. The shank should have a flat-to-flat diameter of 9.5mm and a total straight length of 40mm. Connect the base to th...
in = 25.4; baseThickness = 2; baseOD = 40; shankOD = 9.5; shankSides = 6; shankLength = 40; transitionHeight = 15; drillDisk(baseThickness, baseOD, shankOD, shankSides, shankLength, transitionHeight); module drillDisk(baseThickness, baseOD, shankOD, shankSides, shankLength,transitionHeight) { rshank = shankOD...
glb/cad_e13a57053893.glb
Create a two-part enclosure for a Wemos D1 Mini and OLED shield. First, construct the base as a rectangular box with outer dimensions of 38.5mm width, 30.5mm depth, and 22mm height. Hollow out the center to create a cavity that is 34.5mm wide, 26.5mm deep, and 21.1mm high, leaving a wall thickness of 2mm. Within this b...
height = 22.0; thickness = 2.0; fudge = 0.1; width = 38.5; depth = 30.50; cavity_width = width - (2 * thickness); cavity_depth = depth - (2 * thickness); cavity_height = height - thickness + fudge; hole_diameter = 0; slit_width = 4.0; slit_height = 23.0; difference() { union () { translate([-(width / ...
glb/cad_59292a9a4a0e.glb
Create a Hydroponic Growing Pod consisting of a wide circular flange and a tapered central body. Start with a flat circular top disk with a diameter of 45.5mm and a thickness of 0.8mm. Attached to the bottom of this disk, create a circular lip with a diameter of 40.5mm and a height of 5mm. Below the lip, construct a ta...
openingD=40.5; topOverhang=5; lipH=5; stalkD=5; stalkH=10; seedH=5; seedHoleWidth=1; nozzle_width=.4; wall=2*nozzle_width; poly=200; top(); topLip(); difference(){ wholeSeedCup(); cylinder(h=50,d=2,$fn=40); } module wholeSeedCup(){ difference(){ plug(); translate([0,0,wall])slits(); } } module top(){ dif...
glb/cad_c9915433dbb6.glb
Create a Hydroponic Growing Pod consisting of a circular base and a tapered upper body. Start with a flat circular disk with a diameter of 40.5mm and a thickness of 0.8mm. On top of this disk, add a concentric ring (lip) with an outer diameter of 40.5mm and a height of 5mm, with a wall thickness of 0.8mm. Above the li...
stalkOpeningWidth=20; seedDepth=25.4/2; seedWidthAtDepth=5; seedW=2; slitGap=seedW*2/3; nozzleW=.4; slitBaseW=nozzleW*6; wallThickness=nozzleW*2; slitTopW=nozzleW*2; openingD=40.5; topOverhang=5; lipH=5; stalkD=5; stalkH=5; seedH=5; height=10; seedHoleWidth=1; nozzle_width=.4; wall=2*nozzle_width; poly=200; top(); t...
glb/cad_11102b8e2de4.glb
Create a Bowstring Equatorial Sundial consisting of a base, a central bow, and an equatorial band. Start with a circular base that is 100mm in diameter, 15mm wide, and 6mm thick. Above this, construct a bow that follows a 100mm diameter arc. The bow has an outer diameter of 112mm and an inner diameter of 91mm, with a...
assemble = true; with_caps = true; diameter = 100; width = 15; thickness = 6; string_diameter = 3.1; mark_width = 0.8; band_gap = 90; latitude = -33.786139; longitude = 151.290084; fitting_slop = 0.1; overlap = 1; $fn = 100; if(assemble) { rotate(latitude, [1, 0, 0]) { translate([0, width/2, 0]) rotate(90, [...
glb/cad_86d798ca059e.glb
Create a Snap-Together Geeetech G2/G2s Layer Fan adapter. Start by creating a square fan mount base with a side length of 40mm and a thickness of 12mm, rotated 45 degrees on the Z-axis. On top of this base, center a hexagonal prism with 6 facets, a height of 40mm, and a radius of 7mm. Above the base, add a conical tr...
include <fan_holder_v2.scad>; rotate ([0,0,45]) squareFanAdapter (s=40, h=12); module squareFanAdapter (s=60, h=3) { difference () { union () { rotate ([0,0,45]) translate ([-s/2, -s/2, 0]) fan_mount(size=s,thick=h); translate ([0,0,h]) cylinder (h=25, r1=(s/2)*1.4-2, r2=10, $fn=4); transla...
glb/cad_4a9693cbb64f.glb
Create a customizable polygonal box consisting of a base and a lid. The base is a hexagonal prism with a diameter of 50mm and a height of 50mm. Hollow out the center of the base to create a container with a wall thickness of 1.4mm. On one of the exterior side walls of the base, emboss the word "Text" with a font size o...
boxDiameter = 50; boxHeight = 50; lidHeight = 15; numberSides = 6; wallThickness = 1.4; textBase="Text"; textBaseSize=10; textLid="Your"; textLidSize=10; showParts = 0; showClosed = 1; corner=1; tolerance=0.8; $fn=60; if( showParts != 2 || showClosed ==1) { boxBase(); separators(numSeparatorsX, numS...
glb/cad_0605c3e7496e.glb
Create an N-scale 40-foot shipping container. Start with a main rectangular shell measuring 76.2mm in length, 15.2mm in width, and 15.6mm in height. Along the left, right, and top surfaces, add vertical ribs every 5.36mm, each rib being 1mm wide, 17.1mm deep, and 16.1mm high. Add four longitudinal rails, each 1.5mm wi...
boxlength=76.2; cube ([boxlength,15.2,15.6]); for (i = [0:05.36:boxlength]) { color("blue") translate([i,-1,0]) cube([1,17.1,16.1]); } translate([0,-1.4,15.6-.5]) cube([boxlength,1.5,1]); translate([0,-1.4,0]) cube([boxlength,1.5,1]); translate([0,15.2,15.6-.5]) cube([boxlength,1.5,1]); translate([0,15.2,0]) cube...
glb/cad_386e2580f2fd.glb