Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a mini speaker box by starting with a square plate measuring 60mm by 60mm with a thickness of 4mm. In the center of this plate, remove a large circular hole with a radius of 23mm that passes completely through the thickness. At each of the four corners of the plate, create a small circular hole with a radius of ...
$fa = 1; $fs = 0.4; difference() { cube([60, 4, 60]); rotate([90,0,0]) translate([30, 30, -8]) cylinder(h=10,r=23); rotate([90,0,0]) translate([2, 2, -8]) cylinder(h=10,r=.5); rotate([90,0,0]) translate([58, 2, -8]) cylinder(h=10,r=.5); ...
glb/cad_65d0b15db249.glb
Create a customizable magnetic warning sign. The base is a rounded rectangular plaque with a thickness of 3.6mm (calculated as 0.6mm base plus 3mm for magnet depth). The plaque's overall width and height are automatically determined by the text content, adding a 7mm border around the edges. The top section features a...
text1="WARNING"; text2="BEER FRIDGE"; text3="---"; text4="DO NOT PLACE FOOD"; text5="OR OTHER CONTAMINANTS"; text6="IN THIS FRIDGE"; text7=""; text8=""; text9=""; text10=""; font_size=[16,11,11,8,8,8,8,8,8,8]; FirstLineInverse="yes"; fontname="Oswald:style=Bold"; mag_d=10; mag_h=3; emoji_selector="none"; emoji_f...
glb/cad_203bee46a1f0.glb
Create a Sortimo inset box with a total height of 61mm. The outer shape is a tapered rectangular prism. The top face is a square measuring 52mm by 52mm. The bottom face is smaller, measuring 45mm by 45mm, with the walls sloping inward from top to bottom. The box has a wall thickness of 1.8mm and a base thickness of 1....
x=1; y=1; height=61; $fn=20; width=x*52; length=y*52; thick_wall=1.8; thick_base=1.6; ratio_x=(width-2*thick_wall)/width; ratio_y=(length-2*thick_wall)/length; side_high = 5; width_high = width; small_width_high = width_high - side_high; length_high = length; small_length_high = length_high - side_high; base_high_po...
glb/cad_784e394cdbfb.glb
Create a thickness shim with a uniform height of 3mm. The base shape is a flat plate defined by a specific 2D polygon: starting from the origin, move to [15,0], then to [15,20], [0,20], [0,90], [15,90], [15,40], [35,40], [35,90], [50,90], [50,20], [35,20], and finally [35,0] before closing the loop. Extrude this profil...
shim_thickness=3; difference() { forme(); texte(); } module forme() { linear_extrude(height = shim_thickness) polygon([[15,0], [15,20], [0,20], [0,90], [15,90], [15,40], [35,40], [35,90], [50,90], [50,20], [35,20], [35,0]]); } module texte() { color([1,0,0]) translate([25,25,shim_thickness-1]...
glb/cad_b4bd4c1c1af8.glb
Create a simple print scraper consisting of a flat blade and a cylindrical handle. Start by creating a rectangular blade that is 50mm long, 20mm wide, and 10mm thick. Attached to the top surface of this blade, center a triangular wedge that is 30mm wide at its base, 15mm tall, and 10mm thick. Finally, add a cylindrical...
rotate([90, 0, 90]) linear_extrude(50) polygon([[0, 0], [20, 0], [20, 10]]); translate([10, 20, 0]) linear_extrude(10) polygon([[0, 0], [15, 15], [30, 00]]); translate([25, 30, 5]) rotate([-90, 0, 0]) cylinder(h = 50, d = 10, $fn = 256);
glb/cad_9a4e9ff20ffa.glb
Create a parametric mesh panel with a total width of 114mm and a total height of 57mm, and a thickness of 4mm. The panel consists of a solid outer border 6mm wide on all sides. Inside this border, create a grid of rectangular gaps. There should be 5 vertical gaps, each 20mm wide and 3mm high, separated by 2mm wide vert...
num_horizontal_gaps = 10; num_vertical_gaps = 5; thickness = 4; gap_width = 20; gap_height = 3; strut_size = 2; border_size = strut_size * 3; border_height = thickness; outer_border_height = border_height / 2; cutout_margin = 1; hole_diameter = 1; width = (num_vertical_gaps * gap_width) + ((num_vertical_gaps - 1) * st...
glb/cad_5c19f8634103.glb
Create a Bosch GO3 Bitholder with overall dimensions of 74.5mm in width, 24mm in depth, and 12mm in height. Construct the main body as a rectangular block with a wall thickness of 1.2mm. The bottom surface should be 1.6mm thick, featuring two rectangular cutouts of 1.2mm height located at x-coordinates 14mm and 56mm....
width = 74.5; depth = 24; height = 12; rad_bottom_back = 2; wall = 1.2; bottom = 1.6; bottom_cutout = [2,5,1.2]; bottom_cutout_x1 = 14; bottom_cutout_x2 = 56; eps = 0.001; tolerance = 0.2; inch = 25.4; bithex = inch/4 + tolerance; bitdiam = bithex / cos(30); bitlen = depth-wall; bitcount = 8; partition = ((width...
glb/cad_e91292f9d3e8.glb
Create a Motorola Moto Tag Dummy by constructing a composite circular object with a total height of 8mm and a maximum diameter of 31.9mm. Start by creating a central ring with an outer diameter of 31.9mm and a thickness of 4mm, formed by rotating a circle with a 2mm radius around a central axis. To this, add a solid cy...
$fn = 64; diameter = 31.9; height = 8; rotate_extrude(convexity=10, $fn=100) translate([diameter/2-2, 0, 0]) circle(r=2, $fn=100); cylinder(h=2,r=diameter/2-2); cylinder(h=height/2, r1=diameter/2, r2=10.5); rotate([0,180,0]) cylinder(h=height/2, r1=diameter/2, r2=10.5);
glb/cad_af4043bef37b.glb
Create a Four-Corner Box-Clamp consisting of five distinct components: three plain corner clamps, one ratchet corner clamp, and one key. For the three plain corner clamps, create a quarter-cylinder block with a radius and height of 50.8mm. Remove a 25.4mm cube from the inner corner to create a square cutout. Drill a ...
inch=25.4; $fn = 120; difference(){ intersection(){ cylinder(d=4*inch,h=inch); cube([2*inch,2*inch,inch]); } cube([inch,inch,inch]); translate([inch-2,inch-2,0]) cylinder(d=inch/3,h=inch); translate([0,0,inch/2]) rotate_extrude() translate([2*inch,0,0]) circle(d=inch/8); } translate([...
glb/cad_8b46cdd00aa6.glb
Create a Four-Corner Box-Clamp key consisting of a grip and a shaft. For the grip, create a hull between two cylinders, each with a diameter of 6.35mm and a height of 12.7mm, positioned 19.05mm apart along the x-axis. Drill two 4mm diameter holes through this grip: one at [9.525, 0, 0] and another at [4.7625, 0, 0]. ...
inch=25.4; $fn = 120; difference(){ hull(){ cylinder(d=inch/4,h=inch/2); translate([3*inch/4,0,0]) cylinder(d=inch/4,h=inch/2); } translate([3*inch/8+inch*sqrt(2)/4,0,0]) cylinder(d=4,h=inch/2); translate([3*inch/8-inch*sqrt(2)/4,0,0]) cylinder(d=4,h=inch/2); } difference(){ translate([3*i...
glb/cad_867d6bf601ed.glb
Create a Four-Corner Box-Clamp consisting of four distinct corner pieces: three identical plain clamps and one ratchet clamp. Each plain clamp is a quarter-round block with a radius of 50.8mm and a height of 25.4mm. Remove a 25.4mm cube from the inner corner of each block to create a square cutout. Drill a horizontal...
inch=25.4; $fn = 120; difference(){ intersection(){ cylinder(d=4*inch,h=inch); cube([2*inch,2*inch,inch]); } cube([inch,inch,inch]); translate([inch-2,inch-2,0]) cylinder(d=inch/3,h=inch); translate([0,0,inch/2]) rotate_extrude() translate([2*inch,0,0]) circle(d=inch/8); } translate([...
glb/cad_d7ce565550ff.glb
Create a heavy hinge consisting of five alternating wedge-shaped segments and a central shaft. Each segment must be 20mm long, with the total hinge thickness set to 16mm and a total width (radius) of 48mm. The segments are mirrored along the central axis. Even-numbered segments are solid wedges, while odd-numbered se...
hinge_thickness = 16; hinge_radius = 24; segment_count = 5; segment_length = 20; screws_per_segment = 1; screw_hole_diameter = 3; screw_head_diameter = 7; screw_base_thickness = hinge_thickness / 5; shaft_diameter = hinge_thickness / 2; tolerance = 0.3; wedge_radius = hinge_thickness / 2; shaft_radius = shaft...
glb/cad_95dbf952b887.glb
Create a Radxa SATA HAT Case consisting of a bottom base and a top cover. Construct the bottom case as a rectangular shell with outer dimensions of 100mm x 100mm and a height of 33mm. Hollow out the center to create a main cavity, leaving walls of 1.2mm. At the four corners, add cylindrical mounting pillars with a di...
include <cyl_head_bolt.scad>; include <materials.scad>; nutcatch = 0; heatnut = 4.5; Nozzle = 0.4; Perim = 3; Wall = Nozzle*Perim; CaseX=100; CaseY=100; BoardX = 85; BoardY = 56; BoardZ = 1.4; EtherX = 21.5; EtherY = 16; EtherZ = 13.5; EtherPosX = 3; EtherPosY = 10.2; USB_X = 17.25; USB_Y = 15.3; USB_Z = 15.86...
glb/cad_b712e0abd1b5.glb
Create a MiniPCI Wi-Fi card holder. Start with a rectangular base measuring 52mm wide by 57.5mm deep by 2mm high. At each of the four corners of the base, add a vertical cylinder with a diameter of 8mm and a height of 56mm. Between these corner cylinders, construct two parallel side walls. Each wall should be 56mm hig...
$fa=0.3; $fs=0.3; si = 0.01; s2 = si/2; sdx = 62+2; sdy = 2.8; sdz = 54; dx = 59+2; dy = sdy; dz = sdz; sx = 3; sy = 2.8; cx = 8; cy = 70.5 - 13; cz = 56; bx = cx + dx - sx*2; by = cy; bz = 2; pd = 4.5; ph = 5; pp = [[0,0,cz],[0,cy,cz],[bx,0,cz],[bx,cy,cz]]; difference() { union() { cube([bx,by,bz]); ...
glb/cad_5d476af8ef0d.glb
Create a stem mount extension with a total height of 10mm. Start with a main cylindrical body that has a diameter of 34mm. At the base, create a recessed inner cavity with a diameter of 28mm and a depth of 1.5mm. Within this base area, add four small cylindrical pegs, each with a radius of 3.69mm and a height of 3.5mm,...
height = 10; $fn=128; bottom_outer = 34; bottom_inner = 28; bottom_inner_height = 1.5; bottom_inner_inner = 11; bottom_center_hole = 5.75; peg = 7.38; peg_height = 3.5; peg_offset = 9.4; top_inner = 10.4; top_inner_height = 1; top_outer_rim_thickness = 2.9; top_outer = bottom_outer-top_outer_rim_thickness*2; top_out...
glb/cad_4ada2c484bab.glb
Create a Universal Spool Holder by starting with a conical frustum that has a height of 12mm, a bottom radius of 44.5mm, and a top radius of 5mm. Center this shape on the Z-axis. Remove a cylindrical hole from the center of the base with a radius of 8.25mm that extends through the entire height of the model. Create a...
bearing_d = 16.5; bearing_h = 4.3; max_d = 85; min_d = 10; offset_d = 2; cone_h = 12; rod_d = 8.1; n_cutouts = 5; cutout_scale_x_factor = 2.9; cutout_position_x_factor = 1.8; cutout_diameter_factor = 1.07; $fa = 1; $fs = 1; difference(){ translate([0,0,cone_h/2])cylinder(r1 = max_d/2 + offset_d, r2 = min_d/2, ...
glb/cad_820256fb6a69.glb
Create a Universal Spool Holder designed for an 8mm threaded rod. The main body is a cylinder with a height of 12mm and an outer diameter of 13mm. Bore a central hole through the entire height with a diameter of 8.1mm to accommodate the rod. Add two rectangular levers, each 2.5mm wide and 10mm long, extending from the...
include <ISOThreadUM2.scad>; thread = 8; width = 2.5; h = 12; tabl = 10; smoothing_position_x = 15.5; $fa=.5; $fs = .5; id = thread + 0.1; od = id + 2*width; chamfer_cone_radius_top = od/8; chamfer_cone_radius_bottom = od/2; chamfer_cone_height = chamfer_cone_radius_bottom; chamfer_depth = 2; difference(){ x = t...
glb/cad_06948b8e5a48.glb
Create a GT2 pulley for a sim wheel encoder mount. Start with a cylindrical base that has a diameter of 20mm and a height of 8mm. Centered on top of this base, add a toothed pulley section with a height of 12mm and an outside diameter of 11.88mm, featuring 20 teeth designed for a GT2 2mm profile. The entire part must ...
teeth = 20; profile = 12; motor_shaft = 5.2; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 0; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 12; pulley_b_ht = 8; pulley_b_dia = 20; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_tooth_width = 0.2;...
glb/cad_6d1f27291ce1.glb
Create a heatbed knob consisting of a star-shaped handle and a cylindrical base. The handle is 6mm thick with a 6-pointed star profile. The outermost tips of the star have a diameter of 12.5mm, while the innermost indents have a diameter of 9mm. Each star point is rounded with a 2mm radius. Apply a 1mm fillet to both...
points = 6; handleOuterDiameter = 12.5; handleInnerDiameter = 9; pointRadius = 2; handleThickness = 6; rTopFillet = 1; rBottomFillet = 1; baseDiameter = 6; baseHeight = 3; rTransitionFillet = 3; boltDiameter = 3.1; boltHeadDiameter = 5.5; boltHeadThickness = 9; boltHeadHeight = 5; rCounterboreFillet = 0; ...
glb/cad_984843c95600.glb
Create a clip-on glide pad for a spool holder. Start with a main cylindrical body 100mm long with a diameter of 29mm, centered along the Y-axis. Add a larger concentric outer ring at one end with a diameter of 31mm and a thickness of 3mm. Hollow out the center of the main body by removing a cylinder 105mm long with a...
!four(); five(); module four(){ difference(){ union(){ translate([0,0,4.5])rotate([0,90,0])cylinder(100,d=29,$fn=100); translate([0,0,7])rotate([0,90,0])cylinder(3,d=31,$fn=100); } translate([90,0,0])rotate([0,90,0])scale([1,1.1,1])cylinder(11,d=25,$fn=100); translate([-1,0,0])rotate([0...
glb/cad_875013277ae4.glb
Create a guitar wall hanger consisting of a rounded, symmetrical base with a central cutout. Start by forming the main body as a hull between a sphere with a 50mm diameter and a cylinder of the same diameter, creating a smooth, pill-like volume. Carve a deep, wide channel through the center of the body using a series...
thickness = 48; mirror([0,1,0]) difference(){ body(); translate([thickness/2+10,0,0])scale([1.1,1.1,1.1])cutout(); rotate([130,0,0]) union(){ translate([-0.1,0,-16])rotate([0,90,0])cylinder(100,d=6.5,$fn=50); translate([8,0,-16])rotate([0,90,0])cylinder(3,d1=6.5,d2=12,$fn=50); ...
glb/cad_15e7af5f75dd.glb
Create a rotary encoder knob with a total diameter of 20mm. The main body is composed of stacked 18-sided prisms. Start with a base 18-sided prism 3mm thick with a diameter of 20mm. Above this, add an 18-sided prism 5mm thick that tapers from a diameter of 20mm at the bottom to 18mm at the top. On top of that, add a fi...
knob(); size =1; index=1; screw=1; module knob(){ translate([0,0,8]) difference(){ scale([size,size,1]) union(){ translate([0,0,1.5])cylinder(12,d1=18,d2=16,center=true,$fn=18); translate([0,0,8])cylinder(1,d1=16,d2=14,center=true,$fn=18); translate([0,0,-5]...
glb/cad_71b3a48b2f49.glb
Create a Sierpinski-style fractal pyramid with a recursion depth of 3. The base unit is an equilateral pyramid with a base width of 50mm and a height of approximately 43.3mm. To construct the base unit, create a four-sided pyramid (a square-based pyramid rotated 45 degrees to appear diamond-like) and hollow out its c...
baseWidth = 50; height = (sqrt(3) / 2) * baseWidth; n = 5; depth = 3; module uniform_pyramid(baseWidth, height, n, includeBars) { difference() { rotate([0, 0, 45]) cylinder(h = height, r1 = baseWidth / sqrt(3), r2 = 0, $fn = 4, center = false); rotate([0, 0, 45]) translate([0, 0...
glb/cad_94891a7bcbeb.glb
Create a TTGO LORA case with a base thickness of 4.5mm. The main body is defined by a polygon with vertices at [-6,0], [-6,21], [-5,22], [40,22], [45,18], [139,18], [140,17], [140,9], [120,0], [40.6,0], [39.6,-1], [39.6,-64.6], [38.6,-65.6], [-5,-65.6], and [-6,-64.6]. Remove the following geometric features from the ...
echo(version=version()); difference() { linear_extrude(height = 4.5) polygon([[-6,0],[-6,21],[-5,22],[40,22],[45,18],[139,18],[140,17],[140,9],[120,0],[40.6,0],[39.6,-1],[39.6,-64.6],[38.6,-65.6],[-5,-65.6],[-6,-64.6],[-6,0]]); translate([5.5,4.5,4.5]) rotate([0,90,0]) line...
glb/cad_0164b18b8191.glb
Create a TTGO LORA case by starting with a rectangular base measuring 82mm by 40mm with a height of 9mm. Hollow out the center to create an interior space of 78mm by 35.5mm, leaving a wall thickness of 2mm. At the corners of the base, create four rounded pillars with a radius of 2.8mm, each containing a centered vert...
echo(version=version()); include <threads.scad> difference() { translate([0, 0, 0]) linear_extrude(height = 9) square([82, 40]); translate([2, 2, 2]) linear_extrude(height = 9) square([78, 35.5]); translate([10, 6, 0]) linear_extrude(height = 1) ...
glb/cad_be06ec688f0c.glb
Create a TTGO LORA case with a main body measuring 82mm by 40mm and a height of 13mm. Hollow out the center to create a main cavity of 78mm by 36mm with a wall thickness of 2mm and a depth of 11mm. Within the cavity, add internal supports: two small 6mm by 6mm squares at the bottom, and a larger support block measuri...
echo(version=version()); include <threads.scad> dipoleDiam = 6; difference() { translate([0, 0, 0]) linear_extrude(height = 13) square([82, 40]); translate([28, 9.5, 0]) linear_extrude(height = 1) square([25, 15]); translate([28, 9.5, 1.5]) linear_extrude(hei...
glb/cad_b3d7317fed5a.glb
Create a TTGO LORA case with a base thickness of 4.5mm. The main body is defined by a flat plate with a complex perimeter: starting from a rectangular section roughly 45mm by 88mm, it extends to a length of 140mm and a width of 18mm, with a tapered end. Integrate a rectangular bulge for a GPS antenna measuring 30mm by ...
echo(version=version()); difference() { union() { translate([0, 0, 0]) linear_extrude(height = 4.5) polygon([[-5,-4],[-6,-3],[-6,82.6],[-5,83.6],[38.6,83.6],[39.6,82.6],[39.6,19],[40.6,18],[120,18],[140,9],[140,1],[139,0],[45,0],[40,-4]]); translate([2,47,-2.5]) line...
glb/cad_1edfbe186a73.glb
Create a TTGO LORA case with a main body measuring 87.6mm by 45.6mm and a height of 12mm. The body should be a hollowed rectangular shell with a primary internal cavity of 65mm by 40mm, starting 5.5mm from the left edge and 2mm from the base. At the four corners of the base, create circular mounting holes with a radi...
include <threads.scad> module t(t, s = 2, style = ":style=Bold", spacing = 1) { rotate([0, 180, 0]) linear_extrude(height = 1) text(t, size = s, spacing=spacing, font = str("Nimbus Sans", style), $fn = 16); } difference() { union() { translate([-2.8, 0, 0]) ...
glb/cad_4c53638e90eb.glb
Create a TTGO LORA case consisting of two mirrored halves, each 4.5mm thick. For the left half, create a base body using a polygon with vertices at [-6,0], [-6,22], [40,22], [45,18], [140,18], and [120,0]. From this body, remove several cylindrical voids: a tuning stub (radius 2.2mm, length 115mm) centered at [5.5, 4...
echo(version=version()); difference() { linear_extrude(height = 4.5) polygon([[-6,0],[-6,22],[40,22],[45,18],[140,18],[140,9],[120,0]]); translate([5.5,4.5,4.5]) rotate([0,90,0]) linear_extrude(height = 115) circle(r=2.2); translate([5.5,13.5,4.5]) ...
glb/cad_137eb5a31a0b.glb
Create a Kanban EV Insert organizer by starting with a base rounded rectangular block measuring 214.8mm in length, 130mm in width, and 27.6mm in height. Carve out several storage compartments from the top of this block. First, create two large circular vertical holes with a diameter of 102mm, centered at coordinates ...
$fn=200; difference(){ roundedCube5(214.8,130,27.6); translate([53.4,76.6,23.6]) rotate([0,0,0]) cylinder(h=400, d=102, center=false); translate([161.4,76.6,23.6]) rotate([0,0,0]) cylinder(h=400, d=102, center=false); translate([53.4,25.6,23.6]) cube([108,102,14]); translate([3.1,0,0]){ translate([53.4,25.6,8.6])...
glb/cad_c98a76225d8e.glb
Create a Kanban EV Insert organizer by starting with a solid rectangular block measuring 109.4mm in width, 134mm in depth, and 17.6mm in height. Apply a 5mm fillet to all vertical edges of this block to round the corners. Within this main body, carve out four identical rectangular compartments. Each compartment should...
$fn=200; difference(){ roundedCube5(109.4,134,17.6); for(i = [0:1]){ for(j = [0:1]){ translate([(i*53.5)+2.4,(j*65.8)+2.4,1]) roundedCube5(51.1,63.4,100); translate([(i*109.4),(j*65.8)+34.1,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([(i*109.4)+20,(j*65.8)+16.3,14.6]) rotate([0,270,0]) linea...
glb/cad_5b22a63423cd.glb
Create a Kanban EV Insert organizer tray. Start with a base rectangular block measuring 54.8mm in width, 76.8mm in length, and 18mm in height, ensuring all vertical edges and corners are rounded with a 3mm radius. Carve out a central rectangular cavity for cards starting 1.5mm from the bottom, with dimensions of 50mm...
$fn=200; difference(){ roundedCube3(54.8,76.8,18); translate([2.4,2.4,1.5]) cube([50,72,100]); translate([27.4,0,-20]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([8.6,50,14]) rotate([90,0,0]) linear_extrude(100) difference(){square(4);circle(4);} translate([46.2,50,14]) mirror([1,0,0]) rotate([...
glb/cad_d09dcc3e6c9f.glb
Create a Kanban EV Insert organizer by starting with a base rectangular block measuring 176.8mm in length, 130mm in width, and 20.4mm in height, ensuring all outer corners are rounded with a 5mm radius. Hollow out the center of this block by removing a smaller rounded rectangular volume measuring 172mm by 106.6mm with ...
$fn=200; difference(){ roundedCube5(176.8,130,20.4); translate([2.4,21,11.4]) roundedCube3(172,106.6,100); translate([176.8,74.3,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([75.75,0,-1]) rotate([0,0,0]) cylinder(h=400, d=37.2, center=false); translate([97.1,3,-1]) rotate([0,0,180]) linear_e...
glb/cad_28e575e57dc8.glb
Create a Kanban EV Insert organizer by starting with a base rectangular block measuring 151.5mm in length, 114mm in width, and 14mm in height, ensuring all outer corners are rounded with a 5mm radius. Remove two large vertical finger holes, each 37.2mm in diameter, positioned at the center of the width (75.75mm) at b...
$fn=200; difference(){ roundedCube5(151.5,114,14); translate([75.75,0,-1]) rotate([0,0,0]) cylinder(h=400, d=37.2, center=false); translate([75.75,114,-1]) rotate([0,0,0]) cylinder(h=400, d=37.2, center=false); translate([97.1,111,-1]) rotate([0,0,90]) linear_extrude(60) difference(){square(3);circle(3);} translat...
glb/cad_999575c50641.glb
Create a rectangular tray with rounded corners, measuring 31.4mm in width, 134mm in length, and 20mm in height. The tray should have a wall thickness of 0.2mm. On the top surface of the tray, centered horizontally, create a recessed rectangular area measuring 26.2mm by 30mm with a depth of 5mm. Inside this recessed a...
$fn=200; rotate([0,180,0]){ difference(){ translate([2.4,134,14.6]) rotate([90,0,0]) linear_extrude(height=82.2) polygon(points=[[0.2,-0.8],[0.2,0],[2,2],[29.6,2],[31.4,0],[31.4,-0.8]]); translate([5.4,54.8,13.6]) rotate([0,0,180]) linear_extrude(20) difference(){square(3);circle(3);} translate([30.8,54.8,13.6]) ro...
glb/cad_72f650c2d5fc.glb
Create a Kanban EV Insert organizer by starting with a rounded rectangular block measuring 54.8mm wide, 76.8mm deep, and 42mm high, with corner radii of 3mm. Hollow out the center of this block to create a storage compartment that is 50mm wide and 72mm deep, leaving a wall thickness of 2.4mm on the sides and a base thi...
$fn=200; difference(){ roundedCube3(54.8,76.8,42); translate([2.4,2.4,1.5]) cube([50,72,100]); translate([27.4,0,-20]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([8.6,50,38]) rotate([90,0,0]) linear_extrude(100) difference(){square(4);circle(4);} translate([46.2,50,38]) mirror([1,0,0]) rotate([...
glb/cad_f8cd681c0bd5.glb
Create a Kanban EV Insert organizer tray by starting with a solid rectangular block measuring 50.1mm in width, 62.4mm in depth, and 16.6mm in height. Apply a corner radius of 5mm to all vertical edges of this block. From the top face, remove a central rectangular section to create a hollow compartment. This interior cu...
$fn=200; difference(){ roundedCube5(50.1,62.4,16.6); translate([12.4,12.4,11]) minkowski(){ cube([25.3,37.6,23]); sphere(r=10); } } module roundedCube5(x,y,z) { r=5; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } } module roundedCube3(x,y,z) { r=3; translate([r,r,0]) minkowski()...
glb/cad_d41145d8bca7.glb
Create a Kanban EV Insert organizer by starting with a base rectangular block measuring 88.2mm wide, 130mm long, and 27.6mm high, featuring rounded corners with a 5mm radius. Within this base, carve out four rectangular compartments. Two of these compartments are positioned at x=2.4mm and x=48.8mm, and y=2.4mm and y=...
$fn=200; difference(){ roundedCube5(88.2,130,27.6); translate([0,0,0]){ for(i = [0:1]){ for(j = [0:1]){ translate([(j*46.4)+2.4,(i*78.2)+2.4,1]) roundedCube3(37,47,100); translate([(j*88.2),(i*78.2)+25.9,-20]) rotate([0,0,0]) cylinder(h=400, d=25, center=false); translate([(i*80)+20,(j*78.2)+10.7,24.6]) rotate([0,2...
glb/cad_3d441d9af370.glb
Create a Height Gauge consisting of a scale and a body. The scale is a rectangular block 50.8 mm long, 6.35 mm wide, and 6.35 mm thick. Center a 5.35 mm wide, 5.35 mm deep slot along its entire length to create two parallel rails. On the right face of the scale, add metric graduation marks. Every 1 mm, add a mark 3 m...
$fn = 120; inch = 25.4; long = 2*inch; wide = 3*inch/4; thik = inch/4; fufa = 0.2; diam = thik-2*fufa; rotate([90,0,0]){ difference(){ hull(){ cylinder(d=diam,h=long); translate([inch-diam,0,0])cylinder(d=diam,h=long); } translate([0,diam/2-1,0])cube([inch-diam,1,long]); } translate([(i...
glb/cad_243cc00a4244.glb
Create a height gauge consisting of a scale and a matching body. The scale is a rectangular block 50.8mm long, 19.05mm wide, and 6.35mm thick. On the left face, engrave imperial graduations in increments of 1/16th of an inch, and on the right face, engrave metric graduations in 1mm increments. Make the 5mm and 10mm met...
$fn = 120; inch = 25.4; long = 2*inch; wide = 3*inch/4; thik = inch/4; fufa = 0.2; diam = thik-2*fufa; difference(){ union(){ translate([2*wide,0,0]){ rotate([0,0,180]){ difference(){ hull(){ translate([0,-wide/2,0])cube([wide/2,wide,long]); rotate([0,-15,0]) ...
glb/cad_1e235d0a4aac.glb
Create a height gauge consisting of a body and a scale. The body is a composite shape formed by a rectangular block and a semi-cylinder. Create a rectangular prism 19.05mm wide, 6.35mm thick, and 50.8mm long. Attach a semi-cylinder with a diameter of 19.05mm and a length of 50.8mm to one side of the block. From this co...
$fn = 120; inch = 25.4; long = 2*inch; wide = 3*inch/4; thik = inch/4; fufa = 0.2; diam = thik-2*fufa; translate([2*wide,0,0]){ rotate([0,0,180]){ difference(){ union(){ translate([0,-wide/2,0])cube([wide/2,wide,long]); cylinder(d=wide,h=long); } translate([wide/2,0,0])cylinder(d=t...
glb/cad_6235a9e75eea.glb
Create a watch charger standoff with a total height of 4mm. Start by forming a solid rectangular base that is 41.1mm long, 17.55mm wide, and 4mm thick, centered on the origin. Round the two short ends of this base by adding half-cylinders with a diameter of 17.55mm and a length of 4mm, centered at each end. From this...
y_dim = 11.55; x_dim = 41.1; z_dim = 4; scale = 6; $fn = 100; difference() { union() { translate([-(x_dim/2)+(y_dim/2)-1,0,0]) rotate([0,0,90]) cylinder(d=y_dim+scale, h=z_dim, center=true); translate([ (x_dim/2)-(y_dim/2)+1,0,0]) rotate([0,0,90]) cylinder(d=y_dim+scale, h=z_dim, center=true); cube([x_d...
glb/cad_3a58206cbb94.glb
Create a belly pouch adjustment buckle by starting with a main body that is 23mm wide, 38.5mm long, and 4.6mm thick. The outer perimeter of this body should be rounded, formed by the intersection of two large cylinders with radii of 113mm. To create the central opening, remove a rectangular block measuring 18.7mm by 38...
difference(){ intersection(){ minkowski(){ intersection(){ cube([23,38.5,4.6],center = true); translate([-101.5,0,0]) cylinder(r=113,h=4.6,center = true, $fn=400); translate([101.5,0,0]) cylinder(r=113,h=4.6,...
glb/cad_ef99c16884ce.glb
Create a base for a floor lamp designed to hold an aluminum LED channel. Start by creating a main cylindrical body with a radius of 60mm and a height of 30mm. Within this cylinder, carve out a central rectangular slot measuring 17mm wide by 7mm deep that runs through the full height of the base. To form the walls, rem...
$fn = 200; base_height = 30; base_radius = 60; padding = 5; difference() { difference() { union() { difference() { cube([20, 10, base_height], center = true); translate([0, -5, base_height / 4]) cube([20 - padding, 10 ...
glb/cad_4ab266561bfd.glb
Create a Hex Shank Drill Bit Holder consisting of a row of 13 identical hexagonal slots. Each slot is formed by a hexagonal tube with an outer diameter of 10.8mm and an inner diameter of 8mm, extending to a height of 33mm. The walls of these tubes are 1.4mm thick. To ensure the bits stay secure, each hexagonal slot fe...
PLUG_HEXAGON_DIAMETER = 15.4; PLUG_AF_SIZE = PLUG_HEXAGON_DIAMETER * sqrt(3) / 2; PLUG_LENGTH = 13; tolerance = 0; FIRST_PLUG_X = 45; translate([FIRST_PLUG_X,PLUG_LENGTH+4,PLUG_AF_SIZE/2-tolerance]){ rotate([90,0,0]){ cylinder(d=PLUG_HEXAGON_DIAMETER, h=PLUG_LENGTH, $fn=6); } } translate([FIRST_PLUG_...
glb/cad_8a405f621796.glb
Create a modular blow gun toy designed for darts with a diameter of 14mm. The main body is a hollow cylinder with an outer diameter of 20mm and an inner bore of 14mm, extending to a total height of 215mm. Start by constructing the base section as a truncated cone 30mm in height, tapering from a bottom diameter of 39m...
dart_diameter=14; use <threads-scad/threads.scad>; nom_diam=dart_diameter+1; difference(){ union(){ translate([0,0,30]) cylinder(155,d=nom_diam+6,$fn=70); translate([0,0,185]) ScrewThread(nom_diam+6, 11, pitch=0, tooth_angle=30, tolerance=0.4, tip_height=0, tooth_height=0, tip_min_fract=0); } translate([0,0,-.5]) cyli...
glb/cad_a7309c126468.glb
Create a modular blow gun toy middle section. Start by constructing a main outer body consisting of a cylinder 185mm tall with a diameter of 20mm, topped with a screw thread 11mm high with a 30-degree tooth angle and a 0.4mm tolerance. At the base of this main cylinder, add a 15mm tall cylinder with a 24mm diameter, wh...
dart_diameter=14; use <threads-scad/threads.scad>; nom_diam=dart_diameter+1; difference(){ union(){ translate([0,80,0]) cylinder(185,d=nom_diam+6,$fn=70); translate([0,80,185]) ScrewThread(nom_diam+6, 11, pitch=0, tooth_angle=30, tolerance=0.4, tip_height=0, tooth_height=0, tip_min_fract=0); translate([0,80,0]) cylind...
glb/cad_3e5d41346637.glb
Create a modular blow gun toy end section. Start by constructing a main outer body consisting of a cylinder 200mm long with a diameter of 21mm. At the base of this cylinder, add a shorter 15mm tall cylinder with a diameter of 24mm, and above that, a 25mm tall frustum that tapers from a 24mm diameter at the bottom to a ...
dart_diameter=14; use <threads-scad/threads.scad>; nom_diam=dart_diameter+1; difference(){ union(){ translate([0,40,0]) cylinder(200,d=nom_diam+6,$fn=70); translate([0,40,0]) cylinder(15,d=nom_diam+10,$fn=70); translate([0,40,15]) cylinder(25,d1=nom_diam+10,d2=nom_diam+5,$fn=70); } union(){ translate([0,40,15]) cylind...
glb/cad_434d2c0b6b3b.glb
Create a dart clip holder consisting of a central hollow tube surrounded by six identical outer tubes. The central tube and all surrounding tubes must have an inner diameter of 14mm and a height of 25mm. The central tube is a hollow cylinder with an outer diameter of 21.5mm. Surrounding this center, position six addi...
dart_diameter=14; use <threads-scad/threads.scad>; nom_diam=dart_diameter+1; union(){ translate([0,160,0]) { difference(){ cylinder(d=nom_diam+7.5,25,$fn=70); translate([0,0,-.25]) #cylinder(d=nom_diam+6.1,25.5,$fn=70); } } translate([0,160,0]){ rad=nom_diam+3.5; for(x =[0:6]) { z = x*60; difference(){ translate([rad*...
glb/cad_c099bac069cc.glb
Create a modular blow gun toy for darts with a nominal dart diameter of 14mm. The assembly consists of three main tube sections and a dart clip. First, create the front section: a cylinder 201mm long with an inner diameter of 14mm and an outer diameter of 20mm. The base is a 30mm tall frustum tapering from a 39mm diam...
dart_diameter=14; use <threads-scad/threads.scad>; nom_diam=dart_diameter+1; difference(){ union(){ translate([0,0,30]) cylinder(155,d=nom_diam+6,$fn=70); translate([0,0,185]) ScrewThread(nom_diam+6, 11, pitch=0, tooth_angle=30, tolerance=0.4, tip_height=0, tooth_height=0, tip_min_fract=0); } translate([0,0,-.5]) cyl...
glb/cad_cbaa29265d5c.glb
Create a Crocs charms washer by starting with a main cylindrical disk that has a diameter of 22mm and a height of 1.2mm. On one side of this disk, add a rectangular tab that extends from the edge toward the center; this tab should have a total length of 16.6mm (which is the sum of a 10mm length plus half the button dia...
diameter=22; diameter_button=13.2; textstr="👆"; textsize=6; do_hole="yes"; tab_len=10; tab_total_len=tab_len+diameter_button/2; tab_width=diameter*.75; d_pull_hole=2.5; $fn=64; r_inner=diameter_button/2; r_hole=2; cutout=r_inner*.425; height=1.2; base_height=.6; module rsquare( width, length, r_c ) { hul...
glb/cad_51742e9dc579.glb
Create an Oven Knob Lockout with a uniform thickness of 1.6mm. The object is composed of two primary joined sections: a handle and a lockout base. First, construct the handle. It should have a total width of 45mm (65mm total width minus two 10mm corner radii) and a height of 35mm. The top of the handle is a semi-circl...
$fn = $preview ? 0 : 120; GOLD= (1 + sqrt(5))/2; TotalWidth=65; HandleHeight=35; LockoutHeight=TotalWidth; LockoutDiameter=15; HandleDiameter = 30; CornerRadius=10; LockoutThick=1.6; module Handle(h, w, r1 ){ w2 = w/2; A=h-r1; r2 = (A*A + w2*w2 - r1*r1) / (2*(A + r1)); cosa = w2/(r1+r2); d...
glb/cad_145c4a37d7a1.glb
Create a foot for a PVC pipe by constructing a composite cylindrical base. Start with a main outer cylinder 30mm in diameter and 4.5mm high. From the top of this base, remove a central cylindrical core with a diameter of 11mm and a height of 1.5mm, leaving a 3mm thick floor at the bottom. Above this base, add a second ...
$fn=321; difference() { union() { difference() { cylinder(r=30/2, h=3+1.5); translate([0,0,3]) cylinder(r=20.5/2+.5, h=2.01); } translate([0,0,3-.01]) cylinder(r1=18/2+.25, r2=18/2, h=12.01); } if(true) { translate([0,0,-.01]) cylinder(r=8.5/2, h=5.02); translate([0,0,5.2]) cylin...
glb/cad_e9bc638cfec7.glb
Create a foot for a PVC pipe by constructing a cylindrical plug with a hollow center. Start with a base cylinder that has a radius of 10.25mm and a height of 3mm. On top of this base, add a second cylinder with a height of 24mm, starting from a radius of 9.25mm at the bottom and tapering slightly to a radius of 9mm at ...
$fn=321; difference() { union() { cylinder(r=20/2+.25, h=3); translate([0,0,3-.01]) cylinder(r1=18/2+.25, r2=18/2, h=24.01); } translate([0,0,3]) cylinder(r=12/2, h=24.01); }
glb/cad_7e3b845e0318.glb
Create a foot for a PVC pipe by constructing a composite cylindrical base. Start with a main cylinder 25mm in diameter and 4.5mm high. On top of this base, add a centered conical frustum that transitions from a bottom radius of 7mm to a top radius of 6.75mm over a height of 8mm. Atop this frustum, place a second cylind...
$fn=321; difference() { union() { difference() { cylinder(r=25/2, h=3+1.5); translate([0,0,3]) cylinder(r=16.25/2+.5, h=2.01); } translate([0,0,3-.01]) cylinder(r1=13.5/2+.25, r2=13.5/2, h=8.01); } if(true) { translate([0,0,-.01]) cylinder(r=8.5/2, h=5.02); translate([0,0,5.2]) ...
glb/cad_cee580d197f7.glb
Create a Gridfinity Kitchen Funnel Stand starting with a standard 1x1 Gridfinity base that is 42mm in length. Centered on top of this base, construct a hollow cylindrical sleeve with an outer diameter of 40mm and a total height of 43mm. To create the support structure of the sleeve, remove a smaller concentric cylinder...
include <gridfinity-rebuilt-utility.scad> $fa = 8; $fs = 0.25; gridx = 1; gridy = 1; gridz = 3; length = 42; enable_lip = false; gridfinityBase(gridx, gridy, length, 0, 0, 1); height=43; diameter=40; translate([0,0,height/2+5]) difference() { cylinder(h=height, d=diameter, center=true); cylinder(h=height+1...
glb/cad_fbb6b1110aeb.glb
Create a parametric succulent pot by first constructing a solid base shape. This base is a linear extrusion 100mm high, formed from the convex hull of two circles with diameters of 150mm, where the second circle is offset 150mm along the x-axis. Hollow out the center of this volume by removing a smaller version of the ...
$fn=300; circ_d = 150; imprint_d = 10; imprint_h = 5; imprint_vs = 6; pot_h = 100; color("#AAF0C1",0.75) difference(){ linear_extrude(pot_h){ hull(){ circle(d=circ_d); translate([circ_d,0,0])circle(d=circ_d); }; }; for(flip=[0:circ_d:circ_d]) fo...
glb/cad_161bd3173f15.glb
Create a snap-in bumper foot. Start with a conical frustum that has a bottom diameter of 18mm, a top diameter of 20mm, and a height of 10mm. Centered within this frustum, create a vertical cylindrical hole with a diameter of 7.5mm that extends through the entire height. At the top of this hole, add a small conical prot...
$fn=64; botd = 18; topd = 20; height = 10; neckd = 7.5; difference() { union() { translate([0,0,0]) cylinder(d1 = botd, d2 = topd, h = height, $fn = 100); cylinder(d=neckd,h=height + 1); translate([0,0,height + 1]) cylinder(d1=neckd,d2=neckd + 1,h=1.5); translate...
glb/cad_917b5f8d3893.glb
Create a replacement handpiece for a spoke wrench. Start by creating a thin cylindrical base with a diameter of 30mm and a height of 3.1mm. From this base, remove a central cylindrical core with a diameter of 14.6mm and a height of 3.1mm. Additionally, remove a smaller cylindrical hole with a diameter of 6.1mm and a he...
$fn=50; difference(){ cylinder(d=30,h=3.1,center=true); difference(){ union(){ cylinder(d=14.6,h=3.1, center=true); #translate([5,5,0]){rotate([0,0,45])cube([1,4,3], center=true);} translate([6,0,0]){cylinder(d=6.1,h=3.1, center=true);} } translate([0,7,0]){cube([3.8,3.2,3.1], center=true);} translate([0,-...
glb/cad_3708afe28012.glb
Create a print bed handle for an MK4 printer by starting with a central rectangular block measuring 190mm in length, 10mm in width, and 44mm in height, with all edges rounded by a 20mm radius. Carve out a large central rectangular slot measuring 240mm by 30mm by 46mm to create a hollow channel through the middle. To re...
$fn=90; difference(){ minkowski(){ translate([0,0,-0.5])cube([190,10,44],center=true); cylinder(r=20); } translate([0,-15,0])cube([240,30,46],center=true); minkowski(){ translate([0,19,20])cube([240,10,44],center=true); rotate([0,90,0])cylinder(r=10); } minkow...
glb/cad_e2dbd2572cb0.glb
Create a Round Toothpick Dispenser consisting of a main box and a sliding lid. Construct the main box as a rectangular enclosure with outer dimensions of 80mm in length, 20mm in width, and 20mm in height. The walls should be 1.2mm thick. On the bottom interior, incorporate a ramp that slopes upward to guide toothpicks ...
$fn=120; translate([0,-20,0]) TPDelivery(); TPBoxBottom(); translate([0, -25,0]) Front(); module Front(){ rotate([90,0,0]) union(){ cube([80,1.2,20]); translate([1.2,0,2]) cube([1.2,2.4,16]); translate([80-2.4,0,2]) cube([1.2,2.4,16]); } } module TPDelivery(){ difference(){ TPS...
glb/cad_2bd3191ec012.glb
Create an Infinity Cube fidget toy consisting of eight identical rounded cubes, each with dimensions of 20mm x 20mm x 20mm and a corner radius of 3.3mm. Arrange these cubes into two layers of four. Connect the cubes using hinge pins that are 6.6mm thick, 11mm long, and 9mm wide, with a pin diameter of 2.4mm. Incorpora...
cube_a = 20; cube_r = 3.3; conn_width = 0.45*cube_a; conn_thick = 2*cube_r; conn_length = 2*conn_thick; conn_pin_d = 0.5*conn_thick; echo("Calculated: ", conn_width, conn_thick, conn_length, conn_pin_d); gap_x = 0.2; gap_y = 0.2; gap_z = 0.4; gapadd_r = 0.1; mhole_h = 4.5; mhole_d = 3; mhole_wall = 0; $fn = 32; e...
glb/cad_f2372d71eca6.glb
Create a coffee cup lid consisting of a tiered cylindrical structure. Start with a top circular lip 79mm in diameter and 4mm high. Attached directly beneath this lip, add a second cylinder with a diameter of 72.76mm and a height of 16mm. Within this lower cylinder, create a recessed ring for an o-ring seal. This ring ...
c_internal_cutout_wanted = true; c_text_wanted = true; c_text = "Adam's Cup"; c_text_z = 1.0; c_text_size = 8.0; c_text_embossed = true; runlevel = 3; $fn = 192; c_top_dia = 79.0; c_top_lip_z = 4.0; c_internal_dia = 72.76; c_internal_z = 16.0; c_oring_outer_dia = c_internal_dia; c_oring_internal_dia = 70.0; c_ori...
glb/cad_c7edbbad14ad.glb
Create a Linkable Extrusion Test object. The main body is a symmetrical geometric shape based on a 10mm size with a 5mm overlap and a total height of 5mm. The profile consists of a central square area with two rectangular arms extending from the sides, creating a shape similar to a wide "I" or a cross with recessed sec...
$fn=32; size=10; overlap=5; height=5; radius_corners=1; overcut=2.5; offset_overcut=1.0; chamfer_height=0.5; chamfer_depth=0.375; hole=true; radius_hole_outer=0.95; radius_hole_inner=1.0; module offset_extrude(r, convexity) { ar = abs(r); if (r>0) { intersection() { linear_extrude(height=ar) offset(delta=r, cha...
glb/cad_7426739892c7.glb
Create a parametric o-ring hose seal by constructing a torus with an outer diameter of 8.5mm and a circular cross-section diameter of 1.6mm. To ensure the model has a flat base for stability, slice the bottom of the torus by removing a thin horizontal section. Specifically, position a cutting plane such that it removes...
outer_diameter = 8.5; cross_section_diameter = 1.6; cut_fraction = 1/20; toroid_radius = (outer_diameter - cross_section_diameter) / 2; module o_ring_with_flat_base() { difference() { rotate_extrude($fn=100) { translate([toroid_radius, 0, cross_section_diameter / 2]) circle(d=...
glb/cad_f6d5027b28a7.glb
Create a TL-MC84 MoCA wall mount adapter. Start with a rectangular base plate 85mm long, 8mm deep, and 3mm high, featuring rounded corners with a 2mm radius. On the top surface of this base, center a rectangular landing area for a command strip that is 60mm long and 20mm wide, also with 2mm rounded corners. Add two...
POST_DISTANCE = 79.5; SHAFT_DIA = 3; HEAD_DIA = 5; MOUNT_BODY_GAP = 1.75; MOUNT_GAP_REST_LENGTH = 25; HEAD_HEIGHT = 2.5; LIFT = 2.5; BACKING_LENGTH = 85; BACKING_DEPTH = 8; BACKING_HEIGHT = 3; BACKING_ROUNDING_DIA = 4; COMMAND_WIDTH=20; COMMAND_LENGTH=60; COMMAND_ROUNDING_DIA = 4; SLICE = SHAFT_DIA * 1.1; SCREWHEA...
glb/cad_172fb02bab77.glb
Create a feedpoint bracket for a Slim Jim antenna. Start with a rectangular base block measuring 58mm in length, 40mm in width, and 10mm in height. Carve a horizontal cylindrical tunnel with a diameter of 13mm running through the center of the width, extending from one end of the block to the other. At each end of th...
$fn=200; module slim_jim_feedbar(L=45.,W=40.,H=10.,D=13.) { difference() { translate([0,0,-1*H/2.]) cube([L+D,W,H]); translate([0,-1,0]) rotate([-90,0,0]) cylinder(h=W+2,d=D); translate([L+D,-1,0]) rotate([-90,0,0]) cylinde...
glb/cad_337bfebb6ceb.glb
Create a soap holder consisting of two identical symmetrical pods connected by a central bridge. Each pod is formed by a hull of two cylinders with a radius of 32mm and a height of 64mm, creating a rounded rectangular block. Hollow out the center of each pod by removing a hull of two cylinders with a radius of 30mm and...
$fn = 64; radius = 30; width = 60; length = 130-2*radius+5; wall = 2; screw_distance = 207; color("lime") translate([-length/2-radius-wall/2,0,0]) difference() { hull() { translate([length/2,0,0]) rotate([270,0,0]) cylinder(h=width+2*wall, r=radius+wall); translate([-length/2,0,0]) rotate([270,0,0]) cylinde...
glb/cad_f14d692712ec.glb
Create a camera mount for a TBS Source One v4 frame. Start by constructing a vertical hollow cylinder with a height of 19mm, an outer diameter of 7.1mm, and an inner diameter of 5mm. From this cylinder, extend a solid wall that is 2.2mm thick. This wall should extend 18.2mm along the Y-axis and reach the full 19mm heig...
use <fpv_camera_mount.scad> anti_warp = .09; filament_width = 1.75; function anti_warp_widen(v) = v + (filament_width * anti_warp) * 2; function anti_warp_shrink(v) = v - (filament_width * anti_warp) * 2; height = 19; offset = 16; standoff_width = 5; standoff_wall_thickness = 1.05; wall_thickness = 2.2; $fs = $pr...
glb/cad_b2a85d0ce8e6.glb
Create a TBS Source One v4 camera mount consisting of a hollow vertical cylinder and an attached supporting wing. Start by creating a vertical cylinder with a height of 13mm, an outer diameter of 7.1mm, and an inner bore diameter of 5mm. Attached to the side of this cylinder, create a rectangular block with a width of ...
use <fpv_camera_mount.scad> anti_warp = .09; filament_width = 1.75; function anti_warp_widen(v) = v + (filament_width * anti_warp) * 2; function anti_warp_shrink(v) = v - (filament_width * anti_warp) * 2; height = 13; offset = 11; standoff_width = 5; standoff_wall_thickness = 1.05; wall_thickness = 2.2; $fs = $pr...
glb/cad_a506de7dd531.glb
Create a camera mount for a TBS Source One v4 frame. Start by constructing a vertical hollow cylinder with a height of 19.5mm, an outer diameter of 7.1mm, and an inner diameter of 5mm. From this cylinder, extend a flat wall with a thickness of 2.2mm. This wall should start from the side of the cylinder and extend outwa...
use <fpv_camera_mount.scad> anti_warp = .09; filament_width = 1.75; function anti_warp_widen(v) = v + (filament_width * anti_warp) * 2; function anti_warp_shrink(v) = v - (filament_width * anti_warp) * 2; height = 19.5; offset = 14; standoff_width = 5; standoff_wall_thickness = 1.05; wall_thickness = 2.2; $fs = $...
glb/cad_28c8b70866e4.glb
Create a camera mount for a TBS Source One v4 frame. Start by constructing a hollow vertical cylinder with a height of 12mm, an outer diameter of 7.1mm, and an inner diameter of 5mm. Attached to this cylinder, create a solid rectangular extension that is 1.75mm wide and 12mm high. This extension should project outward ...
use <fpv_camera_mount.scad> anti_warp = .09; filament_width = 1.75; function anti_warp_widen(v) = v + (filament_width * anti_warp) * 2; function anti_warp_shrink(v) = v - (filament_width * anti_warp) * 2; height = 12; offset = 13; standoff_width = 5; standoff_wall_thickness = 1.05; wall_thickness = 1.75; $fs = $p...
glb/cad_599b5844976f.glb
Create a TBS Source One v4 camera mount consisting of a hollow cylindrical standoff and an attached flat support wing. Start by creating a vertical cylinder with a height of 13mm, an outer diameter of 7.1mm, and an inner bore diameter of 5mm to form the standoff. Attached to the side of this cylinder, create a vertical...
use <fpv_camera_mount.scad> anti_warp = .09; filament_width = 1.75; function anti_warp_widen(v) = v + (filament_width * anti_warp) * 2; function anti_warp_shrink(v) = v - (filament_width * anti_warp) * 2; height = 13; offset = 13; standoff_width = 5; standoff_wall_thickness = 1.05; wall_thickness = 2.2; $fs = $pr...
glb/cad_9ef2a672b2eb.glb
Create a camera mount standoff by starting with a hollow cylinder that has an outer diameter of 7.1mm, an inner diameter of 5mm, and a total height of 7mm. To this cylinder, attach a solid rectangular block that is 1.75mm wide and 7mm high. This block should be positioned so that it extends from the side of the cylinde...
use <fpv_camera_mount.scad> anti_warp = .09; filament_width = 1.75; function anti_warp_widen(v) = v + (filament_width * anti_warp) * 2; function anti_warp_shrink(v) = v - (filament_width * anti_warp) * 2; height = 7; offset = 5; standoff_width = 5; standoff_wall_thickness = 1.05; wall_thickness = 1.75; $fs = $pre...
glb/cad_489b2eb73ec6.glb
Create a parametric card holder. Start by constructing a main body consisting of a base and two side walls. The base is a rectangular slab measuring 91mm wide, 30mm deep, and 5mm thick. From this base, extend two vertical walls upward to a total height of 58mm. One wall is a thin sheet 3mm thick running the full width ...
Width = 85; Height = 55; Stand = 30; WithHole = true; module frame() { WidthAndBorder = Width + 6; HeightAndBorder = Height + 3; difference() { union() { cube([WidthAndBorder,3,HeightAndBorder]); cube([WidthAndBorder,6,5]); cube([5,6,HeightAndBorder]); ...
glb/cad_665a74d041b7.glb
Create a spanner rail with a width of 20mm and a total height of 30mm. The main body is a linear extrusion of a repeating tooth pattern. For each of the three grooves, create a profile that starts at a base height of 5mm and rises to a peak height of 30mm. Specifically, for each segment, create a flat top section 5mm w...
runlevel = 3; cNumberOfGrooves = 3; cType = 2; cRailWidth = 20; cRetainingTag = 1; cRetainingTagWidth = 6; cRetainingTagLen = 8; cRetainingTagHeight = 5; cRetainingTagHoleDiameter = 4; cSeg0 = 0; cSeg1 = 5; cSeg2 = 10; cSeg3 = 15; cSeg4 = 20; cSeg5 = 25; cBase = 5; cOverallHeight = 30; cSegOverallLen = (cSeg5 * c...
glb/cad_d383341ec808.glb
Create a Gridfinity bin and lid set with a 2x2 grid base. The bin should have a total height of 21mm (3 units of 7mm), with walls 1.6mm thick. Divide the interior into a 6x6 grid of equal rectangular compartments. For the bin, incorporate a "scoop" feature: a curved cutout with a 14mm radius that removes material from...
include <gridfinity-rebuilt-openscad/gridfinity-rebuilt-utility.scad>; $fa = 8; $fs = 0.25; Part = "both_closed"; gridx = 2; gridy = 2; gridz = 3; Interior_Style = "fully_raised"; Lip_Grips = "xy"; Lid_Orientation = "down"; div_pattern = "default"; divx = 6; divy = 6; div_multiple = 2; gridz_define = 0; hei...
glb/cad_a971acc64d6b.glb
Create a bracket for a Prusa XL enclosure hack for IKEA Trotten. Start with a solid rectangular block measuring 53mm in length, 20mm in width, and 25mm in height. Carve out a central rectangular void measuring 18.4mm by 22mm and 18mm high, starting from a height of 7mm from the base. Create a large diagonal cutout fr...
$fn=80; module frictionfit() { difference() { union() { cube([52,20,25]); translate([5,-10,0]) cylinder (d=9.5,h=2); } union() { translate([18.8,-1,7]) cube([20.4,22,25]); translate([35.2,-1,-2]) rotate([0,45,0]) cube([18.4,22,50]); translate([53.5,10,7.8]) rotate([0,-45,0]) cylinder(d=4.5,h=...
glb/cad_2d2749c6c672.glb
Create a Beer Bottle Opener with a total width of 44mm, length of 86mm, and a height of 6mm. The main body is a rounded slab formed by the convex hull of four 2mm diameter circles positioned at the corners of a 44mm by 28.6mm rectangle, combined with a centered rectangular extension measuring 22mm by 57.3mm that extend...
$fn = 100; width = 44; length = 86; height = 6; printerResolution = 0.4; module base() { hull() { translate([0, 0, 0]) circle(1); translate([0, length/3, 0]) circle(1); translate([width, 0, 0]) circle(1); translate([width, length/3, 0]) circle(1); translate([width/4 + width/2, length/3 + length/2, 0]) cir...
glb/cad_9d9714dbc2ee.glb
Create a toenail protective cover designed as a curved shell. Start with a primary body formed by rotating a 2mm thick rectangular profile around a central axis with a radius of 12mm. This rotation should cover an arc length of 10mm, resulting in a curved segment with a total height of 10mm. To hollow out the interio...
nail_curve_radius = 12; length = 10; height = 10; top_length = 1; bottom_height = 3; mirror = 1; top_length_angle = 180* top_length / PI / nail_curve_radius; effective_angle = 2*asin(length/2/nail_curve_radius); mask_size = 10; mirror([mirror,0,0]) difference(){ rotate([0,0,-effective_angle/2]){ translate(...
glb/cad_f837f202aa1e.glb
Create a name tag based on the text "NameTagGen" using the Cooper Black font. The model consists of two stacked layers. First, create a base layer by extruding the text with a 4mm offset to create a thick, rounded border around the characters. Second, create a top layer by extruding the same text without an offset to a...
name = "NameTagGen"; $fn = 250; font = "Cooper black"; module nameTag(offset = 0) { linear_extrude(1) { offset(offset) { text(name, size = 10, font = font, halign = "center", valign = "center"); } } } union() { color("White") translate([0, 0, 1]) nameTag(); color("Red") nameTag(4); }
glb/cad_9ed739f2ab4f.glb
Create a refrigerator door stop closer consisting of a rectangular base and a cylindrical arm. Start with a rectangular base measuring 23mm in length, 13.5mm in width, and 7mm in height. At a position 17mm from the front edge along the center width, create a vertical hole for a screw. This hole begins with a 4.05mm d...
screw_od = 4.05; screw_head = 9.10 + 1; screw_pos = 17; base_width = 13.04; base_width = 13.5; base_length = 23; base_height = 7.00; hole_height = 4.70; arm_extension = 1.5; head_width = 8.13; arm_od = 25; arm_id = 11; arm_width = (arm_od-arm_id)/2; hole_to_surface = 15.33; hole_to_end = 3.5; $fn = 100; module arm...
glb/cad_916127bceb8b.glb
Create a paint rack for five 30ml paint pots. Start with a base rectangular block 178mm wide, 28.4mm deep, and 8mm high. Within this base, create five circular cutouts to hold the pots. Each cutout must have a diameter of 25mm and a height of 12.3mm. Position these holes in a row along the center axis, with each hole...
diam = 34.5; diii = 25; marg = 1; epai = 2; haut = 8; haus = 12.3; larg = 28.4; rati = 31.8/32.6; $fn = 360/1; difference(){ union(){ translate([0,-diam/2-epai+larg/2,0]) cube([5*diam+6*marg,larg,haut],center=true); translate([-2*diam-2*marg,0,0]) cylinder(h=haut,d=diam,center=true); trans...
glb/cad_b9b652c61755.glb
Create a paint rack for five 34.5mm diameter pots. Start with a base rectangular block 124mm wide, 28.4mm deep, and 8mm high. Within this base, create five circular cutouts to hold the pots. Each cutout should have a diameter of 25mm and a height of 8mm. Position these cutouts in a row along the center of the block, ...
diam = 34.5; diii = 25; marg = 1; epai = 2; haut = 8; haus = 12.3; larg = 28.4; rati = 31.8/32.6; $fn = 360/1; difference(){ union(){ translate([0,-diam/2-epai+larg/2,0]) cube([5*diam+6*marg,larg,haut],center=true); translate([-2*diam-2*marg,0,0]) cylinder(h=haut,d=diam,center=true); trans...
glb/cad_b2abdd28b1f1.glb
Create a cabinet stopper bracket by combining two geometric sections. First, construct a C-shaped channel with an outer length of 30mm, a height of 30mm, and a total thickness of 24mm. This channel is formed by taking a solid block of those dimensions and removing a central rectangular slot that is 27mm long, 30mm high...
door_thickness = 16; door_gap = 3; side_thickness = 30; door_grip_thickness = 4; door_grip_length = 30; door_grip_height = 30; union() { difference() { cube([door_grip_length, door_grip_height, door_thickness + door_grip_thickness*2]); translate([0,0,door_grip_thickness]) { cube([d...
glb/cad_e5b8890336cb.glb
Create a foot pad for a desk leg. Start by constructing a solid rectangular block with a total height of 9mm (6mm bottom thickness plus 3mm top thickness), a width of 35.3mm, and a depth of 40.3mm. Inside this block, carve out a central rectangular slot to accommodate a square leg of 30.3mm by 30.3mm. This slot shoul...
leg_size = 30.3; slot_margin = 0.2; side_thick = 2.5; top_thick = 3; bottom_thick = 6; horiz_ext = 10; tab_angle = 30; tab_max_protrude = 3; is_center_pad = false; slot_size = leg_size + slot_margin; slot_horiz_size = [slot_size, slot_size * 2, slot_size]; slot_vert_size = [slot_size, slot_size, slot_size * 2]...
glb/cad_ab03faf29f20.glb
Create a dashcam holder by starting with a rectangular back plate that measures 25mm in width and 25mm in depth, with a thickness of 5mm, centered along the X and Z axes and shifted 5mm along the Y axis. From this plate, remove two cylindrical holes, each with a diameter of 5mm and a height of 15mm. Position the first ...
include <reference_Dashcam_holder.scad> module back_plate(){ translate([0,5,0]){ cube([DC_TB_Diameter_PT+thickness_object*2+5,5,DC_TB_Diameter_PT+thickness_object*2+5],center = true); } } module hole_for_screws(){ color("green") translate([0,0,DC_TB_Radius_PT+(thickness_object/2)])rotate([270,0...
glb/cad_f2e45c7987e5.glb
Create a Hole hidder consisting of a rectangular plate with a length of 80mm, a width of 70mm, and a height of 3mm. Within this plate, create two circular holes, each with a radius of 3mm and a depth that passes completely through the 3mm thickness of the plate. Position the center of the first hole at X=21mm and Y=35m...
length = 80; width = 70; height = 3; hole_radius = 3; hole_x1 = 21; hole_y1 = 35; hole_x2 = 64; hole_y2 = 35; module hole(translated_position_X, translated_position_Y) { translate([translated_position_X, translated_position_Y, 0]) cylinder(r=hole_radius, h=height, $fn=30); } difference() { cube([length, widt...
glb/cad_34cce7cf9617.glb
Create a trivet holder by starting with a rounded rectangular block. The main body should have a total width of 25.0mm, a length of 176.0mm, and a total height of 107.0mm, with all four vertical corners rounded to a 4.0mm radius. Carve a large access opening through the top and front of the block. This opening is form...
trivetDiameter = 174.0; trivetThickness = 7.0; trivetCount = 6; {} $fs = 0.1; trivetDiameterTolerance = 1.0; trivetThicknessTolerance = 0.5; holderFloorHeight = 2.0; holderWallThickness = 2.0; holderCornerRadius = 4.0; holderExtraHeight = 20.0; accessHoleRadius = 50.0; accessHoleFilletRadius = 10.0; trivetRadius =...
glb/cad_e1ef6d632a62.glb
Create a Raspberry Pi 2B and SX130X HAT case consisting of a bottom shell and a top cover. For the bottom shell, create a rounded rectangular box with outer dimensions of 91mm length, 63mm width, and a total height of 23.85mm. The walls are 1.5mm thick. The interior should be hollowed out to fit a PCB of 85mm by 56mm...
$fn = 50; with_pin_header_cutout = false; with_dsi_cutout = false; height = 19; pcb_width = 56; pcb_length = 85; pcb_corner_radius = 3; pcb_thickness = 1.35; outer_corner_radius = 5; spacer = 0.5; wall = 1.5; bottom_offset = 2.5; top_overlap = 3; inner_height = bottom_offset + pcb_thickness + height; module body_cut(...
glb/cad_ace89076dbd5.glb
Create a pump mounting bracket consisting of a cylindrical base and two protruding mounting pins. Start with a cylindrical base that has an outer diameter of 64mm and a total height of 70mm (50mm for the main body and a 20mm insert section). The base is hollow, with an inner diameter of 54mm running through the cente...
tolerance = 0.3; $fn=100; pin_outer_diameter = 9.8 - tolerance; pin_inner_diameter = 6.85 + tolerance; pin_height = 12.5; pin_distance = 32.5; flange_height = 3; flange_cutout = 1.5; flange_ledge = flange_cutout * 0.5; base_outer_diameter = 64; base_insert_diameter = 57.7 - tolerance; base_inner_diameter = 54; base...
glb/cad_ddf40eaf6f4f.glb
Create a Cartridge Funnel designed to align .44-40 cartridges. The main body is formed by five identical funnel blocks placed side-by-side along the x-axis. Each block is a four-sided pyramid (square-based prism) rotated 45 degrees, with a height of 45mm. The base of each pyramid has a radius of approximately 8.6mm, ex...
calibre=12.2; rim_clearance=2.7; rim_dia=calibre+1.1; cartridge_rad=calibre/2*sqrt(2); wall=2; cartridge_count=5; funnel_expansion=18; funnel_height=45; module funnel_block(w) { rotate([0,0,45]) cylinder(h=funnel_height,r1=cartridge_rad+w,r2=funnel_expansion+cartridge_rad*cartridge_count+w,$fn=4); } module funn...
glb/cad_36fa6870eda8.glb
Create a window crank extension sheath by constructing a hollow cylinder. Start with a solid outer cylinder that has a diameter of 41.275 mm and a height of 21 mm. Centered within this volume, remove a smaller concentric cylinder with a diameter of 21 mm and a height of 42 mm to create a clean, through-hole bore. Ensur...
$fn = 512; INCHES = 25.4; HEIGHT = 21; INNER_DIA = 21; OUTER_DIA = (1+(5/8)) * INCHES; translate([0, 0, (HEIGHT / 2)]) difference() { cylinder(h = HEIGHT, d = OUTER_DIA, center = true); cylinder(h = (HEIGHT * 2), d = INNER_DIA, center = true); }
glb/cad_918cf83a0879.glb
Create a PCI Bracket with a main body measuring 120.02mm in length, 18.42mm in width, and 1.4mm in thickness. At the top, add a mounting tab 3mm thick, 19.05mm wide, and 11.43mm long, featuring a centered semi-cylindrical groove with a 2.21mm radius. At the bottom of the bracket, create an angled tab by removing two s...
resolution=32; low_profile=0; bracket_thickness = 1.4; angled_bottom_tab = 1; decorative_hole=0; isa_slot=0; pcb_thickness=1.6; top_tab_thickness = 3; first_screw_tab_enabled = 1; second_screw_tab_enabled = 1; screw_mounts_on_bottom_of_pcb = 0; screw_mount_width = 7.5; screw_mount_depth = 2.5; screw_mount_hole_r = 1....
glb/cad_c1a10392502c.glb
Create a PCI Slot Cover for Fan Controller Knobs. Start with a base rectangular bracket measuring 120.02mm in length, 18.42mm in width, and 1.4mm in thickness. At the top, add a mounting tab 3mm thick, 19.05mm wide, and 11.43mm long, featuring a centered semi-cylindrical screw groove with a radius of 2.21mm. On the ma...
resolution=32; low_profile=0; bracket_thickness = 1.4; angled_bottom_tab = 1; decorative_hole=0; isa_slot=0; pcb_thickness=0; top_tab_thickness = 3; first_screw_tab_enabled = 0; second_screw_tab_enabled = 0; screw_mounts_on_bottom_of_pcb = 0; screw_mount_width = 7.5; screw_mount_depth = 2.5; screw_mount_hole_r = 1.55...
glb/cad_87929a4c353d.glb
Create an ATX I/O shield for a Dell SAS expander. Start with a solid rectangular base plate measuring 162mm wide, 48mm high, and 1mm thick. Surround this base with a rectangular border frame that is 158mm wide and 44mm high, with a wall thickness of 2.58mm. On the face of the base plate, create three identical rectang...
sas_width = 21.25; sas_height = 8.25; space_between = 11.8; translate([-3.5, -3.5, 0]) union() { translate([2, 2, 1]){ difference() { cube([158, 44, 2.58]); translate([1.5, 1.5, -0.01]) cube([155, 41, 2.60]); } } difference() { cube([162, 48, 1]); ...
glb/cad_06a972409b24.glb
Create a protective plate for a children's bank. Construct a rectangular prism with a width of 90mm, a depth of 14mm, and a height of 5mm. All four vertical edges of the prism must be rounded with a radius of 2mm. Ensure the top and bottom faces are smooth and the overall geometry is a solid, continuous volume.
breite_mm = 90; tiefe_mm = 14; hoehe_mm = 5; radius_mm = 2; module abgerundetes_rechteck(breite, tiefe, radius) { hull() { for (x = [0, breite]) { for (y = [0, tiefe]) { translate([x, y, 0]) circle(r = radius, $fn = 30); } } } } diffe...
glb/cad_e92e315d8799.glb
Create a Gridfinity ruler holder occupying a 1x3 grid area. Start by constructing a standard Gridfinity baseplate for a 1x3 block with a height of 0mm, including screw holes in the base. On top of this base, add two identical sets of slanted dividers to create slots for rulers. Each set consists of four parallel recta...
include <gridfinity-rebuilt-utility.scad> $fa = 8; $fs = 0.25; gridx = 1; gridy = 3; gridz = 0; length = 42; style_lip = 1; cBackAngle = 30; cBackLen = 2; cBaseThick = 3; cRow1height = 10; cRow2height = 15; cRow3height = 20; cRow4height = 25; cHoles = 2; function aoffset(ang, reqlen) = reqlen / cos(ang); ...
glb/cad_b8e2a3f7c881.glb
Create a pulp tray for a citrus press by constructing a hollow cylindrical ring with a total height of 9mm. The main body is a tube with an outer diameter of 114mm and an inner diameter of 112mm, though the central void is larger, with a diameter of 67mm. The bottom section of the tray is a flat ring with a thickness o...
include <BOSL2/std.scad> $fn=100; difference(){ cylinder(9,72/2,67/2); cylinder(9.01,67/2,67/2); } difference(){ linear_extrude(2) difference(){ circle(112/2); circle(71/2); } zrot_copies(n=57,d=76){ linear_extrude(2.1) hull(){ circle(1); translate([12,5,0]...
glb/cad_b075b2009ceb.glb
Create a Weekly Slider Task Reminder consisting of a base plate, a top plate, and seven sliders. Construct the base plate as a rounded rectangle measuring 55mm by 95mm with a thickness of 1.5mm. On the face of this plate, create seven cutout slots for the sliders. Each slot should be 18.5mm wide and 7mm high, consist...
line1 = "Hnojivo"; line2 = "CO2"; line3 = "Po"; line4 = "Út"; line5 = "St"; line6 = "Čt"; line7 = "Pá"; line8 = "So"; line9 = "Ne"; Font_Lines1to2 = "Liberation Sans:style=Bold"; Font_Size_lines1to2 = 5; Font_Lines3to9 = "Liberation Sans:style=Bold"; Font_Size_lines3to9 = 5; Day_Font_Position = -24; module titles(lin...
glb/cad_c290aec38991.glb