Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create an Undermount Paper Bowl Dispenser with an overall height of 90mm. The main body is a hollowed cylindrical shell with a wall thickness of 3mm. The base is a truncated cone (frustum) that transitions from an inner diameter of 135mm to an outer diameter of 150mm over a height of 10mm. Above this transition, the bo...
plate_dia_inner=135; plate_dia_outer=150; transition_height=10; dispenser_width=100; dispenser_height=2; filler_width=140; filler_height=38; thickness=3; overall_height=90; screw_dia=4.2; screw_angle=110; $fn=200; difference(){ hull(){ translate([0,plate_dia_outer/2+screw_dia/2+2*thickness,overall_height-thickness]) c...
glb/cad_316c2ad5ac61.glb
Create a circular puzzle called "Bent Packing" consisting of a cylindrical box, a lid, and several puzzle pieces. Use a base voxel size of 10mm, an inner radius of 10mm, and a wall thickness of 2.5mm. Construct the box as a cylinder with a height of 30mm and a radius of 22.5mm. Hollow out the center with a cylinder of...
slop=0.22; include <BOSL2/std.scad> include <BOSL2/threading.scad> use <text_on.scad> $fn=360; inner_radius=10; voxel_size=10; bottom_thickness=2; wall_thickness=2.5; thread_thickness=4; inner_wall_thickness=2; hex_size=(5/10*voxel_size); shrink=0.15; bevel=1; friction=0.04; lid_thickness=2; thread_length=6; ...
glb/cad_7c0910930f0c.glb
Create a Eurorack TS-600 Vector T-slot mounting template. The main body is a vertical rectangular plate with a total height of 122.5mm and a width of 10mm. At the top and bottom ends, add two rounded rectangular blocks, each 25.4mm wide and 7.44mm high, with a corner radius of 1.86mm. The template has a base thickness...
body_height=3; arrow_offset=0.5; spine_offset=1; is_flat=false; one_inch = 25.4; eurorack_screw_distance = 122.50; circle_quality = 100; total_x = one_inch; total_y = 0.291 * one_inch; half_total_x = total_x/2; half_total_y = total_y/2; screw_hole_opening_width = 0.118 * one_inch; half_screw_hole_opening_width = ...
glb/cad_6f9ade1e9b35.glb
Create a shelf clip for a glass display cabinet by extruding a specific 2D profile to a height of 10mm. The profile is based on a series of circular and rectangular elements. Start with a large outer ring with a diameter of 9mm, and remove a concentric inner circle with a diameter of 4mm to create a curved wall. Cut th...
glass_thickness = 4.0; support_thickness = 2.5; clip_thickness = 1.5; support_width = 20.0; clip_id = 6.0; clip_width = 10; vert_offset = glass_thickness/2 + support_thickness/2; $fn=40; module flat_pattern() { difference(){ od=2*support_thickness + glass_thickness; circle(d=od); circle(...
glb/cad_f8b71a59e6d4.glb
Create two identical garden sprinkler connectors. For each, start with a main cylinder that has a radius of 19mm and a height of 60mm, using a 64-facet resolution for smoothness. Inside this main cylinder, create a vertical hole with a radius of 8mm that extends from the bottom base up to the top. At the top of the cyl...
include <waterHoseConnector.scad> polyRes = 64; sprinklerHight = 60; r = 38/2; rSprinklerHole=1; spHighCorr=0; module sprinkler(end=false) { difference() { union() { translate([0,0,60]) hoseConnector(); if(end==false) rotate([0,180,0]) hoseConnector(); cylinder(r=r,h=sprinklerHight,$fn=polyRes); } spHighCorr = (en...
glb/cad_2696d35df17c.glb
Create a calculator stand with a main body measuring 148mm wide and 153mm high. The body is a thin shell with a wall thickness of 0.3mm, tilted at an angle to create a supportive cradle. The outer perimeter features rounded corners with a 7mm radius. Construct the stand with protective barriers: a bottom barrier 10mm ...
calcWidth = 147; calcHeight = 150; standHeight = 47; cornerRadius = 7; interriorWidth = 80; interriorHeight = 80; textContent = "Calculator stand"; textSize = 5; textDepth = 0.4; textBottom = 20; barrierBottom = 10; barrierTop = 0; barrierLeft = 3; barrierRight = 3; barrierWidth = 1; barrierHeight = 3; w...
glb/cad_876471e00210.glb
Create a cover plate for an Orange Pi Plus 2 acrylic case. Start with a main rectangular base measuring 109mm by 68mm with a thickness of 2.5mm. Add two hinge bumps, each 3mm by 2mm by 2.5mm, centered on the Y-axis at the top and bottom edges, positioned 3.5mm from the left edge. Add two stop bumps measuring 11.5mm b...
board_width = 109; board_height = 68; board_thick = 2.5; hinge_width = 3; hinge_height = 2; hinge_x_axis = 3.5; stop_width = 11.5; stop_height = 5; stop_x_axis = 88; stop_radius = 0.75; stop_diameter = stop_radius * 2; serial_conn_width = 2.5; serial_conn_height = 10; serial_conn_y_axis = 35; unknown_di...
glb/cad_736bb46fbb02.glb
Create a Wall Socket Extender with a rectangular base measuring 70mm wide, 120mm high, and 13mm thick. The base is a hollow shell with a wall thickness of 2.5mm. Inside this shell, carve out a tiered rectangular opening. The outermost cutout is 38mm wide and 95mm high. Within that, create a second recessed layer meas...
case_width = 70; case_height = 120; case_length = 13; case_thick = 2; case_wall_thick = 2.5; inner_shape_out_width = 38; inner_shape_out_height = 95; inner_shape_in_width = 45; inner_shape_in_height = 71; inner_innest_shape_width = 20; inner_innest_shape_height = 100; inner_innest_shape_diamet...
glb/cad_7594041592eb.glb
Create a protective shell for a COB USB memory stick. Start by constructing a main rectangular block measuring 12.2mm wide, 26.2mm high, and 2mm deep. Hollow out the center of this block by removing a rectangular section 11.4mm wide, 25.4mm high, and 1.6mm deep, leaving a thin outer wall. At the top of this shell, cr...
cob_width = 11.4; cob_height = 25.4; cob_length = 1.6; uhold_width = 2.5; uhold_height = 2; uhold_length = 0.4; uhold_left_padding = 1.75; uhold_front_padding = 4.5; uhold_bottom_padding = 3; uhold_between_padding = 3.5; shell_width = 12.2; shell_height = 26.2; shell_length = 2; oshell_width = 13.6; oshell_height =...
glb/cad_27e7951ca844.glb
Create a BMG Extruder Mount consisting of a base plate and a vertical mounting pane. Start with a base plate that is 42mm wide, 25.5mm high, and 6mm thick, featuring rounded corners. In this base plate, create a hexagonal nut pocket with a side-to-side width of 7.2mm and a depth of 3mm, centered at a Y-position of 7.5m...
nema17_size = 42; nema17_hole_x_offset = nema17_size / 2; nema17_hole_y_offset = nema17_size / 2; nema17_hole_diameter = 22 + 0.4; nema17_screw_diameter = 3 + 0.2; nema17_screw_between = 31; extruder_x_offset = 4.25; base_pane_width = nema17_size; base_pane_height = 25.5; base_pane_length = 6; base_pane_screw_nut_wi...
glb/cad_05d8954f4023.glb
Create a Woodwind Reed Holder designed to hold tenor saxophone reeds. The main body is a rectangular block with an overall length of 89.6mm (1.12 times the reed length of 80mm) and a total width of 21mm (comprising an internal width of 18.36mm plus 2mm walls on each side). The holder has a base thickness of 2mm and out...
RType = "TSax"; Num = 2; double = true; cutout = true; bend = false; NList = ["1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K"]; RLen = (RType == "TSax") ? 80 : (RType == "ASax") ? 70 : (RType == "SSax") ? 58 : (RType == "BSax") ? 90 : (RType == "BSSax") ...
glb/cad_0b2fe5a02ead.glb
Create a character board storage case with overall dimensions of 141mm in length, 111mm in width, and 4.2mm in height. The main body should be a rounded rectangular slab with a corner radius of 4mm. The base thickness is 0.36mm. From this main body, carve out three distinct storage compartments. Position two card area...
LENGTH=141; WIDTH=111; HEIGHT=4.2; BOTTOM_THICK=0.16+0.20; CORNER_R=4; CORNER_D=CORNER_R*2; STORAGE_WALL=0.42*3; BOARD_LENGTH=141; BOARD_WIDTH=104.5; BOARD_CORNER_R=25.5; BOARD_THICK=1.9; BOARD_WALL=(WIDTH-BOARD_WIDTH)/2; STL_BOARD_WALL=3; BOARD_CORNER_D=BOARD_CORNER_R*2; BOARD_CORNER_CUT_Y=79; BOARD_CORNER_CUT_WIDTH...
glb/cad_cc9ebd26645c.glb
Create a three-sided open-top storage case for character boards. The outer dimensions of the case should be 147.2 mm in length, 113.25 mm in width, and 39 mm in height. The case is formed by removing a central rectangular volume from a solid block, leaving a base and three walls. The bottom floor of the case should b...
PAD=2; SIDE_WALL_THICK=0.42*5; BACK_WALL_THICK=0.42*3; BOTTOM_THICK=0.20+(0.28*2); BOARD_LENGTH=141; BOARD_WIDTH=111; BOARD_HEIGHT=4.2; LENGTH=BOARD_LENGTH+PAD+(SIDE_WALL_THICK*2); WIDTH=BOARD_WIDTH+BACK_WALL_THICK; HEIGHT=39; difference() { cube([LENGTH, WIDTH, HEIGHT]); translate([SIDE_WALL_THICK, BACK_WALL_TH...
glb/cad_2ac993795af2.glb
Create a set of 14 identical hexagonal tokens arranged in two parallel rows of seven. Each token must be a regular hexagon with a radius of 6.9mm and a uniform thickness of 1.6mm. Position the two rows so they are spaced 20mm apart from center to center along the y-axis. Within each row, space the individual hexagons 2...
HEX_R=13.8/2; TOKEN_THICK=0.20+5*0.28; TOKEN_SPACING=20; module hexagon(radius, height) { cylinder(r=radius, h=height, $fn=6); } for (j = [0:1]) { translate([0, j*TOKEN_SPACING, 0]) { for (i = [0:6]) { translate([i*TOKEN_SPACING, 0, 0]) { hexagon(radius=HEX_R, height=TOKEN_THICK); } }...
glb/cad_3a7f83bac4aa.glb
Create a set of teardrop-shaped tokens for a game. Each token should have a thickness of 1.6mm and a radius of 5.25mm. The tokens are arranged in seven rows with a spacing of 20mm between rows. The number of tokens per row follows a descending count: 9, 9, 6, 6, 6, 2, and 1. For each token, center a number from 1 to 7...
TOKEN_THICK=0.20+5*0.28; TOKEN_SPACING=20; COUNTS=[9,9,6,6,6,2,1]; NUMBERS=["1","2","3","4","5","6","7"]; DROP_R=5.25; TEXT_HEIGHT=6; TEXT_THICK=0.50; TEXT_FONT="Helvetica Narrow:style=Bold"; CIRCLE_RES=100; module teardrop(radius, length, angle=90, fn=30) { rotate([0, angle, 0]) { union() { linear_extr...
glb/cad_c9a5caf66189.glb
Create a soft-drink box ramp with a width of 130mm and a depth of 200mm. The main body is a wedge shape that slopes upward from a height of 10mm at the front to 20mm at the rear. Add side flanges along the left and right edges that are 2mm thick and 5mm high, and a rear flange across the back edge that is 2mm thick and...
model_h_front=10; model_h_back=20; model_w=130; model_d=200; side_flange_h=5; back_flange_h=15; flange_thickness=2; spike_inset_x=20; spike_inset_y=8; spike_base_d=4; spike_cone_h=5; spike_base_h=2; spike_n=3; hollowout_inset_x=7; hollowout_inset_y=5; hollowout_inset_y_back=spike_inset_y*2-flange_thickne...
glb/cad_ec3188963f54.glb
Create a dishwasher sign consisting of two interlocking parts: a base and a cover. First, create the base as a rectangular slab measuring 92mm wide, 14mm deep, and 3.2mm thick. Within this base, create a series of 11 rectangular holes for magnets, each measuring 5mm by 10mm by 2mm. On the top surface of the base, ext...
include <BOSL2/std.scad> w=92; l=14; h=3.2; m_space=2.5; l_space=9; lip=2; th=0.2; cd = ["C","D","L","I","E","R","A","T","N","Y"]; module t(x,y,z){ translate([x,y,z]) children(); } module mono_word() { for (ii = [0:9]) right(ii*l_space) linear_extrude(2) text(cd[ii], font="Tlwg Mono:style=Bold"); }; module magnet...
glb/cad_7f540b38574f.glb
Create a tactile representation of the "Unknown Pleasures" pulsar data. Start by creating a rectangular base plate that is 790mm wide, 600mm deep, and 4mm thick. On the top surface of this base, generate a series of 80 distinct profile curves based on the pulsar data. Each curve should be extruded to a height of 4mm. P...
depth = 10; thickness = 4; num=79; $fn = 64; module main() { union() { for (z = [0 : num]) { translate([depth*z,0,0]) linear_extrude(height = thickness) wave(z); translate([depth*z, 0, 0]) rotate([-90,0,0]) rotate_extrude(angle=30) wave(z); } translate([0,-300,0]) cube([790, 600, thickness]); } } ...
glb/cad_b4a09d231481.glb
Create a bowl holder consisting of a C-shaped ring and a vertical mounting bracket. Start by creating a circular ring with an inner diameter of 153mm and an outer diameter of 183mm, with a thickness of 15mm. The ring should be an open arc, missing a 60-degree segment to allow it to slide onto a surface. Attached to th...
$fn=80; wall=22; bowl=153; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } difference() { union() { translate...
glb/cad_f4cb5f8b8ed3.glb
Create a bowl holder designed to mount to a shelf. Start by creating a C-shaped ring with an inner diameter of 153mm and a cross-section of 15mm by 15mm. This ring should be an open circle, leaving a gap of approximately 60 degrees to allow it to be slid onto a circular object. Attached to one side of this ring, const...
$fn=80; wall=22; bowl=153; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } difference() { union() { translate...
glb/cad_a6bbf8c39abb.glb
Create a More Stable Bead Tray by constructing a hollowed-out triangular vessel. First, create the outer shell by forming a convex hull around three spheres with a diameter of 0.4mm. These spheres should be positioned 10mm above the base and placed at 120-degree intervals around the center, each offset 35mm from the or...
$fn=30; module dot() { sphere(d=0.4); } difference() { hull() for (angle = [0, 120, 240]) { rotate([0, 0, angle]) translate([35, 0, 0]) { sphere(d=0.4); translate([5, 0, 10]) sphere(d=0.4); } } hull() for (angle = [0, 120, 240])...
glb/cad_4c0af34f1658.glb
Create a parameterized cable clip with a height of 5mm. The main body is formed by a hull encompassing a cylinder with a radius of 3.2mm (calculated as half the cable diameter of 4mm plus a clip thickness of 1.2mm) and a second cylinder of the same radius shifted along the X-axis to a position of 16mm (calculated as th...
g_cable_d = 4; g_cable_loops = 5; g_clip_thickness = 1.2; module __Customizer_Limit__ () {} $fn=40; g_clip_height = 5; module clip(cable_d, cable_loops, clip_thickness, clip_height, debug=false) { cutout_height = clip_height + 0.1; cutout_translate = [0,0,-0.05]; if (debug) { #color("blue") ...
glb/cad_d0b0f572b715.glb
Create a print-in-place box with a hinged lid and a grid of internal storage cells. The base is a rectangular container with outside walls 1.5mm thick. Inside, create a 2x2 grid of cells, each with internal dimensions of 15mm x 15mm and a height of 15mm, separated by internal walls 0.6mm thick. Construct a lid of the ...
cellInsideX = 15; cellCountX = 2; cellInsideY = 15; cellCountY = 2; cellInsideZ = 15; cellWallThickness = .6; cellWallHeight = 0; outsideWallThickness = 1.5; lipThickness = .5; lipHeight = 1; lipClearance = .3; hingeClearance = .2; latchHookClearance = .4; lidRotate = 0; showColor = false; showCutout = f...
glb/cad_a0106a1d1a72.glb
Create a 35mm film spool consisting of two identical flanged discs connected by a central cylinder. Each disc has an outer radius of approximately 24mm and a thickness of 31mm. The central connecting cylinder has a smaller radius of approximately 16.8mm. On the outer face of each disc, place 16 evenly spaced sprocket ...
axelWidth = 4.4; difference() { spool( 16 ); cylinder(100, axelWidth/2, axelWidth/2, center = true, $fn=100); translate([0,0,6.5]) { rotate([90,0,0]){ cylinder(100, 1.6, 1.6, center = true, $fn=100);} } translate([0,0,22.0]) { rotate([90,0,0]){ cylinder(100, 1.6, 1.6, center = true, $fn=100);} } } module...
glb/cad_3e1cd2014ea5.glb
Create a drill bit holder consisting of 13 identical hexagonal slots arranged in a linear row. Each slot is formed by a hexagonal prism with a height of 33mm and an outer diameter of 10.6mm, with a hollow hexagonal center of 7.8mm diameter to receive the bit. The walls of each slot are 1.4mm thick. For each slot, inco...
watch_holder_len = 13; module __Customizer_Limit__ () {} include <nws-common.scad>; $holder_height = 33; $bit_d = 7.8; $wall=1.4; $sep_width=6; $bump_height=.6; $bump_width=1; $bump1_length=4; $bump1_z = 9.6; $bump2_length=6; $bump2_z = 25.5; $window_width = 4; $window_height = 11; $window_z_offset = 18; module ...
glb/cad_dd5efa153b0b.glb
Create a drill bit holder consisting of three identical hexagonal cells arranged in a row. Each cell is a hexagonal prism with a height of 33mm and an outer diameter of 11mm. The center of each cell is hollowed out by a hexagonal hole with a diameter of 7.8mm. For each cell, create a vertical viewing window on the sid...
watch_holder_len = 3; module __Customizer_Limit__ () {} include <nws-common.scad>; $holder_height = 33; $bit_d = 7.8; $wall=1.4; $sep_width=6; $bump_height=.6; $bump_width=1; $bump1_length=4; $bump1_z = 9.6; $bump2_length=6; $bump2_z = 25.5; $window_width = 4; $window_height = 11; $window_z_offset = 18; module h...
glb/cad_c7b3aec3c167.glb
Create an artistic 3D composition by combining several geometric primitives. Start with a central sphere with a radius of 25mm. Intersecting this sphere, place a cylinder with a length of 100mm, a starting radius of 10mm, and an ending radius of 16.67mm, oriented horizontally along the Y-axis and centered so it extends...
size = 50; sphere_r = size/2; sphere(sphere_r, $fn=100); cylinder_r1 = size/5; cylinder_r2 = size/3; cylinder_h = size*2; translate([0, 0, -cylinder_h/2]) rotate([90, 0, 0]) cylinder(r1=cylinder_r1, r2=cylinder_r2, h=cylinder_h, $fn=100); torus_r1 = size/2; torus_r2 = size/10; translate([0, 0, -cylinder_h/2]) rotate...
glb/cad_627d094be06b.glb
Create a power switch lever with a main body height of 14mm. The main body is formed by the convex hull of four shapes: a cylinder with a diameter of 13.25mm, two cylinders with diameters of 6mm, and a small cube measuring 2.5mm by 2.5mm, all extending to the full body height. Subtract a large internal cavity from thi...
mainbodyheight = 14; switchcutout = mainbodyheight-3; mainholedia = 8.85; rez = 64; mainpivotholedia = mainholedia+4.2; leverdia = 20; leverthickness = 3; leverlength = 60; leverlength2 = 22; main_body(); module main_body() { difference() { union() { hull() { translate([4,0,0]) cylinder(d=mai...
glb/cad_61749e94903b.glb
Create a skimmer flap by starting with a rectangular base block measuring 140.7mm in width, 117.7mm in depth, and 18mm in height. Center this block and integrate a horizontal cylinder with a diameter of 6.5mm that runs through the center along the width, extending slightly beyond the edges to a total length of 155.7mm....
$fn=30; difference(){ union(){ cube([140.7, 117.7, 18], center=true); translate([0, -117.8/2, -18/2+6.5/2]) rotate([0, 90, 0]) cylinder(d=6.5, h=140.7+7.5*2, center=true); } translate([0, -1.06, 1]) cube([140.7-4, 117.7-2.1, 18-1.99], center=true); tra...
glb/cad_50afaecd9cef.glb
Create a Sock Clip for Laundry Rack consisting of a series of clips attached to a central rod clamp. First, create a rod clamp by forming a hollow cylinder with an inner diameter of 14.5mm and a wall thickness of 2.4mm. Cut a longitudinal opening into the cylinder at a 125-degree angle to allow it to snap onto a rod....
clip_count = 11; clip_width = 12; clip_distance = 4.5; teeth_gap = 1; half_end_clip = true; rod_diameter = 14.5; opening_angle = 125; max_overhang = 75; string_distance = 0; cut_width = 6; first_cut = undef; cut_across = true; sparse_rod_cuts = 2; sparse_rod_ratio = 0.25; clip_length = 30; clip_wall = 1.2; clip...
glb/cad_8fef214aac06.glb
Create an Audio DAC enclosure consisting of a matching top and bottom cover. Both parts start from a base rectangular block measuring 42mm x 51mm x 22mm. Hollow out the center of both blocks to create a cavity of 38mm x 47mm x 19mm. For the bottom piece, add four cylindrical standoffs at the corners. Two standoffs are...
top(); bottom(); module top(){ translate([0,0,30]) intersection(){ box(); difference(){ translate([-20,-20,10])cube([100,100,20]); translate([-1,-1,9.9])cube([38+2,47+2,1]); } } } module bottom(){ difference(){ box(); difference(){ translate([-20,-20,10])cube([100,100,20]);...
glb/cad_77243a7fb4f2.glb
Create a Zuse inspired Z1 logic gate demonstration set. Start by creating a rectangular base plate measuring 35mm by 35mm with a thickness of 2mm. In this base, remove a square central hole of 5mm by 5mm and four circular pin holes with a radius of 1mm, positioned at the corners of the plate, each 2.5mm from the edges....
$fn = 16; cellRadius = 1.0; cellSize = 5.0; layerHeight = 2.0; blechWidth = cellSize * 7; blechLength = cellSize * 7; cellCenter = cellSize / 2; holeOffset = 0.15; pinXOffset = 1.75; pinYOffset = 1.5; use <basics.scad> module base() { difference() { translate([0,0,0]) cube([blechWidth, blechLength, lay...
glb/cad_77ec5d44bcbc.glb
Create a Zuse-inspired logic gate component consisting of a rectangular base plate with specific cylindrical cutouts. Start by creating a rectangular slab with a length of 60mm, a width of 15mm, and a height of 2mm. From this slab, remove a central rectangular section measuring 22.5mm in length and 5mm in width, cent...
$fn = 16; cellRadius = 1.0; cellSize = 5.0; layerHeight = 2.0; blechLength = cellSize * 12; blechWidth = cellSize * 3; cellCenter = cellSize / 2; holeOffset = 0.15; use <basics.scad> module dBlech() { difference() { translate([0, 0, 0]) color("yellow") cube([blechLength, blechWidth, layerHeight]); ...
glb/cad_4f7b33c653fb.glb
Create a Zuse inspired Z1 logic gate demonstration set consisting of two stacked cylinders. First, create a wide, flat cylindrical base with a diameter of 15mm and a height of 2mm. Centered on top of this base, add a second, narrower vertical cylinder with a diameter of 4.5mm and a height of 10mm.
$fn = 64; cellRadius = 1.0; cellSize = 5.0; layerHeight = 2.0; pinDiameter = 4.5; blechSize = cellSize * 3; translate([0, 0, 0]) cylinder(h = layerHeight, d = blechSize); translate([0, 0, layerHeight]) cylinder(h = layerHeight * 5, d = pinDiameter);
glb/cad_85a1316c775e.glb
Create a Zuse-inspired logic gate demonstration set consisting of two identical mirrored components. For one component, start with a rectangular base plate measuring 12mm wide by 35mm long with a thickness of 2mm. From this base, remove a central rectangular section measuring 5mm wide by 5mm long, centered 25mm from ...
$fn = 16; cellRadius = 1.0; cellSize = 5.0; layerHeight = 2.0; pinOffset = 0.15; pinXOffset = 0.75; blechWidth = cellSize * 7; blechLength = cellSize * 7; use <basics.scad> module pinSlitY() { color("gray") hull() { translate([0, 0 , 0]) pin(); translate([0, cellSize, 0]) pin(); } ...
glb/cad_356931297909.glb
Create a Zuse inspired Z1 logic gate demonstration set consisting of a base plate and four corner supports. Start by creating a rectangular base plate measuring 35mm by 35mm with a thickness of 2mm. At each of the four corners of this base, add a cubic support pillar measuring 5mm by 5mm with a height of 2mm. Within ...
$fn = 16; cellRadius = 1.0; cellSize = 5.0; layerHeight = 2.0; blechWidth = cellSize * 7; blechLength = cellSize * 7; cellCenter = cellSize / 2; holeOffset = 0.15; use <basics.scad> translate([0,0,0]) cube([blechWidth, blechLength, layerHeight]); translate([0 , 0 , layer...
glb/cad_7339d030d6a3.glb
Create a parametric container and matching lid for ball bearings. For the container, create a cylinder with an outer diameter of 23.5mm (22mm plus 1.5mm clearance) and a total height based on the number of bearings stored; for four 7mm thick bearings, the height should be 29.5mm (4 * 7.15mm + 1.5mm). Add a decorative b...
translate([0,30,0]) container(count=4); lid(); module container( od = 22, height = 7, count = 8 ) { clear = 1.5; length = count * (0.15 + height) + clear; $fn = $preview ? 32 : 100; cylinder(d=od + clear, h=length); translate([0,0,1] * (length - height/2)) rotate_extrude() translate([1,0,0] * (od + cl...
glb/cad_cd523e01860d.glb
Create a waterproof electronic enclosure consisting of a bottom base and a top lid. The bottom base is a rectangular box with rounded corners, measuring 60mm in length, 80mm in width, and 40mm in height. The walls have a thickness of 3mm. In each of the four corners, create a vertical cylindrical cutout to accommodat...
ShowBottom = true; ShowTop = true; DistanceBetweenObjects = 10; ShowCaseAssembled = false; SeeNutCut = false; SeeGrooveRidgeScrew = false; Caselength = 60; CaseWidth = 80; CaseHeight = 40; CutFromTop...
glb/cad_1b781e3c0446.glb
Create a waterproof electronic enclosure consisting of a bottom base and a matching top lid. The bottom base is a rectangular box with outer dimensions of 60mm length, 80mm width, and 40mm height. The walls have a thickness of 3.8mm. The four vertical corners are rounded with a radius of 12mm. At each of the four cor...
ShowBottom = true; ShowTop = true; DistanceBetweenObjects = 10; ShowCaseAssembled = false; SeeNutCut = false; SeeGrooveRidgeScrew = false; Caselength = 60; CaseWidth = 80; CaseHeight = 40; CutFromTop...
glb/cad_9006d850201d.glb
Create an LCD Cable Quick Release consisting of a base and a cover. For the base, start with a rectangular ground plate measuring 74mm x 28mm x 2mm. Centered on this plate, create a hexagonal hole with a diameter of 6.35mm (calculated as 5.5mm / cos(30°)) to accommodate a nut. Add a 3mm diameter vertical hole through...
$fn=25; connector=[23.1,8.2,10.0+3.2]; module holder() { difference() { union() { for(x=[-connector.x/2,connector.x/2],y=[-connector.z/2,connector.z/2]) { translate([x,y,0])intersection() { rotate([0,0,45])cylinder(r=3,h=connector.y+6,$fn=4); cylinder(r1=3,r2=1,h=connector.y+6); ...
glb/cad_58f56a01d64f.glb
Create a vacuum filter adapter consisting of a cylindrical cage with an outer diameter of 54.5mm and a total height of 85mm. The cage has a wall thickness of 2mm and a solid base height of 9mm. The interior is a hollow cylinder with a diameter of 50.5mm and a height of 83mm. At the top of the cage, create a solid circ...
cage_interior_diameter=50.5; cage_interior_height=83; cage_thickness=2; cage_top_inset=30; $fn=100; cage_outer_diameter=cage_interior_diameter+cage_thickness*2; cage_outer_height=cage_interior_height+cage_thickness; cage_outer_base_height=9; tab_cutout_width=9; tab_cutout_height=2.75; tab_cutout_height_offset=3.25; ...
glb/cad_2cdfdfafe82e.glb
Create a vacuum filter cap consisting of a threaded base and a gripping top. Start with a central cylindrical core 17mm in diameter and 9mm high, centered on the Z-axis. Subtract a UNC-5/16 internal thread from the bottom of this core, extending for 5 turns. Above this core, add a wide, flat circular disc with a diam...
use <threadlib/threadlib.scad> eps = 0.001; seal_diameter=33; seal_thickness=5; $fn=100; difference() { union() { translate([0, 0, 6]) { cylinder(h=1, d=seal_diameter+seal_thickness-1); } translate([0, 0, -2]) { cylinder(h=9, d=17); } } union() ...
glb/cad_1743289eeae4.glb
Create a vacuum filter adapter ring. Start with a thin circular ring that has an outer diameter of 97.5mm and an inner diameter of 95.5mm, with a total height of 1mm. To this ring, add three equally spaced retainer tabs positioned every 120 degrees around the circumference. Each tab is a small rectangular block that ex...
eps=0.001; $fn=100; inner_diameter=95.5; thickness=1; height=1; retainer_height=0.5; retainer_width=10; retainer_offset=3; retainer_tab_height=2; retainer_tab_thickness=2; outer_diameter = inner_diameter+thickness*2; difference() { cylinder(h=height, d=outer_diameter); translate([0, 0, -eps]) { cyl...
glb/cad_dfe53147d738.glb
Create a foldable cardboard-style box with a total thickness of 0.4mm. The design is mirrored across a central axis to create two identical halves. For each half, start with a central rectangular base measuring 27mm by 36mm. Attach a back panel of 26.6mm by 18mm to the side, separated by a 0.4mm gap. On the opposite s...
width = 54; depth = 36; height = 18; layerHeight = 0.2; thickness = 2 * layerHeight; thinThickness = layerHeight; gap = 0.4; slotWidth = 10; frontBackWidth = width / 2 - gap - thickness; $fn=$preview?32:128; module horizontalGap(gapWidth=frontBackWidth, xOffset=0) { color("blue") translate([xOffset, 0, 0])...
glb/cad_1d35c2e5a97e.glb
Create a parametric box with a flush cover. For the body, start with a solid rectangular block measuring 76.2mm in width, 163.2mm in length, and 71.6mm in height. Hollow out the center by removing a rectangular volume of 73mm by 160mm by 70mm, positioned 1.6mm from each side and 1.6mm from the bottom. Create a handle o...
ObjectSelector = "both"; Width = 73; Length = 160; Height = 70; WallTickness = 1.6; HandleDiameter = 15; HandleHeight = 4; CoverLipHeight = 4; CoverTolerance = 0.1; EnableDebug = true; module Body() { difference() { cube([Width + 2 * WallTickness, Length + 2 * WallTickness, Height + WallTickness])...
glb/cad_0560977eaca8.glb
Create a thin, flat washer for a drybox filament storage system. Start with a solid cylinder that has a radius of 11mm and a height of 0.4mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 5.8mm and a height of 0.6mm to create a circular hole that passes completely through the p...
difference(){ cylinder(r=11/2,h=0.4,$fn=100); translate([0,0,-0.1]) cylinder(r=5.8/2,h=0.6,$fn=100); }
glb/cad_fb4565aeb76c.glb
Create a cylindrical component consisting of three stacked sections with a central vertical axis. The base is a wide cylinder with a radius of 17mm and a height of 2mm. Centered on top of this base is a second cylinder with a radius of 15mm and a height of 7mm. Above this second cylinder, add a third section that is a ...
difference(){ union(){ cylinder(r=17,h=2,$fn=100); translate([0,0,2]) cylinder(r=30/2,h=7,$fn=100); translate([0,0,9]) cylinder(r1=30/2,r2=27.8/2,h=2,$fn=100); } for(i=[0:3]) rotate([0,0,i*90]){ translate([8,0,-0.5]) cylinder(r=1.7,h=1...
glb/cad_1c36925a9405.glb
Create a hollow cylindrical container with a total height of 126mm. The object consists of a main body with varying internal diameters to create a series of stepped ridges and recesses. Start with a base disk 1mm thick with a radius of 26mm. Above this, add a tapered section 2mm high that narrows from a radius of 26m...
difference(){ union(){ cylinder(r=26,h=1,$fn=100); translate([0,0,1]) cylinder(r1=26,r2=24,h=2,$fn=100); translate([0,0,3]) cylinder(r=24,h=120,$fn=100); translate([0,0,123]) cylinder(r1=24,r2=26,h=2,$fn=100); translate([0,0,125]) cylinder(...
glb/cad_8bbc8aac8a9f.glb
Create a procedural curved pipe adapter. The main body is a curved hollow tube with a 45-degree bend and an inner radius of 10mm. The tube's cross-section is a ring with an inner diameter of 30mm and an outer diameter of 38mm, resulting in a wall thickness of 4mm. The adapter features two straight cylindrical extensio...
nozzleInnerDiameter=30; nozzleOuterDiameter=34; nozzleHeight=10; wallThickness=2; degrees=45; bendRadius=10; z = nozzleHeight; OD = nozzleOuterDiameter+wallThickness*2; union() { difference() { rotate_extrude(angle=degrees,$fn=100) translate([nozzleOuterDiameter/2+wallThickness+bendRadiu...
glb/cad_67aa0d7402a9.glb
Create a game cartridge display shelf consisting of two side panels and a central shelving unit. For the side panels, create a flat plate 3mm thick. The overall footprint is a hull of three shapes: a 3mm x 136mm x 3mm rectangular base, a 3mm x 86mm x 3mm rectangle offset 63mm from the base, and a 96mm x 6mm x 3mm rec...
translate([5,0,0]) left_side(); mirror([1,0,0]) left_side(); translate([110,0,-3]) shelves(); module left_side( str = 3 ) { $fn = $preview ? 32 : 100; translate([96,0,0]) mirror([1,0,0]) hull() { cube([3,136,str]); translate([63,0,0]) cube([3,86,str]); cube([96,6,str]); } translate([0,3,0]) rotate([0,0...
glb/cad_2cbf618f087c.glb
Create a filament sensor adaptor jig consisting of two rectangular plates connected by a solid intermediary block. Start with a base plate measuring 38mm by 30mm with a thickness of 3mm and corner radii of 4mm. In this base plate, create two screw holes with a diameter of 3.5mm located at coordinates [34, 4] and [4, 26...
plate_dimensions = [38,30]; plate_corner_radius = 4; base_plate_thickness = 3; offset_plate_thickness = 3; screw_holes = [[34,4],[4,26]]; base_plate_hole_diameter = 3.5; offset_plate_hole_diameter = 2.8; access_hole_diameter = 7; plate_offset = [-20, 13, 11]; module __Customizer_Limit__ () {} epsilon = 0.001;...
glb/cad_01ae6ed1f235.glb
Create a poker dealer button by designing a flat, circular disc with a diameter of 80mm and a thickness of 4mm. Centered on the top face of the disc, embed the word "DEALER" using a bold, sans-serif font like Impact. The text should have a height of 15mm and a depth of 0.8mm. To create a mirrored effect, carve the word...
text_thickness=0.8; text_size = 15; disc_thickness = 4; disc_diameter = 80; epsilon=0.001; module dealer_text() { linear_extrude(height=text_thickness + epsilon) text("DEALER", size=text_size, font = "Impact", halign="center", valign="center"); } module dealer_text_upper() { color("blue") translate([0, 0,...
glb/cad_74ad9a71a9d9.glb
Create a Wire Cutter Lack enclosure hanging mount. Start by constructing a main holder body with a width of 35mm and a height of 30mm, with a wall thickness of 2mm. All outer corners of this body should be rounded with a radius of 1.5mm. The base of the holder is hollowed out from the bottom to a depth of 4mm. Inside ...
module __Customizer_Limit__ () {} include <nws-common.scad>; $plex_width = 4; $top_wall = 2; $wall = 2; $round = 1.5; $holder_width = 35 - $round*2; $holder_height = 30 - $round*2; $cut_size = 5; $tri_side = 14.5; $tri_outer_side = 16.5; $tri_height = 12.5; module cutter_holder() { difference() { translate([ ...
glb/cad_9553ef2200e4.glb
Create two separate cradles for the Sonoff ZB Bridge-P and SNZB-03. For the Bridge-P cradle, start with a solid rectangular block measuring 68.5mm x 24mm x 68.5mm. Remove a central rectangular volume of 62.5mm x 21mm x 62.5mm to create a hollow shell. Cut away the top section of the block using a large rectangular vo...
SNZB03cradle(); translate([100,0,0]) SNZBproCradle(); module SNZBproCradle(){ difference(){ cube([62.5+3,21+3,62.5+3],center=true); ZBridgePro(); translate([0,0,38])cube([100,50,50],center=true); translate([0,0,30])rotate([-45,0,0])cube([100,30,100],center=true); translate(...
glb/cad_8b61c2889303.glb
Create a tray for a changing table by constructing a solid block with a total height of 85mm and a width of 100mm. The main body is formed by a hull connecting four cylinders: two cylinders with a 15mm diameter positioned at x=158 and y=±25, and two cylinders with a 10mm diameter positioned at x=-19 and y=±27.5. Holl...
$fn=80; wall=22; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } module type1() { difference() { union() { hu...
glb/cad_2ee402d0c0c0.glb
Create a Sockerbit holder for the IKEA Myllra changing table. The object is a bracket designed to support a 19x26x15 cm box. Start by creating a main U-shaped support structure with a wall thickness of 22mm. The base of the holder should be a flat plate that fits snugly against the furniture. Construct the main body ...
$fn=80; wall=22; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } module main() { difference() { union() { hul...
glb/cad_4c2cb1151261.glb
Create a Metal Rack Wall Spacer by starting with a solid rectangular block that is 29.7mm wide, 31.2mm thick, and 41.4mm high. From this block, remove two identical vertical eyelet holes to create slots for a rack. Each eyelet hole should be constructed as a rounded slot with a width of 6.7mm and a height of 16.4mm, pa...
width = 29.7; width_eyelet = 6.7; height_eyelet = 16.4; distance_to_right = 6.5; distance_eyelet = 8; thickness = 31.2; two_eyelets_height = 2*height_eyelet + distance_eyelet; object_height_margin = 5; total_object_height = two_eyelets_height + 2 * object_height_margin; delta = 0.1; module eyelet() { color("...
glb/cad_94b9c0f9d446.glb
Create a spoke wrench indicator consisting of a base disc and a central raised cylinder. Start by creating a flat circular disc with a diameter of 40mm and a height of 3mm. Remove a rectangular section from the front of this disc using a cutout 55mm wide, 10mm deep, and 13mm high, centered along the front edge. On to...
diam_e = 40.0; diam_i = 20.1; height = 13; $fn=64; union() { difference() { cylinder(d=diam_e,h=3); translate([-20,-21,-0.1]) cube([55,10,13]); translate([-14,0,-0.01]) rotate([0,0,180]) cylinder(d=10,h=0.8,$fn=3); translate([0,-7,-0.01]) rotate([0,0,150]) cyli...
glb/cad_f595d6ec02ef.glb
Create a Legends of Andor character sheet cover consisting of two interlocking trays. First, construct the lower tray as a hollow rectangular box with outer dimensions of 260mm width, 99mm height, and 7.5mm total depth. The walls should be 1.8mm thick. The interior floor of this tray must be recessed by 10mm to accom...
nozzle=0.6; nr_walls=3; inset=10; clip = true; max_d = 250; module end_customizer() {} w=260; h=99; d=2.5; w_upper=155+1; wall=nr_walls*nozzle; module card() { prusa_hack=clip?inset+(w-max_d):0; cube([w, h, 3*d]); translate([inset+w/2, inset, -2*d]) cube([w/2-2*inset-prusa_hack, h-2*inset, ...
glb/cad_89e78caf66c8.glb
Create a charging cradle for an Anker wireless power pad and iPhone 11 Pro Max. The main body is tilted at a 60-degree angle. Start with a central circular ring with an outer diameter of 105mm and a wall thickness of 2mm. The ring's interior is a hollow cylinder with a diameter of 101mm and a height of 12.6mm. This r...
$fn=72; th = 2; thr = 3; h = 10.6; d = 101; pw = 85; ph = 165; pd = 13; translate([0,-1.5,0]) main(); module main() { rotate([60,0,0]) { difference() { union() { translate([pw/2,-ph/2,0]) cube([thr,ph,pd+h+th]); mirror([1,0,0]) translate([pw/2,-ph/2,0]) cube(...
glb/cad_5f1c5e567696.glb
Create a "STOP Think Observe Plan" sign. Start with a base plate that is an octagon with a radius of 100mm and a thickness of 4mm. The octagon should be oriented with a vertex pointing upwards, rotated 22.5 degrees. Drill a 5mm diameter hole centered at coordinates (0, 83, 0). Add a raised border on the top surface of...
sign_radius = 100; sign_height = 4; lettering_height = 0.7; border_outer_radius=96; border_inner_radius=94.2; text_size=30; small_text_size=20; first_text_y=35; small_text_y_offset=4; vertical_text_spacing=33; large_text_x=-53; centering_offset=13; small_text_x=-26; hole_dia = 5; hole_y = 83; $fn=30; font="Roadgeek 200...
glb/cad_b3c3f1158913.glb
Create a toy drilled bar by constructing a rounded rectangular prism with a total length of 80mm, a width of 15mm, and a height of 10mm. The corners of the prism should be rounded with a radius of 4mm. Centered along the length of the bar, create three vertical cylindrical holes, each with a diameter of 8mm and a depth...
$fa = 1; $fs = 0.4; num = 3; part(num); module part(n) { round_edge = 4; height = 10-2*round_edge; width = 19-round_edge; difference() { minkowski() { hull(){ cylinder(height, width, width); translate([(n-1)*40,0,0]) { cylinder...
glb/cad_5d2d050ca325.glb
Create a cabinet handle by constructing a base shape that transitions from a thin rectangular slab to a thicker section. Start with a rectangular base 10mm wide and 40mm long. The first 3mm of the length should be a constant height of 5mm. For the remaining 37mm of the length, create a wedge-like profile that starts at...
width=10; length=40; min_height=1; max_height=3; max_height_length=15; endstop_height=5; endstop_height_length=3; screw_dia=4.5; counterbore_dia=7; counterbore_height=1.5; $fn=100; difference(){ hull(){ cube([width,length,min_height]); translate([0,length-max_height_length-endstop_height_length,0]) cube([width,max_he...
glb/cad_01ddc4a8b133.glb
Create a cabinet handle with a main body that is 80mm long, 30mm high, and 15mm wide. The main body is a hollowed-out rectangular frame with rounded corners of 10mm radius and a wall thickness of 2mm. The top and bottom edges of the frame are angled at 10 degrees. Centered on the bottom edge of the frame, attach a so...
length=80; width=15; height=30; thickness=2; radius=10; angle=10; offset=25; screw_dia=4.5; screwdriver_dia=6.5; $fn=100; difference(){ union(){ hull(){ rotate([angle,0,0]) translate([-length/2+radius,-height/2+radius,-5]) cylinder(r=radius,h=width+10); translate([-length/2+radius,height/2-radius,0]) cylinder(r=radius...
glb/cad_7fd669cc1e10.glb
Create a Cylinder Configurable by constructing a smooth, right circular cylinder. The cylinder should have a constant radius of 40mm from the base to the top and a total height of 300mm. Ensure the circular faces are rendered with high resolution to appear perfectly round.
radius = 40; height = 300; cylinder(h=height, r1=radius, r2=radius, center=false, $fn = 360);
glb/cad_116d1e8025b2.glb
Create an IKEA Ledberg LED light round holder by constructing a hollow cylindrical sleeve. Start with an outer cylinder that has a radius of 21.5mm and a height of 7mm. Create a central hole through this cylinder with a radius of 20mm and a height of 9mm to form the main ring. At the top of this ring, create a thin c...
difference() { translate([0,0,10]) { rotate([0,-30,0]) { difference() { translate([0,0,2]) { difference() { cylinder($fn = 0, $fa = 4, $fs = 2, h = 7, r1 = 21.5, r2 = 21.5, center = false); translate([0,0,-1]) { colo...
glb/cad_3e481fabce75.glb
Create an IKEA Ledberg LED light round holder by constructing a main cylindrical body and modifying it with specific cutouts. Start with a cylinder that has a radius of 21.5mm and a height of 7mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 20mm and a height of 9mm,...
difference() { translate([0,0,13]) { rotate([0,-45,0]) { difference() { translate([0,0,2]) { difference() { cylinder($fn = 0, $fa = 4, $fs = 2, h = 7, r1 = 21.5, r2 = 21.5, center = false); translate([0,0,-1]) { colo...
glb/cad_bab597b24466.glb
Create an end cap bearing support consisting of three stacked coaxial cylinders. The base is a wide, thin disc with a radius of 10.25mm and a thickness of 2mm. Centered on this disc is a primary cylinder with a radius of 16mm and a height of 24mm. Atop this primary cylinder is a smaller central shaft with a radius of 5...
run = 1; $fn = 128; c_length = 24; c_width_external = 32; c_width_internal = 25.5; c_length_internal = 20; c_bearing_hole = 11.9; c_bearing_length = 11.5; c_tube_edge = true; c_tube_edge_width = 60; c_tube_edge_length = 5; c_bearing_washer = true; c_bearing_washer_width = 20.5; c_bearing_washer_thickness = 2; c...
glb/cad_e88cab4b67d6.glb
Create a spool bearing mount angle bracket. Start with a main rectangular block measuring 50mm in length, 20mm in thickness, and 50mm in height. Attached to the side of this block, add a support step that is 50mm long, 20mm wide, and 10mm high. In the center of the support step, create a vertical cylindrical screw hol...
$fn = 32; cy_thickness = 20; cx_length = 50; cz_height = 50; c_need_support_step = 1; cy_support_width = 20; c_support_hole_size = 6.5; cz_support_height = 10; cx_support_screw_pos = 20; cy_support_screw_pos = 7; c_support_screw_count = 1; c_support_screw_pos = (cx_length - (cx_support_screw_pos * 2)) / (c_s...
glb/cad_ef83ce23eddd.glb
Create a 3D RISC-V logo by extruding a series of 2D polygons. The model consists of a graphic icon followed by the text "RISC-V" and a trademark symbol. First, construct the icon using three polygons: a left-side shape with a curved outer edge and a flat base, a central diagonal trapezoid, and a right-side shape featu...
linear_extrude() union() { polygon ( points=[[9.7,-76.9],[36,-76.9],[36,-76.9],[37.79,-76.86],[39.524,-76.742],[41.2,-76.547],[42.82,-76.28],[44.383,-75.942],[45.889,-75.535],[47.339,-75.062],[48.731,-74.527],[50.067,-73.93],[51.346,-73.275],[52.568,-72.564],[53.733,-71.801],[54.841,-70.986],[55.893,-70.123],[56.887...
glb/cad_68b4fe6887ea.glb
Create a 3D RISC-V logo by extruding a series of 2D polygons. The model consists of a graphic icon followed by the text "RISC-V" and a trademark symbol. First, construct the icon using three polygons: a left-side shape with a curved outer edge and a flat bottom, a central triangular wedge, and a right-side shape featu...
linear_extrude() union() { polygon ( points=[[9.7,-76.9],[36,-76.9],[36,-76.9],[37.79,-76.86],[39.524,-76.742],[41.2,-76.547],[42.82,-76.28],[44.383,-75.942],[45.889,-75.535],[47.339,-75.062],[48.731,-74.527],[50.067,-73.93],[51.346,-73.275],[52.568,-72.564],[53.733,-71.801],[54.841,-70.986],[55.893,-70.123],[56.887...
glb/cad_dbf7b35b6292.glb
Create a support bracket by starting with a square base block measuring 65mm x 65mm with a thickness of 18mm. From the top face, remove a U-shaped channel to create a drop-in slot for a tube. This slot is formed by two semi-cylindrical cutouts, each with a radius of 18.75mm and a depth of 19mm, aligned side-by-side to ...
run = 1; $fn = 64; c_width = 65; c_thickness = 18; c_tube_dia = 37.5; c_tube_depth = 19; c_drop_in = true; c_mounting_screws = true; c_mounting_screw_size = 6.4; c_mounting_screw_offset = 7; module create_base() { cube([c_width, c_width, c_thickness]); } module remove_tube() { if (c_drop_in == true) { ...
glb/cad_2033be20fd73.glb
Create a Hex game board and its corresponding playing pieces. The board is a flat rhombic plate with a thickness of 4mm. It is composed of an 11x11 grid of hexagonal cells. Each cell is based on a hexagon with a diameter of 16mm. To create the board, start with a solid rhombic slab and remove hexagonal cutouts from the...
what = "board"; extent = 11; cell = 16; boardheight = cell / 4; size=cell * sqrt(3) / 2; height = size * sqrt(3) / 2; eps=1e-4; numpieces = floor((extent * extent - 1) / 2); echo("Board extent:", extent, "Number of pieces per player:", numpieces); module hexprism(s) { rotate([0, 90, 0])linear_extrude(3*s, ...
glb/cad_e5100f3874db.glb
Create a 45 Record Adapter by extruding a complex 2D pattern to a height of 5mm. The base pattern consists of three concentric circular rings. The outermost ring has a diameter of 38.1mm, and the innermost ring has a diameter of 26.1mm, both with a wall thickness of 0.8mm. Between these two rings, place five identical ...
th=0.8; n=5; half=true; before=false; h=5; tw=-37; $fa=1; $fs=0.2; eps=1/128; in=25.4/1; module circleline(d) difference() { circle(d=d); circle(d=d-2*th); } color("red") rotate(-$t*360/n) linear_extrude(h, convexity=2*n, twist=tw) { circleline(d=1.5*in); circleline(d=9/32*in+2*th); for(i=[...
glb/cad_5495e57f01ca.glb
Create a 4mm Micro Precision Bit Holder. Start with a main rectangular body 82.5mm wide, 11mm deep, and 12.5mm high. Center a pivot pin cylinder with a diameter of 4.5mm and a total length of 88mm running through the center of the body along its width. At each end of the body, add semicircular catches with a diameter ...
num_slots = 14; holder_type = 0; body_width = 82.5 ; body_depth = 11; body_height_array = [12.5,25]; body_height = body_height_array[holder_type]; slot_length = 4.5; slot_width = 4.1; total_pin_length = 88; pin_dia = 4.5; catch_dia = 2.5; bottom_thickness = 2; bottom_chamfer = 5; render_offset = 0.01; wind...
glb/cad_c5add0524e7d.glb
Create a kitchen wipes holder consisting of two mirrored, interlocking vertical supports. For each support, start with a base structure that includes two vertical cylinders with a diameter of 10mm and a height of 85mm, spaced 10mm apart. Connect these cylinders with a central rectangular block measuring 1mm by 20mm by ...
$fn=80; wall=22; length=160; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } module female_side() { difference() { un...
glb/cad_e0a344f6cada.glb
Create a cabinet door documentation shelf. Start by constructing a main rectangular body that is 147mm wide, 125mm high, and 16mm thick (composed of a 12mm base depth plus 2mm walls on each side). Add a central recessed area by removing a rectangular volume 147mm wide, 12mm deep, and 135mm high from the center of the...
hoyde=125; bredde=147; dybde=12; vegg=2; limekant=10; elev=0; $fn=7; translate([82,57,-4])cylinder(14,4,0.2,center=false); translate([74,57,-4])cylinder(14,4,0.2,center=false); translate([-82,57,-4])cylinder(14,4,0.2,center=false); translate([-74,57,-4])cylinder(14,4,0.2,center=false); translate([80.5,50,-4])cylinder(...
glb/cad_02f4ff8a096c.glb
Create a lens cap for a Polaroid Now camera. Start by constructing a hollow cylinder with an inner diameter of 43mm and a height of 10mm, using a wall thickness of 1.5mm. The total outer diameter of this cylinder is 46mm. At the top of the cylinder, add a slight dome by placing a sphere with a diameter of 46mm, scaled ...
lens_cover_text = "Polaroid"; lens_cover_size = 8; lens_cover_enable = false; viewfinder_size=20; viewfinder_offset_from_lense=2; viewfinder_cover_thickness=0.5; enable_viewfinder_cover = true; hole_height = 10; inner_diameter = 43; wall_thickness = 1.5; inner_chamfer = 0.4; bulge_factor = 0.10; $fn = 75; height ...
glb/cad_561d87f8df22.glb
Create a Loxone NFC Code Touch compatible cover with an outer footprint of 95mm width and 95mm height. The cover is a hollow shell with a back wall thickness of 3mm and side walls of 2mm. The depth of the cover is asymmetrical, extending 35mm from the top and 20mm from the bottom. In the center of the back wall, creat...
width = 95; height = 95; top_depth = 35; bottom_depth = 20; wall_thickness = 2; back_wall_thickness = 3; top_slant = 0; cutout_cable_diameter = 50; distance_between_screws = 60; cutout_screw_width = 10; cutout_screw_height = 3.5; cutout_access_width = 5; cutout_access_height = 5; cutout_access_bottom_distance = 2; $f...
glb/cad_903d66f5e127.glb
Create an earphone hook for a monitor by combining two extruded geometric shapes, both with a thickness of 8mm. First, create a flat profile based on a polygon with vertices at [0,0], [9,0], [9,-2], [11,-2], [11,2], [-2,2], [-2,-12], and [1,-10], then extrude this 8mm. Second, create a separate wavy component by defini...
union() { linear_extrude(8) polygon([[0,0], [9,0], [9,-2], [11,-2], [11,2], [-2,2], [-2,-12], [1,-12], [1,-10], [0,-10]]); coords_bottom = [ for (i = [0 : 1 : 40]) [i/2, 5*cos(9*i)] ]; coords_top = [ for (i = [40 : -1 : 0]) [i/2, 5*cos(9*i) + 3] ]; translate([-22, -6, 0]) linear_extrude...
glb/cad_c53dc5569c40.glb
Create a Flat Surface Computer Fan Mount and Cable Guide. Start by constructing a base trough that is 60mm wide, 35mm deep, and 5mm thick. Extend this base with two rectangular blocks: one measuring 60mm by 5mm by 20mm positioned at the front edge, and another measuring 20mm by 50mm by 5mm centered at the back. Pierce...
difference(){ union(){ cube([60,35,5]); translate([0,-0.25,0]) cube([60,5,20]); translate([20,-50,0]) cube([20,50,5]); translate([0,30,0]){ translate([0,0.25,0]) cube([60,5,20]); translate([20,0,0]) cube([20,50,5]); } } translate([22.5...
glb/cad_f4fed0d4f80a.glb
Create a Frosthaven Organizer card box with internal dimensions of 30mm width, 68mm height, and 146mm depth. The walls should be 2mm thick with a 1mm fillet on the corners. The box is open at the top. The front and back surfaces feature a centered slot that is 60% of the internal width and 50% of the internal height,...
Internal_Dimensions = true; Width = 30; Height = 68; Depth = 146; Wall = 2; Fillet = 1; Max_Internal_Width = 0; Side_Wall = 0; $fn= 100; Front_Back_Surface = "slot"; Side_Surface = "solid"; Bottom_Surface = "solid"; Honeycomb_Cell_Size = 5; Honeycomb_Wall_Thickness = 1; Honeycomb_Border = .1; Slot_Width_Perc = 60; S...
glb/cad_b858f2ed1cbf.glb
Create a Frosthaven Organizer card box with internal dimensions of 118mm width, 140mm depth, and 40mm height. The box should have a wall thickness of 2mm and corners with a 1mm fillet. The front and back surfaces must feature a slot that is 70% of the internal width and 75% of the internal height, with a corner radiu...
Internal_Dimensions = true; Width = 118; Height = 40; Depth = 140; Wall = 2; Fillet = 1; Max_Internal_Width = 0; Side_Wall = 0; $fn= 100; Front_Back_Surface = "slot"; Side_Surface = "slot"; Bottom_Surface = "solid"; Honeycomb_Cell_Size = 5; Honeycomb_Wall_Thickness = 1.6; Honeycomb_Border = .1; Slot_Width_Perc = 70;...
glb/cad_bebe5f0d3fca.glb
Create a Frosthaven Organizer card box with external dimensions of 86mm width, 70mm height, and 150mm depth. The box should have a wall thickness of 2mm and corners rounded with a 1mm fillet. The front and back surfaces must feature a centered slot that is 85% of the internal width and 50% of the internal height, wit...
Internal_Dimensions = false; Width = 86; Height = 70; Depth = 150; Wall = 2; Fillet = 1; Max_Internal_Width = 0; Side_Wall = 0; $fn= 100; Front_Back_Surface = "slot"; Side_Surface = "slot"; Bottom_Surface = "solid"; Honeycomb_Cell_Size = 5; Honeycomb_Wall_Thickness = 1; Honeycomb_Border = .1; Slot_Width_Perc = 85; S...
glb/cad_5100e2bc36e8.glb
Create a Frosthaven Organizer box with internal dimensions of 93mm width, 67mm height, and 138mm depth. The walls should be 2mm thick with a 1mm fillet on the corners. The front and back surfaces must feature a slot that is 75% of the internal width and 65% of the internal height, with a corner radius of 20mm. The si...
Internal_Dimensions = true; Width = 93; Height = 67; Depth = 138; Wall = 2; Fillet = 1; Max_Internal_Width = 0; Side_Wall = 0; $fn= 100; Front_Back_Surface = "slot"; Side_Surface = "solid"; Bottom_Surface = "solid"; Honeycomb_Cell_Size = 5; Honeycomb_Wall_Thickness = 1; Honeycomb_Border = .1; Slot_Width_Perc = 75; S...
glb/cad_6da910ebb6ac.glb
Create a card box with internal dimensions of 105mm width, 105mm depth, and 40mm height. The walls should be 2mm thick with a 1mm fillet on the corners. The front and back surfaces must feature a slot that is 70% of the internal width and 100% of the internal height, with a corner radius of 5mm. The side surfaces sho...
Internal_Dimensions = true; Width = 105; Height = 40; Depth = 105; Wall = 2; Fillet = 1; Max_Internal_Width = 0; Side_Wall = 0; $fn= 100; Front_Back_Surface = "slot"; Side_Surface = "slot"; Bottom_Surface = "solid"; Honeycomb_Cell_Size = 5; Honeycomb_Wall_Thickness = 1.6; Honeycomb_Border = .1; Slot_Width_Perc = 70;...
glb/cad_6c2eff01c540.glb
Create a circular base for a dome lamp by constructing a flat cylinder with a radius of 69mm and a height of 7mm. From the center of this disk, remove a smaller concentric cylindrical volume with a radius of 68mm and a height of 6mm, leaving a solid outer rim 1mm thick and a solid bottom floor 0.5mm thick.
v_radius = 69; difference (){ cylinder(h=7,r1=v_radius,r2=v_radius, center=true, $fn=60); translate([0,0,1]){ cylinder(h=6,r1=v_radius-1,r2=v_radius-1, center=true, $fn=60); } }
glb/cad_7f5a80d20303.glb
Create a PC fan grill for a 140mm fan. Start by creating a square frame with a side length of 140mm and a thickness of 1.5mm. Center a circular cutout within this frame with a radius of 68mm. Within this circular area, construct a series of concentric rings to act as wires. These rings should be spaced 10mm apart, wi...
size = 140; spacing = 15/2; holeRadius = size-2; height = 1.5; wireWidth = 1.25; wireSpacing = 10; raise = 0; module mountingHoles(){ translate([0,0,-2.5]){ for ( i = [spacing,size-spacing] ){ for ( j = [spacing,size-spacing] ){ translate([i,j,0]) cylinder(...
glb/cad_aa0bbf8a4ba5.glb
Create a bird feeder refill tool consisting of a main tray and a small alignment pin. The main tray is a rectangular slab with a total width of 74mm and a length of 120mm. The body of the tray is formed by a hull connecting two cylinders, each 10mm in diameter and 120mm long, positioned 6mm from the side edges and 6mm ...
outer_width = 74; tray_length=120; intersection() { difference() { union() { translate([outer_width/2,0,-15]) intersection() { cylinder(d=5,h=16,$fn=60); translate([-5,0,0]) cube([10,10,30]); } hull() { translate([0,16,0]) cube([outer_width,0.01,tray_length+14]); translate([4,4,0]) cy...
glb/cad_a2b28983e6ab.glb
Create a numbered parts tray consisting of a grid of 7 columns and 3 rows of rectangular slots. Each individual slot unit should have a total footprint of 26mm by 26mm (based on a 20mm slot width and length with 3mm borders). The height of each slot wall is 3mm, with an additional 2.6mm base thickness. For each slot, ...
column_count = 7; row_count = 3; slot_width = 20; slot_length = 20; slot_height = 3; add_numbers = true; magnet = true; magnet_diameter = 12; magnet_height = 2; module __Customizer_Limit__ () {} production = 1; pnghq = 0; $fn = (production && !$preview) ? 70 : (pnghq ? 150 : 25); if (production && !$preview)...
glb/cad_45f3b0c1d0ba.glb
Create a tool mount for a Lack enclosure consisting of a rounded rectangular base and a protruding arm. Start by creating a rectangular base with a total width of 38mm and height of 33mm, and a thickness of 2mm. The base should have rounded corners with a radius of 1.5mm, but the bottom face must remain flat. From th...
arm_length = 12; module __Customizer_Limit__ () {} include <nws-common.scad>; $plex_width = 4; $top_wall = 2; $wall = 2; $round = 1.5; $holder_width = 35 - $round*2; $holder_height = 30 - $round*2; $cut_size = 5; $tri_side = 5; $tri_outer_side = 6; module cutter_holder() { difference() { translate([ $roun...
glb/cad_60fb13500fd8.glb
Create a parametric box and a matching lid. The box has outer dimensions of 70mm width, 40mm depth, and 40mm height, with a wall thickness of 2mm and rounded corners with a 5mm radius. The interior bottom edges should also be filleted. The box features a decorative pattern of hexagonal cutouts with a radius of 3mm and...
$fn = 100; width = 70; depth = 40; height = 40; thickness = 2; roundness = 5; bottomFillet = true; lid = true; hexFill = 0.7; hexRadius = 3; patternPadding = 0; frontHex = true; backHex = true; leftHex = true; rightHex = true; bottomHex = true; lidHex = true; plug = true; plug_width = 10; plug_height = 7; pl...
glb/cad_9d21dd6cda69.glb
Create a vacuum dust pan with a hose attachment. The main body is a rectangular block with a total width of 220mm, a height of 88.9mm (3.5 inches), and a depth of 101.6mm (4 inches). The bottom face of the block is left open. On the front face, create a wide, shallow rectangular cutout to serve as the broom opening. T...
friction_fit = 0.2; slide_fit = 1; wall_thickness = 5; suction_multiplier = 1; $fn=100; inches_to_mm = 25.4; draw_hose_coupler = 0; draw_dust_pan = 1; dust_pan_width = 220; dust_pan_height = 3.5 * inches_to_mm; dust_pan_depth = 4 * inches_to_mm; vac_hose_inner_diameter = 2.29 * inches_to_mm - friction_fit; vac_h...
glb/cad_12aab55bb3bd.glb
Create a Wargame Unit Indicator by constructing a tapered ring with a height of 4mm. The ring should have a bottom diameter of 33.5mm and a top diameter of 29.5mm. To allow the marker to flex and fit onto a base, cut a 3.2mm wide rectangular slot vertically through the center of the ring's wall, extending through the e...
extra_spacing = 1.5; base_diameter_lower = 32; base_diameter_upper = 28; base_diameter_height = 4; slot_width = 3.2; $fn = 100; difference() { cylinder(d=base_diameter_lower+extra_spacing,h=base_diameter_height); translate([0,0,-0.1]) cylinder(d2=base_diameter_lower+extra_spacing,d1=base_diameter...
glb/cad_5c36b5639af8.glb
Create a handle for a case fan air purifier. The main body is a curved rectangular slab with a total length of 170mm, a width of 8mm, and a height of 24mm. The top and bottom surfaces should be rounded with a chamfer radius of 2mm. The handle features a symmetrical, arched profile that is thicker in the center and ta...
hl=170; hh=24; hhh=10; hw=8; hld=4; hls=145; hsd=15.8; hsh=20; cr=2; xw=0.35; rotate([90,0,0]) translate([0,0,hsh]) difference(){ union(){ minkowski(){ union(){ intersection(){ translate([0,0,-hh]) scale([(hl/2)/((hh*2-cr)*cos(30)),...
glb/cad_15bfc0e52921.glb
Create a spiral illusion 45 record adapter. Start with a base cylinder 38.1mm in diameter and 3mm high. Atop this base, add a second cylinder that starts at 38.1mm in diameter and tapers upward to a diameter of 30.48mm over a height of 7mm, reaching a total object height of 10mm. Through the center of the entire asse...
module __Customizer_Limit__ () {} include <nws-common.scad>; $adapt_diam = 38.1; $adapt_hole_diam = 6.4; $adapt_height = 10; $clip_width = 12.2; $clip_depth = 1.4; $clip_height = 3.2; $dshift = [0,0,-.01]; $ushift = [0,0,+.01]; module spiral() { difference() { union() { color([0,0,0]) cylinder( h =...
glb/cad_dabe9f28f636.glb
Create a Fifine K669 Tripod Mount Part consisting of a tiered cylindrical body with an internal hollow core. Start with a central cylinder 16.25mm high with an inner radius of 4.95mm. Build the exterior in stages: the base is a thin disc 1mm thick with a radius of 11.55mm. Above this, add a cylindrical section 4.3mm ...
use <Threading.scad> body_h = 16.25; flange_h_1 = 7.70; flange_h_2 = 7.20; flange_h_3 = 4.30; flange_h_4 = 2.50; flange_r_1 = 16.10 / 2; flange_r_2 = 21.10 / 2; flange_r_3 = 29.15 / 2; flange_r_4 = flange_r_3; top_groove_w = 6.00; lip_outer_r = 23.10 / 2; li...
glb/cad_57b15a6676da.glb
Create a Fifine K669 Tripod Mount Part by designing a solid cube with a threaded hole through its center. The outer body is a cube with side lengths of 16mm. Centered on the top face, create a vertical cylindrical hole with an outer diameter of 12mm. Inside this hole, incorporate internal female threads. These thread...
use <Naca_sweep.scad> showexample = 10; example(showexample) { threading(pitch = 2, d=20, windings = 5, angle = 29); threading(pitch = 2, d=20, windings = 30, angle = 20, full = true); Threading(pitch = 2, d=20, windings = 10, angle = 20, full = true); Threading(D = 25, pitch = 2, d=20, windings = 10, ang...
glb/cad_bf6f8dfd872e.glb
Create a Truncated Octahedron Truck Wheel consisting of a wide, textured outer tire and a recessed inner hub. The outer tire is a thick ring with a diameter of 38.2mm and a height of 19mm. The exterior surface is not smooth; it is composed of a repeating pattern of truncated octahedrons that create a geared, non-slip...
function quicksort(arr) = !(len(arr)>0) ? [] : let( pivot = arr[floor(len(arr)/2)], lesser = [ for (y = arr) if (y < pivot) y ], equal = [ for (y = arr) if (y == pivot) y ], greater = [ for (y = arr) if (y > pivot) y ] ) concat( quicksort(lesser), equal, quicksort(greater) ); function octWav...
glb/cad_88edcfc7f063.glb
Create a Soma Cube puzzle set consisting of seven distinct pieces, each constructed from cubes with a side length of 12mm. Each piece is formed by joining these cubes face-to-face. Construct the following seven polycubes: 1. A V-piece made of 3 cubes in an L-shape. 2. An L-piece made of 4 cubes in a line with one cu...
size = 12; eps=1e-4; module v(s) { scale(s)union() { cube([2, 1, 1]); cube([1, 2, 1]); } } module l(s) { scale(s)union() { cube([3, 1, 1]); cube([1, 2, 1]); } } module t(s) { scale(s)union() { cube([3, 1, 1]); translate([1, 0, 0])cube([1, 2, 1]); ...
glb/cad_b5ea06005f47.glb