Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a suitcase wheel and leg replacement assembly. Start by constructing a main leg body that is 70mm tall. The base of the leg is a cylinder with a 40mm diameter and 3mm height. Above this base, create a transition using a hull operation that connects a cylinder of 45mm diameter and 5mm height to a sphere with a 46...
include <../libs/hardware.scad> convexity_offset = 50; $fa=1; ww_d = 23; module bent_shaft(){ rotate_extrude(angle=45, convexity=0) translate([convexity_offset, 0, 0]) circle(d=45); } module wheel_w_shaft(wd=64){ hw_bolt_len=50; cylinder(d=wd, h=ww_d); translate([0, 0, -hw_bolt_l...
glb/cad_65c8a8cdb191.glb
Create a suitcase wheel consisting of a toroidal outer body and a central cylindrical cutout. The overall wheel diameter is 60mm with a total thickness of 19mm. The main body is formed by rotating a circle with a 19mm diameter around a central axis, positioned so that the outer edge of the wheel reaches the 30mm radius...
include <NopSCADlib/lib.scad> include <NopSCADlib/utils/core/core.scad> use <NopSCADlib/utils/layout.scad> include <NopSCADlib/vitamins/ball_bearings.scad> tyre_diameter = 19; tolerance = 0.15; module wheel_body(){ $fa = 1; $fs = 0.4; wheel_radius = 60/2; rotate_extrude(angle=360) { translat...
glb/cad_82c6dbb34422.glb
Create a hollow cylindrical sleeve with a total height of 22mm. The outer diameter of the cylinder should be 8.1mm and the inner diameter of the hole running through the center should be 5.4mm. Ensure the cylinder is rendered with a low facet count to create a polygonal, rather than smooth, circular profile.
sleeve_h = 22; difference(){ cylinder(d=8.1, h=sleeve_h); cylinder(d=5.4, h=sleeve_h); }
glb/cad_bfdfe96abf26.glb
Create a suitcase wheel and leg replacement assembly. Start by constructing a main body part that combines a cylinder with a 37mm diameter and 5mm height, a larger cylinder with a 45mm diameter and 5mm height positioned at a height of 5mm, and a hull that encompasses a sphere with a 46mm diameter centered at x=-18.5, y...
include <../libs/hardware.scad> convexity_offset = 50; $fa=1; ww_d = 30; module bent_shaft(){ rotate_extrude(angle=45, convexity=0) translate([convexity_offset, 0, 0]) circle(d=45); } module wheel_w_shaft(wd){ hw_bolt_len=50; cylinder(d=wd, h=ww_d); translate([0, 0, -hw_bolt_len/...
glb/cad_a1e11930e586.glb
Create a Wemos Cube Lamp consisting of a hollow outer shell and a base. First, construct the outer shell as a cube with dimensions 76mm x 76mm x 76mm. Hollow out the center by removing a 71mm x 71mm x 73.5mm cube starting from the bottom. Create a 2mm thick lip around the bottom edge by adding a 72mm x 72mm x 12.1mm ...
shell(); translate([2,2,0])base(); module seperator(){ difference(){ union(){ translate([0,5.5+15.29,0])cube([71,1,59]); translate([0,5.5+31.7,0])cube([71,1,59]); translate([0,5.5+48,0])cube([71,1,59]); translate([19.2,2.5,0])cube([1,71,59]); tr...
glb/cad_ffa66ce9ea7d.glb
Create a Motorbike Antenna Mount consisting of a main body with a mounting plate. Start by creating a central cylinder with a radius of 5.9mm and a height of 10mm. On top of this cylinder, add a rectangular block measuring 15mm by 12mm with a height of 3mm, centered at the top. Attached to the side, create a mounting...
union(){ antenna(); } module antenna(){ difference(){ union(){ translate([0,0,2])cylinder(r=11.8/2,h=10, $fn=100); translate([-2,0,8])cube([15,12,3], center=true); translate([-25.5,-6,9.5])rotate([240,0,0])plate(); translate([-10,-6,4.5])cube([15.5,12...
glb/cad_198a00f8a124.glb
Create a Poke Ball Plus Automatic Catcher consisting of a base and a mechanical arm. Construct the base by starting with a centered rectangular block 66mm wide, 50mm deep, and 18mm high. On top of this block, add a cylinder with a 20mm radius and 10mm height. Carve out the interior of the base with a centered rectang...
base(); translate([60,0,0])rotate([0,90,0])arm(); module base(){ difference(){ union(){ translate([0,0,-3])cube([66,50,18],center=true); cylinder(r=40/2,h=10,$fn=100); } union(){ translate([0,0,-5])cube([60,44,15],center=true); transla...
glb/cad_22b99690be91.glb
Create a 3D label consisting of two lines of centered text. The top line should read "zuerst:" and the bottom line "!Hände waschen!", both using the Luminari font at a size of 20mm. Position the two lines so they are vertically stacked with a spacing of 1mm between them. The text should be extruded to a height of 2mm....
text_ = "zuerst:"; text_2 = "!Hände waschen!"; size_ = 20; font_ = "Luminari"; spacing_ = 1; spacing_y = 1; offset_ = 0; linscale = 0; linscal_x = 1-((linscale)/(.5*len(text_))); height_ = 2; backplate = 0.3; backp_offset = 3; move = [0,0,0]; ofs = text_2 == "" ? 0 : .5*size_*spacing_y; color("DarkOrchid",...
glb/cad_38194ae8d1dc.glb
Create a mounting plate for an AM8 conversion by constructing a base shape formed from the union of three overlapping rectangular volumes: a 60mm by 20mm by 5mm block, a 20mm by 60mm by 5mm block, and two additional thin 1mm thick plates, one measuring 35mm by 5mm positioned at [25, 7.5, 5] and another measuring 5mm by...
$fn = 42; module prism(l, w, h) { polyhedron( points = [[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], faces = [[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]] ); } difference() { union() { color("green") hull() { cube([60, 20, 5]); cube([20, ...
glb/cad_ae217f2433c9.glb
Create a relay mounting plate for an AM8 printer. Start with a rectangular base measuring 60mm in width (50mm for the relay body plus 5mm walls on each side) and 31mm in height (26mm for the relay body plus 2.5mm walls on top and bottom). The plate thickness is 5mm. Centrally position a relay body of 50mm by 26mm by 1...
psu_width = 112.7; psu_height = 49.8; psu_length = 216; psu_screw = 4.2; psu_screw_off_x = 29.5 + 3.2 / 2; psu_screw_off_y = 29.35 + 3.2 / 2; psu_screw_dist_x = 53.3 - 3.2; psu_screw_dist_y = 154.3 - 3.2; psu_wall_dist = 10; mount_wall = 5.0; mount_width = 12.0; mount_height = 70; mount_screw = 4.2; $fn = 42; module...
glb/cad_758b1e25c4c8.glb
Create a mounting plate for a mosfet. Start with a rectangular base measuring 70mm by 60mm with a thickness of 2mm. At each of the four corners, center a circular hole with a diameter of 3mm, positioned 31.5mm from the center along the X-axis and 26.5mm from the center along the Y-axis. Surround the base with a suppor...
mosfet_width = 70; mosfet_height = 60; mosfet_depth = 2; mosfet_holes_x = 63; mosfet_holes_y = 53; mosfet_dia = 3.2; wall = 5.0; mosfet_wall_dist = 5.0; mosfet_mount_dist = 2.0; mount_dia = 4.2; cutout_len = 30; cutout_dist = 4; $fn = 42; module prism(l, w, h) { polyhedron( points = [[0,0,0], [l,0,0], ...
glb/cad_3c16fd1211fe.glb
Create two identical mounting plates for a rail assembly. Each plate is a cube measuring 20mm in width, 20mm in depth, and 6mm in height. In the center of each plate, create a vertical cylindrical hole with a diameter of 3.2mm that passes completely through the 6mm thickness. Around this central hole, create a larger...
wall = 4.0; screw_dia = 5.2; screw_head = 10.0; screw_bottom = 2.0; width = 40.0; height = 25.0; screw_off_x = 10.0; screw_off_y = 10.0; screw_dist = 24.15 - 9.35; tie_off_z = 2.0; cabletie_width = 3.2; cabletie_height = 2.0; tie_wall_side = 1.0; tie_wall_top = 1.0; tie_wall = 5.0; tie_width = cabletie_width + 2 * tie...
glb/cad_3fad2ff7f46c.glb
Create a mounting plate for a Raspberry Pi and electronics. Start with a rectangular base plate measuring 115mm in width and 61mm in height, with a uniform thickness of 5mm. Within this plate, create a central rectangular cutout measuring 85mm by 56mm. Position this cutout so that the remaining border walls are 10mm ...
pi_width = 85; pi_height = 56; pi_hole_dist_x = 58; pi_hole_dist_y = 49; pi_hole_off_x = 3.5; pi_hole_off_y = 3.5; pi_hole = 2.8; wall = 5.0; pi_wall_dist = 10; pi_mount_dist = 5.0; pi_mount_post_top = 6.3; pi_mount_post_bot = 10.0; mount_dia = 4.2; mount_width = pi_hole_dist_x + pi_wall_dist + 20 + pi_hole_off_x + p...
glb/cad_98c3f6db759e.glb
Create a mounting plate for a mosfet. Start with a rectangular base measuring 63mm by 43mm with a thickness of 2mm. At the four corners of the base, centered at coordinates (±28mm, ±18mm) relative to the center, create four vertical cylindrical holes with a diameter of 2mm that pass completely through the plate. Add...
mosfet_width = 60 + 3; mosfet_height = 40 + 3; mosfet_depth = 2; mosfet_holes_x = 56; mosfet_holes_y = 36; mosfet_dia = 2.2; wall = 5.0; mosfet_wall_dist = 15.0; mosfet_mount_dist = 2.0; mount_dia = 4.2; cutout_len = 20; cutout_dist = 4; $fn = 42; module prism(l, w, h) { polyhedron( points = [[0,0,0], ...
glb/cad_4ae0ea01f71b.glb
Create a mounting plate for a PCB with overall dimensions of 70.25mm by 103.75mm. The base plate should be 5mm thick. Along the length of the plate, create a series of support structures to hold a PCB. These supports consist of a wall 5mm thick that extends from the base. Integrate five circular mounting holes with a...
pcb_width = 70.25; pcb_height = 103.75; pcb_depth = 2; pcb_holes = [ [ 32.05, 5.53 ], [ 29.41, 37.34 ], [ pcb_width - 3.22, 23.39 ], [ pcb_width - 3.02, pcb_height - 18.20 ], [ 2.56, pcb_height - 2.53 ] ]; hole_support_dia = 2.53 * 2; pcb_dia = 3.2; wall = 5.0; pcb_wall_dist = 15; pcb_mount_dist =...
glb/cad_3dedfff34deb.glb
Create a mounting plate for an AM8 printer by starting with a base shape formed from the union of two intersecting rectangular blocks: one measuring 80mm by 40mm by 5mm and another measuring 40mm by 80mm by 5mm, both sharing a common center. To this base, add two thin rectangular tabs, each 1mm thick, extending from th...
$fn = 42; module prism(l, w, h) { polyhedron( points = [[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], faces = [[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]] ); } difference() { union() { color("green") hull() { cube([80, 40, 5]); cube([40, ...
glb/cad_794093473bcd.glb
Create a mounting plate for a bearing. Start with a rectangular base measuring 34mm by 28mm with a thickness of 5mm. Centered on this base, create a cylindrical cutout with a diameter of 15.4mm and a length of 28mm to accommodate a bearing. Build up the sides of the base to a total height of 18mm, creating a U-shaped...
bearing_dia = 15.0; bearing_len = 23.8; mount_hole = bearing_dia + 0.4; hole_dia = 4.2; hole_dist_x = 24.0; hole_dist_y = 18.0; screw_nut = 7.75; screw_nut_off = 2.5; base_side = 5.0; base_wall = 5.0; mount_bearing_dist = 13.0; shim_width = 16.0; cutout = 5.0; top_screw_dia = 3.2; top_screw_head = 6.0; top_screw_head_o...
glb/cad_7ac81796a8fe.glb
Create a window trickle vent fix by constructing a thick-walled hollow cylinder. The outer shell should be a cylinder with a diameter of 8mm and a total height of 6mm. From the center of the bottom face, remove a smaller concentric cylinder with a diameter of 5mm and a height of 5mm, starting from a height of 1.2mm abo...
$fn=40; difference(){ cylinder(4,6,5.8); translate([0,0,1.2]) cylinder(4,5,5);}
glb/cad_7c5480e20f25.glb
Create a window trickle vent fix designed for a 24mm wide extrusion. Start by creating a base plate that is 5.8mm thick, formed by the convex hull of two 4.5mm radius circles centered 18.2mm apart. From this base, remove a central cavity that follows the same hull shape but is scaled down to 92% of the original size an...
$fn=50; module base(){ linear_extrude(5.8) hull(){ circle(4.5); translate([18.2,0,0]) circle(4.5); } } module thing(){ translate([-4,-4.5,0]) cube([5,5,4.]); difference(){ base(); translate([1,0.4,4]) scale([0.92,0.92,1]) base(); } translate([0.0,0.0,4]) linear_extrude(6) hull(){ translate([0.3,...
glb/cad_ecd8436ecc0f.glb
Create a window trickle vent fix designed for a 24mm wide extrusion. Start by creating a base plate that is a hull of two 4.5mm radius circles centered 18.2mm apart, extruded to a height of 5.8mm. From this base, remove a central interior section using a slightly scaled-down version of the same hull shape, leaving a wa...
$fn=50; module base(){ linear_extrude(5.8) hull(){ circle(4.5); translate([18.2,0,0]) circle(4.5); } } module thing(){ translate([-4,-0.5,0]) cube([5,5,4.]); difference(){ base(); translate([1,-0.4,4]) scale([0.92,0.92,1]) base(); } translate([0.0,-0.5,4]) linear_extrude(6) hull(){ translate([0....
glb/cad_c20f0bc02ce0.glb
Create a stackable screw-vase container. The base geometry is a hollow cylinder with a wall thickness of 0.6mm. For shell number 0, the internal diameter is 70mm and the internal height is 100mm. The walls must follow a spiral screw thread pattern with a pitch angle of 45 degrees. To create larger shells, increase the...
diam=70; height=100; shell=0; extrude=0.6; chamfertop=false; {} $fn=120; pitchangle=45; starts=round(diam*0.4*sin(pitchangle)); echo("diam:",diam,"height:",height,"starts:",starts); echo("shell number",shell); screw_vase(h=height,d=diam); module screw_vase(h=30,d=30,shell=shell,th=2,enlarge=extrude+0.1) { D=d +...
glb/cad_80463893160e.glb
Create a tube stand holder by starting with a solid rectangular block measuring 120mm x 120mm x 38mm. Hollow out the center of the block to create a shell with 2mm thick walls on the sides and bottom. Create two sets of conical holes for tubes. The first set consists of four holes located at [20, 20], [100, 20], [20, ...
box_outer_x = 120; box_outer_y = 120; box_outer_z = 38; box_wall = 2.0; cone_types = [ [29.5, 20, 20, 7, 1.5], [17, 8, 10, 13.5, 1.5] ]; cone_loc = [ [ [20, 20], [100, 20], [20, 100], [100, 100] ], [ [60, 80], [60, 40], [40, 60], [80, 60] ] ]; text_data = [ ["test1", "Arial", 8, 10, 5, 0.6], ["test2", "Ca...
glb/cad_b168e0b71fe1.glb
Create a wire conduit for a limit switch consisting of two symmetrical shells, an upper and a lower part, that mirror each other across a central horizontal plane. Each shell begins with a cylindrical section 15mm long with an outer diameter of 11mm and a wall thickness of 2mm. At the base of this cylinder, add a thi...
wall=2; left_len=15; left_od=11; left_flange_od=13; left_flange_th=2; left_flange_ofs=5.5; left_gap_width=2; left_gap_ofs=-1.98; middle_len=23; middle_ramp=0.5; right_x=12; right_y=25; right_z=18; right_fillet_dia=3; right_corner_fillet_dia=4; part_separation=3; cut_plane_x=0; cut_plane_z=0.99; cut_plane_angle=0; c...
glb/cad_1e649babf146.glb
Create a Gridfinity Stackable Baseplate consisting of a 3x2 grid of cells. Each cell is based on a 42mm pitch. The main body is a solid plate with a height of 7mm. The top surface of each cell features a recessed "pad" geometry: a central square area with rounded corners, surrounded by a beveled profile that transiti...
X = 3; Y = 2; Toggle_Foot=true; Toggle_Screw=false; Overhang_Fix=true; Toggle_Weighted=true; magnet_position = 13; magnet_od = 6.5; magnet_thickness = 2.4; eps = 0.1; foot_diam=6.5; foot_height=2; screw_depth=9; overhang_fix_depth=0.3; screw_hole_diam = 3; gridfinity_pitch = 42; gridfinity_zpitch = 7; gridfinity_...
glb/cad_37fd8c2cc37a.glb
Create a bike light adapter consisting of a circular mounting base and a connector. Start with a main cylinder that has an outer diameter of 17mm and a height of 17mm. Hollow out the center of this cylinder with a smaller 15mm diameter hole, leaving a base thickness of 1mm at the bottom. Within this base, create a ce...
include <BOSL/shapes.scad>; module ravemen_bracket(){ difference(){ cuboid([14,34,3], fillet=3, edges=EDGES_Z_ALL, $fn=50); translate([0,-11.5,-2]) cylinder(4,1,1, $fn=50); translate([0,11.5,-2]) cylinder(4,1,1, $fn=50); translate([0,-11.5,0]) cylinder(1.5,...
glb/cad_caaf5a5f7246.glb
Create a prismatic twisted spiral vase. Begin by creating a solid circular base with a radius of 20mm and a height of 1mm. Around this base, arrange 18 identical vertical geometric pillars distributed evenly in a circle. Each pillar is generated by extruding a square with a side length of 4.5mm. The extrusion for eac...
R=20; r=4.5; n=18; k=3; h=100; t=90; bump=0.75; smooooth=8; function f_b(x) = (cos(2*x)+1)*bump; function f_a(x) = f_b(x+90); s=[f_a(t)*k+f_b(t),f_b(t)*k+f_a(t)]; skew=R/2; for(i=[1:n]) rotate(i*360/n) translate([skew, 0]) { linear_extrude(height=h, center=false, scale=s, twist=t, slices=smooooth) translate(...
glb/cad_85f69e95aa4d.glb
Create a customizable divider for a spare part cabinet. Start with a main rectangular plate measuring 50.2mm in width, 30mm in height, and 1.7mm in depth. On one end of the plate, add a helper feature to assist in retrieving small parts. This helper consists of a rectangular block 50.2mm wide, 15mm high, and 15mm dee...
$fn=100; helper = true; bothsides = false; d = 30; b = 3; width = 50.2; height = 30; depth = 1.7; lip_thick = 3; lip_width = 3; difference () { divider(); rotate ([0,0,180]) translate ([-b,-b,-d/2]) roundcorner(); rotate ([0,0,270]) translate ([-b,width-b,-d/2]) ...
glb/cad_841a3cb07691.glb
Create a Coffee Grinder Adapter consisting of a main cylindrical body and a gear-shaped cutout. Start with a solid cylinder that has a diameter of 23.5mm and a total height of 20mm. At the base of this cylinder, remove a gear-shaped volume with a height of 16mm. This gear cutout consists of a central cylinder with a ...
compensate_dia = 0.5; compensate_width = 0.5; teeth = 12; tooth_dia = 2.75 + compensate_dia; tooth_off = (17.3 + compensate_width - tooth_dia) / 2; gear_h = 15.0; adapter_wall = 5; adapter_dia = tooth_off * 2 + tooth_dia + adapter_wall; adapter_h = gear_h + adapter_wall; use_male_socket = false; socket_h = gear_h; ...
glb/cad_fe1378372c99.glb
Create a 3D mathematical plot of the function sin(r)/r. The model should be contained within a centered cube with a side length of 1600mm and a height of 4000mm. The height of the surface at any given point is determined by the formula: 200mm + (50000 * sin(r)/r), where r is the radius from the center of the plot. To c...
scale_z = 50000; step = 5; include <plot_function.scad> function PolarFunc1(r, a) = 200 + scale_z * (sin(r) / r); intersection() { PlotPolarunction(1, 1140, step); cube([1600,1600,4000],center=true); }
glb/cad_f7e2c8446612.glb
Create a lockpicking tool consisting of a long, thin handle and a specialized tip. The main body is a flat, extruded profile with a total length of 60mm and a thickness of 1.66mm. The handle section begins with a rounded base, formed by the union of two circles with 5mm radii centered 60mm apart, connected by a recta...
use <./settings.scad> weirdPick(); module weirdPick(handleLength = 60) { length = 60; thickness = 1.66; tipHeight = 5; union() { translate([length - pinDiameter(), - thickness-tipHeight, 1.5*thickness]) { hull(){ translate([0,thickness-0.4,0]) cube([pinDiameter(), 0.4, 0.75*pinDiam...
glb/cad_398c5f0cd6d0.glb
Create three distinct connector parts for stacking table legs, each with a height of 9mm and a base wall thickness of 1.5mm. All parts use a rounded corner radius of 2.5mm for outer edges and 1mm for inner holes. The first part is a square block measuring 55mm by 55mm. Create a central square hole measuring 51mm by 51...
wall_thickness = 1.5; height = 9; lip_height = 10; lip_width = 2; tolerance = 1; leg_size = 50; leg_radius = 1; leg_distance = 3; $fn = 32; $fudge = 1; outer_size = (leg_size + wall_thickness + tolerance) * 2 + leg_distance; outer_round = leg_radius + wall_thickness; leg_hole_size = [leg_size + tolerance, leg_size + ...
glb/cad_ed349f6365ed.glb
Create a face shield headband consisting of a semi-circular arc and two attachment pins. Start by creating a semi-circular band with an outer diameter of 170mm, a thickness of 2mm, and a height of 20mm. The cross-section of this band should have slightly chamfered corners of 0.5mm. Along the inner curve of this hea...
$fa = 1; brim = false; $VisorDistance = 43; $VisorDiameter = 200; $HeadBandDiameter = 170; $HeadBandThickness = 2; $HeadBandHeight = 20; $HeadBandChamfer = 0.5; $HeadBandStraight = 15; $PinDiameter = 5; $PinLength = 7.5; $PinChamfer = 1.5; $PinTurnFirstAndLast= 27; $...
glb/cad_aa5537cff259.glb
Create an end connector for a drag chain with a width of 25mm, length of 30mm, and height of 15mm. The main body is a rectangular block with rounded corners (radius 7.5mm) and a central hollow channel. On the flat side faces, create three screw holes spaced 10mm apart, with each hole having a diameter of 3mm and a co...
width= 25; length=30; height=15; max_angle = 90; under_angle=0; over_angle=90; inner_axis=0; closed=0; clip=1; normal_link=true; start_connector=true; angled_connector=true; clip_offset=6; connector_length=40; num_holes=3; hole_spacing=10; hole_diameter=3; hole_end=10; screw_head_diameter=6; screw_he...
glb/cad_65698c3e2ace.glb
Create a coin presenter stand consisting of two symmetrical angled legs and a central support structure. The stand features a presentation area with a height of 110mm and a depth of 5mm. The main support is tilted at a 69-degree angle. The legs are 3mm thick and are separated by a distance of 40mm at the back to crea...
diagonalHeight = 110; diagonalHolderHeight = 5; diagonalInnerRadius = 1; diagonalDeg = 69; legsThickness = 3; legsDeg = 60; legsDistance = 40; plateauHeight = 1; $fn = 100; assert( diagonalHeight >= 10, "diagonalHeight has to be >= 10." ); assert( diagonalHolderHeight >= 2, "diagonalHolder...
glb/cad_84428d9b3a19.glb
Create a poly-V pulley with a pitch diameter of 20mm and a central bore of 5mm. The main body is a cylinder with a total height composed of the belt width, two side flanges, and a base stub. On the outer circumference, carve 4 equidistant longitudinal grooves following the J-profile: each groove has a pitch of 2.34mm...
use <MCAD/polyholes.scad> ribs = 4; pd = 20; bore = 5; stub_width = 5; trap_depth = 3; nut_width = 5.5+.3; nut_thick = 2.4+0.3; nut_radius = 6.4+.3/2; clearance = 0.3; formIndex = 0; eps = 0.001; J_beltform =["polyJ_belt", 2.34, 2.21, 0.20, 0.20, 1.8, 2, 40 ]; L_beltform =["polyL_belt", 4.70, 5.11, 0.40, 0....
glb/cad_bb5c1f934a42.glb
Create a parametric storage box with a lid and a bottom section. The bottom section is a hollow rectangular container with rounded corners of 5mm. The interior consists of two compartments, each with an internal width of 14.5mm and a depth of 82mm, separated by a 1mm thick wall. The total interior height is 50mm, and t...
part = "all"; x_compartment_width = 14.5; y_width = 82; compartments = 2; separator_thickness = 1.0; bottom_height = 50.0; lid_height = 32.0; thickness = 1.8; lip_height = 8; lip_overlap_height = 2.0; lip_thickness = 0.8; looseness_offset = 0.15; radius = 5; generate_box = (part == "bottom" || part == "all")...
glb/cad_ad3d8a80253b.glb
Create a Shimano road bike disc brake bleed block with a total thickness of 10mm. The main body is a rectangular block 26mm wide and 20.5mm high. The top edge of this body is rounded with a radius of 2mm. Attached to the top of the main body is a handle that is 7mm wide and 13.5mm high, also with 2mm rounded top corne...
body_thickness = 10.0; body_width = 26.0; body_height = 15.5 + 5; body_top_radius = 2.0; handle_height = 35 - 19.3 - 5; handle_width = 7.0; handle_top_radius = body_top_radius; intersection_fillet_radius = 1.0; wing_thickness = 2.8; wing_height = 18.0; wing_extend = 4.5; wing_...
glb/cad_b4f24db7d35d.glb
Create a sanding disk drill mount by constructing a truncated cone with a height of 15.4mm, a bottom radius of 24.75mm, and a top radius of 5mm. Centered vertically through this cone, remove a cylindrical hole with a radius of 3.3mm that extends through the entire height. Additionally, remove a hexagonal prism from the...
difference(){ cylinder(r1=49.5/2, r2=10/2, h=15.4, $fn=100); translate([0,0,-1]) cylinder(r=6.6/2, h=20, $fn=100); translate([0,0,-1]) cylinder(r=13.2/2, h=4+(16-14.25),$fn=6); }
glb/cad_694506da6a26.glb
Create a Benriner Mandoline Blade Storage Box consisting of a base and a lid. Construct the base as a rounded rectangular box with outer dimensions of 14mm width, 152.4mm depth, and 25mm height. Use a wall thickness of 1.6mm and a corner radius of 3mm. Hollow out the center of the box to the specified wall thickness,...
boxWidth = 14; boxDepth = 152.4; boxHeight = 25; wallThickness=1.6; lidHeight = boxHeight/2 + wallThickness*2; roundCorner=3; textBase = ""; textBaseSize = 7; textLid = ""; textLidSize = 8; numSeparatorsX = 3; numSeparatorsY = 1; showParts = 0; showClosed = 0; cutOutSize = 0.5; $fn=60; tolerance = 0; iw ...
glb/cad_ff96f10d74ef.glb
Create a Pocket Hole Jig designed to hold sleeve bearings. The main body is a block with a flat top and a slanted front face angled at 18 degrees. The jig features a series of guide holes for drill bits. Each hole has a diameter of 0.512 inches (0.5 inches plus a 0.012-inch tolerance) and a depth of 0.35 inches. Crea...
X = 0.001; holeAngle = 18; tolerance = 0.012; outside_diameter = 0.5; holeSize = outside_diameter+tolerance; holeDepth = .35; numberOfHoles = 2; twobytwo = true; holeSpacing = 1.5; holeSpacing2x2 = 7/8; edgeSpacing = 35; edgeSpacingRaw = 0.125; joiningBoardThicknesses = [0.75, 1.0, 1.25, 1.5]; p...
glb/cad_bf7113bc4550.glb
Create a dowel jig for 2x4 lumber consisting of a top plate and a central vertical guide. Start by creating a rectangular top plate measuring 3.5mm in width, 3.5mm in length, and 1mm in height. Attached to the center of the bottom of this plate, add a vertical rectangular block that is 0.5mm wide, 3.5mm long, and 5mm h...
spacer_height = 1; spacer_outer_diameter = 5/8; spacer_inner_diameter = 1/2; tolerance = 0.007; top_width = 3.5; top_length = 3.5; bottom_height = 5; difference(){ union() { cube([top_width,top_length,spacer_height]); translate([top_width/2-0.5/2,0,-bottom_height+0.5]) cube([0.5,top_length, botto...
glb/cad_42a095ff448b.glb
Create a whisk adapter drill shank consisting of a hollow elliptical barrel joined to a hexagonal shaft. First, construct the main barrel as an elliptical tube with an outer radius of 9.125mm on the X-axis and 7.25mm on the Y-axis, a total height of 34mm, and a wall thickness of 3mm. The interior of this barrel should ...
whisk_x_radius = 18.25/2; whisk_y_radius = 14.5/2; barrel_height = 34; shank_height = 26; shank_radius = 6; wall_thickness = 3; overlap_amount = 1; rotate([90,0,0]) union(){ difference() { scale([1,whisk_x_radius/whisk_y_radius,1]) cylinder(r=whisk_y_radius+wall_thickness, h = barrel_height, $fn=100); ...
glb/cad_932dd0869ab5.glb
Create a rod attachment cap for window blinds. Start by creating a main cylinder with a diameter of 12.4mm and a height of 25mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 10.4mm and a height of 23mm, starting from the bottom base. At the top of the cap, create a...
rod_diameter = 10.2 + 0.2; wall_thickness = 2; cap_length = 25; hole_diameter = 3.4; hole_length = 11; hole_mount_length = hole_length - 5; difference(){ hull(){ cylinder(d=rod_diameter+wall_thickness, h=cap_length, $fn=100); translate([-hole_mount_length/2,0,cap_length+4+wall_thickness]) rotate([0,90,0]) cylinde...
glb/cad_0b184f4dd74d.glb
Create a palm rest for an Ultimate Hacking Keyboard. The main body is a rectangular block with a length of 154mm, a width of 75mm, and a height of 23mm. Apply a 20mm chamfer to the front edges and a 10mm chamfer to the back edges. The side edges should have a 5mm chamfer. On the top surface, create a recessed cutout ...
$fn=100; width = 75; length = 154; height = 23; b_chamf = 20; back_chamf = 10; side_chamf = 5; cutout = 120; cutout_angle = 8; cutout_angle2 = 18; cutout_dig = 3; hole = 3; tab_h = 2; ls = [7.6,7.4+23.5]; rs = [7.5+115,7.4]; module chamfer_cube(l,w,h,c,c2,c3){ difference(){ cube([l,w,h],center=true); ...
glb/cad_750fe5c695f6.glb
Create a palm rest for an Ultimate Hacking Keyboard. The main body is a rectangular block with a length of 135mm, a width of 75mm, and a height of 23mm. Apply a 20mm chamfer to the bottom edges and a 10mm chamfer to the back edge. On the top surface, create a cutout that is 120mm long, angled at 8 degrees and 18 degr...
$fn=100; width = 75; length = 135; height = 23; b_chamf = 20; back_chamf = 10; side_chamf = 5; cutout = 120; cutout_angle = 8; cutout_angle2 = 18; cutout_dig = 3; hole = 3; tab_h = 2; ls = [7.6,7.4+23.5]; rs = [7.5+96,7.4]; module chamfer_cube(l,w,h,c,c2,c3){ difference(){ cube([l,w,h],center=true); ...
glb/cad_a4482fa32d87.glb
Create a vase with a total height of 120mm. The form is based on a five-sided regular polygon (pentagon) that is extruded vertically. The profile of the walls is convex, created by the intersection of five circles, each with a radius of 30mm, centered around the central axis. The vase features a twisting motion as it ...
$fs=0.2; $fa=2; gon=5; opt=2; int=false; radius=30; height=120; scale=1.62; round=3; module L(h=50,twist=0,scale=scale,int=false,chamfer=[3,1.5],deg=-35){ twist=360/twist; chamferI=is_bool(chamfer)?chamfer?[3,1.5]:[0,0]:chamfer; chamfer=is_list(chamferI)?chamferI:[chamferI,chamferI]; h=h-chamfer[0]-chamfer[1]; if...
glb/cad_72622f3591c7.glb
Create a hexagonal base for a wargame miniature with a diameter of 30mm measured across the flats. The base should have a total height of 4mm and a wall thickness of 2mm. Construct the outer shell as a six-sided prism with a 30mm flat-to-flat width. To create the interior cavity, remove a smaller hexagonal prism from t...
diameter = 30; height = 4; slope = 1.5; thickness = 2; rotate([180, 0, 0]) hex_base(diameter, height, slope, thickness); module hex_base(d, h, s, t) { difference() { apothem_cylinder(h, d/2, d/2-s, $fn = 6); apothem_cylinder(h-t, d/2-t, d/2-t-s/h*t, $fn = 6); } } module apothem_cylinder(h, r1, r2, $...
glb/cad_363e0833490e.glb
Create a trailer electric plug adapter by starting with a central rectangular block measuring 20mm wide, 25mm long, and 27mm high. Center a square hole measuring 12.5mm by 12.5mm through the height of the block to accommodate a locking post. Remove a conical section from the center of the block along its length, tape...
$fn = 64; gap = 5; width = 25; length = 25; height = 27; hole = 12.5; glue = 0.1; plugDia1 = 36; plugDia2 = 26; handleThick = 6; zipTieLoc = 20; zipTieOffset = 12; zipTieHole = 3.5; chamfer = 1; difference() { translate([ width / 2 - gap, 0, height / 2 ]) cube([ width, length, height ], true); union() { ...
glb/cad_b25042dd9040.glb
Create a modular storage system consisting of a housing and a matching drawer. For the housing, create a rectangular box with an overall depth of 90mm. The outer dimensions are determined by the number of units: a base unit is 47mm wide and 22mm high, with each additional unit adding 51.5mm to the width and 26.5mm to...
horizontal_units=1; vertical_units=1; air_escape_holes=1; print_orientation=1; wall_thickness = 1.6; widthwise_dividers = 0; lengthwise_dividers = 0; divider_percent = 0.8; Generate_Housing=1; Generate_Drawer=1; overall_depth = 90; magnet_diameter = 8.3; magnet_thickness = 3.2; backwall_thickness = 4; air_...
glb/cad_b89fb43fe5e5.glb
Create a gear shifter dust cover plate starting with a base rectangular slab measuring 252mm in length, 41mm in width, and 2mm in thickness. In the exact center of this slab, create a circular cutout with a diameter of 31mm and a length of 31mm, passing completely through the thickness of the base. On the top surface ...
length = 252; width = 41; thickness = 2; cutout_diameter = 31.0; cutout_length = 31.0; cutout_thickness = 4; rectangle_length = 16; rectangle_width = 20; rectangle_thickness = 2; distance = 0; small_square_size = 5.5; small_square_thickness = 1; small_square_offset = 43; small_square_spacing = 10; left_adjustment ...
glb/cad_18bac029cec7.glb
Create a frame for a bent-wire magnetic hook. Start with a main cylindrical body that has an outer diameter of 22.38mm (18.38mm nominal magnet diameter plus 4mm for walls) and a total height of 6.1mm. The bottom of the body is a flat plate 0.6mm thick. Inside this body, create a central cylindrical cavity to hold a ma...
magnet_diameter_nominal = 18; magnet_thickness = 3; wire_hole_diameter = 2.1; bottom_plate_thickness = 0.6; top_taper_thickness = 0.4; magnet_to_wire_gap = 1; top_ring_thickness = 1; side_wall_width = 2; outer_bevel = 0.4; epsilon = 0.01; magnet_diameter = magnet_diameter_nominal * 1.015; top_elements_thickness = ...
glb/cad_360c1382ee16.glb
Create a Lithophane creator by generating a rectangular plate with a width of 200mm, a height of 200mm, and a thickness of 2mm. The plate should be centered on the origin. To create the image effect, embed a surface map based on a PNG image where the depth of the material varies according to the image's grayscale value...
filename = "test_negate_resize.png"; height = 200; width = 200; background = "dark"; thickness = 2; module place_image(img,th,inv) { scale([1, 1, th]) surface(file = img, invert = inv, convexity=3, center=true); } rotate([180,0,180]) if (background == "dark") { difference() { transl...
glb/cad_7c153f06b1f8.glb
Create a bicycle wheel thru axle hub protector plug consisting of a wide circular base and a central protruding cylinder. Start by creating a flat, circular disc with a diameter of 100mm and a thickness of 2mm. Centered on top of this disc, add a vertical cylinder with a height of 15mm. This central cylinder should hav...
protector_d = 100; protector_thickness = 2; hub_d = 12; tolerance = 0.2; x = 0.001; cylinder(d=protector_d, h=protector_thickness); translate([0,0,protector_thickness-x]) cylinder(d1=hub_d, d2=hub_d-tolerance, h=15, $fn=100);
glb/cad_84c3cec39d8f.glb
Create a replacement sun roof hinge consisting of a central cylindrical core and several radiating support arms. The main body is a hollow cylinder with an inner diameter of 12.8mm and an outer diameter of 20.4mm, reaching a total height of 20mm. Construct the structure using a series of concentric rings and radiatin...
$fn=80; module pieSlice(a, r, h){ rotate_extrude(angle=a) square([r,h]); } ths=2.5; d_bot=3; d_o=20.4; d_i=12.8; mirror([1,0,0]) union() { for (i = [25, 100, 187]) { rotate([0, 0, i-90]) difference() { translate([0, 0, 7+3]) cube([2, 20, 5]); cylinder(d=d_i, h=20); difference(){ cylin...
glb/cad_397a9520ae5a.glb
Create a replacement sun roof hinge consisting of a main outer holder and a small inlay spring. For the main holder, start with a composite cylindrical base. Create a primary cylinder 29mm in diameter and 10mm high. Centered on top of this, add a second cylinder 23mm in diameter and 12.5mm high. From the bottom, remo...
$fn=100; y_off=-4.6; vouter=[47, 19, 10]; vcutout=[34, 12.2, 4.4]; use <include/rounded.scad>; mirror([1,0,0]) union() { difference() { cylinder(d=12.2, h=10); cylinder(d=10, h=7); cylinder(d=5.2, h=11); } difference() { union() { cylinder(d=29, h=10); cylinder(d=23, h=10+2.5); ...
glb/cad_42206424666c.glb
Create a replacement sun roof hinge for a baby stroller consisting of two main components: a base adapter and a locking ring. First, construct the adapter as a rounded rectangular block with a total width of 28mm, length of 59mm, and height of 12mm, featuring 20mm corner radii. Carve a central vertical slot 14mm wide...
$fa=0.01; $fs=0.3; use <include/rounded.scad>; w_opening=20; w_s_opening=14; l_opening=54; h_opening_max=9.2; h_opening_side=3.8; th=4; t_height=12; difference(){ union() { 2_rounded_cube([w_opening+2*th, l_opening+th, t_height], d=20); } union() { translate([th+(w_opening-w_s_opening)/2, 0, 0]) ...
glb/cad_a43a35cf2404.glb
Create a parametric cable clip with a total width of 10mm. The main body consists of a semi-circular ring with an outer radius of 8mm (5mm inner radius plus 3mm wall thickness) and a wall thickness of 3mm. The ring is open on one side to allow a cable to snap in. Attached to the flat side of the ring is a rectangular ...
width = 10.0; radius = 5.0; thickness = 3.0; tab_length = 10.0; screw_diameter = 2.0; rounding = 1; $fn=50; union(){ difference(){ translate([-radius-tab_length-thickness,0,0]) roundedcube([tab_length+thickness,thickness,width],false,rounding,"ymax"); rotate([-90,0,0]) translate([-radius-(t...
glb/cad_ca0bbe4549ce.glb
Create a Glovebox Retainer Lever consisting of a flat arm and a vertical push pin. Start by constructing the arm as a rectangular base 5.9mm wide and 29.2mm long. The arm should have a thickness of 1.65mm, transitioning into a rounded end with a diameter of 9.45mm and a height of 2.55mm. Embed a cylindrical reinforceme...
module pushPinTab() { difference() { rotate([0, 35, 0]) cylinder(d=push_pin_tab_diameter, $fn=100, h=push_pin_tab_height); translate([-push_pin_tab_diameter/2, -push_pin_tab_diameter/2, -0.6]) cube([push_pin_tab_diameter*2, push_pin_tab_diameter, 1.2]); translate([push_pin...
glb/cad_ac08b519f2d4.glb
Create a set of Tetris pieces composed of identical cubic units. Each unit is a 10mm cube with 12 thin, rectangular plates (each 10mm x 10mm x 1.67mm) removed from its interior. These plates are positioned and rotated in a symmetrical pattern: four are rotated 45 degrees on the X-axis at the corners of the cube, four a...
module plate(length){ cube(size = [length,length,length/6], center = true); } module plates(length){ translate([0,-length/2,length/2]){rotate([45,0,0]){plate(length);}} translate([0,length/2,-length/2]){rotate([45,0,0]){plate(length);}} translate([0,length/2,length/2]){rotate([-45,0,0]){plate(length);}} ...
glb/cad_57ae26b51401.glb
Create a Customizable Coin Sorter consisting of a circular disc with a thickness of 2mm and a diameter of 100mm. The disc features a pattern of circular holes distributed across its surface to allow specific coins to pass through. For a 1 Euro Cent coin, create holes with a diameter of 16.25mm, adding a 0.3mm clearance...
include <utils/utils.scad>; arrangement = "🖨️ printable"; slice_in_preview = false; show_coin = false; sorter_diameter = 100; sorter_thickness = 2; sorter_rim_height = 20; sorter_rim_holder_height = 10; coin = "1 €Cent"; stacked_sorters = []; sorter_clearance = 0.2; custom_coin_hole_diameter = 0; coin_hole_clea...
glb/cad_657bc072d79b.glb
Create a set of stackable plant pots designed to fit around a 100x100 mm square pillar with 12.5 mm corner radii. First, create a bottom bracket and a top bracket, both 35 mm high. These brackets should be square shells that fit the pillar's dimensions, featuring a 2.5 mm wall thickness and rounded corners. The top b...
links = 0; linksXL = 0; rechts = 0; rechtsXL= 2; mitte = 0; unten = 0; oben = 0; saeule = 0; wand = 2.5; $fn = 200; if (saeule == 1) %saeule(); if (saeule == 2) color( "sienna") saeule(); if (mitte == 1) %translate ([0,0,-150])%topf_mitte_fertig(); if (mitte == 2) translate ([0,0,-150])topf_mitte_fe...
glb/cad_e3deb29053a0.glb
Create a recursive binary sprue tree consisting of three levels of branching. Start with a fundamental base unit created by the convex hull of a 4mm cube centered at the origin and a 3mm cube positioned at 10mm x, 10mm y, and 10mm z. To build the tree, place this fundamental unit at the base, then add two smaller versi...
levels=3; angle = 90; fraction = 0.75; module fundamental() { hull() { cube([4,4,.01],center=true); translate([10,10,10])cube([3,3,.01],center=true); } hull() { translate([5,5,5])cube([3.5,3.5,.01],center=true); translate([0,5,10])cube([3,3,.01],center=true); } } module tree(n) { ...
glb/cad_1591fea1f478.glb
Create a Game Boy Cartridge Display frame by starting with a solid rectangular base measuring 135mm by 151mm with a thickness of 5.7mm. From this base, remove four identical rectangular slots to create a 2x2 grid of openings, each measuring 57mm by 65mm. Position these slots so that there is a 7mm border around the out...
gb_x = 57; gb_y = 65; gb_z = 5.7; frame = 7; f2 = frame*2; f3 = frame*3; difference() { cube([2*gb_x+f3, 2*gb_y+f3, gb_z]); translate([frame,frame,-gb_z]) { cube([gb_x, gb_y, gb_z*3]); } translate([gb_x+f2,frame,-gb_z]) { cube([gb_x, gb_y, gb_z*3]); } translate([frame,gb_y...
glb/cad_befe5ef5a588.glb
Create a Mainboard Tray with a base measuring 226.9mm by 104.83mm and a thickness of 3mm. The tray features a perimeter wall 10mm wide with rounded corners of 5mm. Cut three rectangular openings through the base: a central VESA mount cutout measuring 55mm by 84.83mm, and two flanking cutouts measuring 55mm by 84.83mm...
include <MCAD/boxes.scad> $fn=128; mainboard = [113.45+113.45, 27+77.83]; mainboard_top_edge = 77.83; bosses = [[(26.2+30.8)/2, -27+4.6/2, 0], [-111.15, 67.05, 0], [-111.15, 3.05, 0], [110.5, 71.85, 0], [111.0, 4.15, 0]]; tray_w = 10; tray_h = 3; boss_h = 5; use_insert = f...
glb/cad_661e8ce33003.glb
Create a Flexible TPU Bolt Organizer by first constructing a rectangular container 200mm wide, 200mm deep, and 10mm high. The outer edges of this container should be rounded with a 5mm radius. Hollow out the center of the container by removing a rectangular block 196mm wide and 196mm deep, leaving a wall thickness of 2...
include <honeycomb.scad> height=10; depth=200; width=200; thumbhole_position_x_percent=15; thumbhole_position_y_percent=80; label_width=120; label_height=25; label_position_x_percent=35; label_position_y_percent=75; honeycomb_wall_thickness=3; honeycomb_hole_size=12; difference() { minkowski() { cube([wid...
glb/cad_46a68b3c642c.glb
Create a replacement knob for a 6mm square axle. Start with a base consisting of a truncated cone with a bottom diameter of 28mm and a top diameter of 26mm, and a height of 4mm. On top of this base, center a second truncated cone with a bottom diameter of 16mm, a top diameter of 12mm, and a height of 12mm. Crown this w...
difference() { union() { cylinder(h=4,d1=28,d2=26, $fn=100); translate([0,0,4]) cylinder(h=12,r1=8, r2=6,$fn=50); translate([0,0,16]) cylinder(h=2,r1=6, r2=3,$fn=50); translate([-3,0,0]) cube([6,20,14]); translate([-2,-12,0]) cube([4,8,14]); translate([-2,-16.2,2.3]) rotate([-20,0,0]) cube([4,6,...
glb/cad_3a1bcfca9674.glb
Create a CD storage box by starting with a solid rectangular block measuring 150mm in width, 90mm in depth, and 101mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 145mm by 86mm, starting from a height of 5mm from the base and extending upwards. To create the opening for the...
difference () { cube ([150,90,101]); translate ([2,2,5]) { cube ([145,86,140]); } translate ([75,84,84]) { rotate (a=80, v=[1,0,0]) { cylinder (h=110, d=160, $fn=180 ); } } }
glb/cad_d4c4e67d9782.glb
Create a holder for a cold frame box lid. Start with a main rectangular base measuring 190mm in length, 3.5mm in width, and 18mm in height. At one end of the base, add a stabilizer consisting of a 20-sided prism with a diameter of 4mm and a height of 176mm, centered such that it is hollowed out by a 4mm wide by 2mm h...
union() { cube([190, 3.5, 18]); translate([176,3.4,9]) rotate([180,90,0]) difference() { cylinder(d=4, 176, $fn=20); translate([-2,0,0]) cube([4, 2, 176]); } color("blue") translate([85, -9.9, 0]) union() { cube([3.5, 10, ...
glb/cad_9e305a839222.glb
Create a painting handle swappable top by starting with a solid cylinder that has a radius of 16mm and a height of 12mm. The bottom edge of this cylinder should be rounded. From the top face, remove a concentric cylindrical section with a radius of 13mm and a depth of 1.5mm to create a shallow circular inlay. Finally, ...
use <threadlib/threadlib.scad> inlay_h = 1.5; cylinder_r = 16; top_h = 12; module thread_hole(tturns=6,ttype="UNF-1/4-ext") { thread(ttype, turns=tturns); specs = thread_specs(ttype); P = specs[0]; Rrot = specs[1]; Dsupport = specs[2]; section_profile = specs[3]; H = (tturns + 1) * P; union() { trans...
glb/cad_d85c99c2b5d4.glb
Create a spacer for an Anycubic Kossel E3D v6 by starting with a rectangular block measuring 30mm in width, 21mm in depth, and 10.95mm in height, centered on all axes. Remove a central vertical cylinder with a radius of 6mm that spans the full height of the block. Additionally, remove a wider, shallower cylinder with a...
$fn = 30; module mirror_copy(v = [1, 0, 0]) { children(); mirror(v) children(); } module e3d_spacer () { difference() { cube([30, 21, 10.95], center=true); cylinder(r=6, h=10.95, $fn=30, center=true); translate([0,0,4.275]) { cylinder(r=8.2, h=3, $fn=32, center=true); ...
glb/cad_947bbb25dc34.glb
Create a rectangular spacer for an E3D v6 hotend with overall dimensions of 30mm width, 21mm depth, and 10.95mm height. Center a large vertical hole through the entire height of the block with a radius of 6.5mm. On the top face, create a wider shallow circular recess centered on the main hole with a radius of 8.1mm and...
$fn = 30; module mirror_copy(v = [1, 0, 0]) { children(); mirror(v) children(); } module e3d_spacer () { difference() { cube([30, 21, 10.95], center=true); cylinder(r=6.5, h=10.95, $fn=30, center=true); translate([0,0,3.775]) { cylinder(r=8.1, h=3.4, $fn=32, center=true...
glb/cad_06bc840145f2.glb
Create a portable storage box for a TS80 soldering iron and accessories consisting of two mirrored halves joined by hinges. Each half should be a rectangular block measuring 84mm x 104mm x 9mm with chamfered edges and corners. In the interior of each half, carve out specific compartments. Create a main central cavity ...
clearance = 0.3; add_magnet_lock = true; magnet_d = 5 + clearance; magnet_h = 2 + clearance; magnet_distance_to_corner = 5; Y = 104; Z = 9; X = 84; TS_BODY_CENTER = true; hinge_ri = 1; hinge_ro = 4; hinge_spacing = 10; hinge_ring_h = hinge_spacing/2 - clearance; hinge_width = 2 * hinge_spacing + hinge_ring_h; hing...
glb/cad_e524a58f4891.glb
Create a solder spool consisting of four separate components. First, create a base disc with a diameter of 37mm and a thickness of 1mm. In this disc, center a hole with a diameter of 10.5mm. Around the center, remove five identical arch-shaped segments, each spanning 36 degrees, positioned symmetrically every 72 degr...
$fn = 80; number_of_holes = 5; padding_around_hole = 2; wall_thickness = 1; d_outer = 37; d_inner = 10.5; d_spool = 14; height1 = 6; height2 = 5; slot_opening = 1.2; echo("Total width will be: ", 3*wall_thickness+height1+height2); tolerance = 0.2; _d_spool_inner = d_spool - (d_spool-d_inner)/2; render = "part4"...
glb/cad_dd94dfdd467f.glb
Create a gasket for a urine collector by constructing a thin, flat ring. Start with a solid cylinder that has an outer diameter of 39.5mm and a height of 1.5mm. From the center of this cylinder, remove a smaller concentric cylinder with a diameter of 29.5mm and the same height of 1.5mm to create a hollow circular washe...
module urinal_valve_gasket() { od = 39.5; id = 29.5; height = 1.5; quality = 50; difference() { cylinder(h=height, d=od, center=true, $fn=quality); cylinder(h=height, d=id, center=true, $fn=quality); } } urinal_valve_gasket();
glb/cad_b77ae98e2bc3.glb
Create a Newton's First Law Sign consisting of a thin rectangular base with rounded corners. The base is a square plate measuring 200mm by 200mm with a thickness of 1mm, featuring rounded corners with a 3mm radius. On the top surface of the plate, create raised text and graphics with a height of 0.6mm. At the top cent...
print=0; textH=0.6; backgroundH=1; module bed() { translate([0,5,0]) { hull() { circle(r=5); translate([0,60,0]) circle(r=5); } hull() { translate([0,20,0]) circle(r=5); translate([100,20,0]) circle(r=5); } hull() { translate([100,0,0]) circle(r=5); translate([1...
glb/cad_93be9ed0972a.glb
Create a Birthday Cactus Pot consisting of a shallow octagonal dish and a matching pot. For the dish, create an octagonal ring with a height of 10mm. The outer boundary is an octagonal prism with a base diameter of 94.3mm and a top diameter of 101.8mm. The inner void is an octagonal prism with a base diameter of 89.3mm...
base_d = 85.3; dish_thickness = 2; dish_margin = 4.5; wall_height = 10; wall_from_floor = wall_height+dish_thickness; slant = 1.08; nubbin_height = 1.5; num_nubbins = 8; nubbin_r = (base_d/2)-12; translate([0,0,dish_thickness+nubbin_height]) { } union() { difference() { cylinder(d1=base_d+dish_margin*2+d...
glb/cad_58e815c5bf65.glb
Create a Birthday Cactus Pot consisting of a spiraling, hollowed-out vessel. The main body is constructed by stacking 25 layers, each 4mm thick, reaching a total height of 100mm. Each layer is an 8-sided prism (octagon) with a base radius of 70mm. As the layers stack, rotate each subsequent layer by 1.2 degrees and sli...
layer_thickness = 4; base_radius = 70; height = 100; sides = 8; thickness = 9; hole_d = 10; module layer(radius, thickness, rotation, num_sides, height) { rotate([0,0,rotation]) { translate([0,0,height]) { scale([1,1,thickness]) { cylinder(r=radius, $fn=num_sides); }...
glb/cad_121f47110c8a.glb
Create a double-sided hex driver handle. The main body is a cylinder with a diameter of 20mm and a height of 70mm, centered between two tapered transitions. Each transition is a 15mm tall frustum that tapers from a 20mm diameter at the handle side to approximately 6.8mm at the ends. At both ends of the handle, create ...
bit_size = 4; magnet_diameter = 4; magnet_height = 2; hex_diameter = bit_size * 1.154701 + 0.2; difference () { translate () { translate([0,0,100]) cylinder(d1=20, d2=hex_diameter * 1.7, h=15, $fn=48); translate([0,0,30]) cylinder(d=20, h=70, $fn=48); translate([0,0,15]) cylinder(d1=hex_diameter * 1....
glb/cad_c0da64885e2f.glb
Create a double-sided hex driver handle. The central body consists of a main cylinder 20mm in diameter and 70mm in height, flanked on both ends by 15mm tall conical transitions that taper from 20mm down to approximately 11mm. At each end of the handle, create a shaft 15mm in height with a diameter of approximately 11...
bit_size = 6.3; magnet_diameter = 8.05; magnet_height = 3.05; hex_diameter = bit_size * 1.154701 + 0.2; difference () { translate () { translate([0,0,100]) cylinder(d1=20, d2=hex_diameter * 1.7, h=15, $fn=48); translate([0,0,30]) cylinder(d=20, h=70, $fn=48); translate([0,0,15]) cylinder(d1=hex_diame...
glb/cad_24aec8918cae.glb
Create a handle insert for a chested drawer. Start with a main cylinder that has a diameter of 10.71mm and a height of 26.25mm. On the top of this cylinder, add a dome cap with a diameter of 11.01mm and a height of 1.19mm. From the bottom of the main cylinder, remove a smaller concentric cylinder with a diameter of 4...
module dome(D,H) { R=D/2; Sphere_Radius = ( pow(H,2) + pow(R,2) ) / (2*H); translate([0,0,-(Sphere_Radius-H)-H/2]) difference() { sphere(Sphere_Radius); translate([0,0,-H]) cube([2*Sphere_Radius,2*Sphere_Radius,2*Sphere_Radius],center=true); } } $fn = 100; obj_d = 10.71; obj_h = 26.25; handle_hole_d...
glb/cad_33891bad49af.glb
Create a locking clip for a collapsible basket. The main body is a rectangular block with a total width of 15.8mm, a depth of 13.8mm, and a height of 18mm. Carve two vertical channels into the block to create a central wall and two outer walls. The central wall is 6.5mm thick, and the two outer walls are 2mm thick. E...
Wall = 2; VertWth = 9.8; VertThk = 6.5; Space = 1; SpaceWth = VertWth-0.4; BaskWth = 9.7; BaskThk = 5.5; BaskLip = -0.5; LipWth = VertWth-2; GapLen = 8; LockLen = 5; Width = VertWth+2*Wall; Height = GapLen+2*LockLen; Bevel = 2; Center = 13; GrabWth = 3; GrabDia = 2; $fn = 50; difference()...
glb/cad_c62f82ffc9f3.glb
Create a locking clip for a collapsible basket. The main body is a rectangular block with a total width of 17.3mm (Wall 2.5mm + VertThk 6.5mm + Space 2mm + VertThk 6.5mm + BaskLip -0.5mm), a depth of 15.8mm (VertWth 10.8mm + 2 * Wall 2.5mm), and a height of 17.4mm (GapLen 8mm + 2 * LockLen 5.7mm). The block features s...
Wall = 2.5; VertWth = 10.8; VertThk = 6.5; Space = 2; SpaceWth = VertWth-0.4; BaskWth = 11; BaskThk = 5.5; BaskLip = -0.5; LipWth = VertWth-1.2; GapLen = 8; LockLen = 5.7; Width = VertWth+2*Wall; Height = GapLen+2*LockLen; Bevel = 1.5; Center = 13; GrabWth = 3; GrabDia = 2; $fn = 50; diff...
glb/cad_136c0cad05e9.glb
Create a Punch Hole Blank by starting with a solid rectangular block measuring 27.2mm in width, 36mm in depth, and 16mm in height, centered on the origin. Carve out a large rectangular cavity from the top and front of the block, removing a section 22.3mm wide, 7mm deep, and 16mm high from the top center, and a second i...
difference(){ cube([27.2,36,16],center=true); #translate([-4.9/2,36/2-2.5-3.5,0])cube([27.2-4.9,7,16],center=true); #translate([0,-5,0])cube([18,19,16],center=true); #translate([10,36/2-16.9,0])rotate([0,90,0])cylinder(d=3.6,h=20,center=true,$fn=120); }
glb/cad_1114b5233224.glb
Create a parametric fan mount air filter support. Start with a rectangular main body with rounded corners, measuring 134.4mm by 134.4mm (based on a 132mm filter size plus 1.2mm walls). The total height of the filter section is 19.2mm. Within this body, create a central cylindrical void with a diameter of 120mm. The st...
$fn = 64; fan_diameter = 120; filter_size = 132; filter_thickness_array = [10, 8]; filter_size_array = [130, 92.5]; wall_thickness = 1.2; back_mount_size = 60; back_mount_diameter = 40; back_mount_width = 3; back_mount_center = false; duct_size = 40; rectangular_body = true; fan_screw_distance = 105.5; fan_screw_...
glb/cad_7a303192c83a.glb
Create a frame for an Adafruit 2.9" Grayscale eInk Display FeatherWing. Start with a solid rectangular base measuring 78mm in width, 38mm in height, and 6mm in thickness. Carve out a central rectangular opening for the display module that is 80mm wide, 38mm high, and 5mm deep. Within this cutout, create a smaller sec...
extrusion_width = 0.4; $fs = extrusion_width / 2; $fa = 5.0; visible_width = 67; visible_height = 29; excess_top_bottom = 4.5; excess_right = 3.5; excess_left = 9.5; physical_width = visible_width + excess_right + excess_left; physical_height = visible_height + excess_top_bottom*2; thickness = 3; thickness_sdcard ...
glb/cad_8c0a938a8ada.glb
Create a flat circular ring with an outer diameter of 103.5mm and an inner diameter of 85.5mm, resulting in a wall thickness of 9mm. The ring should have a total height of 2mm. Engrave the text " JOYEUX HALLOWEEN LUCAS" into the top surface of the ring. The letters should be 5mm in height and positioned in a circle bet...
txt = " JOYEUX HALLOWEEN LUCAS"; font_name="Open Sans:style=ExtraBold"; font_size=5; font_offset=2; module __Customizer_Limit__ () {} od=103.5; id=85.5; thickness=2; deboss=0.6; $fn=($preview)?40:240; ov=($preview)?0.01:0; module circular_text() { strlen = len(txt); angle = 360 / strlen; for(i = [0 : st...
glb/cad_739866596977.glb
Create a compression sleeve for a table leg. Start with a hollow cylinder that has a total height of 40mm and a wall thickness of 2mm. The interior of the sleeve should be stepped: the bottom half must have an inside diameter of 38mm, and the top half must have an inside diameter of 44.1mm. Cut a vertical slot 3.5mm w...
$fn = 128; thickness = 2; height = 40; topDiameter = 44.1; bottomDiameter = 38; compressionGapWidth = 3.5; ringGap = 2; fudge = 0.1; tabWidth = 4; tabDepth = 13; holeDiameter=6.3; difference () { union(){ cylinder(h=height+ringGap, r=(topDiameter/2)+thickness); translate([-(compressionGapWidth+2*...
glb/cad_2a5b5f37d2fb.glb
Create a circular saw spindle lock consisting of a stepped bolt and a matching washer. For the bolt, start with a base cylinder 10mm in diameter and 12mm high. On top of this base, add a second cylinder 4.35mm high with a 7.6mm diameter. Above that, add a third cylinder 15.65mm high with a 6.1mm diameter. Top the assem...
$fn=30; include <threads.scad> threads_height = 7; button_narrow = 4.35; button_wide = 12; shaft_height = 32-button_wide-button_narrow; module bolt(){ translate([0,0,button_narrow+button_wide+shaft_height]) thread_for_screw(diameter=6, length=threads_height); translate([0,0,button_narrow+button_wide]) ...
glb/cad_4dd2caf9fa52.glb
Create a font swatch tag consisting of a thin rectangular base with a rounded end. The base should have a total thickness of 0.4mm, composed of a 0.2mm bottom layer and a 0.2mm top layer. On the top surface, add multiple lines of text. Each character should have a font height of 10mm and a thickness of 0.2mm. Positio...
$fn= $preview ? 16 : 32; UseFont="Arial"; fontheight=10; Lines=2; raisedglyphes=true; Line_1="These lines will show up"; Line_2="if you increase [Lines]"; Line_3="edit as you like"; Line_4="1234567890_[+]-*!$^%~&`/(')=#?"; LastLine=" - Filament xy at Size "; Line_5=str(UseFont,LastLine,fontheight); LineContai...
glb/cad_c5c2d3c721bb.glb
Create a font swatch tag consisting of a thin rectangular base with a rounded end. The base has a total thickness of 0.4mm, composed of a 0.2mm bottom layer and a 0.2mm top layer. On the base, create five lines of text using a font height of 10mm. The text should be positioned starting from the bottom left, with each...
$fn= $preview ? 16 : 32; UseFont="Arial"; fontheight=10; Lines=5; raisedglyphes=true; Line_1="Reads what you want it to"; Line_2="Size is parametric"; Line_3="Font is customizable"; Line_4="Raised or depressed glyphs"; Line_5="Filament combination easy"; LineContainer=[Line_5,Line_4,Line_3,Line_2,Line_1]; fo...
glb/cad_bb8b21359c1b.glb
Create a hanging spool holder consisting of a central horizontal cylinder and two end caps. First, create the main spool axle as a cylinder with a diameter of 40mm and a length of 106mm (calculated as the spool width of 80mm plus 26mm). This cylinder is truncated or intersected with a block to create a flat bottom su...
hoch= 80; spule= 80; $fn=200; breit = spule + 20; color("Orange") Spulenwelle(); module Grundplatte () { translate ([-breit/2+5,-50,0]) difference () { minkowski () { cube ([breit-10,100,4]); cylinder (h=1, d=10); } translate ([10, 10, -0.5]) minkowski () { ...
glb/cad_d71211ac5683.glb
Create a hanging spool holder consisting of a base plate and a supporting frame. Start with a rectangular base plate 90mm wide, 100mm deep, and 4mm thick. Round the corners of the base plate with a 10mm radius. Remove a central rectangular section from the base plate, leaving a 10mm border around the edges, and drill f...
spulenhoehe = 80; spulenbreite= 80; $fn=200; breit = spulenbreite + 20; hoch = spulenhoehe + 10; Grundplatte (); difference () { Halterung(); Spulenwelle(); translate ([0,-1,0]) Spulenwelle(); translate ([0,0,-7.5]) Spulenwelle(); translate ([-15-breit/2,-30,hoch-5]) cube([breit+30,30,22]); } co...
glb/cad_03fd6d3603b5.glb
Create a kitchen towel rail holder hook with a thickness of 5mm. The main body is a rectangular bar 12mm wide and 100mm long. At one end, the bar transitions into a semi-circular hook shape with an outer radius of 14.5mm. The inner curve of this hook is a semi-circular cutout with a radius of 8.5mm, creating a cradling...
width = 12; thickness = 5; length = 100; raildia = 17; holedia = 7.4; $fn=50; module hook() { R = width + raildia/2; difference() { cylinder(h=thickness, r=R); translate([0,0, -0.1])cylinder(h=thickness+1, r=raildia/2); translate([-2*R, 0, -0.1])cube([4*R, 4*R, 2*thickness]); }; ...
glb/cad_52b082b7d6c4.glb
Create a Bose Aviation Headset Yoke, a C-shaped mounting bracket. The main body is a curved, flattened ring with an outer radius of 58mm and an inner radius of 53mm, scaled by 0.76 along the Y-axis to create an elliptical profile. The ring has a thickness of 4mm. At each end of the C-shape, integrate a cylindrical scr...
module ausine() { rotate([0, 0, 16]) translate([55, 0, 1.5]) rotate([0, 103, 0]) cylinder(r=6.25/2, h=10, $fn=20); translate([0, -42, 0]) rotate([-90, 0, 0]) cylinder(r=2.06, h=84, $fn=20); %translate([0, 0, -15]) rotate([0, 0, 4]) scale([1, 0.75, 1]) cylinder(r=50, h=20); } module block_holes() { t...
glb/cad_69ee50be8cff.glb
Create a Cyclocross Tyre Gauge consisting of a U-shaped caliper and a handle. The caliper is formed by a central gap 33mm wide and 20mm high. The walls of the caliper are constructed by blending cylinders of 3mm and 6mm radii at the corners to create a thick, rounded frame. Remove a 2mm radius cylindrical channel from ...
$fn=100; gap=33; h = 20; outer = 3; inner = 6; bevel = 2; module bcylinder(r, h, b=0.5) { cylinder(r1=r-b, r2=r, h=b); translate([0, 0, abs(b)]) cylinder(r=r, h=h-2*b); translate([0, 0, h-abs(b)]) cylinder(r2=r-b, r1=r, h=b); } module caliper() { difference() { union() { hull() {...
glb/cad_af1f1814acd6.glb
Create a Shogi game piece designed for vase mode printing. Start with a central rectangular block that is 28.7mm wide, 9.7mm thick, and 32mm tall. Modify this block by removing material using several large intersecting cubes to create a tapered, wedge-like profile. Specifically, apply symmetrical angled cuts of 9 degre...
shogi(32.0, 9.7, 28.7, 6, "王将", ""); module shogi(length, thickness, width, slant, label1, label2){ difference(){ cube([width,thickness,length], center=true); translate([0 - width /2 - 40 / 2 + sin(9) * length / 2,0,0]){ rotate([0,9,0]){ cube([40,40,40], center=true); ...
glb/cad_5de2c42a611c.glb
Create a Replacement Holder for a bike mudguard rod. Start with a base plate that is 23mm wide, 20mm high, and 2mm thick. Centered on this plate, add a rectangular block that is 13.3mm wide, 13.8mm high, and 1.6mm thick. On top of this block, create a cylindrical cutout to accommodate a holding rod with a diameter of ...
eps = 0.001; eps2 = eps * 2; B_L = 13.3; T_L = 13.8; D_L = 1.6; B_B = 23; T_B = 20; D_B = 2.0; Dia_Hltr = 4.8; A_Hltr = 0.0; P_Kbdr = 0.0; W_Kbdr = 4.7 + 0.3; D_Kbdr = 1.3 + 0.3; Dia_Kbdr = 8.0; WK_Kbdr = 7.5 + 0.3; TK_Kbdr = 7.3 + 0.3; HK_Kbdr = 5.4 + 0.2; Offs_Kbdr = 2.0; W_Hltr = D_Kbdr; H_Hltr = A_Hltr + Dia_...
glb/cad_678d0608c24c.glb
Create a replacement holder for a bike mudguard rod. Start with a base plate that is 23mm wide, 20mm high, and 2mm thick. Centered on this plate, add a rectangular block that is 13.3mm wide, 13.8mm high, and 1.6mm thick. On top of this block, create a cylindrical cutout to accommodate a holding rod with a diameter of ...
eps = 0.001; eps2 = eps * 2; B_L = 13.3; T_L = 13.8; D_L = 1.6; B_B = 23; T_B = 20; D_B = 2.0; W_Kbdr = 5.0; D_Kbdr = 1.5; Dia_Kbdr = 8.0; WK_Kbdr = 7.5; TK_Kbdr = 7.5; HK_Kbdr = 5.5; Offs_Kbdr = 2.0; Dia_Hltr = 4.8; A_Hltr = 0.0; P_Kbdr = 0.0; W_Hltr = D_Kbdr; H_Hltr = A_Hltr + Dia_Hltr/2; view="print"; if (v...
glb/cad_28ca2e3e1046.glb
Create a Draw and Discard Deck Holder consisting of two identical mirrored compartments. For each compartment, create a base floor with a thickness of 1mm. From this floor, extend two side walls and a central dividing wall, each 1mm thick, to a total height of 95mm. The side and dividing walls should be angled outward ...
CARD_WIDTH = 60; CARD_HEIGHT = 90; BUFFER = 5; MIN_HEIGHT = 1; ANGLE = 10; STACK_SIZE = 15; FINGER_DIAMETER = 30; WALL_WIDTH = 1; FILLET_RADIUS = 3; cy = sin(ANGLE) * (CARD_WIDTH + BUFFER); cx = cos(ANGLE) * (CARD_WIDTH + BUFFER); module filletTool(r, fn) { translate([-r, -r]) difference() { ...
glb/cad_28fc84fd56cc.glb
Create a magnet hat adapter by constructing a thick-walled hollow cylinder. The main body should be a cylinder with an outer diameter of 8mm and a total height of 5mm, using a 36-facet resolution. Carve a concentric hole through the center with a diameter of 5.2mm and a depth of 4mm, leaving a solid base at the bottom ...
inner_diameter = 5.2; outer_diameter = 8; inner_height = 4; outer_height = 5; $fn = 36; rotate([180, 0, 0]) difference() { cylinder(h = outer_height, d = outer_diameter); translate([0, 0, -0.1]) cylinder(h = inner_height + 0.1, d = inner_diameter); }
glb/cad_9f55d732ad5a.glb