Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a Moment anamorphic lens filter adapter by starting with a main cylindrical body that has a radius of 39.75mm and a height of 5mm, centered on the origin. Remove a smaller concentric cylinder from the center with a radius of 38mm and a height of 5mm to create a thin outer ring. Inside this ring, carve out an int...
use <threads.scad> use <rounded_corner.scad> $fs = 0.2; $fa = 1; $fn = 100; $moment_width = 33; $moment_height = 30; $filter_size = 77; difference() { cylinder(h=5, r = $filter_size / 2 + 1.5, center = true); translate([0,0,2]) cylinder(h=5, r = $filter_size / 2 - 0.5, center = true);...
glb/cad_00c0a78af03e.glb
Create a Carb Hat cover consisting of a shallow cylindrical vessel with a central hole. Start by creating a main outer cylinder with a diameter of 138.42mm (5.125 inches plus two 4mm wall thicknesses) and a total height of 29.4mm. From the bottom of this shape, remove a concentric inner cylinder with a diameter of 130....
$fn=180; ccBaseDiameter = 5.125 * 25.4; ccHeight = 1 * 25.4; ccStudDiameter = 1/4 * 25.4; ccThickness = 4; ccInnerDiameter = ccBaseDiameter; ccInnerHeight = ccHeight; ccMiddleDiameter = ccBaseDiameter+ccThickness; ccMiddleHeight = ccHeight+ccThickness/2; ccOuterDiameter = ccBaseDiameter+ccThickness*2; ccOuterHeight =...
glb/cad_117828471941.glb
Create a Random Number Spinner wheel by starting with a cylinder 70mm in diameter and 3mm thick. Bore a 6.7mm diameter hole through the center of the cylinder along its entire height. Divide the top surface of the wheel into 12 equal radial segments using thin recessed lines 0.6mm wide and 0.5mm deep, with each line ex...
$fn=128; diameter = 70; textSize = 5; n = 12; deltaAngle = 360/n; difference(){ cylinder(d=diameter,h=3); for (i=[1:n]){ if (i>9){rotate([0,0,i*deltaAngle])translate([diameter/2.5,textSize/1.25,1.5])rotate([0,0,-90])linear_extrude(6)text(str(i),size=textSize); } else{ rotate([0,0,i*deltaAngle])tran...
glb/cad_42e34c6cf9f4.glb
Create a Lenovo ThinkPad Universal Thunderbolt 4 Dock mount for a MultiBoard system. Start with a main rectangular body measuring 220mm wide, 80mm deep, and 7mm high. On the top surface, add two locking ledges at the far left and right edges, each 3mm wide and 3mm high, spanning the full 80mm depth. Centered on the t...
DOCK_WIDTH = 220; DOCK_DEPTH = 80; DOCK_HEIGHT = 30; BOTTOM_INSET = 3; BOTTOM_OFFSET = 3; BACK_LUG_HEAD = 9; BACK_LUG_LEN = 4.2; BACK_LUG_GAP = 1.8; BACK_LUG_INNER = 6.2; BACK_LUG_DIST = 100; MB_SPACING = 25; HOLDER_HEIGHT = 7; HOLDER_CENTERED = false; echo("Let's go!"); $fs = $preview...
glb/cad_ba22b84c2ad7.glb
Create two fence mounting clips: a top clamp and a bottom clamp. For the top clamp, create a profile that wraps around a horizontal bar. The profile consists of two semi-circular arcs with a diameter of 5mm, connected by straight sections to form a C-shape. The arcs are centered 11.5mm from the center axis. Extrude th...
draw_top = true; draw_bottom = true; ww = 5; wwb = 2.2; wiggle = 0.1; hbw = 7.5; hbd = 4; oangle_top = 20; oangle_bot = 30; ch = 30; cw = 30; vbdist = 50.6; vbdia = 5.6; bbh = 10; n_holes_top = 2; n_holes_bot = 2; screw_head_incline = 2; screw_head_dia = 8; screw_axis_dia = 3.4; screw_sink = 2; $fa = 4;...
glb/cad_52e259db1155.glb
Create a Flat Prusabox lid by constructing a composite cylindrical shape. Start with a central cylinder that has a radius of 38.867mm and a height of 17.4mm. Add a thin, flat circular base plate with a diameter of 100mm and a thickness of 1.2mm centered at the bottom. To create the threaded grip, generate a revolved ...
include <common.scad> r_internal = 38.867; d_cut = 99; thread_profile = [ [35, 0], [38.867, 0], [42.309, 1.987], [42.309, 2.368], [38.867, 4.355], [35, 4.355] ]; module threads() { intersection () { translate ([0, 0, -6.0]) shifted_rotate (thread_profile, 6.0, 22.4, $fn=200); cylinder (d=...
glb/cad_a0dcd14ed293.glb
Create a flat circular disc with a diameter of 100mm and a height of 1.2mm. Ensure the cylinder has a high facet resolution of 200 for a smooth circular edge.
include <common.scad> cylinder (d=100.0, h=1.2, $fn=200); translate ([0, 0, 1.2]) prusament_core_adapter ();
glb/cad_8b2b5c14034f.glb
Create a Flat Prusabox adapter consisting of a circular base and a concentric vertical wall. Start by creating a flat, ring-shaped base with an outer diameter of 100mm and an inner diameter of 85.32mm, extruded to a height of 1.2mm. Centered on this base, add a vertical cylindrical wall with an outer diameter of 89mm a...
include <common.scad> thread_profile = [ [-43, 5.038], [-42.81, 5.038], [-42.81 + 3.358, 3.099], [-42.81 + 3.358, 1.939], [-42.81, 0], [-43, 0] ]; module threads() { intersection () { translate ([0, 0, -3.0]) shifted_rotate (thread_profile, 6.0, 30.0, $fn=200); cylinder (d=200, h=17.0, $fn...
glb/cad_8d193f893583.glb
Create a capsule filling tray for a vaporiser. Start with a solid rectangular base with rounded corners and edges. The overall outer dimensions are 80mm wide by 48mm deep and 12mm high. The top surface features a recessed interior area that is 78mm wide by 46mm deep and 10mm deep, leaving a 1mm thick outer rim and a 1m...
$fs = 0.5; $fa = 10; capsuleFudge = 0.5; capsuleHeight = 8.5; capsuleDiameter = 11.5; padding = 4; pokingRadius = 1.0; capsulesDeep = 2; capsulesWide = 3; smoothRadius = 2; baseHeight = 1; trayEdgeHeight = 2; trayEdgeThickness = 1; rowsOfFlat = 2; capsuleSpacing = padding*2 + capsuleDiameter+capsuleFudge;...
glb/cad_8480be55e95e.glb
Create a simple ice scraper by constructing a flat, handheld tool with a total length of 250mm, a width of 100mm, and a thickness of 10mm. The main body is formed by merging a central rectangular handle and a wider scraping head, with all edges rounded by a 1mm radius. The handle section is 28mm wide and extends to the...
$fn=30; w=100; l=250; t=10; hw=30; rounding=1; ice_scraper(); module ice_scraper() { difference() { minkowski() { union() { translate([0,w/4,0])hull() { cube([w-2*rounding,w/2,t-2*rounding],center=true); translate([0,w/2,0])cube([hw-2*rounding,w/2,t-2*roundi...
glb/cad_3c41f30798e0.glb
Create a Honeycomb Storage Wall multiple tube storage unit consisting of four identical cylindrical tubes arranged in a row. Each tube has an outer diameter of 54mm, an inner diameter of 50mm, and a height of 80mm. The walls of each tube are perforated with a diamond-shaped grid pattern created by removing square holes...
tube_count = 4; inner_diameter = 50; wall_thickness = 2; height = 80; square_size = 8; grid_thickness = 3; wider_connection = false; taller_connection = false; inner_radius = inner_diameter/2; outer_radius = inner_radius + wall_thickness; connector_size = 15.47; connector_depth = 13; tolerance = 0.1; hexagon_di...
glb/cad_b1f4002a932c.glb
Create a Pogo Pin adapter consisting of two interlocking parts: a fixed base and a moving slider. First, construct the fixed base as a block 20mm high, 10mm deep, and 20mm wide. The front face should feature a dovetail profile with a maximum width of 10mm and a minimum width of 5mm at the base, extending 5mm deep. In...
margin = 0.25; M3NutMax = 6.3; module fishTail(height, ftMaxWidth, ftMinWidth, ftDepth) { linear_extrude(height) { polygon( points = [ [-ftMinWidth, 0], [-ftMaxWidth, ftDepth], [ ftMaxWidth, ftDepth], [ ftMinWidth, 0], ...
glb/cad_f3d3cc8fdb57.glb
Create a Pogo Pin adapter consisting of a main rectangular base and a smaller rectangular clamp. Start with a base block measuring 42.5mm in width, 5mm in height, and 2.5mm in thickness. Drill two vertical holes with a diameter of 2.1mm, one positioned at the front-left edge and one at the front-right edge, both center...
$fn = 16; width = 42.5; height = 5.0; thick = height / 2; inch10 = 2.54; cutout = 1.0; offset = 4.75; clampWidth = 15.0; threadHole = 2.1; screwHole = 2.7; difference() { cube([width, height, thick]); translate([thick, thick, -0.01]) cylinder(d = threadHole, h = thick + 0.02); translate([width - thick, ...
glb/cad_f03b3be5b6a7.glb
Create a Molle Hex Grid plate with a width of 76.2mm (3 inches), a height of 177.8mm (7 inches), and a thickness of 2mm. The plate should have rounded corners with a radius of 10mm. On the face of the plate, create a hexagonal grid of holes, each with a diameter of 6.5mm. The grid should be centered on the plate with ...
inch = 25.4; mollePlateHex(3 * inch, 7 * inch); module mollePlateHex( width, height, thickness = 2, radius = 10, holeSize = 6.5, slitWidth = 5, gridMargin = 15 ) { difference() { roundedPlate(width, height, thickness, radius); stencilGrid(width, height, holeSize, gridMargin, th...
glb/cad_88487d0dbe8a.glb
Create a Grove Protoshield Case consisting of a base and a lid. For the base, create a rectangular frame with a height of 6mm, an outer width of 40.8mm, and a depth of 20.8mm. The frame should have a wall thickness of 3mm. Position three mounting holes with a diameter of 5mm to secure a PCB of 2mm thickness. For the...
h = 6.0; b = 40.8; t = 20.8; w = 3; p = 2.0; d = 5.0; lh = 28; g = 0.02; ws = 12; ls = 8; fh = 3; f = "Liberation Sans"; label = "Relais"; cover(); base(); module base(){ translate([0,0,-h-2]){ pcbframe(); } } module cover() { union(){ lid(); imprint(); border(); } } module li...
glb/cad_9989eb7a5a4a.glb
Create a Grove Protoshield Case consisting of a base and a lid. For the base, create a rectangular frame with a height of 6mm, an outer width of 46.8mm (40.8mm plus 3mm walls on each side), and a depth of 26.8mm (20.8mm plus 3mm walls on each side). The base should include mounting holes for a PCB, specifically three...
h = 6; b = 40.8; t = 20.8; w = 3; p = 2.0; d = 5.0; lh = 24; g = 0.02; ws = 12; ls = 8; fh = 3; xh = 8; top_holes = false; top_CutOut= false; top_HCSR04= true; f = "Liberation Sans"; label = "HC-SR04"; cover(); base(); module base(){ translate([0,0,-h]){ pcbframe(); } } module cover() { union(){ ...
glb/cad_4e751050f69a.glb
Create a 3D model of a AAA battery. Construct the main body as a cylinder with a diameter of 10.5mm and a total height of 44.5mm. On the top face of this cylinder, add a smaller concentric cylinder to represent the positive terminal. This terminal cap should have a diameter of 4.5mm and a height of 1.5mm, positioned su...
module baterie_AAA() { prumer = 10.5; vyska = 44.5; polochka_prumer = 4.5; polochka_vyska = 1.5; cylinder(h=vyska - polochka_vyska, d=prumer); translate([0, 0, vyska - polochka_vyska]) cylinder(h=polochka_vyska, d=polochka_prumer); } module baterie_AA() { prumer = 14.5; vyska =...
glb/cad_08b91164e98f.glb
Create a temporary case for a logic analyzer. The main body is a hollow rectangular shell with rounded corners. The outer dimensions are 55.7mm wide by 51mm deep, with a wall thickness of 1.5mm and a total height of 11mm. The interior cavity is 52.7mm wide by 48mm deep with a corner radius of 3mm. On the bottom sectio...
$fn = 64; pcbWidth = 52.7; pcbDepth = 48.0; pcbThick = 1.6 + 9.4; pcbDist = 10.0; pcbCornerRad = 3.0; wall = 1.5; headerWidth = 39.0; sideMountWidth = 7.0; sideMountHole = 3.3; baseHeight = wall; usbWidth = 9.5; usbHeight = 3.0; wireDiam = 3.5; translate([-18, -3.5, -15]) clip(); module hubPart() { difference(...
glb/cad_fa29ca3add26.glb
Create a temporary case for a logic analyzer by constructing a rectangular ring with rounded corners. The outer dimensions of the ring are 55.7mm by 51mm with a height of 11mm. The inner cutout is 52.7mm by 48mm, creating a wall thickness of 1.5mm. The corners of both the outer and inner rectangles should have a radius...
$fn = 64; pcbWidth = 52.7; pcbDepth = 48.0; pcbThick = 1.6 + 9.4; pcbDist = 10.0; pcbCornerRad = 3.0; wall = 1.5; headerWidth = 39.0; sideMountWidth = 7.0; sideMountHole = 3.5; baseHeight = wall; usbWidth = 9.5; usbHeight = 3.0; wireDiam = 3.5; pcbRing(); module hubPart() { difference() { caseShape(pcb...
glb/cad_06dbc61321f5.glb
Create a Camping Gas Tank Stand consisting of a circular base and a central cylindrical cage. Start by creating a flat, ring-shaped base with a total diameter of 150mm and a thickness of 4mm. This base has a central hole with a diameter of 46.9mm. To reduce material, remove ten evenly spaced circular holes from the bas...
$fn=150; inner_diameter = 67; holder_height = 50; wall = 4; foot_diameter = 150; inner_circle = inner_diameter * 0.7; material_saving_hole_dia = 30; rotate([0,180,0]){ difference(){ difference(){ cylinder(h=wall, d=foot_diameter, center = true); cylinder(h=wall, d=inner_circle, ce...
glb/cad_6fe4eb786326.glb
Create a mount for a BTT SFS V3.0 filament sensor by starting with a rectangular plate measuring 41.8mm wide, 47.8mm high, and 5mm thick. Round all four corners of the plate with a 3mm fillet. Drill four 3.5mm diameter holes completely through the plate, positioned in a rectangular pattern 36mm apart horizontally and 4...
width = 42 - 0.2; height = 48 - 0.2; thickness = 5; fillet = 3; $fn = 90; difference () { linear_extrude (thickness) minkowski () { square ([width - 2*fillet, height - 2*fillet], center = true); circle (r = fillet); } #for (x = [-1, 1], y = [-1, 1]) translate ([x * 18, y * 21, 0]) cylinder (d = 3.5, h = thi...
glb/cad_cdb7cba4c1e9.glb
Create a Ring Stickup Camera mount designed for a specific wood profile. Start with a main circular plate that has a diameter of 58mm and a thickness of 10mm. Within this plate, create a central hole with a diameter of 16.5mm. Position this hole so its center is offset from the top edge by 31.5mm. To form the mount...
use <boltparts/BOLTS.scad> $fn = $preview ? 32 : 64; dicke = 10; durchmesser = 58; durchmesser_innen = 16.5; default_toleranz = 0; grad = 180; abstandscrew=30; offsetscrewx=abstandscrew/2; offsetscrewy=35.7 - durchmesser/2; offsetlochvonoben=31.5; laenge_halterung=30 - 15.7; spalt=3.25; tiefe_wand = spalt * 2 + 12....
glb/cad_61ac64d9305e.glb
Create a hammer hanger consisting of a vertical backplate and two horizontal support forks. Start with a rectangular backplate that is 5mm thick, 40mm high, and 50mm wide. From the bottom and top edges of the backplate, extend two identical horizontal forks forward. Each fork must be 40mm deep, 10mm wide, and 5mm thick...
HandleWidth = 30; BackplateHeight = 40; ForkDepth = 40; ForkWidth = 10; ForkThickness = ForkWidth / 2; BackplateThickness = 5; BackplateSize = [BackplateThickness, HandleWidth + (ForkWidth * 2), BackplateHeight]; cube(BackplateSize); ForkSize = [ForkDepth + BackplateThickness, ForkWidth, ForkThickness]; cube(Fork...
glb/cad_c625abf1e2e7.glb
Create a Magnetic USB-C Charger Holder by starting with a solid rectangular block measuring 25mm wide, 50mm long, and 17.5mm high. From the center of this block, remove a smaller rectangular section measuring 25mm wide, 50mm long, and 12mm high, leaving a hollow U-shaped channel that is 2.75mm deep on the sides and bot...
w=25; l=50; t=2; ftb=12; ztw=3.4; ztt=3; ztd=28; $fn=180; module cutout() { rotate([90, 0,0]) translate([w/2, ftb+t+ztd/2, 0]) difference() { cylinder(d=ztd, h=ztw); cylinder(d=ztd-ztt, h=ztw); } } difference() { cube([w, l+t/2, ftb+t*2.5]); cube([w, l, ftb]); translate([0, l, 0]) cutout(); ...
glb/cad_4cb80f28a49a.glb
Create a bottle drying stand consisting of a central cylindrical collar and a hexagonal base with supporting legs. Start by creating a main cylinder with a diameter of 84mm and a height of 42mm. Remove a concentric inner cylinder with a diameter of 74mm and a height of 43mm to create a wall thickness of 5mm. At the...
$fn = $preview ? 60 : 180; bottleRadius = 37; thiccness = 5; collarHeight = 42; outerSupportRadius = 40; outerSupportFootLength = 50; innerSupportHeight = 60; innerSupportThiccnessReduce = 1; airflowType = "hex"; hexSize = 13; color( "#baf4c2") { difference() { union() { cylinder( collarHeight, d = ( bo...
glb/cad_3d94336fe7cb.glb
Create a Parametric SMD Component Storage Tray consisting of two interlocking halves, a top and a bottom, with a total length of 150mm. The top half is a structured rail system designed to hold multiple SMD component tapes. For each tape slot, create a channel based on the tape's width, height, and thickness, incorpo...
$fn=100; example1 = [ tape([ 12.0, 2.7, 0.5, 1.0, 3.0, 1.0, 3.0], 0.2), tape([ 8.0, 1.3, 0.3, 1.0, 3.5, 1.0, 3.5], 0.2), tape([ 12.0, 1.6, 0.3, 1.0, 3.5, 1.0, 3.5], 0.2), tape([ 8.0, 1.4, 0.2, 1.0, 3.5, 1.0, 3.5], 0.2), tape([ 8.0, 1.6, 0.4, 1.0, 3.0, 1.0, 3.0], 0.2), tape([ 8.0, 1.7, 0.4,...
glb/cad_9ac3caa23448.glb
Create a Smart Card Cutting Jig consisting of two parts: a stamp and an anvil. First, create the stamp. Start with a rectangular plate measuring 85.35mm by 53.73mm with a height of 4mm and rounded corners of 3mm radius. From the center of this plate, remove a rectangular block measuring 25mm by 15.1mm with a height of...
id1x = 85.60; id1y = 53.98; schlitz=0.5; fn=36*2; card_thickness=1; module chip() { color("gold") cube ([13, 12, 1.05]); } module smartcardfullsize() { difference() { color("white") cube ([id1x, id1y, card_thickness]); } } module smartcardmini() { difference() { color("grey") cube([25, 1...
glb/cad_20da5399d83e.glb
Create a flair card for lanyards by starting with a rectangular base measuring 80mm wide, 120mm high, and 2mm thick. Round all four corners of the base with a radius of 5mm. At the center of the top and bottom edges, add a cylindrical mounting eyelet. This eyelet is formed by a cylinder with a radius of 4.5mm and a h...
$fn = $preview ? 60 : 180; height = 120; depth = 2; width = 80; rows = 3; columns = 2; roundness = 5; stringWidth = 2; stringHeight = 5; stringThiccness = 2.5; stringAddlWidth = 0; fixPin = "yes"; pinWidth = 2; module roundCorner( cornerSize, height ) { difference() { translate( [ -0.1, -0.1, 0 ] ) cube( [ corn...
glb/cad_ee6fa30f1f61.glb
Create a BrewPi-ESP8266 Box with external dimensions of 140mm width, 135mm depth, and 66mm height. The main body is an open-top rectangular enclosure with a base and walls that are 2.5mm thick. Construct the walls by placing two side walls along the depth and a front wall across the width. The front wall must feature ...
wall_thickness = 2.5; case_depth = 135; case_width = 140; case_height = 66; hole_radius = 2; lid_height = 5; tab_width = 20; screw_radius = (2.8 / 2); screw_length = ((15 - 5) / 2); plate_width = 114.3/2+6; plate_height = 114.3-1.5; plate_thickness = wall_thickness+.02; heatset_inser...
glb/cad_540c7f63c497.glb
Create a BrewPi-ESP8266 box frame with a wall thickness of 3.7mm. The frame is a rectangular border designed to house an LCD. Construct the outer boundary of the frame using a rectangle that extends from a starting point of -7mm on the X and Y axes to a width of 78mm and a height of 47mm. Within this frame, create a ...
wall_thickness = 3.7; lcd_hole_1_x = 0; lcd_hole_1_y = 0; lcd_hole_2_x = 66; lcd_hole_2_y = lcd_hole_1_y; lcd_hole_3_x = lcd_hole_1_x; lcd_hole_3_y = 37; lcd_hole_4_x = lcd_hole_2_x; lcd_hole_4_y = lcd_hole_3_y; lcd_hole_radius = 1.4; lcd_opening_x = 2.6; lcd_opening_y = -3; lcd_opening_x_length = 60.8; lcd_open...
glb/cad_9e03a77cc2bd.glb
Create a Nightstand Nasal Strip Holder by starting with a solid rectangular block that has rounded corners. The overall outer dimensions should be 73mm in length, 68mm in width, and 70mm in height, achieved by applying a 5mm radius fillet to all edges of a base cube measuring 65mm by 68mm by 65mm. Hollow out the center...
width = 33; height = 65; length = 65; difference() { minkowski() { cube([length,length+width+3,height]); sphere(r=5, $fn=50); } translate([-5,-5,-5]) cube([length+10,length+width+3+10,5]); translate([0,0,5]) union() { cube([length,width,height]); translate([0,...
glb/cad_b238c9c6786e.glb
Create an SR-25 Magazine conversion body designed to hold a shotgun shell. The main body is a rectangular block with rounded vertical edges, measuring approximately 70mm in length, 21mm in width, and 12mm in thickness. The top of the body features beveled edges to facilitate insertion into a weapon chamber. The botto...
$fn = 30; { union() { translate([0,0,0]) mag(); } union() { } } module cyma() { difference() { union() { translate([0,0,-33]) cylinder(d=21,h=70,center=true); translate([0,0,-59]) cylinder(d=22,h=18,center=true); translate([0,0,-67]) cylinder(d=23,...
glb/cad_0139f3ac16fa.glb
Create a Fishing Barrow Foot consisting of two separate components: a ball joint and a receiving base. First, construct the ball joint assembly. Start with a cube 21.8mm on each side. On each of the four vertical faces of this cube, add a small tapered grip that is 2.18mm wide, 19.62mm high, and 2mm thick. Centered on...
socket = 21.8; socket_grip = 2; socket_stopper_d = 32.75; socket_stopper_h = 12; socket_ball = 25.4; base_plate = 71; base_plate_h = 5; base_outer_h = 10; base_outer_d1 = 49; base_outer_d2 = 33; base_inner = 25; base_clutch = 3; module tapered_grip(w, h, d, taper = 1) { hull() { translate([0, 0, 0]) cube(...
glb/cad_ba8b0b5f59e6.glb
Create a plant pot saucer by constructing a truncated cone with a top diameter of 110mm, a bottom diameter of 93.5mm, and a height of 16.5mm. Hollow out the center to create a wall thickness of 2mm, leaving a solid base of 2mm. Inside the base, add radial support spokes that extend from the center toward the outer wa...
top_diameter = 110; wall_thickness = 2; spoke_spacing = 100.0; height = 0.15 * top_diameter; bottom_diameter = top_diameter - height; number_of_spokes = max(floor(PI * top_diameter / spoke_spacing), 3); spoke_center_offset = 0.15 * top_diameter; $fa = 0.5; $fs = 0.5; difference(){ cylinder(h = height, d1 = bott...
glb/cad_bf44276c6757.glb
Create a filament sensor holder consisting of a base plate and a vertical support. Start by creating a horizontal rectangular base with dimensions of 20mm width, 50mm length, and 3mm height, ensuring all edges and corners are rounded with a 1mm radius. At one end of this base, add a vertical rectangular piece that is 2...
$fn=50; module roundedCube(size, radius) { cubeSize = [for (i = size) i - radius*2]; for (j = cubeSize) { assert(j>=0, "Error: radio demasiado grande"); } minkowski() { cube(cubeSize); sphere(radius); } } module horizontalPiece() { roundedCube([20,50,3], 1); } module v...
glb/cad_3315c983c0e5.glb
Create a magnetic PCB support fixture. Start with a main cylindrical body that has a diameter of 18mm and a height of 16.8mm. At the base of this cylinder, create a centered vertical hole to accommodate a magnet, with a diameter of 10.2mm and a depth of 4.4mm. To create the alignment ridge, add a thin square plate o...
Type = 1; Height = 15.8; Diameter = 18; RidgeHeight = 1; PinDiameter = 4; PinHeight = 3; MagnetDiameter = 10.2; MagnetThickness = 4.4; epsilon = 0.05; $fn = 50; module support(type) { difference() { height = (type == 3) ? Height - PinHeight : Height + RidgeHeight; union() { cylinder(d = Diamete...
glb/cad_430fb2b6afbb.glb
Create an Army-Navy retractor consisting of a long central shaft with a curved blade at each end. The main shaft is 150mm long and 3mm wide, featuring a longitudinal hollow channel running through its center. At each end of the shaft, create a blade that curves upward at a 90-degree angle. Each blade is 10mm thick an...
color( "#baf4c2" ) { linear_extrude( 2 ) difference() { polygon( [ [ 0, 0 ], [ 30, 0 ], [ 50, -5 ], [ 150, -5 ], [ 170, 0 ], [ 200, 0 ], [ 200, 10 ], [ 170, 10 ], [ 150, 15 ], [ 50, 15 ], [ 30, 10 ], [ 0, 10 ] ] ); translate( [ 100, 5 ] ) scale( [ 13, 0.8 ] ) circle( 5, $fn = 6 ); } translate( [ 0,...
glb/cad_6a664da35a0f.glb
Create a wrist watch night stand housing starting with a solid rectangular block measuring 58.55mm in length, 50.4mm in width, and 15mm in height. Carve out a central cavity to hold the watch. This cavity begins with a rectangular cutout measuring 48.55mm by 40.4mm and 10mm deep, offset from the outer edges by a 5mm ...
$fn=90; CrownRadius=3.2; CrownHeight=4.5; BezelRadius=20.2; WatchThickness=15; WatchWidth=2*BezelRadius; WatchOAHeight=48.55; Wall=5; difference(){ cube([WatchOAHeight+2*Wall,WatchWidth+2*CrownHeight+2*Wall,WatchThickness]); union(){ translate([WatchOAHeight/2+Wall,WatchWidth/2+Wall+CrownHeight]) cylinder(h=Wall,r=Be...
glb/cad_a7c633b15812.glb
Create a strawphonation voice training tool consisting of a long hollow tube with a rounded mouthpiece. Start by creating a main cylinder 130mm tall with an outer diameter of 10.4mm and a centered longitudinal hole 8mm in diameter running through its entire length. At the base of this cylinder, add a rounded mouthpiece...
straw_dia = 8; straw_len = 130; straw_wall = 1.2; mouth_dia_outer = 15; mouth_dia_inner = 10; $fn=32; difference() { union() { cylinder(d=straw_dia+straw_wall*2, h=straw_len); intersection() { union() { resize([mouth_dia_outer,mouth_dia_outer,25]) sphere(d=mouth_dia_outer); translate([0,0,23])...
glb/cad_ad64f12b879c.glb
Create a Lens Filter Storage Case consisting of a main box and a separate lid. For the box, create a rectangular block with an overall width and height of 69.3mm and a length of 121.5mm. The walls should be 2mm thick. Hollow out the center of the box to create a main cavity, but leave the bottom and side walls intact. ...
MAX_FILTER_DIAMETER = 65.3; MIN_FILTER_DIAMETER = 52; FILTER_THICKNESSES = [10,10,10,10,7.5,7.5,7.5,7.5,7.5]; FILTER_TOLERANCE = 1.5; LID_TOLERANCE = .5; INNER_WALL_THICKNESS = 1.5; OUTER_WALL_THICKNESS = 2; LID_HEIGHT = 10; function addl(list, c = 0) = c < len(list) - 1 ? list[c] + addl(list, c + 1) : list...
glb/cad_960be1d92765.glb
Create a robust rectangular crate with outer dimensions of 280mm in length, 150mm in width, and 150mm in height. Start by forming a solid block of these dimensions and hollow out the center to create a shell with a consistent wall thickness of 5mm, leaving a solid base that is 5mm thick. To create the characteristic ...
difference() { cube([280,150,150]); translate([5,5,5]) cube([270,140,145]); translate([-15,0,5]) cut(6); rotate([0,0,90]) translate([-12,-300,5]) cut(2); } space_mod = 34; module cut(num) { translate([70,300,10]) rotate([90,0,0]) linear_extrude(300) { for (i = [0:3]) { translate([0,space_mod*i,0]) i...
glb/cad_b7f4a8d8bc14.glb
Create an ESP32CAM arm extension consisting of a main shaft and a rounded top cap. Start by creating a solid cylinder with a diameter of 14mm and a height of 60mm. On top of this shaft, centered at the 60mm mark, add a thicker rounded cap. This cap should be a cylinder with a total height of 15mm and a radius of 10mm (...
$fn=50; diameter = 14; length = 60; joinLength = 10; joinThickness = 3; joinRadius = joinThickness; joinTolerance = 0.2; module roundedCylinder(height, radius, roundRadius) { minkowski(){ cylinder(height-(roundRadius*2), radius-roundRadius, radius-roundRadius); sphere(roundRadius); } } module j...
glb/cad_b17fae6a4ab2.glb
Create a Wyse 5470 M.2 SSD bracket by starting with a rectangular base measuring 48mm in length, 10mm in width, and 2mm in height. At one end of this base, add a cylinder with a diameter of 7mm and a height of 3mm, centered on the end face. To complete the part, create three vertical holes through the geometry. First, ...
$fn=32; difference() { union() { translate ([0,-5,0]) cube([38+6+4,10,2]); cylinder(d=7,h=3); } translate ([0,0,-1]) cylinder(d=3,h=5); translate ([6,0,-1]) cylinder(d=2.2,h=5); translate ([6,0,0.8]) cylinder(d=4,h=5); translate ([6+38,0,-1]) cylinder(d=2.2,h=5); translate ([6+38,0,0.8]) cylind...
glb/cad_197eb5cc1728.glb
Create a Wyse 5470 M.2 SSD bracket by starting with a rectangular base measuring 48mm in length, 10mm in width, and 2mm in height. At one end of this base, center a cylinder with a diameter of 7mm and a height of 3mm. To complete the part, create three vertical holes passing through the geometry. Position the first hol...
$fn=32; difference() { union() { translate ([0,-5,0]) cube([38+6+4,10,2]); cylinder(d=7,h=3); } translate ([0,0,-1]) cylinder(d=1.9,h=5); translate ([6,0,-1]) cylinder(d=2.2,h=5); translate ([6,0,0.8]) cylinder(d=4,h=5); translate ([6+38,0,-1]) cylinder(d=2.2,h=5); translate ([6+38,0,0.8]) cyli...
glb/cad_5b8d1830e9e0.glb
Create a filament grommet lock by rotating a specific 2D profile around a central axis. The resulting 3D shape is a circular disk with a central hole and a locking lip. The profile to rotate consists of three main sections. First, create a quarter-circle arc with a radius of 4mm, centered such that the outer edge of ...
use <helpers.scad> $fa = 4; $fs = 0.5; module lock_2D( lock_d = 30, lock_t = 5, hole_d_o = 8, latch_h = 2, tooth_w = 1.0 ) { lock_d_i = hole_d_o + 0.2; translate([-lock_d/2 + lock_t, 0, 0]) rotate([0, 0, 90]) circle_sector(r=lock_t, angle=90); translate([-lock_d/2 + loc...
glb/cad_ddcef7aaf398.glb
Create a filament grommet consisting of a hollow cylindrical body with a flange and a snapping mechanism. The main body is a tube with an outer diameter of 8mm and an inner diameter of 5mm. The central tube section should have a total height of 22.5mm to accommodate a board. At the top, add a circular brim with a diam...
use <helpers.scad> $fa = 4; $fs = 0.5; module brim_2D( brim_d = 30, brim_t = 5, hole_d_i = 5 ) { translate([-brim_d/2 + brim_t, 0, 0]) circle_sector(r=brim_t, angle=180); translate([-brim_d/2 + brim_t, 0, 0]) square([brim_d/2 - hole_d_i/2 - 2*brim_t, brim_t]); translate([-hole_d_...
glb/cad_2e4caa49bf5f.glb
Create an egg spinner fidget toy consisting of an outer shell and an inner rotating yolk. First, create the outer shell by extruding a 2D egg shape to a height of 7mm. This egg shape is defined by a length of 70mm, with radii of 28mm and 17mm, centered at x=10. Remove a central circular hole with a diameter of 41mm fro...
include <libraries/BOSL2/std.scad> $fn = $preview ? 60 : 180; pip = "yes"; model = "albumen"; tolerance = "tight"; if ( pip == "yes" || model == "albumen" ) color( "#fff9ea" ) difference() { linear_extrude( 7 ) difference() { translate( [ 10, 0 ] ) egg( length = 70, r1 = 28, r2 = 17, R = 50 ); ...
glb/cad_94542929e166.glb
Create a Star of David bead by starting with a cube that is 12mm on all sides. Round all edges and corners of the cube with a 2mm radius. Drill a 6mm diameter circular hole straight through the center of the cube from the top face to the bottom face. On four of the vertical side faces, add a raised Star of David emble...
cube_size = 12; hole_dia = 6; letter_height = 1; letter_depth = 6; corner_radius = 2; $fn = 100; hole_fn = 100; module rounded_cube(size, radius) { inner_size = size - 2*radius; minkowski() { cube([inner_size, inner_size, inner_size], center=true); sphere(r=radius); } } module bead() ...
glb/cad_fc386c7c6ce2.glb
Create a Hinge Jig for Trim Router by starting with a rectangular base block measuring 35.4mm wide, 121.6mm high, and 12mm thick. Carve a rectangular U-shaped cutout from the bottom center of the block, leaving a 10mm margin on the left, right, and top edges. This cutout must be 35.4mm wide and 101.6mm high, extending ...
hinge_width = 25.4; hinge_height = 101.6; jig_thickness = 12; lip_depth = 2; lip_thickness = jig_thickness - lip_depth; margin = 10; total_width = hinge_width + margin; total_height = hinge_height + 2*margin; module hinge_jig() { difference() { union() { cube([total_width, total_height, jig_th...
glb/cad_733e01792a5b.glb
Create a mathematical bead by first constructing a complex core shape. This core is formed by taking a cone with a base diameter of 10mm and a height of 15mm, then scaling it by 1.5 along the X-axis and 0.5 along the Z-axis. Duplicate and rotate this scaled cone every 45 degrees around the Y-axis for a full 360-degree ...
$fn=100; module gorgo (oldal) { for (i=[0:45:360]) { rotate ([0,i,0]) { scale ([1.5,1,0.5]) { cylinder (d1=oldal,d2=0, h=oldal*1.5); }; }; }; }; difference () { gorgo (10); union () { translate ([0,-5,0]) { gorgo (5); }; translate ([0,5,0]) { gorgo(5); }; rotate ([90,0,0]) { c...
glb/cad_83bce5455e3c.glb
Create a motor cap for a Prusa Mini Z motor by combining a decorative sheep figure with a structural base. First, construct the base as a cube measuring 45.5mm x 45.5mm x 34mm. At the top center of this cube, add a hemisphere with a radius of 22.75mm. To allow for heat dissipation, create two intersecting ventilation...
difference() { translate(v = [0, 0, -11]) { union() { translate(v = [22.7500000000, 22.7500000000, 0]) { union() { difference() { translate(v = [-22.7500000000, -22.7500000000, 0]) { difference() { union() { cube(size = [45.5000000000, 45.5000000000, 34]); translate...
glb/cad_cbc7706ccb04.glb
Create a Box Fan Privacy Screen with an overall outer width of 544mm and height of 537mm. Start by constructing a main face with a depth of 5mm, featuring rounded corners with a radius of 65mm. Within this face, create a hollowed-out rectangular border by removing a central section that leaves a frame thickness of 12mm...
outer_width = 544; outer_height = 537; frame_thickness = 12; corner_radius = 65; outer_face_depth = 5; slat_support_thickness = 2; slat_angle = 45; slat_thickness = 1; slat_height_mod = slat_angle/60; slat_height = 40; difference(){ union() { difference() { face(0,0,outer_face_depth); translate([frame_thic...
glb/cad_500025d01943.glb
Create a hinged ring collar with a total height of 20mm. The main body is a half-ring with an inner diameter of 16.78mm and a wall thickness of 10mm, resulting in an outer diameter of 26.78mm. The collar is composed of a semi-circular band. Along the flat vertical face of the half-ring, integrate three stacked cylind...
include <threading.scad> height = 20; inner = 16.78; width = 10; outer = inner + width; bolt_outer = width * .5; centerradius = inner + (width/2); roundage = centerradius * 2 * 3.141592; wedge_wid = (width / roundage) * 365 / 2; slop=.2; halfring(); module halfring() { difference() { translate([0,...
glb/cad_d341edb0a223.glb
Create a Sign Clip for Cardboard Mailing Tubes. Start with a main cylindrical body that has an outer diameter of 62mm and a height of 30mm. Remove a central cylindrical core with a diameter of 54mm and a height of 30mm to create a curved sleeve with a wall thickness of 4mm. Cut a 45-degree diagonal slot through the s...
$fn=400; eps=0.01; heps=eps/2; capz=0; h = 30; d = 54; t = 4; c = 5; wl = 200; sl = 50; r=d/2; od=d+t+t; or=od/2; difference() { union() { cylinder(h, d=od); translate([-wl/2,-or,0]) cube([wl, t, h]); translate([-sl/2,-(or-1),0]) cube([sl, d/2, h]); } translate([0,0,capz-heps]) cylinder(h+eps, d=d...
glb/cad_a6bc71dd2076.glb
Create a 10 Grid Set Shelf consisting of six identical stacked compartments. Each individual compartment is a rectangular block with outer dimensions of 73mm in width, 133mm in length, and 24.5mm in height. The corners of these blocks must be rounded with a 1.5mm radius. For each block, create a central rectangular cu...
$fn=20; cutout_length = 130; cutout_width = 70; cutout_height = 23; wall_thickness = 1.5; length = cutout_length + 2 * wall_thickness; width = cutout_width + 2 * wall_thickness; height = cutout_height + 2 * wall_thickness; radius = 1.5; dRadius = 2 * radius; num_blocks = 6; stack_offset = height - wall_thickness;...
glb/cad_001d696c864c.glb
Create a cloud chamber box by constructing a hollow rectangular container with an outer dimension of 104mm by 104mm and a total height of 16mm. The walls of the container should be 2mm thick. Start with a solid base plate that is 2mm thick. From the top of this base, extend the outer walls upward to a height of 14mm. T...
eps = 0.05; plateLength = 100; plateWidth = 100; clearance = 1; bottomThickness = 2; wallThickness = 2; wallHeight = 14; bottomRim = 5; innerLength = plateLength + 2 * clearance; innerWidth = plateWidth + 2 * clearance; difference() { cube([innerLength + 2 * wallThickness, innerWidth + 2 * wallThickness, botto...
glb/cad_a8d7ae9f8bb3.glb
Create a blank round miniature base with a total height of 4mm and a maximum diameter of 50mm. The base is a tapered cylinder where the bottom face is a flat circle with a 50mm diameter and the top face is a flat circle with a 47mm diameter. From the top face, remove a concentric cylindrical volume to create a shallow ...
width=50; base_thickness=1; $fn=100; difference() { cylinder(h=4, r2=width/2, r1=(width-3)/2); translate([0,0,2.9]) cylinder(h=2, r2=(width-(base_thickness*2))/2, r1=(width-(base_thickness*2)-3)/2); }
glb/cad_4ac0956eb44e.glb
Create a Medal Time Clip by starting with a main body shaped as a rounded rectangle with a total width of 46mm, a height of 16mm, a thickness of 3mm, and corner radii of 3mm. Carve out a smaller rounded rectangle from the top face, leaving a 2mm border around the edges, with this cutout having a depth of 2mm. On the un...
ribbon_width = 40; ribbon_thickness = 1; corner_radius = 3; width = ribbon_width + 2*corner_radius; height = 16; thickness = 3; text_thickness = 0.6; time = "3:41:48"; text_size = 9; X_text_offset = 1; Y_text_offset = 1.5; border_size = 2; module coin_rond_rect(l, w, h, r) { minkowski() { cube([l - 2*r, w ...
glb/cad_b4bc74d1fa8f.glb
Create a Medal Time Clip by starting with a main body shaped as a rounded rectangle with a total width of 56mm, a height of 17mm, and a thickness of 3mm, using a corner radius of 3mm. Carve out a top opening from this body that is 52mm wide and 15mm high with a corner radius of 2mm, leaving a 2mm border around the edge...
ribbon_width = 50; ribbon_thickness = 1; corner_radius = 3; width = ribbon_width + 2*corner_radius; height = 17; thickness = 3; text_thickness = 0.6; time = "3:10:18"; text_size = 11; X_text_offset = 0; Y_text_offset = 2.5; border_size = 2; module coin_rond_rect(l, w, h, r) { minkowski() { cube([l - 2*r, w...
glb/cad_0273be2c872b.glb
Create a Compact MATX Case front panel. Start with a main rectangular panel measuring 130mm wide, 254mm high, and 8mm thick. Within this panel, create a hexagonal grid pattern with a cell size of 48mm, cell walls of 3mm, and internal walls of 1.2mm. Cut a square hole measuring 84.5mm by 84.5mm with a depth of 9mm into...
include <hex-grid.scad> include <case_common.scad> include <shapes.scad> translate ([0,20,0]) difference () { case_front (); translate ([0,-20.25,-3]) box (150,190,25) ; }; translate ([0,-20,0]) difference () { case_front (); translate ([0,169.75,-3]) box (150,190,25) ; }; module case_front () { d...
glb/cad_6ed295a0ec39.glb
Create a Compact MATX Case front panel. Start with a main rectangular panel measuring 130mm wide, 254mm high, and 8mm thick. Within this panel, create a hexagonal grid pattern with a cell size of 48mm, a cell wall thickness of 3mm, and internal walls of 1.2mm. In the center of the panel, create a square cutout measuri...
include <hex-grid.scad> include <case_common.scad> include <shapes.scad> translate ([0,20,0]) difference () { case_front (); translate ([0,-20.25,-3]) box (150,190,25) ; }; translate ([0,-20,0]) difference () { case_front (); translate ([0,169.75,-3]) box (150,190,25) ; }; module case_front () { d...
glb/cad_99f9da3f00d8.glb
Create a guitar tuning peg winder bit consisting of a hexagonal shaft and a rectangular socket. Start by creating a hexagonal prism for the shaft with a diameter of 6.3mm across the flats and a length of 25mm. At a height of 8mm from the base, carve a toroidal groove into the shaft's perimeter with a total height of 5m...
shaft_diameter = 6.3; shaft_length = 25; socket_inner_length = 24; socket_inner_width = 8; socket_inner_height = 16; wall_thickness = 2; groove_z_center = 8; groove_height = 5; groove_inner_dia = 5; $fn = 60; shaft_radius = shaft_diameter / (2 * cos(30)); socket_outer_length = socket_inner_length + 2 * wall_thickn...
glb/cad_48c6b8c5f3f1.glb
Create a door mount consisting of a square base and a cylindrical body. Start with a square base measuring 15mm by 15mm with a thickness of 1mm. Centered on this base, create a cylindrical body with a total height of 7.5mm. This cylinder should have a constant outer diameter of 8mm, though it features a slight protrusi...
bolt_diametre = 7; bolt_taper = 2; thickness = 8; upper_lip_diametre = 15; upper_lip_height = 1; inner_lip_size = 0.5; inner_lip_height = 4; inner_lip_height_under = 2; height = 7.5; slit_depth = 11; slit_width = 1.0; $fn = 64; difference(){ union(){ cube([upper_lip_diametre, upper_lip_diametre, upper_lip_height]); t...
glb/cad_fadb74644dd3.glb
Create a stackable optical drive enclosure. Start with a main body as a rounded cube with dimensions 155mm x 47mm x 185mm and a corner radius of 0.5mm. Hollow out the center to create a shell with a wall thickness of 4mm. Create a front opening for the drive plate measuring 149mm x 43.5mm x 5mm. At the rear, add a bac...
$fa = 1; $fs = $preview ? 2 : 0.4; driveBody = [147, 43, 176]; frontPlate = [149, 43.5, 5]; thickness = 4; hexagonWidth = 12; noOfColumns = 9; noOfRows = 12; standHeight = 20; standDiameter = 10; topSlots = true; separateForPrint = false; overlapBuffer = 1; difference() { RoundedCube(size = [driveBody[0] + (thi...
glb/cad_edaf36e1b635.glb
Create an insert ring for a router plate. Start by creating a main cylinder with a diameter of 73mm and a height of 2.2mm. Attached to the bottom of this main cylinder, add a second, slightly tapered cylinder that transitions from a diameter of 66.6mm at the base to 73mm at the top, with a height of 1.8mm. Below this, ...
$fn=350; ID =30.5; ID_OFFSET =35.5; Template = false; rotate(a=[0,180,0]) { difference() { union() { cylinder(2.2,d=73); translate([0,0,-1.8]) cylinder(h=1.8,d2=73,d1=66.6); translate([0,0,-2.8]) cylinder(h=1,d=66.6); translate([0,0,-3.8]) cylinder($fn=16,h=1,d=67.6); } cylinder(d = ID, h = 12, center...
glb/cad_26e3031c3c27.glb
Create a vented funnel for a detergent tank. Start by constructing a hollow conical section with a large top diameter of 90mm and a small bottom diameter of 22mm, reaching a height of 50mm. Add a thin, flat circular rim around the base of the top opening with a diameter of 95mm and a thickness of 2mm. Extend the bottom...
BigDiameter = 90; SmallDiameter = 22; Height = 50; Deep = 30; module funnel(){ difference(){ union(){ difference(){ union(){ cylinder(d1 = BigDiameter, d2 = SmallDiameter, h = Height, center = false, $fn= 200); cylinder(d = BigDiameter...
glb/cad_dc3a3d98586c.glb
Create a Lamy Safari cap screw replacement consisting of a cylindrical head and a shank. Start by creating a cylindrical head with a diameter of 9.8mm and a total thickness of 1.8mm. The bottom of this head should feature a slight bevel, transitioning from a diameter of 8.4mm at the base to 9.8mm over a height of 0.5mm...
thread_len=4.8; thread_dia=4.46; head_thick=1.8; head_dia=9.8; cross_width=1.8; cross_len=7.6; cross_depth=1; head_bevel_dia=head_dia-1.4; head_bevel_hi=0.5; $fn=128; difference() { union() { cylinder(d=thread_dia, h=thread_len + head_thick); cylinder(d1=head_bevel_dia, d2=head_dia, h=head_beve...
glb/cad_9cc07d04ca55.glb
Create a Ulanzi TC001 Diffuser Replacement consisting of a main frame and a light guide grid. First, construct the main frame as a rounded rectangle with a length of 196.7mm, a width of 67mm, and a base height of 2mm, using a corner radius of 8mm. On top of this base, add a raised inner rectangular section with a hei...
part_to_render = "full"; length = 196.7; width = 67; height = 2.0; corner_radius = 8; bottom_thickness = 0.2; inner_length = length - 2*8.73; inner_width = width - (8.95 + 9.6); y_offset = (9.6 - 8.95)/2; hollow_length = inner_length - 2*2; hollow_width = inner_width - 2*2; total_height = height + 2.8; cylinder_d...
glb/cad_4055bb8286e1.glb
Create a Quacks of Quedlinburg organizer tray by starting with a base rectangular block measuring 99mm in width, 96mm in depth, and 26.6mm in height, ensuring all exterior corners are rounded with a 3mm radius. From this solid block, carve out several negative spaces to create storage compartments. First, create a larg...
$fn=200; difference(){ roundedCube(99,96,26.6); translate([3.5,2.4,1]) cube([92,61,100]); translate([0,32.9,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([11.75,79.7,5.5]) rotate([0,0,0]) cylinder(h=75, d=21.5, center=false); translate([0,79.7,-1]) rotate([0,0,0]) cylinder(h=75, d=17, center=f...
glb/cad_b7bf17194cf8.glb
Create a game organizer box with overall exterior dimensions of 94mm width, 88mm depth, and 27mm height, featuring rounded corners with a 3mm radius. The interior is divided into three distinct storage compartments. The first compartment is located on the left; carve out a space starting 2.4mm from the left and front...
$fn=200; difference(){ roundedCube(94,88,27); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=31.8, d=40, center=false); translate([2.4,2.4,21]) cube([31.8,83.2,40]); translate([2.4,22.4,1]) cube([31.8,63.2,40]); translate([34.2,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=23.9, d=40, center=fa...
glb/cad_3af0cbd7694a.glb
Create a Quacks of Quedlinburg game organizer starting with a base rounded rectangular block measuring 94mm x 76mm x 27mm with a corner radius of 3mm. Carve out three identical open-top compartments. Each compartment is defined by a rectangular void measuring 33mm x 71.2mm x 40mm, but the depth is limited by the base...
$fn=200; difference(){ roundedCube(94,76,27); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=33, d=40, center=false); translate([2.4,2.4,21]) cube([33,71.2,40]); translate([2.4,22.4,1]) cube([33,51.2,40]); translate([35.4,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=23.9, d=40, center=false); ...
glb/cad_84f3787653c8.glb
Create a Quacks of Quedlinburg game organizer by starting with a solid rounded rectangular block measuring 94mm in width, 88mm in depth, and 27mm in height, with corner radii of 3mm. Carve out three identical open-top storage compartments. Each compartment is defined by a rectangular void measuring 35.8mm by 83.2mm a...
$fn=200; difference(){ roundedCube(94,88,27); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=35.8, d=40, center=false); translate([2.4,2.4,21]) cube([35.8,83.2,40]); translate([2.4,22.4,1]) cube([35.8,63.2,40]); translate([38.2,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=24.3, d=40, center=fa...
glb/cad_e9cd76419a17.glb
Create a Quacks of Quedlinburg organizer box starting with a base rounded cube measuring 94mm in width, 72mm in depth, and 27mm in height, with corner radii of 3mm. From this solid volume, remove several geometric sections to create storage compartments. First, carve out two identical large voids. Each void is create...
$fn=200; difference(){ roundedCube(94,72,27); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=50, d=40, center=false); translate([2.4,2.4,21]) cube([50,67.2,40]); translate([2.4,22.4,1]) cube([50,47.2,40]); translate([52.4,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=36.8, d=40, center=false); ...
glb/cad_5bb47cacb165.glb
Create a Quacks of Quedlinburg organizer box with overall external dimensions of 94mm in width, 62mm in depth, and 27mm in height. The outer shell should have rounded corners with a radius of 3mm. Hollow out the interior to create a main storage compartment by removing a central block that is 89.2mm wide, 57.2mm deep, ...
$fn=200; difference(){ roundedCube(94,62,27); translate([2.4,22.4,26]) rotate([0,90,0]) cylinder(h=89.2, d=40, center=false); translate([2.4,2.4,26]) cube([89.2,57.2,40]); translate([2.4,22.4,6]) cube([89.2,37.2,40]); translate([0,-30,-2]){ rotate([-21,0,0]) translate([-2,68,48]) cube([100,3,20]); translate([150,...
glb/cad_6c175abf88fd.glb
Create a rectangular storage tray for the Quacks of Quedlinburg board game. The outer dimensions of the tray should be 96mm wide, 99mm long, and 26.6mm high. The exterior corners of the tray must be rounded with a radius of 5mm. To create the interior storage space, remove a central rectangular block starting 1mm from ...
$fn=200; difference(){ roundedCube5(96,99,26.6); translate([2.4,2.4,1]) roundedCube5(91.2,94.2,60); } 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() { cube([x-(2*r), y-(2*r), z-r...
glb/cad_333dea2408d5.glb
Create a Quacks of Quedlinburg organizer box with overall external dimensions of 94mm in width, 76mm in depth, and 27mm in height, featuring rounded corners with a 3mm radius. Inside this main volume, carve out three distinct storage compartments. The first compartment is positioned at the left, defined by a void tha...
$fn=200; difference(){ roundedCube(94,76,27); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=34.6, d=40, center=false); translate([2.4,2.4,21]) cube([34.6,71.2,40]); translate([2.4,22.4,1]) cube([34.6,51.2,40]); translate([37,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=21.7, d=40, center=fals...
glb/cad_322d16234166.glb
Create a Quacks of Quedlinburg organizer box with overall outer dimensions of 94mm in width, 52mm in depth, and 27mm in height. The box should have rounded corners with a radius of 3mm. Hollow out the interior to create a storage compartment. From the top surface, remove a large rectangular section measuring 89.2mm b...
$fn=200; difference(){ roundedCube(94,52,27); translate([0,0,4]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=89.2, d=40, center=false); translate([2.4,2.4,21]) cube([89.2,47.2,40]); translate([2.4,22.4,1]) cube([89.2,27.2,40]); } translate([0,-40,-2]){ rotate([-21,0,0]) translate([-2,68,48]) cube([100,3,...
glb/cad_6022a2aadce7.glb
Create a game organizer tray with an overall footprint of 164.2mm by 190mm and a height of 24.2mm. The main body is a rounded rectangular block with 5mm rounded corners. Inside this block, carve out two primary rectangular compartments. The first compartment, for Herb Witches, is 117mm by 91.4mm with a depth of 60mm, ...
$fn=200; difference(){ roundedCube5(164.2,190,24.2); translate([7.5,0,0]){ translate([2.4,2.4,1]) roundedCube3(117,91.4,60); translate([59.4,0,-1]) cylinder(h=400, d=30, center=false); translate([38.6,5,18.2]) rotate([90,0,0]) linear_extrude(30) difference(){square(6);circle(6);} translate([80.2,-5,18.2]) rotate(...
glb/cad_15824421679e.glb
Create a laser cutter focus block holder. Start by constructing a main vertical cylinder with an outer diameter of 16.25mm and a height of 11.95mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 12.25mm and a height of 19.9mm, leaving a wall thickness of 2mm at the b...
difference() { union() { difference() { union() { translate(v = [8.1250000000, 0, 0]) { cylinder($fn = 100, h = 11.9500000000, r = 8.1250000000); } cube(size = [16.2500000000, 10.1250000000, 20.0750000000]); } translate(v = [8.1250000000, 0, 2]) { cylinder($fn = 100, h = 19.9000000000, ...
glb/cad_8c61e220b7d6.glb
Create a modular tool rack holder with a round peg. Start by constructing the main clip body: a front vertical wall 3mm thick, a top horizontal plate 3mm thick, and a rear plate 2.5mm thick. The total height of the clip is 36mm, the width is 20mm, and the internal gap between the front and rear plates is 6.25mm. The re...
use <helpers.scad> use <boxes.scad> $fa = 2; $fs = 0.25; module holder_main( holder_width=20, holder_top_thick=3, holder_front_thick=3, body_height=30, bar_thick=3, gap_thick=3, edge_r=1, teeth_size=2, ) { holder_height = body_height + 2 * holder_top_thick; holder_gap = bar_thi...
glb/cad_85671aaf31ff.glb
Create a modular tool rack designed for a cabinet enclosure. Start by constructing the main horizontal body with a total height of 30mm and a distance of 200mm between the mounting holes. The mounting holes should be 5mm in diameter. The body features end sections with a width of 16mm and a horizontal bar with a thickn...
use <helpers.scad> use <boxes.scad> use <body.scad> use <tool-holders.scad> $fa = 2; $fs = 0.25; hole_dist=200; screw_d = 5; foot_width=16; body_height=30; bar_thick=3; gap_thick=3.5; peg_attach_height = 25; holder_top_thick = 3; holder_front_thick = 3; edge_r=1; teeth_size=2; difference() { translate_...
glb/cad_1f4e6285a444.glb
Create a test tube label clip consisting of a curved snap-on collar and an attached rectangular label plate. First, construct the collar by creating a hollow cylinder with an outer diameter of 16.8mm and an inner diameter of 15mm, with a total height of 20mm and a wall thickness of 1.8mm. Cut a section out of this cyli...
OD = 15; lblLength = 50; lblHeight = 15; lblThickness = 1.8; clip_thickness = 1.8; clip_height = 20; $fn = 180; union(){ rotate([0,0,45]){ difference(){ cylinder(h=clip_height,d=OD+clip_thickness); translate([0,0,-1]) cylinder(h=clip_height+2,d=OD); translate([0,0,...
glb/cad_68e71cc90c77.glb
Create a test tube label clip consisting of a flat rectangular plate attached to a curved C-shaped clip. First, construct the clip by creating a hollow cylinder with an outer diameter of 16.6mm and an inner diameter of 15mm, with a wall thickness of 0.8mm and a total height of 20mm. Remove a 90-degree wedge section fro...
OD = 15; lblLength = 50; lblHeight = 15; $fn = 180; union(){ rotate([0,0,45]){ difference(){ cylinder(h=20,d=OD+1.6); translate([0,0,-1]) cylinder(h=20+2,d=OD); translate([0,0,-1]) cube([OD/2+2, OD/2+2, 20+2]); }; } translate([0,(OD+1.6)/-2,lblLeng...
glb/cad_045b787946ab.glb
Create a Giottos air blower filter adapter consisting of two main parts: a top socket and a bottom base. For the top socket, create a revolved profile with a wall thickness of 1.5mm. The profile starts at a bottom diameter of 55mm, curves upward and inward to a top diameter of 15.5mm (with a 0.2mm tolerance), and reac...
topTolerance = 0.2; bottomTolerance = 0.2; topDiameter = 15.5; bottomDiameter = 55; lip = 3; bottomHeight = 7; topWall = 1.5; topNeck = 6; grilleWidth = 1.2; grilleHeight = 1.5; bottomWall = 1.2; extraHeightRatio = 1.1; mode = 2; module end_of_parameters_dummy() {} function BEZ03(u) = pow(1-u, 3); function BEZ13(u) =...
glb/cad_7f3f91b23b24.glb
Create a 3U 10" Dual Slot Mini ITX Mount. Start with a rectangular faceplate measuring 254mm by 133.5mm with a thickness of 4mm. Cut a central IO panel opening measuring 159.25mm by 44.85mm with a depth of 6mm. Add six sets of rack mounting holes, each consisting of two 6.35mm diameter cylinders spaced 3.175mm apart, p...
module mounting_holes(){ union(){ hull(){ translate([7.937,6.35,-1]) cylinder(h=6,d=6.35); translate([7.937,9.525,-1]) cylinder(h=6,d=6.35); } hull(){ translate([7.937,19.075,-1]) cylinder(h=6,d=6.35); translate([7.937,25.425,-1]) cylinder(...
glb/cad_727046b2478e.glb
Create a 3U 10" Dual Slot Mini ITX Mount by starting with a rectangular base measuring 18mm wide, 51.5mm long, and 9mm high. Centered on top of this base, add a second rectangular block that is 8mm wide, 45mm long, and 13mm high, positioned 6.5mm from the front edge. From this combined structure, remove two vertical ho...
difference(){ union(){ cube([18,51.5,9]); translate([0,6.5,0]) cube([8,45,13]); } translate([13,4.5,-1]) cylinder(d=3.5,h=11,$fn=25); translate([13,46.5,-1]) cylinder(d=3.5,h=11,$fn=25); translate([-1,45.75,8]) rotate([0,90,0]) cylinder(d=2.5,h=7,$fn=25); translate([-1,25.75,8])...
glb/cad_1a307df30337.glb
Create a Metro Shelf Label Plate by constructing a hollowed-out C-shaped bracket. Start with a solid rectangular block that is 64mm wide, 29mm high, and has a depth of 7.62mm. The top and bottom edges of this block should be rounded with an outer radius of 7.0125mm. To create the interior slot, remove a centered channe...
ClipWidth = 64; ClipHeight = 29; WireDiameter = 7.62; WallThickness = 3.175; $fn = 1000; CylinderOuterRadius = WallThickness + WireDiameter/2; CylinderInnerRadius = WireDiameter/2; difference(){ union(){ cylinder(h=ClipWidth, r=CylinderOuterRadius); translate([0, -CylinderOuterRadius, 0]) ...
glb/cad_ea1bb7840ba4.glb
Create a Bathroom Radiator Hook with a total width of 14mm. The object is a flat, rounded profile consisting of three main circular elements connected by a central bar. First, create a clamp for the lower pipe: a circular arc with an inner diameter of 18.25mm and a thickness of 7mm, spanning 220 degrees. Second, cre...
pipe_diam = 18.5; pipe_outer_dist = 53; width = 14; bevel = 2; clamp_diam = pipe_diam - 0.25; clamp_thickness = 7; clamp_angle = 220; retainer_diam = pipe_diam; retainer_thickness = 5.5; retainer_angle = 170; hook_diam = 20; hook_thick...
glb/cad_b323da04bcc4.glb
Create a shower dispenser replacement key consisting of a central rectangular block with two hexagonal pegs extending from opposite faces. Start with a central cube measuring 15mm in width, 5.75mm in height, and 15mm in depth. On one face of the cube, center a circular hole with a diameter of 4mm that passes completely...
module __Customizer_Limit__ () {} production = 1; pnghq = 0; $fn = (production && !$preview) ? 350 : (pnghq ? 350 : 75); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$fn); } else { echo("Producing DRAFT quality"); echo("Resolution",$fn); } $small_key_diam = 4...
glb/cad_99ee9a14b484.glb
Create a cooling duct for a 4010 extruder fan. Start with a main rectangular body measuring 49.1mm in width, 42.1mm in height, and 5.25mm in thickness. Carve a large central void through the body to create a hollow channel for airflow. The interior walls of this duct should be shaped by a series of extruded profiles ...
$fn = $preview ? 60 : 180; screwRadius = 0.9; screwReinforcementRadius = 1.9; module roundCorner( cornerSize, height ) { difference() { translate( [ -0.1, -0.1, 0 ] ) cube( [ cornerSize, cornerSize, height ] ); union(){ translate( [ 0, cornerSize, -1 ] ) cube( [ ( cornerSize * 2 ), ( cornerSize * 2 ), ...
glb/cad_19aefef675d0.glb
Create a sturdy shelf hook by starting with a base L-shaped bracket. Construct the first vertical section as a rectangular block 20mm high, 10mm deep, and 4mm wide. Attached to this, create a second rectangular block that extends 10mm further in depth and maintains the 20mm height and 4mm width, forming a right angle. ...
$fn=128; cube([4,10,20]); translate([0,-4,0])cube([10,4,20]); translate([10,-4,0])cube([4,59,20]); difference() { translate([-36,55,0])cube([50,4,20]); translate([-28,40,10])rotate([270,0,0])cylinder(d=4,h=110); } hull() { translate([15,20,10])sphere(d=10); translate([30,20,10])sphere(d=10); } hull() { transla...
glb/cad_7214cb28b4ee.glb
Create a Bike Bowden Tube Clamp by designing a C-shaped profile and extruding it linearly to a total width of 9.6mm. The profile consists of a circular ring with an outer diameter of 12.2mm and a wall thickness of 2.2mm. This ring is not complete; it features a gap of 100 degrees to allow for the insertion of a tube. T...
ww = 2.2; wiggle = 0.1; td = 5; shd = 5; coa = 100; shc = 11.5; $fa = 4; $fs = 0.3; coa_h = 0.5 * coa; cw = ww*2+shd+2*wiggle; ch = 0.5*shc + 2*ww + 0.5*td; module tube_clamp() { tmp = 0.5*ww + wiggle + 0.5*td; xoff = -tan(90-coa_h)*tmp; translate([xoff,0,0]) linear_extrude(cw) { ...
glb/cad_6b1f94e8c1e5.glb
Create a floating bee-watering pad shaped like a flower. Start with a central circular void 10mm in diameter. Arrange 5 identical petals symmetrically around this center. Each petal is a sphere with a base diameter of 10mm, scaled to be 50mm long, 30mm wide, and 10mm thick. Position each petal so its inner edge touches...
$fn = 64; original_d = 10; petal_length_ratio = 5; petal_width_ratio = 3; petal_thickness_ratio = 1; center_free_space = 10; petal_number = 5; cut_ratio = 0.33; module petal() { translate([(petal_length_ratio) / 2 * original_d + center_free_space / 2, 0, original_d * petal_thickness_ratio / 2]) { scale([petal_leng...
glb/cad_b70b15a65079.glb
Create a BrewPi-ESP8266 Box with a base measuring 132mm wide, 135mm deep, and 60mm high. The box features a floor and four walls, each 2.5mm thick. The front wall contains a rectangular cutout for an IEC 320 power inlet, measuring 19.4mm wide and 29.5mm high, with two 45-degree chamfered notches at the top and bottom ...
wall_thickness = 2.5; case_depth = 135; case_width = 140-8; case_height = 60; hole_radius = 2; tab_width = 20; screw_radius = (2.8 / 2); screw_length = ((15 - 5) / 2); plate_width = 114.3/2+6; plate_height = 114.3-1.5; plate_thickness = wall_thickness+.02; module iec_320 () { { ...
glb/cad_1bb84bd49340.glb
Create a throttle handle grip consisting of a main cylindrical body and two identical mounting posts. The main body is a cylinder with a diameter of 26mm and a length of 110mm, scaled by 1.5 along its width to create an elliptical cross-section. Remove a semi-cylindrical section from the underside of this body, using a...
module nubbin(){ difference(){ translate([0.6, 0, 10]){ cube([9, 13, 33], center= true); } cube([3.55, 8, 13.1], center= true); translate([0, 0, -3]){ rotate([0,90,0]){ cylinder(h=14, d=3.2, center=true, $fn=32); } } translate([4, 0, -3]){ ...
glb/cad_0fd6110b48cb.glb
Create a Blokus game piece consisting of three identical base units arranged in an L-shape. Each base unit is constructed by centering a 12.2mm cube with a thickness of 2mm. On the top and bottom faces of this cube, place a 4-sided pyramid frustum with a height of 1mm; the larger base of the frustum is a square with a ...
middle_thickness = 2; middle_length = 12.2; outside_thickness = 1; outside_base_length = 11.4; outside_top_length = 11; subtract_top_length = 7; subtract_top_thickness = 1.1; module blokus_base_unit(){ difference(){ union(){ translate([0,0,middle_thickness...
glb/cad_653a92293756.glb
Create a gift box model consisting of a lower container, a lid, and ribbons. First, create the lower box as a hollow cube with outer dimensions of 50x50x48.2mm and a wall thickness of 1.8mm. Cut two perpendicular channels through the walls of this box, each 15mm wide and 0.9mm deep, to allow ribbons to pass through. ...
_x=50; _y=50; _z=50; _overlap=5; _band=15; _ribbon=0.9; _thickness=1.8; _tolerance=0.1; lower_z=_z-_thickness; lowerbox=[_x,_y,lower_z]; lowerinner=[_x-(2*_thickness),_y-(2*_thickness),_z]; top_z=_thickness+_overlap; top_x=_x+(2*_thickness); top_y=_y+(2*_thickness); topbox=[top_x,top_y,top_z]; topinner=[_x+(2*_toler...
glb/cad_30005f71c71c.glb
Create a window comb by starting with a base rectangular plate 100mm long, 15mm wide, and 3mm thick. Add semi-circular caps with a 15mm diameter to both the left and right ends of the rectangle to create a pill-shaped profile. From this solid form, remove a circular hole with a 9mm diameter centered in the rightmost ...
length = 100; hole_diameter = 6.5; thickness = 3; size = 15; epsilon = 0.3; alpha=35; num_holes = 4; step = (length - hole_diameter*4) / (num_holes - 1); difference() { union() { translate([0, 0, 0]) cube([length, size, thickness]); translate([length, size/2, 0]) cylinder(d...
glb/cad_de68af465f91.glb
Create a bookmark consisting of a rectangular base and a decorative lattice. Start by creating a solid rectangular frame 50mm wide, 150mm high, and 2mm thick. Hollow out the center of this frame, leaving a 1mm border around the perimeter. Inside this frame, fill the area with a grid of 5 columns and 15 rows of small d...
$fn=20; pixel_size = 2; pixel_height = 0.2; espacement = 0; module pixel(x, y) { translate([x*(pixel_size+espacement), y*(pixel_size+espacement), 0]) cube([pixel_size, pixel_size, pixel_height]); } module fann() { translate([pixel_size * 9, 0,0]) union() { pixel(0,0); pixel(1,0);...
glb/cad_9b9352f5b10f.glb
Create a Pool Robot Cable Clip consisting of a C-shaped cable holder and a mounting base. First, construct the cable holder as a curved, open-ended channel with a height of 30mm. The outer profile is based on a circle with a 13mm radius, while the inner void is a circle with a 10mm radius, creating a wall thickness o...
resolution = 100; $fn = resolution; translate([-30, 0, 0]) { difference() { linear_extrude(30) difference() { union() { translate([10, 10, 0]) circle(r=13); translate([51, 10, 0]) circle(r=13); translate...
glb/cad_ff6f4a2bb479.glb