Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a spacer by designing a hollow cylinder with an outer radius of 12.5mm and a height of 18mm. Bore a concentric hole through the center of the cylinder with a radius of 4.5mm, extending through the entire 18mm height. Ensure the circular profiles are smooth with high facet resolution. Produce four identical copie...
$fn = 100; module Karosseriehalter(){ union(){ translate ([0,30,-18]) difference (){ cylinder (r=12.5, h=18, center=false); cylinder (r=4.5, h=18, center=false); }}; union(){ translate ([30,0,-18]) difference (){ cylinder (r=12.5, h=18, center=false); ...
glb/cad_3b194b709b0c.glb
Create an Encouragement Egg for chickens by constructing a solid of revolution. Generate a profile curve that defines the egg's silhouette, starting from a wide base and tapering smoothly to a rounded top. Rotate this profile 360 degrees around the central vertical axis to create a smooth, egg-shaped shell. To ensure t...
union(){ PolyShell(); cylinder(r1=8.25,r2=14.25,h=6); } %translate([0,8,0]) rotate([45,0,0]) cube(size=[5,50,1],center=true); module PolyShell() rotate_extrude() scale([25.4/90, -25.4/90, 1]) translate([36.460424,-99.356850,0]) polygon([[-36.460424,-99.356850],[-32.769134,-99.193296],[-29.122081,-98.709679],[-25....
glb/cad_93470f12aafa.glb
Create a customizable screw spacer ring by constructing a main cylinder with a radius of 6mm and a total height of 2mm, using a 30-facet resolution. Remove a central core to create two concentric holes. First, create a narrow hole through the entire height of the object with a radius of 2.5mm. Second, create a wider re...
$fn = 30; HOLE_R = 2.5; OUTER_R = 6; INNER_R = 5; BASE_HEIGHT = 1; TOTAL_HEIGHT = 2; difference() { cylinder(r=OUTER_R, h=TOTAL_HEIGHT); translate([0,0,BASE_HEIGHT]) cylinder(r=INNER_R, h=100); translate([0,0,-1]) cylinder(r=HOLE_R, h=100); }
glb/cad_d2d216cdc25e.glb
Create a "Cats Fed" day marker. Start with a rectangular base measuring 210mm in length, 35mm in width, and 10mm in height. Along the top surface of this base, create seven evenly spaced square compartments. Each compartment should be a hollow cutout measuring 25mm by 25mm with a depth of 25mm, separated by walls 5mm t...
include <bitmap.scad> box_size=25; space=5; totalWidth = 0; chars = ["C","A","T","S", " ","F","E","D"]; days=["M","T","W","T","F","S","S"]; char_count = 8; block_size = 3; height = 3; rotate(a=[90,0,0]){ for(x=[0:6]){ translate(v=[x * (box_size + space),0,0]){ difference(){ cube(size=[box_size+space+space...
glb/cad_6baa59f10860.glb
Create a Japica Printrbot Base by starting with a rectangular block measuring 200mm in length, 20mm in width, and 10mm in height. Remove two vertical cylindrical holes, each with a radius of 4mm and a height of 11mm, with the first centered at coordinates (70, 9) and the second at (130, 9). Additionally, remove a recta...
difference() { cube([200,20,10]); translate([70,9,-0.5]) cylinder(r=4,h=11,$fn=32); translate([130,9,-0.5]) cylinder(r=4,h=11,$fn=32); translate([89,-0.1,5]) cube([22,15,6]); }
glb/cad_713c534b2d04.glb
Create a Mini Fala Extruder drive block. Start with a main body consisting of a central block measuring 38mm x 50mm x 16mm. Attach a rectangular base section measuring 24mm x 14.5mm x 19mm to the bottom left and a secondary rectangular section measuring 43mm x 17mm x 12mm to the bottom left side. On the right side, ad...
use <library.scad>; use <gears.scad>; include <config.scad> a_mods=true; drive_offset_y=15; full_block=true; $fn=64; filament_d=3.15+0.4; filament_offset_x=(5/2+filament_d/2+1.5); echo(filament_offset_x); bite=-3.0; da8=sqrt(2+sqrt(2))/4; echo(da8); withSupport = true; mirror([1,0,0]) drive_block(); module drive_...
glb/cad_7938a0b45d29.glb
Create a Mini Fala Extruder mount by starting with a base formed from the union of two blocks: a central rectangular prism measuring 55mm by 53mm by 9mm, and a second prism measuring 73mm by 25mm by 9mm rotated 25 degrees along the Z-axis and positioned at X-12.5, Y-30, Z4.5. From this combined mass, remove a central r...
difference(){ union(){ translate([0,0,4.5]) cube([55,53,9],center=true); translate([-12.5,-30,4.5]) rotate([0,0,25]) cube([73,25,9],center=true); } translate([-62.5,-60,0]) cube([35,50,16]); rotate([0,0,1]) translate([0,0,8]) cube([42.3,42.3,16],center=true); rotate([0,90,0]) translate([-4.5,10,20....
glb/cad_b3443ee80c5b.glb
Create a Mini Fala Extruder consisting of two interlocking gears. First, construct a large gear with 59 teeth, a circular pitch of 150mm, a pressure angle of 28 degrees, and a thickness of 0.01mm. This gear is integrated into a wheel assembly: create a base cylinder with a radius of 27mm and a height of 7mm, and a cent...
include <parametric_involute_gear_v5.0.scad> $fn=128; rotate([180,0,0]) translate([0,0,-7]) translate([0,50,0]) large_gear(); small_gear(); module small_gear(){ translate ([0,0,0]) difference(){ gear ( number_of_teeth=13, circular_pitch=150, diametral_pitch=false, pressure_angle=28, clearance = 0.2, gear_...
glb/cad_85d3736433e4.glb
Create a Duplo Train for Wood Tracks base. Start with a central rectangular body measuring 31.75mm wide, 63.75mm long, and 20mm high. On the top surface, add a 2x4 grid of studs compatible with Duplo blocks; each stud is a cylinder with an outer diameter of 9.35mm and a height of 4.5mm, featuring a concentric inner hol...
sf = 1.0; module duplo_nipple(outer = 9.35, inner = 6.93, height = 4.5) { difference() { cylinder(height*sf,outer*sf/2,outer*sf/2,center=true); cylinder(height*sf+1,inner*sf/2,inner*sf/2,center=true); } } module duplo_top(x = 2, y = 4, spacing = 16.0, parimeter = 3.2+9.35/2, height = 4.5, thickness = 2)...
glb/cad_8c404b9fd0c6.glb
Create a Compact Geared Extruder consisting of a motor mount, a drive gear assembly, and an idle gear assembly. Start with a base plate that includes a central filament guide hole with a 2mm radius and four mounting holes (two at x=0, y=±25mm and two at x=±34.6mm, y=±6mm) with 2mm radii. Build a motor mount using a c...
$fn=36; m3_nut_d = 5.5 + 0.5; m3_nut_h = 2.4 + 0.6; m4_nut_d = 7 + 0.5; m4_nut_h = 3.2 + 0.3; m8_nut_d = 13 + 0.5; low_warp = 0; include <parametric_involute_gear_v5.0.scad> include <m_cap.scad> inf=1000; eps=0.001; module carriage() { translate([0,0,-7]) difference() { union() { translate([-17,0,0]) cube(siz...
glb/cad_44477c600faf.glb
Create a 3D model of the EasyShelves Hex connector. The object is a structural joint designed to hold six wooden boards. Start by creating a central hexagonal core with a width of 24mm (based on a 12mm wood thickness plus two 6mm walls). From this center, extend six identical brackets radiating outwards at 60-degree i...
depth=50; wood_thickness=12; wall_thickness=5; front_side_length=35; foot_height = 38; fillet_size = 0.5; number_of_screws = 1; screw_diameter = 4; interior_screws = "no"; exterior_screws = "no"; part = "6boards"; hCube = wood_thickness+2*wall_thickness; squareFeet=(min(front_side_length,depth))*2/3; decal...
glb/cad_98e53b2a56dd.glb
Create a Mr-Jay-Sphere by starting with a central cube that is 34mm on each side, centered at the origin. Remove a sphere with a radius of 24mm from the center of this cube. Rotate the entire resulting assembly by 10 degrees on the X-axis, -10 degrees on the Y-axis, and 196 degrees on the Z-axis. Add two eye assemblie...
rotate([10,-10,196]) { difference() { color([ 0/255, 160/255, 0/255 ]) cube(34, center=true); color([ 250/255, 200/255, 200/255 ]) sphere(24); } translate([8,21,4]) { color([ 120/255, 128/255, 255/255 ]) rotate(a=[-33,48,32]) { cylinder(h=2,r=4,$fn=36); } color([ 60/25...
glb/cad_2b2f4a2b3af2.glb
Create a city map model based on a grid of small cubes. Start by creating a flat, square base plate measuring 140mm by 140mm with a thickness of 2mm, centered at the origin. On top of this base, populate a 128 by 128 grid of cells. For every active coordinate defined in the map data, place one or more small cubes mea...
$fn=16; mode=1; color([1,1,1]) translate([130/2-2,-130/2+2,-2]) cube([140,140,2], center=true); module block(x,y,z) { translate([x,y,z]) { if( mode==0) cube([.9,.9,.9]); if( mode==1) cube([1.05,1.05,1.05], center=true); if( mode == 2) differen...
glb/cad_6d2abf9e4e77.glb
Create a Lint Roller Spool Holder consisting of a hollow rectangular base and a cylindrical mounting adapter. Start with a main body that is 20mm wide, 87mm long, and 22.5mm high, with wall thicknesses of 1mm. Hollow out the center of this body, leaving a 3mm border around the edges. On the top surface, center a cylin...
wallThickness=1; border=3; screwHoleLong=18.5; screwHoleShort=13.5; screwHoleDistance=81; screwHoleSize=3; handleWidth=16; spoolDiameter=36; spoolAdapterDiameter=spoolDiameter+(wallThickness*2); spoolAdapterHeight=10; guideWidth=10; guideHeight=10; guideMountHeight=guideHeight+(wallThickness*2); guideMountLength=10...
glb/cad_e5e1e70158cb.glb
Create a Printrbot Plus V2.1 X-axis Spreader bracket. The main body is a cylinder with an outer diameter of 14mm and a height of 22mm. Hollow out the center with a 12mm diameter hole to a depth of 20mm to create a shroud. Cut a 2mm wide longitudinal slot through the shroud and the outer wall to allow for clamping. On ...
fudge=0.1; shaftdia=12+2*fudge; shroudh=20; shroudt=1; shroudcap=2; slotwidth=2; clampbasis=2; clampwidth=slotwidth+2*clampbasis; clamphex=(7.8+3*fudge); clampscrewdia=(3.4+2*fudge); clampscrewheaddia=6.5; clampsize=clamphex+2; clampnutthick=3; hexsize=9.47+3*fudge; hexfitw=4; hexlen=10; hexcap=2; module hexagon(si...
glb/cad_b7b9d0b92811.glb
Create a Tau Link Module JR case. The main body is a rectangular shell with a height of 22mm. The outer footprint is defined by four corner cylinders with a radius of 2mm, connected by a hull. Inside this shell, remove a central rectangular volume of 50mm by 37.5mm by 23mm. Additionally, create two vertical rectangul...
zero_x = 59.5; zero_y = 44.5; pin1_x = zero_x-4; pin1_y = zero_y-6; hole1_x = -(24.507-3.9116)+pin1_x; hole1_y = -(27.9146-27.051)+pin1_y; hole2_x = -(24.507-3.9116)+pin1_x; hole2_y = -(27.9146-2.26118)+pin1_y; hole3_x = -(45.669-3.9116)+pin1_x; hole3_y = -(27.9146-2.26118)+pin1_y; antenna_x = -(44.3992-3.9116)+pi...
glb/cad_fd45ad98be97.glb
Create a fan bracket designed to hold a 20mm thick fan. Start by creating a central vertical cylinder with a radius of 7.5mm and a total height of 16mm. At the base of this cylinder, integrate a wider cylindrical section that extends 8mm downwards to act as a mounting plug. From the top of the assembly, remove a cent...
hole_radius = 7.5; hole_depth = 8; tube_height = 16; fan_thickness = 20; fan_corner_height = 16; holder_width = fan_thickness + 6; smoothness = 64; rim_width = 4; fudge = 8; hole_offset = 7; intersection() { difference() { union() { cylinder( tube_height, hole_radius, hole_radius, $fn=smoothness ); translate([0...
glb/cad_96648bff15d4.glb
Create a 10mm LED holder consisting of a circular ring attached to a rectangular base. Start by creating a hollow cylinder with an outer radius of 7mm, an inner radius of 5.5mm, and a height of 5mm. Attach this ring to a vertical rectangular block that is 4mm wide, 10mm deep, and 20mm tall. Position the block so it is ...
union() { difference() { cylinder(h = 5, r1 = 7, r2 = 7, center = false, $fn=50); translate([0,0,-1]) cylinder(h = 10, r1 = 5.5, r2 = 5.5, center = false); } difference() { translate([4.9,-5,-15]) cube([4,10,20]); translate([4,0,-10]) rotate([0,90,0]) cylinder(h=5,r1=2.5,r2=2.5,$fn=20); } translate([4...
glb/cad_4bc3a643e277.glb
Create a 10mm LED holder by combining a ring, a rectangular base, and a screw mount. Start with a ring that has an outer radius of 7mm, an inner radius of 5.5mm, and a height of 5mm. Attached to the side of this ring, create a rectangular base measuring 15mm in length, 10mm in width, and 5mm in height. Within this rect...
union() { difference() { cylinder(h = 5, r1 = 7, r2 = 7, center = false, $fn=50); translate([0,0,-1]) cylinder(h = 10, r1 = 5.5, r2 = 5.5, center = false); } translate([4.9,-5,-6]) cube([4,10,11]); difference() { translate([5,-5,0]) cube([15,10,5]); translate([15,0,-1]) rotate([0,0,0]) cylinder(h=8,r1=...
glb/cad_85e2c94e019c.glb
Create a RepRapPro Mendel Fan Bracket consisting of a central T-shaped base and two symmetrical side wings. Start with a central rectangular base measuring 38mm wide, 12mm deep, and 3mm thick. At the center of this base, add a vertical rectangular pillar measuring 6mm wide, 10mm deep, and 3mm thick, extending upwards t...
difference(){ union(){ translate([0,0,1.5]) cube([38,12,3],center=true); translate([0,9,1.5]) cube([6,10,3],center=true); translate([0,9,17]) cube([2.5,10,30],center=true); translate([-1.25,9,32]) rotate([0,90,0]) cylinder(r=10/2,h=2.5,$fn=40); } translate([-14,2,-.5]) cylinder(r=3.2/2,h=4,$fn=40); translate([-14,-...
glb/cad_edef40f856a7.glb
Create a RepRapPro Mendel Fan Bracket by starting with a rectangular base plate measuring 82mm wide, 47mm deep, and 4mm thick. At each of the four corners, add a cylindrical pillar with a radius of 3.5mm and a height of 3mm extending upward from the base. Drill a vertical hole through the center of each of these four p...
difference(){ union(){ translate([4.1,15.3,4]) cylinder(r=7/2,h=3,$fn=70); translate([4.1,43.5,4]) cylinder(r=7/2,h=3,$fn=70); translate([78,15.3,4]) cylinder(r=7/2,h=3,$fn=70); translate([78,43.5,4]) cylinder(r=7/2,h=3,$fn=70); cube([82,47,4]); } translate([4.1,15.3,-1]) cylinder(r=3.5/2,h=10,$fn=70); translate([4.1,...
glb/cad_3937e83e1923.glb
Create a ring by starting with a sphere of radius 5mm, scaled by factors of 1 along the X-axis, 2.1 along the Y-axis, and 2.8 along the Z-axis, and positioned 3mm up along the Z-axis. From this scaled ellipsoid, remove a rectangular block measuring 10mm by 50mm by 20mm, centered at X=0, Y=0, and Z=9mm. Additionally, re...
module neu(scale1,scale2,scale3,radius) { difference() { translate([0,0,3]) rotate([0,0,0]) scale([scale1,scale2,scale3]) sphere(r=radius); translate([-5,-25,9]) rotate([0,0,0]) cube([10,50,20]...
glb/cad_f181ee4e865a.glb
Create a Bread Cutter consisting of a circular outer ring and an internal star-shaped punch. Start by constructing a hollow cylindrical ring with an outer radius of 52.5mm, an inner radius of 47.5mm, and a height of 2mm, centered on the origin. Inside this ring, create a five-pointed star profile. The star's vertices s...
br=25; sr=50; pts=5; sdr=8; ph=10; pbw=2; sw=5; ch=2; xw=0.8; module connect(p1,p2){ translate((p1+p2)/2) rotate([-acos((p2[2]-p1[2]) / norm(p1-p2)),180, -atan2(p2[0]-p1[0],p2[1]-p1[1])]) linear_extrude(height=norm(p1-p2), center=true) polygon(points=[[-pbw/2,0],[0,ph],[pbw/2,0]]); } functio...
glb/cad_e8d61fadfafb.glb
Create a filament extruder direct coupler by constructing a tiered cylindrical body with a central hollow bore. Start with a base cylinder 16mm in diameter and 10mm high. On top of this, add a conical transition section 5mm high that expands from a 16mm diameter at the bottom to a 20mm diameter at the top. Cap this wit...
w=10; $fn=64; difference() { union() { cylinder(d=6+w, h=10); translate([0,0,10]) cylinder(d1=6+w, d=10+w, h=5); translate([0,0,10+5]) cylinder(d=10+w, h=10); } cylinder(d=6, h=10+1); translate([0,0,10]) cylinder(d1=6, d=10, h=5); translate([0,0,...
glb/cad_a352dbb64203.glb
Create a customizable bolt handle by combining a cylindrical grip and a hexagonal base. Start with a main cylindrical handle that has a diameter of 25mm and a height of 5mm. Around the outer perimeter of this cylinder, add 12 evenly spaced, rounded grip protrusions with a radius of 2mm. At the center of the handle, c...
WrenchSize=10.2; HandleH=5; InnerH=10; HandleD=25; HoleD=6.5; NutH=4; DecoR=2; DecoN=12; DecoOS=0; DecoSu=0; module Handle1(D,H,dr,dn,dos,ds){ minkowski(){ difference(){ cylinder(r=D/2-ds, h=H); for (a = [0:360/dn:360]){ rotate([0,0,a]) translate([-(D-ds)/2-dos,0,-0.5]) cylinder(...
glb/cad_18b5d13de03d.glb
Create a simple holder by starting with a vertical cylinder that has an outer radius of 12mm and a height of 25mm. Remove a smaller concentric cylinder from the center with a radius of 10mm and a height of 27mm to create a hollow tube. Attached to this tube, create a flat rectangular extension that is 25mm high and 4mm...
boltA=30; boltB=50; boltm=5; bdia=3.5; wi=25; thi=4; shidia=20; wl=2; difference(){ union(){ cylinder(r=shidia/2+wl,h=wi); hull(){ translate([0,(shidia-thi+wl*2)/2,0]) cylinder(r=thi/2,h=wi); translate([boltB+boltm,(shidia-thi+wl*2)/2,0]) cylinder(r=thi/2,h=wi); } } translate([0,0,-1]) cylinder(r=shidia/2,h=wi+2); ...
glb/cad_978bdd95df96.glb
Create a rotary handle by starting with a central rectangular body 54mm long, 16mm wide, and 16mm high, centered on the origin. Attach two cylinders to the ends of this body along the x-axis; each cylinder must have a height of 16mm and a radius of 8mm, centered so the total length of the object reaches 70mm. From th...
handle_l = 70; handle_w = 16; handle_h = 16; radius_axis = 8.5/2; radius_screw = 2; radius_screw_cap = 4; nut_w = 7; nut_th = 3.5; nut_off = 8; end_cut_l = 11; end_cut_l2 = 11; off = 3; thk = 3; $fn = 50; difference() { union() { cube(size=[handle_l-handle_w, handle_w, handle_h], center=true); transl...
glb/cad_d928cb1818c6.glb
Create a wall support for an alarm or lamp arm. Start by creating a rectangular backplate that is 8mm thick, 70mm wide, and 60mm high. Center four cylindrical screw holes through this plate, each with a diameter of 4mm; position these holes 28mm from the center along the width and 23mm from the center along the height....
hole_size = 6; support_size = 15; holes_distance = 140; a_length = 150; a_width = 15; a_height = 5; space_support = 13; diff = holes_distance-a_legth/2.0; translate([0,0,space_support/2.0-a_height/2.0]) first_support(); translate([0,0,-a_height/2.0-space_support/2.0]) first_support(); difference() { cube([8, 70, 6...
glb/cad_d16c40dcd615.glb
Create a Reset Tool for Mikrotik Routers consisting of five identical pins aligned in a row with 5mm spacing between each. For each individual pin, construct a base rectangular block measuring 3mm wide, 15mm long, and 3mm high. Attached to the front of this base, add a thinner rectangular probe measuring 1.2mm wide, 10...
$fn=32; module resetpin() { difference() { union() { translate([-0.6,0,0]) cube([1.2,10,3]); translate([-1.5,-15,0]) cube([3,15,3]); } for(x = [0 : 5]) { translate([-1.5, -15 + 3*x, -0.1]) cylinder(3.2,0.5,0.5); translate([1.5, -15 + 3*x, -0.1]) cylinder(3.2,0.5,0.5); } } }...
glb/cad_b4259e26c351.glb
Create a fastener bolt with a hexagonal head and a threaded shank. Start by creating a hexagonal head with a height of 6.35mm (0.25 inches). From the center of this head, extend a cylindrical shank with a total length of 38.1mm (1.5 inches) and a diameter of 22.86mm (0.9 inches). The shank consists of two parts: a ...
printCal= 0.95; size=25.4 ; enablethread=1; ShankBoltLenght=1.5; ShankThreadLength= 1 ; DiameterBolt= 0.9; HeadDiamter=1; ThreadPitch=8 ; HeadShape=6 ; scalethreads=1.7 ; CarriageBoltType= 0; radiusboltbase = HeadDiamter * 0.5; boltbottomhieght= 0.25; boltsizebase= DiameterBolt * 0.5; boltlength= ShankBoltLenght; bol...
glb/cad_6b43a156978c.glb
Create a bolt and nut set using the following geometric specifications. For the bolt, create a hexagonal head with a diameter of 1mm and a height of 0.25mm. From the center of this head, extend a cylindrical shank with a diameter of 0.9mm and a total length of 1.5mm. The shank should be partially threaded for 1mm of ...
zerocal= 3.5 ; leftcal= 20 ; zerocalnut= 7.0; leftcalnut= -10; threadoffsetnut= 25 ; %cube( size=[100,50, 0.1],center=true); printCal= 0.95; size=25.4 ; enablethread=1; ShankBoltLenght=1.5; ShankThreadLength= 1 ; DiameterBolt= 0.9; HeadDiamter=1; ThreadPitch=8 ; HeadShape=6 ; scalethreads=1.7 ; CarriageBoltType= 0; ...
glb/cad_324e9a9f95e9.glb
Create a bolt and nut set. For the bolt, start with a hexagonal head with a diameter of 1mm and a height of 0.25mm. From the center of this head, extend a cylindrical shank with a diameter of 0.9mm and a total length of 1.5mm. Create a threaded section on the shank that extends 1mm down from the top. The threads should...
zerocal= 3.5 ; leftcal= 20 ; zerocalnut= 6.5; leftcalnut= -10; threadoffsetnut= 25 ; %cube( size=[100,50, 0.1],center=true); printCal= 0.95; size=25.4 ; enablethread=1; ShankBoltLenght=1.5; ShankThreadLength= 1 ; DiameterBolt= 0.9; HeadDiamter=1; ThreadPitch=8 ; HeadShape=6 ; scalethreads=1.7 ; CarriageBoltType= 0; ...
glb/cad_40fcab3d7fcd.glb
Create a Corsair Vengeance 2000 hinge replacement part. The main body is a curved, wedge-like component with a total width of 39.5mm. Construct the primary structure by creating a curved profile that transitions from a wider base to a narrower top. The overall height of the part is approximately 39.5mm. On the outer ...
PI= 3.14159265359; WIDTH=19.75*2; $fn=100; translate([0,0,12]) rotate([0,-90,0]) translate([-90,0,0]) rotate([0,0,-30]) difference(){ union(){ difference(){ union(){ rotate_extrude($fn=200) translate([-92,0,0]) rotate([0,0,90]) { krum(); translate([WIDTH,0,0]) mirror([1,0,0]) krum(); } } union(){ t...
glb/cad_37e0902262db.glb
Create a customized name tag keychain. Start by creating a base rectangular bar with a thickness of 3mm. The bar should have rounded ends and a total width of 5mm. At the left end of the bar, integrate a lug for a keyring by creating a circular hole with a diameter of 3.5mm, centered within a small rounded protrusion t...
text=""; font_name="Lobster"; bar_vertical_shift=0; text_horizontal_shift=0; bar_width=5; bar_length_trim=0; font_style="bold"; font_size=12; font_spacing=0; font_weight=0; font_outline_style="chamfer"; font_outline=0.5; font_catch_diacritical_sign_strategy="bar and glyphs"; font_catch_diacritical_sign=25; lug_s...
glb/cad_07b1a6c90ae4.glb
Create a vertical wind mill turbine. Start with a circular platform 80mm in diameter and 2mm thick. Centered on this platform, place a vertical cylindrical pole with a radius of 3mm and a total height of 52mm. At the base of the pole, create a cylindrical hub with a radius of 20mm and a height of 10mm. Within this hu...
platform_h = 2; platform_r = 40; wing_no = 3; wing_h = 50; wing_r = 20; wing_th = 1; radius_axis = 1; pole_r = 3; radius_screw = 2; radius_screw_cap = 4; nut_w = 7; nut_th = 3.5; nut_off = 7; cap_off = 11; base_h = 10; base_r = 20; $fn = 50; module wing() { translate([platform_r-wing_r,0,0]) difference() ...
glb/cad_81fd109dda59.glb
Create a vertical wind mill turbine. Start with a circular platform 80mm in diameter and 2mm thick. At the center of this platform, create a vertical cylindrical base 20mm in radius and 10mm high. Within this central base, remove a vertical cylindrical hole with a 2mm radius to accommodate an axis. Additionally, remo...
platform_h = 2; platform_r = 40; wing_no = 2; wing_h = 50; wing_r = 25; wing_th = 1; radius_axis = 1; pole_r = 3; pole_h = platform_h; radius_screw = 2; radius_screw_cap = 4; nut_w = 7; nut_th = 3.5; nut_off = 7; cap_off = 11; base_h = 10; base_r = 20; $fn = 50; module wing() { translate([platform_r-wing_r,0...
glb/cad_1b335a75ccb0.glb
Create a Single-Bay ATSC Digital HD TV Antenna consisting of three main support assemblies: a wire block, a wire lock, and a mast block. First, create the wire block as a hull of two cylinders with a radius of 25mm and a height of 10mm, spaced 44.48mm apart. Subtract two vertical holes for cap screws (3mm diameter) an...
OUTPUT = 0; long_scr_d = 5.25; long_scr_head_d = 9; cap_scr_d = 3; basenut_d = 11.3; msize = 0; wire_d = 2.8 /2; wire_adj = 0.5; transwire_diam = 3; cyl_rad = 50 / 2; cyl_h = 10; lock_h = 4; block_wid = 20 ; block_h = 30 ; block_len = 80; mast_d = 38 /2; mount_height = 200; use <Write.scad>; union() { if...
glb/cad_dc4ab6facefd.glb
Create a 6-32 unthreaded nut by designing a hexagonal prism with a height of 2.6mm and a diameter of 8.8mm. Center a cylindrical hole through the entire height of the prism with a diameter of 2.9mm. Ensure the hexagonal outer shape is defined by six flat sides and the inner hole is a smooth circle.
difference(){ cylinder(h=2.6,d=8.8,$fn=6); cylinder(h=2.6,d=2.9,$fn=48); }
glb/cad_3bb3a9a1bfe5.glb
Create a 3D model of a rectangular base plate with a grid of tapered pins extending upwards. The base plate should be a rectangular slab measuring 36mm in width, 20mm in depth, and 1mm in height. On top of this base, arrange a grid of tapered pins. The grid consists of 5 columns (spaced 4mm apart) and 9 rows (spaced ...
rotation = 45; invert="NO"; values = 2; value = [0,1]; rows = 4 + 0; columns = 8 + 0; red_data_points = [ [241,233,245,225,242,245,248,243 ] ,[225,209,230,193,222,245,242,234 ] ,[232,239,226,231,211,232,227,231 ] ,[245,243,240,246,226,245,236,237 ] ]; green_data_points = [ [240,231,243,224,241,245,247,242 ] ,[223,...
glb/cad_db1bfdff491b.glb
Create a 3D relief model of the "I Love NY" graphic based on a grid of height-mapped data. Start with a rectangular base plate measuring 36mm by 36mm with a thickness of 1mm. On top of this base, construct an 8x8 grid of tapered prisms. Each prism is positioned at 4mm intervals. The prisms have a triangular cross-sec...
rotation = 45; invert="NO"; values = 2; value = [0,0.50]; rows = 8 + 0; columns = 8 + 0; red_data_points = [ [147,147,147,146,154,163,164,148 ] ,[147,147,146,148,172,212,203,168 ] ,[146,149,154,156,198,205,206,183 ] ,[154,172,189,188,191,205,190,169 ] ,[163,199,190,213,196,160,150,145 ] ,[178,214,200,213,195,152,145...
glb/cad_04578655e2a0.glb
Create an Enhanced Game Card Holder consisting of a base plate and surrounding walls. Start with a central base plate measuring 62mm by 88mm with a thickness of 3mm. Construct four outer walls with a height of 12mm and a thickness of 3mm. Two long walls should run parallel to the 88mm side, and two shorter walls shou...
card_x = 54; card_y = 80; show_logo = "yes"; connectors = "both"; card_space = 2; wall_thickness = 3; plate_height = 3; wall_height = 12; shortwall_cut = card_x/(card_y/card_x); shortwall = (card_x-shortwall_cut)/2+wall_thickness+card_space/2; female_con_x = 10+1-1; female_con_y1 = 21+1-2; female_con_y2 = 12.5+1-1...
glb/cad_3aed8b56beb6.glb
Create a Banana Plug Mount by starting with a base plate 7mm thick. The main body is formed by the convex hull of two circles, each with a radius of 6.12mm, positioned at x = -3.825mm and x = 3.825mm on the Z=0 plane. From this base, remove two vertical cylindrical holes with a radius of 4.075mm, centered at x = -11.47...
tol=0.3; d0=7.65; d1=3*d0; difference(){ linear_extrude(height=7) difference(){ union(){ hull(){ for(i=[-1,1]) translate([i*d1/3/2,0,0]) circle(r=d1*.8); } } for(i=[-1,1]) { translate([i*d0*1.5,0,0]) circle(r=d0/2+tol); } } for(i=[-1,1]) { translate([i*d0*2.3,0,3]) # cylinder(r=d1*0.7,h=6); ...
glb/cad_0b609a2e8a09.glb
Create a bottom corner joint for a delta printer designed to connect 20mm x 40mm extrusions. Start with a main body that is 20mm thick. The core shape is a rounded, truncated equilateral triangle that integrates a central vertical socket and two angled arm sockets. The vertical socket is a rectangular cutout measuring...
include <MCAD/units/metric.scad> include <MCAD/motors/stepper.scad> use <MCAD/shapes/boxes.scad> use <MCAD/shapes/polyhole.scad> tslot_profile = 20; tslot_width = 40; tslot_thickness = 20; tslot_slot_width = 5; tslot_separation = 2; min_wall_thickness = 5; motor = Nema17; motor_width = motorWidth (motor); arm_leng...
glb/cad_e881a76823d3.glb
Create a 2040 Kossel corner, which consists of a bottom corner and a top corner designed to join 20mm x 40mm extrusions in a delta printer configuration. For the bottom corner, create a base block with a height of 40mm. The main body is a rounded trapezoidal shape that accommodates a Nema 17 stepper motor. Cut a centr...
include <MCAD/units/metric.scad> include <MCAD/motors/stepper.scad> include <MCAD/fasteners/nuts_and_bolts.scad> use <MCAD/shapes/boxes.scad> use <MCAD/shapes/polyhole.scad> hextrusion_length = 270; vextrusion_length = 600; tslot_profile = 20; tslot_width = 40; tslot_thickness = 20; tslot_slot_width = 5; min_wall_th...
glb/cad_f184ff697817.glb
Create a rectangular case for a Samsung GTI9000 phone. Start with a solid rectangular block measuring 20mm in width, 35mm in length, and 6mm in height, centered on the origin. From this main body, remove three smaller rectangular volumes to create a hollowed-out interior. First, center a rectangular cutout measuring 9m...
difference(){ cube(size=[20,35,6], center = true); union() #translate(v=[0,7,0]) cube(size=[9,14.5,7], center = true); translate(v=[0,-6,0]) cube(size=[2.45,12.1,7], center = true); #translate(v=[0,-6,2]) cube(size=[9,12.1,7], center = true); }
glb/cad_48c3f23fde49.glb
Create a customized font keychain featuring the text "Alex Brush" in a bold, script-style font. The model consists of three layered geometric components: a base bar, an outline, and the raised text. First, create a base bar with a thickness of 3mm. This bar should be a rounded rectangle that extends slightly beyond th...
part="Alex_Brush"; fonts=[["ABeeZee","ABeeZee"],["Abel","Abel"],["Abril_Fatface","Abril Fatface"],["Aclonica","Aclonica"],["Acme","Acme"],["Actor","Actor"],["Adamina","Adamina"],["Advent_Pro","Advent Pro"],["Aguafina_Script","Aguafina Script"],["Akronim","Akronim"],["Aladin","Aladin"],["Aldrich","Aldrich"],["Alef","Al...
glb/cad_ac1ae63b4ece.glb
Create a proximity sensor mount with a total height of 9.4mm and a base thickness of 4mm. Start with a rectangular block 4mm wide and 9.4mm high, extending its length to 38.1mm. At the end of this block, center a cylindrical housing with an outer diameter of 20.2mm and the same 9.4mm height. Bore a hole through the cen...
height = 9.4; thickness = 4; screws_spacing = 25; screws_diameter = 3; sensor_diameter = 12.2; sensor_spacing = 3; mount_start = thickness+sensor_spacing+screws_spacing+screws_diameter; $fn=50; difference() { cube([thickness, mount_start+thickness+sensor_diameter/2, height]); translate([-0.5, thickness+thickness...
glb/cad_1dfb1d135835.glb
Create a "What the Cluck?" station. Start by constructing the main station body: a central volume consisting of a cube 85mm wide by 44mm deep by 35mm high, merged with a cylinder of 42.5mm radius and 35mm height. From this volume, remove a large rectangular block from the bottom and front to create a recessed interior,...
station_y = 88; station_x=85; panel_angle = 15; panel_rise = 15; station_h=35; mainboard_y=77; c = 0.02; bolt_d=3.5; bolt_r =bolt_d/2; bolt_margin=2; bolt_length = 60; pins_x=10; pins_z=3; station(); module chickenlight() { difference() { cylinder(r=80, h=15); translate([-55,-70,-0.5]) scale([40,35,1]) linear...
glb/cad_09b26f1d765c.glb
Create a Handcuff Key consisting of a long cylindrical shaft and a decorative handle. Start with a main shaft that is 30mm long with a radius of 1.75mm. At the top of this shaft, add a spherical cap with a radius of 1.5mm. Below the shaft, create a cylindrical handle with a radius of 3mm and a height of 20mm. At the ve...
translate([0,0,29.5]) rotate([180,0,0]) handcuffkey(); module handcuffkey() { difference() { union() { cylinder(r=1.75, h=30,center=true,$fn=32); translate([0,2.45,-14.35]) cube([.7,2,1.3],center=true); translate([0,2.45,-12.75]) cube([.7,2,1.3],center=true); translate([0,0,5]) cylinder(r=3, h=...
glb/cad_84e6d6c5f433.glb
Create a Control Horn by starting with a central rectangular base measuring 30mm by 10mm with a thickness of 1.5mm. Add a second rectangular strip measuring 30mm by 1.5mm by 5mm, centered along the length and positioned 3.25mm above the base. From this combined structure, remove several geometric sections to create t...
difference() { union() { cube([30,10,1.5],center=true); translate([0,3.25,3.25]) cube([30,1.5,5], center=true); translate([7,6,0]) { union() { rotate([0,0,-30]) cylinder(r=2,h=1.5,center=true,$fn=3); translate([2,0,0]) rotate([0,0,-30]) cylinder(r=2,h=1.5,center=true,$fn=3); ...
glb/cad_01ef0382df38.glb
Create a Garage Ventilation Grill with an overall diameter of 96mm and a total height of 13mm. Start by constructing a base ring with a wall thickness of 4mm and a height of 9mm. On top of this base, add a rounded torus-like rim with a radius of 4mm, centered on the top edge of the wall. To create the ventilation mesh...
z=13; zr=4; d=96; w=4; support=false; difference(){ union(){ base_ring(); rounded_ring(); mesh(); } differ_ring(); } if (support==true) { translate([0,0,0]){ #rotate_extrude($fn=32) translate([d/2+w-0.5, 0, 0]) square([0.3,8.9]); ...
glb/cad_8686a1a7d0cd.glb
Create a landing gear mount by starting with a central rectangular base measuring 60mm in length, 20mm in width, and 3mm in height, centered on the origin. From this base, remove a series of rectangular cutouts to reduce weight. First, remove a large rectangular section measuring 70mm by 20mm by 3mm, rotated 9 degrees ...
difference() { union() { cube([60,20,3],center=true); } union() { rotate([0,0,9]) translate([0,17,0]) cube([70,20,3],center=true); translate([30,5,0]) cube(3,center=true); translate([30,-5,0]) cube(3,center=true); translate([16,5,0]) cube(3,center=true); translate([16,-5,0]) cube...
glb/cad_f48a0f6ecd81.glb
Create a bangle by constructing a flat, ring-shaped base and decorating its outer edge with a series of spheres. Start by creating a hollow cylinder with a height of 10mm, an outer radius of 80mm, and an inner radius of 70mm, centered on the origin. Around the perimeter of this ring, place 20 spheres, each with a radiu...
for (i = [0:19]){ if(i%2==0) color("Peru")rotate([0,0,i*360/20])translate([-50,72,0])sphere(13); else color("BurlyWood")rotate([0,0,i*360/20])translate([-50,72,0])sphere(13); } difference() { color("Black")cylinder(h = 10, r = 80, center = true); color("Black")cylinder(30, r = 70, center = true); ...
glb/cad_be51ee4086b5.glb
Create a cabinet foot by forming a base from two intersecting rectangular prisms: one measuring 30mm by 16mm by 10mm and another measuring 16mm by 30mm by 10mm, both starting from the same origin point to create an L-shaped footprint with a height of 10mm. Centered at the coordinates 8mm, 8mm, remove a series of coaxia...
$fa=0.5; $fs=0.5; module body(){ union(){ cube(size=[30,16,10], center=false); cube(size=[16,30,10], center=false); } } difference(){ body(); translate ([8,8,-1]) cylinder (h=7, d=3.3, center=false); translate ([8,8,5.99]) cylinder (h=2.01, d1=3.3, d2=6.9, center=false); translate ([8,8,7.99]) cylinder (h=5...
glb/cad_cc7ba93c33e7.glb
Create a Waste Pipe Cap consisting of a base and a hollow tapered upper section. Start with a solid flat cylinder for the base, 58mm in diameter and 5mm in height. Centered on top of this base, add a conical section that transitions from a bottom diameter of 48mm to a top diameter of 40mm over a height of 5mm. Above th...
cylinder(h=5, d=58, center=true, $fn=64); translate([0,0,5]) difference() { cylinder(h=5, d1=48, d2=40, center=true, $fn=64); translate([0,0,2.55]) rotate_extrude(convexity, $fn=64 ) translate([25,0,0]) circle(d=10.5, $fn = 64); } translate ([0,0,17.5]) difference() { cylinder(h=30, d1=40.5, d...
glb/cad_cec5a84bc2ed.glb
Create a hot end extender consisting of a central cylindrical body with a longitudinal bore of 2.25mm diameter running through its center. The main body is composed of three stacked cylindrical sections: a top section 4mm high with a radius of 8mm, a middle section 5.5mm high with a radius of 6mm, and a bottom section ...
mounttoph=4; mountmidh=5.5; mountboth=5; mounth=mounttoph+mountmidh+mountboth; cylindermin=12/2; cylindermax=16/2; bore=4.5/2; bowdencarveout=8/2; bowdencarveouth=3; fudge=0.1; collarw=cylindermax+2; transitionh=3; screwheaddepth=3; screwhead=4.5/2; screwdiaclear=2.8/2; screwdiathread=2.4/2; $fn=50; module mount...
glb/cad_918899614916.glb
Create a TriCopter frame by starting with a central main board composed of two intersecting rectangular plates: one measuring 40mm x 140mm x 5mm and another measuring 100mm x 100mm x 5mm, positioned to create a T-shaped base. From this base, remove several geometric sections to shape the frame. Carve out two cylinder...
difference() { union() { cube([40,140,5],center=true); translate([0,20,0]) cube([100,100,5],center=true); } union() { translate([27.5,-26,0]) cylinder(r=7.5,h=7,center=true); translate([-27.5,-26,0]) cylinder(r=7.5,h=7,center=true); translate([25,-50,0]) cube([10,50,7],center=true); t...
glb/cad_b8ec820179fd.glb
Create a shower shampoo tray designed to hook onto a pole. The main body is a rectangular tray extending 100mm from the pole center with a base depth of 52mm and a thickness of 2.5mm. The tray features 10 equidistant slots created by removing cylindrical and rectangular sections to form a ribbed support structure. The ...
bottleBaseDepth = 52; trayThickness = 2.5; trayTipToPoleCentre = 100; numTraySlots = 10; traySupportWallThickness = 1; traySupportWallThickness2 = 2; traySupportMinHeight = 4; traySupportMaxHeight = 20; hangerDiam = 42.5; hangerRadialWidth = 10; hangerWallThickness = 2.5; hangerDepth = 38; spokeDepth = 5; numSpokes = ...
glb/cad_6c562e0816cb.glb
Create a Desk Ornament pencil holder by constructing a hollow tetrahedron where each of the four faces is replaced by a complex geometric motif. The overall structure is based on a tetrahedron with a scale factor that positions the face centers on a sphere with a radius of 19.4mm. For each face, create a pattern compo...
l3 = 35; w3 = 5; h3 = 5; l6 = 20; w6 = 5; h6 = 5; l12 = 26; w12 = 5; h12 = 5; mark = 12; if (mark==3) rotate([180,0,0]) rotate([0,atan(sqrt(2)),0]) union() { decorations_03( 0.0000000, 0.8164966,-0.5773503,1,12.5); decorations_02( -0.8164966, 0.00...
glb/cad_f9c7153786f1.glb
Create a Kossel Mini E3D Effector. Start with a central cylinder of radius 17mm and height 5.5mm, centered on the Z-axis. Subtract a smaller concentric cylinder from the bottom with a radius of 8.2mm and a height of 5.5mm to create a central mounting hole. Add three symmetrical arms extending from the center, spaced 1...
include <configuration.scad>; use <./threadsNew.scad> separation = 40; offset = 20; mount_radius = 12.5; hotend_radius = 8.2; push_fit_height = 4; height = 5.5; cone_r1 = 2.5; cone_r2 = 14; e = 0.01; module effector() { difference() { union() { cylinder(r=offset-3, h=height, center=true, $fn=128); ...
glb/cad_a8471568a05f.glb
Create a pole hanger consisting of a support base and a bracket. First, construct the support base as a trapezoidal prism with a thickness of 5mm. The base should have a height of 75mm, with a bottom width of 40mm and a top width of 30mm. Attached to the top of this support is a rectangular bracket. The bracket has...
wall_thickness=5; polehanger_distance_from_top=50; pole_radius = 10; polehanger_height=70; polehanger_depth=30; polehanger_solid_part_bottom=10; wood_thickness=12; depth=50; number_of_screws = 2; screw_diameter = 4; top_screws = "no"; inner_screws= "yes"; hCube = wood_thickness+2*wall_thickness; polehanger...
glb/cad_821e43b4001c.glb
Create an EasyShelves wall mount bracket. Start by creating a main support piece in the shape of a trapezoidal prism with a height of 60mm, a base width of 60mm, a top width of 40mm, and a thickness of 5mm. Attached to this support, create a rectangular bracket block with a depth of 50mm and a total height of 22mm (c...
wall_thickness=5; support_height=60; support_width_top=60; support_width_bottom=40; wood_thickness=12; depth=50; number_of_screws = 2; bracket_screw_diameter = 4; top_screws = "no"; inner_screws= "yes"; support_screw_position = 0; support_screw_diameter = 6; countersunk_height = 3; hCube = wood_thickness+2...
glb/cad_a1e013f1963d.glb
Create a customizable belt gear for a stepper motor. Start with a central cylindrical body that has a total height of 6mm and a radius of 6.37mm. This main body is flanked by two thin discs, each 2mm thick, positioned at the top and bottom; the bottom disc has a radius of 8.37mm, while the top disc has a radius of 6.37...
tb=1; tn=20; b=6; hd=5; u=2*tb*tn; r=u/PI/2; a=360/tn; $fn=64; difference() { union() { cylinder(2.01,r+2.0,r); translate([0,0,2]) difference() { cylinder(b,r,r); for (x = [0 : tn-1]) { rotate([0,0,x*a]) translate([r-tb,-tb/2,-0.1]) cube([tb*2,tb,b+0.2]); } } tran...
glb/cad_aa31e150b476.glb
Create a Foam Dart Pistol consisting of three main components: a frame, a sear, and a trigger. First, construct the frame. Create a main barrel body with an internal cylindrical bore of 15.8mm diameter (to accommodate a 7.9mm radius dart) and a total length of approximately 120mm. The frame should include a grip secti...
dart_len=75; dart_rad=7.9; barrel_wall=6; vane_notch=barrel_wall-1; barrel_dia=dart_rad*2+6; barrel_base=6; follower_len=28; nozzle_len=32; barrel_length=dart_len+follower_len+barrel_base+15; follower_vane_across=barrel_dia+2*barrel_wall; follower_vane_width=5; follower_vane_len=follower_len-9; sear_tip_ht=3+barrel_wa...
glb/cad_47a7f457bc0e.glb
Create a Pinewood Derby Wheel by constructing a composite circular body. Start with a main wheel shape formed by rotating a profile around a central axis to create a torus-like outer rim with a radius of 11mm and a cross-sectional radius of 5.5mm. The overall height of the wheel is approximately 7.78mm. Fill the cent...
fn = 64; r = 5.5; h = sqrt(pow(r, 2) + pow(r, 2)); echo(h); difference(){ union(){ rotate_extrude(convexity=10, $fn=fn) translate([11, h / 2, 0]) rotate([0, 0, 90]) union(){ difference(){ circle(r); square(h, true); transl...
glb/cad_f6146d8e2cec.glb
Create a miniature Burma-Shave road sign display consisting of six sequential rectangular plaques and a supporting base. Each of the first five plaques is a red rectangular block measuring 58mm wide, 17.5mm deep, and 3.5mm thick. Position these five plaques in a row, spaced 20.5mm apart from center to center along th...
part="Preview"; line1 = "DON'T PASS CARS"; line2 = "ON CURVE OR HILL"; line3 = "IF THE COPS"; line4 = "DON'T GET YOU"; line5 = "MORTICIANS WILL"; print_part(); module print_part() { if (part == "Preview") { preview(); } else if (part == "Extruder1") { extruder1(); } else if (part == "Extruder2") { extruder2...
glb/cad_b35fa7895e06.glb
Create a board marker by constructing a main body and a cap. For the body, create a tapered cylinder with a base radius of 10mm, a top radius of 9mm, and a height of 70mm. Top this cylinder with a sphere of radius 9mm centered at the top face. For the cap, create a separate tapered cylinder with a base radius of 10mm,...
$fa=0.5; $fs=0.5; cylinder(r1=10, r2=9, h=70); translate([0,0,70]) sphere(r=9); translate([0,0,72]) cylinder(r=7, h=10); module cylindercap() { translate([30,0,0]) { cylinder(r1=10, r2=9, h=16); translate([0,0,16]) sphere(r=9); } } module flatcap() { translate([60,0,0]) cylinder(r1=10, r2=9, h=16, $fn=...
glb/cad_2d99729a8d39.glb
Create a forced air vent deflector shaped as a quarter-circle ring with a thickness of 10mm. Start by constructing a large outer cylinder with a radius of 80mm and a height of 10mm. From this, remove a concentric inner cylinder with a radius of 75mm and a height exceeding 10mm to create a curved wall. To form the quart...
a=80; b=10; s=5; t=1; x=4.5; y=5; z=8; $fn=100; difference(){ difference(){ union(){ cube([a,s,b]); rotate([0,0,90])translate([0,-s,0])cube([a,s,b]); difference(){ cylinder(r=a, h=b); cylinder(r=a-s, h=b+1); } difference(){ cylinder(r=a-s-t, h=b); cylinder(r=a-s-t-s, h=b+1); } } translate([0,-a-.1,-.5])cube([a,a,b+...
glb/cad_dd1cde92bdde.glb
Create a replacement car for The Game of Life. Start with a main rectangular body measuring 27.5mm in length, 13.3mm in width, and 8.2mm in height. Carve out a large central cavity from the top, leaving a base and walls, and refine the front and rear sections with angled cuts to create a streamlined profile. At the rea...
$fn=30; module hole() { rotate([0, 0, 90]) cylinder(r=1.15, r2=1.3, h=3); } module row() { translate([12.5, 4, 4.4]) hole(); translate([16.5, 4, 4.4]) hole(); translate([20.5, 4, 4.4]) hole(); } module spoiler() { translate([18, 0, 5.6]) rotate([0, -10, 0]) cube([10, 1, 2.2]); } difference() { cube([27.5, 13....
glb/cad_eac8dd17930a.glb
Create a phone case by first constructing a solid rectangular block with rounded corners. The main body should be formed by the convex hull of four cylinders, each with a radius of 3mm and a height of 2mm, positioned at the corners of a 22mm by 12mm rectangle. From this volume, remove a smaller interior rectangular sec...
difference() { difference() { hull() { translate([-32,-31,-32])cylinder(r=3,h=2); translate([-8,-31,-32])cylinder(r=3,h=2); translate([-32,-19,-32])cylinder(r=3,h=2); translate([-8,-19,-32])cylinder(r=3,h=2); } hull() { translate([-30,-30,-36])cylinder(r=3,h=5); translate([-10,-30,-36])c...
glb/cad_760a5537d9b3.glb
Create a Ring Box by constructing a hollow spherical shell with an outer radius of 20mm and an inner radius of 18mm. Cut a square opening into the top of this shell using a centered cube with side lengths of 40mm and a height of 40mm, positioned 10mm above the center. Insert a vertical cylinder with a radius of 7mm a...
color([.2,0.8,0.1]) translate([0,1,-20]) cylinder(r= 7, center= true); difference(){ color([.2,0.8,0.1]) sphere(r=20); color([.2,0.8,0.1]) sphere(r=18); color([.2,0.8,0.1]) translate([0,0,10]) cube(size = [40,40,40], center = true); }; translate([0,0,-15]){ rotate([0,-120,0]){ color([.1,0.1,0.1]) translate([0,1,-20]) ...
glb/cad_ebf84749837b.glb
Create a D-ring with a cross-sectional thickness of 5mm. The main body is a flat, closed loop with an inner width and height of 76.2mm. The shape is defined by two straight parallel sides and two semi-circular ends. The straight sections are connected by four rounded corners, each with an inner radius of 10mm. The enti...
size = 3 * 25.4; thickness = 5; corner = 10; intersection() { linear_extrude(height = thickness, convexity = 2) square(size + thickness * 2, center = true); translate([0, 0, thickness / 2 * sin(45)]) { translate([-thickness / 2 - corner, 0, 0]) rotate([90, 0, 0]) cylinder(r = thickness / 2, h = size - corner * 2, ...
glb/cad_014c562d44eb.glb
Create a disposal plunger by constructing a series of stacked, coaxial geometric volumes. Start with a base frustum 50mm high, tapering from a 40mm diameter at the bottom to a 60mm diameter at the top. Directly on top of this, add a second frustum 20mm high that continues to taper outward from 60mm to a 100mm diameter....
facets = 250; cylinder(h = 50, d1=40, d2=60, $fn=facets); translate([0,0,50]) {; cylinder(h=20, d1=60, d2=100, $fn=facets); translate([0,0,20]) { cylinder(h=7, d=100, $fn=facets); } } translate([0,0,77]) { cylinder(h=8, d1=60, d2=35, $fn=facets); translate([0,0,8]) { ...
glb/cad_92e0b82bfc69.glb
Create a disposal plunger by stacking three primary geometric sections vertically. Start with a base frustum 50mm in height, tapering from a bottom diameter of 40mm to a top diameter of 60mm. Directly on top of this base, add a second frustum 20mm in height that continues to taper outward from a 60mm bottom diameter to...
cylinder(h = 50, d1=40, d2=60); translate([0,0,50]) {; cylinder(h=20, d1=60, d2=100); translate([0,0,20]) { cylinder(h=7, d=100); } } translate([0,0,77]) { cylinder(h=8, d1=60, d2=35); translate([0,0,8]) { cylinder(h=50, d=35); } }
glb/cad_a2dcc48dabda.glb
Create a parameterized coin cell battery holder. Start with a solid rectangular block with a total width of 26mm, a height of 23mm, and a length calculated as 6mm plus the sum of 7 cell thicknesses (3.2mm each) and 6 inter-slot walls (1.75mm each), totaling 44.35mm. Carve out 7 identical slots for the batteries. Each ...
num_cells = 7; inter_walls = 1.75; cell_thick = 3.2; cell_round = 20; radial_gap = 1; end_walls = 3; include <MCAD/units.scad> module coin_cell_slot(diameter, thickness, offset_x) { hull() { cylinder(d=diameter, h=thickness); translate([offset_x,0,0])cylinder(d=diameter, h=thickness); } } module cell_arra...
glb/cad_efc20e155932.glb
Create a Dodge Neon shifter handle consisting of two separate cylindrical components. First, create a hollow ring with an outer diameter of 20mm and a height of 15mm, featuring a centered vertical hole with a diameter of 14mm that passes completely through the part. Second, create a solid cylindrical peg with a diamete...
peg_diameter = 7.5; peg_height = 11.0; hole_diameter = 14.0; handle_height = 80.0; nob_height = 40.0; nob_diameter_top = 35.0; nob_diameter_bottom = 20.0; nob_top_thickness = 5.0; peg_radius = peg_diameter / 2.0; hole_radius = hole_diameter / 2.0; nob_radius_top = nob_diameter_top / 2.0; nob...
glb/cad_971c2a6695bb.glb
Create a shifter handle for a vehicle. Start by constructing a main cylindrical body with a radius of 10mm and a total height of 120mm. On top of this cylinder, add a truncated cone (frustum) that is 40mm tall, tapering from a base radius of 10mm up to a top radius of 17.5mm. Create a central vertical hole through th...
peg_diameter = 7.5; peg_height = 11.0; hole_diameter = 14.0; handle_height = 120.0; nob_height = 40.0; nob_diameter_top = 35.0; nob_diameter_bottom = 20.0; nob_top_thickness = 5.0; text_size = 8.0; text_depth = 3.0; text_font = "Arial:style=Bold"; peg_radius ...
glb/cad_979a2f76d655.glb
Create a seesaw mechanical toy consisting of a balanced plank and a central support base. First, construct the plank as a rectangular slab 90mm long, 20mm wide, and 3mm thick. At the exact center of the plank, create a vertical hole 6mm in diameter that passes completely through the 3mm thickness. For the support base...
sw=20; sl=90; st=3; xw=0.4; color("blue") difference(){ rotate([0,0,sin($t*360)*15]) cube([sl,st,sw], center=true); for(i=[-1,1]){ translate([0,0,i*(sw-st)/2]) difference(){ cylinder(r=(st+xw)*2,h=st+xw*3, center=true, $fn=20); cylinder(r=(st-xw)*2-st,h=st+xw*4, center=true, $fn=20); } } } color("green"...
glb/cad_b9254fbe14c4.glb
Create a seesaw mechanical toy. Start by constructing a central rectangular beam that is 90mm long, 20mm wide, and 3mm thick. At the exact center of this beam, create a vertical support pillar that is 20mm wide and 3mm thick, extending downwards. To allow the beam to pivot, remove a cylindrical hole from the center o...
sw=20; sl=90; st=3; xw=0.4; rotate([0,0,180]){ difference(){ linear_extrude(height=sw, center=true) polygon([[-sw/2,-sw/2],[-st/2,-st],[-st,st*1.5],[st,st*1.5],[st/2,-st],[sw/2,-sw/2]]); rotate([0,90,0]) linear_extrude(height=sl, center=true) polygon([[0,-sw/2+st*2],[-sw/2,st*2],[sw/2,st*2]]); translate(...
glb/cad_bacb2af7781a.glb
Create a seesaw mechanical toy consisting of a central support base and a pivoting plank. First, construct the base as a vertical rectangular block with a width of 20mm, a height of 20mm, and a thickness of 3mm. Within this base, create a central vertical void that is 3mm wide and 12mm high to allow for the pivot. At t...
sw=20; sl=90; st=3; xw=0.4; rotate([0,0,180]){ difference(){ linear_extrude(height=sw, center=true) polygon([[-sw/2,-sw/2],[-st,-st],[-st,st*3],[st,st*3],[st,-st],[sw/2,-sw/2]]); cube([st*2+xw,st*4,(st+xw)*2], center=true); } translate([0,st/2,0]) { difference(){ cube([sl,st,sw], center=true); for(...
glb/cad_0f8c501da372.glb
Create a miniature swing set consisting of two A-frame supports and a connecting horizontal crossbar. For each A-frame, create two angled legs. Each leg is formed by a rectangular profile 142mm long, 15mm wide, and 5mm thick. The legs should be positioned to angle inward and meet at the top. At the top of each A-fram...
module columpio(){ module barra(){ difference(){ cube(size = [142,15,5], center = true); translate([71,-7.5,-7.5]) rotate(30,[0,0,1]) cube(size = [30,30,30]); translate([-83,-32,-7.5]) rotate(30,[0,0,1]) cub...
glb/cad_956b6a177315.glb
Create a customized keychain featuring the text "Qwigley" in a bold, script-style font. The model consists of three layered geometric components: a base bar, a text outline, and the raised text itself. First, create the base bar as a rounded rectangular slab with a thickness of 3mm. On the left end of this bar, integr...
text=""; font_name="Lobster"; bar_vertical_shift=0; text_horizontal_shift=0; bar_width=5; bar_length_trim=0; frame_width=0.0; font_style="bold"; font_size=12; font_spacing=0; font_weight=0; font_outline_style="chamfer"; font_outline_width=0.5; font_catch_diacritical_sign_strategy="bar and glyphs"; font_catch_dia...
glb/cad_63bffdd7b284.glb
Create a Vostok spacecraft model by assembling several geometric components along a central vertical axis. Start with a base consisting of a 10-sided prism that tapers from a diameter of 10mm at the bottom to 56mm at the top over a height of 25mm. Directly above this, place a cylinder with a height of 23mm that tapers ...
$fn=50; translate([0, 0, -25]) cylinder(25, d1=10, d2=56, $fn=10); cylinder(23, d1=55, d2=30); translate([0, 0, 40]){ difference(){ sphere(d=50); rotate(a=50, v=[1,0,0]){ translate([0, 0, 20]) cylinder(10, 12, 12); } rotate(a=180, v=[0,0,1]) rotate(a=90, v=[1,0,0]){ ...
glb/cad_fc13820afd7a.glb
Create a parametric buckle by starting with a base elliptical disk that is 35mm wide, 21mm deep, and 3mm thick. Cut two identical rectangular slots through the entire thickness of the disk to allow a strap to pass through. Each slot must be 21.5mm long and 3.5mm wide. Position the slots symmetrically along the depth ax...
$fs=0.35; $fa=1; tol = 0.01; ox = 35/2; oy = 21/2; sloty = 3.5; slotx = 21.5; yoff = (oy-sloty*2)/3; thick = 3; difference() { scale([ox/oy,1,1]) cylinder(r=oy, h=thick); translate([ -(ox-slotx/2)*1.5,-yoff*1.5-sloty,-tol]){ cube([slotx,sloty,thick+tol*2]); translate([0,sloty+yoff*3.2]) cube([slo...
glb/cad_1cdd68ce977a.glb
Create a HifiBerry DAC Case by constructing a flat plate with a thickness of 2.98mm. The overall footprint is a complex polygon with rounded corners and specific cutouts to accommodate a Raspberry Pi and its breakout board. Start with a base plate that follows the outer perimeter of the device. Within this plate, crea...
fudge = 0.1; module case_1(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-43.246644,-171.316430],[-72.717344,-171.306430],[-74.417920,-170.988105],[-75.956806,-170.069534],[-77.078111,-168.564820],[-77.525944,-166.488070],[-77.525944,-161.226...
glb/cad_1e87b10d17ca.glb
Create a HifiBerry DAC Case by constructing a flat plate with a thickness of 2.98mm. The main body is a rectangular slab with rounded corners, measuring approximately 239.46mm by 147.38mm. From this base, remove several geometric sections to create functional openings. First, cut a large rectangular central void to a...
fudge = 0.1; module case_4(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[101.635450,-87.483230],[97.077434,-86.955975],[94.887176,-86.271251],[92.801250,-85.304392],[90.853530,-84.054346],[89.077891,-82.520059],[87.508206,-80.700478],[86.1783...
glb/cad_850fa36fcfed.glb
Create a HifiBerry DAC Case by extruding a specific 2D profile to a height of 2.98mm. The base shape is a symmetrical, complex polygon centered on the origin. Start with a central rectangular section measuring 199.56mm in width and 62.96mm in height. Extend this central area vertically with two larger rectangular wings...
fudge = 0.1; module case_5(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-99.751950,-151.515630],[-99.751950,-84.480460],[-108.781250,-84.480460],[-108.781250,-41.318350],[-99.740250,-41.318350],[-99.740250,41.318370],[-108.781250,41.318370],[-108.781250,84.462900],[-99....
glb/cad_15f7de5cfc9e.glb
Create a HifiBerry DAC Case by constructing a flat plate with a thickness of 2.98mm. The overall outer boundary is a complex polygon approximately 88mm by 68mm. From this solid plate, remove several internal sections to create openings. First, carve out a large central rectangular area approximately 68mm by 43mm. Wit...
fudge = 0.1; module case_2(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[43.246839,-171.316230],[39.452908,-170.961131],[35.836818,-169.928617],[32.492473,-168.254365],[29.513776,-165.974050],[26.994632,-163.123349],[25.028943,-159.737938],[2...
glb/cad_08b9795c795d.glb
Create a HifiBerry DAC Case plate with a thickness of 2.98mm. The overall footprint is a rectangle approximately 174.37mm by 174.37mm. From this solid plate, remove several geometric cutouts to create the following features: 1. A large central organic-shaped void consisting of several interconnected rounded sections ...
fudge = 0.1; module case_6(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-85.507815,-174.373140],[-85.507815,-174.369140],[-86.650718,-174.234856],[-88.048686,-173.688813],[-89.379343,-172.617698],[-90.320315,-170.908200],[-90.320315,-161.601...
glb/cad_6ff07c9297e4.glb
Create a car key case by designing two mirrored symmetrical halves. For each half, start with a base shape extruded from the "sleutelkop.dxf" profile to a height of approximately 1.43mm (6 layers of 0.238125mm). Within this base, carve out a recessed cavity using the "sleutel.dxf" profile, which should be extruded to a...
LAYER_H = 0.238125; SLEUTEL_H2=4*LAYER_H; module side(sleutel_h) { difference() { translate([-160,64,0]) mirror([0,1,0]) minkowski() { linear_extrude(file="sleutelkop.dxf", height=sleutel_h+SLEUTEL_H2); cylinder(0.01,r=0.5); } translate([-9,-0.5,0]) ...
glb/cad_44a65f69123f.glb
Create a cube trisection puzzle consisting of three identical interlocking pieces. Each piece is defined by the intersection of a 50mm cube, centered at the origin and rotated by 45 degrees on the X-axis, an angle of atan(1/sqrt(2)) on the Y-axis, and 30 degrees on the Z-axis, and a twisted linear extrusion. The extr...
edge = 50; twist_angle = 330; epsilon = 0.4; angle = atan(1/sqrt(2)); diag = edge*sqrt(3); d = diag/2; module piece(){ intersection(){ rotate ([45,angle,30])cube( [edge,edge,edge],center = true); translate([0, 0, -diag/2]) linear_extrude(height = diag, center = false, convexity = 10, twist = twist_angle, $f...
glb/cad_809a5cc42845.glb
Create a hammer-style T-nut for a 2020 aluminum profile. The overall body is a cylinder with a height of 5.75mm and a radius of 5.75mm, though its final shape is modified by a rectangular cutout. First, create a central cylindrical core with a radius of 2.75mm and a height of 3.25mm. On top of this core, add a second...
slot_depth = 6; slot_width = 6; slot_total_width = 12; slot_bottom_width = 6; slot_lip = 2; slot_shoulder = 0.5; tol = 0.25; module rect_nut(length) { translate([0, length/2, 0]) rotate([90, 0, 0]) linear_extrude(height=length) polygon([[-slot_width/2 + tol, slot_depth - tol], [slo...
glb/cad_bcbacf720c4c.glb
Create a Customizable Spool Holder Insert consisting of two stacked cylinders with a central hole. Start by creating a base cylinder with a diameter of 80mm and a height of 4mm. Centered on top of this base, add a second cylinder with a diameter of 59mm and a height of 7.5mm. Drill a vertical cylindrical hole with a di...
inner_cylinder_height = 7.5; inner_cylinder_diameter = 59; outer_cylinder_height = 4; outer_cylinder_diameter = 80; fillet_radius = 2; axle_diameter = 9; smooth = 90; pad = 0.1; difference() { union() { translate([0,0,outer_cylinder_height]) { cylinder(d=inner_cylinder_diameter, h=inner_cylinder_hei...
glb/cad_e2428ea9d9e3.glb
Create a printer bed glass sheet holder. The base is a rectangular block 32mm wide, 20mm deep, and 4mm high. On one side, add a vertical wall 5mm wide and 7mm high (4mm base height plus 3mm glass thickness) that runs along the 20mm depth. Adjacent to this wall, create a central rectangular section 32mm wide and 20mm de...
width = 32; height = 4; depth = 20; glass_thick = 3; border_width = 5; module glass_sheet_holders() { glass_sheet_holder_base(true); translate([width + border_width + 5, 0, 0]) glass_sheet_holder_base(false); translate([(width + border_width)*2 + 5, depth*2 + 5, 0]) { rotate([0,0,180]) { gl...
glb/cad_39a31dc9b36d.glb
Create a 3D text model of the word "Something" using the "Architects Daughter" font. The letters should have a height of 20mm and be extruded to a thickness of 5mm. Set the character spacing to 1 and arrange the text to read from left to right.
$fn = 100*1; text = "Something"; font = "Architects Daughter"; size = 20; extrude = 5; spacing = 1; web = 0; direction = "ltr"; linear_extrude(extrude) text( text, size, font=font, spacing=spacing, direction=direction); linear_extrude(web) offset(r=-size) offset(r=size) text( text, size, ...
glb/cad_4d725cd16934.glb
Create an origami ship by constructing a symmetrical hull and sail from mirrored quadrants. For one quadrant, create three distinct planes with a thickness of 5mm. The first plane is a hull section defined by the convex hull of three spheres with a 2.5mm radius centered at [75, 0, 60], [37.5, 0, 0], and [0, 25, 15]. Th...
lb=15; hb=12; wm=5; hm=3; wl=7.5; wh=2; h=10; thickness=1; steps = 20; scale=5; module double(axis) { union() { children(); mirror(axis) children(); } } module plane(s,t=0.5) { hull() for (i=[0:len(s) -1]) translate(s[i]) sphere(t/2); } module ground(size=...
glb/cad_e611f08daede.glb
Create a Scooter Holder consisting of a rectangular base and a central cylindrical tower. The base is a rectangular slab 240mm wide, 115mm deep, and 3.5mm thick. Emboss the text "COOPER" in a stencil font at two locations on the base, rotated 45 degrees. At the four corners of the base, create small triangular cutouts ...
$fn = 100; vthickness = 3.5; vdepth = 115; vrampwidth = 70; vrampheight = 30; vramplength = 70; vwidth = 240; vtowerheight = 45; vdiameter = 110; vcrossdiameter = 52; vwheelwidth = 25; vwheeldiameter = 100; vrampslope = rampface(); vtext = "COOPER"; function rampface() = sqrt((vramplength*vramplength+vrampheight*vra...
glb/cad_0d519f498f49.glb
Create an Envelope Thickness Gauge by starting with a solid rectangular block that is 245mm wide, 50mm high, and 6mm thick. Centered within this block, remove a smaller rectangular section to create a slot that is 225mm wide and 20mm high, extending through the entire 6mm thickness of the gauge. The resulting object sh...
SlotHeight=20; SlotWidth=225; GaugeThickness=6; GaugeWidth=245; GaugeHeight=50; difference(){ cube([GaugeWidth,GaugeHeight,GaugeThickness]); xmove=(GaugeWidth-SlotWidth)/2; ymove=(GaugeHeight-SlotHeight)/2; translate([xmove,ymove,0])cube([SlotWidth,SlotHeight,GaugeThickness]); }
glb/cad_2d5b269bc506.glb
Create a tall filament guide by starting with a solid cylinder 45mm high with a radius of 8.5mm. Remove a smaller concentric cylinder from the center with a radius of 6.25mm and a height of 40mm, starting from a depth of 28mm below the base to create a hollow tube. Cut a vertical rectangular slot through the side of th...
$fn=65; union(){ difference(){ cylinder(r=8.5, h=45); translate([0,0,-28]){ cylinder(r=6.25, h=40); } translate([-3.5,10,16]){ rotate(90,[1,0,0]){ roundedcube(7,26,25,2); } } } } module roundedcube(xdim,ydim,zdim,rdim){ union(){ hull(){ translate([rdim, rdim, 0])cylinder(r=rdim, h=zdim); translat...
glb/cad_ff7d689f8cad.glb
Create a servo arm with a total thickness of 4.8mm. Start with a central circular disc with a radius of 4.85mm (7.1mm diameter plus 1.3mm extension). Attach a rectangular arm extending from this disc to a length of 25mm, with a width of 9.7mm. At the end of this arm, create a mounting section for a micro switch consist...
insert_dia1 = 7.1; insert_rad1 = insert_dia1/2; insert_dia2 = 4.3; insert_rad2 = insert_dia2/2; insert_round_dist = 14.5; insert_plate_thickness = 3; arm_length = 25; screw_dist = 10; screw_size = 2.5+0.3; screw_rad = screw_size/2; outer_ext_arm = 1.3; outer_ext_screw = 2.5; wire_hole_dia = 2; wire_hole_rad = wire...
glb/cad_8b022dca3e91.glb