Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a game organizer insert with a base rectangular block measuring 208mm in length, 53.7mm in width, and 20mm in height, featuring rounded corners with a 3mm radius. From this base, remove several geometric volumes to create storage compartments. First, carve two vertical cylindrical holes with a 30mm diameter, c...
$fn=200; difference(){ roundedCube(208,53.7,20); translate([104,53.7,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([104,0,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([19,26.85,1]) rotate([0,0,30]) phex(41,0.5,30); translate([0,26.85,-1]) rotate([0,0,0]) cylinder(h=400, d...
glb/cad_c2ad9601335d.glb
Create a thin rectangular plate with overall dimensions of 104mm in length, 68mm in width, and 2.7mm in height. From this base, remove a large central circular hole with a diameter of 65mm, centered at X=52mm and Y=68mm. Additionally, remove two vertical rectangular blocks, each measuring 3mm by 52mm by 10mm; positio...
$fn=200; difference(){ cube([104,68,2.7]); cube([3,52,10]); translate([101,0,0]) cube([3,52,10]); translate([52,68,-1]) rotate([0,0,0]) cylinder(h=400, d=65, center=false); translate([12.6,60,-1]) rotate([0,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([96,60,-1]) rotate([0,0,0]) linear_...
glb/cad_e7de5d6de1ff.glb
Create a washer by constructing a thin, flat cylinder with an outer diameter of 11mm and a height of 0.5mm. Center a circular hole with a diameter of 5mm through the middle of the cylinder, passing completely through the 0.5mm thickness to create a ring shape. Ensure the circular profiles are smooth with high facet res...
$fn = 100; $diameter = 11; $hole = 5; $thickness = 0.5; difference() { cylinder(h = $thickness, d = $diameter); translate([0, 0, -0.01]) cylinder(h = 2*$thickness, d = $hole); }
glb/cad_4cc22b0b2f83.glb
Create a Portafilter Funnel consisting of a tapered hollow cone with a thick integrated rim. Start by creating a main body that is 16mm high. The exterior of this body is a truncated cone that narrows from a top diameter of 66mm down to a bottom diameter of 61mm. The interior is hollowed out by a matching truncated con...
$fn = 100; eps = 0.01; funnel_height = 16; funnel_top_width = 5; rim_height = 3.6; rim_width = 5.5; rim_inner_diameter = 59; funnel_outer_diameter = rim_inner_diameter + rim_width * 2 + 1; funnel_inner_diameter = rim_inner_diameter - 1.3; funnel_inner_diameter_top = funnel_outer_diameter - funnel_top_width; module f...
glb/cad_09d722c57584.glb
Create a card divider with a total width of 91mm, a height of 59mm, and a uniform thickness of 0.6mm. The main body should have rounded corners with a radius of 4mm. The divider features a tab that is 10mm high and 0.6mm thick. Depending on the desired configuration, position this tab either on the left side (startin...
$fn=20; width = 91; height = 59; tab = 10; thickness = .6; radius = 4; text = "Your text"; font = "Arial:style=Bold"; font_thickness = 0.6; side = "left"; difference() { translate([radius,radius,0]) minkowski() { { union() { cube([width-2*radius,height-2*radius,thickness/2]); if (side == "...
glb/cad_958bd77c4481.glb
Create a "No Comic Sans" prohibition sign. Start with a white circular base 200mm in diameter and 2.0mm thick. On top of this base, add a red prohibition symbol consisting of a red ring with an outer diameter of 180mm and an inner diameter of 160mm, both 0.8mm thick, centered on the base. Overlay a red rectangular bar ...
base_thickness = 2.0; text_thickness = 0.4; ban_thickness = 0.8; $fn=100; epsilon=0.001; color("white") cylinder(h=base_thickness-2*epsilon, d=200); color("red"){ rotate([0,0,45]) translate([-80,-10,base_thickness]) cube([160,20,ban_thickness]); difference(){ translate([0,0,base_thickness]) cylinder(...
glb/cad_e51cdc27027d.glb
Create a Toothpaste Collar by constructing two mirrored halves that join at the center. For each half, create a solid body using a hull operation between two cylinders: one with a radius of 3mm (which is 0.75 times the wall thickness) and another with a radius of 4.76mm (1.2 times the gap thickness plus the wall thickn...
$fn= $preview ? 32 : 64; width = 57; thk = 0.3; wall = 3.97; height = 6; makeHalf(); mirror([1,0,0]) makeHalf(); module makeHalf() { difference() { hull() { translate([width / 2, 0, 0]) cylinder(height,r = thk * 1.2 + wall, center = true); ...
glb/cad_06c47c3bb363.glb
Create a modular storage case base with a total width of 39.65mm, depth of 39.65mm, and height of 19.65mm. The base is a hollow rectangular box with a wall thickness of 0.8mm and a floor thickness of 0.8mm. Apply a 1mm chamfer to the bottom edges. The interior cavity should be 38.25mm wide and 38.25mm deep. Round the...
Width_in_units = 2; Depth_in_units = 2; Height_in_units = 1; Radius_of_round_sides = 8; Round_side_on_pos_X = true; Round_side_on_neg_X = false; Round_side_on_pos_Y = false; Round_side_on_neg_Y = false; Wall_thickness_in_mm = 0.8; Floor_thickness_in_mm = 0.8; Clearance_between_boxes_in_mm = 0.35; Height_clearance_i...
glb/cad_5a1d2bbac077.glb
Create a customizable modular storage case consisting of a base and a lid that snap together. The overall inner dimensions are 160mm wide by 120mm deep (8x6 units, where 1 unit = 20mm). Both the base and lid have a wall thickness of 1.4mm and a solid floor/ceiling thickness of 1.4mm. The base height is 10mm (0.5 units)...
Width_in_units = 8; Depth_in_units = 6; Base_height_in_units = 0.5; Lid_height_in_units = 0.5; Number_of_hinges = 3; Number_of_clips = 1; Offset_of_the_hinges_from_the_sides_in_mm = 5; Add_chamfers_near_hinges = true; Add_slope_to_the_front = true; Offset_of_the_clips_from_the_sides_in_mm = 10; Wall_thickness_in_...
glb/cad_e3f68024b9f0.glb
Create a small mixing paddle designed to fit an M6 threaded rod. Start by creating a central vertical cylinder 25mm high with an outer diameter of 8mm and a concentric hole 5.9mm in diameter running through its center. Around this core, build a twisting blade structure by extruding two perpendicular rectangular bars, e...
$fn=120; slices=100; module model_1() { render() intersection() { difference() { union() { cylinder(25,d=8); linear_extrude(height=25, twist=60, slices=slices) { projection () union() { cube([35,1.5,...
glb/cad_b790244cf077.glb
Create a Coin Card by starting with a rectangular base measuring 85mm wide, 54mm high, and 2.1mm thick, with all four corners rounded to a 2mm radius. Carve five circular coin slots into the card. Each slot consists of a wide primary cylinder that penetrates the card to a depth of the coin's thickness, leaving a thin...
slop = 0.1; card_size = [85, 54, 2.1]; card_radius=2; coin_rim = 3; cdn_loonie = [26.5, 1.95]; cdn_toonie = [28, 1.75]; cdn_quarter = [23.88, 1.58]; module coin_cutter(size, cardthick) { diam = size[0]; cointhick = size[1]; translate([0,0,cardthick-cointhick]) cylinder(d=diam+slop, h=cointhick+1, ...
glb/cad_fe9e75967492.glb
Create a RavenPi Raspberry Pi 4 case consisting of a top and bottom shell. The main body is a hollow rectangular enclosure with an outer dimension of 89.5mm by 58mm and a wall thickness of 2mm. For the bottom shell, create a base that accommodates a 1.5mm thick board. Include four cylindrical mounting posts at the co...
board_thickness = 1.5; pin_space = 3; $fn = 100; extension = 20; inhibitionzone_height = 12; case_thickness = 2; pil = 85.5; pid = 56; pih = board_thickness; sd_height = pin_space + case_thickness + board_thickness; mount_pin_height = 2*board_thickness + 2*case_thickness + pin_space + inhibitionzone_height; fan_pin_di...
glb/cad_9cca3ae4dcbd.glb
Create a motor fan with a total outer diameter of 140mm. Start with a circular base plate 3mm thick. On top of this base, add a tapered cylindrical section that rises 10mm, narrowing from the 140mm outer edge down to a radius of 16mm. Centered within this structure, create a vertical cylindrical hole with a diameter of...
outerDiameter=140; holeDiameter=16; floorThickness=3; wingThickness=3; bladeHeight=40; axleHeight=30; floorTaperHeight=10; numWings=10; bladeAngle=40; axleHolderThickness=7; $fn=100; holeRadius=holeDiameter/2; outerRadius=outerDiameter/2; degreesPerWing=360/numWings; module wing() { translate([0,-wingThickness/2,0...
glb/cad_eeb6c3b4664c.glb
Create a Camera Battery Holder by starting with a solid rectangular block measuring 48.3mm in width, 40.4mm in depth, and 53.3mm in height. Carve out six rectangular battery voids arranged in a 3x2 grid. Each void must measure 36.67mm in width, 17.4mm in depth, and 51.15mm in height. Position these voids so they star...
Sy = 16.8; Sx = 36.068; Sz = 50.546; Nx = 3; Ny = 2; C = 0.3; Tw = 2.4; Tb = 2.2; Dx = Tw+Nx*(2*C+Sx+Tw); Dy = Tw+Ny*(2*C+Sy+Tw); Dz = Sz+Tb+C; echo(Dx=Dx,Dy=Dy,Dz=Dz); Vx = Sx+2*C; Vy = Sy+2*C; Vz = Sz+C; echo(Vx=Vx,Vy=Vy,Vz=Vz); void_over = 5; module Block() { cube([Dx,Dy,Dz]); } module BatteryVoids...
glb/cad_cb81824d936a.glb
Create a parametric rectangular vent cover consisting of a mounting tube, a faceplate, and an internal grid. First, construct a hollow mounting tube with outer dimensions of 99.8mm by 99.8mm, a height of 15mm, and a wall thickness of 1.5mm. The corners of this tube must be rounded with a 6mm radius. Next, create a f...
$fn = 180; tubeX = 99.8; tubeY = 99.8; tubeH = 15; tubeR = 6; plateX = 115; plateY = 115; plateR = 10; finH = 10; finAngle = 45; finAmount = 10; gridDividers = 1; plateLipH = 0.8; plateLipT = 0.8; tubeWallT = 1.5; gridWallT = 1; plateT = 1.5; grid(); tube(); plate(); lip(); module tube() { linear_extrude(...
glb/cad_4529a04813ba.glb
Create the Infinity Earrings model by constructing two separate components: a mirror frame and a battery holder. For the mirror frame, create a hollowed cube with an outer boundary defined by eight spheres of 6mm diameter positioned at the corners of a 30mm cube. Remove the interior volume using a combination of three...
battery(); module battery() { difference() { union() { i=4; hull() { translate([10,0,3.3]) sphere(d=i,$fn=20,center=true); translate([10,0,-3.3]) sphere(d=i,$fn=20,center=true); translate([-10,0,3.3]) sphere(d=i,$fn=20,center=true); ...
glb/cad_d9917a9de8e4.glb
Create a Venturi aerator adapter consisting of a central vertical tube and a perpendicular air intake. The main body is a cylinder 30mm tall with an outer diameter of 8.55mm. The bottom 8.5mm of this cylinder has a slightly larger outer diameter of 8.8mm. At a height of 8.5mm, add a separation ring with a diameter of 1...
$fn=200; difference(){ union(){ cylinder(30,4.285,4.285); cylinder(8.5,4.4,4.4); translate([0,0,8.5]) cylinder(2.7,5,5); translate([0,0,7.9]) cylinder(0.6,4.3,5); translate([0,0,14]) rotate([90,0,0]) cylinder(11.65,2.53,2.53); translate([-0.2,-11.6,0]) cube([0.4,6.5,...
glb/cad_b3d5159641b2.glb
Create a circular tray with a total diameter of 128mm and a total height of 15.5mm. Start by forming a solid base cylinder that is 128mm in diameter and 2mm thick. On top of this base, add a concentric cylindrical wall with an outer diameter of 128mm and an inner diameter of 124mm, extending the wall height to 13.5mm a...
$fn=200; cylinder(2,64,64); translate([0,0,13.5]) rotate_extrude() translate([64,0,0]) circle(1); difference(){ cylinder(13.5,64,65); cylinder(13.5,62,63); }
glb/cad_37c6f80cc178.glb
Create a pair of mirrored slotted rails designed to store steel build plates underneath an enclosure. Each rail consists of a main rectangular body with a width of 14mm (12mm slot width plus 2mm edges) and a length of 220mm. Within the main body, create 3 horizontal slots for the plates. Each slot is 2mm thick with a...
$fa = 1; $fs = 0.1; plate_width = 254; rr_y = 159; lr_y = 149; f_y = 137; f_to_r = 151; n_slots = 3; slot_thickness = 2; slot_gap = 2.5; slot_taper = true; tilt = 0.5; extra_feet = 0; length = 220; slot_length = 215; build_tilt = 21.5; slot_width = 12; edge_thickness = 2; edge_gap = 1.5; f_offset_y = 18; tab_thicknes...
glb/cad_fe2ce42b5696.glb
Create a ReChain Strut Prototype consisting of a hull segment and a centering wedge. First, construct the hull segment. Create four identical rectangular arms, each with a width of 3mm, a length of 24mm, and a height of 20mm (calculated as the main hull length plus two 1mm edge breaks). Position these arms in a square...
$fa = 4; $fs = 0.3; eps = 0.05; wchannel = 14; twall = 3; b = 1.0; over = 10-2; lmainhull = 24; saxleshift = 3.6*1; springstate = (2*$t < 1) ? 2*$t:2*(1-$t); lp = 2.0*twall+eps; taxleflat = 6; daxle = 7; raxle = daxle/2; clraxleslot = 0.5; clrspring = 0.25; lspring = lmainhull/2 - raxle - clraxleslot; tsprin...
glb/cad_bd9d649a6895.glb
Create a ReChain Strut Prototype #1 consisting of a length-adjustment mechanism and a chain assembly. First, construct the length-adjustment hull segment. Create a central body that transitions from a cylinder with a radius of 6mm to a rectangular block of 14mm width and 14mm height. This segment must feature a centra...
use <basic-screw.scad> include <scad-lib-cyclogearprofiles/lib-cyclogearprofiles.scad> eps = 0.05; beyelet = 0.75; b = 1; tlip = 2; lipgap = 0; lipover = 2; clrclip = 0.4; tspring = 1.6; recess = 1; over = 6; twall = 3; wchannel = 14; clrchannel = 0.25; length_adjustment_endchannel = 25; axlecolor = "purple"; ...
glb/cad_174af0d682df.glb
Create a Nintendo Cartridge Bit Holder consisting of a vertical backplate and a horizontal base. The backplate is a rectangular block 40mm wide, 10mm deep, and 50mm high. Attached to the bottom is a base block 40mm wide, 30mm deep, and 30mm high, with rounded corners of 7.5mm radius. In the base block, create two vert...
module rounded_box(w,d,h,r) { union(){ translate([-w/2+r/2, -d/2+r/2, 0]) cylinder(h, r/2, r/2); translate([w/2-r, -d/2+r, 0]) cylinder(h, r, r); translate([-w/2+r/2, -d/2, 0]) cube([w-r-r/2,d,h]); translate([-w/2, -d/2+r, 0]) cube([w,d-r,h]); translate([-w/2, -d/2+r/2, 0]) cube([w-r,d-r,h]); } } $fn=50; ...
glb/cad_051b623f91af.glb
Create a minimal shell for a C286 USB microSD reader. Start with a main rectangular body measuring 28mm in length, 16.35mm in width, and 5mm in height, positioned at (1.5, 0, 0.71). From this body, remove a rectangular section measuring 10.1mm by 11.5mm by 2.45mm, starting from the front edge at (0, 2.38, 0.71), to c...
tinyLittleSmidgeon = 0.001; margin = 0.1; rotate([90,0,0]) union() { color("LightGray") difference() { translate([1.5,0.0,0.71+tinyLittleSmidgeon]) cube([28.0,16.35,5.0]); translate([-tinyLittleSmidgeon,-tinyLittleSmidgeon,-tinyLittleSmidgeon]) difference() { ...
glb/cad_6d880b94b170.glb
Create a Customizable Grid Box designed to hold small elements. The main body is a rounded rectangular container with a total height of 26.6mm (calculated as 25mm plus a 1.6mm grid base). The outer dimensions are determined by a 2x2 grid of elements, each 16.1mm by 16.1mm, separated by internal walls of 1.32mm and encl...
use <af-basics.scad>; layer_height = 0.20; line_with = 0.44; element_x = 16.1; element_y = 16.1; element_z = 25.0; rows = 2; collumns = 2; external_walls = 4; internal_walls = 3; grid_walls = 4; grid_layers = 8; WALL = external_walls * line_with; BORDER = internal_walls * lin...
glb/cad_1e7103aeb919.glb
Create a Hotwheels track wall-mount. Start with a central base structure formed by three overlapping rectangular prisms: one measuring 1.6mm by 25mm by 25mm, another 1.4mm by 20mm by 20mm, and a third 3.6mm by 28mm by 32mm, all centered relative to each other. From this combined volume, remove several geometric section...
$fn=90; union() { difference() { union() { translate([-04.0,+00.0,+14.0]) cube([+01.6,+25.0,+25.0], center=true); translate([-02.5,+00.0,+14.0]) cube([+01.4,+20.0,+20.0], center=true); translate([+00.0,+00.0,+16.0]) cube([+03.6,+28.0,+32.0], center=tr...
glb/cad_7eb7270d2b9f.glb
Create a Prusa MK3S Extruder Idler Bearing holder. Start with a main body consisting of a rectangular block 10.5mm wide, 30mm deep, and 25.5mm high, joined to a cylinder with a radius of 5mm and a height of 27mm centered at (11.5, -5, -16.5). Add a rectangular block 10.5mm wide, 8.4mm deep, and 16mm high at (4, -24.7, ...
module nut_bp(diameter,head,layer) { difference() { cylinder(h = 2, r=head, $fn=6); translate([-5-diameter,-5,2-layer*2])cube([5,10,2]); translate([diameter,-5,2-layer*2])cube([5,10,2]); translate([-5,-5-diameter,2-layer])cube([10,5,2]); translate([-5,diameter,2-layer])c...
glb/cad_502dd42c169b.glb
Create a HackHeld Vega II handheld case base. Start with a rounded rectangular block measuring 45.3mm wide, 60mm long, and 8.5mm high, with a corner radius of 2mm on the bottom face. Hollow out the center to create a shell with a wall thickness of 1.4mm. At each of the four interior corners, add a cylindrical screw pi...
length = 60.0; width = 45.3; height = 8.5; wall = 1.4; scew = 2.0; wemos_length = 34.8; wemos_width = 24.0; wemos_y = 7.5; wemos_cutout_height = 6.8; oled_length = 3.7; oled_width = 10.0; $fs=0.01; $fn=50; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[...
glb/cad_560288636db9.glb
Create a Yagi Antenna AZ/EL mount base by starting with a main cylinder 40mm in diameter and 10mm in height. Centered within this base, remove a vertical cylindrical hole 6mm in diameter that runs the full height of the object. On the top surface, centered over the main hole, create a hexagonal cutout with a flat-to-fl...
$fn=50; difference(){ cylinder(d=40, h=10); cylinder(d=6, h=10); translate([0,-15,0])cylinder(d=1.5, h=10); translate([0,15,0])cylinder(d=1.5, h=10); translate([0,0,5.5])cylinder(r=10/sin(60)/2,h=4.5,$fn=6); }
glb/cad_84fd2595107f.glb
Create a Yagi Antenna AZ/EL mount by starting with a main cylinder 60mm in diameter and 50mm in height. Drill a 6mm diameter vertical hole through the center of this cylinder from top to bottom. Cut a wide rectangular notch out of the cylinder, 30mm wide and 60mm deep, centered on the top face and extending 60mm down t...
$fn=50; difference(){ cylinder(d=60,h=50); cylinder(d=6,h=50); translate([0,0,38])cube([30,60,60],center=true); #translate([-30,0,40])rotate([0,90,0])cylinder(d=6,h=70); }
glb/cad_8cf0e84ea127.glb
Create a Yagi Antenna AZ/EL mount base by starting with a solid cylinder 40mm in diameter and 10mm in height. In the center of this cylinder, create a vertical hole with a 1/4-inch English thread that extends 20mm deep. Additionally, create two smaller vertical holes, each 1.5mm in diameter and 10mm deep, positioned sy...
use<threads.scad> $fn=50; difference(){ cylinder(d=40, h=10); english_thread(1/4, 20, 1); translate([0,-15,0])cylinder(d=1.5, h=10); translate([0,15,0])cylinder(d=1.5, h=10); }
glb/cad_7d9f9e23a9b7.glb
Create a Nut Knob by constructing a central cylinder with a height of 10mm and a diameter of 15.3mm. Around the outer perimeter of this central cylinder, add 11 smaller vertical cylinders, each with a diameter of 3mm and a height of 10mm, spaced evenly every 32.7 degrees around the center. From the center of this ass...
$fn = $preview ? 15 : 90; height = 10; boltD = 6.2; nutHeight = 5; nutWidth = 11.3; surfaceCylinderNumber = 11; rotate([180, 0, 0]) { difference() { union() { cylinder(h = height, d1 = nutWidth + 4, d2 = nutWidth + 4); for (i = [0:(surfaceCylinderNumber - 1)]) { ...
glb/cad_ed45dcba0d8b.glb
Create a ZK-4KX Buck DC power supply enclosure consisting of a main box, a faceplate, and a separator. Construct the main box as a rectangular shell with outer dimensions of 90mm x 68mm x 48mm and a wall thickness of 1.6mm. On the side walls, create a series of ventilation slots starting from x=5mm and repeating ever...
$fn=60; translate([40,110,24]) Box(); translate([0,0,3]) mirror([0,0,1]) FacePlate(); translate([110,10,5]) Separator(); module Separator(){ difference(){ cube([20,16,10], center=true); cube([17.6,13.6,10],center=true); } } module FacePlate(){ difference(){ cube([90,68,3]); translate([45,40,1]) Cut...
glb/cad_808f25cd5bd1.glb
Create a strong rod holder designed to clip onto a 22mm thick wall. Start by constructing the main body as a hull encompassing four vertical cylinders, each 90mm tall with diameters of 10mm, positioned at the following coordinates on the XY plane: (10, 11, 0), (-22, 35, 0), (-1, 35, 0), and (-22, 5, 0). From this sol...
$fn=80; wall=22; OD=6.4; ODt=0.4; module straight() { difference() { union() { hull() { translate([10,0,0]) cylinder(d=OD+10,h=85); translate([-19,20,0]) cylinder(d=10,h=85); translate([-19,-20,0]) cylinder(d=10,h=85); } } translate([-19,-50,5]) cube([wall,...
glb/cad_55de285c7988.glb
Create a Tabletop Game Cube Case consisting of a hinged box with a base and a lid. The base is a rectangular block with a thickness of 1.5mm. On its top surface, carve 10 parallel channels to hold cubes. Each channel should be 10.5mm wide, 5.5mm deep, and long enough to hold 7 cubes (each cube being 10mm with a 0.5mm...
ChannelCount = 10; CubesPerChannel = 7; $fn=36; cubeSize = 10; cubeGap = 0.5; channelWallThk = 1; marginTop = 3; marginBottom = 3; marginLeft = 3; marginRight = 3; coverThk = 1.5; openAngle = 180 + 0; latchOffset = 0.5; frontLipGap = 0.5; latchGap = 0.5; latchOuterGrip = 0.5; latchInnerGrip = 0.25; wed...
glb/cad_380b4bbb55a9.glb
Create a toilet paper roll holder consisting of a vertical mounting plate and a cylindrical rod. First, construct the vertical plate with a width of 12mm and a length of 70mm. The plate has a thickness of 4mm. Create a large central cutout in the plate, leaving a structural frame. At the top of the plate, position a ...
modelSide="right"; verticalPlateWidth=12; verticalPlateThickness=4; verticalPlateLenght=70; horizontalPlateThickness=4; holeDiameter=3.2; holeVerticalOffset=60; cutForDST=true; deepCutForDST=0.5; rodLenght=116; rodDiameter=8; showToiletPaper=true; $fn = $preview ? 40 : 90; module createToiletPaperHolder()...
glb/cad_9d1cdac4f749.glb
Create a paint shield designed as a quarter-circle plate with a thickness of 4mm and a radius of 83mm. At the center point of the circle, construct a square corner block that extends outward. This block should have a width and length of 30mm and a total height of 14mm. From the top of this corner block, remove a smalle...
arc_radius = 83; pattern_height = 4; corner_edge = 30; corner_edge_thickness = 5; corner_height = 10; trim_length = 200; trim_height = 40; $fn=200; difference() { translate([0,0,0])cylinder( h=pattern_height,r1=arc_radius, r2=arc_radius); color("orange")translate([-trim_length/2,-trim_length,-1])rotate([0,0,0])cu...
glb/cad_66c9acca28ae.glb
Create a Waterrower Tank Stopper by constructing two stacked conical shapes. First, create a truncated cone with a height of 20mm, a bottom radius of 11.5mm, and a top radius of 15mm. Directly on top of this base, centered at the 20mm height mark, place a second, smaller truncated cone with a height of 8mm, a bottom ra...
cylinder(r1=11.5, r2=15, h=20); translate([0,0,20]) cylinder(r1=5, r2=6, h=8);
glb/cad_ad3ed6e7fe5f.glb
Create a greenhouse pane holder with a total height of 30mm and a consistent wall thickness of 0.88mm. The base of the object is a vertical rectangular plate 0.88mm thick and 4mm wide. Attached to the side of this base, create a second vertical plate of the same thickness and height, extending 3.5mm outward. From the...
$fn = $preview ? 15 : 90; thickness = 0.88; height = 30; sizeA = 4.0; sizeB = 3.5; sizeC = 6; sizeDX = 3.5; sizeDY = 3; sizeE = 9; sizeF = 5.6; sizeG = 7.8; cube([thickness, sizeA, height]); cube([sizeB, thickness, height]); translate([sizeB - thickness, 0, 0]) { cube([thickness, sizeC, height]); } compensati...
glb/cad_8a440073f94f.glb
Create a greenhouse pane holder with a total height of 30mm and a uniform wall thickness of 0.88mm. The object is constructed from several thin rectangular plates joined at right angles to form a zig-zagging profile. Start with a base plate 0.88mm thick, 9.8mm wide, and 30mm high. Attach a second plate of the same thic...
$fn = $preview ? 15 : 90; thickness = 0.88; height = 30; sizeA = 9.8; sizeB = 4.0; sizeC = 9.8; sizeD = 5.6; sizeE = 7.8; sizeF = 5.6; sizeG = 7.8; cube([thickness, sizeA, height]); cube([sizeB, thickness, height]); translate([sizeB - thickness, 0, 0]) { cube([thickness, sizeC, height]); } translate([sizeB - ...
glb/cad_65ce16c7be71.glb
Create a Vitavia greenhouse pane holder with a total height of 30mm and a uniform wall thickness of 0.88mm. The shape is constructed from several thin rectangular plates joined at right angles. Start with a base plate 0.88mm thick and 4mm wide. Attach a second plate of the same thickness and height perpendicular to the...
$fn = $preview ? 15 : 90; thickness = 0.88; height = 30; sizeA = 4; sizeB = 3.5; sizeC = 7.8; sizeD = 5.6; sizeE = 5.8; cube([thickness, sizeA, height]); cube([sizeB, thickness, height]); translate([sizeB - thickness, 0, 0]) { cube([thickness, sizeC, height]); } translate([sizeB - thickness, sizeC - thickness...
glb/cad_dc4d7968f67f.glb
Create an organizer tray with overall dimensions of 60mm wide, 330mm long, and 40mm tall. From this solid base, carve out the following four slots: First, create a ruler slot 5mm wide and 310mm long, positioned against the right edge, with a depth of 20mm. Second, create a lighter slot on the left side. This consists...
width = 60; length = 330; height = 40; border = 3; ruler_slot = 5; ruler_slot_depth = 20; ruler_slot_length = 310; scissors_slot_front = 17; scissors_slot_depth_front = 35; scissors_slot_length_front = 125; scissors_slot_length_middle = 40; scissors_slot_length_end = 50; scissors_slot_end = 6; scissors_slot_depth_...
glb/cad_0c6b07617342.glb
Create a file handle by constructing a composite body with rounded edges and a central void. The main body is based on a series of hexagonal prisms. Start with a central hexagonal section 22mm in diameter and 25mm long. At both ends of this section, add transitioning hexagonal segments that flare out to a diameter of 3...
HANDLE_D = 30; HANDLE_L = 120; NECK_D = 22; NECK_L = 25; TANG_W = 3; TANG_MIN = 3.0; TANG_MAX = 7.7; TANG_L = 40; RADIUS = 6; module tang() { rotate([90,0,0]) translate([0,0,-TANG_W/2]) linear_extrude(height=TANG_W) { polygon([[TANG_MAX/2, 0], [TANG_MIN/2, TANG_L], [-TANG_MIN/2, TANG_L], [-TANG_MAX/2, 0]])...
glb/cad_137893a5b08b.glb
Create a protective cover for a YubiKey 5. Start with a main body that is 49mm long, 18mm wide, and 6.5mm thick. The body should have a rounded end with a radius of 10.3mm. Carve a central rectangular cavity into the body to hold the key, measuring 47mm in length and 15.5mm in width, with a depth of 3.5mm. At the rou...
$fn=50; tlk=3.5; tls=1.5; tl=tlk+2*tls; shi=-tls; module roh () { cylinder (d=2,h=tl); } module klicenka () { cube ([34,18,3.5]); hull () { translate ([1,1,shi]) roh(); translate ([1,19,shi]) roh(); translate ([49,1,shi]) roh(); translate ([41,11,shi]) cylinder (d=18,h=tl); } } module hole_m ...
glb/cad_5b5a1826fa5c.glb
Create a Fujica X-mount to Fuji X-mount lens adapter. Start with a central hollow cylinder with an outer radius of 28mm and an inner radius of 25mm, reaching a total height of 20.7mm. At the base, add a ring with an outer radius of 25mm and an inner radius of 23.5mm and a height of 1.6mm. Incorporate three partial ri...
$fn = 300; fujiRingOuterRadius = 21.25; fujiRingInnerRadius = 20; fujiRingHeight = 1.6; fujiRingDropIn = 5; fujicaRingOuterRadius = 25; fujicaRingInnerRadius = 23.5; fujicaRingHeight = 1.6; fujicaRingZ = 3.5; ffdDelta = 43.5 - 17.7; outerRadius = 28; innerRadius = fujicaRingOuterRadius; module ringThread(rot, z, le...
glb/cad_7e9ad83be676.glb
Create a parametric gasket ring with a blob trap. Start by creating a main ring with an outer diameter of 25mm, an inner diameter of 15mm, and a uniform thickness of 3mm. Center the ring on the origin. To create the blob trap appendage, add a rectangular block centered on the X-axis. Position this block so its inner e...
outer_diameter=25; inner_diameter=15; thickness=3; $fa = 1; $fs = 0.1; difference() { cylinder(h=thickness,r=outer_diameter/2, center=true); translate([0,0,-1]) cylinder(h=thickness+3,r=inner_diameter/2, center=true); } translate([outer_diameter/2+3.7,0,0]) cube([8,1,thickness], center=true); translate([outer_diame...
glb/cad_d29decd54c90.glb
Create a UniBox electronic enclosure consisting of a bottom shell, a top shell, and two panels. Construct the bottom shell as a hollow rectangular box with outer dimensions of 74mm width, 104mm length, and 15mm height, with a wall thickness of 2mm. The interior cavity should be 70mm by 100mm. At each of the four inte...
$fn = 32; include <./camferCube.scad> include <./screwShapes1.scad> pcbW = 70; pcbL = 100; bottomHeight = 15; wall = 2; bottomDimsOutside = [pcbW + 2 * wall, pcbL + 2 * wall, bottomHeight]; bottomDimsInside = [pcbW, pcbL, bottomHeight]; module bottom(screwSide = false) { difference() { camferHalfCube(bot...
glb/cad_0ec0fcbf9082.glb
Create a Parametric Mini Hex Knob by constructing a large hexagonal prism and subtracting a smaller hexagonal cavity and a central cylindrical hole. The main body is a hexagonal prism with a total height of 4mm and a long diameter (point-to-point) of approximately 19.5mm. Centered within this body, create a hexagonal...
total_height=4; nut_support_thick = 1.20; added_height = total_height - nut_support_thick; nut_name = "1/4 inch"; tol_nut = 1.02; tol_shaft = 1.04; shaft_diameters = [ ["m3", 3.0], ["m4", 4.0], ["m8", 8.0], ["1/4 inch", 6.5], ["3/8 inch", 12.4], ]; echo("shaft_diameters", shaft_diameters); hex_across_flats = [ ["m...
glb/cad_82f77c1a23ae.glb
Create a Fan Stand Base consisting of a central tapered tower on a circular foundation. Start with a circular base plate 89.5mm in diameter and 3mm thick. From the center of this base, extend a tower that tapers upward from a radius of 44.75mm at the bottom to a radius of 30mm at a height of 8mm, and then continues as ...
$fn=100; difference() { union() { cylinder(r=89.5/2, h=3); translate([0,0,3]) cylinder(r1=89.5/2,r2= 30, h=8); cylinder(r1 = 30, r2=44.5/2, h=100); translate([-35/2,-50,0]) cube([35,100,37-(35/2)]); rotate([90,0,0]) translate([0,37-(35/2),-50]) cylinder(r=35/2, h=100); rotate([90,0,90]) translate([0,3...
glb/cad_85e525b34cde.glb
Create a Panthera Faceshield clip by starting with a base rectangular block measuring 8mm by 5mm by 20mm. Attach a second rectangular block to the first, measuring 8mm by 15mm by 4mm, positioned at coordinates [0, 2, 17] and rotated 30 degrees along the X-axis. Remove a rectangular section measuring 8mm by 4mm by 14mm ...
rotate([0,-90,0]) union() { difference() { union() { cube([8,5,20]); translate([0,2,17]) rotate([30,0,0]) cube([8,15,4]); } translate([0,1,2.5]) cube([8,4,14]); translate([0,2,19]) rotate([30,0,0]) cu...
glb/cad_66af326c72cb.glb
Create a case for an MKS TFT 3.2 inch display designed to mount to a 2020 profile. Start with a main cover plate that is 124mm long, 74mm wide, and 5mm thick. In the center of this plate, create a rectangular cutout for the screen measuring 80mm by 58mm. At the four corners of the internal screen area, create four mou...
xScrewDistance = 102; yScrewDistance = 57; pcbLength = 110; pcbHeight = 65; pcbTickness = 1.6; pcbComponentsTickness = 10; pcbComponentsXDelta = 0; pcbComponentsYDelta = 3; pcbScrewHoleDiam = 3; screenLength = 80; screenHeight = 58; screenTickness = 5; screenX = 15; screenY = 3.5; coverTopScrewX = 7; coverTopScrewY = ...
glb/cad_b681ecb53417.glb
Create a Vertical Wall Thickness Sampler consisting of six identical repeating units aligned in a row. Each unit begins with a rectangular base measuring 35mm in length, 20mm in depth, and 2mm in height. Centered on the top surface of this base, place a text label 10mm in size and 0.6mm thick indicating the wall thickn...
post_diameter=5; base_height=2; base_depth=20; label_height=0.6; label_font="Arial:style=Regular"; label_size=10; panel_length=30; panel_height=30; panels_1 = [ [0.4,"0.4"], [0.8,"0.8"], [1.2,"1.2"], [1.6,"1.6"], [2.0,"2.0"], [2.4,"2.4"], ]; panels_2a = [ [0.2,"0.2"], [0.4,"0.4"], ...
glb/cad_66167208e257.glb
Create a minimal code collar stay by forming a convex hull around three cylinders, all with a height of 2mm. Position the first cylinder at the origin with a diameter of 4mm. Place the second cylinder 10mm away along the x-axis with a diameter of 8mm. Place the third cylinder 40mm away from the origin along the x-axis,...
$fn=50; hull(){ cylinder(h=2,d=4); translate([10,0,0])cylinder(h=2,d=8); translate([40,0,0])cylinder(h=2,d=8);}
glb/cad_05c8744718fa.glb
Create a minimal code collar stay by forming a convex hull around three cylinders, all with a height of 2mm. Position the first cylinder with a diameter of 4mm at the origin (0, 0, 0). Place the second cylinder, with a diameter of 8mm, at coordinates (10, 0, 0). Place the third cylinder, also with a diameter of 8mm, at...
hull(){cylinder(h=2,d=4);translate([10,0,0])cylinder(h=2,d=8); translate([40,0,0])cylinder(h=2,d=8);}
glb/cad_0a5859908adb.glb
Create a clothes hanger hook adapter. Start by constructing a main hook body that follows a semi-circular path. This hook consists of a curved section with an outer diameter of 40mm and an inner diameter of 30mm, and a thickness of 3mm. The curve is a 180-degree arc. At one end of the arc, extend the geometry into a s...
hook_strength = 5; hook_dia = 30; hook_height = 5; module ring(inner_dia = 20, outer_dia = 24, height = 3) { difference() { cylinder(h = height, d = outer_dia); translate([0,0,-1]) cylinder(h = height + 2, d = inner_dia); } } module ring_section(start_angle = 0, end_angle = 180, inner_dia = 20, outer_dia ...
glb/cad_6b8c3e6496f2.glb
Create a pen holder lid saver consisting of a grid of 12 tapered cylindrical holes arranged in 2 rows of 6. Each hole is a frustum with a height of 20mm, tapering from a bottom diameter of 10.3mm to a top diameter of 10.5mm. The outer diameter of each cylindrical cell is 14.5mm, creating a wall thickness of 2mm around ...
Height = 20; Top_diameter = 10.5; Bottom_diameter = 10.3; Wall_thickness = 2; Rows = 2; Columns = 6; Spacing = 25; Connector_height=20; Connector_thickness=5; module lineup(row, column, space) { for (j = [0 : row-1]) for (i = [0 : column-1]) translate([ space*i, space*j, 0 ]) children(0...
glb/cad_6a0f0f0168c5.glb
Create a rectangular lid for a Turing Pi v2 case with overall dimensions of 180mm by 188mm and a thickness of 3mm. At a center point offset to x=11.5mm and y=10.0mm, create a circular opening with a radius of 18mm. Within this circular area, construct a honeycomb ventilation pattern consisting of hexagonal cells. Eac...
thickness = 3; fanxy = [ 11.5, 10.0 ]; fanrad = 18; fanscrew = 32; fanscrewd = 3; rad = 3.5; thick = 0.6; module hexagon2d(r, x, y) { polygon(points = [ [ (r + x), (r * (tan(30))) + y ], [ x, (r * (2 / sqrt(3))) + y ], [ -r + x, (r * (tan(30))) + y ], [ -r + x, -(r * (tan(30))) + y ], [ x, -(...
glb/cad_aeea64164eee.glb
Create an X-end clamp for a 3D printer. Start with a main rectangular block measuring 68.2mm in length, 39.5mm in width, and 12mm in height. Centered on the top surface, add a cylinder with a radius of 15mm and a height of 12mm. Carve out two symmetrical smooth rod grooves located at x = 24.935mm and x = -24.935mm. Ea...
include <inc/nuts_and_bolts.scad>; xendclamp(); module xendclamp(){ module roundCorner(){ difference(){ translate([4,4,0]) cube([8,8,16.5], center=true); cylinder(r=8, h=16.8, center=true, $fn=80); } } rotate([0,0,0]) difference(){ union(){ translate([0,-3,1.5]) cube([68.2,39.5,12], center=true); translate([0...
glb/cad_f545287a4c08.glb
Create a latch mechanism for a greenhouse lid. Start with a long rectangular base measuring 211mm in length, 20mm in width, and 5mm in height. At one end of the base, integrate a cylindrical hinge joint. This joint consists of a main cylinder with a 10mm diameter and 5mm height, with a smaller 5mm diameter hole runni...
$fn=60; $tol=0.5; module eck1() {translate([5,0,0]) cube([30,120,20],center=true); translate([50,45,0]) cube([120,30,20],center=true); translate([2.5,50,10])cube([25,20,20],center=true); translate([2.5,50,20]) rotate([0,90,0]) cylinder(d=20,h=25,center=true); }; module eck2() {translate([5,0,0]) cube([30,120,20],cente...
glb/cad_2cdd93afee38.glb
Create a Playing Card Holder consisting of two identical mirrored halves joined by a central screw. For each half, create a circular base with a radius of 80mm and a thickness of 50mm. The base is not a solid cylinder; it is formed by rotating a profile that consists of a large outer ring and a smaller inner core. Spec...
include <BOSL2/std.scad> include <BOSL2/threading.scad> $fn=60; module half(thread=true,large=true){ module base(){ difference(){ union(){ translate([0,-70,0])difference(){ r = 80; $fn=60; circle(r= r); offset(delta=-0.8)circle(r...
glb/cad_d2596531c693.glb
Create a flea killer trap consisting of a basin, four supporting pillars, and a roof. Start by creating a cylindrical basin with an outer diameter of 185mm and a height of 25mm. The basin should have a wall thickness of 4.5mm, leaving a hollow interior. Position four vertical pillars to support the roof. Each pillar i...
$fn = 80; basinouterdiameter = 185; basinheight = 25; wall=4.5; roofheight=40; postrad=basinouterdiameter/2-3; postdiameter=10; up=[0,0,wall/2]; red=[1,0,0]; blue=[0,0,1]; green=[0,1,0]; cyan=[0,1,1]; yellow=[1,1,0]; pink=[1,0,1]; *union(){ difference(){ cylinder(h=basinheight, d=basinouterdiameter); translat...
glb/cad_0f8593916270.glb
Create a bird house refilling cup. Start by constructing a tapered outer shell that transitions from a circular base with a diameter of 65mm to a circular top with a diameter of 100mm over a total height of 130mm. The top rim of this vessel should have a thickness of 2.4mm. Integrate a cylindrical handle on the side ...
D1=65; D2=100; D3=25; H=130; $fn=3*32; Wall=0.4*6; difference(){ union(){ hull(){ cylinder(d=D1,h=1); translate([0,0,H])cylinder(d=D2,h=1); color("red")translate([D2/2,0,H])cylinder(d=D3,h=1); } hull(){ translate([0,0,H])cylinder(d=D2,h=Wall); color("red")translate([-D2/2-D3,0,H])cylinder(d=D3,h...
glb/cad_47acd4625ecc.glb
Create a tool for opening windows by constructing a central body that transitions from a wide base to a narrower top. Start with a base formed by the convex hull of a 28mm diameter cylinder with a height of 2mm and a tapered cylinder that narrows from 30mm to 25mm over a height of 40mm. At the top of this structure, ad...
$fn=96; fudge1 = 1/cos(180/$fn); f6 =1/cos(180/6); difference(){ union(){ hull(){ cylinder(d=28,h=2); translate([0,0,2])cylinder(d1=30,d2=25,h=40); } hull(){ translate([0,0,30])cylinder(d=25,h=2); translate([0,7,38])rotate(-15,[1,0,0])cylinder(d=16,h=40); translate([0,-7,38])rotate(15,[...
glb/cad_76fc5a8d2a38.glb
Create a CNC Router Diagnostics X/Y Forcing Mechanism consisting of a central platform, load cell mounts, a base support, and push-pull fixtures. Start with a central square platform 25mm wide and 12.7mm thick. Remove a 10mm diameter hole from the center and four 2.9mm diameter holes positioned symmetrically around th...
lcw = 12.7; plat_w = 25; leg_th = 1.6; inner_dist = 75; outer_dist = inner_dist+lcw; load_span = 54; cell_offset = 12; elev = 3; part = 0; if (part == 0) { rotate([0, 0, -90]) { %two_loadcells(); platform_legs(); base_support(); pushpull(); } } if (part == 1) { rotate([0, 0, -90]) platform_l...
glb/cad_ed510a313d39.glb
Create a Parametrized Photo Frame consisting of two main parts: a frame and a back plate. For the frame, create a solid rectangular block with overall dimensions of 194mm by 143mm and a total thickness of 22mm. Center a rectangular cutout of 148mm by 97mm that passes completely through the block. To create the photo ...
nominal_dimensions = [154, 103]; object_type = "frame"; front_depth = 2; back_depth = 20; frame_width = 20; inner_photo_margin = 3; outer_photo_margin = 0.5; back_plate_thickness = 1; thickness = front_depth + back_depth; outer_photo_dimensions = [nominal_dimensions.x + outer_photo_margin * 2, nominal_dimensio...
glb/cad_442dafcf75af.glb
Create a rectangular organizer tray for a board game insert with overall dimensions of 167.2mm in length, 89.8mm in width, and 18mm in height. The tray should have rounded corners with a radius of 3mm. Carve the following voids into the main body: 1. A large rectangular compartment for a round tracker and first player...
$fn=200; difference(){ roundedCube(167.2,89.8,18); translate([20.5,2.4,13.5]) roundedCube(108,85,20); translate([20.5,11,1]) roundedCube(108,68,40); translate([74.5,0,-1]) rotate([0,0,0]) cylinder(h=400, d=19, center=false); translate([139,69.9,1]) roundedCube(17.5,17.5,30); translate([147.75,89.8,-1]) rotate([0,...
glb/cad_099d95bb789b.glb
Create a rectangular board game organizer tray with rounded corners, measuring 185mm in length, 60mm in width, and 14mm in height. The tray is divided into six distinct compartments of varying lengths, each separated by a wall. Starting from the left, create the first compartment with a length of 19.2mm. The second c...
$fn=200; difference(){ roundedCube(185,60,14); translate([2.4,17.4,16]) rotate([0,90,0]) cylinder(h=19.2, d=30, center=false); translate([2.4,42.6,16]) rotate([0,90,0]) cylinder(h=19.2, d=30, center=false); translate([2.4,17.4,1]) cube([19.2,25.2,30]); translate([22.8,17.4,16]) rotate([0,90,0]) cylinder(h=22.2, d=...
glb/cad_7a87641f72d7.glb
Create a rectangular tray for a board game organizer with overall outer dimensions of 167.2mm in length, 89.8mm in width, and 15mm in height. The outer corners of the tray should be rounded with a radius of 3mm. Inside this shell, carve out a central rectangular cavity measuring 132.4mm by 85mm with a depth of 14mm, ...
$fn=200; difference(){ roundedCube(167.2,89.8,15); translate([17.4,2.4,1]) roundedCube(132.4,85,20); translate([0,44.9,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([167.2,44.9,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); } module roundedCube(x,y,z) { r=3; translate([r,r,0]) mink...
glb/cad_4212a6129d10.glb
Create a rectangular tray for a board game organizer with overall dimensions of 95.2mm in width, 83.6mm in depth, and 11.1mm in height. The main body should be a solid block with rounded corners of 3mm radius. Hollow out the center of the tray to create a storage compartment measuring 90.4mm by 78.8mm with a depth of...
$fn=200; difference(){ roundedCube3(95.2,83.6,11.1); translate([47.6,0,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([47.6,83.6,-1]) rotate([0,0,0]) cylinder(h=400, d=30, center=false); translate([2.4,2.4,1]) roundedCube3(90.4,78.8,30); } difference(){ translate([47.6,83.6,0]) rotate([0,0,0])...
glb/cad_a05d88b09b12.glb
Create a rectangular storage cup for a board game organizer with external dimensions of 99.8mm in width, 41.4mm in depth, and 61.5mm in height. The exterior corners should be rounded with a radius of 3mm. Hollow out the center to create a containment area that begins 1mm from the bottom surface, leaving a base thicknes...
$fn=200; difference(){ roundedCube(99.8,41.4,61.5); translate([2.4,2.4,1]) roundedCube(95,36.6,70); } module roundedCube(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_d379d3a64a4d.glb
Create a rectangular game organizer tray with rounded corners, measuring 95.2mm in width, 83.6mm in depth, and 11.1mm in height. Within this base, carve out several cylindrical holes of varying diameters and depths to hold game components. Position a 39.5mm diameter hole centered at (20.95, 26) and a 33.25mm diameter...
$fn=200; difference(){ roundedCube3(95.2,83.6,11.1); translate([20.95,26,2]) rotate([0,0,0]) cylinder(h=400, d=39.5, center=false); translate([20.95,26,-1]) rotate([0,0,0]) cylinder(h=400, d=11, center=false); translate([0,26,-1]) rotate([0,0,0]) cylinder(h=400, d=17, center=false); translate([77.375,19.025,1]) ro...
glb/cad_6308fdb54983.glb
Create a board game organizer tray by starting with a rounded rectangular block measuring 99.8mm wide, 142.6mm long, and 61.5mm high, with corner radii of 3mm. Carve out six distinct vertical slots and one large central finger hole to create the internal storage compartments. The slots are defined by polygons extruded...
$fn=200; difference(){ roundedCube(99.8,142.6,61.5); translate([2.4,2.4,1]) rotate([90,0,90]) linear_extrude(height=95) polygon(points=[[0,0],[15,0],[45,62],[30,62]]); translate([2.4,18.9,1]) rotate([90,0,90]) linear_extrude(height=95) polygon(points=[[0,0],[15,0],[45,62],[30,62]]); translate([2.4,35.4,1]) rotate([...
glb/cad_0f1a20accebc.glb
Create a Customizable Filament Swatch. Start with a base rectangular plate measuring 79.5mm in width, 30mm in height, and 2.2mm in thickness, featuring rounded corners with a 5mm radius. On the top surface, add debossed text. In the upper left, place the text "eSun" (5mm size) and "250C 100C" (3.5mm size). In the uppe...
text_title="eSun"; text_tite_size=5; text_upper_left="250C 100C"; text_upper_left_size=3.5; text_upper_left_align="top"; text_right="Fire Engine Red"; text_right_size=4; text_lower_left=""; text_lower_left_size=4; logo_lower_left="voron"; text_top_right="A B S +"; text_top_left="10 - 5 - 23"; text_edge_righ...
glb/cad_0d7148f557a0.glb
Create a Parametric Knitting Loom consisting of a circular ring with a height of 12mm and a thickness of 5mm. The ring's cross-section should be slightly chamfered by 1.25mm on the corners. Distribute 20 posts evenly around the circumference of the ring. Each post consists of two aligned holes with a diameter of 1.75...
rh=12; rt=5; c=1.25; th=0.6; dl=" "; cr=.9; np=20; pw=5; gap=8; hd=1.75; hb=0.8; loomRing(); $fn=np*4; pha=( 180-(360/np) ) / 2; po=pw*0.5; ph=po/(sin(pha)); sl=gap+ph+ph; sha=180/np; hsl=sl*0.5; mnr=hsl/tan(sha); mjr=hsl/sin(sha); hg=gap*0.5; rr=sqrt( (hg*hg) + (mnr*mnr) ); deep=rh*hb; hpw=pw*0.5; par=asin(hpw/r...
glb/cad_74bcadd2d948.glb
Create a convex parabolic dish with a flat bottom. The model is a solid of revolution generated by rotating a parabolic profile 360 degrees around a central vertical axis. The aperture diameter is 100mm and the focal length is 25mm. The profile is defined such that the shape is convex, curving outward from the center...
parabolicHalo(D, f, W); Fr=.25; D=100; W=3; XR=1; AR=360; f=Fr*D; $fn=AR; echo(str("\n\nAperture is:\t", D, "\nFocal Length is:\t", f, "\nFocal Speed is:\t", Fr)); echo(str("\n\nRecommended File Names:","\nSAUCER_A", D, "_f", f, "_S", Fr, "_XR", XR, "_AR", AR, ".STL\n","\nDISH_A", D, "_f", f, "_S", Fr, "_XR", XR, "...
glb/cad_9e5f76abde0c.glb
Create a parabolic dish by starting with a solid cylinder that has a diameter of 98mm and a height determined by the depth of the parabola. The shape is formed by removing a parabolic volume from the center of the cylinder. The parabola is defined by an aperture of 98mm and a focal length of 49mm (calculated as 0.5 tim...
parabolicDish(D, f, W); Fr=.5; D=98; W=3; XR=.5; AR=360; f=Fr*D; $fn=AR; echo(str("\n\nAperture is:\t", D, "\nFocal Length is:\t", f, "\nFocal Speed is:\t", Fr)); echo(str("\n\nRecommended File Names:","\nSAUCER_A", D, "_f", f, "_S", Fr, "_XR", XR, "_AR", AR, ".STL\n","\nDISH_A", D, "_f", f, "_S", Fr, "_XR", XR, "_...
glb/cad_408efc640686.glb
Create a Pop Bottle Cap Thread consisting of a hollow cylindrical shell with internal helical threading. Start by creating a main outer cylinder with a major diameter of 34mm and a total height of 30.1mm (calculated as 11 loops of a 2.7mm pitch plus a small offset). Hollow out the center to create a tube with an inne...
MajorOD=34; Loops=10; Pitch=2.7; FN=90; $fn=FN; PTL2D=[ [14,0], [13.67,-0.39], [12.53,-.59], [12.53,-1.1], [13.88,-2.44], [14,-2.699], [14.2,-2.699], [14.2,0] ]; difference(){ union(){ helix_extrude( points...
glb/cad_6bcb7b27128d.glb
Create a 3D printed PCB base by starting with a solid rectangular block that is 40mm wide, 20mm high, and 3mm thick. From the top surface of this block, carve out detailed recessed channels and holes based on a circuit layout to represent the copper traces and component masks. These recessed features should be subtract...
etch_copper_bottom="blr_etch_copper_bottom.png"; etch_mask_bottom="blr_etch_mask_bottom.png"; PCB_Width=40; PCB_Height=20; PCB_Thickness=3; convexity=20; translate([0,0,PCB_Thickness]){ rotate([180,0,0]){ difference(){ cube(size=[PCB_Width,PCB_Height,PCB_Thickness]); translate([0...
glb/cad_b7272bc65192.glb
Create a Small Helical Gear Fidget Toy consisting of two housing blocks and twelve helical gears. First, create a helical gear with a module of 1mm and 17 teeth. The gear should have a width of 6.5mm, a pressure angle of 20 degrees, and a helix angle of -45 degrees. The gear's profile is defined by an involute curve,...
MetricModule=1; NumberOfTeeth=17; PressureAngle=20; HelixAngle=-45; AngularResolution=1; Width=6.5; LayerThickness=1; BackLash=0.015; m=MetricModule; mstr=str("\nMODULE:\t\t",m); n=NumberOfTeeth; nstr=str("\t\tNUMBER OF TEETH:\t",n); pa=PressureAngle; pastr=str("\nPRESSURE ANGLE:\t",pa); h...
glb/cad_a03e83597fea.glb
Create a back cover plate for a Samsung SM-A310F. Start by creating a rounded rectangle with overall dimensions of 62.5mm in width, 131.5mm in length, and a thickness of 0.7mm, applying a corner roundness of 7mm. From this main body, remove two rectangular cutouts to create openings. The first is a larger rounded recta...
module rounded_edge(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 rounded_rectangle(x,y,z,roundness) { intersection() { semi_rounde...
glb/cad_e58c349135a6.glb
Create a Sony E-Mount Hot-Shoe Ring Adapter by starting with a main circular ring. Form the base of the ring using a cylinder with a radius of 32.5mm and a height of 7mm, then remove a concentric inner cylinder with a radius of 31.25mm and a height of 25.01mm to create a thin-walled hoop. On the top of this ring, cen...
$fn=360; difference() { union(){ cylinder(h=7, r=32.5, center=true); translate([0,30,6.5])minkowski(){cylinder(h=0.01, r=3, center=true); cube([25,25,20], center=true);} } union(){ cylinder(h=25.01, r=31.25, center=true); translate([0,20,27.9])rotate([25,0,0])cube([32,40,50],...
glb/cad_8d124f2a0e2e.glb
Create a Jib Sheet Traveler Stop by starting with a central rectangular block measuring 30mm in length, 15mm in width, and 4mm in height. Center this block on the origin. From this main body, remove a cylindrical hole with a diameter of 3.5mm and a height of 5mm, centered at x = -8mm, y = 0, and z = 0. Additionally, re...
difference() { cube([30,15,4],true); translate ([-8,0,0]) union() { cylinder(h=5,d=3.5,center=true, $fn=100); translate ([0,0,0.55]) cylinder(1.5, d1=3.5 , d2=7, true, $fn=100); } } difference() { translate ([8,0,1]) cube([22,22,6],true); union() { translate ([8,0,5]) rotate...
glb/cad_7dd202c5de12.glb
Create an S-press mould by starting with a solid rectangular block measuring 76.2mm wide, 228.6mm long, and 25.4mm high. From this block, carve out a continuous, winding channel that is 6.35mm wide and 25.4mm deep. The channel consists of two mirrored arcs connected by straight sections. Begin the path with a straigh...
$fn=120; inch = 25.4; thik = inch/4; hite = inch; wide = 3*inch; tall = 9*inch; radi = 3*inch; angl = 60; long = 3*inch; rotate([0,0,120]){ difference(){ translate([-2*inch,-5.8*inch,0]) rotate([0,0,-30]) cube([wide,tall,hite]); rotate([0,0,-60]){ rotate_extrude(angle=angl, convexity=10) ...
glb/cad_100ee975e67f.glb
Create a Shortwave Linked Dipole Center by constructing a T-shaped base with rounded corners. The main body consists of two intersecting rounded rectangular prisms: one measuring 30mm x 15mm x 3.5mm and another measuring 15mm x 30mm x 3.5mm, joined to form a T-shape. All edges and corners should have a rounding radius ...
$fn = 32; module rcube(Size=[20,20,20],b=2) {hull(){for(x=[-(Size[0]/2-b),(Size[0]/2-b)]){for(y=[-(Size[1]/2-b),(Size[1]/2-b)]){for(z=[-(Size[2]/2-b),(Size[2]/2-b)]){ translate([x,y,z]) sphere(b);}}}}} module rcylinder(r1=10,r2=10,h=10,b=2) {translate([0,0,-h/2]) hull(){rotate_extrude() translate([r1-b,b,0]) circle(r...
glb/cad_7e23f79b666e.glb
Create a salt measuring device consisting of a main beaker body and a removable hopper. For the body, create a cube 17.5mm wide, 17.5mm deep, and 22mm high. Remove a central square column from the top down to a height of 20.1mm, with the column measuring 10.25mm by 10.25mm. At the top of this body, from height 20.1mm t...
$fs = 0.1; $fa = 1; width = 17.5; height = 22; hopper_mount_thickness = 2; hopper_mount = width - hopper_mount_thickness; translate([0, 0, height - 2]) hopper(); module hopper() { epsilon = 0.8; difference() { union() { translate([(hopper_mount - epsilon) / -2, (hopper_mount - epsilon) /...
glb/cad_4910d9cad3a2.glb
Create a GH60 keyboard case wedge. Start by constructing a large hollow cylinder with an outer radius of 120mm and an inner radius of 55mm. Rotate this cylinder 90 degrees so its central axis is horizontal. Slice this shape to create a wedge that provides a 10-degree incline. The resulting main body should be 256mm wid...
width = 256; keyboardAngle = 10; union() { translate([-(width / 2) - 10,70,0]) { intersection() { translate([10,0,0]) { rotate([0,90,0]) { difference() { cylinder(width, r=120, $fn=320); translate([0,0,-10]) ...
glb/cad_99db9ac45b3e.glb
Create a "Night Sky" mobile kit consisting of several rods and a retainer. Construct two long rods and three short rods. Each rod is a cylinder with a diameter of 5mm. The long rods are 240mm in length, and the short rods are 140mm in length. At each end of every rod, attach a 5-pointed star with an inner radius of 6...
$fn=80; module star(p=5, r1=4, r2=10) { s = [for(i=[0:p*2]) [ (i % 2 == 0 ? r1 : r2)*cos(180*i/p), (i % 2 == 0 ? r1 : r2)*sin(180*i/p) ] ]; polygon(s); } module long() { difference() { union() { translate([0,0,0]) rotate([0,90,0]) cylinder(d=5,h=240); translate([0,0,0]) rot...
glb/cad_dbe9df9f7b7d.glb
Create a set of components for a "Night Sky" baby mobile. First, construct two types of rods: a long rod 240mm in length and a short rod 140mm in length, both with a diameter of 5mm. For each rod, add a flat circular disc with a radius of 3.5mm and a thickness of 3mm at both ends. Along the length of the long rod, crea...
$fn=80; module circles(radius) { translate([0,0,0]) circle(radius); } module long() { difference() { union() { translate([0,0,0]) rotate([0,90,0]) cylinder(d=5,h=240); translate([0,0,0]) rotate([0,0,0]) linear_extrude(height = 3) circles(3.5); translate([240,0,0]) rotate([0,0,0]) linear_extr...
glb/cad_218ae29efb3d.glb
Create a "Night Sky" baby mobile kit consisting of several support rods and heart-shaped connectors. First, create two types of rods. The long rod is a cylinder 5mm in diameter and 240mm long. The short rod is a cylinder 5mm in diameter and 140mm long. For both rod types, add a heart-shaped plate with a radius of 3mm...
$fn=80; module heart(radius) { rotated_angle = 45; dia = radius * 2; translate([0,1.5,0]) { mirror([1, 0, 0]) { translate([-radius * cos(rotated_angle), 0, 0]) rotate(-rotated_angle) union() { circle(radius); translate([0, -radius, 0]) square(dia); } ...
glb/cad_f7adcca9b015.glb
Create a seven segment display diffuser by constructing a rectangular hollow shell. The overall outer dimensions of the block should be 50.2mm in width, 19mm in height, and 7mm in depth. The walls of this shell must have a uniform thickness of 0.45mm. Ensure the shape is a simple open-ended rectangular prism designed t...
height = 19; width = 50.2; depth = 7; clearance = 0.2; extrusion_width = 0.45; rotate([90,0,0]) cube([width + clearance + (extrusion_width * 2), depth, height + clearance + (extrusion_width * 2)]);
glb/cad_d2e3575fc8d7.glb
Create a magnetic bowden coupler consisting of a central cylindrical hub with three radiating arms. The central hub is a cylinder with a total height of 9.4mm. It features a central vertical hole 3mm in diameter passing through the bottom 2.4mm, and a larger cylindrical cavity 8.4mm in diameter extending from that poin...
$fn = 100; ecas_h = 7; ecas_d = 8.4; ecas_wall = 2.4; ecas_bot = 2.4; ecas_hole_d = 3; h = ecas_h+ecas_bot; mag_d = 6.1; mag_h = 3; mag_tent = 1; mag_wall = 1.2; mag_pos = ecas_d/2+ecas_wall+mag_wall + mag_d/2; mag_h_outer = mag_h + mag_tent + 1; module mag_cyl_outer() { cylinder(h=mag_h_outer-1, r=mag_d/2 + ma...
glb/cad_feeada3b14c5.glb
Create a pencil holder composed of seven hexagonal prisms of varying heights, each with a diameter of 42mm. Arrange the hexagons in a honeycomb cluster: place one central prism and surround it with six others. The heights of these prisms should vary across the cluster as follows: one at 90mm, one at 75mm, one at 65mm, ...
nozzle=0.4; D=42; D2=D-5*nozzle; X=D2*3.0/4.0; name1="️ShelXle"; name2="ShelXle"; name3="ShelXle"; font_size=14; echo( X); Y=sqrt(3.0/4.0)*D2; x=(Y-4*nozzle)/sqrt(3.0/4.0); difference(){ union(){ cylinder($fn=6,d=D,h=65); translate([ 0, Y ,0])cylinder($fn=6,d=D,h=75); translate([ X, Y/2,0])cylinder($fn=6,d=D,h=90); tr...
glb/cad_0bdee482f40c.glb
Create a toothbrush holder consisting of a flat base and three vertical pins. Start by creating a base plate that is 3mm thick with a diameter of 30mm for the rounded ends. The base should be a hull encompassing three points spaced 25mm apart along a center line. At each of these three positions, construct a vertical ...
numeroPerni = 3; diametroBase = 30; altezzaBase = 3; distanza = 25; FN = 256; riduzione = .4; eps = 0.001; dr = 0.5; d = 7.1-dr-riduzione; h = 15.5-dr; dPiede = 8; hPiede = 1.5; angoloPiede = 60; b = 5.7-dr-riduzione; angolo = asin(1/3.8); angoloPunto = -30; offsetPunto = [1,3.8 - 2.5,eps]; module myCube(size,cent...
glb/cad_f1c66a424e17.glb
Create a Fair Dice Cup by starting with a main outer cylinder that has a diameter of 35mm and a height of 70mm. Hollow out the center to create a wall thickness of 1mm, resulting in an internal diameter of 33mm. To create the internal randomization geometry, carve out a series of spheres from the inner volume. Each sph...
wall = 1; cup_h = 70; cup_outside_d = 35; inside_d = cup_outside_d-wall*2; difference(){ cylinder(d=cup_outside_d, h=cup_h); for(z=[inside_d/2 + wall: inside_d/2: cup_h + 10]){ translate([0,0,z]) rotate([0,z,z]) sphere(d=inside_d, $fn=7); } }
glb/cad_2d15d026e94a.glb
Create an adjustable height object platform for an OpenScan device. Start by creating a central vertical rod with a total height of 55mm and a diameter of 9.8mm. Bore a central hole through the rod with a diameter of 5.2mm, but leave a flat vertical section on one side of the hole to allow it to grip a motor spindle. A...
$fn=64; clearance = 22.5; module pierced_object_holder_rod(height) { difference() { cylinder(h=height, d=9.8); translate([0, 0, -2]) difference() { cylinder(h=height, d=5.2); translate([2.0, -20, -2.5]) cube([40, 40, 40]); } for (x=[clearance:7.5:(height-5)]) { translate([0, 0, x...
glb/cad_3c58a7fdbc38.glb
Create a nut for an E12 candelabra holder. Start by creating a hexagonal nut with a total height of 10mm, an outer diameter of 30mm, and a metric thread with a diameter of 29mm. Integrate a thin circular flange at the base of the nut that is 2mm thick, with an outer diameter of 45mm and a central circular hole 29mm in ...
flange_dia_inner=29; flange_dia_outer=45; flange_thickness=2; overlap=1.7; $fn=100; use <nuts_and_bolts_v1.9.6.scad>; use <threads_2.5.scad>; translate([0,0,flange_thickness-overlap]) hex_nut (10, 29, 30, 0.1, 30, 1, "metric",2); difference(){ cylinder(d=flange_dia_outer,h=flange_thickness); cylinder(d=flange_dia_in...
glb/cad_1e6525e742f9.glb
Create a Nut for E12 Candelabra Holder. Construct a hexagonal prism with a height of 3.175mm (1/8 inch). The nut should have a flat-to-flat width of 9.525mm (3/8 inch). Centered vertically through the prism, add a cylindrical hole with a diameter of 6.35mm (1/4 inch). This hole must be threaded using an imperial thread...
use <threads_2.5.scad>; hex_nut (1/8, 1/4, 3/8, 1/128, 32, 1, "imperial",28); function hex_dia (dia) = dia * ( 2 / sqrt (3) ); function imp (imp_m) = imp_m * 25.4; module cut_bit (height, radius) { $fn = 64; union () { translate ([0, 0, height / 2]) cylinder (h = height / 2, r1 = hex_dia (radius + (rad...
glb/cad_49d23e7885e6.glb
Create an airtight filament delivery system stand by starting with a solid cube that is 50mm wide, 50mm deep, and 75mm tall. From this main volume, remove a large rectangular section to create a hollow interior, leaving a wall thickness of 5mm on the bottom and sides. Specifically, remove a central block that starts 5m...
base_x=50; base_y=50; base_height=50; Additional_height=0; thickness=50; wall_thickness=5; module New() { difference() { union() { cube([base_x,base_y,base_height+Additional_height+base_height/2]); } union() { translate([wall_thickness+thickness,wall_thickness+thickness,0]) cube([base_x,b...
glb/cad_545b7b661feb.glb
Create a rectangular prism for an airtight filament delivery system stand. The prism must have a length of 240mm, a width of 10mm, and a height of 10mm.
module New() { difference() { union() { cube([240,10,10]); } union() { } } } New();
glb/cad_ce7f04678d96.glb
Create a rectangular base for a Morse code key with overall dimensions of 80mm width, 150mm length, and 15mm thickness. Apply a 1mm rounding radius to all edges of the block. Remove three vertical holes to accommodate bolts and nuts. Each hole must have a central cylindrical shaft with a diameter of 3.5mm. Surroundin...
echo(version=version()); use <rcube.scad>; render() Shelf(); Rradius = 1.0; BaseLen = 150.0; BaseWidth = 80.0; BaseThick = 15.0; BoltHoleDia = 3.5; CutDepth = (BaseThick * 2.0); NutRadius = 3.24; NutDepth = CutDepth; FrontHoleWidth = 50.0; HoleEdgeOffset = ((BaseWidth - FrontHoleWidth) / 2.0); BackSideYoffset =...
glb/cad_753671fe49fc.glb
Create a modular storage cheese plate panel. The base shape is a rectangular plate with a thickness of 8mm. For a middle panel, create a rectangular block with dimensions based on a grid where each module is 54mm by 54mm (3 times the 18mm hole grid spacing). The edges of the plate should not be smooth; instead, imple...
use <threads_v2p1.scad> in = 25.4; holeGrid = 18; single = 3; bevel = 1; Ry=4; Rz=10; gap=0.1; what="middle"; sizex = 1; sizey = 1; h=8; screwsL=[ [1/4*in,in/20], [3/8*in,in/16], [6, 1.0] ]; screws=[2,2]; zigzag_wall = 3; zigzagDeep = 0.75*holeGrid; zigzagWidth = holeGrid*2; zigzagR = 4; zigzagN =holeGrid...
glb/cad_c2db50f095ea.glb