Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a MendelMax 1.5 dual e3d v5 Bowden Mount consisting of two separate parts: a main plate and a retainer. For the main plate, start with a rectangular block 28mm wide, 100mm long, and 5mm thick. Add two semi-cylindrical ridges with a radius of 5.5mm along the long edges: one starting at the bottom edge (y=2mm) an...
module plate() difference(){ { union() { cube([28,100,5]); intersection() { translate([0,2,0]) rotate([0,90,0]) cylinder(r=5.5, h=28, $fn=64); cube([28,100,6]); } intersection() { translate([0,100-2,0]) rotate([0,90,0]) cylinder(r=5.5, h=28, $fn=64); cube([28,100,6]); } ...
glb/cad_f7819dae5524.glb
Create a MendelMax 1.5 dual e3d v5 Bowden Mount consisting of two separate parts: a main plate and a retainer. For the main plate, create a rectangular base 28mm wide, 100mm long, and 5mm thick. Add two semi-cylindrical fillets with a radius of 5.5mm along the long edges, one at the front (y=2mm) and one at the back (...
module plate() difference(){ { union() { cube([28,100,5]); intersection() { translate([0,2,0]) rotate([0,90,0]) cylinder(r=5.5, h=28, $fn=64); cube([28,100,6]); } intersection() { translate([0,100-2,0]) rotate([0,90,0]) cylinder(r=5.5, h=28, $fn=64); cube([28,100,6]); } ...
glb/cad_8bb60001be82.glb
Create a MendelMax 1.5 Quick Release Dial Indicator Plate. Start by constructing a rectangular base that is 28mm wide, 100mm long, and 5mm thick. Modify the top and bottom edges of this base by adding rounded profiles; specifically, create a semi-cylindrical protrusion with a radius of 5.5mm that runs across the 28mm w...
module plate() difference(){ { union() { cube([28,100,5]); intersection() { translate([0,2,0]) rotate([0,90,0]) cylinder(r=5.5, h=28, $fn=64); cube([28,100,6]); } intersection() { translate([0,100-2,0]) rotate([0,90,0]) cylinder(r=5.5, h=28, $fn=64); cube([28,100,6]); } ...
glb/cad_a30a77b0ad6d.glb
Create a parametric sieve consisting of a rectangular frame and a perforated base. The overall outer dimensions are 200mm by 200mm with a base thickness of 2mm. Construct a surrounding border frame with a thickness of 4mm and a height of 40mm on all four sides. Within the central area of the base, create a grid of pyra...
sieb(x=200, y=200, d=2, s=2, l=6, rd=4, r=40); module sieb(x, y, d, s, l, rd, r) { nx = floor((x - 2*rd - 2*s) / (s + l)); ny = floor((y - 2*rd - 2*s) / (s + l)); difference() { union() { translate([-x/2, -y/2, 0]) cube([x, y, d]); translate([-x/2, -y/2, 0]) cube([x, rd, r]); translate([-x/2,...
glb/cad_7632260e87b5.glb
Create a parametric dust cap for a bearing by constructing a hollowed cylindrical vessel. Start with a main outer diameter of 22.20mm and a total height of 8.4mm. The walls of the cap should be 1.2mm thick. To form the outer shell, create a cylinder with a radius of 11.1mm and a height of 8.4mm. Modify the top and bo...
maindia = 22.20; rimheight = 8.4; wall = 1.2; rim = 1.8; ridge = min(0.7, rimheight/4); difference() { union() { cylinder(r1 = maindia/2-ridge, r2 = maindia/2, h = ridge, $fn=100); translate([0, 0, ridge]) cylinder(r = maindia/2, h = rimheight - 2*ridge, $fn=100); translate([0, 0, rimheight-ridge]) cylinder...
glb/cad_54ff2a39c016.glb
Create a keyfob cover with an outer shell and a hollow interior. The outer shell should have a total length of 87mm, a width of 38.5mm, and a height of 21.1mm, with a wall thickness of 2mm. The interior cavity is 86.5mm long, 37.5mm wide, and 18.1mm high. The overall shape is a rounded rectangular prism. The two large...
use <MCAD/fonts.scad> thisFont=8bit_polyfont(); x_shift=thisFont[0][0]; y_shift=thisFont[0][1]; Margin = 1.01; FN = 72; FNS = 72; rnd = .25; clearance = .75; L = 85+clearance; W = 36.5+2*clearance; H = 17.1+2*clearance; RL = 12.5; RS = 4; Fr = 2; THK = 2; sL = L + THK; sW = W + 2*THK; sH = H + 2*THK; sRL = RL+THK; ...
glb/cad_52713edb8350.glb
Create a Customizable ASGB Collet by constructing a cylindrical body with a wide base and a narrower upper sleeve. Start with a base cylinder that has a diameter of 32mm and a height of 12mm. On top of this base, add a second cylinder centered on the same axis with a diameter of 33.5mm and a height of 2mm. Hollow out...
lip_extention = 5; spindle_depth =10; spindle_diameter = 32; lip_height = 2; TP = .5; Pa = .1; N = 2; rD = 28 + TP ; CW = N + 1.7 - 32 + spindle_diameter; LD = rD + CW; LH = lip_height; LE = lip_extention; SD = spindle_depth + LH; module collet($fn= 70){ difference() { union() { cylinder(r=LD/2, h=SD); cyli...
glb/cad_42e23d04180b.glb
Create a Telescope Microphone Stand Adapter by starting with a main cylinder that has a diameter of 27.5mm and a height of 16mm. Bore a metric thread with a 15mm diameter and a 1mm pitch through the center of this cylinder. To create the gripping arms, add three identical wedge-shaped segments distributed evenly every ...
include <threads.scad> include <wedge.scad> tolerance = 0.5; innerD = 27.5; thickness = 5; outerD = 28.13 + 3.8 + tolerance + 2 * thickness; depth = 11; height = depth + thickness; fn=100; module oneWedge() { wedge(height, outerD/2, 45); } module arms() { difference() { difference() { union ...
glb/cad_549833e5cd21.glb
Create a Simple X endstop holder. Start with a main cylindrical body 20mm high with an outer radius of 8mm and a concentric inner hole with a radius of 4.2mm. Cut a rectangular notch 7mm wide, 15mm deep, and 20mm high through the cylinder, centered on the x-axis and offset by 3.5mm from the center. Attached to the si...
module versteifung() { }; $fn=60; difference(){ cylinder(20,r=8); cylinder(r=4.2,20); rotate([0,0,90])translate([-3.5,0,0])cube([7,15,20]); }; difference(){ for(i=[4.5,-4.5]){ rotate([0,0,90])translate([i,10,10])cube([2,10,20],center=true); }; rotate([0,90,90])translate([-10,10,0])cylinder(20,r=1.7,center=t...
glb/cad_546cc19003b7.glb
Create a Case with flexible filament hinge. Start by creating a thin, flexible hinge plate centered at the origin with a width of 60mm and a thickness of 0.5mm. The length of this plate is determined by the interior height of the case (8mm) multiplied by 1.1, plus twice the cover thickness. Apply a fillet radius of 5mm...
flexi = 1; hard = 2; material = flexi; interiorHeight = 8; interiorFillet = 1.2; hingeWidth = 60; interiorWidth = 85.6 + 0.5 + 2 * interiorFillet; interiorLength = 54 + 0.5 + 2 * interiorFillet; coverThickness = 1.0; sidewallWidth = 1; lidInsetHeight = 2.4; lidInsetHeightHigh = 5; hingeThickness = 0.5...
glb/cad_e91418e7cc61.glb
Create a recording chamber by starting with a solid rectangular base measuring 80mm in length, 56mm in width, and 7mm in height. From this base, remove several geometric volumes to create internal voids. First, carve out a central cylinder with a radius of 15mm and a height of 7mm, centered at coordinates (40, 28, 0). ...
difference (){ cube ([80,56,7]); translate ([40,28,0])cylinder (r=15,h=7);translate ([16,22,0]) cube(12,18,6); translate ([52,22,0]) cube(12,18,6); translate ([15,8,0]) cylinder (r=3,h=6); translate ([65,8,0]) cylinder (r=3,h=6); translate ([14,10,0]) cube ([2,24,6]); tr...
glb/cad_bb163c069043.glb
Create an Origami Duck model consisting of folded planes with a uniform thickness of 1.2mm. The structure is symmetrical across the YZ plane. Construct the body by creating a base plane defined by vertices at [0,0,0], [26,0,11.5], [0,0,12.8], and [18.2,0,0]. Rotate this body section 30 degrees around the axis passing ...
thickness=1.2; body_angle=30; wing_angle=60; head_angle=25; steps=5; scale=2; function m_translate(v) = [ [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [v.x, v.y, v.z, 1 ] ]; function m_scale(v) = [ [v.x, 0, 0, 0], ...
glb/cad_306c48573480.glb
Create a Filament Spindle Wedge by first constructing a base block that is 60mm wide, 60mm deep, and 10mm high. Center a cylindrical hole with a diameter of 140mm and a height of 10mm through this block, offset from the edges by 8mm in both the X and Y axes. To create the final tapered form, remove a smaller version of...
module wedge(){ difference(){ translate([90,90,-5]) cube([60,60,10]); translate([8,8,0]) cylinder(10,140,140, true, $fn=100); } } difference(){ wedge(); translate([38,38, 0]) scale(v=[0.7, 0.7,1]) wedge(); }
glb/cad_d9eafdb4f191.glb
Create a blind rod endcap consisting of a circular base and a hollow cylindrical sleeve. Start by creating a solid circular end plate with a radius of 12.9mm and a thickness of 2mm. Centered on top of this plate, add a hollow cylinder with an outer radius of 9.5mm and an inner radius of 8.9mm. This sleeve should have a...
rr = 17.8/2; wt = 0.7; wh = 15.8; epr = 25.8/2; ept = 2; cylinder(h=ept, r=epr, $fn=96); difference(){ translate([0, 0, ept]) cylinder(h=wh, r=rr+wt, $fn=96); translate([0, 0, ept]) cylinder(h=wh+1, r=rr, $fn=96); }
glb/cad_001d83435a1c.glb
Create a grid of 8 Hex Nut Stress Relieving Washers arranged in 4 columns and 2 rows. Each individual washer is a hexagonal prism with a height of 2mm, a base radius of 5.5mm, and a top radius of 5mm. For each washer, center a vertical hole with a radius of 1.75mm that passes completely through the part. Additionally...
nx=4; ny=2; scr=1.75; scr2=3.4; scrf=6; pr=5.5; ph=2; pf=6; pd=1.7; translate([-13,-13,0]) difference() { cylinder(r=3,h=.17,$fn=8); } for (x=[0:1:nx-1]) { for (y=[0:1:ny-1]) { translate([(pr+1)*2*x,(pr+0.5)*2*y,0]) difference() { cylinder(r1=pr,r2=pr-0.5,h=ph,$fn=pf); translat...
glb/cad_ead856713564.glb
Create a whiteboard eraser and marker holder with an overall width of 200mm and a depth of 70mm. The base is a flat rectangular plate 2mm thick. From this base, extend two vertical walls: a rear wall 30mm high and a front wall 15mm high. The space between these walls is 17mm, creating a U-shaped channel to clip onto th...
use <write/Write.scad>; message = "Yvonne`s Board"; font = "write/orbitron.dxf"; wt=2/1; xwidth = 200; ydepth = 70; fheight = 15/1; rheight = 30/1; Hole_diameter = 16; hr = Hole_diameter/2; Whiteboard_edge_thickness = 17; gap = Whiteboard_edge_thickness/1; translate([xwidth/-2, gap+ydepth/2-wt,0]) cube ([xwidth...
glb/cad_aee071fc0871.glb
Create a 5-button remote garage door cover consisting of a circular button interface. Start with a base plate that is a cylinder with a radius of 12.5mm and a thickness of 0.35mm. On top of this base, add a concentric cylinder with a radius of 11.25mm and a height of 3.3mm. Create a central button by placing a cylinde...
buttons(0); module box_smooth(x, y, z, rx, ry , rz){ intersection(){ if(rz ){ hull(){ translate([x-rz,y-rz,0]) rotate ([0,0,0]) cylinder(h=z,r=rz,$fn=64); ...
glb/cad_0b08b427de7b.glb
Create a petrol cap for a toy car. Start with a main circular body consisting of a wide, shallow base and a thinner upper ring. The base is a cylinder with a radius of 35mm and a height of 11mm. On top of this base, create a ring with an outer radius of 33mm and an inner radius of 30.5mm, extending from a height of 2mm...
orad = 33; irad = 30.5; difference(){ union(){ difference(){ cylinder(h=11,r=orad+2,$fn=64); translate([0,0,2]) cylinder(h=11,r=orad,$fn=64); } difference(){ translate([0,0,2]) cylinder(h=11-2,r=irad+1,$fn=64); translate([0,0,2]) cylinder(h=11,r=irad,$fn=64); } } translate([-(orad+7), -11, -.1]) cube([12...
glb/cad_282ac5ebe8f1.glb
Create a 3D printer test grid consisting of a series of intersecting lines on a base. First, create a thin base frame by placing two sets of parallel lines: one set of 21 lines spaced 5mm apart running along the X-axis, and another set of 21 lines spaced 5mm apart running along the Y-axis, each with a thickness of 0.6m...
msh(.2); for(yt=[0.1:0.1:1]){ for(zt=[0.1:0.1:1]){ translate([100*zt-10, 100*yt-7, 1]) cube([10.5, yt, zt]); translate([100*zt-10, 100*yt-10, 1]) rotate([0,0,45]) cube([14.14, yt, zt]); } } module msh(h){ for(i=[0:5:100]){ translate([0, i, 0]) cube([100.6, .6, h]); } for(i=[0:5:100]){ translate([i, 0, 0])...
glb/cad_06096cf3c9bb.glb
Create an SMD tape spool consisting of two identical mirrored halves. For one half, start with a thin circular base disk 1mm thick with an outer diameter of 90mm. Remove a central vertical cylindrical hole with a diameter of 40mm from the center of the disk. Around this central hole, create a raised hub with a total ...
unit = 1; spool_width = 10; spool_walls_diameter = 90; spool_walls_width = 1; spool_hole_diameter = 40; spl_l=spool_width*unit; spl_w_d=spool_walls_diameter*unit; spl_w_w=spool_walls_width*unit; spl_h_d=spool_hole_diameter*unit; spks=8; spks2=10; spk_th=5*unit; $fn=48*2; spl_w_r=spl_w_d/2; spl_h_r=spl_h_d/2; cla...
glb/cad_4bf917543395.glb
Create a print bed mount for a 20x20mm aluminum extrusion. The mount is a block with a total size of 35mm x 60mm x 15mm. The main body consists of a base block 60mm wide, 35mm deep, and 5mm high. On top of this base, add a secondary rectangular section centered on the block with a height of 5mm. Create two vertical ...
m5_screw_head_height = 5.4; m5_screw_head_radius = 4.2; m5_screw_thread_radius = 2.5; m5_screw_thread_length = 10; m4_screw_head_radius = 3.5; m4_screw_thread_radius = 1.5; extrusion_depth = 20; bed_margin = 0.2; bed_diameter = 180; bed_radius = bed_diameter/2 + bed_margin; bed_thickness = 5; mount_flange = 15; mou...
glb/cad_4367315e5cda.glb
Create a two-part rotating latch assembly consisting of an inside latch arm and an outside handle. For the inside latch arm, create a base by joining a cylinder with a 9mm radius and 2.5mm height to a smaller 3.1mm radius cylinder with a height of 1.8mm, positioned 14mm away from the center. Add a central shaft exten...
scr=1.75; scr2=3.4; pr=9; ps=6; ph=2.5; px=14; ny=2; difference() { union() { hull() { cylinder(r=pr,h=ph,$fn=100); translate([px,0,0]) cylinder(r=3.1,h=1.8,$fn=16); } cylinder(r=ps,h=5.5,$fn=100); translate([0,0,5.49]) cylinder(r=ps,h=3,$fn=8); d...
glb/cad_79bffa0789d1.glb
Create a Lulzbot Mini Enclosure Door Latch consisting of a hinge mechanism. The overall length of the hinge is 42mm with a total height of 3.5mm. Construct the main body as a series of six interlocking segments. Each segment should feature a cylindrical pivot with a radius of 4.35mm (the sum of the 1.35mm pin radius ...
PinR=1.35; l=42; n=6; ht=3.5; ho=.5; w1=18; w2=18; w3=6; w4=20; HingeR=PinR+3; Kerf1=.4; KerfR=.25; sm=32; scr=1.75; scr2=2.85; poly3=[[0,0],[0,w3],[ht/2,w3],[ht/2,0],[0,0]]; poly4=[[0,0],[0,w4],[ht-3,w4],[ht-3,0],[0,0]]; crenel1=[[0,0],[l/5-2,0],[l/5,ht+.2],[-2,ht+.2],[0,0]]; crenel2=[[Kerf1,0],[l/5-2-Kerf1,0],[l/5-...
glb/cad_a6da56301a34.glb
Create a Cup Name Tag by constructing a curved, hollow clip designed to fit around a mug handle. The main body is a segment of a torus with a height of 50mm. The cross-section of the clip is an ellipse with a major axis of 18mm (y-axis) and a minor axis of 11mm (x-axis), creating a wall thickness of 1.5mm. The outer ra...
use <write/Write.scad> name = "rohieb"; wall = 1.5; text_height = 0.7; height_z = 50; handle_x = 8 + 1; handle_y = 15 + 1; handle_r_xz = 49 + 1; overhang_x = 4 * handle_x / 16; handle_ratio_yx = handle_y/handle_x; cap_angle = 31; $fa=2; $fs=1; rotate([90,0,0]) intersection() { difference() { scale([1,1,(h...
glb/cad_460cfcfda802.glb
Create a Shabbat Candle Holder by combining a central revolved vessel with a decorative star base. Start by creating a revolved solid around a central vertical axis. The profile of this solid begins at the base with a radius of 10mm, extends outward to a maximum radius of 20mm at a height of 30mm, and then tapers back ...
$fn=100*1.0; Top = 50; Middle = 30; Width = 40; Star = 20; Taper = 3; Candle = 25.0; s = Star; t = 5*1.0; h = tan(60)*s/2; h1 = t/sin(30); h2 = h + t*2; ztaper = Taper/4; Xr = Candle/2; Xa = h2; Yb = 9.3*1.0; Xc = 9.3*1.0; Yd = 18.6*1.0; Xe = Width/2; Ye = Middle; Xf = Xr + 4; Yf = Top; Yg = Yf - 4; difference...
glb/cad_e1448d82a9b1.glb
Create a game plate for Nine Men's Morris consisting of a grid of nine identical cylinders. Each cylinder must have a radius of 6mm and a height of 10mm. Arrange these cylinders in a square 3x3 layout. Position the first cylinder at the origin (0, 0, 0) and place the remaining cylinders at 14mm intervals along both the...
for (x = [0, 14,28]){ for (y = [0, 14,28]){ translate([x,y,0]) cylinder(r=6,h=10,$fn=100); } }
glb/cad_ca9fd795f671.glb
Create a square game plate for Nine Men's Morris with overall dimensions of 180mm x 180mm and a thickness of 6mm. The plate is a solid cube from which the game board pattern is carved out. Engrave the board's layout into the top surface to a depth of 4mm, leaving a base thickness of 2mm. The engraving should follow the...
difference(){ cube ([180,180,6]); translate([0,0,3]) linear_extrude (height=4) import (file="plateau.dxf", layer="traces", $fn=100); }
glb/cad_27b2386fbdcc.glb
Create a plain goblet by constructing a hollowed vessel with a total height of approximately 100mm. Start with a main body formed by a sphere with a radius of 35mm, scaled vertically to a height of 95mm. Hollow out the center of this shape by removing a smaller scaled sphere with a radius of 32mm. At the base, add a ...
module torus(minor,major,quality) { rotate([0,0,30]) rotate_extrude(convexity = 10, $fn = quality) translate([major, 0, 0]) circle(minor, $fn = quality/2); } module goblet(radius,thickness,showCrosssection) { difference() { union() { translate([0,0,95+thickness]) difference() { scale([1,1,95/radius])spher...
glb/cad_0624c8ad8b6f.glb
Create a customizable delta rod by constructing a hollow hexagonal tube. Start with a hexagonal prism that has an outer diameter of 4.7752mm and a total length of 166mm. Create a hexagonal hole through the center of this prism with a diameter of 3.2752mm (calculated as the outer diameter minus 1.5mm) and a length of 16...
sectors = 6; ed = 4.7752; wd = 1.5; l = 166; $fn=sectors; rotate([90,0,45]) difference() { cylinder(d=ed, h=l, center=true); cylinder(d=ed-wd, h=l+2, center=true); }
glb/cad_0ef025ec24d4.glb
Create a removable spool holder bracket for a Lulzbot Mini. The main body is a U-shaped block with a flat base and two raised vertical side walls. The overall footprint is approximately 16.4mm thick, with the base extending between the walls. The two vertical walls are each 20mm wide and 16.4mm deep. Each wall contain...
rotate([0,90,0]) translate([-6,-34,-14]) difference() { union() { hull() { translate([-10.4,47,-5]) rotate([0,90,0]) cylinder(r=5,h=16.4,$fn=100); translate([-10.4,15,-9]) rotate([0,90,0]) cylinder(r=1,h=16.4,$fn=100); translate([-10.4,15,-1]) rotate([0,90,0]) cylinder(r=...
glb/cad_647005c2a058.glb
Create a travel case for a RIF6 Cube Video Projector by starting with a solid rectangular block measuring 59.4mm in width, 59.4mm in depth, and 51mm in height. Hollow out the center of this block to create a main interior cavity of 53.4mm by 53.4mm by 48mm, leaving walls that are 3mm thick. Modify the walls with spec...
wall=3; w = 53.4; d = 53.4; h = 48; focus_y=4; focus_yd=17; focus_h=42; focus_t=1.5; power_y=29; power_yd=7; power_h= 25; power_t = 1.5; air_x=15; air_w=25; air_z=7; air_h=20; air_t=wall; difference() { translate([-wall,-wall,-wall]) cube(size=[w+2*wall,d+2*wall,h+wall]); union() { cube(size=[w,d,h]); trans...
glb/cad_751af11981ac.glb
Create a rectangular plate measuring 15mm wide, 25mm long, and 1mm thick. Along the center of the plate's length, create a raised fastening structure. This structure is formed by a block 15mm wide, 10mm long, and 1mm high, which has a 10mm diameter cylinder with a height of 15mm centered within it. From this combined s...
thick = 1; hole = 4; b = 15; module plate(){ cube([b,25,thick]); } module screw(){ cylinder(d=3,h=20,$fn=12); } module tighten (){ difference(){ hull(){ translate([0,5,8]) rotate([0,90,0]) cylinder(d=10,h=b); cube([b,10,1]); } translate([0,5,8]) rotate([0,90,0]) screw(); slot(); } } module slot(){ ...
glb/cad_62f0e573f831.glb
Create a suitcase closure replacement for a Hilti TE15. Start with a solid rectangular base measuring 82.4mm in length, 55.2mm in width, and 17mm in height. From this base, remove a large rectangular section to create a hollow interior, leaving a wall thickness of 3mm on the top and bottom sides and 3mm on the left s...
$fn=360; difference() { union() { cube([82.4,55.2,17]); } union() { union() { translate([-1.5,3,3]) cube([8.75,49.2,8]); translate([-0.5,-1,10.75]) rotate([-90,0,0]) cylinder(r=7.75, h=57); translate([-0.5,-1,10.75]) cube([7.75,57,10]); } ...
glb/cad_39b354e523ed.glb
Create a wire cable hook for a 6mm aluminum frame. Start by constructing a base shape composed of three rectangular segments: one measuring 12x3x7mm, a second measuring 3x6x7mm positioned immediately adjacent to the first, and a third measuring 22x3x7mm extending further along the same axis. Add a final rectangular blo...
translate([18,22,0])cube([5,3,7]); union(){ translate([0,0.1,0]) cube([12,3,7]); translate([0,3,0])cube([3,6,7]); translate([0,9,0])cube([22,3,7]); difference(){ translate([22,17,0])cylinder(h =7, d = 16, $fn = 100); translate([22,17,-1])cylinder(h =9, d = 10, $fn = 100); translate([6,12,-2]) cube([16,16,10])...
glb/cad_d1c15aabb927.glb
Create a power supply cap screwless mount. Start with a main body consisting of a base plate 114mm wide, 48mm deep, and 4mm thick. Add two vertical walls: one 30mm high and 114mm wide at the back, and another 3mm high and 114mm wide along the sides. Cut several geometric openings into the structure: a rectangular volt...
module roundedBox(size, radius) { cube(size - [2*radius,0,0], true); cube(size - [0,2*radius,0], true); for (x = [radius-size[0]/2, -radius+size[0]/2], y = [radius-size[1]/2, -radius+size[1]/2]) { translate([x,y,0]) cylinder(r=radius, h=size[2], center=true); } } module main_Part(){ difference(){ ...
glb/cad_ae9e61700a29.glb
Create a Stained Glass Circle template by constructing a curved ring segment. Start with a base ring that has an inner radius of 94mm and an outer radius of 100mm, with a total height of 6.5mm. The main body of the ring should be 3mm thick. The shape is a 90-degree arc of this ring. Within the thickness of the ring's...
$fa=1; $fs=0.5; edge_height=6.5; cylinder_radius=184.15/2; cylinder_height=edge_height*1.5; edge_thickness=10; cube_edge=cylinder_radius + 24; inner_edge=cylinder_radius + 4; midline=inner_edge + edge_thickness/2; outer_edge=inner_edge + edge_thickness; thickness=3; angle=90; holes=6; divisions=holes+1; hole_size=1...
glb/cad_e3aeb7de3b86.glb
Create a Barn Hunt Rat Tube cap by combining a cylinder and a cube. Start with a cylinder that has a radius of 57.15 mm and a height of 20 mm. Centered on top of this cylinder, place a cube with dimensions of 47.625 mm in width, 47.625 mm in depth, and 40 mm in height. The cube should be positioned so that its base sit...
union() { translate([0,0,20]) cube([47.625,47.625,40], center = true); cylinder(h=20,r=114.3/2,$fn=100); }
glb/cad_ec2b38939ba2.glb
Create a Barn Hunt Rat Tube end cap by combining two stacked cylinders. First, create a base cylinder with a radius of 51mm and a height of 6mm. Directly on top of this base, center and add a second cylinder with a radius of 57mm and a height of 6mm. Ensure both cylinders have a high facet resolution of 100 for a smoot...
union() { cylinder (h= 6, r= 102/2,$fn= 100); translate([0,0,6]) cylinder (h= 6, r= 114/2,$fn= 100); }
glb/cad_eee5ef8571be.glb
Create a Barn Hunt Rat Tube consisting of a main hollow cylinder and a thicker base cap. First, construct the main tube as a hollow cylinder with an outer radius of 57.15mm and an inner radius of 51mm, extending to a total height of 314.8mm. Position this tube so that its base begins 20mm above the origin. Second, crea...
union() { difference() { translate([0,0,20]) cylinder(h=294.8,r=114.3/2,$fn=100); cylinder(h=325,r=102/2,$fn=100); } difference() { cylinder(h=88.9,r=127/2,$fn=100); cylinder(h=88.9,r=114.3/2,$fn=100); } }
glb/cad_31093ff1a387.glb
Create a SquishPad compressible structure with overall dimensions of 33mm in length (X), 28mm in width (Y), and 15mm in thickness (Z). The structure is composed of thin plates, each 0.4mm thick. Start by creating two horizontal plates, each 33mm long and 28mm wide, positioned at the top and bottom boundaries of the 1...
echo(version=version()); padLength=33; padWidth=28; padThickness=15; lineAngle = 15; lineThickness=0.4; lineSpacing=5; intersection() { translate([0, 0, 0]) linear_extrude(height = padWidth) square([padLength, padThickness], center = true); union() { translate([0, padThickness/2...
glb/cad_c47c1b13a107.glb
Create a Honda CRX Fuel Door Latch. Start with a main cylindrical body 53mm tall with a 10mm radius. From the base up to 38mm, the cylinder is hollowed out with an inner radius of 9mm. At a height of 36mm, add a bevel with a 10mm radius, 2mm height, and 1mm width. At the top, from 47mm to 53.5mm, create a hollow ring ...
$fn = 200; module keyhole(radius, height, width) { cylinder(r = radius, h = height); translate([-radius, 0, 0]) { cube([radius * 2, width - radius, height]); } translate([0, width - radius, 0]) { cylinder(r = radius, h = height); } } module bevel(radius, height, width) { rotate_extrude() { pol...
glb/cad_a23935e59b9a.glb
Create a Mendel90 bed fan cowl. Start with a base plate that is a rounded square measuring 80mm by 80mm with a thickness of 3mm and corner radii of 10mm. At each of the four corners of the base, centered 35.75mm from the center of the plate, add a cylindrical screw boss with a radius of 3.5mm and a height of 5mm. Dri...
ff = 0.05; $fs = 1.0; $fa = 5; ew = 0.5; ww = 2*ew; base_depth = 3; fan_diameter = 77.5; fan_housing = 80; hole_spacing = 71.5; hole_dia = 4.5; screw_m=7; off_tunnel=4; duct_width = 130; duct_height = 36; duct_dx = -10; duct_dy = -12; duct_dz = 50; hole_depth = base_depth + ff; if (1) print(); else preview()...
glb/cad_c0cc31b4cc0e.glb
Create a hinge pin for a recycling bin. Start with a base cylinder 20mm in diameter and 3mm high. Above this base, create a main vertical cylinder with a radius of 6.5mm and a total height of 23mm, extending from the 3mm mark to a total height of 26mm. Within this upper cylinder, from a height of 17mm up to 32mm, place...
ir=13/2; intersection(){ union(){ cylinder(r=10,h=3); translate([0,0,3]) cylinder (r=ir,h=10); for(i=[17:6:32]){ translate([0,0,i]) cylinder (r=ir,h=2); } translate([.5-ir, -1, 3]) cube([2*(ir-.5),2,30]); translate([-1, .5-ir, 3]) cube([2,2*(ir-.5),30]); ...
glb/cad_2b2d213534b1.glb
Create a hollow cylindrical sleeve for a tool bit. Start by creating a solid cylinder with a radius of 12mm and a height of 40mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 10mm and a height of 40mm, extending it 2mm below the base to ensure the bottom is completely open. Fi...
difference(){ color ("blue")cylinder ( r=12, h=40, $fn=40); translate ([0,0,-2])cylinder( r=10, h=40, $fn=40); translate ([0,0,32])cylinder( r=9, h=10,$fn=40 ); }
glb/cad_e31357523ddc.glb
Create a tool head assembly consisting of a central shaft and an outer sleeve. Start by creating a central shaft that is a cylinder with a radius of 2.5mm and a height of 50mm. Around this shaft, add a conical transition piece that starts at a radius of 10mm at the base and tapers to a radius of 8mm over a height of 5m...
translate([0,0,-2])color("blue")sleeve(); module Tool_hole(){ translate([0,0,13])cylinder (h=37,r=3.25 ); } module tool_head() {color ("red") union(){ translate([0,0,-50])cylinder(r=2.5, h=50, $fn=50 ); translate ([0,0,45])cylinder (h=5, r1=10, r2=8, center=false); cylinder (h=45, r1=2.5, r2=10, center=false);} } di...
glb/cad_a6ff350e2cb5.glb
Create a filament spool model by constructing a central core and two outer flanges. Start by creating a central cylinder with a radius of 75mm and a height of 75mm. Remove a concentric cylindrical hole from this core with a radius of 30mm and a height of 77mm to create a hollow tube. For the outer flanges, create two t...
module filament_roll(col="red",dia=200,height=75,col2="DimGray"){ color(col2) difference(){ union(){ cylinder(r=dia/2,h=5,$fn=200); translate([0,0,height-5]) cylinder(r=dia/2,h=5,$fn=200); cylinder(r=75/2,h=height,$fn=80); } translate([0,0,-1]) cylinder(r=...
glb/cad_ecb9fecfe941.glb
Create a rubber foot adapter by constructing a tiered cylindrical body with a central hole. Start with a base cylinder 7.5mm in diameter and 2mm in height. On top of this base, center a second cylinder with a diameter of 5.5mm and a height of 8mm. Above this second cylinder, add a third section that is 3mm tall, transi...
$fn=100; difference(){ union(){ cylinder(d=7.5,h=2); cylinder(d=5.5,h=8); translate([0,0,8]) cylinder(d1=5.5,d2=4.5,h=3); } cylinder(d=2,h=11); }
glb/cad_3bcd7cd00836.glb
Create a hollow oval tube for a Shape-o puzzle piece. The outer boundary should be an oval with a major axis of 49mm and a minor axis of 34mm. The walls of the tube must be 2mm thick, creating an inner oval void with a major axis of 45mm and a minor axis of 30mm. The total height of the piece is 28.25mm. Ensure the sha...
use <MCAD/shapes.scad> ovalTube (28.25, 49.4/2, 34.5/2, 2, $fn=128, center=true); ovalTube (2, 49/2, 34/2, 34/2, center=true);
glb/cad_eb501631de9f.glb
Create a hollow hexagonal prism for a Shape-o puzzle piece. The outer boundary should be a regular hexagon with a diameter of 36.5mm and a total height of 2mm. To create the interior cavity, remove a concentric hexagonal prism from the center with a diameter of 32.5mm and a height of 30mm, leaving a wall thickness of 2...
use <MCAD/shapes.scad> difference () { hexagon (36.5, 28.25); hexagon (32.5, 30); } hexagon (36.5, 2);
glb/cad_9a0c539fc11b.glb
Create a Tupperware Shape-o piece by constructing a hollowed-out trapezoidal prism. First, create a solid trapezoidal prism with a height of 28.25mm, centered vertically. The trapezoid's base should have a width of 41.4mm and a height of 33.6mm, while the top face has a width of 25mm and the same height of 33.6mm. To c...
use <MCAD/shapes.scad> difference () { linear_extrude (28.25, center=true) polygon(points = [ [-20.7,-16.8], [20.7,-16.8], [12.5,16.8], [-12.5, 16.8]], convexity = N); scale ([0.88,1-2/16.8,1]) linear_extrude (30, center=true) polygon(points = [ [-20.7,-16.8], [20.7,-16.8], [12.5,16.8], [-12.5, 16.8]], convexity = N);...
glb/cad_a377bce47a20.glb
Create a hollow cube for a Shape-o puzzle piece. Start by constructing a solid outer cube with dimensions of 32.2mm x 32.2mm x 28.25mm. From the center of this volume, remove a smaller rectangular block measuring 28.2mm x 28.2mm x 30mm to create a hollow interior. Finally, remove a thin horizontal slice measuring 31mm ...
use <MCAD/shapes.scad> difference () { cube ([32.2,32.2, 28.25], center =true); cube ([28.2,28.2, 30], center =true); } cube ([31,31, 2], center =true);
glb/cad_348e8deca04a.glb
Create a hollow cylindrical container for a Shape-o puzzle piece. The outer wall should be a cylinder with a diameter of 39.5mm and a height of 20mm. The interior must be hollowed out to create a wall thickness of 2mm, leaving an internal cavity with a diameter of 35.5mm and a depth of 18mm. The bottom of the container...
use <MCAD/shapes.scad> ovalTube (28.25, 40/2, 40/2, 2, $fn=128, center=true); ovalTube (2, 39.5/2, 39.5/2, 39.5/2, center=true);
glb/cad_e96559d7f892.glb
Create a hollow equilateral triangular prism for a Shape-o puzzle piece. The outer boundary should be an equilateral triangle with a side length of 46.2mm and a total height of 28.25mm. Create a matching inner triangular void with a side length of 39.27mm and a height of 30mm, centered within the outer shape. This resu...
use <MCAD/shapes.scad> difference () { triangle (46.2, 28.25); triangle (39.27, 30); } triangle (43, 2); module triangle(side, height) { h = side * cos(30); g = side * tan(30) / 2; linear_extrude(height = height, center = true, convexity = 10, twist = 0) polygon(points=[[0,h-g],[-side/2,-g],[...
glb/cad_eaaf78b8349d.glb
Create a hollow pentagonal prism for a Shape-o puzzle piece. The outer boundary should be a regular pentagon with a diameter of 39.8mm and a total height of 28.25mm. To create the interior cavity, remove a smaller concentric regular pentagon from the center with a diameter of 35.8mm, leaving a wall thickness of 2mm. Th...
use <MCAD/shapes.scad> difference () { pentagon (39.8, 28.25); pentagon (35.8, 30); } pentagon (36.5, 2); module pentagon(size, height) { h = size; r = h/(1+cos(36)); s = r*(2*sin(36)); k = h - r; for (r = [-144, -72, 0, 72, 144]) rotate([0,0,r]) translate ([s/2-k, 0, 0]) cube([s, s, height], true);...
glb/cad_bed45bd6a1b0.glb
Create a Tupperware Shape-o cross piece by constructing a hollowed-out cross shape. Start by creating a solid cross that consists of two intersecting rectangular prisms, each centered on the same point and rotated 90 degrees relative to the other. Each prism should measure 43.2mm in width, 18mm in thickness, and 28.25m...
use <MCAD/shapes.scad> difference () { cross (43.2, 18, 28.25); cross (39.2, 14, 30); } cross (43, 16, 2); module cross(width, branchwidth, height) { cube ([width, branchwidth, height], center = true); rotate ([0,0,90]) cube ([width, branchwidth, height], center = true); }
glb/cad_0af3c0f994e5.glb
Create a Shape-o puzzle piece by constructing a hollowed-out quarter-circle section. Start with a solid cylinder that has a radius of 38mm and a height of 28.25mm, centered on the Z-axis. From this volume, remove a smaller concentric quarter-cylinder with a radius of 35.2mm and a height of 30mm to create walls that are...
use <MCAD/shapes.scad> difference () { quarter (38, 28.25); difference () { quarter (35.2, 30); translate ([-1,-18,0]) cube ([2, 36, 32], center = true); translate ([-18,-1,0]) cube ([36, 2, 32], center = true); } } module quarter(width, height) { difference () { linear_ext...
glb/cad_5ea17d057900.glb
Create a hollow five-pointed star-shaped container with a total height of 30mm. The outer boundary of the star should have an outer radius of 25.9mm and an inner radius of 10mm. To create the walls, remove a smaller concentric star from the center with an outer radius of 21mm and an inner radius of 8mm, leaving a consi...
use <MCAD/shapes.scad> difference () { star (5, 25.9, 10, 28.25); star (5, 21, 8, 30); } star (5, 25.9, 10, 2); module star(points, outer, inner, height) { function x(r, a) = r * cos(a); function y(r, a) = r * sin(a); increment = 360/points; linear_extrude (height = height, center = true, convexity ...
glb/cad_0a9c90e6f3b4.glb
Create a Parametric Filament Spooler consisting of a wide circular base and a hollow vertical cylinder. Start by creating a solid disk for the base with a radius of 55mm and a height of 3mm. Centered on this base, add a vertical cylinder with an outer radius of 15mm and a total height of 63mm. Bore a hole through the c...
spoolHoleD = 32; spoolHeight = 60; difference() { union() { cylinder(r = 55, h = 3); cylinder(r = (spoolHoleD-2)/2, h = spoolHeight+3); } cylinder(r = ((spoolHoleD-2)/2)-3, h = spoolHeight+3); } $fn = 100;
glb/cad_90449f099ace.glb
Create a Replicator Front Door Hinge consisting of two symmetrical flat plates connected by a central pivoting joint. Each plate should be 50mm long, 21mm wide, and 4.6mm thick. The central joint is formed by seven interlocking cylindrical segments. Each segment has an outer radius of 4.35mm. Create a continuous hori...
PinR=1.35; sameL="Y"; l=50; n=7; ht=4.6; w1=21; w2=30; w3=6; w4=20; HingeR=PinR+3; Kerf1=.25; KerfR=.25; sm=32; poly3=[[0,0],[0,w3],[ht/2,w3],[ht/2,0],[0,0]]; poly4=[[0,0],[0,w4],[ht-3,w4],[ht-3,0],[0,0]]; crenel1=[[0,0],[l/5-2,0],[l/5,ht+.2],[-2,ht+.2],[0,0]]; crenel2=[[Kerf1,0],[l/5-2-Kerf1,0],[l/5-Kerf1,ht-Kerf1],[...
glb/cad_1002628e9002.glb
Create a Dallas Makerspace Coin-op Bottle opener. Start with a main body that is 50mm long and 22mm wide, with a total thickness of 6mm. The body should be a rounded trapezoid with a base radius of 5mm and side angles of 13.5 degrees. Carve a bottle opener hole into the body. This hole should be 19.5mm long and 23mm w...
coinRadius = 9.5; coinThickness = 1.75; coinOverhang = 3; thickness=6; inset =1.75; centerthickness=2.5; slotWidth = 17; slotHeight = 5; slotInset=3.75; UseBadge=true; base = 22; length=50; baseR1=5; baseR2=5; angle = 13.5; holeBaseWidth=23; holeBaseLoc=25.5; holeLength=19.5; holeR1=2; holeR2=6; rotate([0,0,90])t...
glb/cad_32dd37b293a2.glb
Create a drill guide consisting of a central tube and a wide base. Start by creating a central vertical cylinder with an outer radius of 12mm and an inner hole with a radius of 4mm, extending to a height of 30mm. Around the bottom of this cylinder, construct a square base that is 36mm wide and 36mm deep with a height o...
drillbit = 8; tubelength = 30; tubethickness = 4; baseW = 3*(drillbit+tubethickness*2); baseD = 3*(drillbit+tubethickness*2); baseH = 10; catchH= tubelength; difference(){ union(){ rotate([0,0,45]) translate([- baseW / 2, - baseD / 2, 0]) cube([baseW,baseD,baseH], center=false); cylinder(r=drillbit/2+...
glb/cad_2b4908ec237e.glb
Create a floodlight LED spot clamp consisting of a conical reflector housing and a rectangular mounting arm. Start by constructing the reflector: create a 36-facet conical shell by combining a cylinder with a bottom radius of 5.7mm and top radius of 6.5mm and a height of 6mm, with a secondary base cylinder of radius 4....
module reflector(){ difference(){ union(){ cylinder(h = 6, r1 = 5.7, r2 = 6.5, $fn=36 ,center = false); translate([0,0,-2]) cylinder(h=2, r1=4.5, r2=5.7, $fn=36 ,center = false); translate([0,0,-6]) cylinder (h=6, d=9, $fn=36); } union(){ cylinder(h = 8, r1 = 3.5, r2 = 4.5, $fn=36 ,center = false);...
glb/cad_db2959ef3552.glb
Create a floodlight LED spot mount consisting of a reflector housing and an attached mounting arm. Start by constructing the reflector: create a truncated cone with a bottom radius of 5.7mm and a top radius of 6.5mm, both with a height of 6mm. Add a smaller cylinder base beneath it with a height of 2mm, a bottom radius...
module spotMount(){ difference(){ translate([10,-39,0])rotate([0,0,50]) cube([10,18,9]); translate([12,-39,2])rotate([0,0,50]) cube([7,22,5]); translate([-2,-25,-2]) cube([15,10,12]); translate([-14,-31,3]) cube([20,3,3]); } } module spotClamp(){ difference() { union(){ translate([7.5,15,15]) cylinder(h=3, d=...
glb/cad_a94b16b0277c.glb
Create a spool holder top by starting with a solid cube measuring 20mm x 20mm x 15mm. From the bottom of this cube, remove a smaller centered rectangular block measuring 13mm x 13mm x 16mm, leaving a wall thickness of 3.5mm on the sides. In the top section, carve out a central U-shaped channel. This channel is formed b...
difference(){ union(){ cube([20,20,15]); translate([1.75,1.75,-15]) cube([16.5,16.5,16]); } translate([5.5,-1,9]) cube([8.5,22,22]); translate([9.75,21,9]) rotate([90,0,0]) cylinder(h=22, d=8.5, $fn=36); translate([3.5,3.5,-16]) cube([13,13,16]); translate([-1,0,13]) rotate([45,0,0]) cube([22,3,3]); translat...
glb/cad_fd4d07abac08.glb
Create a Modified Rotating Nozzle Platform by starting with the base geometry of a rotating nozzle platform bottom. Add a motor mount consisting of two cylinders with a radius of 5mm and a height of 5mm, positioned at [17.8, 62, -8] and [-17.8, 62, -8], both rotated 10 degrees on the X-axis. Subtract two holes with a...
$fn=32; byj=1; original = "Rotating_Nozzle_Platform_Bottom.stl"; nut = 5.5 / 2 / cos(180 / 6) + 0.05; difference() { union() { import(original, convexity=10); if(byj==1) { translate([17.8,62,-8]) rotate([10,0,0]) cylinder(r=5, h=5); translate([-17.8,62,-8]) rotate([10,0,0]) cylinder(r=5, h=5)...
glb/cad_6811beba94bd.glb
Create a Modified Rotating Nozzle Platform rotor. Start with a main cylindrical body with a radius of 30mm and a height of 16mm. Add a spacer section to extend the total height by 12mm, creating a tapered transition from a 30mm radius at the bottom to a 26mm radius at the top of the spacer. At the center, create a ver...
make = 1; stretch = 12; original = "Rotating_Nozzle_Platform_Bottom.stl"; $fn=32; nut = 5.5 / 2 / cos(180 / 6) + 0.05; module rotor() { union() { difference() { union() { import(original, convexity=10); cylinder(r=30, h=16, $fn=64); } translate([0,0,18]) cylinder(r=18, h=36); cylinder(r=7, h=25)...
glb/cad_0391909dc009.glb
Create a Power Supply Support consisting of a base plate 10mm thick. The main body is a rectangular frame with an outer boundary of 73mm by 48mm. At the two opposite ends of the shorter sides, center two cylinders with a diameter of 16mm and a height of 10mm. Within this structure, create two vertical through-holes w...
difference(){ union(){ cylinder(d=16,h=10,$fn=50); translate([0,20,0]) cylinder(d=16,h=10,$fn=50); translate([20,-8,0]) cube(size=[73,48,10]); translate([-8,0,0]) cube(size=[16,20,10]); translate([0,-8,0]) cube(size=[20,36,10]); translate([90.5,-8,0]) cylinder(d=5,...
glb/cad_311eeec0bb6f.glb
Create a custom shelving X-module connector. The overall footprint is a cube with a side length of 50mm. The structure consists of four identical wall sections that intersect at the center to form a cross shape, with each wall having a thickness of 3mm. Each of the four arms of the cross is a block 50mm wide and 50mm ...
module_type = "X-module"; module_width = 50; board_thickness = 10; wall_thickness = 3; shape_detalization=4; corner_radius = 15; shape_type = "no shape"; shape_parameter = 0; HH = module_width; RR = corner_radius; DD = board_thickness; r=wall_thickness/2; PP = shape_parameter; $fn = 4*shape_detalization; modu...
glb/cad_57230716b337.glb
Create a 3D printer glass build plate holder. Start with a rectangular base measuring 157mm wide by 59mm deep and 15mm high. At the bottom corners of the 157mm width, add two half-cylinders with a radius of 6.25mm and a height of 16mm to round out the edges. Cut a rectangular slot through the center of the base to ho...
plate_width = 153; plate_length = 236; plate_thickness = 5; hole_diameter = 7.2; support_height = plate_thickness+hole_diameter+5; support_diameter = plate_thickness*2.5; union() { difference() { union() { cube([plate_width+4,plate_length/4,support_height]); translate([3,3,0]) cylinder(r=...
glb/cad_95f7afeea37a.glb
Create an adapter clip for a drawer front. Start with a base rectangular block 42mm long, 10.5mm wide, and 4mm high. At the center of the top face, integrate a cylindrical section with a diameter of 12mm and a height of 9.5mm. This central section should blend into a wider rectangular peg area measuring 20mm long and 9...
medfn = 40; basewidth = 10.5; baselength = 42; basedia = 6; baseheight = 4; peglength = 20; pegwidth = 9.5; pegoffset = 25; openingwidth = 4; openingheight = 11; endtagthickness = 3; module clip () { difference () { union () { hull() { translate ([-(peglength/2),-(basewidth/2),0]) cube ([peglength,pegwi...
glb/cad_f96ec4d601bd.glb
Create a glass build plate holder corner support. Start with a rectangular base block measuring 59mm in length, 38.25mm in width, and 18mm in height. Remove a rectangular section from the top of the block to create a slot for the glass plate; this slot should be 5mm deep, spanning the full length and width of the blo...
plate_width = 153; plate_length = 236; plate_thickness = 5; side = "left"; hole_diameter = 7; support_height = plate_thickness+(hole_diameter*2)+5; support_diameter = plate_thickness*2; cornerbase(); module cornerbase() { difference() { union() { cube([plate_length/4,plate_width/4,support_height]); ...
glb/cad_249edb7ecf67.glb
Create a Mad Cat Mech weapon assembly consisting of two identical, mirrored weapon units. For each unit, construct a central barrel by combining a 6x33x5mm rectangular block with two additional 4.2x33x4.2mm blocks rotated 45 degrees and centered along the same axis. Within this barrel structure, carve out a smaller i...
module barrel(){ union(){ translate([0,8.5,6.5])cube([6,33,5],center=true); translate([0,8.5,9]) scale([1,1,0.5]) rotate([0,45,0]) cube([4.2,33,4.2],center=true); translate([0,8.5,4]) scale([1,1,0.5]) rotate([0,45,0]) cube([4.2,33,4.2],center=true); } } module ppg(){ union(){ difference(){ barrel(); trans...
glb/cad_a043f999a111.glb
Create two identical robot arm components for a Mad Cat Mech. Each component is constructed by joining three rectangular prisms. First, create a base rectangular block measuring 3mm by 6mm by 7mm. Attached to the top of this base, position a second rectangular block of 3mm by 6mm by 10mm, rotated 40 degrees backward al...
include <madcat_arm.scad> module arm_thing(){ rotate([90,0,0]) union(){ translate([0,0,3]) cube([3,6,7]); translate([0.6,0,8.0]) rotate([0,-40,0]) cube([3,6,10]); translate([-5.9,0,15.5]) cube([3,6,3]); } } arm_thing(); translate([10,0,0]) arm_thing();
glb/cad_54032b53ab1c.glb
Create a filament guide consisting of a rectangular base with a total length of 84mm, a width of 19mm, and a thickness of 7mm. Carve a central rectangular channel through the middle of the body, starting 7mm from the front edge and extending 30mm back, with a width of 6mm and a depth of 7mm. Within this structure, cr...
jaw_depth = 70; jaw_thickness = 7; jaw_spacing = 6; bearing_height = 13; bearing_width = 7; bbolt = 4; mbolt = 5; solid = 40; module my_thing() { body_length = jaw_depth + (jaw_thickness * 2); body_width = jaw_spacing + (jaw_thickness * 2); difference () { difference() { ...
glb/cad_ed016b391459.glb
Create a parametric hook designed to slide onto a plank with a thickness of 18.5mm. The main body is based on a circular profile with a radius of 21mm and a thickness of 6mm. Construct the primary holder by creating a circular ring with an outer radius of 21mm and an inner radius of 15mm. Cut a rectangular slot throu...
d=15; h=18.5; t=6; r=d+t; w=3*t; inf = 3*(r+h+w); module inficube(pos) { translate(pos) cube(2*[inf,inf,inf], center=true); } module infisquare(pos) { translate(pos) square(2*[inf,inf], center=true); } module rounder_cut(r) { difference() { square(2*[r,r]); circle(r); } } module holder_profi...
glb/cad_27018084059a.glb
Create a spotlight size adapter consisting of two concentric cylindrical parts. First, create a flat, ring-shaped base with an outer radius of 75mm, an inner radius of 50mm, and a height of 3mm. Centered within this base, add a second, taller hollow cylinder that extends upwards. This inner cylinder must have an outer ...
RES=100; module ring(outer_radius, inner_radius, ring_height) { difference(){ cylinder(r = outer_radius, h=ring_height, $fn=RES); cylinder(r = inner_radius, h=ring_height, $fn=RES); } } module circle_coaster(outside_radius, inside_radius, ring_height, cylinder_radius, cylinder_thickness, cylinder_height) { rin...
glb/cad_bf5765ba8ce8.glb
Create a Simple Desk Organizer by starting with a solid rounded rectangular base. The overall outer dimensions of the base are 135mm in width, 99mm in depth, and 8mm in height, with all exterior corners rounded to a 2mm radius. Carve three rectangular compartments into the top of this base, each with a wall thickness ...
use <MCAD/boxes.scad> area_bl = [47, 30, 5]; area_br = [75, 30, 5]; area_top = [125, 90, 5]; wallWidth = 3; sizeX = max(area_bl[0] + area_br[0] + wallWidth, area_top[0]) + 2 * wallWidth; sizeY = max(area_bl[1], area_br[1]) + area_top[1] + 3 * wallWidth; sizeZ = max(area_bl[2], area_br[2], area_top[2]) + wallWidth; ...
glb/cad_a37a88c87d2c.glb
Create a hollow cone with a height of 30mm and a base diameter of 30mm. The cone should be constructed by removing a smaller internal cone from a larger outer cone to create a uniform wall thickness of 2mm. The internal void must have a base diameter of 28mm and a height of 28mm, positioned such that the base of the vo...
conus_height = 30; conus_diameter = 30; conus_thickness = 2; conus_fn = 50; conus2_height = conus_height-conus_thickness; conus2_diameter = conus_diameter-conus_thickness; difference(){ cylinder(h=conus_height, d1=conus_diameter, d2=0, $fn=conus_fn); cylinder(h=conus2_height, d1=conus2_diameter, d2=0, $fn=conu...
glb/cad_c5f120d1ccb2.glb
Create a horizontal spool adapter consisting of a thin circular base with a central conical cutout. Start by creating a solid cylinder with a diameter of 110mm and a height of 2.5mm. On top of this base, add a truncated cone (frustum) that starts at a height of 2.5mm, tapering from a bottom diameter of 76.4mm to a top ...
$fn=360; t=2.5; difference(){ union(){ cylinder(t,d=110); translate([0,0,t])cylinder(t,d1=76.4,d2=75); } translate([0,0,-2])cylinder(10,d=38); translate([0,0,t])cylinder(10,d=70); }
glb/cad_da0c3ee831c2.glb
Create a horizontal spool adapter consisting of a hollowed conical base and a thin circular rim. Start by creating a solid cylinder with a diameter of 37.5mm and a height of 5mm. On top of this cylinder, add a truncated cone (frustum) that is 20mm tall, tapering from a bottom diameter of 45mm to a top diameter of 38mm....
$fn=360; t=2.5; rotate([180,0,0]){ difference(){ union(){ cylinder(t*2,d=37.5); translate([0,0,t])cylinder(20,d1=45,d2=38); } translate([0,0,-2])cylinder(30,d=36); } }
glb/cad_fb0e76ce83ad.glb
Create a Horizontal Spool Adaptor consisting of a central hub with three radiating arms. The main body is a truncated cone with a bottom diameter of 50mm and a top diameter of 42.5mm, and a height of 20mm, centered on the origin. Subtract a horizontal cylindrical hole with a diameter of 8mm that passes through the cen...
$fn=360; Sdw=8; co=2; k=0; br=7.5+k/2; bh=60; module support(){ difference(){ hull(){ translate([18,0,-1])cube([1,20,22],true); translate([38,0,4])cube([1,12,12],true); } translate([25,0,4])rotate([0,90,0])cylinder(35,d=Sdw); } } module achse(){ translate([-50,0,0]) rotate([0,90,0])cylinder(100,d=8); } rotate([...
glb/cad_4f15959bb230.glb
Create a Spool holder RepRap Tricolor Mendel support bracket with a total height of 15mm. Start by centering a hollow cylinder with an outer radius of 20mm and an inner radius of 18mm. From this central ring, extend three arms spaced equally around the circumference. Two of these arms are identical: each consists of ...
module dr_arm_hook() { difference() { union() { cube (size = [15,30,17.5], center = true); } union() { translate([0,0,-20]) cylinder(h=40, r=4, $fn=40); translate([-4,0,-8.75]) cube (size=[8,15,17.5]); translate([-20,10,0]) rotate([0,90,0]) cylinder(h=40, r=2, $fn=40); } } } module dr...
glb/cad_71e9e76d240d.glb
Create a Tai Chi disc with an outer diameter of 36mm and a total thickness of 5mm. The object is a flat ring with a wall thickness of 4mm. To form the internal pattern, create a large outer ring by removing a concentric inner cylinder with a radius 4mm smaller than the outer radius. Divide this ring into two symmetrica...
outer_diameter = 36; line_thickness = 4; item_thickness = 5; module dr_build_outer(diameter,thickness,width) { difference() { union() { cylinder(r=diameter/2 ,h=width, $fn=80); } union() { cylinder(r=(diameter/2)-thickness ,h=width, $fn=80); } } } module dr_build_inner(diameter,thickness...
glb/cad_301ba5038abb.glb
Create a Mendel Vertex, a structural joint for rods. The main body is a block with a width and height of 20mm and a thickness of 20mm. The joint features two primary vertical holes with a diameter of 8mm, spaced 58mm apart. These holes are positioned such that they are 12mm from the nearest horizontal hole. Additiona...
a = 60; d = 8; d2 = 3; s = 58; s2 = d*1.5; s3 = 20; t = 5; h = d+2*t; w = h; foot_d_shaft = 4; foot_d_hex = 7; foot_l_hex = 6; foot_l = foot_l_hex+t; foot_D_hex = foot_d_hex * 2 / sqrt(3); $fn = 80; inf = 1000; eps = 0.0001; module end(round = false, foot=false, teardrop=true) { difference() { union() { transla...
glb/cad_cfdae4cf4df2.glb
Create a parametric pole cable clip with a height of 5mm. Start by creating a solid cylinder with a radius of 15.25mm and a height of 5mm. From this base, remove a concentric cylindrical core with a radius of 12.25mm and a height that extends beyond the top and bottom of the base. To form the clip mechanism, add a re...
pole_dia = 24.5; pole_r = pole_dia/2; pole_thick = 3; pole_h = 5; clip_depth = 10; clip_thick = 2; $fn = 96; clip_depth2 = clip_depth + pole_r; difference (){ union(){ translate([pole_r, 0, 0]){ cube([clip_thick, clip_depth2, pole_h]); translate([0+1, clip_depth2, 0]){ rotate(a=180, v=[0,...
glb/cad_125196059b65.glb
Create a Dual HDD Mounting Bracket designed to hold two 3.5-inch hard drives. Start with a main rectangular base measuring 75mm in height, 20mm in width, and 20mm in depth. From this base, remove two identical symmetrical cut-outs to create slots for the drives. Each cut-out consists of a central cube measuring 26mm ...
Disk_Size = 26; Disk_Spacer = 6.0; Spacer_D = 12.0; Brack_H = 75; Brack_W = 20; Brack_D = 20.0; Brack_Wall = 3; Base_Thick = 11.5; Base_Chamf = 35.0; Mount_Offset = 10.0; module HDD_CutOut(){ union(){ cube([Disk_Size,Brack_W+5,Brack_D], center=true); translate([6,2,0]) cylinder(Brack_D*2, r1=1.9, r2=1.9,$fn=5,...
glb/cad_ced2a6fd4089.glb
Create a customized HD font keychain by constructing a single solid cube with equal dimensions of 10mm for its length, width, and height. Ensure the cube is perfectly symmetrical and aligned with the origin of the coordinate system.
part="p1"; echo(123); if(part=="p1") cube(); if(part=="p2") sphere();
glb/cad_47ca47ca772c.glb
Create a Brushed Sparky antenna protector consisting of two distinct components. First, create an RFM22b antenna protector by starting with a base block 5mm wide, 26.27mm long, and 11mm high. Carve a curved cap into the top and integrate a vertical cylinder with a radius of 2.5mm and height of 8mm, topped with a sphere...
WIDTH=30.53-4.26+0.5; HEIGHT=1.7; module body() { translate([-25,0]) cube([50,WIDTH,HEIGHT]); } module curve_cap(H) { L = 5; difference() { union() { translate([0,-1,-1]) cube([L,WIDTH+2,H+1]); translate([0,WIDTH/2,H]) rotate([0,90,0]) scale([0.4,1]) cylinder(h=L,r=(WIDTH+2...
glb/cad_13ead45a57f5.glb
Create a customized keychain by starting with a rectangular base measuring 50mm in length, 20mm in width, and 4mm in height, centered on the origin. Engrave the text "Will" into the top surface of the base; the letters should be 12mm high, 6mm thick, and bolded, centered both horizontally and vertically on the face. Fi...
include <write/Write.scad> include <write.scad> name_text = "Will"; difference(){ cube([50, 20, 4], center = true); write(name_text, t = 6, h = 12, center = true, bold = 1, convexity = 10); translate([20, 0, -3]){ cylinder(r = 3, h = 6); } }
glb/cad_bf95e218b39f.glb
Create a gasket for a sink strainer basket by revolving a specific 2D profile around a central axis. The resulting 3D shape is a ring with an overall height of 6mm. The inner radius of the ring is a constant 17.25mm. The outer profile is not a simple cylinder, but a trapezoidal curve: starting from the base, the outer ...
outsideDiameter=516; insideDiameter=345; height=60; out=outsideDiameter/20; in=insideDiameter/20; h=height/10; h1=h*1/3; h2=h-h1; echo(h,h1,h2); echo(in,out); rotate_extrude($fn=128) { polygon([[in,0],[out-h1,0],[out,h1],[out-h2,h],[in,h]]); }
glb/cad_870ae2af9159.glb
Create a Parametric NeedleCap designed as a hollow cylindrical sleeve. Start by creating a main outer cylinder with a height of 30.5mm and a radius of 3.35mm. At the base of this cylinder, add a wider, shorter cylindrical flange with a height of 2.5mm and a radius of 4.975mm. To create the internal cavity for the needl...
$fn=64; needle_maxr = 6.4; needle_minr = 5.6; needle_h = 29+1.5; case_r = .5; case_maxr = needle_maxr*1.55; case_minr = needle_maxr+.7*2; difference(){ union(){ cylinder(r=case_minr/2,h=needle_h-case_r); cylinder(r=case_minr/2-case_r,h=needle_h); cylinder(r=case_maxr/2,h=2.5); } ...
glb/cad_a71ba2a0a753.glb
Create a spool bushing consisting of a circular base and a hollow cylindrical wall. Start by creating a thin circular disc base with a height of 1.5mm and an outer diameter of 40mm. Cut a concentric hole through this base with a diameter of 18.2mm. On top of this base, add a hollow cylinder with a height of 16mm, an o...
SpoolSize = 31.85; TabThickness = 1.4; BackplateRim = 8.25; BackplateThickness = 2.1; TabGap = 3; TabDepth = 16; SpoolRodSize = 18.1; Tolerance = 0.1; TabSize = TabThickness *2; union(){ difference(){ cylinder(h = 1.5,d = SpoolSize + BackplateRim - Tolerance, $fa = 0.1); cylinder(h = 1.5...
glb/cad_5721e3353ece.glb
Create a hook-shaped clip by constructing a curved, C-shaped arm with a circular terminal. Start by creating a solid rectangular block measuring 31mm wide, 57mm long, and 3.7mm thick. From this block, remove a cylindrical section with a radius of 3.3mm and a height of 30.9mm, centered at coordinates -29, 25, 0. Additio...
translate([0, -20, 0]) import_stl("ClipHalf.stl"); translate([0, 25, 0]) rotate([0, 0, -90]) import_stl("ClipSpring.stl"); union() { import_stl("ClipHalf.stl"); difference() { translate([-29, 25, 0]) cylinder(3.3, 30.9, 30.9); translate([-29, 28.7, -0.2]) cylinder(3.7, 23, 23); translate([-29, -6, -...
glb/cad_204be04ad592.glb
Create a simple hinge consisting of two mirrored plates. Each plate begins as a rectangular block 15mm wide, 30mm high, and 6mm thick. Along the inner vertical edge of each plate, add a semi-cylindrical protrusion with a radius of 3mm and a height of 30mm to form the hinge joint. For the female plate, remove a rectang...
module hindgePlate(h=40,w=20) { difference() { basePlate(h,w); translate([0,-1,2.5]) rotate([-90,0,0]) cylinder(r=1.5,h=h+2,center = false, $fn=20); } } module basePlate(h=40,w=20) { union() { translate([0,0,-0.5]) cube([w,h,6]); translate([0,0,2.5]) rotate([-90,0,0]) cylinder(r=3,h=h,center = false, $fn=2...
glb/cad_199789167de6.glb
Create a 3D model of a partially folded icosahedron net. The model consists of 20 equilateral triangular faces, each with a side length of 10mm and a thickness of 3mm. The faces are connected at their edges to form a net that is partially folded toward a complete icosahedron. The dihedral angle between the connected ...
thickness=3; length=10; steps=20; scale=2; colors=["green","blue","red","gold","Hotpink","silver","teal","purple",]; function m_translate(v) = [ [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [v.x, v.y, v.z, 1 ] ]; function m_scale(v) ...
glb/cad_c34004d28fd2.glb
Create a mount for an Azteeg X5 Mini board. Start by creating a central rectangular block that is 40mm wide, 20mm long, and 5mm high. Subtract two cylindrical holes with a diameter of 4mm and a length of 20mm from this block; position one hole centered at x = -10 and the other at x = 10, both running along the x-axis. ...
use <myLibs.scad> w= 50.8; l= 96.0; board_thickness= 1.65; standoff_ht= 3; standoff_id= 3-0.5; standoff_od= standoff_id+(2.1*2); hole_dia= 3; holesepl= 88.88; holesepw= 42.96; holes= [ [-holesepw/2, -holesepl/2], [holesepw/2, holesepl/2], [-holesepw/2, holesepl/2], [holesepw/2, -holesepl/2] ]; rounded= 10; base_th...
glb/cad_e95d90962b32.glb
Create a set of stuffed animal eyes consisting of a main eye piece and a matching nut. For the eye piece, start with a cylindrical base 15mm in diameter and 4mm high. On top of this base, center a dome created by a sphere with a 15mm diameter that is flattened along the Z-axis to 66% of its original height. Integrate a...
eyedia=15; facets=50; r=eyedia*0.266; translate([eyedia*.6,0,0]){ shaft(); dome(); support(); } translate([-eyedia*.6,0,0]){ nut(); } module shaft(){ translate([0,0,0]) cylinder(r*.5,d1=r-1,d2=r,$fn=facets); translate([0,0,r*.5]) cylinder(r*.625,d=r,$fn=facets); translate([0,0,r*1.125]) cylinder(r*.375,d1=r,d2=r+1...
glb/cad_8fbc4ffd027c.glb
Create a small herringbone gear for a Robo3D R1 extruder. The gear should be a double helix design with 9 teeth, a circular pitch of 268mm, a pressure angle of 30 degrees, and a total height of 25mm. The gear consists of two mirrored helical sections meeting in the center. Each helical half should have a gear thicknes...
use <mendel_misc.inc> use <parametric_involute_gear_v5.1.scad> WadesS_double_helix(); module WadeL_double_helix(){ innerCircles=5; circles=0; teeth=47; pitch=270; twist=200; height=11; pressure_angle=30; involute_facets=12; circle_facets=7; difference(){ union(){ gear (number_of_teeth=teeth, cir...
glb/cad_c77d2c13b509.glb
Create a small herringbone gear for an extruder. The gear is a double-helix design with 9 teeth, a circular pitch of 268mm, a pressure angle of 30 degrees, and a total height of 25mm. The gear consists of two mirrored helical sections meeting in the center. The gear features a hub with a diameter of 18mm and a thickne...
use <mendel_misc.inc> use <parametric_involute_gear_v5.1.scad> WadesS_double_helix(); module WadeL_double_helix(){ innerCircles=5; circles=0; teeth=47; pitch=270; twist=200; height=11; pressure_angle=30; involute_facets=12; circle_facets=7; difference(){ union(){ gear (number_of_teeth=teeth, cir...
glb/cad_cb5dceaca942.glb
Create a Nut Rosette for bed leveling by constructing a star-shaped grip with a central hexagonal void. Start by creating a star-shaped base consisting of two identical cubes, each 12mm x 12mm x 4mm, centered on the same axis; one cube must be rotated 45 degrees relative to the other. From the center of this combined s...
module nutm3(){cylinder(h=3.0,r1=2.8,r2=2.8,$fn=6);} module nutm3void(){ union(){cylinder(h=8,r1=1.5,r2=1.5); translate([0,0,5]) nutm3();}} module starshape(){ cube(size=[12,12,4], center=true); rotate(a=[0,0,45]) cube(size=[12,12,4], center=true);} difference(){ starshape(); translate([0,0,-5.5]) nutm3void();}
glb/cad_4394bc834b52.glb