Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a centering ring for a vertical spool holder. Start with a solid cylinder that has a diameter of 50mm and a height of 12mm. From this cylinder, remove a smaller concentric cylinder from the center with a diameter of 25mm and a height of 14mm to create a hollow core. To finish the ring, remove several identical r...
include <spool_holder_config.scad> size = total_size - 2*(r_bearing[2] + washer_h + 2); max_h =spool_pin_h+2; cut_h = max_h + 2; module centering_ring(d) { difference() { cylinder(d=d-outer_diameter_undersizing,h=spool_pin_h); for(alpha=[0:(360/arms):360]) rotate(a=alpha,v=[0,0,1]) { translate([0,...
glb/cad_92d65cfe748b.glb
Create a small washer for a vertical spool holder. Construct a thin, flat cylinder with a height of 2mm. The outer diameter of this cylinder should be 22mm. Centered within this shape, create a circular hole with a diameter of 22.2mm that passes completely through the object.
include <spool_holder_config.scad> module small_washer() { difference() { cylinder(d=r_bearing[3]-outer_diameter_undersizing,h=washer_h); translate([0,0,-1]) cylinder(d=r_bearing[1]+inner_diameter_oversizing,h=washer_h+2); } } { color(small_washer_color) small_washer(); }
glb/cad_3dfc82b76405.glb
Create a vertical spool holder base with a total diameter of 200mm and a height of 10mm. The main body consists of a flat outer ring with a thickness of 10mm, leaving a central circular opening. Radiating from this center to the outer edge are several rectangular arms, each 10mm wide, spaced evenly around the circumfer...
include <spool_holder_config.scad> size = total_size; bearing_h = base_h + (r_bearing[0] - rotor_h)/2; module base() { intersection() { cylinder(d=size,h=100); union() { difference() { cylinder(d=size,h=base_h); translate([0,0,-1]) cylinder(d=size-2*base_elements_w,h=base_h+2); } for(...
glb/cad_728a224a7dd0.glb
Create a configurable vertical spool holder. Start by constructing a main rotor cylinder with a diameter of 60mm and a height of 30mm. At the center of this rotor, add a vertical pin with a diameter of 20mm and a height of 40mm to support the spool's center hole, and a larger central support cylinder with a diameter of...
include <spool_holder_config.scad> size = total_size - 2*(r_bearing[2] + washer_h + 2); total_rotor_h = rotor_h; total_support_h = rotor_h + support_h; total_pin_h = rotor_h + support_h + spool_pin_h; cut_h = total_pin_h + 2; module rotor() { difference() { union() { cylinder(d=size, h=total_rotor_h); ...
glb/cad_76b8b9910923.glb
Create a big washer for a vertical spool holder. Construct a flat, wide cylinder with a height of 3mm and an outer diameter of 22mm. Center a vertical hole through the middle of the cylinder with a diameter of 10mm. Ensure the final shape is a thin, circular disc with a precise central aperture.
include <spool_holder_config.scad> module big_washer() { difference() { cylinder(d=c_bearing[0]-outer_diameter_undersizing,h=washer_h); translate([0,0,-1]) cylinder(d=c_bearing[4]+inner_diameter_oversizing,h=washer_h+2); } } { color(big_washer_color) big_washer(); }
glb/cad_a702057c474c.glb
Create a configurable vertical spool holder consisting of a base, a rotating rotor, and supporting hardware. Start with a circular base 200mm in diameter. Centered on this base, place a large bearing with an outer diameter of 35mm, an inner diameter of 20mm, and a height of 12mm. Above the base bearing, place a large...
include <spool_holder_config.scad> use <spool_holder_base.scad> use <spool_holder_rotor.scad> use <spool_holder_centering_ring.scad> use <spool_holder_small_washer.scad> use <spool_holder_big_washer.scad> module bearing(dimensions,center) { color("LightSlateGray") difference() { cylinder(d=dimensions[0],h=dimensio...
glb/cad_0c3b3aeeed97.glb
Create a pinball rubber band by forming a torus with a circular cross-section of 3.1mm radius. The main ring should have a center-to-center diameter of 100mm, resulting in an outer diameter of 106.2mm and an inner diameter of 93.8mm. To ensure a flat base for stability, slice the bottom of the entire ring by removing a...
difference(){ union(){ rotate_extrude(convexity = 10, $fn = 64) translate([50, 2.9, 0]) circle(r = 3.1, $fn = 32); } translate([-250, -250, -2]) cube([500, 500, 2]); }
glb/cad_f9c75ff1e4d1.glb
Create a pinball flipper rubber by constructing a torus with a rectangular cross-section. The shape is formed by rotating a square with a side length of 3.6mm and a height of 9mm around a central axis. Position this square so that its center is exactly 25mm away from the axis of rotation. The resulting 3D model should ...
difference(){ union(){ rotate_extrude(convexity = 10, $fn = 64) translate([25, 0, 0]) square([3.6, 9]); } }
glb/cad_936559d5e71b.glb
Create a parametric cable clamp for a microphone stand with a total height of 15mm. The main body is a vertical cylinder with an outer diameter of 22mm. Subtract a central vertical cylinder with a diameter of 16mm to create a wall thickness of 3mm. On one side of the clamp, create a vertical opening 15mm wide that cu...
$fn = 100*1; stand_width = 16; cable_width = 5; recession_depth = 1; wall_size = 3; opening_width = 15; champfer_offset = 1; clamp_height = 15; module inner(){ color("blue")union(){ circle(d=stand_width+2*champfer_offset); recession_width = recession_depth+stand_width/2+cable_width/2; translate([-cable...
glb/cad_7c1598bdf63d.glb
Create a drawer box housing and matching drawers. The housing is a rectangular container with a total width of 88mm, depth of 65mm, and height based on the number of drawers (3 drawers in this configuration). The walls are 2mm thick. The housing features a series of hexagonal cutouts on the side panels, where each hexa...
use<write/Write.scad>; part = "drawerbox"; NUM_DRAWERS = 3; DRAWER_HEIGHT = 20; DRAWER_DEPTH = 62; DRAWER_WIDTH = 84; MESSAGE = "TEXT"; TEXT_FONT = "write/orbitron.dxf"; TEXT_HEIGHT = 10; TEXT_SHIFT_RIGHT = 0; TEXT_SHIFT_UP = 2; EMBOSSED = "yes"; india = 6 ; spacing = 1.2; dia = india + (spacing * 2); hoff...
glb/cad_147770a41ce7.glb
Create a Printable Stud Finder by constructing a main body that combines a central rectangular block measuring 18mm wide, 25mm deep, and 15mm high with two half-cylinders of 9mm radius and 15mm height attached to the front and back faces, resulting in an oblong shape with a total depth of 43mm. On the top surface, cent...
$fa=.5; $fs=.5; magnet_height=6; magnet_diameter=12; module GSLogo(){ cube([15,3,2]); cube([3,12,2]); translate([0,12,0])cube([5,3,2]); translate([15,0,0])cube([3,12,2]); translate([9,12,0])cube([9,3,2]); translate([9,9,0])cube([3,5,2]); translate([0,18,0])cube([3,12,2]); translate([0,18,0])cube([9,3,2]); translate(...
glb/cad_d28bcbbd7f38.glb
Create a parametric friction fit pole joiner consisting of two mirrored conical sections joined at their widest point. Each half is 70mm tall, creating a total height of 140mm. For each half, create a solid conical volume that tapers from a bottom outer diameter of 40mm to a top outer diameter of 38mm. Hollow out the...
adapter_shape_inside = 70; adapter_OD = 38; adapter_ODB = 40; adapter_ID = 34; adapter_IDB = 32.5; center_height = 70; grip_ID = 6; grip_spread = 51; grip_count = 12; adapter(); module f...
glb/cad_06275b439d94.glb
Create a corner joint for aluminum tubes. The main body is a three-way connector consisting of three cylindrical sockets meeting at a central point, oriented toward the corners of an equilateral triangle. Each socket has an inner radius of 5.2 mm (to accommodate a 10 mm diameter tube with a 0.2 mm margin) and a depth o...
tuberadius = 5.0; thickness = 2.5; wingthickness = 3.0; margin = 0.2; depth = 30.0; slitangle = 360*margin/(tuberadius+margin)+2; echo(slitangle); tabheight = 6; tabthick = 3; outerradius = tuberadius + thickness; slit = sin(slitangle/2)*2*outerradius; boltdiam = 2.7; natdiam = 5.0; natdig = 1.4; w...
glb/cad_9d51793856c9.glb
Create an Aqua Feeder electronics enclosure starting with a solid rectangular base measuring 102.8mm in length, 74.4mm in width, and 26mm in height. Hollow out the center to create a walls-and-floor shell with a wall thickness of 1.6mm, leaving a rectangular interior cavity of 101.2mm by 71.2mm and a depth of 25mm. Cu...
$fn=50; x=102.8; y=74.4; z=26; l=1.6; difference(){ union(){ cube([x,y,z]); } translate([l,l,l])cube([x-l*2,y-l*2,25]); translate([(x/2)-72/2-3.2,y-(13+25),0])cube([72,24.8,l+0.1]); translate([14,8,0])button(); translate([14,16,0])button(); translate([24,8,0])button(); translate([24,16,0])button(); translate([34...
glb/cad_531cac63fd4d.glb
Create an Aqua Feeder base by starting with a rectangular plate measuring 100mm by 71mm with a thickness of 2mm. At the coordinates (4, 41), (96, 4), and (96, 67), create three circular holes that pass completely through the plate, each with a radius of 1.5mm. Next, add two identical raised rectangular blocks, each me...
$fn=50; difference(){ cube([100,71,2]); translate([4,41,0])cylinder(h=2,r=1.5); translate([96,4,0])cylinder(h=2,r=1.5); translate([96,67,0])cylinder(h=2,r=1.5); translate([4,41,1])cylinder(h=2,r=2); translate([96,4,1])cylinder(h=2,r=2); translate([96,67,1])cylinder(h=2,r=2); } translate([15,55,0])lapa(); translate([7...
glb/cad_01fb90d0d0af.glb
Create an Aqua Feeder keyboard base. Start with a flat rectangular plate measuring 42mm by 20mm with a thickness of 0.6mm. Centered on this plate, add a second rectangular plate measuring 20mm by 35mm, also 0.6mm thick, extending perpendicularly to create a T-shape. Cut eighteen small square holes, each 3mm by 3mm by ...
keyboard(); module c(){ cube([3,3,1]); } module keyboard(){ y1=8; y2=16; y3=0; difference(){ union(){ cube([42,20,0.6]); translate([11,-8,0])cube([20,35,0.6]); } translate([7,y1,0])c(); translate([13,y1,0])c(); translate([17,y1,0])c(); translate([23,y1,0])c(); translate([27,y1,0])c(); translate([34...
glb/cad_8f7f9931c71a.glb
Create an Aqua Feeder housing by constructing a central vertical assembly on a flat base. Start with a base plate formed by two overlapping cylinders of radius 25mm and height 2mm, with a central circular hole of radius 5mm removed. Build the main body as a tapered vertical tower. Create a large conical section that ...
$fn=50; translate([0,5,-23]){ translate([-4,0,2])rotate([180,90,0])cylinder(h=50,r=2); translate([54,0,2])rotate([180,90,0])cylinder(h=50,r=2); difference(){ hull(){ translate([30,0,0])cylinder(h=2,r=25); translate([-30,0,0])cylinder(h=2,r=25); } translate([0,-5,0])cylinder(h=2,r=5); } } difference(){ union(){...
glb/cad_4fe7bc2df2c6.glb
Create an Aqua Feeder by starting with a central cylinder 13mm high with a radius of 4.5mm, centered on the origin. Remove a smaller concentric cylinder from the center that is 8mm high with a radius of 1.6mm, centered at a height of -3mm. Create six vertical rectangular slots through the main body by removing six cyli...
$fn=50; translate([0,0,7])cylinder(h=4,r=1.8,center=true); difference(){ cylinder(h=13,r=4.5,center=true); translate([0,0,-3])cylinder(h=8,r=1.6,center=true); rotate([0,90,0]){ for ( i = [0 : 5] ){ rotate( i * 360 / 6, [90, 0, 0]) translate([-1, 7.7, 0])cylinder(r=5,h=2.8,center=true); } } }
glb/cad_c5f86d8d2310.glb
Create a wall-mounted holder for an 8mm x-acto knife. The main body is a composite cylinder and sheath. Start with a central cylinder 13mm in diameter and 20mm high. Extend this shape downwards by adding a second cylinder, 5mm in diameter and 30mm long, aligned along the center axis to create a sheath for the blade. ...
$fn=20; tolerance = 1.0; handleDiameter = 8.0; handleInsertion = 20.0; bladeInsertion = 30.0; bladeHeight = 9.0; wallThickness = 1.5; bladeGap = 2.0; slotGap = 2.0; slotShift = 4.0; bladeSheathWidth = bladeGap + wallThickness * 2; mainCylinderDiameter = (bladeHeight + wallThickness * 2); mountAngle = 15.0; mountW...
glb/cad_13af2c8a2a5b.glb
Create a Parametric Box Generator consisting of two separate parts: a base and a cover. Both parts share a footprint of 40mm width and 25mm depth with rounded corners using a 3mm radius. The walls for both components are 0.8mm thick. For the base, create a hollow rectangular shell with a total height of 45mm (calculat...
bwidth = 40; bdepth = 25; height = 90; radius = 3; chamfer= 2.5; position=.50; overlap = 20; tol = .15; wall = .8; facets = 3; debug = false; $fn = 4*facets; bheight = height*position; theight = height*(1-position); r0 = radius; r1 = radius - chamfer; r2 = radius - (chamfer+.707*wall); r3 = radius - .707*w...
glb/cad_0167d69738fd.glb
Create a LaserUnicorn mount consisting of a central holder and integrated servo housing. Start by creating a base structure that combines a 30x30x3mm centered cube with a 130x20x3mm centered cube. Add a 30x30x8mm centered cube offset to position [15, -5, 2.5]. Integrate a central cylinder with a radius of 13mm and a he...
module placeLaserHolder() { difference() { union() { cube([30, 30, 3], center=true); cube([130, 20, 3], center=true); translate([15, -5, 2.5]) cube([30, 30, 8], center=true); translate([0, 0, 1.5]) placeCylinder(r=13, h=6, center=true); } translate([50, 0, 0]) placeCylinder(r=2.1, h=20, cente...
glb/cad_f51c70463841.glb
Create a circular coaster with a total diameter of 110mm and a height of 5mm. Construct the main body as a solid cylinder 110mm in diameter and 5mm tall. To create the rim, remove a smaller concentric cylinder from the center of the main body; this inner cutout should have a diameter of 108mm and a height of 7mm, posit...
union() { cylinder(3.8,55,55, $fn=200); difference() { cylinder(5,55,55, $fn=200); translate([0,0,-0.1]) cylinder(7,54,54, $fn=200); }; }
glb/cad_483224991ae1.glb
Create a Tetrahedron Customizer by generating a central cube with dimensions of 100mm x 100mm x 100mm, centered on the origin. Modify this cube using a Minkowski sum with a tetrahedron that has a size of 20mm. To ensure all edges are uniformly chamfered, include a second 20mm tetrahedron rotated 90 degrees on the Y-axi...
cubeSize = [100, 100, 100]; tetrahedronSize = 20; module tetrahedron(size) { vertices = [ [size, size, size], [-size, -size, size], [-size, size, -size], [size, -size, -size] ]; faces = [ [0, 1, 2], [0, 3, 1], [0, 2, 3], [1, 3, 2] ]; ...
glb/cad_ea11fd4ea702.glb
Create a Pen/Tool Holder consisting of a grid of hexagonal cells. The grid is 6 columns wide and 4 rows deep. Each cell is based on a hexagon with an inner diameter of 15mm and a wall thickness of 2mm, resulting in an outer diameter of 19mm. The cells are arranged in a staggered honeycomb pattern. To create the vertic...
columns = 6; rows = 4; diam = 15.0; depth = 50; wall_thickness = 2.0; rowVStep = 3.0; colVStep = 2.0; base_height = 1.0; base_outset = 0.0; drainHoles = true; drainDiameter = 2.0; radius_error = (diam/2) - (diam/2) * cos(180/6); fixed_diam = diam + 2*radius_error; outer_diameter = fixed_diam + 2*wall_thick...
glb/cad_5c90b9025645.glb
Create a Wood Glue Cap consisting of a base and a tapered top section. Start by creating a cylindrical base with a height of 12mm, a bottom diameter of 18mm, and a top diameter of 14.5mm. To improve grip, remove four horizontal cylindrical notches from the base; each notch should have a diameter of 8mm and a length of ...
$fn=128; bladeW1=0.8; bladeW2=1.5; bladeLen=8; bladeH=11; baseH=12; baseD2=14.5; baseD1=18; baseNotchD=8; baseNotchLen=1.4*baseD1; baseNotchH=5; baseNotchOffset=10; coneH=17; coneID1=12.5; coneID2=14.5; main(); module main(){ difference(){ translate([0,0,baseH])cylinder(h=coneH,d2=coneID2+1,d1=baseD2...
glb/cad_e87827f8df00.glb
Create a Raspberry Pi mounting bracket consisting of two mirrored, angled support arms. First, construct a base bracket by creating a cube 10mm wide, 22mm deep, and 22mm high, centered on the origin. Hollow out the center of this cube with a smaller 15mm by 17mm by 17mm cube. Add a flat rectangular plate 10mm wide, 24m...
x=[1,0,0]; y=[0,1,0]; z=[0,0,1]; module bracket(){ difference(){ union(){ rotate(x*45) difference(){ cube([10,22,22],center=true); cube([15,17,17],center=true); } cube([10,24,5],center=true); } translate(z*-50)cube([100,100,100],center=true); translate([0,-13,3]) rotate(x*-90) cube([6,3,100],cen...
glb/cad_b67367fba7b0.glb
Create a dodecahedron corner connector. Start with a sphere of radius 15mm. From this sphere, remove material using the intersection of three extruded polygons, each 6mm thick, oriented to align with the three edges meeting at a vertex of a regular dodecahedron. These polygons should be shaped to accommodate faces made...
module connector() { translate([0,0,3]) render() difference() { render() intersection() { sphere(r=15); union() { multmatrix(m=[[-0.809017,0.587785,-0.000000,0],[-0.587786,-0.809017,0.000000,0],[0.000000,-0.000000,-1.000000,0],[0,0,0,1]]) { translate([0,0,-3.000000]) linear_extrude(height=6.000000) polygon(points=[ [1...
glb/cad_b5e4308f3585.glb
Create an Auger consisting of a central shaft and a helical screw thread. The overall length of the object is 50mm. Start by creating a central solid cylinder with a diameter of 5mm and a height of 50mm, using 32 facets for the cylinder's resolution. Wrap a helical blade around this central shaft. The blade should ha...
length=50; rotations=3; outer_dia=20; inner_dia=5; auger_thickness=2; inner_shaft=true; outer_shaft_thickness=0; cut_in_half=false; scoche=0.01; halfscoche=scoche/2; pi=3.14159265358979323846264338327950288; module helix(length,thickness,id,od,rotations=1,slices=500){ helix_width=od/2-id/2; minq=0.75; q=min...
glb/cad_33af27f06cf1.glb
Create a storage tray and lid for tokens. The tray is a rectangular block with rounded corners, measuring 138mm in length, 106mm in width, and 18mm in height, with a corner radius of 5mm. Hollow out the center of the tray to a depth of 16mm, leaving a 2mm floor and 1mm thick walls. Within this hollow space, create a gr...
part = "both"; tokenDiameter = 30.4; lidMargin = 0.0; test_size = 0; module roundedCube(vec,rad) { hull() { translate([rad,rad,0]) cylinder(h=vec.z,r=rad); translate([rad,vec.y-rad,0]) cylinder(h=vec.z,r=rad); translate([vec.x-rad,vec.y-rad,0]) cylinder(h=vec.z,r=rad); translate(...
glb/cad_b4318c6d9cb5.glb
Create a replacement shoe strap pin by constructing two identical mirrored components joined at a central flat interface. For one component, start with a base cylinder 1.5mm thick with a radius of 8mm. On top of this base, center a cylinder with a radius of 3mm and a height of 3mm. Add a further cylinder with a radius ...
module pin() { cylinder(r=8,h=1.5,$fn=45); cylinder(r=3,h=3,$fn=45); translate([0,0,1.49]) cylinder(r=1.9,h=6,$fn=45); translate([0,0,7.48]) cylinder(r=1.4,h=2,$fn=45); translate([0,0,9.47]) cylinder(r=1.9,h=2,$fn=45); } difference() { union() { translate([0,-2,0]) rotate([90,0,0]) pin(); translate([0,2,0]) ...
glb/cad_fafffdaeead3.glb
Create a ZigStar LAN ZigBee Gateway enclosure consisting of a main body and a lid. For the main body, create a rectangular box with outer dimensions of 32.5mm width, 65mm length, and a total height of 65.5mm. The walls should be 2.5mm thick with 2mm rounded corners. Hollow out the center to accommodate a module of 27...
what_to_generate = "exploded-view"; module_width = 27.5; module_length = 60.0; module_h = 24.0; connectors_wall_th = 1.0; connectors_wall_stab = 4.5; sidewall_th = 2.5; case_radius = 2.0; rj45_win_w = 16.4; rj45_h = 12.5; usbc_win_w = 10.0; usbc_win_h = 4.0; rj45_connector_offset = 19.5; antenna_wall_th = ...
glb/cad_72668204e9c8.glb
Create a toothbrush holder consisting of a thick, rounded rectangular base with two vertical holes. The main body is a centered block with a total length of 96mm, a height of 50mm, and a thickness of 48mm. The ends of this block are capped with semi-cylindrical faces with a radius of 25mm. The top surface of the block...
fn=100; nT=2; nD=24; H=50; L=nD*nT*2; echo ("longeur=" ,L); epaisseur = 2*nD; echo ("epaisseur=" ,epaisseur); reposeBrosse(); module m() { translate([0,0,5]) hull() { translate([0,0,epaisseur*0.3])scale([0.9,0.5,0.2])socle(); translate([0,0,epaisseur*2])scale([1.3,1.5,0.1]) socle(); } } module socle() { union() ...
glb/cad_bafd6b26abbc.glb
Create a WiZ Smart dial switch holder by starting with a central square plate measuring 86.5mm by 86.5mm with a thickness of 8mm. On the top surface of this plate, centered along the Y-axis, add two rectangular protrusions. The first protrusion should measure 32mm wide by 19mm deep and 8mm high, positioned 30mm from th...
use <../Librerie/RoundAnything/polyround.scad> use <../Librerie/LibreriaDiMattia.scad> $fn=90; hFe=0.5; h=8; wh=86.5; module SmartDialSwitch(Add=0) { difference() { union() { translate([0,0,h/2]) cube([wh+Add,wh+Add,h], center=true); translate([0,30,-hFe+h/2]) cube([32,19,h], center=tr...
glb/cad_1ed04d3e275d.glb
Create a WiZ Smart dial switch holder consisting of a flat rectangular base plate with a thickness of 5mm. The main body of the plate should be 120mm long, 10mm wide, and 13mm high. On the bottom surface of the plate, incorporate two rectangular slots designed to prevent fixation screws from applying pressure to the ...
use <path_extrude.scad>; use <bezier.scad>; use <roundedcube.scad>; module ForoMetricoQuadrato(M,L) { foro= M*0.85 + 0.2; translate([0,0,L/2])cube([foro,foro,L], center=true); translate([0,0,-foro/4]) cylinder(h=foro/2, r1=foro, r2=foro/2); } module ViteMetricaTestaPiana(M,L) { translate([0,0,0.05*M...
glb/cad_e0e7b37543bd.glb
Create a life counter consisting of a circular base and a rotating spinner arm. Construct the base as a cylinder with a diameter of 60mm and a height of 7mm. Remove a central vertical hole with a diameter of 21mm. Around the perimeter of the base, create 20 evenly spaced rectangular detent slots. Each slot is 5mm wid...
$fa=0.5; $fs=0.5; use <Write.scad> outerDiameter=60; thickness=7; BBRadius=10; holeDiameter=BBRadius * 2 + 1; BBHoleX=5; BBHoleY=3; BBHoleZ=2; poleHeight=thickness-1; spinnerThickness=3; spinnerDiameter=BBRadius*2+BBHoleX*2+2; numberThickness=2; fontHeight=5; difference() { union() { union() { difference() { ...
glb/cad_af64261540f7.glb
Create a circular business card holder. Start by constructing a ring-shaped base with a height of 24mm. The base is formed by rotating a circle with a 12mm radius around a central axis at a distance of 30mm, then removing a central cylinder to create a hollow core. Cut 24 identical slots into this base, spaced evenly ...
number_of_cards = 24; card_preview = "Show"; card_thickness = 1; card_width = 85.6; card_height = 54; card_position = 22; tilt = -10; lean = 25; slot_height = 4; base_radius = 30; base_height = 12; base_ratio = 100; difference() { Base(); if (card_preview == "Show") { #Cards(number_of_cards); } else {...
glb/cad_cf8de2f5a352.glb
Create a BUBO Base Block by constructing a truncated octahedron with a height of 40mm. The geometry is defined by its hexagonal and square faces. On each of the eight hexagonal faces, implement a triple-knob connection system. This system consists of a hexagonal outer rim with a wall thickness of 1mm. Within this rim...
$fn = 24; h = 40; b = 2; t = -1; d = 1; f = 0.1; knob_round = 2 / 3; hex_r = h * sqrt(3) / 4; square_r = h / 2; hex_a = acos(-1 / sqrt(3)); trunc_a = 180 + acos(-1 / 3) / 2; edge = h * sqrt(2) / 4; hex_h = edge * sqrt(3); knob_r = (hex_h - 2 * b) / 6; hex_hole_d = d * 2; module hex_shape() { intersection_for(j = [0...
glb/cad_04e1774c2cef.glb
Create a parametric table by constructing a flat square tabletop and four supporting legs. Start by creating a square plate with dimensions of 10mm by 10mm and a thickness of 1mm. Position this plate so its bottom surface sits at a height of 10mm. To support the plate, add four identical square legs, each with a base o...
legLength = 10; legBase = 1; tableSize = 10; module leg(x,y) { translate([x,y,0]) cube([legBase, legBase, legLength]); } module plate() { cube([tableSize, tableSize, 1]); } module table() { translate([0, 0, legLength]) plate(); for (y = [0, tableSize - legBase]) { for (x = [0, table...
glb/cad_90659dbc8345.glb
Create a customizable servo pulley. Start by creating a main cylindrical body with a diameter of 25mm and a total height of 6mm. Carve a V-shaped groove into the outer perimeter of the cylinder to create a pulley profile. This groove should have a width of 3mm. On the top face of the pulley, create a circular cutout ...
pulley_diameter = 25; grove_size=3; OpeningAngle = 100; cutout=5; hole_diam=2; horn_type = 1; horn_drill_diam = 1.5; horn_height = 6; horn_plate_height = 2; wheel_or_idiam = pulley_diameter; wheel_or_diam = grove_size; wheel_height = 2*wheel_or_diam+0; rh_diam1 = 8.5; rh_diam2 = 21.5; rounded_horn_drill_dist...
glb/cad_f0d5cd0d8a93.glb
Create a weight for robotics experiments consisting of a cylindrical base and a rounded top. Start by creating a cylinder with a radius of 10mm and a height of 30mm. Centered on top of this base, add a smaller cylinder with a radius of 5mm and a height of 20mm, positioned to start at a height of 29mm. Finally, place a ...
size=30; gap=10; cylinder(h = size, r=10); translate([0,0,size-1]) cylinder(h = 5+gap+1+5, r=5); translate([0,0,size+gap+5+5]) resize(newsize=[20,20,10]) sphere(r=10); translate([0,0,size]) resize(newsize=[20,20,10]) sphere(r=10);
glb/cad_59b831792eb7.glb
Create a board patch for a µdelta v1.0. Start with a rectangular base plate measuring 92.7mm in length and 52mm in width, with a total thickness of 5.3mm. The plate should have rounded corners with a radius of 2.7mm. Cut a large rectangular opening through the center of the plate to create a frame. This opening should...
h=52; l=92.7; deltax=10; m3r=1.6; m3rhead=2*m3r+0.1; m3thead=1.6*m3r+0.1; thick=m3thead+2; border=m3rhead+1; difference() { minkowski() { cube(size=[l,h+deltax,1]); cylinder(r=border,h=thick-1,$fn=100); } translate([0,0,-0.1]) { translate([m3rhead+0.5,deltax-m3r,0]) cube(size=[l-2*m3rhead-1,h+2*m3r,thi...
glb/cad_c58575468d20.glb
Create a parametric chamfered cube by starting with a central cube that is 50mm on all sides. Remove material from all twelve edges to create flat, 45-degree chamfers. Each chamfer should have a width of 10mm. The resulting shape should be a symmetrical polyhedron where every edge of the original 50mm cube has been rep...
cubeSize = 50; chamferSize = 10; overlap = 1; module cubeWithChamfer(cubeSize, chamferSize) { difference() { cube([cubeSize, cubeSize, cubeSize], center = true); chamferPrism(cubeSize, chamferSize, 1); chamferPrism(cubeSize, chamferSize, 2); chamferPrism(cubeSize, chamferSize, 3...
glb/cad_2aaaa7e10050.glb
Create a chamfered cube by starting with a main cube that is 50mm on all sides, centered at the origin. Remove material from all twelve edges to create flat, 45-degree chamfers. Each chamfer should have a depth and width of 10mm relative to the cube's edges. Ensure that all twelve edges of the cube are uniformly bevele...
cubeSize = 50; chamferSize = 10; module cubeWithChamfer(cubeSize, chamferSize) { difference() { cube([cubeSize, cubeSize, cubeSize], center = true); chamferPrism(cubeSize, chamferSize, 1); chamferPrism(cubeSize, chamferSize, 2); chamferPrism(cubeSize, chamferSize, 3); cha...
glb/cad_5c51a594f237.glb
Create a Shower Niche Bottle Platform with a total width of 80mm, length of 190mm, and height of 6mm. Start with a rectangular base of these dimensions, rounding all four corners with a 10mm radius. Create a hollowed-out interior by removing a central rectangle that leaves a border thickness of 2mm around the perimet...
Width = 80; Length = 190; Height = 6; Corner_Radius = 10; Border_Thickness = 2; Mesh_Width = 4; Mesh_Thickness = 2; Weep_Holes = 8; $fn=120; union(){ difference(){ union(){ difference() { base(0); translate([0,0,-1]) resize([Width-Border_Thickness*2,Length-Border_Thickness*2,He...
glb/cad_856daebcbab6.glb
Create an SMD Component Reel Holder consisting of two main parts: a main rod and a locking cap. First, construct the main rod. Start with a cylindrical base flange with a diameter of 19mm and a height of 3mm, featuring a 45-degree bevel on the bottom edge. Above this flange, extend a straight cylindrical section with ...
Show="all"; View="printable"; SpoolW=30; RodL=SpoolW; holeos=0.4; AxleD=6.2; AxleR=(AxleD+holeos)/2; AxleContactL=8; AxleClearance=0.5; FlangeOD=19; FlangeOR=FlangeOD/2; FlangeEdgeT=1; FlangeBevelT=3; RodR=25.4/4; CastleR=1.5; FinW=2; FinT=2.9; FinExtraL=0; FinL=SpoolW+FinExtraL; CapL=9; CapRecessD=7.5;...
glb/cad_cba4446d4f83.glb
Create a 24 Pin Knitting Loom. Start by constructing a circular ring frame with a height of 2mm, an inner diameter of 13mm, and an outer diameter of 15mm. Distribute 24 pins evenly around the center of the ring. Each pin consists of a cylinder 10mm tall with a diameter of 1mm, topped with a small spherical knob that ...
$fn=20; roundLoom(frameHeight = 2,frameDiam = 14, frameWidth = 2, nPins=24, pinHeight=3,pinDiam=1, addKnobs=true,knobDiam = 1.3, addSide=true,sideHeight=2); module roundLoom(frameHeight=5,frameDiam = 40,frameWidth=5, nPins=24,pinHeight=10,pinDiam=4, addKnobs=true,knobDiam=6, addside=true,sideHeight=10)...
glb/cad_ef084dd715ca.glb
Create a bearing cap by constructing a truncated cone with a flat base and a hollow center. The outer shape is a cone that starts with a base radius of 8mm and tapers upward to a top radius of 6mm over a total height of 4mm. Remove a cylindrical core from the center of this shape to create a hole with a radius of 4mm; ...
$fn=100; tol = 0; thickness = 2; ir = 4+tol; or = ir+thickness; screw = 2; height = screw+thickness; difference () { cylinder(r1=or+2,r2=or,h=height); translate([0,0,thickness]) cylinder(r=ir,h=height); }
glb/cad_406eadfffc15.glb
Create a filter case for a telescope filter. Start by creating a main cylindrical body with an inner diameter of 66mm and a height of 8mm. Add a sidewall around the perimeter with a thickness of 1.6mm. To create the hinge mechanism, add two cylindrical protrusions on opposite sides of the outer wall. These protrusions...
_1_filterDiameter = 66; _2_filterHeight = 8; _3_sidewallThickness = 1.6; _4_edgeThickness = 1.6; _5_magnetDiameter = 5; _6_magnetHeight = 2; _7_magnetWall = 2; _8_slotWidth = 13; _9_nubWidth = 6; _10_nubDepth = 6.5; _11_magnetReleaseDiameter = 0; module hinge(y, radius, height) { translate([0,y,0]) { cyli...
glb/cad_603d82b62c27.glb
Create an iPhone 4S dock consisting of a flat base and a vertical support structure. Start with a rectangular base plate 6mm thick, with a total width of 66.54mm and a depth of 78.13mm. Centered on this base, construct a hollow rectangular sleeve to hold the phone, with outer dimensions of 66.54mm wide, 23.63mm deep, a...
dock_h = 35; platform_h = 15; connector_h = 9; base_h = 6; base_w = 10; wall_thickness = 4; phone_w = 58.54; phone_thickness = 9.63; slot_w = 1.5; leg_length = 40; radius = 2.79; cable_hole_w = 21.52; difference(){ union(){ translate([0,(leg_length+base_w+slot_w+2*wall_thickness+phone_thickness)/2-(base_w+slot_w+wall...
glb/cad_5fd4044b10aa.glb
Create a servo mount for a camera board. Start with a central rectangular base measuring 38mm in length, 2mm in width, and 7mm in height. Centered on this base, add a rectangular clip section measuring 8mm by 6mm by 7mm, and a thinner rectangular plate measuring 8mm by 10mm by 1.6mm positioned at the center. Attach two...
$fn=60; module standoffs() { translate([0,1,0.5]) { #cube([30,8,2], center = true); } } module servobase() { translate([0,10.0,3]) { #cube([38,2,7], center = true); } } module servoHole() { rotate([90,0,0]) { cylinder(h = 23, r = 1.0); } } module servoHubHole() { rotate([90,0,0]) { cylinder(h = 35, r =...
glb/cad_c8ac0bc09094.glb
Create a camera filter adapter by starting with a main outer cylinder that has a diameter of 59mm and a height of 4mm. From the center of this cylinder, remove a square prism hole with a width and depth of 36mm that passes completely through the object. Additionally, remove a concentric inner cylinder with a diameter o...
$fn=100; d_out = 59.0; d_in = 36.0; height= 4.0; rotate([180,0,0]) difference() { cylinder(h=height, r=d_out/2+1); union() { translate([0,0,2]) { intersection() { cube([d_in, d_in, height*2],true); cylinder(h=height, r=d_in/2+4); } } translate([0,0,1.0]) ...
glb/cad_952094fad9b5.glb
Create a camera filter adapter consisting of a hollowed-out cylinder with a total height of 7mm and an outer diameter of 58mm. Remove a central cylindrical core with a diameter of 32mm that runs through the entire height. At a height of 5mm from the base, create a wider internal circular cutout with a diameter of 47mm ...
$fn=50; d_out = 58.0; d_in = 32.0; neopixel_width = 7.5; height= 7.0; num_holes=16; difference() { cylinder(h=height, r=d_out/2); union() { translate([0,0,-0.5]) cylinder(h=height+1.0, r=d_in/2); translate([0,0,5.0]) cylinder(h=2.0+0.5, r=d_in/2+neopixel_width); translate([0,0,1.0]) ...
glb/cad_3e2b2edaecae.glb
Create a camera filter adapter by constructing a hollow cylinder with an outer diameter of 59mm and an inner diameter of 52.85mm, with a total height of 4mm. To create the mounting mechanism, remove a central cylindrical core from the bottom of the adapter with a diameter of 57mm and a height of 1.5mm. Additionally, ca...
$fn=150; d_out = 59.0; d_in = 52.85; height= 4.0; rotate([180,0,0]) difference() { cylinder(h=height+1.5, r=d_out/2+1); union() { translate([0,0,2]) { cylinder(h=height+1.5, r=d_in/2); } translate([0,0,1.0]) cylinder(h=height-2.5, r=d_out/2-1.0); translate([0,0,-0.5]) {...
glb/cad_fa6d44ff1c0d.glb
Create a Monitor Bracket consisting of two identical V-shaped components. For each component, start with a base shape formed by two rectangular blocks of 22mm length, 13.5mm width, and 15mm height, joined at a 131-degree angle. The two blocks should be mirrored across the X-axis, with one block positioned at the origin...
angle=131; height=11; length=22; width=9.5; t=2; tt=t*2; plugOffset=5; heightToPlug=2; plugWidth=13; module monitorBracket(plug) { difference() { union() { cube([length, width+tt, height+tt], center=false); rotate(a=[0,0,-angle]) translate([0,-width-tt,0]) ...
glb/cad_e91bafc46e2f.glb
Create a USB drive cap starting with a rounded box that is 15.8mm wide, 7.8mm deep, and 16.5mm high, with corner radii of 2.0mm. Hollow out the center of this box by removing a smaller rectangular volume of 13.6mm by 5.6mm and 15.5mm high, leaving a wall thickness of 1mm and a base thickness of 1.0mm. Inside the bottom...
use <MCAD/boxes.scad>; $fn=60; difference() { roundedBox([15.8,7.8,16.5],2.0, false); translate([0,0,1.0]) cube([13.6,5.6,15.5], true); translate([3.0,3.5,0.2]) sphere(2.0, true); translate([-3.0,3.5,0.2]) sphere(2.0, true); } union() { translate([0,1.0,-1.2]) cube([10.0,1.2,8.0], true); ...
glb/cad_c48652f5fccd.glb
Create a 3D text model of the word "Thingiverse" using the DIN Alternate font. Set the font size to 10mm and extrude the characters to a total thickness of 3mm, centering the extrusion along the Z-axis. Arrange the letters horizontally with a spacing value of 1mm between each character.
text_to_render = "Thingiverse"; font_name = "DIN Alternate"; font_size = 10; text_height = 3; spacing = 1; vertical = false; module render_text() { if (vertical) { for (i = [0 : len(text_to_render) - 1]) { letter = str(text_to_render[i]); translate([i * (font_size + spacing), 0, ...
glb/cad_d775c60b8440.glb
Create an Angled Motor Mount by starting with a main cylindrical base 28mm in diameter and 9mm in height. From this base, remove four vertical holes with a diameter of 3.1mm, spaced 19mm apart, arranged every 90 degrees around the center. Create four hexagonal slots with a side dimension of 5.4mm that penetrate the b...
outerDiameter = 28; baseHoleSpacing = 19; baseHoleDiameter = 3.1; baseKeyDiameter = 5.4; height = 9; mountAngle = 15; tiltAngle = 10; thickness = 2; innerMountRadius = 3.5; motorMountCenterOffset = 0.5; motorMountType = 1; diameter = 2.1; outerHoleSpacing = 19; innerHoleSpacing = 13; centerHoleDiameter = ...
glb/cad_597e0b071f28.glb
Create a Russian Tower cupola inspired by Saint Basil's Cathedral. The main body is an onion dome formed by a series of stacked rings of tiles. Each ring is a hollowed-out conical section with a wall thickness of 0.1mm. The rings vary in radius and height to create the characteristic bulbous curve, tapering at both the...
include <calcmesh.scad> isdrawgreen = 1; isdrawred = 1; for (i = [0:1:nzxarr]) { z1 = zxarr[i][0]; rad1 = zxarr[i][1]; z2 = zxarr[i][2]; rad2 = zxarr[i][3]; phaseshift = zxarr[i][4]; color0 = zxarr[i][5]; drawring(z1, rad1, z2, rad2, phaseshift, color0); } if (isdrawgreen) { translate([0, 0, antenna...
glb/cad_b1705e618b15.glb
Create a base for an LED digital clock display with a total width of 66mm, length of 14mm, and height of 15mm. Center the object on the origin. Subtract a central LED channel from the base that is 66mm wide and 10.5mm high (10mm strip width plus 0.5mm tolerance), positioned to accommodate a WS2812 LED strip. Create t...
led_spacing = 10; strip_width = 10; strip_height = 2; tolerance = 0.5; led_size = 5; base_width = 66; base_length = 14; base_height = 15; base_space = 4; segment_h_length = 6; segment_width = 8; diffuser_height = .28; led1 = [0,1.0 * led_spacing]; led2 = [0,0.0 * led_spacing]; led3 = [0,-1.0 * led_spacing]; seg_a ...
glb/cad_38b5e65e72a1.glb
Create a base for a digital clock display with a total size of 66mm width, 38mm length, and 15mm height. Center the block on the origin. Subtract a central LED channel from the base that is 66mm wide and 10.5mm high (strip height of 2mm plus 0.5mm tolerance), positioned to accommodate a 10mm wide LED strip. Create se...
led_spacing = 10; strip_width = 10; strip_height = 2; tolerance = 0.5; led_size = 5; base_width = 66; base_length = 38; base_height = 15; base_space = 4; segment_h_length = 24; segment_width = 6; diffuser_height = .28; led1 = [0, -3.0 * led_spacing]; led2 = [0,-2.0 * led_spacing]; led3 = [0,-1.0 * led_spacing]; led...
glb/cad_c3995669f9dd.glb
Create a modern birdhouse consisting of a main body, a front wall, and a tunnel entrance. The main body is an octagonal prism with a radius of 70mm and a length of 120mm. The walls are 10mm thick. At the rear, add a 5mm thick octagonal back plate. This plate must feature two mounting slots, each 6mm long and 4mm wide...
cave = 1+0; semicave = 2+0; elongated = 3+0; oval = 4+0; assemble = 0; style = 1; version = "v0.0.5"; shape = 8; body = 70; length = 120; wall = 10; holes = 8; drainage = 2; spacing = 12; collar = 30; collarstrength = 3; cuff = 30; cuffstrength = 2; front = 3; entrance = 17; tunnel = 2; protrude = 10;...
glb/cad_fff62ed8af63.glb
Create a Curve Stitching design by first constructing a solid circular base with a radius of 55mm and a height of 10mm. Hollow out the center of this base by removing a cylinder with a radius of 50mm and a height of 5mm, positioned 5mm above the bottom surface, leaving a 5mm thick outer wall and a 5mm thick floor. Ins...
max = 50; density =10; height = 10; md = max/density; difference() { cylinder(h=height, r=max + 5, $fn = 100); translate([0,0,height/2]) cylinder(h=height/2, r = max, $fn = 100); } for (j = [ 0 : 3] ){ rotate (j*90) { for ( i = [0 : density] ){ translate ([0,(max/density)*i,height/2]) { rotate...
glb/cad_1bfecaa734b2.glb
Create an N Scale Ramp Railer tool. Start with a base rectangular slab 200mm long, 20mm wide, and 1.36mm thick. This base is slightly tilted at a 3-degree angle along its length. Cut a central channel out of this slab to create two parallel rails. The rails should be 1.65mm wide each. The inner gap between these rail...
$fn=25; l=200; w=20; iw=8.8; tw=1.65; tiw = 6.1; difference () { union () { difference () { hull() { cube([l,w,.01]); rotate([0,-3,0]){cube([l,w,.01]);} } translate([0,w*.5-(iw+tw*2)*.5,0]){ translate([-1,0,-.01]){cube([l+2,tw,1.36]);} translate([-1,iw+tw,-.01]){cube([l+2...
glb/cad_50dc0115d3e1.glb
Create a US Coin Organizer by constructing a solid block and carving out four coin-sized slots. Start with a base block 99mm tall, 45mm wide, and 7mm thick. Tilt the entire assembly 8 degrees along the X-axis. Carve four semi-cylindrical channels into the top edge of the block to hold coins of different diameters: 18....
module coins(gap=1.3,coin1=18.91,coin2=20.05,coin3=22.21,coin4=25.26,height=99,tilt=8){ intersection(){ union(){ difference(){ translate([-0.5,-16,0]) cube([coin1+coin2+coin3+coin4+gap*5.5,27,height]); difference(){ rotate(0,[1,0,0]){ translate([coin1*0.5+gap,0,0]){ translate([0,coin1*0.5-coin4*0.5,0]){ cylinder(r=coin...
glb/cad_af69541765ef.glb
Create a rack mount ear for a device measuring 235mm wide by 31.5mm high. Start by creating a rail mount plate that is 15.88mm wide, 43.66mm high, and 4.5mm thick. In this plate, create two centered vertical holes with a diameter of 5mm, positioned at 6.35mm and 38.1mm along the height. Next, create a C-shaped clip to...
device_w=235; device_h=31.5; device_clip_w=10; clip_l=75; clip_t=3.5; rib_t=3; latch_t=3.5; zipper_d=6; rack_screw_distance3=31.75; rack_screw_edge_distance=12.70/2; rack_screw_d=5; rack_U=44.45; rack_H=rack_U-0.787; rack_W=450.85; rack_rail_w=15.88; rack_rail_t=4.5; X=0.4; $fn=50; brims=[ [0,0], [0,rack_...
glb/cad_f4471bd19b75.glb
Create a mushroom model consisting of a stem and a cap. For the stem, create a cylinder with a radius of 9mm and a height of 25mm, then intersect it with a sphere of radius 8mm centered at Z=10mm and scaled vertically by a factor of 3.125 to create a tapered, rounded top. For the cap, create a hollowed spherical shell ...
mush_rad=24; gill_thick=1.3; gills2=8; squish=0.65; module gills() { scale ([1,1,squish]) for (i=[1:gills2]) { rotate([90,0,i*180/gills2]) cylinder(r=mush_rad-1, h=gill_thick, center=true); } } module cap () { difference() { translate ([0,0,3]) union () { scale ([1,1,squish]) difference() { transla...
glb/cad_7c35ad210c34.glb
Create two identical rack mount ears for a network switch. Each ear starts with a main rectangular base plate measuring 125mm in length, 43.7mm in height, and 3.5mm in thickness. At the front edge of the base plate, add a vertical mounting bracket that is 4.5mm thick, 43.7mm high, and 21.5mm deep. Drill two holes thr...
offset=85; rack_U=44.45; rack_H=rack_U-0.787; rack_w=21.5; rack_screw_distance2=15.88; rack_screw_distance3=31.75; rack_screw_d=5.5; rack_t=4.5; rack_holes=[ [(rack_H-rack_screw_distance3)/2,13], [rack_H-(rack_H-rack_screw_distance3)/2,13], ]; ear_t=3.5; ear_l=40; ear_screw_d=4; ear_hole_distance=14.5; e...
glb/cad_11286037c757.glb
Create a keychain consisting of a rectangular base plate with rounded corners and a raised outer frame. The main plate has a thickness of 1.0mm, while the outer frame and the raised label area have a total combined thickness of 1.6mm. The frame has a width of 2.0mm and an inner corner radius of 2.0mm. On the top left ...
use <write/Write.scad> quality=30; build_lug=1; plate_thickness = 1.0; label_thickness = 0.6; frame_thickness = 1.0; text_line_1 = "HPL ROCKS!"; font_height = 6; label_font="orbitron.dxf"; frame_width = 2.0; frame_space = 2.0; frame_rounding_inner = 2.0; frame_rounding = frame_rounding_inner + frame_width; hole_d...
glb/cad_fec6844760d0.glb
Create a Timeswitch cover by constructing a hollow rectangular box with an outer footprint of 80.6mm by 80.6mm and a total height of 20mm. The walls of the box should be 2.3mm thick. On the top face, center a large circular opening with a diameter of 56mm that penetrates through the top surface. To create the interior...
$fn=100; wall=2.3; body_x=76; body_y=76; body_z=20; rad=2.5; centre=[(body_x+wall*2)/2, (body_y+wall*2)/2,0]; module fillet(r, h) { translate([r/2, r/2 , 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + ...
glb/cad_44d82d9fa712.glb
Create a sturdy wall hook with a total base length of 60mm, a thickness of 15mm, and a height of 10mm. The main body consists of a rectangular base with rounded ends, each with a diameter of 7mm. From one end of this base, extend a hook arm that is 15mm long and 7mm thick. This arm should bend upward to a height of 20m...
use <MCAD/polyholes.scad> show_part = true; layer_h = 0.4; nozzle_d = 0.4; de = 0.1; P01 = 7; P10 = 60; P15 = 10; P16 = 10; P17 = 3.2; P18 = 6.2; P19 = 3.2; P191 = 15; P20 = 15; P21 = 7; P22 = 20; P24 = 20; assembly(); module assembly() { union() { if (show_part) { hook(); } ...
glb/cad_e99a7d140688.glb
Create a µDelta LCD support and cache. Start with a base rectangular plate measuring 60mm wide, 150mm long, and 2mm thick. Add two vertical side walls, each 20mm high and 2mm thick; position one wall along the left edge from Y=8.5mm to Y=138.5mm, and the other along the right edge at the same height and position. At th...
side=true; difference() { union() { cube([60,150,2]); if(side) union() { translate([0,-5,0]) cube([60,5,2]); translate([0,-6,0]) cube([60,2,20]); translate([0,150,0]) cube([60,5,2]); difference() { translate([0,154,0]) cube([60,2,20]); #translate([20,153.9,9]) ...
glb/cad_53e1d5237b49.glb
Create a pseudo penrose triangle by arranging fifteen identical cubes, each with a side length of 15mm, into a triangular loop. Each cube must be rotated 44.85 degrees around the Z-axis and -35.05 degrees around the Y-axis. Position the first five cubes in a row along the X-axis, spaced 16.65mm apart from center to cen...
C=15; D=1.11*C; E=.96*C; module godet() rotate([44.85,-35.05,0]) cube(C); for(i=[0:4]) translate([i*D,0,0]) godet(); for(i=[1:4]) translate([i*D/2,i*E,0]) godet(); for(i=[1:3]) translate([(8-i)*D/2,i*E,0]) godet();
glb/cad_ae90ff790af3.glb
Create a Tricopter Yaw Mount designed for a 12mm tube and a micro servo. Start by creating a main tube mount: an octagonal prism with a radius of 10mm and a height of 20mm, with a concentric cylindrical hole 12.1mm in diameter running through its center. Remove a small cylindrical channel with a radius of 1.6mm and a l...
module TubeMount() { difference() { rotate([90,0,0]) difference() { rotate([0,0,22.5]) cylinder(r=10,h=20, $fn=8); translate([0,0,-.5]) cylinder(r=6.05,h=21, $fn=90); } translate([-11,-10,0]) rotate([0,90,0]) cylinder(r=1.6,h=21, $fn=90); } } module Flange() { translate([-4.5,-10.25,8]) difference(...
glb/cad_5ab9d4e0d707.glb
Create a Tricopter Yaw Mount designed for a 12mm tube. Start with a central circular motor plate with a radius of 14.25mm and a thickness of 2.25mm. In the center of this plate, create a vertical hole with a radius of 3.5mm. On opposite sides of the plate, create two mounting slots; each slot is formed by the hull of t...
module MotorMountHole() { translate([-1.5,7,-.1]) hull() { translate([1.5,0,0]) cylinder(r=1.375,h=3.2, $fn=64); translate([1.5,3.5,0]) cylinder(r=1.375,h=3.2, $fn=64); } } module MotorPlate() { difference() { cylinder(r=14.25,h=2.25, $fn=90); translate([0,0,-.1]) cylinder(r=3.5, h=2.7, $fn=90); ...
glb/cad_ad868728ad6c.glb
Create a customizable Pandora charm in the shape of a cube with a side length of 10mm. Center a cylindrical hole with a diameter of 6mm through the middle of the cube. On four of the cube's faces, create recessed images by engraving a 8mm square area into the center of each face to a depth of 1mm. Each image should be...
i1 = "toadstool.dat"; i2= "bshield.dat"; i3= "toadstool.dat"; i4= "toadstool.dat"; depth=1; cube_size=10; image_size=8; charm_hole=6; pixels=40+0; image=[i1,i2,i3,i4]; rot=[[90,90,0],[0,90,0],[270,90,0],[180,90,0]]; ep=0+0.01; difference(){ intersection_for(i=[1:4]) {side(i);} cylinder(h=cube_size+ep,r=cha...
glb/cad_c03e9344d7ad.glb
Create a Roland SH-4d Synthesizer Stand consisting of two mirrored side brackets and three connecting struts. For the brackets, create a side slab with a thickness of 20mm. The slab's profile is a modified rectangle with rounded corners (radius 10mm) and a total length of 190mm. Cut a void from the slab to accommodate...
$fn=360; object=1; riser_height = 100; anchor_length = 100; strut_length = 260; strut_clearance = 0.25; strut_wall = 1.6; wall=1.2; inner_clearance=2; inner_l_t=153; inner_l_b=155; inner_rear_h=24; inner_d=10; outer_l=190; outer_rear_h=50; outer_d=inner_d; bracket_thickness = inner_d + 10; bracket_rear_h = ri...
glb/cad_372244abe7f2.glb
Create a circular incense holder with a total outer radius of 40mm and a depth of 9mm. The main body is a revolved profile with 42 facets. The outer wall has a thickness of 3.5mm, and the base floor also has a thickness of 3.5mm. In the center of the holder, create a cylindrical peg with a top radius of 7.5mm and a to...
mode = "Final"; peg_height = 13; peg_top_radius = 7.5; center_radius = 39; outer_radius = 40; tray_depth_mm = 9; stick_thickness = 1.3; stick_length = 200; sides = 42; wall_thickness = 3.5; floor_thickness = 3.5; overhang_ratio = 0.0; PI = 3.141592653589793238; c = stick_length; b = outer_radius * min(over...
glb/cad_fb93dd6c869c.glb
Create a 3D model of the "Star of Life" emblem. The primary shape is a six-armed star with a uniform thickness of 2mm. The star is formed by a central hexagonal core with six equal arms extending outwards. Centered within the star, create a recessed area to house the Rod of Asclepius. The rod consists of a vertical st...
fudge = 0.1; Medic(2); module poly_path3249(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-75.906281,15.446470],[-74.531241,15.092910],[-73.304477,14.907417],[-72.321531,14.416930],[-71.486861,13.740950],[-71.486861,0.284500],[-71.585026,-11.493846],[-71.806439,-13.2458...
glb/cad_3451fe4e1542.glb
Create a 3D model of the word "MEDIC" in a bold, sans-serif typeface. Extrude the letters to a uniform height of 2mm. Ensure the letters are connected or positioned closely to form a single cohesive unit. The overall geometry should be a flat, embossed text design suitable for use as a keychain or ornament.
fudge = 0.1; Negative_Medic(2); module poly_path3217(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-29.391088,15.513261],[-33.103398,15.406591],[-32.307898,15.197441],[-29.987618,14.302491],[-29.545588,13.749281],[-29.345418,12.705301],[-29.241428,-10.474539],[-29.42188...
glb/cad_f8b971ce038c.glb
Create a 3D model of the EMS Star of Life. Start by constructing a six-armed star (the Star of Life) with a thickness of 2mm. The star is a non-equilateral, stylized geometric shape where the arms vary in width and length to form the traditional emblem. Centered within the star, add the Rod of Asclepius. This consists...
fudge = 0.1; Snake(2); module poly_path3016(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-28.323085,-91.137625],[-33.340308,-99.817405],[-36.434564,-105.621747],[-38.285580,-109.942323],[-39.573085,-114.170805],[-40.604948,-118.455505],[-41.161268,-122.593977],[-41.420...
glb/cad_34351da4c873.glb
Create a Star of Life symbol by combining three identical rectangular prisms. Each prism must have a length of 20mm, a width of 5mm, and a thickness of 5mm. Position the first prism centered on the X-axis. Create the second prism and rotate it 120 degrees around the Z-axis relative to the first. Create the third prism ...
Star_Of_Life(); module Star_Of_Life(Pseudo_Diameter=20,Thickness=5) { Arbitrary_Ratio_Between_Diameter_And_Width=.25; Degrees_In_Circle=360; Segments_in_Star=3; Base_Rotation_Factor=Degrees_In_Circle/Segments_in_Star; union() { translate([-Pseudo_Diameter/2,-Pseudo_Diameter*Arbitrary_Ratio_Between_Diameter_An...
glb/cad_a190e31b246e.glb
Create a 3D model of the EMS Star of Life with a total diameter of 50mm and a thickness of 5mm. The main body is a six-armed star with a central circular core and a rod of Asclepius featuring a snake entwined around it. Remove a series of letter-shaped cutouts from the face of the star to spell the word "MEDIC". Thes...
use <star_of_life_with_snake.scad>; use <Negative_Medic.scad>; Star_Of_Life_With_Snake_Medic(50); module Star_Of_Life_With_Snake_Medic(Pseudo_Diameter=1,Thickness=5,Keyhole=true,Math_Operation=2,Edge_Roundness=100) { Key_Radius=Pseudo_Diameter*.09; Base_Medic_Scale_Factor_Width=.02*Pseudo_Diameter; Base_Medic_Scale...
glb/cad_94381dc2d329.glb
Create a Compact Bowden Extruder consisting of a NEMA 17 motor mount, a frame mounting plate, and a filament tunnel. The motor mount is a circular plate with a radius of 27mm and a thickness of 5mm. Remove a center hole with a radius of 11.45mm and a larger axle hole with a radius of 9mm. Add four M3 mounting holes a...
epsilon = 0.01; extra_radius = 0.15; m3_major = 2.85; m3_radius = m3_major / 2 + extra_radius; m3_wide_radius = m3_major / 2 + extra_radius + 0.2; m3_head_radius = 3 + extra_radius; drive_gear_outer_radius = 8.00 / 2; drive_gear_hobbed_radius = 6.35 / 2; drive_gear_hobbed_offset = 3.2; drive_gear_length = 13 + 0; d...
glb/cad_59ae88e7e695.glb
Create a rectangular 3D plaque with a base and a raised surface. First, construct a flat rectangular base centered on the origin with a width of 60mm, a length of approximately 83.48mm (calculated as 60 divided by an aspect ratio of 0.71875), and a height of 1mm. On top of this base, generate a 3D relief surface base...
surfaceWidth = 50.0; aspectRatio = 184 / 256; surfaceLength = surfaceWidth / aspectRatio; surfaceHeight = 5.0; baseWidth = surfaceWidth * 1.2; baseLength = baseWidth / aspectRatio; baseHeight = 1.0; 3DSurface(surfaceWidth, surfaceLength, surfaceHeight); module 3DSurface( xSize, ySize, zSize ) { mc = 0.02; sur...
glb/cad_df613d58def5.glb
Create a 3D Tao symbol with a total radius of 50mm and a uniform thickness of 5mm. The symbol is composed of two interlocking, comma-shaped halves that together form a large circle. To construct one half, create a shape defined by a large outer arc with a radius of 50mm and a smaller inner arc with a radius of 25mm. ...
radius = 50; resolution = 100; thickness = 5; tao(R = radius, segments = resolution, h = thickness); module tao(R = 50, innerR = 10, segments = 100, h = 5) { comma(left= true); rotate([0,0,180])comma(h=5,left= false); } module comma(R = 50, segments = 100, left = true, h = 5) { colors = ["white","black"]; p...
glb/cad_19ac81d5b79d.glb
Create an AR-15 pivot pin installation tool consisting of a main cylindrical shaft and a perpendicular handle. Form the main shaft as a cylinder with a diameter of 0.25mm and a length of 1.5mm, oriented along the Y-axis. At the center of this shaft, add a perpendicular cylindrical handle with a diameter of 0.25mm and a...
$fn = 20; union() { difference() { rotate([0,90,0]) { cylinder(h=1.5, d=0.25); } translate([1.35,0,0]) { cylinder(h=0.55, d=0.10, center=true); } } rotate([90,0,0]) { cylinder(h=0.75, d=0.25, center=true); } }
glb/cad_2af559a3633f.glb
Create a Storage Tray with overall dimensions of 100mm width, 100mm depth, and 15mm height. The tray is composed of three stacked sections, each 5mm high. The bottom section is a hollowed-out rectangular frame with a wall thickness of 2mm. The middle section consists of four vertical walls, 2mm thick, that rise from ...
WIDTH = 100; DEPTH = 100; HEIGHT = 15; DESIGN = 5; $fn = $preview ? 10 : 200; WALL_THICKNESS = 2; STANDARD_SIZE = 100; SECTION_HEIGHT = HEIGHT / 3; tray(); module tray() { difference() { union() { bottom_tray(); middle_tray(); top_tray(); } if (DESIGN == 1) tray_underside_design_...
glb/cad_0b9a4161f0ef.glb
Create a Fair Skew Dice, an asymmetric trigonal trapezohedron with 6 face-transitive sides. The die should have a base size of 16mm. Use a phase shift of 30 degrees to create the skew and a stretch factor of 1 to maintain a spherical distribution of vertices. Round the edges with a radius of 0.05mm. The faces should b...
size = 16; phase = 30; stretch = 1; rounding = 10; depthpips = 0; diapips = 1.90; laydown = 1; addmirror = 0; skew_dice(size, phase, stretch, rounding/100, depthpips, diapips, laydown); if (addmirror) translate([size*2,0,0]) mirror([1,0,0]) skew_dice(size, phase, stretch, rounding/100, depthpips, diapips, laydo...
glb/cad_a06c2cbc943c.glb
Create a replacement stock for a toy gun by combining a rounded head and a serrated shaft. First, construct the head as a block 70mm long, 20.5mm wide, and 25.5mm high. Apply a 4.5mm rounding to all vertical edges. Remove a cylindrical void with a 2.5mm radius running through the center of the head's length, and cut a ...
headWidth = 20.5; headHeight = 25.5; headLength = 70; headRounding = 4.5; bodyHeight = 13.4; bodyWidth = 13.4; bodyLength = 120; serrationWidth = 3; serrationDepth = 1; union(){ mainshaft(headLength,headWidth,headHeight,headRounding); translate([(headHeight-bodyHeight)/2,(headWidth-bodyWidth)/2,headLength]) shaft(...
glb/cad_443f6432f2d1.glb
Create a replacement stock for a toy gun. Start with a main rectangular shaft measuring 205mm in length, 20mm in width, and 25mm in height. Apply a 4.5mm rounding radius to all four long edges of this shaft. At the rear end of the shaft, create a cutout that removes a section 80mm long and 9.5mm deep from the top cente...
width = 20; height = 25; length = 205; rounding = 4.5; buttDepth = 17; buttHeight = 65; buttCutoutLength = 80; buttDiagLength = 120; translate([0,0,length]) rotate([0,90,0]) stock(); module stock(){ difference(){ union(){ shaft1(length,width,height,rounding, buttCutoutLength, rounding+5); translate([length-butt...
glb/cad_a6ff50fd85e4.glb
Create a Kossel 2020 spool holder arm with a uniform thickness of 5.81mm. Start by forming the main body from two joined rectangular sections: a small base block measuring 23.27mm by 40.50mm and a longer extending arm measuring 142.12mm by 11.79mm. Connect these such that the arm extends from the side of the base. Use ...
$fn=50; millimeters = 1; thickness = 5.81*millimeters; difference(){ union(){ cube([23.27,40.50,thickness]); cube([142.12,11.79,thickness]); hull(){ translate([142.12,0,0]) cube([0.01,23.23,thickness]); translate([142.12-11.79,0,0]) cube([0.01,11.79,thickness]); } hull(){ translate([23.27,0,0]) cube([0.0...
glb/cad_953474a82263.glb
Create a phone cubicle mount consisting of two identical vertical pegs. Each peg is a composite cylindrical structure. Start with a main cylinder that has a radius of 2.1mm and a total height of 26mm. Hollow out the center of this cylinder by removing a series of concentric rings: first, a ring with a major radius of 3...
$fn=16; module clip() { resize([11,14.8,1.8], auto=[true,true,true]) difference() { translate([0,0,0]) linear_extrude(height = 1.8, center = true, convexity = 10) import (file = "ph_br.dxf", layer = "1"); translate([5,15,1.4]) rotate([-4,0,0]) cube([15,15,2],center = true); translate([5,20,-1.4]) rotate...
glb/cad_b307395b560f.glb
Create a low-profile rectangular enclosure for an ELM327 OBD2 scanner. The main outer body should be 48.2mm long, 24.8mm wide, and 11.6mm high, with all vertical corners rounded to a 3mm radius. The walls should have a consistent thickness of 1.6mm. Hollow out the center to create a cavity that is 45mm long and 21.8m...
length = 45; width = 21.8; height = 10; wall = 1.6; $fn = 60; difference () { roundBox(length+2*wall, width+2*wall, height+wall, 3, 0.5); up(wall+0.001) roundBox(length, width, height, 2, 0); up(height+wall-(2/2)-1) cube([33, width+1.4, 2], true); } difference () { roundBox(length+2*wal...
glb/cad_464b188e2cb5.glb
Create a Simple Lever Pulley System consisting of a rectangular frame and associated mechanical components. Construct the main frame using a base slab 100mm wide, 20mm deep, and 5mm thick. Add two vertical pillars, each 10mm wide, 10mm deep, and 100mm tall, positioned at opposite ends of the base slab, specifically at ...
module tripoly(){ polyhedron( points = [ [0,0,0], [5,0,0], [5,20,0], [0,20,0], [2.5,0,5], [2.5,20,5]], triangles = [ [0,1,2], [2,3,0], [0,4,1], [4,1,2], [2,5,4], [2,3,5], [3,5,4], [3,0,4] ] ); } translate([0,30,0]){ cube([100,20,5]); translate([0,5,5]) cube([10,10,100]); translate([90,5,5]...
glb/cad_6a611a755907.glb
Create a simple lever and pulley system consisting of several rectangular beams and small connecting components. First, construct a long rectangular base beam measuring 100mm in length, 20mm in width, and 5mm in height. Along the top surface of this base, place a smaller rectangular block measuring 40mm by 5mm by 1mm...
module tripoly(){ polyhedron( points = [ [0,0,0], [5,0,0], [5,20,0], [0,20,0], [2.5,0,5], [2.5,20,5]], triangles = [ [0,1,2], [2,3,0], [0,4,1], [4,1,2], [2,5,4], [2,3,5], [3,5,4], [3,0,4] ] ); } translate([0,30,110]) rotate(a=[180,0,0]) { translate([0,5,105]) cube([100,10,5]); translate([...
glb/cad_fc7c366844a0.glb
Create a Customizable Honeycomb Stand consisting of a grid of hexagonal cells. The grid should be 4 rows wide and 11 columns deep. Each cell is defined by an inner radius of 5mm and a wall thickness of 3mm. The total height of the honeycomb walls is 35mm. To construct the grid, create hexagonal tubes with an outer rad...
NumberOfRows = 4; NumberOfColumns = 11; InnerRadius = 5; WallHeight = 35; balm_d = 17+1; balm_r = balm_d/2; balm_h = 68; roller_d = 19+2; roller_r = roller_d/2; roller_h = 120; oil_h = 85; solsticeScentsPerfumeTester_d = 10; solsticeScentsPerfumeTester_r = solsticeScentsPerfumeTester_d/2; solsticeScentsPerfumeTeste...
glb/cad_f51c3a868832.glb
Create a centrifugal blower fan with a total width of 40mm and a height of 13mm. Start by creating a central cone that tapers from a base radius of 20mm at the bottom to a top radius of 5mm at the peak. Remove a cylindrical hole with a diameter of 2mm through the center of this cone along its vertical axis. Add two rin...
FAN_WIDTH = 40; FAN_HEIGHT = 13; RING_HEIGHT = 2; RING_WIDTH = 4; BLADE_COUNT = 35; BLADE_WIDTH = 1; BLADE_ANGLE = -45; SHAFT_DIAMETER = 2; bottomRadius = FAN_WIDTH / 2; topRadius = bottomRadius * 0.25; ringCenterRadius = bottomRadius - RING_WIDTH; shaftRadius = SHAFT_DIAMETER / 2; difference() { cylinder(r1 = botto...
glb/cad_be38114620cb.glb
Create a Christmas Tree Stand consisting of a central socket and an 8-point star base. First, construct the socket as a hollow cylinder with a height of 9.7mm. The outer diameter is 12.5mm (radius 6.25mm) and the inner hole has a radius of 5.15mm. For the base, create an 8-point star centered under the socket. The s...
$fa = 1; $fs = 0.01; offset = 0.15; standType = 5; layerHeight = 0.3; firstLayer = 0.2; trunkHeightWished = 10; baseRadius = 5; bottomBranchRadius = 50; trunkHeight = floor(trunkHeightWished/layerHeight)*layerHeight - layerHeight + firstLayer; difference() { cylinder(trunkHeight, r = baseRadius+1.25+offset); ...
glb/cad_13c0cb08249f.glb
Create a JTAC TAC5 Powertube consisting of a main hollow cylindrical body and a narrower upper extension. The main body is a cylinder 70mm tall with an outer diameter of 25mm and an inner bore of 23mm. This lower section features a longitudinal slot 4mm wide and 70mm long running up the center of the wall. Additionally...
union(){ difference(){ intersection(){ translate([0,0,70])cylinder(10,12.5,12.5,$fn=200); translate([0,-4.5,70])cube([14,9,10]); } translate([0,0,70])cylinder(11,4.5,4.5,$fn=200); rotate([0,90,0])translate([-75,0,0])cylinder(14,3.5,3.5,$fn=200); } difference(){ transl...
glb/cad_dff23462a3d9.glb
Create a vending machine prototype consisting of a grid of open-faced cells supported by legs. Start by constructing a large outer rectangular shell with a thickness of 12.7mm. The shell's overall dimensions should be 114.3mm in width, 304.8mm in depth, and 114.3mm in height. Within this shell, carve out a 4x5 grid of ...
millimeter = 1; inch = 25.4*millimeter; goldenRatio = (1+sqrt(5))/2; cellWidthHeight = 6*inch; cellDepth = 2*goldenRatio*cellWidthHeight; cellArrayRows = 4; cellArrayCols = 5; wallThickness = 0.5*inch; legLengthWidth = 2.5*inch; legHeight = 12*inch; module cellArray(){ for(i=[0:1:cellArrayRows-1]) for(k=[0...
glb/cad_ee3eb79d30e9.glb