Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Magnetic Lineal Holder consisting of two identical base units. For each unit, start with a rectangular block 40mm long, 2mm wide, and 2mm high. On the top surface of this block, create a complex profile that extends 40mm in length and 2mm in width, with a height of 2mm. Within this structure, remove material...
lineal_holder(); translate([00,50,0]) lineal_holder(); module lineal_holder() { difference() { translate([0,0,1]) rotate([90,0,0]) union() { linear_extrude(height = 40,$fn=2) polygon([[0,1],[0,0],[31,0],[31,1],[29,4],[31,4],[33,2],[33,-1],[-43,-1],[-43,1],[-42,2],[-40,2],[-40,0],[-2,0],[-2,2],[0,4],[2,4]]); ...
glb/cad_d82f3a6fa58f.glb
Create a PQ-12 Motor Mount by constructing a hollow rectangular housing designed to hold a motor of 36.5mm length, 15mm width, and 13mm height. The walls of the case should be 3mm thick. Start with a main body that encompasses the motor dimensions, then remove a central rectangular volume of 37.5mm by 16mm by 13.6mm ...
$fs=0.10; tol = 0.5; r_screw = 1.5+tol; l_motor = 36.5; w_motor = 15; h_motor = 13; h_offset = 8.5; r_offset = 1.5-tol; cutout_mount = 10; h_mount = 21.5; y_mount=7.5; z_mount = 16; l_mount = 10.5 + l_motor; l_screw = 7; l_cable=5; t_cable=2.5; h_plate = 10; t_case = 3; module rectangle(x,y,z) { cube(size=[x,y,...
glb/cad_9ba42dfa0c83.glb
Create a Spool Holder with Thrust Bearing by constructing a tiered cylindrical base. Start with a wide, low cylinder 2.5mm high with a 30mm radius. On top of this, center a second cylinder 12mm high with a 25.7mm radius. Carve a central vertical hole through both sections with a 10mm radius for the first 20mm of heig...
difference(){ union(){ cylinder(h=12, r=25.7); cylinder(h=2.5, r=30); translate([0,45,0]) cylinder(h=3, r=12.3); translate([0,45,0]) cylinder(h=15, r=9.5); } cylinder(h=7.5, r=21.5); cylinder(h=20, r=10); translate([0,45,0]) cylinder(h=15, r=1.8); translate([0,4...
glb/cad_28cb596c1766.glb
Create a SmallLid for a BioReactor. Start with a base cylinder 58mm in diameter and 9mm high. On top of this base, add a concentric rim that is 12mm high with an outer diameter of 58mm and an inner diameter of 40mm, creating a wall thickness of 9mm. The center of the lid must be hollowed out. Create a central vertica...
Height = 9; RimHeight = 12; OuterDiameter = 58; InnerDiameter = 40; WallThickness = 3; PipeHoles = 3; HoleDiameter = 8.7; HolePosition = 95; CenterHole = 6.5; HexHole = 6; fn=30; fnLid=10; module SolidLid(){ color("deeppink") translate([0,0,0]) cylinder(h=Height,d=OuterDiameter+8, $fn = fnLid); color("pink"...
glb/cad_87861b5e7ad4.glb
Create an orthopedic elbow support replacement part. Start by creating a main cylinder with a radius of 45mm and a height of 50mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 40mm and a height of 52mm, shifted 1mm down along the Z-axis. Cut a large rectangular not...
module a(){ difference(){ translate ([0,0,0]) cylinder (r=45,h=50,$fn=360); translate ([3,0,-1]) cylinder (r=40,h=52,$fn=360); translate ([0,-46,-1]) cube ([50,92,52]); translate ([-50,0,5]) cylinder (r=12.5,h=49,$fn=360); } translate ([0,40,0]) cube ([40,5,50]); translate ([0,-45,0]) cube ([40,5,50]); } module b()...
glb/cad_0379b270c3b7.glb
Create a Venetian blinds chain connector starting with a solid rectangular block measuring 7mm in width, 7mm in height, and 12mm in length. Carve out a central rectangular cavity measuring 6mm wide, 4mm high, and 9mm long, positioned 1.5mm from the side walls and 1.5mm from the top and bottom faces. To open the ends of...
rotate([0,-90,0]) spojka(); module spojka() { difference() { cube([7, 7, 12]); translate([1.5, 1.5, 1.5]) cube([6,4,9]); translate([ 4, 3.5, 2.5]) sphere(d=3, $fn=100); translate([4, 3.5, 9.5]) sphere(d=3, $fn=100); translate([3.5, 3.1, 0]) cube([5, 0.7, 15]); } }
glb/cad_0c36180f47ed.glb
Create a "No Bullets" pendant by combining a prohibited-sign symbol with a bullet model. First, construct the prohibited sign: create a large torus with a major radius of 100mm and a cross-sectional tube radius of 15mm. Cut a cylindrical hole with a 10mm radius through the center of the torus to create a hollow ring. I...
module bullet_stl() { import(file="bullet.stl",scale=25.4); } module pendant_no(no_r=15) { rotate([90,0,0]) difference() { union() { render() rotate_extrude() translate([100-no_r/2,00]) circle(r=no_r); rotate([-90,0,0]) translate([0,0,100]) { cylinder(r=2*no_r,h=no_r,center=false); ...
glb/cad_498f39fea2c4.glb
Create a Bitbeam, a LEGO Technic-compatible grid beam. Start by creating a rectangular prism with a width and height of 8mm and a length of 24mm. In this beam, create a series of circular holes with a diameter of 5.1mm. These holes should be centered along the width of the beam, with the center of the first hole locate...
beam_width = 8; hole_diameter = 5.1; hole_radius = hole_diameter / 2; module beam(number_of_holes) { beam_length = number_of_holes * beam_width; difference() { cube([beam_length,beam_width,beam_width]); for (x=[beam_width/2 : beam_width : beam_length]) { translate([x,beam...
glb/cad_f853fb69408c.glb
Create a customizable socket wrench consisting of a cylindrical head and a flat handle. Start by creating a cylindrical socket boss with a diameter of 9.4mm and a height of 5mm. Centered within this boss, remove a hexagonal hole with a minor axis width of 5.4mm and a depth of 10.5mm to create the socket. Attached to ...
hex_width = 5.4; wall_thick = 2.0; socket_depth = 5.0; handle_length = 50.0; handle_thick = 2.0; use <utils/build_plate.scad>; show_build_plate = "Yes"; build_plate_selector = 3; build_plate_manual_x = 200; build_plate_manual_y = 200; if (show_build_plate == "Yes") { build_plate(build_plate_selector,build_...
glb/cad_2d9ba49b73e8.glb
Create a Picatinny rail mount by extruding a specific profile along a linear axis. The main profile is a polygon defined by the following coordinates in mm: starting at [-10.6, 0], moving to [-8.4, 2.2], then to [8.4, 2.2], [10.6, 0], [7.8, -2.8], [7.8, -5.2], [-7.8, -5.2], and [-7.8, -2.8], closing back at the start. ...
rail(10); module rail(sections) { translate(v = [0, 0, -5 * sections - 2.5]) difference() { linear_extrude(height = (10.0076 * (0.5 + sections))) railprofile(); translate([0,-0.6,0]) union() { for (s = [1:sections]) { translate(v = [0, 0, s * 10.0076 - 10.0076/2.0]) ...
glb/cad_40b5a61a48e9.glb
Create a windows clip by starting with a rectangular base block measuring 13mm in width, 12.3mm in depth, and 5.4mm in height. On the right side of this base, attach a vertical pillar that is 2.4mm wide, 12.3mm deep, and 2.2mm high, positioned at the top edge. Carve out a central rectangular channel from the top of t...
$fn=180; use <../Writescad/Write.scad> difference() { union () { translate([0,0,0]) cube([13,12.30,5.4]); rotate ([0,0,90]) translate ([2,-13.2,1]) minkowski() { cube([8.3,0.1,9]); cylinder(r=2,h=2); } translate([10.6,0,5.4]) cube([2.4,...
glb/cad_a4fc85f0ab15.glb
Create a NEMA17 Suction Cup Mount. Start by constructing a U-shaped bracket with a total width of 52mm, a height of 52mm, and a base thickness of 5mm. The side walls are 5mm thick and 52mm tall. On the base plate, center a large circular cutout with a radius of 11.5mm. Around this central circle, place four bolt holes...
nema_17_mount(); module nema_17_mount() { $fs = 0.1; wall_thickness = 5; motor_width = 42; frame_width = motor_width + (wall_thickness + 1)*2; bolt = 4; height = 25; x1 = -wall_thickness; y1 = wall_thickness*2; x2 = frame_width+wall_thickness; y2 = wall_thickness*2; x3 = -wall_thickness; y3 = frame_width...
glb/cad_5aa3d9dc243b.glb
Create a snowman figure by stacking three spheres of decreasing size along a vertical axis. Place the largest sphere at the bottom with a radius of 25mm centered at height 25mm. Position a medium sphere with a radius of 18.7mm above it, centered at height 32mm, and a small sphere with a radius of 13mm at the top, cente...
$fn=80; difference() { union(){ translate([0,0,25]){ difference(){ color("snow"){ sphere(r=25,center=true); translate([0,0,32]) sphere(r=18.7,center=true); translate([0,0,55]) sphere(r=13, center=true); } translate([0,0,66.5]) cylinder(r=10,h=5,center=true); } color("black"){ translate([-10.2,-5.5,60.5]) r...
glb/cad_71bc7c0d63f0.glb
Create a snowman figure by assembling the following geometric components. Start with the body: create three stacked spheres of decreasing size. The bottom sphere has a radius of 25mm, the middle sphere a radius of 18.7mm positioned 32mm above the center of the first, and the top head sphere a radius of 13mm positioned ...
use <write/Write.scad> parts_to_render = 6; Render_Quality = 24; Project_Size = 111; $fn = Render_Quality; module hat(){ difference() { union(){ rotate([0,0,110]){ color("black"){ translate([-15,-15,91]) rotate([-90,90,-90]) cube([2,30,30],center=ture); translate([0,0,100]) cylinder(r=8,h=20,center=true);...
glb/cad_b84d4fe93665.glb
Create a snowman figure by stacking three spheres vertically. The bottom sphere should have a radius of 25mm and be centered at (0, 0, 25). The middle sphere has a radius of 18.7mm and is centered at (0, 0, 32), and the top sphere has a radius of 13mm and is centered at (0, 0, 55). For the base, place a cylinder with ...
$fn=80; difference() { union(){ translate([0,0,25]){ difference(){ color("snow"){ sphere(r=25,center=true); translate([0,0,32]) sphere(r=18.7,center=true); translate([0,0,55]) sphere(r=13, center=true); } translate([0,0,66.5]) cylinder(r=10,h=5,center=true); } color("black"){ translate([-10.2,-5.5,60.5]) r...
glb/cad_d434f9956a71.glb
Create a Raspberry Pi Relay Case and Mount. Start by constructing a main rectangular box with a wall thickness of 2mm and rounded corners with a radius of 4mm. The internal cavity should be 86mm long and 57mm wide. On the bottom surface, add several small rectangular support studs of height 5.6mm to support a PCB. Pos...
use<write.scad> DRAWfull = 0; DRAWtop = 0; DRAWbottom = 1; DRAWtopinlet = 0; DRAWbottominlet = 0; DRAWpcb = 0; GPIOHOLE = 2; GPIOsize = 12; topframe = false; topinlet = false; topholes = false; holeofs=5; holesiz=2.5; holestep=6; noholes=12; holelen=30; holeangl...
glb/cad_c80126358b99.glb
Create a NEMA 17 motor reference model. Start with a central main body formed by the union of two intersecting blocks: one measuring 42.3mm x 33mm x 39.8mm and a second identical block rotated 90 degrees on the Z-axis, resulting in a cross-shaped footprint with a total height of 39.8mm. On the top face, center a prot...
cube_x = 42.3; cube_y = 33; cube_z = 39.8; cyl_dia = 22; cyl_extra_height = 2; shaft_dia = 5; shaft_length = 24; retain_dia = 3.5; retain_placement = 31; retain_depth = 15; retain_spacing = retain_placement/2; cyl_resolution = 64*1; difference(){ union(){ hull(){ wide_cube(); tall_cube(); } large_cylinder()...
glb/cad_60927cb9052e.glb
Create a towel ring consisting of a large circular hoop and a mounting base. First, construct the main hoop by creating a torus with a major radius of 60mm and a cross-sectional radius of 10mm. The cross-section of the hoop should be a square with 8mm sides rather than a circle, resulting in a ring with a total outer d...
quality = 100; difference() { union() { rotate_extrude(convexity = 10, $fn = quality) translate([60, 0, 0]) circle(r = 10, $fn = quality/3); translate([60,-2,2]) rotate([90,0,0]) rotate_extrude(convexity=10, $fn = quality) translate([15,0,0]) square(8, center=true); translate([60,2,2]) ...
glb/cad_4e8854636d43.glb
Create a speed washer by constructing a thin, flat ring. Start with a solid cylinder that has a radius of 6mm and a height of 1mm. Centered within this cylinder, remove a smaller concentric cylindrical core with a radius of 4mm and the same height of 1mm to create a hollow circular channel. Ensure the final geometry is...
difference() { translate( [0,0,0]) cylinder(h = 1, r = 6, center = true, $fn=100); translate( [0,0,0]) cylinder(h = 1, r = 4, center = true, $fn=100); }
glb/cad_681bb7bc7e81.glb
Create a customizable key tag with a total length of 55mm, a width of 20mm, and a thickness of 2mm. The main body is a rectangular plate with rounded corners; create these corners using a radius of 2mm. At the right end of the tag, center a circular hole with a diameter of 10mm that passes completely through the thickn...
Length = 55; Width = 20; Hole_Diameter = 10; Thickness = 2; Text_Size = 1.4; Font = "Liberation San"; Line1 = "Cort's"; Line2 = "Tesla S"; $fs=0.1; Hole_Radius = Hole_Diameter/2; Filet = 2; Text_Indent = 1.5; Font_and_Style = str(Font,":style=Bold"); difference(){ union(){ translate([Filet,Filet,0])...
glb/cad_e65c0156cdd2.glb
Create a timing pulley with a central shaft hole of 6.25mm diameter. The main body consists of a gear section with 14 teeth, based on a 5.08mm pitch. The gear's outer radius is derived from this pitch and number of teeth, minus a belt thickness of 0.65mm. The teeth are square-profiled with a width of 1.4mm and a notch ...
shaftDiameter = 6.25; hubDiameter = 22; hubHeight = 8; flanges = 2; hubSetScewDiameter = 3; numSetScrews = 3; numTeeth = 14; toothType = 3; pitch = 5.08; beltWidth = 6.35; beltThickness = 0.65; notchDepth = 1.8; toothWidth = 1.4; include <teardrop.scad> PI = 3.14159265; $fs=0.2; $fa=3; pulleyDiameter = pitch*numTee...
glb/cad_683de8ad19ac.glb
Create an RFID card holder by starting with a solid rectangular block measuring 86mm in width, 55mm in depth, and 4.8mm in height. Center this block on the origin. From this solid volume, remove a central capsule-shaped void to create a window. This void is formed by removing a smaller central rectangular block measuri...
x=86; y=55; z=1; thickness=4; height=6; wx=75; wy=44; difference() { cube([x, y, height*0.8-z], center=true); cube([x*0.5, y*0.5, 10], center=true); translate([x*0.25, 0,0]) cylinder(r=y*0.25, h=10, center=true); translate([-x*0.25, 0,0]) cylinder(r=y*0.25, h=10, center=true); }
glb/cad_79b90b98c89d.glb
Create an RFID Card Holder by constructing a rectangular base and hollowing out the center. Start with a solid rectangular block measuring 89mm by 58mm with a height of 6mm. Center a rectangular hole through the middle of this block that is 86mm wide and 55mm deep, extending from the top surface down to a depth of 6mm,...
x=86; y=55; z=1; thickness=3; height=6; wx=75; wy=44; difference() { cube([x+thickness, y+thickness, height], center=true); translate([0,0,height*0.2]) cube([x, y, height], center=true); translate([0,0,-z]) cube([wx,wy,height+z],center=true); }
glb/cad_1dd105140035.glb
Create a dishwasher wheel stopper by constructing a rounded rectangular sleeve with a hollow center. Start with a solid hull formed between two cylinders, each with a radius of 6mm and a height of 5.5mm, positioned 17.5mm apart along the x-axis. From this volume, remove a central inner hull created from two cylinders w...
height=27.5; width=10; wall_thickness=1; hole_distance=4.5; hole_diameter=2.5; $fn=20*1; difference() { hull() { cylinder(r=width/2+wall_thickness,h=hole_distance+wall_thickness+hole_diameter); translate([height-width,0,0]) cylinder(r=width/2+wall_thickness,h=hole_distance+wall_thickness+hole_diameter); ...
glb/cad_9fbac3fe4939.glb
Create an Indoor Sundial consisting of a base and a rotating LED mount. First, construct the base as a hollow cylinder with an outer radius of 50mm and a height of 25mm. The walls should be 1.5mm thick. Cut a rectangular opening (15mm x 20mm x 25mm) into the side for a USB port. Create two narrow grooves (6.5mm wide,...
Tol = 0.15; Sep = 10; dial_Range = 110; AB = 1; C = 0; D = 1; E1 = 1; E2 = 0; E3 = 0; F = 1; A_R = 50; A_Z = 25; A_W = 1.5; A_Zcut = 10; F_Xhole = 15; F_Yhole = 20; F_Zhole = 25; F_Xhole_Offset = 11; Button_X = 6.5+Tol; Button_Z = 6.5+Tol; Button_holespaceX = 4.6; Button_holespaceZ = 6; Button_Rhole = 1; Button1_a...
glb/cad_d56ce803924c.glb
Create a tube connector that joins three outer tubes to one central inner tube. The main body is a composite of three cylindrical sections: a base cylinder with a radius of 4.33mm and height of 13.5mm, a middle frustum that tapers from a radius of 4.33mm down to 3.5mm over a height of 3.5mm, and a top cylinder with a r...
hole_diameter=4.5; hole_resolution=20; wall_thickness=1; insertion_depth=10; bend_height=7; bend_resolution=15; radius_to_hole_center=(hole_diameter+wall_thickness)/sqrt(3); difference() { positive_shapes(hole_diameter,wall_thickness,insertion_depth,radius_to_hole_center,bend_height); translate([0,0,-0.5]) negat...
glb/cad_9d72addd5f59.glb
Create a Filament Puller NEMA17 by constructing a hollow cylinder with an outer radius of 8mm and a total height of 60mm. Remove a concentric inner cylindrical core with a radius of 4.1mm and a height of 60mm to create a tube with a wall thickness of 3.9mm. Ensure the final geometry is a smooth, circular pipe with a co...
$fn=64; difference() { cylinder(r=8, h= 60); cylinder(r=4.1,h=60); }
glb/cad_c55efea69f43.glb
Create a Filament Puller NEMA17 consisting of a main cylindrical body and a tiered upper section. Start by creating a base cylinder with a radius of 12mm and a height of 30mm, using 32 facets. Centered vertically through this base, remove a cylindrical hole with a radius of 4.05mm. On top of the base, add a conical tra...
include <MCAD/nuts_and_bolts.scad> $fn=16; roller_h=30; difference() { union() { translate([0,0,roller_h]) cylinder(r=4, h=20,$fn=24); cylinder(r=12,h=roller_h,$fn=32); translate([0,0,roller_h]) cylinder(r1=12,r2=4,h=5,$fn=24); } cylinder(r=4.05, h=roller_h); tra...
glb/cad_752e8c2405e5.glb
Create a ceiling bracket for a condenser microphone consisting of two matching circular plates. First, create a main ring with an outer diameter of 41mm, an inner hole diameter of 26mm, and a height of 5mm. Add four symmetrical mounting tabs extending from the outer edge of this ring. Each tab should be a flat plate 4m...
height=5; OD=41; ID=26; screw=5; t=6; $fn=90; module plate(diameter, screwDiameter, thickness) { $fn=100; t=thickness; tt=thickness*2; radius=diameter/2; centerCylinder=radius*0.8; union() { difference() { hull() { cylinder(h=t, r=centerCylinder); ...
glb/cad_b1ebfd550ec7.glb
Create a Business Card Organizer by starting with a solid block that is 72mm wide, 64mm deep, and 100mm tall, centered such that it spans from -32mm to 40mm on the X-axis and -20mm to 44mm on the Y-axis. Shape the top of this block by intersecting it with a cylinder of 80mm radius that is rotated 90 degrees along the X...
difference(){ intersection(){ translate([-32,-20,0]) cube([72,64,100]); translate([-30,50,0]) rotate(90,[1,0,0]) cylinder(r=80,h=100,$fn=100); } for(i=[1,2,3,4,5,6,7]){ translate([40-(8+2)*i,-20+2,4+(i-1)*6]) cube([8,60,100]); } }
glb/cad_71241243d244.glb
Create an attribute pointer clip for a game board. The main body is a rounded, wedge-like shape formed by the convex hull of a scaled sphere (4mm x 7mm x 4mm) and a rectangular block measuring 1mm x 2mm x 1.6mm positioned at the far end. Carve a central slot through the length of the clip to hold a card. The slot flo...
difference() { rotate([75,18.5,0]) clip(); translate([-10,-10,-15]) cube([30,20,10]); } module clip() difference() { hull() { base(); translate([16,0,1.8]) scale([1,.6,.8]) sphere(1,$fn=16); } slotRoof(); translate([4,0,1]) wedge(); } module wedge() hull() { cube([.1,20,.1],center=true); tra...
glb/cad_389b981829bc.glb
Create an Air Raid Siren planetary gear system. Start by creating an annular gear with 72 teeth, an outer diameter of 100mm, and a height of 20mm. The annular gear should have a central hole with a radius of 90% of the mesh radius and a rim thickness of 20mm. Inside the annular gear, place a solar gear with 36 teeth, ...
use <MCAD/involute_gears.scad> tpcm = 3; diametral_pitch = 3.14159*tpcm/10; echo(diametral_pitch); solar_d_apx = 10; solar_teeth = round(solar_d_apx*3.14159*tpcm/10); solar_d = solar_teeth/tpcm*10/3.14159265; echo(solar_d=solar_d); planet_d_apx = 45; planet_teeth = round(planet_d_apx*3.14159*tpcm/10); planet_d = pl...
glb/cad_9069ae2f7af5.glb
Create an Air Raid Siren consisting of two main components: a stator and a rotor. Construct the stator as a block 30mm high with an outer diameter of 116.25mm. The stator features a central cylindrical void with a radius of 15mm. Around this center, create 49 radial blades, each with a width based on a 50% gap-to-blad...
undercut = 0.07; backlash = 0.3; overhang_angle = 50; print = 0; if ( print == 0 ) { render(6)stator(OD=116.25,topless=false); render(8)rotor(OD=116.25,topless=false); } else if ( print == 1 ) { render(6)stator(OD=116.25); } else if ( print == 2 ) { render(8)rotor(OD=116.25); } function linear(x,x1,...
glb/cad_d58ff6d2e001.glb
Create an Air Raid Siren consisting of two main components: a stator and a rotor. For the stator, create a cylindrical housing with an outer diameter of 116.25mm and a height of 30mm. The interior should be hollowed out to a radius of 30mm. Within the wall of this housing, create 59 radial blades. Each blade should be...
undercut = 0.07; backlash = 0.3; overhang_angle = 50; print = 2; if ( print == 0 ) { render(6)stator(OD=116.25,r=40,blades=59,topless=false); render(8)rotor(OD=116.25,r=40,blades=60,topless=false); } else if ( print == 1 ) { render(6)stator(OD=116.25,r=40,blades=59); } else if ( print == 2 ) { render...
glb/cad_df2e78834a76.glb
Create an Air Raid Siren planetary gear assembly. Start by constructing an annular gear (ring gear) with 72 teeth, an outer diameter of 100mm, and a height of 20mm. The interior of this ring should be hollowed out to accommodate the gear mechanism. Inside the annular gear, place a central solar gear with 36 teeth and ...
use <MCAD/involute_gears.scad> tpcm = 3; diametral_pitch = 3.14159*tpcm/10; echo(diametral_pitch); solar_d_apx = 10; solar_teeth = round(solar_d_apx*3.14159*tpcm/10); solar_d = solar_teeth/tpcm*10/3.14159265; echo(solar_d=solar_d); planet_d_apx = 45; planet_teeth = round(planet_d_apx*3.14159*tpcm/10); planet_d = pl...
glb/cad_9c09c80349ef.glb
Create an Air Raid Siren consisting of a stator and a rotor. For the stator, create a cylindrical housing with an outer diameter of 100mm and a height of 30mm. The base is a square with rounded corners, featuring four cylindrical stand-offs of 7mm radius and 30mm height at the corners. Remove a central cylinder with ...
undercut = 0.07; backlash = 0.3; overhang_angle = 50; print = 0; r=35; if ( print == 0 ) { render(6)stator(OD=100,r=r,blades=59,topless=false); render(8)rotor(OD=100,r=r,blades=60,topless=false); } else if ( print == 1 ) { render(6)stator(OD=100,r=r,blades=59); } else if ( print == 2 ) { render(8)roto...
glb/cad_b6770c2eb1a3.glb
Create an Air Raid Siren planetary gear assembly. Start by creating an annular gear with 84 teeth, an outer diameter of 100mm, and a height of 20mm. Inside this ring, place a solar gear with 24 teeth and a height of 20mm. Position three planet gears, each with 30 teeth and a height of 20mm, spaced equally around the s...
use <MCAD/involute_gears.scad> tpcm = 3.2; diametral_pitch = 3.14159*tpcm/10; echo(diametral_pitch); solar_d_apx = 9; solar_teeth = round(solar_d_apx*3.14159*tpcm/10); solar_d = solar_teeth/tpcm*10/3.14159265; echo(solar_d=solar_d); planet_d_apx = 42; planet_teeth = round(planet_d_apx*3.14159*tpcm/10); planet_d = p...
glb/cad_7913f450adee.glb
Create a Lollipop Bouquet base by starting with a sphere with a radius of 20mm. Slice off the bottom of the sphere using a horizontal plane to create a flat base; the amount removed should be 20% of the sphere's total diameter. Into this sphere, create 150 holes to hold lollipop sticks. Each hole should be a cylinder w...
SPHERE_RADIUS = 20; PERCENT_BASE = 0.2; STICK_RADIUS = 1.9; TOTAL_STICKS = 150; STICK_HEIGHT = 8; CUBE_SIZE = 2*SPHERE_RADIUS; offset = (PERCENT_BASE-1)*(CUBE_SIZE); difference() { fullSphere(); translate([0,0,offset]) cube(CUBE_SIZE, center=true); } module fullSphere() { difference() { ...
glb/cad_dd7009a4a1cc.glb
Create a Customizable Spool Hub with a total thickness of 12mm. Start by creating a central core cylinder with a diameter of 24mm and a height of 12mm. Around this core, add three identical arms spaced equally at 120-degree intervals. Each arm is formed by a cylinder with a radius equal to the average of the core radiu...
Hub_Diameter = 60; Hole_Diameter = 10; Core_Diameter = 24; Thickness = 12; Number_of_Arms = 3; Catch_Thickness = 1; Core_Radius = Core_Diameter / 2; Catch_Radius = Hub_Diameter / 60 * 3; Catch_X = Hub_Diameter / 60 * 27.86; Catch_Y = Hub_Diameter / 60 * 2.1; Hub_Radius = Hub_Diameter / 2; Arm_Radius = (Hub_Radius ...
glb/cad_65c0defec40c.glb
Create a Panel Meter Clock case consisting of a front and back housing. The overall outer dimensions are 75.2mm wide, 64mm high, and 54.5mm deep, with a wall thickness of 1.6mm and rounded corners with a 3mm radius. For the front section, create a hollow rectangular shell. On the interior, place four cylindrical stand...
use <MCAD/boxes.scad> print_front = 1; print_back = 1; print_buttons = 1; $fn=32; m3_hole = 3.2; out_w = 1.6+5+64+5+64+5+1.6; out_h = 1.6+4+56+4+1.6; out_d = 1.6+51.5+1.6; thick = 1.6; meter_w = 64; meter_h = 56; meter_d = 50.4; meter_m = 52; meter_mh = 13; meter_md = 3.8; echo("w= ",out_w); echo("h= ",out_h); ec...
glb/cad_e494c61c737c.glb
Create a hollow right angle bracket for 20mm aluminum extrusions. The main body is a right-angle prism with a height of 20mm, a base length of 40mm, and a base width of 40mm. The bracket is hollowed out from the center to save material, leaving a wall thickness of 5mm. The interior cutout features rounded corners wit...
bracketType = 1; sideLength = 40; extrusionUnits = 1; thicknessUnderBolt = 3; holeEdgeOffset = 12.5; boltCountPerSide = 2; fillet = 1; rFillet = 2.5; rScale = 1.14; showAssembly = 0; braceThickness = 5; rCutout = 2; unitWidth = 20; dBolt = 5; boltClearance = 0.4; dBoltHead = 8.5; dCounterbore = 9.75; b...
glb/cad_e353a262c529.glb
Create a Euglena BioReactor Lid. Start with a main cylindrical base 8mm high with an outer diameter of 95mm. On top of this base, add a second cylindrical tier 6mm high with a diameter of 78mm. Create a central vertical hole 10mm in diameter passing through the entire height of the model. Add a second vertical hole 20...
Height = 8; RimHeight = 8; OuterDiameter = 95; InnerDiameter = 78; WallThickness = 2.5; PipeHoles = 3; HoleDiameter = 8.8; HolePosition = 95; CenterHole = 10; MotorHole =20; HexHole = 0; fn=30; fnLid=16; module SolidLid(){ color("deeppink") translate([0,0,0]) cylinder(h=Height,d=OuterDiameter, $fn = fnLid); ...
glb/cad_f9a8f4a0f87b.glb
Create a propeller for a bioreactor. Start with a central hub consisting of a cylinder with a radius of 8mm and a height of 18mm. Bore a concentric centering hole through the entire height of this hub with a radius of 4.3mm. Attached to this hub, create five identical fins distributed evenly every 72 degrees around th...
fs=.2; fa=4; fn=50; nslices=25; trad=30; outw=0; nfins=5; rins= 7; tdepth = 12; fangle = 60; bevh = 0; tfin = 1.5; chrad = 2.2; module total(fs,fa,fn,nslices,trad,outw,nfins,rins,tdepth,fangle,bevh,tfin) { $fs=fs;$fa=fa;$fn=fn; module fin() {union(){rotate([-fangle,0,0]){union() { cube([119, 119, tfin]); transl...
glb/cad_73d2ba3fa8b3.glb
Create a twisted polygon vase with a total height of 90mm. The overall form is based on a regular hexagon with a circumradius of 25mm at both the top and bottom. Construct the shape by extruding the hexagonal profile vertically while applying a continuous twist. The geometry is formed by a series of stacked, overlapp...
use <MCAD/regular_shapes.scad>; vase_height = 90; bottom_radius = 25; number_of_sides = 6; Random_Na = 9168; Manual_Na = 0; Na = (Manual_Na==0) ? Random_Na : Manual_Na; echo(Na); top_radius = bottom_radius; Nb = Na; number_of_sides2 = number_of_sides; slice_layers = (.5*number_of_sides)*((Na + Nb)/Nb); slice_l...
glb/cad_437d131b80b0.glb
Create a CNC board material clamp. Start with a base plate that is 21mm wide, 30mm long, and 4mm thick. On one end of this base, add a rectangular support block that is 3.2mm wide, 30mm long, and 3.2mm high. Drill a 7mm diameter hole through the center of the base plate along its 30mm length. Attached to the top of th...
clampHeight=10; clampWidth=30; clampDepth=4; clampAngle=8; holeDiameter=7; tableRiseOffset=3.2; materialSupportHeight=3.2; module hiden() {} holeDiaMultiplier=3; $fn = 50; module bottomPlate() { difference() { union() { cube ([holeDiameter*holeDiaMultiplier,clampWidth,clampDepth]); translate (...
glb/cad_b439f9f15736.glb
Create a Y axis motor holder template with a total thickness of 18mm. Start with a base plate formed by the union of a NEMA 17 motor mounting pattern and a rectangular joining section measuring 60mm by 53mm. Within this geometry, create the motor mounting holes according to NEMA 17 standards. To refine the shape, rem...
include <configuration.scad> use <inc/bearing-guide.scad> module motorholder(thickness=18){ difference(){ union(){ translate([29, -21 + 50, 0]) { difference(){ union(){ nema17([0, 1, 1, 0], thickness=thickness, shadow=fal...
glb/cad_9c05f1992fd3.glb
Create a Y axis motor holder template with a uniform thickness of 10mm. The main body is composed of a central rectangular section and a larger joining base. First, construct the motor mounting area by creating a rectangular block that incorporates a NEMA 23 hole pattern. Within this section, remove a central rectang...
include <configuration.scad> use <inc/bearing-guide.scad> module motorholder(thickness=10){ difference(){ union(){ translate([29, -21 + 50, 0]) { difference(){ union(){ translate([-21 + 4.5, 0, 5]) cube([9, 31, thickness],...
glb/cad_51554393ebae.glb
Create a Laser Chess piece by starting with a centered cube that measures 20mm by 20mm with a height of 4.5mm. Cut a thin, rectangular slot through the center of the cube, oriented at a 45-degree angle relative to the sides. This slot should be 1mm wide, 50mm long, and 3mm deep, positioned 2mm above the center of the b...
difference(){ cube([20,20,4.5],center=true); translate([0,0,2]) rotate([0,0,45]) cube([1,50,3], center=true); }
glb/cad_2298099fcb51.glb
Create a Laser Chess piece by starting with a cube that measures 20mm on each side and is 30mm tall. Center the cube on the origin. Remove a cylindrical hole from the center of the cube to create a void. This cylinder must have a radius of 5mm and a height of 22mm. Position the cylinder so its central axis is aligned w...
difference(){ cube([20,20,30], center=true); translate([0,0,3]) rotate([90,0,0]) cylinder(r=5,h=22,center=true); }
glb/cad_ddc374ccf67e.glb
Create a T-slot table nut with a total length of 15mm. Start with a base profile that is 15mm wide and 7.5mm high. Add a centered rectangular protrusion on top of this base that is 9.5mm wide and 5.5mm high. The resulting side profile should look like a stepped T-shape. Extrude this profile to the full 15mm length. T...
holeDiameter=7; A=9.5; H1=5.5; H2=7.5; C=15; nutLength=15; nutWidth=10; nutHeight=6; module tnut() { P=(C-A)/2; difference() { translate([-C/2,nutLength/2,0]) rotate([90,0,0]) linear_extrude (height=nutLength) polygon(points=[[0,0], [C,0], [C,H2], [C-P,H2], [C-P,H2+H1], [P,H2+H1], [P,H2], [0,H2...
glb/cad_7696a317cbf0.glb
Create a Darth Vader cookie cutter based on the provided DXF profile. The model consists of a main cutting wall 12mm high with a thickness of 2mm. At the base, add a flange that extends 4mm outward from the cutting wall with a height of 0.75mm. The main body should follow the outer silhouette of the character's head ...
wallThick = 2; cutterMinimum = 1; baseHeight = 1.5; height = 12; flangeWidth = 4; stampDepth = 1; lineDepth = 1.5; dxf_scale=.3; fileName = "Darth2.dxf"; cookiecutter(); module stamp() { union(){ difference() { difference(){ baseShape(stampDepth + baseHeight); translate([0,0,baseHeight])linear_extrude(height...
glb/cad_2ecc95a6b5b5.glb
Create a door knob and rose by starting with a hollow sphere with an outer radius of 25mm and an inner radius of 21mm. Cut away the bottom half of this sphere using a 50mm cube centered at the origin but shifted 50mm down on the Z-axis. Attach a cylinder to the bottom of the sphere that is 5mm tall, with a bottom radiu...
difference() { union() { difference() { sphere(r=25,$fn=100); sphere(r=21,$fn=100); translate([-25,-25,-50]) { cube(50,50,50); } } translate([0,0,-5]) { cylinder(h=5,r1=24,r2=25,$fn=100); } translate([0,0,20]) { cylinder(h=25,r1=12.5,r2=12.5,$fn=100); } } translate([0,0,40]) { cub...
glb/cad_821688a0e305.glb
Create a door knob rose by starting with a solid cylinder 58mm in diameter and 4mm thick. Remove a central vertical hole with a radius of 6mm that passes completely through the object. Within this central void, create a larger cylindrical chamber with a radius of 13.5mm and a height of 2mm, positioned 2mm above the bas...
difference() { cylinder(r=29,4, $fn=100); translate([19,0,0]) cylinder(r=2,4, $fn=100); translate([19,0,3]) cylinder(r=4,1, $fn=100); translate([-19,0,0]) cylinder(r=2,4, $fn=100); translate([-19,0,3]) cylinder(r=4,1, $fn=100); cylinder(r=6,4, $fn=100); translate([0,0,2], $fn=100) { cylinder(r=13.5,2, $fn=1...
glb/cad_24bdc37df5ec.glb
Create a RAMPS Clip-on Fanmount consisting of two identical mirrored halves. For each half, construct a curved clip by creating a strip 3mm wide and 40mm long, bent at a 135-degree angle. The first section of the bend should rise 30mm vertically, while the second section extends horizontally. To shape the clip, remov...
use <bend.scad> huge = 50; fanholes = 32; rampswidth = 60; hole_r = 1.75; raise = 30; width = 3; clip_cut=2; holediff = (rampswidth - fanholes)/2; fanpart_w = holediff + (hole_r) + (width*2); rampspart_w = width + clip_cut; halfmount(); #translate([width*4,0,0]) rotate([0,0,-45]) mirror([0,1,0]) halfmount(); module...
glb/cad_4168f30c1e8f.glb
Create a Customizable Battery Tray designed to hold four 18650 Li-Ion cells. The main body consists of four aligned cylindrical bores, each with a diameter of 18.3mm and a height of 65mm. These bores are encased in a shell with a wall thickness of 1.3mm and a bottom base of 1.3mm. To allow for a radial clearance of 0.6...
objects = "TRAY" ; cell_type = "Li-18650" ; cell_d = 14.1 ; cell_h = 50.0 ; gap = 0.6 ; wall = 1.3 ; numcells = 4 ; distance = 105 ; h_cor = 100 ; cutoffs = -10 ; r_window = 3 ; h_window = 30 ; rubberguide = 1 ; guide_w = 2 ; rubber_w = 4.4 ; rubber_topgroove = 1 ; rubber_botgroove = 1 ; groove...
glb/cad_4b6d92c404a5.glb
Create a Scion Multi-selector Radio Knob by first constructing a hollow tapered cylinder with a height of 11.75mm, a bottom diameter of 20.5mm, and a top diameter of 24mm. The wall thickness is created by removing a concentric inner tapered cylinder with a height of 11.75mm, a bottom diameter of 18.5mm, and a top diame...
$fa=1; $fs=.25; difference(){ cylinder (h=11.75,d1=20.5,d2=24); translate([0,0,1]) cylinder (h=11.75,d1=18.5,d2=22); } translate([0,0,3.25]) cube([.7,19.5,4.5], center=true); translate([0,0,3.25]) rotate([0,0,45]) cube([.7,19.5,4.5], center=true); translate([0,0,3.25]) rotate([0,0,-45]) cube([.7,19....
glb/cad_478c7afe7694.glb
Create a T-Rex Oval Base by constructing a composite ovaloid shape and removing a slanted cylindrical hole. Start by forming the main body through the union of two scaled primitives: a sphere resized to 60mm wide, 90mm deep, and 26mm high, and a cylinder resized to 60mm wide, 90mm deep, and 4mm high, centered verticall...
$fn = 72; module base () { union (){ resize(newsize=[60,90,26]) sphere(r=10); resize(newsize=[60,90,4]) translate([0,0,-5]) cylinder(h=10, r=10, center=true); } } module hole () { rotate([12,0,0]) translate([0,2.5,-2]) cylinder(h = 20, r1 = 4.5, r2 = 4.5, center = false); } module basediff () { resize(newsize...
glb/cad_c5ce83c7932f.glb
Create an Imperial Crown by constructing a circular band with a base radius of 50mm. The main body is formed by a hollow cylinder with an outer radius of 100mm and an inner radius of 50mm, and a total height of 200mm. To create the crown's decorative peaks, place four intersecting cylinders horizontally around the cent...
$fn=64; pi=3.14159265; kronenradius = 50; stabilitaet = 0.15; elemente = 4; hoehenfaktor=3; sektionen = elemente * 2; module welle1() { for (i=[0:(elemente-1)]) scale([1,1,hoehenfaktor]) translate([0,0,0]) rotate([0,90,180/elemente*i]) cylinder(h=2*kronenradius, r=kronenradius*pi/sektionen,center=true); } modul...
glb/cad_cb4023d6dfda.glb
Create a radial print cooling fan mount. Start with a main rectangular body 30mm long, 15mm wide, and 8mm thick. At the front end, integrate a cylinder with a 15mm diameter and 8mm height centered on the width. Along the side, add a horizontal cylinder with an 8mm diameter and 15mm length, centered at a height of 4mm. ...
mount_length = 30; mount_width = 15; mount_thickness = 8; fan_mount_thickness = 5.2; hole_radius = 4.5 / 2; $fn = 50; difference() { union() { translate([mount_width/2, 0, 0]) cube([mount_length - mount_width/2 - mount_thickness/2, mount_width, mount_thickness]); translate([mount_...
glb/cad_481771987760.glb
Create a radial print cooling fan mount. Start by creating a main body that is a hull between two cylinders, each with a diameter of 8.8mm and a height of 5mm, positioned 58mm apart along the x-axis. Add a mounting lug by creating a hull between two cylinders of the same 8.8mm diameter and 5mm height, spaced 10mm apart...
mount_height = 30; mount_thickness = 5; mount_offset = 10.5; fan_hole_spacing = 58; fan_diameter = 50; fan_intake_offset = 3; fan_intake_diameter = 40; hole_diameter = 4.4; $fn = 100; difference() { union() { hull() { translate([fan_hole_spacing, 0, 0]) cylinder(d = hole_diameter*...
glb/cad_f02e1cb45b69.glb
Create a radial print cooling fan duct nozzle. Start with a rectangular base chamber that is 16.8mm high, 12mm wide, and 4mm deep. This base is a hollow shell with a wall thickness of 1.2mm. From the top of this base, extend a tapered tube upwards to a total overall length of 20mm. The tube should transition from the ...
Wall = 1.2; Overall_Length = 20; Tube_Outside_Top = 10; Tube_Outside_Bottom = 2.5; Nozzle_Offset = 1.5; Chamber_H = 16.8; Chamber_W = 12.0; Chamber_D = 4; union() { difference() { cube([Chamber_H, Chamber_W, Chamber_D], center = true); cube([Chamber_H - Wall*2, Chamber_W - Wall*2, Chamber_D], c...
glb/cad_c44370230549.glb
Create a radial print cooling fan duct nozzle. Start with a rectangular base chamber that is 16.8mm high, 12mm wide, and 4mm deep. This base is a hollow shell with a wall thickness of 1.4mm. From the top of this base, extend a tapered tube that reaches a total overall length of 20mm. The tube should transition from t...
Wall = 1.4; Overall_Length = 20; Tube_Outside_Top = 10; Tube_Outside_Bottom = 2.5; Nozzle_Offset = 1.5; Chamber_H = 16.8; Chamber_W = 12.0; Chamber_D = 4; union() { difference() { cube([Chamber_H, Chamber_W, Chamber_D], center = true); cube([Chamber_H - Wall*2, Chamber_W - Wall*2, Chamber_D], c...
glb/cad_5cf5b1fad457.glb
Create a radial print cooling fan duct nozzle. Start with a rectangular base block measuring 16.8mm in width, 12mm in depth, and 8mm in height. Hollow out the center of this base, leaving a wall thickness of 1.5mm on all sides. From the top surface of the base, extend a tapered nozzle that reaches a total length of 20...
wall = 1.5; overallLength = 20; Tube_Outside_Top = 10; Tube_Outside_Bottom = 2.5; nozzleOffset = 1.5; angle = 45; chamberX = 16.8; chamberY = 12.0; chamberZ = 8; $fn = 50; union() { difference() { cube([chamberX, chamberY, chamberZ], center = true); cube([chamberX - wall*2, chamberY - wall*2, ...
glb/cad_82b8f6d720d6.glb
Create a Dynabar sliding hook spool by constructing a rotationally symmetrical object around a central axis. Start with a cylinder that has an outer diameter of 20mm and a total height of 13mm. Remove a concentric cylindrical core from the center with a diameter of 6.4mm. To create the spool's characteristic hourglass ...
outer_dia = 20; inner_dia = 6.4; height = 13; radius = 6; meat = 4; $fn = 50; rotate_extrude(convexity = 10) { difference() { translate([inner_dia/2,-height/2,0]) square([outer_dia/2 - inner_dia/2, height]); translate([radius + inner_dia/2 + meat,0,0]) circle(r = radius); translate([radius + inner_dia/2 + ...
glb/cad_4dd818168f3d.glb
Create a Mini Christmas Tree Stand consisting of a central core and four radiating wings. Start by constructing the core as a cylinder with a diameter of 25.4mm and a height of 30mm, centered vertically. Inside this core, create a vertical hole with a diameter of 5mm that runs through the center. To refine the top of t...
INNER_DIAMETER = 5; stand(); module stand() { union() { wings(); core(); } } module core() { difference() { difference() { union() { translate([0,0,15]) cylinder(d=25.4, h=30, center=true, $fn=50); translate([0,0,16]) cylinder(d=20, h=32, center=true, $fn=50); } t...
glb/cad_bb7f49b1cfe0.glb
Create a vertical mounting flange for a network switch. The object is composed of two perpendicular plates, each measuring 44.5mm by 44.5mm with a thickness of 3.5mm. The first plate is a square with two circular holes, each 3.5mm in diameter. Position the first hole 12mm from the side edge and 16.5mm from the front ...
RouterThickness=44.5; SideThickness=3.5; HoleSize=3.5; HoleFrontOffset=16.5; HoleSideOffset=12; HoleOffset=20; module Side() { difference() { cube(size=[RouterThickness, RouterThickness, SideThickness]); translate([HoleSideOffset,HoleFrontOffset,0]) cylinder(h=20, r=HoleSize, center=true); translate([Hole...
glb/cad_2550d76f1e5b.glb
Create a Nut Cracker consisting of four mirrored handle sections connected by joints. Each handle section is a rectangular beam 125mm long, 16mm wide, and 16mm high. The handles are hollowed out internally, leaving walls 2mm thick, with 13 internal truss elements for reinforcement. Along the inner gripping edge of eac...
gap_w = 0.6; gap_h = 0.5; handle_x = 125; handle_y = 16; handle_z = 16; handle_b = 5.5; handle_w1 = 2; handle_w2 = 1; handle_w3 = 1; handle_cut = 12; joint_r1 = 8; joint_r2 = 4; joint_a = 30; link_x = 4; link_y = 13; link_z = 7; tooth_n = 5; tooth_r = 3; tooth_s = 8; tooth_x = 9; tooth_y = 15; tooth_z = 4; truss_n = 13...
glb/cad_31c800b51608.glb
Create a Broomstick repair adapter. Start by constructing a main outer cylinder with a radius of 16.5mm and a total height of 54.5mm. This outer body is composed of two sections: a lower section 29.5mm high with a radius of 16.5mm, and an upper section 25mm high with a radius of 18.15mm. Hollow out the center of the en...
scale([1.1,1.1,1]) difference() { translate([0,0,0.3]) cylinder(r=15,h=29.5); tornillo(); } translate([0,0,29.5]) difference() { cylinder(r=16.5,h=25); cylinder(r=11.5,h=26); } module tornillo() { union() { for(i=[0:36*8]) { translate([sin(i*10)*(10.1-i/160),cos(i*10)*(10.1-i/160),i*3.31/36]) rotate ([90-5,-25,90-i*...
glb/cad_f4fbe452686a.glb
Create a stand for xkcd characters by starting with a rectangular base that is 45mm wide, 20mm long, and 2.5mm thick. Round the four corners of this base with a radius of 5mm. In the top surface of the base, create a square hole with side lengths of 2.5mm that passes completely through the thickness of the material. Po...
$fn = 180 * 1; hole_size = 2.5; base_size_x = 45; base_size_y = 20; base_size_z = 2.5; base_roundness = 5; hole_pos_x_rel = 13.5; hole_bevel_depth = 0; module roundedRect(size, radius) { x = size[0]; y = size[1]; z = size[2]; cylinder_z = 0.001; minkowski() { cube([x - radius *...
glb/cad_09484da7dd81.glb
Create a toolbelt holder consisting of a thin base plate and a vertical backsplash. Start with a rectangular base plate measuring 26mm deep, 60mm wide, and 1mm thick. Attached to the back edge of this base, add a vertical backsplash that is 1mm thick, 60mm wide, and 10mm high. On the base plate, carve out several tool...
union() { difference() { cube([1,60,10]); translate([0,17.75,5.6]) {rotate([0,90,0]) {cylinder(h=5, r=1.75);}} translate([0,51,6]) {rotate([0,90,0]) {cylinder(h=5, r=1.75);}} } difference(){ cube([26,60,1]); translate([8,2,0]) {cube([14,4,1]);} translate([4,10,0]) {cube([8,14,1]);} translate([17.5,10,0]...
glb/cad_9828bbb2414e.glb
Create a sliding bevel gauge consisting of a base and a pivoting arm. Construct the base as a rectangular block 55mm long, 10mm high, and 6mm wide. The front of the base should be rounded into a semi-cylinder with a 3mm radius. Cut a longitudinal slot through the center of the base that is 2mm wide and 10mm high, leavi...
arm_thickness = 2; arm_width = 10; base_length = 55; base_height = 10; base_thickness = 2; arm_length = (base_length + base_height) * 1.5; pivot_depth = 0.7; clearance = 0.25; $fn=40; base_width = base_thickness*2 + arm_thickness + 2*clearance; difference(){ union(){ difference(){ union()...
glb/cad_95833b4d98ce.glb
Create a Bridge test generator consisting of a flat platform supported by two rectangular blocks. Start by placing two rectangular pillars, each measuring 8mm by 25mm by 10mm, centered on the X and Y axes and positioned at opposite ends of the structure. The pillars should be spaced such that the distance between their...
width = 25; length = 80; module bridge( width = 25, length = 80 ){ height = 10; base = 8; bridge_thick = 1; length_score = 5; width_score = 1.5; magic = 0.75; cube([base,width,height],center=true); translate([length+base,0,0])cube([base,width,height],center=true); col...
glb/cad_e2d234d9c2aa.glb
Create a radial print cooling fan mount by starting with a central rectangular block measuring 27mm in length, 22mm in width, and 8mm in thickness, centered on the origin. Remove a rectangular section from the front end to create a cutout for the fan, measuring 11mm in length and 14.9mm in width, centered along the wid...
mount_length = 27; mount_width = 22; mount_thickness = 8; mount_offset = 10.5; fan_width = 14.9; fan_offset = 9; hole_radius = 4.4 / 2; $fn = 50; difference() { cube([mount_length, mount_width, mount_thickness], center = true); translate([mount_offset, 0, mount_thickness/2 - 0.5]) cube([11, fan_widt...
glb/cad_280f577412bd.glb
Create a radial print cooling fan mount. Start with a central rectangular block measuring 22mm in length, 22mm in width, and 8mm in thickness, centered on the origin. Attach a second rectangular block to the side, measuring 11mm in length, 22mm in width, and 14mm in height, positioned so its center is at x=12, y=0, and...
mount_length = 22; mount_width = 22; mount_thickness = 8; fan_width = 14.95; fan_height_off_bed = 2; hole_radius = 4.5 / 2; $fn = 50; difference() { union() { cube([mount_length, mount_width, mount_thickness], center = true); translate([mount_length/2 + 1, 0, 3]) cube([mount_leng...
glb/cad_b0be230d3751.glb
Create a blower fan duct output consisting of a rectangular base and a tapering nozzle. Start by creating a rectangular base block 12.9mm wide, 17.1mm high, and 4mm thick. Hollow out the center of this base by removing a smaller rectangular volume, leaving a wall thickness of 1.2mm on all sides. From the top of this ...
Wall = 1.2; Overall_Length = 20; Tube_Outside_Top = 10; Tube_Outside_Bottom = 2.5; Chamber_H = 17.1; Chamber_W = 12.9; Chamber_D = 4; union() { difference() { cube([Chamber_W, Chamber_H, Chamber_D], center = true); cube([Chamber_W - Wall*2, Chamber_H - Wall*2, Chamber_D], center = true); }...
glb/cad_5f99be3223f5.glb
Create a blower fan duct output consisting of a rectangular base and a tapering nozzle. Start by creating a rectangular base chamber that is 12.9mm wide, 17.1mm high, and 4mm thick. Hollow out the center of this base by removing a smaller rectangular volume, leaving a wall thickness of 1.2mm on all sides. From the to...
Wall = 1.2; Overall_Length = 20; Tube_Outside_Top = 10; Tube_Outside_Bottom = 2.5; Chamber_H = 17.1; Chamber_W = 12.9; Chamber_D = 4; union() { difference() { cube([Chamber_W, Chamber_H, Chamber_D], center = true); cube([Chamber_W - Wall*2, Chamber_H - Wall*2, Chamber_D], center = true); }...
glb/cad_fd3a534b0bbb.glb
Create a GT2 belt clip by starting with a solid cube measuring 15mm in width, 15mm in length, and 11mm in height. From this block, remove two symmetrical curved channels to create a space for two belts to sit side-by-side. Each channel should be a semi-circular path with an inner radius of 7.5mm and an outer radius of ...
include <configuration.scad>; belt_width = 6; belt_thickness = 1.0 - 0.05; belt_pitch = 2.0; tooth_radius = 0.8; clamp_width = 15; clamp_length = 15; clamp_base = 4; path_height = belt_width + 1; clamp_thickness = path_height+clamp_base; $fn = 40; clamp_inside_radius = clamp_width/2; clamp_outside_radius = clamp_i...
glb/cad_f1847d7dd638.glb
Create a Mini Kossel zprobe tool consisting of a flat base and a vertical post. Start by constructing a rectangular base 10mm wide, 45mm long, and 5mm thick. Round the two ends of this base by adding hemispheres with a 5mm radius centered at each end, creating a pill-shaped footprint. At the center of one rounded end, ...
include <configuration.scad>; r_base = 5; h_base = 5; l_tool = 45; r_tool = 3; h_tool = 45; $fn = 40; difference() { union() { cube([2*r_base, l_tool, h_base]); translate([r_base, l_tool, 0]) cylinder(r=r_base, h=h_base); translate([r_base, 0, 0]) cylinder(r=r_base, h=h_base); transla...
glb/cad_c73a2dac576c.glb
Create a Five Point 1st Layer Print Test consisting of five thin discs and two intersecting rectangular bars. Each disc must have a diameter of 20mm and a height of 0.3mm. Place one disc at the center of the coordinate system. Position the remaining four discs symmetrically around the center to form a square pattern, w...
size = 180; circle_diameter = 20; module fivePoint1stLayerPrintTest() { rsize = circle_diameter/2; xpos= size/2 - rsize; ypos = size/2 - rsize; union() { translate([-xpos,-ypos,0]){ cylinder(r=rsize, h=0.3, center = true); } translate([xpos,-ypos,0]){ cylinder(r=rsize, h=0.3, center = tru...
glb/cad_48333d5e0e19.glb
Create a Five Point 1st Layer Print Test consisting of five thin discs and two intersecting rectangular bars. Place one disc with a radius of 10mm and a height of 0.3mm at the origin. Position four additional identical discs at the corners of a square, each centered 75mm from the x and y axes (at coordinates [75, 75], ...
module PrusaPrintTest001() { xpos= 75; ypos = 75; rsize = 10; union() { translate([-xpos,-ypos,0]){ cylinder(r=rsize, h=0.3, center = true); } translate([xpos,-ypos,0]){ cylinder(r=rsize, h=0.3, center = true); } translate([-xpos,ypos,0]){ cylinder(r=rsize, h=0.3, center = true); } tr...
glb/cad_3889213e84e2.glb
Create a mini Kossl bed clip by starting with a central cylinder that has a radius of 4mm and a total height of 15.6mm, centered on the origin. Attach a rectangular lip to this cylinder; the lip should be a cube measuring 8mm wide, 8mm deep, and 4mm high, positioned so that it extends 4mm outward from the cylinder's su...
include <configuration.scad>; r_body = 4; h_body = 11.6; l_lip = 4; h_lip = 4; $fn = 40; difference() { union() { cylinder(r=r_body, h=h_body+h_lip, center=true); translate([0,r_body+l_lip/2,-h_body/2]) cube([2*r_body,2*r_body+l_lip, h_lip], center=true); }; cylinder(r=m3_wide_radius, h=h_body+h_lip, ...
glb/cad_814c3d49b85a.glb
Create a double-sided measuring cup consisting of two hollow hemispherical bowls of different sizes connected by a central handle. First, calculate the radii for the two volumes: for a volume of 810 cubic mm, the radius is approximately 5.76 mm, and for 2430 cubic mm, the radius is approximately 9.71 mm. Create two h...
pi=3.141592653*1; s2 = sqrt(2); function radius(v) = pow(3*(v)/(4*pi),1/3); v0 = 810; v1 = 2430; length = 60; t = 1.25; wallscale = 0.075; tribar = true; spatula = false; $fa=4; $fs=0.2; r0 = radius(v0*2); r1 = radius(v1*2); echo("choosen wallthickness is:",max(t,wallscale*r1)); l01 = max(length,r1/2); mod...
glb/cad_90337dd3bc29.glb
Create a Z Axis mod for a 3D printer consisting of a main bracket and a topper. For the main bracket, construct a central block with a width and height of 40mm and a thickness of 10mm. Center a cylindrical hole with a 22mm diameter through the middle to accommodate a motor. Add a vertical support extension on top of th...
$fn=50; include <config.scad> module support(){ difference(){ cylinder(r=(motor_center_dia+4)/2,h=z_smooth_holder_height-0); translate([0,0,-1])cylinder(r=(motor_center_dia)/2,h=z_smooth_holder_height+2); translate([25,25,3])rotate([90,0,0])cylinder(r=35,h=50); } } module z_axis(){ difference(){ union(){ ...
glb/cad_1bc38cd299d2.glb
Create an 8 Player Looping Louie Adapter with a total height of 11mm. Start by constructing a base composed of two main sections. The first section is a rectangular block measuring 14mm by 14mm by 11mm, positioned with its corner at [0, 1, 0]. Attached to this is a second rectangular block measuring 14mm by 9mm by 11mm...
height = 11; short_version(); module long_version(){ front_mount_part(); long_mount_part(); } module short_version(){ difference(){ union(){ front_mount_part(); short_mount_part(); } rotate([0,0,45]) translate([-4.5,-4.5,2]) cube(size=[25,1.6,11]); rotate([0,0,45]) translate([-4.5,-8.7,6]) cube(size=[2...
glb/cad_cb03cfcd3a7c.glb
Create an Umbrella Holder for balcony railings. The main body is a vertical cylinder with an outer diameter of 44.5mm (38.5mm tube diameter plus 3mm wall thickness) and a height of 50mm. This cylinder is hollowed out by a central vertical hole with a radius of 19.25mm. On one side of the cylinder, create a flat vertic...
dtube = 38.5; rtube = dtube/2; wband = 20; sbar0 = 50; shook = 4; dhook = 8; sbar = sbar0+shook; tplate = 3.0; ttubewall = 3.0; adjustgap = 4; tadjust = 5; sadjust = 16; wrim = 3; hrim = 3; $fs=0.4; $fa=5; tinset = 2; lges = dtube+2*ttubewall+2*wband+2*wrim; dscrew = 6; scrclr = 0.2; s = 10.1; diff...
glb/cad_d0933e5a8ff7.glb
Create a holder for a stick consisting of a flat rectangular base and a semi-cylindrical mounting bracket. The base plate is 1.2mm thick, 16mm high, and 21.4mm wide. Centered on this plate, create a vertical cylindrical cutout with a diameter of 3mm that passes through the thickness of the plate. Attached to the base ...
depth = 1.2; offset = 10; height = 100; plateHeight = 16; diam = 7.5; diamOtv = 3; width = diam + depth * 2 + offset*2; $fn=50; *translate([depth + diam / 2,0,depth] ) color("green")cylinder(height,d=diam,false); difference() { union(){ translate([0,-width/2]) cube([depth,width,plateHeight]); translat...
glb/cad_158f005bf02f.glb
Create a solid thumbnut with a total height of 7mm and an overall diameter of 16mm. The main body consists of a central cylinder with a diameter of 12.5mm and a height of 3.5mm, topped by a second cylinder with a diameter of 12.5mm and a height of 3.5mm. Around the perimeter of the base 3.5mm section, create 15 evenl...
Thumbnut_Diameter = 16; Thumbnut_Height = 7; Knurling_Thickness = 3.5; Knurls = 15; Hole_Diameter = 3.5; $fs = 0.3; $fn = 0; $fa = 0.01; Padding = 0.01; difference() { union () { translate([0,0,Knurling_Thickness-Padding]) cylinder (h = Thumbnut_Height-Knurling_Thickness, r = (Thumbnut_Diameter-Knurling_T...
glb/cad_f03cefe6d5a1.glb
Create a Ram Mount Phone clip assembly consisting of two intersecting perpendicular clips. First, create a horizontal clip. Start with a rectangular block 76.7mm wide, 17.1mm deep, and 25mm high. Remove a central volume of 68.7mm by 9.1mm by 133.9mm to create a slot for the phone. Add a back plate to this clip that i...
part = "both"; iphone_tweaks = 1; flex_ridges = 1; phone_width = 68.7; phone_height = 133.9; phone_depth = 9.1; clip_thickness = 4; clip_width = 25; grip_width = 3; cross_grips = 0; cross_offset = -10; cross_side = 1; cross_tolerance = 0.5; bolt_spacing = 48; bolt_diameter = 4.8; head_diameter = 10; bol...
glb/cad_1be1f9468178.glb
Create a hollow cylindrical pipe for a Reprap Morgan with a total length of 459mm. The main body of the pipe should have an outer diameter of 32mm and an inner diameter of 27mm, using a 50-facet resolution for the circular cross-sections. This main hollow section extends from the base to a height of 229.5mm. Atop this ...
difference(){ cylinder(r=32/2,h=459/2,$fn=50); cylinder(r=27/2,h=459/2,$fn=50); } translate([0,0,459/2]) difference(){ cylinder(r=27/2+(32/2-27/2)/2,h=20.4,$fn=50); cylinder(r=27/2,h=459/2,$fn=50); }
glb/cad_bea4795041d6.glb
Create a hollow cylindrical pipe for a Reprap Morgan printer. The pipe should have an outer diameter of 32mm and an inner diameter of 27mm, resulting in a wall thickness of 2.5mm. The total length of the cylinder is 459mm. Ensure the geometry is perfectly circular with a high facet resolution to maintain a smooth surfa...
mirror([0,0,1]) difference(){ difference(){ cylinder(r=32/2,h=459/2,$fn=500); cylinder(r=27/2,h=459/2,$fn=500); } cylinder(r=32/2-(32/2-27/2)/2,h=20.4,$fn=500); }
glb/cad_a230f6b57d0a.glb
Create a sitting alien pilot figure. Start with a head made from a sphere with a radius of 5mm, scaled to 75% along the Y-axis. Carve two small, slanted oval eyes into the face, each 2mm in radius and scaled to 25% height, and a small, flat oval mouth 2.5mm in radius and 25% height, positioned 4.5mm below the center of...
$fn = 48; module half_sphere(rad) { difference() { sphere(rad); translate([-rad,-rad,-rad]) cube([rad*2,rad*2,rad]); } } module quarter_sphere(rad) { difference() { sphere(rad); translate([-rad,-rad,-rad]) cube([rad*2,rad*2,rad]); translate([-rad,-rad,0]) cube([rad,rad*2,rad]); } } module eye(rad...
glb/cad_f0ec9e4486f4.glb
Create a Thing-O-Matic Foot by starting with a solid cube that is 18mm wide, 18mm deep, and 18mm tall. From this cube, remove a smaller central cube measuring 13.6mm on each side, positioned 4mm from the bottom and 4mm from the two outer side walls, to create a thick-walled hollow shell. To create the mounting channe...
channel=5.6; depth=10; thickness=4; overall=((depth*2)+thickness); module foot(center){ if(center==true){ translate([(overall*-0.5),(overall*-0.5),0]) difference(){ cube([overall,overall,overall]); translate([((thickness*2)+channel),((thickness*2)+channel),thickness]) cube([overall,overall,overall]); ...
glb/cad_7e28848f79b9.glb
Create a Thing-O-Matic Foot by starting with a solid cube that is 18mm on all sides. From this cube, remove a smaller cube from the center to create a hollowed-out interior, leaving a wall thickness of 4mm on the bottom and sides. To create the mounting channels for the laser-cut panels, remove two perpendicular rect...
channel=5.6; depth=10; thickness=4; overall=((depth*2)+thickness); module foot(center){ if(center==true){ translate([(overall*-0.5),(overall*-0.5),0]) difference(){ cube([overall,overall,overall]); translate([((thickness*2)+channel),((thickness*2)+channel),thickness]) cube([overall,overall,overall]); ...
glb/cad_6fa70947f0d7.glb
Create a Thing-O-Matic Foot by starting with a solid cube that is 25mm wide, 25mm long, and 17.7mm high. At a height of 12.7mm from the base, carve out a channel to hold a panel. This channel should be 5.6mm wide and 5mm deep, leaving 4mm thick walls on the sides. To create the holder, remove a central square section...
Type = "ToM"; Number = 4; Hollow = true; Center = true; Base = 25; Board = 12.7; Mounted = false; Depth = 5; Channel = 5.6; Thickness = 4; Pegs = false; height = Board + Depth; minimum = ( ( Thickness * 3 ) + ( Channel * 2 ) ); maxrows = ( ( ( Base - minimum ) / ( Thickness + Channel ) ) + 1 ); module Cak...
glb/cad_8ca387bfbc42.glb
Create a power supply cover with a main rectangular box and two mounting plates. The main box has an interior width of 100mm, a height of 29mm (calculated as 33mm minus two 2mm wall thicknesses), and a depth of 45mm. The walls are 2.5mm thick with rounded exterior corners. On the front face of the box, center a rectan...
psWidth=100; psHeight=33; psBoxDepth=45; thickness=2.5; euroConnWidth=27.5; euroConnHeight=20; euroConnHolesDistance=39; euroConnHoleDiameter=3.5; euroConnOffset=25; outputHoleDiameter=16; outputHoleOffset=-30; leftMountHoles=[[25,6.5]]; rightMountHoles=[[25,6.5], [25,15.5]]; mountHoleDiameter=4.8; module...
glb/cad_9fbabe5b7bb2.glb
Create a Luxo lamp desk clamp consisting of a main body and a vertical pin. Start by creating a central vertical pin with a radius of 6.75mm and a height of 45mm. Build the clamp body around this pin using three main sections. The top brace is a rectangular block 50mm wide, 47mm deep, and 15mm high, with a central cu...
pin_radius = 13.5/2; pin_height = 45; desk_thickness = 22; screw_radius = 5.8/2; screw_height = 14.2; module luxopin() { cylinder( h=pin_height+10, r=pin_radius, center=true, $fn=100); } module trim() { difference() { cube( [100, 20, 20], center = true); translate( [ 0, -10, -10 ] ) difference() { translat...
glb/cad_32a01126d469.glb
Create a Tree Design Spinning Ring consisting of two concentric rings: an inner ring and an outer ring. Use a high facet resolution of 180 for all circular profiles. The inner ring is a revolved polygon with a height of 9mm. Its profile starts at a thickness of 0.8mm, increases to 1.4mm to form a bearing seat, and the...
ring_size = 10; number_of_trees = 5; parts_to_print = 0; ring_height = 9; tree_height = 6; ring_diameter = 0; thinnest_layer = 0.8; bearing_intrusion = 0.6; bearing_gap = 0.4; resolution = 180; inner_diameter = ring_diameter ? ring_diameter : 11.63 + 0.8128*ring_size; echo(inner_diameter=inner_diameter); rin...
glb/cad_e5935c32741c.glb
Create an Avocado Sprouter consisting of a central ring with three radiating support arms. Start by creating a solid cylinder with a radius of 25mm and a height of 7mm. Remove a spherical void from the center of this cylinder using a sphere with a radius of 22.5mm, centered such that the sphere's center is 17mm above t...
translate([0, 0, 7]) rotate([180, 0, 0]) union() { difference() { cylinder(r=25, h=7); translate([0, 0, 17]) sphere(r=45 / 2, $fn=100); } for (i=[0:2]) { rotate([0, 0, i*120]) { translate([24, -5, 0]) difference() { cube([26, 10, 7]); translate([34, 12.5, -73]) rotate([90, 0, 0]) cylinder(r=8...
glb/cad_237d381a11fd.glb
Create a fan duct and sensor mount for an E3Dv6 hot end. Start with a main body consisting of an octagonal prism (8-facet cylinder) with a radius of 22mm and a height of 39mm. Integrate a rectangular mounting plate measuring 60mm by 35mm with a thickness of 5.8mm. Center a vertical cylindrical hole with a radius of 6....
include <configuration.scad>; barrel_radius = 11; barrel_height = 26.2; groove_radius = 6.0 + 0.1; groove_height = 6.0 - 0.2; main_height = 39.0; fanVoffset=0; extraHeight=0; fan_offset = 18; nozzleHeight=59; mount_plate_length=60; mount_plate_width=35; mount_plate_hole_diameter=4.4; mount_plate_hole_spacing=50; I...
glb/cad_7217e5c5b405.glb
Create a fan duct and sensor mount for an E3Dv6 hot end. Start with a main body consisting of an octagonal cylinder with a radius of 22mm and a height of 39mm. Integrate a central rectangular block measuring 63mm by 36mm with a height of 6mm to serve as the mounting base. Create a central vertical passage through the ...
include <configuration.scad>; barrel_radius = 11; barrel_height = 26.2; main_height = 39.0; groove_radius = 6.0 + 0.1; groove_height = 6.0 - 0.2; ring_radius = 8; mount_plate_length=63; mount_plate_width=36; mount_plate_hole_diameter=4.4; mount_plate_hole_spacing=50; fanVoffset=0; fan_offset = 18; nozzleHeight=58.1...
glb/cad_3d3256c3360e.glb