Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a USB cable protector consisting of two main parts: a main protector body and a snap-on cable cover. For the main protector body, start with a rectangular base 11mm wide by 12.2mm long and 12mm high, with rounded corners using a 0.5mm fillet radius. The walls should be 1.5mm thick. On top of this base, create a...
assemblyStyle = 0; showProtector = 1; showCableCoverCover = 1; partSeparation = 15; width = 8; length = 15.2; cableDiameter = 2.4; height = 12; connectionLength = 10; cableCover=10; thickness = 1.5; ccThickness = 0.5; r = 0.5; t1 = 0.15; $fa = 1; $fs = 0.4; module protector() { difference() { union() {...
glb/cad_672d61a8f261.glb
Create a Customizable Pegboard Truss Shelf. Start with a main rectangular body 250mm long, 200mm wide, and 2mm thick. Construct a truss system within this body by adding 12 diagonal webs, each 2mm thick, spanning the width. To create the truss's open architecture, remove a grid of circular holes with a radius of 8mm....
length = 250; width = 200; wallWidth = 2; webs = 12; lipLength = 3; holeRadius = 8; holeRows = 8; holesPerWeb = 1.0; pegDiameter = 5.8; pegLength = 3; pegHookRadius = 4; pegHookAngle = 90; pegHookTop = 1; pegHookTopCone = 3; $fn = 20; websSafe = floor(webs / 2) * 2; div = length / websSafe; trussByWebs(length,...
glb/cad_bab0efeab567.glb
Create a drill bit clip for a custom case. The main body is a rectangular block measuring 73.5mm in length, 24mm in width, and 13mm in height. On one end, add a clip fitting that is 4mm wide, 18.6mm deep, and 13mm high, featuring a recessed inner section of 2mm by 13mm and a 2mm lip. On the opposite end, integrate a se...
Slots = 9; Rows = 1; Row_1_Slot_Type = "quick-change"; Row_2_Slot_Type = "driver"; Slot_Orientation = "default"; Channel_Slots = 0; Channel_Side = "right"; Quick_Change_Grip = true; module __end_customizer_options__() { } $fa = $preview ? $fa : 2; $fs = $preview ? $fs : 0.4; wall_thickness = 1.6; insert_x = 7...
glb/cad_415c26c007fc.glb
Create a sash window extractor fan mount corner spacer. Start with a flat plate that is 4mm thick. The base shape is a square with a side length of 118mm, but the inner corner is carved out by a circle with a diameter of 125mm centered at the midpoint of the square (59mm from each edge), creating a rounded concave inne...
assembly_height = 118; fan_diameter = 125; corner_dimension = 32; bolt_diameter = 4.5; cutout_size = 10; spacer_thickness = 4; module RoundedCorner() { linear_extrude(spacer_thickness){ $fn = 100; offset(1)offset(-2)offset(1){ difference() { polygon([[0,0], [0,corner_dimension], [corner_dimensi...
glb/cad_e269f5565517.glb
Create a sash window extractor fan mount. Start with a rectangular base plate measuring 118mm by 32mm with a total thickness of 8mm. The main body is a flat plate that serves as a clamp for a 4mm thick sheet. At each end of the rectangle, create a corner profile by subtracting a circle with a 125mm diameter centered ...
assembly_height = 118; fan_diameter = 125; corner_dimension = 32; nut_diameter = 8.3; nut_recess = 2; bolt_inset = 7; bolt_diameter = 4.5; sheet_thickness = 4; module corner() { difference() { polygon([[0,0], [0,corner_dimension], [corner_dimension,0]]); translate([(assembly_height/2)-1, (assemb...
glb/cad_2216217e4b28.glb
Create an Oddly Specific Whiteboard Mounting Clamp by starting with a central rectangular block 15mm long, 17mm deep, and 10mm high. Add a second rectangular block centered on the first, measuring 15mm long, 9mm wide, and 12.5mm high, positioned so its bottom face is 1.25mm above the base. On the front face of the asse...
nutBreite = 9; nutHoehe = 2.5/2; depth = nutBreite + 2*4; height = 10; length = 15; frontDepth= 3; frontExtraHeight = 2.5; $fn = 32; difference(){ union(){ union(){ translate([0,0,nutHoehe]) cube([length,nutBreite,height+nutHoehe*2], center = true); cube([length,depth,height], center = true); } translate([0,8.5+fro...
glb/cad_5b003912901e.glb
Create a WiFi-Repeater Stand consisting of a flat base and a vertical backplate, both 4mm thick. The base is a rectangular plate measuring 64mm by 72mm. Centered on this base, create a circular cutout with a radius of 29.5mm, and within that, a smaller concentric circular hole with a radius of 19.5mm that passes throug...
LEN_BASE = 60; WIDTH = 60; THICK = 4; HEIGHT = 120; ENABLE_BASE = true; module frame(width,depth, height, thickness){ difference(){ cube([width+4,depth+12,thickness]); translate([width/2+2,depth/2-8,0])cylinder(h= 10, r= 19.5); translate([width/2+2,depth/2-8,-2])cylinder(h= 4, r= 29.5); translate([width/2+2,8,...
glb/cad_db49fc5209dd.glb
Create a Shelf Pin Jig consisting of three distinct components: a main jig plate, a depth guide, and several alignment pins. First, create the main jig plate as a rectangular block 5mm thick. The width is 61mm (calculated from a 28mm pin distance plus spacing and drill diameter). Along the center line, create four ver...
$fn = 180; generate_jig = true; generate_depthguide = true; generate_pins = true; textDepth = 1; tolerance = 0.1; drill_tolerance = 0.5; drill_diameter = 8.4; drill_depth_tolerance = 1; thickness = 5; cutout_thickness = 2; pin_distance = 28; pin_spacing = 32; pin_number = 4; pin_diameter = 5; pin_length ...
glb/cad_fc291a91cf01.glb
Create a solar panel extrusion frame cover consisting of a central square plate and four small corner posts. Start by creating a flat square plate measuring 40mm by 40mm with a thickness of 3mm. At each of the four corners of the plate's top surface, add a small square post measuring 5mm by 5mm with a height of 10mm. P...
$fn=50; plate_width=40; plate_height=40; plate_thickness=3; stab_width=5; stab_height=5; stab_length=10; seiten_abstand=1; cube([plate_height,plate_width,plate_thickness], center=true); translate([plate_width/2-stab_width-seiten_abstand-0.1,plate_width/2-stab_width-seiten_abstand-0.1,0]){ cube([stab_width,stab_...
glb/cad_4211234040ce.glb
Create a Raspberry 7 inch touch display enclosure consisting of a main housing, a front frame, and a back connector plate. Construct the main case as a hollowed shell with a base that angles upward at 28.5 degrees. The interior must accommodate a display measuring 194mm by 111.6mm. The side walls should be 2mm thick,...
intersection(){ translate([0,-125+23,0])cube([250,250,200],center=true); case(); } difference(){ case(); translate([0,-125+23.1,0])cube([250,250,200],center=true); } plate(); lid(); module lid(){ translate([0,99,-11])rotate([28.5,0,0]) difference(){ union(){ hull(){ ...
glb/cad_06f77c0a57d1.glb
Create a bike tail light adapter as a vertical cylinder with a diameter of 31.8mm and a total height of 40mm. The cylinder should have slight flanges at the top and bottom, each 2mm thick with a diameter of 34.8mm. Carve a slot through the center of the cylinder to accommodate a metal mounting tab. This slot must be a...
postht = 40; tabwid = 18.66; tabthk = 3.5; tablen = 44; penetration = 38; screwholedia = 3.5; module dummy(){} clearance = 0.5; tubeangle = 73; tubedia = 31.8; holecenterfromtop = tabwid/2; difference() { post(); translate([0,0,postht/2]) rotate([0,tubeangle-90,0]) translate([0,0,-postht/2]) cutout()...
glb/cad_4cd63abbe6a4.glb
Create a Gridfinity-compatible 2-by-2 storage block with a total footprint of 84mm by 84mm and a height of 40mm. From this base, carve out a central void to create a dual-compartment cup. The primary cutout consists of two identical rectangular forms, each 51mm wide, 35mm deep, and 23.5mm high. Position these two forms...
use <gridfinity_cup_modules.scad> $fn =40; width = 51; depth = 35; height = 23.5; side_distance_from_back = 6.5; side_depth = 2; side_width = 4; side_height = 18; delta = .1; module flange() { cube([side_width,side_depth,side_height]); } module form() { difference() { cube([width,depth,height], ce...
glb/cad_55200f4cb879.glb
Create a stylized Burj Khalifa tower composed of several vertical cylinders of varying heights and radii. Start with a central core cylinder that is 40mm tall with a radius of 3mm, scaled by 1.12 along the Y-axis. At the very top of this central axis, add a thin spire cylinder with a radius of 1.5mm and a height of 20m...
$fn = 10; module p1() { translate([0,0,46])cylinder(h=20,r=1.5, center = true, $fn=150); translate([0,-1,0]) scale([1,1.12,1]) cylinder(h=40,r=3); translate([0,2,0]) scale([1,1.12,1]) cylinder(h=33,r=3); translate([0,3.8,0]) scale([1,1.12,1]) cylinder(h=22,r=3); translate([0,5,0]) scale([1,1.12,1]) cylinder(h=15,r=3); ...
glb/cad_c8a65724390b.glb
Create a rectangular tray for pressed seed soil cubes with outer dimensions of 112mm in width, 87mm in depth, and a height of 15mm. The tray should have a uniform wall thickness of 3mm. To form the body, create a solid rectangular block of the specified outer dimensions with slightly rounded corners of 0.1mm radius. Th...
for( i = [3:27]){} breed = 112; diep = 87; hoog = 15; wall_dik = 3; hoek_radius = 0.1; difference(){ box(breed, diep, hoog, hoek_radius); translate ([wall_dik,wall_dik,wall_dik]) box(breed-(wall_dik*2), diep-(wall_dik*2), hoog, hoek_radius); } module box(bb, bd, bh, br){ hull(){ translate([br, br,0]) cylinder(h=...
glb/cad_68bd337fb669.glb
Create an Ergodox EZ Extended Tilt Kit Leg. Start with a central rectangular leg body measuring 7.5mm wide, 7.5mm thick, and 95mm long, with 1mm chamfers on the edges. At one end of the leg, create a foot consisting of a sphere with an 8.2mm diameter. Flatten the bottom of this sphere by removing the lower half with ...
$fs= $preview ? 1 : 0.1; $fa= $preview ? 12 : 3; overlap = 0.01; include <BOSL2/std.scad> foot_d = 8.2; ankle_d = 6.0; ankle_l = 1.2; leg_w = 7.5; leg_l = 95; head_inner_d = 7; head_outer_d = head_inner_d + 6; head_interface_outer_d = 10.3; head_interface_h = 0.8; neck_h = 2; screw_hole_d = 3.3; knurl_n_prisms = 40...
glb/cad_ada2dd257ec7.glb
Create an Ergodox EZ Upright bracket designed to hold a keyboard at a 70-degree tilt. Start with a base consisting of two rectangular sections: an inner base measuring 50mm wide and a main board length of 150mm, and an outer base with a thickness of 3.5mm. The base floor should be 3mm thick. Construct two supporting w...
include <ergodox_ez_outline.scad>; use <BOSL2/std.scad>; overlap = 0.01; upright_bracket(); module upright_bracket( base_inner_width = 50, base_outer_width = 0, base_thickness = 3, wall_inner_thickness = 4, wall_outer_thickness = 3.5, tilt_angle = 70, back_cov...
glb/cad_731f89cb5144.glb
Create an A/C socket dust cover consisting of a flat plate and a removal handle. Start with a rectangular plate 2mm thick. On the underside of this plate, create two identical prongs spaced 12.7mm apart from center to center. Each prong should be 6.3mm wide, 1.5mm thick, and 10mm long. The prongs are composed of a rect...
prong_sep=12.7; prong_width=6.3; prong_thick=1.5; prong_length=10; prong_to_gnd=11.9; gnd_dia=4.8; cover_thick=2; module prong() { difference() { translate([0,-prong_thick/2,0]) union() { translate([-1,0,0]) cube([1+prong_length-prong_width/2,prong_thick,prong_width]); tran...
glb/cad_7ce51642ad98.glb
Create a slide switch knob for a Bosch GCL 2-15. The main body is a chamfered rectangular block measuring 16mm in length, 11.5mm in width, and 12mm in height, with rounded edges of 3mm radius. At the center of the bottom face, create a vertical cylindrical hole with a diameter of 4.3mm and a depth of 1.5mm. Above thi...
include <lib_markus.scad> rotate([180,0,0]) knob(); module knob() { bottomHeight = 1.5; midHeight = 1.5+0.2; knobHeight = 12; width = 12-0.5; difference() { union() { roundover(d=3, maxExtent=40, detail=detail16) { union() { difference() { translate([0, 0, knobHeigh...
glb/cad_86db061bd9e7.glb
Create a watering pipe holder consisting of a curved base and a straight vertical section, both featuring a series of integrated clips to hold 6mm tubing. The main body is based on a semi-circle with a diameter of 30mm and a thickness of 3mm. Along the outer arc of this semi-circle, place a series of clips every 30 deg...
$fn=60; h=110; bd=30; td=7; t=3; n=1; difference (){ translate ([-bd-td-t,-bd-h+55,-t+1])cube ([td+t,h-40,t]); translate ([-bd-td-t,-bd-h+55,-t+1])rotate ([0,0,-10])cube ([td+t,h-40,t]);} translate ([-bd-td-t-1,0,0])mirror([0,1,0])for (n =[0:30:80])rotate (n) clip(); translate ([-bd-td-t-1,0,-t+1])mirror([0,1,0])rotate...
glb/cad_794bee827b36.glb
Create a Zen-Garden consisting of two separate parts: a containing box and a terrain inlay. First, create a square outer box with external dimensions of 202mm by 202mm. The box should have a central square cutout of 200mm by 200mm to accommodate the inlay, leaving a 1mm tolerance gap around the perimeter. Second, cre...
generateTerrain(); maxlevels = 4; seed = rands(0,8000000,1)[0]; sidelen = 200; zscale = 30; zoffset = 0; erosionpasses = 1; boxed = true; cornerbevel = 0; cornerelev = [[0, 0], [0, -0.25]]; module generateTerrain(){ randfield = scaled2drands(seed, cornerelev, maxlevels); landscape = make_landscape(c...
glb/cad_9e8d59c5dbc8.glb
Create an M3 socket adapter by combining a hexagonal prism and a cylinder. Start with a hexagonal prism that has a diameter of 7.25mm and a total height of 30mm. At the base of this prism, add a concentric cylinder with a diameter of 11mm and a height of 10mm. To create the socket and tool interface, remove a central v...
include <../libs/hardware-recess.scad>; TOTAL_LEN=30; SOCKET_LEN=10; difference(){ union(){ cylinder(d=7.25, h=TOTAL_LEN, $fn=6); cylinder(d=11, h=SOCKET_LEN, $fn=50); } cylinder(d=M_DIM[M3][3] + 0.25 , h=SOCKET_LEN - 2, $fn=6); cylinder(d=3.4, h=TOTAL_LEN, $fn=50); }
glb/cad_04ee3201b509.glb
Create an M3 socket adapter consisting of a hexagonal shaft and a cylindrical base. Start by creating a hexagonal prism with a diameter of 7mm and a total height of 60mm. At the bottom of this prism, attach a cylinder with a diameter of 10mm and a height of 25mm. Finally, remove a hexagonal hole from the center of the ...
SOCKET_LEN=25; difference(){ union(){ cylinder(d=7, h=60, $fn=6); cylinder(d=10, h=SOCKET_LEN, $fn=50); } cylinder(d=6.5, h=SOCKET_LEN - 1, $fn=6); }
glb/cad_828e0fc10048.glb
Create a SARS-CoV-2 Rapid Ag Test Tube Holder by starting with a solid rectangular block measuring 40mm in width, 20mm in depth, and 40mm in height. Orient the block so the 40mm x 20mm face is the base. Remove a cylindrical hole with a diameter of 10mm that runs through the entire 40mm height of the block, centered at ...
$fa = 1; $fs = 0.4; height = 40; diameter_1 = 10; diameter_2 = 4; rotate([90,0,0]) { difference () { cube([40,20,height]); translate([10,10,0]) { cylinder(h = height, d = diameter_1); } translate([30,10,0]) { cylinder(h = height, d = diameter_2); } translate([0,0,2]) { ...
glb/cad_1704163c6667.glb
Create a notebook pen holder consisting of two rectangular plates and a cylindrical sleeve. First, create a main rectangular plate measuring 15mm wide, 130mm long, and 1.2mm thick. Position a second, smaller rectangular plate measuring 15mm wide, 10mm long, and 2.4mm thick, centered relative to the width of the first p...
$fn=100 ; thickness = 2.2 ; id = 11.2 ; od = id + thickness ; height = 30 ; pl_x = 15 ; pl_y = 100 ; pl_z = 1.2 ; plate = [pl_x ,pl_y+height ,pl_z] ; sprt_plate = [pl_x ,10 ,pl_z*2] ; translate([0 ,0 ,0]) cube( plate ,center=true ) ; translate([0, -height-(15+height/2) ,1.4]) cube( sprt_plate ,center=true ) ; trans...
glb/cad_28d18addf2fc.glb
Create a fan mounting adapter consisting of two stacked, concentric cylinders with a shared central hole. Start by creating a base cylinder with a diameter of 5.75mm and a height of 2.5mm. Directly on top of this base, center and add a second cylinder with a diameter of 4mm and a height of 4mm. Finally, bore a single, ...
$fn = 100; module bottomCylinder() { difference() { cylinder(d = 5.75, h = 2.5); translate([0, 0, -1.5]) cylinder(d = 2.6, h = 5); } } module topCylinder() { difference() { cylinder(d = 4, h = 4); translate([0, 0, -1.5]) cylinder(d = 2.6, h = 6); ...
glb/cad_8723de0a154e.glb
Create a Queen by Midnight Organizer Insert consisting of three distinct components. First, create a base holder as a solid block measuring 127mm x 98mm x 72mm. Carve out a central rectangular void starting 2mm from the edges, measuring 123mm x 94mm x 70mm. Within this void, remove two cylinders with a diameter of 40m...
$fn=100; spacing=50; module base_holder() { difference(){ cube([127,98,72]); translate([2,2,2]) union() { translate([25,23,0]) union() { cube([73,47,27+7]); translate([36.5,10-5,0]) cylinder(h=27+7, d=40); ...
glb/cad_8b61aa489cef.glb
Create a centering jig consisting of a flat rectangular base with two cylindrical pegs. Start by creating a rectangular plate that is 76.2mm wide, 25.4mm deep, and 2.54mm thick. Center a circular hole with a 25.4mm diameter through the entire thickness of the plate. At each far end of the plate, add a solid cylinder wi...
inch=25.4; $fn=50; width=2.75*inch; r = 0.125*inch; size=width+2*r; difference() { translate([-size/2,-0.5*inch,0]) cube([size,1*inch,0.1*inch]); cylinder(1*inch,r=1); } translate([-width/2-r,0,0]) cylinder(0.24*inch,r=r); translate([width/2+r,0,0]) cylinder(0.24*inch,r=r);
glb/cad_b29cc188b71c.glb
Create a rat-proof bird table guard consisting of a large inverted dome and a central mounting hub. First, construct a hollow hemisphere with an outer diameter of 400mm and a wall thickness of 3mm. The hemisphere is split into four equal 90-degree quadrants. Each quadrant is a shell with a flat top and a curved botto...
$fn=80; difference (){ union(){ color ("blue")holder(); } union(){ quarter(); rotate ([0,0,90])quarter(); rotate ([0,0,180])quarter(); rotate ([0,0,270])quarter();}} use <clasp.scad>; translate ([.5,.5,0,])rotate ([0,0,180,]) claspo(); claspo(); module claspo(){ translate ([-55.3,7.1,133]) rotate ([0,0,-35]) ro...
glb/cad_f0b5628f285b.glb
Create a rat-proof bird table guard consisting of a large inverted hemisphere and a clamping hub. The main guard is a hollow hemisphere with an outer diameter of 400mm. Divide this hemisphere into four equal 90-degree sections. To secure the sections, design a clamping hub that grips a square central post. The hub con...
$fn=60; w=6; l=40; d1=5; fw=6; gw=2; linear_extrude(height=2.5) clasp(); module clasp(){ offset (r=-.5) union(){ color ("blue")translate ([l+d1,-w-w/2])square ([d1,3*w]); color ("green")translate ([l,-w-w/2])square ([d1,3*w]); color ("orange")translate ([-d1,-2*w+w/4])square ([d1,3*w+w/2]); color ("pink")translate (...
glb/cad_a42d9fc23ca4.glb
Create a 3D Tetromino Puzzle Box consisting of a hollow container and a matching lid. For the box, create a rectangular hull with outer dimensions of 81.6mm x 81.6mm x 80mm. The walls should be 1.6mm thick. Hollow out the center to create a cavity of 80mm x 80mm x 78.4mm. Within this cavity, carve out a grid of verti...
part = "box"; block_size = 20; blocks_x = 4; blocks_y = 4; blocks_z = 4; bevel_inner = block_size * 0.13; lid_bevel_xy = 0.8; groove_brim = block_size * 0.15; cutout_bevel = block_size * 0.25; lid_height = 5; lid_grid = true; lid_clamp_width = 5; nozzle_diameter = 0.4; layer_height = 0.2; wall_lines = 4; bottom_layer...
glb/cad_d1f4411445cd.glb
Create a parametric ventilation grille consisting of a mounting sleeve and a decorative slotted face. Start by constructing the mounting sleeve as a hollow cylinder with an outer diameter of 54mm and a wall thickness of 1.6mm. The sleeve should have a total height of 15mm, but include a locking feature at the top: crea...
include <BOSL/constants.scad> use <BOSL/shapes.scad> h_wall=15; d_outer=54; outer_wall=1.6; lock_overhang=1.2; thin_wall=0.8; blade_l=10; blade_angle=45; generate_transom=true; d_inner=d_outer - 6; d_front=d_outer + 8; $fn=$preview ? 50 : 200; module tube_lock(d_outer, wall, inner_height, lock_overhang, loc...
glb/cad_9661d8690d97.glb
Create a Power Mac G5 Side Panel Wall Hanger by starting with a rectangular block measuring 180mm in length, 8mm in width, and 9mm in height, centered on the origin. Remove two small vertical holes with a diameter of 3.5mm and a depth of 10mm, positioned at each end of the block at x = -77.5mm and x = 77.5mm. In the ce...
$fn=100; difference() { translate([0,0,0]) cube([180,8,9], center=true); translate([-155/2,0,0]) cylinder(d=3.5, h=10, center=true); translate([+155/2,0,0]) cylinder(d=3.5, h=10, center=true); translate([0,-5,0]) cylinder(d=8, h=10, center=true); translate([0,-5...
glb/cad_4aba63701212.glb
Create a round container jar with a screw-on lid. For the base, create a cylinder with an inner width of 40mm and an inner height of 26mm. The walls and the floor should both be 2mm thick. Apply a 1mm chamfer to the bottom edge of the base. At the top of the base, add an external screw thread that is 9mm high with 3 ...
include <Chamfers-for-OpenSCAD/Chamfer.scad>; Inner_Width_Base = 40; Inner_Height_Base = 26; wall_thickness = 2; wall_thickness_lid = 2; bottom_thickness = 2; Hieght_Rim = 0; Diameter_Rim = Inner_Width_Base + 0.2; thread_height = 9; thread_turns = 3; cut_thread_percent = 10; smooth_sides = 1; chamfer = 1; ...
glb/cad_a753fc106ec1.glb
Create a Double AA Battery Replacement holder. Start by forming the main body as a union of two cylinders, each with a radius of 7.25mm and a height of 48mm, positioned side-by-side so their centers are 14.5mm apart. Connect these cylinders with a central rectangular block measuring 14.5mm wide, 11.5mm deep, and 48mm h...
$fn=70; difference() { union() { cylinder(h = 50.5-1-1-0.5, r=14.5/2); translate([14.5,0,0])rotate(a=[0,0,20])cylinder(h = 50.5-1-1-0.5, r=14.5/2); translate([0,-14.5/2,0])rotate(a=[0,0,0])cube([14.5,14.5-3,50.5-1-1-0.5]); } union() { cylinder(h = 50.5-1-1-0.5-1.5, r=(14.5/2...
glb/cad_3b89cbb9f500.glb
Create a Double AA Battery Replacement holder by first constructing a base shape consisting of two joined cylinders and a connecting rectangular bridge. Create two cylinders, each with a height of 3mm and a radius of 6.45mm, positioned such that their centers are 14.5mm apart. Connect these cylinders with a central rec...
$fn=70; difference() { union() { cylinder(h = 3, r=(14.5/2)-0.8); translate([14.5,0,0])rotate(a=[0,0,20])cylinder(h = 3, r=(14.5/2)-0.8); translate([0,(-14.5/2)+0.8,0])rotate(a=[0,0,0])cube([14.5,14.5-3-1.6,3]); } translate([0,0,1.5])union() { cylinder(h = 3, r=(14.5/2)-0.8-1);...
glb/cad_b0f5fe167285.glb
Create a filament swatch plate with a rectangular base measuring 73mm by 73mm and a thickness of 1.8mm. The corners of the plate should be rounded with a 1mm radius. On the face of the plate, create embossed text (recessed into the surface) to identify the filament. Position the manufacturer name "Spectrum" and the ma...
own_Hersteller = "Spectrum"; own_Farbe = "Stone Dark Age"; own_Material = "PLA Marble"; own_Nummer = "2000"; own_artikelnummer = "13201"; own_info = "230°, 0.2mm"; own_druckdatum = "24.09.2023"; own_version = "v1.2"; textsize_upper=6; textsize_lower=5; texttop_predefined="P L A"; texttop_configurable=" "; fontnam...
glb/cad_ce46d7c5edfa.glb
Create a mechanical mockup of an iPhone 15 Pro Max. Start with a main body that is 159.86mm high, 76.73mm wide, and 8.25mm deep, featuring a corner radius of 10.88mm. On the left side, add three buttons: an action button centered 31.67mm from the top, a volume-up button centered 45.22mm from the top, and a volume-dow...
DEVELOPING_iPhone_15_Pro_Max_model = !false; use <../libraries/MCAD/2Dshapes.scad> use <../libraries/dotSCAD/src/rounded_square.scad> e = 1/128; iphone_15_pro_max__height = 159.86; iphone_15_pro_max__width = 76.73; iphone_15_pro_max__depth = 8.25; iphone_15_pro_max__z_mid = iphone_15_pro_max__depth / 2; SI...
glb/cad_dcbeb2035869.glb
Create a Fractal Design ATX Power Supply plate as a flat rectangular plate with a thickness of 3mm. The main body is a rectangle measuring 170mm in width and 85mm in height. Cut a large rectangular opening from the center, measuring 125mm wide and 70mm high, leaving a border around the edges. The left and right verti...
$fn=100; holediam=4; thickness=3; module atxholes() { #cylinder(d=holediam, h=3); #translate([138, 0, 0]) cylinder(d=holediam, h=thickness+1); #translate([114, -74, 0]) cylinder(d=holediam, h=thickness+1); #translate([0, -64, 0]) cylinder(d=holediam, h=thickness+1); } module atxFrame() { differen...
glb/cad_bf65205cbcf0.glb
Create a PEI Sheet Holder consisting of two mirrored parts. For one part, create a solid body by forming a convex hull around three cylinders, each with a diameter of 7.5mm and a height of 11mm. Position the first cylinder at (3.75, 0, 60), the second at (3.75, 0, 3.75), and the third at (60, 0, 3.75). Within this bo...
corenerdiam=7.5; depth=11; size=60; module body() { hull() { translate([corenerdiam/2,0,size]) rotate([-90,0,0]) cylinder(d=corenerdiam, h=depth, $fn=100); translate([corenerdiam/2,0,corenerdiam/2]) rotate([-90,0,0]) cylinder(d=corenerdiam, h=depth, $fn=100); translate([size,0,corenerdiam/2]) rotate...
glb/cad_b90a4afbd1a3.glb
Create a Velotric e-bike front basket mount bracket. Start with a main rectangular block that is 70.5mm wide and 124.3mm high. In the center of this block, create a recessed groove to accommodate a sleeve mount insert. At the top and bottom of the block, add two sets of hooks designed to hang from basket cross-bars. E...
use <../libraries/MCAD/2Dshapes.scad> include <../libraries/MCAD/units.scad> use <../libraries/local-misc/wedge.scad> Width_Of_Mount = 70.5; Vertical_Spacing_Hooks = 81.0; Height_Of_Mount = 124.3; mount_insert_shift = 21.5; module __Customizer_Limit__ () {} e = 1/128; tolerance = 0.5; module sleeveMountInsert (...
glb/cad_c63db95555ff.glb
Create a pair of novelty spectacles called "London Baby !". Start with a central top bar that is 140mm long, 6mm high, and 3mm thick. At each end of this bar, add a hinge block measuring 4.5mm wide, 6mm high, and 2.25mm thick. Drill a vertical hole with a 1.5mm radius through each hinge block to allow for screws. At...
use<./Garuda-bold.scad> TOL=0.2; $fn=50; lth= 140; hgt= 6; thk= 3; hgl= 20; dgl= 72.55; asp= 1.6; lsp=12; llg=90; union() { topbar(); translate([-dgl/2,-hgl-hgt/2,0]) glass(); translate([dgl/2,-hgl-hgt/2,0]) glass(); translate([-0.5,0,0]) letters(); } translate([0,40,0]) left_leg(); translate([0,-60,0]) rotate([...
glb/cad_062c2a42fb7a.glb
Create a hose plug consisting of a cylindrical base and a domed upper section. Start with a base cylinder 40mm in diameter and 8mm in height. Centered on top of this base, create a plug attachment that transitions from a cylinder with a 25.6mm diameter into a hemisphere of the same diameter, reaching a total height of ...
dB=40; dR=32; hB=8; h=45; dI=dR*0.8; n=4; deg=25; nd=4; dH=hB*0.6; label=dB; hL=hB/5; o1=0; o2=0; $fn=120 ; difference() { union() { cylinder(h=hB,d=dB); hull() { cylinder(h=0.001,d=dI); translate([0,0,h-dI/2]) sphere(d=dI); } rI = dI/2; ...
glb/cad_f10c6d082f15.glb
Create a Mini Sliding Bevel Gauge consisting of three main components: a base arm, a sliding blade, and a tightening knob. First, create the base arm as a rectangular block 50mm long, 16mm wide, and 6mm high. One end of the arm should be rounded into a semi-cylinder with a diameter of 16mm. At the center of this round...
use <threads-scad/threads.scad>; length = 50; width = 16; height = 6; tip_angle = 45; tip_inset = 2; screw_diameter = 8; knob_diameter = 14; knob_height = 6; chamfer = 1; tolerance = 0.4; $fs = 0.25; $fa = 0.5; module chamfer_cylinder(d, h) { union() { cylinder(d1=d-2*chamfer, d2=d, h=chamfer); ...
glb/cad_bb6e040dff01.glb
Create a sleeve for an iPhone 15 Pro Max in an Otterbox Defender XT case. The main body is a hollow rectangular shell with an interior cavity measuring 88.78mm wide, 171.40mm long, and 12.87mm deep. The walls have a thickness of 2.88mm. The front of the sleeve is open to allow access to the screen. On the sides, creat...
use <../libraries/MCAD/2Dshapes.scad> use <../libraries/local-misc/wedge.scad> use <../libraries/dotSCAD/src/rounded_square.scad> include <mockup/iPhone_15_Pro_Max_Mockup.scad> e = 1/128; show_everything = true; printSleeve = true; printCap = !printSleeve; for_bike_mount = !true; l = 171.65 ; w = 89.38 ; h =...
glb/cad_738a92fcd66f.glb
Create a Gridfinity lid for a 2x2 grid of bins. Start by constructing a solid rectangular base with a total width and depth of 84mm by 84mm (based on two 42mm units per side) and a height of 7.5mm. On top of this base, center a handle that is 5mm thick. The handle's overall shape is derived from a cylinder with a radi...
include <gridfinity-rebuilt-utility.scad> $fa = 16; $fs = 0.25; gridx = 2; gridy = 2; length = 42; height = 7.5; handle_scale = 0.9/sqrt(gridx); handle_thickness = 5; handle_height = 17.5; indent_radius = 15; indent_depth = 1.5; div_base_x = 0; div_base_y = 0; enable_lip = false; gridfinityInit(gridx, gri...
glb/cad_72f923193f48.glb
Create a fencing clip for a garden raised bed with a uniform height of 7.5mm. The shape is based on a modified S-clip geometry. Start by creating a main rectangular body that is 4mm wide and 10mm long. At one end, attach a hook feature consisting of two joined rectangular sections: one section measuring 4mm by 10mm, an...
ORIGINAL_MODEL = "s_shaped_cable_clip.stl"; e = 1/128; dia = 10; circle_center_cut = 3; cut_size = circle_center_cut + dia; print_height = 7.5; translate_hook_x = 3.7 - 0.8; translate_hook_y = -11-5; hook_width = 3.2 + 0.8; module modify_clip () { translate ([-7.7,-2,0]) { difference () { union() { ...
glb/cad_bb79af0cef01.glb
Create a MagSafe holder for a Kinesis Advantage 2 keyboard consisting of a mounting clamp and a circular charger puck. First, construct the clamp. Start with a central rectangular block 96mm long, 35mm wide, and 5mm thick. Attach two wing-like arms to the sides: one arm is a 60mm by 35mm by 5mm block rotated 77 degre...
module kinesis_clamp(){ width=35; difference(){ union(){ translate([15,0,0])rotate([0,0,0])cube([96,width,5],center=true); #translate([-18,0,-28.8])rotate([0,77,0])cube([60,width,5],center=true); translate([-9,0,-28])rotate([0,7,0])cube([5,width,59],center=true); translate([-16.9,0,-22.6])rotate([0,-45,0])cube([5,wi...
glb/cad_db91d1f720c6.glb
Create a two-part light-ring mount for an AndonStar microscope. The assembly consists of a main body and a ring mount designed to hold a 57mm diameter LED light ring with a height of 15mm. First, create the main mounting block. The block has a width of 52mm (lightring diameter minus 5mm) and a depth of 75mm. The block...
lightring_dia = 57; lightring_h = 15; innerdia = 35.4; outerdia_b = 43; outerdia_f = 40; andon_h = 10.2; andon_w = 24.5; andon_d = 22; blocktt = 17; blocktb = 2; blockw = lightring_dia - 5.0; blockd = 55 + 20; screw_top_d = 4; screw_top_y = (innerdia / 2) + (screw_top_d / 2) + 2; screw_top_z = blocktt / 2; screw_t...
glb/cad_8dd80cb3074c.glb
Create a lightweight light-ring mount for an AndonStar microscope. Start by constructing a hollow cylindrical ring with an outer diameter of 57mm, a height of 7mm, and a wall thickness of 5mm. On the outer edge of the ring, add a mounting clip centered on the Y-axis. The clip consists of a rounded rectangular base 18...
lightring_dia = 57; lightring_h = 7; lightring_thickness = 5; $fn=100; module crude_rounded_cube(s, dc) { c = dc * 1.0; rc = dc; hull() { pc = c; nc = -c; zc = c / 2; translate([pc , pc, zc]) sphere(r=rc); translate([s.x+nc, pc, zc]) sphere(r=rc); ...
glb/cad_543fae77e3b4.glb
Create a Skadis hook part with a total height of 40mm, a width of 4mm, and a depth of 13mm. Start with a central vertical rectangular pillar that is 4mm wide and 32mm tall. At the top, extend a horizontal arm 13mm deep that curves 180 degrees downward to form a hook; this curved section should have a diameter of 13mm a...
$fn=100; module hook(flatBack=true){ height=40; depth=13; smallDepth=10; width=4; hookLeg=2*depth/3; module rounded(){ translate([(depth-width)/2,0, (height-width-hookLeg)/2]) rotate([90,0,0]) cylinder(h=width*2, d=depth, center=true); } union() { translate([0,0,-width/2]) ...
glb/cad_59eab536052a.glb
Create a Gridfinity stapler cup by starting with a 2x2 grid block base measuring 84mm by 84mm with a height of 42mm. From this base, carve out a central void to create a storage compartment. This void is formed by combining two rectangular volumes: one measuring 57mm wide by 22mm deep and another measuring 27mm wide by...
use <gridfinity_cup_modules.scad> $fn =40; h=40; width1=55; depth1=20; depth=5; height=40; width2=25; depth2=35; displace=-15; delta=1; module form() { translate([0,-depth1/2-depth/2,h/2]) cube([width1+2*delta,depth1+2*delta,h],center=true); translate([0,depth2/2+depth/2,h/2]) cube([width2+2*delta,depth...
glb/cad_af38dcc509f5.glb
Create an ergonomic children's pencil holder for Chinese writing. The object is a hollow, organic sleeve designed to slide over a hexagonal pencil with a flat-to-flat thickness of 7mm. The outer geometry is defined by a series of complex, double-Bezier curved surfaces that create a contoured grip. The overall shape i...
display = "print"; handlen = 188; pencil_thickness = 7.0; shrinkdia = 0.5; lefthanded = false; module dummy(){} nlayers = 80; astep = 5; showcpts = true; rholeclearance = 0.18; cp0 = [ [ [0,9.47], [4.87,11.13], [21.47,7.03], [37.73,10.47], [43.67,8.33] ], [ [0,9.4], [11,11.13], [25.21,8.79], [37.29,10.57...
glb/cad_4f091f4aa927.glb
Create a customizable nose ring and earring accessory. Construct a circular hoop with a cross-sectional diameter of 15mm and an internal diameter of 50mm. The hoop should not be a complete circle; leave a gap of 40 degrees to create an opening. At each of the two open ends of the hoop, center and attach a sphere with a...
InternalDiameter=50; Thickness=15; OpeningAngle=40; $fn=100; union() { translate([0,0,Thickness/2]) rotate([0,0,OpeningAngle/2]) rotate_extrude(angle=360-OpeningAngle,convexity=10) translate([InternalDiameter/2+Thickness/2,0,0]) circle(d=Thickness); translate([(InternalDiameter/2+Thickness/2)*cos(OpeningAngle/2),(In...
glb/cad_69159e85ad2a.glb
Create a customizable nose ring or earring consisting of a thick, circular hoop with a gap. The hoop is formed by rotating a circle with a diameter of 15mm around a central axis to create a torus. The internal diameter of the ring is 50mm. The hoop should not be a complete circle; leave an opening of 40 degrees to allo...
InternalDiameter=50; Thickness=15; OpeningAngle=40; $fn=100; difference() { translate([0,0,-Thickness*0.1]) union() { translate([0,0,Thickness/2]) rotate([0,0,OpeningAngle/2]) rotate_extrude(angle=360-OpeningAngle,convexity=10) translate([InternalDiameter/2+Thickness/2,0,0]) circle(d=Thickness); translate([(Inte...
glb/cad_9ffabff15dc9.glb
Create a rodent running wheel consisting of a cylindrical wheel and a supporting stand. For the wheel, create a hollow cylinder with an outer radius of 82mm and a total width of 100mm. The wheel's main body is a thin shell with a thickness of 1mm. Inside this shell, place 50 equidistant running bars, each 2mm thick a...
shell_thickness = 1; general_thickness = 2; running_bar_thickness = 2; stand_thickness = 10; wheel_radius = 80; wheel_width = 100; number_of_running_bars = 50; running_bar_width = 5; running_bar_support_height = 0.28; support_bars_count = 3; bearing_height = 5; bearing_outer_diameter = 16; bearing_inner_dia...
glb/cad_816b5b529c71.glb
Create a hook for hanging canvases on Ivar side panels. Start by creating a central vertical rectangular plate that is 2mm thick, 18mm wide, and 30mm high, centered on the origin. To the right of this plate, attach a horizontal cylinder with a radius of 3mm and a length of 20mm, extending outward from the center of the...
$fn=100; DreieckPunkte = [ [ 15, 0, 6 ], [ 15, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 6 ], [ -4, 15, 6 ], [ -4, 15, 0 ]]; DreieckFlaechen = [ [0,1,2,3], [5,4,3,2], [0,4,5,1], [5,2,1], [0,3,4]]; rotate([0,90,0]) cylinder(h=20,r=3); translate([0,-10,-15]) cube([2,18,30], center="true"); translat...
glb/cad_9300588a1c21.glb
Create a hook for hanging canvases on a shelving unit. Start by creating a vertical rectangular plate that is 30mm wide, 18mm high, and 2mm thick. Position this plate centrally. On the front face of this plate, attach two cylindrical pegs. The first peg is a cylinder with a radius of 3mm and a length of 20mm, oriented ...
$fn=100; DreieckPunkte = [ [ 15, 0, 6 ], [ 15, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 6 ], [ -4, 15, 6 ], [ -4, 15, 0 ]]; DreieckFlaechen = [ [0,1,2,3], [5,4,3,2], [0,4,5,1], [5,2,1], [0,3,4]]; mirror([180,0,0]) union() { rotate([0,90,0]) cylinder(h=20,r=3); translate([0,-10,-15]) cube([2,18,30...
glb/cad_e392d31cfb27.glb
Create a filament color swatch tag. Start with a main rectangular base measuring 40mm wide by 40mm long with a thickness of 2mm. Round all four corners of this base with a radius of 2mm. On the top edge, centered horizontally, add a smaller rectangular tab measuring 10mm wide by 10mm long and 2mm thick. Round the two...
module inv_rounded_corner(radius=20,height=20){ difference(){ cube([radius,radius,height]); translate([radius,radius,0]){ cylinder(height,radius,radius); } } } module rounded_rect(width, length, height, corner_radius, tl=true, tr=true, br=true, bl=true){ difference(){ ...
glb/cad_519f7f6f940a.glb
Create a Kitchen Sink Container with a rectangular base measuring 205mm by 120mm and a total height of 15mm. The container should have a uniform wall thickness of 2mm. All four vertical edges must be rounded with a radius of 5mm. To construct the main body, create a solid rounded rectangular slab based on the dimensi...
use <OpenSCAD_Voronoi_Generator/voronoi_polygon.scad> bottom = true; wall = 2; base = [205, 120, 15]; top_h = 40; over = 4; edge_r = 5; edge_b = edge_r - wall; edge_i = edge_b - 0.1; vborder = [ [2 * wall, 2 * wall], [base.x - 2 * wall, 2 * wall], [base.x - 2 * wall, base.y - 2 * wall], [2 * wall, ba...
glb/cad_f69cde5e0931.glb
Create a parametric pipe cap consisting of two interlocking parts: a base and a retainer. First, create the main body as a cylinder with an outer diameter of 12mm and a total height of 5mm. The top of this cylinder features a bevel of 1mm. Inside this body, create a concentric cylindrical void with a diameter of 9.4m...
Outer_Diameter = 12; Inner_Diameter = 9.4; Inner_Clearance = 0.2; Inner_Size = 24; Inner_Bevel = 0; Layer_height = 0.35; Top_Size = 5; Top_Bevel = 1; Screw = 1; Screw_Size = 3; Screw_Cap_Clearance = 0.5; Screw_Clearance_Factor = 30; Screw_Head_Type = "Sunken"; Cut_Angle = 45; Inner_Size_Factor = 89; Inne...
glb/cad_c049d9ce094a.glb
Create a snap cover for a plastic container nozzle. Start by constructing the outer base as a low-resolution 15-sided prism with a diameter of 36.8mm and a height of 2.2mm, adding a chamfer of 0.8mm to the top edge. Hollow out the center of this base with a conical void that starts at 34.8mm in diameter and widens slig...
Di = 32.2 ; Da = 34.8 ; collar_h = 4.2 ; chamf_h = 0.8 ; snap_r = 0.2 ; snap_h = 0.6 ; snap_posz = 3 ; module cap() { difference() { minkowski() { cylinder (d=Da+2, h=2.2, $fn=15) ; sphere (r=chamf_h, $fn=6) ; } translate ([0,0,0.5]) cylinder (d1=Da, d2=Da+0.5, h=2.5, $fn=60) ; } diffe...
glb/cad_769d3752c24f.glb
Create a self-watering balcony planter consisting of a main pot, a water reservoir inlay, a water-level floater, and mounting brackets. For the small version, create a rectangular pot shell with outer dimensions of 110mm width, 110mm depth, and 120mm height, with a wall thickness of 3.375mm. The pot should have a hol...
big=false; pw=110; ph=big ? 200 : 120; pd=big ? 200 : 110; rd=40.5; rw=8.5; rwg=1; wt=2.25; dh=30; dd=5; mww=8.5; mw=rw+2*mww; md=rd+30; mh=big?ph/4:ph/2; mbh=10; mps=10; fcw=big ? 35 : 30; fcd=big ? 35 : 20; ih=dh; it=wt/2; ifd=20; m3_d=3+0.5; m3n_h=2.4+1.5; m3n_d=6+0.5; m3h_h=3+1; m3h_d=5.35+0.5; cross_sect...
glb/cad_a1851f953807.glb
Create a self-watering balcony planter consisting of a main pot, a water reservoir inlay, a water-level floater, and mounting brackets. For the main pot, create a rectangular shell with a wall thickness of 2.25mm. For a small version, the outer dimensions are 110mm wide, 110mm deep, and 120mm high; for a large versio...
big=false; pw=110; ph=big ? 200 : 120; pd=big ? 200 : 110; rd=40.5; rw=8.5; rwg=1; wt=2.25; dh=30; dd=5; mww=8.5; mw=rw+2*mww; md=rd+30; mh=big?ph/4:ph/2; mbh=10; mps=10; fcw=big ? 35 : 30; fcd=big ? 35 : 20; ih=dh; it=wt/2; ifd=20; m3_d=3+0.5; m3n_h=2.4+1.5; m3n_d=6+0.5; m3h_h=3+1; m3h_d=5.35+0.5; cross_sect...
glb/cad_f850d5e83fc4.glb
Create a pixel jig by starting with a solid rectangular block measuring 50mm wide, 150mm long, and 40mm high. Remove a large cylindrical hole with a radius of 14mm that runs lengthwise through the center of the block, starting 20mm from the front edge and extending through the entire length. Additionally, create two sm...
difference(){ cube(size = [50,150,40], center = false); rotate([90,0,0]) translate([25,20,-151]) cylinder(h=160, r=14, center=false); rotate([0,0,0]) translate([25,25.6,-1]) cylinder(h=170, r=6.7, center=false); rotate([0,0,0]) translate([25,101.6,-1]) cylinder(h=170, r=6.7, center=false); }
glb/cad_d4ad319be1d3.glb
Create an Ender S1 ribbon cable protector clip by constructing two mirrored, semi-cylindrical shells. Each shell should be formed by a 180-degree rotation of a square profile with a width of 3mm and a height of 60mm, revolving around a central axis to create a curved wall. The inner diameter of this curved void is 4mm....
rez = 128; dia = 4; width = 22; wall = 3; height = 60; difference() { union() { for (x = [0,1]) { mirror([0,x,0]) translate([0, 0.5 * width,0]) rotate_extrude(angle = 180, $fn = rez) translate([0.5 * dia, 0]) square([wall, height]); mirror([x,0,0]) translate([0.5 * dia,-0.5 * width]) cube([wall, width, height]); }...
glb/cad_9e6b8aeab29c.glb
Create a 3D model of a hyperboloid of one sheet. The object should have a total height of 10mm. The top and bottom circular faces must both have a radius of 9mm. The shape should curve inward to a minimum waist diameter of 12mm (a radius of 6mm) at the vertical center of the model. To achieve the smooth, curved surface...
hyperboloid(9 ,10 ,6 ,50); module tetrahedron(x0,y0,z0,x1,y1,z1,x2,y2,z2,x3,y3,z3) { polyhedron( points = [[x0,y0,z0],[x1,y1,z1],[x2,y2,z2],[x3,y3,z3]], faces = [[1,2,3],[1,0,2],[2,0,3],[3,0,1]], convexity = 2); } module strip(x0,y0,z0,x1,y1,z1,x2,y2,z2,x3,y3,z3,step,height) { for(i=[0:1:step-1]) { ...
glb/cad_1264e3e230ea.glb
Create a parametric drill depth stop. Start by forming a ring with an outer diameter of 20mm and a thickness of 10mm, centered around a central hole with a diameter of 10mm. The ring should have a height of 10mm. Incorporate a gap 3mm wide that cuts through the ring's circumference to allow it to be tightened around a ...
bit_size = 10; tolerance = 0.0; thickness = 10; height = 10; chamfer_radius = 1; gap_width = 3; difference() { rotate_extrude($fn = 100) { translate([bit_size / 2 + tolerance, 0, 0]) { hull() { translate([chamfer_radius, height / 2 - chamfer_radius, 0]) circle(r = chamfer_radius, $fn = 4)...
glb/cad_d9230ef4561e.glb
Create a screw storage box consisting of a main container and a separate lid. Construct the main box as a rectangular shell with outer dimensions of 57mm in width, 27mm in depth, and 75mm in height. The walls should be 1mm thick, leaving an interior hollow space of 55mm by 25mm by 74mm, starting 1mm from the base. C...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.2; edge=4; wall=1.0; box_x=57.0; box_y=27.0; box_z=75.0; top_xrim=1; top_yrim=0; rim=2; box(); lid(); module box(){ difference(){ cube([box_x, box_y, box_z]); translate([wall, wall, wall]) cube([box_x-2*wall, box_y-2*wall, box_z+dt1]); ...
glb/cad_e5b2ec72b4a9.glb
Create a thread guide bar for a serger. Start with a central rectangular block measuring 280mm in length, 4mm in width, and 18mm in height, centered on the origin. At the center of this block, add a cylinder with a radius of 6mm and a height of 18mm. Attached to the bottom of this central assembly, position a mounting ...
$fn=50; difference() { union() { cube([280,4,18], center=true); cylinder(h=18,r=6,center=true); translate([0,-30,-5.5]) { rotate([90,90,0]) cylinder(h=28,r=3.5,center=true); }; } translate([-128,0,3]) { rotate([90,0...
glb/cad_1af4ee90f012.glb
Create a parameterized battery box designed to hold three AAA batteries in a single row. The main body is a rectangular prism with rounded corners of 1mm radius. The overall exterior dimensions are based on the maximum battery size in the set plus a 2mm space buffer, with a wall thickness of 3mm. The box consists of a...
include <batteries.scad> map = [ [AAA, AAA, AAA], ]; thickness=3; radius=1; cap_fit=0.215; battery_fit=0.5; space=2; bottom_thickness=1.5; grip=true; x=len(map); y=max([for (y = map) each(len(y))]); maxR = max([for (x = [for (y = map) each(y)]) WIDTH[x]]) + space; maxH = max([for (x = [for (y = map...
glb/cad_98dd3f38ce27.glb
Create a tool handle consisting of a main grip and an attachment ring. Start by creating the grip as a tapered cylinder 110mm tall, with a base radius of 18mm and a top radius of 15mm, centered on the Z-axis. Attach a secondary cylinder to the base of this grip that is 59mm tall with a constant radius of 12mm. At the...
$fa = 1; $fs = 0.4; BoltHeadWidth=16.4; BoltHeadHeight=6.1; BoltShaftHole=9.5; difference() { union() { cylinder(h=110, r1=18, r2=15, center=true); cylinder(h=59, r=12, center=false); translate([-50,0,59]) { cylinder(h=4,r=25,center=false); } tr...
glb/cad_f42362bcb4a6.glb
Create a Tubular Infinity Cube with an overall bounding size of 120mm. The structure is composed of six identical sides arranged as a hollow cube. Each side consists of a continuous tubular path with a tube diameter of 20mm. Construct each side by combining three curved segments: two outer quarter-torus arcs and one c...
$fn = 40; type = 1; size = 120; distance = 45; diameter = 20; corner_enlargement = 4; corner_straight = 12; corner_rim_diameter = 2; edges_radius = 2; separation = 2; view = 1; corner_bending_radius = 10; s = (size-diameter)/2; t = distance/2; tsize = diameter * 0.4; if(type==4 && view==1) { for(i=[1:6])...
glb/cad_d83b3786a344.glb
Create a wall-mounted holder box for garden hose accessories consisting of a main base and a hinged lid. Construct the base as a rectangular box with a back plate measuring 161mm by 145mm and a thickness of 3mm. Centered on this back plate, add a reinforcement frame measuring 154mm by 134mm with a thickness of 3mm. I...
$fn=30; difference(){ translate([0,1.5,0])cube([161,145,3], center=true); translate([-65,-60,0])cylinder(d=3.5, h=3.1, center=true); translate([-65,60,0])cylinder(d=3.5, h=3.1, center=true); translate([65,60,0])cylinder(d=3.5, h=3.1, center=true); translate([65,-60,0])cylinder(d=3.5, h=3.1, center=...
glb/cad_6ec159eb0814.glb
Create a Parametric Wrench tool with a total thickness of 5mm. The main body is a rectangular bar with a total length of 117mm and a width of 13.4mm. At both ends of the bar, create circular heads with a radius of 13.1mm. In the first circular head, create a hexagonal hole with a diameter of 13.4mm. This hole must be...
include <MCAD/shapes.scad> include <write/Write.scad> message = "ANET M13"; Font = "write/Letters.dxf"; Nut_Size = 13; Tool_Height = 5; Tool_Length = 9; kerf = 0.4 + 0; D = Nut_Size + kerf; M = D/2; H = Tool_Height; Ltot = D * Tool_Length; Text_Height = Nut_Size*0.8 ; L = Ltot-2*(D/2+M); rotate([0, 0, -45]) dif...
glb/cad_df033ba5c797.glb
Create a Pool Cue Stick Holder consisting of a hollowed semi-cylindrical clip. Start with a main outer cylinder that has a radius of 14mm and a height of 14mm. Remove a concentric inner cylinder with a radius of 8.5mm and a height of 16mm, shifted 2mm along the Y-axis, to create a curved wall. Cut a rectangular notch...
ht = 14; id = 17; wall = 5.5; screw_w_in = 7.5; screw_w_out = 14.5; hole_dia = 2.6; end_d = 6; front_w = 8; $fn=200; module screw_hole(z_pos) { len = 5; r = hole_dia/2; translate([0, -(wall/2 + id/2 - 4), z_pos]) { rotate([90, 0, 0]) { cylinder(r=r, h=len); cylinder(r=3, h=1.5); } } } module end_cap...
glb/cad_29bee041df4e.glb
Create an under-desk headphones hanger by constructing a base plate and an attached vertical hook. Start with a rectangular base that is 70mm long, 26mm wide, and 6mm thick. From this base, extend a vertical wall upwards to a total height of 40mm. This vertical section should maintain the 26mm width of the base and a w...
base_len = 70; base_width = 26; hook_height = 40; hook_ledge = 10; thickness = 6; $fn = 30; hull_r = 1; hull_h = 1; wall = thickness - (2 * hull_r); ledge = hook_ledge; xx = base_len - (2 * hull_r); yy = hook_height - (2 * hull_r); zz = base_width - hull_h; translate([hull_r, hull_r, 0]) { minkowski() { differenc...
glb/cad_890c95841948.glb
Create a body wash holder consisting of a hollow cylindrical tube with a flat back attachment. The main tube should have an outer diameter of 91mm, an inner diameter of 81mm, and a height of 70mm, resulting in a wall thickness of 5mm. Attached to the back of the cylinder, create a rectangular vertical support block t...
$fn = 200; ht = 70; wall = 5; id = 81; od = id + (2 * wall); module hole(x, y) { translate([x, y, -1]) cylinder(r = 5, h = wall + 2); } difference() { union() { cylinder(d = od, h = ht); rotate([0, -4, 0]) translate([-od/2, -(od - 30)/2, 7]) { minkowski() { cube ([4 * wall, od - 30, ht + 50]); ro...
glb/cad_ff741eed7b30.glb
Create a desktop side splash trash bin with a total height of 162mm and a wall thickness of 2mm. The main body is a rounded rectangular container with a length of 140mm and a width of 58mm. The base section is 102mm high, and the upper section is 60mm high. The corners of the main body should have a radius of 10mm. The...
$fn=100; len = 140; hbase = 102; htop = 60; wall = 2; box_y = 32 + wall; wid = 90 - box_y; radius = 10; htot = hbase + htop; module curve_box(x, y, h, r, w) { difference() { hull() { cube([x, 10, h]); translate([r, y-r, 0]) cylinder(r=r, h=h); translate([x-r, y-r, 0]) ...
glb/cad_e5875259d967.glb
Create a desktop utility box with an overall length of 155mm and a total height of 162mm. The base is a rectangular container with a width of 50mm and a height of 102mm, featuring rounded corners with a 10mm radius and 2mm thick walls. The structure is divided into two main sections by a vertical partition located 64...
$fn=100; len = 155; hbase = 102; htop = 60; wall = 2; box_y = 32 + wall; wid = 84 - box_y; radius = 10; part1 = 50; lpart = 64; ant_d = 18; mid_cut_r = 40; htot = hbase + htop; module curve_box(x, y, h, r, w) { difference() { hull() { cube([x, 10, h]); translate([r, y-r, 0]) cylin...
glb/cad_dfbbeccd235c.glb
Create a Walabot Plus and Pixel 3 XL Mount by starting with a main outer shell. This shell is a rounded rectangular block with a total width of 101mm (83mm plus 18mm extra), a height of 158mm, and a depth of 26.4mm. Hollow out the interior to create two primary compartments. The first is a phone slot designed for a de...
p_wid=83; p_ht=158; p_radius=6.7; $fn=100; shell=2; container_extra_wid=18; grip_r=50; grip_d=5; top_cutout_r=20; w_radius=6.5; w_wid=83; w_ht=145; w_gel_pad=0; w_base_depth=19; w_back_pocket_w=62; w_back_zpos = 70; c_wid=14; c_radius=3.5; w_depth = w_base_depth + w_gel_pad; w_back_extra = w_depth - (2 * w_radius);...
glb/cad_43daf3d0e0f1.glb
Create a Luna Advanced Charger Wall Mount. Start with a main rectangular body with outer dimensions of 212.8mm width, 62.8mm depth, and 95.8mm height, with a wall thickness of 2.4mm. Hollow out the center to create a pocket for the charger measuring 208mm by 58mm by 91mm. Add a front lip that is 2.4mm thick and 7.4mm ...
$fn = 100; chg_w = 208; chg_d = 58; chg_h = 91; wall = 2.4; lip = 5; cable_d = 10; cable_in = 13; screw_d = 4; screw_hd = 8.5; out_w = chg_w + (2 * wall); out_d = chg_d + (2 * wall); out_h = chg_h + (2 * wall); module angle_cut(with_cutout) { difference() { union() { cylinder(r = out_d - wall...
glb/cad_e2c5295704d5.glb
Create a Pill Puncher tool. Start by constructing a long, U-shaped main body with a total length of 70mm and a wall thickness of 2.6mm. The body should have a rounded end with a radius of 3.7mm (half the total height minus the wall thickness). At the open end of the U-shape, integrate a catcher for the pill. This catc...
pillLength = 10.5; pillWidth = 10.5; pillHeight = 5.5; blisterLength = 12.5; blisterWidth = 12.5; blisterHeight = 7; wall = 2.6; totalLength = 70; catcher = true; supportFree = true; PL = pillLength; PW = pillWidth; PH = pillHeight; BL = blisterLength; BW = blisterWidth; BH = blisterHeight; W = wall; S45 = (c...
glb/cad_28092d65ef83.glb
Create a hemispherical Air Layer Frame with a radius of 45mm. The frame consists of a hollow spherical shell formed by a grid of interlocking circular arcs, each with a thickness of 2.5mm. First, construct the hemisphere by intersecting a sphere of the same radius with a series of planes spaced every 12 degrees, crea...
difference() { h_frame(45,2.5); rotate([0,90,0]) cylinder(center=true,r=14,h=120,$fn=75); translate([0,0,5.]) cube([4.5,120,4.5],center=true); rotate([0,0,63]) translate([0,0,3.2]) cube([4.5,120,3.5],center=true); rotate([0,0,-63]) translate([0,0,3.2]) cube([4.5,120,3.5],center=true); } module h_frame(r_spher...
glb/cad_45f7e4a06256.glb
Create a countersink drill bit stop consisting of two main components: a stop body and a bit holder. First, construct the stop body as a hollow cylinder with a height of 20mm and a wall thickness of 1.5mm. The inner cavity should be a tapered hole starting at 22mm in diameter at the bottom and narrowing to 9mm at a h...
BEARING = [8, 22, 8]; BIT_DIAMETER = 4.5; STOP_HEIGHT = 20; STOP_CLEARANCE = 22; STOP_WALL = 1.5; HOLDER_HEIGHT=5; HOLDER_SCREW_DIAMETER=2; HOLDER_DIAMETER=14; CLEARANCE=0.2; LOOSE_CLEARANCE=0.5; $fn=100; module Stop() { outer_diameter=max(BEARING[1]+2*STOP_WALL, STOP_CLEARANCE+2*STOP_WALL); differen...
glb/cad_1d6d0a5bdce6.glb
Create a vacuum cleaner filter holder with an overall diameter of 106mm and a height of 25mm. The main body is a hollow cylinder with a wall thickness of 2mm. Inside this main outer ring, center a smaller concentric ring with a diameter of 66mm and a thickness of 2mm. Connect the inner ring to the outer wall using six ...
$fn = 100; module filter(diameter, height, wall_width) { rotate_extrude(angle = 360, convexity = 2) { translate([diameter/2-wall_width,0,0]) rotate([180,0,90])polygon(points=[[0,0],[0,wall_width],[height, wall_width],[height,wall_width/1.8], [height-wall_width,0]]); } rotate_extrude(angle = 360, conv...
glb/cad_dad0c9825e92.glb
Create a Customizable Snowflake Christmas Ornament with a total diameter of 72mm and a thickness of 2.7mm. Start by creating a hollow circular ring with an outer radius of 36mm and a wall thickness of 1.8mm. At the top of the ring, add a small circular hanger loop with a 5mm diameter and 2mm wall thickness. Inside t...
name = "Alex"; name_offset_x=-2; name_offset_y=1; font_size = 27; fontname="Lemon Jel ly Personal Use:style=Regular"; snowflake_thickness=1.2; helper_line=true; helper_line_height=1.5; helper_line_width=63; helper_line_offset_X=-32; helper_line_offset_Y=-7; module circle_line(diameter, thickness) { difference() { ...
glb/cad_37a48c0da2c8.glb
Create a 3D model of a pair of scissors. The main body consists of two symmetrical handles and two blades. For the handles, create two mirrored shapes; each starts with a finger loop formed by a hull of two cylinders with a radius of 15mm, spaced 10mm apart, and a height of 5mm. These loops are positioned at x=37 and x...
use<plier.jpg.scad>; use<polyholes.scad>; difference(){ union(){ hull(){ translate([37,85,0]) hull(){ translate([0,0,0]) cylinder(h=5,r=15); translate([0,10,0]) cylinder(h=5,r=15); } translate([-37,85,...
glb/cad_cbd423fee4fd.glb
Create a two-part protective case for an X-Acto knife consisting of a base and a cover. For the base, create a rounded rectangular block with an overall length of 159.8mm, width of 18.8mm, and a height of 15.6mm. The corners should have a 4mm radius. Hollow out the center to create a cavity with an inner length of 12...
$fn = 90; eps1 = 0 + 00.01; eps2 = 2*eps1; inner_length = 153; inner_width = 12; inner_height = 12; wall = 1.6; clearance = 0.3; step_height = 3; corner = 4; slot_length = 28; slot_width = 4; module rounded_cube(xlen, ylen, zlen, r) { translate([r-xlen/2, r-ylen/2, 0]) minkowski() { cube([xlen-2*r, yle...
glb/cad_ac80869ed44f.glb
Create a Parametric Customizable Drawer Box system based on a unit cell size of 37.5mm and a box height of 40mm. To create a standard box, construct a hollow cuboid with a wall thickness of 1.2mm and rounded outer edges with a 2mm radius. The box should have a base depth of 3mm. On the top front edge, add a label hol...
cell_width = 37.5; box_height = 40; grid_depth = 3; component = "box"; n_cells_x = 1; n_cells_y = 1; add_label_holder=true; label_holder_angle = 60; label_plate_height = 14; wall_thickness = 1.2; edge_radius = 2; box_tolerance = 0.25; stackable = true; inner_box_tolerance = 0.25; epsilon = 0.001; if (com...
glb/cad_a9e9d549ad95.glb
Create an Economical Resistor Storage Rack consisting of three parts: tubes, lids, and a rack. To create a tube, start with a cuboid measuring 16mm x 16mm x 64mm with a 3mm fillet on the z-axis edges. Hollow this out by removing a smaller internal cuboid of 14.8mm x 14.8mm x 64mm with a 2.4mm fillet on the z-axis edge...
component = "tube"; x_cells = 8; y_cells = 8; if (component == "tube") { tube(); } else if (component == "lid") { lid(); } else if (component == "rack") { rack(x_cells, y_cells); } module tube() { difference() { cf_cuboid([16, 16, 64], z_edge = "fillet", r = 3); translate([0.6, 0.6, 0.6]) cf_cuboid(...
glb/cad_4595f0be7370.glb
Create a TwistLock Rolling Spool Holder consisting of three parts: a tray, a roller, and an end cap. First, construct the tray. Create a central mount based on a twist-lock design with a shoulder diameter of 36mm and thickness of 4.5mm, a shaft diameter of 30mm and thickness of 4mm, and a notch diameter of 24.8mm and ...
Max_Spool_Width = 95 ; module __Customizer_Limit__ () {} shown_by_customizer = false; Bearing_Diam = 22+1 ; Bearing_Hole = 8 ; Bearing_Thick = 7 ; Roller_Len = Max_Spool_Width+5 ; Roller_Diam = Bearing_Diam+5 ; Tray_Wid = 36 ; Tray_High = 40 ; Tray_Dep = 16 ; Cap_Thick=4 ; Tray_Len = Roller_Len+Cap_Thick+5 ; C...
glb/cad_8e1a412eb066.glb
Create a TwistLock Rolling Spool Holder consisting of three parts: a tray, a roller, and an end cap. First, construct the tray. Create a rectangular body 31mm wide, 40mm high, and 16mm deep. At one end, integrate a twist-lock mount consisting of a 36mm diameter shoulder (4.5mm thick), a 30mm diameter shaft (4mm thick)...
Max_Spool_Width = 95 ; module __Customizer_Limit__ () {} shown_by_customizer = false; Bearing_Diam = 22+1 ; Bearing_Hole = 8 ; Bearing_Thick = 7 ; Roller_Shoulder_Wid = 30 ; Roller_Full_Len = Max_Spool_Width+5 ; Roller_Len = Roller_Full_Len-Roller_Shoulder_Wid-1 ; Roller_Diam = Bearing_Diam+5 ; Roller_Clear = 4 ...
glb/cad_98859bd187a1.glb
Create a Picture Frame Converter for 2020 aluminum extrusion. The main body is a long, linear cover with a total length of 202mm and a wall thickness of 3mm. Construct the profile as an L-shaped bracket that wraps around the extrusion. The outer dimensions of the profile are 23mm by 23mm, with an inner cutout of 20mm...
thickness = 3; inner_edge = 20; extend_length = 0; groove = true; groove_thickness =3.3; end_cap = false; groove_cap = false; end_cap_included_in_cover_len = false; groove_cap_included_in_cover_len = false; end_cap_thickness = thickness; cover_length = 202; num_screws =4; spacing = cover_length / (num_screws); your...
glb/cad_dadb44335c0e.glb
Create a Woven Heart Basket Template that is 1mm thick. The main body is a union of a cylinder with a diameter of 58.5mm and a rectangular block measuring 60mm wide by 58.5mm deep. The cylinder is centered on the origin, while the rectangle is centered on the same origin but shifted so its left edge aligns with the cyl...
half_heart(60, 1, 0.75); module half_heart(W, H, pen, $fn=64) { D = W-pen; Y = D/6; difference() { union() { cylinder(h=H, d=D, center=true); translate([W/2,0,0]) cube([W,D,H], center=true); } hull() { translate([0,+Y,0]) cylinder(h=H+1, d=pen, ce...
glb/cad_7ab437f47543.glb
Create a TomTom Rider 500 motorcycle RAM mount consisting of a base plate, a tapered connector, and a mounting ball. Start by creating a rectangular base plate measuring 55mm by 42mm with a thickness of 3mm, ensuring all vertical edges are rounded with a 2mm radius. Centered on this plate, place a tapered cylinder that...
tt1 = 57 - 2; tt2 = 42; tt3 = 3 - 0.1; rmball = 25; rmk=2; $fn=64; minkowski() { translate([rmk,rmk,0])cube([tt1-(2*rmk),tt2-(2*rmk),tt3/2]); cylinder(r=rmk,h=tt3/2); } translate([tt1/2,tt2/2,rmball/2+10]) sphere(d=rmball); color("red") translate([tt1/2,tt2/2,tt3]) cylinder(h=15, r1=tt2/2, r2=1, center=false);
glb/cad_77dbfcfb018f.glb
Create a set of six identical discrete tetrahedrons, each composed of a series of stacked rectangular prisms. For a single tetrahedron with a unit length of 5mm and a size of n=6, construct it by stacking six layers. The first layer is a single 5x5x30mm block. Each subsequent layer i (from 1 to 6) must be a rectangular...
N = 6; L = 5; rotate([0,0, 0]) mirror([0,0,0]) translate([L,3*L,0]) discrete_tetrahedron(N, L); rotate([0,0, 0]) mirror([1,0,0]) translate([L,3*L,0]) discrete_tetrahedron(N, L); rotate([0,0, 90]) mirror([0,0,0]) translate([L,3*L,0]) discrete_tetrahedron(N, L); rotate([0,0, 90]) mirror([1,0,0]) translate([L,3*L,0]) d...
glb/cad_56983ce1031a.glb
Create a T-Connector Hose Tube joint consisting of three intersecting hollow cylinders. Two main inline tubes run along a single axis, and one secondary tube branches off at a 90-degree angle. The two main inline tubes and the secondary tube all have an outer diameter of 37.5mm and a wall thickness of 2.2mm. Each of ...
main_dtu = 37.5 ; sec_dtu = 37.5 ; ltu = 28 ; toffs = 22; wall = 2.2 ; dtustep = 1.4 ; nil = 0.02 ; translate ([toffs,0,0]) rotate ([0,90,0]) tube(main_dtu); translate ([0,0,toffs]) rotate ([0,0,0]) tube(sec_dtu); translate ([-toffs,0,0]) rotate ([0,-90,0]) tube(main_dtu); difference() { union() { t...
glb/cad_73c6fc62a7bc.glb
Create a tile grid for tabletop games. Start with a rectangular base plate 1.5mm thick. On top of this base, construct a 3x3 grid of square cells. Each cell should have an interior opening of 43mm by 43mm, with dividers between cells and around the perimeter that are 1.5mm wide and 1.5mm high. The total footprint of th...
$fn = $preview ? 15 : 90; tile_w = 46; tile_l = 46; num_col = 3; num_lin = 3; base_h = 1.5; divider_h = 1.5; divider_w = 1.5; insertion_gap = 2; divider2_w = 2 * divider_w; divider4_w = 4 * divider_w; divider8_w = 8 * divider_w; tile_inner_w = tile_w - divider8_w; tile_inner_l = tile_l - divider8_w; tile_out...
glb/cad_b2cf785fb8d2.glb
Create a Sock Clip for Drying Rack consisting of a long horizontal rod holder and a series of 19 small vertical pegs. First, create the main rod clip as a horizontal cylinder with a diameter of 18.5mm and a wall thickness of 2mm. Cut a circular hole with a diameter of 14.5mm through the center along its entire length...
clip_count = 19; clip_width = 8; clip_length = 30; clip_wall = 1.2; clip_height = 4; clip_distance = 3.5; gap = 0.5; rod_diameter = 14.5; rod_wall = 2; alpha = 130; $fn = 128; l = clip_count*clip_width + (clip_count-1)*(clip_distance + gap); echo("total length is: ", l); union() { translate([0.5*clip_wi...
glb/cad_3d7c6d003904.glb
Create a hook-up wire quad reel holder consisting of a rectangular baseplate and two identical vertical side supports. The baseplate should be 130mm long, 160mm wide, and 5mm thick, with all four corners rounded to a 10mm radius. Construct two vertical side supports, each 5mm thick and 7mm deep, to be positioned at th...
$fn=50; module baseplate(L=130,W=160,h=5,rc=10) { hull() { translate([rc,rc,0]) cylinder(h=h,r=rc); translate([L-rc,rc,0]) cylinder(h=h,r=rc); translate([rc,W-rc,0]) cylinder(h=h,r=rc); translate([L-rc,W-rc,0]) cylinder(h=h,r=rc); ...
glb/cad_17e5ac51986a.glb