Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a GoPro wrench by starting with a base profile consisting of a circle with a diameter of 20.8mm, from which four smaller circles of 20mm radius are removed. These four circles are positioned symmetrically around the center, shifted outward by 27.5mm along the X and Y axes. Extrude this profile to a total height...
Twist = 90; Height = 50; Scale_top = 1.5; Flip="no"; Facets = 20; in=25.4; $fn=Facets; hyp=15.7; r1=20; d1=20.3+.025*in; indim=7.5+.025*in; height_pocket = 7; r2=2; t1=1; if (Flip=="yes") { translate([0,0,Height+(t1+r2)*Scale_top]) rotate([180,0,0]) wrench(); } else { wrench(); } module wr...
glb/cad_26bd0a38a391.glb
Create a Funnel Stand consisting of a central cylindrical hub with three radiating legs. Start by creating a central cylinder with a radius of 24mm and a height of 20mm. Remove a concentric vertical hole from the center of this hub with a radius of 14.47mm. Add three identical legs positioned symmetrically around the...
$fn=40; BIG=200; funnel_r = 14.47; stand_r = 24; rod_ir = 4.19; rod_or = 10; stand_h = 20; rod_h=20; final_h=16; module leg(tilt=20){ disp=rod_h*sin(tilt)+rod_ir*cos(tilt); translate([disp,0,0]) rotate([0,-tilt, 0]) difference() { cylinder(r=rod_or, h=rod_h); cylinder(r=rod_ir, h=BIG, c...
glb/cad_b649e5340f06.glb
Create a Pulley Stand consisting of a central cylindrical hub and three radiating legs. Start by creating a central cylinder with a radius of 24mm and a height of 20mm. From the center of this hub, bore a vertical hole with a radius of 1.5mm that passes completely through the top and bottom. Position three identical ...
$fn=40; BIG=200; hook_r = 1.5; stand_r = 24; rod_ir = 4.19; rod_or = 10; stand_h = 20; rod_h=20; final_h=16; module leg(tilt=20){ disp=rod_h*sin(tilt)+rod_ir*cos(tilt); translate([disp,0,0]) rotate([0,-tilt, 0]) difference() { cylinder(r=rod_or, h=rod_h); cylinder(r=rod_ir, h=BIG, cente...
glb/cad_9e640acb1697.glb
Create a See Saw Base by starting with a truncated cone that is 95mm tall, with a bottom diameter of 70mm and a top diameter of 43mm. Cut a rectangular slot through the center of the cone along its entire height; this slot should be 23mm wide and 200mm long, starting from a height of 10mm from the base. Finally, drill ...
BIG = 200; ss_t = 10; ss_w = 23; slot_w = 25; hole_d = 3.5; base_top_d = 43; base_bot_d = 70; base_h = 95; slot_off = 10; difference() { cylinder(d1=base_bot_d,d2=base_top_d,h=base_h,center=false); translate([-BIG/2,-slot_w/2,slot_off]) cube([BIG,slot_w,BIG],center=false); translate([0,0,base_h-ss_t/2]) rotate...
glb/cad_be7332543226.glb
Create a parametric CNC table with a footprint of 48" long, 36" wide, and 30" high. Construct the foundation with four vertical legs, each 3.5" wide and 1.5" thick, positioned at the corners. At the top of these legs, create a rectangular perimeter frame using top ledges that are 3.5" wide and 1.5" thick. Along the l...
Len = 48; Wid = 36; Ht = 30; LegWd24_Wid = 3.5; LegWd24_Thk = 1.5; TopLedgeWd24_Wid = 3.5; TopLedgeWd24_Thk = 1.5; MidTopLedgeQty = 2; EdgeWd_Wid = 6; EdgeWd_Thk = 1; Shelf_Qty = 2; Shelf1_Ht = 6; Shelf2_Ht = 16; ShelfThk = 0.5; ShelfLedgeWd24_Wid = 3.5; ShelfLedgeWd24_Thk = 1.5; Shelf_Cube_X = 12; Shelf_Cube_Y = 1...
glb/cad_a38ea78b7b5d.glb
Create a Network Wiretap Box consisting of a main body and a matching cover. Construct the main body as a rectangular block measuring 25mm x 50mm x 10mm. Remove two cylindrical tunnels, each 5.6mm in diameter and 50mm long, running lengthwise through the block; position the first tunnel center at x=5mm, z=5mm and the s...
cableDiameter = 5.6; difference() { color("blue") cube([25, 50, 10]); translate([5, 0, 5]) rotate([-90, 0, 0]) color("red") cylinder(d=cableDiameter, 50, $fn = 50); translate([20, 0, 5]) rotate([-90, 0, 0]) color("red") cylin...
glb/cad_1fbc811f1f2c.glb
Create a rattle consisting of a handle and a hollow head containing small internal beads. Start by constructing the handle as a cylinder with a radius of 5mm and a height of 40mm. At the top of this cylinder, add a conical transition section 10mm high that tapers from a radius of 10mm down to 5mm to connect the handle ...
handle_length = 40; module inner() { difference() { translate([0,0,19]) orb(); translate([-5,-5,0]) pea_and_stand(); translate([5,-5,0]) pea_and_stand(); translate([-5,5,0]) pea_and_stand(); translate([5,5,0]) pea_and_stand(); } } module orb() { scale([1,1,1.3]) sphere(r=15); } module pea_and_stand() {...
glb/cad_05e96223d085.glb
Create a customizable bubble wand by starting with a hollow ring that has an outer diameter of 60mm, a height of 5mm, and a wall thickness of 5mm. Around the outer perimeter of this ring, add 70 small rectangular notches. Each notch should be 3mm long and 1mm thick, centered vertically on the ring's height, and positio...
diameter=60; height=5; ring_thickness=5; notch_length=3; notch_thickness=1; notch_placement=4; notch_height=0; notch_count=70; length=75; thickness=5; union(){ difference(){ cylinder(d=diameter,h=height, center=true); cylinder(d=diameter-ring_thickness,h=height*5, center=true); }...
glb/cad_2b3e29614f4d.glb
Create a series of 3D "noodle" shapes extruded along smooth, splined paths. For each object, define a path using a set of 3D control points and interpolate between them using a Catmull-Rom spline to ensure a smooth curve. For the circular cross-section noodles, extrude a circle with a diameter of 1mm along the path. T...
module spline_ribbon(path, width=1, subdivisions=4, loop=false) { ribbon(smooth(path, subdivisions, loop), width, loop); } module spline_wall(path, width=1, height=1, subdivisions=4, loop=false) { wall(smooth(path, subdivisions, loop), width, height, loop); } module spline_ramen(path, diameter=1, circle_steps=12,...
glb/cad_6d256025cfbf.glb
Create a spool hub consisting of a circular base and a raised central shaft. Start with a circular base plate 57.5mm in diameter and 3mm thick. In the center of this base, create a vertical hole 7.5mm in diameter that passes through the entire thickness. On the top face of the base, add a concentric raised ring (the s...
shaftDiameter = 7.5; spoolShaftDiameter = 51.5; resolution = 180; textOffset = 23; slimmed = 1; showTieholes = 1; fontSize = 4; engraveDiameters = 1; capThickness = 3; tieholeRotation = 45; tieslotDepth = .75; tieholeFromCenter = 11.1; shaftWallHeight = 12; shaftWallWidth = 3; linear_extrude( height = tieslotDepth ...
glb/cad_eea7bfbe5306.glb
Create two identical HBP Wire Guides. For each guide, start with a rectangular base measuring 20.57mm wide, 75mm long, and 5mm thick. At one end of the rectangle, add a rounded cable guide by creating a torus with an inner diameter of 8mm and a cross-sectional radius of 4mm, centered on the width of the base and posi...
guideMainLength = 75; guideMainWidth = 20.57; guideThickness = 5; screwSlotWidth = 3; screwSlotLength = 6; screwSlotLocationX = 5.1; screwSlotLocationY = 12; mbpSlotWidth = 5.07; mbpSlotLength = 14.5 ; mbpSlotDistanceFromTop = 3.5; guideInsideDiameter = 8; manifoldCorrection = 0.01; diff...
glb/cad_48eaa42c071e.glb
Create a Lightsaber Design handle by starting with a main central cylinder 45mm in diameter and 240mm in length. Hollow out the center of this cylinder with a longitudinal hole 25.4mm in diameter. Remove material from the outer walls to create six equidistant vertical grooves running along the length of the body; eac...
$fn = 100; od = 45; length = 240; cuts = 6; cutdepth = -10; cutrad = 12; crossdepth = 2; crossangle = 120; function rot2d(p, a) = [p[0] * cos(a) - p[1] * sin(a), p[1] * cos(a) + p[0] * sin(a)]; module crossring() { rotate_extrude(angle=360) { translate([od / 2 - crossdepth, 0]) polygon([[0, 0], rot2d([50, 0]...
glb/cad_d169e171d7f1.glb
Create an oil filter socket consisting of a main cylindrical body and a tapered base. The main body is a cylinder with a radius of 24.75mm and a height of 13mm. Centered within this body, remove a hexagonal hole with a flat-to-flat diameter of 36.875mm that extends 12mm deep, starting 1mm from the top surface. Below ...
size = 36.375; drive = 12.7; depth = 12; tolerance = 0.5; tolSize = size + tolerance; inscribedSize = tolSize/0.866025; tolDrive = drive + tolerance; socketRadius = (inscribedSize+8)/2; driveRadius = ((tolDrive*1.5)+8)/2; bridge_thickness = 2; drive_height = tolDrive + 2; difference() { union() { translate(...
glb/cad_588fdeb6b0b5.glb
Create a guitar nut for a three-string cigar box guitar. Start by constructing a base block that is 38mm long, 6mm wide, and 6mm high. The top of this block should be rounded with a radius of 3mm, creating a semi-cylindrical top surface along its length. Carve three circular string grooves through the top surface, ea...
$fa=.05; $fs=.05; difference() { nut_base(); translate([0,0,1]) slots(); } module slots() { translate([10,0,3.9]) rotate ([90,0,0]) cylinder(20,.6,.6,true); translate([0,0,4]) rotate ([90,0,0]) cylinder(20,0.7,0.7,true); translate([-10,0,4.2]) rotate ([90,0,0]) cylinder(20,.9,.9,true); } ...
glb/cad_526778dfd650.glb
Create an iPod Nano 6g Case consisting of a main body with a hollow center to hold the device and earbuds. The overall outer shape is based on a cylinder with a radius of 39.5mm and a total height of 18mm. From this cylinder, remove a large circular cutout from the top with a radius of 69.125mm (1.75 times the base r...
include <OpenScadFont.scad> partnum = 1; appleRadius = 39.5; appleTopCutoutRadius = appleRadius * 1.75; appleBottomCutoutRadius = appleRadius / 2; outerWall = 1.5; insideLip = 1.5; nanoWidth = 39; nanoLength = 42; nanoHeight = 10; nanoXOffset = 5.5; earbudRadius = 9; earbudHeight = 14 + 1; earbudCordWidth = 5.5; d...
glb/cad_69074c1b6679.glb
Create a personalized ring by constructing a hollow cylinder with an inner diameter of 18.14mm, an outer diameter of 21.34mm (based on a wall thickness of 1.6mm), and a total width of 6mm. Center the geometry so that the ring is symmetrical along its vertical axis. On the outer surface of the ring, emboss the text "i ...
include <Write.scad> message = "i <3 MakerBot"; Font = "Letters.dxf"; font_size = 10; font_spacing = 0; ring_thickness = 1.6; ring_width = 6; ring_size = 18.14; inner_diameter = ring_size; inner_radius = inner_diameter/2; font_scale = font_size/10; spacing_factor = font_spacing/100; translate([0,0,ring_width/2...
glb/cad_e955499db88e.glb
Create a personalized ring called SecondTest. Start by constructing a hollow cylinder with an inner diameter of 18.14mm, an outer diameter of 21.34mm (creating a wall thickness of 1.6mm), and a total height of 6mm. Center the geometry on the origin. On the outer surface of the ring, emboss the text "i <3 MakerBot" usi...
include <write/Write.scad> message = "i <3 MakerBot"; Font = "write/Letters.dxf"; font_size = 10; font_spacing = 0; ring_thickness = 1.6; ring_width = 6; ring_size = 18.14; inner_diameter = ring_size; inner_radius = inner_diameter/2; font_scale = font_size/10; spacing_factor = font_spacing/100; translate([0,0,...
glb/cad_89bdcf526503.glb
Create a Table Joint consisting of a cube with side lengths of 10mm. The cube should be centered on the X and Y axes, with its base positioned 5mm above the origin.
part = "first"; cube_size = 10; cylinder_size = 10; print_part(); module print_part() { if (part == "first") { mycube(); } else if (part == "second") { mycylinder(); } else if (part == "both") { both(); } else { both(); } } module both() { translate([-cube_size, 0, 0]) mycube(); translate([cube_size,...
glb/cad_958de11502a3.glb
Create a spot holder for a G10 LED lamp. Start with a circular base consisting of two stacked sections: a bottom cylinder with a radius of 20mm and a height of 3mm, topped by a second conical section that tapers from a 20mm radius down to a 6mm radius over a height of 4mm. Centered on top of this is a vertical cylinder...
l_fente=7; r_m3=2; ecrou_m3=3.3; r_base=20; r_tige=6; h_base1=3; h_base2=4; h_tige=20; module base(){ difference(){ union(){ cylinder(r=r_base, h=h_base1, $fn=50); translate([0,0,h_base1]){cylinder(r1=r_base, r2=r_tige,h=h_base2, $fn=50);} translate([0,0,h_base1+h_base2]){cylinder(r=r_tige, h=h_tige, $fn=50);...
glb/cad_ba4695ae713a.glb
Create a spot holder for a G10 LED lamp by constructing a hollow cylindrical collar. Start with an outer cylinder 28mm in diameter and 15mm high. Remove a concentric inner cylinder with a 14mm radius to create a wall thickness of 3mm. Cut a vertical slot into the side of the cylinder to allow for tightening. This slo...
r_douille=14; hauteur=15; ep=3; l_fente=8; larg_serrage=5; long_serrage=7; r_m3=2; ecrou_m3=3.3; module collier(){ difference(){ union(){ cylinder(r=r_douille+ep, h=hauteur, $fn=50); translate([r_douille,-l_fente/2-larg_serrage,0]){cube([long_serrage,larg_serrage,hauteur]);} translate([r_douille,l_fente/2,0])...
glb/cad_e192dca26c9a.glb
Create a brass instrument mouthpiece consisting of a thin stem and a cup-shaped top. Start by creating a vertical cylinder for the stem with a radius of 1.5mm and a height of 10mm. At the top of this stem, center a sphere with a radius of 5mm, positioned so its center is 4mm above the top surface of the stem. Carve out...
innertubewidth=1.5; $fn=100; difference() { union() { cylinder(h=10,r=innertubewidth); difference() { translate([0,0,14]) sphere(r=5); translate([-10,-10,15]) cube([20,20,20]); translate([0,0,14]) sphere(r=4); } } translate([0,0,-2]) cylinder(h=15,r1=innertubewidth-0.25,r2=innertubewidth-1); } rotate_extrude()...
glb/cad_28c992a338d2.glb
Create an adjustable NEMA 17 motor mount bracket consisting of a central plate and two supporting angle brackets. First, create the motor plate as a rectangular slab 60mm deep, 68mm wide, and 5mm thick. Center a large circular cutout with a 23mm diameter in the middle of the plate. Around this center hole, place four...
$fn = 20; NUT_ACROSS_FLATS = 7.5; module angleBracket() { tabMountHole = 4.5; frameThickness = 8; module tab(thickness=5){ difference() { cube([15,thickness,10]); translate([15,-1,0]) rotate([0,-30,0]) cube([20,thickness+2,20]); translate([5,thickness+1,5]) rota...
glb/cad_9ba804a79b1f.glb
Create a 3D model of a smooth endoplasmic reticulum consisting of a network of interconnected cylindrical tubes. The structure is composed of two primary geometric elements: large cisterns and smaller connecting unions, all extruded to a height of 70mm. First, construct the cisterns as horizontal capsules. These are c...
module uniones(radio2,x,y,z,x2,def){ translate([0,0,z]){ rotate([0,0,90]){ linear_extrude(70){ hull(){ translate([(x),y])circle(radio2, $fn=def); translate([(x+x2),y])circle(radio2, $fn=def); } } } } ...
glb/cad_57dccad1e0de.glb
Create a 3D model of an X-Carriage for a CoreXY printer. Start by creating two parallel bearing holders, each a cylinder with a diameter of 22mm and a length of 47.5mm, spaced 43.25mm apart. For each holder, remove a central cylinder of 16mm diameter and a flange of 12mm diameter with a thickness of 0.5mm. Add two ring...
include_ghosts = true ; rod_spacing = 43.25 ; carriage_length = 47.5 ; cowling_diameter = 22 ; zip_tie_outer_diameter = 22.1 ; bearing_diameter = 16 ; flange_diameter = 12 ; flange_thickness = 0.5 ; hotend_tower_height = 29.17 ; hotend_tower_width = 40 ; hotend_tower_thickness = 4.17 ; hotend_grip_height = 11 ; hote...
glb/cad_71903ee05602.glb
Create a Business Contact Card consisting of a thin rectangular base and raised text. Start by creating a rectangular base plate measuring 89mm wide by 50mm deep with a thickness of 0.6mm. On top of this base, add three lines of centered text, each with a height of 0.9mm. The first line should read "J. Howlett", the se...
Name = "J. Howlett"; Phone = "(555) 555 5555"; eMail = "checkout@3E8.us"; union(){ linear_extrude(height=.6)translate([0,0,10])square([89,50]); linear_extrude(height=.9){ translate([45,33])text(Name,halign="center",size=5); translate([45,23])text(Phone,halign="center",size=5); translate([45,13])text(eMail,halign="cent...
glb/cad_efa5d34442e1.glb
Create a 3D model of an optical illusion triangle resting on a conical base. Start by constructing a cone with a bottom radius of 60mm and a top radius of 20mm, with a total height of 30mm. Centered atop this base, build a triangle composed of three identical rectangular prisms, each measuring 10mm by 100mm by 10mm. Ar...
module colone(){ cube([10,100,10],true); } module coltwo(){ *translate([-5,-45,0])rotate([60,0,0])cube([10,100,10]); translate([0,40,])rotate([45,0,52])cube([10,10,125]); } module colthree(){ *translate([-5,-5,85])rotate([-60,0,0])cube([10,100,10]); translate([-50,-50,-5])cube([50,10,10]); translate([-50,-50,0]) rota...
glb/cad_1fae218fd04f.glb
Create a Decentralized Attendance-Taking Token Generator consisting of four rectangular nameplates. For each name—"Bob Jones", "alice smith", "donald trump", and "bernie sanders"—construct a rectangular block with a height of 15mm and a depth of 30mm. The length of each block should be scaled to fit the specific text l...
students = ["Bob Jones","alice smith", "donald trump", "bernie sanders"]; spacing = 20; module multiLine(lines, size){ union(){ for (i = [0 : len(lines)-1]) translate([0 , -i * (size + spacing), 0 ]) LetterBlock(lines[i]); } } multiLine(students, 20); module LetterBlock(letter, size=30) { diffe...
glb/cad_91744e62fbbe.glb
Create a robotic arm starting with a circular base. The base consists of a cylinder 25mm high with a 15mm radius, topped with a sphere of the same radius centered at the top of the cylinder. From this base, extend a first arm segment consisting of a cylinder 13mm high and 15mm radius, centered 30mm above the base and r...
module armrest(){ cylinder(h=10,r1=20,r2=20,center=true); } module armbase(){ difference(){ union(){ cylinder(h=25,r1=15,r2=15,center=false); translate([0,0,25])sphere(15); } union(){ translate([0,7.50,30])rotate([90,0,0])cylinder(h=15,r1=12,r2=15,center=false); translate([0,0,30])cube([100,15,30],true); } } } module ...
glb/cad_80bb5d3cc84c.glb
Create a triangular puzzle tile with a side length of 60mm and a base thickness of 2mm. The tile is an equilateral triangle. On the top surface of the tile, add three rectangular slots, each 1mm wide and 30mm long, with a depth of 4mm. Position these slots such that they radiate from the center toward the midpoints o...
include <halves.scad> include <numbers.scad> side_triangle = 60; ss = side_triangle; union() { form(ss); values(); translate([-ss/4,(ss/6)*sin(60),1]) rotate([0,0,330]) scale([.008,.008,1]) linear_extrude(height=3) half_guitar(); translate([0,-(ss/3)*sin(60),1]) rotate([0,0,270]) mirror([0,1,0]) scale([...
glb/cad_a9ccdcf354b8.glb
Create a Tappan Oven Knob consisting of a tiered cylindrical base and a central gripping handle. Start with a bottom cylinder 8mm high, with a bottom radius of 24mm and a top radius of 24.25mm. Directly on top of this base, add a second cylinder 3mm high that tapers from a radius of 24.25mm down to 13.75mm. Around the ...
$fa=5; union(){ cylinder(h=8, r1=48/2, r2=48.5/2); translate([0,0,8]) rotate_extrude(angle=360) translate([48.5/2-2.4/2,0,0]) circle(r=2.4/2, $fn=16); translate([0,0,8]) cylinder(h=11-8, r1=48.5/2, r2=27.5/2); difference(){ translate([0,0,-9]) cylinder(h=12, r=8); difference(){ ...
glb/cad_dbb24c0c6dd7.glb
Create a Chore Flags set consisting of a main flag body and a separate lid. For the flag body, start with a centered rectangular block 56mm wide, 84mm long, and 4mm thick. Hollow out the center with a rectangular window 44mm wide, 73mm long, and 4.1mm deep. Carve a slot 50mm wide, 78mm long, and 3mm deep into the botto...
module flag() { difference() { union() { translate([0,2.5,0]) cube([56,84,4], center=true); rotate([0,90,0]) translate([2,-40,0]) cylinder(h=58, r=4, center=true, $fn=30); } translate([0,3,0]) cube([44,73,4.1], center=true); translate([0,3,-1]) cube([50,78,3], center=true); ...
glb/cad_b86c4148760b.glb
Create a Drawer Rail Support consisting of a flat rectangular base plate and a hollow rectangular upright tube. The base plate should be 40mm wide, 28.5mm deep, and 2mm thick. At each of the four corners, 5mm inset from the edges, create a countersunk screw hole. Each hole must have a cylindrical shank with a diamete...
support_height = 24.50; support_width = 11.9; screw_head_max_diameter = 7.08; screw_thread_diameter = 3.505; screw_inset = 5; plate_depth = 2; plate_width = 40; support_depth = 20; support_wall_thickness = 2; bevel_radius = 2; bevel_radius_inner = .5; bevel_feature_numbers = 20; module beveled_rect_tube(inner_width, ...
glb/cad_49f057b1159f.glb
Create a FabX 2 Extruder Support consisting of a primary cylindrical body and a base protrusion. Start with a cylinder 19.75mm in radius and 10mm in height. Center a vertical hole with a 4.5mm diameter through this cylinder. Around the center, place three 6mm diameter screw holes spaced 120 degrees apart, each position...
upper_plate_radius = 19.75; screw_distance_from_center = 16.5; screw_hole_diameter = 6; ptfe_hole_diameter = 4.5; height = 10; hotend_ptfe_diameter = 6.5; hotend_ptfe_protrusion = 3.7; extruder_gear_length = 11.1; extruder_gear_diameter = 12; extruder_idler_length = 16; extruder_idler_diameter = 13; HOLE_BUFFER_HEIGHT ...
glb/cad_e409390d2389.glb
Create a FabX 2 Extruder Support by starting with a cylinder that has a radius of 19.75mm and a height of 10mm. Trim this cylinder into a triangular prism shape by intersecting it with an equilateral triangle whose vertices are located 19.5mm from the center. From this resulting volume, remove a central vertical hole...
upper_plate_radius = 19.75; screw_distance_from_center = 16.5; screw_hole_diameter = 6; ptfe_hole_diameter = 4.5; height = 10; HOLE_BUFFER_HEIGHT = 5; function polar_to_cartesian(distance_from_center, angle) = [distance_from_center * cos(angle), distance_from_center * sin(angle)]; module polar_translate(distance_...
glb/cad_4225e1882e74.glb
Create a Playmobil hitch attachment consisting of a long, thin rectangular bar with specialized hooks at both ends. The main body is a rectangular prism 84.5mm long, 3mm wide, and 3mm thick. At each far end of this bar, center a circular attachment point with a radius of 3.5mm and a thickness of 2mm. Within each of t...
br=3.5; link_l = 13; link_w = 4; t = 2; module attachment() { difference() { cylinder(r=br, h=t, $fn=32); translate([0, br-(1.15+2.7), 0]) cylinder(r=1.65, h=t, $fn=32); # difference() { union() { translate([-1.4,-4, 0]) cube([2.8, 4, t]); translate([-2, -br, 0]) cube([4, 1, t]); ...
glb/cad_5884bf665c40.glb
Create two identical brads for a jumping jack monster. Each brad is composed of a wide, thin circular disk and a central vertical post. The base disk has a radius of 2.55mm and a total height of 1.2mm. Centered on this disk is a vertical cylinder with a radius of 1.5mm and a height of 1.2mm. A hole with a radius of 1.1...
hole_r = 1.5; height = 1.2; top_height = .5; translate([hole_r*3.5, 0, 0]) { union() { translate(0,0,top_height) { cylinder(top_height, r=hole_r*1.7); } difference() { cylinder(height, r=hole_r); cylinder(height*1.1, r=hole_r * .75); } } } union() { translate(0,0,top_height) { cylinder(top_height...
glb/cad_a9539c456940.glb
Create a support block consisting of a rectangular base plate and four identical geometric inserts. Start by creating a rectangular base plate with a length of 60mm, a width of 60mm, and a height of 20mm. On top of this plate, place four identical polyhedral blocks. Each block is derived from a cube with a side length...
plat_s_pos=[0,0,0]; plat_length=60; plat_width =60; plat_height=20; plat_center=[plat_length/2,plat_width/2,plat_height]; slit_width=2.5; cube_size= 30; cube1_s_pos=[0,0,0]; cube2_s_pos=[0,0,0]; cube3_s_pos=[0,0,0]; cube4_s_pos=[0,0,0]; poly_size = cube_size - slit_width; point0 = [ 0, 0, 0 ]; point1 = [ poly_...
glb/cad_815628857bf0.glb
Create a pen holder for whiteboard markers consisting of six identical cylindrical compartments arranged in a row. Each compartment is formed by a hollow cylinder with an outer diameter of 22.9mm and a wall thickness of 2.4mm, extending to a total height of 43mm. These cylinders are encased within a rectangular outer s...
anzahl=6; height=43; pen_diameter=20.5; wall_strenght=1.2; h=height; d=pen_diameter; s=wall_strenght*2; abstand=d+s; label="Your text here"; module stiftbox(diameter,height,strenght,position){ union() { if(position=="right"){ translate([0,-10+strenght/2,h-s]){ difference(){ cube([diameter+strenght...
glb/cad_5581fdbad697.glb
Create a Wishbone Clip by constructing a hollow cylindrical sleeve. Start with a base cylinder 15mm high with a radius of 16.5mm, and add a second cylinder on top of it, also 15mm high, but with a larger radius of 18mm. Remove a central coaxial hole with a radius of 14.5mm and a total height of 31mm to create the inner...
$fn=100; rotate([-90,0,0]) { difference() { union() { difference() { difference() { union() { translate([0,0,0]) cylinder(r=16.5, h=15); translate([0,0,15]) cylinder(r=18, h=15); } translate([0,0,-0.1]) cylinder(r=14.5, h=31); translate([-0.75,14,-0.1]) cube([1.5,3.65,14.5]); rotate([0,0,90]) t...
glb/cad_6aaa68bfccab.glb
Create a Wishbone Clip designed as a hollow, tapered cylindrical sleeve. Start with a base cylinder 25mm high with a bottom radius of 15mm and a top radius of 25mm. Hollow out the center by removing a cylinder with a bottom radius of 14.5mm and a middle section with a radius of 23mm and a height of 15.2mm, starting 9.9...
$fn=100; rotate([180,0,0]) { difference() { union() { difference() { translate([]) cylinder(r1=15, r2=25, h=25); translate([0,0,9.9]) cylinder(r1=14.5, r2=23, h=15.2); translate([0,0,-0.1]) cylinder(r=14.5, h=11.2); } difference() { translate([0,0,25]) cylinder(r=25, h=15); translate([0,0,24.9]) cyli...
glb/cad_d5d5ebb0a1f5.glb
Create a NEMA17 Spacer Plate by starting with a square plate 42.3mm wide and 42.3mm deep with a thickness of 2mm. Clip the four corners of the square at 45-degree angles to create an octagonal profile. At the center of the plate, create a circular hole with a diameter of 27mm that passes completely through the thicknes...
thickness = 2; nema_width = 42.3; nema_hole_spacing = 31; nema_hole_size = 3.5; nema_boss_size = 27; chamfer = (nema_width - 34)/2; H = pow(2 * pow(nema_width/2,2), 1/2); h = chamfer * pow(2, 1/2) / 2; x = (H - h) * 2; echo(x); difference(){ intersection(){ cube(size = [nema_width, nema_width, thickne...
glb/cad_b26205fee7a5.glb
Create a Pacman fridge magnet by starting with a sphere 60mm in diameter, then flatten it along the Z-axis to a thickness of 3.3mm. Cut a wedge-shaped mouth out of this flattened sphere starting from the center, with the opening angle of the gape being 45 degrees. To accommodate a magnet, create a cylindrical hole 12mm...
include <magnet.scad> magnet_diameter = 12; magnet_height = 3; pacman_diameter = 60; gape_angle = 45; difference() { pacman(); translate([-(magnet_diameter/2+2),0,0]) #magnet(magnet_diameter, magnet_height); } module pacman(diameter = pacman_diameter, mouth_angle = gape_angle, thickness = 33) { radius =...
glb/cad_34af05416ef4.glb
Create a switch bar holder designed to mount a standard power supply switch to a cylindrical bar. Start by creating a main cylindrical ring with an inner diameter of 22.7mm and a height of 16mm. The wall thickness of this ring should be 2mm. Attached to the side of this ring, construct a rectangular housing to hold...
$fn=100; sqrt32=1.732050808/2; dd=0.01; dd2=dd+dd; d2=dd2; d=dd; thin=0.15; wall=2; wall2=4; dbar=22.7; dseat=dbar; hh= 16; swx=13; swy=19.5; swy1=12; swz=21; swz1=13; module up(h) { translate([0,0,h]) children(); } module dh() { up(-dd) children(); } module gaika(m, h) { cylinder (r=(m*1.02)/sqrt32/2...
glb/cad_d0ead3431e74.glb
Create a ghost fridge magnet by constructing a flattened, dome-like body with a diameter of 60mm and a thickness of 3.3mm. The main body is formed by a sphere of 30mm radius, scaled down on the Z-axis to 3.3% of its original height, and merged with a cylinder of the same radius and a height of 36mm (60% of the diameter...
include <magnet.scad> magnet_diameter = 12; magnet_height = 3; ghost_diameter = 60; ghost_thickness = 33; ghost_fold_amount = 3.5; difference() { ghost(ghost_diameter, ghost_fold_amount, ghost_thickness); #magnet(magnet_diameter, magnet_height); } module eye(radius, ghost_thickness) { pupil_radius = rad...
glb/cad_0b680d4d3655.glb
Create a Shopping Cart Coin Holder designed to hold a single coin with a diameter of 26.48mm and a thickness of 1.92mm. The model consists of two identical semi-circular faceplates and a central spring ring. Each faceplate is a half-disk with a diameter of 32.38mm (coin diameter plus a 5.9mm spring thickness) and a h...
ForPrinting=0; CDia=26.48; CThick=1.92; PrintTol=0.2; MinPrintWidth=1.2; SpringFactor=5; SpringThick=MinPrintWidth*SpringFactor; SpringHeight=CThick; ClipHangOver=6.5; KeyRingDia=5; $fn=120; if (ForPrinting==1) { translate([0,CDia+SpringThick+MinPrintWidth,CThick/2])rotate([0,0,-45])FacePlate(); translate([0,...
glb/cad_3d90adcbe313.glb
Create a Raspberry Pi 2/3 Rack designed to hold three boards upright. The structure consists of two mirrored side walls connected by a series of stacked horizontal units. Start by creating two base plates, each 61.5mm wide by 97mm long and 2mm thick, positioned at the top and bottom of the assembly. Between these plat...
rack_height=3; rpi_width=57.5; rpi_length=87; u_height=23; wall=2; ledge=2; port_height=11; port_len=61; module rack_side(){ translate([0,-3*wall,-wall]) cube([rpi_width+2*wall,rpi_length+wall*4,wall]); } module one_u(){ difference(){ translate([0,-wall*3,0]) cube([rpi_width+2*wal...
glb/cad_f468b576b123.glb
Create a wire shelving coathook and lampholder. Start by constructing a clip for a 7mm diameter wire. This clip is formed by two cylinders with a radius of 8.5mm and a height of 12mm, positioned 24mm apart center-to-center. Connect these cylinders with a hull operation and remove a central core consisting of two cylind...
bigwiredia = 7; bigwireouterlim = 31; bigwireOC = bigwireouterlim - bigwiredia; bigwireretention = 1; clipend_thick = 5; clipend_zmin = 12; hooklength = 30; lamppiperadius = 5; lamppipethick = 2.5; clipend_z = 2 * (lamppiperadius + lamppipethick); bigwirerad = bigwiredia / 2; module clipend () { difference () ...
glb/cad_36e3c03a42c5.glb
Create a wire shelving coathook consisting of a mounting clip and an extending hook. First, construct the mounting clip by creating a solid block that is 12mm high. This block is formed by the hull of two cylinders with a radius of 8.5mm, spaced 24mm apart center-to-center. From this solid, remove a central channel b...
bigwiredia = 7; bigwireouterlim = 31; bigwireOC = bigwireouterlim - bigwiredia; bigwireretention = 1; clipend_thick = 5; clipend_z = 12; hooklength = 40; bigwirerad = bigwiredia / 2; module clipend () { difference () { hull() { cylinder (r = bigwirerad+clipend_thick, h = clipend_z...
glb/cad_bcbd0a5c413e.glb
Create a parametric Arduino case by starting with a solid rectangular block measuring 58mm wide, 73mm long, and 8mm high. Hollow out the center to create a recessed interior box that is 54mm wide and 69mm long, leaving a wall thickness of 2mm and a bottom floor thickness of 1mm. The interior cutout should leave a 6mm s...
arduino_width = 54; arduino_length = 69; arduino_usb_width = 13; arduino_usb_height = 15; arduino_usb_x = 9.5; arduino_power_width = 9.5; arduino_power_height = 15; arduino_power_x = 3.5; wall_thickness = 2; wall_height = 7; bottom_thickness = 1; side_shoulder = 6; drill=3.2; difference() { cube([arduino_width+(2*w...
glb/cad_b0df7b684d57.glb
Create a coupling for two pieces of gutter by constructing a rectangular block with a total width of 8.2mm, a length of 12.5mm, and a height of 25mm. From this main block, remove a central rectangular section to create a U-shaped channel. This cutout should start 1.6mm from the left edge and have a width of 2.5mm, exte...
Gutter_Wall_Thickness = 2.5; Coupling_wall_thickness = 1.6; couplingLength = 12.5; couplingWidth = 3*Coupling_wall_thickness + 2*Gutter_Wall_Thickness; gutter_Coupling_Height = 24-1; couplingHeight = gutter_Coupling_Height+Coupling_wall_thickness; difference(){ difference(){ cube([couplingWidth,coupling...
glb/cad_c577111c6aab.glb
Create a window clip for a makerbot by extruding a specific 2D profile to a width of 8mm. The profile is a continuous, winding path that forms two interlocking C-shaped channels. The first channel, designed to fit over a 5mm thick piece of wood, starts with a 1mm chamfer at the bottom corners. The walls of this secti...
wood_thickness=5; window_thickness=2.5; clip_thickness=3; clip_height=20; clip_width=8; clearance=0.75; chamfer=1; space=1; space_height=6; extra=1; linear_extrude(height=clip_width) polygon([ [0,chamfer], [chamfer,0], [clip_thickness-chamfer,0], [clip_thickness,chamfer], [clip_thickness,clip_height-clip_thick...
glb/cad_5d4756859201.glb
Create a name tag for a Printrbot. Start by creating a rectangular base with a width of 40mm, a length of 65mm, and a height of 5mm. Apply a corner radius of 10mm to all four vertical edges of the base. On the top surface of the base, add the text "Printrbot #" and the numbers "01125" as raised geometric features with...
union(){ ##fnt_str(["P", "r", "i", "n", "t", "r", "b", "o", "t", " ", "#"],26,1,2); ##translate([15,15,0]) fnt_str(["0", "1", "1", "2", "5"],26,1,2); difference(){ translate([5,25,-2]) roundCornersCube(40,65,5,10); translate([17,2,-6]) cylinder(10,5,5); translate([17,48,-6]) cylinder(10,5,5); } } module creat...
glb/cad_918e4e747e99.glb
Create a parametric flashlight lampshade consisting of a hollowed, rotationally symmetric body. Start by forming a cylindrical base with an outer diameter of 25mm and a height of 15mm. This base has a wall thickness of 1mm. On top of this base, construct a conical section that tapers upward from the base's outer diamet...
cap_diam = 25; cap_height = 15; cap_flat = cap_diam/4; point_height = 50; thickness = 1; slit = 1; design = 0; shape = [ [cap_diam/2, 0], [(cap_diam/2)+thickness, 0], [(cap_diam/2)+thickness, cap_height+thickness], [(cap_flat)+thickness, cap_height+thickness], [thickness,point_height+thickness], ...
glb/cad_9c92ea81303c.glb
Create a prechodka by generating a revolved solid based on a specific profile. First, create a solid of revolution by rotating a polygon around the Z-axis. This polygon should have vertices at [0,0], [10,0], [10,10], [5,15], [5,20], and [0,20]. From this solid, remove a second revolved volume to create a hollow interio...
echo(version=version()); difference() { color("255,201,0") translate([0,0,0]) rotate_extrude($fn = 80) polygon( points=[[0,0],[10,0],[10,10],[5,15],[5,20],[0,20]]); color("silver") translate([0,0,0]) rotate_extrude($fn = 80) polygon( points=[[0,0],[8,0],[8,8],[3,1...
glb/cad_342c0df17d03.glb
Create an ear spiral jewelry piece by constructing a tapered, curving coil. The shape is formed by a series of 30 connected spherical segments that grow progressively larger and move outward from a central point. Start the innermost point with a radius of 0.5mm, positioned 2mm from the center. As the coil curves outwar...
spiral_steps=30; spiral_start_rad=2; spiral_end_rad=22; spiral_turns=0.85; spiral_point_rad=0.5; spiral_fat_end_rad=4.5; spiral_exponent=1.08; module spiral_segment(i) { rotate([0,0,360*spiral_turns*pow(i,spiral_exponent)/spiral_steps]) translate([spiral_start_rad+(spiral_end_rad-spiral_start_rad)*i/spiral_steps,...
glb/cad_0bf877896461.glb
Create a Cable Guide by constructing a hollow cylinder with an outer diameter of 30mm, a length of 80mm, and a wall thickness of 2.5mm. Cut a wide opening through the side of the cylinder to allow cable entry; this opening should be 9mm wide and oriented at a 50-degree angle relative to the center. On one side of the ...
length=80; diameter=30; thickness=2.5; cut_angle=50; cut_width=9; hole_count=3; hole_padding=10; hole_diameter=3; port_diameter=8; hole_counter=true; hole_counter_depth=2; hole_counter_diameter=3.5; mount_width=10; mount_addheight=3; $fn=120; radius=diameter/2; mount_offset=sqrt(pow(radius-thickness, 2)-pow(mount_wid...
glb/cad_322451b3f1b0.glb
Create a basic chain consisting of 7 interlocking links arranged in a circular loop. Each individual link is constructed by taking a 10-sided prism ring with an outer radius of 100mm and an inner radius of 85mm, then scaling it to an oval shape with a width-to-height ratio of 1:1.4 and a thickness of 50mm. Apply a smal...
$fn=10; link_radius = 100; number_of_links= 14; bevel_size = .1; chain(number_of_links, link_radius, bevel_size); module base_link(radius) { difference() { cylinder(h=radius * .5, r=radius, center=true); cylinder(h=radius * 1.1, r=radius *.85, center=true); } } module bevel_link(ring_radius, size) { minkow...
glb/cad_bc5777281ce2.glb
Create three cable clamp fixes of varying sizes. Each fix is based on a central square plate 2mm thick. For the base plate, create a square 20mm by 20mm and remove a smaller 7mm by 7mm square from the center, leaving a 6.5mm wide rim. Drill two holes completely through the plate, each with a radius of 1.25mm, positione...
$fn=50; module upor() { translate([-1,0,0]) hull(){ translate([0,-2.5,4]) cube([2,2.5,1.5]); cube([2,6.5,0.1]); } } module cable_fix(){ translate([0,0,5]) difference(){ cube([8,8,2], center=true); translate([0,0,-1])cube([7,7,0.8], center=true); ...
glb/cad_64ea235a4829.glb
Create a Wrist Arduino Mount consisting of a rectangular base plate with an attached dovetail rail. Start by creating a rectangular plate 55mm wide, 69mm long, and 3mm thick. Center the plate on the origin. Drill four circular holes through the plate, each with a radius of 2mm. Position two holes near the top edge, off...
include <lib/dovetail.scad> $fn=30; length=69; width=55; thick=3; hole=2; union() { plate(); translate( [0, 45/2, thick-0.1] ) rotate( [90,0,0] ) male_dovetail(max_width=13.5, min_width=10.5, depth=4.5, height=45, cutout_width=4, cutout_depth=3 ); } module plate() { difference() { translate...
glb/cad_88a3828c4676.glb
Create a horizontal pipe rest consisting of a rectangular block with a semi-cylindrical cutout. Start with a solid cylinder that has an outer diameter of 35.5mm and a length of 20mm. To create the base, attach a rectangular block to the side of this cylinder; the block should have a width equal to the cylinder's diamet...
Cyl_ID = 23.5; Wall_Thk = 6; Wall_Thk2x = Wall_Thk * 2; Cyl_OD = Cyl_ID + Wall_Thk2x; Cyl_Len = 20; CylID_Res = (round(((Cyl_ID * 3.14)/4)/.7)*4); CylOD_Res = (round(((Cyl_OD * 3.14)/4)/.7)*4); Cyl_Rad = Cyl_OD / 2; module PipeRest() { rotate([90,0,0]) translate([0,Cyl_Rad,0]) difference() { u...
glb/cad_2d3ca99205d1.glb
Create a Corner Structure Base for an MPCNC. Start with a base plate 5mm thick. On this base, construct three perpendicular cylindrical holders for EMT pipes. The vertical Z-axis holder has an inner diameter of 23.5mm and an outer diameter of 35.5mm, with a height of 40.75mm. The X and Y axis holders both have an outer...
$vpt=[6,8.4,5]; $vpr =[45.9,0,64.2]; $vpd =265; Cyl_ID = 23.5; Cyl_OD = 35.5; Z_Cyl_Len = 40.75; X_Cyl_Len = 43.5; Y_Cyl_Len = 43.5; Ht = 5; Rnd_Tight_OD = 12.5; Weld_OD = 4; EMT_HoleChamfer_OD = 4; Small_Hole = 4.0; M5Nut_OD = 9.5; M5_OD = 6.0; M5Head_OD = M5Nut_OD; M5_Hole_Offset = 26.5; M5_Res = 32; M5_Recess ...
glb/cad_5dec0abfb2d4.glb
Create a Braille Business Contact Card by starting with a rectangular base plate measuring 89mm in width, 50mm in depth, and 0.6mm in height. On the top surface of this plate, add three rows of Braille text. The first row, containing the name "Julius Howlett", should be positioned 33mm from the bottom edge and 2mm from...
use <Write.scad> $Name = "Julius Howlett"; $Phone = "(555) 555 5555"; $eMail = "julius@3E8.us"; union(){ linear_extrude(height=.6)translate([0,0,10])square([89,50]); translate([2,33])write($Name,t=.9,h=7,font="braille.dxf"); translate([2,23])write($Phone,t=.9,h=7,font="braille.dxf"); translate([2,13])write($eMail,t=....
glb/cad_57dea531c99c.glb
Create a Braille Business Contact Card by starting with a rectangular base plate measuring 297mm in width, 210mm in depth, and 0.6mm in height. On the top surface of this plate, add two columns of Braille text. The first column is positioned on the left side, starting at a coordinate of 2mm from the left edge, with ten...
use <Write.scad> $E0 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E1 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E2 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E3 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E4 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E5 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $E6 = "0123456789ABCDEFGHI...
glb/cad_f732d60bb214.glb
Create a Z-axis top aligner consisting of two stacked cylinders with a central hole. First, create a base cylinder with a radius of 5mm and a height of 15mm. On top of this base, centered at a height of 15mm, add a second, wider cylinder with a radius of 6mm and a height of 5mm. Finally, bore a vertical hole through th...
$fn=150; difference(){ union(){ cylinder(r=10/2,h=15); translate([0,0,15]) cylinder(r=12/2,h=5); } translate([0,0,-0.1]) cylinder(r=8.2/2,h=8); }
glb/cad_8b31668d58a2.glb
Create a Parametric Platform Clip by constructing a thick, U-shaped bracket. Start with a solid cylinder centered at the origin with a height of 4mm and a radius of 8mm. Attached to this cylinder, add a centered rectangular block with a width of 14.4mm, a height of 4mm, and a length of 9mm extending along the X-axis, s...
Gap = 6.4; Thickness = 4; Reach = 9; Width = Gap + Thickness*2; difference() { union() { cylinder( h = Thickness, r = (Thickness * 2 + Gap) / 2, center=true); translate([Reach/2, 0, 0]) cube( size=[ Reach, Width, Thickness], center=true); } union() { cylinder( h = Thickness, r = Ga...
glb/cad_f89547af2b48.glb
Create a Hesine Prusa i3 M-505 X-End shifter by extruding a specific 2D polygon to a height of 20mm. The polygon vertices are defined at [0,0], [13,0], [17,4], [30,4], [30,9], [17,9], [13,5], and [0,5]. Within this extruded volume, create four cylindrical holes oriented horizontally along the X-axis. Position two holes...
$fn=50; dl=2.5/2; dr=1.5/2; difference(){ linear_extrude(height = 20) { polygon([[0,0],[13,0],[17,4],[30,4],[30,9],[17,9],[13,5],[0,5]]); } translate([5,7,5]){ rotate([90,0,0]){ cylinder(20,dl,dl,center=true); } } translate([5,7,15]){ rotate([90,0,0]){...
glb/cad_f766ca366152.glb
Create an adjustable hosepipe union with a total length of 40mm and an outer diameter of 6mm. The object is a hollow cylinder with a consistent wall thickness of 1.2mm, meaning the internal bore has a diameter of 3.6mm. To create the exterior profile, start with a main cylinder of 6mm diameter and 40mm length. Add two ...
$fn=64; module half_shtucer(tube, length_tube=30, wall=6*0.4,){ difference (){ union(){ cylinder(length_tube,tube,tube); translate([0,0,length_tube/3-1]) difference (){ union (){ translate([0,0,1]) cylinder(1,tube+0.5...
glb/cad_c5e451ae6dd3.glb
Create a pipe union adapter consisting of three coaxial sections: a large base tube, a tapered transition, and a smaller top tube. First, create the base section as a hollow cylinder with an inner diameter of 11.5mm, an outer diameter of 13.1mm, and a height of 15mm. At the top of this base, add a thin 1mm thick flat...
$fn=64; N=4; layer=0.4; module flanetc(i_big_tube, length_big_tube, small_tube, length_small_tube, length_connector_tube ){ i_small_tube = small_tube - N*layer; big_tube=i_big_tube+N*layer; translate ([0,0,length_big_tube]){ translate([0,0,length_connector_tube]) difference (){ cyl...
glb/cad_82c3cace213d.glb
Create an Arduino RAMPS mounting plate with a total height of 11mm. The base is a flat plate featuring four primary mounting holes located at the corners of a rectangle measuring 81.5mm by 48mm. Each of these four corner holes has an outer diameter of 7.5mm and an inner clearance hole of 3.5mm. On the left and right s...
holes_size = 1.75; holes_size_outter = 3.75; holes_support = 11; translate([70.5,0,0]) { translate([0,-30,0]) { bar_clamp(); cube([10,76,1.3]); } translate([6.8,-18,0])rotate([0,0,3.5])cube([3,63,holes_support*.65]); } translate([-3,0,0]) { translate([0,-30,0]) { bar_clamp(); cube([10,76,1.3]); } transl...
glb/cad_cc8d1f3dbd97.glb
Create a K8200 spool holder half by starting with a cylinder 70mm high with a radius of 25mm. Cut this cylinder in half along its vertical axis to create a semi-cylinder. From the center of this semi-cylinder, remove a smaller concentric cylinder with a radius of 5mm and a height of 70mm. To create the central mounti...
module half_spool(){ difference(){ union(){ difference(){ cylinder (r1=25, r2=25, h=70, $fn=120); cylinder (r1=3, r2=3, h=70, $fn=120); translate ( [0,-50,0] ) cube ( [50, 100, 70] ); translate ( [0,-13,0] ) cylinder (r1=5, r2=5, h=70, $fn=120); translate ( [0,-13,35] ) cylinder (r1=8, r...
glb/cad_3afdeabf64b5.glb
Create a telescopic umbrella connector piece. Start with a main outer cylinder that has a diameter of 32mm and a total height of 50mm, using a 20-sided polygonal facet resolution. Remove a vertical slice from the center of the cylinder to create a gap, and hollow out the center to create a tube. This central void shoul...
outer_diameter = 32; inner_diameter_lower = 25.25; inner_diameter_upper = 22.25; connector_height = 50; module tubus(){ difference(){ union(){ cylinder (r1=outer_diameter/2, r2=outer_diameter/2, h=connector_height, $fn=20); translate ( [7, 9, connector_height/2] ) fastener(); translate ( [-13, 9, con...
glb/cad_a5233fc1eef5.glb
Create a Card and Rubber band Wallet consisting of a rectangular plate with a thickness of 2mm and overall dimensions of 88mm by 56mm. Center the plate on the origin. From this main body, remove several geometric sections to create specific cutouts. First, remove a central rectangular block measuring 29.33mm wide, 15mm...
difference(){ cube([88,56,2],true); translate([43.5,0,0])cube([1,7,3],true); translate([-43.5,0,0])cube([1,7,3],true); translate([0,-21,0])cube([88/3,15,3],true); translate([0,16,0])cube([55,1.5,3],true); }
glb/cad_14de7ced0b0d.glb
Create a handle for a SteadyCam consisting of a rectangular base plate and an attached grip. Start with a rectangular plate 34.5mm long, 19mm wide, and 6mm thick. At a position 23mm from one end and centered along the width, create a circular hole 6mm in diameter that passes completely through the plate. At the end opp...
plate_t = 6; plate_w = 19; hole_d = 6; notch_w = 7; notch_l = 12; plate_l = 34.5; hole_pos = 23; grip_d = 25; grip_l = 110; grip_a = 20; module grip() { difference() { cube(size = [plate_l, plate_w, plate_t], center=false); translate([hole_pos, plate_w/2, -1]) cylinder(r = hole_d/2, h = plate_t+2); }...
glb/cad_68b5093261cf.glb
Create a Di Glide strap adjuster. Start with a solid rectangular block measuring 30.8mm in width, 8.8mm in depth, and 2.4mm in height. Apply a corner radius of 1.8mm to all vertical edges. The top and bottom faces should be chamfered toward the center to create a recessed middle section. Specifically, create a centra...
_1_webbingWidth = 26; _2_webbingGap = 4; _3_edgeThickness = 2.4; _4_height = 2.4; _5_cornerRounding = 75; _6_cornerBreakage = 0.66; _7_centerDepth = 1.2; module roundedCube(size=[10, 10, 10], r=2) { minkowski() { cube(size=[size[0] - 2 * r, size[1] - 2 * r, size[2] - 0.2], center = true); cylinder(r=r,...
glb/cad_8df9c5986511.glb
Create a magnetic fridge pen holder by starting with a vertical cylinder that has an outer diameter of 14mm and a total height of 50mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 11mm, leaving a wall thickness of 1.5mm, but stop the cutout 2mm from the back edge ...
total_height=50; pen_diameter=10; magnet_diameter=10; magnet_height=1; outer_diameter=pen_diameter+4; rotate([0,0,-90]) difference() { difference() { linear_extrude(height=total_height,convexity=10) union() { circle(r=(outer_diameter/2), $fn=64); translate([-(outer_diameter/2),0,0]) square([outer_diameter,magnet_h...
glb/cad_d8e0a19ee484.glb
Create a Greek Cross Puzzle by constructing a 3D Greek cross shape with a thickness of 5mm. The cross is formed by a central square and four identical squares attached to each of its sides. To define the geometry, use a coordinate system where the vertices of the cross are located at: (-0.5, 1.5), (0.5, 1.5), (0.5, 0.5...
font = "Liberation Sans"; mark = 7; if (mark==1) pieces_one(); else if (mark==2) pieces_two(); else if (mark==3) scale(10) answer_1(); else if (mark==4) scale(10) answer_2(); else if (mark==5) scale(10) answer_3(); else if (mark==6) scale(10) answer_4(); else if (mark==7) linear_extrude(height=5) s...
glb/cad_b7803817e8da.glb
Create a Makerbot Name Tag consisting of a main rectangular plate with two integrated mounting clips. First, create the main plate as a rounded cube with dimensions 40mm wide, 65mm long, and 5mm thick, using a corner rounding radius of 10mm. Next, add two identical mounting clips. Each clip is formed by creating a ...
union(){ ##fnt_str(["M", "a", "k", "e", "r", "B", "o", "t", " ", "#"],26,1,2); ##translate([15,12,0]) fnt_str(["0", "0", "5", "8", "3", "0"],26,1,2); hook(); translate( [0, 28, 0] ) hook(); difference(){ translate([8,22,-2]) roundCornersCube(40,65,5,10); } } manifoldCorrection = 0.01; module hook() { transl...
glb/cad_467a2d800a72.glb
Create a circular button with a diameter of 25.4mm and a thickness of 3.175mm. The main body should be a cylinder with a resolution of 40 facets. To create the sewing holes, remove four small cylindrical holes, each with a diameter of 1.5875mm. These holes should be positioned in a circular pattern around the center ...
diameter_of_button = 1; height_of_button = .125; radi_to_center_of_hole = .125; diameter_of_hole = .0625; number_of_holes = 4; ignore_error_messages = 2; button_shape = 0; resoultion = 40; rounded_center = 1; number_of_Colors = 1; units_entered = 25.4; desired_units_for_output = 1; unit_conversion_factor = units...
glb/cad_4eabb902cb7c.glb
Create a Carcassonne Box organizer. Start by creating a solid rectangular base with a total width of 153.8mm (calculated as 72 tiles at 2.1mm thickness each, plus 0.6mm excess space and two 1mm walls), a depth of 47.2mm (45.2mm interior plus two 1mm walls), and a height of 21mm. Hollow out the center of this block to ...
number_of_tiles=72; Divider=0; Meeple=0; tile_width=45.2; wall_width=1.0; tile_thickness=2.1; tile_excess_space=0.6; height=20; no_of_divider=0; divider_width=1; div1=0; div2=0; div3=0; div4=0; div5=0; mcom=0; mpos=0; mspace=22; mheight=40; mwidth=1; $fn=200; circle_radius =10; difference(){ ...
glb/cad_bf383a3b01a8.glb
Create a Printable Gun, a mechanical toy designed to shoot discs. Start by constructing the main body and guide. Create a rectangular guide block 50mm long with a central channel. Integrate a magazine housing that can hold 8 discs, each with a radius of 10mm and a height of 3mm. The magazine should be a hollow cylind...
include <publicDomainGearV1.1.scad> fr=1.55; t=0.5; dr=20/2; dh=3; mt=3.0; ma=90; bl=50; mag=8; mmpt = 5; PI=3.14159265359; $fn=64; wcenter=pitch_radius(mmpt,50)+6+mmpt/PI; module pie(h, r1, r2, angle) { rmax=max(r1,r2)+2; difference(){ cylinder(h,r1,r2); rotate(angle/2,[0,0,1])translate([-rmax,0,-1])cube...
glb/cad_9f7344a0275c.glb
Create a pen arm top for an Eggbot designed to hold a 15mm diameter marker. Start with a main body that is 10mm thick. The overall shape is an elongated arm with a large hexagonal cutout at one end to accommodate the pen. At the opposite end of the arm, create a series of holes and slots for pivoting and mounting. In...
$fn=108; d_fit=0.25; module pen_arm_top_new() { difference() { union() { hull() { translate([0,0,5]) rotate([90,0,0]) cylinder(r=5, h=16, center=true); translate([64 - 2*5,-8+5,0]) cylinder(r=5,h=10)...
glb/cad_ef5fdccd13d3.glb
Create an X Carriage for a single QU-BD extruder. Start with a main rectangular body that is 88mm long, 42mm wide, and has a height based on the extruder width plus a 3mm wall thickness. At the center of the body, create two primary cylindrical bearing holes with a radius of 8mm (LM8UU diameter) and a length of 88mm,...
include <configuration.scad> LM8UU_dia = 16; LM8UU_length = 25.1; rod_dia = 8; screw_thread_dia_iso = 3.5; screw_head_dia_iso = 6.5; nut_wrench_size_iso = 5.5; clearance_dia = 0.5; screw_thread_dia = screw_thread_dia_iso + clearance_dia; screw_head_dia = screw_head_dia_iso + clearance_dia; nut_wrench_size = nut_wren...
glb/cad_94c92b4be994.glb
Create a coffee stencil by starting with a thin circular disk 100mm in diameter and 1.5mm thick. Attach a small handle to the side by adding a flattened semi-cylinder with a radius of 10mm and the same 1.5mm thickness, centered on the edge of the disk. Finally, carve a custom logo into the center of the disk; this cuto...
image_file = "c:\\Logo\\symbol_vertix_K_neg_cropped_100x100.png"; height = 1.5; radius = 50; handle_radius = 10; image_width = 40; image_length = 40; assembly(); module assembly(){ difference(){ union(){ cylinder (r=radius, h=height); translate([-50,0,0]) {scale ([2,1,1]) cyli...
glb/cad_22978581ae84.glb
Create a prototype propeller consisting of a central hub and four radiating blades. Start by creating a hollow cylindrical hub with an outer diameter of 120mm and a height of 10mm, featuring an inner bore of 118mm. Construct the blades using rectangular plates measuring 55mm in length, 20mm in width, and 1mm in thick...
cyl_detail = 120; cylinder(d=30,h=10); module blade() { translate([4,8,-2]) rotate([55,0,0]) cube([55,1,20]); translate([-59,-10,0]) rotate([-55,0,0]) cube([55,1,20]); } module blades() { union() { blade(); rotate([0,0,45]) blade(); rotate([0,0,90]) blade(); ...
glb/cad_7f7fecacadde.glb
Create a Bowden link for a pneumatic fitting. Start with a rectangular base plate 50mm wide, 16mm deep, and 7.5mm high. At each end of this base, center a semi-cylindrical fillet with a radius of 8mm. On top of the center of the base plate, add a square block 16mm wide, 16mm deep, and 15mm high. Create a vertical h...
use <../lib/M_screw.scad> bl_cable_r = 6.0/2; bl_filament_r = 4.2/2; bl_bolt_r = 3.0/2; bl_bolt_l = 20.0; bl_mount_sep = 50.0; bl_mount_r = 4.0/2+0.25; bl_overlap = 1.1; bl_block_side = bl_bolt_l-4; bl_block_height = 15.0; bl_base_height=7.5; bl_m = 0.05; bl_fn = 40; bl_cone_base_r = 5.0; bl_screw_mount_M = 6; bl_scr...
glb/cad_df60358fabe8.glb
Create a prototype 3-bladed kayak propeller. Start by creating a central hollow cylinder with an outer diameter of 120mm and a height of 10mm, featuring an inner bore of 118mm that passes through the center. To form the blades, create three identical rectangular plates, each measuring 55mm by 20mm with a thickness of 1...
cyl_detail = 120; cylinder(d=30,h=10); module blade() { translate([4,8,-2]) rotate([55,0,0]) cube([55,1,20]); translate([-59,-10,0]) rotate([-55,0,0]) cube([55,1,20]); } module blades() { translate([4,8,-2]) rotate([55,0,0]) cube([55,1,20]); translate([-10,-1,-2]) rotate...
glb/cad_0eedf74e2c54.glb
Create a replacement key fob consisting of a hollowed-out outer shell and an internal mounting structure. The outer shell is a rounded rectangular form with a total height of 14.2mm. Its main body is based on a hull created from two centered rectangles: a larger one measuring 36.8mm by 20.2mm and a smaller one measurin...
fbl = 32.8; fbw = 16.2; fbh = 10.2; fsl = 28; fsw = 12.4; fsh = fbh; z = 0.01; th = 2; fn = 128; khr = 3; kbw = 20.3; bhr = 1.5; x=22; module keyfobcutout() { linear_extrude(height=fsh) { hull() { square([fbl, fbw], center=true); translate([0,(fbw+fsw)/2,0]) square([fsl,fsw],center=true); } } tran...
glb/cad_f0e640427d96.glb
Create a MendelMax bed leveler consisting of a central cylindrical body with a complex outer rim. Start by creating a solid cylinder with a radius of 4mm and a height of 5.5mm. Centered within this cylinder, remove a hexagonal hole with a radius of 3.35mm and a height of 3mm, and a smaller circular hole with a radius o...
holeR = 3.4 / 2; nutR = 3.35; nutH = 3; module ring() { difference() { cylinder(r=12, h=3.5); for ( i = [0 : 5] ) { rotate( i * 360 / 6, [0, 0, 1]) translate([12, 0, -0.1]) cylinder(r=4, h=10); } } } module m() { difference() { union() { ring(); cylinder(r=4, h=5.5); } translate([...
glb/cad_77ce501a762b.glb
Create a drilling fixture consisting of two separate components: a base table and a keyed clamping block. For the base table, start with a central block measuring 70mm x 70mm x 10mm. Add two rectangular wings extending from the sides to create a total width of 70mm, while maintaining the 10mm thickness. On the top sur...
hotend_diameter = 25; hotend_height = hotend_diameter; keyed_clamp_diameter = hotend_diameter+8; module drill_fixture(base_dim=[50,50,10], ang=45) { difference() { union() { cube(base_dim, center=true); translate([0, -base_dim.z/2*sin(ang), base_dim.y/2*sin(ang)]) rotate([ang,0,0]) difference() { ...
glb/cad_bc8071d07337.glb
Create a drilling fixture consisting of two separate parts: a main table and a keyed clamping block. First, construct the table as a hollow rectangular box with outer dimensions of 70mm x 70mm x 50mm and a wall thickness of 10mm. Remove a hexagonal prism from the center of the box, oriented vertically, with a diamete...
hotend_diameter = 25; hotend_height = hotend_diameter; keyed_clamp_diameter = hotend_diameter+8; module drill_fixture_box(base_dim=[50,50,50],height=40, wall_thickness=10) { difference() { cube([base_dim.x,base_dim.y,base_dim.z], center=true); cube([(base_dim.x-wall_thickness*2+0.2), (base_dim.y-wall_thickness*2...
glb/cad_6cf4c98fbecc.glb
Create a phone wall mount dock by starting with a solid rectangular block measuring 83.5mm wide, 15.5mm deep, and 28mm high. Hollow out the center of this block by removing a smaller rectangular volume of 82mm by 14mm by 29mm, leaving a wall thickness of 1.5mm on the sides and top. Add a solid base plate to the bottom ...
phonewidth = 82; phonedepth = 14; hight = 28; thickness = 1.5; basethickness = 1; chargercut = 14; sides = 100; difference(){ union(){ difference(){ difference(){ cube ([phonewidth+thickness, phonedepth+thickness, hight], center = true); cube ([phonewidth, phonedepth, hight+1], center = true); } t...
glb/cad_b3455b78aa2f.glb
Create an Interlocking Brick System MicroQuad consisting of motor mounts, a midsection, and a camera mount. Use a base module size of 8mm and a height of 3.2mm. For the motor mounts, create four identical components. Each consists of a central cylinder with an outer diameter of 12.5mm (8.5mm motor diameter plus 2mm th...
output_type = "All"; motor_diameter = 8.5; mount_arm_length = 2; number_of_motor_mounts = 4; midsection_side_plates_size = 1; midsection_front_plate_size = 2; midsection_rear_plate_size = 2; camera_mount_angle = 10; add_back_support = "Yes"; back_support_height = 10; stud_adjustment = -0.1; hole_adjustment =...
glb/cad_bd3ca0e0227f.glb
Create a USB lightning cable card storage holder by starting with a rectangular base plate measuring 85.60mm by 53.98mm with a thickness of 1mm and rounded corners with a radius of 3mm. Add seven small rectangular grip blocks to the top surface of the plate. Each grip block is a 3mm cube with a semi-cylindrical notch o...
$fn=30; sw = 85.60; sl = 53.98; sh = 2; rd = 3; ch = 1; usbw = 27+12; usbl = 15.7; lightw = 30; lighth = 20; module card() { minkowski() { cylinder(r=rd/2,h=ch/2); cube([sw,sl,ch/2]); } } module grip() { difference() { cube([rd,rd*2,rd]); translate([-rd/2,rd,ch+rd/2]) rotate([0,90,0]) cylinder(r=rd/2,h=2*rd...
glb/cad_91bb8d01468e.glb
Create a coin dispenser consisting of a main tube, a top cap, and a bottom base. The main tube is a hollow cylinder with an outer diameter of 31mm and an inner diameter of 27mm, creating a 2mm wall thickness. The tube's total height is the sum of the dispensing tooth height (2mm), the space for 15 coins (each 2.23mm ...
CoinDiameter = 27.00; CoinHeight = 2.23; MaxCoins = 15; WallThickness = 2.0; ToothSize = WallThickness; SpringGAP=17; DispenserHoleRatio=0.7; TopToleranceRatio=0.93; BottomStopInserHeight=8.2; Facets=100; ScrewDiameter=3.2; Tube=0; UseClip=1; Top=0; Bottom=1; module MakeHoles() { translate([0,CoinDiameter,ToothSi...
glb/cad_96649c1b4753.glb
Create a parametric box with a matching cover. First, construct the main box as a cube measuring 60mm on each side with a wall thickness of 2mm. Hollow out the center by removing a cube of 56mm by 56mm, leaving the bottom wall 2mm thick and the top open. To create the cover, start with a solid cube measuring 60mm by 60...
module box(alto,ancho){ difference(){ cube ([alto,alto,alto-ancho],true); translate([0,0,ancho])cube([alto- ancho,alto-ancho,alto],true); } } module boxcover(alto,ancho){ difference(){ union(){cube ([alto,alto,ancho],true); translate([0,0,ancho])cube ([alto-ancho-0.7,alto-ancho-0.7,ancho*2],true); } translate([0,0,anc...
glb/cad_ea542df4fa8d.glb
Create a Bong Generator consisting of a hollow cylindrical base and a spherical chamber. Start by creating a base using a hull of two cylinders: one with a diameter of 80mm and a height of 10mm, and another with a diameter of 70mm and a height of 20mm. Bore a hole through the center of this base with a diameter of 60mm...
Diametre_exterieur=60; Diametre_interieur=55; Diametre_du_tube=10; Inclinaison=37; Vue=2; if(Vue==0){ Dessous();} if(Vue==1){ Milieu(); } if(Vue==2){ Dessous(); translate([0,0,250]) Milieu(); color([1,1,1,0.25]) scale([1,1,0.5]) tuyau(); translate([0,0,250]) rotate([0,Inclinais...
glb/cad_93a68b032436.glb
Create a network switch carriage consisting of a front plate, two side rails, and a back rail. The front plate is a rectangular slab 210mm wide, 6mm thick, and 60mm high. Cut a central rectangular hole through this plate measuring 160mm wide, 103mm high, and 27mm deep. Add a small rectangular slot 180mm wide, 10mm hi...
ForDisplay(); module ForDisplay(){ rotate([0,0,0]) FrontPlate(); translate([82,33,-13]) Rail(); mirror([180,0,0]) translate([82,33,-13]) Rail(); translate([0,103,-10]) BackRail(); } module ForPrint(){ translate([0,-70,0]) FrontPlate(); translate([82,33,-13]) Rail(); mirror([180,0,0]) translate([82,33,-13]) Ra...
glb/cad_e6c3e97476e0.glb
Create a fan mount for a 60mm fan. Start by creating a rectangular base plate with a total width of 98mm (80mm fan size plus 9mm padding on each side), a thickness of 3mm, and a depth of 13mm. From this base, remove two circular holes for screws, each with a 2.5mm radius. Position these holes centered along the depth, ...
fan_size = 80; width=3; fan_screw_offset=5; padding=9; fan_overlap=10; fan_screw_diam=5; bushing_x_size=16; bushing_z_size=12; difference () { cube([fan_size+padding*2, fan_overlap+width,width]); translate ([padding+fan_screw_offset, fan_overlap-fan_screw_diam/2, -0.1]) { cylinder(h=width+2, r=fan_screw_diam...
glb/cad_e0f991a12f06.glb
Create a Hanukkia candle holder. Start with a base consisting of a truncated cone that is 20mm high, tapering from a bottom radius of 40mm to a top radius of 8mm. Centered atop this base, add a vertical cylinder 80mm tall with a radius of 8mm. Above this, place a rectangular block 225mm wide, 16mm deep, and 7.5mm thick...
module ner(){difference(){ cylinder(h=15,r1=8,r2=12,center=true); translate([0,0,4])cylinder(h=10,r1=5,r2=5,center=true);} } module nerot(){ translate([-100,0,120])union(){ for(i=[0:3]){ translate([25*i,0,0])ner(); } translate([100,0,15])ner(); for(i=[0:3]){ translate([125 +25*i,0,0])ner(); } } } module basis(){ cyli...
glb/cad_8e3069769ea4.glb
Create a DCF77 Arduino receiver case consisting of a main box and a matching cover. The main box is a rectangular enclosure with outer dimensions of 22mm width, 122mm length, and 21mm height, featuring walls 1mm thick. Inside this box, create a hollow cavity 20mm wide, 120mm long, and 20mm deep. At the top end of the b...
innerWidth=20; innerHeight=120; wall=1; depth=20; arduinoLength=45; dcfBlength=18; antLength=50; antRad=8.5; holles1x=16.5; holles1y=9.3; holles2x=5; holles2y=25.5; box(); translate([-50,0,depth+2.5*wall]) rotate([0,180,0]) cover(); module cover() { render() difference() { translate([-2*wall-0.5,-3*wall,depth-wal...
glb/cad_e132432c37ea.glb