Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a nutrient access door baseplate. Start with a rectangular base that is 110mm wide, 90mm deep, and 3mm thick. Centered on this base, add a raised rectangular frame that is 80mm wide, 60mm deep, and 10mm high. This frame should have a hollow rectangular center measuring 84mm by 64mm, creating a wall thickness of ...
$fa=.5; $fs=.5; difference(){ difference(){ difference(){ difference(){ union(){ union(){ union(){ union(){ difference(){ translate([0,0,1.5]) cube([110,90,3],center=true); translate([0,0,0,]) cube([80,60,10],center=true); } translate([41,0,6]) cube (...
glb/cad_4a49e8b86241.glb
Create a nutrient access door for a hydroponics system. Start with a rectangular base plate measuring 91mm by 71mm with a thickness of 3mm. On the top surface of this plate, center a raised rectangular frame that is 91mm wide and 71mm long with a height of 15mm. Within this frame, add four embossed text labels arranged...
$fa=.5; $fs=.5; include <text_on.scad>; difference(){ difference(){ difference(){ union(){ union(){ union(){ union(){ union(){ union(){ translate([44,0,10.5,]) cube([3,71,15],center=true); translate([-44,0,10.5,]) cube([3,71,15],center=true); } tr...
glb/cad_2d5a20c41a55.glb
Create a nutrient access door plate by starting with a central rectangular slab measuring 110mm by 90mm with a thickness of 3mm, centered on the Z-axis. Cut a rectangular opening from the center of this slab measuring 85mm by 65mm with a depth of 10mm. At each of the four corners of the main slab, create a circular h...
$fa=.5; $fs=.5; union(){ difference(){ difference(){ difference(){ difference(){ difference(){ translate([0,0,1.5]) cube([110,90,3],center=true); translate([0,0,0,]) cube([85,65,10],center=true); } translate([-47.5,37.5,0]) cylinder(h=10,r=2,center=true); } translate([-47....
glb/cad_19e3c3aced8c.glb
Create a Rep Rap PCB Mount by stacking four cubes of decreasing size. Start with a base cube measuring 20mm x 20mm x 12mm. Centered atop this base, place a second cube measuring 15mm x 15mm x 12mm, positioned 2.5mm from the X-axis and 2mm from the Y-axis, with its bottom face resting at a height of 10mm. Above that, pl...
cube ([20,20,12]); translate([2.5,2,10]) cube(15,15,12); translate([5,5,25]) cube(10,10,12); translate([7.5,7.5,35]) cube(5,5,12);
glb/cad_2e3312a6c171.glb
Create a Rep Rap PCB Mount by starting with a solid cube measuring 20mm in width, 20mm in depth, and 12mm in height. Remove two vertical cylindrical holes, each with a radius of 1.5mm, passing completely through the top and bottom faces; position the first hole at coordinates (10, 3) and the second at (10, 17). Carve a...
difference() { cube ([20,20,12]); translate([10,3,-5]) { cylinder(r=1.5, h=20); } translate([10,17,-5]) { cylinder(r=1.5, h=20); } translate([-5,10,8]) { rotate([0,90,0]) { cylinder(r=4, h=30); } } translate([-5,6,8]) { cube([30,8,6]); } }
glb/cad_71236dd2e9ea.glb
Create a Duplo to Brio converter brick. Start with a central rectangular block measuring 63.8mm in length, 40mm in width, and 20mm in height, centered on the origin. From this main body, remove two rectangular sections measuring 21mm by 41mm by 13mm, positioned symmetrically at the far left and right ends, centered v...
resolution = 100; module duplo_to_brio() { union() { difference() { union() { translate([0, 0, 0]) cube([63.8, 40, 20], center = true); } union() { translate([(63.8/2)-9.5, 0, 4.5]) cube([21, 41, 13], center = true); translate([-(63.8/2)+9.5, 0, 4.5]) cube([21, 41, 13],...
glb/cad_68a43f302d64.glb
Create a Circle Support block by starting with a solid rectangular base measuring 77mm in width, 55mm in depth, and 20mm in height. Across the top surface, create a grid of cylindrical holes. Each hole must have a radius of 2mm. The holes should be spaced 6mm apart from center to center, distributed evenly across bot...
Box_Width = 77; Box_Depth = 55; Box_Height = 20; Box_Color = "Orange"; Circle_Radius = 2; Circle_Space = 6; Support_Side = 0; Print_Text = 1; Text_Align_Side1 = 0; Text_Align_Side2 = 0; Text_Value = "Thiago"; Text_Size = 4; Text_Font = "Impact:style=Regular"; Text_Offset = 0; Text_Color = "White"; $fn=50; Circle_Ra...
glb/cad_82d9d60357f5.glb
Create a keyboard foot consisting of a rectangular body and a cylindrical peg assembly. The main body is 21.8mm long, 20mm wide, and 2.5mm thick. At one end of the body, center a cylindrical peg with a diameter of 7.36mm and a total length of 20mm (extending 3.2mm beyond the body on each side). This peg assembly includ...
bodyWidth = 20; bodyLength = 21.8; bodyThickness = 2.5; bodyDiameter = 7.36; pegDiameter = 3.6; pegLength = 3.2; springThickness = 2.4; springGap = 1.80; springLength = 7.0; footAngle = 30; latchDiameter = 1.5; latchDepth = 0.9; tearDropDepth = 0.5; $fs = 0.2; difference() { union() { translate([-bodyLengt...
glb/cad_43c5c578f166.glb
Create a keyboard battery cover starting with a main rectangular plate centered on the origin, measuring 58.75mm wide, 12.36mm long, and 1.8mm thick. On top of this plate, center a second rectangular block measuring 54mm wide, 10.9mm long, and 1.2mm thick. Add two small rectangular tags to the top surface of the inne...
hatchLength = 12.36; hatchWidth = 58.75; hatchDepth = 1.8; cmptWidth = 54; cmptLength = 10.9; cmptDepth = 1.2; tagWidth = 6; tagLength = 2; tagAOff = 7; tagBOff = -17.5; thumbWidth = 16; thumbLength = 1.1; thumbDepth = 1.5; thumbSlot = 0.8; $fs=0.2; difference() { union() { translate([0,0, hatchDepth/2]) cub...
glb/cad_3dcfdace0278.glb
Create a Christmas medallion approximately 40mm wide and 50mm long. The main body is a flat, rounded plate. To form the decorative pattern, create a series of ring-like shapes by subtracting a smaller cylinder from a larger one, both centered on the same axis. Arrange these rings in a specific layout: position them a...
x1 = -1.; y1 = 0; x2 = -.5; y2 = sqrt(3.)/2; x3 = .5; y3 = sqrt(3.)/2; x4 = 1; y4 = 0; x5 = .5; y5 = -sqrt(3.)/2; x6 = -.5; y6 = -sqrt(3.)/2; xx1 = -1.5; yy1= sqrt(3.)/2; xx2 = 0; yy2 = sqrt(3); xx3 = 1.5; yy3 = sqrt(3.)/2; xx4 = 1.5; yy4 = -sqrt(3.)/2; xx5 = 0; yy5 = -sqrt(3.); xx6 = -1.5; yy6 = -sqrt(3.)/2; differen...
glb/cad_a01e70ff3f9b.glb
Create two Christmas-themed medallions, each approximately 40mm wide and 50mm long. For the first medallion, construct a Christmas tree shape using a hexagonal grid of circles. The radii of these circles should be twice the length of the hexagon sides to create a dense, overlapping pattern. Top the tree with a small s...
difference() { union() { union() { for ( i = [ [ 1.00000, 2.00000, 0.00000], [ 1.00000, 6.00000, 0.00000], [ 1.00000, 10.00000, 0.00000], [ 1.00000, 14.00000, 0.00000], [ 1.00000, 18.00000, 0.00000], [ 1.00000, 22.00000...
glb/cad_8749c3b48811.glb
Create a Christmas medallion by constructing a flat, rounded base with a small protruding peg. Start with a central rectangular slab measuring 15mm in width, 5mm in depth, and 1.5mm in height. Expand this shape by blending it with a cylinder of radius 18mm and height 1.5mm to create a smooth, pill-like oval base. On ...
difference() { union() { union() { for ( i = [ ]) translate(i) { translate([-16,-15,-1]) cube (size = [1.05,1.05,2],center=true); } } minkowski() { cube (size = [15,5,1.5],center=true); cylinder(r=18,h=1.5); } } translate([19,0]) rotate(a = [0,0,90]) minkowski() { cube(size = [1,2,6],center=tru...
glb/cad_5b94419157a4.glb
Create a Wall support spool consisting of a central spool and a supporting frame. First, construct the spool. Create two identical circular discs with a diameter of 200mm and a thickness of 0.5mm. Connect these discs with a central cylinder (the tube) that has a diameter of 78mm and a height of 70mm. The tube should ...
disc_diameter = 200; tube_diameter = 78; tube_heigth = 70; wall_thickness = 0.5; roll_spacing = disc_diameter * 0.1; pin_fix = 15; bar_width = tube_heigth * 2; bar_radius = ((tube_diameter-(wall_thickness * 2)) * 0.15); pin_fix_heigth = pin_fix/2; fix_hole_thickness = 0.4; op = -1; print(op); module print(op) { ...
glb/cad_922356aae92c.glb
Create a Support Tools holder by constructing a hollow, tapered rectangular box. The main body has an overall width of 200mm, a depth of 150mm, and a height of 160mm. The walls should have a uniform thickness of 4mm. The top and bottom faces are tapered, scaling inward to 75% of their original dimensions. On the top s...
height = 160; width = 200; depth = 150; sideSize = 10; topSize = 75; holeDiameter = 12; space = 10; scale = topSize / 100; thickness = 4; over = 2; minSide = 10; z = height; x = width; y = depth; r = holeDiameter / 2; halfSpace = space / 2; function getSide() = sideSize < minSide ? minSide : sideSize; module cre...
glb/cad_3819a07171ab.glb
Create a Modular Box consisting of a main container and a matching cover. The main container is a rounded cube with a base size of 40mm by 40mm, a height of 50mm, and rounded corners with a 5mm radius. The walls are 2mm thick. A cutout is made at the top of the container to accommodate the cover, which is a rounded cub...
Object_Height = 50; Object_Size = 50; Object_Type = 3; Cover_Height = 25; Wall_Tickness = 2; $fn = 50; Cover_Spacing = 0.5; Rounded_Corner = 5; Connector_Tickness = 2; Connector_Width = 10; Connector_Depth = 5; Object_Side = Object_Size - Connector_Depth * 2; Border_Width = Connector_Width * 0.5 + Connector_Depth; Tot...
glb/cad_f16586f357ed.glb
Create a glass support bracket with a base length of 150mm, a depth of 15mm, and a height of 5mm. The main body should be a rounded rectangular prism with a corner radius of 3mm. Carve out a central channel from the top surface that is 20mm deep, leaving a 5mm border on the left and right sides and a 5mm border at the ...
Largura = 150; Altura = 5; Profundidade = 15; Raio = 3; $fn = 100; suporte(); module suporte(){ difference(){ paredeFundo(); parafuso(25); parafuso(Largura/2+50); } difference() { roundedcube(Largura,Profundidade,Altura, Raio); translate([5,5,0]) rounded...
glb/cad_87759839beb4.glb
Create an RFID Play Big case by starting with a base cylinder that has a radius of 14.5mm and a height of 4.5mm. Inside this base, remove a concentric cylindrical volume to create a hollow cavity with a radius of 13.5mm and a height of 2.5mm, leaving a bottom floor thickness of 1mm. From the top of the base, extend a n...
rfid_chip = 25; rfid_buffer = 2; rfid_all = rfid_chip+rfid_buffer; rfid_dicke = 2.5; rand = 2; boden = 1; case_dicke = rfid_dicke + 2*boden; module rfid_clip() { difference() { union() { cylinder(h = case_dicke, r = rfid_all/2 + rand); translate([0, 0, case_dicke]) cylinder(h = 40, r1=rfid_all...
glb/cad_8035ecf689dc.glb
Create a lower steering column bearing sleeve in the shape of a thick, knurled cylinder. The main body should have an outer diameter of 38mm and a total height of 18mm. The exterior vertical surface must feature a knurled texture with a depth of 0.5mm. Hollow out the center of the cylinder to create a sleeve. The mai...
use <knurledFinishLib_v2.scad> difference() { knurl(k_cyl_hg=18, k_cyl_od=38, knurl_dp=0.5); union() { translate([0,0,2]) cylinder(18, d=35.8); cylinder(2, d=29); } }
glb/cad_0f5790ce506e.glb
Create a customizable Licence Plate by starting with a base rectangular plate measuring 94mm wide, 47mm high, and 3mm thick, with rounded corners of 4mm. Hollow out the center of the plate by removing a rounded rectangular section measuring 89mm by 42mm with a 3mm corner radius, leaving a 3mm thick outer rim. Add four...
use <MCAD/boxes.scad> text1 = "Insert"; text2 = "Your Name"; text3 = "Here"; fontTop="Liberation Sans"; styleTop="Regular"; fontstyleTop = str(fontTop,":",styleTop); fontsizeTop=8; TopY = 18; letter_spacingTop = 1; letterspacingTop = 1.0+letter_spacingTop/10; fontMid="Liberation Sans"; styleMid="...
glb/cad_931b72a90d99.glb
Create a male air vent adapter with a total height of 9mm. Start by forming a base that is a hybrid shape: a cylinder with a 21mm diameter merged via a convex hull with a rounded square measuring 23mm by 23mm and having corner radii of 1.5mm. This base should be 2.25mm thick. On top of this, add a square block measurin...
part = "male"; h = 9; d = 21; cd = 23; hw = 11; bhw = 13.4; bhw2 = 13.6; bt = 1.5; biw = 15; $fn=72; dd = bhw-hw; module rcube_xy(v) { cr = 1.5; translate([cr,cr,0]) hull() { translate([0,0,0]) cylinder(r=cr,h=v[2]); translate([0,v[1]-cr*2,0]) cylinder(r=cr,h=v[2]); translate([v[0]-cr*2,0,0]) c...
glb/cad_42798ac73157.glb
Create a Leg Extender by starting with a central cube measuring 50.8mm x 50.8mm x 10mm. Add two external support walls, each 3mm wide and 15mm high, positioned along the X and Y axes to extend from the center to the edges of the cube. Fill the outer corner where these walls meet with a 3mm x 3mm x 15mm cube. Add two in...
ext_height = 10; cutout_d=40.8; num_botscrews=3; ext_supporth = 10; ext_supportw = 3; int_supportw= 5; int_supporth = 5; plexW = 5; legW = 50.8; $fn = 100; difference() { union() { cube([50.8,50.8,ext_height],true); for(a=[0:1]){ rotate([0,0,90*a]) ...
glb/cad_abec6488c051.glb
Create a customizable clip-on cleat for wire racks. Start by designing a C-shaped clip that fits over a rack lip. The clip should have an outer width of 20mm and a total height of 34.25mm. The walls of the clip are formed around two wires, each with a radius of 3.25mm. Create a central cutout in the clip to leave two o...
lipWidth=34.25; wireWidth=6.5; doFlexNotch=true; width=20; cleatLength=60; cleatDepth=15; cleatThickness=10; doCordClip=true; cordDiameter=5; module clip(_lip_width, _wire_radius, _do_flex_notch, _width, _wire_spacing, _small_wire_width) { difference() { cube([_wire_radius*4, _lip_width+(2*_wire_ra...
glb/cad_4acfd438d699.glb
Create a Prusa I3 Inductive Proximity Sensor Holder. Start with a rectangular connector base measuring 45mm wide, 10mm high, and 4mm thick. Centered along the width of this base, create two hexagonal nut traps for M4 nuts, each with a diameter of approximately 6.06mm. Attached to the side of this base, add a vertical ...
hole_spacing = 23; width_connector = 45; height_connector = 10; thickness_connector = 4; mount_thickness = 6; mount_length = 15; extension_height = 30; extension_width = 15; hole_diameter = 12; clk = 0.2; $fn = 50; fillet(){ connector(); mount(); extension(); ring(); } module connector(){ differ...
glb/cad_9b1cb98baa7b.glb
Create an OptiTrack Slider Marker consisting of a hollow cylindrical collar and several protruding marker stalks. Start by creating a hollow cylinder with an inner diameter of 112mm, a wall thickness of 2mm, and a total height of 25mm. Attached to the outer wall of this collar, centered at a height of 12.5mm, place e...
insideDiameter = 112; wallThickness = 2; height = 25; diameter = 10; outsideDiameter = insideDiameter + wallThickness; outsideRadius = outsideDiameter / 2; insideRadius = insideDiameter / 2; edgeHeight = height; difference() { cylinder(r=outsideRadius, h=edgeHeight); cylinder(r=insideRadius, h=edgeHeight+...
glb/cad_31e709073c20.glb
Create a half-square hook for a bathtub panel. Start with a vertical main bar that is 4mm thick, 20mm wide, and has a total height of 54mm. At the top of this bar, extend a horizontal arm 19mm long and 4mm thick to the left. From the end of this horizontal arm, create a second vertical segment that drops down 24mm, als...
$fn = 120; top_hook_depth = 24; top_hook_gap = 19; bottom_hook_gap = 6; bottom_hook_depth = 8; height = 54; width = 20; thickness = 4; main_bar_length = height - bottom_hook_depth + thickness; color("red") translate([-(top_hook_gap + thickness), 0, 0]) cube([thickness * 2 + top_hook_gap, thickness, width]); color...
glb/cad_4d7480bf1963.glb
Create a mounting accessory for an action camera. Start with a rectangular base block measuring 58.5mm in length, 46mm in width, and 10.1mm in total height. Carve a central slot through the entire length of the base. This slot should be 10mm wide and 1.3mm deep, positioned 3mm from the bottom of the block. Above this...
BaseH = 3; BaseL = 58.5; TopL = 42.25; BaseW = 46; SlotW = 38; BaseSlotW = 10; BaseSlotD = 1.3; SideSlotH = 4.6; LipW = 3; LipH = 2.5; SlotSpan = SlotW-2*LipW; Chamfer=5; echo( "SlotSpan"); difference() { cube([BaseL,BaseW,BaseH + SideSlotH + LipH]); translate([0,BaseW/2 - BaseSlotW/2,BaseH - BaseSlotD]) cube([Bas...
glb/cad_9867fdaa843f.glb
Create a camera holder sleeve for an action camera. The main body is a hollow cylinder with an outer radius of 15mm and a height of 75mm. The inner cavity is a hull of two cylinders, each with a radius of 12mm and a height of 71.5mm, offset from each other by 23mm along the X-axis. This creates a non-concentric interna...
SnapIn = 1; EndStop = 1; camR=12.75 -.75*SnapIn; shellT=2 + SnapIn; camA=23; camL=71.5; openingSize=SnapIn*2*camA; mountW=60; mountD=40; MountAng = 30; mount_diameter = 7.1; mount_wrench_size = 11; mount_hex_diameter = mount_wrench_size / cos(30); eclip_recess_depth = 1; case_width = 32.5; stabilizer_distance = 14;...
glb/cad_89ea09105ffd.glb
Create a camera holder sleeve for an action camera. The main body is formed by the convex hull of two cylinders, each with a radius of 14.25mm and a height of 73.25mm, positioned 23mm apart. Hollow out the center of this shape by removing a smaller convex hull of two cylinders with a radius of 12.75mm and a height of...
use <gopro_mounts_mooncactus.scad> translate([camA+camR+mountXoffset,0,(camL+EndStops*shellT)/2]) rotate([0,90,90]) gopro_connector("double"); SnapIn = 1; EndStops = 2; camR=12.75 -.6*SnapIn; shellT=1.5 + SnapIn; camA=23; camL=70.75; openingSize=SnapIn*2*camA; mountXoffset=11; mountW=60; mountD=40; MountAng = 30;...
glb/cad_1b276032592a.glb
Create a lens cap for a camera by constructing a hollowed-out sleeve. Start with a solid outer shell formed by the convex hull of two cylinders: one with a radius of 14.3mm and a height of 39mm, and a second identical cylinder shifted 23mm along the X-axis. From this shell, remove a central camera cavity created by t...
camR=12.3; shellT=2; camA=23; camL=25; lensDepth=12; sleeve(); module sleeve() { difference() { hull(){ cylinder(r=camR+shellT,h=shellT+lensDepth+camL,$fn=72); translate([camA,0,0]) cylinder(r=camR+shellT,h=shellT+camL+lensDepth,$fn=72); } translate([0,0,shellT+lensDepth]) hull() { cylinder(r=camR,h...
glb/cad_b4d99bb9003e.glb
Create a concave helmet base for a camera mount. Start with a solid rectangular block that is 46mm wide, 58.5mm long, and 20mm thick. From the top face of this block, remove a central ellipsoidal volume to create a concave indentation. This void is defined by a sphere with a radius of 180mm, scaled along the X and Y ax...
MinH = 0; Xradius = 150; Yradius = 180; BaseL = 58.5; BaseW = 46; MaxH=MinH + 20; Zradius = max(Xradius,Yradius); echo ("Zradius is " ); difference() { translate([-BaseW/2, -BaseL/2,0]) cube([BaseW,BaseL,MaxH]); translate([0,0,Zradius+MinH]) scale([Xradius/Zradius,Yradius/Zradius,1]) sphere(r=Zradius, center=true...
glb/cad_94286219f36d.glb
Create a support frame for an Eggbot. Start by constructing the main body using a series of rectangular walls. Create two primary vertical walls: one 5mm wide, 140mm long, and 40mm high, positioned at [0, -27, 20], and another 50mm wide, 3mm thick, and 40mm high, positioned at [-50, -27, 20]. Add a third wall 50mm wide...
difference() { union(){ translate([0,-27,20])cube([5,140,40]); translate([-50,-27,20])cube([50,3,40]); translate([-50,108,20])cube([50,5,40]); translate([-15,-24,20])cube([15,15,40]); translate([-15,93,20])cube([15,15,40]); translate([-25,108,35])cube([30,10,10]); rotate([90,0,0]) translate([-33,42,-118]) cylinder(10...
glb/cad_972d0556ba19.glb
Create an Eggbot base by constructing a main cylinder with a diameter of 30mm and a height of 25mm. Bore a central vertical hole through the entire height of the cylinder with a diameter of 8mm. At the bottom of this central hole, create a flat-bottomed circular recess with a diameter of 30mm and a depth of 1mm. Positi...
difference() { union(){ cylinder(25,10,10,$fn=130); } translate([0,0,-1])cylinder(8,2.5,2.5,$fn=130); translate([0,0,-1])cylinder(30,1.3,1.3,$fn=130); translate([0,0,20])cylinder(6,6,6,$fn=130); translate([-6,-3,-1])cube([3,6,15]); rotate([0,90,0])translate([-3,0,-30])cylinder(50,1.5,1.5,$fn=130); }
glb/cad_6f40bcefd353.glb
Create an ice cube mold by starting with a solid rectangular block measuring 90mm in length, 33.5mm in width, and 27mm in height. Carve out a large rectangular cavity from the top face that is 86mm long, 29.5mm wide, and 13mm deep, leaving a consistent wall thickness around the edges. Inside this cavity, emboss the tex...
$fn=100; rotate([180,0,0]) difference(){ cube([90,33.5,27]); translate([2,2,-1]) union(){ translate([-2.5,0,3]) linear_extrude(height=17, scale=1) text("R&D", spacing=1, size=30, $fn=100); translate([0,0,0]) cube([86,29.5,13]); } }
glb/cad_0b13bbe0eae9.glb
Create a 2.5mm thick 3D model of a snowman decoration. Start with a base circle of 15mm radius. Position a second circle of 10mm radius centered 20mm above the first. For the head, add a 12mm by 8mm rectangle and a 25mm by 3mm rectangle centered at the top, rotated 25 degrees. Add two small 4mm radius circles at the en...
thickness=2.5; arms=true; union() { difference() { union() { cylinder(h =thickness, r = 15,center=true); if(arms) { translate([21,1,0]) cube([2,32,thickness],center=true); rotate([0,0,25]) union() { translate([16,0,0]) cube([14,6,thickness],center=true); translate([23,0,...
glb/cad_7bf0a4350d67.glb
Create a board game card storage holder and lid. The holder is a rectangular box with an interior cavity measuring 43mm by 65mm and a height of 7.5mm to accommodate a card stack. The outer walls are 1.4mm thick on the long sides and 1.2mm thick on the short sides. The main body height is 6.5mm. On the side of the hold...
use <write/Write.scad> numberOfHolders = 1; numberOfLids = 1; cardY = 63; cardX = 41; cardStackZ = 6; fudgeFactor = 0.5; longWallStrength = 1.4; shortWallStrength = 1.2; bottomWallStrength = 1.4; lowerLockY = 1.2; lowerLockZ = 1.7; upperLockY = 3.5; upperLockZ = 1.2; keyRailZLid = 1.0; keyRailZBody = 1.0; ...
glb/cad_f59542421097.glb
Create a double pinch wheel extruder drive shaft block. Start with a central cube measuring 50mm x 40mm x 50mm. From this main body, remove several geometric volumes to create the internal channels and holes. First, create a central horizontal tunnel running through the X-axis. This tunnel consists of a primary cylin...
module doubleside1() { difference() { union() { cube([ 50, 40, 50], center = true); } union() { translate([ 15 ,5, 11.5])cube([7,32,22],center = true); translate([-15,5,11.5])cube([7,32,22],center=true); translate([0,5,11.5])cube([30,32,8],center=true); translate([ 15 ,5, -11.5])cube([7,32,22]...
glb/cad_efc43342513e.glb
Create a Straw Hat Pirates Badge by starting with a main circular base with a radius of 25mm and a height of 2mm. On the top surface of this base, construct a stylized skull and crossbones. Position a central circular skull face with a radius of 18.75mm and a height of 1mm. Add two small circular eye sockets, each wi...
difference() { color("grey") cylinder(r=25,$fn=100); translate([-20,0,-1]) cylinder(r=2.5,$fn=100,h=3); translate([-6,12.5,0]) cylinder(r=5,$fn=100,h=2); translate([-6,-12.5,0]) cylinder(r=5,$fn=100,h=2); } difference() { cylinder(r=25,$fn=100,h=2); translate([-30,-25,0]) cube([30,50,3]); } translate([0,-37.5...
glb/cad_347e2168872e.glb
Create a Straw Hat Pirates Badge by starting with a main circular base that has a radius of 25mm and a height of 2mm. On the top surface of this base, center a skull and crossbones design. The skull is formed by a central sphere-like shape with two circular eye sockets, each with a radius of 5mm, positioned at coordi...
difference() { color("grey") cylinder(r=25,$fn=100); translate([-20,0,-1]) cylinder(r=2.5,$fn=100,h=3); translate([-6,12.5,0]) cylinder(r=5,$fn=100,h=2); translate([-6,-12.5,0]) cylinder(r=5,$fn=100,h=2); } difference() { cylinder(r=25,$fn=100,h=2); translate([-30,-25,0]) cube([30,50,3]); } translate([0,-37.5...
glb/cad_7d16d171628e.glb
Create a parametric wedge with a total length of 70mm and a width of 10mm. The shape should taper in height from 7mm at one end down to 0.8mm at the other. The profile of the wedge is formed by connecting a cylinder with a 7mm diameter to a cylinder with a 0.8mm diameter across the specified length. Finally, add a circ...
hoogste = 7; lengte = 70; breedte = 10; laagste = 0.8; gaatje = 4; difference (){ hull(){ cylinder(d=hoogste, h=breedte); translate([lengte-(hoogste/2)-(laagste/2),0,0]) cylinder(d=laagste, h=breedte); } translate ([0,0,-1]) cylinder (d=gaatje, h=breedte+2); }
glb/cad_b6faf4b1b958.glb
Create a parametric pulley designed for a NEMA17 motor shaft. Start with a central cylindrical hole 10.1mm in diameter that runs through the entire height of the object. Construct the main body as a cylinder with an outside diameter of 11.88mm and a height of 7mm. Around the outer circumference of this cylinder, creat...
teeth = 40; profile = 5; motor_shaft = 10.1; m3_dia = 3; m3_cap_dia = 6; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.5; retainer = 1; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 7; pulley_b_ht = 6.5; pulley_b_dia = 35; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_too...
glb/cad_8fad28b79ca3.glb
Create a Kopimi pyramid by starting with a square-based pyramid that has a base width of 80mm and a height of 40mm. On one of the triangular faces, emboss a stylized letter "K" composed of small 4mm cubes. The "K" shape is formed by a vertical column of five 4mm cubes starting at the left, and a diagonal arm extending ...
module pyramid(sides = 4) { cylinder(40, 80, 0, $fn=sides); } module pixel() { cube([4,4,4]); } module K() { pixel(); translate([0,5,0]) pixel(); translate([0,10,0]) pixel(); translate([0,15,0]) pixel(); translate([0,20,0]) pixel(); translate([5,10,0]) pixel(); translate([10,15,0])...
glb/cad_da6c8a765305.glb
Create a Kopimi pyramid by starting with a square-based pyramid that has a height of 40mm and a base width of 80mm. On each of the four triangular faces, embed a stylized letter "K" composed of small 4mm cubes. Each "K" is formed by a vertical column of five 4mm cubes, a diagonal arm of four 4mm cubes extending from th...
module pyramid(sides = 4) { cylinder(40, 80, 0, $fn=sides); } module pixel() { cube([4,4,4]); } module K() { pixel(); translate([0,5,0]) pixel(); translate([0,10,0]) pixel(); translate([0,15,0]) pixel(); translate([0,20,0]) pixel(); translate([5,10,0]) pixel(); translate([10,15,0])...
glb/cad_aa3f77dfbb41.glb
Create a small ship model by constructing a hull and adding deck details. Start with a hull that is 20mm wide and 100mm long. The hull's base is a flat-bottomed prism that tapers upward and narrows toward the bow and stern. The bow should come to a pointed, slightly rounded edge, while the stern is squared off. On the...
$fs = 0.4; union() { render() intersection() { rotate([-90,0,0]) linear_extrude(height=20,center=true) polygon([[24,0],[21,4],[15,7],[-13,7],[-21,4],[-24,1],[-24,-5],[-13,-4],[-12,0],[-9,0],[-7,1],[11,1],[13,-1],[25,-2]]); linear_extrude(height=20,center=true) polygon([[23,-3],[25,0],[23,3],[19,6],[12,8],[-20,8],[-23...
glb/cad_5e8571888294.glb
Create a cap for a filament spool hub. Start by creating a hexagonal nut shape with a height of 10mm and an outer diameter of 16.75mm. Hollow out the center of this nut with a cylindrical hole of 15.75mm in diameter that passes completely through the part. Add a thin cylindrical top disk to the nut with a radius of 9....
$fn=50; include<polyScrewThread_r1.scad>; PI=3.141592; OD_base=60; base_land=10; base_thickness=5; bolt_hole_dia=3.3; OD_cone_base=OD_base-2*base_land; cone_height=25; cone_wall=4; plain_shaft_len=20; plain_shaft_dia=15.75; shaft_wall=5; thread_length=10; OD_cone_top=plain_shaft_dia+12; cone_top_thickness=5; cap_wall...
glb/cad_3407c0f8df67.glb
Create a cluster of ten hexagonal crystals emerging from a central base. The base is a sphere with a radius of approximately 1.73mm, positioned so that its center is slightly below the origin. From this base, arrange ten hexagonal prisms of varying heights and orientations. Each crystal should have a base width of 1mm ...
seed=74; num=10; wide=1; high=6; side=6; dropoff=.8; bouquet_angle=30; density=10; R_max=wide*num/density; angle=rands(0,360*10,num+1,seed); rad=rands(0,R_max,num+1,seed); hyp=R_max/sin(bouquet_angle); adj=R_max*cos(bouquet_angle)/sin(bouquet_angle); difference(){ union(){ translate([0,0,-2*adj+hyp]) sphere(...
glb/cad_0ce45c17c9da.glb
Create a battery cover for a Wii Balance Board. Start with a main rectangular plate that is 77.5mm wide, 64.4mm long, and 6mm thick. Round all four corners of this plate with a radius of 5mm. From this main body, remove three rectangular sections to create openings. First, cut a slot 6.2mm wide and 17.8mm long from t...
$fn=60; main(); translate([2,40,1]) clipsu(); module clipsu() { rotate([90,0,0]){ difference () { union(){ hull () { translate([0,0,0]) cylinder(r=1,h=15); translate([5,0,0]) cylinder(r=1,h=14.5); translate([3.6,8.4,1]) cylinder(r=2,h=12.7); } translate([-2,-1,0]) cube([2,1,15]); } unio...
glb/cad_bf70b331918c.glb
Create a Custom Band Saw Insert consisting of a primary circular plate and a smaller concentric base. Start by creating a main cylinder with a diameter of 63mm and a height of 3mm. Centered on top of this, add a second cylinder with a diameter of 56mm and a height of 2mm. To secure the insert, add a small cylindrical k...
thick=3; topdia=63; edge=2; botdia=56; key=2.8; blade=1; cutx=6.4; cuty=18; offset=0; res=60; difference(){ difference(){ union(){ cylinder(thick, d=topdia, $fn=res); translate([0,0,thick]) cylinder(edge, d=botdia, $fn=res); translate([(topdia/2),0,0]) cylinder(thick, d=key, $fn=res); } translate ([0,topdia/4, (th...
glb/cad_c629f64d1a80.glb
Create a router table insert consisting of a series of stacked concentric cylinders with a central hole. Start by creating a base cylinder with a diameter of 97.5mm and a height of 2.5mm. On top of this base, add a second cylinder with a diameter of 91mm and a height of 2.85mm. Above that, add a third cylinder with a d...
in=1.5; tabhang=.75; res=60; in2mm=in*25.4; diatabhang=2*tabhang; module insert(){ union(){ union(){ cylinder(2.5, d=97.5, $fn=60); translate([0,0,2.5]) cylinder(2.85, d=91, $fn=60); } difference(){ union(){ translate([0,0,5.35]) cylinder(4, d=91, $fn=res); translate([0,0,7.3...
glb/cad_4343779f6601.glb
Create a battery cover consisting of a main rectangular plate and an attached clip. Start with a flat rectangular plate measuring 61mm wide, 88mm long, and 1.5mm thick. Cut two symmetrical rectangular holes out of this plate, each 14mm wide and 70mm long, positioned such that they leave a central strip and outer border...
thickness = 1.5; width = 61; length = 88; tabWidth = 3; tabLength = 19.5; tabZOffset = 1.5; tabAttachWidth = 2; clipWidth = 5; clipLength = 29; clipHeight = 14; clipAttachWidth = 1; holeWidth = 14; holeLength = 70; $fn=20; difference(){ translate([-width/2, -length/2]) cube([width, length, thickness]); translate([w...
glb/cad_b21852b36bc1.glb
Create a BfB spindle holder consisting of two distinct geometric components. First, create a three-armed pivot assembly. Start with a central hub composed of two stacked cylinders: a base cylinder 6mm high with a radius of 6mm, and a smaller top cylinder 2mm high with a radius of 5.5mm. From this hub, extend three id...
spindle_ID = 75; max_overhang = 20; spokeSlope = 6; hubsize = 6; $fn=40; b(); module demo() { spindleWidth = 108; rotate([0,90,0]) { translate([0,0,10]) a(); b(); } translate([23+spindleWidth,0,0]) rotate([0,90,180]) { translate([0,0,10]) a(); b(); } translate([17,0,0]) rotate([0,90,0]) #cyli...
glb/cad_6cebb8522086.glb
Create an Experimental IC Storage Tray by starting with a solid rectangular base measuring 63mm in width, 63mm in depth, and 10mm in height. Carve out a grid of rectangular holes to create storage slots. The grid consists of three columns and five rows of slots. Each individual slot must measure 19mm in width, 10mm in ...
module boxen() { for(i=[0:4]) { translate([0,i*11,0]) cube(size=[19,10,10]); } } module bork() { boxen(); translate([20,0,0]) boxen(); translate([40,0,0]) boxen(); } module foo() { color("blue"){ difference (){ cube(size=[63,63,10]); translate([2,1,1]) bork(); } } } foo();
glb/cad_779436a6cbbe.glb
Create a dishwasher rack runner consisting of a central rectangular base and a wheel assembly. The main base is a block 26.8mm wide, 9.8mm thick, and 33mm high. Centered on the top of this base, create a vertical cylindrical axle assembly. This consists of a narrow inner cylinder with a radius of 4.5mm and a height o...
BarSep = 22; BarDia = 4 + 0.8; BarRad = BarDia / 2; BaseThickness = 9.8; BaseWidth = BarSep + BarDia; BaseHeight = 33; InnerThickness = 3.5; InnerWidth = BaseWidth + 2 * BarDia; InnerHeight = BarSep; ConnectorSide = BarSep * 0.707; WheelDrop = 12; BarDrop = 15; AxleRad = 9 / 2; AxleLength = 9.5; WheelInnerRad = 13.8 / ...
glb/cad_4ec92d473a00.glb
Create a cutlery basket bottom grid measuring 74mm by 44.5mm with a total height of 2mm. The structure consists of two stacked layers, each 1mm thick. The bottom layer is a uniform grid with 18 divisions along the 74mm length and 18 divisions along the 44.5mm width, where each wall is 1mm thick. The top layer is superi...
module grid(x=38,y=44.5,z=1.5,nx=10,ny=10,t=1.0) { dx1=t; dx2=(x-(dx1*(nx+1)))/nx; dx=dx1+dx2; dy1=t; dy2=(y-(dy1*(ny+1)))/ny; dy=dy1+dy2; difference() { cube([x, y, z]); for(xi = [0:nx-1]) { for(yi = [0:ny-1]) { translate([dx*xi+dx1, dy*yi+dy1, -...
glb/cad_cddd8a527fc8.glb
Create a Tupper Support consisting of a rectangular base frame and four vertical posts. Start by constructing a base cross using two intersecting rectangular bars, each 4mm thick. One bar should be 158mm long and 4mm wide, while the intersecting bar is 58mm long and 4mm wide, centered to form a cross. At each of the f...
alto=50; ancho=150; fondo=50; grosor=1+3; altoBarra=1+4; anchobarra=1+4; module asa() { difference() { cylinder(r=grosor*2, h=grosor, center=true); cylinder(r=grosor, h=grosor+1, center=true); } rotate([0,0,0]) cube([grosor,grosor,grosor*2]); } cube([ancho+(grosor*2),grosor,grosor]); tran...
glb/cad_6c055a3f592f.glb
Create a printable dreidel toy by constructing a main body that is the intersection of a cone and a cube. The cone should have a base radius of 60mm and a height of 60mm, centered vertically such that its tip is at the top and its base is 10mm above the origin. The intersecting cube should have dimensions of 40mm by 40...
module body() { difference() { intersection() { translate(v=[0,0,10]) { cylinder(h=60,r1=60,r2=0,center=true); } cube(size=[40,40,80],center=true); } translate(v=[0,0,-20]) { cylinder(r=4,h=20,center=true); } } } module letter(name, face) { rotate(a=90*face,v=[0,0,1]) { translate(v=[0,20,0]...
glb/cad_184faf093eb5.glb
Create a Cut Stone Full Base for gaming miniatures. Start by creating a solid rectangular base plate that is 50mm long, 50mm wide, and 6mm high. To create the stone texture, place a series of smaller cubes along the outer perimeter of the base. Each of these perimeter cubes should measure 9.2mm in length, 9.2mm in widt...
x = 2; y = 2; module stone_base(x,y, left_edge="false",right_edge="false",front_edge="false",back_edge="false",edge=12.5) { l = left_edge == "true"?edge:0; r = right_edge == "true"?edge:0; f = front_edge == "true"?edge:0; b = back_edge == "true"?edge:0; length = 25*x+l+r; width = 25*y+f+b; ...
glb/cad_91f91ced6526.glb
Create a Cut Stone Magnetic Base for gaming miniatures. The base is a square slab measuring 50.8mm by 50.8mm (2x2 inches) with a height of 6mm. On each of the four sides, center a connection system. This system consists of a rectangular cutout measuring 2mm wide, 14mm long, and 4.2mm deep. Within this cutout, create ...
x = 2; y = 2; square_basis = "inch"; openlock = "true"; magnet_hole = 6; priority = "openlock"; style = "plain"; shape = "square"; dynamic_floors = "false"; module openlock_chamber(buffer=0) { translate([-buffer,-7,1.4]) cube([2+buffer,7*2,4.2]); hull() { translate([0,-6,1.4]) cube([2,6*2,4.2]);...
glb/cad_32f07d29ad39.glb
Create a Sturdystruder Remix Bowden MK8 Extruder. Start with a central extruder block that serves as a NEMA 17 mount, featuring a 42mm by 42mm square base plate with a thickness of 3mm. In the center of this plate, create a cylindrical cutout with a radius of 13mm to accommodate the stepper shaft. Position four M3 scre...
translate([-30,-15,11]) rotate([0,180,90]) swivel(); translate([0,-8,0]) spring_tensioner($fn=50); extruder_block(); hobbsRadius = 3.5; filamentDiameter = 1.75; filamentCenterOffset = hobbsRadius + filamentDiameter/2; flexibleFilamentGuide = 0; m3radi = 1.75; n17w = 42; n17hs = (n17w / 2) - 5.5; module extruder_bl...
glb/cad_d1df6d55b215.glb
Create a bottom bracket for an Ulticontroller consisting of two symmetrical mirrored clip assemblies. Each assembly features a front clip and a back clip. The front clip is composed of a base lip and a vertical rib. The base lip is a rectangular slab measuring 20.4mm wide, 5.7mm thick, and 3mm high. Rising from this ...
$fn=60; bw=5.70; bh=25; bc=4; blt=3; lwidth=3.8; lheight=9.60; base2Ubottom=15.22; base2rbottom=12.24; outsideuc=138.88; insideuc=131.64; outsidelettering=114.46; insidelettering=106.51; leftholeoffset=20.61; rightholeodffset=15.58; ucslotth=6.30; uc2um=14; translate([-12,0,0]){ mirror([1,0,0])frontclip(base2U...
glb/cad_ee2387721665.glb
Create an ICC Compatible Router/Switch Holder. Start by creating a central rectangular base frame with a width of 165.1mm, a depth of 76.2mm, and a height of 25.4mm. Hollow out the center of this frame by removing a smaller rectangular volume of 139.8mm by 74.2mm by 23.4mm, leaving a thin outer wall. From this frame,...
width = 165.1; height = 25.4; depth = 76.2; right_offset = width/2; left_offset = right_offset*-1; right_hole = right_offset-(12.7/2); left_hole = right_hole*-1; hole_radius = 2.5; stud_radius = 2.5; stud_depth = 6; stud_x = 40; stud_y = 20; inch = 25.4; neg_inch = inch*-1; hole_height = (height/2)*-1; support_thickne...
glb/cad_a44b5c174d1c.glb
Create a tolerance calibration model consisting of five thin square prisms and one small cylinder. Each square prism must have a base of 8mm by 8mm and a height of 3mm. Position the first prism at the origin. Place four additional prisms around it: one shifted along the positive X-axis by 8.5mm, one along the positive ...
cubeHeight =3; cubeSide =8; tolerance =0.7; tolerance2 =0.5; $fn=0; $fa=0.01; $fs=0.25; translate = cubeSide + tolerance; translate2 = cubeSide + tolerance2; markerTranslate = cubeSide + cubeSide/2 + tolerance2; cube([cubeSide, cubeSide, cubeHeight]); translate([0, translate2, 0]) { cube([cubeSide, cubeSid...
glb/cad_7e502d7fee48.glb
Create a Camera Mount half-clamp by starting with a solid rectangular block 2.2 inches long, 2.2 inches wide, and 0.5 inches high. Carve a horizontal channel through the center of the block along its length to hold a sheet of material. This channel should be 0.75 inches wide and 0.135 inches high, positioned so it is...
module body_half(){ length=2.2; width=2.2; height=1.0; plexi_thickness = 0.135; flex_thickness = plexi_thickness/3; pcd = 0.75; tripod_offset = width/2; tooth_height = height/4; tooth_thickness = 0.2; screw_diameter = 0.25; union() { translate([length/2,width-tooth_thickness,height/2]) ...
glb/cad_d73de3443ccc.glb
Create a Parametric Airlift Water Valve by constructing a main body composed of two vertical cylinders. First, create two identical vertical structures, each consisting of a cylinder with a radius of 5mm and a height of 30mm, topped with a smaller cylinder of radius 3.2mm and a height of 40mm. Position these two struct...
difference () { union () { cylinder(h=30.0, r=5.0); cylinder(h=40.0, r=3.2); translate ([10.000,0.000,0.000]) union () { cylinder(h=30.0, r=5.0); cylinder(h=40.0, r=3.2); } translate ([0.000,0.000,25.000]) rotate ([0.000,90.000,0.000]) cylinder(h=10.0, r=5.0); translate ([0.000,-5.000,0.000]) cube([10.0,10.0,30.0]); ...
glb/cad_9a239093fea1.glb
Create a customizable drilling template. Start by constructing a solid rectangular base block with a height of 8mm and overall footprint dimensions of 61mm by 75mm (calculated from a 36mm by 50mm central area plus 12.5mm margins on all sides). From this block, remove a central rectangular section measuring 31mm by 45...
xEsp = 12.5; yEsp = 12.5; xLeg = 36; yLeg = 50; hDia = 3; hRad = hDia/2; alpha = atan2(yLeg,xLeg); dY = (hRad+5)/cos(alpha); dX = (hRad+5)/sin(alpha); $fn=60; module spacer() { difference() { cube([xEsp+xLeg+2,yEsp+yLeg+2,8]); translate([5,5,-1]) cube([xLeg-5,yLeg-5,10]); } } module transver...
glb/cad_80546afcb29e.glb
Create two identical stacking brackets for mini-components. Each bracket is a flat plate 80mm long, 66mm wide, and 12mm thick. From this plate, remove two rounded rectangular channels, each 72mm long, 26mm wide, and slightly deeper than the plate, positioned symmetrically to leave a central spine and outer edges. In ...
$fn = 12; module corner_rounded_cube(l, w, h, r) { union() { translate([0, r, 0]) cube([l, w - r * 2, h]); translate([r, 0, 0]) cube([l - r * 2, w, h]); translate([r, r, 0]) cylinder(r = r, h = h); translate([l - r, r, 0]) cylinder(r = r, h = h); translate([r, w - r, 0]) cylinder(r = r, h = h...
glb/cad_a0710f0ff2f6.glb
Create a desk power strip holder with a consistent thickness of 10mm. Start with a base L-shaped bracket formed by a vertical section and a horizontal section. The main body is a rectangular slab 40mm wide, 82mm long, and 10mm thick. From this slab, remove a central rectangular block 40mm wide, 27mm long, and 10mm thic...
hoch1=5; hoch2=27; hoch3=10; hinten=10; dick=10; Loch=1.2; strombreite=65; difference() { translate([0,0, 0]) cube([40,hoch1+hoch2+hoch3+44,dick]); translate([hinten,hoch1, 0]) cube([40,hoch2,dick]); translate([hinten,hoch1+hoch2+hoch3, 0]) cube([40,50,dick]); translate([40-10,10, 5]) rotate(90, [1, 0,0]) cylinder ...
glb/cad_10f0a4485348.glb
Create a Dragonboard 410c Case consisting of a bottom base and a top cover. For the bottom base, create a rectangular box with outer dimensions of 89.3mm x 58.6mm x 17mm and a wall thickness of 2mm. Hollow out the center to leave a cavity of 85.5mm x 54.2mm. Inside this cavity, add four cylindrical support posts with...
th = 2; bx = 85.5; by = 54.2; g = 0.4; thg = th + g; ox = bx + (thg * 2); oy = by + (thg * 2); bzo = 4 + th; module basicBox() { difference() { cube([ox, oy, 17]); translate([th, th, th]) cube([bx + g * 2, by + g * 2, 17]); } } module stand( x, y ) { translate([x, y, 0]...
glb/cad_a04e40d635ec.glb
Create a 3D model of an Android-style figure composed of a head, body, two arms, two legs, and a base. For the head, create a sphere with a radius of 35mm. Flatten the bottom by removing a cylinder of the same radius and 35mm height from the center. Add two small spheres with a radius of 3mm at the bottom edges, posi...
use <write/Write.scad> parts_to_render = 8; Render_Quality = 24; text_height=8; text_font = "orbitron.dxf"; text1 = "@EvrydyPineapple"; text2 = ""; text_shift = 0; Project_Size = 125; arm_r = 9*1; emboss_depth = 3*1; $fn = Render_Quality; leg_h = 25*1; scale_factor = 156*1; module body() { difference(){ u...
glb/cad_1abe7794f1d8.glb
Create a "curve 90 with a pre 45 rotate" by constructing a curved, segmented wedge. Start with a base shape that is 100mm in size. The overall form is a 90-degree arc composed of 20 individual slices or faces. Each slice is a thin section that, when combined, forms a curved surface. The geometry is defined by the inte...
bend_factor=1; sz=100; num_face=20; xtra=o; image_file = "image-surface.dat"; hole_diameter = 0; hole_border = 0; lithophane_border = 0; layer_height = 0.2; number_of_layers = 20; min_lays=3; s=0.01; length = 99; width = 99; z=sz/num_face; min_layer_height = layer_height*min_lays; hole_radius = hole_diameter...
glb/cad_80df51b53fcf.glb
Create a 3D model of the Hive 76 Logo. Start by constructing a large hexagonal ring with a total width of 80mm. This ring is formed by taking a solid hexagon with a side length of 20mm and removing a smaller concentric hexagonal hole with a side length of 10mm from its center. To create the decorative notches around t...
module hex( ) { union ( ) { rotate( [0,0, 30] ) cube ( [1,1/sqrt(3),1], true ); rotate( [0,0, 90] ) cube ( [1,1/sqrt(3),1], true ); rotate( [0,0,150] ) cube ( [1,1/sqrt(3),1], true ); } } module hivelogo1( ) { union ( ) { difference ( ) { scale( [20,20,1] ) hex( ); scale( [10,10,2] ) hex( ); tr...
glb/cad_3ccb93fe931f.glb
Create a fan base with a total height of 15mm. Start by creating a bottom cylindrical section 5mm high that tapers inward from a base diameter of 180mm to a top diameter of 160mm. On top of this section, add a second cylindrical section 10mm high that continues to taper inward from the 160mm diameter down to a top diam...
outer_diameter = 180; outer_lip_diameter = 160; outer_lip_height= 5; total_height = 15; inner_diameter = 70; dent_height = 5; module fan_base() { difference() { union() { cylinder (h=outer_lip_height, r1=outer_diameter/2, r2=outer_lip_diameter/2, $fn=100); translate (v=[0,0,outer_lip_height]) cylinder...
glb/cad_bf876d7cf12d.glb
Create a 3D surface model of a "Sombrero" mathematical function. The object is a square slab with a top surface defined by the height function $z = 3 \times (6.25 + 7 \times 0.93^{(x^2+y^2)^{0.75}} \times \cos(6(x^2+y^2)))$, where $x$ and $y$ range from -30mm to 30mm. The base of the model is a solid cube extending f...
function my_func(x,y)=6.25+7*pow(.93,pow(pow(x,2)+pow(y,2),.75))*cos(6*(pow(x,2)+pow(y,2))); num=98; dlta=20/num; scl=3; module smooth() { pts = [ for (i = [-10 : dlta: 10]) for (j=[-10 : dlta : 10]) let (x = i*scl, y = j*scl, z=scl*my_func(i,j)) [x,y,z] ]; base = [[-10*scl,-10*scl,0], ...
glb/cad_28f558b06b72.glb
Create a keyguard for a tablet by starting with a solid rectangular plate measuring 6.3125mm by 4.75mm with a thickness of 0.125mm. From this plate, remove a large rectangular viewing window measuring 6.1375mm by 3.525mm, positioned 0.075mm from the left edge and 2.25mm from the top edge. Below this window, create fou...
depth=0.125; iPad="iPad Mini"; if (iPad=="iPad2"){ size_x=7.875; size_y=6; key_x=0.6; key_y=0.56; spacing=0.095; start_x=0.125; start_keys=2.75; win_y=size_y-start_keys-2*spacing; keypad(size_x,size_y,key_x,key_x,spacing, start_x, start_keys,win_y,depth); } else if (iPad=="iPad Mini"){ ...
glb/cad_60760e4cff3e.glb
Create a 3D stamp of a tiger's head in profile, facing left, with a uniform thickness of 5mm. The overall design is a complex, stylized silhouette composed of a main outer body with numerous internal cutouts and separate raised elements to create a detailed artistic pattern. Start by creating the primary outer silhoue...
fudge = 0.1; module poly_path3462(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-25.582321,79.101964],[-28.423284,77.170644],[-28.755693,77.325840],[-28.128211,78.301964],[-27.408239,79.368779],[-27.828136,79.374988],[-31.325911,76.608874],[-...
glb/cad_8fe540092e26.glb
Create a laser diode mount by starting with a base shape formed from the union of a 24mm by 50mm by 7mm rectangular block, centered on the X-axis, and a cylinder with a radius of 12mm and a height of 7mm sharing the same center. From this combined volume, remove a central cylindrical hole with a radius of 8.95mm and a ...
difference() { union() { translate([-12,-25,0]) cube([24,50,7]); cylinder(h=7, r=12,$fn=100); } translate([0,0,1.78]) cylinder(h=7,r=17.9/2,$fn=100); cylinder(h=1.78,r=7.5,$fn=100); translate([0,-17.9/2,1.78]) cube([50,17.9,7]); translate([0,-7.5,0]) cube([50,15,7]); translate([-15,-2,5]) cube([10,4,2]); tr...
glb/cad_d11313da5d77.glb
Create a parametric stand for a bottle tray with an internal cavity measuring 150mm in length, 150mm in width, and 90mm in height. All walls and the base should be 3mm thick. Start by creating a flat rectangular base plate measuring 156mm by 156mm with a thickness of 3mm. Perforate this base with a grid of circular h...
insideLength=150; insideWidth =150; insideHeight= 90; wallThick=3; Opening = 1; holeDia = 24; outsideLength=insideLength + (wallThick*2); outsideWidth=insideWidth + (wallThick*2); outsideHeight=insideHeight+wallThick; holeSpacing = holeDia+(wallThick*2); numberOfHolesLong=floor(insideLength/holeSpacing); numberOfH...
glb/cad_7cd2657e97c5.glb
Create a Coffee Knockbox Dowel by constructing a central cylinder with a length of 106mm and a radius of 9.5mm. At each end of this cylinder, add a square block measuring 19mm by 19mm with a height of 5mm. Center these blocks so that they are aligned with the cylinder's axis and extend 2.5mm beyond the cylinder's flat ...
rotate(a=[90,0,90]) { cylinder (106,9.5,9.5); translate([-9.5,-9.5,0]) cube([19,9.5,5],centre); translate([-9.5,-9.5,101]) cube([19,9.5,5],centre);}
glb/cad_9ac0219c07b3.glb
Create a tube rack consisting of two identical side plates connected by horizontal supports. Each side plate is a rectangular slab with a thickness of 4mm. The plates have a total width of 60mm (calculated from 4 rows with 8mm spacing and 12mm diameter tubes) and a total height of 48mm (calculated from 2 columns with 1...
$fs=0.1; Number_of_Row = 4; Number_of_Column = 2; Tube_diameter = 12; Tube_row_distance = 8; Tube_column_distance = 12; Tube_holder_plate_distance = 30; Rack_support_plate_distance = 15; Rack_side_top_height_extra = 5; Rack_side_bottom_height_extra = 10; Base_Material = 4; Screw_Diameter = 4; Screw_Length = 9; Nut_H...
glb/cad_9e3ba7301d67.glb
Create a Sides Bottom Bracket for a C14 appliance inlet. Start with a base plate 80mm long, 60mm wide, and 4mm thick. Round the four corners of the plate with a 4mm radius. Add a vertical extrusion support 5mm wide and 1mm thick, positioned 13mm from the rear edge and spanning the 60mm width. Add two horizontal extrusi...
length=80; open_x=27.4; open_y=19.6; screw_dist=40; screw_m=3.1; $fn=60; difference(){ union(){ intersection() { cube([length,60,4]); translate([0,4,0])union(){ translate([4,0,4])sphere(4); translate([4,52,4])sphere(4); translate...
glb/cad_71a989ba5bc8.glb
Create a Z End Stop mounting plate as a rectangular block with rounded corners. The overall dimensions are 25mm in length, 20mm in width, and 4mm in thickness. The four corners must be rounded with a radius of 5mm. Remove three cylindrical holes from the block. First, create a central hole passing through the thickne...
$fa=0.5; $fs=0.5; height = 25; width = 20; thickness = 4; d_switch_screws = 2.3; r_corners = 5; d_tnut = 4.2; difference(){ hull(){ translate([height/2-r_corners, width/2-r_corners, 0]) cylinder(h=thickness,r=r_corners); translate([-height/2+r_corners, width/2-r_corners, 0]) cylinder(h=thickness,...
glb/cad_dcc2305ad8b2.glb
Create a pair of round glasses. Start by constructing two identical circular rims, each with an outer diameter of 55.5mm and an inner hole diameter of 47.5mm, resulting in a rim thickness of 4mm. Set the height of these rims to 5mm. Position the two rims so that their inner edges are separated by a distance that allows...
gdiam=47.5; tsize=135; pd=70; th=4; lscales=150; gheight=5; $fn=64; module EyeCylinder() { difference() { union() { cylinder(d=gdiam+th*2, h=gheight); NosePad(); } LensHole(); } } module LensHole() { tra...
glb/cad_fd5d6a3d436a.glb
Create a Z probe adapter consisting of a hexagonal base and a rectangular mounting arm. Start by creating a hexagonal prism with a flat top and bottom, having a total height of 8mm and an outer diameter of 12mm. Hollow out the center of this prism with a hexagonal hole 8mm in diameter and 8mm deep. Cut a narrow slot 1m...
$fn=12; hex_size = 8; difference(){ cylinder( d=hex_size+4,h=8,$fn=6); cylinder( d=hex_size,h=8,$fn=6); translate([-0.5,-6,0])cube([1,3,8]); } translate([-10,2.2,8]) difference(){ cube([14.5,3,10]); translate([2.5,5,8])rotate([90,0,0])cylinder(d=2,h=10); translate([2.5+9.5,5,8])rotate([90,0,0])...
glb/cad_85198079e692.glb
Create a coffee-grinder tray with a rectangular footprint of 87mm width and 40mm depth. The tray should have a flat bottom with a thickness of 1.3mm and vertical walls with a thickness of 1.14mm. The overall height of the walls is 20mm. The front wall of the tray is not straight but follows a convex arc with a radius o...
width = 87; baseDepth = 40; radius = 138; bottomStrength = 1.3; wallWidth = 1.14; module sector(length, rad,height,depth=0) { centerDist = sqrt(pow(rad,2)-pow(length/2,2)); intersection() { translate([0,-(rad-centerDist),0]) cube([length,(rad-centerDist)+depth,height]); translate([length/2,centerDist,0]) cylind...
glb/cad_0cc825e150a2.glb
Create a basic rounded enclosure consisting of a main box and a separate lid. For the main box, create a solid rectangular block 120mm wide, 72mm high, and 20mm deep. Round all four vertical corners with a 5mm fillet radius. Hollow out the center of this block by removing a smaller rectangular section from the top, lea...
width = 120.0; height = 72.0; depth = 20.0; thickness = 1.5; fillet_radius = 5.0; module block(width, height, depth, fillet_radius) { difference() { cube([width, height, depth], center = true); fudge = 0.1; fudge_depth = depth + 1.0; translate([-(width / 2), -(height / 2), -(...
glb/cad_1be5bdd53e0a.glb
Create a 3D model of a Sparkfun CAN-BUS Shield. Start with a rectangular PCB base measuring 2.1 inches by 2.35 inches with a thickness of 1.52 mm. Add five rectangular header blocks on top of the PCB, all with a height of 8.7 mm. Position two blocks measuring 0.1 by 0.8 inches at (0.05, 0.55) and (0.05, 1.4) inches. ...
inch = 25.4; Show_PCB = true; Show_Headers = true; Show_DB9 = true; Model_mode = true; if (Model_mode==true){ translate([0,0,0]){ rotate([0,0,0]){ PCB(); } } translate([0,0,0]){ rotate([0,0,0]){ Headers(); } } tran...
glb/cad_8e341023d34f.glb
Create a focal tripod mount shoe by starting with a central rectangular block measuring 76.2mm wide, 43.83mm deep, and 10.16mm high. From this main body, remove two smaller rectangular sections to create a wedge-like profile. The first cutout is a block 25.4mm wide, 50.8mm deep, and 25.4mm high, centered at the front a...
use <Libs.scad>; toinch =25.4; difference() { scale([toinch,toinch,toinch]) union() { difference() { rotate([0,0,0]) cube(size=[3,1.725,.4],center=true); translate([1.725,0,.3]) rotate([0,-35,0]) cube(size=[1,2,1],center=true); translate([-1.7,0,.3]) rotate([0,-55,0]) cube(size=[1,2,1],center=true); ...
glb/cad_1333bcb9304d.glb
Create a power button cap for a Tektronix TDS2024 oscilloscope. Start by constructing a rectangular block with a base measuring 11.5mm by 8.5mm and a total height of 20mm. Apply a fillet or rounding of 1.5mm to all edges and corners of the block. From the center of the bottom face, remove a square hole measuring 3.75mm...
btnX = 11.5; btnY = 8.5; btnZ = 20; hole = 3.75; holeZ = 8; roundness = 1.5; difference() { translate([roundness,roundness,0]) difference() { $fn = 30; minkowski() { cube([btnX-roundness*2,btnY-roundness*2,btnZ-roundness]); sphere(r=roundness); } ...
glb/cad_2ec7b9e14e50.glb
Create a printbed holding clip by extruding a specific 2D polygon profile to a width of 10mm. The profile begins at the origin and extends to 24mm along the x-axis, rising 2mm along the y-axis to create a base. From there, it moves back to x=4mm and rises to a total height of 8mm. The shape then extends to x=25mm at a ...
height = 5; slope = 3.5; clipWidth = 10; trueHeight = height + 1; draftHeight = trueHeight - slope; linear_extrude(height = clipWidth) { polygon(points = [ [0,0], [24,0], [24,2], [4,2], [4,2 + trueHeight], ...
glb/cad_696d6dcb3721.glb
Create a Reprap Prusa i3 Z belt tensioner consisting of two separate symmetrical components. For the first component, create a base cylinder with a radius of 12.5mm and a height of 3mm. Centered on top of this base, add a smaller cylinder with a radius of 7mm and a height of 3mm. Within this smaller cylinder, carve out...
$fn=50; $r_nuts=2.8; module holes(){ cylinder(r=1.8,h=30); translate([28,0,-1]) cylinder(r=3.75,h=3); translate([28,0,0]) cylinder(r=1.8,h=5); } module solids(){ difference(){ cylinder(r=7,h=3); translate([-tan(30)*$r_nuts,-1*$r_nuts,-1]) cube([$r_nuts/cos(30),2*$r_nuts,3.5]); ro...
glb/cad_248eadbb0b12.glb
Create a ruler tool with a main body measuring 57mm in length, 15mm in width, and 1.2mm in height. The base is a rectangular slab, but the bottom edge is beveled; create this by merging a primary block of 57mm by 9mm by 1.2mm with a thinner base strip of 57mm by 6mm by 0.4mm. On the top surface, starting 3mm from the ...
use<write/Write.scad> RulerLength=5.4; RulerWidth=15; RulerHeight=1.2; BevelWidth=3; BevelHeight=0.4; RulerText="STEM Academy"; FontSize=7; TextX=2; TextY=10; TextHeight=0.4; LineHeight=0.4; NumberSize=5; NumberOffset=0; NozzleSize=0.4; hull(){ translate([0,BevelWidth,0]) cube([(RulerLength*10)+7,RulerWidth,RulerHei...
glb/cad_bbc59f7da8d0.glb
Create a skull container lid by taking a 3D model of a skull and slicing it to keep only the top section. Specifically, isolate the portion of the skull that exists above 80mm from its center point. To this lid section, attach a registration peg centered at the origin. This peg is a 5mm tall solid extrusion created fro...
detail_level = 50; translate(v = [0, 0, -76]) { union() { intersection() { import_stl("SKULL1-CENTERED.stl"); translate(v = [-100, -100, 80]) { cube(size = [200, 200, 200]); } } translate(v = [0, 5, 76]) ...
glb/cad_91cebc7e4a21.glb
Create a router and switch holder consisting of a rectangular tray with a flat top and two symmetrical side walls. The top plate is 163mm wide, 76.2mm deep, and 25.4mm high, with a wall thickness of 2mm. The side walls extend downwards from the edges of the top plate to a height of 25.4mm. At the base of each side wal...
WallThickness = 2; TopWidth = 163; TopDepth = 76.2; TopHeight = 25.4; SupportWidth = 25.4; SupportDepth = TopDepth; SupportHeight = 2; HalfWidth = (TopWidth-SupportWidth)/2; SupportHoleRadius = 3; SupportX = 153; SupportY = 12; StudX = 20; StudY = 20; StudNeckHeight=3; StudNeckRadius=1.5; StudCapHeight=3; StudCapR...
glb/cad_4e413a65b39f.glb
Create a Raspberry Pi case with an overall footprint of 143.5mm by 111mm and a total height of 29mm. The main body is a hollowed-out rectangular shell with rounded corners of 28mm radius and a wall thickness of 2mm. The base plate is a solid slab 2mm thick. Within the shell, create a recessed interior space that mirr...
RASP_TOTAL_X=85.5; RASP_TOTAL_Y=57; RASP_TOTAL_Z=20; DISPLAY_RASP_PI=false; BOX_RADIUS = 28; BASE_MARGIN_X_LEFT = BOX_RADIUS; BASE_MARGIN_X_RIGHT = BOX_RADIUS; RASP_Y_SHIFT = 5; BASE_MARGIN_Y_TOP = BOX_RADIUS + RASP_Y_SHIFT; BASE_MARGIN_Y_BOTTOM = BOX_RADIUS - RASP_Y_SHIFT; BASE_PLATE_X_MIN = 0 - BASE_MARGIN_X_LEFT; ...
glb/cad_9ca99f33b3cb.glb
Create a Half Ring Ultrasonic Mount designed to hold five ultrasonic sensors. Start by constructing a semi-circular ring with a thickness of 12.5mm and a height of 25mm. The ring should be a half-circle arc with an outer radius of 80mm and an inner radius of 65mm. Along the curved face of the ring, create five equidis...
curve_arr_upper(); module curve_arr_upper(){ difference(){ union(){ curve_arr_upper_sub(); translate([0,0,25-3.5]) for(i = [-90:45:90]){ rotate([0,0,i]) cube([133,7,7],center=true); rotate([0,0,i]) translate...
glb/cad_e91a5075f989.glb
Create a Dual 608 bearing Y idler. Start with a main body composed of a 30x42x17mm block, integrated with a central cylinder of radius 8.5mm and height 30mm centered at Z=8.5mm, and additional blocks of 30x8.5x8.5mm and 33x8.5x8.5mm to form the outer structure. Carve a central longitudinal cavity 31mm long, 10mm wide...
difference() { union () { difference() { union() { cube([30,42,17]); translate([0,0,8.5]) rotate([0,90,0]) cylinder(h=30,r=8.5,$fn=100); translate([-1.5,42,8.5]) rotate([0,90,0]) cylinder(h=33,r=8.5,$fn=100); translate([0,-1.5,0]) cube([30,8.5,8.5]); translate([-1.5,42,0]) cube([33,8.5,8.5]);...
glb/cad_45b2e6bb57e3.glb
Create a Dual 608 bearing Y idler. Start with a main body consisting of a central block 30mm wide, 35mm deep, and 17mm high. Add two semi-cylindrical protrusions with a radius of 8.5mm to the top and bottom sides of the central block, and extend the body with two 8.5mm high rectangular sections on the outer edges to cr...
difference() { union () { difference() { union() { cube([30,35,17]); translate([0,0,8.5]) rotate([0,90,0]) cylinder(h=30,r=8.5,$fn=100); translate([-1.5,35,8.5]) rotate([0,90,0]) cylinder(h=33,r=8.5,$fn=100); translate([0,-1.5,0]) cube([30,8.5,8.5]); translate([-1.5,35,0]) cube([33,8.5,8.5]);...
glb/cad_2c1e9b26247b.glb
Create a safety cut-off mount by starting with a rectangular base block measuring 30mm by 54mm with a height of 5mm. Hollow out the center of this block to create a recessed tray that is 28.5mm by 52.5mm and 1.6mm deep, leaving a wall thickness of 0.75mm on the sides and 2.5mm on the ends. Within this recessed area, re...
difference() { translate([0,0,2.5]) cube([30,54,5],true); translate([0,0,4.3]) cube([28.5,52.5,1.6],true); translate([2.5,0,2.5]) cube([21,50,5.2],true); translate([0,0,2.5]) cube([26,37,5.2],true); translate([0,0,4]) cube([26,50,1.6],true); translate([-11.5,21.5,2.4]) cylinder(5,r=1.7,$fn=18,center=true); translate(...
glb/cad_a44a6ee62308.glb
Create a circular antenna protector consisting of a hollowed hemispherical cap and a connecting cylindrical base. Start by creating a thick-walled spherical shell with an outer radius of 21mm and an inner radius of 20mm. Flatten the bottom of this shell by removing the lower half of the sphere using a cube of 40mm widt...
cap_radius = 20; cable_radius = 1.75; clamp_height = 7; thickness = 1; module cap(rad) { difference() { sphere(r=rad, $fn=50); translate([0, 0, -(rad/2)]) { cube([rad*2, rad*2, rad], center=true); } } } module thick_cap(rad, thk) { difference() { cap(rad + t...
glb/cad_e9b7ccbec692.glb
Create a Gaomon 860T Drawing Tablet Holder. Start with a main rectangular body that is 220mm long, 1mm thick, and has rounded edges. At the right end, add a vertical cylinder with a radius of 12mm and a height of 50.1mm, topped with a hemisphere of the same radius to serve as a pen holder. At the left end, add a simila...
difference() { union() { difference() { union() { translate([0,0,0]) minkowski() { cylinder(r=15,h=48,$fn=100); cube([220,1,1]); } translate([110,-40,0]) hull() { cylinder(r=25,h=8,$fn=60); translate([0,80,0]) cylinder(r=25,h=8,$fn=60); ...
glb/cad_e50b1619c1b2.glb
Create a Captive Customizable Cable Holder consisting of a chain of two identical units. Each unit is built around a central vertical cylindrical neck with a radius of 4.5mm (cable radius 2.5mm + neck thickness 2mm) and a total height of 28.5mm. Bore a hole through the center of the entire assembly with a diameter of 5...
cable_diameter = 5; table_thickness = 19.5; tolerance = 0.75; tab_length = 15; tab_thickness = 3; grip_height = 1; grip_width = 4; thumbwheel_height = 5; count = 2; upper_tab = "yes"; lower_tab = "yes"; show_seperate = "no"; retainer_factor = 6; plane_cut_factor = 1; $fn = 50; neck_thickness = 2; holder...
glb/cad_c0b8b60391ee.glb