Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a 1515 Glass Thermistor Mount consisting of two separate parts: a base and a top cover. For the base, create a 14mm by 14mm square plate with a thickness of 2mm. Center a vertical hole with a diameter of 3.2mm through the entire thickness of the plate. For the top cover, create a 14mm by 14mm square block wit...
$fn=100; translate([20,0,0])difference(){ union(){ cube([14,14,2]); translate([7-(2.4/2),0,2])cube([2.4,14,0.4]); }; translate([7,7,0])cylinder(3,d=3.2); }; difference(){ union(){ difference(){ cube([14,14,4]); translate([7,7,4-1.4])cylinder(1.4,d=8.6); ...
glb/cad_f231c6554ed1.glb
Create a Double Sided Labyrinth Puzzle consisting of two identical mirrored halves. For one half, start with a base plate 1mm thick. On top of this base, build an outer boundary wall 7mm wide and 8mm high. The interior is a grid of 7x9 cells. Each cell path is 8mm wide, separated by internal walls 1.5mm wide and 8mm ...
gridsize = [7,9]; wall_v = [ [0,0,1,0,0,1], [1,0,0,1,0,1], [0,1,0,0,1,0], [1,0,0,0,0,1], [0,0,0,1,0,0], [0,0,1,0,1,0], [1,0,0,1,1,0], [0,1,0,0,1,1], [1,0,0,0,1,0], ]; wall_h = [ [0,1,1,0,1,1,0], [1,0,1,1,0,0,1], [0,1,0,1,1,1,0], [0,1,1,0,1,1,0], [0,1,1,1,0,1,0],...
glb/cad_e4d65ffbc0ec.glb
Create a Double Sided Labyrinth Puzzle consisting of two identical mirrored halves. For one half, start with a base plate 1mm thick. On top of this base, build a perimeter outer wall 7mm wide and 8mm high. The interior area is a grid of 7 columns and 9 rows. The internal paths are 8mm wide, separated by walls 1.5mm wi...
gridsize = [7,9]; wall_v = [ [1,0,1,0,0,0], [0,0,0,0,0,1], [0,1,0,1,1,0], [0,0,1,0,1,0], [0,0,0,1,0,1], [0,1,0,0,1,1], [0,0,0,0,0,0], [0,0,0,0,0,1], [0,1,0,0,1,0], ]; wall_h = [ [0,1,0,0,1,1,0], [1,1,1,0,1,0,1], [0,1,0,1,0,0,1], [0,1,1,1,0,1,0], [1,1,0,1,0,0,0],...
glb/cad_5f61ba68f910.glb
Create a wall mount cable holder consisting of a flat rectangular base and five protruding teeth. The base should be 6mm thick with a 2.5mm chamfer on the top edges. Through the base, create a series of holes with a diameter of 3.2mm. Construct five identical teeth, each 60mm long and 20mm high. The profile of each to...
include <prism-chamfer.scad>; ROWS = 5; PREVIEW_FRAGMENTS = 12; RENDER_FRAGMENTS = 64; TEETH_HEIGHT = 20; TEETH_LOWER_WIDTH = 10.5; TEETH_UPPER_WIDTH = 4.25; TEETH_GAP = 5.6; TEETH_LENGTH = 60; TEETH_ANGLE = 8; TEETH_Y_OFFSET = -0.85; TEETH_Z_OFFSET = -0.2; TEETH_CHAMFER = 1.5; BASE_THICKNESS = 6; BASE_MOUN...
glb/cad_7c6224ce39d3.glb
Create a Honeywell Home Door Push Button Mount. Start with a base plate formed by the convex hull of two cylinders, each 26.3mm in diameter and 5mm high, positioned such that the total length of the base is 70mm. Subtract two tapered mounting holes from this base: one centered at x=9mm and another between x=54mm and ...
$fn = 180; tad = 0.01; tad2 = tad * 2; bw = 26.3; bh = 5; module hook() { difference() { cube([6.3, 4.8, 4.2]); translate([-tad, -tad, 0]) cube([3, 5 + tad2, 2.4]); translate([-tad + 4.5, -tad, 4.5]) rotate([0, 45, 0]) cube([3, 5 + tad2, 2.4]); ...
glb/cad_d6a67a87eb9d.glb
Create a flashlight handlebar mount by starting with a central body formed from the convex hull of two centered boxes: one measuring 25mm by 40mm by 10mm and another measuring 40mm by 25mm by 10mm shifted 10mm upward along the Z-axis. From this solid, remove a vertical cylinder with a diameter of 16mm and a height of 5...
$fn = 50; difference(){ translate([0,0,8])hull(){ #cube([25,40,10],center = true); translate([0,0,10])#cube([40,25,10], center = true); } rotate([90,0,0])cylinder(45,12,12,center = true); translate([0,0,27])rotate([0,90,0])cylinder(45,12,12,center = true); cylinder(50,8,8); t...
glb/cad_b241252cb1eb.glb
Create an IKEA Kallax ramp by constructing a base rectangular plate and an attached inclined wedge. Start with a flat rectangular base that is 13.5mm long, 48.8mm wide, and 0.35mm thick, positioned so that it extends 10mm behind the start of the slope. Attached to this base, create a wedge-shaped ramp that begins at a ...
bottom = 0.35; height = 3.5; width = 48.8; slope_length = 10; translate([-slope_length, 0, 0]) { cube([slope_length, width, bottom]); } hull(){ cube([0.1, width, height]); cube([slope_length, width, bottom]); }
glb/cad_e97d7004dffc.glb
Create a Card Holder by constructing a semi-circular base and adding slots for cards. Start with two concentric disks, each 2mm thick and 40mm in radius, separated by a vertical gap of 15mm. Connect these disks with a third 2mm thick cylinder of 44mm radius, rotated 90 degrees on the X-axis to create a solid ring-like ...
$fa = 1; $fs = 0.2; holder_radius = 40; holder_distance = 15; holder_thick = 2; holder_hight = holder_radius + (holder_radius * 0.1); module myCube(){ #cube([(holder_radius/5),(holder_radius/10),(holder_radius*1.3)],center = true); } module myHolder() { difference() { union() { translate([0,0,ho...
glb/cad_3283c2a181f0.glb
Create a Top Cover Spacer Aheadset consisting of a conical base and a thin cylindrical cap. Start by creating a truncated cone with a height of 10mm, a bottom diameter of 55.5mm, and a top diameter of 36.2mm. Bore a central hole through the entire cone with a diameter of 29.5mm. At the top surface of this cone, remove ...
tubogarfo=29.5; diamsup=tubogarfo+6.7; diaminf=55.5; alturacone=10; alturacilindro=2.9; difference () { cylinder(d1=diamsup,d2=diaminf,h=alturacone,$fn=100); translate ([0,0,-1]) cylinder (d=tubogarfo,h=alturacone+2,$fn=100); translate ([0,0,9.3]) cylinder (d=diamsup,h=1.7,$fn=100); translate ([-3,20,9.7...
glb/cad_1b177594238e.glb
Create a Gridfinity-style solder spool holder with a 3x1 grid footprint. Start by constructing a base that is 126mm wide, 42mm deep, and 8mm high. The base should feature the standard Gridfinity underside geometry for a 3x1 block. On the top surface, carve out a rectangular cutout that is 84mm wide and 42mm deep, cente...
include <gridfinity-rebuilt-utility.scad> style_lip=0; d_tabh =8; gridfinityBase(3,1,42, 0,0,0); difference(){ gridfinityInit(3,1,height(8),0,42){ cutEqual(2,1, style_tab=5, scoop_weight=0); } #translate([0,0,40])cube([3*42, 3, 10], center=true);}
glb/cad_760eed9e72ff.glb
Create a magnetic pen holder by starting with a base shape formed from the convex hull of two spheres, each 24mm in diameter, positioned slightly apart along the x-axis to create an elongated, rounded form. Flatten the bottom of this shape by removing the lower section with a centered cube that is 48mm wide, 48mm deep,...
$fn = 180; WIDTH = 24; DIAMETER = 9.9 + 0.2; MAGNET_DIAMETER = 10; MAGNET_HEIGHT = 2; MAGNET_TOLERANCE = .2; difference() { hull() { translate([-0.1 * WIDTH, 0, 0]) sphere(d = WIDTH); translate([0.1 * WIDTH, 0, 0]) sphere(d = WIDTH); } translate([0, 0, -0.25 * WIDTH]) ...
glb/cad_82914687d220.glb
Create a round foot for a square leg by constructing a truncated cone with a height of 19mm. The cone should have a bottom diameter of 31.8mm and a top diameter of 28.8mm, with a 2mm chamfer applied to the bottom edge. Centered within this shape, remove a square prism with a side length of 16.1mm and a height of 19mm, ...
include <BOSL2/std.scad> include <BOSL2/shapes3d.scad> $fn=90; h = 19; is = 16.1; t = 3; id = is * sqrt(2); echo(id); od_1 = id + 3*t; od_2 = id + 2*t; difference() { cyl(h=h, d1=od_1, d2=od_2, chamfer=2, anchor=TOP); cube(is, anchor=TOP); }
glb/cad_0f7c8ab38e3d.glb
Create a deckbox for collectible card games consisting of two mirrored main halves, a latch, a separator flap, and two hinges. Construct the left and right halves as mirrored shells with a base thickness of 2mm and wall thickness of 3.2mm. Each half should feature an internal rectangular cavity measuring 69mm by 95mm...
RENDER_PART = 0; PREVIEW_CUT = 0; PREVIEW_CUTX = 80; PREVIEW_LEFT = 1; PREVIEW_RIGHT = 1; PREVIEW_HINGES = 1; PREVIEW_LATCH = 0; PREVIEW_FLAP = 0; PREVIEW_DECKS = 0; PREVIEW_SCREWS = 1; PREVIEW_EXPLOSION = 15; cards=62; filler_cards = 10; cardw=67; cardh=93; cardt=59/80; bott...
glb/cad_724983535a2e.glb
Create an Emco Unimat 3 X-axis dial indicator bed mount by starting with a rectangular block measuring 37.4mm in length, 20.0mm in width, and 6.0mm in height. From this base, remove two geometric shapes to create a mounting hole. First, center a vertical cylindrical hole with a diameter of 6.1mm and a 16-sided polygona...
plateLen = 37.4; plateWidth = 20.0; plateHeight = 6.0; difference() { cube([plateLen, plateWidth, plateHeight]); translate([8.0, plateWidth/2, -0.01]) { cylinder(d = 6.1, h = plateHeight + 0.02, $fn = 16); rotate([0, 0, 30]) cylinder(d = 11.4, h = 3.8, $fn = 6); } }
glb/cad_0be2cca3fcb3.glb
Create a split exhaust cover consisting of two mirrored rectangular plates. Each plate should be a solid block with a thickness of 6mm. On the top surface of each plate, create a central rectangular cutout measuring 100mm by 100mm. Within this cutout area, carve a series of hexagonal patterns to create a mesh-like scre...
include <defaults.scad> use <hex.scad> use <exhaust-blank.scad> translate([-2,0,0]) difference() { plate(); translate([(hex_pattern_width+hex_pattern_spacing)/2,-50,-1]) cube([100,100,20]); translate([(hex_pattern_width+hex_pattern_spacing)/2,-10.75,0]) spindle(r=2.25,h=hex_pattern_height-.4,l=.5...
glb/cad_92e34a5440ac.glb
Create a Split Voron Exhaust Cover consisting of two symmetrical halves. Each half is based on a main block with a width of 131mm, a depth of 61.5mm, and a height of 7mm, featuring 2mm fillets on the corners. The top surface of each half incorporates a decorative hexagonal pattern. This pattern is composed of hexagons...
use <fillet.scad> use <hex.scad> $fa=1; $fs=.2; r=2; p0=[131,61.5,7]; p1=[131,66,5.5]; h=20; hex_pattern_width=17; hex_pattern_spacing=2; pug_scale=1; module pug_profile(center="false") { r=6; c=1; h=2.7; translate([0,0,center=="true"?-(4*c+3*h)/2:0]) scale([pug_scale,pug_scale,1]) rotate_...
glb/cad_df6e8ce0f5a3.glb
Create a name sign consisting of a rectangular base plate with rounded corners. The base plate should be 100mm wide, 60mm deep, and 10mm thick. Surround the top perimeter of the base with a raised outer ring that is 4mm wide and 4mm high, following the same rounded corner radius as the base. On the top surface of the ...
$fn=250; height = 10; fontsize = 20; fontheight = 4; outline = 4; line1 = "Your"; line2 = "name"; textlength = max(len(line1), len(line2)); plate_x = 1.0 * textlength * fontsize; plate_y = 3.0 * fontsize; font = "Star Jedi"; magnet = true; magnet_offset = 0.25 * plate_x; magnet_diameter = 10; magnet_height = 2; mag...
glb/cad_4e2e447e0362.glb
Create a sealing lid for a 12oz mug. Start with a main cylindrical disc that has a diameter of 74.6mm (73mm plus a 0.8mm shell on each side) and a total height of 12mm. From this main body, remove a concentric cylindrical core with a diameter of 73mm, starting from a height of 0.8mm and extending to the top, to create ...
$fn = 100; lidDiam = 73; lidHeight = 12; lidClipW = 22; lidClipD = 3.0; lidClipH = 3.5; lidShell = 0.8; lidInnerDiamB = 58; lidInnerDiamT = 62; lidInnerH = 1; clipRad = 30; difference(){ union(){ linear_extrude(lidHeight,center = false, slices = 10, scale = 0.98) circle(d = lidDiam + (lidShell * 2));...
glb/cad_7b856878c10c.glb
Create a hexagonal funnel with a total height of 100mm. Construct the base as a hexagonal frustum with a top diameter of 100mm and a bottom diameter of 22mm, reaching a height of 50mm. Centered on top of this base, add a second hexagonal frustum that extends another 50mm upward, tapering from a bottom diameter of 22mm ...
$fn=6; dTop=100; dMid=22; dBot=16; height=100; cylinder(d1=dTop, d2=dMid, h=height/2, center=true); translate([0, 0 , height/2]) cylinder(d1=dMid, d2=dBot, h=height/2, center=true);
glb/cad_8207d8264929.glb
Create a Seam Guide tool with a total thickness of 6mm. The main body is a flat, extruded polygon with rounded corners, defined by a footprint that starts at a width of 18mm and a length of 58mm. The shape is asymmetrical: the bottom section is a rounded point, the middle section widens to 18mm, and the top section nar...
$fn=360; x_width = 18; y_length = 58; thickness = 6; magnet_thickness = 2.5; magnet_diameter = 10; offset_radius = 2; tolerance = 0.05; difference(){ linear_extrude(thickness){ offset(offset_radius){ polygon( points =[ [0, y_length*0.2], [x_width*0.5, 0], [x_width*0.5, y_length*0.3], [x_width,y_len...
glb/cad_7088daf5993b.glb
Create a wardrobe bracket for a 15mm diameter rod. Start by creating a circular ground plate with a diameter of 25mm and a height of 5mm. On this plate, center a vertical cylindrical sleeve with an outer diameter of 25mm and an inner diameter of 15.2mm to provide clearance for the rod. The sleeve should have a height o...
latch_sign = 1; bar_diameter = 15; bar_radius = bar_diameter/2; bar_length = 30; bracket_height = 20; bracket_width = 5; bracket_clearance = 0.1; ground_plate_diameter = bar_diameter+2*bracket_width; ground_plate_radius = ground_plate_diameter/2; ground_plate_height = 5; latch_offset = ground_plate_diameter - brack...
glb/cad_9d6fac75ac3c.glb
Create a personalized name tag for a lighting cable. Start by creating the text "Charlotte" using the Lobster font with a character size of 25mm. Each letter should be extruded to a specific height, starting with the first letter at 8mm and varying for subsequent letters as follows: 5mm, 8mm, 6mm, 4mm, 5mm, 7mm, 7mm, a...
Font_name = "Lobster"; Text = "Charlotte"; Rotation = 0; letter_1_height = 8; letter_2_space = 14; letter_2_height = 5.0; letter_3_space = 13.5; letter_3_height = 8; letter_4_space = 13; letter_4_height = 6; letter_5_space = 10; letter_5_height = 4; letter_6_space = 10; letter_6_height = 5; letter_7_space = 9....
glb/cad_4f5963456c76.glb
Create a shelf holder pin by starting with a main cube measuring 10mm on all sides. Attach a thin rectangular flap to one side of this cube; the flap should be 1mm thick, 8mm high, and 10mm wide, extending the total height of the object to 18mm. Insert a cylinder with a diameter of 3.2mm and a length of 7mm, positioned...
$fn = 80; cylinder_length = 7; cylinder_dia = 3.2; latch_thickness = 1; latch_height = 8; #translate([0,0,0]) rotate([-45,0,0])difference(){ union(){ cube([10,10,10]); cube([10,latch_thickness,10+latch_height]); rotate([90,0,0])translate([5,5,0])cylinder(h=cylinder_length, d=cylinder_dia);...
glb/cad_d638c62f34a8.glb
Create a desktop spool holder leg for a 3D printer. The part is a flat base with a complex profile, 5mm thick. The base starts as a rectangle 210mm long and 10mm wide, then expands to 20mm wide at the 200mm mark. It extends further to 50mm wide between 135mm and 145mm, reaching a maximum length of 160mm at the center. ...
mode = "Clamp End"; bumpers = "No"; $fn = $preview ? 60 : 180; if ( mode == "Flange End" ) difference() { color("#aaa") { difference() { linear_extrude( 5 ) polygon( [ [ 10, 0 ], [ 210, 0 ], [ 210, 10 ], [ 200, 20 ], [ 165, 20 ], [ 135, 50 ], [ 135, 145 ], [ 120, 160 ], [ 100, 160 ], [ 85, 145 ], [ 85, ...
glb/cad_62e686d3d1d5.glb
Create a player tracker for the Betrayal at House on the Hill board game by constructing a five-sided polygonal ring. Start with a solid regular pentagon that has a radius of 66mm and a height of 5mm. From this base, remove a smaller concentric regular pentagon with a radius of 57mm and a height of 6mm, centered vertic...
angle = 360 / 5; module pentagon(radius) { angles = [for(i = [0 : 4]) i * angle]; coords = [for(th = angles) [radius * cos(th), radius * sin(th)]]; polygon(coords); } module pentagonoid(height, radius) { linear_extrude(height = height , center = true) pentagon(radius = radius); } difference() { penta...
glb/cad_615cc2766112.glb
Create a player tracker indicator for the Betrayal at House on the Hill board game. Start by creating a square base that is 10mm wide, 10mm deep, and 5mm thick, centered at the origin. On top of this base, add a triangular pointer that is 10mm wide at its base and 20mm long from the base to its tip, with a thickness of...
union() { linear_extrude(height = 5, center = true) polygon(points = [[-5, -5], [5, -5], [5, 5], [-5, 5]]); translate(v = [0, 5, 0]) linear_extrude(height = 5, center = true) polygon(points = [[-5, 0], [5, 0], [0, 20]]); translate(v = [0, 0, 5]) cube(size = [10, 4.5, 5], center = true); }
glb/cad_720ec52d1017.glb
Create a tactical identification plate for firefighting personnel. Start with a square base measuring 30mm by 30mm with a thickness of 1mm. Add a border around the perimeter that is 1mm wide and 1mm high. In the top-left corner, create a filled right-angled triangle with a height and width of 9mm, positioned so it si...
$fn=100; module labeled_plate(text_str, fill_corner = false, num_dots = 0) { base_size = [30, 30, 1]; border_thickness = 1; border_height = 1; text_height = 1; trinagle_height = 9; dot_diameter = 4; dot_spacing = 6; dot_offset = -1; dot_height = 1; cube(base_size); transla...
glb/cad_58a05df147fb.glb
Create a Cable Organizer consisting of a hollow rectangular box with internal dividers. The outer shell has a square footprint of 130mm by 130mm and a total height of 80mm. The walls and the base are 1.3mm thick. The four vertical corners of the box are rounded with a radius of 5mm. The base is a solid flat plate 1.3mm...
blue = "#41b6e6"; red = "#C61826"; orange = "#F58320"; $fn=100; d = 1.3; w = 130; h = 80; r = 5; module bottom () { color(blue) hull () { translate([r,r,0]) cylinder(d,r,r); translate([w-r,r,0]) cylinder(d,r,r); translate([w-r,w-r,0]) cylinder(d,r,r); ...
glb/cad_f0344df96980.glb
Create a 5.25" Optical Drive Enclosure consisting of a main body and a separate rear panel. Construct the main body as a rounded cube with overall dimensions of 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. The interior cavity should be 147mm ...
$fa = 1; $fs = $preview ? 2 : 0.4; driveBody = [147, 43, 176]; frontPlate = [149, 43.5, 5]; thickness = 4; overlapBuffer = 1; hexagonWidth = 12; noOfColumns = 9; noOfRows = 12; separateForPrint = true; difference() { RoundedCube(size = [driveBody[0] + (thickness * 2), driveBody[1] + (thickness * 2), driveBody[2] ...
glb/cad_f0cf2c29a399.glb
Create a steady rest support body with a total length of 33mm and a width of 10mm. The main body is a block with a height of 7mm. The front end is rounded with a radius of 5mm, while the rear end is shaped by a hull connecting a central cylinder of 10mm diameter and two outer cylinders of 6mm diameter, positioned 2mm a...
$fn = 32; dornWidth = 10.0; dornLen = 33.0; dornThinPartHeight = 3.0; dornThickPartHeight = 7.0; dornHole = 3.1; dornOutsideRounding = 6.0; dornInsideRounding = dornWidth; dornInsideBearingOffset = 1.0; dornBearingHole = 3.1; hexHeadM3Diam = 5.5; hexHeadM3Height = 3.0; bearingDiam = 10.3; bearingHeight = 4.3; thickPa...
glb/cad_81a0f0174814.glb
Create a rectangular mount plate for an Emco Unimat 3 Steady Rest with dimensions 37.4mm in length, 20mm in width, and 6mm in height. At two specific locations along the center line of the width (10mm from the edges), create vertical holes with a diameter of 6.2mm that pass completely through the plate. Centered arou...
plateLen = 37.4; plateWidth = 20.0; plateHeight = 6.0; screwDiam = 6.2; nutDiam = 11.4; difference() { mountPlate(); translate([8.0, plateWidth/2, -0.01]) { cylinder(d = screwDiam, h = plateHeight + 0.02, $fn = 16); rotate([0, 0, 30]) cylinder(d = nutDiam, h = 2.4, $fn = 6); } transl...
glb/cad_d3b151a7e5fe.glb
Create an electric motor fan consisting of a central hub and radiating blades. Start with a base cylinder 87mm in diameter and 3mm high. Remove a concentric cylindrical hole from the center with a diameter of 12mm. Around this central hole, add a reinforcement collar that is 20mm in diameter and 10mm high, also featuri...
FAN_BASE_DIAMETER = 87; BASE_DEPTH = 3; SHAFT_DIAM = 12; ANGLE_BETWEEN_PALES = 30; PALE_WIDTH = 3; PALE_HEIGHT = 10; module dish(diameter, depth, shaft, angle, pale,paleheight) { difference() { cylinder(h = depth, d = diameter, center = false); cylinder(h = depth, d = shaft, center = false); ...
glb/cad_74def49d8bfb.glb
Create an Aluminium Extrusion Profile End Cap designed for a 20x20mm profile. Start by creating a square base plate measuring 19.8mm by 19.8mm with a thickness of 2mm. Centered on this base, add two identical protruding friction mounts. Each mount is a 3.5mm tall extruded polygon. The polygon shape for each mount is de...
t_top_width = 6; t_width = 10.4; t_side_height = 1.95; t_profile_width = 19.8; t_profile_inset = 2; t_bottom_to_outer = 6.05; t_z_height = 3.5; logo_inset = 0.4; bottom_text=""; t_top_diagonal_width = (t_width - t_top_width) / 2; t_top_diagonal_height = t_top_diagonal_width; difference(){ rotate([0,180,0]) l...
glb/cad_9cc962b14e31.glb
Create a rectangular card holder for the Epic Spell Wars of the Battle Wizards game. Construct a solid rectangular block with overall exterior dimensions of 67.5mm in length, 38mm in width, and 35mm in height. Hollow out the center of this block to create an open-top container, leaving a base floor thickness of 1.5mm a...
boxSize = [67.5, 38]; boxHeight = 35; wallThickness = 1.5; floorThickness = 1.5; difference() { box = concat(boxSize, [boxHeight]); cube(size = box, center = true); cutoutInset = wallThickness * 2; cutout = [ boxSize[0] - cutoutInset, boxSize[1] - cutoutInset, boxHeight, ];...
glb/cad_ff4177c07c2a.glb
Create a card holder organizer by starting with a solid rectangular block measuring 67.5mm in width, 91mm in depth, and 35mm in height. Hollow out the center of this block to create an open-top container with walls and a floor that are each 1.5mm thick. The interior cavity should measure 67.5mm by 91mm and extend from ...
cardSize = [67.5, 91]; boxHeight = 35; wallThickness = 1.5; floorThickness = 1.5; bottomCutInset = 10; difference() { box = concat([for(size = cardSize) size + wallThickness * 2], [boxHeight]); cube(size = box, center = true); cutout = [cardSize[0], cardSize[1] + wallThickness * 2, boxHeight]; transla...
glb/cad_780a3ba1b27c.glb
Create a shield token by combining a cylinder and a partial sphere. Start with a cylinder that has a radius of 7.5mm and a height of 5mm. Centered on top of this cylinder, place a sphere with a radius of 7.5mm. Position the sphere so its center is 3mm above the top surface of the cylinder, and then remove the bottom ha...
union(){ translate([0,0,3]){ difference(){ sphere(7.5,$fn=100); translate([0,0,-7.5]){ cube(15,center=true); } } } cylinder(5,15,15,$fn=100); }
glb/cad_561f835ccef1.glb
Create a 2D Sierpiński Triangle with a total side length of 240mm and a thickness of 0.2mm. The shape is constructed by recursively dividing an equilateral triangle into smaller equilateral triangles. Start with a single equilateral triangle of 240mm per side, and repeat the fractal subdivision process to a depth of fo...
module sierpinski_triangle(order, side) { if (order == 0) { polygon(points = [ [0, 0], [side, 0], [side/2, side*sqrt(3)/2] ]); } else { sierpinski_triangle(order-1, side/2); translate([side/2, 0]) sierpinski_triangle(order-1, sid...
glb/cad_508997639299.glb
Create a simple wagon wheel by starting with a central sphere with a diameter of 5mm. Surround this hub with a thin outer ring in the form of a torus with a major radius of 25mm and a cross-sectional width and height of 1mm and 3mm respectively. Connect the central sphere to the outer ring using 11 evenly spaced spokes...
module torus(r=10, h=1, w=1, segments=100) { rotate_extrude($fn=segments) translate([r, 0, 0]) square([w, h], center=true); } $fn = 50; difference () { union() { sphere(d=5); rotate([90, 0, 0]) torus(25, 3, 1, 100); for (i = [0:32.727:359]) { rotate([0, i,...
glb/cad_0af65b744f00.glb
Create a material swatch plaque with a square footprint of 31.75mm by 31.75mm and rounded corners with a 2mm radius. The base consists of a thin plate 1.6mm thick, with a raised rectangular section on the top half that increases the total thickness to 3.2mm. In the upper-left area, center a circular hole with a diamete...
Color = "lightcyan"; string1 = "3D-Fuel"; string2 = "PCTG"; string3 = "Metallic Gold"; Steps = true; string1_font = "Ubuntu:style=Thin"; string1_origin = 12.5; string1_size = 3; string1_height = 1.6; string2_font = "Orbitron:style=Regular"; string2_origin = 5.75; string2_size = 6; string2_height = 0; string3_font ...
glb/cad_8ba045f5a14b.glb
Create a Funko Pop wall mount hanger by constructing a rectangular cuboid with a width of 40mm, a height of 3.1mm, and a depth of 60mm. Apply a rounding radius of 3mm to the top and back edges of the shape to soften the corners. Ensure the final geometry is a precise flat plate with these dimensions to serve as a suppo...
include <BOSL2/std.scad> cuboid([40,3.33,60], rounding=3, teardrop=60, edges=TOP+BACK, anchor=BOTTOM+FRONT+LEFT); color([1,1,0]) cube([40,100,3.1]); translate([0,97,0]) { color([0,0,1]) cuboid([40,3,10], rounding=3, teardrop=60, edges=TOP+BACK, anchor=BOTTOM+FRONT+LEFT); }
glb/cad_318b5d0d0b32.glb
Create a bed connector consisting of two identical cylindrical pins joined by a flat base. Start by creating a base plate that is 44mm wide, 5mm thick, and has rounded ends with a radius of 2.5mm. The base should span from the center of the first pin to the center of the second pin, which are positioned 40mm apart. On...
$fs = $preview ? 0.5 : 0.1; $fa = $preview ? 12 : 6; pin_diameter = 20; pin_height = 8; pin_distance = 40; pin_chamfer = 1; pin_fillet = 2; top_width = pin_diameter + 2 * pin_fillet; top_height = 5; top_fillet = top_height / 2; connector(); module connector() { translate([0, 0, top_height / 2]) { hull() { ...
glb/cad_88e849d34354.glb
Create a Wii Sensor Bar holder designed to clip onto a TV edge. Start by constructing a main rectangular base that is 10mm thick. On one side, create a hollowed-out rectangular slot to hold the sensor bar, measuring 23mm wide, 11mm deep, and 10mm high, with a 1mm thick wall remaining on the outer edge. To secure the ...
a = 10; w = 17.1; d = 10; b = -20; k = b <= -20 ? 330 : b <= -15 ? 150 + (330 - 150) / (-20 - (-15)) * (b - (-15)) : b <= -10 ? 30 + (150 - 30) / (-15 - (-10)) * (b - (-10)) : b <= -5 ? -17 + (30 - (-17)) / (-10 - (-5)) * (b - (-5)) : b == 0 == 10; c = k / abs(b); $fn=20; difference(){ translate...
glb/cad_381ea05cb32c.glb
Create a training flap for a cat door. Start by constructing a rectangular frame with a total width of 143mm, a height of 152mm, and a thickness of 11mm. The bottom two corners of the frame must be rounded with a radius of 20mm. The frame should be hollowed out by removing a central rectangular section, leaving a borde...
width = 143; height = 152; thick = 11; cornerRadius = 20; innerBorder = 10; innerHeight = 0; hingeDia1 = 6.5; hingeDia2 = 8.5; hingeLength = 3; $fn=128; difference(){ linear_extrude(thick){ hull(){ translate([cornerRadius,cornerRadius,0]){ circle(r=cornerRadius); } translate([width-...
glb/cad_4214e1ee3607.glb
Create a parametric spool holder tube connector that is 100mm long, 10mm wide, and 10mm thick. The main body is a rectangular slab with rounded ends. At each end of the slab, create a concentric cylindrical ring. Each ring must have an outer radius of 13.1mm and an inner radius of 10.1mm, resulting in a wall thickness ...
$fn=100; width = 10; inner_radius = 10.1; wall_width = 3; outer_radius = inner_radius + wall_width; length = 100; difference(){ union(){ translate([0,0,0]){cylinder(h=width, r=outer_radius, center=false);} translate([length,0,0]){cylinder(h=width, r=outer_radius, center=false);} translate([0,outer_ra...
glb/cad_7c607602d7df.glb
Create a Squish Fidget by constructing an interlocking grid of thin plates and subtracting a central void. Start with a grid width of 100mm. Build the structure using layers that are 4.2mm high. Each layer consists of a series of intersecting perpendicular segments. Within these segments, create a pattern of rectangula...
grid_width =100; ring_offset = 0; vert_tol = 0.4; gap_width = 3; gap_height = 5 + (vert_tol * 2); layer_height = (gap_height - (vert_tol * 2)) * 2; dist_between_gaps = 7; void_scale = [1, 1, 0.75]; $fn = 20; num_segments = floor((grid_width - dist_between_gaps) / (gap_...
glb/cad_7fa4f600bfe0.glb
Create a circular karate badge with a total diameter of 43mm and a thickness of 1.5mm. The main body is a flat disc with a recessed center; create this by placing a 40mm diameter circle cutout 1mm deep into the face of the 43mm disc, leaving a 1.5mm wide outer rim. At the top edge, add a small integrated loop for a key...
module revolve_upper(radius, chars) { PI = 3.14159; circumference = 2 * PI * radius; chars_len = len(chars); font_size = circumference / chars_len / 2; step_angle = 180 / chars_len; for(i = [0 : chars_len - 1]) { rotate(-i * step_angle) translate([0, radius + font_size / 2, ...
glb/cad_39c64cebc9ec.glb
Create a split measuring cup by starting with a solid cylinder that has a diameter of 55mm and a height of approximately 41.5mm. Carve out two opposing semi-cylindrical voids from the top of the cylinder to create two separate measuring compartments. The first void should be a half-cylinder with a radius of 24.5mm and ...
cup_diameter = 55; wall_thickness = 3; side_a_vol_mm3 = 60000; side_b_vol_mm3 = 55000; $fn = 300; module half_cylinder(vol, r) { h = 2*vol / (3.1415 * r^2); difference() { cylinder(h, r, r); translate([0, -r, -h*0.25]) cube([r, r*2, h*1.5], center = false); } } void_radius = (cup_diameter / 2) - wall...
glb/cad_1a3038918c22.glb
Create a wash bottle tip by constructing a hollowed-out truncated cone. First, create a solid cone frustum with a height of 15.8mm, a base diameter of 7.7mm, and a top diameter of 4.7mm. Then, remove a smaller concentric cone frustum from the center to create a wall thickness of 0.8mm. This internal void should have a ...
l = 15; d1 = 6.1; d2 = 3.1; skin_width = 0.8; difference() { cylinder(l+skin_width, d1=d1+(skin_width*2), d2=d2+(skin_width*2), $fn=50); cylinder(l, d1=d1, d2=d2, $fn = 50); }
glb/cad_c8562103a483.glb
Create a cake topper consisting of three stacked lines of text, each with a supporting underline, and two vertical spikes. For the text, use the "Chewy" font at a size of 24mm and an extrusion thickness of 4mm. The first line should read "Happy" with an underline 120mm wide. The second line should read "BB Bash" with...
$fn=90; fontName = "Chewy"; fontSize = 24; layerHeight = 0.2; spikeDiameter = 2; spikeLength = 80; spikeSpacing = 47; textHeight = 4; textLine1 = "Happy"; textLine1SpacingHorizontal = 1; textLine1SpacingVertical = 1.02; textLine1Width = 120; textLine2 = "BB Bash"; textLine2SpacingHorizontal = 1; textLine2Width = ...
glb/cad_c4fa786ede5a.glb
Create a Magnetic Dice Box, Tray, and Tower assembly consisting of a drawer, a lower tray, an upper tray, and a dice tower. Create a drawer as a rectangular block with dimensions 142mm x 122mm x 24mm. Divide the interior into six slots for dice sets, each roughly 22mm wide. Add a cylindrical handle hole with a 20mm di...
DDie = 22; Sets = 6; LSet = 120; DMag = 6; ZMag = 2; Cutouts = true; Deco = true; thk = 2; THK = 5; part = "Peg"; Clr = .3; Tab = 2*Clr+ 4*Clr; DPin = THK*0.7; PinZ = DPin; MagBossD = DMag+thk*2; MagBossZ = ZMag+thk; DrawX = Sets*DDie + (Sets-1)*thk + 2*thk; DrawY = LSet + thk + MagBossZ; DrawZ = DDie + thk...
glb/cad_624c9e3218fb.glb
Create a small microphone mount consisting of a central cylindrical ring with a 21mm inner diameter and a 26mm outer diameter. The ring should be split vertically into two halves by a 4.5mm wide gap. Attached to one side of the ring is a flat, rectangular mounting tab that extends outward. Through the center of the r...
$fn = 100; module base() { union() { translate([-0.5, -18, 0]) rotate([90, 0, 0]) minkowski() { cube([3.5, 8, 12], center=true); rotate([0, 90, 0]) cylinder(1, 4, 4); } cylinder(16, 26/2, 26/2, center=true); translate([-0.5, 14, 0]) minkowski() { cube([(4.5*3) - 2, 10,...
glb/cad_469c6495e8f0.glb
Create a small microphone mount consisting of a base block and a vertical clamping arm. Start with a main body formed by the union of a rounded cube measuring 17mm x 17mm x 22mm and a secondary rounded rectangular section measuring 7mm x 12mm x 14mm positioned atop it, shifted 0.5mm along the Y-axis and centered at a h...
$fn = 100; module body() { union() { translate([0, 0.5, 18]) minkowski() { cube([7, 12, 14], center = true); rotate([90]) cylinder(r=3); } minkowski() { cube([17, 17, 22], center = true); cylinder(r=1); } } } difference() { body(); translate([10.5, 0, 11.5]) rot...
glb/cad_01f608a609d0.glb
Create a Govee Strip Light S diffuser consisting of seven identical segments, each 150mm long. For each segment, construct a main body with a total width of 15.5mm (comprising a 12.5mm inner channel and two 1.5mm side walls) and a total height of 5.8mm (comprising a 3mm inner channel height, a 1.8mm top plate, and a 1m...
length = 150; batch = 7; kitcard = 1; grooved = 0; cwidth = 12.5; cheight = 3; wall = 1.0; twidth = 2 * wall + cwidth; plate = 1.8; lip = 1.2; goffset = 1.5; gap = 3; rod = 1; fwidth = 2; conn_ratio = 0.7; ventd = cheight * 0.60; venti = 20; module block(w, h, l) { linear_extrude(h) { square([w, l]); ...
glb/cad_8d13a845996f.glb
Create a stackable coin storage organizer consisting of a main container and optional inserts. The main container is a hollow cylinder with an internal diameter of 39mm and an internal height of 3.7mm, featuring a bottom thickness of 1.35mm. The exterior has an outer diameter of 48mm. The container features a metric t...
$fn=150; use <threads.scad> d_int=39; h_int=3.7; bot=1.35; d_thread=44.5; thread_delta=2; p_thread=2; d_out=48; clearance=0.4; h_knob=2.7; d_knob=20; n_knob=4; chamfer_bot=1.5; d_max=54; gap=1.5; n_thread=2; a_thread=40; t_thread=1; insert_ch=1; insert_clearance_d=0.5; insert_clearance_h=0.3; insert12_d=29; insert12_h...
glb/cad_6e7b000de00d.glb
Create a small parts storage drawer with outer dimensions of 30mm width, 70mm depth, and 25mm height. The drawer is an open-top box with a wall thickness of 1.5mm. The interior cavity should be 27mm wide and 67mm deep, leaving a floor thickness of 1.5mm. At the front top edge, create a semi-circular grip opening cent...
drawer_width = 30; drawer_depth = 70; drawer_height = 25; thickness = 1.5; divisions_width = 1; divisions_depth = 1; tab_height = 3.3; text1 = "100"; font_height1 = 10; text2 = "kΩ"; font_height2 = 3; text3 = ""; font_height3 = 3; font="DIN Alternate"; open_fraction=0.70; open_type = "Cylinder"; drawer_...
glb/cad_12d1967fc73c.glb
Create a small parts storage drawer rack consisting of a grid of open-faced slots and matching drawers. First, construct the rack. The rack is a grid 3 units wide by 5 units high. Each slot is designed to hold a drawer with outer dimensions of 30mm width, 70mm depth, and 25mm height. The walls of the rack are 1.75mm ...
drawer_width = 30; drawer_depth = 70; drawer_height = 25; thickness = 1.75; clearence = 1.25; overhang = 2.9; slider_width = 8; x_modules = 3; y_modules = 5; fastening = false; fastening_area_side_length = 15.5; fastening_hole = 3.6; side_pattern = "None"; radius = 3.5; width_inner = drawer_width + 2*clea...
glb/cad_b2f411095973.glb
Create a backpack flag clip by starting with a central vertical cylinder that has a radius of 4mm and a height of 30mm. Attach a rectangular block to this cylinder, centered vertically at 7.44mm, with dimensions of 30mm in width, 4mm in depth, and 7.44mm in height. To the top of the cylinder, add a square prism rotated...
fs=0.01; width=30; total_height=width/1.618; height=total_height * 0.4; piece_type=2; side=1; difference() { difference() { union() { cylinder(h=height,r1=8/2, r2=8/2,$fs=fs); translate([0,3,height/2]) cube([width,4,height], center=true); if (piece_type!=1) translate([0,3.4,height-0.4])...
glb/cad_f0825a4b7f26.glb
Create a Grip Trainer Holder by starting with a rectangular base block measuring 160mm wide, 62mm deep, and 51mm high. Hollow out the center of this base by removing a smaller rectangular volume of 162mm by 58mm by 50mm, leaving a thin outer shell. Carve two rectangular notches into the bottom of the base, each 20mm wi...
handleAngle = acos(22/95); handleset(); translate([40, 0, 0]) handleset(); translate([80, 0, 0]) handleset(); translate([120, 0, 0]) handleset(); translate([-20, -30, -50]) base(); module base(){ difference(){ translate([0, -1, 0]) cube([160, 62, 51]); translate([-1, 1, ...
glb/cad_edd188e99221.glb
Create a Low Profile PCIE Bracket with a total thickness of 2mm. The main body is a flat plate with a complex perimeter: it starts with a narrow section at the bottom, widens to a main body of 18.42mm width, and features a top edge that extends to a total length of 66.27mm plus the thickness of the plate. On the face...
A = -1.8; B = 64; C = 8.0; M3= 2.4; thick = 2; cutout_count = 2; cutout_size_x = 21; cutout_size_y = 8.5; cutout_pos_x = 21.1; cutout_pos_y= 3.8; cutout_spacer = 6; h_pci_cutout = 66.27; cutout_size = [cutout_size_x, cutout_size_y, thick+2]; plug_bottom =-13.24; board_bottom = -5.5; w_pci_cutout = 18.42; ...
glb/cad_21a133872adb.glb
Create a mudguard for a bicycle saddle consisting of a mounting clip and a protective shield. First, construct the mounting clip. Start with a cylinder of radius 22mm and height 6mm, then resize it to 37mm wide, 78mm long, and 6mm high. From this volume, remove a central rectangular block measuring 22mm wide, 10.2mm ...
ws=0.86*1.5; t=0.8; ver = "v1.2"; module clip() { intersection() { resize([37,78,6]) cylinder(6, r=22,$fn=64); difference() { translate([-31/2,0,0]) cube([31,28,6]); translate([-22/2,30-2-12,-0.1]) cube([22,10.2,6.2]); translate([-22/2,30-2-12+10.2,6.2]) rotate([0,90,0]) cylinder(22,d=3,$fn...
glb/cad_fd85466e8356.glb
Create a 3D visualization of a probed surface mesh. Start by creating a flat rectangular base plane measuring 200mm by 200mm with a thickness of 0.5mm. On top of this plane, construct a surface mesh composed of a 5x5 grid of points. The Z-height of each point is determined by the following coordinates: Row 1: -1.20,...
mesh_width = 200; mesh_height = 200; zprobe_offset = 0; NAN = 0; measured_z = [ [ -1.20, -1.13, -1.09, -1.03, -1.19 ], [ -1.16, -1.25, -1.27, -1.25, -1.08 ], [ -1.13, -1.26, -1.39, -1.31, -1.18 ], [ -1.09, -1.20, -1.26, -1.21, -1.18 ], [ -1.13, -0.99, -1.03, -1.06, -1.32 ] ]; max_z_scale = ...
glb/cad_8b8dc1d121c0.glb
Create a protective phone case for a Samsung S10. Start by constructing a hollow rectangular shell with rounded corners and edges. The outer dimensions of the main body should be 149.9mm in length and 70.4mm in width, with a wall thickness of 0.6mm and a total height of 7.8mm. The interior should be carved out to fit...
$fn=64; v=149.9; s=70.4; h=7.8; w=0.6; t=4; b=6; a=1.5; module corner(h, a) { minkowski() { scale([1/a,1/a,1/a]) resize([h,h,h*a]) sphere(d=h); cylinder(r=h/a, h=0.001); } } module box_full(v,s,h,a) { translate([-v/2,-s/2,0]) hull() { corner(h, a); translate([v,0,0]) corner(h, a);...
glb/cad_8449d01732e2.glb
Create a "Smile while extrude" extruder indicator. Start with a main head consisting of a cylinder with a diameter of 40mm and a height of 2mm. At the base of this head, center a smaller cylinder with a diameter of 8mm and a height of 1.8mm to serve as a mounting axis. Carve a smiling mouth into the face of the head b...
$fn = $preview ? 50 : 100; main(head_d=40, plate_h=2.5, render_type="uncolored", render_part = "all"); module main( head_d=40, plate_h=2, render_type = "uncolored", render_part = "head" ){ eye_d_left=0.23*head_d; eye_d_right=0.18*head_d; if (render_type == "uncolored") { difference() { _he...
glb/cad_feb4c309403b.glb
Create a hanging house number system consisting of a numeral and a matching hanger. First, create the numeral "9" using the Bebas Neue Bold font. Extrude the character to a height of 150mm and a thickness of 10mm. At the top center of the numeral, carve out a socket to accommodate the hanger. This socket is formed by...
character = "9"; fontname = "Bebas Neue Bold"; create_letter = false; create_socket = true; create_hanger = true; socket_at_top = true; xadjust = 0; yadjust = -1; text_tall = 150; text_thick = 10; wedge_wide = 14; wedge_radius = 2; hanger_thick = 5; hanger_wide = 10; hanger_tall = 80; mount_thick = 3; screw_wide = 2; ...
glb/cad_260b65a174c3.glb
Create a 30mm pipe holder designed for wall mounting. Start by creating a semi-cylindrical base with a radius of 17mm and a thickness of 2mm. This base should be a half-circle (180-degree slice) that acts as the cradle for the pipe. On top of this base, integrate a rectangular mounting plate that measures 20mm in wid...
include <BOSL2/std.scad> pipe_dia = 30; distance = 55; wall = 2; holder_size = 20; height = 15; screw = 4; base_r = pipe_dia/2 + wall; difference() { union() { cylinder(wall, base_r, base_r); rotate([0, 0, 180]) pie_slice(ang=180, l=height, r1=base_r, r2=base_r, $fn=100); translate([base_r - holder_size/2, distance/2...
glb/cad_c6f7ae91ed46.glb
Create a lid for a fused C14 switch box. Start with a rectangular base plate measuring 69mm by 59.5mm with a thickness of 2.2mm. Apply a 4.2mm chamfer to the edges and a slight bevel to the top surface. Center a rectangular cutout in the plate to accommodate the C14 module, measuring 47.5mm by 27mm with a depth of 5mm...
$fn=42; tox=.5; toy=1.75; toz=1.25; tix=1; tiy=.5; difference() { hull() { cr=4.2; cx=2; cy=2; cz=5-.2; hull() { translate([cr,0,0]) cube([59+10-2*cr, 49.5+10, 2.2]); translate([0,cr,0]) cube([59+10, 49.5+10-2*cr, 2.2]); } translate([0,0,cz]) hull() { translate([cx+cr,cy,0]) cube(...
glb/cad_97a1bffd1bb8.glb
Create a cable holder for an IKEA IVAR shelf. Start with a central block that is 16mm wide, 16mm deep, and 13mm high. Extend the depth of this block to 24.5mm by adding a rounded rectangular section to the back, resulting in a total footprint of 16mm by 24.5mm with a height of 13mm. Carve a semi-cylindrical channel t...
$fn=2*42; module rcube(size=[1,1,1], cr=1.2, center=true) { translate([-size.x/2,-size.y/2, -size.z/2]) hull() { translate([cr,cr,0]) cylinder(r=cr, h=size.z); translate([size.x-cr,cr,0]) cylinder(r=cr, h=size.z); translate([size.x-cr,size.y-cr,0]) cylinder(r=cr, h=size.z); translate([cr,size.y-cr,0]...
glb/cad_06a1813bcb7f.glb
Create a cable holder for an 18.5mm thick board. The main body is a U-shaped clip with a height of 13mm. The clip's inner diameter is 12mm, and its walls are 3mm thick. The U-shape is elongated along the Y-axis by 4.2mm, creating an oval-like interior opening. The clip is flanked by two L-shaped brackets that wrap aro...
$fn=2*42; board = 18.5; wall = 3; uid = 12; uy = 4.2; assert(wall+uid+wall < board); by = 12; bz = 13; difference() { hull() { cylinder(r=(wall+uid+wall)/2, h=bz); translate([0,uy,0]) cylinder(r=(wall+uid+wall)/2, h=bz); } translate([0,0,-.01]) hull() { cylinder(r=uid/2, h=bz+.02); translate(...
glb/cad_a4c4e707d458.glb
Create a SimpleDoorHandle consisting of three connected sections with a uniform body thickness of 3mm and rounded edges. Start with a rectangular base plate 140mm wide and 25mm high. Round the bottom corners with a 2mm radius and drill two 4.5mm diameter through-holes centered 129mm apart, positioned 5mm from the bot...
$fn = 50; thickness = 3; top_fillet = 0.5; bottom_fillet = 0.2; edge_radius = 0.5; corner_radius = 2; base_width = 140; base_height = 25; hole_diameter = 4.5; hole_distance = 129; hole_offset = 5; trap1_angle = 125; trap1_short_side = 130; trap1_height = 25; trap2_angle = 135; trap2_short_side = 105; tr...
glb/cad_39a31020aafb.glb
Create a Paracord Bracelet Jig consisting of several separate components. First, create two main table pieces. Each is a cuboid measuring 240mm in length, 10mm in height, and approximately 68mm to 80mm in width with rounded corners. In each table, create two holes for M4 pan-head screws positioned 112mm from the cent...
include <BOSL2/std.scad>; include <BOSL2/screws.scad>; include <BOSL2/threading.scad>; include <BOSL2/rounding.scad>; translate([0,0,5]) color ("Red") top_table(); translate([30,0,-5]) color ("Blue") bottom_table(); translate([-76,0,-22.5]) color ("DarkBlue") bottom_leg(); translate([-130,0,10]) color ("Yellow") top_e...
glb/cad_a60a36d68963.glb
Create a "Surprising D6" die by constructing a complex geometric shell based on a 64mm bounding cube, then scale the final result by 0.5. First, create a "beveled block" by intersecting a 50mm cube with three larger 64mm cubes, each rotated 45 degrees around the X, Y, and Z axes respectively. To make this block "erod...
erode = 1; scaling = 0.5; nsize = 64; lsize = 50; tsize = 30; ssize = 64; font_depth = 4; font_size = 14; font_face = "Liberation Sans:style=Bold"; module beveled_block(little, big, pointless) { intersection() { cube(little, center = true); rotate([45,0,0]) { cube(big, center=true); ...
glb/cad_cb4e3d69c67a.glb
Create an Ivar traverse board mount consisting of two identical mirrored arms separated by a central gap. Each arm is a composite shape formed by the convex hull of three 5mm diameter cylinders with a height of 5mm, positioned at (0,0), (0,35), and (14.5, 35), combined with a 5mm cube located at (14.5, -2.5). Additiona...
$fn=34; g=11; d=35; module arm(){ hull(){ cylinder(d=5,h=5); translate([0,35,0]) cylinder(d=5,h=5); translate([35/2-g/2-2.5,35,0]) cylinder(d=5,h=5); translate([35/2-g/2-2.5-2.5,-2.5,0]) cube([5,5,5]); } translate([0,-2.5,0]) cube([35/2,40-d,5]); } translate([2.5,2.5,0]) ...
glb/cad_99e30c0cba3f.glb
Create a vacuum cleaner adapter consisting of two stacked, hollow conical sections. The bottom section is a hollow cylinder with a height of 35mm; its base has an inner diameter of 75mm and an outer diameter of 78mm, tapering upwards to a top inner diameter of 73mm and a top outer diameter of 76mm. Positioned directl...
tti = 36; tto = 39; tbi = 33; tbo = 36; th = 45; bti = 73; bto = 76; bbi = 75; bbo = 78; bh = 35; jh = 30; descr = [ [bbi, bbo, 0], [bti, bto, bh], [tbi, tbo, jh], [tti, tto, th] ]; $fn = 100; module pipe(descr, $fn=$fn) { function combine_descr(descr, i) = i == 0 ? ...
glb/cad_43f8da5b9633.glb
Create a Leaf Spring Relocation Plate by starting with a rectangular block measuring 60.35mm wide, 127mm long, and 25.4mm thick. Center this block on the origin. Add a cylindrical pin to the top center of the block with a diameter of 14.29mm and a height of 12.7mm, extending upward from the top surface. Create two ve...
Length = 5 * 25.4; Width = 2.375 * 25.4; Thickness = 1 * 25.4; HoleDia = (5/8) * 25.4; HoleLoc1 = (3/4) * 25.4; HoleLoc2 = -1 * 25.4; HoleDepth = Thickness; PinDia = (9/16) * 25.4; PinHeight = 0.5 * 25.4; $fn = 100; difference() { union() { color("gray", 0.5) cube(size = [Width, Length, Thickness...
glb/cad_1b8047f689fc.glb
Create a potentiometer knob with a base diameter of 14.2mm and a total height of 19.6mm. The main body is composed of a series of stacked cylinders: a base cylinder, a short tapered transition section, and a taller upper cylinder with a slightly smaller radius. The top surface should feature a spherical dimple centered...
pot_h = 6.3; knob_b_d = 14.2; knob_h = 19.6; d_pots = true; custom_pot = false; custom_pot_dim = [0,0]; custom_knob_b_d = 0.0; custom_knob_h = 0.0; pot_angle = 180; separate_pointer = false; standard_pot_dim = [6,4.5]; pot_dim = custom_pot ? [custom_pot_dim[0]/2,custom_pot_dim[1]/2] : [standard_pot_dim[0]/2,...
glb/cad_20a85198e8fb.glb
Create a planter by constructing two identical geometric shells that mirror each other. Start by defining a base profile consisting of a central circle with a radius of 33mm, combined with eight smaller circles of 5mm radius positioned equidistantly around the perimeter. Extrude this composite profile vertically to a h...
segments = 8; twist = 360/segments; module vase1(height, radius, twist) { linear_extrude(height=height, slices=4, scale=1, twist=twist, $fn=segments) { translate([0,0,0]) circle(radius*1, $fn=segments*2); for(i=[0:360/segments:360]) { rotate([0,0,i]) translate([radius,0,0]) circle(5, $...
glb/cad_6fa76f83a31e.glb
Create a Parametric Radius Gauge with a total width of 65mm, a height of 35mm, and a thickness of 1.5mm. The main body is a rectangular plate with rounded corners of 5mm radius. On the left side of the plate, create a semi-circular cutout with a radius of 30mm, centered vertically. On the right side of the plate, cre...
$fn = 128; module gauge(gauge_size, gauge_width, gauge_height, gauge_thickness, hole_size) { body_radius = 5; difference() { union() { difference(){ union() { minkowski() { cube([gauge_width - body_radius, gauge_...
glb/cad_3e2cc0b19f72.glb
Create a Parametric Radius and Thickness Gauge consisting of a series of flat plates and a matching storage box. Each gauge plate should be 65mm wide, 35mm tall, and 1.5mm thick. On each plate, create a convex semicircular protrusion and a concave semicircular cutout, both with a specific radius ranging from 1mm to 30m...
$fn = 128; module tray(gauge_width, gauge_height, guage_thickness, gauge_range, t_radius, wall_thickness) { gauge_slots_length = ((gauge_range[1] - 1) * wall_thickness) + (gauge_range[1] * guage_thickness); gauge_slots_height = gauge_height * 0.25; tray_length = gauge_slots_length + (wall_thickness * 2); ...
glb/cad_ac2cd3219c53.glb
Create a Paper Towel Holder Desk Clamp. Start with a main rectangular block measuring 35mm in depth, 33mm in height, and 40mm in width. Hollow out a smaller rectangular section from the front and center, leaving a 5mm wall thickness on the top, bottom, and back, creating a C-shaped clamp. In the center of the back wall...
include <BOSL2/std.scad> include <BOSL2/screws.scad> DeskThickness = 23; ClampDepth = 30; ClampWidth = 40; WallThickness = 5; TowelHolderOuterDiameter = 128; TowelHolderWidth = 40; TowelHolderInnerDiameter = 15; main_cube_size = [ClampDepth + WallThickness, DeskThickness + (2 * WallThickness), ClampWidth]; sub_...
glb/cad_fed11f4b6ea5.glb
Create a Case for Hexagon-Lovers by constructing a rectangular box with an open top. The outer dimensions of the case are 60mm in width, 90mm in depth, and 30mm in height. The walls and the floor of the case have a uniform thickness of 3.5mm. To create the decorative hexagonal pattern, carve out a series of hexagonal ...
caseheight = 30v; casewidth = 60; casedepth = 90; strength = 3.5; sizeofsix = 7; disx = 1.1; disy = 1.7; module hexwall(myheight,mywidth,mylength) { $fn=6; nr = round((mywidth-3.5*strength) / (sizeofsix*disy)); nr2 = round((mywidth-4*strength) / (sizeofsix*disy)); nc = round((myheight-3*strength) / (sizeofsix*disx...
glb/cad_3503f0519aec.glb
Create a stereo phono jack mount designed for a sloped panel. Start with a main rectangular block measuring 40mm wide, 25mm deep, and 20mm high. Attach a thin rectangular base plate measuring 50mm wide, 10mm deep, and 3mm thick, centered along the depth of the main block and extending 5mm past the block on both the lef...
$fn=60; difference(){ union(){ cube([40,25,20]); translate([45,25,0]) cylinder(3,5,5); translate([-5,25,0]) cylinder(3,5,5); translate([-5,20,0]) cube([50,10,3]); } translate([-1,3,-18]) rotate([45,0,0]) cube([42,25,30]...
glb/cad_2a4118fc2802.glb
Create a board priming helper consisting of a grid of square holders connected by thin rails. Construct 16 individual square holders, each with an outer dimension of 28mm x 28mm and a height of 15mm. Each holder must be hollow, with a wall thickness of 0.8mm, creating an internal void of 26.4mm x 26.4mm. Arrange these...
ROW_COUNTS = [4,4,4,4]; HOLDER_SPACING = 40; HOLDER_OUTER_SIZE = 28; HOLDER_WALL_WIDTH = .8; HOLDER_HEIGHT = 15; GRID_WIDTH = 3; GRID_THICKNESS = 1; module holder(){ translate([0,0, HOLDER_HEIGHT/2]){ difference(){ cube([HOLDER_OUTER_SIZE, HOLDER_OUTER_SIZE, HOLDER_HEIGHT], center = true); ...
glb/cad_93855b1c3298.glb
Create a dryer sock holder consisting of a long base with a series of repeating attachment hooks. Start by creating a main support body that is 64.5mm wide, 12mm deep, and 1.5mm thick. On top of this base, center a large cylindrical cutout with an outer diameter of 18.9mm and an inner diameter of 15.9mm to accommodate ...
$fn=100; module ucko(){ difference(){ union(){ difference(){ union(){ cylinder(6,5,5); translate([-5,0,0]) cube([10,18,6]); } union(){ cylinder(6,3.5,3.5); translate([-3.5,0,0]) cube([7,18,6]); } } union(){ translate([-4.8,3,0]) cylinder(6,1.25,1.25); translate([4.8,3,0]) ...
glb/cad_0c3a17387efa.glb
Create a customized sweetheart valentine cookie cutter by combining a blank banner cookie cutter base with two personalized text elements. First, create the name "Romeo" using an Arial Black font with a size of 8mm and an extrusion height of 9.5mm. Position this text at coordinates (55, 49, 10) and rotate it 13 degrees...
import(file="Blank Banner Valentine Cookie Cutter.stl"); #translate([55,49,10])rotate([0,180,13]) linear_extrude(height=9.5)text(text="Romeo",size=8,font="Arial Black"); #translate([37,35,10])rotate([0,180,20])linear_extrude(height=9.5) text(text="+ Juliet",size=8,font="Arial Black");
glb/cad_fb662de29ec7.glb
Create a LEGO-compatible text brick key fob. Start by constructing a rectangular brick with a length of 6 units (48mm), a width of 2 units (16mm), and a height of 3 plate units (9.6mm). The brick should be hollowed out from the center, leaving walls 1.5mm thick. On the top surface, add a grid of 6 circular studs, each ...
brickLength = 6; brickWidth = 2; brickHeight = 3; withStuds = "yes"; createStuds = (withStuds=="yes") ? true : false; withUnderStuds = "no"; createUnderStuds = (withUnderStuds=="yes") ? true : false; raisedText = "no"; textRaised = (raisedText=="yes") ? true : false; frontText = "Your text"; frontTextScale = 1.0;...
glb/cad_ce96e6ac65a8.glb
Create a 3M Epoxy mix nozzle consisting of a base, a mixing tube, and a tapered tip. Start with the base: create a cylinder 19.5mm in diameter and 6mm high. On top of this, add a conical section 8mm high that tapers from 19.5mm down to 11.35mm in diameter. Hollow out the center of this base assembly with a tiered hol...
innerD = 7; lenpertwist = 7; numTwists = 10; twistSpacing = 3; tipH = 12; tipOpeningD = 3; tipThick = 1; $fn=150; tubeH = numTwists*(lenpertwist+twistSpacing); botTotalHeight = 13; botStraightHeight = 5; botStraightDia = 17; botStepDia = 15.6; botStepHeight = 2; botAngleHeight = botTotalHeight-botStraightHeight-bot...
glb/cad_738c4d3fce5d.glb
Create a double profile cord retainer. Start by constructing a single clip profile based on a polygon with vertices at [0,0], [1.5,0], [1.5,5.5], [5.5,9.5], [19.5,9.5], [23.5,5.5], [23.5,0], [25,0], [27,4], [26,4], [26,7], [21,12], [4,12], [-1,7], and [-2,4]. Extrude this profile to a thickness of 5mm. Duplicate this...
spacerLength = 25; clipLength = 5; centerHole = true; $fn = $preview ? 60 : 180; module clip() { rotate( [ 90, 0, 0 ] ) linear_extrude( clipLength ) polygon( [ [ 0, 0 ], [ 1.5, 0 ], [ 1.5, 5.5 ], [ 5.5, 9.5 ], [ 19.5, 9.5 ], [ 23.5, 5.5 ], [ 23.5, 0 ], [ 25, 0 ], [ 27, 4 ], [ 26, 4 ], [ 26, 7 ], [ 21, 12 ], [ 4...
glb/cad_e1a1c6a1004e.glb
Create a case for a DPS5005 adjustable power supply. The main body is a rounded box with outer dimensions of 79.3mm width, 43.2mm height, and a total depth of 43.2mm. The walls are 2mm thick. Inside the main cavity, create a central cutout for the power supply body measuring 71.8mm wide by 39.2mm high by 34.25mm deep...
include <MCAD/nuts_and_bolts.scad>; include <MCAD/shapes.scad>; dps_face = [79.3, 43.2, 4.0]; dps_body = [71.8, 39.2, 34.25]; dps_latch = [76.0, 13.0, 12.5]; dps_latch_indent = [3.5, 2.0]; dps_lip = [2.0, 4.0, 2.0]; dps_tolerance = 0.5; vent_hole = 3; vent_wall = 1; terminal = [34.0 , 15.2, 20.0]; terminal_bolt_s...
glb/cad_15d158aac6c5.glb
Create a stackable tray organizer with a lid. The main body is a rounded rectangular box with overall dimensions of 100mm width, 150mm length, and 15mm height. The walls are 2mm thick. Divide the interior of the box into a grid of compartments based on a layout of 5, 1, 3, 8, and 4 sections. Each compartment is formed...
fn = [50, 12]; trays = [5, 1, 3, 8, 4]; size = [100, 150, 15, 2]; radius_in_out = [1, 2]; wall_in_out = [1, 2]; off_set = 0.1; check = false; lid = true; module spuare_ring(radius, ring_radius, lenght, fn){ for (x = [[0, lenght[0], lenght[1]], [90, lenght[1], lenght[0]], [180, lenght[0]...
glb/cad_e00bb9edeed0.glb
Create a finger washer and shoulder nut holder by constructing a tapered hollow cylinder for a finger, then adding integrated storage compartments for a washer and a hex nut. The main finger thimble should be 25mm long with a wall thickness of 2mm, tapering from a base diameter of 20mm to a tip diameter of 18mm. Atta...
fdiamlg = 20; fdiamsm = 18; fjointlen = 25; hexdiam = 9.5; hexthickness = 3.2; shoulderdiam = 10.5; shoulderthickness = 2; washerdiam = 15.5; washerthickness = 1.5; wallthickness = 2; $fn=60; difference(){ union(){ minkowski(){ rotate([90,0,0]) translate([0,15,-16.9])...
glb/cad_e85564808167.glb
Create a Central Console Cup Organizer. Start by creating a hollow tapered cylinder with a height of 80mm, a bottom external diameter of 74mm, and a top external diameter of 85mm. The wall thickness should be 1.5mm. Around this central cup, arrange several hollowed-out compartments of varying shapes to hold small item...
include <BOSL2/std.scad> include <BOSL2/rounding.scad> $fn = 128; $cup_height=80; $top_diameter=85; $bottom_diameter=74; ep = 1.5; item_a_x = 25; item_a_y = 17; item_a_z = 55; item_a_rotz = 0; item_a_transx = 10; item_a_transy = +18; rounding_a = 5; item_b_x = 26; item_b_y = 4; item_b_z = 42; item_b_rotz = 90; item_...
glb/cad_d10c51cd7ea8.glb
Create a simple goose sculpture by combining several geometric primitives. Start with a main body shaped as an ellipsoid with dimensions 70mm wide, 60mm deep, and 40mm high. For the head, place a smaller ellipsoid measuring 30mm wide, 25mm deep, and 18mm high, positioned at the front of the body at coordinates (45, 0, ...
include <myshapes.scad> include <shapes.scad> color("white")ellipsoid(70,60,40); module gooseleg(){ translate([-2,-16,-25])cylinder(12,5,5); translate([0,-15,-20])rotate([0,180,45])linear_extrude(height=10,convexity=10,scale=[2,4], $fn=12)translate([2,0,0])circle(r=5); } gooseleg(); translate([15,16,0])rotat...
glb/cad_0931ca07170c.glb
Create a PTFE tube clamp and twister guide for a reverse Bowden setup. Start by constructing a flat base plate with a height of 7.5mm. The footprint of this plate is a complex polygon with vertices at (0, 1), (1, 0), (6.875, 0), (7.875, 1), (7.875, 2.325), (6.8, 2.92), (5.85, 2.03), (2.005, 2.03), (2.31, 11), (4.83, 13...
$fn = $preview ? 60 : 180; difference() { color( "#aaa" ) { translate( [ 0, 0, 0.001 ] ) linear_extrude( 7.498 ) polygon( [ [ 0, 1 ], [ 1, 0 ], [ 6.875, 0 ], [ 7.875, 1 ], [ 7.875, 2.325 ], [ 6.8, 2.92 ], [ 5.85, 2.03 ], [ 2.005, 2.03 ], [ 2.31, 11 ], [ 4.83, 13.225 ], [ 4.04, 14.12 ], [ 7.78, 17.43 ], [ 8.5...
glb/cad_1193681605ee.glb
Create a customizable label holder with a total width of 70mm, a height of 38mm, and a depth of 1.8mm. The main body is a rectangular slab with rounded corners of 4mm radius. Carve a slot into the front face to hold a label; this slot should be 0.6mm wide and deep enough to accommodate the label, leaving a 1.8mm thic...
hoehe=38; breite=70; einschub=0.6; dicke=1.8; r=4; bef="R"; s1=3; s2=6; s3=2; $fn=30; Text=str("Streifenhöhe: ",hoehe-r-1,"mm"); Text2=str("Streifenbreite: ",breite,"mm"); module Loecher(hl,d1,d2,hk){ translate([r/2+.5-r/4,0,hl]) rotate([0,90,0]) cylinder(h=dicke,d=d1); translate([r/2-0....
glb/cad_46557e206ef1.glb
Create a parametric breakout board socket consisting of two identical parallel rows of pin holders. Each row should contain 16 individual pin sockets spaced at a pitch of 2.54mm. Each individual socket is a block 2.54mm wide, 4mm deep, and 6mm high. Within each socket block, center a square vertical hole 1.1mm by 1.1...
pinwidth = 1.1; pinpitch = 2.54; socketheight = 6; socketdepth = 4; socketrelief = 0.2; wireportradius = pinwidth*0.85; wireporttopoffset = 1.5; wirelateraloffset = wireportradius*0.4; chippinsperside = 15; chipwidth = 15; module pinsocket() { difference() { cube([pinpitch,socketdepth,socketheight],cente...
glb/cad_46fc51ebb948.glb
Create a cycling desk wheel mount consisting of a mounting clip and a supporting hook. For the clip, create a solid block that is 100mm tall and 40mm high. Within this block, carve out a hollow rectangular channel with a cross-section of 20mm by 40mm. Tilt this internal void at a 14-degree angle relative to the vertica...
$fn=200; height=40; translate([8,-6,0]) difference(){ translate([0,0,-20]) difference(){ rotate([14,0,0]){ hull(){ translate([0,-1,0])cylinder(d=24,h=100-0.1); translate([0,21,0]) cylinder(d=24,h=100-0.1); } } rotate([14,0,0]){ ...
glb/cad_ea0c6037dc3a.glb
Create a Chipolo under saddle mount by constructing a main body that blends a cylinder with a rectangular block. Start with a cylinder 42mm in diameter and 10mm high, centered on the origin. Attach a rectangular block measuring 30mm by 10mm by 7mm to this cylinder, centered at X=15, Y=0, and Z=0, and create a smooth hu...
$fn=200; module chipolo() { color("white") hull(){ cylinder(h=6.4,d=38,center=true); sphere(d=7.3); } }; difference(){ union(){ hull(){ cylinder(h=10,d=42,center=true); translate([15,0,-1]) cube([30,10,7],center=true); } translate([15,0,-4]) ...
glb/cad_689eb0fbfdf3.glb
Create a Chipolo under saddle mount by starting with a central body formed from the convex hull of two cylinders, each 12mm in diameter and 15mm high, positioned 44mm apart along the y-axis and centered at [0, 22, 0] and [0, -22, 0]. Slice this entire volume in half along the xy-plane to create two symmetrical mirrored...
$fn=200; module chipolo() { color("white") hull(){ cylinder(h=6.4,d=38,center=true); sphere(d=7.3); } }; module rails(faces=200) { for(i=[0:1:1]){ translate([0,i*44-22,0]) rotate([0,90,0]) color("black") cylinder(d=7,h=100,center=true,$fn=faces); } }...
glb/cad_0d4afa84548b.glb
Create a travel case for a toothbrush consisting of a main cylindrical body and a separate octagonal cap. For the main body, create a cylinder with an external diameter of 36mm and a total height of 202mm. Hollow out the center to create an inner diameter of 33mm, leaving a bottom wall thickness of 2mm. The inner hol...
$fn = 48; CASE_IZ = 200; CASE_IDIA = 33; CASE_FT = 2; CASE_WT = 1.5; CASE_EDIA = CASE_IDIA + CASE_WT*2; CASE_EZ = CASE_IZ + CASE_FT; CAP_IZ = 14; CAP_WT = 2.5; CAP_FT = 2; CAP_TOLERANCE = 0.8; CAP_IDIA = CASE_EDIA + CA...
glb/cad_f4ee909f080b.glb
Create a Sock Embroidery Frame for the Brother Skitch PP1. Start with a main rectangular plate measuring 137.5mm by 137.5mm with a thickness of 3mm and rounded corners with a 7mm radius. In the center of the plate, create a rectangular embroidery hole measuring 70mm by 80mm. At the front edge of the plate, create a "...
VERSION = "V0.3"; X_L=137.5; Y_L=137.5; R=7; RADIUS_OFFSET_PERCENTAGE=100; Z=3; Z2=2; BORDER_W=15; MAGNET_H=2; MAGNET_L=50; HOLE_X_L = 70; HOLE_Y_L = 80; TEXT = true; TEXT2 = "SKITCH"; TEXT3 = "L"; MODE_3D = true; MOUTH_W=8; MOUTH_L=100; MOUTH_DIST=-2; SLIT_BACK_dist=12; SLIT_FRONT_dist=12; SLIT_FRONT_o...
glb/cad_f8d4a4a368ae.glb