Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create an 86 Tooth GT2 pulley knob designed to fit a 50mm diameter handle. Start by creating a hollow cylindrical shell with an outer diameter of 54mm (50mm knob diameter plus a 2mm wall thickness) and a total height of 5mm. Inside this shell, center a vertical hole with a diameter of 50.2mm to accommodate the handle...
slop = 0.2; KBOD = 50.00+slop; MHOD = 5.90+slop; RMH = 20.0; HTH = 2; HH = 5; eps = 0.03; teeth = 86; profile = 12; motor_shaft = 6.2; m3_dia = 3.2; m3_nut_hex = 0; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 1; retainer_ht = 1.5; idler = 1; idler_ht = 0; pulley_t_ht = 7; pulley_b_ht = 2; pulley_b_dia = 10;...
glb/cad_3345b5f6938d.glb
Create an 85-tooth GT2 pulley knob designed to fit a 50mm diameter handle. The main body is a hollow cylinder with an outer diameter of 50.2mm and a total height of 5mm. The interior should feature a central hole with a diameter of 5.92mm, positioned 20mm from the center, to accommodate a mounting screw. The exterior ...
slop = 0.2; KBOD = 50.00+slop; MHOD = 5.90+slop; RMH = 20.0; HTH = 2; HH = 5; eps = 0.03; teeth = 85; profile = 12; motor_shaft = 6.2; m3_dia = 3.2; m3_nut_hex = 0; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 1; retainer_ht = 1.5; idler = 1; idler_ht = 0; pulley_t_ht = 7; pulley_b_ht = 2; pulley_b_dia = 10;...
glb/cad_7129f0c12fb5.glb
Create a mounting bracket with a total height of 10mm. Start by forming the main body as a hull that connects a central cylinder with a 29mm diameter to two smaller cylinders with 12mm diameters, positioned 16mm away from the center on opposite sides along the X-axis. Add a rectangular block measuring 20mm by 16mm by 1...
dcentro=16.3; dtornillo=4.2; difference() {union(){ hull(){cylinder(d=29,h=10, center=true, $fn=100); translate([16,0,0])cylinder(d=12,h=10,center=true,$fn=100); translate([-16,0,0])cylinder(d=12,h=10,center=true,$fn=100);} translate([0,15,0])cube(size=[20,16,10],center=true);} cylinder(d=dcentro,h=20,center=true,$fn=1...
glb/cad_c36e5c28d0aa.glb
Create a hollow rectangular box with outer dimensions of 48mm x 48mm x 55mm. Remove a central rectangular volume of 43mm x 43mm x 40mm from the top, leaving a base thickness of 2.5mm on the sides and a bottom thickness of 7.5mm. At the bottom center, create a vertical hole 6mm in diameter passing through the base. Ar...
nl=100; difference(){ cube(size=[48,48,55], center=true); translate([0,0,8])cube(size=[43,43,40], center=true); translate([0,0,-23])cube(size=[42,42,10], center=true); cylinder(h=50,d=6,center=true,$fn=nl); translate([0,0,-17])cylinder(h=2,d=22.5,center=true,$fn=nl); translate([15.5,15.5,-17])cylinder(h=10,d=3.5,center...
glb/cad_32be1d49be30.glb
Create a small mechanical bracket with a central cutout. Start with a base rectangular block measuring 42mm in width, 38mm in depth, and 10mm in height, centered on the origin. Remove a central cylinder with a diameter of 22.4mm and a height of 12mm to create a circular hole through the center. Carve out a rectangular ...
difference(){ difference(){ difference(){ difference(){ union(){ difference(){ cube(size=[42,38,10],center=true); cylinder(d=22.4,h=12,center=true); } translate([17,0,0])cube(size=[10,60,10],center=true); } translate([11.0,0])cube(size=[22,22.4,12],center=true); } translate([10,-24.5,0])rotate([0,90,0])cylinder(d=4.3...
glb/cad_2cefda8bd85f.glb
Create a rectangular block measuring 19mm wide, 21mm deep, and 18mm high, centered on the origin. Remove a cylindrical volume with a diameter of 22.4mm and a height of 20mm, centered on the origin, to create a large circular cutout through the block. Finally, remove a rectangular section measuring 6mm wide, 25mm deep, ...
difference(){ difference(){ cube(size=[19,21,18],center=true); translate([9.5,0,0])cylinder(d=22.4,h=20,center=true); } translate([7,0,0])cube(size=[6,25,20],center=true); }
glb/cad_7bc8c5f063b2.glb
Create a rectangular block measuring 62mm in length, 50mm in width, and 11.5mm in height. From this main body, remove a central rectangular section starting 10mm from the left edge, with dimensions of 42.5mm in length, 42.5mm in width, and a height that exceeds the block's thickness to ensure a clean cutout. At the far...
difference(){ cube(size=[62,50,11.5]); difference(){ translate([10,0,-1])cube(size=[42.5,42.5,14]); translate([10,36.5,-1])rotate([0,0,45])cube(size=[12,12,14]); translate([52.5,36.5,-1])rotate([0,0,45])cube(size=[12,12,14]); } } difference(){ translate([-10,0,0])cube(size=[10,14,11.5]); translate([-5,20,5.75])...
glb/cad_5703629ef914.glb
Create a small rectangular enclosure for the irToy infrared controller. The main body is a hollow box with outer dimensions of 29.53mm in width, 48mm in depth, and 15mm in height, featuring a wall thickness of 2mm. The interior cavity measures 25.53mm by 44mm by 13mm. On the front face, create two small vertical post...
$fs = 0.1; innerBoxX = 25.53; innerBoxY = 44; innerBoxZ = 13; wallWidth = 2; foilStrength = 1; postWidth = 2; fixationHeigth = 4; frontPostHeigth = 3.5; clearance = 0.01; module ircase() { intersection() { difference() { difference() { translate([-wallWidth,-wallWidth,-wallWidth]) cube ([innerBoxX+2*wa...
glb/cad_7c0c0e1982c7.glb
Create a lid for an irToy case. Start by constructing a rectangular frame with outer dimensions of 29.53mm by 48mm and a height of 2mm. This frame should have a wall thickness of 2mm, creating a hollow rectangular center measuring 25.53mm by 44mm. At the center of the lid, place a cylinder with a diameter of 27mm and...
$fs=0.1; innerBoxX=25.53; innerBoxY=44; innerBoxZ=13; wallWidth=2; foilStrength=1; postWidth=2; clearance=0.01; module ircase_lid() { intersection() { union() { translate([-wallWidth,-wallWidth,-wallWidth]) cube ([innerBoxX+2*wallWidth,innerBoxY+2*wallWidth,wallWidth]); difference() { cube ([innerBo...
glb/cad_3f793aa4ad55.glb
Create a BHat Ring by constructing a hollowed cylinder and adding a stylized hat emblem to the top. Start with a main ring that has an inner diameter of 20mm, an outer diameter of 25.8mm, and a height of 10mm. Hollow out the center to create a band with a wall thickness of 2.9mm. On the top surface of the ring, cente...
inner_diam = 1000 * 20; height = 5000; thickness = 2900; module real_bhat_ring(){ outer_diam = inner_diam + thickness*2; difference(){ union(){ cylinder(r=outer_diam/2, h=height); translate([0,outer_diam/2.1,0]) hat(); } translate([0,0,-height*0.1]){ cylinder(r=inner_diam/2, h=heig...
glb/cad_1195a01874c1.glb
Create an Adjustable Z endstop holder consisting of three main components: a switch riser, a rod clamp, and an adjustable stop. First, create the switch riser as a block 10mm wide, 30mm deep, and 105mm tall. Remove a central rectangular section 10mm wide and 17mm deep from the bottom up to 80mm high. Drill two holes w...
include <functions.scad> Z_Rod_dia=10; X_Rod_dia=8.4; X_Rod_spacing=50; Screw_dia=3.2; Screw_Thread_dia=2.5; Switch_ht=105; Switch_hole_sep=19; Switch_hole_offset = 0; Clamp_hole_sep = 15.5; Nut_wrench_size = 5.5; Nut_depth = 2.3; Nylok_depth = 4; rotate([90,0,0]) { switch_side(false); clamp_side(); translate([0,2...
glb/cad_06ad4ed60ef5.glb
Create a Kandinsky-inspired fidget spinner. Start with a central cylinder 26mm in diameter and 7mm high. Subtract a 22mm diameter hole from the center of this cylinder. Around this center, arrange four identical arms spaced evenly every 90 degrees. Each arm is based on a triangular hull formed by three points: [-5, 10...
$fs = 0.3; $fa = 0.3; add = 0.1; add2 = 0.2; kugellager_d = 22; kugellager_h = 7; hpaint = 0.5; nut_m6_e = 11.7; nut_m6_h = 5.2; module nut(e,h,z=0) { translate([0,0,z]) cylinder(h,d=e, $fn=6); } module M6(z=0) { nut(nut_m6_e, nut_m6_h,z); } module roz(w) { rotate([0,0,w]) children([0]); } ...
glb/cad_17a00761ac40.glb
Create a Spinner2art 3: Wassily Kandinsky model by constructing a layered circular base. Start with a main cylinder that has a radius of 11mm and a height of 2.4mm. On top of this base, center a second cylinder with a radius of 4.1mm and a height of 3mm. Add a third, thinner cylindrical layer on top of the second one w...
$fa = 0.3; $fs = 0.3; h = 3; hadd = 2.4 * 1; r = 4.1; s = 1.5; rd = 5; difference() { union() { translate([0,0,0]) cylinder(h + hadd,r,r); translate([0,0,hadd]) cylinder(0.7,r+1,r+1); translate([0,0,h + hadd]) cylinder(0.4,r,r-0.3); cylinder(hadd, r=11); } tra...
glb/cad_ec79a6e2adc8.glb
Create a raspberry pi old still camera housing. Start with a rectangular base plate that is 116mm wide, 116mm deep, and 8mm thick. On top of this base, center a vertical rectangular frame that is 110mm wide, 110mm high, and 10mm thick. Positioned in front of the frame, create a camera body consisting of a rectangular ...
bellows_front = 40.6; bellows_back = 100; bellows_length = 90; fit_gap = .5; module cam_front(){ difference(){ rotate([90,0,0])linear_extrude(height=10)polygon(points=[[0,0],[-10,25],[-10,35],[0,60],[60,60],[70,35],[70,25],[60,0]]); translate([30,20,30])rotate([90,0,0])cylinder(h=40,r=10); translate([(60-(bellows_fro...
glb/cad_f9c778d2a636.glb
Create a custom carabiner with a rounded, oblong profile. The body has a uniform thickness of 6mm and a height of 6mm. The cross-section of the body is an octagon with 2mm beveled edges. The shape is formed by two concentric circular arcs. The smaller inner arc has a radius of 4mm, and the larger outer arc has a radiu...
radius1 = 4; radius2 = 10; length = 35; width = 6; height = 6; gap = 0.39; rounded = 2; $fs=0.3*1; $fa=5*1; bevel = min (rounded/ sqrt(2), height/2); epsilon = 0.1; difference () { loop (radius1, radius2, width, height, length); translate([-length, radius2, 0]) rotate([0, 45, - 45 - atan((radius...
glb/cad_f717d2413a32.glb
Create a fidget button assembly consisting of a button, a cog, and a case. First, create the button as a cylinder with a diameter of 15mm and a height of 69.2mm. The top 0.8mm of the button is a conical chamfer tapering from 15mm down to 13.4mm. Along the length of the cylinder, remove a series of teeth using a profi...
$fn = 80; button_dia = 15; button_height = 70; axel_hole_dia = 1; tooth_height = 1.5; tooth_width = 1; tooth_base_width = 3.5; cog_dia = 13; cog_thickness = 3; case_wall = 2; case_clearance = 0.3; lock_clearance = 0.2; tooth_distance = sqrt(cog_dia/2 * cog_dia/2 - tooth_base_width/2 * tooth_base_width/2); case_c...
glb/cad_dbf09afa009e.glb
Create a Hive Entrance Queen Excluder consisting of a thin rectangular plate with a grid of rectangular slots. The overall plate dimensions are 178mm wide by 21.5mm high with a thickness of 2mm. Carve out a series of rectangular holes to create a staggered grid. Each hole must be 20mm wide and 4.4mm high. Arrange the...
slot_x = 20; slot_y = 4.4; wt = 2; entrance_z = 4*wt+3*slot_y; echo(entrance_z); entrance_x = 356/2; module holes() { for ( j = [0 : slot_y+wt : entrance_z] ) { for ( i = [0 : slot_x+wt : entrance_x] ) { if (((j/(slot_y+wt)) % 2) == 0) { translate([i+wt,j+wt,0]) cube([slot_x,...
glb/cad_bf2ebbe30847.glb
Create a multi-purpose customizable box with a base thickness of 4mm. The base should be a solid rectangular slab with a total width of 184mm and a total height of 124mm. Divide this base into a grid of 3 columns and 3 rows of open sections. Each individual section must have an interior width of 60mm and an interior he...
SECTION_WIDTH = 60; SECTION_HEIGHT = 40; THICKNESS = 4; SEPERATOR_HEIGHT = 25; SEPERATOR_THICKNESS = 2; ROW = 3; COLUMN = 3; TOTAL_WIDTH = (SECTION_WIDTH * COLUMN) + ((COLUMN - 1) * SEPERATOR_THICKNESS); TOTAL_HEIGHT = (SECTION_HEIGHT * ROW) + ((ROW - 1) * SEPERATOR_THICKNESS); cube([TOTAL_WIDTH, TOTAL_HEIGHT, THI...
glb/cad_01ca54d1f851.glb
Create a Roomba virtual wall demo housing. Start with a rectangular base plate measuring 40mm wide, 80mm deep, and 10mm high. On top of this base, construct a hollow rectangular wall that is 40mm wide, 80mm deep, and 10mm high, with an internal cavity 30mm wide and 70mm deep. Extend the structure upwards from the bac...
led_height = 85; module virtwall() { translate([-20,-40,0]) { difference() { cube([40,80,10]); } difference() { translate([0,0,10])cube([40,80,10]); translate([5,5,12])cube([30,70,10]); } } difference() { hull() { tr...
glb/cad_b002c8f8b9af.glb
Create a customizer box with a separate lid. For the main enclosure, create a hollow cube with outer dimensions of 60mm x 60mm x 50mm, incorporating rounded outer corners with a 5mm radius. The walls should be formed by a 5mm radius outer profile and a smaller inner profile, leaving a consistent wall thickness. At each...
box_length = 50; box_breadth = 50; box_height = 50; radius_outer = 5; radius_hole = 2; module faceplate(l,b,r_outer,r_hole) { difference() { minkowski() { circle(r_outer); square([l,b]); } circle(r_hole); translate([l,0,0])circle(r_hole); translate([0,b,0])circle(r_hole); translate([l,b,0])circl...
glb/cad_3a1dc7c3c95a.glb
Create a magnetic battery case designed to hold four cylindrical batteries in a 2x2 grid. The main body is a rectangular tray with rounded corners, a base thickness of 0.8mm, and outer walls 0.8mm thick. The interior features four cylindrical recesses for batteries with a diameter of 14.6mm and a depth of 12mm. These...
use <write/Write.scad> _1a_batteryDiameter = 14.6; _1b_insideHeight = 12; _2a_columns = 2; _2b_rows = 2; _3a_walls = 0.8; _3b_base = 0.8; _4a_magnetType = "cylinder"; _4b_magnetDiameter = 3.1; _4c_magnetHeight = 3.1; _5a_labelText = ""; _5b_labelFont = "write/orbitron.dxf"; _5c_labelDepth = -0.3; _5d_label...
glb/cad_36cca85876c7.glb
Create a Pentagram windchime base consisting of a flat circular hoop and several small attachment rings. Start by creating a main hoop with an outer diameter of 75mm, an inner diameter of 67mm, and a height of 3mm. Position five small rings, each with an outer diameter of 7mm, a thickness of 1.75mm, and a height of 3mm...
hoop_diam = 75; hoop_thickness = 8; link_diam = 7; link_thickness = 1.75; hoop_zheight = 3; link_zheight = 3; difference() { cylinder(h=hoop_zheight, d=hoop_diam, center=true); cylinder(h=hoop_zheight, d=hoop_diam-hoop_thickness, center=true); } for(i = [0 : 4]) { rotate([0, 0, -i*360/5]) translate([0, (hoop_di...
glb/cad_128094b1c721.glb
Create a stackable storage caddy with overall dimensions of 200mm length, 160mm width, and 80mm height. The walls should be 4mm thick with inside corners rounded to a 4mm radius. Construct the main body as a hollow rectangular container. The front wall must feature a large cutout that starts 20mm from the bottom and e...
section = "container"; full_length = 200; full_width = 160; full_height = 80; perimeter = 20; cutout_sides = 0; cutout_back = 0; cutout_bottom = 0; inside_radius = 4; walls = 4; teeth_rise = 1; teeth_wall = walls / 2; tolerance = 0.2; facets = 32; $fn = facets; cellrad = 8; cellthick = 1.5; honeycomb_per...
glb/cad_5aeb17b4202c.glb
Create a Perpetual Motion Wheel consisting of a wheel and a supporting stand. Construct the wheel as a cylinder with a diameter of 50mm and a thickness of 10mm. Remove a smaller central cylinder with a diameter of 5.33mm (wheel_size/9.3) that runs through the entire thickness. Around the center, create 8 equidistant ...
$fn = 50; mode = "preview"; num_of_holes = 8; wheel_size = 50; wheel_thickness = 10; fizz = 0.1; fizzz = fizz*2; rot = 360/num_of_holes; dikte = wheel_size/10; start(); module start(){ if (mode == "print"){ color("green") wheel(); translate([-wheel_size*1.8,-wheel_size*.5,dikte]) rotate(-90,[1,0,0]) color("blu...
glb/cad_19e90825f89a.glb
Create a paperclip heart with a uniform thickness of 1.5mm. First, construct a base heart shape by combining a 25mm square centered at the origin with two circles of 12.5mm radius; one circle is centered at [0, 12.5, 0] and the other at [12.5, 0, 0]. Create a larger outer heart by scaling this combined shape by 1.2 in ...
inner_heart_size=25; height=1.5; $fn=50*1; module inner_heart() { linear_extrude(height = height) { square(inner_heart_size,center=true); translate([0, inner_heart_size/2, 0]) circle(inner_heart_size/2); translate([inner_heart_size/2, 0, 0]) circle(inner_heart_size/2); } } module outer_heart(){...
glb/cad_f37a1ed7098d.glb
Create a Knob for Magnet consisting of a main cylindrical body and a separate cylindrical plug. For the main body, create a cylinder with a radius of 11mm and a height of 12mm, using a 30-facet resolution. Remove a central vertical hole with a radius of 3.5mm that starts 0.8mm from the base and extends through the top....
module knob(radius, height, magnetZ, magnetR, magnetHeight, wiggleR, wiggleZ) { difference() { cylinder(r=radius,h=height,$fn=30); translate([0,0,magnetZ]) cylinder(r=magnetR+wiggleR,h=magnetHeight+wiggleZ,$fn=30); translate([0,0,height*.6]) rotate_extrude() translate([radius*1.2,0,0]) circle(radius/3,$fn=30); ...
glb/cad_8495c56e3ea8.glb
Create a desk drawer mount and rail system. Start by creating a rectangular base plate with a width of 120mm, a height of 200mm, and a thickness of 2.4mm. At four corners of this plate, create holes for M3 bolts. Position these holes 30mm from the side and top/bottom edges. Each hole should consist of a 3.6mm diamete...
use <write/Write.scad> BASE_WIDTH = 120; BASE_HEIGHT = 200; BASE_THICKNESS = 2.4; BOLTS_POSITION_X = 30; BOLTS_POSITION_Y = 30; DRAWER_DEPTH = 80; DRAWER_RAIL_WIDTH = 20; TOLERANCE = 0.04; TOLERANCE2 = 0.2; DRAWER_WIDTH = BASE_WIDTH - 2 * BASE_THICKNESS - TOLERANCE; DRAWER_HEIGHT = BASE_HEIGHT - BASE_THICKNESS - T...
glb/cad_ab9a67cc227f.glb
Create a hollow, tapered cylindrical vessel with a sinusoidal wavy profile. The object has a total height of 220mm. The outer shell is defined by two modulated circular boundaries. The base is a circle with a diameter of 200mm, modified by a sine wave with a modulation amplitude of 5mm and a frequency of 20 cycles. T...
Height=220; Top_Diameter=100; Base_Diameter=200; Faces_Number=720; Top_Cycles=20; Top_Modulation=2.5; Base_Cycles=20; Base_Modulation=5; Phase_Diff=0; BottonTK=2; WallTK=1; r1 = Top_Diameter/2; r2 = Base_Diameter/2; fn=Faces_Number; t=360/fn; polypoints_ext=[ for(n=[0: t: 359.99])[(r2+Base_Modulation*(sin(Base...
glb/cad_614fbb88ab0d.glb
Create a hotend holder for a 3D printer by starting with a solid rectangular block measuring 24mm wide, 24mm deep, and 35mm tall. On the right side of this block, add a semi-cylindrical protrusion with a radius of 10mm and a height of 18mm. From this combined mass, remove several cylindrical holes to create functiona...
module lm8uu() { translate([0,0,-.05]) #cylinder(r=15.8/2,h=24.1,$fn=60); } module body() { cube([24,24,35]); translate([24,25,0]) cylinder(r=10,h=18,$fn=60); } difference() { body(); holes(); } module holes() { translate([0,9,9]) rotate([0,90,0]) lm8uu(); translate([9,24,9+16])rotate([90,0,0]) lm8uu(); translat...
glb/cad_1a49da481fb4.glb
Create a bearing holder for a 3D printer. Start with a rectangular base measuring 30mm in length, 20mm in width, and 10mm in height. Centered on the top surface of this base, place a cylinder with a radius of 10mm and a height of 20mm. This cylinder should have a concentric hole passing through its center with a radius...
$fn=100; module bearing_A() { difference() { union() { translate([-5,0,0]) cube([30,20,10]); translate([10,20,10]) rotate([90,0,0]) scale([1.5,1.2,1]) cylinder(r=10, h=8); } #translate([10,20.1,10]) rotate([90,0,0]) cylinder(r=8.15, h=5); #translate([10,21-5,10]) rotate([90,0,0]) cylinder(r=6.1, h=16); translate([-...
glb/cad_29c538c45a25.glb
Create a nut mount for a 20mm extrusion. Start with a base block that is 12mm wide, 15mm long, and 15mm high. Center a cylindrical hole with a radius of 4.9mm through the center of the block along the Z-axis, with a depth of 1.2mm. Additionally, create a hexagonal cutout that passes through the block along the X-axis; ...
module box(w,h,d) { scale ([w,h,d]) cube(1, true); } module hexagon(height, depth) { boxWidth=height/1.75; union(){ box(boxWidth, height, depth); rotate([0,0,60]) box(boxWidth, height, depth); rotate([0,0,-60]) box(boxWidth, height, depth); } } module nut() { rotate([180,0,0]) difference() { translate(...
glb/cad_bdcc545b1e1b.glb
Create a Eustathios-mini motor mount for a 3D printer. The object consists of a main base plate with two vertical cylindrical pillars. First, create the base by forming a hull between two cylinders of radius 10mm and height 3mm, positioned 80mm apart (at x = -40 and x = 40). Add two larger vertical cylinders of radiu...
separation = 80; bottom = 33; top = 15; $fn=60; module base() { hull() for(x=[-1,1]) translate([x*separation/2,0,]) cylinder(r=10,h=3); for(x=[-1,1]) translate([x*separation/2,0,0]) cylinder(r=8,h=bottom+10); } module base_holes() { for(x=[-1,1]) translate([x*separation/3.2,0,]) cylinder(r=2.7,h=3,$fn=30);...
glb/cad_5e623089b89e.glb
Create a carriage for a 3D printer using a main block and two cylindrical protrusions. Start with a rectangular base measuring 24mm by 35mm by 30mm. On the side of this base, add a semi-cylindrical extension with a radius of 10mm and a height of 18mm. Carve two large perpendicular holes through the body to accommodate...
module lm8uu() { translate([0,0,-.05]) #cylinder(r=16.8/2,h=24.1,$fn=60); } module body() { cube([24,24,30]); cube([24,24+11,15]); translate([24,25,0]) cylinder(r=10,h=18,$fn=60); translate([0,9-2.5,9]) rotate([0,90,0]) cylinder(r=23/2,h=24); translate([9-2.5,24,9+16])rotate([90,0,0]) cylinder(r=23/2,h=24); } di...
glb/cad_f3314e0d374e.glb
Create a customizable funnel consisting of a conical base and a cylindrical neck. Start by constructing a hollow cone with a height of 24mm, a wide top diameter of 48mm, and a narrow bottom diameter of 12mm. The walls of this cone must be exactly 0.9mm thick. Centered on top of the narrow end of the cone, add a hollow ...
innerTubeHeight = 10; innerDiameter = 12; wallThick = 0.9; tiny = 0.001; $fn = 180; outerDiameter = innerDiameter*4; coneHeight = innerDiameter*2; module hollowCone() { difference(){ cylinder(d1=outerDiameter, d2=innerDiameter, h=coneHeight); translate([0, 0, -tiny])cylinder(d1=outerDiameter-2*wallThick...
glb/cad_02933683a468.glb
Create a Parametric Multi-row Thrust Bearing race by constructing a flat, cylindrical ring. The ring has an outer diameter of 31.4mm, an inner diameter of 11.5mm, and a height of 2.4mm. Within this ring, create a circular row of holes to hold ball bearings. Each hole must have a radius of 2.4mm. Position the center o...
bb_diam_base=4.4; inner_diam_base = 25.4 *3.0/8.0; outer_diam_base = 25.4 *5.0/4.0; surround_min=4; bb_diam_slop=0.4; inner_diam_slop=0.4; outer_diam_slop=-0.4; copy_space_x=4; copy_space_y=4; num_x=2; num_y=3; bb_diam=bb_diam_base + bb_diam_slop; bb_radius=bb_diam/2; inner_diam = inner_diam_base+inner_diam_slop; i...
glb/cad_5163168d2a1e.glb
Create a shelf bracket consisting of two perpendicular arms joined at a right angle. The first arm is 190mm long and the second arm is 165mm long. Both arms have a uniform thickness of 5mm. Each arm is designed with a tapered profile: the root where the arms meet is 30mm wide, narrowing linearly to a width of 20mm at...
leg1 = 190; leg2 = 165; width1 = 30; width2 = 20; drill = 5; material = 5; material_vertical_bracket = 7; material_vert = min(width1, width2, material_vertical_bracket); color("#222") union(){ roundedleg(_r=(width2/2), _l=leg1); rotate([0,-90,0]) roundedleg(_r=(width2/2), _l=leg2); rotate([9...
glb/cad_e4bfeb3d5691.glb
Create a bed leveling washer by constructing a thick, hollow cylinder. Start with a solid outer cylinder that has a diameter of 7mm and a height of 2.5mm. Centered perfectly through the middle of this volume, remove a smaller cylindrical core with a diameter of 3.2mm and the same height of 2.5mm to create a clean circu...
OuterDiameter = 7; InnerDiameter = 3.2; Heigh = 2.5; include <write/Write.scad> difference() { linear_extrude(height = Heigh, center = false, convexity = 10, twist = 0) circle(r = OuterDiameter /2); cylinder (h = Heigh, r = InnerDiameter /2, center = false, $fn=100); }
glb/cad_82f1c72cdb37.glb
Create a parametric spool consisting of two symmetrical halves. Each half begins with a circular flange 50mm in diameter and 5mm thick, with a concentric circular hole 10mm in diameter removed from the center. Extending from the center of each flange is a hollow cylindrical shaft. The total traverse length of the com...
FLANGE_DIAMETER = 50; INSIDE_DIAMETER = 10; FLANGE_THICKNESS = 5; BARREL_THICKNESS = 5; TRAVERSE = 60; SIDES = 100; CONNECTOR_LENGTH = 10; CONNECTOR_CLEARANCE = 1; PART = "both"; MODEL_DISPLACEMENT = 10; module outerRim() { linear_extrude(height = FLANGE_THICKNESS) difference() { circle(d = F...
glb/cad_48b2e1ae8b91.glb
Create a screwdriver mount as a rectangular block with a total length of 207mm, a width of 22mm, and a height of 15mm. The block should feature a frontal chamfer on both the left and right ends, each 15mm wide and 5mm deep. Along the center line of the width, create six vertical holes, each with a base diameter of 11m...
width = 22; height = 15; hole_quantity = 6; hole_distance_each = 35; hole_distance_edge = 17; hole_diameter = 11; hole_upper_phase_angle = 80; hole_upper_countersink_depth = 15; hole_lower_phase_angle = 45; hole_lower_countersink_depth = 1; mountingHole_diameter = 3; mountingHole_phase_angle = 45; mountingHole_coun...
glb/cad_dd4bb3bba2a1.glb
Create a single-sided mold generator consisting of a rectangular block with a void carved into it. Start by creating a solid rectangular base measuring 40mm in width, 20mm in height, and 10mm in depth, centered on the origin. From this block, remove a thin vertical slice measuring 0.2mm wide, 21mm high, and 11mm deep, ...
model_filename = "sappo.stl"; model_rotate = [90,00,90]; model_rotate2 = [-90,00,-90]; model_translate = [-28,-15,0]; model_scale = 0.7; mold_width = 40; mold_height = 20; mold_depth = 10; mold_spacing = 10; rounded_corners = false; edge_radius = 8; side_by_side(); module side_by_side() { translate([mold_width/2 +...
glb/cad_b5b09ad651d6.glb
Create a customizable ventilation grid with a total length of 100mm, a total width of 40mm, and a height of 10mm. Start by constructing the outer frame: create a rounded rectangular shell with a corner radius of 4mm and a wall thickness of 1.5mm. The base of the frame should feature a brim that is 1mm thick and exten...
total_length=100; total_width=40; height=10; corner_radius=4.0; $fn=80; diameter=2*corner_radius; length=total_length-diameter; width=total_width-diameter; outer_wall_thickness=1.5; tube_wall=outer_wall_thickness; tube_radius=tube_wall*2; brim_width=10; brim_radius=brim_width*2; brim_height=1; slat_height=8; sl...
glb/cad_b4a01f711b24.glb
Create a 3D model of a digital voltmeter. Start by creating a central rectangular block measuring 22.6mm in width, 14.3mm in depth, and 7.2mm in height. Directly beneath this block, center a thinner rectangular base plate that is 22.6mm wide, 14.3mm deep, and 1.5mm thick. Extend this base plate outward on both the le...
voltmeter(); module voltmeter(dummy_cyl="false"){ x1 = 22.6; y1 = 14.3; h1 = 7.2; pcb_h = 1.5; cube([x1,y1,h1],center=true); translate([0,0,-h1/2-pcb_h/2]) color("green") pcb(dummy_cyl); module pcb(dummy_cyl="false") { ear_x = 5; cube([x1,y1,pcb_h],center=true); t...
glb/cad_8a994cb6a7c2.glb
Create a customizable card case consisting of a bottom tray and a top cover. For the bottom tray, create a rounded rectangle base with a thickness of 1mm, a width of 71mm, and a height of 101mm, using a corner radius of 12mm. On top of this base, build walls with a thickness of 2mm and a height of 32mm. The interior ...
desiredCardWidth = 65; desiredCardHeight = 95; desiredPackThickness = 30; includeNotches = true; desiredPacksWidth = 1; desiredPacksHeight = 1; cornerDiameter = 12; notchDiameter = 25; baseThickness = 1; topThickness = 2; wallThickness = 2; bezelDiameter = 1.0; bezelGap = 0.5; cardWidth = ((desiredCardWidth + (4 *...
glb/cad_1bb6e4e27f2e.glb
Create a C-clip by starting with a solid rectangular block measuring 11.52mm in width, 22.28mm in depth, and 12.99mm in height. From this main volume, remove a central rectangular section measuring 8.64mm in width, 19.4mm in depth, and 13.99mm in height to create a hollow interior. To complete the C-shape, remove a fur...
height = 12.99; width = 8.64; depth = 19.4; overhang = 1.5; thickness = 1.44; translate ([0,0,height/2]) difference () { cube ([width+2*thickness,depth+2*thickness,height],center=true); cube ([width,depth,height+1],center=true); translate ([width/2,0,0]) cube ([width,depth-overhang*2,height+1],center=true); }
glb/cad_75694c6b0d5d.glb
Create a Sturdy Infinity Cube consisting of eight identical cubes, each with a side length of 20mm, arranged in a 4x2 grid. Maintain a 1mm gap between all adjacent cubes. Each of the eight cubes must have its edges chamfered by 2mm. To allow the cubes to fold and rotate, integrate cylindrical hinge links between speci...
$fn=100; difference() { size=20; spacing=1; cut=2; union() { difference() { union() { for (i = [0 : 3]) { translate([size*i+spacing*i,0,0]) rcube(size, cut); translate([size*i+spacing*i,size+spacing,0]) rcube(size, cut); } } translate([size-8.5,size/4...
glb/cad_3fcec5515492.glb
Create an open frame ring or bracelet by constructing a series of interconnected tubular segments arranged in a circular pattern. The overall structure is based on a central void with an inside diameter of 60mm. The frame is composed of 4 sides and 8 segments. Each side is formed by a tube with a diameter of 3mm. The...
use <utils/build_plate.scad> sides = 4; segments = 8; mesh_quality = 3; tube_diameter = 3; width_of_band = 10; height_of_band = 10; inside_diameter = 60; rotate_all_sides_angle = 0; full_twists_per_rotation = 0; tube_offset_per_segment = 0; segment_twist_variation_angle = 0; segment_twist_variation_periods = 2; fa...
glb/cad_3074b5656fa0.glb
Create a stackable vial holder block with a 2x5 grid of holes. The overall block height is 28mm. The main body is a rounded rectangular prism formed by the hull of cylinders with a diameter of 17.8mm (calculated from a 15.8mm hole plus 2mm walls) positioned at the corners. Create 10 vertical vial holes in a 2x5 arrang...
xx=2; yy=5; description=1; drainholes=1; stackholes=1; wall=2; bottom=5; vial_dia=14.8; vial_clearance=1; cap_dia=15.7; cap_clearance=0.8; hh=28; hole_spacing=1; capd=cap_dia+cap_clearance; holed=vial_dia+vial_clearance; hole=holed+hole_spacing; $fn=30; hhv=max(xx,yy)*(hole+wall)+5; drainhole_dia=0.6; hori...
glb/cad_672d74525771.glb
Create a Corner Support designed to hold tubes. Start by creating a main cylinder with a radius of 12mm (OuterRad) and a total height of 34mm (CutHeight + Depth), using a 40-facet resolution for the circular cross-section. Subtract a central vertical hole from the top of the cylinder with a radius of 8mm (InnerRad) an...
$fn=40; $EC = 0.4; ExtRound = true; Post = false; TubeCorners = 30; Phase = 0; IntRad = 8; Depth = 20.0; WallThick = 4; PipeWallThick = 2; DrainHoleEna = true; DrainD = 3; DrainR = 1; DrainPhase = 10; PinEna = false; PinRad = 3; PinPos = .75; PinPhase = 45; OuterRad = I...
glb/cad_e7c02dfe793f.glb
Create a Tubular Support connector consisting of a central cylindrical body with two symmetrical arms. The main body is a cylinder with an outer radius of 12.85mm and a total height of 60mm, centered on the origin. This body is hollowed out by a concentric cylindrical hole with a radius of 8.25mm and a depth of 30mm fr...
$fn=30; $EC = 0.4; ExtRound = true; TubeCorners = 30; WallThick = 5; IntRad = 7.85; Depth = 30.0; HolePhase = 0; Sup1Ena = true; Sup1AngY = 45; Sup1AngZ = 0; Sup2Ena = false; Sup2AngY = 45; Sup2AngZ = 180; Sup3Ena = false; Sup3AngY = -45; Sup3AngZ = 0; Sup4Ena = false; Sup4AngY = -45; Sup...
glb/cad_4d887a1a553f.glb
Create a Garden Tube Spike designed to hold a tube in soft soil. Start by constructing a hollow upper cylinder with a height of 25mm, an outer diameter of 21.5mm, and a wall thickness of 3mm. At the base of this cylinder, attach a flat circular support disc with a diameter of 35mm and a thickness of 3mm. From the cent...
$fn=30; supportDiscTh=3; supportDiscDia=35; upperTubeID=24.5; upperTubeTh=3; upperTubeHt=25; spikeInnerDia=7; scaleIt=1; module ringify(rad, cnt){ for (step = [0 : cnt - 1]) { theta = step * 360 / cnt; translate(rad * [cos(theta), -sin(theta), 0]) rotate([0,0,-theta]) children(...
glb/cad_59864e4e83db.glb
Create a Split X-End for a Prusa i3 printer, consisting of two interlocking parts: a Z-axis related part and an X-axis related part. The Z-axis part is a vertical carriage designed to hold LM8UU linear bearings. Create a cylindrical outer shell with a diameter of 14.9mm and a height of 25mm. Inside this shell, create...
ew = 0.56; eh = 0.25; epsgap = 0.1; wall = [6*ew, 8*ew, 14*eh, 4*ew]; module chamfered_cube(size,d=[1,1,1]){ hull(){ translate([d[0],d[1],0])cube(size-2*[d[0],d[1],0]); translate([0,d[1],d[2]])cube(size-2*[0,d[1],d[2]]); translate([d[0],0,d[2]])cube(size-2*[d[0],0,d[2]]); } } module chamfered_cyl...
glb/cad_4c0bcbf591e8.glb
Create an RC Car Camera Mount consisting of a symmetrical, elongated platform with a total length of 105mm. The main body is based on a mirrored profile that forms a U-shaped channel. The outer width of the structure is 65mm. The profile features a central "tooth" or gripping edge that extends 8mm outward. The walls ...
tooth_width = 2.5; tooth_thickness = 2.6; outer_car_width = 130/2; top_floor_width = 110/2; body_thickness = 3; extra_body_inner_thickness = 0; outer_centerline = outer_car_width - tooth_width/2; rib_thickness = 4; module base_leg_rib() { polygon( points=[[0,36-rib_thickness], [top_floor_width-4, 36-rib_thicknes...
glb/cad_aa42f64d9a4b.glb
Create a modular polygon face with a side length of 80mm. The main body is a flat, regular polygon frame with a thickness of 9mm and a frame width of 2mm. The center of the polygon is hollowed out. At each vertex of the polygon, create a genderless hinge mechanism. Each hinge consists of a male and female component. T...
module hook_male (cone_width, cone_height, width, height, length) { union() { translate([0, 0, -cone_height]) cylinder(r1=0, r2=cone_width/2, h=cone_height, $fn=32); translate([0, 0, 0]) cylinder(r1=height/2, r2=height/2, h=width, $fn=32); translate([-length, -height/2, 0]) cube([length, height, width]); } } ...
glb/cad_4fc085d52c3f.glb
Create a tennis ball stencil consisting of two matching plates and a screw. For the plates, create two square blocks measuring 86mm x 86mm with a thickness of 37.3mm. Round the four vertical corners of each block with a 5mm radius. From the center of each block, remove a spherical void with a diameter of 68.6mm, posi...
include <BOSL2/std.scad> include <BOSL2/rounding.scad> include <BOSL2/threading.scad> include <BOSL2/knurling.scad> Part_To_Render="front"; character="L"; ball_diameter=68.6; sandwich_gap=5.0; min_depth=3.0; min_wall=3.0; side_length=86.0; rounding=5.0; thumbwheel_rounding=3.0; thumbwheel_thickness=9.0; scre...
glb/cad_a587e60dfae1.glb
Create a Checklist board with a base plate measuring 75mm in length, 175mm in width, and 9mm in thickness, featuring rounded corners with a radius of 4.5mm. On the top surface, center the text "Replaced the" and "air filter?" in two lines. Below this, create a vertical list of the twelve months from January to Decemb...
$fn=32; test=false; fancy=false; L=75; W=175; T=9; slotL=L*0.85; slotW=10; gap=2.25; toplayer=2.5; viewW=slotW*0.75; viewxH=slotW-viewW; viewOL=3; textL=(slotL-viewOL*2-viewW)/3; viewL=textL+viewW; sliderL=viewOL*2+textL*2+viewW; font= fancy ? "Sofia:style=Medium" : "Passion One:style=Medium"; title1="Replaced t...
glb/cad_3d254387118d.glb
Create a sliding puzzle with a total diameter of 120mm and a height of 10mm. The puzzle consists of a square outer frame containing a 4x4 grid of sliding blocks. The sliding blocks are based on a square with a side length of approximately 84.85mm (120 divided by the square root of 2), with each individual block having...
$fn=32; test=false; diam=120; nrrows=4; sideL=diam/sqrt(2); blockL=sideL/nrrows; innerrad=diam/2/sqrt(2); blockrad=blockL*sqrt(2)/2; H=10; rnd=1; rside=rnd*sqrt(2); RH=(H-rnd*2)/2; space=0.4; radd=space*(sqrt(2)-1); hspace=space*sqrt(2); shift=RH+rnd; overlap=0.1; cutoutH=55; shapeO=[ [-space,-RH-overlap-rnd...
glb/cad_03cfa1ad5c73.glb
Create a sliding puzzle consisting of a flat rectangular tray containing a grid of sliding blocks. The overall outer diameter of the puzzle area is 160mm. Construct a 5x5 grid of square blocks. Each block should have a side length of approximately 22.6mm (calculated as $160 / (5 \times \sqrt{2})$). The blocks are con...
$fn=32; test=false; diam=160; nrrows=5; sideL=diam/sqrt(2); blockL=sideL/nrrows; innerrad=diam/2/sqrt(2); blockrad=blockL*sqrt(2)/2; H=10; rnd=1; rside=rnd*sqrt(2); RH=(H-rnd*2)/2; space=0.4; radd=space*(sqrt(2)-1); hspace=space*sqrt(2); shift=RH+rnd; overlap=0.1; cutoutH=55; shapeO=[ [-space,-RH-overlap-rnd]...
glb/cad_8a185fb6f8a7.glb
Create a sliding puzzle consisting of a square frame containing a grid of sliding blocks. The overall outer diameter of the puzzle is 160mm. The puzzle is divided into a 5x5 grid of blocks. The side length of each block is approximately 22.63mm (calculated as $160 / \sqrt{2} / 5$). The blocks are contained within a fr...
$fn=32; test=false; diam=160; nrrows=5; sideL=diam/sqrt(2); blockL=sideL/nrrows; innerrad=diam/2/sqrt(2); blockrad=blockL*sqrt(2)/2; H=10; rnd=1; rside=rnd*sqrt(2); RH=(H-rnd*2)/2; space=0.4; radd=space*(sqrt(2)-1); hspace=space*sqrt(2); shift=RH+rnd; overlap=0.1; cutoutH=55; scOL=0.8; shapeO=[ [-space,-RH-o...
glb/cad_202f5edc7ec9.glb
Create an anaesthetic tube holder by starting with a solid cylinder 110mm in diameter and 10mm thick. Remove a central vertical hole 17mm in diameter. Create a series of cutouts around the center to hold tubes of various sizes. First, create three identical medium-sized slots spaced 70 degrees apart. Each slot consis...
outer_dia = 110; centre_hole_dia = 17; distance_from_centre = 15; large_tube_hole_dia = 30; large_tube_cutout_width = 28.5; m_small_hole_dia = 18.5; m_large_hole_dia = 22; m_cutout_width =20; s_small_hole_dia = 3; s_large_hole_dia = 5; s_cutout_width = 3; difference() { cylinder(h=10,d=outer_dia, $fn=100); tra...
glb/cad_874f09c06646.glb
Create a MOST Delta Spool Holder by starting with a base cylinder 88mm in diameter and 18mm high. On top of this base, center a second cylinder with a diameter of 51.75mm and a height of 5mm. Remove a central vertical hole 8mm in diameter that passes through the entire height of the object. Additionally, create three...
difference(){ union(){ cylinder(d=88, h=18, $fn=100); translate([0,0,18]) cylinder(d=51.75, h=5, $fn=100); } translate([0,0,-.1]) cylinder(d=19, h=8, $fn=100); translate([0,0,-.1]) cylinder(d=8, h=23.2, $fn=100); for (i=[0:2]){ rotate(i*360/3, [0,0,1]) translate([31.5,0,-.1]) cylinder(d=4.5, h=16, $fn=100); } for ( i=[...
glb/cad_b42d4eb9db29.glb
Create a MOST Delta Spool Holder by constructing two stacked cylinders with a central hole. First, create a base cylinder with a diameter of 65mm and a height of 6.25mm. Centered on top of this base, add a second cylinder with a diameter of 51.75mm and a height of 10mm. Finally, bore a vertical hole with a radius of 4....
difference(){ union(){ translate([0,0,6.25]) cylinder(d=51.75, h=10, $fn=100); cylinder(d=65, h=6.25, $fn=100); } translate([0,0,-.1]) cylinder(r=4.5, h=17, $fn=100); }
glb/cad_ea557cccd2e8.glb
Create a parametric pipe cap consisting of a thick-walled cylinder with a hollow center. The main body is a cylinder with an outer radius of 12.85mm and a total height of 25mm, rendered with 40 facets. Starting from the bottom, the base is a solid disk with a thickness of 5mm. From the top of this base, remove a conc...
$fn=40; $EC = 0.4; ExtRound = true; Post = false; Bevel = true; TubeCorners = 30; IntRad = 7.85; Depth = 20.0; WallThick = 5; EndThick = 5; PipeWallThick = 2; OuterRad = IntRad + WallThick; InnerRad = IntRad; PostRad = InnerRad-PipeWallThick-$EC; fn = (ExtRound)? $fn: TubeCorner...
glb/cad_a5078cddf2bb.glb
Create a radial support joint for circular frames. The core of the model is a central hub with 6 arms extending outwards. Each arm is a cylinder with an outer radius of 13mm (8mm inner radius plus 5mm wall thickness) and a length of 40mm. The arms are arranged symmetrically around the center, but they are tilted down...
$fn=40; $EC = 0.4; ExtRound = true; ArmCount = 6; DipAngle = 10; TubeCorners = 30; Phase = 0; WallThick = 5; IntRad = 8; Depth = 40; PlugDepth = 10; BottomEna = true; B_Thick = 1; Adjust_R = 1; Adjust_H = .75; CapEna = true; CapExtraR = .5; PinEna = false; PinRad = 3; PinPos = .75; PinPh...
glb/cad_8f0bbd3182fd.glb
Create a Guitar String Action Gauge designed to measure string height above a fret. Start with a main body that is 30mm wide and 50mm long. The core geometry is based on a cylindrical cutout with a radius of 406.4mm (16 inches) to match the fret radius. Along the bottom center of this body, create a cylindrical chann...
$fn=200; inch = 25.4; neckWidth = 50; fretRadius = 16; fretWireThickness = 2.5; stringToString = 45; NW = neckWidth; FR = fretRadius*inch; FWT = fretWireThickness; STS = stringToString; E = 1.5; A = 1.4; D = 1.3; G = 1.2; B = 1.1; e = 1; translate([0,0...
glb/cad_c95fe27c1354.glb
Create a Screw Vessel and Cap consisting of two separate parts: a vessel and a matching screw cap. For the vessel, create a cylinder with a radius of 20mm and a total height of 10mm. Add a bottom base with a thickness of 1.4mm. The vessel features an outer screw thread starting from the top of the base, extending upwa...
radius = 20; vessel_height = 10; vessel_bottom_thickness = 1.4; cap_thickness = 1.4; pitch = 3; revolutions=2; gap=0.4; $fn=64; wall = pitch*0.3+gap+1; function flatten(l) = [ for (a = l) for (b = a) b ] ; function addz(poly2d, z) = [for(i=poly2d) [i[0],i[1], z]]; function translate_pl(pl, v) = [for(i=pl...
glb/cad_3fa65865b776.glb
Create a Parametric Pipe Hanging Bracket consisting of a circular base plate and a tapered cylindrical support. Start by creating a circular plate with a diameter of 70mm and a thickness of 2mm. Position three screw holes, each 3mm in diameter, arranged equidistantly around the plate; the center of each hole should be ...
$fn=200; pipeDiam = 23; plateDiam = 70; plateThickness = 2; holeDiam = 3; holeCount = 3; holeInset = 7; hangerDepth = 20; hangerEndThickness = 2; hangerBaseThickness = 10; module pipeHanger() { difference() { cylinder(hangerDepth,pipeDiam/2+hangerBaseThickness,pipeDiam/2+hangerEndThickness); cylinder(h...
glb/cad_a67c5f606030.glb
Create a bellows air intake with a total height of 60mm. The object is a revolved hollow shell with a constant wall thickness of 3mm. The internal profile of the wall follows a series of stepped points to create the bellows ribs. Starting from the bottom, the internal radius is 21.5mm. The profile extends outward to ...
intRadiusTop = 21.5; intRadiusBot = 21.5; wallThickness = 3; lipThickness = 1; lipHeight = 2; height = 60; $fn=180; bellowsIntPts = [ [0, height], [intRadiusTop, height], [intRadiusTop, 115], [intRadiusBot, 48], [intRadiusBot+5, 43], [intRadiusBot+5, 41],...
glb/cad_994be9f607df.glb
Create a mount tool for an ABS sensor holder by starting with a solid cylinder 65mm in diameter and 60mm in height. Remove a central cylindrical hole 25mm in diameter that runs the full 60mm height of the object. From the same top face, remove a wider cylindrical section 31mm in diameter that extends 50mm deep into the...
$fn=100; difference(){ cylinder(d=65,h=60); cylinder(d=25,h=60); cylinder(d=31,h=50); cylinder(d=48,h=10); }
glb/cad_46a2421b6d90.glb
Create an ABS Sensor Holder tool by constructing a thick hollow ring. Start with a main cylinder that has a diameter of 67mm and a height of 15mm. From this main body, remove a central cylindrical core with a diameter of 48mm and a height of 15mm to create a tube. Additionally, remove a thin cylindrical slice from the ...
$fn=100; difference(){ cylinder(d=67,h=15); cylinder(d=65,h=2); cylinder(d=48,h=15); }
glb/cad_c186a48e27ef.glb
Create a 3D model of a spider consisting of a segmented body and eight jointed legs. The body is composed of three parts: a large posterior abdomen created from a sphere with a radius of 4mm, scaled to be slightly wider and flatter (scale 1.2, 1, 0.75) and rotated 15 degrees; a central thorax created from a sphere with...
$fn = 24; module dome(size=10, z=0, rot=0, scale=[1,1,1]) { difference() { translate([0,0,z]) rotate([0,rot]) scale(scale) sphere(r=size); } } module leg(size=1,r=0.5,elbow=[20,10],bend=1) { translate([0,0,4]) assign(len=10*size) { cylinder(r=r,h=len); translate([0,0,len]) assign(len=8*size) { rotate([0,...
glb/cad_ba035eccf7fe.glb
Create a Basket Corner support for circular frames. The object is based on a central cylinder with a radius of 12mm (the sum of an 8mm interior radius and a 4mm wall thickness) and a total height of 32mm. The main body is formed by the union of several cylindrical segments. Create a central cylinder with a radius of ...
$fn=30; $EC = 0.4; ExtRound = true; FlexTop = true; Bottom = true; TubeCorners = 30; Phase = 0; WallThick = 4; IntRad = 8; Depth = 20.0; InsideAngle = 120; PinEna = false; PinRad = 3; PinPos = .785; PinPhase = 45; fn = (ExtRound)? $fn: TubeCorners; OuterRad = IntRad + ...
glb/cad_da936fb2930f.glb
Create a Radial Support joint designed to connect multiple tubes. The structure is based on a central hub with 6 arms extending outwards. First, create a central core. The overall outer radius of the hub is 13mm (calculated from an inner radius of 8mm plus a 5mm wall thickness). Construct 6 identical cylindrical arm...
$fn=40; $EC = 0.4; ExtRound = true; ArmCount = 6; DipAngle = 10; TubeCorners = 30; Phase = 0; IntRad = 8; Depth = 40; WallThick = 5; PlugDepth = 10; BottomEna = true; B_Thick = 1; Adjust_R = 1; Adjust_H = .75; CapEna = true; CapExtraR = .5; PinEna = false; PinRad = 3; PinPos = .75; PinP...
glb/cad_63a12f8ca3cf.glb
Create a dual tone whistle consisting of two concentric circular chambers connected by a shared mouthpiece. The overall height of the object is 14mm. First, construct the outer body by combining two hollow cylinders. The larger cylinder has an outer diameter of 54mm and an inner diameter of 40mm, centered at [0, 23.5...
dia1=54; dia2=34; height=14; mesh_resolution=50; $fn=mesh_resolution; difference() { union(){ translate([0,dia1/2-3.5,0]) difference() { cylinder(r=dia1/2, h=height,center=true); cylinder(r=dia1/2-7, h=height+1,center=true); } translate([0,-dia2/2+3.5,0]) difference() { cylinder(r=dia2/2, h=height,center=true);...
glb/cad_6d4f5764b24a.glb
Create a Customizeable Chastity Key Safe by starting with a main outer cylinder 54mm tall with a radius of 6mm and a facet resolution of 40. Flatten two opposite sides of this cylinder using two 10mm x 10mm x 54mm cubes centered at the mid-height to create a flat-sided profile. Hollow out the center of the cylinder t...
label = "EMERGENCY"; $fn=40; length = 54; difference() { cylinder(h=length,r=6); union() { translate([0,0,length/2+1]) cube(size=[9.5,2.8,length-2],center=true); translate([0,0,length-7]) cube(size=[20,2.8,16],center=true); translate([0,10,length-6]) rotate([90,0,0]) cylinder(h=20,r=2.5); ...
glb/cad_218be8317b3b.glb
Create a TPU cap for a magnetic charging cable consisting of a main protective cover and an attached leash with a ring. First, construct the main cap as a hollow rectangular box. The outer dimensions are 17mm in width, 14mm in depth, and 8mm in height. The walls have a thickness of 1mm. Apply a 1mm chamfer to all ext...
thickness = 1; capX = 15; capY = 12; capZ = 7; leashX = 40; leashY = 4; ringType = "Circle"; ringX = 8; ringY = 8; ringWidth = 2; ringFn = 50; difference(){ translate([-(capX+thickness*2)/2, -(capY+thickness*2)/2, 0]){ chamferCube([capX+thickness*2, capY+thickness*2, capZ+thickness*2], false, true, true, true, 1);...
glb/cad_11fea3db439b.glb
Create a Customizable Fishbone Lamella Gas Separation Grid consisting of a base plate and a series of angled ribs. Start with a rectangular base plate measuring 40mm in width and 40mm in height with a thickness of 1mm. On top of this base, place a series of parallel lamella ribs. Each rib should be 40mm wide and 2mm ...
w = 40; h = 40; angle = 45; part = "symmetrical"; s2 = 2; sft = s2/tan(angle); trib = 1; tgap = 0.75; t1 = trib/sin(angle); t2 = tgap/sin(angle); n = floor(h/(t1+t2))-1; heff = (n-1)*(t1+t2)+sft; tconn = 1; aconn = 10; tbubble = 1.5; shiftconn = 4.5; nconn = floor(h/aconn); tslidein = 1; sslidein = 1; ep...
glb/cad_27e300609947.glb
Create a mesh strainer shaped as a cylinder with a diameter of 60mm and a total height of 60mm. The walls of the cylinder are composed of a repeating pattern of interlocking diamond-shaped apertures. To achieve this, construct the cylinder using a series of stacked, rotating layers. Each layer should have a height of a...
Diameter = 60; Height = 60; Mesh_Spacing = 7; Mesh_Overhang = 2; Buffer_Height = .4; Buffer_Width = .4; module __Customizer_Limit__() {}; d = Diameter; h = Height; sin60 = sin(60); c_count = round(d * PI / (Mesh_Spacing + Buffer_Width)); z_count = round(h / (Mesh_Spacing + Buffer_Height)); dr = Mesh_Overhang; dz =...
glb/cad_7481d8da941d.glb
Create a Printable Inkjet Head consisting of three main components: a body, a piezo clamp, and a tube clamp. First, create the body as a cube of 23mm x 23mm x 10.5mm. Center a cylindrical chamber inside with a radius of 10.15mm and a height of 10.5mm. Cut a smaller concentric cylinder through the center with a radius ...
gen_for_stl = 1; piezo_diameter=20; piezo_height=0.5; o_ring_height=2; number_of_o_rings=1; nozzle_plate_height=2; body_xy_extra=3; body_extra_height=3; bolt_hole_diameter=3; tube_diameter = 3; tube_clamp_extra_height = 2; tube_clamp_extra_width = 2; nozzle_ledge_height=2; nozzle_ledge_inset=5; piezo_clearance=...
glb/cad_51eaa31d1211.glb
Create a parametric glass bed holder by constructing a base shape that combines a cylinder and a right-angled triangle. Start with a cylinder of radius 5mm and a height of 5mm. Attached to this cylinder, create a triangular prism with a height of 5mm and two legs each measuring 20mm in length, extending from the center...
triangle_width = 20; triangle_height = 5; tri_offset_height = 2.5; tri_offset_width = 17; circle_radius = 5; screw_hole_width = 2; screwhead_diameter = 6.2; screwhead_height = 3; tri_offset_x = (triangle_width - tri_offset_width); tri_offset_y = (triangle_width - tri_offset_width); render (convexity = 1) { ...
glb/cad_27d2f0203fa1.glb
Create a parametric tablet stand arm. Start with a main rectangular base measuring 135.2 mm in length, 40 mm in width, and 7 mm in height, centered along the X-axis. From this base, remove a rectangular slot measuring 35 mm by 20.3 mm by 7 mm, positioned at the origin. Additionally, remove a cylindrical hole with a 3 m...
tablet_width = 231; arm_lentgh = tablet_width / 2 + 19.7; union(){ difference() { translate([0, -20, 0]) { cube(size=[arm_lentgh, 40, 7]); } cube(size=[35, 20.3, 7]); union() { translate([34.7, -9.7, 0]) { cylinder(r=3, h=7); } ...
glb/cad_34d1969881e1.glb
Create a Rod Insert Hirth Joint pin. Start by creating a cylindrical base with a radius of 15mm and a height of 25mm. At the bottom of this cylinder, create a centered vertical hole with a diameter of 8.8mm that extends through the entire 25mm depth to accommodate a rod. On the top face of the cylinder, construct a Hi...
use <agentscad/hirth-joint.scad> $fn=100; $nozzle=0.8; $wall_thickness = 2.0; $joint_type = "Pin"; $rod_diameter = 8.0; $rod_insert_depth = 25.0; $joint_axis_diameter = 9.0; $joint_screw_diameter = 3.3; $rod_screw_diameter = 0.0; $hirth_function = "Rectangle"; $hirth_joint_r = 15.0; $hirth_nb_tooth = 10.0; $hirth_t...
glb/cad_45c73fe22be9.glb
Create a square tray designed to hold print test squares. Start by creating a solid outer cube with dimensions of 116mm in width, 116mm in depth, and 6mm in height. From the center of this block, remove a smaller concentric cube to create the hollow interior. This interior cutout should measure 110mm in width, 110mm in...
TrayInsideWidth=110; TrayInsideDepth=110; TrayInsideHeight=3; TrayWallThickness=3; TrayFloorThickness=3; difference(){ color("blue") cube([TrayInsideWidth+(TrayWallThickness*2), TrayInsideDepth+(TrayWallThickness*2), TrayInsideHeight+TrayFloorThickness], center = true); translate([0,0,TrayFloorThickness/...
glb/cad_65da61e2eacc.glb
Create a limit switch mount consisting of a main housing and an optional mounting tab. The main housing is a rounded box with overall dimensions of 32.6mm x 20.6mm x 14.45mm and a wall thickness of 2mm. The bottom floor of the box is 4.45mm thick. Hollow out the main body to create a shell, but leave a floor. Remove a...
use <MCAD/boxes.scad> FLIP_SWITCH=1; Y_TAB=1; TAB_OFFSET=0; WALLWIDTH = 2; BOX_X=32.6; BOX_Y=20.6; BOX_Z=12+2.45; FLOORWIDTH = 2+2.45; module generate_case() { difference() { roundedBox([BOX_X,BOX_Y,BOX_Z],1,true); translate([0,0,FLOORWIDTH]) { roundedBox([BOX_X-(WALLWIDTH*2),BOX_Y-(WALLWIDTH*2),BOX_Z],1,t...
glb/cad_234a546b6229.glb
Create a Close Clearance Shapeoko2 Limit Switch Mount. Start by creating a main body as a rounded box with overall dimensions of 32.6mm x 20.6mm x 14.45mm and a corner radius of 1mm. Hollow out the center to create a wall thickness of 2mm, leaving a floor thickness of 4.45mm. From this main body, remove a 15mm x 15mm...
FLIP_SWITCH=0; Y_TAB=1; TAB_OFFSET=5; TAB_2_SIZE=25; TAB_0_SIZE=13; WALLWIDTH = 2; BOX_X=32.6; BOX_Y=20.6; BOX_Z=12+2.45; FLOORWIDTH = 2+2.45; FLOORWIDTH_TAB_STANDOFF = 10; module generate_case() { difference() { roundedBox([BOX_X,BOX_Y,BOX_Z],1,true); translate([0,0,FLOORWIDTH]) { roundedBox([BOX_X-...
glb/cad_9cd181f60cce.glb
Create a cylindrical peg and a matching hollow socket. First, construct the peg by creating a cylinder with a diameter of 8mm and a height of 12mm. Subtract a central vertical hole with a diameter of 3.4mm that extends 10mm deep from the bottom, and a wider concentric hole with a diameter of 6mm that extends 10mm deep ...
$fn=80; difference() { cylinder(d=8,h=12); union() { translate([0,0,-1]) cylinder(d=3.4,h=10); translate([0,0,8]) cylinder(d=6,h=10); } } translate([-10,0,0,]) cylinder(d1=7,d2=8,h=1); translate([-10,0,0]) cylinder(d1=5.8,d2=5.4,h=3.6);
glb/cad_60716d7556d1.glb
Create a battery holder for four 18650 cells. For each cell unit, construct a rectangular outer shell with a wall thickness of 2mm. The main battery compartment should be a hollow rectangular void measuring 19mm by 70.5mm by 19mm. At each end of the compartment, create a terminal holder flange with a depth of 1.5mm. W...
cellLength = 70.5; cellDia = 19; cellDiaExtra = 0; cellPosDia = 5.5; cellPosHeight = 1; contPosLargeDia = 10; contPosSmallDia = 2; contWidth = 16.5; contHeight = 16; contThick = 0.3; contPosHeight = 2.4; contNegHeight = 8; termWidth = 3.5; termLength = 7; include <18650Battery.scad> noOfCells = 4; drawCell = fa...
glb/cad_6370dbb2b894.glb
Create a Yin and Yang symbol as a flat disc with a total diameter of 50mm and a height of 4mm. The main body is a cylinder with a radius of 25mm and a height of 10mm, but it is trimmed to a final height of 4mm. Divide this disc into two interlocking teardrop shapes. To achieve this, place a cylinder with a radius of 12...
difference(){ union(){ translate([12.5,0,6]) cylinder(4,12.5,12.5,$fn=70); translate([-12.5,0,6]) cylinder(4,4,4,$fn=20); difference(){ cylinder(10,25,25,$fn=100); union(){ translate([-25,0,6]) cube([50,25,4]); translate([-12.5,0,6]) cylinder(4,12.5,12.5,$fn=70); } }...
glb/cad_ea5341893042.glb
Create a DCF77 alarm clock housing consisting of a base and a lid. Construct the base as a rectangular box with outer dimensions of 91mm x 70mm x 35mm. Hollow out the interior to create a shell, leaving walls and adding internal supports. In the base, create a rectangular cutout of 10mm x 12mm x 8mm at the bottom lef...
$fn=50; buildmode = "debug"; color([1,0,0]) { translate([(91-2) / 2 -25.5,44.75,30])rotate([45/2,0,0])SiebenSegment(); translate([(91-0) / 2 + 30,22,27])Taster(); translate([(91-0) / 2 -30,22,27])Taster(); translate([2.5,2.5,5.5])PCB(); translate([5+2,65-2,0.5])m3_16(); translate([91-5-2,65-2,0.5])m3_16...
glb/cad_77adf84ff355.glb
Create a Braille Typewriter consisting of a central grid and a set of six interactive claws. First, construct the grid: a hexagonal prism with a diameter of 135mm and a height of 35mm. The grid features a wall thickness of 2mm and an outer shell thickness of 4mm. Within this grid, create a series of channels with a t...
use <deps.link/BOSL/nema_steppers.scad> use <deps.link/BOSL/joiners.scad> use <deps.link/BOSL/shapes.scad> use <deps.link/erhannisScad/misc.scad> use <deps.link/erhannisScad/auto_lid.scad> use <deps.link/scadFluidics/common.scad> use <deps.link/quickfitPlate/blank_plate.scad> use <deps.link/getriebe/Getriebe.scad> use ...
glb/cad_520e119dd102.glb
Create a Corner Support protector by starting with a cube of 31mm on all sides. Hollow out the center to create a shell with a wall thickness of 6mm, leaving a protective corner bracket. Round all exterior edges and corners with a fillet radius of 4.8mm (80% of the thickness). Add three countersunk screw holes, each w...
Corner_Size = 31; Thickness = 6; Fillet_Percentage = 80; Screw_Shaft_Diameter = 3; Screw_Head_Diameter = 5; Countersink = "Yes"; Screw_Head_Thickness = 2; Distance_From_Edge_To_Screw = 13; $fs = 0.3; fRad = Thickness * (Fillet_Percentage / 100); $fn = 0; $fa = 0.01; Padding = 0.01; difference(){ transl...
glb/cad_040562ad0c0b.glb
Create a 3D Light Cube Parametric Jig consisting of a thin square base with a grid of holes. Start by creating a solid square plate measuring 100mm by 100mm with a thickness of 1.2mm. Across this plate, arrange a 5x5 grid of 25 cylindrical protrusions. Each protrusion should be centered within a 20mm by 20mm cell, po...
$fn = 10; led_count = 5; led_hole_diameter = 5.38; led_hole_depth = 8; led_spacing = 20; base_thickness = 1.2; module solid() { union() { cube( [ (led_spacing*led_count), (led_spacing*led_count), base_thickness ] ); for(x = [0:led_count-1], y = [0:led_count-1]) ...
glb/cad_bb47680b4496.glb
Create a target box for Nine Hexomino Puzzles with external dimensions of 66mm width, 66mm length, and 13mm height. The box features walls with a thickness of 2mm. The bottom and all four side walls are constructed as a mesh of square holes. To achieve this, start with solid slabs for the base and sides, then remove ...
target_6x6(); module target_6x6() { union() { sides(66,66,13,2); frame(66,66,13,2); }} module target_4x9() { union() { sides(45.5,96,13,2); frame(45.5,96,13,2); }} module target_6x8() { center_top = [[0,0,0],[0,1,0],[0,2,0],[0,5,0], [0,6,0],[0,7,0]]; union() { sides(65,86.5,13,2); frame(65...
glb/cad_5ef6754db77b.glb
Create a Printrbot Y Belt Tensioner consisting of two separate components: a main housing and a sliding tensioner block. For the main housing, start with a solid rectangular block measuring 33mm x 33mm x 18.5mm. Hollow out the center by removing a 30mm x 27mm x 16mm rectangular volume, leaving walls 3.5mm thick on th...
$fn=150; difference(){ cube([33,33,18.5]); translate([3.5,3,3.5])cube([30,27,16]); translate([0,-1,22])rotate(30,[0,1,0])cube([60,35,16]); translate([27,6.75,-1])cylinder(5,2,2); translate([27,26.25,-1])cylinder(5,2,2); translate([27,6.75,2.5])cylinder(5,4.6,4.6,$fn=6); translate([27,26.25,2.5])cylinder(5,4.6,...
glb/cad_f43e7f1aa02f.glb
Create a Dremel desk hook designed to clip onto a surface. Start by forming a main rectangular block that is 32.8mm deep, 27mm wide, and 12mm thick. To this block, add two cylindrical rails with a radius of 3mm each, running the full depth of 40.8mm; position one rail at the top edge (z=12mm) and one at the bottom edge...
$fn = 50*1; desk_thikness = 32.8; clip_width = 12; difference(){ union(){ cube([desk_thikness+8,27,clip_width]); hull(){ translate([0,27,3]) rotate ([0,90,0]) cylinder(desk_thikness+8,r=3); translate([0,27,clip_width-3]) rotate ([0,90,0]) cylinder(desk_thikness+8,r=3); } } translate([4,4,0]) cube([de...
glb/cad_da6bebab3b42.glb
Create a pipe band clamp designed to hold a pipe with a radius of 10mm. The main body is a cylindrical ring with a wall thickness of 2mm and a total height of 10mm. The ring should have a 30-facet resolution. The ring is not a complete circle; create a split gap by removing a wedge-shaped section defined by a 10-degre...
$fn=30; $EC = 0.4; DoubleClamp = false; Pipe_Ra = 10; Thick = 2; Height = 10; SplitAngle = 10; Phase = 0; Clamp2Ang = 0; Clamp2Phas = 0; SepAdjust = 0; Top = false; Middle = true; Bottom = false; Bolt_Cyl_D = 10; Bolt_Cyl_H = -.5; Bolt_SOff = .5; Bolt_D = 3; BoltHead_D = 5; Depth...
glb/cad_05497d9e9143.glb
Create a RayGun for an action figure. Start with a main cylinder of radius 3mm and length 17mm. At the base of this cylinder, add a second conical segment that transitions from a radius of 2.7mm to 4.5mm over a length of 8.5mm. Following this, add a third conical tip segment that transitions from a radius of 1.8mm to 3...
$fn=30; SF = true; FinEna = true; R=3; L=17; CP = .1; S1=1; S2=.5; S2R2 = 1.5; SSEna = false; SST = false; SSLF = 5; SSR = 5; GP = .4; GRF = .55; GRLF= 2.8; SiEna = true; SiFEna = true; SiL = 0.4; SiR = 3; S3Ena = true; S3=.45; S3R1 = .6; S3R2 = 1.3; LS1 = L*S1; LS2 = LS1*S2; LS3 = LS1*S3; ES1...
glb/cad_e53752cc8101.glb
Create a Bus Pirate Box consisting of a hollow rectangular base and a matching lid. For the base, create a solid rectangular block 36mm wide, 59mm long, and 11mm high. Hollow out the center by removing a block 30mm wide, 53mm long, and 10mm high, leaving a wall thickness of 3mm on all sides. Cut a rectangular opening 8...
bwidth = 30 ; blength=53 ; bheight = 8 ; thickness = 3 * 2; translate([0,0,9]){ } translate([0,0,1.5]) { rotate(a=[0,180,0]) { bus_pirate_lid(); } } module bus_pirate_box(){ difference() { translate([0,0, -3]){ cube(size=[bwidth + thickness, blength+thickness, bheight + (thickness/2)], center=true); } ...
glb/cad_fba3719e5cc1.glb
Create a hose adapter flange consisting of a wide base and a central raised collar. Start by creating a flat circular base with a diameter of 121mm and a height of 4mm. Centered on this base, add a cylindrical collar with an outer diameter of 91.8mm and a total height of 15.5mm. This collar features a stepped interior ...
rotate([180,0,0]) difference() { union () { cylinder(h=4, d=121, $fn=200); translate([0, 0, 4]) { difference() { cylinder(h=11.5, d=91.8, $fn=200); rotate_extrude(angle=360, $fn=200) { translate([91.8 / 2 - 2, 0, 0]) { ...
glb/cad_bf358a7fd3c5.glb
Create a window mount for a WS2811 light string. Start by creating a circular ring with an outer diameter of 15.5mm, an inner hole diameter of 9.5mm, and a height of 3mm. Attached to the side of this ring, add a rectangular base plate that is 10mm wide and 3mm high, extending outward from the ring. From this base plate...
$fn=100; pi=3.141592653589793238; saugn_stift=9.5; z_steg=0.8; b_steg=10; u_material=3; d_ring=saugn_stift+u_material*2; z_ring=3; d_lampe=10.5; u_lampe=d_lampe*pi; difference () { union(){ cylinder(z_ring,d=d_ring); translate([saugn_stift/2,-b_steg/2,0]) { cube([u_material+2,b_steg,z_rin...
glb/cad_701d4414db16.glb
Create a bracket for a table stand by starting with a 20mm thick base. The footprint of this base is a polygon defined by the following vertices in the XY plane: (0,0), (0,40), (0,80), (-6,80), (-6,100), (8,100), (8,40), and (60,40), closing back at (10,0). Within this solid volume, create two perpendicular holes. Th...
difference() { linear_extrude(height=20, convexity=5) { polygon(points=[[0,0], [0, 40], [0, 80], [-6, 80], [-6, 100], [8, 100], [8, 40], [60, 40], [60, 30], [10, 0]]); } translate(v=[-0.1, 60, 10]) { rotate(a=[0, 90, 0]) { cylinder(d=10, h=3, $fn=20); cylinder(d=5, h=10.2, $fn=20); } } tra...
glb/cad_3cbbfd1f225c.glb