Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Fan mount for a 120mm computer fan and controller board consisting of two symmetrical mounting brackets. For each bracket, create a central block 8mm wide, 8mm deep, and 8mm tall with a central vertical hole 3.2mm in diameter. Attach two rectangular arms to the sides of this block. Each arm should be 14.5mm ...
overlap = 0.5; MKS_hole_offset=4.0 + overlap; Fan_Short_offset=10.5; Fan_Long_offset=19.0; B2=7.0; B1=B2; ext=15; short_edge = 3 * MKS_hole_offset; long_edge = B1 + Fan_Long_offset + ext + 2 * overlap; under_PCB_thickness=5.0; pcb_edge_thickness=3.0; fan_mount_thickness=0.0; thickness = under_PCB_thickness + pcb_ed...
glb/cad_88ecead3ce7e.glb
Create a parametric bandsaw insert plate. Start with a main cylindrical disk that has a diameter of 69.1mm and a height of 4.0mm. On the top surface of the disk, centered along the Y-axis, create a rectangular throat cutout that is 6.0mm wide and 54.0mm long, extending through the full thickness of the plate. Add tw...
plate_diameter = 69.1; plate_height = 4.0; throat_width = 6.0; throat_length = 54.0; pin_diameter = 3.0; pin_spacing = 64.0; pin_height = 2.0; with_holes = 1; hole_diameter = 6.0; hole_spacing = 12.0; scale = 1/0.995; function dim(x) = scale * x; plate_r = dim(plate_diameter) / 2; plate_h = dim(plate_height); pin_r...
glb/cad_d654236b3f9e.glb
Create a spool holder consisting of a tiered cylindrical base with a central bearing cavity. Start by creating a main cylinder with a radius of 15.2mm and a height of 9mm. On top of this, center a second, shorter cylinder with a radius of 22.8mm and a height of 2mm. Remove a central cylindrical hole from the middle o...
$fn=50; spoolRad = 15 + 0.2; FitsRadius = 1; numFits = 8; bearingRad = 11 + 0.1; bearingHight = 7; wallWidth = 2; module ringFits () { for (i=[0:numFits]) { translate([sin((360*i/numFits))*spoolRad, cos(360*i/numFits)*spoolRad, 0]) { cylinder ( r=FitsRadius, h=bearingHight+(wallWidth-1), $fn=15 ); } } ...
glb/cad_1861d90d9716.glb
Create a hanging kitchen waste bin bracket by starting with a solid rectangular base measuring 112.5mm in width, 100mm in depth, and 4mm in height. From this base, remove three rectangular sections to create the final geometry. First, remove a 25mm by 25mm square from the front-left corner. Second, remove another 25mm ...
difference() { cube([112.5,100,4], center=false); color("red") { cube([25,25,4], center=false); translate([0,50,0]) cube([25,25,4], center=false); translate([37.5,25,0]) cube([62.5,50,4], center=false); } }
glb/cad_5d8a56a693e2.glb
Create a hanging kitchen waste bin bracket by starting with a rectangular base measuring 117.5mm by 140mm with a thickness of 1mm. From this base, remove two square sections, each measuring 35mm by 35mm; position the first square at the origin (0,0) and the second square at a position 70mm along the Y-axis from the fir...
difference() { cube([117.5,140,1], center=false); color("red") { cube([35,35,1], center=false); translate([0,70,0]) cube([35,35,1], center=false); } } translate([80, 135, 0]) cylinder(r=20,h=1);
glb/cad_56c6c4cae6e7.glb
Create a hanging kitchen waste bin mount by starting with a rectangular block that is 140mm long, 10mm wide, and 4mm thick. Center the block on the origin. Drill three circular holes completely through the 4mm thickness of the block, each with a radius of 3mm. Position the first hole exactly in the center of the block....
$fn=90; difference() { cube([10,140,4], center=true); union() { cylinder(r=3, h=4, center=true); translate([0,-65,0]) cylinder(r=3, h=4, center=true); translate([0,65,0]) cylinder(r=3, h=4, center=true); } }
glb/cad_ef41a4eb9b9b.glb
Create a hanging kitchen waste bin bracket by starting with a central rectangular block measuring 140mm in length, 10mm in width, and 10mm in height, centered on the origin. To create the mounting slots, remove three cylindrical holes, each with a radius of 3mm and a height of 5mm. Position the first hole at the center...
$fn=90; difference() { cube([140,10,10], center=true); translate([0,3.5,0]) { rotate([90,90,0]) union() { cylinder(r=3, h=5, center=true); translate([0,-65,0]) cylinder(r=3, h=5, center=true); translate([0,65,0]) ...
glb/cad_011f413a8811.glb
Create a hanging kitchen waste bin support by starting with a solid cube that is 100mm wide, 100mm deep, and 10mm thick. From this base, remove a second rectangular volume that is 100mm wide, 145mm deep, and 10mm thick. Position this second volume so its outer edge aligns with the far side of the first cube and rotate ...
difference() { cube([100, 100, 10], center=false); translate([100,0,0]) rotate([0,0,45]) cube([100, 145, 10], center=false); }
glb/cad_6ffd7dc912e2.glb
Create a Z-clamp hook with a uniform thickness of 15mm. Start by constructing a vertical rectangular base measuring 3mm wide and 20mm high. Attached to the top of this base, add a horizontal arm extending 20mm in length and 3mm in width. To form the opposite end of the clamp, create a second vertical section measuring ...
hook_height = 20; hook_length = 20; translate([-3,3,0]) hook(hook_height,hook_length); module hook (height, length) { color("red") translate([3,height-3,0]) cube([length,3,15]); color("green") cube([3,height,15]); translate([-15,-3,0]) difference() { translate([7.5,1.5,7.5]) rounded(...
glb/cad_be5d3077563f.glb
Create a set of battery caps for RCR123A cells arranged in a 2x2 grid. The main body is a solid block with a height of 7mm and a wall thickness of 2.8mm. For each of the four battery positions, create a cylindrical cavity with a diameter of 17mm. The cavity should be tapered, starting with a diameter of 17.5mm at the...
Space = 5; module AA_Caps(N=4, M=1, PX=0, PY=0){ CellCaps(N, M, PX, PY, D=14.5, H=8, W=2.5, S=1, F=1.13, DI=0.5, G=20, GD=1.8); } module AAA_Caps(N=4, M=1, PX=0, PY=0){ CellCaps(N, M, PX, PY, D=10.5, H=7, W=2.3, S=1.2, F=1.13, DI=0.5, G=18, GD=1.1); } module C_Caps(N=4, M=1, PX=0, PY=0){ CellCaps(N, M, P...
glb/cad_b77d5bf575d4.glb
Create a door open holder designed to hook onto a door handle. The object is based on a rounded rectangular base with a thickness of 5mm, a length of 80mm, and a width of 20mm. All exterior edges and corners must be rounded with a radius of 2.5mm for safety. The main feature is a curved, hook-like cutout designed to a...
quality = 50; thickness = 5; rs = thickness / 2; radiusDoorHandle = 20 / 2; length = 80; yOffset = length/2-5; width = 20; cutOffAngle=45; module profile() { translate([rs,0,0]) circle(r=rs, $fn=quality ); translate([width-rs,0,0]) circle(r=rs, $fn=quality ); translate([rs,-rs]) square([width-2*rs,thickness]...
glb/cad_57fafb60ec63.glb
Create a Mendel90 Spool Holder dust filter. Start by constructing a central rectangular box with a length of 21mm (15mm internal length plus 2mm walls on each side), a height of 21mm (15mm internal height plus 2mm walls), and a depth of 17mm (15mm internal depth plus 2mm wall). At each end of this central box, add a ...
stl_selection = 3; spool_diameter = 205; spool_width = 62; spool_depth = 57; spool_hub_thickness = 5; spool_height = spool_width + 2 * spool_hub_thickness; eta = 0.01; $fa = 5; $fs = 0.5; thickness = 6; wall = 2; angle = 45; layer_height = 0.4; frame_bar_width = 8; part_base_thickness = 5; sheet_thickness = 3; left...
glb/cad_efc3446be1e7.glb
Create two identical Tamper-Resistant OTP Containers, positioned side-by-side with their centers 24mm apart. For each container, construct an octagonal prism with a radius of 10mm and a height of 70mm, centered on the origin and rotated 60 degrees. Hollow out the center of this prism by removing an octagonal prism with...
use <Write.scad> serial_no = "EFXIAKBHAT"; Font = "Letters.dxf"; module label() { translate([9,-1,-2]) rotate([7,90,0]) write(serial_no,space=2.35,center = true,font = Font); } module case(){ for(x = [1:4]) { rotate([0,0,x*90]) label(); } difference() { rotate([0,0,60]) cylinder($fn=8, r=10, h=70, ce...
glb/cad_907feac78cf5.glb
Create a door rubber tip by constructing a truncated cone with a total height of 18mm, a base diameter of 18mm, and a top diameter of 15mm. To add skidproof texture to the bottom, add a series of concentric rings around the base perimeter, each with a radius of 0.5mm, extending from the outer edge inward toward the cen...
total_height = 18; base_diameter = 18; top_diameter = 15; base_thicknes = 2; hole_diameter = 7; rugosity = 0.5; $fn = 50; difference(){ union() { cylinder(total_height, d1=base_diameter, d2=top_diameter, center=false); for(i=[(base_diameter/2)- rugosity:-1.5:1]) { rotate_extrude(convexity=10) ...
glb/cad_18cf703a6636.glb
Create a Quartz Cell Holder by starting with a solid rectangular block measuring 180mm wide, 180mm deep, and 270mm high. From the top center, remove a cylindrical core consisting of two stacked sections: a top cylinder with a radius of 40mm and a height of 45mm, and a bottom cylinder with a radius of 20mm and a heigh...
window_height = 200; window_width = 130; window_width_repaired = window_width - 0.001; frame_thickness = 50; frame_height = window_height + 2 * frame_thickness; frame_width = window_width + 2 * frame_thickness; frame_width_repaired = frame_width + 0.001; chamfer = 5; bevel_width = frame_thickness - chamfer; bevel_he...
glb/cad_3a0d85680715.glb
Create a Modular Mirror Housing consisting of several geometric components. First, construct the main mirror housing as a block with a total height of 120mm (basement height 70mm plus frame height 50mm) and a width and length of 150mm. Within this block, create a central window opening measuring 210mm by 160mm. Remov...
Mirror_Housing_Part = 1; Mirror_Bottom_Holder_Part = 1; Mirror_Top_Holder_Part = 1; Long_Filter_Part = 1; Short_Filter_Part = 1; Mirror_Plate_Part = 1; Pellet_Holder_Part = 1; Long_Pellet_Holder_Part = 1; Triangular_Housing_Part = 1; Solid_Holder_Part = 1; window_height = 160; window_width = 210; window_width_repaired...
glb/cad_e4ab48cfe0de.glb
Create a CubeSphere Dual Extruder Test by constructing two distinct geometric components. First, create a cube with a side length of 12mm, centered at coordinates (6, 6, 6). From this cube, remove a sphere with a radius of 8mm centered at the same position to create a hollowed-out frame. Second, create a separate compo...
$fn = 64; module A() { translate([6,6,6]) { difference() { cube(12, center=true); sphere(8); } } } module B() { translate([6,6,6]) { intersection() { cube(12, center=true); sphere(8); } } } A();
glb/cad_fc9caaae2538.glb
Create a clocktower model starting with a flat rectangular base measuring 35mm by 35mm with a thickness of 3mm. Position four vertical cylinders, each with a radius of 4mm and a height of 40mm, to act as pillars. Place these pillars symmetrically near the corners of the base. Atop these pillars, place a centered rectan...
cube(size=[35,35,3], center=true); translate([13,-12,0]) cylinder(h=40, r=4); translate([-13,12,0]) cylinder(h=40, r=4); translate([13,14,0]) cylinder(h=40, r=4); translate([-13,-13,0]) cylinder(h=40, r=4); cylinder(h=40, r=4); translate([0,0,40]) cube(size=[40,40,4], center=true); difference(){ translate([0,0,4...
glb/cad_1600655f49a6.glb
Create a clocktower model starting with a rectangular base measuring 50mm by 50mm with a height of 10mm, centered on the origin. Position four vertical cylinders, each with a radius of 3mm and a height of 24mm, arranged symmetrically around the center: two at x-coordinates of 7mm and -7mm with y-coordinates of -3mm, an...
cube(size=[50,50,10], center=true); translate([1,5,0]) cylinder(h=24,r=3,r2=3); translate([7,-3,0]) cylinder(h=24,r=3,r2=3); translate([-7,-3,0]) cylinder(h=24,r=3,r2=3); translate([0,0,25]) cube(size=[50,50,10], center=true); translate([0,0,25]) cylinder(h=15, r=25); translate([0,0,30]) cylinder(h=20,r=23); tra...
glb/cad_9f8b0260f3c5.glb
Create a clocktower model starting with a rectangular base measuring 40mm by 50mm with a thickness of 4mm, centered on the origin. Position a vertical cylinder with a radius of 2mm and a height of 29mm so that its center is at coordinates (0, 14, 0). At the top of this cylinder, place a rectangular block measuring 13mm...
$fs=0.01; cube(size=[40,50,4], center=true); translate([0,14,0]) cylinder(h=29,r=2,r2=2); translate([-1,15,28]) cube(size=[13,15,5], center=true); translate([-2,10,32]) cube(size=[10,15,3], center=true); cylinder(h=10,r=13); translate([0,0,6]) cylinder(h=25,d1=1,d2=15, center=false); translate([0,-14,0]) cylinder...
glb/cad_7c1a59679b92.glb
Create a clocktower model starting with a flat, square base measuring 60mm by 60mm with a thickness of 3mm. Centered on this base, place a second square platform measuring 63mm by 63mm with a thickness of 3mm, positioned 14mm above the base. Between these two platforms, place a central cone-shaped structure that tapers...
$fs=0.01; cube(size = [60, 60,3], center = true); cylinder(h=20, r=10); translate([25,25,0]) cylinder(h=25, r=3); translate([25,-26,0]) cylinder(h=25, r=3); translate([-27,-25,2]) cylinder(h=25, r=3) translate([-26,30,-1]) cylinder(h=25, r=3); translate([-25,26,0]) cylinder(h=25, r=3); translate([0,0,14]) cube(si...
glb/cad_7fb602e60b8c.glb
Create a volleyball net model consisting of a rectangular grid supported by two vertical posts. Construct the net as a grid of small cubes, each measuring 2mm x 2mm x 11mm. Arrange these cubes to form a wide, flat mesh of intersecting horizontal and vertical bars, extending from x=0 to x=40 and z=0 to z=20. For the s...
cube(size=[2,2,11]); translate([5,0,0]) cube(size=[2,2,11]); translate([5,0,10]) cube(size=[2,2,11]); translate([10,0,10]) cube(size=[2,2,11]); translate([15,0,10]) cube(size=[2,2,11]); translate([20,0,10]) cube(size=[2,2,11]); translate([0,0,10]) cube(size=[2,2,11]); translate([25,0,10]) cube(size=[2,2,11]); t...
glb/cad_c2e2034c4d74.glb
Create a camera model by combining several geometric primitives. Start with a main rectangular body measuring 20mm in length, 5mm in width, and 12mm in height, positioned at x=2, y=0, z=0. Add a smaller rectangular block of 10mm by 5mm by 9mm at x=11, y=1, z=2. For the lens assembly, place a thin cylinder with a radi...
translate([2,0,0]) cube(size=[20,5,12]); translate([2,0,0]) cube(size=[20,0,12]); translate([5,0,5]) rotate([90,0,0]) cylinder(1); translate([7,0,3]) rotate([90,0,0]) cylinder(1); translate([7,0,7]) rotate([90,0,0]) cyli...
glb/cad_bd29e004d479.glb
Create a microphone model by combining a sphere and a tapered cylinder. Start by placing a sphere with a radius of 35mm centered at a height of 90mm. Directly beneath the sphere, attach a tapered cylinder that extends 85mm downwards. This cylinder should have a bottom radius of 12mm and a top radius of 17mm, ensuring i...
$fn=100; translate([0,0,90]) sphere(35); translate([0,0,-18]) cylinder(r1=12, r2=17, h=85); translate([0,0,80]) circle(40); translate([0,-17,19]) cube(size=[3,3,20]);
glb/cad_31682aae6862.glb
Create a homeware cup by starting with a main cylindrical body that is 15mm in diameter and 19mm high. Hollow out the center of this cylinder with a smaller concentric hole 12.3mm to 12.5mm in diameter and 18mm high to create a thin-walled vessel. On the exterior surface, add a decorative face consisting of several s...
difference(){ translate([6,0,0]) cube(size=[2,15,4],center=true); cylinder(h=18,d1=14,d2=14,center=false); } difference(){ translate([-7,0,0]) rotate([0,0,0]) cube(size=[2,15,4],center=true); cylinder(h=18,d1=14,d2=14,center=false); } translate([2,4,0.90]) linear_extrude(height=1.5) circle(2.75); tr...
glb/cad_aed5da98ace1.glb
Create a homeware object consisting of two stacked rectangular plates and several conical protrusions. Start by placing two rectangular prisms, each measuring 20mm by 10mm with a height of 2mm; position the first at coordinates [0, 10, -10] and the second directly above it at [0, 10, -6], but rotate the top prism 15 de...
rotate([0,0,0]){ translate([-9,6,-8.5]) cylinder(h=4,d1=0,d2=3,center=false); translate([-9,8,-8.5]) cylinder(h=4,d1=0,d2=3,center=false); translate([-9,10,-8.5]) cylinder(h=4,d1=0,d2=3,center=false); translate([-9,12,-8.5]) cylinder(h=4,d1=0,d2=3,center=false); translate([-9,14,-8.5]) cylinder(h=4,d1=0,d2=3,center=fal...
glb/cad_d02a1a4635c3.glb
Create a homeware character model by combining several geometric primitives. Start with a central sphere with a diameter of 18mm, positioned at [0, 10, 0]. Directly below the sphere, place a rectangular block measuring 18mm wide, 9mm deep, and 5mm high, centered at [0, 1, -4]. At the base, add a small rectangular bar m...
$fs=0.01; translate([0,10,0]) sphere(d=18); translate([0,1,-4]) cube(size=[18,9,5],center=true); translate([8,4,-2]) rotate([90,0,0]) cylinder(h=2,d1=5,d2=9); translate([-8,4,-2]) rotate([90,0,0]) cylinder(h=2,d1=5,d2=9); translate([9,9,10]) rotate([-180,8,6]) cylinder(h=7,d1=0,d2=7,center=false); translate([-9,9...
glb/cad_1e9b4fc67ec5.glb
Create a homeware decorative piece starting with a base cylinder that is 30mm in diameter and 3.5mm high. On the top surface of this base, add two small vertical cylinders to serve as ears, each 8mm in diameter and 18mm tall, positioned at x=6 and x=-6, y=-1.5, and z=10.5, then rotated 270 degrees on the X-axis and 2 d...
cylinder(h=3.5,d1=30,d2=30,center=false); translate([6,3,4]) circle(3.5); rotate([270,2,3]) translate([6,-1.5,10.5]) cylinder(h=18,d1=8,d2=8,center=false); rotate([270,2,3]) translate([-6,-1.5,10.5]) cylinder(h=18,d1=8,d2=8,center=false); translate([-13,2,3]) circle(3); translate([-12,7.5,3]) circle(2.5); transla...
glb/cad_d94a34b709c4.glb
Create a Nail-to-Tentpeg Converter consisting of a central cylindrical housing and two extending arms. Start with a central vertical cylinder 11mm in diameter and 8mm high. Subtract a 5mm diameter vertical hole through the center of this cylinder. Extend a flat connection plate from the center, 4mm thick, that merges ...
h0=4; hhull = 8; dnail = 5; tnailhull = 3; dnailtot = dnail+2*tnailhull; dhole = 6; tholehull = 3; dholetot =dhole+2*tholehull; holeshift = 10; dpeg = 6; pegshift = 12; hpeg = 8; sidepeg =5; clr = 0.1; $fa = 5; $fs = 0.15; bevel = 0.75; difference() { union() { bcylinder(dnailtot/2, hhull); d...
glb/cad_8dfc18928324.glb
Create a 2020 Slot Mount designed to slide into an aluminum extrusion slot. Start by creating a profile based on a 2D polygon with the following vertices: [0,0], [2.9,0], [2.9,2.1], [5.6,2.1], [5.6,3.06], [2.86,5.8], [-2.86,5.8], [-5.6,3.06], [-5.6,2.1], [-2.9,2.1], and [-2.9,0]. Extrude this profile linearly to a he...
SlotMountLength = 13; ScrewLengthInPart = 11; TnutLength = 13; SlotMountEndReducer = 6; Slot2DPoints = [[0,0],[2.9,0],[2.9,2.1],[5.6,2.1],[5.6,3.06],[2.86,5.8],[-2.86,5.8],[-5.6,3.06],[-5.6,2.1],[-2.9,2.1],[-2.9,0]]; rotate([0,0,180]) difference (){ union(){ translate([-10,-8,0]) cube([20,8,80]); 2020SlotMount(Sl...
glb/cad_99960cc70aaf.glb
Create a lock nut and screw hole assembly consisting of three primary geometric components aligned along a central vertical axis. First, create a narrow central cylinder with a radius of 1.6mm and a total height of 31.5mm to serve as the screw shaft. At the base of this shaft, add a wider, shallow cylinder with a radiu...
Locknut_and_screwhole(Screwlength=15,DepthOfNut=12); module Locknut_and_screwhole(Screwlength=20,DepthOfNut=25){ nutheight=4.5; LocknutDiamater=6.9; screwheaddiamater=7; ScrewheadHoleDiam=screwheaddiamater+.3; LengthBeforeNut=DepthOfNut; LengthAfterNut=3; TotalNutLength=DepthOfNut+nutheight+LengthAfterNut; Recessed...
glb/cad_4bdcfe83a27b.glb
Create a Concentric Rings Dual Extruder Calibration model consisting of two separate ring components. First, create an outer ring by centering a cylinder with a 12mm diameter and 2mm height, then remove a concentric inner cylinder with a 10mm diameter and 3mm height to create a hollow tube. Second, create an inner ring...
$fn = 64; module orange() { { difference() { cylinder(d=12,h=2, center=true); cylinder(d=10,h=3, center=true); } } } module purple() { { difference() { cylinder(d=10,h=2, center=true); cylinder(d=8,h=3, center=true); } } } orange();
glb/cad_e571334f99e9.glb
Create a Porter-Cable 690 Air Deflector by constructing a hollowed cylindrical shell with a total height of 17mm and a wall thickness of 2.5mm. Start with a central vertical hole 37mm in diameter that passes through the entire object. The main body is based on a cylinder with an inner diameter of 88.9mm and an outer di...
thickness=2.5; height=17.0; PCdiam=88.9; innerhole=37; innerholeheight=6; $fn=120; difference(){ union(){ cylinder(h=innerholeheight,d=innerhole+2*thickness); difference() { union(){ translate([0,0,-2])cylinder(h=15,d1=PCdiam, d2=PCdiam+20); cylind...
glb/cad_138a51a4619e.glb
Create a hood for an M10 rod by constructing a main body that is 90mm long. The primary shape is a cylinder with an outer diameter of 11mm and a length of 90mm. Integrate this cylinder into a rectangular base that is 11mm wide and 90mm long, ensuring the cylinder is centered along the length. Carve a central longitud...
length=90; D=10; P=1.5; H=sqrt(3)/2 * P; R=H/(P/2); ppr=31; loops=length/P; xw=0.4; ww=2; od=D+ww/2; hd=4; echo(od); $fn=31; rotate([0,-90,0]) difference(){ union(){ hull(){ cylinder(d=od+ww*2, h=length, center=true); translate([-(od+ww)/2,0,0]) cube([(od+ww*2)*0.5,(od+ww*2),le...
glb/cad_68715cbf7a3c.glb
Create a GT2 belt tensioner and an M10 rod hood. For the tensioner, start with a rectangular block 50mm long, 30mm wide, and 15mm high. Center a horizontal hole 8.4mm in diameter through the length of the block. On the top surface, create a wide rectangular cutout that leaves walls at the edges, and carve a series of s...
tl=50; tw=30; th=15; bw=6; bh=2; bp=2; xw=0.4; ww=2; hd=3; hl=10; wa=20; use <../pathextrude/path_extrude.scad>; D=8; P=1.25; H=sqrt(3)/2 * P; R=H/(P/2); ppr=31; loops=(ww*2)/P; myPoints = [ [-H/2+xw+0.1*R,-P/2+0.1], [1/4*H+xw,-P/8], [1/4*H+xw,P/8], [-H/2+xw+0.1*R,P/2-0.1] ]; myPath = [ for(t = [-90:(360/ppr):(36...
glb/cad_bde653a4a189.glb
Create a Double Truncated Octahedron consisting of a hollowed-out outer truncated octahedron containing a smaller, solid truncated octahedron inside. For the outer shell, construct a truncated octahedron with a total outer diameter of 11.25mm. This shell should be a wireframe structure with a wall thickness of 0.3mm....
module truncocta() { octapoints = [[+1, 0, 0], [-1, 0, 0], [0, +1, 0], [0, -1, 0], [0, 0, +1], [0, 0, -1]]; octafaces = [[4,2,0],[4,0,3],[4,3,1],[4,1,2],[5,0,2],[5,3,0],[5,1,3], [5,2,1]]; rotate([0,0,0]){ intersection() { scale(v=3) { polyhedron(points=octapoints,faces=o...
glb/cad_696641b50d4e.glb
Create a Dice Game holder and a set of seven dice. First, construct the game holder as a solid base 15mm tall. The main body is a central cylinder with a 35mm radius and 80-facet resolution, featuring a 2mm fillet on the top and bottom edges. Arrange six smaller cylinders around the center, each with a radius of 11.3...
Hex = 70; tall = 15; fillet = 2; dice_side = 16; min_wt = 1; dice_clearance = 0.7; font_height = 10; include <bitmap.scad> dice_sphere_radius= 0.85*dice_side-fillet; hole_sphere_radius = dice_sphere_radius+dice_clearance; holder_radius = hole_sphere_radius+2*min_wt; difference(){ union(){ cylinder_with_fillet(He...
glb/cad_455183161ad5.glb
Create a Bruggen/Engel LR 2.2 casing by starting with a rectangular block 27mm wide, 20mm deep, and 8mm high, applying a 2mm fillet to all edges to round the corners. Hollow out the center of this block to create a cavity 19mm wide, 18mm deep, and 9mm high, positioned 2.5mm from the front and 2mm from the sides. Within...
boxWidth = 27; boxDepth = 20; boxHeigth = 8; pcbWidth = 19; pcbDepth = 18; pcbHeigth = 9; difference(){ minkowski(){ cube([boxWidth, boxDepth, boxHeigth]); cylinder(r=2,h=0.1, $fn=100); } translate([2.5,2,1.5]) #cube([pcbWidth, pcbDepth, pcbHeigth]); translate([2.5+pcbWidth-0.5,2,1.5]) #cube([12,8,pcbHeigth]);...
glb/cad_e7f693c06ff3.glb
Create a customizable bracelet charm by starting with a sphere 12mm in diameter. Flatten the top and bottom of the sphere by removing a 1mm slice from each pole. Drill a 6mm diameter cylindrical hole straight through the center from top to bottom. Around the openings of this hole, add two circular ridges with a thickne...
include <write/Write.scad> sphere_diameter = 12; Hole_diameter = 6; Hole_ridge = "T"; Text = "Text..."; Font = "write/Letters.dxf"; Text_Spacing = 1; Text_Height = 4; Text_Depth = 1; Recessed = "F"; Rotate_text = 0; Rotation = Rotate_text * -1; flatten = 1; r=sphere_diameter/2; down=-(r-flatten); top=r-flatten; ...
glb/cad_345a75c4f433.glb
Create a spring footing consisting of a wide base and a narrower vertical tower with a central hole. Start by creating a cylindrical base with a diameter of 12mm and a height of 1mm. Centered on top of this base, add a second cylinder with a diameter of 6.5mm and a height of 7mm, resulting in a total object height of 8...
base_height = 1; base_diameter = 12; inner_height = 8; inner_diameter = 6.5; hole_diameter = 3.4; $fn = 20; difference() { union() { cylinder(h=base_height, r=base_diameter/2); cylinder(h=inner_height-1, r=inner_diameter/2); translate([0,0,inner_height - 1]) cylinder(h=1, r1=inner_diameter/2, r2=inner_diam...
glb/cad_7add7a403690.glb
Create a scale model of the Black Mountain Tower. Start with a rectangular base measuring 160mm by 160mm with a height of 38mm. Centered on this base, construct a vertical tower consisting of a series of stacked cylinders of varying diameters. Begin with a lower section that is 79mm tall, tapering from a radius of 20mm...
intersection(){ translate([-80, -350, 0]) cube([160, 700, 80]); rotate([-90, 180, 0]) union(){ translate([-78,-78, -350]) cube([156, 156, 38]); translate([-80, -80, -312]) cube([160, 160, 9]); translate([0, 0, -303]) cylinder(r1=20, r2=17, h=79); translate([0, 0, -224]) cylinder(r1=17, r2=51, h=12); tra...
glb/cad_c771c3e42adc.glb
Create a thermometer mount starting with a circular base. Create a cylinder 6.5mm high with an outer radius of 8.5mm and a concentric inner hole with a radius of 3mm. Attached to this circular base, add a rectangular arm extending 40mm in length, 13mm in width, and 2mm in thickness, positioned from the center. Along ...
fn = 100; difference () { union () { difference () { cylinder (h = 6.5, r = 8.5, $fn = fn); cylinder (h = 6.5, r = 3, $fn = fn); } translate ([5, -6.5, 0]) { cube ( size = [40, 13, 2] ); } } translate ([0, 0, 1.5]) { cylinder ( h = 5, r = 6.6, r2 = 6.8, $fn = fn); } } translate ([0, -6.8, 0]) { cylind...
glb/cad_aacfa0334fac.glb
Create a Dremel Micro Wall Mount consisting of a flat rectangular base and an attached hook. Start with a base plate measuring 38mm wide, 80mm high, and 3.5mm thick. Centered along the width of this base, attach a hook structure that is 46mm wide and 19mm long. This hook is formed by a hull of two shapes: a rectangular...
base_width = 38; base_height = 80; base_depth = 3.5; hook_bottom_width = 46; hook_bottom_length = 19; scale_factor = 2; hole_radius = 3.35; rotate([90,0,180]) union() { cube([base_width, base_depth, base_height]); translate([base_width / 2 - hook_bottom_width/2,0,0]) { difference() { hull() { ...
glb/cad_377d6a0bf30c.glb
Create a Brunton Pocket Transit mount-head assembly consisting of a pivoting base and a separate anchor pin. First, construct the main pivot body. Start with a cylinder of radius 12mm and height 13mm. Attach a rectangular base block measuring 13mm by 24mm by 15mm to the side. Integrate a hull-shaped transition that b...
mirror( [0,0,1] ) { difference(){ union(){ rotate([90,0,90]) translate([0,-15,0]) cylinder(h=13, r=12, center=false); translate([-0,-12,-15]) rotate(-[0,0,0]) cube([13,24,15]); translate([-0,-12,-12]) rotate(-[0,0,0])hull(){ cube([13,24,12]); translate([7,10,12]) cylinder(h=0.1, r=14, center...
glb/cad_4d484a572ef0.glb
Create a Brunton Pocket Transit mount-head assembly consisting of a hollow cylindrical cup. Start by creating a solid cylinder with a radius of 14mm and a height of 50mm. From this solid cylinder, remove a central cylindrical core with a radius of 12mm and a height of 55mm, positioned 5mm above the base, to create a ...
difference(){ union(){ translate([0,0,0]) rotate(-[0,0,0]) cylinder(h=50, r=14, center=false); } translate([0,0,5]) rotate(-[0,0,0]) cylinder(h=55, r=12, center=false); translate([0,0,0]) rotate(-[0,0,0]) cylinder(h=8, r=3.25, center=false); }
glb/cad_4fbae70f1854.glb
Create a Brunton Pocket Transit mount-head assembly consisting of a main pivot body and two separate washers. First, construct the main pivot body by combining a cylinder with a radius of 10mm and a height of 6.25mm with a rectangular block measuring 7mm by 8mm by 6.25mm positioned at the edge. Integrate a cylindrica...
difference(){ union(){ translate([0,0.25,3.125]) rotate(-[0,90,0]) cylinder(h=19, r=3.125, center=false); translate([0,0,0]) rotate([0,0,0]) cylinder(h=6.25, r=10, center=false); hull(){ translate([-2.25,0,0]) rotate(-[0,0,0]) cube([2,13,6.25]); translate([-12,-0,0]) rotate(-[0,0,0]) cube([7,8,6.25]);}...
glb/cad_056ee85a3999.glb
Create a Brunton Pocket Transit mount-head assembly consisting of a U-shaped clip designed to hold a transit device. Start by constructing the main body as a union of three rectangular blocks: a base block measuring 25mm x 81mm x 20mm, a side block of 25mm x 5mm x 20mm, and a small connector block of 2mm x 5mm x 20mm...
difference(){ union(){ translate([0,-40.5,0]) cube([25,5,20], center=false); translate([25,-40.5,0]) cube([5,81,20], center=false); translate([0,-39,0]) cube([2,5,20], center=false); hull(){ translate([25,-40.5,0]) cube([1,5,20], center=false); translate([12,-39,0]) cube([1,10,20], center=false);} ...
glb/cad_8058fc2da9f3.glb
Create a Brunton Pocket Transit mount-head assembly consisting of a staff cup and a platform. Start by creating a main cylindrical staff cup with an outer radius of 14mm and a height of 28mm. Hollow out the center of this cylinder with a hole of 12mm radius and 55mm height to accommodate a staff. At the base of the cu...
difference(){ union(){ translate([0,0,0]) rotate(-[0,0,0]) cylinder(h=28, r=14, center=false); hull(){ translate([0,28,0]) rotate(-[0,0,0]) cylinder(h=5, r=14, center=false); translate([0,0,0]) rotate(-[0,0,0]) cylinder(h=5, r=14, center=false);} } translate([0,0,0]) rotate(-[0,0,0]) cylinder(h=55, r=...
glb/cad_3dc3f80c304a.glb
Create a Brunton Pocket Transit mount-head assembly. Start by constructing a U-shaped clip base. The main body is a block 30mm wide, 81mm long, and 20mm high. On the inner sides of the clip, add grip teeth that are 3mm wide, 5mm deep, and 20mm high, positioned at the front edges. Integrate a pivot system by creating a...
difference(){ union(){ translate([0,-40.5,0]) cube([25,5,20], center=false); translate([25,-40.5,0]) cube([5,81,20], center=false); translate([0,-39,0]) cube([3,5,20], center=false); hull(){ translate([25,-40.5,0]) cube([1,5,20], center=false); translate([12,-39,0]) cube([1,10,20], center=false);} ...
glb/cad_75eed0572c5a.glb
Create a 3D puzzle piece representing a Swiss canton. First, construct a flat base by extruding a polygon to a height of 2.5mm. The polygon's vertices are defined by the coordinates (58,1), (57,1), (58,2), (61,3), (62,2), (61,1), (60,2), and (59,1), all scaled by a factor of 5 and translated by (-7, 1, 0). Additionally...
difference() { scale (5) translate ([-7,1,0]) linear_extrude (height=0.5)color ("blue") polygon(points = [ [58.00,1.00] ,[57.00,1.00] ,[58.00,2.00] ,[61.00,3.00] ,[62.00,2.00] ,[61.00,1.00] ,[60.00,2.00] ,[59.00,1.00] ] ,paths = [ [0,1,2,3,4,5,6,7]] ); scale (5) translate ([-11,1,0]) linear_extrude (he...
glb/cad_914e2f2195fb.glb
Create a 3D model of a Swiss map puzzle piece representing the cantons of Obwalden and Nidwalden. Construct the base by joining two flat polygonal plates, each 0.5mm thick. The first polygon has vertices at (170, -25), (175, -30), (180, -25), (185, -30), (195, -25), (185, -10), (180, -10), and (180, -20) before closing...
difference() { scale (5) translate ([-1,0,0]) linear_extrude (height=0.5)color ("blue") polygon(points = [ [34.00,-5.00] ,[35.00,-6.00] ,[36.00,-5.00] ,[37.00,-6.00] ,[39.00,-5.00] ,[37.00,-2.00] ,[36.00,-2.00] ,[36.00,-4.00] ,[34.00,-5.00] ] ,paths = [ [0,1,2,3,4,5,6,7,8,9]] ); scale (5) translate ([-...
glb/cad_1b3a4a2e04e2.glb
Create a 3D representation of the Schaffhouse canton for a Swiss map puzzle. Start by creating a flat base using a polygon with a height of 2.5mm. The polygon vertices, scaled by a factor of 5, are located at [27, -1], [29, 1], [30, 1], [30, 0], [31, 1], [32, 0], [31, -1], and [29, -2]. On the top surface of this base,...
scale (5) translate ([11,11,0]) linear_extrude (height=0.5)color ("blue") polygon(points = [ [27.00,-1.00] ,[29.00,1.00] ,[30.00,1.00] ,[30.00,0.00] ,[31.00,1.00] ,[32.00,0.00] ,[31.00,-1.00] ,[29.00,-2.00] ] ,paths = [ [0,1,2,3,4,5,6,7]] ); content = "SH"; font ="Liberation Sans"; translate ([198,50,2.5]...
glb/cad_f5e4b66d9a25.glb
Create a 3D representation of the Basel-Stadt canton for a Swiss map puzzle. Start by creating a flat triangular base with a thickness of 2.5mm. The base is defined by a polygon with vertices at [140, 30], [145, 20], and [150, 30] relative to the origin, then scaled up by a factor of 5. On the top surface of this base,...
translate ([-60,5,0]) scale (5) linear_extrude (height=0.5)color ("blue") polygon(points = [ [28.00,6.00] ,[29.00,4.00] ,[30.00,6.00] ] ,paths = [ [0,1,2,3]] ); content = "BS"; font ="Liberation Sans"; translate ([82,31,2.5]) { linear_extrude (height = 1) { text (content, font= font, size=3); } }
glb/cad_4f0233adef37.glb
Create a 3D representation of the Appenzell Innerrhoden canton for a Swiss map puzzle. Start by creating a flat base using a polygon with vertices at [64, 2], [63, 1], [63, 0], [64, 0], [65, 1], [66, 2], and [64, 2]. Extrude this base to a height of 2.5mm. On the top surface of this base, add the text "AI" using a sans...
scale (5) translate ([-11,1,0]) linear_extrude (height=0.5)color ("blue") polygon(points = [ [64.00,2.00] ,[63.00,1.00] ,[63.00,0.00] ,[64.00,0.00] ,[65.00,1.00] ,[66.00,2.00] ,[64.00,2.00] ] ,paths = [ [0,1,2,3,4,5,6]] ); content = "AI"; font ="Liberation Sans"; translate ([265,11,2.5]) { linear_extrude...
glb/cad_96d9578f0bcf.glb
Create a RZLblink Case by starting with a main rectangular block measuring 43.5mm in length, 16.5mm in width, and 6.5mm in height, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 42mm by 15mm by 5mm, leaving a wall thickness of 1.5mm. On the top surface, centere...
length=42; height=5; width=15; thickness=1.5; union() { difference() { union(){ cube(size = [ (length+thickness), (width+thickness), (height+thickness) ], center = true); translate(v=[-length/2 + 8,0,height/2]) sphere(r=3,$fn=50); translate(v=[length/2-2.25,0,height/2+...
glb/cad_47202e3fc11d.glb
Create a Customizable Pulley. Start by constructing a central cylindrical shaft with a diameter of 5.2mm. Around this, build a pulley base with a diameter of 20mm and a height of 8mm. Above the base, add a toothed section with a height of 12mm and an outside diameter of 11.88mm, featuring 8 teeth. Each tooth should fol...
teeth = 8; profile = 6; motor_shaft = 5.2; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 0; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 12; pulley_b_ht = 8; pulley_b_dia = 20; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_tooth_width = 0.2; ...
glb/cad_a5259af0db98.glb
Create a mounting plate for an Armattan MRP 130. Start with a central rectangular plate measuring 23mm by 26.5mm with a thickness of 2mm. At two opposite ends of the plate, centered along the width, add two identical rail mounts. Each mount consists of a 20-sided polygonal cylinder with an outer diameter of 8.5mm and...
rotate([-90,0,0]) { difference() { union() { translate([11, 0,0]) { difference() { cylinder(d=8.5, h=26.5, $fn=20, center=true); cylinder(d=5.75, h=27.6, $fn=20, center=true); translate([3, 0, 0]) { cube([5, 10, 27.6], true); } translate([-1,-1.2,0]) { cube([8...
glb/cad_01b1b97f8e7a.glb
Create two identical antenna mounts for an Armattan MRP 130. For each mount, start with a base consisting of a cylinder 9mm in diameter and 2mm thick, oriented horizontally. Attach a rectangular block to the back of this cylinder measuring 2mm wide, 9mm deep, and 9mm high, centered on the cylinder. Add a small anti-rot...
$fn=100; module AntennaHolder() { difference() { translate([0,0,0]) { cylinder(r=3, h=15, center=true); } translate([0,0,2]) { cylinder(r=1.6, h=15.1, center=true); } translate([0,0,0]) { cylinder(r=1.1, h=15.1, center=true); } } } module BaseHolder() { difference() { union() { transla...
glb/cad_d54f15023f92.glb
Create an antenna holder for an Armattan MRP 130. Start by constructing a base holder consisting of a central cylinder with a diameter of 9mm and a height of 2mm, oriented horizontally along the X-axis. Attach a rectangular extension to the back of this cylinder measuring 2mm wide, 9mm deep, and 9mm high, centered on t...
$fn=100; module AntennaHolder() { difference() { translate([0,0,0]) { cylinder(r=3, h=15, center=true); } translate([0,0,2]) { cylinder(r=1.6, h=15.1, center=true); } translate([0,0,0]) { cylinder(r=1.1, h=15.1, center=true); } } } module BaseHolder() { difference() { union() { transla...
glb/cad_2a4f0c6893f7.glb
Create an LED bar mount by constructing a composite shape from three centered rectangular prisms. First, create a base mounting plate measuring 32.4mm wide, 2mm thick, and 5mm deep. Centered on top of this base, add a middle standoff prism measuring 28.2mm wide, 2.2mm thick, and 5mm deep. Finally, add a top bar measuri...
module LEDBar() { difference() { union() { translate([0,0,-2.5]) { cube([32.4,2,5], true); } translate([0,2.1,-2.5]) { cube([28.2,2.2,5], true); } translate([0,4.2,0]) { cube([32.4,2,10], true); } } translate([0,0.2,-2.5]) { cube([25,6,5.1], true); } } } LEDBar();
glb/cad_462181dba8bf.glb
Create a Pegstr pegboard holder. Start by creating a main rectangular body with a width of 32mm, a depth of 17mm, and a height of 15mm. The walls of this body should be 2.5mm thick. Round the vertical corners of the holder with a radius of 30mm. On the back surface, integrate a mounting system for a pegboard with a bo...
holder_x_size = 32; holder_y_size = 17; holder_height = 15; wall_thickness = 2.5; holder_x_count = 1; holder_y_count = 1; corner_radius = 30; taper_ratio = 1.0; hole_spacing = 25.0; hole_size = 4.5; board_thickness = 3.5; show_logo = "yes"; holder_offset = 0.0; strength_factor = 0.66; closed_bottom = 0.0; ...
glb/cad_09bb397c67c3.glb
Create a Y Carriage for a Prusa Mendel. The main body is a flat plate with a thickness of 8mm. Construct a central rectangular cutout measuring 60mm by 124mm, centered on the plate. From this center, extend four "legs" toward the corners. Each leg should be a rounded rectangular arm with a mounting radius of 10mm at th...
include <configuration.scad> include <gregs-lm8uu-holder.scad> layer_height=0.35; beam_support_thickness=8; beam_width=20; bar_seperation=140; carriage_mount_hole_y_sep=124; carriage_mount_hole_x_sep=209; carriage_width=carriage_mount_hole_x_sep; carriage_depth=carriage_mount_hole_y_sep; mount_radius=10; lm8uu_...
glb/cad_33f212d9e5ba.glb
Create a 60cc syringe model consisting of a main body and a separate plunger. For the body, create a hollow cylinder with an outer radius of 15.75mm and an inner radius of 14mm, extending to a height of 112mm. At the top of this cylinder, add a flange 2.3mm thick. Above the main body, add a small cylindrical neck with ...
syringe(); translate([50, 0, 0]) plunger(); module syringe() { difference() { union() { cylinder(h=113.3, r=15.75, convexity=10); dxf_linear_extrude( file = "clamp.dxf", layer = "Syringe Flange", height = 2.3, convexity = 10 ); translate([0,0,113.2]) cylinder(h=7.9, r=9.5/2); trans...
glb/cad_f7c8dd7a0747.glb
Create a Z Bridge for a FuseBox printer. Start with a main rectangular block measuring 148mm in length, 15mm in width, and 17mm in height, centered on the origin. In the center of this block, add a smaller rectangular protrusion measuring 24mm in length, 20mm in width, and 20mm in height. Remove a central vertical cyl...
length = 148; width = 15; height = 17; $fn = 100; difference() { union() { cube([length, width, height], center=true); translate([0, 0, 3/2]) cube([24, 20, 20], center=true); } translate([0, 0, 3/2]) cylinder(20, 9.5/2, 9.5/2, center=true); cylinder(r=9, h=height, $fn=6, center=true); ...
glb/cad_c067ea99777f.glb
Create a Z Bridge for a FuseBox printer. Start with a central rectangular block measuring 148mm in length, 15mm in width, and 17mm in height. At the center of this block, add a smaller rectangular protrusion measuring 24mm by 20mm with a height of 20mm. Remove a vertical cylindrical hole with a diameter of 9.5mm thro...
length = 148; width = 15; height = 17; $fn = 100; difference() { union() { cube([length, width, height], center=true); translate([0, 0, 3/2]) cube([24, 20, 20], center=true); } translate([0, 0, 3/2]) cylinder(20, 9.5/2, 9.5/2, center=true); cylinder(r=8.8, h=height, $fn=6, center=true)...
glb/cad_ea1f767f0e87.glb
Create a PSU holder for a Prusa i3 printer. Start by constructing a main outer box with a width of 114mm, a length of 215mm, and a height of 50mm. Hollow out the center of this box to create a shell with a wall thickness of 2mm, leaving a terminal gap of 8.3mm at the bottom. On the top surface, create a cover section ...
include <i3 support.scad> include <frame.scad> i3_SUPPORT_SPACE = 139; i3_SUPPORT_OFFSET = 86; i3_FRAME_THICKNESS = 6; module i3frame() { translate([i3_SUPPORT_SPACE,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3Support(); translate([-1 * i3_SUPPORT_SPACE - i3_FRAME_THICKNESS,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3S...
glb/cad_6db245fc2942.glb
Create a PSU holder for a Prusa i3 printer. Start with a main outer shell that is 114mm wide, 215mm long, and 50mm high. This shell should have a wall thickness of 2mm. Hollow out the center of the block, leaving a terminal gap of 8.3mm at the bottom. On the top surface, create a rectangular cutout for a power switch ...
include <i3 support.scad> include <frame.scad> i3_SUPPORT_SPACE = 139; i3_SUPPORT_OFFSET = 86; i3_FRAME_THICKNESS = 6; module i3frame() { translate([i3_SUPPORT_SPACE,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3Support(); translate([-1 * i3_SUPPORT_SPACE - i3_FRAME_THICKNESS,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3S...
glb/cad_66ce896fcd9f.glb
Create a PSU holder for a 3D printer. Start by creating a main outer box with a width of 114mm, a length of 215mm, and a height of 50mm. Hollow out the center of this box to create a shell with a wall thickness of 2mm, leaving a terminal gap of 8.3mm at the bottom. On the top surface, create a cover section that is 18...
include <i3 support.scad> include <frame.scad> i3_SUPPORT_SPACE = 139; i3_SUPPORT_OFFSET = 86; i3_FRAME_THICKNESS = 6; module i3frame() { translate([i3_SUPPORT_SPACE,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3Support(); translate([-1 * i3_SUPPORT_SPACE - i3_FRAME_THICKNESS,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3S...
glb/cad_f64f6d4456e3.glb
Create a PSU holder for a Prusa i3 printer. Start with a main outer shell that is 114mm wide, 215mm long, and 50mm high. This shell should have a wall thickness of 2mm. Remove a central rectangular section from the top and sides to create an open cavity, leaving a terminal lip of 8.3mm. On the top surface, center a re...
include <i3 support.scad> include <frame.scad> i3_SUPPORT_SPACE = 139; i3_SUPPORT_OFFSET = 86; i3_FRAME_THICKNESS = 6; module i3frame() { translate([i3_SUPPORT_SPACE,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3Support(); translate([-1 * i3_SUPPORT_SPACE - i3_FRAME_THICKNESS,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3S...
glb/cad_790e87860b77.glb
Create a PSU holder for a 3D printer. Start with a main rectangular body that is 114mm wide, 215mm long, and 50mm high. Hollow out the center to create a shell with a wall thickness of 2mm, leaving a terminal gap of 8.3mm at the bottom. On the top surface, create a rectangular cover section that is 114mm wide and 50mm...
include <i3 support.scad> include <frame.scad> i3_SUPPORT_SPACE = 139; i3_SUPPORT_OFFSET = 86; i3_FRAME_THICKNESS = 6; module i3frame() { translate([i3_SUPPORT_SPACE,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3Support(); translate([-1 * i3_SUPPORT_SPACE - i3_FRAME_THICKNESS,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3S...
glb/cad_08d74d350c49.glb
Create a PSU holder for a Prusa i3 printer. Start with a main outer box measuring 114mm wide, 215mm long, and 50mm high. The walls of this box should be 2mm thick. Remove a rectangular section from the top and side to create an open inset area that is 18mm deep. Within this structure, create a cover section that is 4...
include <i3 support.scad> include <frame.scad> i3_SUPPORT_SPACE = 139; i3_SUPPORT_OFFSET = 86; i3_FRAME_THICKNESS = 6; module i3frame() { translate([i3_SUPPORT_SPACE,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3Support(); translate([-1 * i3_SUPPORT_SPACE - i3_FRAME_THICKNESS,i3_SUPPORT_OFFSET,0]) rotate([90,0,90]) i3S...
glb/cad_f400a115bfd3.glb
Create a customizable eccentric bushing by combining two stacked cylindrical volumes. Start with a hexagonal base that has a height of 7.5mm and a diameter of 12mm across the flats. Directly on top of this base, center a second cylinder with a height of 7mm and a diameter of 8mm. Finally, bore a single continuous verti...
nut_size = 12; nut_height = 7.5; shaft_diameter = 8; shaft_height = 7; hole_diameter = 4; eccentricity = 0.5; $fa = 0.5; $fs = 0.5; difference() { union() { cylinder($fn = 6, h = nut_height, r = nut_size / (2 * cos(30)) ); translate([0, 0, nut_height]) { cylinder(h = shaft_height, r = shaft_diameter / 2)...
glb/cad_268d001c46df.glb
Create a Dragon Ball keychain consisting of a circular base and seven embedded stars. Start by creating a solid cylinder with a radius of 37mm and a height of 9mm. Remove a concentric inner cylinder with a radius of 34mm and a height of 9mm, leaving a ring-shaped wall. At the top of this ring, add a small integrated lo...
$fn=100; ball=7; starlen=20/1.85; starT=5; star_dis=22; r_ext=37; r_int=34; baseT=5; totalT=baseT-1+starT; module star(posX,posY) { translate([posX,posY]) linear_extrude(height = starT, center = true, convexity = 10, twist = 0) { polygon( points=[[0,starlen],[starlen*25/100,starlen*28/100],[starlen,...
glb/cad_b372ddb5a209.glb
Create a Dragon Ball keychain consisting of a circular base and seven embedded stars. Start by creating a main circular disk with a radius of 37mm and a thickness of 8mm. Carve a concentric cylindrical hole from the top with a radius of 34mm and a depth of 3mm, leaving a flat bottom and a 3mm wide outer rim. On the t...
$fn=100; ball=7; starlen=20/1.85; starT=5; star_dis=22; r_ext=37; r_int=34; baseT=5; totalT=baseT-2+starT; module star(posX,posY) { translate([posX,posY]) linear_extrude(height = starT, center = true, convexity = 10, twist = 0) { polygon( points=[[0,starlen],[starlen*25/100,starlen*28/100],[starlen,...
glb/cad_14a9de934dad.glb
Create a Dragon Ball keychain consisting of a circular base with embedded stars. Start by creating a hollowed circular disc with an outer radius of 37mm, an inner radius of 34mm, and a thickness of 5mm. On the top surface of this base, place seven five-pointed stars. Each star should have a length of approximately 10...
$fn=100; ball=7; starlen=20/1.85; starT=5; star_dis=22; r_ext=37; r_int=34; baseT=5; totalT=baseT-2+starT; module star(posX,posY) { translate([posX,posY]) linear_extrude(height = starT, center = true, convexity = 10, twist = 0) { polygon( points=[[0,starlen],[starlen*25/100,starlen*28/100],[starlen,...
glb/cad_38ecbcd8daf1.glb
Create a 3-sided die by starting with a sphere 20mm in diameter. Modify this sphere by removing three identical cylindrical sections, each 20mm in diameter and 10mm in height. Position these cylinders so they are rotated 120 degrees apart around the X-axis, with each cylinder's center shifted 10mm along the Z-axis rela...
dd=20; difference(){ minkowski(){ difference(){ sphere(d=dd, $fn=48); for(r = [1,2,3]){ rotate([r*120-60,0,0]) translate([0,0,dd/2 * cos(60)]) { cylinder(d=dd,h=dd/2); } } } s...
glb/cad_b8bbc49c17e5.glb
Create a Mickey Mouse hat by starting with a hollow sphere that has an outer diameter of 64mm and a wall thickness of 4mm. Flatten the bottom of this sphere by removing the lower half using a cube of 64mm. To create the ears, add two thin cylinders, each with a diameter of 32mm and a thickness of 2mm. Position these cy...
hat_thickness = 4; hat_diameter = 60+hat_thickness; ear_diameter= hat_diameter/2; ear_thickness = 2; difference() { union() { sphere( r=hat_diameter/2, $fa=10, center=true ); translate( v=[hat_diameter/3,0,hat_diameter/2] ) { rotate( a=[90,0,0] ) { cylinder( h=ear_thickness, r=ear_diameter/2, center=tru...
glb/cad_d33c50e52a04.glb
Create a parametric tripod flashlight holder consisting of a main body with a tapered profile. Start by constructing a central block that is 50mm deep, with a bottom width of 38mm and a top width of 29mm, and a height of 4mm. To this base, add a central rectangular section measuring 25mm by 10mm by 10mm. Incorporate ...
h = 4; wlow = 38; whigh = 29; depth = 50; difference() { union() { rotate([90,0,0])linear_extrude(height=depth,center=true,convexity=10,twist=0) { polygon(points = [[-wlow/2,0],[-whigh/2,h],[whigh/2,h],[wlow/2,0]]); } translate([0,0,7])cube([min(whigh*0.8,25),10,10],cent...
glb/cad_0c32db08baeb.glb
Create a connector for a Raspberry Pi and camera mounting solution. Start by constructing a base block that is 10mm wide, 4mm deep, and 10mm high, positioned from -11.5mm to -1.5mm on the X-axis and -3mm to 1mm on the Y-axis. To this base, add a complex upper structure. First, create a cylinder with a radius of 5mm and...
module connector(w=2.5) { translate([1.5, w, 5]) difference() { rotate([90]) union(){ scale([1.7,1]){ cylinder(r=5, h=w); translate([-1,-5,0]) cube([6,5,w]); } } rotate([90]) translate([4,0]) cylinder(r=1.6, h=w, $fn=7); translate([...
glb/cad_c453efacf361.glb
Create a cube with side lengths of 12.5mm, 12.5mm, and a height of 10mm. This object serves as a connector for a Raspberry Pi and camera mounting solution.
use <connector.scad>; cube([12.5,12.5,10]); translate([12.5,0,0]) connectors(); translate([12.5,12.5,0]) rotate([0,0,90]) connectors();
glb/cad_4f0b906f6a10.glb
Create a Fruit Screw consisting of two identical rings joined by a central threaded section. First, construct two rings, each with an outer diameter of 15mm, a height of 7.5mm, and a central hole with a diameter of 12mm. Position these rings side-by-side so their centers are 13mm apart. Between the two rings, add a thr...
use <screwthread.scad>; fullthing(); module fullthing(){ difference() { union(){ translate([6.5,0,0])ring(); translate([-6.5,0,0])ring(); translate([0,0,1.5]) thread(3.0,12,34,20); } difference() { translate([0,0,25.1])cylinder(20,7,7); translate([0,0,25])cylinder(15,6,1); } } } module rin...
glb/cad_146aac947cdd.glb
Create a Fruit Screw consisting of a threaded cylinder. The object should have a total height of 3mm and a major diameter of 7mm. Construct the body using a metric triangular screw thread with a pitch of 1mm. The thread should wrap around a central core with a minor diameter of approximately 4.13mm. Ensure the rotation...
module screwthread_triangle(P) { difference() { translate([-sqrt(3)/3*P+sqrt(3)/2*P/8,0,0]) rotate([90,0,0]) cylinder(r=sqrt(3)/3*P,h=0.00001,$fn=3,center=true); translate([0,-P/2,-P/2]) cube([P,P,P]); } } module screwthread_onerotation(P,D_maj,step) { H = sqrt(3)/2*P; D_min = D_maj - 5*sqrt(3)/8*P; f...
glb/cad_acf6a5ca1f5d.glb
Create a hollow sphere with an outer radius of 32.5mm and a wall thickness of 3mm. To achieve this, center a sphere of 32.5mm radius and remove a concentric inner sphere with a radius of 29.5mm.
default_radius = 32.5; default_thickness = 3; ball(); module ball(radius = default_radius, thickness = default_thickness) { translate([0, 0, radius]) difference() { sphere(radius); sphere(radius-thickness); } } module mendel_plate(radius = default_radius, thickness = default_thickness) { for(i = [0:2]) { r...
glb/cad_102ec581bf8a.glb
Create a vacuum hose and tool adapter consisting of two stacked, hollow cylindrical sections. First, create a base cylinder with a height of 50mm, an outer radius of 18.415mm, and a concentric inner hole with a radius of 15.725mm. Directly on top of this base, starting at a height of 45mm, place a second hollow cylinde...
difference() { cylinder($fn = 500, h = 50, r1 = 18.415, r2 = 18.415, center = true/false); cylinder($fn = 500, h = 50, r1 = 15.725, r2 = 15.725, center = true/false); } translate([0,0,45]) difference() { cylinder($fn = 500, h = 75, r1 = 17.4, r2 = 17.4, center = true/false); cylinder($fn = 500, h = 75, r1 = 14...
glb/cad_374c7718383f.glb
Create a spool adapter consisting of a tiered cylindrical body with a central hole. Start by creating a base cylinder 40mm in diameter and 5mm in height. On top of this base, center a second cylinder 30mm in diameter and 10mm in height. Add a third, thin cylindrical lip on top of the second cylinder with a height of 2m...
External_Busing_Diameter = 40; Internal_Spool_Diameter = 30; Tube_Or_Support_Diameter = 19; Lip_Diameter = 1.5; e_diam = External_Busing_Diameter; i_diam = Internal_Spool_Diameter; t_diam = Tube_Or_Support_Diameter; l_diam = Lip_Diameter; difference(){ union(){translate([0,0,0]) linear_extrude (5,$fn=80) c...
glb/cad_1bb5d2a79468.glb
Create a Temperature Calibration Tower. Start by creating a main rectangular prism with a base of 20mm by 20mm and a total height of 110mm. Along one side of the tower, create a series of rectangular cutouts to test bridging. Every 10mm of height, starting from the base, remove a section that is 2mm wide, 15mm deep, ...
machine = "Printrbot / Hatchbox"; BottomTemperature = 220; TowerHeight = 110; TowerSide = 20; HeightIncrement = 10; TemperatureIncrement = 4; EmbossHeight = 0.5; Indent = 2; difference() { cube([TowerSide, TowerSide, TowerHeight]); for(currentHeight=[0:HeightIncrement:TowerHeight-HeightIncrement]) {...
glb/cad_b84259c930ee.glb
Create a Bed Leveler Test consisting of a thin, square hollow frame. Start by creating a solid cube measuring 180mm in width, 180mm in depth, and 0.5mm in height. From the center of this volume, remove a smaller concentric cube measuring 178mm in width and 178mm in depth with the same height of 0.5mm. The resulting geo...
bedWidth = 180; bedDepth = 180; pathWidth = 1; printHeight = .5; doublePathWidth = (2 * pathWidth); innerBedWidth = (bedWidth - doublePathWidth); innerBedDepth = (bedDepth - doublePathWidth); difference(){ cube([bedWidth, bedDepth, printHeight], true); cube([innerBedWidth, innerBedDepth, printHeight], true); }
glb/cad_a16f24d94ad4.glb
Create a stone door archway. Start with a base platform that is 34mm wide, 10mm deep, and 6mm high, with the bottom edges angled inward at 70 degrees. On each side of the doorway, stack 5 rectangular stone blocks. Each block should be 12mm wide, 6mm high, and 10mm deep, with corners rounded to a 1mm radius. Position ...
arch_num=7; width=12; thick=10; door_width=20; block_height=6; blocks_high=5; curve=1; $fn=20; include_door="yes"; door_thick=3; include_base="yes"; base_scale=1; base_angle=70; ri=door_width/2; ep=0.001; translate([0,0,block_height*blocks_high]) rotate([90,0,0]) door_without_base(); if(include_base=="y...
glb/cad_ed540cebbc32.glb
Create a decorative container consisting of a main body and a matching lid. For the main body, create a hollowed-out squashed torus with a radius of 25mm and a minor radius of 2mm, with a total height of 10mm. The walls should have a thickness of 2mm and the bottom should be 2mm thick. Within the walls of the body, c...
include <constants.scad>; include <common_parameters.scad>; layout="preview-generic"; echo ("Running build for", layout); generic_container_version = "1.1"; use <holes.scad>; use <torus.scad>; module generic_container(box_height, radius, minor_radius, wall_thick, bottom_thick, spiro_steps, spiro_line_width, hole_le...
glb/cad_b30842c74640.glb
Create a decorative container with a hinged lid. The main body is a hollow cylinder with a height of 40mm, an outer radius of 20mm, and a wall thickness of 3mm. The bottom of the container is closed with a base thickness of 3mm. On one side of the upper wall, integrate a cylindrical hinge housing. This housing consist...
use <generic_container.scad>; use <torus.scad>; use <pins.scad>; include <constants.scad>; include <common_parameters.scad>; layout="preview-pin"; pin_container_version = "1.1"; echo ("generic container version", generic_container_version); echo ("pin container version", pin_container_version); module container_with...
glb/cad_1f77b86821cc.glb
Create a 3D text model of the word "Crose" using a bold, sans-serif font. The letters should have a height of 42mm and be extruded to a thickness of 5mm. Position the base of the text at the coordinates (150, 0, 85) and ensure the letters are oriented vertically. Use a facet resolution of 16 for any curved elements wit...
use <logo.scad> translate([150, 0, 85]) green() t("Crose", 42, ":style=Bold"); module t(t, s = 18, style = "") { rotate([90, 0, 0]) linear_extrude(height = 5) text(t, size = s, font = str("Liberation Sans", style), $fn = 16); } module green() color([81/255, 142/255, 4/255]) children(); module black() c...
glb/cad_4b4f26b5a89b.glb
Create a collimating slit by starting with a rectangular plate that is 20mm wide, 10mm high, and 0.1mm thick. Cut a narrow rectangular slot through the center of the plate to create the slit. This slot should be 0.025mm high and 18mm wide, leaving a 1mm border of material on both the left and right sides of the plate. ...
width=20; height=10; depth=0.1; slit_height=0.025; $fa=1; $fs=1; difference() { cube([width,height,depth], 0); translate([1,height/2, 0]) cube([width-2,slit_height,depth], 0); }
glb/cad_5f5e29e56a99.glb
Create a shock absorber model consisting of a central helical structure capped at both ends. Start by generating a series of 60 identical vertical strands, each based on a circle with a 2mm radius. Position these circles at a 10mm offset from the center axis and distribute them evenly every 6 degrees around the center....
$fn = 60; height = 30; twist = 0.5; step = 6; offset = 10; radius = 2; union(){ for (i = [0:360/step:360]) { rotate ( [0,0,i] ) { linear_extrude(height = height, center = true , convexity = 10, twist = twist*360) translate([offset, 0, 0]) circle(r = radius); } } translate ( [0, 0, -height/2] )...
glb/cad_c2406f0f4c12.glb
Create a jewelry tree called the Thrombic Aorta. The overall structure consists of three identical main trunks radiating from a center point, each rotated 120 degrees from the others. Each trunk is a complex, organic assembly of branching arms. Construct a single trunk by creating a series of 48 stacked, hull-merged s...
flat_bottom = true; all = true; both = false; s = 0.15*1; k = 1; u = 15; v = 2; w = 2; num = 64; nozzleDiameter = 0.4; thickness = 1; $fn = 6; x = 30*cos(2*PI*60*$t); color("Red") object(); module object() { scale([1, 1, 1.65]) difference() { shape(x); if (flat_bottom) translate...
glb/cad_a1e4876e26d0.glb
Create a Breadboard PSU PCB Support bracket. Start with a central rectangular base measuring 8mm wide by 53mm long and 4mm thick. Drill two 3mm diameter holes vertically through this base, centered at 4mm from the side edge, with the first hole positioned 16mm from the bottom and the second 37mm from the bottom. On bo...
module block() { linear_extrude(10) polygon([[0,0],[15,0],[15,10],[0,10]]); translate([0,0,10]) linear_extrude(1.5) polygon([[0,0],[15,0],[15,10],[12,10],[12,5],[0,5]]); translate([0,0,11.5]) linear_extrude(2) polygon([[0,0],[15,0],[15,10],[12,10],[12,8.25],[0,7]]); } module drill_hole(drill_height) { linear_extrude...
glb/cad_ab7144cc189a.glb
Create a hollow cylindrical tube with an outer radius of 40mm and a total height of 98mm. The wall thickness of this tube is 5mm, meaning the inner void is a cylinder with a radius of 35mm. Along the inner wall of the tube, create four rectangular slots. Each slot should be 4mm wide, 6mm deep, and extend vertically for...
tube(40, 98, 2, false, true); module innerTube(radius, height, center = false, handle = false) { if(handle) { translate([0, 0, 3.85]) minkowski() { cylinder(10, radius-5, radius-5); sphere(4); } } difference() { cylinder(height, handle ? (radius / 2 - 1) : (radius - 1), radius); translate([0, 0, -1]...
glb/cad_c8a03dfbfd4a.glb
Create a V9 JGR Extruder by constructing a main body and a separate clamping component. Start with a central mounting block for a NEMA 17 motor. Create a cube 42mm wide and 42mm deep with a height of 12.5mm. In this block, place four vertical holes with a radius of 1.8mm, positioned at the corners (15.5mm from the ce...
hh=12.5; extruder(); translate([0,40,0])clamp(); module clamp(){ difference(){ translate([-29/2,1,0])cube([29,8,10]); translate([0,0-0.5,10]){ rotate([90,-45,180])teardrop(radius=8,height=5.9); rotate([90,-45,180])teardrop(radius=12/2,height=20); #translate([6.125+4,5,0])cylinder(r=2.1,h=50,center = true); #translate...
glb/cad_40abf5acec9b.glb
Create an Ouroboros Bracelet by constructing a flexible, segmented ring. The main body is formed by repeating a base unit consisting of two mirrored snake-body segments joined at their ends. Integrate a detailed snake head sculpture at one end and a tail at the other so the head appears to consume the tail. The bracel...
bracelet(L=L1/2,p=L1/4); translate([0,20,0])bracelet(L=L1/2,p=-L1/4); T=0.3; wn=1; n=20; cw=3; ct=4; off=0.5; tol=0.5; W=200/3.5; L1=200-W/2; s=L1/n; ol=s+wn; module base(){ render() union(){ translate([100,0,0])import_stl("snakebody.stl",convexity=2); translate([-100+W/2,0,0])import_stl("snakebody.stl",convexity=...
glb/cad_a8734f252c64.glb
Create a multicopter arm connector support starting with a solid rectangular block measuring 60mm in length, 33mm in width, and 12mm in height. From this base, remove several sections to create the final geometry. First, carve out two rectangular notches from the front end: one measuring 7.5mm by 3.5mm positioned at th...
difference() { cube([60,33,12]); translate([9,36,7]) rotate(a=[90,0,0]) cylinder(h=39, d=4.4, center=false); translate([46,8,0]) cylinder(h=24, d=4, center=false); translate([46,25,0]) cylinder(h=24, d=4, center=false); translate([5.25,5,0]) cube([7.5,3.5,11]); translate([5.25,24.5,0]) cube([7...
glb/cad_4f444b2edd5d.glb
Create a gear for a filament extruder puller with 11 teeth. The gear should have a circular pitch of 270mm and a pressure angle of 21 degrees. Set the overall gear thickness to 8mm, with the rim thickness also at 8mm and a rim width of 5mm. The gear must feature a central hub with a thickness of 15mm and a diameter o...
use <MCAD/involute_gears.scad> 00_build_plate = 0; 01_number_of_teeth = 11; 02_circular_pitch = 270; 03_pressure_angle = 21; 04_clearance = 0; 05_gear_thickness = 8; 06_rim_thickness = 8; 07_rim_width = 5; 08_hub_thickness = 15; 09_hub_diameter = 20; 10_bore_diameter = 6.6; 11_circles = 5; 12_backlash = ....
glb/cad_8ef188a28704.glb