Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a hollow vertical cylinder with an outer radius of 7.05mm and an inner radius of 6.1mm, extending to a total height of 25mm. Pierce this cylinder with a horizontal hole by centering a smaller cylinder with a radius of 1.6mm and a length of 15mm. Position the axis of this horizontal hole exactly 8.5mm from the bo...
difference() { cylinder(r=7.05, h=25, $fn=90); cylinder(r=6.1, h=25, $fn=90); translate([0,0,8.5]) rotate([90,0,0]) cylinder(r=1.6,h=15, $fn=90); }
glb/cad_7770ad3c7c19.glb
Create a vectored thrust tricopter proof-of-concept frame part. Start by constructing an octagonal prism with a radius of 9mm and a height of 10mm. Bore a concentric cylindrical hole through the center of this prism with a radius of 6.15mm and a depth of 11mm. Additionally, remove a small cylindrical channel with a rad...
union() { rotate([-90,0,0]) difference() { rotate([0,0,22.5]) cylinder(r=9, h=10, $fn=8); translate([0,0,-.5]) cylinder(r=6.15, h=11, $fn=90); rotate([90,0,90]) translate([0,5,-9]) cylinder(r=1.6,h=18, $fn=90); } translate([-11,0,7]) cube([22,7,2]); translate([-11,0,7]) cube([2,7,7]); translate([-11,0,14...
glb/cad_29e1e5da1aeb.glb
Create a vectored thrust tricopter proof-of-concept frame consisting of a bottom plate and a front plate. Construct the bottom plate by combining a 64x64x3mm cube with a cylinder of radius 32mm and height 3mm centered at [32, 64, 0]. Remove a 40mm grid of four 3mm diameter holes centered at [12, 20.5], [12, 60.5], [5...
module bottom_plate() { difference() { union() { cube([64,64,3]); translate([32,64,0]) cylinder(r=32,h=3, $fn=200); } translate([12,20.5,-.2]) union() { translate([0,0,0]) cylinder(r=1.5,h=3.5, $fn=90); translate([0,40,0]) cylinder(r=1.5,h=3.5, $fn=90); translate([40,0,0]) c...
glb/cad_96a2ce19a38d.glb
Create a parametric book stand display by extruding a specific 2D profile to a height of 50mm, centered on the Z-axis. The profile is formed by the union of several hulls of 5mm diameter circles. First, create a horizontal base section by forming a hull between a circle at the origin and a circle positioned 100mm away ...
linear_extrude(height = 50, center = true) union() { hull() { translate([100,0,0]) circle(5); circle(5); } translate([100,0,0]) rotate ([0,0,130]) hull() { translate([100,0,0]) circle(5); circle(5); } hull() { translate([4,-50,0]) circle(5); circle(5); } hull() { translate([4,-50,0]) circle(5);...
glb/cad_3bfc146a4526.glb
Create a parametric scoop for small parts. Start by forming the main body as a hollowed-out wedge. The outer dimensions of the scoop should be 30mm wide, 25mm long, and 15mm high. Create the walls with a thickness of 2mm. The profile of the scoop is defined by a polygon that starts at the origin, extends to the full le...
outerWidth = 30; outerLength = 25; outerHeight = 15; wallThickness = 2; handleLength = 40; handleWidth = 10; handleThickness = 2; handleHoleDiameter = 4; $fn = 60; function scaleValue(pDimension, pSize) = (pDimension - pSize) / pDimension; module makeOuterScoop() { linear_extrude(outerWidth) polygon(point...
glb/cad_188a2f4c41b1.glb
Create a sensor holder for a Vector-9000 robot. Start by creating a base rectangular shell with a total length of 91.2mm (sensor width 75.2mm plus 8mm thickness on each side), a width of 27.2mm (sensor depth 13.2mm plus 8mm thickness on each side), and a height of 5mm. Round the corners of this shell with a radius of 2...
$fn = 50; inches_to_mm = 25.4; shell_thickness = 8; sensor_width = 75.2; sensor_depth = 13.2; support_thickness = 1; peg_square = 5; finger_thickness = 1.5; finger_offset = 8.73; finger_center = 9.56; finger_length = 6.32; shell_height = 5; support_height = 3.2; finger_height = support_height-0.8; spacer_thicknes...
glb/cad_b5aa50144f2c.glb
Create a flat plate for the Vector-9000 robot base. Start by creating a solid rectangular slab with overall dimensions of 50mm in width, 40mm in depth, and 1.6mm in height. Apply a corner radius of 1mm to all four exterior corners of this slab. From the center of this plate, remove a smaller rectangular section to crea...
sizeX = 90; sizeY = 29; sizeZ = 0.4*4; difference() { roundedRect2D([50,40,0.8], 1); translate([0,10,0]) roundedRect2D([26,26,20], 9); } module roundedRect2D(size, radius) { $fn=20; x = size[0]-radius*2; y = size[1]-radius*2; z = size[2]; minkowski() { cube(size=[x,y,z],center=true); cylinder(r=radius,h=0.00...
glb/cad_5d989cc8055b.glb
Create a thin, rectangular plate for the Vector-9000 robot chassis with overall dimensions of 90mm in length, 29mm in width, and 1.6mm in height. The plate should have rounded corners with a radius of 5mm. Hollow out the center of the plate to create a thin rim 1mm wide around the perimeter, leaving the overall height ...
sizeX = 90; sizeY = 29; sizeZ = 0.4*4; difference() { translate([sizeX/2,sizeY/2,sizeZ/2]) scale([0.95,0.85,1]) { difference() { roundedRect2D([sizeX,sizeY,sizeZ], 5); translate([0,0,0.8]) roundedRect2D([sizeX-2,sizeY-2,sizeZ], 5); } } translate([26,9,-1]) cube([31,5,10*size...
glb/cad_536a3c3ab8d9.glb
Create a Vector-9000 robot component by starting with a sphere of 15mm radius. Intersect this sphere with a rounded rectangular prism that is 25mm wide, 25mm deep, and 12mm high, featuring rounded corners with a 9mm radius. Within this combined volume, remove a central square column that is 6mm wide and 6mm deep. Addit...
resolucion_taladros = 40; diametro_taladros = 3.5; anchoLDR = 6; altoLDR = 5; alturaPieza = 12; intersection() { difference() { translate([0,0,alturaPieza/2]) roundedRect2D([25,25,alturaPieza], 9); cube([anchoLDR,anchoLDR,100],center=true); for (i = [0:2]) rotate([0,0,i*360/3+90]) translate([8,0,0]) cylinder...
glb/cad_67629a15319a.glb
Create a Vector-9000 robot chassis by starting with a rectangular base measuring 18mm by 13mm with a thickness of 0.8mm. Apply a 2mm radius to all four corners of this base to create a rounded rectangular plate. Centered on top of this base, add a smaller rectangular block measuring 6mm by 11.7mm with a height of 1.5mm...
difference() { union() { hull() { roundedRect2D([18-1,13-1,0.0001], 2); translate([0,0,0.8]) roundedRect2D([18,13,0.0001], 2); } translate([5,0,0.8+1.5/2]) roundedRect2D([18/3,13*0.9,1.5], 2); } translate([-7,0,0.8+1.5/2]) { translate([0,2,0]) cylinder(r=2/2,h=100,center=true,$fn=20); translate([0,-2,0]) cylinder(r...
glb/cad_48d45b45d2dd.glb
Create a Pom Pom maker jig with a thickness of 2.5mm. The main body is a semi-circular ring created by taking a cylinder with a 50mm radius and 2.5mm height, and removing both a concentric inner cylinder with a 25mm radius and a rectangular block that cuts the ring in half along its diameter. Add a slider mechanism co...
$fn = 30; radius = 50; thickness = 2.5; PomPomJig(radius,thickness); module PomPomJig(radius,height){ difference(){ cylinder(r=radius,h=height); cylinder(r=radius/2,h=height); translate([0,-radius,0]){ cube([radius,radius*2,height]); } } translate([0,-radius...
glb/cad_c17807ae261c.glb
Create a Tiny 4-Ball Maze consisting of a flat base with a network of raised walls. The overall footprint of the maze is a square measuring 34.2mm by 34.2mm with a total height of 1.25mm. Construct the outer boundary as a rounded square with a corner radius of 2mm. Inside this boundary, create a series of internal wa...
module walls(s, basez, tall) { union() { translate([s*24600, s*-9000, basez]) { cube([s*22800, s*3600, tall]); } translate([s*34200, s*-28200, basez]) { cube([s*8400, s*3600, tall]); } translate([s*10200, s*-52200, basez]) { cube([s*3600, s*27600, tall]); } translate([s*19800, s*-4200, ba...
glb/cad_f7ca8ac97153.glb
Create an E3Dv6 Fan Duct for Mendel90. Start by constructing a main body that transitions from a rectangular fan mount to a circular nozzle. The base is a rounded cube with dimensions 31.5mm width, 40mm height, and 3mm thickness. Extend the body forward to create a duct. At the front, integrate a cylindrical outlet w...
use <rcorn_cube.scad> use <roundCornersCube.scad> halterbohrungmutter=5.5; fan_h=40; fan_w=40; tube_h=31.5; tube_w=34; tube_halter_size=14; fan_hole_srew=32/2; hotend_d=22.5; hotend_offset_w=fan_w/2-tube_w/2; hotend_offset_l=39.5+hotend_d/2; socket_h=3; bodenweg=8; %translate([0,0,-5]) rotate([0,-90,0]) fan(fan...
glb/cad_7e6069229da3.glb
Create a dry-erase marker holder by starting with a rectangular block that is 70mm long, 10mm wide, and 17.5mm high. Centered within this block, carve out three identical vertical cylindrical holes to hold the markers. Each hole must have a radius of 8.75mm and a height of 15mm. Position the holes in a row along the le...
radius = (17.5) / 2; length = 70; height = radius * 2; rotate([90,0,0]){ difference(){ cube([length,10,height],center = true); for (i = [-1:1]){ color([100,0,0])rotate([90,0,0])translate([(radius*i) * 2.5,radius * 0.6,0])cylinder(h = 15, r = radius, center = true) ; } } }
glb/cad_655f64c5ee9f.glb
Create a 31C3 Parametric Bottle Name Tag designed to clip onto a bottle neck. The main body is a tapered hollow cylinder with a height of 26mm. The inner radius tapers from 17.5mm at the bottom to 13mm at the top. The wall thickness of this cylinder is 2.5mm. Cut a rectangular gap through the side of the cylinder to a...
include <write/Write.scad> name1 = "Foo"; name2 = ""; type1 = "mate"; type2 = "mate"; font = 3; $fn = 100; if(font == 1) { generate("write/Letters.dxf");} if(font == 2) { generate("write/BlackRose.dxf");} if(font == 3) { generate("write/orbitron.dxf");} if(font == 4) { generate("write/knewave.dxf");} if(font == 5...
glb/cad_aa78f53a9402.glb
Create a sunshade for a 4.3-inch FPV monitor. Start by constructing a main rectangular shell with outer dimensions of 80mm in width, 110mm in length, and 50mm in height. Hollow out the center of this shell by removing a rectangular volume measuring 60mm by 100mm by 50mm, leaving walls that are 10mm thick on the sides a...
translate([42,0,33]){ rotate([0,90,0]){ difference(){ union(){ cube([30, 110, 10], center=true); translate([33,0,0]){ cube([50, 110, 10], center=true); } } translate([-2,41,0]){ cylinder(h=10, d=10.5, $fn=100, center=true); } translate([-2,-41,0]){ cylinder(h=10, d=10.5, $fn=100, center=true); } } } } difference(){ cu...
glb/cad_a1ddaa109ee4.glb
Create a Makers Coin by starting with a central cylinder that has a radius of 25mm and a total height of 10mm. The main body is a disc with a radius of 20mm and a thickness of 10mm. Around the perimeter of this disc, create eight identical radial cutouts spaced every 45 degrees. Each cutout is formed by removing a se...
$fn = 20; $fn1 = 20; $fn2 = 50; XSection = false; Chamfer = false; R = 20; CR = 5; CTR = 7; Cut_RF = .64; Cut_R = R+CR+CTR*(1-Cut_RF); Bowl_R = 39; Bowl_Z = 5; Fnt_Sz = 12; Rounding = 2; AAng = atan(CR/R)+.1; Coin(); module Coin() { difference() { if (Chamfer) { resize([R+CR,R+CR,CR]...
glb/cad_c786f22cb86d.glb
Create a CMDF Badge consisting of a central hexagonal base and surrounding geometric elements. The base is a large hexagon with a radius of approximately 57.7mm (100mm scaled by 0.25 and divided by the square root of 3). On the top surface, center a small solid hexagon with a radius of 13mm. Surround this center with...
Scale_xy = .25; Height = 2; Center_Hole = true; Magnet_Mount = true; Magnet_R = 10; Base_Thk = 2; Rad = 100; difference() { scale(Scale_xy * [1,1]) CMDF(); scale(Scale_xy * [1,1]) if (Center_Hole) translate([0,0,-1]) Center(Base_Thk+Height+10); if (Magnet_Mount) MirrorCopy([1,0]) ...
glb/cad_334168f8f48b.glb
Create a personalized luggage tag consisting of a main body and a detachable strap. The main body is a flat plate 3mm thick, formed by a 50mm square centered at (25, 25) with two semi-circular ends of 24mm radius centered at (25, 25) and (75, 25), creating an oblong shape. On the top surface of this plate, embed two ...
use </Volumes/AllData/Mijn Documenten/Thomas/3D/Modules/modules.scad>; use <write.scad>; module space () { union () { color ("green") rotate (a=[0, 0, 30]) translate (v=[5, 2, -2]) cube (size=[10, 5, 5]); } } module lastname (lnme) { color ("black") translate (v=[75,20,3]) rotate (a=[180,180,0]) write(lnme,h=12,t=4...
glb/cad_42b334fc9b60.glb
Create a parametric tube adapter consisting of two concentric cylindrical shells connected by a tapered transition. Start by creating a lower hollow cylinder with an inner diameter of 3mm, an outer diameter of 5mm, and a height of 7mm. Atop this, place an upper hollow cylinder with an inner diameter of 3.5mm, an outer ...
thickness = 1; slope_height = 2; lower_id = 3; upper_id = 3.5; lower_height = 7; upper_height = 7; lower_od = lower_id + (thickness * 2); upper_od = upper_id + (thickness * 2); nudge = 0.01; $fs = 1; $fa = 2; module tube(od, id, h) { difference() { cylinder(r=od/2, h=h); translate([0, 0, -nudg...
glb/cad_d10f310b419c.glb
Create a mini tray for board mounting. Start with a main rectangular block measuring 44mm wide, 103mm long, and 11mm high. Hollow out the center of this block by removing a volume of 41mm by 100.5mm by 10mm, leaving a wall thickness of approximately 1.5mm to 1.6mm on the sides. Within this main body, create several c...
module ear() { union(){ cylinder(h=0.4, r=6,$fn=32); translate([0,0,3]) difference(){ cube([6,6,6],true); translate([0.5,0.5,0])cube([5,5,6],true); } } } union(){ difference(){ translate([-1.6,-1.6,-1])cube([44,103,11]); cube([41,100.5,10]); translate([13.3,12.0,-2])cylinder(5,r=3.7, $fn=64); ...
glb/cad_a35219d3a704.glb
Create a mini tray for board mounting. Start with a rectangular base measuring 88.1mm by 123.7mm (68.1mm width plus 20mm for rounded corners, and 103.7mm length plus 20mm for rounded corners), with a base thickness of 1mm and a total height of 4mm. The corners of this base must be rounded with a 10mm radius. Hollow out...
use <myLibs.scad> w= 68.1; l= 103.7; board_thickness= 1.65; standoff_ht= 3; standoff_id= 3-0.5; standoff_od= standoff_id+(2.1*2); hole_dia= 3.6; holesepl= 97.5; holesepl2= 88.2; holesepw= 61.65; holes= [ [-holesepw/2, -holesepl/2], [holesepw/2, holesepl/2], [-holesepw/2, holesepl/2], [holesepw/2, holesepl/2-holesep...
glb/cad_6f393cb41d76.glb
Create a parametric wedge with a length of 20mm, a width of 15mm, and a height of 7mm. The main body is a right-triangular prism where the base is 20mm long and the height is 7mm, extending across the 15mm width. Along the sloped face of the wedge, add 20 evenly spaced teeth. Each tooth should be a small right-triangle...
length=20; width=15; height=7; teeth_num=20; teeth_size=4; teeth_isoceles="No"; rotate([90,0,0]){ linear_extrude(width){ tlen=sqrt(pow(length,2)+pow(height,2)); slope=height/length; angle=atan(slope); union(){ polygon(points=[[0,0],[length,0],[length,height]]); ...
glb/cad_0bf9acfeec8e.glb
Create a CD disc index tab. Start by creating a rectangular base with rounded corners, measuring 10mm wide, 16mm deep, and 5mm high, with a corner rounding radius of 2mm. Remove a central rectangular section from this base, measuring 8mm wide by 12mm deep and 5mm high, to create a thin-walled U-shaped shell. Attached ...
translate ([0,12,-1.5]) linear_extrude(0.8) text("A", size= 6); module createMeniscus(h,radius) difference(){ translate([radius/2+0.1,radius/2+0.1,0]){ cube([radius+0.2,radius+0.1,h+0.2],center=true); } cylinder(h=h+0.2,r=radius,$fn = 25,center=true); } module roundCornersCube(x,y,z,r) difference(){ ...
glb/cad_8d7482651bef.glb
Create a CD disc index tab. Start by creating a rectangular base with a width of 10mm, a depth of 23mm, and a height of 5mm. Round all four vertical corners of this base with a radius of 2mm. Cut a rectangular slot out of the center of this base that is 8mm wide and 19mm deep, leaving a 1mm wall on the sides and a so...
translate ([0,16,-1.5]) linear_extrude(0.8) text("A", size= 6); module createMeniscus(h,radius) difference(){ translate([radius/2+0.1,radius/2+0.1,0]){ cube([radius+0.2,radius+0.1,h+0.2],center=true); } cylinder(h=h+0.2,r=radius,$fn = 25,center=true); } module roundCornersCube(x,y,z,r) difference(){ ...
glb/cad_74a36abe46f5.glb
Create a CD disc index marker. Start by creating a base plate that is 16mm wide, 21mm deep, and 5mm thick, with all four vertical corners rounded to a radius of 2mm. Cut a rectangular hole through the center of this base that is 14mm wide and 16mm deep, leaving a thin outer frame. Attached to this base, create a long,...
translate ([-2,16,-1.5]) linear_extrude(2) text("A", size= 8); module createMeniscus(h,radius) difference(){ translate([radius/2+0.1,radius/2+0.1,0]){ cube([radius+0.2,radius+0.1,h+0.2],center=true); } cylinder(h=h+0.2,r=radius,$fn = 25,center=true); } module roundCornersCube(x,y,z,r) difference(){ ...
glb/cad_e5840dd61e58.glb
Create a CD Disc Index marker. Start by creating a base plate that is 16mm wide, 41mm long, and 5mm thick. Round all four vertical corners of this plate with a radius of 2mm. Hollow out the center of this plate by removing a rectangular block measuring 14mm by 37mm and 5mm thick, leaving a 1mm thick wall around the per...
translate ([-2,25,-1.5]) linear_extrude(2) text("A", size= 8); module createMeniscus(h,radius) difference(){ translate([radius/2+0.1,radius/2+0.1,0]){ cube([radius+0.2,radius+0.1,h+0.2],center=true); } cylinder(h=h+0.2,r=radius,$fn = 25,center=true); } module roundCornersCube(x,y,z,r) difference(){ ...
glb/cad_d70c87f69460.glb
Create a Clip Stand with BackClip. The main body is a curved spine with a height of 16mm and a thickness of 2.5mm. The spine forms an arc with a chord length of 55mm. At both ends of this spine, add clipping elements that wrap around a device. These clips are created by adding rounded arcs with a radius of 2.5mm and a ...
_length = 55.0; _height = 16.0; _curvature = 80; _thickness = 2.5; _clip_radius = 2.5; _clip_angle = 100; _backclip_thickness = 1.5; _backclip_radius = 4; _backclip_place_angle = -7; _backclip_angle_1 = 75; _backclip_angle_2 = 120; module smallArc(radius0, radius1, angle, depth) { thickness = radius1 - radi...
glb/cad_e36e2adb851e.glb
Create a DOTFONT sign consisting of a rectangular base with a raised dot-matrix text reading "HELLO WORLD". First, create a rectangular base plate with a thickness of 1mm. The overall dimensions of the plate are determined by the text size, extending 4mm beyond the text in the x-direction and 3mm in the y-direction. ...
e=+0.02; xaxis=[1,0,0]; yaxis=[0,1,0]; zaxis=[0,0,1]; word = "HELLO WORLD"; str=word; rdot0=1.0; rdot=rdot0+e; fn=8; h=1; pq=40; q=pq/100; sdotx=1; sdoty=1; dpos=1; hdots=+7; dposy=+4; sign=!false; dsx=4; dsy=3; sy=(2*dsy+hdots)*sdoty; sz=1; fo= [ [ [0,0,0,0,0], [0,0,0,0,0], [0,0,0,0,0], [0,0,0,0,0], [0...
glb/cad_97a8d2faa273.glb
Create a Dual Head Calibrate tool starting with a base cylinder of 20mm radius and 0.5mm height. On the top surface of this cylinder, center a cross shape formed by two intersecting rectangular bars: one measuring 20mm by 5mm and the other 5mm by 20mm, both 0.5mm thick, aligned along the X and Y axes. Add a small 10-si...
XX = "B" ; CH = 0.5 ; eps = 0.001 ; module XX_L() { cylinder(r=20, h=CH) ; translate([-10,-2.5,0]) cube([20,5,CH+1]) ; translate([-2.5,-10,0]) cube([5,20,CH+1]) ; translate([0,15,0]) cylinder(r=2.3,h=CH+1,$fn=10) ; translate([13,-1,0]) cube([2.5,2.5,CH+1]) ; } module XX_R() { translate([6, 6, ...
glb/cad_a5e6a86b1892.glb
Create a Dual Head Calibrate tool starting with a base cylinder 50mm in diameter and 1mm high, using a 50-facet resolution. On the top surface of this cylinder, add a central cross formed by two intersecting rectangular prisms: one measuring 30mm by 10mm and another measuring 10mm by 30mm, both 1.5mm high and centered ...
XX = "B" ; CH = 1 ; FH = 1.5 ; eps = 0.001 ; module XX_L() { difference() { union() { cylinder(d=50, h=CH,$fn=50) ; translate([-15,-5,0]) cube([30,10,CH+FH]) ; translate([-5,-15,0]) cube([10,30,CH+FH]) ; translate([-3.8,15,-eps]) linear_extrude(height=CH+FH) text(text="Y",siz...
glb/cad_3f7c44c1b3de.glb
Create a parametric cable grommet consisting of three stacked concentric sections with a central hollow core. Start with a base disk 1.4mm thick with a top radius of 27mm and a bottom radius of 26.4mm to create a slight chamfer. Above this base, add a middle cylindrical section 1.1mm high with a constant radius of 23.5...
TopRad = 27; HoleRad = 23.5; LipRad = 24.5; Thickness = 1.4; NotchHght = 1.1; LipHght = 2; Wall = 2; TChamfer = 0.5; BChamfer = 0.7; Cutout = 4; NCutouts = 6; Resolution = 100; module Gromet() difference(){ union(){ cylinder(h=Thickness,r1=TopRad-Thickness*TChamfer,r2=TopRad, $fn=Resolut...
glb/cad_463b17c58666.glb
Create an Ultimate Box Generator storage container consisting of a main box and a hinged lid. Construct the main box with an outer dimension based on compartments that are 90mm in X, 26.3mm in Y, and 26.3mm deep. The box should be organized into a grid of 2 compartments along the X-axis and 4 compartments along the Y...
echo("Built using Ultimate Box Generator v4.0.0"); show_box=true; show_lid=true; comp_size_deep = 26.3; comp_size_x = 90; comp_size_y = 26.3; wall = 1.5; repeat_x = 2; repeat_y = 4; tolerance=0.03; box_corner_radius=0; box_corner_radius_axis=[true, true, true]; internal_corner_radius=0; mesh_corner_radius=0; corner_...
glb/cad_cfb80651fac2.glb
Create a customizable stencil by starting with a rectangular base plate measuring 400mm in width, 50mm in height, and 1mm in thickness. Centered on this plate, carve out the text "Stencil Customizer" using the Black Ops One font. The letters should be 20mm in size and completely penetrate through the 1mm thickness of t...
text_to_display = "Stencil Customizer"; font_name = "Black Ops One"; text_size = 20; verticle_offset = 0; width = 400; height = 50; thickness = 1; module create_text() { linear_extrude(thickness + 2) text(text_to_display, size = text_size, font = font_name, halign = "center", valign = "center"); } x_off...
glb/cad_732dc2132191.glb
Create a cupola consisting of a circular base, supporting columns, and a hemispherical dome. Start by creating a solid cylinder for the base with a diameter of 60mm and a height of 4mm, centered on the Z-axis. Around the perimeter of this base, place 8 vertical columns. Each column should be a cylinder with a diameter ...
diameter=60; hight=20; column_number=8; $fn=30; base_hight=2+hight/10; column_diameter=1+diameter/8; radius=diameter/2; translate([0,0,base_hight/2]) cylinder(h=base_hight, r=radius, center=true); column_z=base_hight+hight/2; for ( i = [0 : column_number-1] ) { rotate( i * 360 / column_number, [0, 0, 1]) t...
glb/cad_933e36711d90.glb
Create a birthday commemorative plaque by starting with a rectangular base measuring 168mm in length, 35mm in width, and 2mm in height, positioned at the origin. On top of this base, place a large 3D text extrusion of the number "50" with a height of 10mm and a font size of 60mm. To the right of the number, add two sma...
linear_extrude(height = 10){ text(text = "50", font = "URW Chancery L", size = 60 , $fn = 80); } translate([67, 25, 0]) linear_extrude(height = 5){ text(text = "Herzlichen", font = "URW Chancery L", size = 17 , $fn = 80); } translate([67, 5, 0]) linear_extrude(height = 5){ text(text = "Glückwunsch", font = "URW Chanc...
glb/cad_2db58b6defef.glb
Create a square pen stand consisting of two identical perforated plates separated by a vertical support. Each plate should be a square measuring 111mm by 111mm with a thickness of 10mm and rounded corners with a 2mm radius. In each plate, create a 6x6 grid of square holes. Each hole must be 15mm by 15mm with rounded co...
hole_n=6; hole_s=15; hole_h=10; gap=0.2; hight=70; showPlate1=true; showPlate2=true; showStand=true; module rund_squre(dim=[100,100,10], r=2) { hull(){ translate([r,r,0])cylinder(h = dim[2], r=r); translate([dim[0]-r,r,0])cylinder(h = dim[2], r=r); translate([dim[0]-r,dim[1]-r,0])cylinder(h = dim[2]...
glb/cad_c5b69da0e3b7.glb
Create a wall mount for an Airport Extreme. Start by creating a square base plate measuring 7.0 inches by 7.0 inches with a thickness of 0.25 inches. The corners of this base should be rounded with a radius of 0.75 inches. From the center of this base, remove a square section measuring 6.75 inches by 6.75 inches and ...
$fn=50; part_width = 6.75; part_height = 6.75; part_offset = width / 2; part_thickness = 1.6; material_thickness = 0.125; base_thickness = part_thickness + (2 * material_thickness); module createPart(width, height, depth) { hull() { translate([width / 2, height/ 2,0]) cylinder(h=depth, r=0.75); translate([-...
glb/cad_fca8bbc54f22.glb
Create a screw mount ziptie anchor starting with a square base plate measuring 25mm by 25mm with a thickness of 2.6mm. In the center of this base, create a raised square platform that is 12mm wide and 2.25mm high. Within this raised platform, carve out a central cross-shaped gap consisting of two intersecting rectangul...
base_width = 25; base_height = 2.6; gap_width = 6; gap_height = 2; top_width = 12; top_height = 2.25; cross_width = 2.5; screw_top = 7.8; screw_bottom = 3.8; diaginal_width = sqrt(base_width*base_width+base_width*base_width); module tie_down() { difference () { union() { cube(size=[base_width,base_width,base_height]...
glb/cad_845d41a3e5de.glb
Create a round bed leveling aid with a total height of 0.4mm. Start by creating a thin outer ring with an outer diameter of 127mm and a wall thickness of 1.1mm. At the center of this assembly, place a solid cylinder with a diameter of 8mm and the same 0.4mm height. Add a single concentric inner ring with a diameter of...
d=127; ed=0.55; rp=2; h=0.4; cd=8; ir=1; $fn=150; union() { difference() { cylinder(d=d,h=h, center=true); cylinder(d=d-(rp*ed)*2, h=h+1, center=true); } for(y=[1:ir]) { innerRing(ir, y); } cylinder(d=cd,h=h,center=true); for(x=[1:3]) { axis(360/3*x, x); } } module innerRing(rings, ring) { difference() {...
glb/cad_bbe7ffc05e98.glb
Create a Device ErgoHolder stand by constructing two mirrored, angled tray sections that form a cradle. Each tray section is based on a device size of 143mm in height and 71mm in width, with a tray depth of 4mm. The walls of the cradle should have a thickness of 1.4mm. Position the two tray sections so they tilt backw...
device_height = 143; device_width = 71; device_depth = 4; device_offset_height = 6; device_offset_width = 2; stand_height = 40; stand_cutout_side = "left"; stand_offset_height = 6; stand_offset_width = 14; device_wall_height_offset_top = 0; device_wall_height_offset_right = 6; device_wall_height_offset_botto...
glb/cad_4a726bad1cd5.glb
Create a customizable atrium drain grate consisting of a tapered conical body and a circular base. First, construct the main body as a series of 18 radial spokes. Each spoke is a thin wall 2.25mm thick, extending from a top diameter of 24mm to a bottom diameter of 38mm over a height of 24mm. At the top of this conica...
thk = 2.25; top_diameter = 24; bottom_diameter = 38; top_height = 24; bottom_height=10; base_extension = 4; num_spokes = 18; num_drain_gaps = 6; gap_offset = 360/(num_drain_gaps+1.25); gap_width = (bottom_diameter+base_extension*2) / (90 / num_spokes); $fn = 80; module spoke() { translate( [bottom_diameter/2...
glb/cad_b2c7e8f75142.glb
Create a Socket Tray for Milwaukee Packout. The main body is a rectangular block approximately 220mm long with a height of about 30mm. On the top surface, create 14 cylindrical holes to hold 1/2 inch sockets. The holes are arranged in two rows. The first row starts with the largest socket (1 1/4 inch diameter, 43mm w...
sockets=[ ["1 1/4" ,43 ,44,6], ["1 1/16",37 ,44,6], [ "1" ,34.5,44,6], [ "15/16",34.5,44,6], [ "7/8" ,31 ,44,6], [ "25/32",29 ,44,6], [ "13/16",29 ,44,6], [ "3/4" ,26.5,44,6], [ "11/16",25 ,44,6], [ "5/8" ,22.5,44,6], [ "9/16",22.5,44,6], [ "1/2" ,22.5,44,6], [ "7/16",22.5,44,6], [ "3/8" ,22.5,44,6] ]; ...
glb/cad_205a6f34ef47.glb
Create a Trans Feminist Fist Necklace Charm by constructing a flat 3D emblem with a thickness of 5mm. The design is based on the Transfeminism symbol, combining a central fist within a circular frame that integrates elements of gender signs. Start by creating a central circular ring. On the left side of the ring, atta...
fudge = 0.1; module poly_path3027(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[346.811098,-365.718750],[340.654848,-364.218750],[334.561098,-362.562500],[328.498598,-360.875000],[322.404848,-359.125000],[316.342348,-357.406250],[310.248598,-...
glb/cad_7f0d40858b16.glb
Create a Bahtinov focusing mask for a telescope with an outer diameter of 224mm and an aperture diameter of 212mm. The main body is a circular plate with a base thickness of 2mm. The mask features a specific pattern of slits cut through the plate. Create two sets of parallel bars: one set rotated at a 20-degree angle ...
sections = 0; section = 0; outerDiameter = 224.0; aperture = 212.0; centerHoleDiameter = 0; gap = 3.3; angle = 20; maxBars = 10; bar = 10.0; mHeight = 2.0; bHeight = 6.0; tol = 0.25; d = 1 * 0.01; module bars(gap, width, num=5) { num = round(num); for (i=[-num:num]) { translate([width/2,i*2...
glb/cad_f1660265bdb7.glb
Create a mounting bracket for a GoPro Hero camera. Start with a central flat plate 1.9mm thick. The main body consists of a rectangular section 21.7mm wide and 28.9mm long, flanked by two outer tabs that extend the total width to 26mm. These tabs are 10.25mm long. Add a second rectangular section extending from the fir...
camera_yoffs = 28.0; camera_zoffs = 2.0; cbracket_screw = 1*5.3; cbracket_circ = 1*4.5; cbracket_circ2 = 1*6.5; cbracket_suppw = 1*12.0; cbracket_wall = 1*3.1; cbracket_dist = 1*3.3; nut_height = 3.5; nut_af = 1*8.6; thickness = 1*1.90; wall = 1*2.5; inner_width = 1*21.7; outer_width = 1*26.0; tabs = 1*2.0; board_ex...
glb/cad_4ffe9596f2e8.glb
Create a Prusa I3 Y-axes montage spacer tool by starting with a rectangular base block measuring 180mm in length, 20mm in width, and 15mm in height. Remove material from this block to create several holes and cutouts. First, create two cylindrical holes with a radius of 5mm and a length of 30mm, oriented horizontally...
translate(v = [-90, 0, 15])rotate([180,0,0]) { translate(v = [5, -1, 10]) { cube(size = [1,22,5], center = false); } translate(v = [90, -1, 10]) { cube(size = [1,22,5], center = false); } translate(v = [175, -1, 10]) { cube(size = [1,22,5], center = false); } difference() { cube(...
glb/cad_abbd244e57d5.glb
Create a customizable place card consisting of three connected rectangular panels. Each panel should have a width of 75mm and a height of 15mm. The panels are joined by a central hinge layer that is 0.4mm thick, while the overall thickness of the flat sections is 1.6mm. On the central panel, add embossed text with a h...
text="Guest Name"; font = "write/orbitron.dxf"; font_size=8; text_height=0.4; text_x_offset=0; text_y_offset=0; Width = 75.0; Height= 15.0; Thickness = 1.6; HingeLayer = 0.4; Angle=60; BandRadius = 0.8; BandWidth = 1.0 ; BandDistance = 5; Manifoldfix = 0.01; use <write/Write.scad> Placecard(); module Placecar...
glb/cad_a3cacc8571fc.glb
Create a BBC Micro Logo plaque. Start by creating a rectangular base plate measuring 180mm by 95mm with a thickness of 3mm, ensuring all four corners are rounded with a 5mm radius. On the top surface of the plate, add the text "BBC" and "MICRO" in a sans-serif monospace font. Position "BBC" above "MICRO", with the "BB...
$fn=20; Dot_Holes = false; Ttl_Holes = false; Scale = 1; Card_Thk = 3; Txt_Thk = 6; Card_Sz = [180,95]; Card_Sz1 = [180,97]; l0 = ["10101010101010101", "0100000101000001", "10001000100010001", "00010100000101", "10001000000010001", "0100000101000001", "10100000100000101", ...
glb/cad_ef753bd6da5c.glb
Create a Dial Indicator bracket for a Printrbot LC. Start with a base block that is 7.021mm thick. Cut a horizontal cylindrical hole through the center of the block with a radius of 4mm to accommodate an 8mm diameter x-axis rod. Create a rectangular passthrough slot for the dial indicator mounting tab that is 16.7m...
rod_dist = 40; rod_diameter = 8; dial_passthru_x = 16.7; dial_passthru_y = 5.25; dial_cutout_r = 11; dial_cutout_h = 2.5; fudge = .01; $fn = 30; x_offset = -30; base_x = 38.17 + rod_dist; base_y = 53; base_z = 7.021; total_z = 18.07; dial_cutout_rim = 4.5; dial_offset = -17;...
glb/cad_1d4a954a890d.glb
Create a 40mm drain pipe extension consisting of two concentric cylindrical shells. First, create a base cylinder with an outer radius of 20mm and a height of 25mm. Remove a central cylindrical core from this base with a radius of 16mm and a height of 40mm to create a hollow sleeve. Second, place a smaller cylinder on ...
$fn=100; difference(){ cylinder(r=17.8, h=40); translate([0,0,-1]) cylinder(r=16,h=45); } difference(){ cylinder(r=20, h=25); translate([0,0,-1]) cylinder(r=16,h=40); }
glb/cad_d38c69467d02.glb
Create a Penrose triangle illusion by assembling three arms of connected cubes. Each arm consists of a sequence of cubes with a side length of 10mm. To form the individual building blocks, start with a cube and rotate it 35.26 degrees around the Y-axis and 45 degrees around the Z-axis so its orthographic projection is ...
S = 10; T = 0.1; N = 3; NUDGE=0.8164 * 1.5; module box() { rotate([0,90-35.26,0]) rotate([0,0,45]) cube([S,S,S], center=true); } module cutout_box_shell() { intersection() { scale(1+T) box(); cylinder(h=2*(1+T)*S, r=0.8164*S, center=true, $fn=6); } } module cutout_box() { difference() { cutout_box_sh...
glb/cad_c22689975f62.glb
Create a Dual Mount baseplate with a total width of 75mm, a total height of 45.68mm, and a thickness of 5mm. The main body is a rectangular plate with rounded vertical side walls. At the center of the plate, create a vertical cylindrical hole with a radius of 4.05mm. Subtract the following hole patterns from the pla...
render_single = 0; part_h = 5; bolt_hole_d = 3.5; bolt_hole_r = bolt_hole_d/2; peg_hole_w = 6.5; peg_hole_h = 6; t_notch_w = 5.5; t_notch_h = 5.75; filament_d = 8.1; filament_r = filament_d/2; actual_total_w = 75; total_w = 75; actual_total_h = 45.68; total_h = 45.68; bolt_head_r = bolt_hole_d+2; bolt_slot ...
glb/cad_4d8b23513ae5.glb
Create a Parametric Drawer for an empty filament spool consisting of a drawer and an upper frame. For the drawer, create a sector-shaped container with an opening angle of 90 degrees. The outer radius is 94.5mm and the inner radius is 41.5mm, resulting in a wall width of 53mm. The total height is 42mm. The drawer fea...
C_CONSTANT = 0 + 0; clearance=0.3; clearance_angle=0.1; wall_thickness=0.8; bottom_thickness=1; tear_height=3; tear_thickness=0.7; hinge_pin_diameter=4.8; external_diameter=189; internal_diameter=83; height=42; divisions=1; drawer_amount=4; opening_angle=floor(360/drawer_amount); parts_to_draw=3; if (par...
glb/cad_a32b06efb4fe.glb
Create a Cablemanager consisting of three repeating cable clip units arranged in a staggered, interlocking row. Each unit is 5mm high. For each clip unit, start with a cylinder of 10mm diameter (8mm cable diameter plus 2mm wall thickness) and a rectangular base of 10mm by 5mm. Subtract a central vertical cylinder with...
numCables = 3; cableDiameter = 8; cablePassage = 4; thickness = 2; height = 5; module __Customizer_Limit__ () {} $fn=64; cableClipManagement(cableDiameter,cablePassage,numCables,thickness,height); module cableClipManagement(cableDiameter, cablePassage, numCables=3, thickness=2, height=5) { innerRadius = ca...
glb/cad_79562e72eacf.glb
Create a motorization kit nose and spinner for a glider. Start by constructing a main body that is a combination of a sphere and a tapered cylinder. The primary shape is a hull formed by a sphere with a diameter of 23mm and a scaled spherical element measuring 49mm in diameter, stretched by a factor of 4.2 along the Y-...
$fn = 100; module support() { difference() { translate([0,0,6.5]) cylinder ( d1 = 23,d2 =30, h= 33, center = true); translate([0,-0,0])cylinder ( d = 6, h= 20, center = true); translate([0,-0,0]) rotate ([0,0,45])translate([-6,0,0])cylinder ( d = 2, h= 20, center = true); translate([0,-0,0]) rotate (...
glb/cad_357fe3787286.glb
Create a spare part for a Micromatic room thermostat lid retainer. The main body is a rounded block with a height of 6.8mm and a width of 8mm. The base is formed by the convex hull of two cylinders with a radius of 4mm, spaced 6.2mm apart along the Y-axis, and extending to a height of 6.2mm. The top 0.6mm of the part f...
height = 6.8; width = 8.0; dist_holes = 6.2; chamfer = 0.6; tol = 0.10; d = 0.01; $fn=32; rotate([180, 0, 0]) { difference () { hull () { cylinder(r = width/2, h=height-chamfer); translate([0, dist_holes, 0]) cylinder(r = width/2, h=height-chamfer); translate([0, 0, height-chamfer]) cylinder(r1 = width/2, r2 = ...
glb/cad_bc33e13e554e.glb
Create a ribbon band holder by constructing a rectangular box with an outer dimension of 12mm in width, 5mm in depth, and 7mm in height. Hollow out the center of this box to create a cavity that is 10mm wide, 3mm deep, and 17mm long, leaving a wall thickness of 1mm on all sides. Ensure the cavity is open at the top to ...
tickness = 1; difference(){ cube([10+2*tickness,3+2*tickness,7]); translate([tickness, tickness, -1]) cube([10,3,17]); }
glb/cad_48246a8a8b57.glb
Create a Linear Bearing block for a v2 RapMan. Start with a central rectangular base plate 3mm thick. At each end of the base, add a bearing clamp that is 16mm long, 17mm high, and 29.5mm wide. These clamps should have a 45-degree angled cutout on the inner faces to allow for bearing insertion. Through the center of t...
bl=24; bd=15; th=3.0; co=2.0; difference() { bearingBlock(bl, bd, th); translate( [bl+17.25, +co, bd/2-1] ) rotate( v=[0,1,0], a=90 ) cylinder( r=bd/2, h=bl+3, center=true); translate( [-bl-17.25, +co, bd/2-1] ) rotate( v=[0,1,0], a=90 ) cylinder( r=bd/2, h=bl+3, center=true); } module bearingBlock(bl, bd, th) { ...
glb/cad_d381d5c8d7e7.glb
Create a board game insert consisting of a rectangular base with two perpendicular dividers. Start by creating a flat rectangular base measuring 193mm in length, 103mm in width, and 2mm in height. Add two thin vertical walls, each 0.8mm thick and 24mm high, spanning the full 103mm width of the base. Position the first ...
width = 103; length = 193; base_height = 2; divider_height = 24; divider_thickness = .8; first_divider_x=133; remaining_length=length-first_divider_x; cube([length,width,base_height]); translate([first_divider_x,0,0]) cube([divider_thickness,width,divider_height]); second_divider_x=66; remaining_length=length-second_...
glb/cad_8516afc48e32.glb
Create a rectangular coin box for the Coup Reformation board game. Start by constructing a solid rectangular base that is 58mm long, 103mm wide, and 1mm thick. From this base, build four vertical walls that are each 21mm high and 2mm thick. Position two walls along the 103mm sides and two walls along the 58mm sides, en...
width = 103; length = 58; base_height = 1; cube([length,width,base_height]); translate([0,0,1]) cube([length,1,21]); translate([0,0,1]) cube([2,width,21]); translate([length-2,0,1]) cube([2,width,21]); translate([0,width-2,1]) cube([length,2,21]);
glb/cad_b5b0a1b30d37.glb
Create an N Scale Climax A steam locomotive model. Start with a rectangular chassis frame 57.5mm long, 19mm wide, and 3mm high. In the center of the frame, create a cutout 45.25mm long, 15.55mm wide, and 9.5mm deep. On the front of the chassis, place a boiler assembly. The boiler consists of a horizontal cylinder 9.5m...
include <../includes/jshapes.scad>; include <../includes/OpenSCAD_Triangles/Triangles.scad>; module frame (framelen,w,frameh,sideh1, sidet, boxw) { $fn=6; difference () { union () { cube([framelen,w,frameh]); translate([0,w*.5-boxw*.5,frameh]){ cube([7,boxw,side...
glb/cad_e002776b0ff5.glb
Create a Meade Spotting Scope Mount by constructing a curved bracket with a thickness of 40mm. Start with a hollow semi-circular cylinder that has an outer radius of 76mm and an inner radius of 73.5mm. This main body should be a partial ring, specifically a C-shape where the bottom and both sides are removed, leaving o...
$fn=200; translate([0, -74.5, 0]) linear_extrude(40) difference() { circle(r=152/2); circle(r=147/2); translate([-80, -80, 0]) square([160, 81]); for(i = [0, 1]) mirror([i, 0, 0]) translate([-80, 0, 0]) square([55, 80]); } translate([-15, 0, 0]) linear_extrude(10) difference(...
glb/cad_e61107dd4f61.glb
Create a modular drawer system consisting of a drawer housing and matching drawers. For the drawer housing, create a rectangular box with a total width of 76.6mm, a depth of 78mm, and a height determined by the number of drawers (for 3 drawers, the height is 71.4mm). The walls and floor are 1.6mm thick. Create three ...
part = "drawerbox"; NUM_DRAWERS = 3; DRAWER_HEIGHT = 22.2; DRAWER_DEPTH = 75.2; DRAWER_WIDTH = 73.4; india = 6 ; spacing = 1; dia = india + (spacing * 2); hoff = india+spacing; voff = sqrt(pow(hoff,2)-pow(hoff/2,2)); HANDLE_SIZE = 10; DRAWER_CORNER_RAD = 2; CLEARANCE = 0.2; WALL_THICK = 1.6; FLOOR_THICK = 1....
glb/cad_d68825c3fdeb.glb
Create a Parametric Shaft Lock by starting with a main cylinder that has a diameter of 18.3mm and a height of 8mm. Remove a concentric inner cylinder from this volume with a diameter of 8.3mm and a height of 8mm to create a hollow ring. To create the screw hole, bore a hole completely through the side of the ring alo...
innerDiameter = 8.3; shaftLockThickness = 5; shaftLockWidth = 8; holderHoleDiameter = 2.75; chamferSize = 0.7; $fn = 60; module holderHole() { cylinder(h = (innerDiameter + shaftLockThickness * 2) / 2, d = holderHoleDiameter); translate([ 0, 0, (innerDiameter + shaftLockThickness * 2) / 2 - chamferSize]) ...
glb/cad_25f23e796f4c.glb
Create a parametric shelf bracket by starting with a solid rectangular cuboid measuring 10mm in width, 25mm in length, and 10mm in height. To allow for mounting, remove two identical screw holes designed for M3 ISO14581 screws. These holes should be drilled completely through the 10mm width of the block, oriented horiz...
include <openscad-screw-holes/screw_holes.scad>; width = 10; height = 10; length = 25; hole_count = 2; screw_m = M3; hole_distance = length / hole_count; end_hole_distance = hole_distance / 2; module holes() { for(i=[0:hole_count - 1]) { color("blue") translate([0, end_hole_distance + (i * hole_distance),...
glb/cad_1b629c6898ae.glb
Create a 3D model of a "Fist" symbol consisting of a raised clenched fist. Start by creating a base plate with a thickness of 3mm. This base should follow the outer silhouette of the fist with an offset of 5mm to create a border. On top of this base, add the main fist geometry with a thickness of 2mm. The fist shou...
Tight = true; Hollow = false; Text = false; Loop = false; Scale = 1; Offset = 5; Base_Thk = 3; Hand_Thk = 2; Emboss = true; TxtThk = 2; Bold = 1; Txt = "BLM"; color("white") scale([Scale,Scale,1]) linear_extrude(Base_Thk) difference() { offset(Offset) if (Tight) { All(); } else ...
glb/cad_115951d1fbf1.glb
Create a smartphone stand connector by starting with a vertical cylinder that has a radius of 30mm and a height of 60mm. Intersect this cylinder with a cube measuring 30mm wide, 40mm deep, and 50mm high, positioned such that the cube's center aligns with the cylinder's axis, but is shifted 5mm upward along the Z-axis. ...
height=80; out_c=70; in_c=60; module connector_link() { translate([16,-5,22]) rotate([90,0,105]) cylinder(r=4/2,h=20,$fn=100); translate([16,-15,22]) rotate([90,0,105]) cylinder(r=4/2,h=20,$fn=100); translate([16,-5,42]) rotate([90,0,105]) cylinder(r=4/2,h=20,$fn=100); translate([16,-15,42]) r...
glb/cad_dd10b6fc3df4.glb
Create a smartphone stand consisting of a hollowed cylindrical body and a separate connector piece. Start with a main cylinder 80mm high with an outer radius of 35mm and an inner radius of 30mm. Cut two vertical slots through the cylinder walls, each 5mm wide and 25mm deep, rotated 45 degrees from each other to create ...
height=80; out_c=70; in_c=60; module connector_link() { translate([16,-5,22]) rotate([90,0,105]) cylinder(r=4/2,h=20,$fn=100); translate([16,-15,22]) rotate([90,0,105]) cylinder(r=4/2,h=20,$fn=100); translate([16,-5,42]) rotate([90,0,105]) cylinder(r=4/2,h=20,$fn=100); translate([16,-15,42]) r...
glb/cad_8fb1f07e2a16.glb
Create a pogo pin debug jig for the Hubsan Q4 / Proto-X. Start with a main rectangular block measuring 47.6mm x 47.6mm x 32mm. Subtract a central 46mm x 46mm x 46mm cube from the main block, but leave four large vertical cylindrical cutouts for motor pods with a radius of 7.65mm and a height of 27.5mm, positioned at ...
pogo_dia=1.4; swclk=[19.0,28.1,20]; swdio=[20.6,26.7,20]; gnd=[18.5,23.4,20]; vdd=[21.5,20.8,20]; mot_dia=8.5; mot_holes=[[5,5,0],[41,41,0],[5,41,0],[41,5,0]]; difference() { translate([-0.8,-0.8,-2]) cube([47.6,47.6,32]); difference() { cube([46,46,46]); for(p=[swclk,swdio,gnd,vdd]) { translate(p + [0,0,...
glb/cad_28f8238d3cf7.glb
Create a Parametric Square Spacer by constructing a rectangular cuboid. The shape should have a total width of 100mm, a length of 20mm, and a height of 7mm. Ensure the geometry is a solid block with flat faces and sharp 90-degree edges.
width = 100; length = 20; height = 7; translate([-width / 2, -length / 2, 0]) cube([width, length, height]);
glb/cad_6541eb50a431.glb
Create a wedge for an IKEA Samla tray insert. The main body is a tapered block with a total height of 86mm. The base is a rectangular prism measuring 37mm by 10mm, which tapers linearly as it rises to a top surface measuring 25mm by 26.5mm. Through the center of this block, create a vertical oval cutout to save materi...
total_height = 87; bottom_x = 37; bottom_y = 10; top_x = 25; top_y = 26.5; hole_diameter = 5; oval_z_offset = 25; oval_y_offset = 10; x = 12; _calculated_height = total_height - 1; _bottom_oval_z_offset = oval_z_offset; _top_oval_z_offset_from_top = _calculated_height - oval_z_offset; _wide_z_offset = _calculated_...
glb/cad_07110e950906.glb
Create a Wallnut mount by constructing a thick, low-resolution cylindrical ring. Start with a cylinder that has a radius of 6.75mm and a height of 5mm. Use a low facet count for the cylinder to ensure the outer walls appear as flat vertical planes rather than a smooth curve. Centered within this volume, remove a smalle...
difference() { cylinder(r = 6.75, h = 5); cylinder(r = 3, h = 5); }
glb/cad_f392f2966afb.glb
Create a Multiboard cylinder container with an outer diameter of 72mm and a total height of 101mm. The container should have a wall thickness of 2mm, creating an internal cavity with a diameter of 68mm and a depth of 99mm. The bottom of the container is closed. On one side of the cylinder, create a vertical cutout ope...
internal_diameter=68; internal_height=99; opening=internal_diameter/2; bottem_hole=0; walls=2; $fn=250; module push_fit(){ rotate([0,0,22.5]) cylinder(d=14,h=12+walls, $fn=8); } union(){ difference(){ cylinder(d=internal_diameter+(walls*2),h=internal_height+walls); translate([0,0,wall...
glb/cad_976f219d9ed5.glb
Create a Multiboard cube container by starting with a solid rectangular block measuring 136mm in length, 102mm in height, and 25mm in width. Hollow out the center of this block to create a cavity measuring 132.5mm by 100.1mm by 21.5mm, leaving walls that are 2mm thick. Position this cavity so it starts 2mm from the bot...
internal_cube_l=132; internal_cube_w=21; internal_cube_h=100; extra=0.25; walls=2; front_text="My tool"; push_fit_space=50; module push_fit(){ rotate([0,0,22.5]) cylinder(d=14,h=12, $fn=8); } union(){ difference(){ cube([internal_cube_l+(walls*2),internal_cube_h+walls,internal_cube_w+(walls*2)...
glb/cad_db0a23301a94.glb
Create a Radius Gauge set consisting of a series of individual gauges and a matching storage box. For each gauge from 1mm to 10mm radius, create a flat tool 2mm thick and 40mm long. Each tool should feature a semi-circular cutout with the specified radius on one end and a rectangular body on the other. Center a text la...
from = 1; to = 10; thickness = 2; boxHeight = 35; module createGauge(radius) { $fn = 64; length = 40; difference() { union() { translate([-length/2+radius, 0, 0]) cylinder(h=thickness, r=radius); translate([-length/2+radius, -radius, 0]) cube([length-radius/2, radius*2, thickness]); } translate([leng...
glb/cad_111ffca7dedd.glb
Create a garage remote control button consisting of a tiered cylindrical structure. Start with a wide, flat circular base plate with a radius of 9.5mm and a height of 0.7mm. Centered on top of this base, add a main cylindrical shaft with a radius of 7.8mm and a height of 3.3mm. To finish the top of the shaft, create a ...
translate ([0,0,0]) cylinder( r=9.5, h=.7, $fn=32); translate ([0,0,.7]) cylinder( r=7.8, h=3.3, $fn=32); difference (){ translate([0,0,-14.5]) sphere(r=20,$fn=100); translate([-25,-25,4-50]) cube(50,50,50); }
glb/cad_cd834ea45676.glb
Create a Fabtotum vinyl blade holder carriage. Start with a rectangular base block that is 20mm wide, 10mm deep, and 5mm high. Centered on the top surface of this base, create a cylindrical socket to hold the blade holder. This socket should be a hollow cylinder with an outer diameter of 16.4mm and an inner diameter of...
use <carriage.scad> module blade_holder_holder() { holder_R = 14.2/2; holder_H = 16; $fn = 36; wall = carriage_T(); plunge_Z = 17; probe_X = 7; intersection() { difference() { union() { hull() { translate([0,0,-plunge_Z]) cube([wall,wall,carriage_H()+plunge_Z-carriage_R()]); ...
glb/cad_fed805035b22.glb
Create a vinyl blade holder carriage with a rectangular footprint of 46.5mm in length, 30mm in width, and 10mm in height. The main body consists of a frame with a wall thickness of 3mm. The four vertical corners of this frame are rounded with a radius of 1.5mm. The frame forms a hollow rectangular channel. On the ext...
L = 46.5; P = 30; IP = 24.4; H = 10; T = 3; R = T/2; function carriage_L() = L; function carriage_P() = P; function carriage_H() = H; function carriage_T() = T; function carriage_R() = R; module pin() { x1 = 1.9+1.6+T; x2 = 1.9+T; y = 5.5; z1 = 2.8; z2 = 4.8; rotate([90,0,90]) linear_extrude(x1) polygon(...
glb/cad_03ed368dc0b4.glb
Create a Customizable Simply Box, which is an open-top container with a flat base and rounded vertical walls. The outer dimensions of the box are 90mm wide, 60mm deep, and 20mm high. The walls and the base are 1mm thick. To create the main body, start with a solid cylinder resized to the outer dimensions and subtract a...
use <utils/build_plate.scad> build_plate_selector = 3; build_plate_manual_x = 200; build_plate_manual_y = 200; build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y); box_height=20; box_width=90; box_depth=60; box_thikness=1; CD_rise=1; cd_height=box_thikness+CD_rise; cd_width=(box_width>bo...
glb/cad_e0e41a81cb04.glb
Create a kitchen scale platter consisting of a main circular base and a concentric raised ring. Start by creating a flat cylinder with a diameter of 150mm and a height of 4mm. Centered on top of this base, add a hollow cylindrical ring with an outer diameter of 56mm and a total height of 4.55mm. This ring must have a c...
$fn = 256; plate_diameter = 150; plate_thickness = 4; holder_diameter = 52; holder_wall_strength = 2; holder_thickness = 3.55; holder_overhang = 0.4; holder_overhang_thickness = 1; union() { cylinder(d=plate_diameter, h=plate_thickness); difference() { translate([0, 0, plate_thickness]) cylinder(d=hold...
glb/cad_2891f5471734.glb
Create a kitchen scale platter consisting of a main circular base and a central mounting ring. Start by creating a solid cylinder for the base with a diameter of 150mm and a height of 4mm. On top of this base, centered exactly, add a second cylindrical ring structure. This ring is formed by taking a cylinder with a dia...
$fn = 256; plate_diameter = 150; plate_thickness = 4; holder_diameter = 52; holder_wall_strength = 2; holder_thickness = 3.55; holder_overhang = 0.4; holder_overhang_thickness = 1; union() { cylinder(d=plate_diameter, h=plate_thickness); difference() { translate([0, 0, plate_thickness]) cylinder(d=hold...
glb/cad_2891f5471734.glb
Create a bicycle mudguard mounting holder. Start with a circular ring base that has an outer diameter of 13mm, an inner hole of 6mm, and a thickness of 4.5mm. Extending from this ring is a rod 52mm long. The rod begins as a rectangular section 11mm wide and 4.5mm thick, which then transitions into a cylindrical shape w...
$fn = 100; BoltRingOuterDiam = 13; BoltRingInnerDiam = 6; BoltRingThickness = 4.5; NutHeight = 3; RodLength = 52; RodLeftHeight = 11; RodLeftThickness = 4.5; RodInnerDiam = 4.7; RodRightOuterDiam = 10; RodSlotWidth = 2.1; RodSlotLength = 20; ScrewHolderDiam = 12; ScrewHolderThickness = 11; ScrewHolderOffsetX = 4; Sc...
glb/cad_b645fb96ae8e.glb
Create a Solder Fume Extractor housing for a 120mm fan. Start by constructing a main rectangular box with a wall thickness of 2.5mm and a total height of 65mm. The box should have rounded vertical corners with a radius of 2mm. On the bottom face, create a mounting plate that extends to a diameter of 136mm. In this pla...
$fn=30; Filter_Th = 15; F_Size = 2; Th_Fan = [10,12,25,25]; XY_Fan = [40,50,80,120]; Rad_Fan = 126/2; XY_Mount = [32,42,72,105]; Diag_Fan = sqrt ( (XY_Fan[F_Size]*XY_Fan[F_Size]) * 2); Drill_Fan_Clear = [3,3,4.5,4.5]; Fan_Lg_Diam = [45,55,90,136]; Box_Wall = 2.5; Box_H = (5 +Th_Fan[F_Size] + 15 + Filter_Th); Box...
glb/cad_00a4de2115ac.glb
Create a Turntable Bearing Base consisting of two identical mirrored halves. For each half, start by creating two circular races. The larger race is a cylinder with a radius of 64mm and a height of 4mm; carve a toroidal groove into it with a radius of 60mm and a cross-sectional circle radius of 3.1mm to accommodate 6mm...
$fn=36*2; bb_dia=6; module groove(or=50) { difference() { cylinder(r=or+4,h=4); translate([0,0,4.1+0.5]) rotate_extrude(convexity = 10, $fn = 100) translate([or, 0, 0]) circle(r = 3.1, $fn = 100); translate([0,0,-1]) cylinder(r=or-4,h=8); } } module spokes(ns=4,or=40,ir=30) { for(i = [0 : ns]) { ...
glb/cad_ef8466b59dc2.glb
Create a 2D stylized model of a clenched fist by extruding four overlapping polygonal layers of varying heights. First, create the base outline as a flat polygon with a thickness of 3mm. On top of this, add a second polygonal layer representing the palm area with a thickness of 5mm. Next, add a third layer for the th...
color("white") linear_extrude(3) for (P=Outline) { translate(P.x) polygon(P.y); } color("black") linear_extrude(5) for (P=Palm) { translate(P.x) polygon(P.y); } color("green") linear_extrude(7) for (P=Thumb) { translate(P.x) polygon(P.y); } color("red") linear_extrude(9) for (P=Fingers) { translate(P.x) polygon(P.y)...
glb/cad_3e669774c2f5.glb
Create a Drawer Hex Container grid designed to fit a volume of 293mm in width, 522mm in length, and 110mm in height. The structure consists of a repeating pattern of hexagonal cells. Each individual cell is a hexagonal prism with a height of 110mm and a diameter of approximately 67.1mm, calculated to fit five cells acr...
drawerHeight=110; drawerWidth=293; drawerLenght=522; gridX=5; tolerance = 0.1; printSingleBox = false; printHalfBox = false; hexD=(drawerWidth/ 0.866)/gridX-tolerance; boxSide=hexD * 0.866; if(printSingleBox==true){ box(); } if(printHalfBox==true){ halfBox(); } if(printSingleBox==false && printHal...
glb/cad_946e24dedb5b.glb
Create a thread generator for a bottle cap. Start with a solid outer cylinder that has a diameter of 42mm and a height of 10mm. Remove a central core from this cylinder using a smaller cylinder with a diameter of 35.5mm. To create the tapered entry and exit of the internal cavity, remove two conical sections: one at ...
Op= 20 ; Up= 20 ; Ra= 42 ; Hr= 10 ; Ke= 2 ; Di= 35.5 ; Da= 38.0 ; St= 7.8 ; Wb= 2 ; S= 2 ; F= 180 ; wh= St/360 ; Q= ceil( (Hr+Wb)/St *4) ; if (S>0){ difference() { cylinder(h=Hr,d=Ra,center=false,$fn=F); translate([0,0,-0.01]) cylinder(h=1.25*Hr,d=Di+0.01,center=false,$fn=F); if (Ke>0){ translate([0,0...
glb/cad_a851e0c1205a.glb
Create a rounded L-bracket with a width of 12mm and a thickness of 3mm. The bracket consists of two arms meeting at a 90-degree angle. One arm extends 12mm from the outer edge to the center of its mounting hole, and the other arm also extends 12mm from the outer edge to the center of its mounting hole. The outer corne...
w = 12; t = 3; y_hole_dist = 12; y_hole_dia = 3.2; y_hole_csfac = 2; y_hole_csdia=y_hole_dia*y_hole_csfac; x_hole_dist = 12; x_hole_dia = 3.2; x_hole_csfac = 2; x_hole_csdia=x_hole_dia*x_hole_csfac; d_edge = 1.5; o_edge = 1.0; $fn=50; rotate([0, 90, 0]) translate([-w/2,0,0]) { difference() { union () { ...
glb/cad_22ab6cd44a31.glb
Create a Commodore Logo consisting of three stacked layers. Start with a base white rectangular plate measuring 45mm by 45mm with a thickness of 3mm. On top of the base, add a blue border frame that is 42mm by 42mm with a thickness of 4mm. This frame should have a central square cutout of 40mm by 40mm, creating a hol...
color("white") linear_extrude(3) square(45,center=true); color("blue") linear_extrude(4) difference() { square(42,center=true); square(40,center=true); } color("blue") linear_extrude(4) scale([.07,.07]) { polygon( points=[ [31.50, -221.50] ,[30.50, -221.50] ,[29.50, -220.50] ,[28.50, -221.50] ,[24.50, -221.5...
glb/cad_3b3f0aadbc57.glb
Create a 3D model of a "Gear gears" object. Start by defining a base shape: a 25mm thick extruded object created by the intersection of a circle with a 26.5mm radius and a gear with 18 teeth and a 500mm circular pitch, further constrained by a circle with a 23.5mm radius. Construct the final assembly by creating two i...
use <MCAD/involute_gears.scad> twogears(); cs=50; rf1=2*cs; cp=1/10; td=3; cd=4; hd=7; Ls=20; ps=10; $fs=td/6; n1=18; n2=9; r1=0.7493; r2=0.3746; module baseshape() { scale(1.5) linear_extrude(height = 25, convexity = 2, center = true) rotate([0, 0, 5]) intersection() { union() { projection() gear(number_of_...
glb/cad_4e5f39f6d74b.glb
Create a dodecahedron kit connector by starting with a sphere of radius 5.9mm. To this sphere, add three cylindrical arms, each with an outer radius of 5.9mm and an inner hole of radius 3.9mm and height 15.6mm, designed to hold pencils. These arms must be positioned and rotated so they radiate from the center of the sp...
thick=7.800000; module connector(len) { render() difference() { rotate([0,0,30]) cylinder(r=thick/2+2, h=2*thick, $fa=60); translate([0,0,thick/2+2]) cylinder(r=thick/2, h=2*thick); } %translate([0,0,0]) cylinder(r=thick/2, h=len*0.48); } module corner() { translate([0,0,5.9]) rotate([0,180,0]) { sphere(...
glb/cad_7bcc5121fbba.glb
Create a battery tray with a base thickness of 1mm and a total height of 15mm. The tray should be designed to hold 3 columns and 1 row of battery clusters. Each battery cell has a diameter of 14.6mm, with a spacing of 1.2mm between clusters and around the outer edges. The outer corners of the tray must be rounded with ...
use <write/Write.scad> _label = "full"; _diameter = 14.6; _height = 15; _columns = 3; _rows = 1; _spacing = 1.2; _base = 1; _cornerRounding = 4.0; module batteryQuad(diameter, height) { angle = 35; r = diameter/2; cut = 2*r*sin(angle); tan = tan(angle); filletCenter = r - r * tan; filletCenter2 = r + r *...
glb/cad_b5cc63b238ee.glb
Create a Wire Wrap Tool consisting of two stacked cylindrical sections. Start by creating a base cylinder with a diameter of 4.25mm and a height of 20mm. Centered on top of this base, add a second, taller cylinder with a diameter of 2.125mm and a height of 20mm. This upper cylinder must be hollowed out by removing a ce...
$fn = 30; diameter = 4.25; height = 20; pin_diameter = 0.90; awg30 = 0.255; cylinder(height, diameter, diameter); translate([0, 0, height]) { difference() { cylinder(height, diameter/2, diameter/2); cylinder(height, 0.8, 0.8); translate([0, 0, height-1]) cylinder(1, (diameter-1.6)/2, (di...
glb/cad_70a7bd99b07e.glb
Create a customizable electronics box consisting of a main body and a matching lid. For the main body, create a rectangular shell with outer dimensions of 65mm x 90mm and a total height of 23.6mm. The shell should have rounded corners with a 6mm radius. Set the wall thickness to 3.6mm and the bottom floor thickness t...
box_Size_X = 65; box_Size_Y = 90; box_Inner_Height = 22; box_BottomTop_Thickness = 1.6; box_Screw_Corner_Radius = 6; box_Screw_Diameter = 3.2; box_Wall_Thickness = 3.6; barrier_Thickness = 1.2; barrier_Height = 2; barrier_Tolerance = 0.8; screwnose_Number = 2...
glb/cad_1a5a7cf83f67.glb
Create a two-part parametric mold for a TRS jack sheath. Each mold half is a rectangular block measuring 55mm in length, 25mm in width, and 15mm in height. Inside each block, carve out a symmetrical negative cavity of a jack sheath. The cavity consists of a lower cylindrical section with a 10mm diameter and 15mm lengt...
lowerDia=10; upperDia=6; lowerLength=15; upperLength=35; cableDia=2; jackTexture=.5; jackDia=3.6; jackLen=14; buttEndDia=4.5; lengthButtEnd=1; lowerTaperPct=30; boltD=3.1; pctOvr=1.1; lRad=lowerDia/2; uRad=upperDia/2; jackRad=jackDia/2*pctOvr; cableRad=cableDia/2; moldX=upperLength+lowerLength*2; moldY=lowerDia*2.5...
glb/cad_02bfd437879a.glb
Create a Yazzo Motor Front Shelf Clip designed to hold a Nema 17 motor against a 6.5mm thick shelf. Start by constructing a hollow rectangular tube with an inner width of 42mm and an inner height of 12mm, with a wall thickness of 3mm. The depth of this tube section is 44mm. On the top face of this structure, integr...
joinfactor=0.125; gDefaultMountHoleRadius = 3/2*1.1; gDefaultMountSlotLength = 10; gNema17MountDiagonal = 43; motorMountShelfClipFront(42, 12, 44, 38, 6.5); module squaretube(innerWidth, innerDepth, width, depth, thickness) { difference() { cube(size=[width, depth, thickness], center=true); cube(size=[innerWi...
glb/cad_4273a028149c.glb
Create a Parametric Hook and Loop for HSW. Start by creating a hexagonal prism base with a diameter of 15.47mm and a height of 13mm. Attached to the top of this base, center a second hexagonal prism that extends outwards. This second prism has a diameter of 6.6mm and a total length of 26.3mm. At the far end of this...
insert_length = 13; hook_length = 22.3; hook_diameter = 6.6; hook_nose_height = 1; slope_height = 0.4; _hook_total_length = hook_length + hook_diameter / 2 + hook_nose_height; const_hsw_diameter = 15.47; _hsw_inner_circle_diameter = (sqrt(3) / 2) * const_hsw_diameter; _hook_inner_circle_radius = (sqrt(3) / 2) * hook...
glb/cad_4a5e9461dc07.glb
Create a Parametric Hook and Loop for a honeycomb storage wall. Start by creating a hexagonal prism insert with a diameter of 15.47mm and a height of 13mm, using 6 facets for the cross-section. Attached to this insert, construct a hollow rectangular loop. The outer dimensions of this loop should be 43mm wide, 70mm hi...
hsw_insert_length = 13; hole_length = 40; hole_width = 32.5; loop_height = 70; wall_thickness = 1.5; closed_bottom = false; front_cutout_witdh_percent = 0; front_cutout_width = (hole_length - (2 * wall_thickness)) * (front_cutout_witdh_percent / 100); front_cutout_bottom_lip = 10; front_cutout_depth = 10; front_cutou...
glb/cad_a746da81bd58.glb
Create a mounting bracket for "The Core" device. Start with a main rounded box with overall dimensions of 76.5mm width, 122mm length, and 38mm height, using a corner edge radius of 1.5mm. Hollow out the center to create a cavity for the device with dimensions of 65mm width, 117.5mm length, and 30.5mm height. This cav...
$fn=64; use <boxes.scad>; pad = 0.1; front_tab_rad = 1.5; wiggle_room = .5; pid_width = 64.5+wiggle_room+0; pid_length = 114+(wiggle_room*3)+ front_tab_rad; pid_height = 26+wiggle_room; wall = 4; edgeRadius = 1.5; tabwidth = 5.0; gap = .1; top_cut_dist = 9; screw_circle_pad = 1.05; thickness = wall+pad; screw_shaft_d...
glb/cad_7dbb8d3f92d9.glb