Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Fenris rapid-load storage clip by constructing a main rectangular block with a width of 16mm, a height of 45mm, and a length of 22mm. Tilt the entire block by 3 degrees along its longitudinal axis. Carve a central profile out of this block to create a slot for arrow nocks. This slot should start with a 6mm l...
RES=128; fudge = 0.14; Ndiam = 7.3+fudge; Nlen = 11+fudge; Nrad = 1.5-fudge/2; Nlen2 = 5; box_W = 16; box_H = 45; box_S = 6; box_L = box_S + Nlen+Nlen2+5; box_ANG = 3; nub_H = 3; nub_T = 2; main_box(); module wedge_drill() { ANG = 30; L1 = 8.3; L2 = 20; H = tan(ANG)*L1; SH = Nlen2+Nlen-fudge+n...
glb/cad_4a76207d2650.glb
Create a lens cap for the Yasuhara Nanoha lens. Start with a main circular disc 56mm in diameter and 2.4mm thick. Hollow out the center of this disc by removing a smaller concentric cylinder with a diameter of 50.4mm and a height of 0.8mm. On the top surface of the cap, emboss the text "Yasuhara Nanoha" using a conden...
CAPTHK = 2.4; CAPDIA = 56; RADSEG = 720; dim_PD = 5; dim_PL = 3; dim_PC = CAPDIA/2 - dim_PD/2; dim_VTl = 11; dim_VTw = 2.9; dim_VTh = 4; dim_HTl = 10; dim_HTw = 3.6; dim_HTh = 4; color([1,1,1]) difference() { cylinder($fn = RADSEG, h=CAPTHK, r1=CAPDIA/2, r2=CAPDIA/2); translate([0,0,-0.02]) cylinder($fn...
glb/cad_f2bf06dc0b86.glb
Create a parametric t-nut with a total length of 20mm, a total width of 19mm, and a top thickness of 3mm. The main body is a rounded rectangular block with a T-shaped profile. The base of the T is a centered rectangular protrusion that extends downwards by 2mm and has a width of 8mm. All four vertical corners of the ...
LEN = 20; WIDTH = 19; THK = 3; tDEPTH = 2; tWIDTH = 8; round_rad = 1.6; hole_diam = 5; recess_depth = 0; recess_sides = 6; recess_width = 10; RCT = 80; PI2 = 90; if (recess_sides % 2 != 0) echo("recess_sides not even."); difference() { intersection() { PRO = [ for (i = [0:RCT]) [-WIDTH/2 + round_rad*...
glb/cad_963d19834806.glb
Create an SMT Reel Winding Tool consisting of a winder and an axle base. For the winder, create a triangular base plate with rounded corners, 5mm thick and 70mm in diameter. In the center of the base, create a vertical hole 8mm in diameter. Cut a central circular hole 13.9mm in diameter through the base, and add thre...
Base_Radius = 35; Base_Thickness = 5; Handle_Length = 20; Handle_Diameter = 15; Handle_Shaft_Diameter = 10; Spindle_Hole_Diameter = 13.9; Spindle_Finger_Width = 1.4; Spindle_Finger_Length = 9.8; Spindle_Finger_Depth = 6; Axle_Shaft_Diameter = 12.5; Axle_Shaft_Length = 14; Screw_Size = 4.0; tolerance = 0.1; ...
glb/cad_01f8de0baea8.glb
Create a set of Trimos6 game tiles. Each tile is a flat, equilateral triangular prism with a height of 8mm and a side length of 40mm. The corners of the triangles must be rounded with a radius of 2mm. On the top face of each tile, place three numbers, one near each vertex. The numbers should be embossed with a relief ...
trimo_height=8; trimo_side=40; trimo_corner_radius=2; trimo_text_font="Ariel"; trimo_text_size=8; trimo_text_relief=1; trimo_text_offset_factor=-0.4; trimo_padding_x=-10; trimo_padding_y=0; trimos_set_1 = [ [5,5,5], [5,5,4], [5,5,3], [5,5,2], [5,5,1], [5,4,4], [5,4,3], [5,4,2], [5...
glb/cad_17d0ae6aad68.glb
Create a Tattoo Paint Roll Die by constructing a regular dodecahedron with a total diameter of 54mm. Soften the edges of the dodecahedron by applying a 2mm fillet or rounding to all vertices and edges. Engrave the following text onto the twelve pentagonal faces, centering each string and orienting it to be readable fr...
$fn=16; radius = 1+1; letter_height = 3*radius; font = "Liberation mono:style=Bold"; top = "Who will it be"; name1 = "TRoy"; name2 = "TROy"; name3 = "TROY"; name4 = "tROY"; name5 = "trOY"; name6 = "troY"; name7 = "troy"; name8 = "TroY"; name9 = "TRoY"; name10 = "YORT"; name11 = "Yort"; maxStringLength = max(len(to...
glb/cad_99955e7b41ed.glb
Create a Raspberry Pi 4 1U rackmount bracket frame. The main body is a rectangular block with an outer width of 71.75mm, a length of 90mm, and a height of 33.14mm. Hollow out the center to create an inner cavity with a width of 58mm, leaving walls of 6.875mm on the sides. The back wall should be 5mm thick. At the bot...
bolt_size = 2.38125; bolt_hole_fudge = 0.2; screw_hole_fudge = 0.15; number_to_fit = 6; height = 33.1423; inner_width = 58; outer_width = (450.85 - 20) / number_to_fit; length = 90; bolt_column_size = 12; epsilon = 0.001; bolt_radius = bolt_size + bolt_hole_fudge; wall_thickness = (outer_width - inner_width) / 2...
glb/cad_846be131d221.glb
Create a Raspberry Pi 4 1U rackmount bracket consisting of two mirrored frame parts and two ear parts. For each frame part, create a rectangular base 33.14mm wide, 96mm long, and 5mm thick. At each end of the length, center a vertical cylindrical hole with a diameter of 2.58mm to accommodate a threaded rod. Cut a lar...
bolt_size = 2.38125; bolt_hole_fudge = 0.2; ear_bolt_size = 3; ear_bolt_stretch = 3; setback = 6; module copy_mirror(vec=[1, 0, 0]) { children(); mirror(vec) children(); } bolt_column_size = 12; floor_depth = 3; width = 33.1423 + bolt_column_size - floor_depth; length = 90 + setback; height = 5; frame_wi...
glb/cad_ec4f91b94630.glb
Create a Raspberry Pi 4 rackmount tray with a width of 58mm, a length of 85mm, and a depth of 5mm. The main body is a rectangular slab with a large rectangular window cut through the bottom, leaving a border of 5mm on the left and right sides. At each of the four corners of the tray, add a cylindrical spacer with an o...
screw_hole_fudge = 0.15; tray_insert_fudge = 0.25; tray_width = 58; tray_length = 85; tray_depth = 5; tray_lip_overhang = 10; inner_wall_thickness = 5; spacer_depth = 3; spacer_outer_radius = 3; screw_radius = 1.25 + screw_hole_fudge; screw_head_radius = 3; screw_head_depth = 2; pcb_depth = 2; spacer_center_width = ...
glb/cad_f6713fc25a0d.glb
Create a Raspberry Pi 4 2U rackmount bracket tray. Start with a main rectangular block measuring 82mm wide, 90mm long, and 5mm high. At each of the four corners of the top surface, create a vertical cylindrical hole with a radius of 1.29mm (based on a 2.38mm bolt size plus a 0.2mm fudge factor) that passes completely...
bolt_size = 2.38125; bolt_hole_fudge = 0.2; notches_enabled = true; notch_fudge = 0.3; ear_bolt_size = 3; ear_bolt_stretch = 3; width = 82; length = 90; height = 5; frame_width = 15.875; distance_to_frame = 10; distance_between_bolt_holes = 15.875 * 2 + 12.7; ear_height = distance_to_frame + frame_width; notch_h...
glb/cad_6c0de8b1d159.glb
Create a Raspberry Pi 4 2U rackmount bracket frame. The main body is a rectangular block 82mm wide, 90mm long, and approximately 35.07mm high. The block features a hollowed-out interior starting 3mm from the bottom, leaving a floor depth of 3mm. The interior cavity is 68mm wide and 80mm long. On the back face, center...
bolt_size = 2.38125; bolt_hole_fudge = 0.2; notches_enabled = true; notch_fudge = 0.3; number_to_fit = 12; screw_hole_fudge = 0.15; height = (450.85 - 20) / number_to_fit; width = 82; length = 90; notch_height = 2; epsilon = 0.001; bolt_radius = bolt_size + bolt_hole_fudge; outer_wall_thickness = 12; inner_w...
glb/cad_2bfe0bb0a620.glb
Create a presence token tray by starting with a solid rectangular base measuring 43.93mm in width, 44.5mm in depth, and 23.5mm in height. From this base, remove a rectangular grip section starting 3.2mm from the front edge, with a width of 40.73mm and a height of 11.75mm. Within the remaining volume, carve out two cy...
LengthPresenceTokens=38.97; LengthReminderTokens=14; DiameterPresenceTokens=15.5; DiameterReminderTokens=21.5; d_presence_to_wall=2; x_box=43.933; y_box=44.5; z_box=11.75; z_grip=23.5; t_grip=3.2; r2_filet=4; eps=0.01; tolerance=0.4; t_presence=LengthPresenceTokens+tolerance; t_defend=LengthReminderTokens+toleran...
glb/cad_dd20f47ae5e3.glb
Create a wall hook for embroidery hoops. Start with a rectangular core block measuring 60mm wide, 30mm deep, and 40mm high. From this core, remove a large cylindrical section with a 30mm diameter to create a curved front profile. Carve out two vertical slide channels: one wide channel measuring 5mm by 8mm and one nar...
clearance = 0.2; skadis_clerance = 0.1; skadis_fixation = 0; two_hoops(); module hole_fix(fix_offset, fix_height){ union(){ translate([fix_offset, 50, fix_height]) rotate([90,0,0]) cylinder(h=50 ,d=5 , $fn=70); translate([fix_offset, 29.5, fix_height]) rotate([90,0,0]) ...
glb/cad_3146f63bc354.glb
Create a camera mount housing consisting of a rectangular hollow shell and a separate tripod mounting base. For the main housing, create a rounded rectangular block with overall dimensions of 66.4mm in width and 46.4mm in height, with a total depth of 21mm. The walls should have a thickness of 1.25mm. The interior shou...
include <libraries/threads.scad> $fn = 23; rounding = 3.2; width = 66.4; height = 46.4; rim = 1.25; depth = 17.5 + rim * 2; usbcHeight = 4.5; usbcWidth = 11.0; mount_height = rim; tripod_mount_width = 10.0; module inside() { hull() { translate([-width/2 + rounding, rounding, 0]) corner(0, 0.01); ...
glb/cad_ab544d9a4bfc.glb
Create a Protection Plate with a Slot. The main body is a flat rectangular plate measuring 144mm in width and 135mm in height with a thickness of 2mm. At the top center of the plate, create a rectangular cutout slot measuring 40mm by 40mm. On the underside of the plate, add two circular mounting bosses with a diamete...
$fa=1; $fs=0.2; eps=1/128; cut=true; slot=true; module board() { difference() { union() { linear_extrude(2, convexity=10) difference() { polygon([ [-285/2, 0], [-10-35/2+22/2, 0], [-10-35/2+22/2, 2], [-35/2+22/2, 2], ...
glb/cad_b82ab1545adb.glb
Create a Thumb Nozzle Driver tool by starting with a main cylinder that is 30mm in diameter and 20mm in height. At the center of this cylinder, create a vertical square hole that is 6.2mm wide, 6.2mm deep, and passes completely through the object. To create the grip, remove five smaller cylinders, each 10mm in diameter...
$fn=200; module polar_array(radius, count){ for (i = [0:360/count:360]) { rotate([0,0,i]) translate([radius,0,0]) children(); } } translate([0,0,25]) cube([6.2,6.2,15], center=true); difference() { cylinder(20, 30, 30); polar_array(33, 5) cylinder(21, 10, 10); }
glb/cad_03429ca9a87a.glb
Create a vertical stand for a Unifi Mesh access point. Start by constructing a central rectangular block that is 40mm wide, 8mm deep, and 200mm tall. From this central block, remove two rectangular slots from the top section to create a cradle: one slot measuring 29mm wide by 5mm deep and 51mm tall, and a second, sligh...
module leg(l = 100, w=10, h1=20, h2=40) { translate([l,0,0]) rotate([0,-90,0]) linear_extrude(height = l, center=false, convexity = w, scale=[h2/h1,1]) square([h1,w]); } union() { translate([10,0,0]) { rotate([0,0,45]) translate([0,-5,0]) leg(60, h1=5, h2=12); rotate([0,0,-45]) translate([0...
glb/cad_8cc4114470c4.glb
Create a JST connector pliers tool consisting of two mirrored handle halves, a central hub, and a locking clip. For each handle half, create a jaw body with a length of 30mm and a thickness of 12mm. Cut a hook-shaped profile into the inner face of the jaw to create a gripping slot. The jaw should be sheared so that th...
show = "print"; thickness = 12; jawlen = 30; jawhookwid = 3; jawcutdepth = 3.5; rhub = 12; handle_len = 90; handle_shift = 16; include_eyelet = true; include_bump = true; levelteeth = true; module dummy(); jawbevel = 1; jbstep = 1/40; hbstep = 1/100; overhang = 40; rclearance = 0.14; cutrad = 1.5; eyethick ...
glb/cad_30dbcdd0ffaa.glb
Create a Pegboard Spool Holder consisting of a rectangular block with a large central hole and a smaller internal cavity for a hook. Start with a solid rectangular body measuring 15mm wide, 45mm deep, and 82mm high. Center a large vertical cylindrical hole through the body with a radius of 33.6mm to accommodate a PVC...
$fn=64; TOLERANCE = 0.2; PIPE_RADIUS = (33.4/2)+TOLERANCE; HOOK_RADIUS = (3.6/2)+TOLERANCE; HOOK_HEIGHT = 15; HOOK_LENGTH = 40; BODY_WIDTH = 15; BODY_HEIGHT = HOOK_HEIGHT + 2*PIPE_RADIUS + 3; BODY_DEPTH = 45; module pipe(){ cylinder(r=PIPE_RADIUS, h=100, center=true); } module hook(){ hull(){ tran...
glb/cad_b2942059c08b.glb
Create a uSDX case and LPF box consisting of two main parts: a bottom base and an upper enclosure. For the bottom part, create a rectangular box with outer dimensions of 102.2mm x 106.2mm x 6mm. The walls are 2mm thick. Hollow out the center to create an inner space of 98.2mm x 102.2mm x 4mm. At the four corners of th...
include <Chamfers-for-OpenSCAD/Chamfer.scad>; inner_width = 98.2; inner_depth = 102.2; inner_height_bottom_part = 4; inner_height_upper_part = 17+2; brim_height = 0; tolerance = 0.0; thick=2; cbt=1.7; rmount=4; rcl = 3.4/2; rsh=1.3; hmount = inner_height_bottom_pa...
glb/cad_6cee558a5af6.glb
Create a uSDX case and LPF box consisting of a main storage box and a latching lid. For the box, create a rectangular enclosure with external dimensions of 18.4mm in height, 19.2mm in length (TotalX), and 49.8mm in width (TotalY). The walls should be 1.2mm thick. Inside, create a single compartment measuring 17mm by ...
$fn=30; Objects = "Lid"; y_sizes = [47]; x_sizes = [17]; z_size = 18; addScurve = false; internalDiameter = 1; externalDiameter = 1; copies = 1; gPattern = "Solid"; gTol = 0.4; gWT = 1.2; WebSpacing = 10; WebStrands = 5; WedThickness = 1.8; WebWedges = 12; TotalZ = z_size; LidH = 2.2; RailThick = 1.4; Rail...
glb/cad_d639bb68b531.glb
Create a stroller cup and bag holder mount. The main body is a rounded rectangular strap with a width of 27mm and a height of 36mm, and a thickness of 17mm. The strap is designed to wrap around a frame, featuring a central cutout to accommodate the frame. On one end of the strap, integrate a cylindrical knob with an ...
$fn = $preview ? 36 : 72; tolerance = .2; rounding = .8; knob_do = 17; knob_di = 9; knob_t = 4; knob_w = 4; pram_w = 27; pram_h = 36; strap_w = knob_do; strap_t = 1.8; strap_sep = 1.5; strap_screw_d = 4; strap_screw_offset = 2; strap_screw_l = 30; strap_nut_d = 8.1; strap_nut_h = 5; strap_base_w = pram_w; strap_b...
glb/cad_a850bd1647b6.glb
Create a Custom AA Battery Pack holder. Start by creating a solid rectangular base block with a length of 56.3mm, a width of 16.2mm, and a height of 15mm. Inside this block, carve out a central rectangular cavity to hold the battery. This cavity should be 50mm long, 14.2mm wide, and 14.2mm deep, positioned 0.8mm from...
batteryType = "AA"; batteryLength = 51; batteryWidth = 14.2; batteryMargins = .8; numbercells = 1; for (i = [0:numbercells]){ echo("the iteration", (batteryMargins+batteryWidth)*i); translate([0,(batteryMargins+batteryWidth)*i,0]) difference(){ cube([(batteryLength+(batteryMargins*2)+5.5),(batte...
glb/cad_80e2f54f3e40.glb
Create a CM4 spacer by constructing a thin, hollow cylinder. The outer diameter of the cylinder should be 5mm and the total height should be 1.5mm. Remove a concentric cylindrical core from the center with a diameter of 2.6mm to create a ring-shaped washer. Ensure the geometry is perfectly circular with high facet reso...
$fn=256; height = 1.5; difference() { cylinder(h=height, d=5, center=true); cylinder(h=height+2, d=2.6, center=true); }
glb/cad_3f1a877163a1.glb
Create a hollow cylindrical container with an outer diameter of 40mm and a total height of 55mm. The walls of the cylinder should have a uniform thickness of 2mm. The bottom of the container must be solid, with a thickness of 6mm, while the rest of the body is a hollow shell.
object_shape = "cylinder"; object_size = 40; object_height = 55; object_wall = 2; object_bottom = 6; if (object_shape == "box") { difference () { cube([object_size, object_size, object_height], center = true); translate([0, 0, object_bottom]) cube([object_size - 2*object_wall, object_size - 2*object_wal...
glb/cad_db59e16f3894.glb
Create a parametric auger screw with a total length of 100mm. Start with a central shaft that has a diameter of 5mm. Around this shaft, create three flights that spiral clockwise. Each flight should have a width of 5mm, extending the total diameter of the screw to 15mm. The flights should complete three full 360-degree...
screw_length = 100; shaft_diameter = 5; direction=-1; precision = 30; rotations = 3; pitch = 0; flights=3; flight_width = 5; flight_inner_thickness = -0.1; flight_outer_thickness = 0.4; flight_convexity = 0.01; flat_flight = true; base_thickness=0; base_diameter=0; base_extrusion_length=-6.01; base_extrusion_...
glb/cad_bbb6a88f34a5.glb
Create a watering can by constructing a main body and adding a handle and spout. The body is an elongated ovoid shape, created by scaling a sphere of 100mm diameter by 1.5 in the X-axis, 2 in the Y-axis, and 5 in the Z-axis. Hollow out the center of this body using a cylinder with a diameter of 80mm and a height of 200...
BH=600; step=180/36; W=101; translate([5,33,0]) difference(){ union(){ scale([1.5,2,5])sphere($fn=94,d=100); translate([0,-130,90])rotate(30,[1,0,0]) cylinder(d1=30,d2=20,h=200,center=true); } translate([0,42,10])rotate(5,[1,0,0])scale([1,1.3,1])cylinder(d=80,h=200); translate([0,...
glb/cad_4040fffa70c4.glb
Create a bandsaw dust port adapter consisting of a wide circular base and a central cylindrical riser. Start by creating a flat circular base with a diameter of 40mm and a thickness of 3mm. Centered on this base, add a hollow cylindrical riser with an outer diameter of 18.5mm and an inner diameter of 16mm, extending 30...
$fa = 1; $fs = 0.4; DI = 32; DA = DI+3; OFFSET = -10; difference() { union() { cylinder(3, 40,40); translate([0,OFFSET,0]) { cylinder(10, DA/2+5,DA/2); cylinder(30, DA/2, DA/2); } } for (angle= [90,210,330]) { d_hole = 5; r_hole = 35; ...
glb/cad_c1f37c046f96.glb
Create a poster role lid by constructing a hollow cylindrical container with a total height of 34mm and an outer diameter of 88mm. The walls and the base should both have a thickness of 4mm. To achieve the specific rounded profile, apply a 3.5mm fillet or rounding to all exterior edges. The interior of the lid should b...
$fn=120; di=80.5; thik=4; do=di+thik; height=30; difference(){ minkowski(){ cylinder(d=do,h=height+thik); sphere(d=7); } translate([0,0,thik+0.1]) minkowski(){ cylinder(d=di,h=height); sphere(d=7); } translate([0,0,height+thik+0.1]) cylinder(d=do+14,h=height); } ...
glb/cad_6ea87f434bb4.glb
Create a spool storage holder with a total height of 45mm. Start by forming a large hollow cylinder with an outer diameter of 200mm and a wall thickness of 0.7mm, extending from the base to the full height. This main cylindrical shell is not a full circle; it is truncated by a large rectangular cutout that removes a si...
F=150; H=45; H_=H-0.9; intersection(){ difference(){ union(){ difference(){ union(){ cylinder($fn=F, d=200,h=0.9); translate([0,0,0.99])difference(){ cylinder($fn=F, d=200,h=H_); cylinder($fn=F, d=198.6,h=H_); } cylinder($fn=F, d=107.4,h=H); translate...
glb/cad_33913bd05ada.glb
Create a hollow rectangular sleeve for a ladder foot. Start by constructing a solid rectangular prism with dimensions of 52.4mm in width, 24.6mm in depth, and 60mm in height. From the center of this volume, remove a smaller rectangular prism measuring 50.3mm in width, 22.5mm in depth, and 59.3mm in height. Position the...
difference(){ cube([52.4,24.6,60 ],center=true); translate([0,0,0.35]) cube([50.3,22.5,59.3],center=true); }
glb/cad_90bf26199bc1.glb
Create a sign maker card by starting with a base rectangular plate measuring 85.6mm by 54mm with a thickness of 0.8mm and corner rounding of 6mm. On top of this base, add a secondary rounded plate that is slightly smaller, measuring 83.6mm by 52mm, with a thickness of 1.4mm (the base thickness plus a 0.6mm decoration h...
$fn=120; txt = "Que?"; font_size = 24; decoration_height = 0.6; nfc_hole = false; dim = [85.6, 54, 0.8]; card_rounding = 6; if (nfc_hole) { difference() { card_with_decoration(); translate([0, 0, 0.3+0.4]) { cylinder(d = 28, h = 0.4, center=true); } } } else { card_with_decoration(); } module card_wi...
glb/cad_6e3e654aad24.glb
Create a Miele PowerDisk compatible lid. The main body is a thin, circular disc with a diameter of 153mm and a thickness of 2mm. The lid features a raised outer rim that is 4.7mm wide and 1mm high, extending from the outer edge toward the center. In the center of the disc, create a circular hole with a diameter of 23...
$fa=1; $fs=0.2; eps=1/128; function solve(f, s, l=eps^2) = f(s) < l ? s : solve(f, s-f(s)*eps/(f(s+eps)-f(s)),l); base=0.4; lid=1; rim=4.7; th=1; clip=2; d=153; d1=24; r1=20; d2=16; r2=-52; d4=128.5; tol=0.2; c1=[(d-d1)/2*cos(r1)+(d2+d1)/2*cos(r2),(d-d1)/2*sin(r1)+(d2+d1)/2*sin(r2)]; function c2(d3)=[(d4+d3)/2,...
glb/cad_3fca8e661819.glb
Create a funnel for a dumbbell by constructing a hollow conical vessel with a total height of 100mm. Start with a wide circular base that has a diameter of 120mm and a thickness of 1.7mm. From this base, extend a cone upwards to a height of 90mm, tapering the outer diameter from 120mm at the bottom to 11.5mm at the top...
FN=120; dicke=2*1.4; d01=11.5; d02=120; H1=10; H2=90; difference(){ union(){ translate([0,0,H2])cylinder($fn=FN,d=d01,h=H1); cylinder($fn=FN,d1=d02,d2=d01,h=H2); cylinder($fn=FN,d=d02+5,h=1.7); } translate([0,0,-0.5])cylinder($fn=FN,d1=d02-dicke,d2=d01-dicke,h=H2+1); translate([0,0,H...
glb/cad_c46beef44ace.glb
Create a dumbbell weight container by stacking two truncated cones. First, create a base truncated cone with a height of 4.7mm, a bottom diameter of 26mm, and a top diameter of 24mm, using a 27-sided polygonal approximation for the circular cross-sections. Directly on top of this base, add a second truncated cone with ...
H=4.7; R1=13; R2=12; phi=atan2((R1/2-R2/2),H); echo(phi); h2 = (13.25/2 - 11.5/2) / tan(phi); echo(h2); echo(tan(45)); cylinder($fn=27,d1=R1,d2=R2,H); cylinder($fn=50,d1=13.25,d2=11.5,h2);
glb/cad_21830513029a.glb
Create a fence post lid consisting of a flat square base and a central raised enclosure. Start with a square base plate measuring 96mm by 96mm with a thickness of 4mm. Centered atop this base, construct a hollow square enclosure with outer dimensions of 56.5mm by 56.5mm and a height of 35mm. The walls of this enclosure...
t=3.6; di=4; RI=56.5; difference(){ union(){ cube([96,96,di]); color("red") translate([10,10,4])rotate(5,[-1,1,0])difference(){ cube([RI,RI,35]); translate([t/2,t/2,-0.1])cube([RI-t,RI-t,35+t]); cylinder(d=10,35+t); translate([RI,RI,0])cylinder(d=10,35+t); translate([0,RI,0])cylinder(d=1...
glb/cad_e86d681e8b17.glb
Create a protective case for a WD Elements USB hard drive. Start by constructing a hollow rectangular box with outer dimensions of 85mm in width, 111mm in length, and 18mm in height. The walls of this box should be 1.5mm thick. The interior cavity should measure 82mm by 111mm by 15mm, leaving the top side open to allow...
wall=1.5; gap=6; $fn=50; difference(){ cube([82+2*wall,111,15+2*wall]); translate([wall,-0.5,wall]) cube([82,111+1,15]); } translate([-gap/2,0,-gap/2]) difference(){ hull(){ cube([82+2*wall+gap,111,15+2*wall+gap]); translate([wall/2,0,wall/2]) color("red")rotate(-90,[1,0,0])cylinder(d=1.5*wall,h...
glb/cad_4b68dad225fc.glb
Create a coffee powder spoon consisting of a long handle and a spherical scoop. Start by forming the main body as a union of a sphere with a 39mm diameter and a cylinder that has a height of 175mm, a base diameter of 19mm, and a top diameter of 17mm, centered so the cylinder extends from the top of the sphere. Hollow o...
$fn=64; T=4; difference(){ translate([0,5,0])union(){ cylinder(d1=15+T,d2=13+T,h=175); sphere(d=35+T); } translate([0,5,0])sphere(d=35); translate([-20,-40,-20])cube([40,40,200]); translate([0,5,30])cylinder(d1=15,d2=13,h=141); }
glb/cad_b65799f4f1b4.glb
Create a coffee powder jar consisting of a main cylindrical body and a handle. The main body is a hollow cylinder with an outer diameter of 140mm, a height of 80mm, and a wall thickness of 2.5mm. Construct a handle assembly positioned at the top of the jar. The handle features a central horizontal cylinder with a dia...
$fn=180; w=2.5; tau=(sqrt(5)+1)*.5; R=140; echo(tau); echo(R/tau); echo(R*tau); H=80; r1=(R-2*w)/2; V=H*PI*r1*r1; echo(V/1000/1000); lid=0; handle=1; tube=0; if (tube){ difference(){ cylinder(d=R,h=H); translate([0,0,w])cylinder(d=R-2*w,h=H); } } if (lid){ R1=R+1; H=25; translate([0,0,2*R]) differenc...
glb/cad_66aab8e11070.glb
Create a TAN Generator case consisting of a hollow rectangular box and a matching lid. For the main box, create a solid rectangular block measuring 104.6mm in length, 64.1mm in width, and 23.6mm in height. Hollow out the center by removing a rectangular volume of 103mm by 62.5mm by 22mm, positioned 0.8mm from the botto...
wall = 0.8; B = 103; H = 22; T = 62.5; difference(){ cube([B+2*wall, T+2*wall, H+2*wall]); difference(){ translate([wall,wall,2*wall])cube([B, T, H+2*wall]); translate([0,0,-wall])cylinder($fn=30,d=5,h=H+2*wall); translate([B,0,-wall])cylinder($fn=30,d=5,h=H+2*wall); translate([0...
glb/cad_c9d4a8fbb727.glb
Create a T-shirt frame consisting of two identical mirrored halves. Each half starts with a central flat plate measuring 4mm thick, 245mm long, and 115mm wide. Along the long edges of this plate, integrate a wall that is 4mm thick and 50mm high. Within this wall, create a cylindrical cavity for a magnet with a radius...
include <../lib/roundedcube.scad> include <../lib/utils.scad> bed_height = 3; magnet_bedx_distance=93; magnet_bed_depth=0.6; large_magnet_bed_depth=1; magnet_bedy_distance=7; magnet_radius = 2.6; large_magnet_radius = 4.3; magnet_pinhole_radius = 0.6; wall_width = bed_height+1; bed_length=245; base_width=115; base_heig...
glb/cad_855eb570e14c.glb
Create an Essential Oil Insert by starting with a rectangular base block measuring 180mm by 140mm with a thickness of 10mm. In this block, carve out twelve cylindrical holes to hold bottles, each with a diameter of 27mm and a depth of 66.5mm. Arrange these holes in a grid of six columns and two rows. Position the colum...
include <BOSL2/std.scad> $fn=365; difference(){ cube([180,140,10], center =true); translate([0,0,13]) grid_copies(spacing=[30,68], n=[6,2], stagger=false) rot_copies([[90,0,0]]) cylinder(d=27, h=66.5, center =true); }
glb/cad_2c2a18d05ab4.glb
Create an Essential Oil Insert by starting with a rectangular solid block measuring 180mm in length, 70mm in width, and 10mm in height. From this base, remove six identical cylindrical holes to create slots for bottles. Each hole must have a diameter of 27mm and a depth of 66.5mm. Arrange these holes in a single row al...
include <BOSL2/std.scad> $fn=365; difference(){ cube([180,70,10], center =true); translate([0,0,13]) grid_copies(spacing=[30,68], n=[6,1], stagger=false) rot_copies([[90,0,0]]) cylinder(d=27, h=66.5, center =true); }
glb/cad_7659f7fed591.glb
Create a foldable tablet stand consisting of two identical mirrored legs joined by a hinge. Each leg has a thickness of 4mm and a total length of 170mm. The profile of each leg is a complex polygon: the back section starts at a height of 20mm, rising to a maximum support height of 50mm. The front of the leg features ...
include <BOSL2/std.scad> include <BOSL2/hinges.scad> use <hexa.scad> thick = 4; angle = 60; ipthick = 7; coverthick = 5; cov_overlap = 2; cov_tol = 1; cutout_h = 10; nock_thick = 10; nock_add = 20; support_hi = 50; totlen = 170; back_hi = 20; back_even = 20; sidewall = 3; hexsize = 8; hexwall = 1; $slo...
glb/cad_31bd64bdd4ce.glb
Create a spool holder consisting of a mounting bracket and a removable spindle. Construct the mounting bracket as a flat plate 18.5mm thick. The main body should feature a hexagonal mesh lattice for weight reduction, surrounded by a solid outer frame 8mm wide. Incorporate three circular screw holes for mounting to an...
$fa = 1; $fs = 0.3; include<threads-scad-master/threads.scad> layer_ht = 0.3; second_spindle = false; spare_spindle = false; if_mirror = true; third_hole = false; depth = 18.5; frame_width = 8; spindle_diam = 24; spindle_length = 75; spindle_thread = spindle_diam-6; spindle_thread_tol = 0.6; spindle_end_diam = spi...
glb/cad_4b68bfd2e1bd.glb
Create a spool holder consisting of a mounting bracket, a removable spindle, and an optional spindle extension. Construct the mounting bracket as a flat plate 18.5mm thick with a perimeter frame 6mm wide. The interior of the bracket features a recessed hexagonal mesh lattice. Create two to three circular mounting hol...
$fa = 1; $fs = 0.3; include<threads-scad-master/threads.scad> layer_ht = 0.3; second_spindle = false; spare_spindle = true; if_mirror = false; third_hole = false; depth = 18.5; frame_width = 6; spindle_diam = 24; spindle_length = 75; spindle_thread = spindle_diam-6; spindle_thread_tol = 0.6; spindle_end_diam = spi...
glb/cad_7212e5e2d981.glb
Create a Janome 990D magnetic cloth scrap tray. The main body is a rectangular open-top container with outer dimensions of 110mm in length (X), 40mm in width (Y), and 50mm in height (Z). The walls are 1.6mm thick. At the base of the tray, add a stability block that extends from the bottom, measuring 75mm in length, 42...
$fn = $preview ? 24 : 72; mag = [10, 5, 10] + [.2, .2, 0]; tray_h = 50; tray_l = 110; tray_w = 40; tray_t = 1.6; j_zo = 5 - .5; j_door_a = 16; j_door_r = 17 / 2; j_door_zo = 19 + j_zo; j_a = 41.5; j_t = 3.5; j_int_zo = 30; j_bev = 1.5; mag_xo = 34.5 + 21 + 2; mag_w = 10.5; mag_t = .7; mag_tx = 1.2; mag_l = mag.x + ...
glb/cad_f3c21c0f5a91.glb
Create a parametric cable wrap with a hanger by extruding a specific 2D profile to a height of 10mm. The profile consists of two mirrored hook shapes separated by a distance of 120mm along the Y-axis, connected by a central bar. Each hook is formed by the hull of a 5mm thick rectangle, a 10mm radius circle, and a 10m...
hanger_total_width = 30; hanger_total_height = 40; hanger_offset = 5; radius = 10; thickness = 5; hook_width = 22; hook_depth = 20; extrusion = 10; space_between = 120; $fn = 64; hanger_width = hanger_total_width/2; hanger_height = hanger_total_height/2; inside_radius = radius - thickness; module hook () { diffe...
glb/cad_2054f5153682.glb
Create a Mini-reel tray with a total length of 190mm and a width of 101mm (based on a 100mm reel diameter plus 1mm total tolerance). The main body is a rectangular block with a large cylindrical cutout of 100.5mm diameter running along its length to hold the reels. The tray is asymmetric; the top surface is slanted a...
Tray_Length = 190; Reel_Diameter = 100; Top_Slant = 36; Diameter_Tolerance = 0.5; Panel_Thickness = 1.25; End_Panel_Left = true; End_Panel_Right = true; Separator_Panels = 14; Panel_Tolerance = 0.2; Alignment_Pin_Diameter = 3; epsilon = 0.05; InsideDiameter = Reel_Diameter + Diameter_Tolerance; OutsideDiamet...
glb/cad_05fbbbe19fae.glb
Create a Customizable Frag Rack for Corals. The main structure is a grid of cylindrical holes for frag plugs, arranged in rows that alternate in count (e.g., 5 holes in the first row, 4 in the second). Each plug hole has a diameter of 14mm and is surrounded by a 3mm wall. The holes are spaced 39mm apart on center and a...
plug_holes_per_row = [5, 4, 0, 0]; height_mm = 15; wall_thickness_mm = 3; plug_hole_diameter_mm = 14; plug_spacing_mm = 39; use_magnets = false; rear_plate_thickness_mm = 2.5; keyhole_big_diameter_mm = 10.5; keyhole_small_diameter_mm = 6.5; module __Customizer_Limit__ () {} assert(plug_spacing_mm > plug_hole_...
glb/cad_22e0aafb8e09.glb
Create a Customizable Drill Bit Sanding Spindle consisting of a main cylinder and a narrower shank. Start by creating a primary cylinder with a diameter of 14.5mm and a length of 40mm. At one end of this cylinder, add a tapered transition that narrows down to a shank diameter of 9.2mm over a length of 3.65mm. Attached ...
_diameter = 14.5; _length = 40; _shank_diameter = 9.2; _shank_length = 25; _slope = 0.7; _slot = .8; _twist = 15; _fs = 0.75; _fa = 2; _taper_len = abs(_diameter - _shank_diameter) / _slope; _rad = _diameter / 2; module taper() { translate([0,0,_length]) { rotate([0,0,0]) { cylinder(r...
glb/cad_14aa66378620.glb
Create a Customizable Drill Bit Sanding Spindle consisting of a main sanding body and a narrower shank. Start by creating a primary cylinder for the sanding area with a diameter of 18.5mm (14.5mm inner diameter plus 4mm wall thickness) and a length of 40mm. Hollow out the center of this cylinder with a 14.5mm diameter ...
_diameter = 14.5; _length = 40; _shank_diameter = 9.2; _shank_length = 25; _wall_thickness = 4; _slope = 0.7; _slot = .8; _twist = 15; _fs = 0.75; _fa = 2; _taper_len = abs(_diameter - _shank_diameter) / _slope; _rad = _diameter / 2; _out_rad = _rad + _wall_thickness; module taper() { translate([0,0,_l...
glb/cad_c13947642d25.glb
Create a Noctua NM-APS3 spacer by constructing a thick, hollow ring with a total height of 3mm. The spacer should have an outer diameter of 10mm and a centered inner hole with a diameter of 5.2mm. To refine the geometry, apply a small radius of 0.6mm to the inner top edge of the ring, creating a slight fillet where the...
inner_diam = 5.2; outer_diam = 10; inner_rad = 0.6; thickness = 3; fn=50; module corner_radius(rad) { difference() { square(size=rad); translate([rad,rad]) circle(r=rad); } } module offset_square(offset, width, height) { translate([offset, 0]) square(size = [width, height]); } rotate_e...
glb/cad_0fc70e7841f5.glb
Create a Lego-compatible brick with a width of 2 studs and a length of 6 studs. The brick should have a standard height ratio of 1. The main body is a rectangular prism with an open bottom. The top surface must feature 12 solid cylindrical studs arranged in a 2x6 grid. Each stud should be positioned with standard spac...
block_width = 2; block_length = 6; block_height_ratio = 1; block_type = "brick"; block_brand = "lego"; stud_type = "solid"; block_bottom_type = "open"; include_wall_splines = "yes"; technic_holes = "no"; vertical_axle_holes = "no"; wing_type = "full"; wing_end_width = 2; wing_base_length = 3; wing_stud_not...
glb/cad_37ef2c4a9cd6.glb
Create a Lego Ornament consisting of a hollow spherical shell with a hanging loop. Start with a sphere with a radius of 38.1mm. Create a hollow interior by removing a smaller concentric sphere with a radius of 36.9mm, resulting in a wall thickness of 1.2mm. To create the opening for the ornament, remove a cylindrical...
use <lego.scad>; width=3; wall_thickness=1.2; platform_height=0.22; flat_bottom=false; $fn=30; size=(width * 25.4) / 2; p_height_offset = (size * 2 * platform_height); translate([0, 0, size + 7 - wall_thickness]) hanger(); difference() { sphere(r=size); if (flat_bottom) { translate([0, 0, -size + p_h...
glb/cad_196320c56465.glb
Create a pair of matched bevel gears designed for a 90-degree mesh with a module of 1.25. The first gear should have 8 teeth and the second gear should have 33 teeth. For both gears, use a pressure angle of 20 degrees and a tooth face width of 6mm. The geometry of each gear is derived from a conical blank; the first ...
use<Bevel_Sub.scad> Module=1.25; N1=8; N2=33; PressureAngle=20; FaceWidth=6; Neck=Module; BackLash=0.03; SA=90; bevelGear1(); translate([(Module*(N1+2)+Module*(N2+2))*0.5,0,0])bevelGear2(); m=Module; fw=FaceWidth; Ratio=N1/N2; echo("Ratio=",Ratio); CP=3.141592654*m; A=m; CL=CP*0.05; D=A+CL; T=A+Neck; echo(str("T=...
glb/cad_025291a44be3.glb
Create a mouse stop for a cupboard by constructing a right-angle bracket. Start with a flat rectangular base plate measuring 40mm by 87mm with a thickness of 3mm. Attached to the underside of this plate, add a vertical rectangular wall that is 3mm thick, 87mm long, and 55mm high, positioned flush with one of the 87mm e...
$fn=50; a=33; c=15; D=3; cube([40,87,D]); translate([0,0,-55])cube([D,87,55]); translate([D,0,0])rotate(-90,[1,0,0])cylinder(d=5, h=87); translate([c,a,0]) cylinder(d1=4.5, d2=4, h=10); translate([c+16,a-16,0])cylinder(d1=4.5, d2=4, h=10); translate([c+16,a+16,0])cylinder(d1=4.5, d2=4, h=10); translate([c,a,10]) ...
glb/cad_9fca349b7df6.glb
Create a Tevo Flash 120mm case fan shroud. Start by constructing a main plate that is 3mm thick, 110mm wide, and 110mm high. To form the outer boundary, create a hull that connects a central rectangular block of 3x110x110mm with four cylinders, each 15mm in diameter and 3mm thick, positioned at the corners: (0, 52.5, 5...
$fn=60; translate([0,-89,85.25]) rotate(90) difference(){ hull(){ cube([3,110,110],center=true); translate([0, 52.5, 52.5])rotate(90,[0,1,0])cylinder(d=15,h=3,center=true); translate([0, 52.5,-52.5])rotate(90,[0,1,0])cylinder(d=15,h=3,center=true); translate([0,-52.5, 52.5])rotate(...
glb/cad_ab25892487a0.glb
Create a Tevo Flash 120mm case fan shroud. Start by constructing a main rectangular body with a wall thickness of 2mm. The outer dimensions of this body are 120mm by 110mm, with a depth of approximately 3mm. At the four corners of the rectangular face, create circular cutouts with a diameter of 15mm to accommodate mo...
wandstaerke=2; $fn=30; fudge = 1/cos(180/90); union(){ color("teal") translate([0,-83,85.25]) rotate(90) difference(){ hull(){ translate([50, 25.0, 50])rotate(90,[0,1,0])cylinder(d=15,h=3,center=true); translate([50, 25.0, 15])rotate(90,[0,1,0])cylinder(d=15,h=3,center=true); translate([50,-25....
glb/cad_d554d02a73d0.glb
Create a "Keine Werbung post box sign" by starting with an octagonal base. This base is a cylinder with 8 facets, a bottom diameter of 120mm, a top diameter of 115mm, and a height of 7mm. Remove two vertical cylindrical holes from the base, each with a diameter of 10mm and a height of 5.5mm; position the first hole a...
fudge = 1/cos(180/90); difference(){ color("red")cylinder($fn=8,d1=120,d2=115,h=7); translate([20,0,-0.1])cylinder($fn=90,d=10*fudge,h=5.5); translate([-20,0,-0.1])cylinder($fn=90,d=10*fudge,h=5.5); translate([10,35,6.35])rotate(-45/2)linear_extrude(height=0.7, convexity=4) text("Keine",...
glb/cad_25d5016c5dd6.glb
Create a Tower Lamp consisting of a hollow square column with a textured exterior. The main body is a square prism with a width and depth of 60mm and a total height of 100mm. The exterior walls are composed of four identical rectangular panels, each 60mm wide and 100mm tall, rotated every 90 degrees around the center...
s=60; h=100; hole=30; difference(){ union(){ for(i=[0:3])rotate(i*90)translate([0,-s/2+0.4999,0])intersection(){ rotate([90,0])Pixels(res=1.5,size=[s,h],fz=function(x,y)0,base=2,randSize=[2,10],center=[1,0,1],seed=i*PI); translate([0,-.5,0])cylinder(d=s +0.001,h*3,center=true,$fn=4); } colo...
glb/cad_7b387f1ae393.glb
Create a customizable cable tie consisting of a main ring and a locking clip. The main ring is a curved band with an inner radius of 12.5mm, a thickness of 2mm, and a height of 7.5mm. To increase flexibility, carve a thin slit of 0.4mm width through the ring's height, leaving 4 small connectors of 1.2mm thickness space...
thickness = 2; inner_radius = 12.5; ring_height = 7.5; ring_extra_angle = 2; clip_height = 12; clip_r = 2.5; clip_fit = 0.3; clip_opening = 90; clip_correction_rotation = 0; clip_thickness = 1; ring_slit = true; ring_slit_t = 0.4; ring_slit_connector_t = 1.2; ring_slit_connectors = 4; clip_circle_hollow =...
glb/cad_24156b2fd560.glb
Create a Raspberry Pi 4 Heatsink Feeler shim by starting with a solid cube that is 15mm wide, 15mm deep, and has a total height of 10.8mm. From the top face of this cube, remove a smaller centered square section that is 12.5mm wide, 12.5mm deep, and 0.8mm tall, leaving a thin outer wall around the perimeter. On the bot...
heatsink_height = 10; module __customiser_stop_here__ () {} indent_height = 0.8; indent_width = 12.5; width = 15; module draw_height(){ mirror([1, 0, 0]) translate([width/2 - width, 2.5, 0]) linear_extrude(0.4) text( str(heatsink_height), font="Open Sans Condensed:style=Bold", ...
glb/cad_081e8340f44d.glb
Create a 3D model of Intersecting Planes consisting of three identical rounded square plates that intersect at a single central point. Each plate is a regular polygon with four sides, a bounding box width and length of 20mm, and a thickness of 1.5mm. The edges and corners of each plate must be rounded with a radius of ...
module rounded_regular_polygon(n, s, h, r=undef) { _2r_ = is_undef(r) ? h : 2*r; assert(n > 2 ); assert(h >= _2r_); assert(s >= _2r_); R = (s / (2*sin(180/n))) - (_2r_ / (2*cos(180/n))) ; V = [for (i=[1:2:2*n+1]) [R*cos(i*180/n-90), R*sin(i*180/n-90)]]; translate([0,0,(_2r_-h)/2]) min...
glb/cad_d8b36bfdeb79.glb
Create a 3D model of four intersecting hexagons. Each hexagon should be a regular polygon with a bounding box side length of 20mm and a thickness of 1.5mm. The edges and corners of each hexagon must be rounded with a radius of 0.75mm. Position the four hexagons so they all share a single common center point. Arrange ...
module rounded_regular_polygon(n, s, h, r=undef) { _2r_ = is_undef(r) ? h : 2*r; assert(n > 2 ); assert(h >= _2r_); assert(s >= _2r_); R = (s / (2*sin(180/n))) - (_2r_ / (2*cos(180/n))) ; V = [for (i=[1:2:2*n+1]) [R*cos(i*180/n-90), R*sin(i*180/n-90)]]; translate([0,0,(_2r_-h)/2]) min...
glb/cad_75adc3ef17ea.glb
Create a 3D model of an Icosidodecahedron represented by six intersecting rounded decagons. Each decagon should be a regular 10-sided polygon with a bounding box side length of 20mm and a thickness of 1.5mm. The edges of these polygons must be rounded with a radius of 0.75mm. Position the six decagons so they all shar...
module rounded_regular_polygon(n, s, h, r=undef) { _2r_ = is_undef(r) ? h : 2*r; assert(n > 2 ); assert(h >= _2r_); assert(s >= _2r_); R = (s / (2*sin(180/n))) - (_2r_ / (2*cos(180/n))) ; V = [for (i=[1:2:2*n+1]) [R*cos(i*180/n-90), R*sin(i*180/n-90)]]; translate([0,0,(_2r_-h)/2]) min...
glb/cad_b5f7afde53fe.glb
Create a Cisco 1841 Rackmount bracket. Start with a main rectangular base measuring 150mm in length, 44mm in width, and 4mm in thickness. At one end, add a vertical support wall that is 4mm thick, 44mm wide, and 69mm high, extending perpendicularly from the base. On the top surface of the base, add a rectangular block ...
$fn=50; rotate([90,0,0]){ difference(){ union() { translate([25,22.3,-4]){ cylinder(4,0.75,1); } translate([70,22.3,-4]){ cylinder(4,0.75,1); } translate([100,22.3,-4]){ cylinder(4,0.75,1); } translate([130,22.3,-4]){ cylinder(4,0.75,1); } cube([150,...
glb/cad_ddb99a3dede5.glb
Create a spool holder endstop consisting of three stacked coaxial geometric sections. Start with a wide, flat cylindrical base that is 12mm in diameter and 2mm in height. Centered on top of this base, add a second cylinder with a diameter of 6.2mm and a height of 8mm. Finally, cap the structure with a short conical tra...
$fs = $preview ? 2 : 0.2; $fa = $preview ? 12 : 2; eps = 0.05; cylinder(d=12, 2); cylinder(d=6.2, 8 + eps); translate([0, 0, 8]) cylinder(d1=6.2, d2=5, 1);
glb/cad_c4b5c1357a35.glb
Create a cupboard 120mm fan mount consisting of a base plate and two angled side supports. Start with a rectangular base plate measuring 124.4mm by 29.4mm with a thickness of 2mm. In the center of this plate, remove a circular cutout with a diameter of 124mm to accommodate the fan. At each end of the base plate, add a...
$fs = $preview ? 1 : 0.2; $fa = $preview ? 12 : 2; eps = 0.05; fan_width = 120.2; fan_depth = 25.2; fan_diameter = 124; fan_screw = 7; fan_screw_diameter = 4; board_thickness = 16; board_spacing = 48; height = 20; thickness = 2; hypotenuse = fan_width + 2 * thickness; opposite = board_spacing + 42; degree = asin( ...
glb/cad_906e8961ad88.glb
Create a Proxxon cutting disk adaptor nut by starting with a hexagonal prism that has a flat-to-flat width of 12mm and a total height of 3.375mm. Bore a central hole through the entire height with a radius of 4.15mm. Within this central bore, carve a female trapezoidal thread with a pitch of 0.75mm and a thread angle o...
use <thread_profile.scad> function inner_thread_profile(pitch,angle,icut) = [ [0.001,0], [-pitch/2/tan(angle)+icut,pitch/2-icut*tan(angle)], [-pitch/2/tan(angle)+icut,pitch/2+icut*tan(angle)], [0.001,pitch+0.001] ]; module trapezoidal_inner_thread(outer_radius,radius,pitch,angle,icut,ocut,turns,f...
glb/cad_9f3e77d3a630.glb
Create a Unifi G3 Ikea Vidga Mount by combining three rectangular sections. First, create a central base block that is 16mm wide, 10mm deep, and 9.8mm high. Directly behind this, add a second rectangular block that is 16mm wide, 2mm deep, and 7.8mm high, positioned so it sits flush against the back of the first block. ...
$fs = $preview ? 2 : 0.2; $fa = $preview ? 12 : 2; eps = 0.05; difference() { part_one_z = 11.8; part_two_z = 7.8; part_four_y = 36; union() { color("blue") hull() { cube([16, 10, part_one_z - 2], center=true); cube([16, 8, part_one_z], center=true); } color("yellow") transla...
glb/cad_9cd239d24512.glb
Create a parts drawer for coin envelopes consisting of a hollow rectangular box and a matching drawer. The outer box should have external dimensions of 65.4mm in width, 191.8mm in depth, and 98.4mm in height, with a wall thickness of 1.6mm throughout. The interior cavity of the box is 59mm wide, 185mm deep, and 92mm hi...
walls = 1.6; xi = 59; yi=185; zi=92; nd=9; part = "box"; $fn=60; sp=0.5; zl=2*zi/3; module print_part(){ if (part == "box") { rotate([-90,0,0])box(); } else if (part == "drawer") { drawer(); } else if (part == "divider") { rotate([-90,0,0])drawer_divide(); } else if (part == "knob") { knob(); } e...
glb/cad_918d37cf732b.glb
Create a medicine cabinet spacer consisting of two primary rectangular sections joined together. First, create a thin back plate that is 67mm wide, 1mm thick, and 40mm high. Attached to the front of this plate, create a larger rectangular block that is 67mm wide, 16mm deep, and 32mm high. This front block should be hol...
print_orientation = false; include_separator = false; back_height = 40; front_height = 32; width_of_medicine_cabinet = 268; depth = 16; separator_depth = 48; thickness = 1; module back_face(width) { cube([width, thickness, back_height]); } module hump(width) { difference() { cube([width, depth,...
glb/cad_d5a2b0321a28.glb
Create a Bag Bird accessory consisting of a stylized bird body, a pocket attachment, and articulated joints. Start with the main body: create a central hull that is 25mm wide, 22mm deep, and 5mm thick. At the front, add a head formed by a partial cylinder with a radius of 11mm and a height of 5.6mm. Position two eye ...
use <gelenk_einfach_lib_011.scad> $fs = 0.3; $fa = 0.3; o = 0.1; o2 = o + o; mink_r = 1; m2 = mink_r + mink_r; module mk(r=mink_r) { minkowski() { translate([0,0,r]) children([0]); sphere(r=r); } } module trapez(x,y1,y2) { polygon(points=[ [0,y1/2], [x,y2/2], [x,-y2/2], [0,...
glb/cad_276e50bdfe0d.glb
Create a Bag Bird accessory consisting of a main bird body and a separate pocket piece. The main body is 5mm thick. Start with a central rectangular block 25mm wide and 22mm deep. At the front, add a rounded head created from a cylinder with a radius of 11mm, flattened on the bottom. Position the body to transition i...
use <gelenk_einfach_lib_011.scad> $fs = 0.3; $fa = 0.3; o = 0.1; o2 = o + o; mink_r = 1; m2 = mink_r + mink_r; module mk(r=mink_r) { minkowski() { translate([0,0,r]) children([0]); sphere(r=r); } } module trapez(x,y1,y2) { polygon(points=[ [0,y1/2], [x,y2/2], [x,-y2/2], [0,...
glb/cad_a15bc45b3593.glb
Create a Bag Bird clip by starting with a rectangular base block measuring 40mm wide, 40mm deep, and 5mm thick. Cut a 2mm wide slot through the center of the block along the Y-axis, extending from the front edge to the back. Within this central area, create two rectangular recesses measuring 5mm wide, 10mm deep, and ...
$fs = 0.3; $fa = 0.3; o = 0.1; o2 = 0.2; module ro() {rotate([-90,0,0]) children([0]); } int_z = 5; int_gap_width = 2; function gap_w() = int_gap_width; int_rec_x = 5; int_rec_y = 10; function rec_y() = int_rec_y; module jl_gap(ext_y, ext_z) { translate([0,-o,-o]) cube([int_gap_width, ext_y + 2, ext_z + o2]); }...
glb/cad_fbf2228950ce.glb
Create a Parametric Enclosure Frame using a strut width of 6mm. The frame consists of three primary components: struts, corners, and couplers. For the struts, create rectangular beams with a cross-section of 6mm by 6mm. Each strut should feature a cylindrical hole with a diameter of 1.5mm running through the center of...
width=500; depth=560; height=600; strutWidth=6; printWidth=249; printDepth=210; printable(); ra=atan(printWidth/printDepth); mlx=printWidth-strutWidth*sin(ra); mly=printDepth-strutWidth*cos(ra); maxStrutLength=sqrt(mly^2+mlx^2); w=strutWidth; th=w/4; echo(str("Strut rotation: ",ra)); echo(str("Max strut length: ",...
glb/cad_94d1275ad712.glb
Create a flag swivel consisting of a cylindrical collar designed to fit around a pole. The main body is a hollow cylinder with an inner diameter of 28.5mm and an outer diameter of 34.8mm, with a total height of 7.5mm. This collar features a centered hole passing horizontally through its walls with a diameter of 3mm to ...
$fn=100; meh=.5; core=28.5; wall=6*.4; ring=7.5; tolerance=.2; schroefgat=3; difference() { height = ring + 2 * (wall+tolerance); union() { cylinder(d=core + 4*wall + 2*tolerance, h=wall); cylinder(d=core + 2*wall, h=height); } translate([0,0,-meh]) cylinder(d=core, h=height+2*meh); ...
glb/cad_56bf5af10dd4.glb
Create a Magnetic Hex Terrain Tile by first constructing a large hexagonal prism with a radius of 100mm and a height of 39.1mm. Hollow out the center of this prism by removing a smaller hexagonal prism with a radius of 96.5mm and a height of 38.1mm, leaving a wall thickness of 3.5mm and a base floor of 1mm. To allow f...
height = 39.1; magnetDiameter= 21; magnetHeight= 4.3; magnetOffset = 27; outerHexagonRadius = 100; innerHexagonRadius = 96.5; module hexagon(r,x,y){ polygon(points=[[(r+x),(r*(tan(30)))+y], [x,(r*(2/sqrt(3)))+y], [-r+x,(r*(tan(30)))+y], [-r+x,-(r*(tan(30)))+y], ...
glb/cad_7abd27b24def.glb
Create a Brandson Remote Holder by starting with a base cylinder 115mm in diameter and 7mm high. Remove a smaller concentric cylinder from the center with a diameter of 101mm and a height of 7mm to create a ring with a 2mm wall thickness. Attached to the side of this ring, create a rectangular block that extends outw...
$fn=150; extra = 0.1; dBlower = 115; dButtonRing = 101; hButtonRing = 7; wallThickness = 2; remoteWidth = 42; remoteLen = 75; remoteH = 8; plugExtra = 10; difference() { union() { cylinder(r=dBlower/2,h=hButtonRing); translate([0,-remoteWidth/2-wallThickness,0]) cube([dBlower/2+remoteH,remoteWidth+wallT...
glb/cad_99ee791db4e0.glb
Create a Clasp Hook for a Gridfinity Toolbox. The main body is a rectangular block measuring 33.6mm in width, 22.2mm in depth, and 5.6mm in height. At the center of the depth, create a cylindrical end with a diameter of 6mm. Through the center of the main body, create two vertical holes with a diameter of 3.4mm: one ...
$fn = 100; width = 33.6; height = 5.6; depth = 22.2; section1 = 11.5; hole = 3.4; endDiameter = 6; endHole = 3.8; spacing1 = 6.8; spacing2 = 15.75; angle1 = -45; angle2 = 160; lip = 0.6; gripDiam = 40; fullLength = 27.3; finalAngle = -20; gap = (height - hole) / 2; endCenter = depth-height+endDiameter-height; bl...
glb/cad_49f7ec2b724c.glb
Create a replacement throat plate for a table saw. Start with a rectangular base plate measuring 360mm by 94mm with a thickness of 2.5mm. Add a raised reinforcement section on top of the base, starting 7mm from the left and bottom edges, with a height of 6.5mm and dimensions of 333mm by 77mm. Cut a central rectangular...
reinforcementHeight = 6.5; difference() { union() { translate([0, 0, 0]) linear_extrude(height = 2.5) square([360, 94], center = false); translate([20, 7, 2.5]) linear_extrude(height = reinforcementHeight) square([360-7-20, 94-7-7], center = false); }; ...
glb/cad_aef59e4ba26f.glb
Create two identical circular buttons, each starting with a base cylinder 6.2mm in diameter and 5mm in height. Cap each cylinder with a spherical dome that is 6.2mm in diameter and 0.5mm high. For the first button, add three rectangular keys, each measuring 2.09mm by 2.2575mm by 1.64mm; center these keys on the cylinde...
$fn=50; translate([10,0,0]) plus_button(); translate([-10,0,0]) minus_button(); module plus_button() { basic_shape(); key_shape(0); key_shape(-90); key_shape(180); } module minus_button() { basic_shape(); key_shape(0); key_shape(-60); key_shape(180); } module key_shape(angle=0) { ...
glb/cad_19b209f57493.glb
Create a Magnetic Portafilter Funnel by constructing a circular ring with a height of 15mm. The ring should have an outer diameter of 68.2mm and an inner diameter of 59.8mm. The vertical profile of the ring wall is not a simple rectangle; it should taper slightly, starting from the inner radius, extending outward to th...
outer_r = 68.2/2; inner_r = 59.8/2; r=0.5; $fn=128; difference() { rotate_extrude() { minkowski() { difference() { translate([0.2,0]) polygon([ [inner_r, 0], [inner_r+2, 15], [outer_r, 15], [outer_r-1, 15/2], [outer_r, 0] ]); ...
glb/cad_d045508e8799.glb
Create a Galaxy S5 Cell Phone Battery Substitute holder. Start with a main rounded rectangular body with overall dimensions of 76.7mm width, 146.1mm length, and 11.2mm height. The exterior corners should have a radius of 12mm and the faces a radius of 4mm. Hollow out the center to create a cavity for the phone with in...
include <BOSL2/std.scad> insideWidth = 72.7 + 2; insideLength = 142.0 + 1; topLip = 2; insideHeight = 7.2 + topLip + 1; insideCornerRadius = 10; insideFaceRadius = 2; outWall = 2.0; outWidth = insideWidth + outWall * 2; outLength = insideLength + outWall * 2; outHeight = insideHeight + outWall; outsideCornerRad...
glb/cad_38d0952beedc.glb
Create a magnetic sanding block base. Start with a rectangular base plate that is 4mm thick (3mm for the magnet depth plus 1mm base). The total length is determined by four sanding block slots, each 25mm wide, separated by 2mm wide dividers. The total depth of the base is approximately 27mm. For each of the four slots...
base_with_mounting_holes(); module base_with_mounting_holes( mount = 4, count = 4, width = 25, diam = 16, offset = 20, mag_diam = 6, mag_height = 3, sep_width = 2, sep_height = 2 ) { z = 1 + mag_height; difference() { base(count, width, diam, offset, mag_diam, mag_height, sep_width, sep_height);...
glb/cad_ecdbe0bd236b.glb
Create a flipper spring retainer consisting of a main rectangular block and a cylindrical anchor. Start by creating a solid rectangular block measuring 14mm in width, 13mm in depth, and 1mm in height. Centered on the front edge of this block, attach a vertical cylinder with an outer diameter of 5mm and a total height o...
module spring_holder(){ difference(){ cylinder(10,5.0/2,5.0/2,true,$fn=100); cylinder(11,1,1.2,true,$fn=100); } } spring_holder(); translate([0,9.5,0]){ cube([0.5,15,10], true); } translate([-1.7,0,-7]){ cylinder(2,.5, 1.5/2,$fn=100); } translate([-5,-2,1.25]){ cube([10,1,7.5], tr...
glb/cad_87a90d7b7507.glb
Create a suspender holder gadget. Start by creating a rectangular base plate with rounded corners, measuring 190mm in length, 20mm in width, and 3mm in height. The corners should have a radius of 10mm. Cut two identical rectangular slots through the body of the plate. Each slot should be 33mm long, 1mm wide, and 3mm d...
$fs = 0.3; $fa = 0.3; o = 0.1; o2 = o + o; function calc(p,d) = [p.x + d, p.y + d, p.z + d]; x_shift = 5; x = 120 + 2*35 + 2*x_shift; y = 20; z = 3; p1 = [x,y,z]; d1= 10; module part(p,d) { module c(z,d) {cylinder(z,d=d);} translate([d/2,d/2,0]) hull() { translate([0, 0, 0]) c(p.z, d); ...
glb/cad_ec20b75d6c16.glb
Create a pet gate locking latch consisting of a main rectangular body and a cylindrical peg. Start with a central rectangular tube that is 53.45mm long, 22.66mm wide, and 22.66mm high. The walls of this tube should be 2.5mm thick. At the front end of the tube, integrate a cylindrical locking peg with a diameter of 8mm ...
locking_peg_diameter = 8.00; locking_peg_height = 16.85; locking_peg_depth = 12.85; tube_width = 22.66; tube_length = 53.45; slot_diameter = 6.00; max_width_of_slots = 36.78; slot_distance_from_end = 10.00; wall_thickness = 2.50; inner_ridge_thickness = 3.00; inner_ridge_width = 5.00; small_height = 17.83; max_dist...
glb/cad_6da9691accff.glb
Create a SpoolClip designed to secure a filament spool. Start by creating a hollow cylinder with an inner diameter of 30mm, an outer diameter of 34mm, and a height of 3mm. From this ring, remove a section to create a gap, then add two perpendicular arms extending from the ring. Position the first arm as a rectangular b...
DIA = 30; HEIGHT = 03; STRENGTH = 02; LEGLENGTH = 25; TOPLENGTH = 12; difference() { cylinder(HEIGHT,DIA/2+STRENGTH,DIA/2+STRENGTH);cylinder(HEIGHT,DIA/2,DIA/2); cube([40,40,HEIGHT]); } translate([DIA/2,0,0]) cube([LEGLENGTH,STRENGTH,HEIGHT]); translate([0,DIA/2,0]) cube([STRENGTH,LEGLENGTH,HEIGHT]); ...
glb/cad_e996c3bbaed7.glb
Create a conical bicycle steering spacer with a height of 25mm. The outer shape should be a truncated cone that tapers from a base diameter of 45mm at the bottom to a top diameter of 34.5mm at the peak. Centered vertically through the middle of this cone, remove a cylindrical hole with a diameter of 29mm that passes co...
$fn= $preview ? 16:64; h=25; d1=45; d2=34.5; innerD=29; d(){ cylinder(d1=d1,d2=d2,h=h); cylinder(d=innerD,h=3*h,center=true); } module t(v=[0,0,0]){translate(v) children();} module r(a=[0,0,0],rp=[0,0,0]){translate(rp) rotate(a) translate(-rp) children();} module tr(v=[0,0,0],a=[0,0,0],rp=[0,0,0]){t(v) r(a,rp) chi...
glb/cad_a1e90a169554.glb
Create a router attachment for a rotary tool. Start by constructing a main body that consists of a cylindrical base with a radius of 31.5mm and a height of 5mm, which then transitions into a conical section tapering upward to a radius of 14mm over a height of 30mm. At the top of this taper, add a trapezoidal nut with a...
include<../syvwlch/Thingiverse-Projects/Threaded Library/Thread_Library.scad> wallThickness=4; threadRad=9.0; nutRad=14; nutDepth=9.5; baseRad=(55/2) + wallThickness; baseDepth=35; baseLift=5; holeRad=15; vacuumRad=31.5/2; vacuumLen = 70; $fn=0; $fa=0.6; $fs=4; module routerAttachment() { translate([0,0,baseDep...
glb/cad_29756cdc353d.glb
Create a magnetic garage door sign as a rectangular plate measuring 160mm wide, 99mm high, and 3mm thick. The plate should have rounded corners with a radius of 10mm. At each of the four corners, create a cylindrical hole 10mm in diameter and 2mm deep to accommodate magnets, ensuring these holes are flush with the back...
$fn = 60; sign_width = 160; sign_height = 99; sign_thickness = 3; magnet_thickness = 2; magnet_diameter = 10; layer_height = 0.2; corner_fillet = 10; width = sign_width - corner_fillet; height = sign_height - corner_fillet; corners = [ [0, 0, 0], [width, 0, 0], [0, height, 0], [width, height, 0] ];...
glb/cad_b88de894b827.glb
Create a rectangular storage tray for the Crisis expansion of Terraforming Mars: Ares Expedition. Start with a solid rounded cube measuring 100.8mm in width, 74.6mm in depth, and 73.5mm in height, using a corner radius of 3mm. Hollow out the center by removing a rectangular block measuring 96mm by 69.8mm with a heigh...
$fn=200; difference(){ roundedCube(100.8,74.6,73.5); translate([2.4,2.4,1]) cube([96,69.8,100]); translate([50.4,250,73.2]) rotate([90,0,0]) cylinder(h=400, d=65, center=false); translate([11,240,65.5]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([89.9,240,65.5]) mirror([1,0,...
glb/cad_ab46add9b407.glb
Create a game organizer tray by starting with a rounded rectangular base measuring 208mm in length, 53.7mm in width, and 13mm in height. From this base, remove two vertical cylindrical holes with a diameter of 30mm and a height of 75mm; position the first at the center of the width (104mm) and the second at the same ...
$fn=200; difference(){ roundedCube(208,53.7,13); translate([104,53.7,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([104,0,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([2.4,2.4,1]) roundedCube(49,48.9,30); translate([27.4,0,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=...
glb/cad_7119e05eb45e.glb
Create a rectangular organizer tray for a board game insert with overall dimensions of 208mm in width, 137.5mm in depth, and 6.5mm in height. The main body should have rounded corners with a 5mm radius. Subtract the following geometric features from the main body: First, create two circular finger holes for lifting, e...
$fn=100; difference(){ roundedCube5(208,137.5,6.5); translate([104,137.5,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([104,0,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([6.5,5.75,1]) roundedCube3(76,126,20); translate([125.5,5.75,1]) roundedCube3(76,126,20); for(j = [0...
glb/cad_41d2370363fc.glb
Create a game organizer insert for the Terraforming Mars: Ares Expedition expansion box. Start with a base rounded rectangular block measuring 208mm in length, 53.7mm in width, and 20mm in height. Carve out several functional voids from this base. First, create three vertical cylindrical finger holes with a diameter o...
$fn=200; difference(){ roundedCube(208,53.7,20); translate([104,53.7,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([104,0,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([0,0,0]){ translate([19,26.85,1]) rotate([0,0,30]) phex(41,0.5,30); translate([0,26.85,-1]) rotate([0,0,...
glb/cad_6564db529273.glb
Create a rectangular storage tray for corporation cards with overall exterior dimensions of 100.8mm in width, 24.8mm in depth, and 73.5mm in height. The exterior corners of the tray should be rounded with a 3mm radius. Hollow out the center of the tray to create a storage compartment measuring 96mm wide, 20mm deep, a...
$fn=200; difference(){ roundedCube(100.8,24.8,73.5); translate([2.4,2.4,1]) cube([96,20,100]); translate([50.4,250,73.5]) rotate([90,0,0]) cylinder(h=400, d=65, center=false); translate([11,240,65.5]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([89.9,240,65.5]) mirror([1,0,0]...
glb/cad_0c98e9d1af08.glb
Create a rectangular storage tray for "Special Projects" cards with an outer dimension of 100.8mm width, 42.8mm depth, and 73.5mm height. The corners of this outer shell should be rounded with a 3mm radius. Hollow out the center of the block to create a storage compartment measuring 96mm wide by 38mm deep and 100mm hi...
$fn=200; difference(){ roundedCube(100.8,42.8,73.5); translate([2.4,2.4,1]) cube([96,38,100]); translate([50.4,250,73.2]) rotate([90,0,0]) cylinder(h=400, d=65, center=false); translate([11,240,65.5]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([89.9,240,65.5]) mirror([1,0,0]...
glb/cad_a704313f1ea0.glb
Create a rectangular storage tray with rounded corners and a height of 73.5mm. The outer dimensions of the tray are 100.8mm in width and 65.8mm in depth. The walls and base should be 2.4mm thick. Hollow out the center of the tray to create a storage compartment measuring 96mm by 61mm with a depth of 100mm. To facilita...
$fn=200; difference(){ roundedCube(100.8,65.8,73.5); translate([2.4,2.4,1]) cube([96,61,100]); translate([50.4,250,73.5]) rotate([90,0,0]) cylinder(h=400, d=65, center=false); translate([11,240,65.5]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([89.9,240,65.5]) mirror([1,0,0]...
glb/cad_e546517fc26d.glb