Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Reptibreeze XL stand bracket with a thickness of 20mm. The base profile is a flat polygon defined by the following vertices in the XY plane: start at (-6, 0), move to (-6, 6), then to (0, 6), then to (0, 40), then to (0, 80), then to (-6, 80), then to (-6, 100), then to (8, 100), then to (8, 40), then to (60, ...
difference() { linear_extrude(height=20, convexity=5) { polygon(points=[[-6,0], [-6, 6], [0, 6], [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,...
glb/cad_dbbdb36fd804.glb
Create a Halloween Medallion by constructing a shallow circular tray. Start with a solid cylinder that has a radius of 25mm and a total height of 5mm. From the top surface of this cylinder, remove a smaller concentric cylinder to create a hollow center. This inner cutout should have a radius of 22.5mm and a depth of 2....
base_thickness = 2.5; rim_thickness = 2.5; total_thickness = base_thickness + rim_thickness; rim_width = 2.5; medallion_size = 25; $fn=50; translate([0,0,-base_thickness]) difference() { cylinder(h=total_thickness, r=medallion_size,center=false); translate([0,0,(base_thickness)]) ...
glb/cad_42b308d93399.glb
Create a dual-chambered bong consisting of a main body and an angled stem. Start by constructing the main body as a hollowed-out rectangular structure. The lower section is a rectangular block approximately 68mm by 52mm by 5mm, which transitions upward into a smaller rectangular section of 38mm by 32mm by 10mm. Hollow ...
difference() { union () { difference() { translate([-14,-75,28]) rotate([-55,0,0]) cylinder(r1=9, r2=9,h=34, center=true); translate([-14,-75,28]) rotate([-55,0,0]) cylinder(r=6,h=35, center=true); rotate([90,0,0]) translate([0,0,40]) minkowski() { cube([70,32,100], center=true); translate([0,0,0]...
glb/cad_dcab9b86d38a.glb
Create a Collapsing Cup consisting of three concentric, captive rings. Each ring has a height of 20mm and a wall thickness of 2mm. The rings are nested such that the largest ring has an inside diameter of 60mm, and each subsequent inner ring's diameter decreases by 6mm (the sum of the wall thickness and a 4mm spacing)....
use <write/Write.scad>; use <utils/build_plate.scad> pi=3.1415926*1; cup=236.588237*1000; $fn=64*1; preview=0; diameter=60; h=20; numRings = 3; spacing=4; tt=2; g=0.6; half=0; handle=2; handleSize = 10; holeSize=2.5; build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; fsiz...
glb/cad_1ada6a029198.glb
Create a modular hollow universal joint for cable management. Start by constructing a central body consisting of a sphere with a radius of 11mm centered at the origin, with a smaller concentric sphere of 8.5mm radius and a cylinder of 5mm radius and 35mm height removed from its center to create a hollow shell. At the t...
module A() { hull() { translate ([3,-1.5,-20])cube([7,3,0.3]); translate ([3,-0.5,-12])cube([7,0.5,0.3]); } } difference() { cylinder(15.5,9,6.5); translate ([0,0,-0.5])cylinder(16.5,5,5); } difference() { translate ([0,0,20.5])sphere(8); translate ([0,0,11])cylinder(10,5,5); translate ([0,0...
glb/cad_a5f39c1cd3ff.glb
Create a simple block hot bed mount consisting of five interlocking geometric components. First, create two identical L-shaped brackets. Each bracket is formed by taking a 12mm x 24mm x 24mm cube and removing a 12.3mm x 16mm x 16mm section from the inner corner, leaving a wall thickness of 6mm on the remaining sides. P...
module A() { difference() { cube([12,24,24]); translate([-0.2,-0.2,-0.2])cube([12.3,16,16]); translate([3,-0.2,-0.2])cube([6,22,22]); } } module B() { difference() { cube([12,40,8]); translate([3,-0.2,-0.2])cube([6,41,6]); } } translate([3,-0.2,24])rotate([90,180,0])A(); translate([3,8,8])rotate([0,180,0])B(); trans...
glb/cad_909aec972e0f.glb
Create an anemometer propeller consisting of a central hub and three symmetrical arms. Start by creating a central disc 30mm in diameter and 3mm thick, with a concentric circular hole 17mm in diameter removed from the center. From this hub, extend three rectangular arms spaced 120 degrees apart. Each arm should be 40mm...
N=3; difference() { cylinder(h = 3, r=15, center =true); cylinder(h = 7, r=8.5, center =true); } for ( i = [0 : N-1] ) { rotate( i * 360 / N, [0, 0, 1]) translate(v = [30, 0, 0]) { cube (size = [40,5,3], center =true); } rotate( i * 360 / N, [0, 0, 1]) translate(v = [51, 3, 13.4]) difference() { sphere(...
glb/cad_10bcd8c696fe.glb
Create a vacuum adaptor consisting of two concentric cylindrical sections connected by a conical transition. Start by creating a base cylinder with an outer diameter of 101.6mm and a height of 26mm. From the top of this base, create a conical section that tapers upward from the 101.6mm diameter to an outer diameter of ...
wallThickness = 6.0; upperDiameter= 52.6; upperHeight = 26.0; lowerDiameter = 101.6; lowerHeight = 26.0; $fn=60; module pipeAdaptor(largerDiameter, largerHeight, smallerDiameter, smallerHeight, wallThickness) { lowerDiameter = largerDiameter > smallerDiameter ? largerDiameter : smallerDiameter; upperDiameter...
glb/cad_5c299d37d376.glb
Create a filament wiper consisting of a main box and a separate lid. For the box, start with a rectangular block 20mm wide, 10mm deep, and 20mm high. Hollow out the center by removing a rectangular volume 18mm wide, 9.5mm deep, and 17mm high, leaving a 1mm wall thickness on the sides and bottom. At the base of the box,...
difference(){ union(){ color("blue") translate([-13,-38.3,0.25]) scale([1.45,0.925,0.145]) cube(18); translate([-15,-40,0]) color("red") scale([1.5,1,0.05]) cube(20); } translate([0,-30,-2]) cylinder(6,d=5); } difference(){ translate([-15,-10,0]) color("red") scale([1.5,1,1]) cube(20); tran...
glb/cad_0e15453adcca.glb
Create a Wall Plate Rope Loop consisting of a flat base and a semi-circular loop. Start with a base plate 5mm thick. The base is formed by the union of two overlapping rounded arms, each with a radius of 11mm and a length of 21mm, rotated 35 degrees away from the center axis in opposite directions. In the center of...
$fn=30; $EC=0.5; $EC2=$EC/2; Base_Thick = 5; TabAngle = 35; TabArm_R = 11; TabArm_Len = 21; BHole_X = .8; BHole_Y = .9; Hole_Diam = 3.5; Hole_Angle = 12; Hole_Sep = .88; Wire_Support = true; Chamfer = true; Torus_R = .42; Torus_r = .5; TorWire_r = 1.5; T = 2*sqrt(1+tan((90-TabA...
glb/cad_a151f4244946.glb
Create a Rectangular Quick Release Tripod Mount. Start by creating a main body that transitions from a bottom rectangular base of 68mm by 61mm to a top rectangular face of 68mm by 54mm, with a total height of 8mm. On the top face, center a thin rectangular plate measuring 78mm by 69mm with a thickness of 1mm. This pl...
ShoeBottomWidth = 68; ShoeBottomLength = 61; ShoeTopWidth = 68; ShoeTopLength = 54; ShoeDepth = 8; FrontDetentLength = 15; FrontDetentWidth = 2; SideDetentLength = 16; SideDetentWidth = 3; TopPlateWidth = 78; TopPlateLength = 69; TopPlateDepth = 1; $fn=50 + 0; rotate(a=[0,180,0]) { difference() { shoe();...
glb/cad_3919d3ac6efc.glb
Create a print-in-place folding phone and tablet stand consisting of two symmetrical legs joined by three integrated hinges. Each leg is a flat plate with a thickness of 4.6mm, featuring a large cutout to accommodate a device up to 9mm thick. The cutout is designed with a specific profile that includes a small restrain...
device_length = 160; device_width = 72; device_thickness = 9; tilt_angle = 25; openangle_narrow = 50; openangle_wide = 90; display = "print"; module dummy(){} rmink = 1; layerht = 0.2; hinge_clearance = 0.20; hook_length = 6; hook_width = 5; overhang = 40; thickness = 4.6; table_clearance = 6; fwd_offset = 7; m...
glb/cad_8db91d562ec9.glb
Create a Tube End for an antenna mast. Start by creating a solid cylinder with a radius of 26.25mm (half of 52.5mm) and a height of 11mm. From this main body, remove a smaller concentric cylinder with a radius of 24.25mm (half of 48.5mm) and a height of 10mm to create a wall thickness of 2mm. Additionally, remove a cen...
tube_outer=48.5; tube_wall=4.1; material_wall=2; height=10; hole=20; $fn=40*1; module aussenkontur(){ hull(){ cylinder(r=tube_outer/2+material_wall,h=1); translate([tube_outer/2,0,0]) cylinder(r=hole/2,h=1); translate([0,0,height+1]) cylinder(r=tube_outer/2+material_wall,h=1); } } module innenkontur(){ ...
glb/cad_b6f9c0f0fc8f.glb
Create a memory card and USB drive holder block. The main body is a solid rectangular prism with rounded exterior corners (radius 1.8mm) and a base that is 25% wider than the top. The total height of the block is 13.8mm, with a minimum wall thickness of 1.8mm. On the top surface, carve out the following slots: 1. Crea...
SdWidth = 25.1; SdThickness = 2.2; SdDepth = 12; USBWidth = 12.4; USBThickness = 4.7; USBDepth = 12; MicroWidth = 9.8; MicroThickness = 0.9; MicroDepth = 8; UsbCWidth = 8.3; UsbCThick...
glb/cad_e6c7701b0615.glb
Create a customizable box and lid set. For the main box, create a rectangular shell with outer dimensions of 50mm width, 40mm depth, and 40mm height. The walls and the floor of the box should be 3mm thick. The interior cavity should be a centered rectangular void measuring 44mm by 34mm, with a height of 37mm. On the fr...
include <write/Write.scad> message = "My Stuff"; Font = "write/orbitron.dxf"; font_size = 8; box_width = 50; box_depth = 40; box_high = 40; box_wall_thickness = 3; translate ([box_width+10,0,0]) boxlid(); boxwithmessage(); module boxlid() { translate ([0,0,box_wall_thickness/2]) union () { cube([box_width,box_d...
glb/cad_b0176499b15e.glb
Create a TBS Aureo Drill Guide Jig by constructing a central cylindrical core with a diameter of 7.1mm and a height of 7.2mm. Surround this core with a series of connected structural elements. First, create four vertical cylinders, each with a diameter of 3.1mm and a height of 25mm, positioned at 90-degree intervals. P...
$fa = 2.0; $fs = 0.01; d2 = 2.15; d3 = 3.10; d7 = 7.10; h1 = 25.00; h2 = 7.20; difference() { union() { hull() { for(a = [0 : 90 : 270]) { rotate([0, 0, a]) translate([9.5, 0, -h1]) { cylinder(d = d3, h = h1); }; }; }; translate([0, 0, 0]) cylinder(d = d7, h = h2); for(a = [4...
glb/cad_440d4bed6633.glb
Create a Hama camera screw consisting of a tiered cylindrical structure with a total height of 18mm. Start by creating a base cylinder with a diameter of 21mm and a height of 9mm. Centered on top of this base, add a second cylinder with a diameter of 24mm and a height of 7mm, positioned 1mm above the bottom of the base...
$fn = 100; d_outer = 24; d_inner = 6.4; height = 18; height_inner = 7.6; module hama_photoscrew() { color([0.8,0.8,0.8]) difference() { union() { cylinder(r=(d_outer-3)/2, h=height/2); translate([0,0,1]) cylinder(r=d_outer/2, h=height/2-2); translate([0,0,height/2]) cylinder(r=d_inner/2, h=height/2); ...
glb/cad_7d2d7d9c56c8.glb
Create a compliant mechanism clip with a total height of 8mm. The model consists of two symmetrical handles connected by a central hinge and flexible spring leaves. Start with two handles, each 100mm long and 8mm wide, with rounded ends. Position a central hinge ball with a diameter of 15mm between them. On each sid...
clip_height=8; leaf_straight=10; hinge_diameter = 15; handle_width = 8; leaf_thickness=1.6; spring_d=4+leaf_thickness; spring_ri=spring_d/2-leaf_thickness; spring_inc_rot=5; gap=0.4; teeth_xy=7; teeth_gap=gap+teeth_xy/2; teeth=4; module leaf(){ translate([leaf_straight/2,0,-0]){ color("pink") translate([l...
glb/cad_bcd5407a73c9.glb
Create a parametric hole plug consisting of a tapered cylindrical body and a top cap. The main body is a hollow cylinder with a total internal height of 10mm. The lower 7mm of this body is a cylinder that tapers from a diameter of 15mm at the base to 16mm. The upper 3mm continues from 16mm, tapering back down to 15mm. ...
$fn = 30; $EC = 0.4; IH = 10; Split_P = .7; Int_PD = 16; TOff = 1; CF= 1/cos(180/$fn); Cap_D = 17; Cap_H = 2; Cap_Taper = .1; Num_Slice = 6; Wal_Thk = 2; Gap = 1 ; Z_Off = .1; Phase = 0; difference() { Body(); slots(); translate([0,0,-.01]) cylinder(d=(Int_PD-2*Wal_Thk)*CF-$EC, h=IH)...
glb/cad_4cb95e85bd2b.glb
Create a Prism Rail for Telescopes by constructing a hollowed-out trapezoidal prism. Start with a solid block that has a total length of 80mm and a height of 15mm. The cross-section of this block is a symmetric trapezoid: the base width is 37mm and the top width is 43mm. To create the interior cavity, remove a smalle...
$fn = 100; length = 80; a = 43; c = 37; h = 15; module GP_Level_prism_rail_trapezoid() { translate([-c/2,-h/2,-length/2]) { linear_extrude(height=length) { union() { square([c,h]); translate([c,0,0]) polygon(points=[[0,0],[(a-c)/2,0],[0,h]], paths=[[0,1,2]]); translate([0,0,0]) mirror([1,0,...
glb/cad_ebb7bb06e247.glb
Create a servo mount consisting of a main vertical body and a horizontal base flange. The main body is a rectangular block 29.82mm wide, 52.84mm high, and 20mm deep. Centered within this body, create a rectangular cutout for the servo that is 20.82mm wide, 39.88mm high, and 26.67mm deep. Extend the base of the body wi...
a = 19.82; b = 13.47; c = 33.79; d = 10.17; e = 9.66; f = 30.22; g = 11.68; h = 26.67; j = 52.84; k = 9.35; l = 4.38; m = 39.88; x = 3.05; spline = 5; servo_mount(); module servo_mount() { $fs = 0.1; wall = 5; bolt = 3.5; width = a+wall*2; height = j; depth = wall*4; splineX = (a/2+wall); splineY = (j-(j...
glb/cad_b2af76a41618.glb
Create a generic USB stick case consisting of an enclosure and a removable cover. For the enclosure, create a main body by forming a hull between two cylinders with a radius of 4.5mm and a height of 37mm, positioned 16mm apart along the x-axis. Hollow out the center by removing a rectangular block 17.5mm wide, 7mm hi...
board_length = 37; board_width = 17.5; board_height = 7; radius = (board_height + 2) / 2; width = 16; front_mergine = 1.5; case_length = board_length + front_mergine; cover_length = 3; cover_thickness = 1.5; cover_tab_thicness = 1; usb_inlet_width = 12.8; usb_inlet_height = 5.2; usb_offset_y = 0.2; part = "both"; ...
glb/cad_458fead82f7d.glb
Create a generic USB stick case consisting of an enclosure and a cover. For the enclosure, create a main body by forming a hull between two cylinders with a radius of 4.5mm and a height of 42.5mm, positioned 16mm apart. Hollow out the center of this body with a rectangular block measuring 17.5mm wide, 7mm high, and 41m...
$fn = 32; board_length = 41; board_width = 17.5; board_height = 7; radius = (board_height + 2) / 2; width = 16; front_mergine = 1.5; case_length = board_length + front_mergine; cover_length = 3; cover_thickness = 1.5; cover_tab_thicness = 1; usb_inlet_width = 12.8; usb_inlet_height = 5.2; usb_offset_y = 0.2; part...
glb/cad_019a4f6002af.glb
Create a NEMA17 motor mount with a total frame width of 52mm and a wall thickness of 5mm. Construct the main body using three rectangular slabs: a front face and two side faces, each 5mm thick, forming a U-shaped bracket. At the four outer corners of the bracket, add spheres with a radius of 10mm, centered such that th...
nema_17_mount(); module nema_17_mount() { $fs = 0.1; wall_thickness = 5; motor_width = 42; frame_width = motor_width + (wall_thickness + 1)*2; bolt = 4; height = 25; x1 = -wall_thickness; y1 = wall_thickness*2; x2 = frame_width+wall_thickness; y2 = wall_thickness*2; x3 = -wall_thickness; y3 = frame_width...
glb/cad_110a1a5b1051.glb
Create an iPhone 4/4s tripod mount consisting of a phone case and a tripod screw adapter. First, construct the phone case by creating a solid block 70mm wide, 61mm deep, and 12mm high. From the center of this block, remove a rectangular volume of 114.2mm by 52mm by 9.5mm to create the main slot, and remove a second r...
module iphone() { union() { cube([115.5, 58.6, 6.4], center=true); cube([114.2, 57.3, 9.5], center=true); translate([115.5/2+0.5/2,-15,0]) cube([0.5,10 , 2.4], center=true); } } module iphonecase() { difference() { translate([-52/2,0,0]) cube([70,61,12], center=true); iphone(); translate([0,0,-5]) ...
glb/cad_d3e7465381e2.glb
Create a SciencePack container by starting with a base shape formed from the Minkowski sum of a 0.01mm x 0.01mm x 40mm cube and a sphere with a 30mm radius scaled to 85% along the Z-axis. From this main body, remove several geometric features. First, subtract a smaller version of the same container shape scaled by 0....
res=100; module ScienceContainer(){ minkowski(){ cube([0.01,0.01,40],center=true); scale([1,1,0.85]) sphere(r=30,center=true,$fn=res); } } module Battery74V(){ union(){ cube([10,30,52],center=true); translate([0,16.9,15]) cube([8,5,20],center=true); translate([-6,16.9,8]) rotate([0,90,0]) cube([8,5,...
glb/cad_2461a60df8e0.glb
Create a bearing mount consisting of a vertical housing and a flat base. Start with a rectangular base plate 32mm wide, 12mm thick, and 5mm high. Centered on this base, build a vertical housing 32mm wide and 12mm thick that extends 25mm upward. At the top of this housing, create a circular cutout to hold a bearing. T...
module bearing_bracket() { $fs = 0.1; od = 22; id=8; bearing_thick = 7; rotator = 18; center_height = 25; wall = 5; thick=bearing_thick + wall; width = od + wall*2; bolt = 4; fudge = 0.25; translate([-width/2, 0, 0]) { difference() { union() { cube([width, thick, center_height]); tran...
glb/cad_6362bf2b8ccb.glb
Create a T-Slot NEMA 17 Mount by starting with a central rectangular block measuring 88.3mm wide, 25mm deep, and 62.3mm high. Carve out a large central rear section measuring 42.3mm wide, 21mm deep, and 78.3mm high. Remove a cylinder with a 11.5mm radius and 8mm height from the center of the front face to create the mo...
difference(){ translate([0,0,31.15])cube([88.3,25,62.3], center=true); translate([0,3,24]){ cube([42.3,21,78.3], center=true);} translate([0,-4.65,41.15]){ rotate([90,0,0]){ cylinder(r=11.5, h=8);}} translate([35.15,0,43.75]){ cube([18.5,26,37.5],center=true);} translate([32.65,3,10]){ cube([23.5,21,21]...
glb/cad_9e90edd0c8d9.glb
Create a customizable ratchet gear with a total thickness of 8mm. Start by creating a main central cylinder with a radius of 27mm. Around the perimeter of this cylinder, add 15 equally spaced trapezium-shaped teeth. Each tooth should extend the total outer radius to 31mm, with a top width of 3mm. To create the interna...
outer_radius=31; inner_radius=27; thickness=8; spokes = 3; spoke_width = 10; shaft_diameter=5; shaft_tol=0.15; tooth_shape=3; n_teeth=15; radial_offset=5; tooth_width=3; $fn=50; theta = 360/n_teeth; height = outer_radius - inner_radius; base = min(2*(inner_radius)*sin(180/n_teeth),17); x0 = inner_radius*cos(...
glb/cad_92aa6e61a03a.glb
Create a Vertical Mount Direct Extruder consisting of two primary components: a main clamp and a fan mount. First, construct the clamp as a rectangular block measuring 29mm in width, 11mm in height, and 23mm in depth. Carve a central channel through the block consisting of a cylinder with a 7mm radius and a length of...
$fn=29; union(){ translate([0,-12,0])clamp(); translate([0,12,-8])rotate([-90,0,0])fanMount(); } module fanMount(){ translate([0,3,2 ])difference(){ cube([29,4,31], center=true); cube ([25,6,27],center=true); } } module clamp(){ difference(){ translate([-29/2,0,-13])cube([29,11,23]); translate([0,0-0.5,10...
glb/cad_7abd72421f69.glb
Create a Vertical Mount Direct Extruder for a J-Head. The main body is a block with a central NEMA 17 motor mount. This mount is a rectangular volume 42mm wide and 53mm deep, featuring a central bore of 11mm and four corner mounting holes with a radius of 1.8mm. On the sides of the body, add two mounting wings. Each w...
$fn=11; translate ([0,0,52])rotate([0,90,0])body(); module body(){ translate([49,-14.25,11]){ rotate([90,0,-90]){ difference(){ cube([7,22,6],center=true); translate([0.25,7.5,0]){ cylinder(r=3.5/2,h=7,center=true); } translate([0.25,3.5-11,0]){ cylinder(r=3.5/2,h=7,center=tr...
glb/cad_b331f7a284ca.glb
Create a lattice mount piece by starting with a rectangular block measuring 25mm wide, 23mm deep, and 35mm high. Remove a horizontal cylindrical hole with a radius of 6.4mm that passes completely through the block, centered at a height of 23mm and positioned 10mm from the back edge. Create a vertical cylindrical hole w...
difference() { color("grey") union() { cube([25,23,35]); } color("green", 0.5) union() { translate([-10,10,23]) rotate([0,90,0]) cylinder(h = 50, r=6.4, center = false, $fs=.1); translate([25/2,7,23]) rotate([-90,0,0]) cylinder(h = 50, r=5, center = false, $fs=.1); } color("red") translate([25/2,29,-1]) c...
glb/cad_f3705fa8f595.glb
Create a lattice mount piece by starting with a solid rectangular block that is 25mm wide, 37mm deep, and 5mm tall. Add a second rectangular block on top of the first, measuring 25mm wide, 23mm deep, and 30mm tall, resulting in a total height of 35mm for that section. From this combined volume, remove a horizontal cyli...
difference() { color("grey") union() { cube([25,37, 5]); cube([25,23,35]); } color("green", 0.5) union() { translate([-32.5,10,23]) rotate([0,90,0]) cylinder(h = 50, r=6.4, center = false, $fs=.1); translate([25/2,7,23]) rotate([-90,0,0]) cylinder(h = 50, r=5, center = false, $fs=.1); } color("red") tran...
glb/cad_2251417fcdba.glb
Create a lattice mount piece by starting with a solid rectangular block that is 25mm wide, 37mm deep, and 5mm high. Add a second rectangular block on top of this base, measuring 25mm wide, 23mm deep, and 30mm high, resulting in a total height of 35mm for that section. From this combined volume, remove a horizontal cyli...
difference() { color("grey") union() { cube([25,37, 5]); cube([25,23,35]); } color("green", 0.5) union() { translate([7.5,10,23]) rotate([0,90,0]) cylinder(h = 50, r=6.4, center = false, $fs=.1); translate([25/2,7,23]) rotate([-90,0,0]) cylinder(h = 50, r=5, center = false, $fs=.1); } color("red") transl...
glb/cad_2895b051b221.glb
Create a button fascia cap by starting with a solid cylinder that has a radius of 8mm and a height of 8mm, centered on the Z-axis and extending from Z = -1mm to Z = 7mm. Remove a smaller concentric cylindrical hole from the center with a radius of 3.3mm, extending from Z = -2mm up to a height of 5.5mm. Finally, carve o...
cap_height = 8; cap_radius = 8; module cap(h=cap_height, r=cap_radius) { thumb_depth = 6 * h; thumb_radius = thumb_depth * .9; difference() { translate([0,0,-1]) cylinder(h=h, r=r); translate([0,0,-2]) cylinder(h=5.5, r=3.3); translate([0,0,thumb_depth]) sphe...
glb/cad_00e0c3be27bd.glb
Create a window hinge cover with a hollow interior and a wall thickness of 1.5mm. The main body is a vertical sleeve with an internal width of 12mm and an internal height of 93mm. The internal depth is 16mm. Construct the outer shell by combining a cylinder of 12mm diameter with a rectangular block that extends the d...
innenbreite=12; innenhoehe=93; innentiefe=16; innentiefe_flansch = 2.2; innenbreite_flansch = 9; radius_oben=5; material_thickness = 1.5; $fn=60; difference() { round_edge(material_thickness)groundShape(); groundShape(); translate([0,0,-10*material_thickness]) cylinder(d=2*innenhoehe, h=10*material_thicknes...
glb/cad_cb3f378a3e4d.glb
Create a wireframe equilateral triangular prism with a height of 100mm. The structure consists of two identical equilateral triangular rings connected by three vertical pillars. First, construct the bottom triangular base. Place three spheres with a radius of 10mm at the vertices of an equilateral triangle with side l...
cl=100; obj_hgt=cl; cr=10; sr=cr; iso_angle=60; x_dis=cos(iso_angle); echo("x dis: ", x_dis, " mm"); y_dis=sin(iso_angle); echo("y dis: ", y_dis, " mm"); translate ([0,0,0]) rotate ([0,0,0]) cylinder (cl,cr,cr); translate ([cl,0,0]) rotate ([0,0,0]) cylinder (cl,cr,cr); translate ([cl*x_dis,cl*y_dis,0]) rotate ([0,0,0...
glb/cad_8b4af75ab5f5.glb
Create a wireframe equilateral triangle structure with a height of 240mm. The structure consists of two identical triangular frames connected by three vertical pillars. First, construct the base and top frames. Each frame is an equilateral triangle with a side length of 240mm and a cross-sectional radius of 10mm. Posi...
$fn=36; cl=240; oh=cl; cr=10; sr=cr; iso_angle=60; x_dis=cos(iso_angle); echo("x dis: ", x_dis, " mm"); y_dis=sin(iso_angle); echo("y dis: ", y_dis, " mm"); oxf=-(cl*x_dis); oyf=-1/3*(cl*y_dis); union () { translate ([0+oxf,0+oyf,0]) sphere(sr); translate ([cl+oxf,0+oyf,0]) sphere(sr); translate ([cl*x_dis+oxf,cl*y_d...
glb/cad_45ac9f15f09a.glb
Create a coin drawer by starting with a solid cylinder that has an outer diameter of 80mm and a height of 25mm. From this main body, remove a central vertical cylinder with a diameter of 20mm and a height of 11mm, positioned to leave a 10mm base. Around the center, create eight circular cutouts to hold Euro coins. Ea...
coins = [16.25 ,18.75,21.25,19.75,22.25,24.25,23.25 ,25.75 ]; coinName = ["1c" ,"2c" , "5c","10c","20c","50c","1Euro","2Euro"]; OD=80; H=25; $fn = 72; function AngByDist(R,L) = asin(R/L); function offset(d) = OD/2-d*0.35; function rotAng(n) = (n == 0 ? 0 : AngByDist(coins[n-1]/2,offset(coins[n-1])) + AngByDist...
glb/cad_4031fde6e9d4.glb
Create a Spiral Motor consisting of a central rotor and a supporting stand frame. Construct the rotor as a cylinder with a diameter of 200mm and a thickness of 14mm. Hollow out the center to create an inner ring, and carve a spiral path into the face of the cylinder. Along this spiral, create a series of holes for ma...
motor(); ball_bearing_outide_diameter = 22; ball_bearing_inside_diameter = 8; ball_bearing_width = 7; border = 2; frame_space = 6; frame_tickness = 4; frame_segment = 4; spiral_height = 10; magnet_diameter = 10; magnet_tickness = 2; hub_segment = 8; hub_diameter = 40; hub_hole_diameter = 6; rotor_count = 1; roto...
glb/cad_2be7172a69f8.glb
Create a doll house shower with a total height of 80mm. The main body is a rounded rectangular box with a width of 50mm, a length of 50mm, and a wall thickness of 8mm. The box is open at the top and has a rounded floor. Inside the shower, position a shower head nozzle and a handle. The nozzle consists of a small cylin...
use <MCAD/boxes.scad>; height = 80; width = height/1.6; length = height/(1.6*2); wall = height/10; corner_rad = height/32; rotate([-90,0,0]) { shower_box(); nozzle(); handle(); drain(); } module shower_box() { difference() { roundedBox([width, length, height], corner_rad, false); translate([0,-wall/2,0])...
glb/cad_474f2cdb451c.glb
Create a PID bracket by starting with a main rounded box measuring 97mm wide, 119mm long, and 37mm high, with a corner radius of 3mm. Hollow out the center to create a cavity for the PID device with internal dimensions of 95.56mm wide, 119.53mm long, and 35.46mm high, leaving walls that are 6mm thick. Modify the inte...
use <boxes.scad>; pad = 0.1; wiggle_room = .5; pid_width = 94.56+wiggle_room+1; pid_length = 117.53+(wiggle_room*2)+2; pid_height = 34.46+wiggle_room; wall = 6; edgeRadius = 3; tabwidth = 5.0; front_tab_rad = 1.5; gap = .1; screw_circle_pad = 1.05; thickness = wall+pad; screw_shaft_diameter = 5 * screw_circle_pad; sc...
glb/cad_6e7b7730393c.glb
Create a CNC Dust Shoe consisting of a mounting base and a detachable shoe. First, create the mounting base as a rectangular block 122mm wide, 80mm deep, and 5mm thick. In the bottom face, place three M5 screw holes: two positioned at [15, 18.5] and [15, 60.5], and one at [69, 40]. Next, construct the shoe as a holl...
module spindle_mount(){ difference(){ union(){ translate([0,0,0]) cube([80,80,20]); translate([43,40,-4]) cylinder(24, 21.5, 21.5); translate([43,40,-32]) cylinder(28, 10, 10); translate([43,40,-63]) cylinder(30, 4, 4); translate([43,40,20]) cylinder(200, 32, 30); translate([-35,0,-15])...
glb/cad_b6100dee8e6b.glb
Create a CNC Dust Shoe consisting of a mounting base, a shoe, and a vacuum adapter. First, create the mounting base as a rectangular block 122mm wide, 80mm deep, and 5mm thick. In the bottom surface, place two M5 screw holes centered at x=15mm, with one at y=18.5mm and the other at y=60.5mm. Second, construct the du...
module spindle_mount(){ difference(){ union(){ translate([0,0,0]) cube([80,80,20]); translate([43,40,-4]) cylinder(24, 21.5, 21.5); translate([43,40,-32]) cylinder(28, 10, 10); translate([43,40,-63]) cylinder(30, 4, 4); translate([43,40,20]) cylinder(200, 32, 30); translate([-35,0,-15])...
glb/cad_aed8cbe65e89.glb
Create a Greg Wade extruder for an e3dv6 hotend. Construct the main extruder body as a block with a height of 55mm, a width of 24mm, and a depth of 28mm. Add a base with a length of 70mm and a thickness of 7mm, incorporating a 6mm bevel between the base and the main block. Integrate a motor mount with a thickness of 8...
include<configuration.scad> include<jonaskuehling-default.scad> malcolm_hotend_mount=1; groovemount=2; peek_reprapsource_mount=4; arcol_mount=8; mendel_parts_v6_mount=16; grrf_peek_mount=32; wildseyed_mount=64; geared_extruder_nozzle=128; jhead_mount=256; reprapfaborg_mount=512; elevation=4; extra_gear_separation=2;...
glb/cad_80a9c3887d34.glb
Create a Yazzonic Disc Balls connector consisting of a central disc with integrated spherical joints. Start by creating a main disc with a radius of 27mm and a thickness of approximately 6.18mm (calculated as 10mm divided by the golden ratio). At the center of this disc, create a vertical cylindrical hole with a radi...
spherecirclejoint(10,4); goldenratio = 1.61803399; discradius = 27; jointexpansionfactor = 1.11; module sleeve(innerradius, outerradius, thickness) { difference() { cylinder(r=outerradius, h=thickness, center=true); cylinder(r=innerradius, h=thickness+0.5, center=true); } } module spherecirclejoint(radius...
glb/cad_f8fcf687bed7.glb
Create a Yazzonic Disc Balls Onit connector by combining a hollow cylindrical tube with a modified spherical joint. Start by creating a cylinder with an outer radius of 6.95mm and an inner radius of 4.3mm, extending to a length of 22mm. Position this cylinder so its central axis runs along the X-axis. At one end of th...
goldenratio = 1.61803399; IR = 4.3; OR = IR * goldenratio; Length = 22; Radius = 10; ballgrabber(Length, IR,OR, -0.2*Length); module roundcircleholder(Length, IR, OR, Offset) { difference() { cylinder(r=OR, h=Length, $fn =12); translate([0,0,Offset]) cylinder(r=IR, h=Length+0.5, $fn =32); } } module sphere...
glb/cad_b3c2a6f1c5ae.glb
Create a Base Ram Mount consisting of two symmetrical interlocking parts designed to fit a tube with a diameter of 25mm. First, construct the main body as a cylinder with a radius of 32.5mm and a height of 39mm. Remove a concentric inner cylinder with a radius of 12.5mm and a height of 50mm. Cut a rectangular slot th...
DIMTUB=25; ra=DIMTUB/2*1; rb=ra+20*1; rc=rb-ra*1; rd=rc/2*1; r1=7.5*1; r2=7.5*1; th=19*1; r3=16.5*1; d=DIMTUB-6*1; color("blue") difference(){ union(){ union(){ difference(){ union(){ difference(){ cylinder(r=rb,h=39,$fn=100); translate ([0,0,-2]) cylinder(r=ra,h=50,$fn=100); translate([-rb-5,0,-2]) cube([rb*2+10,rb...
glb/cad_87a81ea772c8.glb
Create a 3D model of the Reddit Alien mascot. The figure is composed of several primitive shapes. For the head, place an ellipsoid centered at [22.25, 39.1, 0] with a width of 19.7mm and a height of 13.3mm. For the torso, place a wider ellipsoid centered at [22.25, 22, 0] with a width of 9.5mm and a height of 23mm. Fo...
use <MCAD/shapes.scad> module reference_alien() { translate([0,0,-20]){ %difference(){ import_stl("reddit.stl",convexity=10); translate([0,0,-10]) cube([50,70,30]); } } } difference() { alien(); translate([0,0,-30]) cube([50,70,30]); } translate([50,0,0]) difference(){ translate([50,0,0]) rotate([0,180,0]) ali...
glb/cad_e5320143c4f4.glb
Create a narrow gauge wheel with a total diameter of 22mm and a thickness of 5mm. The main body is a revolved profile starting from a central axle radius of 1.5mm. This profile extends outward to a maximum outer flange radius of 11.5mm with a flange height of 2.5mm and a flange width of 1.1mm. The inner section of the ...
Wheel_diameter=22; Wheel_radius=0.5*Wheel_diameter; Wheel_thickness=5; Wheel_center_thickness=1.5; Flange_height=2.5; Flange_width=1.1; Axle_bushing_diameter=5; Axle_bushing_radius=0.5*Axle_bushing_diameter; Axle_bushing_thickness=5; Hole_diameter=4.1; Hole_radius=0.5*Hole_di...
glb/cad_944dd827e578.glb
Create a transition funnel with a total height of 70mm and a consistent wall thickness of 2mm. The object is composed of three vertical segments: a bottom section, a middle transition, and a top section. The bottom section is a cylinder with a height of 20mm and an inner diameter of 50mm. The top section is a cylinder...
$fn=40; 2d = true; Wall_Thk=2; Top_ID = 10; Top_Taper = 0; Top_H = 30; Mid_H = 30; Bot_ID = 50; Bot_Taper = 0; Bot_H = 20; Collar = true; Side_Count = 4; Collar_D = 40; Collar_T = 5; Collar_H = .1; Collar_Phase = 0; Collar_Ang = 0; Holes = true; Hole_Count = 4; Hole_Offset = 7; Hole_D...
glb/cad_7ab943930f75.glb
Create a Brain Slug creature by starting with a central body shaped as a sphere with a radius of 25mm, scaled vertically by a factor of 1.75 to form a prolate spheroid. Position a single eye on the front of the body at coordinates [0, -10, 25]. The eye consists of a white cylinder with a radius of 10mm and a height of ...
$fn=60; BrainSlug(); module BrainSlug() { ClipBottom() { Body(); Antenna(); Eye(); Legs(); } } module ClipBottom() { difference() { children(); translate([0,0,-300]) sphere(r=300); } } module Body() { color("green") scale([1,1,1.75]) sphere(r=25); } module Eye() ...
glb/cad_b4722f696eb8.glb
Create a glow and starter knob for a tractor. The main body is a rotationally symmetrical part formed by rotating a specific 2D profile around the Z-axis. This profile starts at the origin, rises to a height of 2.6mm, extends outward to a radius of 2.1mm, then steps up to a height of 13.7mm with a radius of 2.1mm, step...
use <threadlib/threadlib.scad> r = 2.5; fasenbreite = 0.2; fase_x_y = sqrt(pow(fasenbreite,2)/2); negative_radius = 126; offset=-0.58; type = "M5"; turns = 12; Douter = thread_specs(str(type, "-int"))[2] * 1.2; $fn=180; union() { difference() { color("green") rotate_extrude() knob_2D(); ...
glb/cad_fdd4d91fd075.glb
Create a Project Tombstone model consisting of a tombstone and a base. First, construct the tombstone as a trapezoidal prism with a height of 70mm and a thickness of 10mm. The top should be rounded with a radius of 10mm. In the upper center of the tombstone, create a cubic window opening measuring 25mm by 25mm with a...
use <utils/build_plate.scad>; use <write/Write.scad>; 01_TS_Height = 70; 02_TS_Top_Width = 47; 03_TS_Window_Radius = 10; 04_TS_Thick = 10; 05_TS_Angle_A = 5; 06_TS_Angle_B = 0; 07_Cube_Window_XY = 25; 08_Cube_Window_Z = 3.4; 09_Tolerance = 0.2; 10_Quote_X = 29; 11_Quote_Y = 35; 12_Quote_Z = 1.5; 13_Text_1 = "RIP"; 14...
glb/cad_094c097c5d70.glb
Create a sewing button by starting with a cylinder 27.25mm in diameter and 2.75mm in height. To create the concave top, remove a spherical section from the center of the cylinder using a sphere with a diameter of 60mm, positioned so that the sphere's center is 29.45mm above the button's center (calculated as half the s...
$fn = 100; HOLENUMBER = 4; HOLEDIAMETER = 2.25; HOLEDISTANCE = 4; DIAMETER = 27.25; HEIGHT = 2.75; SP = 60; difference() { difference() { cylinder(h = HEIGHT, d = DIAMETER, center = true); union() { for( i = [1 : HOLENUMBER]) { translate([HOLEDISTANCE/2*sin(360/HOLENUMB...
glb/cad_fef65d295a4c.glb
Create an MKS Base mount case. Start with a main base plate measuring 140mm by 115mm by 3mm. Construct a housing with a height of 55mm. On the front face, create a rectangular cutout of 42mm by 42mm by 3mm to accommodate a fan. Within this fan area, place four circular mounting holes with a radius of 5mm, centered 21...
module mks_base_mount_hole() { cylinder(r=7/2,h=8,center=true); translate([0,0,-8/2+6/2]) cylinder(r=10/2,h=6,$fn=16,center=true); }; module mks_base_lid_mount_hole(left=true) { difference() { cube([12,12,(55-3)],center=true); union() { cylinder(r=3.2/2,h=56,...
glb/cad_c5f342d211e1.glb
Create a square plate measuring 100mm by 100mm with a thickness of 10mm. In this plate, create a series of filleted holes arranged in a circle with a radius of 30mm, spaced every 45 degrees. Each hole must be a vertical passage with a radius of 2mm. The top and bottom openings of these holes should be filleted with a...
$fn=10; tf=true; bf=true; Thick = 10; HoleR = 2; RoundingR = 3; nR = 15; nr = 15; difference() { Target(); FilletHole_3d(P=[for (i=[0:360/8:360]) 30*[cos(i),sin(i)],],r=HoleR,d=Thick,rr=RoundingR,nr=nr,nR=nR,tf=tf,bf=bf); } module Target() { translate([0,0,-Thick/2]) cube([100,...
glb/cad_a22d4b850d46.glb
Create a customizable pipe holder. Start with a rectangular base plate measuring 72mm in length, 3 {pipe_diameter + 12}mm in width, and 3mm in height, centered on the origin. On top of this base, add a cylinder with a height of 10mm and an outer diameter of 34.4mm, centered on the origin. Hollow out this cylinder by re...
fixture_hole_distance = 60; fixture_hole_diameter = 6.2; pipe_holder_height = 10; pipe_diameter = 28.4; wall_thickness = 3; pipe_holder_cutout_height = pipe_holder_height + 0.1; difference() { union() { cube([fixture_hole_distance + 4 * wall_thickness, pipe_diameter + 4 * wall_thickness, 3],...
glb/cad_39a4dcbafa4c.glb
Create a badminton racket model with a total height of 3mm. Start by forming the racket head as an oval with a width of 55.17mm and a height of 46.91mm. Attach a shaft to the bottom of the head that is 90mm wide and 3mm thick. Extend this shaft into a handle assembly consisting of a rectangular grip 55mm wide and 6mm t...
netx = 55.17; nety = 46.91; skafty = 3; skaftx = 90.0; haandx=30; haandy = 6; kantz = 1.5; kantxy = 3; module fladracket(){ union(){ resize([netx,nety]) circle(d = 50, $fn = 96); translate([netx/2 - 0.5,-skafty/2]) square([skaftx,skafty]); translate([skaftx - 2.5,0]) polygon(points=[[0,-haandy/2],[0,haandy/2],[-haa...
glb/cad_54c61c8f049f.glb
Create a hexagonal mesh consisting of a grid of hexagonal prisms. Each prism should have a radius of 3mm and a thickness of 2mm. Arrange the prisms in a grid of 4 rows and 1 column. The prisms in each row are spaced apart by 1mm. The rows are offset from one another to create a interlocking honeycomb pattern: the fir...
hex_mesh(nrows=4,ncols=1,thickness=2,radius=3,spacing=1); module hex_mesh(nrows=4,ncols=1,thickness=2,radius=3,spacing=1) { m = ncols; n = nrows; aux1 = sqrt(3)/2*radius+spacing/2; rotate([90,0,0]) { for(ii = [0 : 1 : 2*n-1]) translate([0,ii*aux1,0]) if (ii%2==1) translate([radius*1.5+sqrt(3)/2*spacing,0...
glb/cad_cff42be17a4b.glb
Create a storage shelf foot replacement consisting of a main hollow tube and a wider base. Start by creating a base cylinder with a height of 10mm, a bottom radius of 25.75mm, and a top radius of 20.875mm. Above this base, add a main cylinder with a height of 131.5mm and a radius of 20.875mm. Hollow out the center of ...
total_height_text_box = 141.5; shell_width = 2; top_shell_width = 1.5; outer_diameter_textbox = 41.75; foot_diameter_text_box = 51.5; foot_relief_height_text_box = 10; foot_hole_diameter_text_box = 25; friction_line_height_text_box = 30; friction_line_width_text_box = 1; friction_line_depth_text_box = 0.25; f...
glb/cad_5553eefcc8d4.glb
Create a CNC 3018 spindle holder featuring a central cylindrical cavity with a diameter of 52.5mm to house the motor. The main body is a rectangular block with a total width of 70mm, depth of 40mm, and height of 35mm, featuring rounded corners with a 2mm radius on the top Z-axis faces. The structure includes a mountin...
$spindleDiameter = 52.5; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius; translate_xmax = size[0] - radius; translate_ymax = size[1] - radius; translate_zmax = size[2] - radius; diameter = rad...
glb/cad_ce2d306d93d8.glb
Create a PCB standoff with a split base. Start with a cylindrical base that has an outside diameter of 8mm and a height of 0mm. From this base, extend a central pillar with a diameter of 3.5mm and a total height of 8mm. The pillar should be constructed as a series of stacked sections: a lower section that transitions...
include<MCAD/metric_fastners.scad> Stand_Off_Type = "split_base"; Hexagon = "false"; Outside_Diameter = 8; Inside_Diameter = 3.5; Length = 8; Clearance = 0.6; Base_Thickness = 0; PCB_Thickness = 1.5; difference() { union() { pcb_stand_off(type=Stand_Off_Type,hex=Hexagon, od = Outside_Diameter, id = Inside_Dia...
glb/cad_bced175f0856.glb
Create a lock pick handle with a rounded, elongated body. The main outer body is a rectangular slab with a total length of 76.1mm, a width of 11.3mm, and a thickness of 3.9mm. The two ends of the handle are fully rounded with a radius of 5.65mm. The handle features a central hollow cavity designed to hold a lock pick....
$fn = 80; handle_wall_thickness = 1.5; handle_clearance = 0.2; handle_fillet_radius = 1; lockpick_thickness = 1.5; lockpick_width = 8.1; lockpick_length = 80.1; rivet_thickness = 1; rivet_dia = 5.1; rivet_hole_dia = 2.4; rotate([90, 0, 0]) { lockpick_handle(); } *assembled(); module assembled() { lockpick...
glb/cad_dcaec2d8f70d.glb
Create a cake decoration sign featuring the text "Happy Birthday" in a bold italic Arial font. The text should be 8mm tall with a depth of 3mm, centered horizontally and vertically. Position the text directly above a thin rectangular base that serves as an underline. This base must be 80mm wide, 1.5mm thick, and 3mm de...
Size = 8; Dept = 3; Width = 80; Text = "Happy Birthday"; translate([0,Size/2-0.1,0]) linear_extrude(Dept) text(Text, halign="center", font="Arial:style=Bold Italic", valign="center", size=Size); translate([-Width/2,0,0]) cube([Width,1.5,Dept]); translate([0,-40,0]) cube([1.5,40,1.5]);
glb/cad_92fca6c666f0.glb
Create a pair of handcuffs consisting of two identical cuff assemblies connected by a central chain or bridge. For each cuff, construct a circular ring with an inner diameter of 27mm. The ring should be formed by a thick band with a width of approximately 4mm. Integrate a locking mechanism into the ring consisting of...
left_wrist_hole=27; right_wrist_hole=27; translate ([0,-40,15])rotate ([0,90,0])union (){ rotate ([0,0,-90])union (){ difference () {union () {translate ([4,-70,-20]) rotate ([0,0,90]) cube ([4,2,25]); translate ([2,-70,-20])rotate ([0,0,90])cube([4,4,8]); translate ([3,-70,-22])cube([4,4,10]); translate ([6,-70,-23...
glb/cad_b1df28f04b9c.glb
Create a Customizable Pegboard Double Hook. Start by constructing a rectangular mounting panel that is 7mm thick, 25.4mm high, and has a width of 71.1mm. Within this panel, create two cylindrical mounting holes with a diameter of 4.05mm (the hook diameter of 3.75mm plus a 0.3mm tolerance). These holes should be spaced ...
holeDiameter = 5.25; holeSpacing = 25.4; boardThickness = 6; topAnchorAngleStep = 10; $fn = 25; DhHookDia = 3.75; DhHoleAdd = 0.3; DhGap = 61; DhBuffer = 2; DhBufferAdd = 0; DhAddBrace = true; DhBraceScale = 0.6; DhHookLength = 80; DhHookEndRise = 6; DhHookEndAngle = 50; DhPanelThickness = 7.0...
glb/cad_3f0de355a8e2.glb
Create a clothes rail bracket consisting of a square base and a vertical cylindrical holder. Start with a square base plate measuring 40mm by 40mm with a thickness of 3mm, centered on the origin. In this plate, create four circular holes with a radius of 1.5mm, each positioned 14mm from the center along both the X and ...
dicke = 3; kanten = 40; lochpos = kanten / 2 - 6; loch = 3; stange = 15; laenge=20; sicherung=5; union (){ difference(){ cube ([kanten, kanten, dicke], center=true); translate ([lochpos,lochpos,0]){ cylinder(h=dicke, r=loch/2, center=true); } translate ([-lochpos,lochpos,0]){ cylinder(h=dicke, r=loch...
glb/cad_340d24d4e5e3.glb
Create a clothes rail bracket consisting of a square base plate and a semi-cylindrical holder. Start with a square base plate measuring 33mm by 33mm with a thickness of 3mm. At each of the four corners of the plate, center a circular hole with a diameter of 3mm that passes completely through the thickness. On top of t...
dicke = 3; loch = 3; stange = 15; sicherung=true; sicherungdrm=5; sicherunghoch=5; sicherungpos=11; kanten = stange + 2*dicke + 4*loch; laenge=sicherungpos*2; lochpos = kanten/2 - loch*1.5; union (){ translate ([0,0,dicke]){ translate ([0,0,-dicke/2]){ difference(){ cube ([kanten, kanten, dicke], center=...
glb/cad_e711a885ecc9.glb
Create a Customizable Mesh consisting of a solid base and a layered grid of bars. Start by creating a rectangular base plate measuring 30mm wide by 30mm deep with a thickness of 0.7mm. Above this base, construct a series of stacked mesh layers up to a total height of 4mm. Each layer consists of two sets of perpendicula...
spacing = 2; vspacing = .7; d = 1; width = 30; depth = 30; height = 4; for (z=[0:vspacing*2:height]) { for (x=[0:spacing:width]) translate([x,0,z]) rotate([-90,0,0]) rotate([0,0,360/16]) cylinder(r=d/2, h=depth, $fn=8); for (y=[0:spacing:depth]) translate([0,y,vspacing+z]) rotate([0,90,0]) rotate([0,0,360/16]) ...
glb/cad_f3f61ce9b6d1.glb
Create a Clothes Rod Linking Bracket consisting of a cylindrical holder connected to a rectangular hanging hook by a straight stem. First, create the rod holder as a hollow cylinder with an outer diameter of 44.45mm (1.5 inches plus two wall thicknesses) and a wall thickness of 6.35mm. The cylinder should be open-end...
use <utils/build_plate.scad> build_plate_selector = 0; rod_diameter_in = 1.5; stem_length_in = 2.0; hanger_height_in = 0.625; hanger_width_in = 0.625; wall_thickness_in=0.25; create_raft = 0; IN = 25.4/1; rod_diameter = rod_diameter_in*IN; stem_length = stem_length_in*IN; hanger_height = hanger_height_in*IN; h...
glb/cad_bb11597e3ca6.glb
Create a parametric hole plug consisting of two separate parts: a cap and a counterpart. First, construct the cap by revolving a profile around a central axis. The profile starts with a base disk 14mm in diameter and 1.8mm thick, featuring a 0.6mm fillet at the outer top edge. From this base, extend a central cylindr...
cap_diameter = 14; cap_thickness = 1.8; cap_fillet = 0.6; plug_diameter = 8; plug_length = 2.2; plug_hollow = 1; plug_wall_thickness = 1; counterpart = 1; counterpart_use_cap_meassurements = 1; counterpart_diameter = 14; counterpart_thickness = 1.0; counterpart_fillet = 0.4; counterpart_plug_clearance = 0.1...
glb/cad_e6980fd4495b.glb
Create a pair of manacles consisting of two identical cuffs connected by a central bar. For each cuff, construct a semi-circular wrist band with an inner diameter of 54mm (radius 27mm) and a thickness of approximately 10mm. Each band is composed of a main body and a locking mechanism. The locking mechanism features a...
left_wrist_hole=27; right_wrist_hole=27; translate ([-51,25,10]) rotate ([90,90,0]) union (){ union () { translate ([-20,0,-5]) cube ([10,100,10]); translate ([0,102,0]) rotate ([0,0,-90])union () {translate ([0,10,-7]) rotate ([180,180,0]) union () {cube ([65,5,15]); translate ([0,15,0])cube ([65,5,15]); translat...
glb/cad_5611bd7f6f59.glb
Create a snowman model with a total height of 90mm. Construct the body from three stacked spheres: a bottom sphere with a radius of 21mm (flattened on the bottom by a 35mm wide, 8mm tall cube), a middle sphere with a radius of 15mm, and a top sphere with a radius of 12mm positioned at the top. For the face, add two sm...
Render_Quality = 20; object_height = 90; parts_to_render = 4; $fn=Render_Quality; scalingFactor = (object_height/94); scale([scalingFactor, scalingFactor, scalingFactor]){ if(parts_to_render == 1){ hat(); } if(parts_to_render == 2){ middleBack(); middleFront(); } if(parts_to_render == 3){ bottom(); }...
glb/cad_2259f8600216.glb
Create a CNC spoilboard as a rectangular plate with a total width of 300mm, a length of 360mm, and a thickness of 6mm. The main body of the board is a rounded rectangle with a corner radius of 2.5mm. On the top face, create a series of 7 equally spaced mounting holes along the center longitudinal axis. Each hole is a ...
include <roundedcube_simple.scad> $fs=0.2; spec_w = 300; spec_l = 360; spoil_l_end_margin = 42.5; spoil_w_margin = 25; w_pad = 1; l_pad = 1; edge_d = 5; edge_r = edge_d / 2; spoil_w = spec_w - spoil_w_margin * 2 + w_pad - edge_d; spoil_l = spec_l - spoil_l_end_margin + l_pad; spoil_h = 6; err = 0.2; hole_d_head = 8 ...
glb/cad_f7702be26ff7.glb
Create a countersunk socket head bolt. The bolt consists of a head and a threaded shaft. The head is a cylinder with a diameter of 7.2mm and a height of 2mm. The top surface of the head features a centered hexagonal socket hole with a distance between flats of 4mm and a depth of 3.5mm. The bottom of this socket hole ...
function hex_drive_diameter(size) = 2 * size / sqrt(3); type = "bolt"; head_type = "countersunk"; drive_type = "socket"; head_diameter = 7.2; head_height = 2; drive_diameter = hex_drive_diameter(4); slot_width = 1; slot_depth = 5; textur...
glb/cad_83bb131f9585.glb
Create a CNC spoilboard as a rectangular slab with dimensions 292mm wide, 318.5mm long, and 6mm thick. On the top surface, engrave a grid of lines 0.2mm wide and 0.5mm deep. The grid consists of parallel lines spaced 20mm apart in both the X and Y directions, leaving a 10mm margin from all outer edges. Add six count...
$fs=0.2; err = 0.2; spec_w = 300; spec_l = 360; spoil_l_end_margin = 42.5; spoil_w_margin = 25; w_pad = 1; l_pad = 1; spoil_w = spec_w - spoil_w_margin + 2 * w_pad; spoil_l = spec_l - spoil_l_end_margin + l_pad; spoil_h = 6; hole_d_head = 12.5 + err; hole_d_thread = 6 + err; sink_z_off = 1.4; sink_h = 1.6 + err; s...
glb/cad_dcf2bfcb9c3f.glb
Create a CNC spoilboard as a rectangular slab with dimensions 252mm wide, 311mm long, and 6mm thick. On the top surface, engrave a grid of thin lines (0.2mm wide and 0.5mm deep) spaced every 20mm in both X and Y directions, leaving a 10mm margin from the edges. Carve seven horizontal slots into the slab. Each slot i...
$fs = 0.2; err = 0.2; draw_slots = true; draw_mount_holes = true; draw_clamp_holes = false; draw_grid_lines = true; spec_w = 300; spec_l = 360; spoil_h = 6; spoil_l_end_margin = 42.5; spoil_w_margin = 25; w_pad = 1; l_pad = 1; spoil_w = spec_w - spoil_w_margin + 2 * w_pad; spoil_l = spec_l - spoil_l_end_m...
glb/cad_731e3e08c67e.glb
Create a Hot End Effector Setup for a delta printer. Start with a central platform 5mm thick. The platform's overall footprint is a rounded hexagonal shape formed by the hull of six spherical sockets, each designed to hold a 10mm ball bearing. These sockets are angled at 35 degrees. In the center of the platform, crea...
$fn=40; rodSeparation = 43; armSeparation = 28.5; ballDiameter = 10; hotendDiameter = 32; plateThickness = 5; ballCupAngle = 35; ballRadius = ballDiameter / 2; rodsAngle = 120 * rodSeparation / (rodSeparation + armSeparation); armsAngle = 120 * armSeparation / (rodSeparation + armSeparation); spacingRadius = (rodSepa...
glb/cad_5b9ea838aaeb.glb
Create a Hot End Effector Setup consisting of a main platform and two ball-and-socket joints. The platform is a square plate 50mm wide, 50mm long, and 5mm thick, with all four corners rounded to a radius of 6.25mm. Position two spherical sockets on the top surface of the platform, separated by a distance of 43mm. Each...
$fn=40; outsideRadius = 6.25; plateWidth = 50; plateHeight = 50; plateThickness = 5; ballOffsetZ = 10; ballOffsetY = 10; ballDiameter = 10; ballCupAngle = 35; rodSeparation = 43; hole1_x = 13.7; hole1_y = -20; hole2_x = -19.6; hole2_y = -9.6; hole3_x = 2; hole3_y = 4.7; holeDiameter = 3.4; ballRadius = ballDiameter /...
glb/cad_5c19fb2cd059.glb
Create a Hot End Effector Setup for a delta printer. Start with a central platform 5mm thick. The platform's overall footprint is a rounded hexagonal shape formed by the hull of six spheres, each with a radius of 4mm, positioned symmetrically around the center. At the center of the platform, create a vertical cylindri...
$fn=40; rodSeparation = 43; armSeparation = 28.5; ballDiameter = 8; hotendDiameter = 32; plateThickness = 5; ballCupAngle = 35; ballRadius = ballDiameter / 2; rodsAngle = 120 * rodSeparation / (rodSeparation + armSeparation); armsAngle = 120 * armSeparation / (rodSeparation + armSeparation); spacingRadius = (rodSepar...
glb/cad_1b607b630086.glb
Create a Hot End Effector Setup consisting of a main platform and two ball-and-socket joints. Start with a square platform 50mm wide, 50mm deep, and 5mm thick, with rounded corners of 6.25mm radius. Position two spherical sockets on the platform to hold 8mm ball bearings. These sockets are centered along the X-axis, ...
$fn=40; outsideRadius = 6.25; plateWidth = 50; plateHeight = 50; plateThickness = 5; ballOffsetZ = 10; ballOffsetY = 10; ballDiameter = 8; ballCupAngle = 35; rodSeparation = 43; hole1_x = 13.7; hole1_y = -20; hole2_x = -19.6; hole2_y = -9.6; hole3_x = 2; hole3_y = 4.7; holeDiameter = 3.4; ballRadius = ballDiameter / ...
glb/cad_ce3cb2e676fc.glb
Create a Honing Steel Sharpening Guide by constructing a hollow, truncated cone with a total height of 30mm. The cone should have a bottom diameter of approximately 33.5mm and taper upward to a top diameter of 14.3mm. The interior must be hollowed out by a centered cylinder with a constant diameter of 13.5mm to accommo...
angle = 19; rod_diameter = 13.5; height = 30; nozzle_size = 0.4; band_height = 3; band_inset = 3.5; halves_gap = 3; segments = 100; eps = 0.001; $fn = segments; honing_guide(); module honing_guide() { top_wall_w = nozzle_size * 2; h_offset = top_wall_w / tan(angle); bottom_d = ((height + h_offset)...
glb/cad_927017d91a1b.glb
Create a Simple Shelf Hook with a uniform width of 10mm and a material thickness of 5mm. Start by creating a horizontal base rectangular prism that is 35mm long, 5mm thick, and 10mm wide. At the end of this base, add a vertical segment that rises 30mm high, maintaining the 5mm thickness and 10mm width. From the top of ...
thickness = 5; width = 10; shelf_height = 20; shelf_deepness = 30; hook_height = 20; hook_deepness = 30; union(){ cube([shelf_deepness+thickness,thickness,width]); translate([shelf_deepness,0,0]) cube([thickness,shelf_height + 2*thickness,width]); translate([shelf_deepness,shelf_height + thickness,w...
glb/cad_6b5d63685c52.glb
Create an Oral B toothbrush holder stand that is 70mm tall. The main body is a tapered, hollow vertical shell designed to hold a brush head. The top opening is a slot approximately 10.8mm wide and 10.8mm deep to snugly accommodate the brush. This shell tapers outward toward the base, where it transitions into a wider, ...
slot_diameter = 10.0; slot_height = 70.0; base_inner_width = 25.0; base_inner_depth = 35.0; base_beam_r = 3.0; clearance = 0.4; top_depth_scale = 1.25; base_d=base_inner_width+base_beam_r*2; front_angle=atan2((base_inner_depth-slot_diameter*top_depth_scale)/2,slot_height); fu...
glb/cad_23f082a6cbb1.glb
Create a Kossel Alt 10mm Smooth Rod endstop mount. Start with a base shape formed by the convex hull of two cylinders with a radius of 7mm and a height of 8mm, positioned 60mm apart at coordinates (-30, 0, 0) and (30, 0, 0), and a rectangular block measuring 74mm by 24mm by 8mm centered at (-37, -26, 0). From this ma...
difference() { hull() { translate([-30,0,0]) cylinder(r=7, h=8); translate([30,0,0]) cylinder(r=7, h=8); translate([-37,-26,0]) cube(size=[74,24,8]); } #hull() { translate([-30,-13,0]) cylinder(r=4.8, h=8); translate([-30,-50,0]) cylinder(r=4.8, h=8); } #hull() { translate([30,-13,0]) cylinder(r=4...
glb/cad_ceac6449c83a.glb
Create a bike light torch holder. Start by creating a central rectangular block 17mm wide, 10mm high, and 23mm deep. On top of this block, add a ring to hold the torch with an inner diameter of 23mm and a wall thickness of 3mm. This ring should not be a full circle, but an arc covering 220 degrees. From the bottom of ...
dx_tie = 5; dy_tie = 2; diameter_ring = 23; thickness_ring = 3; diameter_handlebar = 30; $fn = 128; dz = 23; angle = 220; dx_cube = 17; dy_cube = 10; overlap_handlebar = 4; rotate_handlebar = 90; separation_tie = 4; offset_y_tie = 5; module ring(diameter, height, thickness, angle) { rotate([0, 0, (18...
glb/cad_317b7ceb0967.glb
Create a power wheel cover for an airgun. Start by constructing the main body as a rounded hull that blends a cylinder with a diameter of 30.5mm and a height of 9.4mm with a centered rectangular block measuring 24mm by 16.25mm by 9.4mm. Apply a 1mm fillet or rounding to all exterior edges of this combined solid. From ...
$fn=150; dia1=29.5; dia2=32.5; endfromcenter=14; wend=26; h=11.4; facecover=0.5; thumbslot=20; round=1.0; module solid() { union() { hull() { cylinder(d=dia2-round*2,h=h-round*2,center=true); translate([0,dia2/4-endfromcenter,0]) cube([wend-round*2,dia2/2,h-round*2],center=true); } } } module solidroun...
glb/cad_bf0d6fb32d99.glb
Create a Spool Cable Reel consisting of four separate components: a flange rod, a handle, a spindle insert, and a cable clip. First, create the flange rod by starting with a cylinder 25mm in diameter and 2mm thick. On top of this, add a 10mm diameter cylinder that extends 2mm high, followed by a 30mm long rod of the s...
model = 0; handle_flange_d = 25.0; handle_flange_t = 2.0; handle_thread_t = 0.0; handle_rod_d = 10.0; handle_grip_d0 = 13.0; handle_grip_d = 20.0; handle_grip_l = 30.0; screw_l = 30.0; screw_outer_d = 3.5; screw_inner_d = 2.5; screw_d_adjust = 0.5; screw_head_d = 8.5; ha...
glb/cad_0e988ea131d5.glb
Create a transformer bobbin consisting of a central cylindrical body with a total height of 50mm. The main body is a cylinder with an outer diameter of 45mm and a central coaxial hole with a diameter of 23mm. The body is capped at both the top and bottom by solid circular bases, each 5mm thick. These bases have a cent...
showdrainingholes = "no"; showsupports = "no"; supports = false; bobbinheight = 40; bobbininnerdiameter = 23; bobbinouterdiameter = 45; bobbininnerdiameterthickness = 5; bobbinouterdiameterthickness = 2; bobbinspace = 1 ; numberofseparation = 7; wireholesoffset=5; wireholeswidth=3; basecylinderthickness = 5; basecyl...
glb/cad_90d1461fa461.glb
Create a Customizable Sharpening Stone Holder by constructing a rectangular tray with a hollow center to hold a stone. The main outer body should be a solid block measuring 230mm in length, 80mm in width, and 26mm in total height. From the top center of this block, remove a rectangular volume of 210mm by 70mm with a de...
stonex=210; stoney=70; stonez=8; thickness = 1; backthickness = 18; sidethickness = 10; sidemargin = 20; baseheight = 4.25; topheight = 3.5; basediameter = 8; topdiameter = 11; holelenght = 25 ; module suctioncup(){ translate([(topdiameter-basediameter)/2,0,0])cube([basediameter,holelenght,baseheight]); tran...
glb/cad_f5b10ef3bfc4.glb
Create a customizable ventilation grill. Start by constructing a main tube with a rectangular outer profile of 100mm by 40mm and a total height of 10mm. The tube walls should be 2mm thick, and the corners of the tube should have a rounding radius of 8mm. Attached to the bottom of this tube, create a flat brim that ext...
cutout_length=100; cutout_width=40; height=10; tube_wall=2; tube_rounding=8; brim_width=10; brim_radius=5; brim_height=1; grid_x=6; grid_y=6; grill_height=5; grill_thickness_x=0.8; grill_thickness_y=0.8; grill_angle_x=0; grill_angle_y=0; grill_x_shift=0; grill_y_shift=0; grill_rotation=0; $fn=80; gril...
glb/cad_d0ba2df5cc3d.glb
Create a bearing guide pulley with a 30-facet resolution. Start with a central cylindrical body that has an outer diameter of 14.6mm and a total height composed of a 6mm wide middle section flanked by two flange lips. The central bore is a hole with a diameter of 13.6mm. Construct the top and bottom flanges as cylind...
bearingOD = 13; bearingwidth = 5; beltwidth= 6; slopfactor = .6; thickness = 2; idlerID = bearingOD + slopfactor; idlerOD = idlerID+thickness; $fn=30; lipheight = 2.5; lipthickness = 2; topangle = 60; difference(){ union(){ cylinder(r=lipheight+idlerOD/2, h=lipthickness); cylinder(r=idlerOD/2, h = lipt...
glb/cad_1d8c07acbc96.glb
Create a bearing guide pulley with a 30-facet resolution. Start with a central cylindrical body that has an outer diameter of 22.6mm and a total height composed of a 6mm wide belt section flanked by two lips. The main bore is a hole with a diameter of 22.6mm that runs through the center to accommodate a bearing. Cons...
bearingOD = 22; bearingwidth = 7; beltwidth= 6; slopfactor = .6; thickness = 2; idlerID = bearingOD + slopfactor; idlerOD = idlerID+thickness; $fn=30; lipheight = 2.5; lipthickness = 2; topangle = 60; difference(){ union(){ cylinder(r=lipheight+idlerOD/2, h=lipthickness); cylinder(r=idlerOD/2, h = lipt...
glb/cad_2faf7c3d9315.glb
Create a Delta Printer FSR Groove Effector consisting of four main components: an effector body, a plunger, and two clamp halves. First, create the effector body as a 60mm diameter cylinder with a height of 10mm. Remove a central hexagonal shaft with a 30mm diameter. Add three radial arms extending 35mm from the cente...
_SHOW_PRINTING = 0; _SHOW_ASSEMBLED = 1; _SHOW_EFFECTOR = 2; _SHOW_PLUNGER = 3; _SHOW_CLAMPS = 4; _SHOW_EXPLODED = 5; LAYOUT = _SHOW_PRINTING; $fn = 64; M3 = 3; SMIDGE = 0.1; SCREW_THREAD_TOLERANCE = 0.2; EFFECTOR_HEIGHT = 10; SHAFT_DIAMETER = 30; SHAFT_SIDES = 6; PUSHFIT_DIAMETER = 5+2*SMIDGE; NUT_DIAMETER = 6.0...
glb/cad_e22d91d3ec17.glb
Create a helicopter rotor shroud consisting of three concentric cylindrical sections connected by radial spokes. First, create a large outer hollow cylinder with an inner radius of 30mm, an outer radius of 30.75mm, and a height of 10mm. Second, create a smaller inner hollow cylinder centered within the first, with an i...
outerRingHeight = 10; outerRingInnerRadius = 60/2; outerRingOuterRadius = outerRingInnerRadius + 0.75; innerRingHeight = 4; innerRingInnerRadius = 8.90/2; innerRingOuterRadius = innerRingInnerRadius + 0.75; spokeWidth = 3; spokeThickness = 3; hollowCylinder(outerRingInnerRadius, outerRingOuterRadius, outerRingHeight...
glb/cad_c3b4f9613c8d.glb
Create a helicopter rotor shroud consisting of three concentric cylindrical components. First, create an outer ring with a height of 10mm, an inner radius of 30mm, and an outer radius of 30.75mm. Cut five rectangular slots through the walls of this outer ring, spaced equally every 72 degrees, with each slot measuring 9...
outerRingHeight = 10; outerRingInnerRadius = 60/2; outerRingOuterRadius = outerRingInnerRadius + 0.75; innerRingHeight = 4; innerRingInnerRadius = 8.90/2; innerRingOuterRadius = innerRingInnerRadius + 0.75; spokeWidth = 3; spokeThickness = 3; hollowCylinderWithHoles(outerRingInnerRadius, outerRingOuterRadius, outerR...
glb/cad_7918791f3999.glb
Create a parametric microscope slide holder. Start by constructing a solid rectangular base measuring 68mm in width, 81.5mm in length, and 15.5mm in height. Centered on the top surface of this base, add a smaller rectangular block measuring 68mm by 10mm with a height of 6mm. From this combined volume, carve out a seri...
slides = 15; thickness = 1; length = 75; width = 25; difference() { union() { translate([(4*slides+8)/2,(length+6.5)/2,(width/2)+6]) cube(size = [4*slides+8,10,6],center = true); cube(size = [4*slides+8,length+6.5,(width/2)+3], center = false); } for(i=[0:1:slides]) { translate([3+(4*i),2.5,3]) ...
glb/cad_db1c6be9481d.glb
Create a printer riser leg by constructing a hull between two rectangular prisms. The first prism is 18mm wide, 9mm deep, and 30mm tall, positioned at the origin. The second prism is 9mm wide, 18mm deep, and 30mm tall, positioned at x=80mm and y=71mm. This creates a block that is 30mm high, 80mm long, and transitions f...
height = 30; length = 80; railWidth = 18; cutout = 16; legCutout = false; if (legCutout) { rotate([0,0,45]) difference() { leg(); translate([railWidth, 0, 0]) cube([length - railWidth/2, length - railWidth/2, cutout]); } } else { rotate([0,0,45]) leg(); } module leg() ...
glb/cad_c37ec2769f94.glb
Create a Hafele Axilo Feet Wrench with a total thickness of 8mm. Start by constructing the main body, which consists of a handle and a head. The handle is a rounded rectangular bar extending 120mm in length, transitioning into a circular head with a diameter of 80mm. Within this head, create a central circular cutout w...
FFF=[false,false,false];FFT=[false,false,true]; FTF=[false,true,false];FTT=[false,true,true]; TFF=[true,false,false];TFT=[true,false,true]; TTF=[true,true,false];TTT=[true,true,true]; module cube2(size, center) { translate([ center[0] ? -size[0]/2 : 0, center[1] ? -size[1]/2 : 0, center[2] ? -size[2]/2 : ...
glb/cad_631815e2f4df.glb