Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a parametric buckle by starting with a base elliptical plate that is 45mm long, 21mm wide, and 3mm thick. Centered within this plate, carve out two parallel rectangular slots, each 21.5mm long and 3.5mm wide, separated by a central strip of material. The slots should be positioned symmetrically along the longitu...
$fs=0.35; $fa=1; tol = 0.01; ox = 45/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([slotx/2 + ox/4,0,0]) cylinder(r=2*sloty/3, h=thick); translate([-(slotx/2 + ox/4),0,0]) cylinder(r=2*sloty/3, h=thick);...
glb/cad_4e366b70aaa6.glb
Create a 3-way symmetric joint by starting with a main cube that is 9mm wide, 9mm deep, and 12mm tall. On the top face of this cube, center a smaller square prism that is 2.99mm wide, 9mm deep, and 3mm tall. To complete the joint, add two additional small rectangular protrusions: one positioned at the top-center, measu...
width=9; height=12; tolerance=0.01; module joint(width, height){ cube([width, width, height]); translate([0,0,height]){cube([width/3-tolerance/2,width, width/3]);} translate([0,width/3+tolerance/2,height+width/3]){ cube([width/3-tolerance/2,width/3-tolerance,2*width/3]);} translate([2*width/3...
glb/cad_0a8073111555.glb
Create a Venturi water pump consisting of a main vertical cylinder and a side-mounted threaded adapter. The main body is a hollow cylinder with an inner radius of 21.5mm. At the bottom, create a tapered internal nozzle that narrows from the main radius down to a throat radius of 8mm over a length of 15mm. This throat...
pr=43/2; wt=3; fr=6/2; to=27.5; th=2; ho=25; hh=14; tr=16/2; tl=15; vh=80; nr=4/2; nw=1.2; no=10; 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.01,$fn=3,center=true); translate([0,-P/2,-P/2]) cube([P,P,P]); } } ...
glb/cad_404f5892e6c9.glb
Create a 3D model of a "Text Around the Corner" sign consisting of two rectangular bars meeting at a 90-degree angle. First, create a rectangular base bar with dimensions 23mm in length, 3mm in width, and 1mm in thickness. Centered on the top face of this bar, add the 3D text "do or do not" using a Bauhaus 93 font. T...
font = "Bauhaus 93"; leftText = "do or do not"; leftFontSize = 6; rightText = "there is no try"; rightFontSize = 6; leftTextWallLength = 21; rightTextWallLength = 21; textWallWidth = 3; textLeftRightMargin = 1; union() { rotate([90, 0, 0]) textWall(text=leftText, length = leftTextWallLength, ...
glb/cad_8f854c2b9c3d.glb
Create a Circular Diz Fiber Tool by starting with a main cylindrical disc that has a diameter of 50mm and a height of 4mm. Remove a smaller concentric cylinder from the top face to create a shallow lip; this inner recessed area should have a radius equal to 90% of the main disc's radius. Within this disc, create thre...
$fn = 64*1; diameter = 50; height = 4; number_of_holes = 3; hole_diameter_start = 5; hole_diameter_end = 15; hole_offset = 10; lip_ratio = 70; edge_ratio = 90; main(); module main(){ difference(){ cylinder(h = height, r = diameter/2); if (number_of_holes == 1) { oneHole(); } else if (number_of_holes == 2) ...
glb/cad_00ca0df8bf31.glb
Create a customizable organization box consisting of a base and a lid. The base is a rounded rectangular prism with an outer width of 50mm, depth of 30mm, and a total height of 40mm. The base features a hollow interior created by removing a rounded rectangular volume starting 1.4mm from the bottom, leaving walls 1.4mm ...
showClosed = 1; showParts = 0; boxWidth = 50; boxDepth = 30; boxHeight = 40; lidHeight = 15; numSeparatorsX = 2; numSeparatorsY = 2; wallThickness = 1.4; tolerance = 0.2; textBase = "Text"; textBaseSize = 7; textLid = "Your"; textLidSize = 8; wt = wallThickness; corner = 2; $fn=60; il=9; iw=wt/2-tolera...
glb/cad_2aa5e9b2c9a7.glb
Create a Prusa i3 groove mount with a proximity sensor holder. Start with a rectangular base measuring 69.5mm x 28mm x 4mm. In the center of this base, create a cutout consisting of a cylinder with a 6mm radius and a rectangular slot measuring 12mm wide and 14mm long. Position two circular holes with a diameter of 3.5m...
include <nutsnbolts/cyl_head_bolt.scad> jhead_diameter = 12; hole_distance = 50; hole_diameter = 3.5; groove_mount = [69.5,28,4]; proximity_sensor_mount = [groove_mount[1]+groove_mount[2], groove_mount[1], groove_mount[2]]; rail_distance = 12; proximity_sensor_diameter = 12.3; proximity_sensor_grabber_thickness = 3; ...
glb/cad_e009a9c2f4ff.glb
Create a Nema17 stepper motor model. Start by constructing a main rectangular body that is 42.3mm wide, 42.3mm deep, and 39mm tall. The four vertical edges of this body should be rounded with a radius of 3mm. Centered on the top face of this body, add a cylindrical protrusion with a radius of 11mm and a height of 41mm....
module Nema17(xdim ,ydim ,zdim,rdim,shaft){ translate([xdim/2,ydim/2,0])cylinder(r=shaft,h=65, $fn=50); translate([xdim/2,ydim/2,0])cylinder(r=11,h=41, $fn=50); difference(){ union(){ hull(){ translate([rdim,rdim,0])cylinder(h=zdim,r=rdim, $fn=4); translate([xdim-rdim,rdim,0])cylinder(h=zdim,r=rdim, $f...
glb/cad_f0a01b7da938.glb
Create a low-poly Cherry MX keycap with a height of 12mm. The main body is a faceted, irregular polyhedron with a base footprint of 18mm by 18mm and a flat top surface measuring 12mm by 12mm. The sides should taper upward from the base to the top, using sharp, angular facets rather than smooth curves to achieve a geome...
topSize = 12; bottomSize = 18; topOffsetX = (bottomSize - topSize) / 2; topOffsetY = bottomSize - topSize; keyHeight = 12; stemTolerance = 0.3; stemDiameter = 5.54 + stemTolerance; stemLength = 4.10 + stemTolerance; stemWidth = 1.35 + stemTolerance; buildingRadius = 1; module plate(size) { hull() { sphere(buildi...
glb/cad_1a7805163668.glb
Create a low-resolution ring by constructing a cylinder with a height of 4mm and a radius of 7.55mm. The cylinder must be rendered with a very low facet count, specifically using only 6 sides to create a hexagonal prism shape. From the center of this prism, remove a smaller concentric hexagonal prism with a height of 4...
color("yellow") difference () {cylinder(h = 4, r=7.55, $fs=1); translate([0, 0, 0]) cylinder (h=4, r=5, $fs=1);}
glb/cad_aa5881554b36.glb
Create a PIR occupancy sensor ceiling mount. Start by creating a main cylindrical base with a radius of 30mm and a height of 40mm. On top of this base, add a wider cylindrical collar with a radius of 40mm and a height of 6mm. The outer edge of this collar should have a rounded fillet with a radius of 3mm, and a small v...
smoothness = 60; difference() { union() { color("red") { translate([0, 0, 18]) cylinder(h = 6, r = 40, $fn = smoothness); rotate_extrude(convexity = 10, $fn = smoothness) { translate([40, 21, 0]) circle(r = 3, $fn...
glb/cad_1a578c87a82f.glb
Create a Ceiling Grid Clip for mounting speakers. Start with a main rectangular clip body that is 25.4mm wide, 2mm thick, and 10mm high. On the top and bottom edges of this body, add two small rectangular extensions that are 6mm wide, 1mm thick, and 10mm high, positioned to create a channel. From the center of the cli...
clip_width = 25.4; make_ball = false; key_size = 9; post_extender = 40; translate([-5.5,-1,0]) cube([6,1,10]); translate([0,-1,0]) cube([1,3,10]); translate([-5.5,clip_width,0]) cube([6,1,10]); translate([0,clip_width-2,0]) cube([1,3,10]); rotate([0,0,90]) translate([0,3.5,0]) cube([clip_width,2,10]); if(make_ball ...
glb/cad_fc40771aa434.glb
Create a 1:14 scale air conditioning unit consisting of a main housing, a fan, and a protective grille. Start with a rectangular housing 50mm wide, 35mm deep, and 40mm high. Hollow out the center of the block, leaving a wall thickness of 5mm. On the left side, create a rectangular inlet opening that is 30mm high and ...
$fn = 100; unit_breedte = 50; unit_hoogte = 40; unit_diepte = 35; as = 1.5; as_lengte = 2; blad_dia = 5; blad_dikte = 1; blad_lengte = 4; servo_breedte = 24; servo_diepte = 12.6; servo_hoogte = 28; rotate([90,180,0]) translate([0,0,-15]) servo_houder(servo_breedte,servo_diepte,servo_hoogte, 1); color("white") airc...
glb/cad_4737d24ef93f.glb
Create a site office door and frame assembly. First, construct a rectangular outer frame measuring 70mm wide by 140mm high with a thickness of 4mm. Hollow out the center of this frame to create a recessed opening that is 50.5mm wide and 120.5mm high. Create a door slab that is 48.5mm wide, 118.5mm high, and 3mm thick....
$fn = 150; deur_hoogte = 118.5; deur_breedte = 48.5; deur_hoogte_in_frame = 120.5; deur_breedte_in_frame = 50.5; deur_frame = 4; deur = 3; buitenframe_hoogte = 140; buitenframe_breedte = 70; raam_hoogte = 40; raam_breedte = 30; teken_frame(); mirror([1,0,0]) teken_deur(); translate([15,0,10]) handvat(5,10,0); mod...
glb/cad_af58f281cdb4.glb
Create a site office door and window frame by starting with a solid rectangular outer block measuring 140mm wide, 60mm high, and 6mm thick. From this block, remove a central rectangular section measuring 130mm wide and 50mm high with a wall thickness of 2mm to create a hollow perimeter frame. Within this remaining fram...
$fn = 100; raam_frame = 6; raam_dikte = 2; raam_breedte = 40; raam_hoogte = 50; buitenframe_hoogte = 60; buitenframe_breedte = 140; frame_dikte = 6; difference() { teken_buitenframe(); translate([0,0,frame_dikte/2]) frame(buitenframe_breedte, buitenframe_hoogte,frame_dikte, 2, 2); } module frame(breedte, hoogt...
glb/cad_9e0988de6813.glb
Create a shower soap holder spare part based on a hollow cylindrical form. Start with a main cylinder that has an outer radius of 13.5mm, an inner radius of 11mm, and a height of 23mm, centered on the origin. Remove a rectangular section from the center of this cylinder using a block 20mm wide, 30mm deep, and 24mm high...
module mainCylinder() { difference() { cylinder(r=13.5,h=23,center=true); cylinder(r=11,h=24,center=true); translate([8,0,0]) cube([20,30,24],center=true); } } module sides() { angle=8; ypos = 12.25; rotate(a=[0,0,-angle]) translate([12.5-5,-ypos,0]) cube([16,2.5,23],true); rotate(a=[0,0,angle]) transla...
glb/cad_d05721e4bfa4.glb
Create a Rotated Heart Fidget Spinner. Start with a central cylinder 22mm in diameter and 7mm thick, with a 22mm diameter hole through the center. Around this center, place three heart-shaped weights equally spaced at 120-degree intervals. Each heart is constructed from a central cube and two cylinders, with all edge...
hearts = 3; whichWeight = "5/16 hex nut"; radius = 2.5; cutoutSize = 15; solidSize = 17; rotateHeart = "yes"; $fn = 60; x = 0; y = 1; z = 2; inch = 25.4; bearing = [22, 22, 7]; sae = [.577*inch, .5 * inch, 7]; sae38 = [.650*inch,.562*inch, 7]; sae12 = [.866*inch, .75*inch, 7]; metric8 = [15, 13, 7]; metric10_16 ...
glb/cad_31e5ae31f30e.glb
Create a miniature chair with a total height of approximately 55.5mm. Start by creating a rectangular seat measuring 27.6mm wide by 28.9mm deep with a thickness of 3mm, ensuring the edges are slightly rounded. Position four square legs, each 3mm by 3mm in cross-section and 31mm long, at the four corners of the seat. ...
stoel_zitvlak_breedte = 400/14.5; stoel_zitvlak_diepte = 420/14.5; stoel_zitvlak_hoogte = 3; stoel_lengte_poot = 460/14.5; leuning_breedte = 400/14.5; leuning_diepte = 2; leuning_hoogte = 810/14.5-460/14.5; leuning_verhoging = (810/14.5-(460/14.5))/2; $fn = 150; stoel(leuning_breedte, leuning_diepte, leuning_hoogte, ...
glb/cad_086fa1d199ba.glb
Create a meeting table consisting of a thin rectangular top and four tapered legs. The tabletop should be a rectangular slab measuring 144.83mm in length, 62.07mm in width, and 2mm in thickness. Position four legs underneath the tabletop, each placed at a distance of 48.28mm from the center along the length and 20.69...
$fn = 100; tafel_lengte = 2100/14.5; tafel_breedte = 900/14.5; tafel_dikte = 2; lengte_poot = 745/14.5; tafel(tafel_lengte, tafel_breedte, tafel_dikte); translate([tafel_lengte/3, tafel_breedte/3, 2]) tafelpoot(lengte_poot); translate([-tafel_lengte/3, tafel_breedte/3, 2]) tafelpoot(lengte_poot); translate([t...
glb/cad_7114d3084fb9.glb
Create a 1:14 scale 200L oil drum as a hollow cylinder. The main body should have an outer diameter of 40.4mm and a total height of 61.3mm. The wall thickness of the cylinder should be 1.5mm. To add structural detail, incorporate two raised reinforcement rings around the exterior. Position the first ring 10.2mm above t...
diameter = 40.4; radius_vat = diameter/2; hoogte_vat = 61.3; middel_verbreding = (hoogte_vat/2) / 3; verstevigingsranden = middel_verbreding / 3; $fn=100; module vat(radius, hoogte) { cylinder(r=radius, h=hoogte, center=true); translate([0,0,middel_verbreding]) minkowski() { cylinder(r=radius_vat,h=0.5);...
glb/cad_21066decc3e7.glb
Create a 1:14 scale 200L oil drum lid. Start with a main circular disk that has a diameter of 40.4mm and a thickness of 1mm. Add a raised outer rim around the perimeter of this disk with a width of 0.6mm and a height of 0.5mm. On the top surface of the disk, place two hexagonal protrusions. The first protrusion is a he...
diameter = 40.4; radius_vat = diameter/2; hoogte_vat = 61.3; middel_verbreding = (hoogte_vat/2) / 3; verstevigingsranden = middel_verbreding / 3; $fn=100; module vat(radius, hoogte) { translate([0,0,(hoogte_vat/2)]) { translate([(radius_vat/3)*2,0,0]) hoofdgat(); translate([-(radius_vat/3)*2,0,0]) luc...
glb/cad_6e12dbb571e3.glb
Create a 1:14 scale 200L oil drum lid. Construct a thin, hollowed-out cylinder with an outer diameter of 40.4mm and a total height of 2mm. The walls of the cylinder should be 0.6mm thick, creating a circular rim around a flat, recessed center. Ensure the edges of the geometry are slightly rounded with a radius of 0.6mm...
diameter = 40.4; radius_vat = diameter/2; hoogte_vat = 61.3; middel_verbreding = (hoogte_vat/2) / 3; verstevigingsranden = middel_verbreding / 3; $fn=100; module vat(radius, hoogte) { difference() { translate([0,0,(hoogte_vat/2)]) minkowski() { cylinder(r=radius_vat,h=0.5); sphere(r=0.6); } ...
glb/cad_2bce42b345a6.glb
Create a Panel Clip by starting with a solid rectangular block measuring 29.4mm in width, 19mm in height, and 25.4mm in depth. From this main block, carve out two wide, rectangular slots that run the full depth of the object to create a gripping mechanism for two different panel thicknesses. The first slot should be ...
clip_length = 25.4; clip_thickness = 2; clip_height = 15; clip_gap1 = 3; clip_gap2 = 2; gDefaultExtent = clip_length/2; gGap1 = clip_gap1; gGap2 = clip_gap2; gDefaultThickness = clip_thickness; gDefaultLength = clip_height; HClip2(gDefaultLength, gDefaultExtent, gDefaultThickness, gGap1, gGap2); module HClip2(le...
glb/cad_4419a3dc265a.glb
Create a Feed Fish automatic feeder support by starting with a solid rectangular block measuring 30mm wide, 64mm deep, and 26mm high. From this main volume, remove a rectangular section measuring 4mm wide, 67mm deep, and 17mm high, positioned 2mm from the side and extending slightly beyond the front and back edges. Add...
module soporte(){ difference(){ cube([30,64,26]); translate([2,-2,-1]) cube([4,67,17]); translate([8,2,2]) cube([21,60,30]); } } module soporte_abierto(){ difference(){ rotate([90,0,0]) soporte(); translate([28,-4,12]) rotate([90,0,0]) cube([21,40,30]); } } translate([0,0,0]) rotate([-90,0,0]) soporte_abierto();
glb/cad_c90d4c0223be.glb
Create a Feed Fish automatic feeder consisting of two main parts: a base and a lid. For the base, create a cylinder with a diameter of 42mm and a height of 4mm. Remove a smaller concentric cylinder from the center with a diameter of 40.5mm and a height of 8mm. Add two small rectangular tabs to the outer wall, each meas...
module base(){ difference(){ cylinder(d=42,h=1,$fn=50); translate([0,0,-5]) cylinder(d=4,h=20,$fn=50); } difference(){ union(){ cylinder(d=42,h=4,$fn=50); translate([21,-1.4,0]) cube([2,0.8,6]); translate([21,0.6,0]) cube([2,0.8,6]); translate([-22,-1.4,0]) cube([2,0.8,6]); translate([-...
glb/cad_16f37814c28d.glb
Create a San Valentines Keychain by combining several extruded geometric elements. First, create a 3D letter "A" extruded to a height of 8mm, positioned at coordinates (8, 8). Next to it, create a 3D letter "B" extruded to a height of 10mm, positioned at (28, -8). Add a base layer by extruding a 20mm square and two 10m...
Left_heart_letter = "A"; Rigth_heart_letter = "B"; linear_extrude(height = 8) translate([8, 8]) { text(Left_heart_letter); } linear_extrude(height = 10) translate([28, -8]) { text(Rigth_heart_letter); } module flatstuff() { square(20); translate([10,20,0]) circle(10); translate([20,10,0]) circle(10); ...
glb/cad_71d03f3fdc4b.glb
Create a customized dog tag in the shape of a bone with a thickness of 5mm. The main body consists of a central rectangular block measuring 30mm wide by 50mm long, with two circular lobes at each end. Each lobe is formed by two overlapping cylinders with a radius of 14mm, positioned so that the overall shape resembles ...
pet_name="NAME"; phone_number="000-0000000"; bone_height = 5; font_height=2; module t(t){ translate([-1,(-len(t)*3.8),bone_height]) rotate([0, 0, 90]) linear_extrude(height = font_height) text(t, 10, $fn = 16); } module t2(t){ translate([-1,(-len(t)*3.8),bone_height]) rotate([0, 0, 90]) linear_ex...
glb/cad_fe04d137f31e.glb
Create a Breeding Tank Sponge Filter housing consisting of a circular base and a vertical standpipe. Start with a base ring that has an outer radius of 45mm, an inner radius of 40mm, and a height of 5mm, using a 30-facet resolution. Centered on this ring, add two perpendicular radial supports, each 88mm long, 5mm wide,...
difference() { union() { difference() { cylinder(r=45, h=5, $fn=30); cylinder(r=40, h=5.1, $fn=30); } difference() { cylinder(r=10, h=105, $fn=20); translate([0,0,5]) cylinder(r=8, h=105, $fn=20); } translate([0,0,2.5]) cube(size=[88,5,5], center=true); translate([0,0,2.5]) rotate(90) cube(s...
glb/cad_8751e058ee8e.glb
Create a heart-shaped jewelry module by combining three primary geometric primitives and applying a rounding effect with a sphere of radius 0.5mm. First, construct the core shape by joining a cube with dimensions 10mm x 10mm x 2mm, centered at the origin, with two cylinders. Position the first cylinder with a diameter ...
x=2; y=10; $fn=30; module Heart(x,y); color("red"){ minkowski(){ union () { translate([y/2,0,0])cylinder(x,d=y,center=true); translate([0,y/2,0])cylinder(x,d=y,center=true); cube([y,y,x],true);} sphere(radius =x/4); }}
glb/cad_31ae0b20a85b.glb
Create a cam lock cover consisting of a thin circular base and a centered cross-shaped protrusion. Start by creating a flat cylinder with a diameter of 14.7mm and a height of 0.8mm to serve as the base. Centered on top of this base, add a cross formed by two intersecting rectangular prisms, both with a height of 3.5mm....
$fn=120; crossDepth = 3.5; crossThickness = 1.2; crossHeight = 8.9; crossWidth = 6.4; capDepth = 0.8; capDia = 14.7; translate([0, 0, capDepth]) linear_extrude(crossDepth) square([crossThickness, crossHeight], center=true); translate([0, 0, capDepth]) linear_extrude(crossDepth) square([crossWidth, crossThickness], c...
glb/cad_c36d3415599c.glb
Create a parametric shovel and sieve tool. Start by constructing a hollow rectangular scoop with an outer width of 160mm, length of 130mm, and height of 40mm. The walls should have a uniform thickness of 2mm. All exterior edges and corners of the scoop must be rounded with a radius of 20mm. The top opening of the scoop...
module pala(ancho=160, largo=130, alto=40, grosor=2, angulo_corte=25, largo_mango=80, radio_mango=10, huecos=false, anchura_hueco=4, distancia_huecos=4, curvatura=20){ module cubo_s(ancho=40, largo=80, h=30, curvatura = 20){ minkowski(){ cube([ancho-(curvatura), largo-(curvatura), ...
glb/cad_4701392b1e20.glb
Create a heart-shaped plaque with a recessed center. To form the main body, rotate a composite shape 45 degrees and combine a cube of 10mm x 10mm x 1mm with two cylinders of 10mm diameter and 1mm height, one positioned at [5, 0, 0] and the other at [0, 5, 0]. Apply a Minkowski sum with a sphere of 0.25mm radius to smoo...
text = "Align"; font = "Liberation Sans"; size = 3; height=2 ; translate([0,4,-.5]) Text("UR IN"); translate([0,-2-.5]) Text("My"); difference() { Heart(1,10); translate([0,0,2.1]) Heart(1/2,8); } module Text(Text){ linear_extrude(height = height) {text(text = Text, font = font, size = size, hal...
glb/cad_eaf3bd7468bf.glb
Create an auto bed-leveling servo mount consisting of a rectangular base block measuring 40mm wide, 6.35mm thick, and 33.5mm deep. Centered within this block, create a rectangular cutout for the servo that is 23.5mm wide and 13.5mm high. On the top surface of the block, add two mounting holes with a diameter of 3.5mm....
servo_width=23.5; servo_height=13.5; servo_bolt_size=3; servo_bolt_hd_size=4.5; mount_bolt_size = 3.5; mount(0); module mount(Tab) { rotate([90,0,0]) { union(){ difference(){ mainblock(Tab); if(Tab) translate([0,0,3]) servo_hole(Tab); if(Tab == 0) translate([0,0,7]) servo_hole(Tab); } } } } m...
glb/cad_bfd7b01b90a3.glb
Create an auto bed-leveling servo mount consisting of a switch holder and a servo lever. First, construct the switch holder as a rectangular block 5mm thick, 29mm wide, and 15mm high. Drill two vertical holes through this block with a diameter of 3.2mm, spaced 22mm apart. Add a small 5mm cubic gusset at the base, ang...
Z_Rod_dia=10; Screw_dia=3.2; Screw_Thread_dia=2.5; Switch_ht=15; Switch_thk = 5; Switch_hole_sep=22; Switch_hole_offset = 10; Nut_wrench_size = 5.5; Nut_depth = 2.3; Nylok_depth = 4; Lever_wd = 12; Lever_ht = 33; Servo_dia = 8.2; rotate([0,-90,0]) { switch_side(0); lever(); } module switch_side(Right) { if(Right)...
glb/cad_5ee719c5ee2c.glb
Create a "Decorated Dodecahedrons as Ornaments" model by starting with a truncated dodecahedron scaled by a factor of 9.5. Decorate the faces of this polyhedron by placing two types of pentagram-based ornaments at the centers of the faces. First, create a solid pentagram with a thickness of 4mm and a side length of 2...
dist = 29; dist2 = 28; mark = 1; difference() { union() { rotate([(acos(-1/sqrt(5)))/2,0,0]) union() { decoration( 0.8506508, 0.5257311, 0.0000000,36,dist); decoration( 0.5257311, 0.0000000, 0.8506508,18,dist); decoration( 0.0000000, 0.8506508, 0.5257311,-18,dist); decoration( 0.0000...
glb/cad_a5a539d22a85.glb
Create a 3D model of a 28BJY-48 stepper motor. Start with a main cylindrical body that has a radius of 14mm and a height of 19mm. Attach a rectangular block to the side of this cylinder, measuring 14.6mm in width, 10mm in depth, and 19mm in height, aligned to the cylinder's height. On the top face of the cylinder, cen...
$fn=200; union() { union() { color("grey") cylinder(h = 19, r = 14); color ("blue") translate([-7.3,-17,0]) cube([14.6, 10, 19]); } color("grey") translate([0,8,19]) cylinder(h = 1.5, r = 4.5); color("grey") translate([17.5,0,18]) difference() { union() { ...
glb/cad_1c1f1dc60112.glb
Create a wall cradle for an Echo Dot v2. Start by constructing a base consisting of two stacked cylinders: a bottom cylinder with a height of 3mm, a bottom radius of 42mm, and a top radius of 44.5mm, topped by a second cylinder with a height of 36mm and a constant radius of 44.5mm. From this combined volume, remove a...
difference(){ union(){ cylinder(h=3,r1=42,r2=44.5,center=false); translate([0,0,3]){ cylinder(h=36,r=44.5,center=false); } } translate([0,0,3]){ cylinder(h=34,r=41.5,center=false); cylinder(h=100,r=38.5,center=false); } translate([-50,0,0]){ cube([100,50,100]); } translate([-30,-30,0]){ cylind...
glb/cad_64dcd5482480.glb
Create a "Serious Bank" container by constructing a hollowed-out geometric shell. Start with a cube of 100mm, rotate it 45 degrees around the Z-axis and 55 degrees around the Y-axis, and then intersect it with a second cube of the same size to create a faceted, diamond-like outer volume. Create the shell by subtracting...
use <write/Write.scad>; round = 0; l=100; t=0.5; i=20; iw = 2; slotL = 45; slotW = 5; slotLip = 2; slice = 0; module bankShape(s) { echo("bank shape ",s); intersection() { difference () { rotate([0,55,0]) rotate([0,0,45]) cube(s, center=true); translate([s/10,0,0]) translate([0,0,-s]) cube(s, center...
glb/cad_2ac4edc67956.glb
Create a "Serious Bank" money box. The main body is a hollow shell formed by a cube of 100mm, rotated 45 degrees on the Z-axis and 55 degrees on the Y-axis, then intersected with another cube to create a faceted, diamond-like volume. The walls of this shell must be 0.5mm thick. On the top face, center a rectangular mo...
use <write/Write.scad>; round = 0; l=100; t=0.5; i=20; iw = 2; slotL = 45; slotW = 5; slotLip = 2; ribSpacing = 3.5; slice = 0; module bankShape(s) { echo("bank shape ",s); intersection() { difference () { rotate([0,55,0]) rotate([0,0,45]) cube(s, center=true); translate([s/10,0,0]) translate([0,0,...
glb/cad_ba28f63937fe.glb
Create a star ornament based on a pentagram. Construct a solid 3D star by extruding a five-pointed star shape to a total thickness of 20mm (extending 10mm above and 10mm below the origin). The star's geometry is defined by two concentric pentagrams: an inner pentagram with a side length of 60mm and an outer pentagram w...
mark = 1; difference() { if (mark==1) pentagram_solid_x2(60,0,10); else if (mark==2) pentagram_solid_x2(60,15,10); translate([40,0,0]) cylinder(r=1.5,h=20,$fn=24,center=true); } module pentagram_solid_x2(l1,l2,t) { rr1 = sqrt((l1*l1)/(2-2*cos(72))); rr2 = sqrt((l2*l2)/(2-2*cos(72))); gr = (1 + sqrt(5.))/2; h = 1...
glb/cad_1d28013fa33d.glb
Create a mini drill bit handle by starting with a central cylinder 25mm tall with a radius of 4mm, centered on the origin. Cap the top of this cylinder with a sphere of the same 4mm radius. At the bottom, add a truncated cone that transitions from a radius of 2.5mm at the base to 4mm over a height of 3mm. Carve out a...
$fn=16; HoleSize = 2.0; HoleRadius = (2*HoleSize)/sqrt(3)/2; module handle() { union() { cylinder(r=4,h=25,center=true); translate([0,0,12.5]) sphere(r=4); translate([0,0,-14.0]) cylinder(h=3,r1=2.5,r2=4,center=true); } } difference() { handle(); translate([0,0,-5]) cylinder(r=HoleR...
glb/cad_222dbbc80ca2.glb
Create a penny whistle mouthpiece by combining a main cylindrical body with a shaped windway. Start with a central cylinder that has an outer diameter of 24mm and a length of 40mm. Bore a hole through the center of this cylinder with a diameter of 17.75mm. At one end, construct the mouthpiece section. This part is for...
$fn = 50; windwayWidth = 8.5; windwayHeight = 3; windwayLength = 25; windowLength = 4; lipAngle = 27; lipThickness = 2; lipBlockLength = windowLength *3; lipElevation = 0.2; fippleLength = 3; boreWidth = 17.75; tubeOuterD = 21; overlapThickness = 1.5; overlapLength = 20; mouthWidth = windwayWidth + 2; mouthHeight = w...
glb/cad_9abc5c84e753.glb
Create a Customizable Remote Holder with a base plate and tiered walls. Start with a rectangular floor measuring 185mm wide by 98mm deep and 2mm thick. Build a grid of compartments that is 3 rows deep and 3 columns wide. Each compartment should have an interior width of 59mm and a depth of 30mm, separated by walls 2mm ...
include <write/Write.scad> smallest_height=45; tallest_height=110; num_rows=3; compartment_width=59; compartment_depth=30; remotes_per_row=3; wall_thickness=2; front_text="TV TIME !"; font_size=12; font_spacing=2; height_increase_per_row=(tallest_height-smallest_height)/num_rows; total_width=remotes_per_row*compar...
glb/cad_91222e1aaf83.glb
Create a pinwheel propeller with a total height of 10mm. Start by creating a central hub using a cylinder with a bottom radius of 8mm and a top radius of 2.5mm, both with a 30-facet resolution. Around this hub, arrange five identical blades. Each blade begins as a rectangle 67mm long and 3mm wide, positioned 1.5mm away...
sides = 5; angle = 360 / sides; radius = 67; rotate([0, 0, $t*angle]) render(convexity=2) union() { difference() { union() { linear_extrude(10, scale=.25,twist=22,slices=20) for (rot = [0 : angle : 360]) rotate(rot) translate([0,-1.5,0]) square([radius,3],center=false); cylinder(h=10,r1=8,r2=2.5,$fn=30); ...
glb/cad_b3f03675e7a6.glb
Create a USB cable holder consisting of a hollow rectangular sleeve with a thin base. Start by creating a main outer body that is 62.4mm wide, 29.4mm deep, and 50mm tall, with a wall thickness of 1.2mm on all sides. This body should be a hollow shell, open at the top, with a rectangular cutout removed from the center o...
ancho_base=60; largo_base=27; ancho_conector=18; largo_conector=15; x_conector=(ancho_base-ancho_conector)/2; y_conector=10-largo_conector; espesor_pared=1.2; holgura=1; espesor_base=1; altura=50; linear_extrude(height = altura) difference() { square( [ancho_base+holgura*2+espesor_pared*2,largo_base+holgura*2+espe...
glb/cad_b4819001cc11.glb
Create a vacuum adapter consisting of a hollow, tapered sleeve. Start by constructing the outer shell: create a bottom cylinder with a diameter of 66mm and a height of 10mm, followed by a conical section 30mm tall that tapers from a 66mm base diameter down to a 35mm top diameter, and finish with a top cylinder 10mm tal...
SmallDiameter=32; LargeDiameter=63; WallThick=3; SleeveLength=10; ConeLength=30; $fn = 100; difference(){ union(){ translate([0,0,-SleeveLength]) cylinder(d=LargeDiameter+WallThick,h=SleeveLength); cylinder(d1=LargeDiameter+WallThick,d2=SmallDiameter+WallThick,h=ConeLength); translate([0,0...
glb/cad_ed45e68dc03c.glb
Create a holder for a G4 LED lamp. Start by creating a solid cylindrical base with a radius of 21mm (diameter 42mm) and a height of 18mm. Centered on this base, add a vertical cylindrical column with a radius of 10mm (diameter 20mm) that extends upwards to a total height of 18mm from the bottom. Hollow out the center ...
$fn = 400; foot_height = 18; foot_width=39; led_width=8; led_height=18; g4 = true; g4_fassung=8; kabel_width=5; kabel_height=3; module G4_Fassung() { if (g4 == true) { difference() { translate([0, 0, led_height-g4_fassung]) { linear_extrude(3) ...
glb/cad_e07f49555bd4.glb
Create a holder for a G4 LED by constructing a tiered cylindrical base. Start with a solid circular base plate 43mm in diameter and 13mm high. Centered on top of this base, add a vertical cylinder with an outer diameter of 17mm and a height of 13mm. To create the mounting space, remove a concentric inner cylinder fro...
$fn = 400; foot_height = 13; foot_width=39; led_width=13; led_height=13; kabel_width=5; kabel_height=3; module Rand() { translate([0, 0, foot_height]) { linear_extrude(3, scale = 1.05) { offset(2) { circle(foot_width); } } } } module InnenRand() { transla...
glb/cad_342bb643a07d.glb
Create a holder for a G4 LED and Cellular Lamp. Start with a circular base plate 41mm in diameter and 5mm thick. Centered on this base, place a solid vertical cylinder with a diameter of 30mm and a height of 13mm. Create a hollow center through the entire assembly by removing a vertical cylinder with a diameter of 26...
$fn = 400; foot_height = 5; module Rand() { translate([0, 0, 5]) { linear_extrude(3, scale = 1.05) { offset(2) { circle(39); } } } } module InnenRand() { translate([0, 0, 5]) { linear_extrude(3, scale = 1.05) { offset(2) { ...
glb/cad_4a184e7e520e.glb
Create a dishwasher strainer replacement in the shape of a hollow rectangular box with external dimensions of 50mm length, 60mm width, and 19.25mm height. The object consists of a bottom base and four side walls, all constructed from a honeycomb lattice. The honeycomb structure must have a cell incircle diameter of 7...
length=50; width=60; height=19.25; cell_size=7; wall_thickness=1.75; solid_walls="No"; solid_wall = solid_walls=="Yes"; honeycomb(length, width, wall_thickness, cell_size, wall_thickness); if (!solid_wall) { translate([0,wall_thickness,0]) rotate([90,0,0]) honeycomb(length, height, wall_thickness, cell_size, wal...
glb/cad_ba629bf598c4.glb
Create a Block Puzzle consisting of six distinct polyomino pieces, each constructed from 10mm cubes. The first piece is an L-shape formed by three 10mm cubes in a row with one additional cube attached to the side of the center cube. The second piece is a straight 20mm by 10mm by 10mm rectangular prism. The third piec...
w=10; ww=10; www=20; wwww=30; translate([-50,-5,0]) rotate([90,0,0]) union () { translate([0,0,0]) cube(w); translate([0,0,ww]) cube(w); translate([0,ww,0]) cube(w); translate([ww,0,ww]) cube(w); } translate([-60,0,0]) union(){ translate([ww,0,0]) cube(w); translate([www,0,0]) cube(w); translate([ww,ww,0]) cube(w); t...
glb/cad_912af98caf2d.glb
Create a customizable drill holder consisting of a main storage box and a matching lid. For the box, create a rectangular base with a wall thickness of 1.2mm. The internal cavity should be divided into six rectangular slots of varying sizes to hold drill bits. The slot dimensions (width by length) are: 10mm x 133mm, ...
function flatten(array, column = 0, row = 0, output = []) = row > 0 ? flatten(array, column, row - 1, concat(output, [ array[row][column] ])) : concat(output, [ array[row][column] ]); function ceilMultiple(value, ref) = ceil(value / ref) * ref; module boxHollow(width, length, height, thickness = 1) { if (...
glb/cad_e20d35f707c2.glb
Create a Nuclear Style Fidget Spinner with a central body and three equidistant arms. The main body is a cylinder with a height of 7.2mm and a radius of 39mm. Apply a 1.5mm chamfer to the top and bottom edges of this cylinder. At the exact center of the body, create a cylindrical hole with a diameter of 22.3mm and a h...
include <Chamfers-for-OpenSCAD/Chamfer.scad>; arm_fn = 40 ; part = "cal_bearing"; arm_distance= 39 ; number_of_arms = 3 ; tab_extra_angle = 5 ; center_r = 7 ; bearing_distance_to_wall= 2 ; chanfer = "true" ; chamfer_unit=1.5 ; printer_threshold= 0.15 ; bearing_dia=22+printer_threshold*2 ; bearing_inner_dia= ...
glb/cad_b5066959e7af.glb
Create a personalized cup handle by first constructing a hollow ring with an outer radius of 55mm and an inner radius of 50mm, and a total height of 15mm. Centered on the outer wall of this ring, emboss the text "Test Name" with a character height of 10mm and a thickness of 5mm. Attached to the side of the ring, add a ...
use <write/Write.scad> text="Test Name"; height=100; text_height=10; text_width=5; difference() {cylinder(h=15,r=55,center = true); cylinder(h=18,r=50,center=true);} translate([-63,0,0]) {cube([20,15,15],center=true);}; translate([-70,0,(0-height/2)+7.5]) {cylinder(h=height,r=8,center=true);}; writecylinder(text, [...
glb/cad_808efd4d637a.glb
Create a Customizable Peg Board Hook. Start by constructing a central rectangular shank that is 25.4mm long, 4.76mm wide, and 3.175mm thick. At both ends of the shank, add peg board anchors. Each anchor consists of two small cylinders with a radius of 2.38mm. Position one cylinder at each end of the shank, extending ...
PegBoardType = "A"; BendAngle = 90; BendRadius = 10; Gape = 10; Throat = 10; $fn = 40; pbt = PegBoardType == "A" ? 3.175 : 6.35; hs = 25.4 * 1; hd = ( PegBoardType == "A" ? 4.7625 : 6.35 ) - 1; hr = hd/2; module rotateExtrude(angle=360, convexity=12) { difference() { rotate_extrude(angle=angle, co...
glb/cad_7fcb1eca9add.glb
Create an M8 Rod Floor-mount holder consisting of a right-angle bracket. Start by forming a corner base using two intersecting rectangular slabs: one slab measuring 30mm in length, 3mm in thickness, and 21mm in height, and a second slab measuring 30mm in length, 3mm in thickness, and 31mm in width. These two slabs shou...
Wall_Thickness = 3; Wall_X = 31; Wall_Y = 21; Corner_Length = 30; Edge_Step = 26; Edge_Count = 2; Edge_Use = true; Hole_X_Use = false; Hole_X_Count = 3; Hole_X_Radius = 3; Hole_Y_Use = true; Hole_Y_Count = 2; Hole_Y_Radius = 3; module prism(l, w, h) { polyhedron( points=[[0,0,0], [l,0,0], [l,w,...
glb/cad_f1e93f670b40.glb
Create an M8 Rod Floor-mount holder consisting of a right-angle bracket. Start by forming the main corner structure using two intersecting rectangular plates: one horizontal base plate measuring 30mm in length, 31mm in width, and 3mm in thickness, and one vertical wall plate measuring 30mm in length, 21mm in width, and...
Wall_Thickness = 3; Wall_X = 31; Wall_Y = 21; Corner_Length = 30; Edge_Step = 26; Edge_Count = 2; Edge_Use = true; Hole_X_Use = false; Hole_X_Count = 3; Hole_X_Radius = 3; Hole_Y_Use = true; Hole_Y_Count = 2; Hole_Y_Radius = 3; module prism(l, w, h) { polyhedron( points=[[0,0,0], [l,0,0], [l,w,...
glb/cad_96ac2095818e.glb
Create a fan duct and groovemount. Start with a base rectangular block measuring 29mm by 70mm with a height of 10mm, positioned from x=-12, y=-35. From this base, remove a central rectangular section measuring 20mm by 12.5mm by 15mm centered at x=-10, y=0, z=5, and another rectangular section measuring 20mm by 16.5mm b...
module groovemount(){ difference(){ translate([-12,-35,0])cube(size=[29,70,10], center=false); translate([-10,0,5])cube(size=[20,12.5,15], center=true); translate([-10,0,5+4.4])cube(size=[20,16.5,10], center=true); cylinder(h=20, r=12.5/2); translate([0,0,4.4])cylinder(h=20, r=16.5/2); translate([0,-25,0])cylinder(h...
glb/cad_3a75f6b6c1f3.glb
Create a fan duct and mount assembly. Start with a base plate 6mm thick, centered on a circular cutout with a 38mm diameter. The plate should be roughly 45mm by 50mm. At the four corners of the plate, centered 19mm from the center in each direction, create four 4.5mm diameter screw holes that pass through the plate. A...
S_d = 4.5; F_size = 50; F_d = 38; F_hs = 38; M_height = 6; D_thickness = 1.5; D_width = 15 + D_thickness*2; D_deep = 25 + D_thickness*2; D_lenght = 40; D_shift = 21; D_translate_X = 0; D_translate_Y = 0; module mount() { difference() { union(){ translate([0,-2,M_height/2]) cube([F_size-5, F_size, M_height], ...
glb/cad_e833cd5b8721.glb
Create a door holder consisting of two separate components: a door-mounted knob and a frame-mounted catch. For the door component, create a rectangular base plate 40mm wide, 18mm deep, and 5mm thick. Center two 4mm diameter holes on the plate, spaced 28mm apart, each featuring a countersunk head with a 7mm diameter an...
$base_thick=5; $base_x=40; $base_y=18; $have_door_1_ring=true; $have_door_2_ring=true; $ring_di=18; $ring_do=23; $ring_thick=3; $hole_d=4; $hole_dist=28; $countersunk_head_d=7; $countersunk_head_h=2; $knob_dia=12; $knob_l=30; $catch_l=$knob_l; $knob_delta=0.8; $catch_thick=2.2; $catch_offset=18; $catch_lift=5; $ep...
glb/cad_2c092bb6eba2.glb
Create an 8-bit heart pixel art model composed of two stacked layers of cubes. Each individual pixel cube must measure 5mm x 5mm x 2mm. First, create a base layer 2mm thick. This layer forms a solid rectangular block 65mm wide by 60mm high, but with a specific pixelated cutout. The base layer should be a solid rectan...
bitmap1 = [ " XXXXXXXXXXX ", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", " XXXXXXXXXXX " ]; bitmap2 = [ " XXXXXXXXXXX ", "XX XX", "X XX XX X", "X X ...
glb/cad_b579d2b37ef1.glb
Create a small 8-bit question mark box. Start by constructing a hollow rectangular base with outer dimensions of 65mm in width and depth, and a height of 30.3mm. The walls of this base should be 2mm thick. On the top surface of the box, create a raised decorative border and a central symbol using a pixelated style wh...
bitmap1 = [ " XXXXXXXXXXX ", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", "XXXXXXXXXXXXX", " XXXXXXXXXXX " ]; bitmap2 = [ " XXXXXXXXXXX ", "XX XX", "X XX...
glb/cad_a85363e27aba.glb
Create an 8-bit Mario Question Mark Box by constructing two thin rectangular plates. First, create a primary rectangular plate measuring 55mm wide, 30mm high, and 1mm thick, centered on the origin. Then, create a second rectangular plate measuring 20mm wide, 4mm high, and 1mm thick. Position this second plate so that i...
w = 11*5; h = 30; lh = 1; color("grey") union() { cube([w, h, lh], center=true); translate([0, -(h+4)/2, 0]) cube([20, 4, lh], center=true); }
glb/cad_18ef1f3ee869.glb
Create a sign for "BOC - Aquarius" based on a hexagonal layout. Start by creating a solid hexagonal base with a radius of 41mm and a height of 2mm. On top of this base, add a hexagonal ring or border that is 3mm wide, with an outer radius of 48mm and a height of 2mm, centered on the base. Finally, place the 3D text "BO...
$fa = 1; $fs = 0.1; module hexagon(size=10) { scale([size,size,1]) polygon([ [cos(0),sin(0)], [cos(60),sin(60)], [cos(120),sin(120)], [cos(180),sin(180)], [cos(240),sin(240)], [cos(300),sin(300)]]); } lh = 2; wt = 3; if (1) color("black") linear_extrude(height=...
glb/cad_0522d615a21d.glb
Create a Valentine Heart box consisting of two symmetrical mirrored halves that fit together. Each half is a hollowed-out heart shape with a wall thickness of 1.2mm. The overall dimensions of the folded heart are 40mm wide, 80mm long, and 20mm high. Construct the main body of each half by creating a solid heart volume...
left=""; right=""; T=0.25; G=0.0; heart(left,right); translate([-x,H/3,wall]) linear_extrude(height=0.2) aa(w=W/2.5,white=1); font="Helvetica"; fontheight=6; fontthickness=1; T=0.25; G=0.0; S=30; Q=0.6; W=40; L=80; H=20; wall=Q*2; $fs=1; $fa=5; joint=0.3; joinr=H/5; hingeh=H/5+T; hingew=W/3-T; nubd1=1; nubd...
glb/cad_4dc8369af073.glb
Create a Randomized Foam cube by starting with a solid cube that is 15mm on each side. To create the open-cell foam effect, remove 60 spherical voids from the cube's volume. Each sphere must have a diameter of 2mm. Position these 60 spheres at random coordinates within the 15mm cube, ensuring the center of each sphere ...
resolution = 10; Cube_Size = 15; Pore_Count = 60; Pore_Size = 2; See_Spheres = "false"; $fn = resolution; difference(){ if(See_Spheres == "false") cube([Cube_Size,Cube_Size,Cube_Size]); for(i = [1:Pore_Count]) { xDist = rands(0,Cube_Size,1); roundedXDist = round(xDist[0]); ...
glb/cad_3c370d1dbf6c.glb
Create a Faucet Handle Lever Insert starting with a rectangular base measuring 17mm by 12.15mm with a height of 7.6mm. From this base, remove a central cylindrical cavity with a radius of 5mm and a height of 5.15mm, centered at the base's midpoint. Construct a complex upper cylindrical assembly centered on the base. T...
module base(b, w, h, r) { difference(){ difference() { cube([b, w, h]); translate([0,0,h]) { rotate([0,13,0]) { cube([b+3, w, h]); } } } rotate([0, 360-55.9, 0]) ...
glb/cad_37be457febbc.glb
Create a wedding band by constructing a torus with a major radius of 11.2mm and a minor radius of 2.2mm. From this shape, remove a centered vertical cylinder with a radius of 9.5mm and a height of 10.8mm to create a hollow circular opening. The resulting ring should have an inner diameter of 19mm, an outer diameter of ...
include <MCAD\regular_shapes.scad>; $fn=200; ring_dia = 19.0; ring_height = 4.0; ring_thickness = 4.4; torus_id = (ring_dia - ring_thickness)*0.5; torus_od = (ring_dia + ring_thickness)*0.5; difference() { torus(torus_od,torus_id); translate([0,0,-(ring_thickness*2+1)/2]) cylinder(h=ring_thickness*2+2,r=r...
glb/cad_720194a48d66.glb
Create an omniwheel robot platform by starting with a main cylindrical base that is 30mm in diameter and 20mm in height. Remove a central vertical hole with a diameter of 10mm that passes completely through the base. Create three identical motor mounting ports spaced equally at 120-degree intervals around the center....
difference(){ union(){ cylinder(20,30,30,$fn=60); } translate([0,0,-1]) cylinder(30,10,10,$fn=60); rotate([90,0,0]) translate([0,10,9]) cylinder(21,6.2,6.2,$fn=60); translate([-5.5,-30,3.5]) cube([11,11,13]); rotate([90,0,120]) translate([0,10,9]) cylinder(21,6.2,6.2,$fn=60); rotate([0,0,120]) translate([-5.5,-3...
glb/cad_8edbcc334051.glb
Create a thermal flask support cup consisting of a conical outer shell with a cylindrical base. Start by creating a truncated cone that is 19mm high, with a bottom radius of 12.5mm and a top radius of 25mm. Remove a toroidal void from the center of this cone by rotating a circle with a 12mm radius around the central ax...
difference () { difference (){ union (){ cylinder (r1=25/2, r2=50/2,h=19); } translate ([0,0,5]) rotate_extrude (convexity=2, angle=360) translate ([50/2,0,0]) circle(24/2); } difference (){ union (){ cylinder (r1=(25-2)/2,...
glb/cad_47d60bde8dfb.glb
Create a Pentel Pencil Lead Holder consisting of a rectangular tray with a grid of slots and integrated support stands. The main body is a rounded rectangular block with an outer edge thickness of 0.75mm and a corner radius of 2mm. Carve a grid of 12 identical slots into the top surface, arranged in 3 columns and 4 r...
AMOUNT_X = 3; AMOUNT_Y = 4; INNER_EDGE = 0.75; OUTER_EDGE_PADDING = 0.75; OUTER_RADIUS_EMBEDDING = 2; SLANT_EDGE_PADDING = 0.75; GAP_WIDTH = 22; SLANT_FULL_HEIGHT = 20; SLANT_GAP_OFFSET = 7; SLANT_GAP_WIDTH = 11.25; SLANT_GAP_WIDTH_INNER = 8; module casing_rod(total_radius, pos) { translate(pos) cylinder(0....
glb/cad_2120f9d111a3.glb
Create a Large Cup Holder Trivet consisting of a shallow, tapered circular basin with an internal grid pattern. Start by creating a main outer body that is 10mm high, tapering from a base diameter of 108mm to a top diameter of 116mm. Hollow out the center of this body by removing a tapered cylinder starting 2mm from th...
$fn = 120; module Grid(id, od, n, sa) { gh = 5.0; w = 1.2; wd = id + (2 * w); l = (od - id) / 2.0; dx = (id + w) / 2.0; hw = w / 2.0; da = 360 / n; union() { difference() { cylinder(d = wd, h = gh); cylinder(d = id, h = gh); } ...
glb/cad_2364a41e776e.glb
Create a Carpet Corner Support in the shape of a flat, L-shaped bracket. The overall footprint is a 60mm by 60mm square with a thickness of 1mm. The inner corner of the L is formed by removing a square section from the center, leaving two arms that are each 10mm wide. All outer corners must be rounded with a radius of ...
module rightangle(w, h, thickness=1.0, rounded_corner=5, width=10, hole_radius=1.0, hole_spacing=7) { difference() { minkowski() { cube([w-rounded_corner*2, h-rounded_corner*2, thickness], center=true); cylinder(r=rounded_corner,h=0.001); } translate([0,(h-rounded_corner*2)/2,0]) cube([w,width,thickne...
glb/cad_76bfea142483.glb
Create a Manfrotto 785B quick-release adapter plate. Start by constructing a base shape using a polygon with vertices at [0, 0], [-6.235, 31.05], [16.99, 44.05], and [16.99, 0], extruded to a height of 8.5mm and centered vertically. Mirror this base shape across the Y-axis to create a symmetrical foundation. From this ...
module manfrotto_base_half () { translate ([0, 0, 4.25]) linear_extrude(height = 8.5, center = true, convexity = 10, twist = 0) polygon ([[0, 0], [-6.235, 31.05], [16.99, 44.05], [16.99, 0]]); } module difference_profile () { rotate ([90,0,11.35]) translate ([0,0,-15.5]) linear_extrude(height = 35, center = true...
glb/cad_50cdf54dc546.glb
Create a Star Trek badge by constructing a primary emblem and subtracting a smaller version of the same shape from its center. First, create the main outer body by taking a three-sided prism (a cylinder with 3 facets) with a diameter of 100mm and a height of 3.5mm. Resize this shape so it is 100mm wide, 50mm tall, and ...
$fn=60; difference() { color("Gold") Startrek(100,50,3.5); color("black") translate([-12,0,1.9])Startrek(80,40,2); } triangle(30,7,3,-60,180,0); triangle(10,7,3,-50,90,4); triangle(10,7,3,-50,-90,-4); triangle(10,7,3,-47,-40,-4); triangle(10,7,3,-47, 40, 4); module triangle(x,y,z,P,D,W) { tran...
glb/cad_88ca0ddfbc04.glb
Create a Star Trek badge by constructing a primary base shape and adding a raised emblem. First, create the main outer body by taking a cylinder with a diameter of 20mm and a height of 4mm, and resizing it to dimensions of 100mm in width, 50mm in height, and 3.5mm in thickness. Carve a smaller, similar shape out of the...
$fn=60; difference() { color("Gold") Startrek(100,50,3.5); color("black") translate([-12,0,1.9])Startrek(80,40,2); } color("Silver") translate([0,0,.1]){ triangle(30,7,3,-60,180,0); triangle(12,6,3,-51,90,4); triangle(12,6,3,-51,-90,-4); triangle(12,6,3,-47,-40,-4); triangle(12,6,3,-47, 40, ...
glb/cad_c9d317fc6b22.glb
Create a Star Trek badge by first constructing a primary base shape. This base is formed by the intersection of two cylinders with a diameter of 20mm and a height of 4mm, which is then resized to dimensions of 100mm in width, 50mm in depth, and 3.5mm in height. From this base, remove a smaller interior version of the s...
$fn=60; difference() { color("Gold") Startrek(100,50,3.5); color("black") translate([-2,0,1.9])Startrek(97,48,2); } color("Silver") translate([0,0,.1]){ triangle(30,7,3,-60,180,0); triangle(12,6,3,-51,90,4); triangle(12,6,3,-51,-90,-4); triangle(12,6,3,-47,-40,-4); triangle(12,6,3,-47, 40, 4...
glb/cad_7538568f2e5b.glb
Create a Star Trek badge by constructing a primary emblem shape and engraving a recessed detail into its surface. Start by creating a solid base that is 100mm wide, 50mm tall, and 3.5mm thick. This base is formed by the intersection of two cylinders, each 20mm in diameter and 4mm high, which are then resized to the ove...
$fn=60; difference() { color("Gold") Startrek(100,50,3.5); color("black") translate([-2,0,1.9])Startrek(97,48,2); } color("Gold") translate([-40,0,-4]) resize(newsize=[50,70,3]) cylinder(h=4,d=20,true); module triangle(x,y,z,P,D,W) { translate([P,W,0]) rotate([0,0,D]) resize(newsize=...
glb/cad_ef964ed10d39.glb
Create a Star Trek badge by constructing a primary base and an inset decorative emblem. First, create a main outer body shaped as a flattened, elongated oval with a total width of 100mm, a height of 50mm, and a thickness of 3.5mm. Inside this base, create a recessed area by removing a smaller version of the same shap...
$fn=60; difference() { color("Black")translate([-40,0,0]) resize(newsize=[50,70,3.5]) cylinder(h=4,d=20,true); color("Gold") translate([-40,0,3]) resize(newsize=[48,68,4]) cylinder(h=4,d=20,true); translate([-2,0,1.9])Startrek(97,48,2); translate([0,0,-2]) Startrek_badge(); } module Startrek_ba...
glb/cad_454d859d2f9c.glb
Create a Star Trek badge by constructing a composite geometric emblem. Start with a base shape formed by the intersection of two cylinders, resized to 100mm wide, 50mm tall, and 3.5mm thick. Within this base, carve out a smaller, centered recessed area measuring 97mm by 48mm with a thickness of 2mm to create a tiered b...
$fn=60; difference() { color("Black")translate([-40,0,0]) resize(newsize=[50,70,3.5]) cylinder(h=4,d=20,true); color("Gold") translate([-40,0,3]) resize(newsize=[48,68,4]) cylinder(h=4,d=20,true); translate([-2,0,1.9])Startrek(97,48,2); } module Startrek_badge() ; difference() { color("Gold") ...
glb/cad_3d07bfe61edc.glb
Create a Tamper Adapter for a coffee machine by constructing a series of concentric cylindrical shapes. Start with a central cylinder 21mm high with a bottom radius of 31mm and a top radius of 32mm. Attach a larger cylinder to the bottom with a height of 20mm and a constant radius of 36mm. Add a smaller transition cyli...
$fn=250; rotate ([0,180,0]) translate ([0,0,15]) difference () { union() { cylinder(h=21, r1=31, r2=32, center=true); translate ([0,0,-20.0]) cylinder(h=20, r1=36, r2=36, center=true); translate ([0,0,-8.0]) cylinder(h=5, r1=36, r2=30,...
glb/cad_6c52d7eebc75.glb
Create a battery holder for two NB-5L batteries consisting of a main box and a matching lid. For the main box, create a rounded rectangular base with a total width of 37.6mm (32.6mm internal width plus 2.5mm walls on each side) and a total height of 48mm. The base should have a bottom thickness of 1mm. Inside this ba...
top_bottom = [-1,1]; pad = 0.01; wall_thickness = 2.5; bottom_thickness = 1; inter_battery_gap = 2.4; lip_height = 4; lip_thickness = 0.8; ilip_thickness = 0.9; battery_h = 46; battery_w = 32.6; battery_d = 8.1; num_batteries = 2; box_w = battery_w; box_d = (battery_d) * num_batteries + (inter_battery_gap * (num_batte...
glb/cad_17caaa2a2e15.glb
Create a mount adapter for an A4988 stepper board. Start with a central rectangular block measuring 42mm in width, 5.62mm in height, and 34.2mm in depth, centered on all axes. Remove a rectangular section from the bottom center of the block, measuring 42mm wide, 8.62mm high, and 34.2mm deep, shifted 4mm along the Y-a...
include <./libs/nuts_and_bolts.scad> difference () { union() { cube(size = [42,5.62,34.2], center = true); } translate ([0,-4,-10]) cube(size = [42,8.62,34.2], center = true); translate ([0,-4-1.62,0]) cube(size = [42,5.62,34.2], center = true); translate ([-16,0,34.2/2-4.1]) rotate([90,0,...
glb/cad_d7c2cfd73691.glb
Create a Valentine's Day chocolate mold consisting of a heart-shaped outer shell and a removable inner core. First, construct the outer shell by creating a heart shape based on two mirrored half-circles and a pointed base. Extrude this heart to a height of 11.2mm. The shell should have a wall thickness of 0.8mm. To s...
engraved_text = "K+T"; font_size=13; module half_heart_base(sizefactor=1, offset=0) { halfcircle_r = [ for (i = [0 : 1 : 225]) [sin(i)*(sizefactor-offset), cos(i)*(sizefactor-offset)-1*sizefactor+offset]]; points = concat([[-2.5*sizefactor+2*offset,0]], halfcircle_r); polygon(points=points); } module hal...
glb/cad_c87d1ae71446.glb
Create a flexible filament feed adapter. Start by creating a main cylindrical body with a height of 7mm and an outer diameter of 11.2mm. From the center of this cylinder, remove a smaller concentric cylindrical hole with a diameter of 10.2mm and a height of 7mm. Positioned 3mm above the base, add a second cylindrical...
filamentinnenrohr = 1.8; filamentrohrlaenge = 7; filamentaussenrohr = 4; antriebsdurchmesser1 = 10; antriebsdurchmesser2 = 11; antriebstol = 0.2; rohrtiefe = 16; xpos = antriebsdurchmesser1/2 -1.75/2 + 0.05; zpos = 3; detailgrad = 40; difference() { translate([xpos,0,zpos]) { rotate([90,0,0]) difference() { ...
glb/cad_18e664eec1ea.glb
Create a Square Check Tool with a total height of 24mm. The main body is a composite shape formed by the convex hull of a cube and a cylinder. The cube is centered, rotated 45 degrees on the Z-axis, with side lengths of 38mm. The cylinder has a radius of 24mm and is positioned 51mm away from the center of the cube alon...
tool_height = 24; hollow_depth = 7; square_side=38; square_thickness = 4; dist_cube_cylinder = 51; cylinder_radius = 24; shell_thickness = 1; gap = 1; bevel=2; top_bottom_height = 3; tape_width = 26; tape_thickness = 3; magnet="yes"; magnet_height = 1; magnet_radius = 2; $fn=96; rot_hollow_big_radius = cy...
glb/cad_59dd5d30fd1a.glb
Create a Nikon F-Mount pinhole lens body cap. Start by constructing a main cylindrical body with an outer radius of 31mm and an inner radius of 27mm. The total height of the assembly is determined by the distance from the flange to the focal plane, which is 46.5mm. At the front of the cylinder, create a thin pinhole ...
include <../NikonFMount/NikonFMountMale.scad>; pinhole_radius = 0.200; flange_2_focalPlane = 46.5; ap_r = 5; p_th = 3; b_ir = 27; b_or = 31; th_r = 17.6; fm_ht = 3; focal_length = pinhole_radius*pinhole_radius*4/1.9/1.9/0.000550; hp = focal_length-flange_2_focalPlane; union() { color("Blue", 0.5) rotate_extrude()...
glb/cad_a144d58819ac.glb
Create a Nikon F-Mount Pinhole Lens cap by constructing a hollowed-out cylinder. Start with a solid outer cylinder that has a radius of 34mm and a height of 12mm. From this volume, remove a smaller concentric cylinder with a radius of 31.2mm and a height of 12mm, positioned so that its base starts 4mm above the base of...
difference() { cylinder(r=34, h=12,$fn=100); translate([0,0,4])cylinder(r=31.2, h=12,$fn=100); }
glb/cad_e3b4e9563336.glb
Create a robot head by starting with a rectangular block measuring 50mm wide, 30mm deep, and 40mm high, positioned so the base is 20mm from the origin along the depth axis. For the eyes, place two spheres with a 5mm radius at the front, centered at x=10 and x=40, y=50, and z=30; carve a 10mm cube out of the center of e...
translate([0,20,0]) { cube([50,30,40]); } difference (){ translate ([40,50,30], center = true) { sphere(5,center = true,$fn= 100); } translate ([40,56,30], center = true) { cube(10,center = true,$fn= 100); } } difference(){ translate ([10,50,30], center = true) { sphere(5,center = true); } translate ([10,56,30], ce...
glb/cad_e71dd88256f7.glb
Create a Tensioner Idler consisting of two mirrored halves. Start with a main rectangular block 28mm wide, 16mm deep, and 16mm high. From this block, remove a central rectangular section 18mm wide, 16mm deep, and 16mm high, leaving 5mm thick walls on each side. Through the center of the block along the depth axis, cr...
bigcubewidth=28; bigcubedepth=16; bigcubeheight=16; smallcubewidth=15; smallcubeheight=12; smallcubedepth=16; yokethickness=5; yokewidth=bigcubewidth-2*yokethickness; yokedepth=bigcubedepth; yokeheight=bigcubeheight; axlediameter=8; smoothdiameter=19; smoothZ=bigcubeheight-smoothdiameter/2; boltdiameter=3.2; bolth...
glb/cad_7050c17c3d20.glb
Create a Tensioner Idler consisting of two symmetrical mirrored halves. Start with a main rectangular block measuring 28mm wide, 16mm deep, and 16mm high. From this block, remove a central rectangular section 18mm wide, 16mm deep, and 16mm high, leaving 5mm thick walls on each side. Cut a horizontal cylindrical chann...
$fn=0; $fa=0.01; $fs=0.7; taphead=1.6; tapshaft=1.1; tapthread=0.9; tapthreadlengthtop=4; tapthreadlengthbot=4; module taptop(x,y,z,hs,hh) { translate([x,y,z+hs]) cylinder(hh,taphead,taphead); translate([x,y,z]) cylinder(hs,tapshaft,tapshaft); } module tapbot(x,y,z,ht,tthread=tapthread) { translate([x,y,z-ht]...
glb/cad_c37780a6f73a.glb
Create a Tensioner Idler consisting of two main components: a large outer block and a smaller inner block. The outer block is a rectangular prism measuring 28mm wide, 18mm deep, and 16mm high. Carve out a central channel from the front face to create a yoke with walls 5mm thick. Through the center of the block's dept...
$fn=0; $fa=0.01; $fs=0.5; bigcubewidth=28; bigcubedepth=18; bigcubeheight=16; smallcubewidth=15; smallcubeheight=12; smallcubedepth=16; yokethickness=5; yokewidth=bigcubewidth-2*yokethickness; yokedepth=bigcubedepth; yokeheight=bigcubeheight; axlediameter=8.5; axlexshift=2; smoothdiameter=19; smoothZ=bigcubeheight...
glb/cad_6c9e94e279c3.glb
Create a Tensioner Idler consisting of a main outer block and a central cylindrical housing. Start with a rectangular block 22mm wide, 18mm deep, and 16mm high. Remove a central rectangular section 12mm wide, 16mm deep, and 16mm high, leaving two outer walls each 5mm thick. Within this structure, create a central hori...
$fn=0; $fa=0.01; $fs=0.5; bigcubewidth=22; bigcubedepth=18; bigcubeheight=16; smallcubewidth=15; smallcubeheight=12; smallcubedepth=16; yokethickness=5; yokewidth=bigcubewidth-2*yokethickness; yokedepth=bigcubedepth; yokeheight=bigcubeheight; smoothdiameter=19; smoothZ=bigcubeheight-smoothdiameter/2; boltdiameter...
glb/cad_a563f94d8c9b.glb
Create a double-sided 3-way joint assembly consisting of two identical jointed components mirrored and joined by a central shaft. For each joint component, start with a base cube of 9mm width, 9mm depth, and 6mm height. On top of this base, add three protruding rectangular prisms to create the joint: one centered prism...
width=9; height=12; tolerance=0.01; module joint(width, height){ cube([width, width, height]); translate([0,0,height]){cube([width/3-tolerance/2,width, width/3]);} translate([0,width/3+tolerance/2,height+width/3]){ cube([width/3-tolerance/2,width/3-tolerance,2*width/3]);} translate([2*width/3...
glb/cad_6110d7b38b3d.glb
Create a customizable handle for a tumbler. Start by constructing a hollow ring with an outer radius of 55mm and an inner radius of 50mm, and a thickness of 15mm. Position a vertical cylinder with a radius of 8mm and a height of 100mm so that it intersects the ring's outer edge, extending from the top to the bottom. On...
use <write/Write.scad> text="Test Name"; contour=0; height=100; text_height=10; text_width=5; difference() {cylinder(h=15,r=55,center = true); cylinder(h=18,r=50,center=true);} translate([-63,0,0]) {cube([20,15,15],center=true);}; translate([-70,0,(0-height/2)+7.5]) {cylinder(h=height,r=8,center=true);}; writecyli...
glb/cad_f739feb19798.glb
Create a customizable E3D v6 carriage mount for an ANET A8. Start with a main backplate 6mm thick, approximately 62mm wide and 84mm deep, with rounded corners of 5mm radius. On the backplate, create several mounting holes for linear slides: two pairs of holes at the top (spaced 31.4mm apart) and one pair at the botto...
render_mode = 1; hotend_height = 63; zip_tie_holes_backplate = 1; include_fan_holder = 1; zip_tie_hole_fan_holder = 1; include_sensor_holder = 0; x_offset_sensor = 0; y_offset_sensor = 0; z_offset_sensor = 0; sensor_diameter = 18; sensor_holder_height = 8; sensor_holder_wall_thickness = 4; thickness_backpla...
glb/cad_f62c22551879.glb
Create a rectangular tube adapter consisting of three stacked sections with a uniform wall thickness of 2.5mm. The bottom section is a hollow rectangular sleeve with an outer width of 36mm and length of 56.5mm (31mm x 51.5mm internal dimensions plus wall thickness), a height of 11mm, and internal corner radii of 0mm....
wall_thickness = 2.5; circle_resolution=20; $fn=circle_resolution; middle_tube_h = 20; middle_tube_steps = 20; bottom_dimensions = "outside"; bottom_adapter_w = 31; bottom_adapter_l = 51.5; bottom_adapter_h = 11; bottom_adapter_radius = 0; top_dimensions = "inside"; top_adapter_w = 31; top_adapter_l = 45; t...
glb/cad_c062571c111e.glb
Create a Customizable Band Wallet consisting of two identical rectangular plates, each 90.6mm long, 58.98mm wide, and 1.5mm thick. For each plate, carve a central rectangular slot 10mm wide and 5mm deep into the thickness of the plate at both the left and right edges to allow for elastic bands. At the center of the b...
use <write/Write.scad>; FL1 = "Your Name"; FL2 = "email: name@domain.com"; FL3 = "cell: 999/999-9999"; BL1 = "If Found, Please Mail to:"; BL2 = "1 Awesome Street"; BL3 = "Cooltown, FL 33067"; margin = 5; thickness = 1.5; hubR = 5; hubH = 2; bandH = 10; cardLen = 85.60 + margin; cardWidth = 53.98 + margin; g...
glb/cad_d84e63a544d0.glb
Create a Linear LED Grid Array consisting of four identical rectangular baseplates, each measuring 32mm by 50mm and 2mm thick. Arrange the plates in a 2x2 grid. For each plate, place four mounting holes with a diameter of 3.5mm. Position these holes 2.6mm from each corner. Around each hole, create a small square stand...
$fn=30; numUp = 4; edges = 1; cD = 2; cW = 32; cH = 50; linkScale = 5; linkFudge = .25; neckFudge = .2; throatFudge = .25; arrowBump = .15; holeOffset = 2.6; holeDia = 3.5; standoffHeight = 2; standoffPoints = [[holeOffset, holeOffset, 0], [holeOffset, cH-holeOffset, 0], [cW-holeOffset, cH-holeOffset, 0]...
glb/cad_808d77cea3ab.glb
Create a personalized heart-shaped Valentine by layering three distinct geometric elements. First, create a base heart outline by extruding a heart shape to a height of 1mm. Directly on top of this base, add a second, slightly smaller heart path extruded to a height of 0.8mm, starting at a Z-offset of 1mm. Position a d...
union(){ linear_extrude(height = 1) scale([0.4,0.4,1]) import (file = ".\\outline.dxf"); translate([0, 0, 1]) linear_extrude(height = 0.8) scale([0.4,0.4, 1]) import (file = ".\\path.dxf"); translate([-13, -12.75, 1.8]) linear_extrude(height = 0.4) scale([0.14,0.14,1]) import (file = ".\\shapes2.dxf"); transla...
glb/cad_58c94e50f207.glb