Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a score tracker board for the game Neuroshima Hex. Start with a rectangular base plate measuring 171mm by 71mm with a thickness of 1mm. On top of this base, add a raised border and internal dividers with a height of 1.6mm. The layout consists of a grid of circular recesses, each 20mm in diameter, spaced 3mm ap...
$fn=50; module board(max_rows, cols) { height_border=1.2; height_base=2.0; height_indicator=0.6; indicator_size=8; support_width=8; support_middle_diam=support_width * 1.5; base_hex_width = 33.0; base_hex_diameter = base_hex_width * 2 / sqrt(3); base_hex_side = base_hex_diameter/...
glb/cad_36efb03ebdb6.glb
Create a flat screw head adapter by constructing a main outer cylinder with a diameter of 8mm and a height of 3.3mm. From the center of this cylinder, remove a conical void to create a countersink for a flat-head screw. This void should start at the top surface with a diameter of 6.9mm and taper down to a diameter of 3...
screw_head_diameter = 6.9; screw_head_height = 3.3; screw_thread_diameter = 3; adapter_diameter = 8; z_fighter1 = 0.005; z_fighter2 = -.001; module screwhead_adapter(screw_head_diameter, screw_head_height, screw_thread_diameter, adapter_diameter, z_fighter1, z_fighter2) { difference(){ cylinder(screw_head...
glb/cad_0b29224a2674.glb
Create a closet door guide consisting of three identical vertical guide posts connected by a thin horizontal base. Each guide post is formed by combining a cylinder with a radius of 4.75mm and a height of 12mm with a rounded rectangular profile. The base of each post is a flat circular disc with a radius of 7.1mm and a...
hole_r = 11.2/2; hole_dist = 57.3 - hole_r*2; module hole() { cylinder(2, hole_r, hole_r, $fn=100, true); } module holes(){ hole(); translate([hole_dist, 0,0]) hole(); translate([-hole_dist, 0,0]) hole(); } module plate(){ difference(){ cube([113, 25, 1], true); ...
glb/cad_c96b3a5763af.glb
Create a base cap for a desk lamp mount consisting of two concentric cylinders. First, create a wide, flat circular base with a diameter of 39mm and a height of 2mm. Centered on top of this base, add a second, smaller cylinder with a diameter of 12mm and a height of 5mm.
cylinder(2, 39/2, 39/2); cylinder(5, 12/2, 12/2);
glb/cad_35063bc4c1f7.glb
Create a stand for a hand blender by starting with a circular base 100mm in diameter and 5mm thick. From this base, extend a hollow cylindrical holder upwards, tilted at a 15-degree angle. This holder should have an outer diameter of 60mm and a height of 80mm, with a wall thickness created by removing a concentric inne...
module holder(){ rotate([0,-15,0]){ translate([0,0,85]){ difference(){ translate([0,0,-55]){ cylinder(80, 60/2, 60/2, true); } union(){ cylinder(170, 53/2, 53/2, true); translate([50,0,-20]){ cube([100,20...
glb/cad_74a5c76de6b6.glb
Create a Duplo Lillabo Car Adapter consisting of a rectangular base plate with two protruding pegs on the bottom. First, create a rectangular base plate measuring 45.2mm in length, 40mm in width, and 1.8mm in height. Ensure the corners of the plate are rounded. On the top surface of the plate, add six cylindrical s...
mink_diameter2 = 1; xoffset=0.3; yoffset=0.8; translate([1+xoffset/2,0.8-5+yoffset/2,0.1]) minkowski(){ cube([45.2-xoffset,40-yoffset,1]); sphere(mink_diameter2/2,$fn=100); } mink_diameter = 0.5; peg_diameter_root = 4.0-mink_diameter; peg_diameter_top = 4.8-mink_diameter; module peg(){ minkowski(){ ...
glb/cad_93ad5f28d2d5.glb
Create a fishing rod for the Let's Go Fishin' game. Start with a main central shaft that is 180mm long with a radius of 1.15mm. Along the length of this shaft, add a series of small cylindrical handle textures: place seven cylinders with a radius of 1.5mm and a height of 1mm, spaced every 3.5mm starting from the base. ...
module main_pole(){ difference(){ union(){ union(){ rotate([-90,0,0]){ cylinder(180, 2.3/2, 2.3/2, $fn=100); } for(i = [1:7]) { translate([0,3.5*i,0]){ rotate([-90,0,0]){ ...
glb/cad_9e714b442daa.glb
Create a fishing rod hook and string assembly. Start by constructing a long, thin vertical string consisting of two coaxial cylinders: a primary thick section 135mm long with a 1mm diameter, and a secondary thin section 135mm long with a 0.5mm diameter. Along the length of the thick section, create a series of small ci...
module string(){ union(){ difference(){ rotate([-90,0,0]){ cylinder(135, 1,1, $fn=100); } union(){ for(i = [1:90]) { translate([0,2*i+7,0]){ rotate([-90,0,0]){ cylind...
glb/cad_bbafd5a51cb1.glb
Create a hands-free door toe hook designed for a door 31.4mm thick. Start by creating a central rectangular plate that is 31.4mm wide, 5mm high, and 30mm deep. From the two long edges of this plate, extend two identical symmetrical arms upwards. Each arm consists of a base section and a hook section. The base section...
door_thicc = 35.1; under_door = 5; base_height = 85; screw_radius = 2.91; screw_head_radius = 6.00; hook_width = 30; module hook(){ linear_extrude(height=hook_width) polygon( points=[ [0,0],[0,5],[60,5],[65,0], [65,-14],[64,-15], [61,-15],[60,-14], [60,-3], [57,0], [1...
glb/cad_6338f3ef8e90.glb
Create a Customizable Radius Gauge designed to hold a digital caliper. Start by creating a central rectangular sleeve with a width of 24mm (18mm caliper width plus 3mm margins on top and bottom) and a depth of 35mm. This sleeve should have a total height of 9mm. Inside this sleeve, carve out a central pocket to accomm...
caliper_width = 18; caliper_height = 6; caliper_depth = 50; dgauge_wide = 5.8; dgauge_narrow = 2.2; dgauge_height = 7; dgauge_wide_depth = 5; dgauge_narrow_depth = 10; dgauge_bot_margin = 0; narrow_gauge_offset = 0.25; gauge_height_margin = 3; sleeve_depth = 35; arm_length = 55; arm_width = 5; inscription...
glb/cad_3e98e8210358.glb
Create a Slope of Power Strip holder by constructing a tapered wedge-like shell. Start with a base rectangular volume 200mm long, 45mm wide, and 30mm high. The overall shape should be a hollowed-out sleeve with a tapered profile where the top width is 45mm and the bottom width is 115mm (calculated as width plus slope)....
Length = 200; Width = 45; Height = 30; Slope = 70; Margin = 2; Hole = 14; TranslateX_Hole = 0; model(); $fn = 50; slopeHeight = Height + Slope; slopeLength = Length + Slope /2 + Margin; slopeWidth = Width + Slope + Margin; topScale = Width / (Width +Slope) ; module model() { difference(){ difference...
glb/cad_bd1472588e12.glb
Create a gasket ring by constructing a hollow cylinder with a height of 1mm. The outer boundary should be a smooth circle with a diameter of 7mm, and the inner boundary should be a concentric circular hole with a diameter of 5mm. Ensure the walls are vertical and the top and bottom faces are flat, resulting in a thin, ...
d1=7; d2=5; height=1; $fn=100; module gasket(di,da,h,n=64){ difference(){ cylinder(r=da/2,h=h); translate([0,0,-1]) cylinder(r=di/2,h=h+2); } } di=min(d1,d2); da=max(d1,d2); gasket(di=di,da=da,h=height);
glb/cad_599e7d1a20b4.glb
Create a car phone holder consisting of a cylindrical outer shell with a rectangular slot. Start with a hollow cylinder that has an outer diameter of 64mm and a height of 38mm. The wall thickness of this cylinder should be approximately 2mm, created by removing a concentric inner cylinder with a diameter of 60mm. Cut...
cylinder(h=2,d=58); for (i=[0:1:60]) { translate([0,0,i/10]) difference() { cylinder(h=1+i/10,d=58+i/10); cylinder(h=1.1+i/10,d=56+i/10); translate([-9,-28,-5]) cube([20,75,80]); } } translate([0,0,8]) difference() { ...
glb/cad_5421fe97eab8.glb
Create a lightbar for a Prusa MK3 printer. The main body is a horizontal bar 230mm wide. At each end of the bar, create a grabber assembly designed to fit a printer bar that is 6.2mm wide and 40.3mm high. Each grabber is 16mm wide and 8mm deep, featuring a toe that extends 2mm beyond the bar width and a height of 2.5mm...
eps=0.00001; printer_bar_width=6.2; printer_bar_height=40.3; grabber_height=2.5; toe_depth=2.; toe_height=2.5; module grabber(width, depth) { cube([width,printer_bar_width+toe_depth,grabber_height]); translate([0,printer_bar_width]) cube([width, toe_depth, grabber_height+toe_height]); translate([...
glb/cad_630696902170.glb
Create a Tile Holder consisting of a rectangular frame with interlocking connectors. The main body is a hollow rectangular ring with outer dimensions of 154mm by 134mm and a height of 4mm. The interior cutout is 150mm by 130mm, resulting in a wall thickness of 2mm. Add two support bars inside the frame. Each bar is a ...
crossbars = false; t_width = 150; t_length = 130; t_height = 2; connect_width = 15; connect_height = 2; connect_length = 4; connect_angle = 47; tile_fit = 1.01; tile_width = t_width * tile_fit; tile_length = t_length * tile_fit; tile_height = t_height * tile_fit; holder_height = tile_height * 2; holder_thickness =...
glb/cad_70a093b27635.glb
Create a GM Head Restraint Button by constructing a long, thin square prism. The prism should have a square cross-section with a width and depth of 2.475mm and a total length of 92mm. Orient the part so that its longest dimension runs along the Z-axis.
rod_od = 3.5; rod_width = rod_od / sqrt(2); rod_height = 92; module rod(width, height) { translate([-width/2, -width/2, 0]) cube([width, width, height]); } translate([0, rod_height/2, 0]) { rotate(a=90, v=[1, 0, 0]) { rod(rod_width, rod_height); } }
glb/cad_fa2f8cf08c88.glb
Create an air flow stand for a Mac Mini 2012 by constructing a hollowed cylindrical ring. Start with a solid cylinder that has an outer radius of 91mm (calculated as the 85mm base radius plus a 6mm wall width) and a height of 10mm. Remove a concentric inner cylinder with a radius of 85mm and a height of 10.02mm to crea...
module __Customizer_Limit__ () {} production = 1; jpeghq = 0; $resolution = (production && !$preview) ? 150 : (jpeghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { echo("Producing DRAFT quality"); echo("Resolution",$resolution)...
glb/cad_b4f5a8aac80f.glb
Create a battery case consisting of a bottom holder and a lid. The case is designed for a 2x2 grid of batteries, each with a diameter of 10.7mm and a height of 50.5mm. For the bottom holder, create a rounded rectangular base with a wall thickness of 0.8mm and a bottom floor thickness of 0.8mm. The interior should feat...
use <write/Write.scad> _part = "bottom"; _batteryDiameter = 10.7; _batteryHeight = 50.5; _columns = 2; _rows = 2; _walls = 0.8; _base = 0.8; _lipHeight = 3; _fitGap = 0.05; _labelText = ""; _labelFont = "write/orbitron.dxf"; _labelDepth = -0.3; _labelHeight = 8; module cylinderAt(r, h, x, y, z) { transla...
glb/cad_82cb30267f64.glb
Create a filament spindle washer by constructing a flat, ring-shaped disc. The washer should have an outer diameter of 6.6 mm and an inner diameter of 4.15 mm. Extrude this ring to a total thickness of 3 mm. Ensure the circular profiles are smooth with high facet resolution to maintain a precise cylindrical shape.
ID = (7.5+0.8)/2; OD = (13.5-0.3)/2; THICKNESS = 3; linear_extrude(THICKNESS) difference(){ circle(OD, $fn=180); circle(ID, $fn=180); }
glb/cad_528dede5764f.glb
Create a charging stand for an iPhone and Apple Watch. Start by constructing a main vertical body as a rounded cube with a width of 30mm, a depth of 80mm (calculated as 40mm plus 20mm extensions on both the front and back), and a total height of 70mm (50mm plus a 20mm base). Apply a corner roundness of 10mm to the x-ax...
include <roundedcube.scad>; $fn=24*3; frame_size = 20; frame_depth = 40; frame_width = 30; frame_height = 50; frame_roundness = 10; mount_height = 40; mount_cutout = 20; difference(){ roundedcube([frame_width, frame_depth+frame_size*2, frame_height+frame_size+mount_height], false, frame_roundness, "x"); #tra...
glb/cad_20f6ab866b67.glb
Create a MagSafe ring by constructing a hollow cylinder with a height of 5.5mm. The outer radius of the cylinder should be 30mm and the inner radius should be 28mm. To complete the ring, remove a small rectangular section from the wall to create a gap; this cutout should be 4mm wide and 3mm deep, positioned so that it ...
$fn=24*5; tolerance = 0.40; inner_radius = 56/2; outer_radius = 30; difference(){ cylinder(5.5,outer_radius,outer_radius); cylinder(5.5,inner_radius,inner_radius); #translate([inner_radius-1,-1.5,0]) cube([4,3,5.5]); }
glb/cad_659f52b13413.glb
Create a wardrobe door holder for baby-proofing. Start by constructing a flat rectangular arm that is 51mm long, 10mm wide, and 2mm thick. At one end of this arm, add a vertical rectangular block that is 10mm wide, 10mm long, and 10mm high. At the opposite end of the arm, create a cylindrical ring with an outer diamete...
$fn=50; difference () { cylinder(5, d=16); translate([0, 0, -1]) { cylinder(7, d=11.9); } } translate([-4,6,3]) { cube([51,10,2]); translate([0,0,-3]) cube([7,10,3]); translate([41,0,-10]) cube([10,10,10]); }
glb/cad_4930d04f3122.glb
Create a Parametric Easter Egg Painting Stand. Start with a base that is 125mm wide, 60mm deep, and 3mm high. The bottom of this base should taper slightly, scaling to 90% of its upper width over a height of 10mm. The main body is a curved, cradle-like shape. Create a central cutout to hollow out the middle, leaving t...
$fn=256; wbase = 125; dpbase = 60; htop = 50; warm = 7.5; hbase = 3; hbottom = 10; bottomscale = 0.9; daxle = 8.2; wall = 2; dptop = daxle + 2 * wall; lextension = 2; lstraightcyl = warm + lextension; raxle = daxle/2; haxle = htop + hbase; eps = 0.01; deps = 2 * eps; holder(); module holder () { d...
glb/cad_1e5055af25a1.glb
Create a rectangular parametric mesh screen measuring 120mm by 120mm with a total thickness of 0.4mm. The screen consists of a grid of intersecting thin lines and a surrounding outer frame. First, construct the mesh by creating a series of parallel lines 0.5mm wide and 0.2mm thick, spaced 3mm apart from center to cen...
meshLineWidth = 0.5; sliceHeight = 0.2; pitch = 3; sideLength = 120; sideWidth = 120; radius = 2; frameWidth = 2; frameHeight = 0.4; module mesh () { for (i = [-sideWidth:pitch:sideWidth]) { translate ([i, 0, 0.5*sliceHeight]) cube([meshLineWidth, 1.1*sideLength, sliceHeight], center=true); } fo...
glb/cad_34d5196e3a9f.glb
Create a Parametric Mesh Screen consisting of a central grid enclosed by a rounded frame. First, construct the mesh by creating a series of intersecting thin rectangular bars. Place vertical bars and horizontal bars spaced 3mm apart center-to-center, each with a width of 0.5mm and a thickness of 0.2mm. These bars shoul...
meshLineWidth = 0.5; sliceHeight = 0.2; pitch = 3; sideLength = 25; radius = 2; frameWidth = 2; frameHeight = 0.4; module mesh () { for (i = [-sideLength:pitch:sideLength]) { translate ([i, 0, 0.5*sliceHeight]) cube([meshLineWidth, 1.1*sideLength, sliceHeight], center=true); } for (i = [-sideLen...
glb/cad_eb094de39c15.glb
Create a collet for a tap holder. Start with a base cylinder 31.25mm high with a radius of 6.875mm. From a height of 10mm upward, add a conical section that transitions from the base radius to a radius of 7.5mm, and then a further conical section from 10mm to 27.25mm height that transitions to a radius of 10mm. Remove...
typ="C"; dbd=3; f2f=6.25; ffn=6; fop="V"; fvs=0.5; gap=0.15; omn=0.5; $fn=25; collet(typ); module collet(typ) { difference() { if( fop == "V" ) { body(); } else if( fop == "F" ) { rotate([0,0,360/ffn/2]) body(); } if( fop == "...
glb/cad_9d8e8f9c6e73.glb
Create a mount for album frames by constructing a composite geometric shape. Start with a base rectangular block that is 100mm wide, 4.5mm deep, and 6.5mm high. Centered on this base, add a second rectangular block that is 19.05mm wide, 76.2mm deep, and 10mm high, extending backwards from the base. Finally, add two thi...
lip_height= 6.5; lip_depth = 4.5; inch = 25.4; t_bar = 100; cmd_thick = 8+2; union(){ cube([t_bar,4.5,lip_height]); translate([t_bar/2-(.75*inch/2),-3*inch,0])cube([.75*inch,3*inch,cmd_thick]); translate([t_bar/2-1.5,-1*inch,0])rotate([0,0,45])cube([3,39,lip_height]); translate([t_bar/2-1.5,-1*inch,0])...
glb/cad_7171256b620f.glb
Create a mounting bracket for a bright LED board as a flat plate with a thickness of 2.5mm. The main body is formed by the union of two overlapping rectangles: one measuring 46mm by 30mm and another measuring 50mm by 26mm, both centered on the same axis. Add two circular ears with a radius of 6mm each, centered on the ...
$fn=123; linear_extrude(2.5, convexity=5) difference() { union() { hull() { square([50-2*2,30], center=true); square([50,30-2*2], center=true); } hull() { translate([0,+30/2+1]) circle(r=6); translate([0,-30/2-1]) circle(r=6); } } circle(r=10/2); translate([+4.25,+8....
glb/cad_71dc027fd960.glb
Create a parametric print-in-place bearing with a total height of 15mm. The model consists of three main concentric components: an inner race, an outer race, and a series of rolling elements. The inner race is a cylinder with an 8mm diameter. The outer race is a cylinder with a 22mm diameter. Both races have a wall th...
inner_diameter = 8; outer_diameter = 22; height = 15; wall_thickness = 1.5; ball_spacing = 3; tolerance = 0.15; resolution = 32; d1 = (outer_diameter - inner_diameter) / 2 - wall_thickness*2 - tolerance; d2 = d1/2; a = ((outer_diameter+inner_diameter)/2 * 3.14159) / (d1+ball_spacing); n_balls = floor(a); ball_an...
glb/cad_d94ea6b80c7f.glb
Create a landscape lighting baffle consisting of a circular base and a series of adjustable slats. Start by constructing the base: create a cylinder with a diameter of 66mm and a height of 17mm. Hollow out the center of this base with a concentric cylinder of 47mm diameter. Within the base, create a stepped interior tr...
outside_diameter = 60.2; Height_of_Light = 14; thickness = 3; base_diameter = outside_diameter + thickness*2; base_height = Height_of_Light + thickness; lens_diameter = 47; segments = 360; max_width = 60; tolerance = .6; num_of_baffles = 5; angle_of_baffles = 15; height_of_baffles = 30; width_of_baffles = 1; Base(); ...
glb/cad_1cc6d0ad04fb.glb
Create a Daily Lenses Small Box consisting of a base and a lid connected by a flexible hinge. The interior dimensions of the case are 56.5mm wide by 46mm long with a height of 12mm. The walls and the top/bottom covers have a thickness of 1.4mm, while the vertical side walls are 1.1mm thick. The interior corners of th...
interiorWidth = 56.5; interiorLength = 46; interiorHeight = 12; interiorFillet = 2.0; hingeWidth = 40; coverThickness = 1.4; sidewallWidth = 1.1; lidInsetHeight = 1.7; hingeThickness = 0.3; hingeLengthScale = 1.15; rimInset = 0.6; tabSize = 1; hingeFillet = 3; lidInsetOffset = -0.21; eps = 0.1; $fn = 120;...
glb/cad_30be32890a8a.glb
Create a dish sponge holder with a base width of 60mm and a depth of 50mm. The holder consists of three walls with a uniform thickness of 2.5mm. The bottom plate is a flat rectangular ring with outer dimensions of 60mm by 50mm and an inner cutout of 44mm by 44mm. The back wall is a solid rectangular plate 60mm wide and...
schwamm_breite = 90; schwamm_hoehe = 70; schwamm_dicke = 50; vorne_hoehe = 25; ueberhang_schwamm = 15; rahmen_breite = 8; wandstaerke = 2.5; $fs = 0.4; e = 0.2; breite = schwamm_breite - 2*ueberhang_schwamm; hinten_hoehe = schwamm_hoehe * 7 / 9; radius = vorne_hoehe - 5; module bottom_plate() { difference() { ...
glb/cad_8ec23b3c9a07.glb
Create a rectangular tray for cleaning an AC condenser. The main outer body is a solid block measuring 238mm in length, 135mm in width, and 15mm in height. Hollow out the center of this block to create a shell with a uniform wall thickness of 2.5mm on the bottom and all sides. On one of the shorter 135mm sides, creat...
difference(){ detail=80; long=238; wide=135; tall=15; r=3; cube(size= [long,wide,tall], center=false); translate([2.5,2.5,2.5]) cube(size= [long-5,wide-5,tall], center=false); translate([0,wide-10,tall/2]) rotate([0,90,0]) cylinder(r, h=8, $fn=detail); }
glb/cad_4e8127bb739b.glb
Create a parametric fan grill with a total outer dimension of 50mm by 50mm and a thickness of 2mm. Start by creating a square plate of these dimensions, rounding the four corners with a radius of 3mm. At each of the four corners, center a circular screw hole with a diameter of 3mm. The distance between the centers of...
fan_size = 50; screw_diameter = 3; thickness = 2; corner_radius = 3; hole_size = 6; grid_thickness = 2; screw_radius = screw_diameter/2; resolution=32; screw_spacing = fan_size == 40 ? 32 : ( fan_size == 50 ? 40 : ( fan_size == 60 ? 50 : ( fan_size == 70 ? 60 : ( fan_size =...
glb/cad_3c414a19d3e7.glb
Create an Orbit Tippe Top consisting of a spherical element partially embedded in a thick disk, then sliced in half horizontally. Start by creating a sphere with a diameter of 30mm. Create a disk with a major and minor axis of 47mm and a thickness of 4mm. Position the disk so its center is offset from the sphere's cent...
a = 47.0; b = 47.0; diam = 30.0; thick = 4.0; offsetSphere = 1.0; mrad = 1.0; cx = 0.5*(a-diam) - offsetSphere; hlocs = [[diam/3.,0.],[-diam/3.,0.]]; dpin = 2.0; hpin = 10.0; difference() { union() { sphere(d=diam, $fn=90); translate(v=[cx,0,0]) minkowski() { linear_extrude(height=thick, ce...
glb/cad_f7fe7547b3a8.glb
Create a Flippe Top by starting with a sphere with a diameter of 37.5mm. Cut this sphere in half along the horizontal plane to create two hemispheres. From the center of the sphere, remove a vertical cylindrical channel with a diameter of 10.55mm. This channel should extend vertically to a maximum distance of 6.75mm ...
sc = 0.75; dsph = 50.0*sc; inch = 25.4; dbb = 0.5*inch*sc; slop = 1.0; dcyl =(dbb+slop); x = 9.0*sc; dsmall = inch/3.*sc; rmid = (sc < 1.0) ? 18.0*sc : 20.0*sc; dpin = inch/16.0; hpin = 3.0/8.0*inch; extrad = 0.10; extrah = 0.5; hangles = [0., 120., 240.]; echo("dsph is ",dsph); echo("dbb is ",dbb); echo("x is ",x);...
glb/cad_434386c94525.glb
Create a parametric fan grill with a total outer dimension of 40mm by 40mm and a thickness of 2mm. The main body is a square plate with rounded corners of 3mm radius. At each of the four corners, create a circular screw hole with a diameter of 3mm. These holes should be positioned symmetrically, centered 16mm from th...
fan_size = 40; screw_diameter = 3; thickness = 2; corner_radius = 3; hole_size = 6; grid_thickness = 1; screw_radius = screw_diameter/2; resolution=32; voronoi_seed = 32; screw_spacing = fan_size == 40 ? 32 : ( fan_size == 50 ? 40 : ( fan_size == 60 ? 50 : ( fan_size == 70 ? 60 : ( ...
glb/cad_a33b16c0b89d.glb
Create a wrench for a Festo fitting by starting with a base handle that is 4mm thick. The head of the wrench is a hexagonal prism with a diameter of 15.7mm. Centered within this head, create a hexagonal hole with a diameter of 9.25mm and a depth of 4mm to fit a nut. Extend a rectangular handle from the head with a wi...
nd=9.25; pt=4; wl=30; $fn=32; final_part(); module final_part(){ id_text(); difference(){ base_handle(); nut_cut(); hole_cut(); relief_cut(); #version_text(); } } module nut_cut(){ translate([0,-nd*.4,-pt*.1]) rotate([0,0,30]) cylinder(d=nd, h=pt*1.2, $fn=6)...
glb/cad_a523f4a16974.glb
Create a Flexi Pencil consisting of a long hexagonal body with integrated flexible joints. The main body is formed by a hexagonal prism with a diameter of 11mm and a total length of 130mm. Run a cylindrical hole with a diameter of 2.6mm through the center of the entire length of the hexagonal prism to create a channel ...
$fn = 120; difference() { union() { tuzka(); } union() { for(i=[10:15:110]) translate([0,i,0]) kloub_1(200); } } module tuzka() { difference() { union() { hull() { translate([0,1,0]) rotate([90,0,0]) cylinder(d=11,h=2,center=true, $fn = 6); translate([0,128,...
glb/cad_4619bb4cd26c.glb
Create a Filament model consisting of a flat, spiraling ribbon with a thickness of approximately 1.62mm. The ribbon follows a spiral path starting from an inner radius of 20mm and expanding outwards. The cross-section of the ribbon is a rectangle with a width of 1.75mm. The spiral completes 10 full rotations. Along th...
r=20; deg=360*10; step=1; endTabs=true; filamentD=1.75; s=filamentD*sin(22.5); h=2* sqrt((filamentD/2)^2-(s/2)^2); thick=h; dist=h+.35; *union(){ translate([filamentD/2+s/2,0])square(s,true); cylinder(.01,d=filamentD,$fn=36); rotate(180/8)color("lime")cylinder(.1,d=filamentD,$fn=8); color("skyblue",.5)cube(h...
glb/cad_149b25505d55.glb
Create a protection cap for an SGI compression connector. Start with a rectangular base block measuring 59mm in width, 19mm in depth, and 15mm in height. From this base, remove a central rectangular cavity measuring 55mm by 2.5mm by 13mm, positioned 2mm from the front and side edges. Within this cavity, create a deep...
$inx = 39; $iny = 15; $inz = 13; $wall = 2; $wallz = 3; $boltdia = 4.3; $boltoffx = 4.2; $boltoffy = 8.7; $metaly = 2.6; $platez = 3; $pcbwidth = 55; $pcbthick = 2.5; $outx = $inx + 2 * $wall; $outy = $iny + 2* $wall; $outz = $inz + $wallz; $outpcbx = $pcbwidth + 2 * $wall; $outpcby = $pcbthick + 2 * $wall; $bore = ...
glb/cad_3e3e547c1570.glb
Create a recessed LCD cover for a 3D printer. Start with a main body consisting of a base plate 155mm wide, 59.8mm deep, and 2mm thick. Add angled side walls rising from the base, with a rear support section 110mm wide and 6.5mm high. Cut a large rectangular window for the LCD screen measuring 98.5mm by 42mm, centere...
module main_body() { difference() { union() { translate( [ -77 , -4.5 , 0 ] ) cube( [ 155 , 59.8 , 2 ] ); translate( [ -77 , -4.5 , 0 ] ) rotate([35,0,0]) cube( [ 155 , 3 , 20.08 ] ); translate( [ -77 , -3.5 , -1 ] ) rotate([35,0,0]) cube( [ 7 , 5 , 15 ] ); ...
glb/cad_8052a5c9a90a.glb
Create a toy air turbine consisting of a main body, a rotor, and a lid. For the body, create a hollow cylinder with an outer radius of 20mm, a height of 37mm, and a wall thickness of 1.5mm. On one side of the cylinder, integrate a pipe that extends outward; this pipe starts with a bore of 3mm and expands into a funne...
use <lego.scad> $fa = 1; $fs = 0.4; $body_thickness = 1.5; $vane_thickness = 1.5; $height = 40 - $body_thickness; $radius = 20; $shaft_radius = 3; $hub_radius = 5; $shaft_height = $height + $body_thickness; $star_length_M = 1; $beam_length_M = 5; $pipe_length = 10; $pipe_bore = 3; $pipe_funnel = 8; $funnel_length = ...
glb/cad_1b4ca32a2020.glb
Create a blower redirection chute for a DW660. The part consists of a main body with a curved, tapered profile and specific attachment features. Start by creating two attachment pegs, each a 12-facet cylinder with a diameter of 3.83mm and a length of 3mm, positioned to fit into the router's output slots. Between these...
eps = 0.1; hole_ht = 3.83; hole_wd = 17.67; nozzle_ht = 63 + hole_ht/2; slot_gap = 3.6; router_diam = 76.6; collar_diam = 47; ledge_recess = 8.42; foot_size = 15; mouth_wd = hole_wd + slot_gap; mouth_ht = 7; translate([router_diam/2, -mouth_wd/2, 0]) { difference() { tube2(3, 0.1); tube2(0, 0.2); } ...
glb/cad_09f5d84640f3.glb
Create a Joystick Mounting Panel consisting of a rectangular box and a top faceplate. The main body is a hollow rectangular box with outer dimensions of 82mm in width, 64mm in depth, and 32mm in height, featuring a wall thickness of 1.6mm. On top of this box, add a flat faceplate with a thickness of 3mm. This plate sh...
eps=0.1; joy_d = 37; joy_ht = 60; screw_sq = 33; big_enough_box = 64; big_enough_depth = 32; switch_d = 6.5; switch_h = 8; box_size_x = big_enough_box/2 + 50; box_size_y = big_enough_box; wall = 1.6; overhang = 10; plate_th = 3; *%translate([-big_enough_box/2, -big_enough_box/2, -big_enough_depth]) cube([big_enou...
glb/cad_94767d60421d.glb
Create a Servo Spline Maker test plate. Start with a rectangular base plate measuring 67mm by 25mm with a thickness of 2mm. On this plate, create a series of nine circular holes, each 14.5mm in diameter, spaced evenly along the center. Within each hole, carve out a 21-tooth star-shaped spline profile. The spline prof...
part = "plate"; spline_count = 21; approximate_diameter = 4.5; step_size = 0.2; module dummy() { } approx_od = approximate_diameter; disc_size = approx_od+10; stepmin = -4; stepmax = 4; xmid = (stepmin+stepmax)/2*(approx_od+8); if (part == "plate") { for (i=[stepmin:stepmax]) { translate([i*(approx_od+8), ...
glb/cad_059a8f6f7b4b.glb
Create a motor and encoder holder consisting of a central cylindrical hub and a larger supporting base. Start by creating a main cylindrical body with a diameter of 38.4mm and a height of 34mm. On top of this body, add a concentric cylindrical hub with a diameter of 20mm and a height of 5mm. Protruding from the center ...
eps = 0.1; enc_shaft_d = 6; enc_shaft_flat = 5.5; enc_shaft_l = 13; enc_hub_d = 20; enc_hub_l = 5; enc_outer_d = 38.4; enc_body_l = 34; enc_overall_l = 51.3; r1 = 14; r2 = 15; lpd3806(); %lpd3806_holes(); module lpd3806() { translate([0, 0, enc_hub_l]) cylinder(d=enc_shaft_d, h=enc_shaft_l, $fn=36); cylinder(...
glb/cad_ad7881c5555c.glb
Create a motor holder for a KEDA 63-64 motor and LPD3806 encoder. The main body is a cylinder with an outer diameter of 65mm (2mm wider than the motor) and a total length of 89.4mm. At the front, create a circular face with a diameter of 54.25mm and a thickness of 3mm. At the rear, create a back face with a diameter ...
motor_od = 63; motor_shaft_d = 8; motor_body_l = 65.4; motor_shaft_l = 24; motor_overall_l = motor_body_l + motor_shaft_l; back_button_l = 2; back_button_od = 18; back_face_od = 30.5; motor_collar_d = 16; motor_collar_l = 3.5; eps = 0.1; motor(); %motor_holes(); %motor_airflow_holes(); %motor_back_holes(); %motor_scr...
glb/cad_b4a89b1358ee.glb
Create a motor bracket for a mechanical multiplexer. Start with a main body consisting of three walls and a roof, forming a U-shaped enclosure with exterior dimensions of 47.43mm in width and depth, and a height of 40mm. The walls and roof should have a thickness of 2.5mm. Extend two flanges of 13mm width and 2.5mm thi...
Nema17_cube_width = 42.43; num6_d2 = 3.6; eps = 0.1; Nema17_screw_hole_width = 43.74; Nema17_ring_diameter = 22; num6_head_room = 8; wall_th = 2.5; cw = Nema17_cube_width + 2 + 2*wall_th; cd = cw; flange_w = num6_head_room+5; nema_screw_hole_size = 3.5; motor_bracket(40, 130, 135); module motor_bra...
glb/cad_12fdb65e75cf.glb
Create a Mechanical Multiplexer consisting of two brackets and a connecting strap. First, create a left bracket as a thin plate measuring 1.6mm thick, 10mm wide, and 75mm high. In this plate, create two 12-sided polygonal holes with a diameter of 3.35mm; position the first hole 6.5mm from the side edge and 5mm from t...
psu_width = 125.25; psu_ht = 64.5; psu_depth = 101; screw_x = 6.5; screw_y1 = 5; screw_y2 = 5; screw_y3 = 69; thumb_thread_od = 3.35; left_ht = 75; bar_wd = 10; bar_th = 1.6; right_ht = 15; foot_th = 3; slot_allowance = 3; foot_width = 10 + slot_allowance; eps = 0.1; body_width_max = 12.8; num6_d2 = 3.6; if (0) {...
glb/cad_17039a6f9183.glb
Create a Mechanical Multiplexer consisting of a central motor assembly and a ring of nine rotating selector knobs. First, construct a central motor face. This is a rectangular plate 42mm wide and 3mm thick with a 23mm diameter central hole and four 3.2mm diameter screw holes located at the corners of a 43.74mm square....
use <bearings.scad> use <gear_support.scad> use <nema17_stuff.scad> use <unwin_modules.scad> use <motor_bracket.scad> eps = 0.1; handdiam = 25; handt = 8; handt_clr = 0.1; zlap = 10; zclr = 3; pivot_r = 55; mid_ht = 40; mot_setback = 27; ndof = 9; astep = atan(32/pivot_r); toothdepth = 3; big_pitchd = 2*(pivot_r+zla...
glb/cad_b0067ea4e00e.glb
Create a Mechanical Multiplexer support structure consisting of a lower and upper assembly. For the lower section, start with a circular base plate of radius 11.5mm and thickness 2.4mm. Centered on this plate, build a vertical support column that transitions from a cylinder of diameter 16.2mm and height 3mm into a narr...
b608_outer_dia = 22.2; Bearing_basal_t = 3; num6_d1 = 2.9; num6_d2 = 3.6; num6_head_room = 8; eps = 0.1; b608_tuned_id = 8; b608_nominal_width = 7; Gear_base_space = 5; interior_hole_id = b608_outer_dia - 6; support_od = interior_hole_id - 2; topbush_t = 1; topbush_h = 2; gap = 1; support_len = Bearing_basal_t; Scr...
glb/cad_e9bde4aa1483.glb
Create a Mechanical Multiplexer consisting of a central cylindrical housing with integrated support bars. Start by creating a central vertical cylinder with a diameter of 10mm and a height of 2mm. Around this, build a larger cylindrical sleeve with an outer diameter of 5.2mm and a total height of 8.2mm. Through the c...
num6_d2 = 3.6; num6_head = 7.0; board_hole_diam = 3.2; board_hole_clr = 0.4; base_sup_diam = 5.2; board_th = 1.6; base_gap = 2.6; base2 = 2; base2_diam = 10; top_th = 4; gap = 0.2; eps = 0.1; center_pos = base2_diam/2 + base_sup_diam-1; lower = 1.2; echo("upper surface height: ", base_gap + board_th + gap + top_th-l...
glb/cad_dcc29079db70.glb
Create a menstrual cup model by starting with a primary sphere that has a radius of 20mm and a width of 74mm. To form the hollow interior, remove a series of aligned spheres from the center: one with a radius of 10mm positioned at z=10, another with a radius of 18mm positioned at z=4, and a third with a radius of 12mm ...
sphere_width=74; sphere_hight=20; sphere_width_negativ=10; sphere_hight_negativ1=18; sphere_hight_negativ2=12; x=0; y=0; z=10; z1=4; z2=-4; Menstrualcup(); $fn = 100; module Menstrualcup(){ difference(){ union(){ { translate([0,0,10]){ rotate_extrude() translate([15,0,0]){ circle(...
glb/cad_ce72291a37a9.glb
Create a food processor cutter support consisting of a central cylindrical column and two symmetrical blade arms. Start with a central vertical assembly: a bottom cylinder with a diameter of 18.2mm and height of 24mm, topped by a larger cylinder with a diameter of 23.5mm and height of 24mm. Above this, add an oval-shap...
use <MCAD/shapes.scad> $fn=150; ID = 18.2; cyl_ht = 24; OD = 23.5; outer_cyl_ht = 24; topOval_ht = 3; topOval_minor = 21; topOval_major=32; topOval_ecc= topOval_major/topOval_minor; bearing_dia = 21; bearing_ht = 3; hex_dia = 8; hex_ht = outer_cyl_ht+topOval_ht+bearing_ht+6; hex_clearance = 0.4; tween_pins = 27....
glb/cad_c41352d126ab.glb
Create a Printed Headband holder consisting of four identical, mirrored flat plates. For a single plate, construct a base shape by creating a convex hull that connects three circles: one with a 30mm diameter at the origin, one with a 30mm diameter positioned at x=20mm and y=6mm, and one with an 8mm diameter at x=80mm a...
dist = 12; $fn = 80; length = 90; module side() { difference() { union() { hull() { cylinder(d=30, h=0.6); translate([20,dist/2,0])cylinder(d=30, h=0.6); translate([length-10,dist/2,0])cylinder(d=8, h=0.6); } hull() { ...
glb/cad_eee7bac108a5.glb
Create a filament swatch box designed to hold ten swatches. Start by creating a solid rectangular base with a total width of 85.6mm, a length of 68mm, and a height of 10mm. From this base, carve out ten identical rectangular slots to hold the swatches. Each slot should be 81.6mm wide and 4.8mm deep, positioned with a...
swatchWidth = 80; swatchHeight = 40; swatchThickness = 2; inlayCount = 10; wallThickness = 2; dividerHeight = 4; dividerWidth = 6; clearance = 0.8; $fn = 128; swatchWidthC = swatchWidth + 2*clearance; swatchThicknessC = swatchThickness + 2*clearance; dividerCount = inlayCount - 1; boxHeight = swatchHeight/4; boxL...
glb/cad_6a6912c77742.glb
Create a customizable name tag keyring. Start by forming the base with a rectangular platform 57mm long, 1.5mm wide, and 2mm thick, positioned at the bottom of the design. At the left end of the platform, integrate a cylinder with a radius of 7mm and a height of 2mm, centered at X=-1, Y=-4.5. Pass a circular hole with ...
FirstLetter = "M"; RemainingLetters = "AYA"; FirstLetterPositionX = 2; FirstLetterPositionY = 0; CapitalSpacing = 27; PlatformLength = 57; $fn = 128; createTag(FirstLetter, RemainingLetters, FirstLetterPositionX, FirstLetterPositionY, CapitalSpacing, PlatformLength); module createTag(firstLetter, remainingLetters, f...
glb/cad_149d602854e1.glb
Create a parametric bed mesh test generator with a uniform height of 0.2mm. Start by creating a rectangular skirt that is 340mm by 340mm with a thickness of 2mm, forming a hollow square frame. Inside this area, place a grid of probed points. These points are cylinders with a diameter of 25mm and a height of 0.2mm. Arr...
bed_length_x = 340; bed_length_y = 340; first_layer_height = 0.2; mesh_min_x = 20; mesh_min_y = 20; mesh_max_x = 320; mesh_max_y = 320; probed_points_x = 3; probed_points_y = 3; probed_points_diameter = 25; probed_connections = true; probed_connections_thickness = 2.5; interpolated_points = true; mesh_pps_...
glb/cad_f8bcda3c2cc4.glb
Create a Bottle Dryer attachment by constructing a hollow hexagonal prism. The outer shell should be a regular hexagon with a diameter of 15mm and a total height of 20mm. Remove a smaller hexagonal prism from the center to create a hole, using an inner diameter of 10mm. This inner cutout must pass completely through th...
original_hex_dia=10; new_hex_dia = 15; height_diff = 20; accuracy = 100; crop = 0.4; crop_scaling = 10; smoothing = 200; difference () { cylinder(r=new_hex_dia/2, h=height_diff, $fn=6); translate ([0,0,-crop]) cylinder(r=original_hex_dia/2, h=height_diff+2*crop, $fn=6); }
glb/cad_0047f6b630de.glb
Create a Bottle Dryer consisting of a central hexagonal hub with six radial attachments. The main body is a hexagonal prism with a diameter of 80mm and a height of 3mm, featuring a hexagonal hole in the center with a diameter of 10.5mm. Around the hub, place six attachments spaced every 60 degrees. Based on the specif...
dryer_diameter = 10.5; att_diameter = 80; att_center_height = 3; pos_type = [1,3,3,1,1,1]; pos_hanger_after = [0,1,0,0,1,0]; att_gap=[5,8,8,5,15,15]; att_height=[3,3,3,3,3,3]; att1_diameter=[62,30,53,53,30.5,28]; att1_thickness=[3,3,0,3,3,3]; att1_cut=[60,25,0,52,28.5,26.5]; att1_edged=[0,3,0,0,3,3]; att1_ed...
glb/cad_be32ca21c1b9.glb
Create a solder tip holder consisting of a rectangular base plate and an attached vertical support. The base plate should be 93mm long, 33mm wide, and 13mm thick. Within this plate, create a grid of 40 aligned cylindrical holes, 10 along the length and 4 across the width. Each hole must have a diameter of 7mm and be po...
plate_length = 10; plate_width = 4; plate_thickness = 13; plate_solid = 2; hole_dia = 7; hole_gap = 2; hole_align = true; holder_add = true; holder_width = 2.53; holder_height = 85; holder_top = 35; holder_offset = -50; holder_fix_top = 20; holder_mirror = false; holder_roundness = 20; accuracy = 100; cr...
glb/cad_4d9569defff5.glb
Create a Christmas tree bracket with a total height of 107mm. The base is a composite structure starting with a bottom section 60.5mm tall. This base consists of a central cylinder with a 33.5mm diameter hole passing through its center. The outer wall of this bottom section tapers from a radius of 18.5mm at the bottom ...
module __Customizer_Limit__ () {} production = 1; jpeghq = 0; $resolution = (production && !$preview) ? 150 : (jpeghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { echo("Producing DRAFT quality"); echo("Resolution",$resolution)...
glb/cad_03b04cf73b03.glb
Create a wireless phone charger stand. Start with a main rectangular case measuring 57mm wide, 113mm long, and 11mm high. Hollow out the center of this case to create a pocket for a charging module that is 53mm wide, 109mm long, and 9mm deep, leaving a 2mm border around the edges. At the bottom center of the case, cr...
phone_offset = 36; module __Customizer_Limit__ () {} production = 1; jpeghq = 0; $resolution = (production && !$preview) ? 150 : (jpeghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { echo("Producing DRAFT quality"); echo("R...
glb/cad_adafa0bddeff.glb
Create a wireless phone charger stand consisting of a weighted base and a tilted cradle. First, construct the cradle as a hollow rectangular box with outer dimensions of 57mm width, 113mm length, and 11mm height. The interior cavity should be 53mm wide, 109mm long, and 9mm deep to house the charger module. At the bot...
module __Customizer_Limit__ () {} production = 1; jpeghq = 0; $resolution = (production && !$preview) ? 150 : (jpeghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { echo("Producing DRAFT quality"); echo("Resolution",$resolution)...
glb/cad_276b3952647a.glb
Create a launcher for a spinning top. Start with a main handle that is a cylinder 137.01mm long with a diameter that tapers from 7.63mm to 12.49mm over its first 1.69mm of length, then remains a constant 12.49mm diameter for the remainder of the length, ending in a 12mm tall cylinder with a top diameter of 22.49mm. At...
L_Len = 137.01; TripodLeg_ON = 1; module DrawLauncher() { difference() { union() { translate([0,0,14.84]) scale([.747284,.747284,1]) sphere(d=41.42,$fn=132); translate([0,0,-1]) Handle(); if (TripodLeg_ON == 1) ...
glb/cad_3bacb4708d36.glb
Create a spinning top tip consisting of three stacked coaxial sections. Start with a base frustum that has a bottom diameter of 4.62mm and tapers outward to a top diameter of 6.04mm over a height of 0.79mm. Directly on top of this base, add a cylinder with a constant diameter of 6.04mm and a height of 5.54mm. Finally, ...
ires = .7; ST_OD1 = 4.62; ST_OD2 = 6.04; ST_OD3 = 23.13; ST_OD4 = .4; ST_OD2_Res = (round(((ST_OD2 * 3.14) / 4) / ires)*4); ST_OD3_Res = (round(((ST_OD3 * 3.14) / 4) / ires)*4); echo(ST_OD2_Res = ST_OD2_Res); echo(ST_OD3_Res = ST_OD3_Res); module SpinnerTip() { difference() { union() { ...
glb/cad_4777805302a2.glb
Create a V-Slot Tap jig for a 2060 extrusion. Start by creating a solid rectangular base with rounded corners of 3.5mm radius. The overall height of the block is 37.7mm. In the center of the block, create a vertical cutout designed to fit a V-Slot extrusion. This cutout should be 60mm long and have a width of 20mm. Th...
Len = 60; Cut_Size = 0; AccessHole_Ht = 16.7; Cover_Ht = 20; OD = 10; Rad = OD / 2; OD1 = 20; Thk = 1.0; Ht = AccessHole_Ht + Rad + Thk + Cover_Ht; Rnd_OD = 7; Rnd_Rad = Rnd_OD / 2; Base_Ht = Ht - Cover_Ht; M5_OD = 5.4; I2 = Len / 20; echo(I2 = I2); R1 = 20 + Rnd_OD; R2 = 40 + Rnd_OD; A_Len = [20,40,60,80,80,40]; ...
glb/cad_2cf11052d86b.glb
Create a Trammel of Archimedes consisting of a guide, an arm, and two sliders. First, create the guide as a rectangular block with a central slot. The slot should be a channel that allows the arm to slide through, featuring beveled top edges on the dovetail joints to ensure a smooth fit. Next, create the arm as a lo...
include <threads.scad> Thread_Ht = 4; Thread_Pit = 1.25; Thread_Angle = 40; OD = 8; Tolerance = .4; OD_Res = (round(((9 * 3.14) / 4) / .7) * 4); echo(OD_Res = OD_Res); module Bottom() { translate([0,0,0]) linear_extrude(height = .1, center = false, convexity = 10)polygon(points = [[14.25,6.55],[14.21,6.74...
glb/cad_7aed9ebf696e.glb
Create a Trammel of Archimedes consisting of a guide, an arm, and two sliders. First, construct the guide as a square block 60mm wide, 60mm deep, and 7.5mm thick. Cut two intersecting dovetail channels through the center of the block from edge to edge. The channels should have a base width of 16mm and flare to 12mm a...
Ht = 10; Rnd_OD = 2.75; Rnd_Rad = Rnd_OD / 2; CC_OD = 4; Corn_OD = 20; Corn_Rad = Corn_OD / 2; Corn_Offset = 10 + Corn_Rad; CC_Rad = CC_OD / 2; CC_OD_Res = (round(((CC_OD * 3.14) / 4) / .6) * 4); CC_Offset = 8 + CC_Rad; echo(CC_Rad = CC_Rad); echo(CC_Offset = CC_Offset); Rnd_OD_Res = (round(((Rnd_OD * 3.14) / 4) ...
glb/cad_0bd33bee8c8e.glb
Create a Trammel of Archimedes consisting of three main components: a guide, an arm, and sliders. First, create the guide as a flat rectangular base with a central slot. The guide features dovetail joints along its length to allow the arm to slide. Bevel the top edges of these dovetail joints to ensure a smooth fit. ...
Y1 = 52; Y2 = 84; Rnd_OD = 3; Rnd_Rad = Rnd_OD / 2; Ht = 5.8; B_Ht = Ht - Rnd_OD; ID = 8.5; Rad = ID / 2; Hand_Wid = 14; Hand_Wid2 = Hand_Wid / 2; Hand_Offset = Hand_Wid2 - Rnd_Rad; echo(Hand_Wid2 = Hand_Wid2); echo(Hand_Offset = Hand_Offset); Rnd_OD_Res = (round(((Rnd_OD * 3.14) / 4) / .5) * 4); ID_Res = (round(((...
glb/cad_513c5cc864b0.glb
Create a Trammel of Archimedes consisting of three main components: a guide, an arm, and two sliders. First, create the guide as a flat rectangular base with a central slot. The guide features dovetail joints along its length to allow the arm to slide. Bevel the top edges of these dovetail joints to ensure a smooth fi...
Y1 = 52 * .75; Y2 = 84 * .75; Rnd_OD = 3; Rnd_Rad = Rnd_OD / 2; Ht = 4.25; B_Ht = Ht - Rnd_OD; ID = 6.5; Rad = ID / 2; Hand_Wid = 12; Hand_Wid2 = Hand_Wid / 2; Hand_Offset = Hand_Wid2 - Rnd_Rad; echo(Hand_Wid2 = Hand_Wid2); echo(Hand_Offset = Hand_Offset); Rnd_OD_Res = (round(((Rnd_OD * 3.14) / 4) / .5) * 4); ID_Re...
glb/cad_683214aa7296.glb
Create a Trammel of Archimedes consisting of a guide, an arm, and sliders. First, construct the guide as a square block 80mm wide, 80mm deep, and 10mm high. Cut two intersecting dovetail channels through the center of the block from edge to edge. The channels should have a base width of 16mm and a top width of 11.72m...
Ht = 10; Rnd_OD = 2.75; Rnd_Rad = Rnd_OD / 2; CC_OD = 3; Corn_OD = 20; Corn_Rad = Corn_OD / 2; Corn_Offset = 10 + Corn_Rad; CC_Rad = CC_OD / 2; CC_OD_Res = (round(((CC_OD * 3.14) / 4) / .6) * 4); CC_Offset = 8 + CC_Rad; echo(CC_Rad = CC_Rad); echo(CC_Offset = CC_Offset); Rnd_OD_Res = (round(((Rnd_OD * 3.14) / 4) ...
glb/cad_ab8c8dfa373b.glb
Create a Trammel of Archimedes consisting of a guide, an arm, and two sliders. First, create the guide as a rectangular block featuring a dovetail channel running through its center to allow the arm to slide. Bevel the top edges of the dovetail joints for a smoother fit. Next, create the arm as a long beam that fits...
include <threads.scad> Thread_Ht = 4; Thread_Pit = 1.25; Thread_Angle = 40; OD = 6; Tolerance = .4; OD_Res = (round(((7 * 3.14) / 4) / .7) * 4); echo(OD_Res = OD_Res); module Bottom() { translate([0,0,0]) linear_extrude(height = .1, center = false, convexity = 10)polygon(points = [[10.69,4.91],[10.66,5.0...
glb/cad_373ab86b8a54.glb
Create a garden chair sink protection support. Start by constructing a base plate as a cylinder with a radius of 30mm and a height of 6mm. Centered on top of this base, add a hollow cylindrical sleeve with an outer diameter of 40mm and a height of 20mm. The sleeve should have a wall thickness of 1mm, leaving an interna...
RPlatte=30; HPlatte=6; RStuetze=19; HStuetze=20; BStuetze=1; Aufl=240; difference(){ hull(){ cylinder(r=RPlatte,h=HPlatte,$fn=Aufl,center=true); d2t = RStuetze+BStuetze; translate([0,0,HPlatte/2+HStuetze/2]) cylinder(d=d2t+2*BStuetze,h=HStuetze,$fn=Aufl,center=true); } ...
glb/cad_c7627d39bf21.glb
Create a Nuki Smart Lock adapter starting with a hexagonal prism that has a height of 17mm and a radius of 8.66mm. From the center of this hexagonal base, remove a rectangular block measuring 4.08mm by 10.2mm with a height of 20mm, positioned so that it extends through the top of the prism. To refine the outer shape, r...
errorScale = [1.02, 1.02, 1.02]; cylinderHeight = 17; adapterRadius = 8.66; difference() { difference() { difference() { cylinder(h=cylinderHeight, r=adapterRadius, $fn=6); for(i = [0 : 5]) { rotate([0, 0, i * 60]) translate([0, adapterRadius + 1.5,...
glb/cad_043aac79f023.glb
Create an office chair floor protection device starting with a central circular base plate 104mm in diameter and 3.1mm thick. On top of this base, add two vertical support blocks. Each block is a rectangular prism measuring 8mm by 5.5mm with a height of 20mm. Position these supports symmetrically at the edges of the ...
h2=20; a2=8; b2=5.5; p2=15; r2=2; a3=31;b3=10.1;h3=9; difference (){ union(){ r1=52/2; h1=3.1; translate([0, 0, 0]) color ("chocolate") cylinder(r=r1,h=h1,$fn=200,center=true); translate([p2,7, h2/2]) color ("magenta")cube ([a2,b2,h2],center=true); translate([p2,-7, h2/2]) color...
glb/cad_ea493ab7dc4b.glb
Create a mouse trap wire consisting of a thin rectangular prism with spheres at both ends. Start by creating a central bar that is 195mm long, 0.5mm wide, and 0.2mm high. Position a sphere with a radius of 1mm at the starting point of the bar (0, 0, 0) and a second sphere of the same 1mm radius at the opposite end of t...
sphere_size = 1; wire_length = 195; wire_depth = .5; wire_height = .2; cube([wire_length,wire_depth,wire_height]); translate([0,0,sphere_size]){ sphere(sphere_size); translate([wire_length,0,0]){ sphere(sphere_size); } }
glb/cad_7e48ce52b2b0.glb
Create a parametric table consisting of a flat rectangular top and four tapered legs. The table top is a centered rectangular slab measuring 600mm in width and 600mm in depth, with a thickness of 5mm. At each of the four corners of the table top, attach a leg. Each leg is a tapered vertical support that is wider at t...
H = 400; W = 600; D = 600; T = 5; Tl = 5; B = 50; Lt = 100; Lb = 40; R = 2; $fn = 32; eps = 0.01; up (H) rotate ([180, 0, 0]) { up (H - T - B) difference () { ccube ([W, D, T + B]); up (-2 * eps) ccube ([W - 2 * Tl, D - 2 * Tl, B + 2 * eps]); } for (i=[-1, 1], j ...
glb/cad_d89a5c6a298c.glb
Create a Missing Square Puzzle consisting of four distinct geometric tiles, each with a uniform thickness of 10mm. Every tile must feature a grid of square imprints on its top surface; each imprint is a 4-sided pyramid (square-based) with a base diameter of 12mm and a depth of 0.9mm, centered on 10mm grid intervals. C...
grid=10; module grid_imprint_piece(grid_size) { translate([grid_size/2,grid_size/2,0]) rotate([0,0,45]) cylinder(h=0.1*grid_size,d1=0.6*grid_size,d2=1.2*grid_size,$fn=4); } module upper_tri(grid_size) { linear_extrude(grid_size) { polygon([[0,0],[5*grid_size,0],[5*grid_size,2*grid_size]]); ...
glb/cad_9ee02d681088.glb
Create a coat hook elongation by constructing a hollow cylinder with an outer diameter of 15mm and a total height of 100mm. Remove the center of this cylinder by creating a concentric inner hole with a diameter of 11mm that extends from a height of 55mm up to the top. Finally, truncate the top of the model by removing ...
difference() { cylinder (100,7.5,7.5); translate ([0,0,55]) cylinder (45,5.5,5.5); translate ([-15,-15,100]) rotate ([0,24,0]) cube ([60,60,15]);}
glb/cad_e4a23da905f0.glb
Create a plant label consisting of a flat rectangular base and raised text. Start by creating a rectangular base 200mm long, 6mm wide, and 2mm thick. At the left end of the base, add a cylinder with a radius of 3mm and a height of 2mm, centered 3mm from the side edge. At the opposite right end, add a small triangular p...
font="Montserrat:style=Black"; text="Chili"; translate([0,0,0]) { cube([200,6,2]); } translate([0,3,0]) { cylinder(h=2, r=3, center=false, $fn = 100); } translate([201.729,3,0]) { cylinder(2,3.464,3.464,$fn=3); } translate([2,6,0]){ linear_extrude(3) text(text, font = font, size = 15); }
glb/cad_5428360ac8e7.glb
Create a spool drawer organizer designed to fit within a spool. Start by creating a cylindrical shell with an outer diameter of 200mm and an inner diameter of 100mm, with a total height of 61.5mm. The structure consists of a bottom base and a top cap, each 2.25mm thick, connected by a middle wall that is 58mm high. The...
number_of_drawers = 4; render_drawers = 1; inner_diameter = 100; outer_diameter = 200; inner_spool_width = 58; spool_hole_diameter = 55; segments_per_circle = 360; wall_thickness = 2.25; clearance_from_spool= 1; screw_hole_diameter = 2.492; screw_mount_offset =...
glb/cad_70e82e8c7b0f.glb
Create an articulating camera mount joint consisting of a spherical head and a threaded base. Start by constructing a ball joint using a hull operation between a sphere with a diameter of 15.8mm and a cylinder with a diameter of 11.1mm and a height of 0.01mm, centered vertically. Below the sphere, add a hexagonal bas...
include <threads.scad> B_OD = 15.8; Thread_OD = 7.75; Thread_Ht = 7; Thread_Pit = 1.5; Thread_Angle = 40; Gap = .7; module PlineExt2(SC1=1,Ht=2) { scale([SC1,SC1,1]) linear_extrude(height = Ht, center = false, convexity = 10)polygon(points = [[0.25,7.36],[6.25,3.9],[6.5,3.46],[6.5,-3.46],[6.25,-3.9], [...
glb/cad_312cd391a96c.glb
Create an M8 hex nut designed for an articulating camera mount. Start with a hexagonal prism base that has a flat top and bottom. In the center of this base, create a vertical hole that runs entirely through the part. Inside this hole, add a male metric thread with a diameter of 7.75mm and a pitch of 1.5mm. The threa...
include <threads.scad> Hd_Ht11 = 4; Ht11 = 13; Thread_OD = 7.75; Thread_Ht = 7; Thread_Pit = 1.5; Thread_Angle = 40; Gap = .7; HD_OD = 21; SC_OD = 8.3 - Gap; HD_OD_Res = (round(((HD_OD * 3.14) / 4) / .7) * 4); SC_OD_Res = (round(((SC_OD * 3.14) / 4) / .7) * 4); Bmp_OD=12.2; BMP_OD_Res = (round(((Bmp_OD * 3.14) /...
glb/cad_06596f8481a8.glb
Create a hex-head bolt with a threaded shaft. Start with a hexagonal base that has a flat-to-flat width of 21mm and a height of 4mm. Centered on top of this base, add a circular shoulder with a diameter of 12.2mm and a height of 0.6mm, followed by a narrower cylinder with a diameter of 11mm and a height of 1.8mm, and a...
include <threads.scad> Hd_Ht11 = 4; Ht11 = 13; Thread_OD = 7.75; Thread_Ht = 7; Thread_Pit = 1.5; Thread_Angle = 40; Gap = .7; HD_OD = 21; SC_OD = 8.3 - Gap; HD_OD_Res = (round(((HD_OD * 3.14) / 4) / .7) * 4); SC_OD_Res = (round(((SC_OD * 3.14) / 4) / .7) * 4); Bmp_OD=12.2; BMP_OD_Res = (round(((Bmp_OD * 3.14) / ...
glb/cad_b329bbb56733.glb
Create a Union cube sphere by merging a cube and a sphere into a single solid. Center a cube with side lengths of 12mm on the origin. At the same center point, place a sphere with a radius of 8mm. To ensure a flat base for printing, remove the portion of the combined shape that exists below a height of -6mm by cutting ...
difference() { union() { cube(12, center=true); sphere(8); } translate([0,0,-8]) cube([12,12,4], center=true); }
glb/cad_2d3ea11bf68f.glb
Create a CoPro Monitor Mount by constructing two intersecting extruded components, both with a thickness of 5mm and a total extrusion height of 30mm. First, create the support structure. Start with a vertical bar 17mm high (12mm height plus 5mm thickness) and 5mm wide. Attach a horizontal arm to the top of this bar t...
$fn=200; extrude = 30; thickness = 5; monitor_height = 12; monitor_depth = 3; top_length = 65; support_angle = 55; support_length = 60; gopro_width = 24; gopro_support_height=12; gopromount(extrude, thickness, monitor_height, monitor_depth, top_length, support_angle, support_length, gopro_width, gopro_support_height)...
glb/cad_48cd1cf33e80.glb
Create an espresso funnel designed to sit atop a filter holder. Start by creating a revolved profile that forms a bowl with a total height of 30mm. The interior of the funnel should follow a circular arc with a radius of 35mm, while the exterior follows a larger arc with a radius of 40mm. At the base, integrate a cyl...
filter_inner_diameter = 52.5; filter_outer_diameter = 60; funnel_profile_inside_radius = 35; funnel_profile_outside_radius = 40; funnel_height_cap = 30; sleeve_thickness = 1; sleeve_height = 7.4; wing_width = 18; wing_height = 4.5; $fn=200; filter_inner_radius = filter_inner_diameter / 2; filter_outer_radius = filter...
glb/cad_d2f937552976.glb
Create an espresso funnel with a pusher. Start by creating a revolved hollow bowl shape. The inner wall of the bowl should have a radius of 26.25mm and the outer wall a radius of 30mm. The wall thickness of the bowl is 3.75mm. The profile of the bowl is defined by an inner radius of 38mm and an outer radius of 47mm, wi...
filter_inner_diameter = 52.5; filter_outer_diameter = 60; funnel_profile_inside_radius = 38; funnel_profile_outside_radius = 47; funnel_height_cap = 30; sleeve_thickness = 1; sleeve_height = 7.4; wing_width = 18; wing_height = 4.5; pusher_depth = 10; pusher_width = 15; $fn=200; filter_inner_radius = filter_inner_diam...
glb/cad_2d6571c22276.glb
Create a Honeycomb Storage Insert Tapper consisting of a vertical stack of four geometric sections. Start at the base with a hexagonal prism that has a diameter of 15mm and a height of 8mm. Directly on top of this base, add a thin cylindrical plate with a diameter of 25mm and a height of 4mm. Above this plate, create a...
hexdiam = 15; plateh = 4; shafth = 40; stumph = 8; $fn = 6; cylinder(d=hexdiam, h=stumph); translate([0,0,stumph]) cylinder(d=hexdiam+10, h=plateh); translate([0,0,stumph+plateh]) cylinder(d1=hexdiam+10,d2=hexdiam, h=plateh*2); translate([0,0,stumph+plateh]) cylinder(d=hexdiam, h=shafth, $fn=64); translat...
glb/cad_9bb4ce3e0927.glb
Create a crowned pulley with a total height of 25mm. The outer profile is a circular arc that reaches a maximum diameter of 25mm at the center and tapers down to 20mm at both flat ends. Through the center, create a vertical shaft bore with a diameter of 6.5mm. To accommodate a D-shaft, remove a rectangular section fr...
shaft=6.5; dbore=true; dboreFraction=0.1; hexbore=false; marks=1; diameter=25; endDiameter=20; height=25; markRadius=8; m3_dia = 3.2; m3_nut_flats = 5.6; m3_nut_depth = 2.5; m3_nut_points = 2*((m3_nut_flats/2)/cos(30)); nut_shaft_distance = 1.2; nut_elevation = m3_nut_points/2+0.5; rotate ([180,0,0]) translate ([0,0...
glb/cad_1e17e8b8db67.glb
Create a 1/2" Hex Bore Adapter for an Actobotics D-Shaft. Start by creating a hexagonal prism with a height of 8.75mm and a flat-to-flat diameter of 14.66mm. Add a circular flange at the base with a diameter of 17.75mm and a thickness of 2.5mm, featuring a rectangular cutout measuring 4mm by 18mm centered on the base. ...
shaft=6.4; dbore=true; dboreFraction=0.1; hexbore=false; marks=1; height=8.75; markRadius=6.5; outerhex=14.66; union () { difference () { union () { difference () { cylinder(h=2.5,d=17.75,center=false); translate ([-2,-9,1.5]) cube([4,18,2]); }...
glb/cad_88f61c2ecb9f.glb
Create a parametric washer by constructing a thin, flat cylinder with an outer diameter of 18mm and a height of 2mm. Center a concentric circular hole through the entire thickness of the object with an inner diameter of 5mm. Ensure the circular profiles are smooth with a high facet resolution of at least 64 segments to...
thickness = 2; innerDiameter = 5; outerDiameter = 18; difference() { outerRadius = outerDiameter / 2; innerRadius = innerDiameter / 2; $fn=64; cylinder(thickness, outerRadius, outerRadius, true); cylinder(thickness*1.01, innerRadius, innerRadius, true); }
glb/cad_d63d56e7d040.glb
Create a filament feeder guide mount designed to hold a 608 skateboard bearing. The main body is a complex bracket with a base measuring 40mm by 17mm by 15mm. On one side, incorporate a vertical arm that is 4mm wide and 17mm high, featuring a cylindrical cutout with a radius of 7.5mm centered 7.5mm from the bottom to a...
include <MCAD/2Dshapes.scad> module arm() { rotate([0,0,0]) { linear_extrude(15) square([4,17]); translate([0,0,7.5]) rotate([0,90,0]) cylinder(h=4,r=7.5,$fn=60); } translate([4,0,7.5]) rotate([0,90,0]) cylinder(h=1.5, r1=5, r2=4.25, $fn=60); } module mount1() { arm(); translate([1...
glb/cad_95336f41b062.glb
Create a filament feeder guide pulley by starting with a main cylinder that has a radius of 15mm and a height of 7.5mm. Center a cylindrical hole through the entire height of this part with a radius of 11mm to accommodate a 608 skateboard bearing. Around the outer perimeter of the pulley, create 61 evenly spaced radial...
module pulley() { bearings_r=11; difference() { cylinder(h=7.5,r=15,$fn=60); translate([0,0,-1]) cylinder(h=10,r=bearings_r,$fn=60); for (i = [0:60]) { rotate([0,0,6*i]) { translate([13.2,0,3.75]) rotate([90,0,0]) cylinder(h=2, r=0.875, $fn=30); ...
glb/cad_c35fbc1a8dc7.glb
Create a Direct Extruder Connector consisting of a central vertical axis. Start with a base cylinder 15.6mm tall with a radius of 4.25mm. Add a second cylinder on top of this base that is 3.8mm tall with a radius of 8mm, positioned so its bottom is 9.8mm above the base's bottom. Above this, add a threaded section 5mm t...
include <threads.scad> $fn=64; module solid1() { cylinder(h=15.6, r=4.25); color("yellow") cylinder(h=13.6 , r=6); cylinder(h=3.8, r=8); translate([0,0,9.8]) cylinder(h=3.8, r=8); translate([0,0,20.5-5]) { color("yellow") metric_thread(diameter=9.3, pitch=1, thread_size=1, length=5, groo...
glb/cad_8073101da90e.glb
Create a Direct Extruder Connector consisting of 18 identical rectangular fins arranged in a circular pattern. Each fin must be a rectangular prism with a width of 1.8mm, a thickness of 0.5mm, and a height of 6mm. Position these fins so that their center points are located 6.2mm from the central axis of the assembly. T...
include <direct-extruder-connector.scad> for (i = [0:18]) { rotate([0,0,i*360/18]) translate([6.2,-0.25,3.8]) linear_extrude(6) square([1.8,0.5]); }
glb/cad_50c82338a3dc.glb
Create a filament spool designed to hold a 75mm refill. Start by constructing a main wheel with an outer diameter of 100mm and a total width of 20mm. The wheel should have a central hollow core with an inner diameter of 75mm and a wall thickness of 2mm. Within the center of the spool, incorporate a metric thread with...
include <common.scad> module solid1() { wheel(); difference() { translate([0,0,wall]) { metric_thread(diameter=thread_dia-0.5,pitch=5,length=15); } translate([0,0,wall-0.01]) cylinder(r=inside_r+ring,h=spool_w); } difference() { translate([0,0,0]) { ...
glb/cad_bb9975a50e67.glb
Create a 75mm spool for filament refills. Start by constructing a main cylindrical barrel with a radius of 37.5mm and a total height of 20mm. The barrel should have a wall thickness of 2mm, meaning the inner hollow cylinder has a radius of 35.5mm and a height of 16.1mm, leaving a 3.9mm solid base at the bottom. At th...
include <common.scad> module solid1() { wheel(); translate([0,0,wall]) { difference() { cylinder(r=spool_r,h=spool_w); translate([0,0,-0.01]) cylinder(r=spool_r-barrel_wall,h=spool_w-15.9); translate([0,0,spool_w-17]) { metric_thread(diameter=thread...
glb/cad_02be26a593fb.glb