Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a board game organizer insert by starting with a rounded rectangular block measuring 143.8mm in length, 69.2mm in width, and 26mm in height, with corner radii of 3mm. From this main body, remove a central rectangular cavity measuring 104mm by 60mm with a depth of 21mm, positioned 19.9mm from the front edge and 5...
$fn=200; difference(){ roundedCube(143.8,69.2,26); translate([19.9,5,2]) cube([104,60,100]); translate([71.9,70,-1]) rotate([0,0,0]) cylinder(h=400, d=25, center=false); translate([71.9,0,-1]) rotate([0,0,0]) cylinder(h=400, d=25, center=false); translate([54.5,100,20]) rotate([90,0,0]) linear_extrude(230) differ...
glb/cad_4aa5dc7aa572.glb
Create a Fantastic Factories with Expansions Insert organizer by starting with a rounded rectangular block measuring 143.8mm in length, 69.2mm in width, and 21mm in height, with corner radii of 3mm. Hollow out the center of this block to create a storage tray measuring 104mm by 64.4mm with a depth of 20mm, leaving a wa...
$fn=200; difference(){ roundedCube(143.8,69.2,21); translate([19.9,2.4,1]) roundedCube(104,64.4,100); translate([0,34.6,-1]) rotate([0,0,0]) cylinder(h=400, d=35, center=false); translate([143.8,34.6,-1]) rotate([0,0,0]) cylinder(h=400, d=35, center=false); translate([3,14.4,-1]) rotate([0,0,90]) linear_extrude(4...
glb/cad_b8dd6c25866a.glb
Create a board game organizer insert by starting with a solid rounded cube measuring 70mm wide, 139.2mm deep, and 65mm high, with corner radii of 3mm. Hollow out the main body by removing a smaller rounded cube from the center, measuring 38.4mm wide, 64.4mm deep, and 100mm high, positioned 2.4mm from the left wall and ...
$fn=200; difference(){ roundedCube(70,139.2,65); translate([2.4,72.4,1]) roundedCube(38.4,64.4,100); translate([43.2,69,-1]) roundedCube(38.4,74.4,100); translate([13,-3,-1]) roundedCube(100,61.2,100); translate([-1,-3,19]) cube([100,73,100]); translate([40.2,136.2,-1]) mirror([1,0,0]) rotate([0,0,90]) linear_ex...
glb/cad_01cb61f2a98b.glb
Create a parametric rack for external drives and single-board computers. Start with a base plate measuring 115.5mm wide, 123mm deep, and 10mm thick. From this base, remove a central rectangular section of 95.5mm by 85.5mm with a depth of 11mm, and a second interior section of 75.5mm by 103mm with a depth of 11mm. Cons...
bays=4; $fn=250; use <nutsnbolts/cyl_head_bolt.scad>; use <nutsnbolts/materials.scad>; difference(){ translate([0,-20,0]) cube([115.5,123,10]); union(){ translate([10,-1.25,-.5]) cube([95.5,85.5,11]); translate([20,-10,-.5]) cube([75.5,103,11]); } } for (loop=[1:bays]) { translate([0,0,(45*(loop-1))]) { difference()...
glb/cad_57ff5f88ec63.glb
Create a drive bay rack for external hard drives. Start with a main rectangular block measuring 115.2mm in length, 83mm in width, and 29.1mm in height. Add a thin base plate extending from the bottom, measuring 115.2mm by 93mm with a thickness of 2.5mm, positioned 5mm offset from the main body's width. Hollow out the...
$fn=250; use <honeycomb/honeycomb.scad> use <nutsnbolts/cyl_head_bolt.scad>; use <nutsnbolts/materials.scad>; difference(){ { difference(){ union(){ cube([115.2,83,29.1]); translate([0,-5,0]) cube([115.2,93,2.5]); difference(){ translate([115.2,-20,0]) cube([2.5,123,29.1]); union(){ rotate([0,90,0]) translate([-15,93,...
glb/cad_2d424246760b.glb
Create a rack top cover for a drive bay system. Start with a main rectangular base measuring 120.5mm in width, 128mm in depth, and 4mm in height, positioned from x=-2.5, y=-22.5, and z=45. Add four smaller rectangular blocks, each 25mm wide, 24mm deep, and 5mm high, located at the corners: two at the front (x=-2.5 and ...
$fn=250; use <honeycomb/honeycomb.scad> difference(){ { union(){ translate([-2.5,-22.5,45]) cube([120.5,128,4]); translate([-2.5,-22.5,40]) cube([25,24,5]); translate([93,-22.5,40]) cube([25,24,5]); translate([-2.5,81.5,40]) cube([25,24,5]); translate([93,81.5,40]) cube([25,24,5]); } } union(){ translate([0,-20,0]) c...
glb/cad_9d1f2852c86d.glb
Create an Azul game organizer tray by starting with a rounded rectangular block measuring 249mm in length, 126.6mm in width, and 48.6mm in height, with corner radii of 5mm. Hollow out the center of this block to create a storage compartment that is 194.6mm long, 121.8mm wide, and 49mm deep, leaving a base thickness of ...
$fn=200; difference(){ roundedCube(249,126.6,48.6); translate([52,2.4,1]) roundedCube(194.6,121.8,49); translate([3.5,2.4,49]) rotate([0,45,0]) cube([205.6,121.8,49]); } difference(){ translate([52,2.4,0]) cube([193.6,121.8,6]); translate([52,2.4,1]) cube([193.6,121.8,6]); } module roundedCube(x,y,z) { r=5; tran...
glb/cad_b7bac4abc6a3.glb
Create a Kiddiz Skirt for a minifigure. The main body is a rounded block 8mm wide, 8mm deep, and 11mm high. The front and back faces are flat, while the side faces are rounded. The top surface is rounded with two spheres of 3mm radius centered at the front and back edges. At the bottom, create two square holes of 4.6m...
$fn=60; difference() { union() { difference() { translate([0,-0.5,0]) union() { cylinder(r1=8/2,r2=6/2,h=11); translate([8,0,0]) cylinder(r1=8/2,r2=6/2,h=11); CubePoints = [ [ 0, -4, 0 ], [ 8, -4, 0 ], ...
glb/cad_70220dc4d585.glb
Create a cable holder consisting of a mounting base and a curved arm. First, construct the holder arm as a rounded rectangular frame with an overall length of 100mm, height of 60mm, width of 5mm, and thickness of 10mm. The arm should have a 3mm inner radius and 1mm chamfered edges. Cut a cable entry hole through the ...
arm_length = 100; arm_height = 60; arm_width = 5; arm_thickness = 10; arm_radius = 3; arm_chamfer = 1.0; cable_hole = 5; cable_ear_height = 5; cable_ear_width = 10; base_style = "front90"; base_height = 50; base_width = 20; base_thickness = 5; base_radius = 5; base_holes = 2; base_hole_diameter = 4; bas...
glb/cad_7913dc20fdc7.glb
Create a light box sign for a "movie cave" consisting of a hollow rectangular housing and two faceplates. Construct the main housing as a rectangular shell with outer dimensions of 200mm in length, 100mm in width, and 50mm in height. The walls should be 3mm thick. On the left side of the housing, create a rectangular...
$fn=100; Links=0; Linkerplaat=0; Rechts=0; Rechterplaat=0; GlasplaatL=0; GlasplaatR=0; Draaddoorvoor=1; if(Draaddoorvoor) { difference() { cylinder(d=20,h=3); translate([-2,-1,-1])cube([4,20,5]); } } module Top() { difference() { union() { Cube(200,100,50,10); translate([180,0,0]) cube([20,100,50]); ...
glb/cad_94c22ad38bca.glb
Create a coin storage box consisting of four cylindrical towers joined by a common outer wall. The towers are arranged in a row with a 3mm gap between them and an outer wall thickness of 3mm. Each tower is a hollow cylinder designed to hold a specific coin type. The first tower has an inner diameter of 23.26mm and ho...
CreateScale=true; Distance=3; OuterWallThickness=3; Tolerance=1; Coin1Num=20; Coin1Dia=22.26; Coin1T=2.17; Coin2Num=20; Coin2Dia=24.25; Coin2T=2.34; Coin3Num=20; Coin3Dia=23.26; Coin3T=2.39; Coin4Num=20; Coin4Dia=25.74; Coin4T=2.34; TotalWidth=Coin1Dia+Coin2Dia+Coin3Dia+Coin4Dia+3*Distance+2*OuterWallTh...
glb/cad_9329708bf054.glb
Create a Short-Scale Tenor Guitar fingerboard by constructing two matching rectangular slabs. Each slab should be 40mm wide and 4mm thick. For the first slab, create a series of thin, rectangular slots across the width of the board to accommodate fretwire. Position these slots according to a scale length of 18 inches...
include <BOSL2/std.scad> module body_shape(length, thickness) { minkowski() { hull() { scale([ 1.3, 1, 1 ]) { cylinder(thickness, length, length * 3 / 4); } translate([ length, 0, 0 ]) { cylinder(thickness, length / 2, length / 2); } } sphere(10, $fn = 40); } } module body(s...
glb/cad_24e6144d6957.glb
Create a parametric lamp shade consisting of a conical wall and a supporting light ring. Start by constructing the shade wall as a hollow truncated cone with a height of 100mm. The top outer diameter is 80mm and the bottom outer diameter is 140mm, with a uniform wall thickness of 1mm. At the top of the shade, position...
use <hull.scad>; $fn = 120; outer_diamerter_upper = 80; outer_diamerter_lower = 140; shade_wall_height = 100; shade_wall_thickness = 1; light_ring_is_closed = false; light_ring_height = 50; link_ring_radial_separation_upper = 0.5; inner_diameter_lower = outer_diamerter_lower - (2 * shade_wall_thickness); inner...
glb/cad_617250efb57b.glb
Create an interlocking coaster by starting with a base cylinder that has a radius of 45.5mm and a height of 2mm. On top of this base, add a series of very thin concentric rings (0.1mm height each) that gradually increase in radius from 43.5mm up to 45.3mm, creating a slightly tapered effect. At the very top of the ob...
$fn = 200; text1="Welcome"; TextSize=10; font="Courier New:style=Bold"; coasterRadius=47.5; coasterRadius2=coasterRadius-4; cylinder(r1=coasterRadius-2, r2=coasterRadius-2, h=2); for( i =[1:0.1:1.9]) { j=i*2; translate([0,0,i]) { cylinder(r1=coasterRadius2+j,r2=coasterRadius2+j,h=0.1); } } ...
glb/cad_28c234100484.glb
Create a circular coaster storage container. Start by creating a solid cylinder with a radius of 48.5mm and a total height of 17mm. From the top of this cylinder, remove a concentric cylindrical core with a radius of 47.75mm and a height of 15mm, starting from a height of 2mm above the base. This results in a shallow o...
$fn = 200; coasterRadius=47.5; numCoaster=5; thickness=numCoaster*3; difference() { cylinder(r1=coasterRadius+1,r2=coasterRadius+1,h=thickness+2); translate([0,0,2]) { cylinder(r1=coasterRadius+0.25,r2=coasterRadius+0.25,h=thickness); } }
glb/cad_986759b1f86f.glb
Create an interlocking coaster by constructing a shallow cylinder with a radius of 49.25mm and a height of 4.5mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 48.25mm and a height of 4.5mm, but start the removal 1mm from the base to leave a solid bottom floor. This r...
$fn=200; coasterRadius=47.5; difference() { cylinder(r1=coasterRadius+1.75,r2=coasterRadius+1.75,h=4.5); translate([0,0,1]) { cylinder(r1=coasterRadius+0.75,r2=coasterRadius+0.75,h=4.5); } }
glb/cad_37fa5819d74f.glb
Create a hex bit holder insert for an Altoids tin. Start by creating a rounded rectangular base with a width of 57mm, a length of 92mm, a height of 10mm, and a corner radius of 12mm. Hollow out the center of this base to create a wall thickness of 4mm. Fill the interior volume with a grid of hexagonal cells. Each cell...
include <../BOSL2/std.scad> module cell(SW_hole, height, cellwall) { tol = 0.001; difference() { cyl(d=SW_hole+2*cellwall,h=height,$fn=6,circum=true); cyl(d=SW_hole,h=height+tol,$fn=6,circum=true); } } module grid(size,cell_hole,cell_wall) { dx=cell_hole*sqrt(3)+cell_wall*sqrt(3); dy=cell_hole+cell_...
glb/cad_36e2cf7252e7.glb
Create a Dual Name 3D decorative sign. The design consists of two words, "FIRST" and "SECOND", intersecting at right angles to create a 3D effect. Each letter should have a width of 8mm. The first word is extruded 8mm and positioned horizontally. The second word is also extruded 8mm but is rotated 90 degrees relative...
letter_width=8; text1 = "FIRST"; text2 = "SECOND"; font = "Liberation Mono"; supportSize = 0.5; render_base = true; heart = "♥"; length = max(len(text1), len(text2)); function padText(textToPad, length, char=heart) = len(textToPad) >= length ? textToPad : (length - len(textToPad)) % 2 == 0 ? ...
glb/cad_71a50e6d90cb.glb
Create a Knaus Window Rollo holder. Start with a base block that is 60mm long, 22mm high, and approximately 13.5mm wide. The main body consists of two parallel outer walls, each 2.2mm thick, separated by a central gap. In the center of the block, integrate a cylindrical section with a diameter of 4.4mm and a height o...
$fn=80; gap=0.2; a=2.9+gap/2; b=2.4-gap; c=2.5+gap/2; d=1.6+gap/2; wall=2.2; y1=10+gap; y2=7+gap; y3=(y1-y2)/2; xo=6.5+gap; w1=a+b+c+d; w=wall+w1+wall; h=22; l=60; difference() { union() { translate([-wall,-wall,0]) cube([w,y1+wall,h]); translate([w1/2-wall/2,-wall,0]) cube([wall,l,h]); translate([w1/2,y1,0]) cyl...
glb/cad_3d5c5d6c53f2.glb
Create a Lego City Train Track compatible X-Cross Bahnübergang. The model consists of two parallel rail sections, each 120mm long, running side-by-side. For each rail, create a profile with a base height of 8mm. The rail profile should follow a specific geometric path: starting at the base, it rises to 8mm, then step...
length = 120; module rail_main(length) { poly = [[0,0],[0,8],[3,8],[3,7],[4,7],[7,5.25],[9,5.25],[9,2.75],[7,2.75],[4,1],[3,1],[3,0]]; rotate([90,-90,180]) linear_extrude(length) polygon(poly); } module rail_endpoint_right() { off_l=0.5; off_h=-0.15; poly = [[0,2],[0,6],[3+off_h,6],[3+off_h,4],[9,4],[...
glb/cad_32ba96c200bb.glb
Create an emergency stop pin for a Mercury Marine outboard. Start by constructing a main elongated body that is a hollowed-out semi-oval. This body should have an inner diameter of 8mm and an outer diameter of 13mm, extending to a total length of 21mm. The cross-section of this main body is a ring with a wall thickness...
$fn=50; not_id=8; not_od=13; not_l=21; not_wall=(not_od-not_id)/2; halter_id=4; halter_od=8; halter_l=halter_od; winkel=180+14; winkel_off=90-(winkel-180)/2; fuss=not_wall/2/2; rotate([0,0,winkel_off]) rotate_extrude(angle=winkel,convexity = 10) translate([not_id/2+not_wall/2, 0, 0]) scheibe(); hull() { rotate([...
glb/cad_16ccfc47e470.glb
Create a spool roller designed for 608 bearings. Start with a base block that is 164mm long, 16mm wide, and 13.5mm thick. The top surface of the block should curve downward in the center to create a concave valley, leaving two raised circular platforms at each end to house the bearings. At each end of the block, cente...
bearing_outer_d = 22; bearing_inner_d = 8; bearing_width = 7; bearings_span = 150; screw_length=12; layer_height=.2; extrusion_width=.3; epsilon=.01; module spool_roller( b_od=bearing_outer_d, b_id=bearing_inner_d, b_h=bearing_width, b_iod=bearing_inner_d+2, b_span=bearings_span, b_rclearance=3, b_aclearan...
glb/cad_42a401c17938.glb
Create a Skadis Pegboard Y-Hook designed to hold tools. Start by constructing a vertical mounting assembly consisting of two identical hook-shaped pegs spaced 40mm apart. Each peg is composed of a rounded head and a neck with a width of 4.8mm and a height of 14.8mm, designed to fit into a 5mm deep pegboard hole with a ...
hook_width = 30; hook_length = 20; hook_height = 5; fillet_size = 2.0; tolerance = 0.2; hook_draft_percent = 5; { hole_width = 5; hole_height = 15 - hole_width / 2; hole_spacing = 40; skadis_depth = 5; width = hole_width - tolerance; height = hole_height - tolerance; depth = skadis_depth + tolerance; m...
glb/cad_44b42bfc1dd1.glb
Create a shopping chip with a diameter of 23.25mm and a height of 2.33mm. Start with a solid cylinder of these dimensions. Carve out a central cylindrical recessed area that is 1.33mm deep, leaving a rim around the edge; this inner cylinder should have a diameter of 20.05mm. Inside this recessed area, emboss a mining...
d = 23.25; h = 2.33; $fn = 128; module outline() { cylinder(d = d, h = h); } render() difference() { outline(); eisenschlaegelbox(); } eisenschlaegel(); module eisenschlaegelbox(fullUpper = false) { if (fullUpper) { translate([ 0, 0, 1 ]) cylinder(h = h - 1, d = d + 1); } else { translate([ 0, 0, 1 ...
glb/cad_aa872454b549.glb
Create a skimmer holder by designing a main body and a secondary attachment. For the main body, create a 2D profile and extrude it to a height of 50mm. The profile is based on a hull of two circles, one with a 40mm radius centered at the origin and another with a 40mm radius centered at [0, -20], from which several sha...
linear_extrude(50) { r_out = 40; difference() { hull() { circle(r = r_out); translate([0, -r_out / 2]) circle(r = r_out); } translate([6, 0]) union() { hull() { translate([1, 0]) circle(d=22.5); translate([-11.5, -(22.5 ...
glb/cad_4cd8ad14f8fd.glb
Create an adjustable clamp by starting with a base block that is 60mm long, 20mm wide, and 4mm thick. Extend this base by adding a section that slopes upward from the 4mm thickness to a height of 20mm over a length of 20mm at one end, creating a wedge-like profile. Through the center of this body, carve out a longitudi...
retainer_thickness = 4; screw_hole = 3; adjustment_length = 40; big_length = 60; width = 20; $fn=64; module circular_cutout(diam, leng){ hull(){ circle(d=diam); translate([leng,0]) circle(d=diam); } } difference(){ hull(){ translate([0,-width/2,0])cube([big_length,width,retainer_th...
glb/cad_104367c465a0.glb
Create a Spring Clip retainer by constructing a circular ring with a height of 2.5mm. The main body is defined by an outer diameter of 9.7mm and an inner diameter of 8.22mm. To create the spring mechanism, remove a 150-degree pie-slice section from the ring's wall, leaving a 210-degree arc. Repeat this cutout on the op...
include <BOSL2/std.scad> $fn = 64; outer_diameter = 8.22; thread_diameter = 4.2; clip_outer_margin = 1; clip_height = 2.5; sping_angular_length = 150; module flat_clip(){ spring_thickness = 0.4; difference(){ union(){ intersection(){ cylinder(d=outer_diameter+2*clip_outer_ma...
glb/cad_78fc4913ca45.glb
Create a safety latch consisting of a flat main body and a cylindrical head. Start by creating a central rectangular strip that is 125mm long, 13mm wide, and 2.2mm thick. At one end of this strip, integrate a hollow cylindrical head with an outer diameter of 12mm and a height of 4mm. This cylinder must have a concentri...
$fn=40; inner_d=5.6; outer_d=12; thickness=4; thickness1=2.2; tube_x=25.5; tube_r=2; tube_x_outside=tube_x+thickness*2; tube_l=125; length=50; width=13; difference(){ union(){ cylinder(d=outer_d, h=thickness); hull(){ translate([length/2,0,0])cylinder(d=width, h=thickness1); ...
glb/cad_ed07a9bad5c9.glb
Create a keyhole peg designed to hold an object via a screw. Start by creating a base body that is the convex hull of two cylinders: one centered at the origin with a diameter of 12mm, and another with a diameter of 5mm positioned 6.5mm away from the center along the x-axis. Set the total height of this body to 6mm. F...
Wall=2; Pin_height=3; Hole_diameter=4; Pin_top_diameter=5; Pin_thin_diameter=3; Screw_head_diameter=8; Screw_head_height=4; Punch = 0.001; $fn = 90; module body() { risen = Wall + Screw_head_height; hull() { cylinder(h=risen, d=Screw_head_diameter + Wall*2); translate([screw_clearance_d + Pin...
glb/cad_94ce6a1d23de.glb
Create a vacuum cleaner wand holder by starting with a solid rectangular block measuring 62mm in width, 34.5mm in depth, and 12.4mm in height. Carve out a central rectangular cavity to accommodate the wand, consisting of three joined rectangular sections: a central block of 44.5mm by 30mm by 7.5mm, and two flanking blo...
$fa = 1; $fs = 0.4; laenge = 5; module Staubsauger() { cube([44.5,30,7.5]); translate([-3.75,0,7.5]){ cube([52,30,7.5]); } translate([-3.75,0,-6]){ cube([52,30,7.5]); } } module Halterung(){ rotate([90,0,0]){ difference() { translate([(50-44.5)/-2-6,-5,-5....
glb/cad_2a321a6823d9.glb
Create a miniature desk model of the DesqTail. Start with a base structure composed of several intersecting rectangular prisms: one centered block measuring 42mm x 78mm x 3mm, a vertical block measuring 5mm x 78mm x 51mm, and a wide horizontal block measuring 67mm x 5mm x 55mm. Integrate a series of cutouts and holes ...
include <nutsnbolts/cyl_head_bolt.scad>; $fn=64; function dah(diameter, vertical = true) = vertical == true ? (1.0155 * diameter) + 0.2795 : (0.9927 * diameter) + 0.3602; module fillet(r, h) { translate([r / 2, r / 2, 0]) { difference() { cube([r + 0.01, r + 0.01, h], center = true); ...
glb/cad_56360b6f1feb.glb
Create a miniature desk model of the DesqTail consisting of four separate components. First, create a conical tip piece by forming a truncated cone with a height of 20mm, tapering from a base diameter of 15mm to a top diameter of 5mm. Remove a central vertical hole with a diameter of 5.34mm and two side holes with di...
include <nutsnbolts/cyl_head_bolt.scad>; $fa = 1; $fs = 0.5; $fn = 0; function dah(diameter, vertical = true) = vertical == true ? (1.0155 * diameter) + 0.2795 : (0.9927 * diameter) + 0.3602; module fillet(r, h) { translate([r / 2, r / 2, 0]) { difference() { cube([r + 0.01, r + 0.01, h], c...
glb/cad_b4d62cb47d76.glb
Create a Vape Tank Security Ring by constructing a hollow cylinder with a height of 5.9mm. The ring should have an outer diameter of 24.5mm and a concentric inner hole with a diameter of 22.0mm, resulting in a wall thickness of 1.25mm. Ensure the circular profiles are smooth with a high facet resolution of 75 segments.
InnerDiameter=22.0; OuterDiameter=24.5; Height=5.9; $fn=75; difference(){ cylinder(h=Height,r=OuterDiameter/2); translate([0,0,-1]) cylinder(h=Height+2,r=InnerDiameter/2); }
glb/cad_2bf2dc5ceeaa.glb
Create a Parametric Plant Tie-Down by extruding a flat 2D profile to a thickness of 1.5mm. The overall footprint is a rectangle measuring 11mm wide by 60mm long. Within this rectangle, remove a central circular hole with a diameter of 4.5mm, positioned so its center is 5.75mm from the bottom edge. From the top edge of ...
diameter = 4.5; leg_width = 3.5; height = 60; top_margin = 3; thickness = 1.5; fillet = 1.5; $fn = 10; outer = diameter + 2*leg_width; cutout_y = top_margin + diameter / 2; module fillet_cutter() { translate([fillet, fillet, 0]) difference() { translate([-fillet, -fillet, 0]) square([fillet, f...
glb/cad_33787fec2176.glb
Create a Parametric Spacer by constructing a square prism with a width of 36mm and a height of 36mm. Extrude this square shape to a depth of 7mm to form a thin, flat rectangular plate.
$depth = 7; $width = 36; $height = 36; linear_extrude($depth) { square([$width, $height],false); }
glb/cad_ecb703902444.glb
Create a Parametric Spacer by extruding a specific L-shaped polygon to a height of 7mm. The base footprint is defined by two overlapping rectangular areas. Start with a primary rectangle measuring 36mm by 48mm. From the top-right corner of this rectangle, remove a rectangular section measuring 8mm by 20mm to create a c...
$depth = 7; $side1 = 28; $side2 = 36; $overhang = 20; $side1Total = $side1 + $overhang; $side2Total = $side2 + $overhang; linear_extrude($depth) { polygon( points = [ [0, 0], [0, $side1Total], [$side2, $side1Total], [$side2, $side1], [$side2To...
glb/cad_50f330734a8b.glb
Create a tombstone-shaped case for medicine blister packs. The outer shell should be a rounded rectangle with a total width of 37.7mm, a height of 85.45mm, and a depth of 6.85mm. The top two corners must be square, while the bottom two corners are rounded with a radius of 6.25mm. Hollow out the center of this shape to...
Width = 34.7; Height = 84.2; Depth = 4.6; Border_radius = 5; Extra_base = 0; $fn=100; Tolerance = 0.15; Punch = 0.01; Wall = 1.25; module tombstone(x, y, z, r, extra_base=0) { hull() { translate([ r, r, 0 ]) cylinder( h=z + extra_base, r...
glb/cad_1d7aacd9be9c.glb
Create a Dahle 507 A5 stop consisting of a thin-walled rectangular frame and an attached clip. Start by constructing a rectangular tube with a footprint of 30mm by 30mm, a wall thickness of 0.8mm, and a height of 20mm. Apply a corner rounding radius of 3.8mm to this tube. Position this tube so its center is offset by 2...
include <BOSL2/std.scad> $fn = 90; wall = 0.8; fudge = 1; size = 30; a = 11.3; b = 22.6; c = 1.35; d = 20; clip_height = 0.7; bumper_height = 8; module under_clip() { translate([c, 0, 0]) { cube([wall, clip_height, d]); } translate([0, -wall, 0]) { cube([c + wall, wall, d]); } } mod...
glb/cad_7f3c68552597.glb
Create a belt buckle designed to hold an 8x8 LED matrix. Start by creating a main rectangular frame with an outer dimension of 7.7mm by 7.7mm, a height of 1mm, and rounded corners with a radius of 0.2mm. Cut a central square hole through the frame measuring 6.5mm by 6.5mm, but leave a thin recessed ceiling of 0.25mm th...
$fn = 80; inner = 6.5; thickness=0.6; height = 1.0; belt = 4.2; holder_r = 0.35 / 2; holder_z = -1.3; pin_r = 0.3 / 2; pin_length = 1.5; pin_head_offset = 0.3; pin_thickness = thickness/2.7; glass_size = inner + 2*0.2; glass_height = 0.25; outer = inner + 2*thickness; rounded = 0.2; module box() { o = outer-2*rou...
glb/cad_c79244799dc4.glb
Create a camera holder consisting of a flat base and a tilted circular ring. Start by creating a base plate formed by two cylinders with a radius of 3mm and a height of 2mm, centered 14.8mm apart along the Y-axis. Remove a smaller 1mm radius cylinder from the center of each to create two mounting holes. Construct a c...
$fn = 80; STANDOFF_DISTANCE = 14.8; CAMERA_D = 14.4; NOTCH_WIDTH = 1.5; NOTCH_DEPTH = 1; BASE_R_INNER = 1; BASE_R_OUTER = 3; BASE_HEIGHT = 2; HOLDER_THICKNESS = 2; HOLDER_DEPTH = 3; HOLDER_ANGLE = 20; HOLDER_R = CAMERA_D/2 + HOLDER_THICKNESS; module base_cylinders(r) { dist = STANDOFF_DISTANCE/2; translate([-...
glb/cad_d1cc9024502e.glb
Create a Collapsible Fidget consisting of 30 concentric hexagonal sections. Each section is a hexagonal ring with a total height of 10mm, centered on the same axis. The outermost section has a radius of 60mm. For each section, create a hexagonal shell with a wall thickness of 1mm. The geometry of each ring is formed ...
sections = 30; radius = 60; height = 10; sides = 6; tol = 1; offset = 2; line_thickness = 1; $fn = sides; for(i=[0:sections-1]) difference() { union() { cylinder(height/2, (radius-(i*(line_thickness+tol))), (radius-(i*(line_thickness+tol)))+offset); translate([0, 0, height/2]) { ...
glb/cad_1c5b9af12385.glb
Create a Little Ladder magnetic mount. Start by constructing two parallel side rails, each 10mm thick and 200mm long. These rails should be spaced 50mm apart. Within each rail, create a cylindrical hole with a radius of 3.25mm and a depth of 3.5mm; position one hole 5mm from the start of the rail and the other 190mm fr...
$fn = 100; module little_ladder( rungs = 8, rung_height = 5, gap = 15 ) { body_length = (rungs - 1) * (rung_height + gap) + rung_height; translate([0, 0, 30]) rotate([-90, 0, 0]) { for (z = [0:40:40]) { translate([0, 0, z]) difference() { linear_extrude(10) polygon([ [0, 0], [0, 10], [20, ...
glb/cad_6483322272f8.glb
Create a Ceiling Plywood Board Hexagonal Bracket. Start with a hexagonal base that has a radius of 40mm and a thickness of 5mm. Centered within this base, create six circular holes, each 4mm in diameter and 20mm deep. These holes should be arranged in a circular pattern with a radius of 25mm, spaced evenly every 60 deg...
difference(){ cylinder(r=40, h=5, $fn=6, center=true); num_holes = 6; r_of_hole = 25; hole_diameter = 4; hole_depth = 20; for (i=[0:num_holes]){ rotate([0,0,i * (360/num_holes)]){ translate([r_of_hole,0,0]){ cylinder(h=hole_depth, d=hole_diameter, center=true); } } } } num_holes...
glb/cad_311d34a11cd1.glb
Create a tapered sprocket consisting of two variations: a keyed version and an unkeyed version. The base geometry is a cylinder with a central bore of 8mm. The sprocket features a series of teeth around its outer circumference to engage with a drive system. For the first version, create an unkeyed tapered sprocket. Ad...
include <taperedSprocket.scad> $fn = 64; type1(); translate([0,0,-40]) type2(); module type1() { union() { unkeyedTaperedSprocket(); translate([-keyWidth/2,sprocketBore-keyDepth,-spacerHeight]) cube([keyWidth,keyDepth + 1,keyHeight + spacerHeight]); translate([-keyWidth/2,-sprocketBore - keyDepth + 1, -spacerHeigh...
glb/cad_450bce4db643.glb
Create a hoverboard motor track link. Start with a rectangular base plate 35mm long and 4mm thick. On this base, center a solid cylinder with a radius of 6mm and a length of 25mm. Around this central cylinder, create a larger split-cylinder shell with a radius of 9mm and a total length of 65mm. Connect these two cylind...
include <shapes.scad> include <mechanical.scad> $fn = 256; cylinder1_radius = 9; cylinder2_radius = 6; cylinder1_length = 65.0; cylinder2_length = 25.0; pinRadius = .98; pitch = 35.0; bottomPlate_thickness = 4; stiffenerOffset = 6.0; braceThickness = 4; frontCutoutAllowance = .2; frontCutout_radius = cylinder1...
glb/cad_f6387a3976fe.glb
Create a rectangular mounting plate for a motor track system with overall dimensions of 50mm in width, 35mm in depth, and 12mm in height. First, carve four elongated slots through the entire height of the plate to allow for adjustment. Position the first slot at the front-left, the second at the front-right, the thir...
include <mechanical.scad> clampWidth = 50; clampDepth = 35; clampHeight = 12; elongatedHoleLength = 8; elongatedHoleDiameter = 4.5; boreDiameter = 8.2; compression = 1; difference() { plate(); translate([clampWidth/2,clampDepth + .5,boreDiameter/2 - compression]) rotate([90,0,0]) color([0,1,0]) cylinder(r = boreDia...
glb/cad_bda34f88347b.glb
Create a cylindrical ring for a hoverboard motor track system. The ring should have an outer diameter of 140mm and an inner diameter of 127.2mm, resulting in a wall thickness of 6.4mm. The overall height of the ring must be 25mm. Ensure the geometry is a perfectly smooth, concentric hollow cylinder.
$fn=256; height = 25; IR = 127.2/2.0; OR = 140/2; difference(){ cylinder (r=OR,h=height); translate([0,0,-1]) cylinder (r=IR,h=height + 2); }
glb/cad_1e9c0ae7a77a.glb
Create a HUSKE SeaSucker 15x150mm adapter by constructing a hollowed-out composite body with a total length of 150mm. Start by creating a central cylindrical section with an outer diameter of 29mm and a height of 7mm. Extend this center section with two symmetrical outer segments: on one side, add a cylinder with a dia...
$fa=2; $fs=0.2; module fullpiece(id=15,w=150,tolOD=0.1,tolID=0.4,lip=7) { in=20; h=(w-80)/2; difference() { union() { translate([0,0,-in]) cylinder(d=21.0+tolOD,h=in); cylinder(d=29,h=lip); translate([0,0,lip]) cylinder(d1=29,d2=19.5,h=h-lip); } ...
glb/cad_ffc67fe044f4.glb
Create a Taiji extruder visualizer by constructing a primary disc with a diameter of 19.5mm and a total height of 4.5mm. The base of the model is a solid cylinder with a diameter of 19.5mm and a height of 1mm. On top of this base, create a composite shape consisting of two smaller semi-circular elements. First, place...
$fa=1; $fs=0.1; difference() { union() { difference() { cylinder(h = 1, d = 19.5); translate([0, -19.5/2, 0]) cube([19.5/2, 19.5, 1]); } translate([0, -19.5/4, 0]) cylinder(h = 1, d = 19.5/2); } translate([0, 19.5/4, 0]) cylinder(h = 1, d = 19.5/2); trans...
glb/cad_7fc0abe17c30.glb
Create a Fidget Cube consisting of eight interconnected cubes, each with a side length of 20mm. The cubes are arranged in a 2x2x2 grid. Each cube should have beveled edges of 1.6mm and face bevels of 0.8mm. The cubes are connected by hinges that allow them to rotate relative to one another. The hinges are created by s...
subject = "cube"; $fn = 48; gap = 0.3; size = 20; hinge_radius_ratio = 0.30; edge_bevel_size = 1.6; face_bevel_size = 0.8; hinge_wall_thickness = 2.4; hinge_pin_scale = 1; hinge_edge_thickness = 0.4; ball_gap = 0.25; struct_top = true; struct_side = true; e = 1 / 1024; ee = 2 * e; __ = gap; _ = 0.5 * __; ...
glb/cad_7bd524d6b220.glb
Create a magnetic planter shaped as a semi-circular bowl. The main body is a half-cylinder shell with an outer radius of 122mm and an inner radius of 120mm, creating a wall thickness of 2mm. The bowl has a total height of 96mm. On the flat back surface of the planter, create three circular recessed holes to hold magn...
n = 80; $fn = 2*n; PI = 3.14159265359; d = 2; R = 120; mag_h = 5; mag_d = 20; a = R*7/12; r1 = 0.5 * R; h = R*0.8; difference(){ bak(); translate([ 0, 0,-0.7*h])antimagneet(); translate([-0.5*r1,0,-0.2*h])antimagneet(); translate([ 0.5*r1,0,-0.2*h])antimagneet(); } module bak(){ difference(...
glb/cad_a3b0f43b26ae.glb
Create a center piece for an enclosure fender. Start with a main rectangular frame measuring 159mm wide, 68mm deep, and 70mm high, centered on the origin. Flatten the top and bottom surfaces by cutting them with large blocks rotated 35 degrees along the X-axis. Carve a central rectangular cutout through the frame tha...
$fn=60; translate([145,0,0])mirror([1,0,0]){ difference(){ translate([0,-1,0])cube([159,68,70],center=true); translate([-75.5,-12,-19])rotate([35,0,0])cube([10,16,10],center=true); translate([0,-25,45])rotate([35,0,0])cube([170,100,100],center=true); translate([0,20,-63])rotate([35,0,0])cube([170,120,1...
glb/cad_f557ded52fe6.glb
Create a Broken Blind Repair Tab by constructing a hollow, elongated sleeve. Start with a base shape that is 61.35mm long, 25mm wide, and 2.65mm thick. The cross-section of the sleeve should be a rounded rectangle, formed by two semi-circles with a radius of 1.325mm connected by straight parallel lines. The walls of ...
width_of_blind = 65; thickness_of_blind = 2.65; patch_width = 25; patch_thickness = 1; mesh_pattern = true; $fn = 50; edge_radius = thickness_of_blind / 2; width = width_of_blind - edge_radius; module mesh_pattern() { mesh_size = 1; mesh_spacing = 5; for (x = [-width : mesh_spacing : width + width]) { ...
glb/cad_c5c2e7017d8b.glb
Create a Hanging Variable Spacing Hex Bit Holder. Start with a rectangular base that is 15mm high. The total length of the base is determined by the sum of the following socket widths plus a 10mm offset: 6.35mm, 6.35mm, 6.35mm, 9.525mm, 12.7mm, 6.35mm, 9.525mm, and 12.7mm, with each width including a 2mm wall thickness...
_sizes = [ 6.35, 6.35, 6.35, 9.525, 12.7, 6.35, 9.525, 12.7 ]; _sock = 2; _height = 15; _tolerance = 0.08; _extraPadding = 2; _rounded = 1; _holeThrough = 0; _slotted = 1; _bitSize = 6.35; HangHoleCutout=6.35; HangHoleDisplacement=7; holeShift=10; CutLength=14; outerRadius = outR...
glb/cad_e8140689759b.glb
Create a piano hinge consisting of two identical leaves connected by a central pin and interlocking knuckles. Each leaf should be 60mm long, 30mm wide, and 2.5mm thick. The central axis of the hinge is formed by a cylinder with a diameter of 2.5mm. Along this axis, create 11 interlocking knuckles. The pin leaf contain...
Render_Hinge=true; Material_Thickness = 2.5; Gap_Percent = 20; Leaf_Length = 60; Leaf_Width = 30; Knuckles = 11; Large_Knuckle_Recesses = 0; Screw_Holes_Per_Leaf = 4; Screw_Hole_Diameter = 4; Screw_Head_Diameter = 8; Screw_Head_Countersink_Angle = 90; Screw_Hole_Offset = true; Part = 0; Sleeve_Leaf_Rotatio...
glb/cad_897eba76bfe7.glb
Create a speaker pole washer by starting with a solid cylinder 25mm in diameter and 8mm in height. Center a vertical hole 15mm in diameter through the cylinder, starting from a height of 2mm above the base and extending through the top. Drill a smaller 5mm diameter hole vertically through the center of the base, from t...
Height=8; OuterDiameter=25; InnerDiameter=15; HoleDiameter=5; BottomThickness=2; PoleDiameter=60; TopZOffset=5; $fn=120; difference(){ cylinder(r=OuterDiameter/2,h=Height); translate([0,0,BottomThickness])cylinder(r=InnerDiameter/2,h=Height); translate([0,0,-0.01])cylinder(r=HoleDiameter/2,h=Height); t...
glb/cad_513e3720d888.glb
Create a fan duct for a CPU cooler. Start with a square base plate 118mm wide and 4mm thick, with rounded corners of 5mm. In this base, place four 4.4mm diameter screw holes, each positioned 5.25mm from the edges. From the base, extend a hollow funnel with a wall thickness of 1mm. The fan-side opening is a rounded squ...
base_w = 118; base_thk = 4; hole_dist = 105; hole_dia = 4.4; fan_opening = 115; tube_length = 40; tube_thk = 1; hs_width = 97.5; hs_offset_x = 10; hs_offset_y = -7.5; bevel_r=0.5; base_corner_r=5; fan_corner_r=50; extra_cowl_length=23; $fa=2; translate([0,0,0]){ difference() { union() { Round...
glb/cad_16ae434a57f4.glb
Create a fan duct for a CPU cooler. Start with a square base plate 120mm wide and 4mm thick, with rounded corners of 5mm. In this base, place four 4.4mm diameter screw holes, each positioned 52.5mm from the center of the plate along both the X and Y axes. Construct a hollow funnel extending from the base. The fan-side...
base_w = 120; base_thk = 4; hole_dist = 105; hole_dia = 4.4; fan_opening = 115; tube_length = 40; tube_thk = 1; hs_width = 97.5; hs_offset_x = 10; hs_offset_y = -7.5; bevel_r=0.5; base_corner_r=5; fan_corner_r=50; extra_cowl_length=23; $fa=2; translate([0,0,0]){ difference() { union() { Round...
glb/cad_8fbd6a9f448a.glb
Create a Snail and Slug fence collar consisting of a vertical hollow cylinder and an attached angled brim. First, construct the main vertical wall as a hollow cylinder with an outer diameter of 200mm, a height of 100mm, and a wall thickness of 1.2mm. At the base of this cylinder, add a conical collar that flares ou...
ft="circle"; dm=200; kh=30; st=1.2; st2=1.5; gh=100; winkel=40; segmente=4; zaunl=200; vwinkel=5; clh=50; $fn=60; verbinder=true; swinkel=360-360/segmente; hypo=kh/sin(90-winkel); versatz = sqrt(hypo*hypo-kh*kh); faktor = versatz / kh; module vollkreis() { difference() { cylinder(d1=dm,d2=dm+2*versatz,h=k...
glb/cad_54840134f71a.glb
Create a razor holder stand by constructing a solid base that combines a cylinder and a hemisphere. Start with a cylinder that has a diameter of 30mm and a total height of 28mm. Cap the top of this cylinder with a hemisphere of the same 30mm diameter, effectively creating a dome-topped shape. From the center of the fla...
RazorDia=10.5; RazorHoleDepth=25; BaseDia=30; BottomT=3; $fn=180; RazorStand(); module RazorStand(){ difference(){ union(){ TopRoundCylinder(r=BaseDia/2,h=RazorHoleDepth+BottomT); } translate ( [0,0,BottomT+0.01])cylinder(r=(RazorDia)/2,h=RazorHoleDepth); } } mod...
glb/cad_78dad3a3690a.glb
Create a Customizable Braille A4 sheet by starting with a rectangular base plate measuring 210mm by 297mm with a thickness of 0.6mm. On the top surface of this plate, add embossed Braille characters with a height of 0.9mm. The characters should be arranged in twenty horizontal rows. The first ten rows are positioned ...
use <Write.scad> $E0 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefg"; $E1 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E2 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E3 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E4 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E5 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E6 = "0123456789AB...
glb/cad_3670153c4619.glb
Create a Sunfish drain plug consisting of a threaded bolt and a retention loop. Start by creating a bolt with UNC-1/2 thread specifications, featuring 5 turns of threading. The bolt should be topped with a hexagonal head that has a radius of 9mm and a height of 4mm, constructed as a 6-sided prism. Positioned above the ...
use <threadlib/threadlib.scad> echo ("threadlib version: ", __THREADLIB_VERSION()); type = "UNC-1/2"; turns = 5; Douter = thread_specs(str(type, "-int"))[2] * 1.2; echo(thread_specs(str(type, "-ext"))); nth=4; translate([0,0,nth-1]) bolt(type, turns); translate([0,1.5,14]) rotate([90,0,0]) difference(){ cylinder(r...
glb/cad_a230446408b1.glb
Create a ventilation hole generator consisting of a wide circular base and a protruding cylindrical tube. Start by creating a flat circular disk with a diameter of 75mm and a height of 2mm. Centered on this disk, add a concentric cylinder with an outer diameter of 60mm and a total height of 22mm. Hollow out the center ...
$fn=80; tube_width=60; length=20; wall_thickness=4; frame=75; mesh=true; difference() { union() { translate([0,0,0]) cylinder(d1=frame-3,d2=frame,h=2); translate([0,0,0]) cylinder(d=tube_width,h=2+length); } union() { translate([0,0,-1]) cylinder(d=tube_width-wall_thickness,h=(4+l...
glb/cad_8a2e8ebede3d.glb
Create a Bullet Journal Time Blocking template by starting with a rectangular base measuring 65mm in width, 50mm in depth, and 0.6mm in height. Cut four rectangular slots through the base to create time-blocking guides: the first slot is 15mm wide and 10mm deep, positioned 5mm from the left edge and 5mm from the top ed...
holeRadius=2; interval=6; dimX=65; dimY=15+(5*7); dimZ=0.6; $fn=50; difference(){ cube([dimX, dimY, dimZ]); time(2, 5, 5); time(4, 5, 20); time(6, 25, 5); time(8, 45, 5); } notch(20, 5); notch(20, 20); notch(40, 5); notch(60, 5); module time(x, offsetX, offsetY){ translate([offsetX, offsetY, -0.1]) cube([1...
glb/cad_27ef9f5b5a79.glb
Create a Bullet Journal Time Block Template by starting with a rectangular base measuring 65mm in width, 30mm in depth, and 0.9mm in height. Carve out five rectangular slots from this base to create a grid: one slot measuring 17.5mm by 5mm starting at x=25mm and y=22.5mm; one measuring 17.5mm by 5mm starting at x=25mm ...
gridDim=5; holeRadius=gridDim/4; interval=6; dimX=65; dimY=15+(gridDim*3); dimZ=0.9; $fn=50; difference(){ cube([dimX, dimY, dimZ]); time(1, 25, gridDim*4.5); time(1.5, gridDim, gridDim*3.5); time(2, gridDim, gridDim); time(3, 25, gridDim); time(4, 45, gridDim); } notch(gridDim*4.5, gridDim*3.5); notch(gridD...
glb/cad_cb89d9849b94.glb
Create a Flap Vent for Extractor Fan consisting of a rectangular outer frame and five internal flaps. First, construct the frame as a hollowed square ring. The outer dimensions are 320mm by 320mm with a total thickness of 15mm. The inner cutout is 310mm by 310mm, leaving a 5mm wall. Within this frame, remove eight sq...
duct_d = 300; n_flaps = 5; big_gap = 5; thick = 5; small_gap = 2; edge = 20; flap_thick = 2.5; M3_rad = 1.7; color("red") frame(); color("green") all_flaps(false, ang = 45); module half_flap(ang=0) { intersection() { flap(rods = false, ang = 0); rotate([0,0,ang]) translate([0,-duct_d/2,-duct_d/2]) cub...
glb/cad_d17319a18f6b.glb
Create a mounting bracket for an EnGenius EWS850AP. Start with a rectangular base plate measuring 69mm by 124mm with a thickness of 3mm. In this base, create four circular mounting holes with a radius of 2.5mm, positioned 15mm from the edges. At each of the four corners, starting 10mm from the edges, add a composite c...
base_perimiter=10; mounting_hole_perimiter_x=15; mounting_hole_perimiter_y=30; mounting_hole_r=2.5; offset_x=32.3; offset_y=37.5; spacing_x=49; spacing_y=104; base_x=(2*base_perimiter)+spacing_x; base_y=(2*base_perimiter)+spacing_y; base_z=3; standoff_z=5.34; ews850_plate_z=2.7; peg_z=standoff_z+ews850_plate_z; p...
glb/cad_e5e24ec18bf9.glb
Create a cable clip with a total width of 8mm. Start by forming a main body that is a cylinder with a diameter of 8mm and a height of 12.5mm. From this body, remove a central cylindrical hole with a diameter of 2.5mm that runs through the center of the circular face. To create the cable channel, carve out a semi-circ...
$fn = 32; width = 8; thickness = 2.5; nail_d = 2.5; cable_d = 7.5; difference() { linear_extrude(cable_d + thickness) difference() { union() { circle(d = width); translate([0, -width / 2]) square([width / 2 + cable_d + thickness, width]); } circle(d = nail_d); ...
glb/cad_b2ce0dba02d0.glb
Create a Parametric Cord Box consisting of a main body and a lid. The main body is a rounded box with overall dimensions of 62mm in length, 31.27mm in width, and 13.5mm in depth, featuring a corner radius of 4mm. The walls are 7mm thick, and the bottom base is 1.5mm thick. Inside the body, create a hollow rectangular ...
use <MCAD/boxes.scad> layerHeight = 0.4; extrusionWidth = 0.68; grani = 32; pcbLength = 28; pcbThickness = 6; pcbWidth = 17.27; cableLengthInternalSlack = 20; cable1Diameter = 3.77; cable2Diameter = 3.47; wallThickness = 7; bottomThickness = 1.5; lidThickness = 2; clearance = 0.3; printLidOnly = 0; bWidth = pc...
glb/cad_3515cee46934.glb
Create a Toilet Paper Protector consisting of two separate parts: a main body and a top cap. For the main body, create a hollow cylinder with an outer diameter of 145.9mm and a height of 110.5mm. The walls should be 5.4mm thick. Inside this shell, center a vertical cylindrical pillar with a diameter of 36.1mm and a he...
roll_outer_diameter = 140; roll_inner_diameter = 42; roll_height = 105; wall = 2.7; tolerance_gap = 0.5; smooth = 128; parts="Both"; walls = wall * 2; module TP_output(a, r, h) { rotate_extrude(angle=a, $fn = smooth) square([r,h]); } module Roll_Stops(s_a, a, r, h) { difference() { rotate_ext...
glb/cad_df09c95cdd9d.glb
Create a small cylindrical ring for use as an Axial SCX10 shock seal spacer. The object should have an outer diameter of 5.9mm and a central hole with an inner diameter of 3.4mm. The total height of the cylinder is 1.3mm. To ensure a smooth fit, apply a slight rounding or fillet of 0.1mm to all edges of the geometry. T...
$fn = $preview ? 16 : 32; inner_diameter = 3.4; outer_diameter = 5.9; height = 1.3; rounding = 0.1; resulting_height = height - 2 * rounding; minkowski(){ difference(){ cylinder(d = outer_diameter, h = resulting_height, center = true); cylinder(d = inner_diameter, h = resulting_...
glb/cad_cb30096fc540.glb
Create an HO track joiner by constructing a rectangular base and two symmetrical clipping posts. Start with a rectangular base measuring 24.7mm in length, 29.7mm in width, and 3mm in height. Centered on top of this base, place two identical clipping posts. Each post consists of a rectangular block 2.6mm long, 8.4mm wid...
exp=0.4; slotWidth=8.8-exp; slotLength=3-exp; tieThickness=2; lip=0.5; separation=12.7; tieWidth=29.7; baseHeight=3; small=0.01; underLength=separation+4*slotLength; module clipPost(width) { cube([slotLength,width,tieThickness]); translate([0,0,tieThickness-small]) linear_extrude(height=lip, scale=[(slo...
glb/cad_69e50a680cf4.glb
Create a Wall D-loop hanger by constructing a sturdy, curved bracket. Start with a rectangular base measuring 11mm by 40mm. Form the main body by creating a thick, semi-circular loop that extends from the base, with a cross-section based on a square of 11mm. The outer edges of the loop and base should be rounded with a...
module screwProfile(r1=2,r2=4,h1=100,h2=100,a=45,profile="teardrop",teardrop_cut=0.5) { module roundProfile(r){ circle(r = r); } module teardropProfile(r){ rotate(a = -45, v = [0,0,1]) let(off=teardrop_cut*(r/r1),r=r-off) offset(r=off) union() { square(siz...
glb/cad_35641a7d3151.glb
Create a hex key tool by starting with a central cylinder 21.5mm in diameter and 14mm high, centered on the origin. Extend this shape by creating a hull that connects the central cylinder to a smaller 5mm diameter cylinder 4mm high, positioned 50mm away along the X-axis and offset 5mm along the Z-axis. From this combin...
$fn=90; difference(){ union(){ cylinder(d=21.5,h=14,center=true); hull(){ translate([0,0,5])cylinder(d=26,h=4,center=true); translate([50,0,5])cylinder(d=5,h=4,center=true); } } cylinder($fn=6,d=19.5,h=14.2,center=true); rotate([0,0,30])cylinder($fn=6,d=19.5,h=14...
glb/cad_ffe3dd99bb88.glb
Create a VESA mount bracket for a network switch. Start by constructing a base plate 3mm thick. The main body is formed by the union of three convex hulls: one connecting two cylinders of 4.5mm radius centered at (-21.75, 0, 0) and (7.5, 41, 0), another connecting cylinders at (21.75, 0, 0) and (-7.5, 41, 0), and a thi...
$fn=123; difference() { union() { hull() { translate([-34.5/2-4.5/2,0,0]) cylinder(r=4.5, h=3); translate([+10/2+1.5,27+7+4.5/2+4.5/2+3,0]) cylinder(r=4.5, h=3); } hull() { translate([+34.5/2+4.5/2,0,0]) cylinder(r=4.5, h=3); translate([-10/2-1.5,27+7+4.5/2+4.5/2+3,0]) cylinder(r=...
glb/cad_339f98c774bb.glb
Create a shelf joiner bracket as an L-shaped block with a total size of 54mm x 54mm x 54mm. The bracket features two perpendicular slots designed to hold panels of 16mm thickness each. The walls of these slots are 3mm thick. The first slot is carved into the block, leaving a base thickness of 5mm at the bottom. The se...
bracket_type="L"; bracket_size = 54; panel_thickness = 16; panel2_thickness = 16; flip = "false"; wall_thickness = 3; base_thickness=5; hole_radius=2; pass_through="false"; bracing="true"; wall_mount = "false"; wall_mount_corner_radius = 10; $fn=100; panel_depth=bracket_size-panel_thickness-(wall_thickness...
glb/cad_7928e7f57f61.glb
Create a backplate for an OLED and D1 Mini case. Start with a rectangular base measuring 46mm by 40mm with a thickness of 2mm. All outer corners of this base must be rounded with a radius of 2mm. On the top surface of this plate, create a rectangular cutout for the USB port. This cutout should be 9mm wide and 5mm deep...
$fn=128; Frontpanel=0; Displaysupport=0; Housing=0; Backplate=1; if(Backplate) translate([0,0,-14]) { difference() { Cube(46,40,2,2); translate([21-2,1.4,-2])cube([9,5,100]); translate([8,32,-1]) Cube(30,2.6,10); translate([8,26,-1]) Cube(30,2.6,10); translate([8,20,-1]) Cube(30,2.6,10); } translate([...
glb/cad_fe5acb54fb50.glb
Create a Bungee-sprung Coupling consisting of two primary components: a base cylinder and a top spherical assembly. First, create a base cylinder with a diameter of 75mm and a height of 20mm. Bore a central vertical hole through the entire height of this cylinder with a diameter of 20mm. Second, construct the upper ...
$fn = 128; difference () { cylinder (d = 75, h = 20); translate ([0, 0, -1]) cylinder (d = 20, h = 32); translate ([0, 0, 75/2 + 5]) connection_sphere (); } translate ([0, 0, 75/2 + 5 + 30]) { difference () { union () { connection_sphere (); trans...
glb/cad_1338ac8f89f0.glb
Create a KVM switch under-desk mounting bracket. Start with a rectangular base plate measuring 158mm in width, 73mm in depth, and 4mm in thickness. In the center of this base, create a recessed hexagonal honeycomb grid pattern. The grid should be 138mm wide and 55mm deep, consisting of hexagonal holes with a radius o...
$fn = 128; $bt = 4; $box_h = 35; $box_w = 150; $box_d = 65; $bracket_w = $box_w + ($bt * 2); $bracket_d = $box_d + ($bt * 2); hexFill = 0.8; hexRadius = 6; difference() { cube([$bracket_w, $bracket_d, $bt]); color("red") translate([12,14,-1]) hexen(radius=hexRadius,height=$bt+2, pw=$box_d-12, ph=$box_w-18, fill=...
glb/cad_6eda526f482c.glb
Create a small sailboat cleat with a total length of 90mm, a width of 17mm, and a height of 21.5mm. The main body consists of a central base with two symmetrical, raised wings that curve upwards and outwards. These wings are formed by blending four cylinders: two with a height of 42mm tilted slightly at 5-degree angles...
r1=1.5; mr=1; dx=7; dy=7; w1=2*(r1+dx); h1=16; h2=42; an=5; ht=3; soff=20/2; sr=6/2; hr=10/2; $fn=90; module wing(){ hull(){ translate([dx,dy,0]) rotate([0,-an,0]) cylinder(r=r1,h=h2); translate([-dx,dy,0]) rotate([0,an,0]) cylinder(r=r1,h=h2); translate([...
glb/cad_4af5ecf1c478.glb
Create a furniture riser with a total height of 89.525mm. The main body is a rounded rectangular block with a base dimension of 80mm by 80mm and corner radii of 7mm. The top of the riser features a recessed square platform that is 60mm by 60mm with corner radii of 7mm and a height of 5mm. This top platform contains a s...
$fn=96; leg_dim = 50; leg_dim_rad = 2; top_dim = leg_dim+10; top_dim_rad = 7; top_height = 5; base_dim = top_dim+20; base_dim_rad = 7; height = (30.125-26.5)*25.4; whole_round=1; center_hole_d=48; difference(){ translate([-base_dim/2+whole_round, 0, -whole_round]) minkowski(){ union(){ diff...
glb/cad_5d51248039b0.glb
Create a case for an Olimex uext hub consisting of a hollowed-out rectangular shell with rounded edges. Start by constructing a solid base plate and walls using a rounded rectangular profile. The outer dimensions of the main body should be 74mm in length, 27mm in width, and 12mm in total height. The corners should have...
$fn = 32; union() { minkowski() { cube([72, 25, 1.2]); cylinder(1, 2, 2); } translate([4.25, 1.25, 2.4]) union() { cube([63.5, 22.5, .8]); } } translate([0, -5, 10]) rotate([180, 0, 0]) { difference () { minkowski() { cube([72, 25, 9]); cylind...
glb/cad_ac058484bb65.glb
Create a fly trap lid consisting of a circular base and four conical entrances. Start with a main outer rim that is 74mm in diameter and 2mm thick. Centered on this rim, place a secondary cylinder with a diameter of 67.2mm and a height of 4mm. Arrange four identical hollow cones symmetrically around the center of the ...
jar_size = 68.0; diameter_at_top = 20; height_of_cone = 25; entry_hole_diameter = 2; number_of_cones = 4; base_height = 4; wall_thickness = 1.2; fillet_radius = 1; tolerance = 0.2; rim_thickness = 2; outer_diameter_offset = 6; inner_diameter = jar_size - 1 + tolerance; outer_diameter = inner_diameter + outer_diameter...
glb/cad_b97787b76159.glb
Create a Fractal Vise consisting of a series of nested, articulating arcs and a geared base mechanism. First, construct the jaw blocks. Create a primary jaw block with a central rectangular body and integrated threaded mounts. Build a series of fractal arcs in three sizes (0, 1, and 2). Each arc consists of two symmet...
include <threadlib_solid.scad> include <gears.scad> $fn=60; lh=0.2; tol=0.3; max_o=3; trav=100; screw_block_t=20; shaft_ext=30; toung_t=2; jt=40; sa=7; stoppers=2; toung_w=jt-4; arc_gap=4; handle_len=100; jaw_bulk=sa*(pow(2,max_o)-1)+arc_gap/2; shaft_final(); module handle() { difference() { unio...
glb/cad_b6b58dd4f7ac.glb
Create a Tolerance Target consisting of a central cylinder and six concentric rings of increasing height and diameter. Start with a solid central cylinder that has a radius of 2.5mm and a height of 3mm. Around this center, place six concentric rings. Each ring is created by taking a solid cylinder and removing a smalle...
$fn=100; t_start=3; t_step=0.2; w=2; center_d=5; count=6; start=0.05; step=0.05; module ring(i) { difference() { tol=start+step*i; cylinder(r=center_d/2+(i+1)*w+i*tol+tol,h=t_start+t_step*(i+2)); translate([0,0,-1])cylinder(r=center_d/2+i*w+i*tol+tol,h=t_start+t_step*(i+2)+2); } } ec...
glb/cad_c1905fc39b57.glb
Create a structural joint node consisting of a thin central disk with six radiating arms. Start with a base cylinder that has a radius of 12mm and a height of 0.5mm. Remove a smaller concentric cylinder from the center of this base with a radius of 2.875mm and a height that clears the base. Add six identical arms arr...
stick_dia = 5.75; length_of_connection = 1.5*stick_dia; min_t = 0.5; num_arms = 6; $fn = 360; angle = 360/num_arms; difference(){ cylinder(r = 2*stick_dia + min_t, h= min_t); translate ([0, 0, -1]) cylinder( r = stick_dia/2, h=min_t + 2); } for (i = [0:num_arms -1]) { difference(){ union(){ rotat...
glb/cad_f91ae845a99d.glb
Create a greenhouse shade anchor by starting with a solid block 12mm thick. The footprint of this block is a polygon defined by the vertices [2.6, 0], [-29, 0], [-30, 10.8], [-39, 40], and [2.6, 40] in mm. From this main body, remove two vertical cylindrical holes: one with a 6mm diameter centered at [-30, 17] and anot...
$fn=64; hi=12; top=40; of=20; difference() { linear_extrude(hi)polygon([[2.6,0], [-29,0], [-30,10.8], [-39,top], [2.6,top]]); translate([-30, 17, 0]) cylinder(h=hi,d=6); translate([-15, 4, 0]) cylinder(h=hi,d=20); } rotate([90,0,0])translate([-20,6,-top-12])cylinder(h=14,d=11.8);
glb/cad_9f0cf9790c55.glb
Create a greenhouse shade bottom anchor by starting with a rectangular base plate measuring 50mm wide, 50mm long, and 3mm thick. On one side of this base, add a vertical rectangular peg that is 3mm wide, 50mm long, and 14mm high, positioned so it extends upward from the base. Along the top of the base plate, adjacent t...
$fn=64; wi=50; llen=50; th=3; peglen=14; pegdia=12; cube([wi, llen, th]); cube([th, llen, 2*th]); translate([wi-th, 0, th]) cube([th, llen, peglen]); translate([wi-th, 0, peglen]) cube([peglen+21, llen, th]); translate([wi+18+pegdia/2, llen/2, 0]) cylinder(h=14,d=11.8);
glb/cad_47489e068bcb.glb
Create a greenhouse shade anchor consisting of a flat triangular base with a central protruding peg. Start by creating a right-angled triangle with a thickness of 1mm and two equal sides of 50mm. Round the corners of this triangle with a radius of 2mm. On the flat face of the triangle, place a vertical cylinder with a ...
$fn=32; th=1; ed=50; sqr2 = 0.7; hd=6.2; difference() { minkowski() { linear_extrude(height=th) polygon(points=[[0,0],[ed,0],[0,ed]], paths=[[0,1,2]]); cylinder(r=2,h=th); } translate([sqr2*ed/4,sqr2*ed/4,0])cylinder(d=hd, h= 2*th); translate([sqr2*ed/4,sqr2*ed -6,0])cylinder(d=hd, h= 2*th)...
glb/cad_2b7b38285605.glb
Create a simple ring by constructing a hollow cylinder with a height of 7mm. The outer diameter should be 20mm and the inner diameter should be 18mm, resulting in a wall thickness of 2mm. Ensure the cylinders are perfectly concentric and the surfaces are smooth with high facet resolution. The final shape should be a co...
diameter = 18; width = 7; thickness = 2; gap = 0; $fn = 250; difference() { cylinder(h = width, d = diameter + thickness); cylinder(h = width, d = diameter); translate([0, gap / -2, 0]) cube([diameter + thickness, gap, width]); }
glb/cad_aa8dbc57e5e4.glb
Create a Telecom TF200 Wall Mount Handset Hook by starting with a solid base defined by a 2D polygon with vertices at [0, 0], [0, 9], [2.5, 8.1], [3.7, 9.5], [3.8, 12], and [5.5, 11.7], [5.5, 9]. Extrude this polygon to a height of 10.4mm. From this solid, remove a rectangular volume by positioning a cube of 15mm by 9m...
difference() { linear_extrude(10.4) polygon([[0, 0], [0, 9.0], [2.5, 8.1], [3.7, 9.5], [3.8, 12], [5.5, 11.7], [5.5, 9]]); rotate(-35, [0, 0, 1]) translate([-8, 0, 2]) cube([15, 9, 6.4]); }
glb/cad_ac4af46398a9.glb
Create a laser guide mount consisting of a base plate and a vertical attachment sleeve. First, create a rectangular base plate 40mm wide by 40mm deep with a thickness of 3mm. Round the four corners with a 4mm radius. In each of the four corners, center a vertical hole with a diameter of 3.2mm that passes completely t...
$fn=32; mounting_holes = [[-1.27*7,-1.27*7,0],[1.27*7,-1.27*7,0],[1.27*7,1.27*7,0],[-1.27*7,1.27*7,0]]; locking_screw_hole_dia = 4; difference() { translate([4,4,0]) linear_extrude(height=3) { minkowski() { square([32,32]); circle(r = 4); } } union() { for (p=[[4,4,-1],[36,4,-...
glb/cad_513e6e8b8b28.glb
Create a set of five circular tokens arranged in a row. Each token should be a cylinder with a diameter of 24.5mm and a height of 2.5mm. Centered on the top face of each cylinder, engrave a number starting from 1 and incrementing up to 5. The engraved numbers should use a bold sans-serif font, such as Arial Black, with...
count = 5; starting_number = 1; diameter = 24.5; height = 2.5; depth = 0.5; font_size = 8; font = "Arial Black:style=Bold"; module kolecko_s_cislem(diameter, height, depth, cislo, font_size, font) { difference() { cylinder(h = height, d = diameter, center = true); translate([0, 0, height / 2 - de...
glb/cad_d3cfb720a2cf.glb
Create a set of five circular tokens arranged in a row. Each token is a cylinder with a diameter of 24.5mm and a height of 2.5mm. Centered on the top face of each cylinder, engrave a number starting from 1 and incrementing up to 5. The engraved numbers should use a bold sans-serif font, such as Arial Black, with a font...
pocet = 5; pocatecni_cislo = 1; prumer = 24.5; vyska = 2.5; hloubka = 0.5; velikost_textu = 8; font = "Arial Black:style=Bold"; module kolecko_s_cislem(prumer, vyska, hloubka, cislo, velikost_textu, font) { difference() { cylinder(h = vyska, d = prumer, center = true); translate([0, 0, vyska / 2 ...
glb/cad_8f46e4fe74de.glb
Create a Hackheld Vega Case, which is a hollow rectangular tray with rounded bottom corners. The outer dimensions are 50.5mm wide, 67.1mm long, and 10mm high. The walls are 2mm thick. The bottom corners are rounded with a 3mm radius, while the top edges remain sharp. Remove a rectangular section from the center of the...
length = 67.1; width = 50.5; height = 10; wall = 2; scew = 2.5; wemos_length = 34.8; wemos_width = 26.2; wemos_y = 5.8; wemos_cutout_height = 4.4; oled_length = 3.7; oled_width = 10; $fs=0.01; $fn=50; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] ==...
glb/cad_ad6064baa84b.glb
Create a pet food measuring cup by constructing a hollow cylinder. Start with an outer cylinder that has a radius of 37mm and a total height of 92mm. To create the interior cavity, remove a concentric cylinder from the center with a radius of 35mm and a height of 90mm, positioned 2mm above the base. This results in a v...
$fn = 200; cups = 1; thickness = 2; radius = 35; height = (cups_to_ml(cups) / ((radius / 10)^2) / PI) * 10; difference() { cylinder(h = height + thickness, r = radius + thickness); translate([0, 0, thickness]) cylinder(h = height + thickness, r = radius); } function cups_to_ml(cups) = 236.588 * cups;
glb/cad_d9bef19caa42.glb
Create a safety cap for a broken post by starting with a sphere that has a radius of 56.355 mm. From this sphere, remove a central vertical cylindrical core to create a hollow socket. This cylindrical hole should have a radius of 47.985 mm and extend completely through the bottom and middle of the sphere. Additionally,...
ds=3.5*25.4; eds=25.4*1/4; sr=(ds+eds)/2+25.4/2; echo (ds,eds,sr); $fn=173; difference() { sphere(sr); translate([0,0,29.99])cylinder(h=50,r1=(ds+eds)/2,r2=0.1,center=true); translate([0,0,-25])cylinder(h=60,r=(ds+eds)/2,center=true); translate([0,0,-72])cylinder(h=80,r=(ds+eds)/2+50,center=true); }
glb/cad_26bb1f368492.glb
Create a hygrometer adapter for a drybox container. Start by creating a main cylinder with a diameter of 60mm and a height of 20mm. At the top of this cylinder, add a wider lip with a diameter of 62mm and a height of 2mm. Hollow out the center of the entire structure by removing a cylinder with a diameter of 42mm tha...
$fn=128; inside_diam=42; outside_diam=60; wall_thickness=2; stop_diam=2; stop_height=2; hygrometer_diam=46; recess_depth=4; height=20; epsilon=0.5; difference() { union() { cylinder(d=outside_diam, h=height); translate([0,0,height-stop_height]) cylinder(d=outside_diam+stop_diam, h=stop_height); ...
glb/cad_9ffae3491e92.glb
Create a Robinson Crusoe Gamefound Collector's Edition Insert tray. Start with a base rounded rectangular block measuring 104.8mm in width, 91.2mm in depth, and 13mm in height, with corner radii of 5mm. Carve out a primary rectangular compartment for animal cards measuring 93mm by 62mm, positioned 5.9mm from the left ...
$fn=200; difference(){ roundedCube(104.8,91.2,13); translate([5.9,2.4,1.5]) cube([93,62,100]); translate([-70.6,0,-7]){ translate([123,0,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([104.2,20,16]) rotate([90,0,0]) linear_extrude(30) difference(){square(4);circle(4);} translate([141.8,20,16])...
glb/cad_5d0fd5b740fb.glb
Create a Robinson Crusoe Gamefound Collector's Edition Insert consisting of a series of connected trays. First, create three identical main trays. Each tray should be a rounded rectangular prism measuring 66.8mm wide, 97.8mm long, and 35mm high, with a corner radius of 3mm. Inside each of these trays, center a rectan...
$fn=200; for(i = [0:2]){ translate([89.6*i,0,0]) difference(){ roundedCube3(66.8,97.8,35); translate([2.4,2.4,1.5]) cube([62,93,100]); translate([33.4,0,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([14.6,20,31]) rotate([90,0,0]) linear_extrude(30) difference(){square(4);circle(4);} translate...
glb/cad_91cfc6fb0ebf.glb