Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a tripod robot connector frame. The main body is a flat, equilateral triangle with a thickness of 7.2mm. The triangle's overall size is defined by a radius of 19mm from the center to the vertices. At the center of the triangle, create a hexagonal hole with a radius of 3.5mm. At each of the three vertices, creat...
servoposition=26.5; ralt=7.2; svbt=1.5*2; svbh=3; num=4; plateau =11.5; wall=1.5; stab=1.1; zdim=5; sl = 23; sw = 12.1; smhr = 0.75; smhd = 27.0; z_gear=3.5; d_gear=4.7+0.2; sd_gear=1.5; y_slot = 2.5; x_slot = sw; z_slot = 5+40; svdepth=27.5; h_clamp = 0.51; cons = servoposition-x_slot/2- svbt+0.1;...
glb/cad_e0fe361c3425.glb
Create a parametric knob consisting of a knurled main body, a bottom skirt, and a domed top. Start with a main cylindrical section 14mm in diameter and 6.5mm high. Around this cylinder, create a knurled texture using 20 equidistant rectangular protrusions that extend from the center to the outer edge. At the base, add ...
$fn=64; diameter = 14; height = 6.5; numKnurls = 20; skirtDia = 15; skirtHeight = 1.3; domeDia = 9; domeHeight = 1; shaftDia = 6.3+0.5; shaftLength = 6.65; shaftFlatDia = 4.44+0.5; shaftFlatLength = 4.63; shaftLowerDia = 6.7+0.5; _shaftLowerL = shaftLength - shaftFlatLength; stressThickness = 1; stressHeight = (...
glb/cad_8ac6c7c0920d.glb
Create a food processor shaft consisting of a multi-stage vertical assembly. Start with a hexagonal base prism that is 18mm in diameter and 22.25mm tall. Directly on top of this base, add a tapered transition section 5mm in height that flares outward from the hexagonal top to a circular diameter of 22mm. Above this tra...
module hexshaft(d,h) { $fn=6; cylinder(d=d, h=h); } module mainshaft() { hexd=18; hexh=22.25; len=108; fd=13.75; sd=22; fh=47; flatoffset=1.5; c=20; pind=4.75; $fn=90; difference() { union() { hexshaft(hexd,hexh); color("red") {translate([0,0,hexh]) {cylinder(h=len-hexh,d=fd);};} translate([0,...
glb/cad_998e4c2f3fb8.glb
Create a CAT Standard 12VDC click-lock plug and socket set. For the plug, create a main rectangular body 22mm wide, 30mm deep, and 5.6mm high. Subtract two blade slots: one measuring 1.2mm by 6mm by 6.2mm, and another measuring 6mm by 6mm by 1.4mm. Carve out wiring spaces of 4.25mm by 11mm by 6mm and 6mm by 11mm by 4...
for(n=[0:1]) { for(m=[0:2]) { translate([n*62,m*35,0]) { union() { difference() { translate([-2,-8,-1.2]) { cube([22,30,5.6], center=false); } translate([-.5,-8.5,0]) { cube([20,8.5,7]); } translate([-1,-6.5,-1.5]){ cube([2.5,3,1.6]); } translate([16.75,-6.5,-1.5]){ cube([2.5,3,1.6]); } translate([-3,-8.5...
glb/cad_6d6c895fd8e6.glb
Create a CAT Standard click-lock socket. The main body is a rectangular block measuring 17mm wide, 26mm deep, and 4mm high. Within this body, carve out two blade sockets: one measuring 3mm by 8mm by 7mm positioned at [2, 1, 0.5], and a second measuring 7.2mm by 8mm by 3mm positioned at [8.9, 1, 1.6]. On the front fac...
for(n=[0,50]) { for(m=[0,30,60]) { translate([n,m,0]) { mirror([ 1, 0,0 ]) { difference() { cube([17,26,4], center=false); translate([2,1,.5]) { cube([3,8,7]); } translate([8.9,1,1.6]) { cube([7.2,8,3]); } translate([2.5,-.5,1]) { cube([1,2,6]); } translate([9.75,-.5,3.25]) { cube([5.4,2,1]); } ...
glb/cad_7cf4352c3d37.glb
Create a NiMH 12V D Cell Battery Holder. Start with a main rectangular block measuring 184mm x 131mm x 36mm. Hollow out the center to create a box with walls 1.5mm thick on the sides and a floor thickness of 0.8mm, leaving the top open. Inside the box, create five cell compartments. To form these, place four transvers...
difference() { union() { difference() { cube([184,131,36]); translate([1.5,3.7,.8]) { cube([181,123.6,37]); } } difference() { union() { translate([36+15.5,-3,0]) { cube([9,3,36]); } translate([108+15.5,-3,0]) { cube([9,3,36]); } translate([36+15.5,131,0]) { cube([9,3,36]); } translate([108+15.5...
glb/cad_4302f4204f85.glb
Create a Honeycomb Stacking Stool based on a truncated octahedron pattern. Start with a central base plate that is a square slab measuring 12mm by 12mm with a thickness of 1mm, centered at the origin. To this base, add four rectangular legs, each 8mm long, 1mm wide, and 1mm thick. Position these legs so they extend fro...
ew=8; xw=0.35; ww=1; d=ew / sqrt(2); module leg(ew, ww, rot){ d=ew / sqrt(2); rotate([0,0,rot]) translate([d,0,0]) difference(){ rotate([0,45,0]) translate([0,-ww/2,-ww/2]) cube([ew,ww,ww]); translate([d-ww,-ww,-d-ww]) cube([ww*2,ww*2,ww]); } } module stool(ew, ww){ difference(){ union(){ cube([ew+ww*4,e...
glb/cad_67de567f4381.glb
Create a Honeycomb Stacking Stool based on a truncated octahedron geometry. Start by creating a central square plate with a width and length of 31mm and a thickness of 6mm, centered at the origin. To form the legs, construct four identical arm assemblies. Each assembly consists of two intersecting rectangular beams, ...
ew=25; xw=0.6; ww=3; hww=ww+xw; d=ew / sqrt(2); module leg(ew, ww, rot){ d=ew / sqrt(2); rotate([0,0,rot]) translate([d,0,0]) difference(){ union(){ difference(){ rotate([0,45,0]) translate([0,-ww,-ww/2]) cube([ew,ww*2,ww]); translate([d,-ww*2,-d-ww]) cube([ww,ww*4,ww*2]); } translate([-ww/2...
glb/cad_8652f257c82e.glb
Create a customizable measuring cup with a capacity of 100ml. The main body is a hollowed-out scoop with a wall thickness of 1mm. The exterior shape is formed by a hull of spheres that creates a tapered, faceted basin. The bottom of the cup is flat, and the sides angle outward toward a wide open top. Attached to the s...
use <write/Write.scad> unit=1.0; volume=100; label1_text=""; label2_text=""; label_thickness = 1.5; label1_height = 8.0; label1_font="orbitron.dxf"; label2_height = 8.0; label2_font="orbitron.dxf"; adjust=1; wall_thickness_=1.0; build_measure_volume_reference=0; ref_volume=137.2013; r_fn=12; labels=[ [0,l...
glb/cad_f4ec286807e8.glb
Create a decorative screw head washer consisting of a rounded, torus-like head with a central shaft hole. The overall head diameter is 21mm and the central shaft diameter is 3mm. The main body is formed by the intersection of a torus with a cross-sectional radius of 2.25mm (calculated as one quarter of the difference b...
$fn=30; $fn1=30; $EC=0.3; X_Section = false; Count = 9; HeadD = 21; ShaftD = 3; BvlLift = 1; BaseH = 0; Metal_WashD = 18; Metal_WashThk = 1.35; Metal_WashZ_Frac = .5; SCount = sqrt(Count)/2; if (((Metal_WashD+2) > HeadD) && (BaseH > 0) && (Metal_WashD > 0) && (Metal_WashThk > 0)) { color("Red"...
glb/cad_7808d20ff5e6.glb
Create a Slide Bearing consisting of a central cylindrical body with a length of 30mm and an outer diameter of 13.1mm. The core of the body is a hollow shaft with an inner diameter of 8.3mm. To create the structural profile, remove five rectangular slots from the inner shaft, each 11.5mm wide and 1mm thick, spaced even...
$fn=60; Mode = 0; L=30; W=34; H=11; G=13; T=6; Sholder = 1.5; Detent = 1.5; BandWid = 2; Plate_R = 30; Plate_Thk = 4; ShaftD = 8.1; Shaft_Wall = 5; Clearance = 0.2; ScrewD = 3; HeadD = 5; L1 = 0; ScrewSepX = 24; ScrewSepZ = 18; PlateScrewR = 11; OuterD = ShaftD + Shaft_Wall; Head = (HeadD-S...
glb/cad_df6cd93ef87c.glb
Create a Parametric Bracket Nema for a NEMA 23 motor. The model consists of a base plate and a vertical back plate connected by a fillet, forming an L-shaped bracket. The base plate is a square with a side length of 68.4mm (calculated as NEMA width 58.4mm + 2 * (wall thickness 5mm + fillet radius 2.5mm)). The wall thi...
use <MCAD/teardrop.scad> nema = 23 ; thick = 5; fillet_rad=2.5; center_hole_height_from_base_margin=4; center_hole_dia_margin=0; width_margin=0.0; small_hole_dia_margin=0.0; small_hole_pitch_margin=0; use_teardrops = true ; function get_nema_width(p) = lookup(p, [ [ 8, 20.32 ], [ 11, 27.9 ], [ 14, 3...
glb/cad_625013567590.glb
Create a Chocolate-Cappuccino Spiral-Pattern Positioning-Device by starting with a base cylinder that has a radius of 160mm and a height of 2mm. To create the spiral pattern on top of this base, place a series of smaller cylinders, each with a height of 2mm and a 20-facet resolution, following a spiral path. Starting f...
union() { for(i = [270 : 360]) translate(v = [((0.5 * i) * cos((i * 4))), ((0.5 * i) * sin((i * 4))), 0]) cylinder(h = 2, r = (i / 10), $fn = 20); cylinder(h = 2, r = 160); }
glb/cad_a515d8b6882e.glb
Create a Chocolate-Cappuccino Spiral-Pattern Positioning-Device. Start by constructing a solid base consisting of a cylinder with a radius of 160mm and a height of 2mm. To this base, add a series of overlapping cylinders, each with a height of 2mm and a 20-facet resolution. These cylinders should be positioned along a ...
difference() { union() { for(i = [270 : 360]) translate(v = [((0.5 * i) * cos((i * 4))), ((0.5 * i) * sin((i * 4))), 0]) cylinder(h = 2, r = (i / 10), $fn = 20); cylinder(h = 2, r = 160); } scale(v = [5, 5, 0]) import_stl("/home/synchron/progs/openscad/Debian-OpenLogo.stl", convexity = 5); }
glb/cad_180d1b119454.glb
Create a 3D model consisting of a flat rectangular base with several geometric towers and shapes. Start with a base plate measuring 95mm by 95mm with a thickness of 2mm. On this base, place a rectangular tower measuring 30mm by 30mm with a height of 50mm. The top of this tower should be hollowed out by removing a smal...
$fn=100; module profile(radius) { difference() { square(radius); circle(r=radius); } } module ring_fillet(ring_radius,profile_radius,profile_angle) { translate([0,0,profile_radius])rotate_extrude(convexity=10)translate([ring_radius,0,0])rotate([0,0,profile_angle])profile(profile_radius); } module line...
glb/cad_475712b1244f.glb
Create a water bowl for a bird feeder by starting with a main cylindrical base that has a radius of 76mm and a height of 35mm. Add a second, thinner cylindrical disk on top of the base with a radius of 86mm and a height of 3mm. To form the reservoir, carve out a central cylindrical void with a radius of 73mm and a heig...
radius = 76; depth = 35; wall_thickness = 3; lip = 10; width = 140; module base() { cylinder(h = depth, r = radius); translate([0, 0, depth - wall_thickness]) { cylinder(h = wall_thickness, r = radius + lip); } } module trim_edge() { translate([-(radius + lip), width/2, -1]) { cube([2 * (radius + lip)...
glb/cad_dd40051868e5.glb
Create a customizable hinge consisting of two rectangular wings connected by a central joint. Each wing should be 18mm wide and 2mm thick. The total height of the hinge is 42mm. The central joint is formed by an alternating sequence of four interlocking cylindrical segments. Create a central shaft with a diameter of 3...
use <utils/build_plate.scad>; build_plate_selector = 1; hingePieces = 4; hingeHeight = 42; wingWidth = 18; wingThickness = 2; tolerance = 0.3; insideDiameter = 3; outsideDiameter = 6; numHoles = 2; holeDiameter = 8; vertSupport = 1; numberOfSupports = 7; supportThickness = 0.4; cl = 42; printHalf = 0; b...
glb/cad_d96691d4cd52.glb
Create an Xbox One Controller Mount by starting with a base rectangular block 70mm wide, 25mm deep, and 6mm thick. Attach two vertical walls, each 6mm wide and 25mm deep, extending 30mm upward from the base: one at the far left edge and one at the far right edge. On the left side of the base, add a rectangular extensio...
difference(){ union(){ cube([70,25,6]); translate([70,0,0]) cube([6,25,30]); translate([-6,0,0]) cube([6,25,30]); rotate([0,30,0]) translate([-54,0,8]) cube([43,25,6]); translate([-45,0,0]) cube([6,25,70]); translate([35,25/2,0]) cylinder(r=25,h=6,$fn=60); translate([-39,0,0]) cube([20,25,6]); translate([-25,0,0])...
glb/cad_6b7a30e6b93c.glb
Create an Xbox One Controller Mount by starting with a base rectangular block measuring 70mm wide, 50mm deep, and 6mm high. Add two vertical side walls, each 6mm wide, 50mm deep, and 30mm high, positioned at the far left and right edges of the base. On the top surface of the base, centered along the depth, place a rect...
module mount(){ difference(){ union(){ cube([70,50,6]); translate([70,0,0]) cube([6,50,30]); translate([-6,0,0]) cube([6,50,30]); rotate([0,45,0]) translate([-65,0,2]) cube([55,50,6]); translate([-45,0,0]) cube([6,50,65]); translate([-39,0,0]) cube([20,50,6]); translate([-25,0,0]) cube([6,50,14]); } rotate([0,90,0]...
glb/cad_b523dc0c88c9.glb
Create a Flatsurface Bearing Holder by starting with a base plate formed from the convex hull of three cylinders, each with a radius of 3mm and a height of 3mm, positioned at the vertices of an equilateral triangle centered at the origin with a radius of 21mm. Build upon this base by adding a central cylinder with a ra...
NumberOfSides = 3; DiameterOfBearing = 22; HeightOfBearing = 7; InnerDiameterBearing = 10; ScrewHoles = 3.2; $fn=48; difference(){ union(){ difference() { union(){ hull(){ for (i=[0:NumberOfSides-1]) { rotate([0,0,(360/NumberOfSides)*i])translate([DiameterOfBearing/2+10,0,0])cylinder(r=3,h=3); } } hull...
glb/cad_d6c571bb781a.glb
Create a Big Zee Printrbot Lead Screw Isolator by combining a square plate and a cylindrical base, both with a central hole. First, create a square block measuring 27.76mm by 27.76mm with a height of 5.8mm. Center a vertical hole with a radius of 4.16mm through the middle of this block. Next, create a cylinder with a r...
translate(v = [0, 0, 5.8]) { difference() { cube (size = [27.76,27.76,5.8], center = true); cylinder(h = 5.8, r1 = 4.16, r2 = 4.16, center = true); } } difference() { cylinder(h = 5.8, r1 = 11.00, r2 = 11.00, center = true); cylinder(h = 5.8, r1 = 4.16, r2 = 4.16, center = true); }
glb/cad_86302e0c7736.glb
Create an SMDquick Solderless Prototyping Socket consisting of two mirrored halves. Each half starts as a rectangular block 12mm wide, 22mm long, and 4mm high. In the center of each block, carve out a rectangular cavity 9.7mm wide, 5.9mm long, and 1.9mm deep to accommodate a PCB. On the outer edges of the blocks, cre...
overlap = 0.01; excess = 10; module fillet(r, h, rotation = [0, 0, 0], roundness = 24){ rotate(rotation){ translate([r/2, r/2, 0]){ difference(){ cube([r + overlap, r + overlap, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + excess,...
glb/cad_7ddd574b03e9.glb
Create an improved lens cap consisting of four interlocking geometric components. First, create a top frame based on a cylinder with a radius of 38mm and a total height of 7mm. This frame should have a central rectangular cutout and a hollowed-out interior cylinder with a radius of 36.5mm. Add a rectangular outer rim...
threadHeight = 3; topHeight = 4; springHeight = 2; gap = 1; wall = 1.5; springY = 15; springThickness = 2; travel = 2; diameter = 76; capDiameter = 80; holeDiameter = 6; numStuds = 3; partSpacing = 10; lensRadius = diameter/2; overhang = (capDiameter - diameter)/2; channelWidth=lensRadius; springBase = thr...
glb/cad_b86735db2e10.glb
Create a Custom Checker game piece. Start with a main cylinder that has a radius of 25mm and a height of 6mm. Carve a concentric cylindrical hole into the top face with a radius of 20mm and a depth of 2mm. On the top surface, center a custom 2D graphic extruded to a height of 5mm (calculated as the total height minus ...
include <write.scad> checker_height = 6; checker_radius = 25; indent_height = 2; indent_radius = 20; indent_z_fudge = 2; ridge_height = 1.2; ridge_count = 18; ridge_thickness = 3.3; custom_logo = 1; logo_height = 1; crown_bar_count = 4; crown_angle = 75; logo_offset = [0,0,0]; logo_scale = [18, 18, 1]; logo_file_...
glb/cad_b3537e6b20d9.glb
Create a coin by constructing a main cylinder with a radius of 12mm and a height of 1mm. Add a second cylinder directly beneath it with the same 12mm radius and a height of 1mm, but remove a concentric inner core from this bottom section with a radius of 11mm to create a 1mm wide outer rim. To create the textured edge,...
profile_file = "kamila.dxf"; profile_scale = 0.07; profile_offset_x = -16; profile_offset_y = -9; profile_width = 1; coin_radius = 12; coin_width = 1; brim_radius = 1; outer_grooves = true; grooves_number = 20; grooves_circular_pitch = 200; use <gears.scad>; module profile(file) { scale(profile_scale) linear_ext...
glb/cad_a312fb8307b9.glb
Create a 45-degree servo mount for an FPV camera. Start with a base rectangular plate measuring 50mm by 20mm with a thickness of 3mm. From this base, remove a central rectangular block measuring 25mm by 12.5mm with a height of 25mm, leaving a wall thickness of 4.5mm on the left and 8.5mm on the right. Drill two small h...
rotate([180, 0, 0]) { difference() { difference() { difference() { translate([-8.5, 0, 0]) cube([50, 20, 3]); translate([4.5, 4, -1]) cube([25, 12.5, 25]); } translate([3.3, 10.25, -0.5]) cylinder(h=4, r=0.8, $fn=20); } translate([30.7, 10.25, -0.5]) cylinder(h=4, r=0.8, $fn=20); } difference...
glb/cad_b6b1c1e34204.glb
Create a Bixler Motor Mount by starting with a hollow rectangular box that has an outer dimension of 33mm in width, 30mm in depth, and 30mm in height. The walls of this box should be 3mm thick. On the bottom floor of the box, center a large circular hole with a radius of 4.25mm and a depth of 5mm. Additionally, create ...
difference() { difference() { difference() { difference() { difference() { cube([33, 30, 3], center = true); translate([0,0,-2]) cylinder(h = 5, r = 4.25, $fn = 20); } translate([ 6, -6, -2.5]) cylinder(h = 5, r = 1.5, $fn = 20); } translate([ -6, 6, -2.5]) cylinder(h = 5, ...
glb/cad_de7b1b055fb4.glb
Create a Bullseye 5015 Fan Adapter starting with a rectangular base measuring 46.6mm in length, 22mm in width, and 8.5mm in thickness. Hollow out the center of this base to create a shell with walls 2.5mm thick, then cut a rectangular opening through the center for the fan output measuring 19.8mm by 15.2mm, offset by 1...
base_wid=22; base_len=46.6; base_thick=8.5; base_wall=2.5; key_wid=2.3; key_depth=1; key_len=13; fan_wid=15.2; fan_len=19.8; fan_posXoffset=1.4; post_dia1=8; post_dia2=4; post_locklen=7; post_len=42.6; post_wid=4; post_thick=3.2; screw_dia=1.5; screw_posBcenters=36; screw_Zpos=2.5; $fn=128; module mk_screwHoles() ...
glb/cad_f6f16888163e.glb
Create a Parametric Dovetail Joint consisting of a pin and a matching tail block. First, construct the pin. Start with a central rectangular base that is 3mm deep and 4.8mm wide (calculated as 60% of the 8mm maximum width). Extrude this base to a height of 2.4mm (30% of the total tail height). From the top of this ba...
pinDepth = 3; pinWidth = 8; tailHeight = 8; pinWidthFraction = 0.4; pinHeightFraction = 0.9; overhangDepth = 1; overhangWidth = 2; fitTolerance = 0.4; cornerTrim = 0.4; pinOrTail = "both"; makeJoint(); module makeJoint() { if( pinOrTail == "pin" ) { DovetailPin( pinDepth, pinWidth, tailHeight, pi...
glb/cad_9e8c6189658a.glb
Create a customizable hole adapter consisting of two stacked cylinders with a central vertical bore. First, create a wide base cylinder with a diameter of 10mm and a height of 1.02mm. Centered on top of this base, add a second, narrower cylinder with a diameter of 7mm and a height of 1.98mm. Finally, remove a concentri...
height = 3; pipe_height_in_percent = 66; washer_diameter = 10; pipe_diamater = 7; hole = 1; hole_diameter = 4; resolution = 100; difference(){ union(){ cylinder(h=height/100*(100-pipe_height_in_percent),r1=washer_diameter/2,r2=washer_diameter/2,$fn=resolution); translate([0,0,height/100*(100-pipe_height_in_percen...
glb/cad_c4a31ecf8de8.glb
Create a Simple Dice Tower by constructing a hollow vertical cylinder with an outer radius of 50mm and a height of 120mm, centered on the origin. The cylinder wall should be 2mm thick, created by removing a concentric inner cylinder with a radius of 48mm. Inside this shell, build a spiral stairway consisting of 23 re...
$fn = 90; intersection() { union() { difference() { cylinder(r=50, h=120, center=true); translate([0, 0, 2]) cylinder(r=48, h=120, center=true); difference() { translate([40, 0, -60]) rotate([0, 90, 0]) cylinder(r=50, h=30, center=true); t...
glb/cad_b2d5b5a5875a.glb
Create an adjustable bracket manifold by constructing a hollowed-out geometric shell. Start with a solid body formed by the convex hull of two cylinders, each with a radius of 20mm and a height of 20mm; one cylinder is centered at the origin, and the other is translated 2mm downward along the Z-axis. To create the holl...
$fn = 100; D = 40; H = D*.5; T = 2; W = 45; w = 3; h = 5; d = 4; linkage(); module linkage() { difference() { body(D/2, H, W, 0.1); body(D/2-T, H, W, 0.2); } intersection() { body(D/2, H, W, 0.1); union() { rotate([W, 0, 0]) translate([0, 0, -h/2]) cross(w, h, 2*D, d/2); ...
glb/cad_770dd3062acb.glb
Create an oscilloscope probe holder consisting of three identical probe seats aligned in a row, spaced 30mm apart. Each seat is a vertical cylinder with a total height of 30mm. For each seat, create a main outer cylinder with a radius of 10.5mm. From the top of this cylinder, remove a central core with a radius of 5....
inner = 5.6; bulge = 9; wall = 1.5; pit = 6; outer = bulge + wall; height = 30; angle = 250; probes = 3; spacing = 30; some2 = 0.01; some = some2/2; $fn = 90; module pie(rad, angle) { module halfcircle(rad, angle) { rotate([0, 0, angle]) { intersection() { circle(rad); ...
glb/cad_246804afb77b.glb
Create a Quick-Mount tool holder consisting of two mirrored halves. Start by creating a central cylindrical base with a radius of 20mm and a height of 3mm. On this base, add three identical teeth spaced 120 degrees apart. Each tooth is formed by extruding a shape that is the intersection of a 20mm radius circle and a...
$fn=100; height=10; socket=3; radius=20; twist=45; tolerance=0.5; big=100; module tooth() { difference() { linear_extrude(height=height,twist=twist) { intersection() { circle(r=radius); polygon([ [tolerance,0], [86.6+tolerance,-50], [86.6+tolerance,50] ]); } } rotate(a=-...
glb/cad_d0304fa4b5fb.glb
Create a filament spool holder vertex. Start with a main body consisting of a rectangular base block and a curved upper section. The overall structure is a bracket designed to connect frame segments. Incorporate three primary holes for bolts or pins, each with a diameter of 6.3mm. Position two of these holes on the ma...
feet_on = true; m=0; hole_size=6.3; vhole_size=6.3; hhole_size=6.1; nX =1; nY =1; spacing_X=0; spacing_Y=0; spool_foot=0; angle = 120; tilt = 0; seg1_H=26; seg2_H=26; amount_with_foot = 4; n = 0; print(feet_on,spool_foot,m); module print(feet_on,spool_foot,m) { $fn=45; $fa=2; mirror([m,0,0]) { for(x=[1:nX]) { ...
glb/cad_62d8e03591ca.glb
Create a T-Handle bracket for a pickup canopy. Start with a base that is a hull of three cylinders: two cylinders with a radius of 8mm positioned 38.1mm apart (center-to-center) along the x-axis, and a central cylinder with a radius of 16.5mm, all with a height of 8mm. On top of this base, center a "castle" cylinder wi...
small = 0.01; big = 1000.0; endC2C = 38.1; endIR = 5.0/2.0; endOR = 16.0/2.0; countersinkIR = 9.0/2.0; countersinkHeight = countersinkIR-endIR; totalHeight = 16.5; baseHeight = 8; sliceHeight = 3.5; centerOR = 33.0/2.0; castleHeight = totalHeight-baseHeight; castleOR = 28.0/2; guideHeight = 2.5; guideOR = 20.0/2.0...
glb/cad_b5c1a8c56436.glb
Create a T-handle bracket by starting with a base plate 8mm thick. The base is formed by the convex hull of three cylinders: two outer cylinders with a radius of 8mm positioned 38.1mm apart (center-to-center) along the x-axis, and one central cylinder with a radius of 11.5mm. Add a central vertical shaft to this base...
endC2C = 38.1; endIR = 5.0/2.0; endOR = 16.0/2.0; baseHeight = 8.0; centerOR = 23.0/2.0; shaftIR = 11.0/2.0; shaftOR = 15.5/2.0; endShaftOR = 8.0/2; shaftHeight = baseHeight + 4; small = 0.01; $fs = 1; $fa = 1; module base() { hull() { translate([-endC2C/2,0,0]) { cylinder(r=endOR, h=baseHeight); ...
glb/cad_8ee899948497.glb
Create a business card holder by first constructing a main body formed from the intersection of two large cylinders, each with a radius of 12mm, positioned such that they create a curved, lens-like base. On the top surface of this body, place three small vertical cylinders, each 16mm tall, with a bottom diameter of 3mm...
module card_holder() { D1 = 2; D2 = 3; H1 = 16; difference() { union() { translate([-8,0, 4]) scale([1/100,1/100,1/100]) cylinder(H1*100, D2*100, D1*100, $fa=1, center = true); translate([-8,30, 2]) scale([1/100,1/100,1/100]) cylinder(H1*100, D2*100, D1*100, $fa=1, center = true); ...
glb/cad_84c9b497df33.glb
Create a parametric pole holder consisting of a rectangular mounting base and a flexible C-shaped clip. Start with a base plate measuring 50mm in length, 18mm in width, and 4mm in thickness, with all four corners rounded to a 2mm radius. Center two mounting holes on the base, spaced 35mm apart; each hole should be a co...
drawJalusiehalter = 0; base = [50,18,4]; distanceHoles = 35; holesD = 4; dPole = 19; dPoleBase = 0; spring = [25,2.5]; dPoleBase2 = drawJalusiehalter ? 24:dPoleBase; dStange = drawJalusiehalter ? 16:dPole; holder1 = [spring[0],spring[1],dPoleBase2]; module createMeniscus(h,radius){ difference(){ ...
glb/cad_2625c210a91c.glb
Create a fan mount for a 40mm fan. Start with a square base 40mm wide and 40mm deep with a thickness of 2.5mm. The corners of this base should be rounded with a 4mm radius. From the center of this base, extend a conical section upwards to a height of 20mm, tapering from a base radius of 21mm to a top radius of 11mm. ...
rnd=4; mntdepth=5; fansize=40; picodiam=14.5; $fn=72; difference() { union() { difference() { union() { translate([rnd,rnd,0])minkowski() { cube([fansize-2*rnd,fansize-2*rnd,mntdepth/2]); cylinder(r=rnd+1,h=mntdepth/2); } translate([fansize/2,fansize/2,0])...
glb/cad_e89e5961c24d.glb
Create a biltong hook shaped like a stylized letter S. Start by forming a continuous rod with a uniform diameter of 3mm. Create the first end of the hook as a semi-circle with an inner radius of 7mm, forming a C-shaped curve. From the end of this curve, extend a straight cylindrical section of the same 3mm diameter for...
r1=7; r2=7; sbl=25; wsl=3; $fn=100; $fa=0.6; $fs=5; ll=max(sbl,r1+r2); difference() { color("blue") translate([0,r1-wsl/2,wsl/2]) rotate_extrude() translate([r1,0]) circle(wsl/2); linear_extrude(wsl) polygon([[0,0],[0,r1*2-wsl],[r1+wsl,r1*2-wsl],[r1+wsl,0]]); tra...
glb/cad_6a5f55add0ef.glb
Create a Threadless Ball Screw mount. Start by constructing a base block that is 38mm wide (X), 38mm deep (Y), and 22mm high (Z). The base is a modified rectangular prism with a central cylindrical cutout of 4mm radius (8mm diameter) passing through the Z-axis to accommodate a smooth rod. Around this central axis, pos...
use <write/Write.scad> facetas=144; text = "true" ; Base_Shape= "fitting"; Base_Height = 22; Box_Y_Width = 38; Box_X_Width = 38; Round_Base_Width = 27; bearing=[5,10,4]; Number_of_Bearings = 3; Smooth_Rod_Diameter = 8 ; Bearing_Pitch = 5; Base_increment_factor=0.7; Smooth_rod_clearance=0.25; Bearing_Outer...
glb/cad_ecfa3246dc5f.glb
Create a linear ball bearing with a total height of 24mm, an outer diameter of 15mm, and a central bore of 7mm. The main body is a hollow cylinder. Inside this cylinder, create a series of ball-shaped channels that spiral around the central axis. These channels are formed by placing a set of small spheres, each with a ...
module row(ball_bearing_radius, ball_bearing_count, diameter) { x = diameter * 0.5; angle = 360.0 / ball_bearing_count; for (i = [0:ball_bearing_count]) { rotate([0, 0, i * angle]) translate([x, 0, 0]) circle(r = ball_bearing_radius); } } module base(height, outside_diamete...
glb/cad_e6e4f80d6568.glb
Create a Hello Kitty branded paper and pencil holder. Start by constructing a main outer container that is 112mm wide, 30mm deep, and 115mm high. Within this, create a pencil holder section that is 100mm wide, 40mm deep, and 100mm high, with a wall thickness of 2mm. This pencil holder should be formed by combining a cy...
scale=1; paper_holder_width=112*scale; paper_holder_depth=30*scale; paper_holder_height=115*scale; pencil_holder_width=100*scale; pencil_holder_depth=40*scale; pencil_holder_height=100*scale; wall_thickness=2; $fs=0.2; $fa=3; translate([paper_holder_width+wall_thickness,paper_holder_depth+pencil_holder_depth,0]) rot...
glb/cad_5825bc2e9a1d.glb
Create a radio stand consisting of two identical side supports and two connecting bars. For each side support, create a base structure with a thickness of 10mm. The support features a main body that extends 150mm in length. Incorporate a cradle section designed to hold a device with a depth of 50mm, angled at 20 degr...
Angle = 20; BackAngle = 5; SupportLength = 150; BarLength = 120; BraceDepth = 50; Tolerance = 0.1; part = "Assembled"; SubAngle = -(90-Angle); SharedAngle = -SubAngle + BackAngle; comp = (10/sin(SharedAngle)); truecomp = (SharedAngle > 90 ? comp : (SharedAngle == 90 ? 1 : 0)); echo(truecomp); SubBackAngle = ...
glb/cad_b80d0e2789b6.glb
Create a text cookie cutter of the letter "J" using a bold, sans-serif font like Arial Black. The letter should have a total height of 64mm. The main cutting wall should be 10mm tall with a thickness of 1.75mm. At the base of the letter, add a supportive flange that is 2mm high and 6mm wide, extending outwards from the...
cutter_text = "J"; cutter_size = 64; cutter_font = "Arial Black:style=Bold"; cutter_thickness = 1.75; flange_height = 2; cutter_height = 10; flange_width = 6; cutterMinimum = 1; mirror([1, 0, 0]) { minkowski() { outline(); cylinder(r1 = cutter_thickness / 3, r2 = cutterMinimum / 3, h...
glb/cad_67deee910054.glb
Create a hollow rectangular box end designed to slip over the end of a container. The outer dimensions of the shape should be 73mm in length, 38mm in width, and 26mm in height. The walls of the box must be 1mm thick on all four sides. The bottom of the box should also be 1mm thick, leaving an interior hollow space that...
length = 71; width = 36; height = 25; wall_thickness = 1; end_thickness = 1; module box_end(){ translate([0,0,height/2]) difference(){ cube([length+2*wall_thickness,width+2*wall_thickness,height+end_thickness],center=true); translate([0,0,end_thickness-0.02]) cube([length,width,height+1],center=true); } } ...
glb/cad_f1e8a71f0bd1.glb
Create a Z Nut Clip consisting of a rectangular base and two sets of vertical posts. Start with a base plate measuring 16.2mm in length, 14mm in width, and 1.6mm in thickness. At the front edge of the base, add two vertical posts that are 1.6mm thick and 20mm high. These posts should be separated by a central slot 6....
eps=0.001; eps2=2*eps; front_slot_width = 6.5; front_slot_offest = 4; front_post_height = 20; front_post_thicknes = 1.6; top_post_slant_angle = 7; back_slot_width = 6.5; back_slot_offest = 0; back_post_height = 14; back_post_thicknes = 1.6; post_spacing = 13; base_thickness = 1.6; base_width = 14; base_length = fro...
glb/cad_beaf61fa0f55.glb
Create a Keystone PVC Endcap by starting with a solid cylinder 30mm high with a radius of 17mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 13.5mm at the bottom and a radius of 13.1mm at the top, leaving a wall thickness of approximately 3.5mm. From the top surface,...
jack_length =16.5; jack_width = 15; wall_height = 10; wall_thickness = 4; catch_overhang = 2; small_clip_depth = catch_overhang; big_clip_depth = catch_overhang + 2; big_clip_clearance = 4; small_clip_clearance = 6.5; outer_length = jack_length + small_clip_depth + big_clip_depth + (wall...
glb/cad_1fad52d4e57b.glb
Create a bracket for an LCD screen by starting with a solid cube measuring 20mm x 15mm x 20mm. Carve out a rectangular channel from the center of the block, removing a volume of 11mm x 20mm x 11mm centered at x=10 and z=-1 to create a deep slot. From this remaining structure, remove a second rectangular section measuri...
rotate([0,-90,0]) difference() { difference() { difference (){ cube([20,15,20]); translate([10,-0.5,-1]) cube([11,20,11]); } translate([-0.5,4.25,-1]) cube([20,6.5,11]); } translate([15,-0.5,15]) rotate([-90,0,0]) cylinder(20,1,1); }
glb/cad_489aacfa6602.glb
Create a BNC dust cap by constructing a hollow cylinder with an outer diameter of 14mm and an inner diameter of 11mm, reaching a total height of 12mm. Center the geometry so that the walls are symmetrical. To create the locking mechanism, remove a rectangular slot from the inner cavity that is 2.5mm wide and extends ac...
height = 12; outer_d = 14; inner_d = 11; base_h = 1; $fn=300; difference() { cylinder(h=height, d=outer_d, center=true); cylinder(h=height, d=inner_d, center=true); linear_extrude(height=height, center=true, twist=-90){ square([2.5, inner_d + 2], center=true); } } translate([0,0, -height/2 - base_h/2]) cylin...
glb/cad_1c08acc0099a.glb
Create a nut gear cap by starting with a main cylindrical base that has a radius of 7.9mm and a total height of 6.95mm. From the center of this base, remove a hexagonal prism with a radius of 3.95mm and a height of 6.95mm to create a central hole. Additionally, remove a smaller central cylinder with a radius of 2mm and...
rote_diameter = 4; nut_diameter = 7.9; height = 3; access_cut = 0; nut_gear(); module nut_gear(){ fi_gwint = rote_diameter; fi_nakretka = nut_diameter; r_gwint = fi_gwint*0.5; r_nakretka = fi_nakretka*0.5; module grip(nr=n){ rotate([0,0,-22.5+(45*nr)]) translate([fi_nakretka,0,-0.1]) cylinder(r=r_nakretka*0....
glb/cad_d8d2c392cc2f.glb
Create a Tiny Mendocino solar motor rotor block. Start by constructing a central cylindrical shell with an inner radius of 1.75mm, an outer radius of 2.76mm, and a total height of 30mm. Surrounding this cylinder, build four identical U-shaped support structures arranged symmetrically every 90 degrees around the cente...
length_SC = 30; width_SC = 18.5; m = 1.1; width_tooth= 5.5; height_tooth = 4.5; lip_tooth = 4; th = 1.01; rint = 1.75; rext = rint+th; wall = (width_SC+m+width_tooth/1.414)/1.414-height_tooth+th/1.414; module U() { translate([0,-th/2,0])cube([wall,th,length_SC]); translate([wall,-width_tooth/2,0]) cube([th,width_to...
glb/cad_a9151f9a2726.glb
Create a Tiny Mendocino solar motor support system consisting of two separate symmetrical support pieces. For the first support, create two identical magnet housings. Each housing is a sphere with a radius of 7mm. From each sphere, remove a cylindrical core with a radius of 3.5mm and a height of 6mm, centered on the ...
r_magnet = 7; e_magnet = 3.5; ec_magnet = 37; r_glass = 25; e_glass = 2.0; r_tube = 1.75; wall_thickness = 1.01; $fa = 1; $fs = 0.5; delta_magnet_glass = 25; e_base = 6; module magnet() { union(){ difference() { translate([0,0, 3/2*r_magnet - e_base/2 ]) sphere (r = r_magnet) ; translate([-e_magnet/2,0, 2*r_magn...
glb/cad_5a44d68069e9.glb
Create a flashlight grip for a sliding bike handlebar mount. Start by creating a hollow cylinder with an outer radius of 14.9mm, an inner radius of 12.5mm, and a length of 40mm. Cut a 6mm wide longitudinal gap through the cylinder wall along one side. Attach two rectangular flanges to the sides of the cylinder. Each f...
outer_r = 14.9; inner_r = 12.5; length = 40; gap = 6; slide_width = 22.8; rail_width = 18; overhang = 2.6; rail_thickness = 2.5; overhang_thickness = 2.4; rail_wall = (slide_width - rail_width)/2; slide_thickness = 7.3; top_thickness = slide_thickness - rail_thickness - overhang_thickness; flange_width = 2.4;...
glb/cad_8caaf2029d8d.glb
Create a set of three small part storage tray divider inserts. Each insert is a rectangular block with a width of 61mm and a height of 30mm. The three inserts have different depths: 35mm, 39mm, and 33mm. For each block, create a grid of compartments by removing rectangular sections from the interior. Divide the width ...
depths = [35, 39, 33]; width = 61; height = 30; nx = 2; ny = 1; wall = 0.9; floor = 0.9; corners2 = 5; corners1 = 3; notch = 16; front = 0; center = 1; rear = 2; spacing = 45; $fn = 90; some2 = 0.01; some = some2/2; module massive(depth, width, height) {...
glb/cad_2eb2b943fe52.glb
Create a replacement knob for a bandsaw guide. The main body is a nonagon (9-sided prism) with a height of 16mm and an outer diameter of 40mm. The top face features a 1.5mm chamfer. The center of the knob is hollowed out by a vertical hole with a diameter of 21mm. Within this central void, create a "double-D" shaft ho...
height = 16; shaft_diameter = 13.0; D_width = 12; outer_diameter = 40; wall_thickness = 4; inner_diameter = 21; shaft_length = 4.5; plunge_depth = 6; clearance_height = 0; no_sides =9; top_chamfer=1.5; with_pointer = "no"; point_size = 5; point_angle = 90; extra_feature="taps"; number_of_features=3; off...
glb/cad_6170f7a05ad1.glb
Create a ZWO Mini and CS Lens Mounting Bracket by constructing a base and an attached cylindrical sleeve. Start with a trapezoidal prism base that is 40mm long, 9mm high, with a bottom width of 32mm and a top width of 22.5mm. Centered on top of this base, create a transition section that blends the 22.5mm wide top surf...
include <parts.scad> base_length = 40; base_height = 9; tube_length = 50; tube_diameter = 32.5; top_width = 22.5; bottom_width = 32; difference() { rotate([ 90, 0, 0 ]) { iso_trapazoid(short = top_width, long = bottom_width, length = base_length, height = base_height); translate([ -top_widt...
glb/cad_293bbc4995cc.glb
Create a lamp for Sylvanian dolls consisting of a base and a removable lampshade. Construct the base by starting with a conical pedestal that has a bottom radius of 7mm, a top radius of 2mm, and a height of 5mm, with all edges rounded by a 1mm sphere. Centered on top of this pedestal, add a cylinder with a radius of ...
use <Thread_Library.scad>; module bolt( length = thread_length, pitch=thread_pitch, pitchRadius = thread_pitch_radius ) { trapezoidThread( length=length, pitch=pitch, pitchRadius=pitchRadius, threadHeightToPitch=0.5, profileRatio=0.5, threadAngle=20, RH=tr...
glb/cad_a0ffc29008df.glb
Create a Siemens Washing Machine Pump Compartment Opener by constructing a composite base and removing a central section. First, form the main body by combining a rectangular block measuring 25mm wide, 52mm deep, and 14mm high, centered on the Y-axis, with two cylinders of 15mm radius and 14mm height positioned at oppo...
module key() { translate([0,11,0]) cube([25,52,14], center = true); translate([12.5,0,0]) cylinder( h = 14, r = 15, center = true ); translate([-12.5,0,0]) cylinder( h = 14, r = 15, center = true ); } module cut() { translate([0,30,0]) cube([30,30,8], center = true); } difference() { ...
glb/cad_3236056b271c.glb
Create a sink drain screw consisting of a threaded shaft, a mounting ring, and a decorative base. Start by creating a right-handed threaded rod with a length of 46.5mm and a radius of 2.7mm. The threads should have a pitch of 1.0mm and a profile ratio of 0.5. Remove the top 5mm of the rod's center to create a hollow ...
use <Thread_Library.scad>; screw_offset = 2.0; screw_length = 44.5 + screw_offset; thread_distance = 1.0; screw_radius = 5.4/2.0; mount_outer_radius = 6.0; mount_inner_radius = 4.0; mount_width = 5.4; dec_radius = 13.4/2.0; dec_thickness = 3.0; dec_transition_thickness = 1.5; dec_transition_radius = 3.5; pad = 0....
glb/cad_553400e479ef.glb
Create an emery cloth holder consisting of a main body, a lid, and a butterfly nut. First, construct the main body as a rectangular block 60mm wide, 40mm high, and 4mm thick. Carve out a rectangular section from the bottom and side to create a support structure 10mm deep and 40mm high. Add a slot for the sandpaper th...
use <Thread_Library.scad>; paper_width = 19; paper_thickness = 1; paper_padding_slot = 1; paper_padding_grib = 1.4142; holder_width = 60; holder_depth_support = 10; holder_height_support = 40; holder_thickness = 4; edge_height = 2.0; edge_offset = 8; handle_width = 90; handle_depth = 35; handle_height = 15; ...
glb/cad_943436b8df28.glb
Create an electronic device enclosure consisting of a main case and a separate lid. The main case is a rectangular box with rounded corners (radius 2.5mm). The outer dimensions are 60mm wide by 32mm deep with a total height of 10mm. It features a floor 1.2mm thick and vertical walls 0.9mm thick. At the four corners, ...
version = "v 0.7.2"; width = 60; depth = 32; height = 10; corner = 2.5; screw = 1.2; wall = 0.9; floor = 1.2; ceiling = 1.2; seam = 0.8; vents = 12; vent = 0.6; dist = 3; bridges = 6; l1 = 4; l2 = 28; supportheight = 3; supportwidth = 5; supportdist = 50; supportdepth = 80; gap_perc = 33.3; hole_di...
glb/cad_635e759a9e64.glb
Create a glass plate shim by designing a thin, rounded square plate. The plate should have overall dimensions of 10mm by 10mm and a uniform thickness of 1.33mm. To achieve the rounded corners, use a corner radius of 2mm. Ensure the geometry is a solid prism with a 24-facet resolution for the curved edges.
$fn = 24; plate_thickness = 1.33; module rounded_square(dims, r=2, thickness=1) { hull() { translate([0, 0, thickness * 0.5]) { translate([dims[0] * -0.5, dims[1] * -0.5, 0]) cylinder(r=r, h=thickness, center=true); translate([dims[0] * +0.5, dims[1] * -0.5, 0]) cylinder(r=r, h=thickness, center=true); translate([...
glb/cad_d6a5f5a6c60f.glb
Create a Kvartal replacement part consisting of a main holder and a small inlay. For the holder, start with a cylinder 25mm high with a radius of 50mm, then scale it to a width of 15mm and a height of 22mm. Remove a central vertical hole with a radius of 2.7mm and a larger vertical hole with a radius of 5.1mm starting ...
w=15; h=22; $fs = 0.01; translate([0,19.5,0]) difference() { scale([h/100, w/100, 1]) cylinder(h=25, r=50); cylinder(h=60, r=2.7, center=true); translate([0,0,8.5]) cylinder(h=160, r=5.1); translate([0,0,19.5]) rotate([90,0,0]) cylinder(h=60, r=1.75); } difference(){ union(){ translate([0,0,5]) cylinder(...
glb/cad_280dadf68171.glb
Create a fan support consisting of a central cylindrical hub and an attached rectangular block. Start by creating a cylinder with a radius of 15.75mm and a height of 17.5mm. Remove a smaller concentric cylindrical hole from the center with a radius of 3.5mm. Around the perimeter of this hub, place 20 small spheres, eac...
h=17.5; r=31.5/2; r2=7/2; q1=52; q2=35; r3=12.2/2; rotate([0,180,0]) support(); module support() { difference() { color("cyan") cylinder(r=r,h=h); color("black") cylinder(r=r2,h=h); } translate([-35,r-7,0]) difference() { cube([52,35,h]); color("red")rotate([90,0,0])translate([h/2+1,h/2,-q2-1]) cylinder(r=r3,...
glb/cad_08abe77b9e19.glb
Create a parametric screwdriver bit holder consisting of four tiered rectangular blocks arranged in a row along the X-axis. Each block has a width of 9.94mm and a depth of 11.34mm. The height of these blocks increases incrementally from the first to the fourth, starting at 13.49mm and increasing by 5mm for each subsequ...
hexDia=7.1; clr=0.5; tiers=4; rPcs=9; blkD=hexDia*1.6; blkW=hexDia*1.4; blkH=hexDia*1.9; hInc=5; main(); module main(){ difference(){ stack(); for (r=[0:tiers-1]) translate([r*blkD+blkD/2,rPcs*blkW/2,0])cube([2,rPcs*blkW+0.1,1],center=true); for(c=[0:rPcs-1]) translate([tiers*blkD/2,c*blkD+blkW/2,0])cu...
glb/cad_7bd72ad131c0.glb
Create a cogged vacuum cleaner belt by constructing a hollow cylinder with an outer diameter of 91mm and a height of 8mm. The wall thickness of this cylinder should be 1.4mm. To create the teeth, add 66 rectangular protrusions evenly spaced around the outer circumference of the cylinder. Each tooth must have a width ...
outerD = 91 ; thick = 1.4 ; ht = 8.0 ; nteeth = 66 ; tdepth = 3.4 ; twidth = 2.3 ; smooth = 60 ; outerR = outerD * 0.5 ; theta = 360 / nteeth ; difference () { cylinder (h = ht, r = outerR, center = false, $fn = smooth) ; cylinder (h = ht + 0.1, r = outerR - thick, center = false, $fn = smooth) ; }...
glb/cad_db45295e48b5.glb
Create a Parametric Hex Key Bracket designed to hold six hexagonal wrenches. Start by constructing a main body with a rounded profile using a 2mm radius. The body's overall length is determined by the sum of the hex key diameters (2, 2.5, 3, 4, 5, and 6mm) plus a 2mm spacing between each hole and a 1mm border on each e...
HexHoles = [2, 2.5, 3, 4, 5, 6]; SizeShort = 2; SizeLong = 12; Border = 1; Rounding = 2 ; HoleDistance = 2; HoleCorrection = 0.3; HoleFactor = 1.1547; EnableLabels = true; LabelDepth = 0.5; LabelRotation = 90; LabelFactor = 1.1; EnableLabelScaling = true; RenderUpright = true; $fn=32; function sumv(v,i) =...
glb/cad_e0837f364ec2.glb
Create a ProMini Keyboard Holder by starting with a solid rectangular block measuring 64mm in width, 19mm in depth, and 50mm in height. From this main body, carve out a central rectangular cavity to hold the keyboard, with dimensions of 59mm in width, 10mm in depth, and 50mm in height. This cavity should be positioned ...
PM_HEIGHT = 59; PM_THICK = 14; PM_LENGTH = 152; PM_SLOPE = 1; PM_SLOPE_THICK = 10; LENGTH = 50; T = 2.5; BOLT_D = 2; module proMini() { color([0, 20, 20, 1]) cube([PM_HEIGHT, PM_THICK, PM_LENGTH]); translate([-PM_SLOPE,PM_THICK-PM_SLOPE_THICK,0]) cube([PM_SLOPE+PM_HEIGHT+PM_SLOPE, PM_SLOPE_THICK, PM_LENGTH]); }...
glb/cad_d034e6270856.glb
Create a press-fit customizable box with external dimensions of 102mm in length, 92mm in width, and 62mm in height. The box consists of six panels with a uniform wall thickness of 2.5mm. Construct the top and bottom horizontal panels as rectangles of 102mm by 92mm and 2.5mm thickness. At each of the four corners of th...
length = 102; width = 92; height = 62; thickness = 2.5; lockHeight = 10.0; tolerance = 0.4; part = "box_"; module dovetail(thick, height, tolerance) { translate([-tolerance/2,-tolerance/2,0]) { cube([thick+tolerance, 3*thick+tolerance, height], center = false ); cube([2*thick+tolerance, thick+tolerance, heig...
glb/cad_ac828459ff1d.glb
Create a parametric thin wall test object. The object is a hollow, extruded shell with a height of 10mm and a uniform wall thickness of 0.5mm. The footprint is a rectangle with an overall length of 30mm and a width of 20mm. The four corners of this rectangle have varying radii: one corner is sharp (0mm radius), the o...
thick = 0.5; x = 30; y = 20; z = 10; bottom = 0; c_scale = 1; c_offset = 0; Comment = "."; $fa = .01; $fs = $preview ? 5 : 1; $fn= $preview ? 32 : 64; thinwall_rounded(); radiiPoints=[ [0, 0, 0 * c_scale + c_offset ], [x, 0, 10 * c_scale + c_offset], [x, y, 10 * c_scale + c_offset], [0, y, 5...
glb/cad_122936db9cd3.glb
Create a Wrench Bracket holder. Start with a solid rectangular base that has rounded edges with a 2mm radius. The base should have a total width of 17.5mm (the largest wrench height of 15mm plus a 4mm gap distance) and a length that accommodates all slots plus a 1mm border on each end. The height of the base varies fro...
WrenchHeight = [7.9, 9, 9.7, 10.6, 12.4, 14.2, 13.5, 15]; WrenchWidth = [3, 3.5, 3.3, 3.1, 4, 4.3, 4, 4.7]; SizeShort = 18; SizeLong = 32; Border = 1; Rounding = 2; GapDistance = 4; EnableLabels = true; WrenchLabels = ["7 - 6", "9 - 8", "11 - 10", "13 - 12", "15 - 14", "17 - 16", "19 - 18", "22 -20"]; LabelDep...
glb/cad_2c26e8725d82.glb
Create a Talon V1 Quadcopter Accessory Mount Plate by starting with a base plate 45mm wide, 45mm long, and 3mm thick. The top edge of the plate is rounded with a radius of 16mm centered at the midpoint of the width. Remove two vertical rectangular strips, each 2mm wide and 59mm long, positioned at x=14mm and x=29mm to ...
difference() { union() { cube([45,45,3]); translate([22.5,45,0]) scale([1.4,1,1]) cylinder(r=16,h=3); translate([14,0,3]) cube([2,59,3]); translate([29,0,3]) cube([2,59,3]); } translate([6,48,0]) union() { translate([0,0,-.5]) cylinder(r=1.6,h=4, $fn=90); translate([16.5,8,-.5]) cylinder(...
glb/cad_7b51da8d12d7.glb
Create a Talon V1 Quadcopter Accessory Mount Plate by starting with a base shape that combines a 45mm wide by 22.5mm deep by 3mm thick rectangular block with a semi-circle of 16mm radius extending from the center of the back edge. From this solid, remove several holes and slots that pass completely through the 3mm thic...
difference() { union() { cube([45,22.5,3]); translate([22.5,22.5,0]) scale([1.4,1,1]) cylinder(r=16,h=3); } translate([6,25.5,0]) union() { translate([0,0,-.5]) cylinder(r=1.6,h=4, $fn=90); translate([16.5,8,-.5]) cylinder(r=1.6,h=4, $fn=90); translate([33,0,-.5]) cylinder(r=1.6,h=4, $fn=90); ...
glb/cad_827c58b383bf.glb
Create a Multi Size Parametric Spool Holder designed as a tiered cylindrical spindle. Start by creating a central cylinder with a radius of 15.65mm and a total height of 22mm. To this base, add two tiered decorative stoppers: the first is a cylinder with a radius of 26.5mm and a height of 2.67mm, positioned 4mm from th...
spool1_diam = 31.3; spool2_diam = 53.0; spool3_diam = 54.8; spindle_height = 22; bearing_radius = 11.3; bearing_height = 10; stick_radius = 4.3; $fn = 60; module single_stopper(length, height) { stopper_width = 12; intersection() { cylinder(r=length/2, h=height); cube([length, stopper_width, length], center=tru...
glb/cad_c443c8690e99.glb
Create a custom scoop consisting of a cylindrical cup and an attached handle. First, construct the cup as a hollow cylinder with an outer radius of 8.5mm and a height of 10mm. The walls and the base of the cup should both be 1mm thick, creating an interior cavity with a radius of 7.5mm and a depth of 9mm. Next, attach...
$fn=100; handle_height=2.5; handle_length = 30; handle_width = 5; scoop_wall_thickness=1; scoop_height=10; scoop_radius=17/2; module cup() { difference () { cylinder(h = scoop_height, r = scoop_radius); translate([0,0,scoop_wall_thickness]) cylinder(h = scoop_height-scoop_wall_thickne...
glb/cad_886c141a293d.glb
Create a fruitfly trap consisting of a circular base and a central conical funnel. Start by creating a cylindrical base with an outer diameter of 72.8mm (70mm inner diameter plus 1.4mm wall width on each side) and a total height of 5.2mm. Hollow out the center of this base from the top down to a height of 1.2mm, leavin...
echo(version=version()); debug = 0; explode = $preview ? 0.1 : 0.0; $fn = $preview ? 90 : 360; nearly_zero = $preview ? 0.005: 0.0; use <Chamfers-for-OpenSCAD/Chamfer.scad>; tol = 0.5; base_inner_diameter = 70; base_thickness = 1.2; base_wall_width = 1.4; base_wall_height = 4; chamfer = 0.4; funnel_h_over_d = 0.6; fu...
glb/cad_8c240380d8e4.glb
Create a socket for a blossoming lamp consisting of two main components: a hollow box and a matching lid with a raised base. First, construct the box as a rectangular shell with outer dimensions of 70mm x 110mm x 35mm and a wall thickness of 3mm. The box is open at the top. On the side walls, create a circular cable ...
$fs=0.5;$fa=3; xBox=70; yBox=110; zBox=35; bWand=3; dKabel=9; dSchraubenkern=2.5; dSchraube=4; hSockel=10; bKabelbinder=6; dLampe=63; bKuehler=45; hLED=12; module box() { difference(){ difference(){ cube([xBox, yBox, zBox], center=true); union(){ translate([0,0,(zBox-bWand)/2]) cube([xBox, yBox, bWand]...
glb/cad_425ada4334de.glb
Create a parametric shim by extruding a trapezoidal profile to a width of 100mm. The profile should be defined by four points: start at the origin (0,0), extend to a length of 100mm along the x-axis, rise to a height of 4mm at that end, and return to a height of 10mm at the starting x-position (0,10). This creates a we...
include <MCAD/triangles.scad> width = 100; height = 10; length = 100; blade_height = 4; rotate([90,0,0]) linear_extrude(width) { polygon(points=[[0,0],[length,0],[length,blade_height],[0,height]]); }
glb/cad_a6197577de0d.glb
Create a mushroom-shaped toothbrush holder. For the base, construct a cylinder with a radius of 10mm and a height of 100mm. On top of this cylinder, add a smaller cylinder with a radius of 5mm and a height of 4.8mm. At the bottom of the base, create a flared section that is 9mm high, transitioning from a 10mm radius at...
module Top(){ difference(){ scale([1,1,.5]) sphere(r=75/2,$fn=100); translate([0,0,-38]) cube(75,center=true); for(i=[0:3]){ rotate( i * 360 / 4, [0, 0, 1]) translate([0, 24, -10])cylinder(r=20/2,h=70); } translate([0,0,-1]) cylinder(r=5.2,h=6); } } module Base(){ cylinder(r=10,h=100); translate(...
glb/cad_027d7a1618ac.glb
Create a Settlers of Catan Road Token by starting with a rectangular base 45mm long, 10mm wide, and 5mm high. Carve a semi-cylindrical groove with a radius of 7.5mm along the entire length of the top center, leaving two raised outer rails. Round the two ends of the base into semi-circles with a 7.5mm radius. At the c...
length = 45; width = 10; circle_r = 7.5; height = 5; groove = 1; blunt = sqrt(sq(circle_r) - sq(width / 2)) + 0.65; function sq(x) = x * x; translate([length / 2, 0, 0]) { hull () { cylinder(r = width / 5, h = height); translate([0, 0, height * 2]) sphere(width / 3); } } difference () { tr...
glb/cad_1b5197f95473.glb
Create a Kitchen Sponge Rack with a base and an elevated grid. The base is a rectangular tray measuring 150mm in width, 90mm in depth, and 10mm in height. The tray has 2mm thick walls on three sides, with the front side remaining open. The floor of the tray is not flat; it features a series of slanted, tunnel-like drai...
use <library.scad> wall = 2; width = 150; depth = 90; floor_height = 10; ramp_height = 10; drain_width = 20; drain_length = 10; bottom_wall_height = floor_height + ramp_height + 2 * wall; inner_width = width - wall * 2; inner_depth = depth - wall * 2; rack_leg_height = 20; grid_spacing = 10; module bottom() { ...
glb/cad_acac56896391.glb
Create an EV3 ball caster consisting of a housing for a spherical bearing and a connector beam. First, create the main housing body. Start with a sphere of radius 10.5mm centered at the origin. To form the housing, encapsulate this sphere within a block, but remove a cylindrical core from the bottom with a radius of ...
$fn=100; eps = 0.05; bigSize = 100; NrOfHoles = 3; Pitch = 8; Radius1 = 5.3 / 2; Radius2 = 7.1 / 2; Height = 7.8; Depth = 0.8; Width = 7.5; MidThickness = Height; r_ball = 19.05 / 2; clearance = 0.75; ri3 = r_ball + clearance; t = 2.0; t2 = 2.0; offset = 5.0; module drawConnector() { Length = (NrOfHoles - 1) * Pi...
glb/cad_ca34cc31569e.glb
Create a rotor replacement part consisting of a central rectangular block with two spherical ends. Start by creating a rectangular base measuring 14.9mm in length, 2.7mm in width, and 2.2mm in height. At each end of this block, center a vertical cylinder with a radius of 1.375mm and a height of 3.55mm. Top each cylinde...
resol=90; $fn=resol; pos=-1; radEsferas=3.75/2; altMax=7.30; module cilindro(){ translate([0,0,-2]) cylinder(h=5.4, r=3.80/2 ); } translate([pos,0,0]) difference() { translate([0,0,-1]) color("blue") cylinder(h=3.20, r=3 ); cilindro(); } difference(){ translate([-7.5,-2.75/2,0]) color("grey") cube([14....
glb/cad_697616776f7d.glb
Create a Cherry Pi III Kill Button insert by combining two cylindrical shapes with a spherical cap. Start with a wide, thin base cylinder that has a diameter of 10mm and a height of 1.4mm. Centered on top of this base, add a narrower cylinder with a diameter of 7.5mm and a total height of 7mm. To finish the shape, ensu...
$fn=40; outerDiameter = 10; innerDiameter = 7.5; bigDepth = 1.4; totalDepth = 7; button(); module button() { intersection() { union() { cylinder(r=outerDiameter/2, h=bigDepth); cylinder(r=innerDiameter/2, h=totalDepth); } sphere(r=totalDepth); } }
glb/cad_cc54c14ca7b8.glb
Create a split torus consisting of two identical semicircular arcs. Each arc is formed by sweeping a circle with a diameter of 6mm along a circular path with a radius of 90mm. For each semicircular segment, ensure the cross-section is a perfect circle. At the center of the arc's thickness on the outer edge, add a sma...
radius = 90; thickness = 6; addSupport = 1; closeY = 0; closeX = 0; supportThickness = 0.2; showPlatform = 0; platformX = 284; platformY = 154; translate([radius/3 - closeX,radius/3 + closeY,0]) wheelquarter(radius,thickness,addSupport); rotate([0,0,180]) translate([radius/3 - closeX,radius/3 + closeY,0]) wh...
glb/cad_fbad45928f49.glb
Create a Patchbay for Pedaltrain pedal board. Construct a rectangular box with a width of 118mm, a depth of 72mm, and a height of 27mm, using a wall thickness of 1.8mm. On the front face, create a series of circular holes for jacks. Position these holes at a height of 12mm from the base. The input jacks are spaced st...
$fn = 60; wall = 1.8; showBox = true; showLid = true; showFrame = true; showMount = true; showCutThrough = true; jackHoleR = 11.2 / 2; jackSpacing = 20; boxHeight = 27; jackHeight = wall + 8 + 2; nrMountingNotches = 3; mountingNotchSize = 10; mountingNotchHeight = 10; weldCutout = 10; topScrewTapered = false; b...
glb/cad_1179b49b15a8.glb
Create a sheriff star badge with a total thickness of 4mm. The main body is formed by the union of two identical equilateral triangles with a radius of 32mm, one rotated 180 degrees relative to the other. At each of the six resulting points of the star, add a small cylinder with a radius of 4.8mm and a height of 4mm, c...
use<write/Write.scad> radius=32; thickness=4; textSize=8; textHeight=1; labelText="Sheriff"; module drawTriangle(rad,thick) { rad=rad/1.15; union() { cylinder(r=rad,thick,center=true, $fn=3); translate([rad,0,0])cylinder(r=rad*.15, thick, center=true, $fn=24); translate([-rad*sin(30),rad*cos(30),...
glb/cad_fb54fa0bbc25.glb
Create a parametric picture frame with a rabbet for artwork and glass. The inner opening for the artwork is 152mm by 102mm. The frame has a border width of 20mm and an overall thickness of 10mm. On the back, create a rectangular rabbet (recess) that is 3mm wide and 5mm deep, offset from the outer edge by the border wi...
include <write/Write.scad> include <pins/pins.scad> part = "frame"; fixing_type = "tabs"; picture_height = 102; picture_width = 152; frame_width = 20; frame_thickness = 10; top_message = "Thingiverse"; bottom_message = "Love"; left_message = "From"; right_message = "With"; back_message = "By Loren"; Font = "wr...
glb/cad_72b4bac4652a.glb
Create a Coved Picture Frame with a rectangular inner opening of 152mm by 102mm. The frame has a total depth of 10mm and a border width of 20mm. Construct the frame using four segments of cove moulding. Each segment should feature a concave cylindrical profile carved into the face. On the top and bottom segments, eng...
include <write/Write.scad> include <pins/pins.scad> part = "frame"; fixing_type = "tabs"; picture_height = 102; picture_width = 152; frame_width = 20; frame_thickness = 10; top_message = "Thingiverse"; bottom_message = "Love"; left_message = "From"; right_message = "With"; back_message = "By CraigRK"; Font = "...
glb/cad_84ac986b7afd.glb
Create a Pet Cage Cleaner tool. Start with a main rectangular body that is 120mm long, 30mm wide, and 5mm thick. Apply a 10mm radius fillet to all vertical edges of this body. Cut a large, rounded rectangular hole through the center of the body to create a handle. This cutout should be 72mm long and 5mm wide, with ro...
edgeround = 10; toolwidth = 6; toollenght = 120; handlysize = 30; handlyhole = 5; latticerodsdistance = 12.5; gapsize = 3.1; gapdepth = 5; rearrangegap = 5; $fn = 70; difference () { union () { minkowski() { cube([toollenght-edgeround*2,handlysize,toolwidth-1]); cylinder(r=edgeround,h=1); ...
glb/cad_23d078cfc063.glb
Create a Bowden Extruder mount for a 3up printer. Start with a base mounting plate for a NEMA 17 motor, 6mm thick, with a central axle hole of 22.5mm radius and four mounting holes at the corners offset by 15.5mm from the center, each 6.2mm in diameter. Attach a frame mount to the side, 15mm wide and 75mm long, with a...
include <common_hardware.scad>; $fn=64; epsilon = 0.1; extra_radius = 0.1; 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; m5_radius = 4.9/2+extra_radius; m5_head_radius = 8.4/2+extra_radius; drive_gear_outer_radius =...
glb/cad_d64bd62601fa.glb
Create a Bowden Extruder for a 3up printer. Start by constructing a NEMA 17 mounting plate with a height of 6mm. This plate should be a rounded rectangle with a width of 42.3mm and a central axle hole with a radius of 7.5mm. Include four mounting holes for the NEMA 17 motor, each 3mm in diameter, positioned at offsets ...
include <common_hardware.scad>; $fn=64; epsilon = 0.1; extra_radius = 0.1; 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; m5_radius = 4.9/2+extra_radius; m5_head_radius = 8.4/2+extra_radius; drive_gear_outer_radius =...
glb/cad_00a50cd9af0c.glb
Create a Bowden Extruder mount consisting of three primary components: a motor mounting plate, a frame mount, and a filament tunnel. First, create the motor mounting plate as a flat base with a width of 42.3mm and a height of 6mm. Center a large circular cutout with a radius of 12.25mm in the middle. Add four mounting...
include <common_hardware.scad>; $fn=64; epsilon = 0.1; extra_radius = 0.1; 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; m5_radius = 4.9/2+extra_radius; m5_head_radius = 8.4/2+extra_radius; drive_gear_outer_radius =...
glb/cad_526cfa352c5f.glb
Create a rod for a cell phone mount with a total length of 250mm and a consistent diameter of 9mm. The rod is composed of a central cylinder and two cubic end caps. Start by creating a cylinder with a diameter of 9mm and a height of 70mm to serve as the base. From the end of this cylinder, extend a square prism with a ...
length = 250; diameter = 9; botround = 70; topround = 50; translate([0, diameter/2, diameter/2]) rotate([0,90,0]) { cylinder(d=diameter, h=botround, $fn=100); translate([-diameter/2,-diameter/2,-diameter]) cube(diameter); translate([-diameter/2, -diameter/2, botround]) cube([diameter, diameter, length-(botro...
glb/cad_dba5c7e6457b.glb
Create a cell phone mount consisting of a base plug, a support rod, and a phone cradle. First, construct the base plug as a rectangular block with a total width of 87mm (77mm inner width plus 5mm walls on each side), a height of 9mm, and a depth of 80mm. The interior should be hollowed to fit the specific dimensions ...
cwid = 77; clen = 150; cthk = 9; wall = 5; plug = 15; angle = 20; rodd = 9.5; cube([cwid + 2*wall, wall, clen/2+wall]); cube([(cwid + 2*wall - plug)/2 , 2*wall + cthk, wall]); translate([(cwid + 2*wall + plug)/2,0,0]) cube([(cwid + 2*wall - plug)/2 , 2*wall + cthk, wall]); cube([wall, 2*wall + cthk, clen/2]); transl...
glb/cad_4d7de79445ee.glb
Create a cell phone mount consisting of three separate components: a base mount, a support rod, and a phone cradle. First, create the base mount as a tapered hollow wedge designed to fit into a dashboard cubby. The base has a rear width of 108mm, a front width of 118mm, and a depth of 68mm. The height transitions from...
x1 = 108; x2 = 118; xd = (x2-x1)/2; y = 68; bevel = 3; h1 = 55; h2 = 64; wall = 5; base = 5; h3 = h1/2 + (h2-h1)/2; pz = 9.5; angle = atan2(xd,y); tangle = atan2(h2-h1,y-2*bevel); wtg = 3; hidevolume = false; if(!hidevolume) { difference() { union() { if(wtg == 3) { difference() { translate([x2/2 ...
glb/cad_148ab056ed58.glb
Create a cover plug for a variac consisting of three stacked layers. The base layer is a flat plate 2mm thick. This plate is formed by a cylinder with a diameter of 25.17mm (calculated as 21.3mm plus a 4mm overhang on each side) from which a rectangular section is removed, leaving a semi-circular flange. A circular cut...
module VariacPlug() { S = 152.4/17.1; D1 = 21.3*.9; D2 = 119.25; W1 = D1; L1 = 38; OU = 4; LIP = 2; THK = 2; SM_THK = 1.75*1.1; { translate([0,0,-THK/2]) union() { cylinder(THK, OU+D1/2, OU+D1/2, center = true); difference () { translate([0,(L1/2),0]) cube([2*OU+W1, L1, THK], center = true);...
glb/cad_fa8478f5b451.glb
Create a Ghetta pour-over coffee brewer adapter. Start by creating a hollow cylindrical base with an inner diameter of 85mm, a wall thickness of 2mm, and a height of 5mm. On top of this base, add a conical section that transitions from the 85mm inner diameter to a larger outer diameter of 113mm over a height of 20mm, m...
$fn = 360/2; fudge_factor = 2; wall_thickness = 2; vessel_od = 109 + fudge_factor + wall_thickness; swissgold_id = 89 - fudge_factor - wall_thickness; cone_height = 20; vessel_lip_height = 4; vessel_inner_lip_width = 7; vessel_inner_lip_height = 12; swissgold_lip_height = 5; minimal = true...
glb/cad_2f2bf782b675.glb