Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Hue Play Holder consisting of a mounting base and a supporting arm. Start with a rectangular base plate measuring 48mm by 38mm with a height of 56.4mm. From this base, remove a large rectangular section starting 3.2mm from the edges, leaving a wall thickness of 3.2mm, and drill a vertical hole with a 3.2mm rad...
$fn = 128; thickness = 3.2; thicknessTable = 50.2; anchorSize = 38; anchorOffset = 10; screwRadius = 6.4/2; translate([0,0,-thicknessTable-2*thickness]) difference() { cube([anchorSize+anchorOffset,anchorSize,thicknessTable+2*thickness], false); translate([thickness,0,thickness]) cube([anchorSize+anchorOff...
glb/cad_25a5f829e7ff.glb
Create a 1U rack mount point for a 1 5/8" x 13/16" strut channel. The main body is a rectangular block measuring 45mm wide, 45mm deep, and 25mm high. On the front face, center a vertical slot 20mm wide and 47mm high, but truncate the bottom of the block to create a flat base. Within this central area, create three ci...
translate([0, 0, -20]) difference() { union() { intersection() { cylinder(d = 36.5, h = 10.2 + 4.7); union() { translate([0, 0, 9/2]) cube([36.5, 22, 9], center = true); translate([-17, 0, 11/2]) cube([4.5, 22, 11], center = true); translate([ 17, 0, 11/2]) cube([4.5, 22, 11], ...
glb/cad_1cc82264fbbb.glb
Create a pegboard spacer by constructing a hollow cylinder. Start with a solid outer cylinder that has a diameter of 14mm and a height of 8.5mm. Center a cylindrical hole with a diameter of 6mm through the middle of the object along its entire height to create a wall thickness of 4mm. Ensure the final geometry is a pre...
$fn=100; spacer_hole_diameter = 6.0; spacer_wall_thickness = 4.0; spacer_height = 8.5; difference() { cylinder(d=spacer_hole_diameter+spacer_wall_thickness*2, h=spacer_height, center=true); cylinder(d=spacer_hole_diameter, h=spacer_height+0.1, center=true); }
glb/cad_e1dff7565923.glb
Create a BMW C1 Overload Protection part with a total body thickness of 15.6mm. The main structure is based on a central cylindrical void with a radius of 7.125mm (14.25mm diameter). The outer boundary of the body is defined by a radius of 17.425mm. On the top surface, add two pins with a radius of 2.65mm and a height...
$fn=80; body_thickness = 15.6; inner_radius = 14.25/2; outer_radius = inner_radius + 10.3; top_pin_radius = 5.3/2; top_pin_height = 14.11; top_pin_circle_radius = 13; top_pin_rot_z = 0; bottom_pin_radius = 7.8/2; bottom_pin_height = 4.85; bottom_pin_cicrle_radius = outer_radius - 6.58 + bottom_pin_radius; module pi...
glb/cad_1c07706ccd32.glb
Create a parametric wheel with a total height of 60mm and a width of 20mm. The main body is a solid of revolution created by rotating a specific profile around the central axis. This profile is a polygon defined by the points [0, -10], [20, -10], [20, 0], [30, 10], and [0, 10] in the XY plane, which creates an inward V...
clear=0.02; wHeight=60; wWidth=20; wShape="inwardV"; bOuterDia=22; bInnerDia=8; bWidth=7; if (wShape == "flat") { makeFlatWheel(); } else if (wShape == "rounded") { makeRoundedWheel(); } else if (wShape == "pointed") { makePointedWheel(); } else if (wShape == "inwardV") { makeInwardVWheel(); } el...
glb/cad_ef0c3b5f2c3a.glb
Create a bathroom towel radiator trinket shelf consisting of a circular base and a vertical sleeve. Start by creating a flat, circular disc with a diameter of 100mm and a thickness of 3mm. Centered on this disc, construct a vertical sleeve to slide over a radiator rail. This sleeve should have an outer diameter of 36.5...
top_dia = 100; rail_dia = 30.5; rail_d = 50; rail_h = 40; thi = 3; $fn=100; union() { hull() { translate([0, 0, 0]) linear_extrude(0.1) circle(d=top_dia); translate([0, 0, thi]) linear_extrude(0.1) circle(d=top_dia - thi); } difference() { rail_y = rail_d/2 ...
glb/cad_0c33e6e339d0.glb
Create a Gridfinity bin with a hinged lid. The bin is a single-unit base (42mm x 42mm) with a height of 24.8mm (calculated as 3.5 units of 7mm plus a 3.8mm lip). The bin is a solid container with no internal divisions. At the rear top edge of the bin, integrate a hinge mechanism. The hinge consists of a horizontal cyl...
include <gridfinity-rebuilt-utility.scad> $fa = 8; $fs = 0.25; grid_dimensions_1 = 1; grid_dimensions_2 = 1; gridz = 3.5; divx = 1; divy = 1; gridz_define = 0; height_internal = 0; enable_zsnap = false; style_tab = 5; style_lip = 2; scoop = 0; only_corners = false; style_hole = 0; div_base_x = 0; div_ba...
glb/cad_9c275f97ca16.glb
Create a Coin Trap puzzle by starting with a solid cube that has a side length of 19.05mm and rounded corners with a radius of 2mm. Center this cube on the origin. From this solid, remove a central sphere with a radius of 9.75mm (slightly larger than half the cube's side). Additionally, remove three identical cylinders...
$fn = 100; coin_size = 19.05; coin_radius = coin_size/2; translate([0,0,coin_size/2]) { difference() { translate([0,0,-coin_size/2]) roundedRect([coin_size,coin_size,coin_size], 2); sphere(r = coin_radius + 0.2); translate([0,0,-coin_size*1.4/2]) cylinder(coin_size*1.4, coin_radius*.75, coin_radius*.75); ...
glb/cad_c13bc36c6844.glb
Create a small knob for hanging a broom. Start by constructing a main vertical shaft with a diameter of 9mm and a height of 22mm. At the top of this shaft, add a rounded head formed by a torus-like ring with an outer diameter of 14mm and a thickness of 2.5mm. To ensure the head blends into the shaft, place a cylinder w...
qo=0.01; $fn=21; l=22; d1=9; d2=14; id=5; hd=10; function qo2() = 2*qo; function kw() = (d2-d1)/2; difference(){ union(){ cylinder(h=l,d=d1); translate([0,0,l+kw()/2]) { rotate_extrude(convexity = 10) translate([(d2-kw())/2, 0, 0]) circle(d=kw...
glb/cad_2226e1c815cd.glb
Create a parameterized tray with a rectangular base and flared walls. Start by constructing a solid base with a width of 60mm and a length of 75mm. From this base, extend the walls upward to a height of 10mm, angling them outward so that the top opening reaches a width of 80mm and a length of 95mm. The walls and the ba...
BW = 60; BL = 75; TW = 80; TL = 95; H = 10; T = 1; WA = (TW - BW) / 2; LA = (TL - BL) / 2; Points = [ [0,0,0], [BW,0,0], [BW,BL,0], [0,BL,0], [-WA,-LA,H], [BW+WA,-LA,H], [BW+WA,BL+LA,H], [-WA,BL+LA,H]]; Points_I = [ [T,T,T], [BW-T,T,T], [BW-T,BL-T,T], [T,BL-T,T], [-WA+T,-LA+T,H+T], [BW+WA...
glb/cad_baa92892897a.glb
Create a reinforcement springform lid handle by combining a cylinder and a rectangular block. Start with a cylinder that has a diameter of 22mm and a height of 10mm, using a facet resolution of 34 sides. Position a rectangular block measuring 25mm in width, 3mm in height, and 13mm in depth so that it intersects the cyl...
cylinder(h=10,d=22,$fn=34); translate([-12.5,-1.5,0]) cube([25,3,13]);
glb/cad_262924c6e39b.glb
Create a MKS GEN 1.4 mount for a 2040 aluminum rail. Start with a rectangular base plate measuring 15mm by 3mm. At the top of this plate, centered at coordinates (20, 7, 10), remove a cylindrical section with a diameter of 20mm and a height of 8mm. To manage wiring for the heated bed and power cables, add four cable ...
include <../lib/common_wire_mount.scad> seventeen = 17; module top_wire_holder(out_d, in_d){ translate([0,-2,-10]){ difference() { plate_mount_top(15, 3); translate([20, 7, 10]){ rotate([90, 0, 0]) cylinder(d=20, h=8); } } } ...
glb/cad_1df98bbc37b9.glb
Create a Band Saw Insert consisting of two stacked cylindrical layers. The base layer is a cylinder with a diameter of 70mm and a thickness of 4.7mm. Centered on top of this is a second cylinder with a diameter of 55mm and a thickness of 4mm. On the outer edge of the base layer, add a small cylindrical protrusion with ...
top_thickness=4.7; top_diameter=70; bottom_thickness=4; bottom_diameter=55; bottom_inset_diameter=25; key=3.5; hole=8; blade_width_allowance=1.5; side_offset=0; front_back_offset=10; blade_box_width=4; blade_box_length=20; $fn=300; difference(){ difference(){ difference(){ difference(){ union(){ cylinder(...
glb/cad_76b53707247b.glb
Create a propeller consisting of a central hub and radiating blades. Start by constructing the hub as a cylinder with a radius of 3mm and a length of 12mm, capped at the top with a hemisphere of the same 3mm radius. Drill a 0.5mm diameter hole through the entire center axis of the hub. Add three blades equally spaced ...
Hub_Radius = 3; Hub_Length = 12; Hub_Facets = 100; Hub_Center_Hole=0.5; Rounded_Hub=true; Blades=3; Blade_Length=46; Blade_Width=5; Blade_Thickness=0.8; Blade_Facets = 100; Blade_Rotation=45; Blade_Position=50; angle = 0; difference(){ union(){ MakeHub(); MakeBlades(); }{ translate([0,0,-0.1]) cylinder(Hub_Length...
glb/cad_808691d70f60.glb
Create a vase by extruding a complex 2D profile vertically to a total height of 80mm, applying a 50-degree twist along the Z-axis with a resolution of 120 slices. The base profile is composed of several overlapping squares, each with a side length of 40mm. Start with a central square centered at the origin. Add four ad...
altura_copo = 80; largura_copo=40; number_of_slices = 120; twist_degrees = 50; translatex1 = 7.5; translatey1 = 8.5; translatey2 = 4.2; linear_extrude(height = altura_copo,center=true, twist = twist_degrees, slices = number_of_slices) { square(largura_copo,center=true); translate([0,-translatey1,0]) square(...
glb/cad_bf07d4314045.glb
Create a paint rack for an ArtBin Sidekick 8408AB craft box. Start with a rectangular base sheet measuring 150mm by 150mm with a thickness of 1.6mm and rounded corners. Within this sheet, create a hexagonal grid of circular cutouts to hold paint bottles. Each cutout should have a radius of 12.75mm and a depth of 1.6m...
use <geodesic_sphere.scad> container_width = 150; container_height = 150; render_obj = "complete"; paint_bottle_radius = 12.75; surface_thickness = 1.6; brace_width = 4; min_separation = (paint_bottle_radius + surface_thickness) * 2; count_wide = floor(container_width / min_separation); count_high = floor(contain...
glb/cad_62e595d5729a.glb
Create a Voronoi flowerpot lid consisting of three concentric cylindrical components. First, construct a thin outer ring with an outer diameter of 115mm and an inner diameter of 96mm, with a height of 1.9mm. Second, create a supporting inner wall that extends downwards from the base of the outer ring; this wall should ...
inner_diameter = 100; outer_diameter = 115; outer_height = 1.5; pattern_width = 1; pattern_height = 1.4; lid_wall_thickness = 2; lid_wall_height = 8; $fa = 4; pattern_diameter = inner_diameter - lid_wall_thickness; cells = 60; cell_seed = 38; cell_radius = 2; use <voronoi.scad>; difference() { cylinder...
glb/cad_ea0130fbdfe3.glb
Create a RepRack rod clamp with a total thickness of 10mm. The main body is a symmetrical shape formed by a central circle with a diameter of 30mm, flanked by two smaller circles with diameters of 16mm positioned 22.5mm from the center on each side. These three circular profiles are blended together into a single solid...
CONDUIT_DIA = 18.25; THICKNESS = 10; NOTCH_SPACE = 1.5; NUT_DIA = 6.4; NUT_DEPTH = 2.5; SCREW_DIA = 3.5; LARGECIRCLE_DIA = 30; SMALLCIRCLE_DIA = 16; difference() { union () { ty(LARGECIRCLE_DIA/2+2.5-1) rcube(x=12, y=7, z=THICKNESS, fillet=1); hull(){ linear_extrude(THI...
glb/cad_3be8d2285179.glb
Create a drill template for mounting an ATV rim to a motor hub. Start with a primary base consisting of two stacked cylinders: a wide lower disc with a diameter of 105mm and a height of 3mm, and a smaller upper cylinder centered on top with a diameter of 54.5mm and a height of 10mm. Add three protruding alignment pins...
$fn = 100; atv_stud_radius = 45; atv_studs = 3; atv_stud_degrees = 360 / atv_studs; atv_stud_size = 8.2; quantum_stud_radius = 76 / 2; quantum_studs = 5; quantum_stud_degrees = 360 / quantum_studs; quantum_stud_size = 9; difference() { union() { cylinder( h = 10 , d = 55 - 0.5 ); cylinder( h = 3 , d = 105 ); for(at...
glb/cad_d24c5d307d31.glb
Create a customizable wedge with a length of 60mm, a width of 35mm, and a starting height of 10mm that tapers down to an end height of 2mm. The overall shape should be a right-angled wedge where the top surface slopes linearly from the 10mm edge to the 2mm edge over the 60mm length. Apply a consistent 1mm radius fillet...
$fn=40; radius = 1; offset = radius*2; length = 60; width = 35; begin_height = 10; end_height = 2; minkowski() { { linear_extrude(height = width - offset, center = false) polygon(points=[[0,0],[length - offset,0],[length - offset,begin_height - offset],[0,end_height - offset],[0,0]]); } sphere(r=radius); }
glb/cad_e45937617fb2.glb
Create a Periodic Table element tile with a base measuring 40mm by 40mm and a thickness of 1.4mm. The base should have rounded corners with a radius of 3mm. Add a raised border frame around the perimeter of the base. This frame should be 1.2mm wide, positioned 0.8mm from the outer edge, and have a height of 0.6mm abo...
elements = "26"; base_thickness = 1.4; print_thickness = 0.6; width = 40; length = 40; border = 0.8; frames = 1; frame_width = 1.2; frame_spacing = 1.0; roundiness = 3; slanted_edge = false; font = "Arial"; deboss = false; $fn = 100; fantasy_number = "188"; fantasy_abbriviation = "Pr"; fantasy_name = "P...
glb/cad_0e626a7f99c2.glb
Create a Pandemic Inset Box with overall exterior dimensions of 192mm width, 127mm length, and 24mm height. The box should have a uniform wall thickness of 3mm for the floor and all outer perimeter walls. Hollow out the interior to a depth of 21mm. Divide the interior space into sections using 3mm thick walls. First,...
$fa = 1; $fs = 0.4; width_box=192; length_box=127; height_box=24; wall_thick_box=3; rem_space=width_box-65-(3*wall_thick_box); difference() { cube([width_box,length_box,height_box]); translate([wall_thick_box,wall_thick_box,wall_thick_box]) cube([width_box-2*wall_thick_box+0.01,length_box-2*wall_thick_b...
glb/cad_e4a11684d170.glb
Create an SK12 rod support consisting of a main vertical block and a wide base. The main block is a rectangular prism 20mm wide, 37.5mm high, and 25mm deep. Attached to the bottom is a base plate 50mm wide, 6mm high, and 25mm deep, centered on the block. Remove a central vertical slot 2mm wide and 30mm high from the t...
fullheight = 37.5; footheight = 6; fulldepth = 25; footwidth = 50; roddiameter = 12; footboltdiameter = 8.2; block(); module block() { difference() { union() { translate([0,0,0]) cube([20,fullheight,fulldepth], center=true); translate([0,-fullheight/2+footheight...
glb/cad_4153bf924163.glb
Create a hobby paint shaker top plate by starting with a tapered cylinder that has a bottom diameter of 125mm, a top diameter of 130mm, and a height of 6mm. From the center of the top face, remove a vertical cylindrical core with a diameter of 31mm. Around this center, create six equidistant circular wells with a dia...
plate_diameter = 130; pot_diameter = 35; pot_top_diameter = 31; pot_top_hole_diameter = 10; thread_diameter = 4; bolt_head_radius = 4; bolt_head_thickness = 3.2; plate_thickness = 6; well_depth = plate_thickness * 0.75; center_distance = pot_diameter + 2; $fn = 100; top_plate(); module base_plate() { rotate([0, 1...
glb/cad_02ff3f40e20c.glb
Create a parametric card display holder designed for a card measuring 93mm by 67mm. Construct a main body that is a tilted rectangular box with a wall thickness of 0.8mm. The interior cavity should be 93mm long and 67mm wide, tilted back at an angle of 10 degrees from the vertical. The base of the holder should be a fl...
card_l = 93; card_w = 67; display_tilt = 10; display_overhang = 2.2; module card_display(inner_l, inner_w, tilt = 10, overhang = 2.2) { wall = 0.8; l = inner_l + wall; w = inner_w + (2 * wall); h = 1 + (2 * wall); r = 90 - tilt; crl = cos(r) * l; srh = sin(r) * h; difference() { ...
glb/cad_799072940b95.glb
Create a battery box with overall dimensions of 87mm in width, 102mm in length, and a height of 10mm. The main body should be a rectangular block with rounded corners, where the rounding is defined by a 5mm radius. The base of the box has a minimum wall and bottom thickness of 4mm. Within this block, create a grid of...
box_width=87; box_length=102; hole_depth=10; hole_diameter=10.8; wall_size=5; min_hole_distance=0.5; $fn=50; bottom=wall_size-1; difference () { hull () { union () { translate ([wall_size,wall_size,0]) cylinder(hole_depth-bottom,wall_size,wall_size); translate([wall_size,wall_size,hole_depth-...
glb/cad_0cfa6ef93d94.glb
Create a Dupont connector safety lock by constructing a base platform and adding vertical retaining walls. Start with a rectangular base measuring 32.4mm in width, 5mm in depth, and 2mm in height. On the top surface of this base, center a rectangular cutout measuring 30mm by 2.6mm and 7.8mm deep to accommodate the conn...
connectors_width = 30; connectors_height = 7.8; connectors_depth = 2.6; wall_size = 1.2; lock_size = 0.4; side_width = 8; side_height = 5; tab_width = 12; gap_height = 1; hole_width = 10; wire_width = 1.8; base_height = 1; difference() { union() { translate([-connectors_width/2 - wall_size, -connectors_depth/2 - wall...
glb/cad_d2cc3861d209.glb
Create a Symmetric Spheroform Tetrahedron, a solid of constant width, with a total width of 50mm. The geometry is based on a Reuleaux tetrahedron but modified to maintain a constant width in all directions. Construct the shape by generating a surface that represents the outermost envelope of spheres swept along the e...
width = 50; intscale = 0.8; part = "whole"; segs = 48; isegs = 48; teeth = 6; AT = 0.001/1; v1 = [sqrt(8/9), 0, -1/3]/1; v2 = [-sqrt(2/9), sqrt(2/3), -1/3]/1; v3 = [-sqrt(2/9), -sqrt(2/3), -1/3]/1; v4 = [0, 0, 1]/1; a = sqrt(8/3); k = width / a; function indx(v,i=0,t=0,r=[])=i<len(v)?indx(v,i+1,t+len(v[i]),conc...
glb/cad_2d7a723fe4dc.glb
Create a charging station mount consisting of two identical compartments side-by-side. For each compartment, construct a solid block with a height of 60mm, a width of 52mm, and a depth of 52mm. From this block, remove a central rectangular volume of 48mm wide, 48mm deep, and 60mm high, starting from a base offset of 2m...
module single() { difference() { translate([0, 52, 0]) rotate([90, 0, 0]) linear_extrude(52) { polygon(points=[ [0, 0], [52, 0], [52, 17], [50, 17], [2, 60], [0, 60], ]); ...
glb/cad_5b9d8e934db3.glb
Create a Miao Miao 2 top cover consisting of a combined circular and rectangular housing with a total height of 7mm. Start by creating a main circular section with an outer diameter of 27mm and a height of 7mm. Hollow this cylinder out by removing a concentric cylinder with a diameter of 26mm, starting from a height of...
translate ([30,30,0]) { difference () { cylinder(d=27,h=7,$fn=100); translate ([0,0,5]) cylinder(d=26,h=3,$fn=100); translate ([0,-8.5,5]) cube([29,17.5,3]); }; difference () { translate ([9,-9,0]){ cube ([29.3,18.5,7]); } cylinder(d=27,h=8,$...
glb/cad_11abd138e36d.glb
Create a Simple Spool Holder by designing a flat plate with a thickness of 5mm. The main body is a rounded rectangle with a total width of 132mm and a height of 30mm, featuring corner radii of 2.5mm. Within this plate, create two circular holes, each with a radius of 5.9mm. Position the first hole centered horizontally...
$fn = 50; cr = 2.5; cd = cr * 2; h = 30; w = 132; hr = 5.9; hs = 110; linear_extrude(5) { difference() { hull() { translate([cr, cr, 0]) { circle(d=cd); } translate([h - cr, cr, 0]) { circle(d=cd); } translate([h ...
glb/cad_781da6c1b0b7.glb
Create a belt holder for a 6mm wide GT2 belt. The main body is a small, rounded block with a total height of 10mm. The overall shape is formed by the intersection of a complex rounded profile and a large prism. Start with a central vertical hole with a diameter of 5mm to accommodate an M5 bolt, passing through the ent...
module belt_holder(belt_width=6, bolt_hole=5, angle=50){ smidge=0.001; B=belt_width+1; H=belt_width+4; D=bolt_hole/2+0.05; difference(){ hull(){ translate([0,-4,H/2])cube([1,smidge,H], center=true); translate([0,5,H/2])cylinder(r=4.35, h=H, center=true); } ...
glb/cad_fd98811f9249.glb
Create a five-sided die for the Royal Game of Ur. Start by constructing a solid body using a convex hull that connects three pentagonal prisms centered on the same vertical axis. The bottom and top prisms must each have a radius of 5mm and a height of 4mm, with the top prism positioned 40mm above the base. Connecting t...
difference () { hull () { cylinder (r = 5, h = 4, $fn = 5); translate ([0, 0, 4]) cylinder (r = 7.5, h = 36, $fn = 5); translate ([0, 0, 40]) cylinder (r = 5, h = 4, $fn = 5); } for (i = [0:4]) rotate ([0, 0, 3 * i * 360/5]) translate ([35, 0, (...
glb/cad_7c50ecaa4641.glb
Create a 3D model of a whipped cream swirl. Start by creating a circle with a radius of 25mm. Extrude this circle vertically to a total height of 50mm. During the extrusion process, apply a continuous twist of 720 degrees (two full rotations) while simultaneously scaling the cross-section down to 1% of its original siz...
$fn=100; linear_extrude(height=50, twist=2 * 360, scale=0.01, slices=100) translate([5,0,0]) circle(25); translate([5,0,-2.5]) { intersection() { cube([60, 60, 5], center=true); scale([1.02, 1.02, 0.5])sphere(25); } }
glb/cad_f8417f382907.glb
Create an Oathsworn card box by starting with a solid rectangular block measuring 84mm wide, 73mm long, and 101mm high. Hollow out the center of this block to create an open container with wall thicknesses of 1.75mm on all sides and the bottom. The interior cavity should extend from the top down to a height of 1.75mm f...
box_width = 84; box_length = 73; box_height = 101; card_size_x = 66; card_size_y = 102; wall_thickness = 1.75; tolerance = 0.5; $fn=60; box(); module box() { difference() { union() { cube([box_width,box_length,box_height]); } union() { translate([wall_thickness...
glb/cad_29e775f8250e.glb
Create a bridging test model consisting of two vertical towers connected by a horizontal bridge. Start by creating a rectangular base plate that is 14mm wide, 5mm deep, and 1mm thick. At each end of this base, place a vertical tower with a width of 2mm and a depth of 5mm, extending to a total height of 6mm. Connect t...
module first_layer(distance,tower_w,depth) { cube([distance + tower_w * 2,depth,1]); } module bridge(tower_w,height,deck_thickness,distance) { translate([tower_w,0,height - deck_thickness]) { cube([distance,depth,deck_thickness]); } color("red") { cube([tower_w,depth,height]...
glb/cad_a9920bd6ffc5.glb
Create an S-shaped hook consisting of two mirrored, interlocking open rings with a total height of 25mm. First, construct the upper ring by creating a hollow cylinder with an inner diameter of 34mm and a wall thickness of 6mm. Position this ring so its center is at [17mm, 0, 0]. Cut away exactly 50% of the ring's cir...
hookWidth = 25; thickness = 6; upperRingDiameter = 34; upperRingRadius= upperRingDiameter/2; upperRingCutRange = upperRingRadius + thickness; upperRingCutPercent = 50; upperRingCutback = upperRingCutRange * (upperRingCutPercent/100); lowerRingDiameter = 34; lowerRingRadius= lowerRingDiameter/2; lowerRingCutRang...
glb/cad_6c5815978bdc.glb
Create an aerobar holder by constructing a hollow cylinder with an outer diameter of 25mm, an inner diameter of 23mm, and a height of 30mm. Centered on the top rim of this cylinder, attach a rectangular tab that is 10mm wide, 1.5mm thick, and extends 10mm upward from the top edge. Pierce a 3mm diameter hole completely ...
$fa = 1; $fs = 0.25; holder_diamater = 23; holder_height = 30; edge_width = 2; base_depth = 1.5; base_width = 10; difference(){ translate([0,(holder_diamater+base_depth)/2,5]) cube([base_width, base_depth, holder_height+10], center=true); translate([0,0,holder_height/2 + 5]) rotate([90,0,0]) ...
glb/cad_03851732c1bd.glb
Create a Two Pyramid Trisection of a cube by constructing two identical pyramids and joining them. First, create a pyramid with a square base of 25mm by 25mm and a height of 12.5mm, where the apex is centered directly above the middle of the base. Position this first pyramid so its base lies on the XY plane with one co...
union() { polyhedron(faces = [[0, 4, 6, 2], [0, 2, 8], [0, 8, 4], [4, 8, 6], [6, 8, 2]], points = [[0, 0, 0], [0, 0, 25], [0, 25, 0], [0, 25, 25], [25, 0, 0], [25, 0, 25], [25, 25, 0], [25, 25, 25], [12.5000000000, 12.5000000000, 12.5000000000]]); translate(v = [0, 25, 0]) { rotate(a = [90, 0, 0]) { polyhedron(f...
glb/cad_6cac7e073865.glb
Create a Hand Painting Pail designed to hold a 2-liter soda bottle insert. The main body is a hollow cylinder with an outer diameter of 114mm and a height of 160mm, featuring a wall thickness of 2mm. The bottom of the cylinder is closed with a base 12mm thick. Inside the main cylinder, create a central void with a dia...
popBottleDiameter = 112; containerThickness = 2; containerHeight = 160; handleCylinderOutsideWidth = 40; bottomThickness = 12; handleCylenderCenterX = -32; difference() { union() { difference() { union() { cylinder(containerHeight, (popBottleDiameter/2) + containerThickness, (p...
glb/cad_de8eaf91b8f2.glb
Create a Hand Painting Pail designed to hold a 2-liter soda bottle insert. The main body is a hollow cylindrical container with an outer diameter of 116mm (112mm internal diameter plus 2mm wall thickness) and a height of 160mm. The base of the container is solid with a thickness of 12mm. Construct a separate top scrap...
popBottleDiameter = 112; containerThickness = 2; containerHeight = 160; handleCylinderOutsideWidth = 40; bottomThickness = 12; handleCylenderCenterX = -32; difference() { union() { difference() { union() { intersection() { translate([0,-15,0]) CubeWithRoudedE...
glb/cad_0d1a26daf269.glb
Create a hand painting pail designed to hold a 2-liter soda bottle insert. The main body is a cylindrical container with an outer diameter of 116mm (112mm internal diameter plus 2mm wall thickness) and a height of 160mm. The container is not a full circle; it features a gap in the wall, created by an extrusion that cov...
popBottleDiameter = 112; containerThickness = 2; containerHeight = 160; handleCylinderOutsideWidth = 40; bottomThickness = 15; handleCylenderCenterX = -32; translate([0,0,containerHeight+.5]) union() { for (i=[0:4]) rotate((i * 60) - 120) rotate([0,0,-10]) rotate_extrude(angle = 20, $fn=100) tr...
glb/cad_5845b52d16a0.glb
Create a single link for a parametric drag chain with a width of 30mm, length of 45mm, and height of 15mm. The main body is a rectangular block with rounded ends. The ends are formed by two semi-cylindrical shells with a radius of 7.5mm, creating a hollowed-out interior. The side walls are thin, and the top is open. ...
width= 30; length=45; height=15; max_angle = 50; under_angle=0; over_angle=25; inner_axis=0; closed=0; clip=1; tolerance = 0.2; toothpick = 2.1; multicolor_block=0; mcb_height=2; screw_hole=true; module outline(width, length, height, radius, l1, angle_under, angle_over) { y_ofs = l1 / 2; t = radius ...
glb/cad_781ba4f13617.glb
Create a Minecraft Creeper figure by combining several blocky geometric elements. Start with a main body consisting of a central rectangular prism measuring 32mm wide, 21mm deep, and 44mm tall, centered at the base. Above this, place a large cubic head measuring 32mm on all sides, centered atop the body. To form the l...
union() { union() { translate(v = [8.5000000000, 10.5000000000, 11.0000000000]) { cube(center = true, size = [15, 15, 22]); } translate(v = [-8.5000000000, 10.5000000000, 11.0000000000]) { cube(center = true, size = [15, 15, 22]); } translate(v = [-8.5000000000, -10.5000000000, 11.0000000000]) { cub...
glb/cad_88799e7f571b.glb
Create a light bulb extractor tool by constructing a hollow, tapered cylinder with a total length of 45mm. The outer wall of the tool should be a tapered cylinder that starts with a diameter of 18mm at the base and widens to 22mm at the top. The wall thickness of this outer shell is 2mm. To create the interior cavity, ...
$fs = $preview ? 1 : 0.15; $fa = $preview ? 3 : 2; epsilon = 0.01; thick = 2; base = 1; bulb = 18; clearance = 2; length = 45; difference () { cylinder (h=length, d1=bulb-clearance+thick, d2=bulb+clearance+thick); translate ([0,0,base]) cylinder (h=length, d1=bulb-clearance, d2=bulb+clearance); }
glb/cad_d22cd708f8a6.glb
Create a twisted vase by extruding a circular ring vertically to a height of 120mm. The ring should be defined by two concentric circles centered at coordinates (5, 5), with an outer radius of 45mm and an inner radius of 43mm. As the ring is extruded upward, apply a full 360-degree twist along the vertical axis. To clo...
$fn=64; difference() { linear_extrude(height=120, twist=360) translate([5,5,0]) circle(45); linear_extrude(height=120, twist=360) translate([5,5,0]) circle(43); } translate([5,5,0]) cylinder(r=44, h=1.2);
glb/cad_0cb29337b039.glb
Create an Ivar hook for hanging canvases by combining four geometric elements. Start with a central rectangular plate that is 18mm wide, 30mm high, and 2mm thick, centered on the origin. At the center of the plate's left edge, attach a cylinder with a radius of 3mm and a length of 20mm, extending horizontally outward. ...
$fn=100; rotate([0,90,0]) cylinder(h=20,r=3); translate([0,-10,-15]) cube([2,18,30], center="true"); translate([10,-11,-15]) rotate([0,0,90]) cube([2,10,30], center="true"); translate([2,-10,0]) rotate([75,0,0]) cylinder(h=17, r=2);
glb/cad_a5ec87166bcc.glb
Create an Ivar hook for hanging canvases by combining a central plate with two perpendicular cylindrical pegs. Start with a rectangular plate measuring 18mm in width, 30mm in height, and 2mm in thickness. Position a first cylinder with a radius of 3mm and a length of 20mm so that it extends horizontally from the center...
$fn=100; mirror([180,0,0]) union() { rotate([0,90,0]) cylinder(h=20,r=3); translate([0,-10,-15]) cube([2,18,30], center="true"); translate([10,-11,-15]) rotate([0,0,90]) cube([2,10,30], center="true"); translate([2,-10,0]) rotate([75,0,0]) cylinder(h=17, r=2); };
glb/cad_77b76293f3e1.glb
Create a customizable hanging bracket. Start by forming the main vertical body as a rounded rectangular block with a height of 35.5mm, a length of 80mm, and a width of 20mm, where the ends are semicircular. Attach a flat base flange to the bottom of this body; the flange should be 5mm thick and extend outward to create...
bracket_height = 35.5; body_length = 80; body_width = 20; shelf_width =20; shelf_thickness = 5; number_of_screws=3; screw_length = 12; screw_diameter = 4; screw_head_diameter = 12; layer_height=0.2; fl_rad = (body_width/2) / 1.618; smooth = 100; module bracket(){ hull() { cylinder (r=body_width/2, h=brack...
glb/cad_3f979bf0de1d.glb
Create a Z axis linear bearing holder by starting with a solid rectangular block measuring 43mm in length, 29mm in width, and 19mm in height. Centered on the top face, remove a vertical cylindrical hole with a radius of 9.75mm and a depth of 21mm. Additionally, create two horizontal holes that pass completely through t...
{difference(){union(){ translate([0,0,0]) cube([43,29,19]); }{ translate([21.5,17,-1]) cylinder(r=9.75, h=21,$fn=45); translate([6,30,9.5]) rotate([90,0,0]) cylinder(r=2.6,h=41,$fn=22); translate([37,30,9.5]) rotate([90,0,0]) cylinder(r=2.6,h=41,$fn=22); }}}
glb/cad_e7b9f0b59690.glb
Create a Y carriage plate by starting with a base rectangular block measuring 160mm in length, 71mm in width, and 10mm in height. From this base, remove a large central rectangular section measuring 70mm by 61mm with a depth of 5mm, leaving a remaining wall thickness of 5mm on the sides. Create a series of vertical ...
difference(){union(){ cube([160,71,10]); translate([44,0,0])cube([75,5,10]); translate([41,46,0])cube([78,25,10]); }{ translate([85,28.75,-1])cylinder(r=6,h=20,$fn=90); translate([85,45.75,-1])cylinder(r=6,h=20,$fn=90); translate([6.4,7.2,-1])cylinder(r=2.6,h=20,$fn=33); translate([6.4,27.8,-1])cylinder(r=2.6,h=20,$fn...
glb/cad_d288196a2efb.glb
Create a Y carriage for a 3D printer. Start with a base rectangular plate measuring 150mm in length, 71mm in width, and 5mm in height. Add a central vertical block that is 60mm wide, 4mm thick, and 40mm high, centered along the width at 33.5mm. Flanking this central block, add two rectangular sections on the base: one ...
difference(){union(){ cube([150,71,5]); translate([45,33.5,0])cube([60,4,40]); translate([35,33.5,0])cube([100,4,11]); translate([0,0,0])cube([43,71,11]); translate([107,0,0])cube([43,71,11]); translate([50,0,0])cube([50,5,10]); translate([50,66,0])cube([50,5,10]); translate([44,20,0])cylinder(r=5,h=11,$fn=33); transl...
glb/cad_d0e7f2aa989c.glb
Create a Y carriage for a 3D printer. Start with a base rectangular plate measuring 160mm in length, 71mm in width, and 5mm in height. Add two rectangular blocks on top of this base: one measuring 75mm by 5mm by 10mm positioned at [44, 0, 0], and another measuring 78mm by 25mm by 10mm positioned at [41, 46, 0]. Remove...
difference(){union(){ cube([160,71,5]); translate([44,0,0])cube([75,5,10]); translate([41,46,0])cube([78,25,10]); }{ translate([6.4,7.2,-1])cylinder(r=2.6,h=10,$fn=33); translate([6.4,27.8,-1])cylinder(r=2.6,h=10,$fn=33); translate([34.2,7.2,-1])cylinder(r=2.6,h=10,$fn=33); translate([34.2,27.8,-1])cylinder(r=2.6,h=1...
glb/cad_2f41173771cc.glb
Create a Gridfinity 1x2 bin with a height of 42mm. Within this base, carve out six specific storage slots to hold a mini round saw blade set. First, create five circular vertical holes for the blades. Position these holes in a row, each with a depth of 0.6mm. The diameters for these holes, including a 0.5mm tolerance...
use <gridfinity-rebuilt-openscad/gridfinity-rebuilt-bins.scad> $fn = $preview ? 16 : 64; tollerance = 0.5; show_parts = false; module parts(tollerance=tollerance) { slot = min(0.6 + tollerance, 1.0); saw_1 = 22.0 + tollerance; saw_2 = 25.0 + tollerance; saw_3 = 32.0 + tollerance; saw_4 = 35.0 + tollerance...
glb/cad_cda36244df4f.glb
Create a Paint Bottle Stand consisting of a bottom tray, a top tray, two side panels, and a back panel. For the trays, create two rectangular plates with a thickness of 2.5mm. In each plate, arrange a grid of 6 columns and 2 rows of circular holes. Each hole should have a diameter of 25mm, with 2mm spacing between co...
$vpr=[90 - atan(sin(45)),0,45]*1; $vpd = 600 + 12; Part_type = 1; Bottle_type = 0;Bottle_type = 0; Bottle_columns = 6; Bottle_rows = 2; cols = Bottle_columns; rows = Bottle_rows; Row_style = 0; alt_rows = ( Row_style > 0 ) && ( rows > 1 ); alt_row_id = 1 == Row_style ? 0: 1; Column_spacing = 2.0; x_spacing = Col...
glb/cad_caa580de5690.glb
Create a Tongs Retaining Clip by constructing a rectangular frame with rounded exterior corners and a recessed interior. The overall outer dimensions of the clip are 36mm in width and 28mm in length, with a total height of 10mm. The walls of the frame have a thickness of 4mm. The interior cutout is a rectangle measuri...
Width = 28; Length = 20; Height = 10; Thickness = 4; module __end_customizer_options__() { } $fa = $preview ? $fa : 2; $fs = $preview ? $fs : 0.4; module box_extrude(width, length, radius) { corners_data = [ [0, -1, -1], [90, 1, -1], [180, 1, 1], [270, -1, 1], ]; for ...
glb/cad_f7f96aded5c1.glb
Create a toy drill bit by combining three main geometric sections. Start with a hexagonal base that is 12.7mm high with a diameter of 16.17mm. Directly on top of this base, add a hexagonal cone that tapers from the same 16.17mm diameter at its bottom to a point at a height of 19.05mm. Finally, centered on top of the co...
union() { cylinder($fn = 6, d = 16.165807537309522, h = 12.7000000000); translate(v = [0, 0, 12.7000000000]) { cylinder($fn = 6, d1 = 16.165807537309522, d2 = 0, h = 19.0500000000); } union() { translate(v = [0, 0, 19.0500000000]) { hull() { union() { cube(center = true, size = [7.5000000000, 1.5000...
glb/cad_f96af190cba3.glb
Create a sturdy box for a Glencairn glass consisting of a bottom half and a top lid. The internal cavity of the box must be 72mm wide, 72mm deep, and 123mm high. Both the top and bottom sections should have a wall thickness of 2mm and rounded exterior corners with a 5mm radius. The bottom half is a deep open shell. Th...
part = "both"; box_height = 123; box_width = 72; box_depth = 72; seal_height = 90; latch_num = 1; seal_type = "separate_seal"; $fa = 6; $fs = 0.5; inner_radius = 5; seal_thickness = 10; latch_outset = 10; wall = 2; latch_height = 25.4; latch_width = 12.7; assert(box_height > 0); assert(box_width > 0); as...
glb/cad_fac992a41b8c.glb
Create a sturdy box for Glencairn glasses consisting of a bottom half and a top lid. The internal cavity of the box must be 142mm wide, 69mm deep, and 123mm high. Both the top and bottom sections should have walls 2mm thick and rounded exterior corners with a 5mm radius. The bottom half is a hollowed-out shell of the ...
part = "both"; box_height = 123; box_width = 142; box_depth = 69; seal_height = 90; latch_num = 2; seal_type = "separate_seal"; $fa = 6; $fs = 0.5; inner_radius = 5; seal_thickness = 10; latch_outset = 10; wall = 2; latch_height = 25.4; latch_width = 12.7; assert(box_height > 0); assert(box_width > 0); a...
glb/cad_046f538a8e13.glb
Create a Solar LED Bulb Base Replacement. Start with a main cylinder that has an outer diameter of 29.4mm and a total height of 33mm, centered on the Z-axis. Hollow out the center of this cylinder by removing a smaller cylinder with a diameter of 25.4mm and a height of 32mm. Additionally, remove a central cylinder fr...
$fn=180; difference(){ difference(){ cylinder(33, d=29.4, center=true); union(){ translate([0,0,1]) cylinder(32, d=25.4, center=true); translate([0,0,-15/2 +.5]) cylinder(15, d=26.4, center=true); } } s_thread(26.43,1.25,25.43); } ...
glb/cad_b423cf545e61.glb
Create a reusable adjustable spool component by starting with a sphere that has a diameter of 15mm. Flatten this sphere along the Z-axis by scaling it to a height of 9mm, then intersect this resulting ellipsoid with a cube that is 15mm wide, 15mm deep, and 4.5mm high, positioned so the cube's base is at the ellipsoid's...
inner_diameter = 7; outer_diameter = 15; hole_diameter = 3; base_thickness = 0.5; ellipsis_z_diameter = 9; $fn = 128; epsilon = 0.001; difference() { intersection() { scale([1,1,ellipsis_z_diameter/outer_diameter]) sphere(d=outer_diameter); translate([-outer_diameter/2,-outer_dia...
glb/cad_b8dedca64ed6.glb
Create a reusable adjustable spool consisting of two identical side plates and multiple cross pieces. For the side plates, create a rectangular profile 45mm long, 15mm wide, and 8mm thick. Round the two outer corners of the width with a 50mm radius. On the flat face of each plate, center a circular hole with a 3mm di...
width = 15; height = 8; length = 45; hole_diameter = 3; inner_fillet_radius = 4; outer_fillet_radius = 50; hole_offset = 0.5; nut_pocket_offset = 3; nut_pocket_thickness = 2.5; nut_pocket_width = 6; nut_pocket_depth = 6.5; lightening_pocket_base_thickness = 1.5; lightening_pocket_wall_thickness = 1.5; lightening_pocket...
glb/cad_34b083a8650c.glb
Create a reusable adjustable spool consisting of a central core, an outer ring, and three radial ribs. Start by creating a central cylindrical core with an inner diameter of 50mm, an outer diameter of 60mm, and a height of 10mm. Around this, add a large, thin outer ring with an outer diameter of 200mm, an inner diamete...
inner_diameter = 50; outer_diameter = 200; ring_radial_thickness = 5; thickness = 3; core_thickness = 10; rib_width = 15; slot_width = 3.4; reinforcement = 11; marker_depth = 0.3; marker_diameter = 2; marker_start = 10; marker_end = 60; marker_step = 10; marker_delta = 5; $fn = 128; module core() { linear_extr...
glb/cad_08f86516457d.glb
Create a rectangular box for Neutrik D-type sockets with outer dimensions of 35mm width, 80mm height, and 40mm depth. Hollow out the center to create a shell, leaving a wall thickness of 3mm on the sides and a 1.6mm thick floor. On the front and back faces, create a centered cutout for the D-type sockets. This cutout...
$fn=60; breite=35; hoehe=80; tiefe=40; durchbruch=24; lochbreitex=19; lochbreitey=24; difference(){ cube([breite,hoehe,tiefe],center=true); translate([0,0,1.6])cube([breite-6,hoehe-6,tiefe-3],center=true); translate([0,19,-18.5])lochmuster(); translate([0,-19,-18.5])lochmuster(); translate([-16,...
glb/cad_7e172ed005f1.glb
Create a rectangular box for Neutrik D-type sockets with outer dimensions of 35mm width, 120mm height, and 40mm depth. Hollow out the center to create a shell with a wall thickness of 3mm on the sides and a 1.6mm thick top face, leaving the bottom face solid. On the front and back faces, create three identical cutout...
$fn=60; breite=35; hoehe=120; tiefe=40; durchbruch=24; lochbreitex=19; lochbreitey=24; difference(){ cube([breite,hoehe,tiefe],center=true); translate([0,0,1.6])cube([breite-6,hoehe-6,tiefe-3],center=true); translate([0,38,-18.5])lochmuster(); translate([0,0,-18.5])lochmuster(); translate([0,-38,...
glb/cad_b0ca3c88208d.glb
Create a rectangular box for Neutrik D-type sockets with outer dimensions of 35mm width, 80mm height, and 40mm depth. Hollow out the center to create a shell with a wall thickness of 3mm on the sides and a bottom thickness of 3mm, leaving the top open. On the front and back faces, center a cutout pattern consisting o...
$fn=60; breite=35; hoehe=80; tiefe=40; durchbruch=22; lochbreitex=19.8; lochbreitey=19.8; difference(){ cube([breite,hoehe,tiefe],center=true); translate([0,0,1.6])cube([breite-6,hoehe-6,tiefe-3],center=true); translate([0,19,-18.5])lochmuster(); translate([0,-19,-18.5])lochmuster(); translate([...
glb/cad_e5c9ea967692.glb
Create a fan holder for a 4010 fan and a 5015 fan. Start by constructing a base mounting plate for the 5015 fan with dimensions 8mm x 8mm x 2.4mm and a corner radius of 4mm. Position two mounting holes for the 5015 fan at diagonal coordinates 43mm and 38mm, each with a radius of 1.5mm. Add a vertical support element wi...
e=0.01; e2=e+e; $fn=36; offset=[0,0,0]; f4010_position = [25,21,35.2]; f4010_base = [40,40,10.5]; f4010_base_r = 4; f4010_holes = [32,32]; f4010_wall = [1.6,1.6,1.6]; f4010_holes_r = 3/2+0.2; f4010_r1 = 38/2+1; f4010_r2 = 24/2-2; f4010_inner = f4010_base + [1,1,0.1]; f4010...
glb/cad_792da74a7f9b.glb
Create a NUC5PPYB Parametric Case consisting of a main case and a lid. For the case, create a rounded rectangular shell with an interior cavity of 108mm width, 108mm depth, and 45mm height. Set the wall thickness to 3mm and the corner radius to 7mm. On the front face, create a centered rectangular cutout 56mm wide and...
$fn = 48; which_part = "case"; wall_thickness = 3; addl_width = 0; hdd_mount = true; surface_mount = true; cable_hole = true; interior_height = 45; fan_exhaust_width = 10; fan_exhaust_spacing = 2; power_button_diameter = 13.5; interior_width = 108; interior_radius = 7; inset_wall_thickness = 1.5; standoff_r...
glb/cad_60fb34251b4a.glb
Create a replacement junction part for an immersion blender. Start by creating a base cylinder with a diameter of 11.7mm and a height of 1.2mm. Centered on top of this base, place a second, taller cylinder with a diameter of 7mm and a height of 14.75mm. Inside the center of the combined cylinders, carve out a rectang...
diametroCilindroBasso = 11.7; altezzaCilindroBasso = 1.2; diametroCilindroAlto = 7; altezzaCilindroAlto = 14.75; altezzaInterno = 13.26; larghezzaInterno = 3.0; lunghezzaInterno = 4.7; larghezzaSpuntone = 2.67; lunghezzaSpuntone = 1.6; altezzaSpuntone = 10.9; altezzaPunte = 2.67; formaBase(); spuntoni(); module te...
glb/cad_5d06de04ff3d.glb
Create an LED strip holder bracket with a total width of 5mm. Start by constructing a vertical back plate that is 92mm high and 8mm thick. Attach a horizontal bottom arm to the base of this plate, extending 30mm outward with a thickness of 8mm. Attach a second horizontal arm to the top of the plate, extending 70mm outw...
faceh=92; bottomd=30; topd=70; thick=8; width=5; stripw=39.5; striph=2.6; setback=10; difference(){ union(){ cube([thick,faceh,width]); translate([0,-thick,0]) cube([bottomd,thick,width]); translate([0,faceh,0]) cube([topd,thick,width]); }; translate([thick+setback,faceh-0.1,-1]) color("red") cube([stripw,stri...
glb/cad_f98f4d18909f.glb
Create a parametric conduit bushing by revolving a specific profile around a central axis. The profile is a closed loop with rounded corners of 0.5mm radius. The overall height of the part is 12mm. The base of the bushing is a cylinder with an inner diameter of 33.2mm and an outer diameter of 36.4mm. Above this base, t...
rdRad=0.5; pOuterDia=38.3; pInnerDia=36.4; rHeight=2; bHeight=12; bWall=1.6; clear=0.03; bInnerDia=pInnerDia-2*bWall; pWall=(pOuterDia-pInnerDia)/2; makeRoundedInnerSleeve(); module makeRoundedInnerSleeve() { rotate_extrude($fn=200) { $fn=200; minkowski() { polygon(points=[ [bInnerDia/2+rd...
glb/cad_1871c1511baf.glb
Create a Hart's Cube Puzzle piece by starting with a cube of 40mm per side. The final shape is generated by intersecting this cube with a helical volume that twists around a central axis. This helical volume is defined by a pitch of approximately 56.57mm (calculated as $\sqrt{2} \times 40\text{mm}$) and rotates 360 deg...
cubeSize = 40; build = 1; assemblyAngle = 0; gap = 0.2; cornerChamfer = 2; helixPitchRatio = 1; helixRotation = 0; pitch = sqrt(2)*cubeSize*helixPitchRatio; refine = floor(cubeSize/gap/7); if(build==1) { render() translate([0,0,cubeSize/2]) rotate([90,0,0]) ...
glb/cad_4bae9e7349d0.glb
Create a parametric table leg protector with an outer rectangular footprint of 80mm by 60mm and a total height of 25mm. The object is a hollow shell with a flat bottom that is 4mm thick. The walls of the protector are not uniform; the vertical walls should taper slightly, starting with a thickness of 6mm at the base an...
clear=0.02; pWidthLow=6; pWidthHig=4; pTotalHei=25; pBottomThick=4; lWidth=80; lDepth=60; difference() { hull() { rotate([0,0,180]) makeCornerPiece(); translate([lWidth, 0]) rotate([0,0,270]) makeCornerPiece(); translate([lWidth, lDepth]) makeCornerPiece(); translate([0...
glb/cad_4ecef5129867.glb
Create a storage box for 3ml vials. Start with a solid rectangular base measuring 37mm wide, 88mm long, and 3mm high. From this base, remove a central rectangular volume to create a hollow interior that is 34mm wide, 85mm long, and 40mm deep, leaving walls that are 1.5mm thick on all sides. At the bottom of this interi...
module vial(my_d){ cylinder(h=3, r=my_d, center=false); } translate([0,0,-2]) cube([37,88,2]); difference() { cube([37,88,3], center=false); translate([10,10,0]) for (dy=[0:17:70]) { translate([0,dy,0]) vial(8.5); translate([17,dy,0]) vial(8.5); } }; difference () { difference () { translate([0,0,2]) ...
glb/cad_a5bfb33f00ce.glb
Create a parametric hose adapter with a total height of 42mm. The main body is a hollow, tapered cylinder. The outer wall tapers slightly from a lower outer diameter of 50mm to an upper outer diameter of 50.2mm. The inner cavity is also tapered, narrowing from a lower inner diameter of 34.3mm at the base to an upper in...
clear=0.02; rHeight=2; rOverhang=2; bHeight=42; bUpperOuterDia=50.2; bLowerOuterDia=50.0; bUpperInnerDia=36.0; bLowerInnerDia=34.3; rotate_extrude($fn=200) polygon(points=[ [bLowerInnerDia/2,0], [bLowerOuterDia/2,0], [bUpperOuterDia/2,bHeight-rHeight], [bUpperOuterDia/2+rOverhang/2,bHeight-r...
glb/cad_690ce0638cf5.glb
Create a parametric n-way pipe fitting consisting of up to six hollow cylindrical arms radiating from a central hub. Each arm has an outer diameter of 23mm, an inner diameter of 18mm, and extends 30mm from the center. Position the arms according to these orientations: one pointing west (rotated 270° on the Y-axis), o...
$fn=300; tee1= "yes"; tee1ID=18; tee1OD=23; tee1Length=30; tee1HullEnable= "yes"; tee1HullSize=5; tee2= "yes"; tee2ID=18; tee2OD=23; tee2Length=30; tee2HullEnable= "yes"; tee2HullSize=5; tee3= "yes"; tee3ID=18; tee3OD=23; tee3Length=30; tee3HullEnable= "yes"; tee3HullSize=5; tee4= "yes"; tee4ID=18; ...
glb/cad_befa673fe7be.glb
Create a chain lock storage box with a built-in compartment for a tracker. Start with a solid rectangular block measuring 94mm in width, 94mm in depth, and 210mm in height. Hollow out the main storage area by removing a central block starting 1.5mm from the walls, with a width and depth of 91mm, leaving a base thickn...
SIMPLE_PACK_X = 81; SIMPLE_PACK_Y = 29.5; SIMPLE_PACK_Z = 13; CLEARANCE = 1.5; WALL_THICKNESS = 1.5; SIZE_X = SIMPLE_PACK_X + WALL_THICKNESS * 2 + CLEARANCE + 10; SIZE_Y = SIZE_X; SIZE_Z = 210; SCREW_SPACING = 64; SCREW_DEPTH = 2; TUBE_RADIUS = 17; SCREW_HEAD_RADIUS = 6; SCREW_RADIUS = 3; difference() { cube([SI...
glb/cad_52c9f39cc98d.glb
Create a parametric suction adapter consisting of three stacked coaxial sections with a consistent wall thickness of 3mm. Start with a large base cylinder 100mm in diameter and 60mm high. Above this, add a conical transition section 40mm high that tapers linearly from the 100mm base diameter down to a top diameter of 4...
include <BOSL/constants.scad> use <BOSL/metric_screws.scad> c=3; $fn=400; $fa=12; $fs=2; wall=3; big=100; bigh=60; small=47.5; smallh=30; adapterh=40; module small() { difference() { translate ([0,0,smallh/2]) cylinder(h = smallh, r = small/2, center = true); translate ([0,0,smallh/2]) cylinder(h = smallh+2...
glb/cad_4422fb14c258.glb
Create a mounting bracket for an Eltako box. Start with a base plate 6mm thick. The main body is a polygon with a 45mm by 45mm footprint, but the corners are clipped to create an octagonal shape: the bottom corners are clipped by 7mm and the top corners by 12mm. Extend the base by adding two semi-circular mounting ea...
$fn=88; ears=true; eltako = [ [0,7], [7,0] , [45-7,0], [45,7] , [45,45-12], [45-12, 45] , [12,45], [0,45-12] ]; difference() { union() { linear_extrude(3+3) offset(r=2.5) polygon(eltako); if(ears) { hull() { translate([-8, 45/2-2, 0]) cylinder(r=8, h=3-.01); transl...
glb/cad_66edd1c5abac.glb
Create a Milling Machine Spindle Adapter by constructing a main hollow cylinder with an outer diameter of 69mm and an inner diameter of 52.5mm, reaching a total height of 70mm. At the top of the cylinder, add a flange that extends the diameter to 74mm for a height of 10mm. Cut a vertical slot 1.5mm wide through the w...
Inner_Diameter = 52.5; Outer_Diameter = 69; Overall_Height = 70; Top_Flange_Height=10; Flange_Width=5; Split_Width=1.5; Number_of_Screw_Holes=3; Screw_Hole_Diameter=4.2; Screw_Countersink_Diameter=7.5; Distance_Between_Countersinks=17 ; Rear_Hex=true; Rear_Hex_Outer_Diameter=8.1; $fn=400; ScrewSpacing = (Overall_H...
glb/cad_7b4d6e402f4e.glb
Create a filament guide consisting of a rectangular base and a curved upper arm. Start with a solid rectangular block measuring 30mm wide, 14mm deep, and 20mm high. From this block, remove a smaller rectangular section measuring 30mm by 7mm by 20mm, positioned 4mm from the bottom and 5mm from the front edge, to create ...
difference() { translate([-15,-50,0]) cube([30,14,20]); translate([-15,-46.5,4]) cube([30,7,20]); } difference() { hull() { translate([-15,-40,0]) cube([4,17,4]); translate([11,-40,0]) cube([4,17,4]); rotate_extrude(convexity = 10, $fn = 100) translate([25, 4, 0]) circle(r = 4, $fn = 100); ...
glb/cad_ace0d1a01484.glb
Create a water hose adapter by constructing a central body with two threaded sections. Start by creating a tapered English thread with a diameter of 0.840 inches, 14 threads per inch, and a length of 3/4 inches; place one of these threads at the base and another identical thread positioned 15mm above it. Connect these ...
include <./threads.scad> difference(){ union(){ rotate([180,0,0]) english_thread(diameter=0.840, threads_per_inch=14, length=3/4, taper=1/16); translate([0,0, 15]) english_thread(diameter=0.840, threads_per_inch=14, length=3/4, taper=1/16); hull(){ cylinder(15, 25.4*0.840/2, 25.4...
glb/cad_79c9259a5c65.glb
Create a solder holder by constructing a solid base using a convex hull that encompasses three cylinders. The first cylinder is centered at the origin with a radius of 6mm and a height of 10mm. The other two cylinders, also with a radius of 6mm and a height of 2mm, are positioned at coordinates [10, 0, 2] and [-10, 0, ...
include <./threads.scad> $fn=64; difference() { hull() { cylinder(10,6,6); translate([10,0,2]) cylinder(6,2,2); translate([-10,0,2]) cylinder(6,2,2); } metric_thread(diameter=10, pitch=2, length=10, internal=true); }
glb/cad_42d7968c2b5d.glb
Create a Solder Holder consisting of a rectangular base and two identical side supports. Start with a base plate measuring 72mm in length, 65mm in width, and 10mm in height. Carve out a central rectangular cavity 62mm long, 55mm wide, and 8mm deep, leaving a 5mm border around the edges. At the bottom of this cavity, ce...
$fn=100; difference() { cube([72,65,10]); translate([5,5,3]) cube([62,55,8]); hull() { translate([30,10,6]) rotate([90,0,0]) cylinder(10,2,2); translate([40,10,6]) rotate([90,0,0]) cylinder(10,2,2); } } module side() { difference(){ hull() { translate([0,65/2,45]) rotate([0,90,0])...
glb/cad_c805b3e115ea.glb
Create a solder holder consisting of a vertical cylindrical post with a threaded top. Start by creating a circular base with a diameter of 9mm and a height of 3mm. Centered on this base, add a main cylinder with a diameter of 9mm and a total height of 75mm. At the very top of this cylinder, integrate a metric thread wi...
include <./threads.scad> $fn=64; cylinder(3,7,7); translate([0,0,3]) cylinder(72,4.5,4.5); translate([0,0,75]) metric_thread(diameter=9, pitch=2, length=10);
glb/cad_8e710b5a863a.glb
Create a solder holder consisting of a central vertical column with cylindrical caps at the top and bottom. Start by creating a main central cylinder with a diameter of 12mm and a height of 56mm. At the bottom of this column, add a wider cylindrical base with a diameter of 19mm and a height of 5mm. At the top, add a cy...
$fn=64; difference(){ union() { cylinder(5,9.5,9.5); translate([0,0,5]) cylinder(4,9.5,6); translate([0,0,51]) cylinder(5,9.5,9.5); translate([0,0,47]) cylinder(4,6,9.5); cylinder(56,6,6); } cylinder(56,4.7,4.7); }
glb/cad_b4f480d8fa8b.glb
Create a filament spooling tool by constructing a composite cylindrical shape. Start with a wide, flat base cylinder that is 3mm high with a radius of 27mm. On top of this base, add a second cylinder with a height of 13mm and a radius of 13mm, centered on the same axis. Finally, create a vertical hole through the cente...
$fn=64; difference() { union() { cylinder(3,27,27); translate([0,0,3]) cylinder(16,27,13); } cylinder(20,13,13); }
glb/cad_56282195ce30.glb
Create a filament spooling tool by constructing a geometric hull that encompasses three cylinders. The primary cylinder is centered with a radius of 16mm and a height of 14mm. To this, add two smaller cylinders, each with a radius of 2mm and a height of 2mm, positioned 25mm away from the center along the x-axis—one at ...
include <./threads.scad> $fn=64; difference() { hull() { cylinder(14,16,16); translate([25,0,4]) cylinder(6,2,2); translate([-25,0,4]) cylinder(6,2,2); } metric_thread(diameter=27, pitch=3, length=14, internal=true); }
glb/cad_08c7b66401ee.glb
Create a filament spooling tool consisting of a tiered cylindrical body with a central hexagonal cutout. Start by creating a wide base cylinder with a diameter of 54mm and a height of 3mm. On top of this base, add a second cylinder with a diameter of 32mm and a height of 13mm. Above that, add a third section consisting...
include <./threads.scad> include <MCAD/shapes.scad> $fn=64; difference() { union() { cylinder(3,27,27); translate([0,0,3]) cylinder(16,27,13); translate([0,0,18]) metric_thread(diameter=25, pitch=3, length=90); } translate([0,0,75]) cylinder(40,5,5); translate([0,0,10]) hexagon(6.4,20); }
glb/cad_dbcc2d800e15.glb
Create a tactile button case for a bike handlebar. The main body is a cylinder with an outer diameter of 14mm and a total height of 14mm. Inside this cylinder, create a central cavity with a diameter of 10.7mm and a depth of 10mm to house the electronics. At the base of the model, create a circular flange with a diam...
$fn=200; module button() { cylinder(5,10,10); cylinder(1,12.5,12.5); } module top() { translate([0,0,10]) { rotate([180,0,0]) { difference() { cylinder(10,14,14); cylinder(11,10.7,10.7); cylinder(9,13,13); } } } } modul...
glb/cad_f21354e7fc99.glb
Create a Parametric Garden Railroad model consisting of a locomotive and a tender. Start with the locomotive's main body: create a horizontal cylinder for the boiler with a diameter of 200mm and a length of 600mm. At the front of the boiler, add a funnel-shaped smokestack. Position a rectangular driver's cab behind t...
gauge=7.9; gaugemm=gauge*25.4; kettlediameter=200; kettlelength=600; boardwidth=160; boardthickness=20; tenderlength=600; wheeldiameter=150; frontwheelbase=400; drivewheelbase=600; trainheigth=500; batterylength=200; valvediameter=110; detail=20; sleeperheigth=50; pipediameter=16; pipediameterinner=10; locolength=kett...
glb/cad_4a04f9027754.glb
Create a Single Fibre Optic Cassettes holder by starting with a main rectangular block measuring 97mm wide, 109mm deep, and 13.5mm high, centered on the origin. From this base, remove a central rectangular volume of 88.5mm by 109mm by 11.7mm to create a tray. To refine the tray's interior, remove an additional central ...
$fn = 100; module tray() { union() { cube([88.5,109,11.7], center = true); translate([0,2,1.6]) cube([92.9,107,4.7], center = true); translate([88/2,(102-7)/2,1.6]) cube([9,6.2,4.7], center = true); } } difference() { translate([0,0,-1]) cube([97,109,13.5], center = true); tray(); translate([3...
glb/cad_75d7fe053ce8.glb
Create a TZ Tape Caddy for label cartridges sitting on a 3x5 GridFinity base with 0mm interior wall height. The caddy consists of two sets of cartridge slots. First, create 6 slots for 9mm or 12mm tapes. Each slot is a block 91.4mm wide, 20.2mm deep, and 53.2mm high. Within each block, carve out a central cassette sp...
$fn=360; dt1=0.01; dt2=dt1*2; prt_delta=0.4; cas_x=89; cas_z=67-15; mat=1.2; cas_y=18; slots=6; cas_y2 = 25; extra_slots=3; cl_w = cas_y*.8; cl_h = mat; cl_l = 23; cl_dh = 1; cl_w2 = cas_y2*.8; cut_z=25; cut_dz=cl_l+1; for(i=[0:slots-1]){ translate([0, i*(cas_y+mat), 0]) union(){ difference(){...
glb/cad_bd77f756887b.glb
Create a customizable sleeve with a shoulder by constructing a hollow cylindrical tube and a wider base. First, create a main cylinder with an outer diameter of 20mm and a height of 35mm. Attach a wider, shorter cylinder to the bottom to serve as the shoulder, with a diameter of 30mm and a height of 5mm. Finally, remov...
$fn=100; di = 16.5; do = 20; h = 35; base_do = 30; base_h = 5; difference(){ union(){ cylinder(d = do, h = h); translate([0,0,-base_h]){ cylinder(d = base_do, h = base_h); } } translate([0,0,-(base_h+1)]){ cylinder(d = di, h = h+base_h+2); } };
glb/cad_471c7374afd0.glb
Create an outdoor water tap key by starting with a central vertical cylinder 40mm tall with a diameter of 13.5mm. Integrate two rectangular blocks into the sides of this cylinder; each block should be 15mm wide, 3mm thick, and 20mm tall, extending symmetrically from the center to create a T-shaped handle grip. From the...
difference() { union(){ linear_extrude(height=40) circle(d=13.5, $fn=120); hull() { translate([0,0,5]) cylinder(h=10,d=13.5); translate([6.5,-1.5,0]) cube([15,3,20]); translate([-15-6.5,-1.5,0]) cube([15,3,20]); } } translate([-4,-4,-1]) cube([8.1...
glb/cad_f398ac3e4c00.glb
Create a resistance box organizer consisting of two identical trays. For each tray, construct a rectangular block measuring 20mm wide, 80mm long, and 12mm high. From the top of this block, remove a central rectangular volume measuring 17.2mm wide, 76.6mm long, and 14mm deep, starting from an offset of 1.4mm from the si...
Tray1=0; Tray2=1; if(Tray1) { Bak("1"); translate([18,0,0]) Bak("10"); translate([36,0,0]) Bak("47"); translate([54,0,0]) Bak("100"); translate([72,0,0]) Bak("150"); translate([90,0,0]) Bak("220"); translate([108,0,0]) Bak("330"); translate([126,0,0]) Bak("470"); translate([144,0,0]) Bak("1k"); translate([16...
glb/cad_b44f50ba12df.glb
Create a zip tie pipe mount consisting of a baseplate and a cylindrical mounting body. Start with a rectangular baseplate measuring 63mm by 39mm with a thickness of 5mm and rounded corners of 2mm. In this baseplate, create four vertical screw holes with a diameter of 8mm and a depth of 1.8mm, positioned at the coordina...
use <roundedcube.scad> $fn=48; module mount() { difference() { cylinder(12,16,16); translate([0,20,16+6]) rotate([90,0,0]) cylinder(50,15,15); difference() { translate([0,-2,16+7]) rotate([90,0,0]) cylinder(5.5,19,19); translate([0,-2,16+7]) rotate([90,0,0]) cylind...
glb/cad_ef41dc1bfb71.glb
Create a housing for an Adafruit MCP9808 Temperature Sensor consisting of a bottom plate and an upper enclosure. First, create a rectangular bottom plate with dimensions 22mm wide by 14mm deep and 1.2mm thick. At the four corners, add cylindrical mounting pillars with an outer radius of 2.54mm and a central hole with...
mcp9808_wx=20.3; mcp9808_dy=12.7; mcp9808_hz=1.6; mcp9808_re=2.54; mcp9808_rb=1.27; box_iwx=22; box_idy=14; box_ihza=6; box_ihzb=2; box_wt=1.2; box_wd=7; screw_hd=2.5; screw_hh=1.0; screw_tl=8.0; screw_pd=0.9; screw_od=1.2; screw_as=0.2; module endofparameter(){} $fn=$preview ? 20 : 50; EPS=0.001; mo...
glb/cad_628020420883.glb
Create a seed starter pot for an Eazy Plug CT77 by constructing a tapered square prism. Start with a square base measuring 36mm by 36mm with a height of 0.1mm. From this base, create a lofted transition to a smaller square top measuring 30mm by 30mm, positioned at a height of 30mm. The final shape should be a solid, sy...
hull(){ cube([36,36,0.1],center=true); translate([0,0,30])cube([30,30,1],center=true); }
glb/cad_e272a7cc65c5.glb
Create a taillight mount and fender for a bike rack. Start by creating a central cylindrical post with a diameter of 31.8mm and a height of 72mm, tilted at an angle of 73.5 degrees from the horizontal. At the top of this post, add a flat circular plate with a thickness of 2mm. Attached to the base of the post, create ...
display = "print"; tophole = false; fenderlen = 120; module dummy(){} bracethk = 11; bracewid = 60; tubeangle = 73; tubedia = 31.8; platethick = 2; boffset = 6.3+platethick; tabthick = 1.5; tabwid = 26.3; tabdepth = 66.5-boffset; slotholedia = 5; screwsep = 50; screwdia = 4; screwlen = 16; nutdia = 7 / cos(...
glb/cad_57a5f80ecfa6.glb