Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a parametric RC car wheel with an outer diameter of 48mm and a total width of 26mm. The main body is a hollow cylinder with a wall thickness of 2mm. At both the top and bottom faces, create a tire bead groove consisting of a 2mm thick outer lip and a 1mm thick inner lip, separated by a 4mm gap. The center of th...
module Hex_Prism(d,h) { difference() { cylinder (r=1*d,h=h,center=true); union() { for (i=[0:1:5]) { rotate([0,0,i*60]) translate([d,0,0]) cube([d,1.1*d,1.01*h], center=true); } } } } module TC_Wheel(wd,ww,hd,off) { module TC_Wheel_Tire_Groove() { olt = 2; ilt = 1; gap=4; translate([0,0,-w...
glb/cad_0faf92ea7f6f.glb
Create a parametric RC dogbone by constructing a central shaft and two identical end assemblies. Start with a central cylinder 25mm long with a radius of 1mm, oriented along the Y-axis. At both ends of this shaft, attach an end assembly consisting of a sphere with a diameter of 5mm and a smaller cylinder with a radius ...
module DogBoneEnd (bd,pd,pl) { union() { sphere(bd/2); rotate() cylinder(r=pd/2,h=pl,center=true); } } module DogBone(bd,pd,pl,sd,sl) { union() { rotate([-90,0,0]) cylinder(r=sd/2,h=sl); DogBoneEnd (bd,pd,pl); translate([0,sl,0]) DogBoneEnd (bd,pd,pl); } } $fs=.25; DogBone(5,2,8,2,25);
glb/cad_782f5d31a14e.glb
Create a Quadcopter 16mm Boom Block consisting of a central plate with four mounting pillars. Start with a flat plate 11.5mm thick, based on the provided boom block outline. In the center of this plate, remove a cylindrical hole with a radius of 8mm passing through the thickness. Also, remove a slot-like cutout 2mm wid...
FILE = "boom_block.dxf"; module boom_block_upper() { union() { difference() { linear_extrude(height = 11.5, convexity = 10, center = true) { import(file = FILE, layer = "0"); } translate([0, 0, -6.75]) { rotate([90, 0, 0]) { ...
glb/cad_dc9e4acad29d.glb
Create a drive stand for an EZQuest Monsoon drive. The overall footprint is a cylinder with a radius of 38mm and a total height of 44mm. The main body is a solid block 100mm deep, 112mm wide, and 44mm tall. Carve a central void through the depth of the stand to hold the drive, measuring 31.8mm wide, 120mm deep, and 20...
$fn = 24; make_rounded = true; ez_height = 31.8; ez_width = 120; ez_depth = 200; ez_squish = 0.3; stand_base = 4; stand_rise = 40; stand_splay = make_rounded ? 36 : 25; stand_wall = 13; stand_depth = ez_depth/2; stand_width = ez_height+stand_splay*2; stand_height = stand_base+stand_rise; module ezdrive(center=fals...
glb/cad_41fa7f3dbc03.glb
Create an Arduino Box enclosure consisting of a bottom base and a sliding top cover. For the bottom part, create a hollow rectangular box with external dimensions of 56.6mm width, 71.6mm length, and 33.7mm height. The walls should be 0.8mm thick. The interior cavity is 55mm wide and 70mm long. On one of the shorter s...
bottom(); arx = 54; ary = 69; arz = 30; abt = 2.3; ubh = 6; lrx = 1.5; lrz = 2.9; wt = 0.8; ws = 1; usbw = 13; usbx = 9; usbh = 12; usbhole = 34; psw = 9; psx = 41; cablew = 6; cableh = 2; ledr = 3; buttonr = 4; module bottom() { exth = arz + lrz + wt; union() { difference() { cube([arx + ws + (wt...
glb/cad_eca227d5413f.glb
Create a Thing-O-Matic X-Axis Follower. Start with a central rectangular block 28mm wide, 19.35mm high, and 18.1mm thick. Cut a cylindrical channel through the center of the block along its length to accommodate a rod with a radius of 6.35mm, adding a 1.5mm clearance around the circumference. At the top and bottom ...
include <MCAD/units.scad> Build = true; $fn = 8; ThreadThickness = 0.35; ThreadWT = 1.4; ThreadWidth = ThreadThickness * ThreadWT; HoleWindage = ThreadWidth; Protrusion = 0.1; BearingOD = 8; BearingID = 3; BearingThick = 4; BearingBoltDia = 2.75; BearingBoltRadius = BearingBoltDia/2; BearingStemOD = BearingBoltDia...
glb/cad_7f678471241e.glb
Create a protective case for a pulse sensor. The main body is a rounded rectangular enclosure with an outer length of 16.7mm and width of 6.1mm. The walls are 0.7mm thick. The interior consists of a central cavity to house a PCB with a diameter of 15.8mm and a thickness of 1.5mm. Create a recessed space for components...
part = "all"; pcb_d = 15.8; pcb_w = 5.5; pcb_l = 16.1; pcb_h = 1.5; pcb_rim = 0.8; wire_len = 5.0; wire_dst = 1.27; wire_dia = 1.5; pcb2top = 1.5; pcb2bot = 1.1; snap_dia = pcb2bot; snap_len_x = 10; snap_len_y = pcb_w; wall = 0.7; twall = 0.8; tol = 0.3; d = 0.01; module nut(af, h) { cylinder(r=af/2/cos(30), h=...
glb/cad_6a7dd727cce3.glb
Create an enclosure for a BlinkM RGB LED. Start with a square base plate measuring 45mm by 45mm with a thickness of 1mm, centered on the origin. From the center of this plate, extend a vertical cylinder with an outer radius of 18mm and a height of 15mm. Hollow out this cylinder by removing a concentric inner cylinder w...
top(); module top() { difference() { union() { difference() { cube(size = [45, 45, 1], center = true); translate(v = [0, 0, -5]) sphere(r = 17, $fn=80); } difference() { translate(v = [0, 0, -0.2]) cylinder(r = 18, h = 15, $fn=100); translate(v = [0, 0, -2]) cyl...
glb/cad_154bb81882b5.glb
Create a spoke magnet holder for a bicycle speedometer. Start by creating a main cylindrical cap with a diameter of 12mm and a height of 4.5mm. In the center of this cylinder, create a vertical hole with a diameter of 10mm and a depth of 3mm to accommodate a bolt. To secure the magnet, carve out a circular recess in th...
include <threads.scad> module bolt() { metric_thread(8, 1, 3); } module holder_cap() { difference() { translate([0,0,0.02]) color([1, 1, 0, 1]) cylinder(4.5, d=12, $fn=360); bolt(); } x = 4.05; y = 4.05; for(i = [0 : 1 : 15]) { a = i*(360/15.0); translate([x*...
glb/cad_26e27a033b69.glb
Create a spoke magnet holder for a bicycle speedometer. Start with a main cylindrical body that has a diameter of 10mm and a height of 8mm. In the center of this cylinder, create a vertical hole with a diameter of 5.2mm that extends through the bottom, stopping 4mm from the top face. To accommodate a bicycle spoke, c...
include <threads.scad> module bolt() { translate([0,0,-5]) color([1, 1, 0, 1]) cylinder(5.05, d=10, $fn=360); metric_thread(8, 1, 3); } module holder() { difference() { bolt(); translate([0,0,-4]) color([1, 1, 0, 1]) cylinder(7.1, d=5.2, $fn=360); translate([-5.5,-1,-2]) cube([1...
glb/cad_d80090acdc77.glb
Create a Clock-Frame by constructing a series of stacked cylindrical discs. Start with a base cylinder that has a radius of 60mm and a thickness of 3mm. To create the frame's internal cavity, remove the volume of a clock's negative space from each disc. Generate a total of seven of these identical discs. Stack them v...
step=0.5; thickness=3; radius=60; x_adjustment=-4; y_adjustment=4; z_adjustment=10.5; module frame_slice(i) { difference() { translate([x_adjustment,y_adjustment,z_adjustment-i*(thickness+step)]) cylinder(thickness,radius,radius); #import_stl("NegativeSpace-Clock-G8-60x12.stl"); } } slice=7; translate([0,...
glb/cad_74a275820dbd.glb
Create a Portal Sentry Turret body based on a base dimension of 85mm. Start by creating a central main body using a sphere with a radius of 42.5mm, scaled to 0.38 in X, 0.49 in Y, and 0.97 in Z. From this shape, remove a central vertical cylinder with a radius of 42.5mm and height of 85mm, and a rotated cube of 85mm pe...
module SentryBody() { body_height = 85; difference() { union() { color([0.4, 0.4, 0.4]) scale([0.38, 0.49, 0.97]) sphere(r = body_height / 2, center = true); color([0.8, 0.8, 0.8]) difference() { intersection() { scale([0.41, 0.52, 1]) sphere(r = body_height / 2, center = true); union() { scale(...
glb/cad_4837f544488d.glb
Create a Breadcrumb electronics prototyping plate. Start with a rectangular base measuring 50mm in length, 25mm in width, and 1.5mm in height. Across the surface of this plate, create a grid of holes, each 1.5mm in diameter. The holes should be spaced 2.54mm apart center-to-center, with the outer edges of the grid ma...
l=50; w=25; h=1.5; idHinge=2; odHinge=idHinge+3; hingeGap=0.2; s=2.54; holeD=1.5; bits=32; eMin=3; xHoles=round((l-2*eMin)/s); yHoles=round((w-2*eMin)/s); ex=(l-(xHoles-1)*s)/2; ey=(w-(yHoles-1)*s)/2; echo("x #holes=",xHoles," x edge=",ex); echo("y #holes=",yHoles," y edge=",ey); echo("holeD=",holeD,"nopD=", nopD(hol...
glb/cad_9194d75a2b64.glb
Create a TinyOLED display controller frame and rear cover. The main case is a rectangular block with an overall length of 51mm (47mm PCB length plus 2mm walls on each side), a width of 42mm (36mm PCB width plus 3mm walls on each side), and a height of 23mm. Inside the case, create a central cavity to house the PCB, w...
eh=0.25; ew=0.55; module chamfered_cube(size,d=1){ hull(){ translate([d,d,0])cube(size-2*[d,d,0]); translate([0,d,d])cube(size-2*[0,d,d]); translate([d,0,d])cube(size-2*[d,0,d]); } } module chamfered_cylinder(r=0,r1=0,r2=0,h=0,d=1){ hull(){ translate([0,0,d])cylinder(r1=(r?r:r1),r2=(r>0?...
glb/cad_dfa194c574db.glb
Create a TOM X-Axis Follower block. Start with a central rectangular body 28mm wide, 21.5mm thick, and 25.4mm high. Add a smaller rectangular pad to the top of the block, 28mm wide and 21.5mm thick, with a height of 4.7mm. Cut a central cylindrical void through the entire height of the block with a radius of 6.25mm to...
include </Users/tbuser/Dropbox/Code/fab/MCAD/units.scad> Build = true; $fn = 8; ThreadThickness = 0.35; ThreadWT = 1.5; ThreadWidth = ThreadThickness * ThreadWT; HoleWindage = ThreadWidth; Protrusion = 0.1; BearingID = 3; BearingOD = 8; BearingThick = 4; BearingBoltDia = BearingID; BearingBoltRadius = BearingBoltDi...
glb/cad_881f2b616cca.glb
Create a 3D sculpture called "another trapped thing" based on a 30mm cube centered at the origin. Start by creating a solid 30mm cube and remove three intersecting rectangular prisms, each measuring 20mm by 20mm by 30mm, aligned along the X, Y, and Z axes respectively, to create a hollowed-out frame. Inside this frame,...
module example004() { union() { difference() { cube(30, center = true); union() { cube(size = [20,20,30], center = true); cube(size = [30,20,20], center = true); cube(size = [20,30,20], center = true); } } difference() { union() { sphere(14, center = true); cube(size = [15,15,30],...
glb/cad_71b555dd4b77.glb
Create a 7-day pill organizer consisting of a central base and seven radiating compartments, each with a hinged lid. The overall footprint is a heptagonal prism with a height of 30mm. The outer boundary is a 7-sided polygon with a radius of approximately 45.6mm. The interior is hollowed out by a smaller 7-sided polyg...
module nub(h=2,k=5,r=10,r1=5,l=1.2,splay=0.55) difference() { union() { cylinder(k+splay,r1,0,$fn=30); translate([0,0,-h]) { cylinder(r=r,h=h,$fn=30); translate([0,-r,0]) cube([r+l,2*r,h]); translate([-r,0,0]) cube([r,r,h]); } } translate([0,0,-h-0.001]) cylinder(k-splay,r1,0,$fn=30); } mo...
glb/cad_28561a5f206e.glb
Create a panel mount for a 4.3" LCD screen. Start by constructing a rectangular hollow frame with an interior opening of 72mm by 122mm and a total height of 20mm. The walls of this frame should be 6mm thick. To create the mounting structure, add four reinforced corner pillars. Each pillar should be a cylinder with a 6...
tv_X = 72; tv_Y = 122; tv_Z = 14.5; wall_W = 6; wall_H = 20; $fn = 150; rotate([0,180,0]){ difference() { union(){ translate([0,-wall_W,0]) { cube([tv_X, wall_W, wall_H]); } translate([-wall_W,-wall_W,0]) { cube([wall_W, wall_W + tv_Y + wall_W, wall_H]); } translate([tv_X,-wall_W,0]) { cube([wal...
glb/cad_b4df467d1d56.glb
Create a Battery FIFO Dispenser consisting of a rectangular backplate with dimensions 100.5mm wide, 200mm high, and 10.4mm thick. Carve a symmetrical, angled pocket into the face of the plate to hold batteries. This pocket is defined by a central rectangular channel 15mm wide, flanked by two recessed areas. The reces...
EPS=0.01; $fs=0.2; AADiameter=14.3; AALength=51; Gap=0.5; BoardThickness=10.4; BoardWidth=100.5; BoardHeight=200; BoardMiddleWidth=15; PocketEdge=(BoardWidth-BoardMiddleWidth)/2; RestBoardWidth=BoardThickness-AADiameter/2-Gap; BatAngle=20; BottomEdge=10; screwDia=4; screwHead=screwDia+5; Aluminum = [0.77, 0.77, 0....
glb/cad_bbd648340408.glb
Create a GLCD mount and frame for a 128x64 graphic LCD module. The assembly consists of a protective case, a hinged mounting system, and an optional rear panel. First, construct the GLCD case. Create a rectangular box with a wall thickness of 4mm. The outer dimensions are approximately 102mm by 95mm by 18mm. On the fr...
include <MCAD/polyholes.scad> include <CUSTOM/uPost.scad> glcd_case(printable=true); glcd_rear(printable=true); hinge(move=true,printable=true); hinge(fix=true,printable=true); spacers(n=4,od=5.5,id=3.4,h=5); lcd_sx = 78.5; lcd_sy = 51.2; lcd_fit = 0.5; lcdm_sx = 93; lcdm_sy = 70; lcdm_hspx = 88; lcdm_hspy = 65...
glb/cad_6e8e8d094dea.glb
Create a saxophone reed by constructing a thin, wedge-shaped blade. Start with a rectangular base that is 16.3mm wide and 70mm long. The thickness of the part should vary along its length, starting at 3.1mm at the wide base and tapering down to a tip thickness of 0.2mm. The top surface of the reed should follow a subtl...
width=16.3; length=70; thickness=3.1; tip=.2; angle=3.6; round_height=.2; tip_round=4; rotate([0,0,180])intersection(){ union(){ scale([1,(tip_round / width)*2,1])translate([width/2,width/2,0])cylinder(d=width,h=thickness*3,center=true); translate([-.5,tip_round,-.5])cube([width + 1 ,length+1,thic...
glb/cad_584df8a1b513.glb
Create a brilliant cut diamond by intersecting several geometric primitives. First, construct the crown by intersecting three centered cylinders: one with a height of 14.45mm, a base diameter of 150mm, and 8 facets; one with a height of 14.5mm, a base diameter of 110mm, a top diameter of 61.1mm, and 8 facets rotated 22...
rotate([0,0,22.5])intersection(){ union(){ translate([0,0,14.45/2])intersection(){ color([.5,.2,.7])cylinder(h=14.45,d1=150,d2=56.5,$fn=8,center=true); color([1,0,0])rotate([0,0,22.5])cylinder(h=14.5,d1=110,d2=61.1,$fn=8,center=true); color([0,0,1])rotate([0,0,0])cylinde...
glb/cad_3a40a073373a.glb
Create a Scorpion Wrench by constructing a central body and radiating limbs. Start with the main body: create a cylinder with a radius of 10mm and a height of 5mm centered at [0, -75, 0]. Add a cone to the top of this cylinder with a base radius of 10mm and a top radius of 0mm, with a height of 5mm. At the opposite end...
union(){ difference() { union() { union(){ translate([0,-75]) { cylinder(r = (10), h = 5,center = true); translate([0,0,5]){ cylinder(10, r1=5, r2=0, center=true); } } ...
glb/cad_6b77dad8b417.glb
Create a PolyBot Rod Sphere Cap by combining a sphere and a cylinder. Start with a sphere with a radius of 10mm. Attach a cylinder to the bottom of the sphere with a radius of 8.128mm and a height of 22mm, centered on the sphere's vertical axis. From this combined shape, remove a central cylindrical hole to create a s...
goldenratio = 1.61803399; joinfactor = 0.125; gBarIR = 5/16/2*25.4; gBarOR = gBarIR*goldenratio; gBarLength = 22; gBallRadius = 20/2; gMountLength = gBallRadius*2*goldenratio; gDoubleMountLength = gBallRadius*2*goldenratio*goldenratio; rodballcap9(gBarIR*1.05, gBarOR, gBarLength, gBallRadius); module rodballcap(rod...
glb/cad_9b383e426b09.glb
Create a Two Blade Propeller consisting of two identical mirrored halves that fit together at a central mounting block. Each half-rotor starts with a central mounting block 15.7mm wide and 11.2mm long. From this block, extend a blade that reaches a maximum width of 28mm and a total length of 196mm. The blade should b...
bladeangle = 30; bore = 5; tblade = 2; tipElipticallity = 1; length = 2 *98.0; wmax = length/7 *1.0; wmin = length/10 *0.8; lmount = wmin *0.8; l = length - 2*(wmax/2)/tipElipticallity; teffmount = (wmin*tan(bladeangle)+tblade)*cos(bladeangle); tipElipticallity = 0.61803; mountsmooth = l*0.1; onlyF...
glb/cad_37fb656ea8b9.glb
Create a NEMA 17 knob with a total height of 20mm. Start with a base cylinder 11mm in radius and 20mm high. At the top of this cylinder, remove a central hole 5mm in diameter that extends 10mm deep into the part to accommodate the motor shaft. On top of the base, add a shallow cylindrical cap 8mm thick with a radius o...
total_height=20; motor_shaft_depth=10; motor_shaft_diameter=5; m5_shaft_diameter=3; m5_nut_flat_width=7; m5_nut_thickness=3; m5_nut_corner_width=(2/sqrt(3))*m5_nut_flat_width; cross_shaft_placement=14; cross_shaft_length=30; module knob_top() { max_radius=30; scallop_radius=8; thickness=8; difference() { ...
glb/cad_7bc09eb12446.glb
Create a Raspberry Pi 2/B+ Hanger consisting of a main cylindrical body and a separate lid. For the main body, create a hollow cylinder with an outer radius of 37mm and a height of 80mm, with a wall thickness of 2.5mm. Within this cylinder, integrate a grid of 8 helical ribs that wrap around the inner wall. Each rib ...
function maxx(x) = max(xmin,min(xmax,x)); function maxy(y) = max(ymin,min(ymax,y)); roof=25; nhelixes=8; thick=2; turns=.5; xmax=roof; fn=60; xmin=0; ymax=999; ymin=-999; radius=36; height=77; $fn=fn; step = 360/fn; div = (360*turns) / height; rev = height/(360 / div); module helix(start=0,step=5,rev=.75,r=20,d...
glb/cad_7c9d9b45978a.glb
Create a Paper Holder consisting of a flat base with two vertical cylindrical posts. Start by creating a thin, flat rectangular base. Position two identical cylinders on this base, each with a radius of 3mm and a height of 15mm. The first cylinder should be centered at coordinates (10, 10, 0) and the second at (20, 20,...
Width = 1; Depth = 5; polyhedron( points = [[0,0,0], [30,30,0], [15,15,10], [20,10,0], [10,20,0], ], faces = [[0,4,3], [1,3,4], [0,3,2], [0,2,4], [2,3,1], [2,1,4]] ); translate([10,10,0]){ difference(){ cylinder(15,3,3); translate([0,0,15]){ rotate([0,0,135]){ c...
glb/cad_74407f195142.glb
Create a push puppet flower consisting of a pot, a button, a collapsible stem, and a flower head. Construct the flower pot as a hollowed cylinder with a height of 21mm, an outer diameter of 30mm, and a wall thickness of 1.5mm. Create a hole through the center of the pot's base with a diameter of 13mm and a height of ...
Display_Print_Tray(); module Flower_Pot() { difference() { translate([0,0,10]) cylinder (30,21,16); cylinder (30,1.5,1.5); translate ([0,0,12]) cylinder (40, 13, 13); } difference() { cylinder (10, 23, 23); translate ([0,0,-1]) cylinder (30, 1.5, 1.5); } } module Button() { cylinder (4,12,...
glb/cad_31a951b8037a.glb
Create a pair of interlocking herringbone gears for a Wade extruder with a center-to-center axle distance of 41.7055mm. Both gears should have a total height of 10mm and a 45-degree chamfer on the top and bottom edges. For the small gear, create a herringbone gear with 9 teeth. Add a cylindrical base extending 8mm bel...
include <MCAD/involute_gears.scad> include <MCAD/teardrop.scad> debug = 1; printing = 0; distance_between_axles = 41.7055; gear_height = 10; teeth_twist = 1; chamfer_gradient = tan(45); gear1_teeth = 9; gear1_base_height = 8; gear1_shaft_diameter = 5 + 0.4; gear1_setscrew_diameter = 3 + 0.4; gear1_setnut_wid...
glb/cad_2b8421b95a73.glb
Create a parametric overflow box for a fish tank. Start by constructing a main rectangular box with dimensions 100mm in width (x), 60mm in depth (y), and 60mm in height (z). The box should have a wall thickness of 3mm and rounded corners with a radius of 3mm. The back face of the box, which sits against the tank glass,...
include <MCAD/boxes.scad> $fn=40; main_x=100; main_y=60; main_z=60; tooth_z=30; with_left_tooth=1; with_right_tooth=0; thickness=3; r1=3; step=main_x/20; ratio=2; half_main_x=main_x/2; half_main_y=main_y/2; half_main_z=main_z/2; module MainBox() { translate([half_main_x,half_main_y,half_main_z]) difference(...
glb/cad_26790cdfd94b.glb
Create a Novena LCD mounting shim by starting with a rectangular base measuring 10mm in length, 5.5mm in width, and 0.7mm in height. Bore a vertical hole with a diameter of 3mm through the base, centered along the width at 2.75mm and positioned 1mm from the front edge. On the opposite end of the shim, add a conical loc...
$fn = 100; $hole = 3; union() { difference() { cube([10, 5.5, 0.7]); translate([$hole/2 + 1, 2.75, -0.1]) { cylinder(r=$hole/2, h=5); } } translate([10-$hole/2 - 1, 2.75, 0.2]) { cylinder(r1=$hole/2,r2=0); } }
glb/cad_a04f936ec7ab.glb
Create a tail clip for a Sport Cub S by starting with a base plate that is 6mm wide, 9mm long, and 1mm thick. The base plate is a flat polygon with vertices at [0,0], [6,0], [5,9], and [1,9]. From this base, extend two vertical trapezoidal pillars upward. The first pillar is positioned toward the front and the second t...
difference() { union() { rotate([90,0,0]) translate([0,0,-9])linear_extrude(height=9)polygon(points=[[1,0],[5,0],[4,5.5],[2,5.5]]); } union() { translate([2,-.5,1])scale([2,10,1.5])cube(1); translate([2.5,-.5,1])scale([1,10,5])cube(1); translate([0,3,1]) rotate ([90,0,90]) linear_extrude(height=6) polygon(points=...
glb/cad_e277ce65fe1f.glb
Create a Croc Clip Rack designed to hold ten clips. Start by constructing a central rectangular base that is 3mm thick, 120mm long, and 10mm wide. At both ends of this base, remove a semi-cylindrical section with a radius of 5mm to create rounded ends. Additionally, bore a tapered hole through the center of the base al...
croc_count=10; croc_spacing=12; croc_row_ht=10; croc_base_thick=3; base_len=croc_count*croc_spacing; module tooth() { translate([0,-1.5,0]) cube([croc_row_ht,3,croc_row_ht]); } difference () { translate([0,0,croc_row_ht/2]) { cube([croc_base_thick,base_len,croc_row_ht],center=true); translate([0,base_len/2,0]) ...
glb/cad_b740c9863b49.glb
Create a thumbscrew consisting of a rounded handle and a central nut compartment. First, construct the handle as a thick disc with a diameter of 35mm and a height of 10mm. The handle's perimeter should be scalloped with six rounded grips, and all edges should be filleted with a 2mm radius. In the center of the handl...
margin=0.1; HandleThick=10; handleDiam=35; SpacerHeight=2; WallThick=3; doThreadHole = false; nutAtBottom=false; nutHeight=4; nutDiam=10+margin; ThreadDiam=6+margin; RoundingR=2; $fn=20; NrOfHandleFaces=40; module MakeHex(dia=8,h=8) { rad=(dia/2)/sin(60); w = sin(30)*rad; for (i=[0:2]) { ...
glb/cad_96c22557d756.glb
Create a watch charger stand consisting of a curved support frame and a tilted charging pad. First, construct the support frame as a hollowed-out partial spherical shell. The outer radius is 75mm and the inner radius is 55mm, with a wall thickness of 5mm. The frame is sliced so that it forms a curved cradle, and a ho...
charger_type = "round"; charge_pad_thick = 5; charge_pad_wide = 39; charge_pad_long = 48; charge_pad_d = 50; charge_pad_angle = 30; magnet_thick = 5.25; magnet_wide = 5.25; magnet_sep_w = 10; magnet_sep_h = 25; frame_or = 75; frame_ir = 55; frame_thick = 5; frame_h= 110; usb_offset = 5; usb_r = 6;...
glb/cad_5b4b8516f013.glb
Create a battery socket for a cell phone battery with a width of 35mm, height of 55mm, and thickness of 5mm. Start with a rectangular base plate that is 35mm by 55mm with a thickness of 2mm. The base should have a central rectangular cutout, leaving a wall thickness of 6mm around the perimeter. Construct four verti...
module cellphone_battery_socket(battery_width, battery_height, battery_thickness, pole1_pos, pole2_pos, screwhole_top, screwhole_right, screwhole_bottom, screwhole_left, draw_elastic_headers) { boxwall_thickness = 2; screwsize = 1.5; hole_radius = 1; module corner(x, y, rotation) { translate([...
glb/cad_541c6fbde5a7.glb
Create a Collapsible Flower assembly consisting of a pot, a button, stem segments, and a flower head. For the pot, create a cylinder 30mm high with a 21mm diameter and a 1.5mm wall thickness. Remove a central cylinder from the top that is 40mm high with a 13mm diameter. For the button, create a cylinder 5mm high wi...
Display_Print_Tray(); module Flower_Pot() { difference() { translate([0,0,10]) cylinder (30,21,16); cylinder (30,1.5,1.5); translate ([0,0,12]) cylinder (40, 13, 13); } difference() { cylinder (10, 23, 23); translate ([0,0,-1]) cylinder (30, 1.5, 1.5); } } module Button() { cylinder (5,12,...
glb/cad_2a1ca3a15537.glb
Create a Foldable Nano Quadcopter FNQ220 frame consisting of a lower frame, an upper frame, and four foldable motor booms. Construct the lower frame as a rectangular base with rounded corners, 90mm long and 70mm wide, with a thickness of 1.6mm. Add four arm slots at the corners, each allowing for a boom flight positi...
show = "all" ; ghosts = 0 ; FC_footprint = "31x31" ; Quad_L = 90 ; Quad_B = 70 ; Quad_W = 50 ; ant_holder = 1 ; top_cover = 1 ; Dome_H = 6 ; StopperFill = 1 ; motor_type = "hk1811sup" ; H_Rotor = 7.5 ; R_Rotor = 9.7 ; L_Arm = 85 ; R_Arm = 4.5 ; Wall_Arm = 0.9 ; Q_Arm = 105 ; Hole_chamfers = 1 ; Wall...
glb/cad_0ea2cc4c4905.glb
Create a 4 Box Showcase consisting of a rectangular base and several rectangular blocks of varying sizes arranged on top. Start by creating a base plate measuring 80mm wide, 90mm long, and 5mm high. On top of this base, starting at a height of 5mm, position four main blocks. Place the first block at the origin (0,0,5...
Cube1Width = 50; Cube1Length = 50; Cube1Height = 50; Cube2Width = 40; Cube2Length = 40; Cube2Height = 40; Cube3Width = 30; Cube3Length = 30; Cube3Height = 30; Cube4Width = 20; Cube4Length = 20; Cube4Height = 20; BottomThickness = 5; LengthOfWall = 3; translate([0,0,BottomThickness]){ color("red") ...
glb/cad_1068a770c1e9.glb
Create a spool holder for the K8200 by starting with a truncated cone that has a height of 25mm, a bottom radius of 35mm, and a top radius of 8mm. From this main body, remove a central vertical cylinder with a radius of 4mm and a height of 100mm, and a smaller concentric cylinder with a radius of 10mm and a height of 6...
$fs=0.1; difference() { cylinder(h=25, r1=35,r2=8); translate([-45,0,0]) cylinder(h=50, r=25); translate([45,0,0]) cylinder(h=50, r=25); translate([0,-45,0]) cylinder(h=50, r=25); translate([0,45,0]) cylinder(h=50, r=25); cylinder(h=100, r=4); cylinder(h=6, r=10); }
glb/cad_255a0e3431f7.glb
Create a direct drive extruder mount for a NEMA 17 stepper motor and J-Head. Start with a main body based on a NEMA 17 profile (42.3mm width). The body is a block with a central cutout to accommodate the motor and a cylindrical protrusion on the bottom for the lever mechanism. On the top, create a cylindrical mount...
fnr = 0.4; extrusion_width = 0.6; normal_wall_factor = 4; thick_wall_factor = 6; filament_d = 1.75; gear_d = 7.34; bearing_d = 16; bearing_h = 5; bearing_bore_d = 5; bearing_washer_d = 10; bowden_d = 4.5; bowden_coupling_thread_d = 9.75; bowden_coupling_thread...
glb/cad_9ac5547c5c21.glb
Create a parametric door handle with a total length of 5.7mm, a width of 2mm, and a height of 3mm. The main body is a semi-rounded rectangular block where the two long edges are rounded with a radius of 1.5mm. Hollow out the center of the block by removing a smaller semi-rounded rectangular section that is 1mm wide, ...
module semi_rounded_box(height, width, length) { segments = 20; union() { translate([height / 2, 0, 0]) cube(size= [length - height, width, height]); cube(size= [length, width, height / 2]); translate([height / 2, 0, height / 2]) rotate(a=-90, v=[1,0,0]) cylinder(h = width, r =height/2, $fn = segments);...
glb/cad_89e1135b5795.glb
Create a microscope slide holder by starting with a solid rectangular base measuring 30mm wide, 10mm deep, and 5mm high. In the center of this base, create a vertical cylindrical hole with a radius of 1.7mm that passes through the 5mm thickness. From the top of this base, extend two vertical walls upward to a total hei...
$fn = 50; slide_width = 26.5; edge_width = 3; slot_depth = 1.5; total_width = slide_width + 2*edge_width - 2*slot_depth; total_height = 40; base_height = 5; total_thickness = 10; slot_thickness = 1.5; hole_radius = 1.7; difference() { cube([total_width,total_thickness,base_height]); translate([total_width/2,to...
glb/cad_d41694307a21.glb
Create a Customizable Large 7/14 Segment LED display case. Start by creating a main rectangular body with a total height of 150mm and a thickness of 22.5mm. The overall design should be slanted by 10 degrees. The case consists of a outer wall with a thickness of 1.6mm. Inside this body, create a series of cutouts to f...
character_height = 150; wall_thickness = 1.6; part = "MaskedDigit"; segment_width = 17; character_thickness = 22.5; lens_thickness = 0.5; mount_hole_size = 3.5; digit_type = 7; slant = 10; spacing = 1; wire_height = 2; end_slant_length = 25; neg_slant = -slant; segment_height = (character_height - wall_thic...
glb/cad_d369f9939b09.glb
Create an optical post holder and base by combining a vertical cylinder and a horizontal rectangular base. First, construct a vertical cylinder with a height of 38.1mm and an outer radius of 12.7mm. Remove a concentric inner core from this cylinder with a radius of 6.7mm to create a hollow tube. Attach a rectangular ba...
$fn = 50; h_height = 38.1; h_rad_out = 12.7; h_rad_in = 6.7; b_length = 38.1; b_thick = 6.4; s_length = 22; s_width = 6.4; c_rad = 1.7; c_height = 0.5*h_height; difference() { union() { cylinder(r=h_rad_out,h=h_height); translate([0,-h_rad_out,0]) cube([b_length,2*h_rad_out,b_thick]); } cyl...
glb/cad_916c3f3313ca.glb
Create a Fresonbot frame, which is a rectangular base plate measuring 73mm in length, 95mm in width, and 3mm in thickness. Starting with the solid base, remove several cylindrical holes to accommodate components. Create four holes for microgear motors: two centered along the width at the front and back edges, spaced ...
use <Fresonbot_castor.scad> $fn = 50; fabrication = "3dprinter"; BaseWidth = 95; BaseLength = 73; BaseThickness = 3; ScrewCasterDiameter = 2.8; SpacerDiameter = 3.5; BallSize = 11.9; TotalHeight = 20; BallProtrude = .25; CastorHeigh = TotalHeight - (BallSize*BallProtrude); if (fabrication == "3dprinter") { fr...
glb/cad_00a69b439300.glb
Create a Fresonbot robot frame with a base thickness of 2.5mm. The main chassis is a rectangular platform 96mm wide by 76mm long. Construct the primary structure using a grid of beams. Place a main longitudinal beam 3mm wide running the length of the frame and a main transverse beam 3mm wide running the width. Add se...
use <Fresonbot_castor.scad> width=96; length=76; thickness=2.5; sb_length=2.3; mb_length=3; main_beam_x=[width, mb_length, thickness]; sec_beam_x=[width, sb_length, thickness]; main_beam_y=[mb_length, length, thickness]; sec_beam_y=[sb_length, length, thickness]; encoder_wire_space=[1,10,thickness+2]; BallSize = 1...
glb/cad_62353cb0d21d.glb
Create a sugar bowl lid by constructing a tiered circular base. Start with a bottom cylinder 82mm in diameter and 4mm high. Directly on top of this, add a second cylinder that transitions from a 82mm diameter at the bottom to a 98mm diameter at the top over a height of 8mm. Above this, add a third cylinder with a botto...
difference() { union() { cylinder(r=41,h=4,$fn=72); translate([0,0,3.9]) cylinder(r1=41,r2=49,h=8,$fn=72); translate([0,0,11.9]) cylinder(r1=49,r2=22,h=6,$fn=72); translate([0,0,13.5]) rotate([990,0,0]) linear_extrude(height = 30, center = true, convexity = 10, twist = 180) translate([12, 0, 0]) circle(r = 4.5,$fn=36);...
glb/cad_9bd6507aad1f.glb
Create a Dice Tower consisting of a hexagonal tower and a matching dice tray. For the tower, create a hexagonal prism with a radius of 45mm and a height of 130mm, with a wall thickness of 3mm. The tower should feature a brick-like texture on the exterior. At the top, add a decorative crenelated rim that extends 10mm ...
difference(){ union(){ translate([0,0,10]) dice_tower(); translate([0,0,10]) dice_tray(45, 10, 3, 20); } } module dice_tower(){ wall=3; tower_h=130; tower_r=45; bs_rmp_a=35; dice_tray_h=10; hole=20; clear=1; difference(){ union(){ tower(wall, towe...
glb/cad_84509d8b40bd.glb
Create a Dice Tower consisting of a hexagonal tower and a matching dice tray. For the tower, create a hexagonal prism with a radius of 45mm and a height of 130mm, with a wall thickness of 3mm. The interior should feature internal ramps angled at 45 degrees to guide dice downward. The exterior walls should have a deco...
difference(){ union(){ translate([0,0,10]) dice_tower(); } } module dice_tower(){ wall=3; tower_h=130; tower_r=45; bs_rmp_a=35; dice_tray_h=10; hole=46; clear=.5; difference(){ union(){ tower(wall, tower_h, tower_r, bs_rmp_a); towerTop(to...
glb/cad_b3cb3021cd13.glb
Create a Pentagonal Hexecontahedron Magnetic Tile. The main body is a thick pentagonal slab with a thickness of 10mm. The pentagon's geometry is defined by two long sides of 40mm and three shorter sides. The internal angles of the pentagon are one angle of 67.44° and four angles of 118.14°. The tile's side faces are b...
$fn=50; longside = 40; thickness = 10; magnetdepth = 2.5; magnetdiam = 6.5; dihedral = 153.1786; alpha = 67.44; beta = 118.14; b = sin(alpha/2)*longside; a = cos(alpha/2)*longside; gamma = asin(a/longside); shortside = 2*b/(1+2*cos(beta-gamma)); c = sin(beta-gamma)*shortside; d = thickness/tan(dihedral/2); e = sin(18...
glb/cad_c64ac09b165c.glb
Create a Mendel Z-Axis top holder by combining a cylinder with a radius of 19mm and a height of 16mm (using 30 facets) with a centered rectangular block measuring 18mm wide, 37.79mm deep, and 16mm high. From this main body, remove a central vertical hole with a radius of 11.4mm and a height of 8mm to accommodate a 60...
m4_rad= 2.3; m4_nut_dia = 8; m8_rad=4.5; bearing608_rad = 11.4; bearing608_height = 7; module z_axis_top_holder() { difference() { union() { cylinder(r=38/2, h=16,$fn=30); translate([0,-18.8959,0]) cube([18,37.791,16]); } translate([4,7,10]) rotate([0,90,0]) cylinder(r=m4_rad, h=30,$fn=12); tr...
glb/cad_cddc0937bce5.glb
Create a Pentagonal Icositetrahedron Magnetic Tile with a thickness of 10mm. The main body is a pentagonal prism based on a pentagon with two long sides of 40mm and two shorter sides. The geometry is modified by chamfering the edges to achieve a dihedral angle of 136.3092 degrees. On four of the five faces, create cyl...
$fn=50; longside = 40; thickness = 10; magnetdepth = 2.5; magnetdiam = 6.5; dihedral = 136.3092; alpha = 80.7517; beta = 114.812; b = sin(alpha/2)*longside; a = cos(alpha/2)*longside; gamma = asin(a/longside); shortside = 2*b/(1+2*cos(beta-gamma)); c = sin(beta-gamma)*shortside; d = thickness/tan(dihedral/2); e = sin...
glb/cad_e652cfc2fe9c.glb
Create a cable chain link with a total width of 25mm, a height of 13mm, and a length of 23mm. The link consists of two mirrored side walls connected by a bottom plate. Each side wall is constructed from a base rectangular profile with a thickness of 2mm. The outer edges of these walls feature a curved corner profile. ...
make_part_chain_link = 0; rotation_type_chain_link = 0; make_colson_hole = 1; use_angle_90 = 0; chain_link_width = 25; chain_link_height = 13; chain_link_length = 23; chain_link_wall_thickness = 2; chain_link_wall_link_thickness = 1.5; colson_hole_width = 3; colson_hole_height = 1.5; spindle_dia_pct = 60; c...
glb/cad_8625a1c1d2b1.glb
Create a 2020 Nozzle Holder designed to mount to a 20mm extrusion. The main body is a rectangular block measuring 160mm in length, 20mm in width, and 5mm in height. Along the center length of the block, create a series of eight evenly spaced holes to store nozzles. Each hole is a cylinder with a diameter of 1.65mm an...
wallThickness = 1.5; cellWidth = 20; cellArmWidth = 5; $fn = 50; module cell(){ for(i=[0:cellWidth-wallThickness/2:(cellWidth-wallThickness)*8]) translate([i,0,0]) difference(){ cube([cellWidth,cellWidth,cellWidth],center=true); translate([0,0,wallThickness]) cube([cellWidth-wallThickness,cellWidth-wallThickn...
glb/cad_095ced16fb1f.glb
Create a baby gate replacement foot by modeling a truncated cone with a height of 20mm. The base of the cone should have a diameter of 30mm, tapering upward to a top diameter of 15mm. Centered vertically through the middle of this shape, create a cylindrical hole with a diameter of 10mm to accommodate an M10 threaded r...
include<functions.scad> footLargeDiameter = 30; footSmallDiameter = 15; footHeight = 20; threadedRod = 10; threadedRodLength = 80; threadedRodHoleBlindDepth = 3; translate([0,0,threadedRodHoleBlindDepth])%cylinder(r=threadedRod/2, h=threadedRodLength); translate([0,0,25]) %nut(16,8,horizontal=true); difference() ...
glb/cad_7c6075958052.glb
Create a Maker Table Thing Holster consisting of two concentric ring-like clamps joined by a central block. First, create a large outer ring with an inner diameter of 47.5mm, an outer diameter of 58.5mm, and a height of 15mm. Cut a rectangular gap out of this outer ring to allow it to clamp; the gap should be 48mm long...
cubelength=15; cubewidth=10; height=15; thickness = 11; gaplength = height*3.2; gapdepth = height*2; gapheight = height; module ring(r1, r2, h) { difference() { cylinder(r = r1, h = h); translate([ 0, 0, -1 ]) cylinder(r = r2, h = h+2); } } clamp1innerdiameter = 47.5; clamp2innerdiameter = 3...
glb/cad_ebd96e0a4ae7.glb
Create a customizable wrench with a total length of 58.3mm and a thickness of 2.5mm. The tool consists of a central rectangular handle connecting two circular ends. At one end, create a circular head with a diameter of 8.3mm. Inside this head, carve out a hexagonal hole with a flat-to-flat width of 5.8mm to accommoda...
include <MCAD/shapes.scad> include <write/Write.scad> Nut_Size = 5.5; Tool_Height = 2.5; Tool_Length = 10; Has_holding_cap = 1; message = "My Wrench"; Font = "write/Letters.dxf"; $fs=0.1; kerf = 0.3 + 0; D = Nut_Size + kerf; M = D/2; H = Tool_Height; Ltot = D * Tool_Length; Text_Height = Nut_Size*0.7 ; L = Lto...
glb/cad_e3fb9e867566.glb
Create a Safety Cutoff Switch model starting with a rectangular PCB base measuring 52mm x 28mm x 1.5mm. Remove two 20-sided cylindrical holes with a diameter of 5mm and a depth of 1.5mm, positioned at [4.3, 2.3, 0] and [47, 2.3, 0]. On top of the base, starting at a height of 2mm, place a large rectangular block of 28...
MK6PlusCutoffSwitch(); module MK6PlusCutoffSwitch() { PCB(); translate([11, 5.5, 2]) Block(); translate([2, 6.75, 2]) PheonixTerminal(); translate([49, 6.75, 2]) mirror([1,0,0]) PheonixTerminal(); translate([38, 28, 2]) rotate([0,0,-90]) PheonixTerminal(); translate([27, 23, 2]) RedLed(); translate([17, 21, 2]) rotat...
glb/cad_461ad84f4df9.glb
Create a disposable cup lid and bug cage by constructing a thin, circular disc with an outer diameter of 74mm and a total height of 2.6mm. Start by creating a solid cylinder with a radius of 37mm and a height of 2.6mm. From this base, remove a central cylindrical core to create a hollow ring. This inner cutout should h...
cup_diameter = 72; lip_height = 2; lid_thickness = 0.6; $fn=50; cup_radius = cup_diameter / 2; difference() { union() { cylinder(h = lip_height + lid_thickness + 0.01, r1 = cup_radius + 1, r2 = cup_radius + 1, center = false); translate ([0,0,lip_height + lid_thickness]) { cylinder(h = 1, r1 = cup_radi...
glb/cad_af67eba08922.glb
Create a flashlight diffuser consisting of a hollow cylindrical ring with an integrated base and flexible clips. The main body is a cylinder with an outer diameter of 37.3mm (35.3mm inner diameter plus 1.5mm wall thickness) and a total height of 8.8mm. At the bottom, include a solid circular diaphragm 0.5mm thick tha...
ring_d = 34.3 + 1.0; diaphragm = 0.5; wall = 1.5; clip_h = 7.3 + 0.5 + diaphragm; clip_w = 1.2; clip_angle = 120; n_clips = 3; clip_top = clip_h + (clip_w+wall/2)*tan(clip_angle/2); ring_h = clip_h + wall; infty = 100; eps = 0.01; module diffuser() { difference() { cylinder(r = ring_d/2 + wall, h = ring_h...
glb/cad_ac1a6db7be1c.glb
Create a rectangular box for a PS3 Eye camera with outer dimensions of 80mm width, 50mm height, and 26mm length. The box has a wall thickness of 1.62mm. The top is open, but the walls feature four corner standoffs designed for M3 screws to secure a lid. On the front face, create a circular lens opening with a radius o...
include <params.scad> include <util.scad> include <MCAD/nuts_and_bolts.scad> $fs=0.01; inner_radius_correction=0.1; gap_lid=0.2; thickness=4.05*0.4; w_outer=80; h_outer=50; l_outer=26; w_board = 64.2; h_board = 40.5; h_standoff = l_outer-5.5; h_lens=h_outer-thickness-31; module led(inner, angle) { if (inn...
glb/cad_7afb6bef7d35.glb
Create a camera stand box for a PS3 Eye camera with overall outer dimensions of 80mm width, 50mm height, and 16.6mm depth. The main body is a hollowed rectangular shell with a wall thickness of 1.62mm. On the top face, center a circular lens opening with a radius of 9.75mm. At the four corners of the box, integrate s...
include <util.scad> include <MCAD/nuts_and_bolts.scad> $fs=0.01; inner_radius_correction=0.1; gap_lid=0.2; thickness=4.05*0.4; w_outer=80; h_outer=50; w_board = 64.2; h_board = 40.5; h_standoff = 11+thickness; l_outer = h_standoff+5.5; h_lens=h_outer-thickness-31; module standoff() { difference() { ...
glb/cad_c250704a0b5b.glb
Create an EZ Spin V2 Rotor by starting with a dodecagonal prism (a 12-sided cylinder) that has a height of 16mm and a constant radius of 30mm. Centered vertically and horizontally within this prism, remove a thin cylindrical core with a radius of 1mm and a total height of 32mm. To create the side openings, remove six i...
$fn=12; difference(){ cylinder(h = 16, r1 = 60/2, r2 = 60/2); translate([26,-7,8]) rotate([16,90,0]) color("red") cylinder(h = 3, r1 = 13.5/2, r2 = 13.5/2,$fn=100); translate([7,-26,8]) rotate([74,90,0]) color("red") cylinder(h = 3, r1 = 13.5/2, r2 = 13.5/2,$fn=100); translate([-21,-21,8]) rotate([-45,...
glb/cad_982e029391c2.glb
Create a spool holder for winding coils by starting with a central rectangular block measuring 40mm wide, 100mm long, and 20mm high, centered on the origin. Remove a rectangular section from the top of this block that is 45mm wide, 100mm long, and 20mm high, positioned 15mm back from the center along the length and 10m...
difference(){ cube([40,100,20],center=true); translate([0,-15,10]) color("red") cube([45,100,20],center=true); translate([0,20,0]) cylinder(r=22/2,h=30,center=true); translate([0,-5,0]) cylinder(r=22/2,h=30,center=true); translate([0,-30,0]) cylinder(r=22/2,h=30,center=true); }
glb/cad_3d5d85acdbca.glb
Create a compartment box drawer with overall dimensions of 74mm x 85mm x 28mm. The main body is a solid rectangular block with a wall thickness of 1.6mm. Hollow out the interior to create four equal rectangular compartments arranged in a 2x2 grid. Each compartment should have a bottom thickness of 1.5mm. Add a handle ...
X = 0; Y = 1; Z = 2; drawer_size = [74, 85, 28]; drawer_bottom_th = 1.5; drawer_wall_th = 1.6; alpha = 60; rx = 8; cab_size = [79, 100, 65]; cab_th = 2; handle_size = [drawer_size[X]/3, 12, drawer_size[Z]/2]; handle_th = 3; module rhombus(ang=60, rx=20, h=3) { x = rx/2; y = x*tan(ang); translate([0, 0, -h/...
glb/cad_b9eef806a7a1.glb
Create a Bee keychain pendant by starting with a hexagonal prism that has a radius of 14mm and a height of 3mm. Hollow out the center of this hexagon by removing a smaller hexagonal prism from the top, leaving a rim of 2mm around the edges; this inner cutout should start 0.75mm from the top surface. Drill a circular ho...
rr=14; tt=3; s=1.7; difference() { union() { cylinder(r=rr,h=tt,$fn=6); } translate([0,0,tt-0.75]) cylinder(r=rr-2,h=tt,$fn=6); translate([0,rr*0.275,0]) cylinder(r=4/2,h=3*tt,center=true,$fn=24); } scale([s,s,1]) linear_extrude(height=tt+0.75,convexity=3) text("B", font = "Liberation Sans:style...
glb/cad_469799b5fa51.glb
Create a coaster by constructing a solid cylinder with a radius of 33.5mm and a height of 12mm. From the top of this cylinder, remove a smaller concentric cylindrical volume to create a hollow basin. This interior cutout should have a radius of 32mm at the base and 32.8mm at the top, starting from a height of 2.5mm and...
use <write/Write.scad> text="Actually tho i been working on this for momfs"; $fn=128/1; writecylinder(text,[0,0,0],33.5,12,rotate=0); difference(){ cylinder(h=12, r=33.5); translate([0,0,2.5]) cylinder(h=10, r1=32, r2=32.8); }
glb/cad_d9c039da5093.glb
Create a Thermos Donut & Coffee Shop Marker by constructing a tapered hollow cylinder. The main body should have a height of 40mm, with a bottom inner radius of 35.15mm and a top inner radius of 38.44mm. The wall thickness of this cylinder should be 1.5mm. On the outer surface of this cylinder, add two lines of embos...
use <write/Write.scad> Font = "write/orbitron.dxf"; favorite_donut="Boston Cream"; favorite_coffee_place="Starbucks"; height_of_donut_letters=10; height_of_coffee_place_letters=8; thermos(); module thermos(){ rad1=70.3/2; rad2=76.88/2; writecylinder(favorite_donut,[0,0,0],rad1+4,20,rotate=0, h=height_of_donut_letter...
glb/cad_acc20e9f10e4.glb
Create a hayrack mount with a uniform thickness of 5mm. Start by constructing a fixation bracket that is 18mm high and 6mm wide, designed to fit over a wall that is 20mm thick. For the main rack body, create a vertical support with a total height of 95mm and a width of 3mm. At the bottom of this support, integrate a ...
main_height = 95; wall_width = 20; bar_height = 6; bar_width = 6; fixation_height = 18; depth = 5; fixation_width=3; module fixation () { linear_extrude(height=depth)polygon(points=[ [0,0], [-wall_width,0], [-wall_width+0.8, -fixation_height], [-wall_width-fixation_width-bar_width-fixation_width,-fixat...
glb/cad_15bb54f0036d.glb
Create a parametric tubular box consisting of a base and a matching top cap. For the base, create a cylinder with an outer radius of 6.875mm and a total height of 88.125mm. Hollow out the center of this cylinder by removing a smaller cylinder with a radius of 5.5mm, starting from a height of 2.5mm and extending to the ...
drill_dia=10; drill_length=114; ir=(drill_dia*1.1)/2; wall_thickness=2.5; or=ir+wall_thickness; overlap_length=10; overlap_thickness=wall_thickness/2; base_length=wall_thickness+((drill_length*1.05)*.75); main_base_length=base_length-overlap_length; top_length=wall_thickness+((drill_length*1.05)*.25); $fn=100; echo(...
glb/cad_a33900953381.glb
Create a Grizzly Head Backpack Tag. Start by creating a rectangular base measuring 170mm in length, 26mm in width, and 2mm in height. On the top surface of the base, add two lines of embossed text. Position the first line, "SUMMIT DENALI", near the top edge, and the second line, "HEATHER CHEN", directly below it, sta...
text_top = "SUMMIT DENALI"; text_bottom = "HEATHER CHEN"; length = 200; color("Red",0.5) translate([2,14,2]) linear_extrude(height = 0.5) { text(text_top); } color("Blue",0.5) difference() { cube(size = [length-30,26,2], center = false); translate([2,2,1]) { linear_extrude(height = 8) { ...
glb/cad_9988e13b6701.glb
Create a housing box for a DC DC converter board. Start with a solid rectangular block measuring 52.3mm in length, 26mm in width, and 32.3mm in height. Hollow out the center by removing a rectangular volume of 25.3mm by 20mm by 29.3mm, positioned 13.5mm from the front and 3mm from the bottom. To create the walls, remov...
module example001() { difference() { cube(size = [52.3,26,32.3], center = false); translate (v= [0,0,3]) cube (size = [9,26,29.3], center = false); translate (v= [43.3,0,3]) cube (size = [9,26,29.3], center = false); translate (v= [13.5,3,3]) cube (size = [25.3,20,29.3], c...
glb/cad_78bae37edca9.glb
Create a Sparkfun DC DC Convertor Box by combining two rectangular prisms. First, construct a base rectangular plate measuring 34.3mm in length, 26mm in width, and 2mm in height. Then, place a second rectangular prism on top of this base. This second prism should measure 25.3mm in length, 20mm in width, and 3mm in heig...
module example001() { union() { cube(size = [34.3,26,2], center = false); translate (v= [4.5,3,0]) cube (size = [25.3,20,3], center = false); } } example001();
glb/cad_f21f478a8e94.glb
Create a Pd Message Box by starting with a rectangular base measuring 60mm in length, 30mm in width, and 4mm in height. From this base, remove a smaller rectangular section measuring 10mm by 10mm from the top surface, positioned 50mm from the left edge and 10mm from the front edge. Additionally, carve out two triangula...
use <bitmap_2011-04.scad>; use <triangle.scad>; height = 4; base_unit = 10; ratio = 2; size = base_unit*3; chars = [ "b", "a", "n", "g" ]; char_count = 4; block_size = 1; text_height = 4; difference() { difference() { difference() { difference() { cube( size=[size*ratio,size,height] ); translate( v=[si...
glb/cad_03b51f796c37.glb
Create a Pd Message Box by constructing a right-angled triangular prism. Start with a cube that is 10mm wide, 10mm deep, and 1mm high. From this base shape, remove a larger cube that is 20mm wide, 20mm deep, and 20mm high, positioned such that it is rotated 45 degrees on the Z-axis and aligned to carve away one half of...
module triangle( s1, h ) { translate(v=[s1 * -1,0,0]) { difference() { cube( size=[s1,s1,h], center=false ); rotate( a=[0,0,45] ) { cube( size=[s1*2,s1*2,s1*2], center=false ); } } } } triangle( 10, 1 );
glb/cad_72853d541146.glb
Create a Makerfarm Non-Contact Z-Probe Bracket consisting of a vertical mounting plate and a sensor housing. First, create a side plate with a thickness of 6.35mm. The plate's profile is a polygon defined by the coordinates (0,0), (12.2,0), (12.2,-5.8), (31.9,-5.8), (31.9,0), (45,0), (45,19), (25,28.5), (0,28.5), (0,...
SensorDiameter = 18; BracketThickness = 6; BracketPosition = 0; PanelThickness=6.35; CircleResolution = 60; ClampCut = false; build_plate_selector = 3; build_plate_manual_x = 100; build_plate_manual_y = 100; j = 0.01; x=0; y=1; z=2; SensorRadius = SensorDiameter/2; $fn = CircleResolution; use<utils/build_pl...
glb/cad_48f1d25f4aac.glb
Create a 3D geometric intersection of two extruded words using a bold Helvetica font. First, create the word "LOVE" as a 3D object extruded to a depth of 40mm, centered on the origin and oriented vertically. Second, create the word "HATE" as a 3D object also extruded to a depth of 40mm, centered on the origin, but orie...
first_word = "LOVE"; second_word = "HATE"; font = "Helvetica"; boldness = 0.4; module Word(word) { resize([size,0], auto=1) linear_extrude(height = size, convexity = 10, center=true) offset(boldness) text(word, size=10, halign="center", valign="center", font = font); } $fn=64; size = ma...
glb/cad_6f415ae17a9a.glb
Create a mini LCD case and mount by starting with a base block 50mm wide, 27mm deep, and 15mm high. The front face of this block is not a simple rectangle; instead, the bottom edge is sliced so that the front profile is a polygon with vertices at [0,0], [50,0], [50,27], and [0,2], extruded to a height of 15mm. From t...
$fn=50; difference() { linear_extrude(height = 15) polygon(points = [[0, 0], [50, 0], [50, 27], [0, 2]]); translate([40, 30, 7.5]) rotate([90, 0, 0]) cylinder(r = 2.5, h = 30); translate([35, 2, 0]) cube([12, 15, 15]); linear_extrude(height = 15) polygon(p...
glb/cad_7f9da2ede9e5.glb
Create a rectangular AZSMZ Mini LCD Case bottom shell with rounded corners. The outer dimensions are 105mm wide by 45mm high with a total depth of 14.4mm. The corners should have a radius of 3mm. Hollow out the center of the shell to create a cavity 101mm wide by 41mm high and 11.4mm deep, leaving a wall thickness of ...
$fn = 30; radius = 3; shell = 2; post = 3; M3_screw = 1.5; c_width = 101; c_height = 41; c_depth = 1.7; c_buzzer = 10; c_encoder = 7; c_mp1_x = 1 + shell + post; c_mp2_x = 94 + shell + post; c_mp1_y = 1 + shell + post; c_mp2_y = 34 + shell + post; width = c_width + 2 * shell; height = c_height + 2 * shell; depth = c...
glb/cad_d9034757ac35.glb
Create an AZSMZ Mini LCD Button consisting of two stacked cylinders with a 30-facet resolution. First, create a wide base cylinder with a radius of 4.0mm and a height of 2.5mm. Centered on top of this base, place a second, narrower cylinder with a radius of 2.6mm and a height of 6.0mm.
$fn = 30; cylinder(r = 2.6, h = 6.0); cylinder(r = 4.0, h = 2.5);
glb/cad_c13f97908acd.glb
Create a parametric knob consisting of a main body and a shaft. The main body is a tapered cylinder with a base diameter of 14mm and a top diameter of 17mm, reaching a height of 9mm. At the top of this body, add a cylindrical collar with a diameter of 17mm and a height of 0.8mm. The center of the body is hollowed out b...
d_buton = 14; h_buton = 12; g_buton = 3.7; conicitate = 2; d_ax = 6; d_gaura_ax = 6; h_ax = 7; d_rizuri = 4; nr_rizuri = 10; h_rizuri = 8; a_rizuri = 2.0; d_guler = 17; h_guler = 3; h_margine = 0.8; unghi = atan(conicitate/2/(h_buton-h_guler)); difference() { union() { cylinder (h = h_buton-h_guler, d1 = d_b...
glb/cad_8e6bcddaeff9.glb
Create a mini LCD case and mount. Start with a rectangular outer shell measuring 105mm by 45mm with a height of 5mm. Round all four vertical corners with a 3mm radius. Hollow out the center of the shell to create a 2mm thick wall, leaving a rectangular interior cavity of 101mm by 41mm. Cut a rectangular opening for th...
$fn = 30; radius = 3; shell = 2; post = 3; M3_screw = 1.5; c_width = 101; c_height = 41; c_depth = 1.7; c_buzzer = 10; c_encoder = 7; c_mp1_x = 1 + shell + post; c_mp2_x = 94 + shell + post; c_mp1_y = 1 + shell + post; c_mp2_y = 34 + shell + post; width = c_width + 2 * shell; height = c_height + 2 * shell; depth = s...
glb/cad_23737acd7625.glb
Create a treat container for a retractable leash consisting of a cylindrical vessel and two attachment beams. First, construct the main container as a hollow cylinder with an inner diameter of 45mm and an inner height of 30mm. The walls and bottom should be 2mm thick. Apply a 5% outward chamfer to the bottom exterior...
part = "container+beams"; diameter_=45.0; height_=30.0; compartments = 1; outside_chamfer=5.0; inside_chamfer=2.5; wall_thickness_=-1; divider_wall_thickness=-1; container_bottom_thick=-1; lid_top_thick=-1; backlash_=-1; solid_container=0; quality=80; diameter=max(8,diameter_); wall_thickness=( wall_thic...
glb/cad_c2864f21477e.glb
Create a customizable bit holder for 1/4" hex drive bits. The main body is a rectangular block with a total height of 145mm, a depth of 13mm, and a bottom floor thickness of 2mm. The block contains a grid of 90 circular holes. Each hole has a diameter of approximately 6.67mm (calculated as the diameter of a 1/4" hex ...
inch = 25.4*1; $fn=32*1; num_total = 90; max_h = 145; hole_depth = 13; floor_thickness = 2; hgap_tenths = 8; hgap = hgap_tenths/10; vgap_tenths = 70; vgap = vgap_tenths/10; margin_tenths = 30; margin = margin_tenths/10; bottom_vgap = 1; hole_tolerance_percent = 5; bore_dia = 1/4*inch * 2/sqrt(3) * (1+hole_to...
glb/cad_a2e3c3cbf856.glb
Create a customizable cap nut consisting of a hexagonal base and a hemispherical top. Start by creating a hexagonal prism with a flat-to-flat width of 11.1125mm and a height of 6.5mm. To make the part easier to wrench, slightly round the vertical edges of this hexagon. Centered within this hexagonal body, create a cyl...
$fn=32*1; inch = 25.4*1; cavity = "round"; inner_size_pick = 6.35; inner_size_manual = 6; inner_size = inner_size_pick=="manual" ? inner_size_manual : inner_size_pick; outer_size_pick = 11.1125; outer_size_manual = 8; outer_size = outer_size_pick=="manual" ? outer_size_manual : outer_size_pick; depth = 6.5; e...
glb/cad_e586f2d36653.glb
Create a rectangular electronics board with dimensions 33mm in length, 23mm in width, and 1.578mm in height. Centered on this board, place a smaller rectangular wifi chip measuring 17.4mm by 12.2mm with a height of 2mm. On the board, add four small cylindrical mounting holes with a radius of 1mm, positioned near the c...
inputs=4; outputs=4; sensor="Light"; board_len=33; board_wid=23; board_h=1.578; wifi_len=17.4; wifi_wid=12.2; wifi_h=2; pin_h=5.8+3.3+2.5; pin_w=.64; pin_l=.64; pinstop_h=2.5; pinstop_w=2.5; pinstop_l=2.5; temp_w=1.9; temp_l=1.9; temp_h=0.625; mot_w=2; mot_l=2; mot_h=1; lgt_w=2; lgt_l=2; lgt_h=0.65; mic_w=3.5; mic_l=2...
glb/cad_d9e5601b7a03.glb
Create an insulated power bus bar mount. Start with a central rectangular block measuring 95mm in length, 28mm in width, and 32mm in height. From this block, remove a central rectangular channel to accommodate the bus bar; this cutout should be 75mm long, 8mm wide, and 12mm high, positioned 1.25mm above the bottom cent...
bus_l = 75; bus_h = 12; bus_w = 8; wall = 10; num_wire_holes = 9; wire_hole_v_offset = 1.25; wire_hole_spacing = 8; wire_hole_diameter = 7; flange_height = 10; flange_radius = bus_w/2 + wall ; mount_hole_diameter = 6; difference(){ cube([bus_l + (wall*2), bus_w + (wall*2),bus_h + (wall*2)], center=true); union...
glb/cad_24c9871b0880.glb
Create a Smoothieboard Melzi Adapter Plate consisting of two rectangular plates and four cylindrical standoffs. First, create a base rectangular plate measuring 210.66mm by 51.91mm with a thickness of 3mm. In this plate, place four 10-sided polygonal holes with a diameter of 3.6mm. Position the first hole at the origin...
boltholedia=3.6; boltholefaces=10; boltholeheight=3; standoffheight=8; standoffdia=8; sbboltwidth=99; sbboltdepth=98; sbplatewidth=sbboltwidth+10; sbplatedepth=sbboltdepth+10; sbplateheight=3; melziboltwidth=200.660; melziboltdepth=41.910; melziplatewidth=melziboltwidth+10; melziplatedepth=melziboltdepth+10; melzipla...
glb/cad_847df57d3313.glb
Create a Diamond Customizer model by constructing a hull around three stacked polygonal disks. Scale the entire final assembly by a factor of 5. The first disk is the top face, positioned at a height of 18mm with a radius of 4mm and 8 sides. The second disk is the middle section, positioned at a height of 15mm with a r...
scaleFactor=5; HeightUpperRing=18; RadiusUpperRing=4; FragmentsUpperRing=8; HeightMiddleRing=15; RadiusMiddleRing=8; FragmentsMiddleRing=12; HeightLowerRing=5; RadiusLowerRing=0.1; FragmentsLowerRing=6; scale([scaleFactor,scaleFactor,scaleFactor]){ rotate(a=[0,0,0]){ hull(){ translate(...
glb/cad_c04a02efb842.glb
Create a LogicSniffer case consisting of a hollowed rectangular base and a flat lid. For the base, start with a solid block measuring 105mm in length, 52mm in width, and 10mm in height, centered on the origin. Hollow out the interior by removing a centered block of 101mm by 49mm by 8mm, leaving a 1mm thick floor and wa...
module case_bottom() { difference() { cube([105,52,10],true); translate([0,0,1]) cube([101,49,8],true); translate([51,0,1]) cube([6,9,4],true); translate([51,0,4]) cube([6,7,2],true); translate([-51,0,1.5]) cube([5,46,5],true); translate([-51,0,4]) cube([5,45,3],true); #translate([0,26,3.5]) cube([9,5...
glb/cad_8ad6d4c31f5f.glb
Create a parametric cable management clip with a total height of 5mm. Start by forming a solid base using a hull that connects a series of cylinders, each with a diameter of approximately 4.6mm, spaced every 5.4mm along a linear axis for a total of 8 cable positions. From this solid, remove 8 vertical cylindrical holes...
nbrCables = 8; diCable = 6 ; height = 5; mount = false; difference(){ hull(){ for( i=[0,nbrCables]){ translate([(i*diCable*0.9),0,0])cylinder(height,diCable/1.3,diCable/1.3); }; } for( i=[0:nbrCables-1]){ echo(i); translate([(i*diCable*0.95),0,0]){ cy...
glb/cad_8c158495a063.glb
Create a vertical bearing holder with a total height of 50mm. The main body is a cylinder with a radius of 9.5mm (based on a 15mm bearing diameter plus 4mm of wall thickness). Remove a central vertical hole with a radius of 7.5mm that extends through the entire height of the part. To allow for assembly, create a vert...
bearing_diameter = 15; module horizontal_bearing_base(bearings=1){ translate(v=[0,0,8/2]) cube(size = [24,8+bearings*25,8], center = true); } module horizontal_bearing_holes(bearings=1){ cutter_lenght = 10+bearings*25; one_holder_lenght = 8+25; holder_lenght = 8+bearings*25; difference(){ translate(v=[0,0,12])...
glb/cad_a88fb15ec10c.glb
Create a Prusa i3 X-Motor mount. Start with a base block consisting of two intersecting rectangular prisms: one measuring 12mm by 44mm by 30mm and another measuring 12mm by 20mm by 47mm, both centered. Subtract a series of holes and cutouts to accommodate the motor and hardware. Create four cylindrical mounting holes...
include <configuration.scad> use <x-end_V2.scad> $fn=100; motor_separation = 6; module x_end_motor_base(){ x_end_base(); translate(v=[-14,31+motor_separation/2,26.5-23/2]) cube(size = [12,44+motor_separation,30], center = true); translate(v=[-14,31-24/2+motor_separation/2,47/2]) cube(size = [12,20+motor_separation...
glb/cad_d602c7aedf07.glb
Create a Prusa i3 X-Idler and X-Motor mount. Start by forming a central body that combines a rectangular block measuring 10mm by 16mm by 30mm, centered on the X-axis, with a hexagonal prism of 30mm height and 8mm radius, rotated 30 degrees. From this combined volume, remove a central vertical cylinder with a radius o...
nut1 =4.74; nut2 =4.74; $fn=100; difference() { union() { translate(v=[-5,-17,15]) cube(size = [10,16,30], center = true); translate(v=[0,-17,0]) rotate([0,0,30]) cylinder(h = 30, r=8, $fn = 6); } translate(v=[0,-17,-1]) cylinder(h = 50, r=5.6/2); translate(v=[0,-17,-1]) rotate([0,0,30]) cylinder(r= nut1, h=...
glb/cad_acfaaa77ff98.glb
Create a Prusa i3 X-Idler bracket by starting with a main block that is a rounded cube measuring 43mm in width, 17mm in depth, and 57mm in height, with a corner radius of 3mm. Subtract a central vertical hole with a radius of 2.8mm and a height of 50mm to accommodate a rod. Create a nut trap by removing a hexagonal p...
include <configuration.scad> use <bearing.scad> use <nuts_and_bolts.scad> nut1 =4.6; nut2 =4.74; module roundedcube(v, r=0) { translate([0,r,r]) minkowski() { cube([v[0]/2,v[1]-r*2,v[2]-r*2]); rotate([0,90,0]) cylinder(r=r,h=v[0]/2, $fn=30); } } module x_end_base() { translate(v=[-14+17/2,-10-2-43/2,0]) rota...
glb/cad_18cfeb5e0ee7.glb
Create a Prusa i3 X-Idler consisting of two mirrored identical parts. For each part, start with a base block that incorporates the x-end geometry. Create a central vertical cylindrical shell with an outer radius of 2.95mm and an inner hole radius of 2.8mm, extending 25mm in height. On the side of the base, create a h...
include <configuration.scad> use <x-end_V3.scad> bearing_center = 5+(x_rod_distance/2); $fn=100; module x_end_idler(){ difference(){ x_end_base(); x_end_holes(); translate(v=[-5.5,-25-2,bearing_center]) rotate(a=[0,-90,0]) cylinder(h = 17, r=1.7, $fn=30); translate(v=[-2,-25-2,bearing_center]) rotate(a=[0,-90...
glb/cad_68dd12f4046e.glb
Create a Prusa i3 X-Motor mount with integrated nut traps. Start with a base block consisting of two joined rectangular prisms: one measuring 12mm x 44mm x 30mm and another 12mm x 20mm x 47mm, both centered. Subtract a series of geometric voids to create the motor and hardware housing. Carve out a central rectangular...
include <configuration.scad> use <x-end_V3.scad> $fn=100; motor_separation = 6; module x_end_motor_base(){ x_end_base(); translate(v=[-14,31+motor_separation/2,26.5-23/2]) cube(size = [12,44+motor_separation,30], center = true); translate(v=[-14,31-24/2+motor_separation/2,47/2]) cube(size = [12,20+motor_separation...
glb/cad_a58df90b72c1.glb
Create a Prusa i3 X-Idler and X-Motor mount. Start by forming a central body that combines a rectangular block measuring 10mm wide, 16mm deep, and 30mm high, centered on the X and Y axes, with a hexagonal prism of 16mm diameter (8mm radius) and 30mm height, rotated 30 degrees and centered on the X and Y axes. From th...
nut =4.74; $fn=100; difference() { union() { translate(v=[-5,-17,15]) cube(size = [10,16,30], center = true); translate(v=[0,-17,0]) rotate([0,0,30]) cylinder(h = 30, r=8, $fn = 6); } translate(v=[0,-17,-1]) cylinder(h = 50, r=5.6/2); translate(v=[0,-17,-1]) rotate([0,0,30]) cylinder(r= nut, h=5.5, $fn = 6, ...
glb/cad_b3819eca0e59.glb