Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a replacement key handle by constructing a tiered circular body with a total height of 6mm. Start by centering a middle cylinder with a height of 2mm and a radius of 15mm. Add a top conical section with a height of 2mm that tapers from a radius of 15mm at the bottom to 10mm at the top, and a bottom conical secti...
$fn=360; module key () { difference(){ translate([0,(-45/2)+7,0]) cube([8.2,45,3.5],center=true); union(){ translate([4.1,0,0]) cube([3,3.2,5],center=true); translate([-4.1,0,0]) cube([3,3.2,54],center=true); }; }; }; translate([20,0,0]) %key(); difference(){ uni...
glb/cad_a1af6c132d62.glb
Create an Easel Replacement Part consisting of a main body and a separate spacer. For the main body, create a hollow rectangular shell with outer dimensions of 31.54mm x 32.54mm x 40mm and inner dimensions of 26mm x 22.54mm x 40mm. On one face, integrate a trapezoidal feature with a height of 13.42mm, a top width of 15...
include <BOSL2/std.scad> $fn = 128; inner_x = 26.00; inner_y = 22.54; inner_z = 40.00; outer_x = 31.54; outer_y = 32.54; outer_z = 40.00; trapezoid_height = 13.42; trapezoid_top = 15.00; trapezoid_width = 28.00; trapezoid_bottom = 21.75; side_hole_x = 13.85; side_hole_z = 21.75; screw_head_cyl = 7.16; screw_head_...
glb/cad_8e54f5d6cfe4.glb
Create an Inbus M4 cover by first constructing a thin cylindrical base with a diameter of 12mm and a height of 0.8mm. Centered on top of this base, add a hexagonal prism with a height of 3mm and a radius of 2.352mm. Ensure the hexagonal prism is perfectly aligned with the center of the circular base.
surface_height = 0.8; surface_diameter = 12; cylinder(h = surface_height, d = surface_diameter, $fn=100); translate([0,0,surface_height]) { cylinder(r=2.352, h=3, $fn=6); }
glb/cad_4bfc8b82fca4.glb
Create a strain relief for a Vesa monitor extension. Start by constructing a solid rectangular block with a width of 41.9 mm, a depth of 31.85 mm, and a height of 30 mm. Center the block along the X-axis. From the top face of the block, remove a semi-cylindrical volume by centering a vertical cylinder with a diameter o...
TubeDiameter = 1.25 * 25.4; Height = 30; Width = TubeDiameter + 10; TubeExtensionClearance = 35; $fn = 90; EffectiveDepth = TubeDiameter / 2 + TubeExtensionClearance; difference() { translate([ -Width / 2, -EffectiveDepth / 2 ]) cube([ Width, EffectiveDepth, Height ]); translate( [ 0, EffectiveDepth / 2 ,...
glb/cad_c5bb71f1b5e4.glb
Create an Espresso Puck Screen Holder by starting with a solid rectangular block that has rounded corners. The block should have a total width of 30mm, a height of 58.5mm, and a thickness of 10mm. The corners of this base should be rounded with a radius of 10mm. Cut two identical vertical slots through the center of ...
screen_count = 2; screen_thickness = 0.5; screen_diameter = 58.5; slot_spacing = 10; $fn = 45; difference() { linear_extrude(slot_spacing) roundedbox((screen_count+1)*slot_spacing,screen_diameter,slot_spacing, true); translate([-((screen_count - 1) * slot_spacing + screen_count * screen_thickness) / 2, 0, screen_di...
glb/cad_a0ce4f24878d.glb
Create a Wire Comb for circuit prototyping. Start with a rectangular base pad measuring 129.52mm in length, 4.83mm in width, and 1mm in height. Along the top surface of this base, create a row of 50 evenly spaced pegs. Each peg is centered every 2.54mm along the length of the base. Each peg consists of a central rect...
$fa = 1; $fs = 0.1; in = 2.54; hb = 1; wb = 1.9*in; hs = 2*hb; wd = 1*in; n= 50; hh = 0.5; translate([0,-wb/2,0]) cube([in*(n+.5), wb, hb]); for(dx=[0:1:n-1]) { translate([in/2+dx*in,-in*0.2,hb-hh]) cube([in/3,in*0.4,hb*2]); translate([in/2+dx*in,-wd*0.5,hb+hs-hh]) cube([in/3,wd,hh]); ...
glb/cad_2bd92263ebba.glb
Create a parametric can lid designed to snap onto a rim with a diameter of 75mm and a height of 3mm. Start by creating a solid base disk with a thickness of 1.2mm and a total diameter of 78.3mm. Around the perimeter of this base, add a vertical cylindrical wall that extends upwards by 3mm. The outer diameter of this wa...
D=75; H=3; wall=1.6; thick=1.2; tol=0.15; {} $fn=192; DD=D+2*wall+2*tol; difference(){ union(){cylinder(h=H+thick+1,d=DD); intersection(){ bar(); union(){cylinder(h=1,d=DD+3);up(1)cylinder(h=1.5,d1=DD+3,d2=DD-1);} } } up(thick)cylinder(h=H,d=D+2*tol); up(thick+H-.1)cylinder(h=1,d1=D+2*tol,d2=D+2*tol-2...
glb/cad_ec2fe0d72bb7.glb
Create a drill turbine blower consisting of a funnel, a bearing socket, and a fan assembly. First, construct the funnel by rotating a polygon around the Z-axis. The polygon vertices should be [62,0], [46.5,20], [37,50], [20,80], [9.5,100], [10,120], [11,120], [13,100], [21,80], [38,50], [47.5,20], and [64,0]. Next,...
$fn=240; rotate_extrude(angle= 360,convexity=10){ polygon([ [62,0], [46.5,20], [37,50], [20,80], [9.5,100], [10,120], [11,120], [13,100], [21,80], [38,50], [47.5,20], [64,0], ]); } translate([0,0,25]) difference(){...
glb/cad_6865ac503971.glb
Create a two-part protective case for an FTDI FT232 USB to TTL module. The bottom section is a hollow rectangular box with outer dimensions of 21mm by 39mm and a height of 12mm. The walls are rounded. The interior is hollowed out to 19mm by 37mm by 10mm, leaving a base thickness of 2mm. Cut a rectangular opening 9mm ...
translate([50,39,0]) rotate([0,0,180]) top(); bottom(); module bottom() { difference() { $fn = 50; translate([1,1,0]) minkowski(50) { cube([19,37,10]); cylinder(1); } translate([1,1,2]) cube([19,37,10]); translate([2,0,6]) cube([17,2,6]); tra...
glb/cad_27ff6f19ebbb.glb
Create a filament guide consisting of a main rectangular block and a smaller base separator. The main block should be 25mm wide, 22mm deep, and 12mm high. Attached to the bottom of this block is a separator plate of the same width and depth, but only 4mm high. Remove a central vertical hole through both sections to ac...
width = 25; depth = 22; block_height = 12; separator_height = 4; height = block_height + separator_height; extruder_to_screw_width = 6; extruder_to_screw_depth = 14; tol = 0.5; screw_diameter = 3 + tol; screw_head_diameter = 6; ecas_diameter = 8 + tol; ecas_depth = 5.25 + tol; filament_diameter = 2 + tol; $fn = 3...
glb/cad_dde3eb755cf5.glb
Create the Bed Leveling Squares model by placing four thin square plates on a flat plane. Each square must be 15mm by 15mm with a height of 0.2mm. Position the first square at coordinates (5, 5, 0). Position the second square at (110, 5, 0). Position the third square at (52.5, 125, 0). Position the fourth and final squ...
x = 120; y = 140; z = 1; of = 5; module plate() { translate([0,0,-1]) cube([x,y,z]); } %plate(); module layers() { translate([of,of,0])cube([x/8,x/8,0.2]); translate([x-(x/8)-of,of,0])cube([x/8,x/8,0.2]); translate([x/2-(x/8/2),y-(x/8)-of,0])cube([x/8,x/8,0.2]); translate([x/2-(x/8/2),y/2-(x/8/2),0...
glb/cad_f65f891b8052.glb
Create a 10-inch rack mount for a PoE switch and its adjacent power supply. The main structure is a mounting frame designed to hold a switch enclosure measuring 158mm wide, 100.7mm deep, and 25.4mm high. Within this frame, create two mounting posts to support the switch. Each post consists of a central cube measuring...
use <mounting.scad> show_assembly = !true; e = 1/64; rack_stl = "tl-sg108pe.stl"; width = 158; depth = 100.7; height = 25.4; slot_distance_from_front = 51.5; distance_between_slots = 110.0; module single_look() { intersection() { modified_import(); *translate([-79,-87, 9]) %sg108_enclosure(); } tr...
glb/cad_5a05a57939f5.glb
Create a 10-inch rack mount for a PoE switch and its adjacent power supply. Start by constructing a rectangular base block that is 13mm wide, 13mm deep, and 3mm high. On the top surface of this base, centered at coordinates (4, 9), add a vertical ridge feature with a total height of 3.5mm. The ridge is formed by extr...
e = 1/64; slot_width = 4.0; L_leg_length = 11; extent_length = 14.0; center_diameter = 8.0; module ridge_outline () { both_inset = 0.5; inset = both_inset / 2; ridge_width = slot_width - 0.5; half_ridge_width = ridge_width / 2; L_vert_to_horiz_start = 6.5; ridge_center_radius = (center_diameter - 0.6)...
glb/cad_6803abdc79c8.glb
Create a coffee drain spout consisting of a vertical cylindrical base and a curved outlet. Start with a main vertical cylinder 20mm in diameter and 25mm in height. Remove a central vertical hole 7mm in diameter that runs through the center of the base. At the top of this cylinder, create a tapered transition that nar...
$fa = 1; $fs = $preview ? 1 : 0.5; module base(){ translate([0,0,10])difference(){ rotate([0,30,0])union(){ difference(){ translate([0,0,-5])cylinder(h=25,d=20); translate([0,0,20-4])cylinder(h=5,d=9); translate([0,0,20-10-1])cylinder(h=10,d=7); ...
glb/cad_dbdff366d433.glb
Create a coffee drain spout consisting of a main cylindrical body and a tapered outlet. Start with a primary cylinder 20mm in diameter and 20mm in height. Bore a central vertical hole through the bottom 10mm of this cylinder with a diameter of 7mm, and extend this hole through the top 4mm with a wider diameter of 9mm. ...
$fa = 1; $fs = $preview ? 1 : 0.5; module base(){ translate([0,0,10])difference(){ rotate([0,30,0])union(){ difference(){ cylinder(h=20,d=20); translate([0,0,20-4])cylinder(h=5,d=9); translate([0,0,20-10-1])cylinder(h=10,d=7); hu...
glb/cad_1b96cbe8ff10.glb
Create a coffee drain spout. Start with a main vertical cylinder 20mm in diameter and 20mm in height. Remove a central vertical hole 9mm in diameter from the top, extending 5mm deep, and a smaller central hole 7mm in diameter extending 10mm deep from the bottom. Cut a rectangular notch 20mm wide, 7mm deep, and 5mm high...
$fa = 1; $fs = $preview ? 2 : 0.5; module base(){ translate([0,0,10])difference(){ rotate([0,30,0])union(){ difference(){ cylinder(h=20,d=20); translate([0,0,20-5])cylinder(h=5,d=9); translate([0,0,20-10-1])cylinder(h=10,d=7); col...
glb/cad_fdc5fb2a5b79.glb
Create a coffee drain spout by starting with a main vertical cylinder 20mm in height and 20mm in diameter. Hollow out the center of this cylinder with two concentric holes: a 9mm diameter hole extending 5mm deep from the top, and a 7mm diameter hole extending 10mm deep from the top. Cut a rectangular notch 20mm wide, 7...
$fa = 1; $fs = $preview ? 2 : 0.5; module base(){ translate([0,0,10])difference(){ rotate([0,30,0])union(){ difference(){ cylinder(h=20,d=20); translate([0,0,20-5])cylinder(h=5,d=9); translate([0,0,20-10])cylinder(h=8,d=7); color(...
glb/cad_aa7b1c2e6491.glb
Create a B700 Twin Lever Throttle Cover by constructing a central rectangular body. Within this body, integrate three hexagonal peg connectors, each with a diameter of 2.4mm. These connectors must be positioned and rotated at 120-degree intervals around the center of the object. Each hexagonal peg is formed by a cube w...
pegD = 2.4; for(a = [0,120,240]){ rotate([a,0,0]) cube(size = [5,2 * (pegD / 2) * tan(30), pegD], center = true); }
glb/cad_0198bb2e4698.glb
Create a B700 Twin Lever Throttle Cover. The main body is a hollowed-out shell with a complex, tapered geometric profile. The exterior is defined by a hull encompassing several key points: [0,0,0], [20,0,120], [0,0,245], [60,0,245], [153,0,120], and [168,0,0], with a minimum wall thickness of 5mm. The interior is holl...
width1 = 130; width2 = 212; thin = 0.001; minkR = 5; obj1 = [[0, 0, 0], thin, width1]; obj2 = [[20, 0, 120], thin, width1]; obj3 = [[0, 0, 245], thin, width1]; obj4 = [[60, 0, 245], thin, width1]; obj5 = [[153, 0, 120], thin, width1]; obj6 = [[168,0, 0], thin, width1]; obj7 = [[60, 0, 0], thin, width2]; obj8 = [[0, ...
glb/cad_092200ff75a5.glb
Create a Cabinet Storage Rod Adapter consisting of a flat base plate and two cylindrical rod holders. The base plate is a 2D polygon with a width of 136mm and a height of 80mm, featuring a thickness of 5mm and rounded outer corners with a 5mm radius. On the left edge of the plate, create three circular mounting holes...
$fn = 64; shape = "round"; width = 136; height = 80; base_thickness = 5; chamfer_x = width * 0.85; chamfer_y = height * 0.7; bar_chamfer = 8; r = 5; hole_d = 5; num_holes = 3; hole_spacing = 32; hole_x_offset = 10; extrusion_count = 2; extrusion_spacing = 70; extrusion_offset_x = 50; extrusion_offset_y = 15; wallthi...
glb/cad_ab737055c5b5.glb
Create a Duplo Train Color Signal consisting of two stacked, rounded rectangular plates. First, create a base plate 93mm long, 22mm wide, and 3mm thick with rounded corners of 9mm radius. On top of this base, place a second plate that is also 93mm long and 3mm thick, but wider at 26mm. This top plate must have the same...
width1 = 22; width2 = 26; length = 93; gap = 36; thickness1 = 3; thickness2 = 8; corner = 9; tiny = 0.0001; module rounded_edge(length, width1, width2, thickness, corner) { hull() { translate([0*length+0.5*corner, 0*width1+0.5*corner]) cylinder( d = corner, h = t...
glb/cad_33c3eeb19bda.glb
Create a garden hose mount consisting of two identical parallel supports. For each support, create a cylinder with an outer diameter of 25mm and an inner hole of 20mm, with a length of 10mm. Position these two cylindrical sections 25mm apart along a central axis. Connect the two cylinders with a solid rectangular block...
$fn=100; schlauchdiam=20; difference() { union() { rotate([0, 90, 0]) cylinder(d=schlauchdiam+5, h=10); translate([0, 25, 0]) rotate([0, 90, 0]) cylinder(d=schlauchdiam+5, h=10); translate([5, 0, -25/4 ]) cube([10, 25, 25/2], center=true); translate([5, 25, -25/4 ]) cube([10, 25, 25/...
glb/cad_a8c6249a5bfc.glb
Create a Disk Storage Organizer consisting of a shallow circular base and a tall outer rim. Start with a solid cylinder for the base that has a diameter of 150mm and a thickness of 2mm. Around the perimeter of this base, add a concentric cylindrical wall with an outer diameter of 150mm and a height of 155mm. The wall t...
base_diameter = 150; base_thickness = 2; rim_thickness=base_diameter - (140 + 9); rim_height = 155; opening_size = 100; difference() { union() { cylinder(h=base_thickness,r=.5*base_diameter,$fn=200); translate([0,0,base_thickness]) { cylinder(r=.5*base_diameter, h=rim_height,$fn=200); } } translate([0,0,base_thi...
glb/cad_e6b553180caf.glb
Create a Disk Storage Organizer bin with an overall width of 100mm, depth of 300mm, and height of 100mm. The main body is a hollowed rectangular container with wall thicknesses of 1.6mm. The interior is carved out by a smaller rectangular volume, leaving a shell. The front and back profiles are defined by a polygon t...
$fn=90; width=100; depth=300; height=100; wall=1.6; tolerance=0.5; module p_box_out(){ polygon(points=[[0,-height/4],[height/2,0],[height/2,depth-height/4],[0,depth-height/4]]); } module p_box_in(){ polygon(points=[[0,-(height/4-wall)],[height/2-wall,0],[height/2-wall,depth-height/4-wall],[0,depth-height/4-wall]]);...
glb/cad_d54b43868d24.glb
Create a planetary gear bearing with an outer diameter of 50mm and a total thickness of 10mm. First, construct a ring with an outer diameter of 50mm and a thickness of 10mm. Remove a central cylindrical core with a diameter of 49.5mm. From the outer wall of this ring, remove a herringbone gear shape with a specific t...
D=50; T=10; tol=0.15; number_of_planets=4; number_of_teeth_on_planets=8; approximate_number_of_teeth_on_sun=9; P=45; nTwist=1; w=6.7; DR=0.5*1; m=round(number_of_planets); np=round(number_of_teeth_on_planets); ns1=approximate_number_of_teeth_on_sun; k1=round(2/m*(ns1+np)); k= k1*m%2!=0 ? k1+1 : k1; ns=k*m/2-np; ...
glb/cad_df909c53b0ef.glb
Create an invisible ball chain connector. Start by creating two spheres, each with a diameter of 3.5mm, positioned 4.2mm apart from center to center along the X-axis. Enclose these spheres within two larger concentric spheres, each with a diameter of 5.1mm, sharing the same center points as the inner spheres. To cr...
$fn= $preview ? 64:64; tol=.4; ball=3.1+tol; span=42/10; thread=0.95+.5; wall=1; cutZ=.9; f1=thread/2; not=0.001; inf=100; d(){ for(s=[-1,1]) t([s*span/2,0,ball/2]) sphere(d=ball+2*wall); for(s=[-1,1]) t([s*span/2,0,ball/2]) sphere(d=ball); t([0,0,ball/2+cutZ]) cubeRounded([inf,inf,inf],center=[1,1,0]); t([0,...
glb/cad_fd99042f1fcf.glb
Create a Universal Print and Paper Drying Rack consisting of two side panels and four base brackets. For each side panel, create a series of 75 stacked slots. Each slot is composed of a main body measuring 202.4mm in depth (based on an 8-inch max paper height), 2.5mm in height, and 3mm in thickness. To create the slo...
PAPER_UNITS = "inch"; MAX_PAPER_HEIGHT = 8; PAPER_WIDTH = [4,5,10,11]; PAPER_TOLERANCE =1; SLOT_COUNT = 75; SLOT_THICK = 1.5; TAB_THICK = 1; TAB_WIDTH = 3; SIDE_WALL_THICK = 3; BASE_THICK = 5; BASE_TAB_WIDTH = 8; BASE_CHAMFER_DIST = 0; BASE_TAB_TOLERANCE = .5; BUILD_ALL_PARTS = false; PART_OFFSET = 10; m...
glb/cad_f8424e884f18.glb
Create a Hotdog lock tensioner consisting of a central cylindrical body and a long rectangular handle. Start by creating a central cylinder with an outer diameter of 15.5mm and a total height of 15mm. Hollow out the center of this cylinder with a hole 11.3mm in diameter and 15mm deep. On one side of the cylinder, int...
$fn = 80; hole_dia = 12.9; hole_depth = 11; hole_wall = 0.8; tab_width = 4.2; tab_thickness = 1.3; handle_thickness = 4; handle_width = 6; handle_length = 40; tensioner(); module tensioner() { difference() { union() { handles(); tensioner_cylinder(); } translate([...
glb/cad_fe63ffd0a276.glb
Create a fabric weight consisting of a wide, flat head and a threaded shaft. Start by creating a cylindrical head with a diameter of 38mm and a height of 3mm. Centered on top of this head, add a threaded shaft with an outer diameter of 19mm and a total length of 16mm. The threading should have a pitch of 2.5mm and a st...
type = "bolt"; head_type = "socket"; drive_type = "phillips"; head_diameter = 38; head_height = 3; drive_diameter = 0; slot_width = 0; slot_depth = 0; texture = "exclude"; thread_outer_diameter = 19; th...
glb/cad_c754eff90a31.glb
Create a coffee funnel consisting of two separate parts: a funnel body and a plunger. First, construct the funnel body. Start with a base cylinder that has a diameter of 43.1mm and a height of 4.5mm. This base is a thin-walled ring with a wall thickness of 2.7mm. On top of this base, add a conical section that transi...
stem_d = 43.1; stem_h = 4.5; mouth_d = 2 * stem_d; mouth_h = 24; d = 0.15 * 18; hole_d = 4; $fn = 100; module stem() { difference() { cylinder(d = stem_d, h = stem_h); cylinder(d = stem_d - d, h = stem_h); } } module mouth_base() { difference() { cylinder(d1 = stem_d, d2 = mouth_d, h = mouth_h); ...
glb/cad_836931e97916.glb
Create a Prusa Spool Wall Mount by starting with a main outer cylinder that has a diameter of 88.25mm and a height of 20mm. Hollow out this cylinder to create a wall thickness of 2mm by removing a concentric inner cylinder with a diameter of 84.25mm. Inside this space, add a central cylindrical pillar with a diameter o...
$fn=50; mount_height = 20; mount_diameter = 88.25; inner_height = 24; inner_diameter = 50; wall_thickness = 2; screw_hole = 3; difference(){ cylinder(h=mount_height, r=mount_diameter/2); translate([0, 0, wall_thickness]) cylinder(h=mount_height+2, r=(mount_diameter-wall_thickness)/2); cylinder(h=mount_height+4, r...
glb/cad_db050ef9b6b1.glb
Create a Heroscape Terrain Tile consisting of interlocking hexagonal units. Each individual hexagonal unit is based on a 6-sided prism with a diameter of 50.55mm. The unit features a perimeter rim with a thickness of 1.5mm and an inner diameter of 47.5mm. Depending on the selected type, construct the top surface as f...
HexName = "1HexTile"; HexType = "ground"; TileHeight = 1; ShowWaterEdges = "yes"; MakeSupports = "no"; UseFaceTextureFile = "no"; FileName = "HexTop.png"; module hexclip(face,type) { rotate([0,0,((face-1)*60)-60]) if (type != "water") { translate([-12.7,20,0]) if (type == "blank") {cube([25.4,4,(9....
glb/cad_4471f9f8613c.glb
Create a Fiat Doblo Transponder Key Knob Replacement. Start by constructing a hollow rectangular tray with a thickness of 2.5mm. The outer boundary is a rounded rectangle formed by the hull of four cylinders with 0.5mm radii, measuring 19.5mm by 8mm. The inner cavity is a smaller rounded rectangle measuring 18mm by 7mm...
$fn = 16; cornerRad = 0.5; wall = 0.5; pinDiamMax = 4.5; pinDiamMin = 1.8; bigWidth = 19.5; littleWidth = 18.0; height = 8.0; thickness = 2.5; difference() { hull() { translate([0, height/2 - cornerRad, 0]) { translate([-bigWidth/2 + cornerRad, 0, 0]) cylinder(r = cornerRad, h = thickness); ...
glb/cad_e9866de1e150.glb
Create a Fiat Doblo Transponder Key Knob Replacement. Start by constructing a hollowed rectangular shell with a thickness of 2.5mm. The outer boundary is a rounded rectangle created by the convex hull of four cylinders with a 0.5mm radius, positioned to form a shape 19.5mm wide by 8mm high. The inner cavity is similarl...
$fn = 16; cornerRad = 0.5; wall = 0.75; pinDiamMax = 4.5; pinDiamMin = 2.8; pinHeight = 0.5; bigWidth = 19.5; littleWidth = 18.0; height = 8.0; thickness = 2.5; difference() { hull() { translate([0, height/2-cornerRad, 0]) { translate([-bigWidth/2+cornerRad, 0, 0]) cylinder(r = cornerRad, h =...
glb/cad_b4d76431380c.glb
Create a universal female-to-female pipe adapter consisting of two internally threaded sections joined by a central conical transition. For the upper section, create a circular outer body with a diameter of 20mm. Inside this body, add an internal G1/4 thread with 5 full turns and a chamfered entry. For the lower se...
use <threadlib/threadlib.scad> use <AdapterGenerator.scad> echo ("threadlib version: ", __THREADLIB_VERSION()); $fn = 120*1; fudge = 1/cos(180/$fn); corrector = 0.15; min_wall_size = 1.0; upper_thread = "G1/4"; upper_turns = 5; upper_chamfer = true; upper_style = "Circular"; upper_diameter = 20; mid_style = ...
glb/cad_62f124c56802.glb
Create a universal pipe joint adapter consisting of three coaxial sections: an upper nozzle, a middle ring, and a lower nozzle. The upper nozzle is a hollow cylinder with a height of 15mm, an outer diameter of 10mm, and a wall thickness of 1.2mm. It features a small internal bracket of 0.6mm. The middle section is ...
use <AdapterGenerator.scad> $fn = 120*1; fudge = 1/cos(180/$fn); upper_height = 15; upper_diameter = 10; upper_wall = 1.2; upper_bracket = 0.6; mid_style = "Circular"; mid_outer_diameter = 24; mid_height = 5; lower_height = 15; lower_diameter = 20; lower_wall = 1.2; lower_bracket = 0.6; union(){ tran...
glb/cad_78a860ddf5d9.glb
Create a universal pipe joint adapter consisting of three stacked sections: an upper nozzle, a middle transition, and a lower threaded base. First, create the upper nozzle as a hollow cylinder with a height of 15mm, an outer diameter of 10mm, and a wall thickness of 1.2mm. Add a small 0.6mm bracket to the outer rim. ...
use <threadlib/threadlib.scad> use <AdapterGenerator.scad> echo ("threadlib version: ", __THREADLIB_VERSION()); $fn = 120*1; fudge = 1/cos(180/$fn); corrector = 0.15; upper_height = 15; upper_diameter = 10; upper_wall = 1.2; upper_bracket = 0.6; mid_style = "Cone"; mid_outer_diameter = 25; mid_height = 5; m...
glb/cad_d65aa83f0ea8.glb
Create a universal pipe joint adapter consisting of three coaxial sections: an upper nozzle, a middle grip, and a lower threaded section. First, create the upper nozzle as a hollow cylinder with a height of 15mm, an outer diameter of 10mm, and a wall thickness of 1.2mm. Add a small 0.6mm bracket to this section. Seco...
use <threadlib/threadlib.scad> use <AdapterGenerator.scad> echo ("threadlib version: ", __THREADLIB_VERSION()); $fn = 120*1; fudge = 1/cos(180/$fn); corrector = 0.15; upper_height = 15; upper_diameter = 10; upper_wall = 1.2; upper_bracket = 0.6; mid_style = "Circular"; mid_outer_diameter = 24; mid_height = 5...
glb/cad_e45e7a81cf3f.glb
Create a universal male-male pipe adapter consisting of two external threaded sections joined by a central hexagonal nut. The upper section is a male G1/4 thread with 5 full turns, a wall thickness of 1.2mm, and a chamfered end. The lower section is a male G1/2 thread with 5 full turns, a wall thickness of 1.2mm, and...
use <threadlib/threadlib.scad> use <AdapterGenerator.scad> echo ("threadlib version: ", __THREADLIB_VERSION()); $fn = 120*1; fudge = 1/cos(180/$fn); corrector = 0.15; upper_thread = "G1/4"; upper_turns = 5; upper_wall = 1.2; upper_chamfer = true; mid_style = "Hexagon"; mid_outer_diameter = 24.00; mid_height ...
glb/cad_436f637a2b6b.glb
Create a universal thread and pipe joint adapter consisting of three coaxial sections: an upper male threaded part, a middle transition body, and a lower female threaded part. For the upper section, create a male external thread using a G1/4 specification with 5 full turns, a wall thickness of 1.2mm, and a chamfered e...
use <threadlib/threadlib.scad> use <AdapterGenerator.scad> echo ("threadlib version: ", __THREADLIB_VERSION()); $fn = 120*1; fudge = 1/cos(180/$fn); corrector = 0.15; upper_thread = "G1/4"; upper_turns = 5; upper_wall = 1.2; upper_chamfer = true; mid_style = "Cone"; mid_outer_diameter = 25; mid_height = 5.0;...
glb/cad_cb89d7d91414.glb
Create a customizable filament spool divider section with a 60° angular sweep. The part consists of a flat circular base and a vertical wall. Start with a base disk having an outer diameter of 195mm and a thickness of 1.4mm. From this base, extend a vertical wall upwards to a total height of 17.35mm. This wall follow...
od = 195; id = 105; hd = 20; t = 1.4; ang = 60; ch = 69; ndiv = 4; $fn = 120; difference(){ divider(); union(){ core_cuts(); wall_cuts(); section(); } } echo (" "); echo ("SECTION HEIGHT is ", h()); echo (" "); function h() = ndiv > 0 ? (ch+t) / ndiv : hd; ...
glb/cad_0b7359b1283b.glb
Create a 12V Socket Surface Mount Surround with a total thickness of 5mm. The main body is formed by the convex hull of a central cylinder and two smaller outer cylinders. The central cylinder has a radius of 22mm (14mm base radius plus an 8mm border), while the two outer cylinders, positioned 30mm from the center alon...
include <../0000_StdLibraries/BOSL2/std.scad> include <../0000_StdLibraries/BOSL2/hinges.scad> depth = 5; screwBorder = 5; usbD = 28; usbBorder = 8; usbYOS = 0.5; usbNutD = 40; screwD = 4; screwOS = 30; bevel = 2; minkR = 2; minkRes = 1; minA = 0.1; module minkShape(bevel=1,type=0,res=0.25,showDoc = false){ if ...
glb/cad_fdadfbc31dee.glb
Create a 12V Socket Surface Mount Surround with a total height of 5mm. The main body is formed by the convex hull of a central cylinder and two smaller outer cylinders. The central cylinder has a radius of 22mm (14mm base radius plus an 8mm border), while the two outer cylinders, positioned 30mm from the center along t...
include <../0000_StdLibraries/BOSL2/std.scad> include <../0000_StdLibraries/BOSL2/hinges.scad> depth = 5; screwBorder = 5; usbD = 28; usbBorder = 8; usbYOS = 0.5; usbNutD = 40; screwD = 4; screwOS = 30; bevel = 2; minkR = 2; minkRes = 1; minA = 0.1; module minkShape(bevel=1,type=0,res=0.25,showDoc = false){ if ...
glb/cad_fdadfbc31dee.glb
Create a RetroTINK 2x Mini Mount. Start with a main rectangular base measuring 82mm wide, 62mm long, and 34mm high. The base should have rounded corners with a 3mm radius. The back of the mount features a large cylindrical cutout with a 200mm radius to create a concave profile. On the top surface, create four mounting...
W = 82; L = 62; H = 34; cr = 3; cr2 = 10; rt = 200; PX = 55; $fn=64; mbx0 = -24.5; mbz0 = -3.0; translate([-mbx0,.5*L-3+35,.5*H]){ tink2xmini(); mount_2xmini(); } !buttonlonger(ll=60); module buttonlonger(ll=20){ bz = .5*H+mbz0; blf = bz-2-3; difference() { union(){ translate...
glb/cad_8ed380c2a918.glb
Create a SUP Paddleboard Drink and Phone Holder consisting of two joined components: a cylindrical cup holder and a rectangular phone sleeve. First, construct the cup holder. Create a hollow cylinder with an outer radius of 41mm and an inner radius of 36mm, with a total height of 90mm. The base should be solid, consis...
$fn=200; drink_rad = 36; phone_width = 46; phone_depth = 9; holder_rad = drink_rad + 5; base_rad = holder_rad + 5; module cup_holder_base_shape() { union() { cylinder(h=2,r=base_rad,center=true); translate([0,0,2.99]) cylinder(r2=holder_rad,r1=base_rad,h=5,center=true); transl...
glb/cad_882180339009.glb
Create a magnetic pin holder by combining a spherical top with a cylindrical base. Start with a sphere that has a radius of 6mm. Cut away the bottom half of this sphere using a cube to create a hemispherical dome. Attached to the bottom of this dome, add a cylinder with a height of 2mm. This cylinder should have a base...
magnet_radius = 4; magnet_height = 2; pin_radius = magnet_radius + 2; pin_radius_lower = magnet_radius + 1; epsilon = 0.01; ht = 0.01; wt = 0.01; $fn = 64; pin(); module magnet() { cylinder(magnet_height + ht, magnet_radius + wt, magnet_radius + wt); } module pin_ht() { difference() { sphere(r=pin_radius...
glb/cad_de9f96287cd8.glb
Create a Recurve Archery Bow ILF Limb Shim with a total thickness of 3.125mm. The main body is formed by the convex hull of three primary shapes: a central cylinder with a radius of 15mm and a height of 4.125mm, a rectangular block measuring 0.001mm by 33mm by 2mm centered at X=20, and two small cylinders with a radius...
shimTurns = 2.5; withText = false; whichBit = 0; threadPitch = 1.25; shimSize = shimTurns * threadPitch; wideBit = 33; tabR = 10; tabXSO = 30; module shimText(){ color("blue") linear_extrude(0.6){ translate([17,0,0.5]) rotate([0,180,-90]) text(str(shimTurns),size = 10, halign = "center", valign = "center...
glb/cad_4744a79d1133.glb
Create a replacement power button for an IBM ValuePoint computer. Start with a main rectangular body measuring 22mm in length, 13mm in width, and 6mm in depth. Hollow out the center of this body, leaving a wall thickness of 2mm and a front face thickness of 3mm. In the center of the face, add a cylindrical barrel with ...
_mainButtonLength = 22; _mainButtonWidth = 13; _mainButtonDepth = 6; _mainButtonWallThickness = 2; _mainButtonFaceThickness = 3; _springBarrelDiameter = 5.5; _springBarrelRadius = _springBarrelDiameter/2; _springBarrelHeight = 5; _legLength = 3; _legWidth = 2; _legDepth = 12; _legCatchLength = 4.5; _legCatchWidth = ...
glb/cad_dd259d242cf9.glb
Create a Browan TABS sensor holder starting with a square base plate measuring 50mm by 50mm with a thickness of 5mm. At each of the four corners of the base plate, remove a 20mm cube centered on the corner, then fill that void with a cylinder of 10mm radius and 5mm height to create rounded corner cutouts. To create th...
plate_thickness = 5; notch_include = true; screw_include = false; screw_dimension = 4; magnet_include = false; magnet_height = 5; magnet_radius = 3.5; plate_height = 50; plate_width = 50; holder_width = 10; holder_length = 20; holder_thickness = 0.2; holder_rotation = 45; difference() { cube([plate_width,pla...
glb/cad_2a22f3f0560b.glb
Create a Browan TABS sensor holder consisting of a thin rectangular base plate. The base plate should be 20mm wide, 32mm high, and 1mm thick, centered on the origin. At each of the four corners of this plate, remove a 20mm by 20mm square section, but within each of those removed squares, leave behind a circular pilla...
plate_thickness = 1; screw_include = false; screw_dimension = 4; plate_height = 32; plate_width = 20; holder_width = 10; holder_length = 20; holder_thickness = 0.2; holder_rotation = 45; difference() { cube([plate_width,plate_height,plate_thickness], center=true); translate([plate_width/2,plate_height/2,0]...
glb/cad_d7cf2f9689a8.glb
Create a Fidget Sleeve consisting of a threaded outer tube and two matching nuts. First, construct the sleeve as a hollow cylinder 100mm long with an external screw thread. The internal cavity must be a hexagonal prism with a diameter of 7.9mm (7.3mm plus a 0.6mm tolerance) to accommodate a standard pencil. The exter...
shape="hex"; pencil_dia=7.3; tolerance=0.6; pencil_length=100; color1="#FFFFFF"; color2="#FF0000"; color3="#0000FF"; thread_count=(floor(pencil_length/3)-1); difference(){ color(color1) thread(3, 13, 12, thread_count); if (shape=="hex"){cylinder(d=pencil_dia+tolerance,h=pencil_length,$fn=6);} else if (shape=="r...
glb/cad_1395bf62a557.glb
Create a Rio Zero Gravity Chair Replacement Footrest Clip with a thickness of 6mm. Start by constructing a solid rectangular base with rounded corners, measuring 49mm in total length and 21mm in total width. The corners of this outer shape should have a radius of 3mm. Inside this base, carve out a centered rectangula...
corner_radius=3; inner_width=9; inner_length=35; ring_width=12; thickness=6; opening_width=2.5; $fn=100; clip(); module clip(){ difference(){ outter_shape(); inner_cutout(); translate([-opening_width/2-corner_radius,0,0]) cube([opening_width+corner_radius*2,ring_width+inner_width/2,thickness]); } translate([opening_...
glb/cad_9e5f06dfd4df.glb
Create a rounded power brick holder with an outer shell measuring 73.66mm wide, 165.1mm long, and 34.93mm deep. The walls and base should have a uniform thickness of 2.4mm with all exterior corners and edges rounded to a 2.4mm radius. Hollow out the center to create a pocket, leaving the 2.4mm walls intact. On the lef...
thickness = 2.4; length = 6.5*25.4; width = (2+7/8)*25.4; depth = 1.375*25.4; cl_width = 1.125*25.4; cl_depth = 25.4; cl_offset = 0; cr_width = 5/8*25.4; cr_depth = 25.4; cr_offset = -13.5/16*25.4-1.5; screw_dia = 3.2; screw_chamfer ...
glb/cad_2179f749bd3d.glb
Create a microscope slide circle tracing stencil. Start by creating a solid rectangular block with a length of 79.25mm, a width of 29.1mm, and a total height of 1.5mm. On the underside of this block, carve out a centered rectangular pocket to accommodate a microscope slide. This pocket should be 75.65mm long and 25.5...
circle_size_selector = "large"; top_surface_thickness = 0.5; overhang_amount = 2; lip_depth = 1; slide_length = 75.25; slide_width = 25.1; fit_tolerance = 0.4; large_circle_dia = 14; small_circle_dia = 10; guide_circle_diameter = (circle_size_selector == "large") ? large_circle_dia : small_circle_dia; guide_circ...
glb/cad_7b2da3b34aeb.glb
Create a speaker housing cover consisting of a rectangular box with a hollow interior and two protruding cylindrical wire guides. The outer dimensions of the box are 29.4mm in width, 19.4mm in depth, and 18mm in total height. The walls are 1.2mm thick, and the interior cavity measures 27mm by 17mm by 15mm. The top fa...
box_internal_x = 27; box_internal_y = 17; box_internal_z = 15; box_wall_thickness = 1.2; cylinder_inner_d = 3.5; cylinder_length = 10; cylinder_wall = 2; cylinder_spacing = 12; top_thickness = 3; chamfer = 2; box_outer_x = box_internal_x + 2 * box_wall_thickness; box_outer_y = box_internal_y + 2 * box_wall_thicknes...
glb/cad_02c2ffab1e2c.glb
Create a customizable cat ears headband. Start by constructing the main headband as a curved arc with a radius of 90mm, spanning an angle of 260 degrees. The band should have a horizontal width of 3mm and a vertical thickness of 8mm. At each end of the arc, add a cat ear. Each ear is a 2D polygon extruded to a thickne...
arc_radius = 90; arc_angle = 260; band_width = 3; band_thickness = 8; ear_height = 70; ear_width = 60; ear_thickness = 5; ear_base_inner_radius = arc_radius - band_width / 2; straight_length = 40; ear_insert_thickness = 3; subtract_ear_insert = true; bump_width = 6; bump_depth = 2; bum...
glb/cad_e23c8cd4988e.glb
Create a Parametric Macro Pad consisting of an enclosure, a switch plate, and a mounting system for a Pi Pico. First, construct the enclosure. Create a hollowed-out box with a height of 30mm and walls 2mm thick. The sides should flare outward at a 75-degree angle. The bottom exterior should have rounded corners with a...
EnclosureHeight = 30; MacropadWidth = 4; MacropadDepth = 4; SideAngle = 75; SideThickness = 2; debug = true; module __Customizer_Limit__ () {} SwitchArea = 19.05; SwitchCutOut = 14; SwitchPlateThickness = 1.5; SwitchPlateClearance = 0.2; BasePlateBorderClearance = 5; CornerRadius = 3; SwitchClearanceAboveS...
glb/cad_4746ca723ec6.glb
Create a Wheel Stud Checker consisting of a circular base plate with protruding pins. Start by creating a hollow cylindrical ring with a thickness of 8.6mm. The outer diameter of this ring should be 133.35mm (calculated as the stud circle diameter of 120.65mm plus the stud diameter of 12.7mm), and the inner diameter sh...
$fn=180; studCircleDiameter = 4.75 * 25.4; studCount = 5; studDiameter = 1/2 * 25.4; plateThickness = 8.6; studHeight = 1.5 * 25.4; plateOuterDiameter = studCircleDiameter + studDiameter; plateInnerDiameter = plateOuterDiameter - studDiameter * 2; studCircleRadius = studCircleDiameter / 2; union(){ myWheelPla...
glb/cad_9d660355dce4.glb
Create an Ikea Ivar Shelf Gap Filler consisting of two stacked rectangular prisms. First, create a wide, thin base plate measuring 31mm in width, 235mm in length, and 2mm in height. Centered on top of this base plate, add a second rectangular prism that is 17mm wide, 235mm long, and 12mm high. The resulting shape shoul...
gap_width = 17; gap_length = 235; gap_depth = 12; overhang = 8; overhang_thickness = 2; cube([gap_width+(overhang*2),gap_length,overhang_thickness]); translate([overhang,0,overhang_thickness]) { cube([gap_width,gap_length,gap_depth]); }
glb/cad_151c9188fb07.glb
Create a filament swatch tag by starting with a rectangular base measuring 40mm by 20mm with a thickness of 1mm. Soften the edges of this base by applying a 5mm fillet or radius to all corners. Drill a circular hole with a diameter of 3mm, centered at the coordinates -21mm on the X-axis and 11mm on the Y-axis. On the t...
$fn=32; brand="Overture"; material="PLA"; colour="BLACK"; font = "Arial:style=Regular"; difference() { minkowski() { cube([40,20,1],center=true); cylinder(0.1,5,5); } translate([-21,11,-5])cylinder(10, 1.5,1.5); } color("red")translate([0,6,0.5])linear_extrude(height = 0.4)text(brand, font = font, size = 7,spacing=0.9...
glb/cad_89d16fcbb6d0.glb
Create a screw cap consisting of three stacked cylindrical sections with a total height of 10mm. Start with a flat circular base flange that is 2mm thick and 24.5mm in diameter. Centered on top of this base, add a hollow cylindrical body with an outer diameter of 15mm and a wall thickness of 2mm, extending from the top...
$fn = 100; length = 10; body_od = 15.00; wall_thk = 2.00; flange_od = 24.5; flange_thk = wall_thk; body_id = body_od - 2*wall_thk; module part() { cylinder(h = flange_thk, d = flange_od); difference() { translate([0, 0, flange_thk]) cylinder(h = length - flange_thk, d = body_od); translate([0, 0...
glb/cad_b646eacea9c5.glb
Create a screw cap consisting of a cylindrical body and a wide base flange. Start by creating a solid circular flange with a diameter of 24.5mm and a thickness of 2mm. On top of this flange, center a hollow cylinder with an outer diameter of 15.2mm and a total height of 10mm, resulting in an overall part length of 12mm...
$fn = 100; length = 12; body_od = 15.20; wall_thk = 2.00; flange_od = 24.5; flange_thk = wall_thk; body_id = body_od - 2*wall_thk; module part() { cylinder(h = flange_thk, d = flange_od); difference() { translate([0, 0, flange_thk]) cylinder(h = length - flange_thk, d = body_od); translate([0, 0...
glb/cad_02c464e3f140.glb
Create a flanged bushing sleeve by revolving a rounded profile around a central axis. The main body is a hollow cylinder with an inner diameter of 19.25mm and an outer diameter of 22.3mm, extending to a height of 14.5mm. At the top of this cylinder, add a flange with an outer diameter of 26.9mm and a thickness of 1.5mm...
rdRad=0.5; sleeveOuterDia=22.3; sleeveInnerDia=19.25; sleeveHeight=14.5; flangeOuterDia=26.9; flangeHeight=1.5; totalHeight = sleeveHeight + flangeHeight; makeRoundedBushing(); module makeRoundedBushing() { rotate_extrude($fn=200) { minkowski() { polygon(points=[ ...
glb/cad_e81aa37b28a9.glb
Create a Sentro Knitting Machine Drill Adapter consisting of two stacked, concentric cylindrical sections. First, construct the base section for the drill bit. Create a cylinder with a height of 19.1mm, a bottom diameter of 17mm, and a top diameter of 25mm. Remove a central cylindrical core from this base with a diam...
include <my_library.scad>; highRes = false; debug = false; sTKDiam = [65, 69.6, 1.5, 31]; sTKHeight = [25.2, 3.1]; sTDBDiam = [25, 17, 2]; sTDBHeight = [19.1, 13.4, 10]; $fa = 1; $fs = 0.25; $fn= highRes ? 90 : 25; difference() { cylinder(h=sTKHeight[0], d1=sTKDiam[1], d2=sTKDiam[0]); translate([0, 0, sTK...
glb/cad_8b69c2a52d80.glb
Create a 3D Chess XL stand and board set. Start by constructing a main support arm and a conical foot base. The foot consists of a main body and an optional bottom stability piece, featuring a central hollow cavity and eight M3 screw holes arranged in a circle with a diameter of 155mm. Create three large boards and fo...
include <lib_markus.scad> footX = -8; footZ = (60-2)*1.55; segmentSize = 31*1.55; boardThickness = 5; largeBoardSize = segmentSize * 4; smallBoardSize = segmentSize * 2; heightStep = largeBoardSize*0.8; rodDiameter = 5.9; rodLength = heightStep/2+10-1.7; armDiameter = 11+4; preview(); module preview() { color(...
glb/cad_d3cd30849525.glb
Create a 3D Chess XL set consisting of a support stand, multiple game boards, and stylized chess pieces. Construct a support stand featuring a main foot and an arm. Attach three large boards to the arm. Each large board should be a flat rectangular plate. Create four smaller attack boards and mount them to the large ...
include <lib_markus.scad> scaleFactor = 1.55; weightScrewHeadLength = 5; weightScrewDrillDiameter = 5.9; weightScrewHeadDiameter = 15; !render() set(); module previewAll() { distance = scaleFactor * 22.5; render() { translate([distance * -2.5, 0, 0]) pawn(); translate([distance * -1.5, 0, 0]) rook(); ...
glb/cad_ab40e81041da.glb
Create a battery tray consisting of two distinct sections of cylindrical cups. The first section is a grid of 4 by 5 cups designed for AA batteries. Each cup is a cylinder with an outer diameter of 17mm, an internal diameter of 15mm, a total height of 11mm, and a base thickness of 1mm. Arrange these in a tight grid whe...
$fn=50; aa(); translate([-7, 72, 0]) cube([62, 3, 10]); translate([-6, 81, 0]) aaa(); module aa(){ width=4; height=5; depth=10; diameter=15; thickness=1; base=1; columns=width-1; rows=height-1; wall=thickness*2; dia=diameter+thickness; cup=depth+base; difference(){ union(){ for (x=[0:columns]...
glb/cad_dfd28d5f2da4.glb
Create a battery tray consisting of two distinct grids of cylindrical cups. First, construct a 4x4 grid of larger cups for AA batteries. Each cup should have an outer diameter of 17mm, an internal diameter of 15mm, and a total height of 11mm. The walls and the base of each cup must be 1mm thick, leaving an internal dep...
$fn=50; aa(); translate([-2, 56, 0]) cube([52, 3, 10]); translate([0, 65, 0]) aaa(); module aa(){ width=4; height=4; depth=10; diameter=15; thickness=1; base=1; columns=width-1; rows=height-1; wall=thickness*2; dia=diameter+thickness; cup=depth+base; difference(){ union(){ for (x=[0:columns])...
glb/cad_68666a43fd07.glb
Create a parametric fan spacer by starting with a square plate that is 50mm wide, 50mm deep, and 0.6mm thick. Round the four outer corners of this plate with a radius of 2mm. Cut a large circular hole through the center of the plate with a diameter of 48mm to allow for airflow. Additionally, create four smaller circula...
fan_size = 50; hole_spacing = 40; hole_diameter = 5; spacer_thickness = .6; airflow_cutout = 48; corner_radius = 2; difference() { minkowski() { cube([fan_size - 2*corner_radius, fan_size - 2*corner_radius, spacer_thickness], center = true); cylinder(r = corner_radius, h = 0.01, $fn = 64); } ...
glb/cad_a99ae2a6684b.glb
Create a battery plate for a Styer AUG airsoft replica. The main body is a flat plate with a total thickness of 10mm. The overall footprint is approximately 43mm wide and 60mm long, with the edges shaped by a 50mm diameter cylinder intersection. At the center of the plate, create a vertical hole for a low-profile M6 n...
$fn = 60; distance = 0.4; nut = 0; intersection() { union() { difference() { union() { intersection() { translate([0,-20,2]) resize([43,60,4]) cylinder(d=50, h=4, center=true); translate([0,5,4]) cube([50,50,10], center=true); } if(distance) ...
glb/cad_c7c8de98d8ea.glb
Create a PCB milling alignment pin grid plate. Start with a rectangular base measuring 150mm in length, 100mm in width, and 6mm in thickness. Within this plate, create a grid of small holes for alignment pins. These holes are cylinders with a radius of 1.5mm and a depth of 4mm, centered at 4mm from the bottom surface...
$fn=25; module m4() { translate([0,6,0]) { rotate([90,0,0]) { translate([0,0,2]) cylinder(h=4,r=3.5,center=true); translate([0,0,7]) cylinder(h=14,r=2,center=true); } } } module plate() { difference() { cube([150,6,100]); translate([7.5,0,87.5]) m4()...
glb/cad_7df9837e2c62.glb
Create a set of radius gauges by starting with a rectangular base measuring 200mm in length and 16mm in height, with a thickness of 2mm. Along the length of this base, remove a series of circular cutouts to create gauges with radii ranging from 5mm to 15mm, increasing in increments of 1mm. Each circular cutout should b...
include <BOSL2/std.scad> start = 5; end = 15; radius_step = 1; margin = 5; bump_height = 2; auto_length = true; gauge_length = 200; auto_height = true; gauge_height = 12; height = auto_height ? bump_height * 8 : gauge_height; function _cd(r,h) = 2 * sqrt(2*r*h - h^2); function _cp(start,r,h) = let(cd = ...
glb/cad_5f9b4c8c6013.glb
Create a parametric hidden under-table shelf consisting of a baseplate and two vertical mounting edges. The baseplate is a semi-circular disk with a radius of 173mm and a thickness of 3mm. The outer edge of this disk features a 2mm chamfer. From the center of the disk, extend two vertical walls outward to a distance o...
shelf_d = 173; chamf_h = 2; bottom_t = 3; edge_h = 30; edge_sp = 20; edge_ww = 2.6; screw_d = 3.5; screw_x = [40, 110]; pole_x = 135; pole_dim = [38, 38]; tbl_vrod_d = 18; $fa=1; $fs=0.4; open_angle = 90; module baseplate_profile() { union() { square([shelf_d-chamf_h, bottom_t]); h...
glb/cad_214e4b368ffb.glb
Create a simulation model of a Cochlear Osia 2 sound processor. The main body is an organic, asymmetrical rounded form created by the convex hull of four thin, egg-shaped slices of varying sizes and rotations. The first slice is centered at x=-1, z=0 with a length of 35mm, r1 of 14mm, and r2 of 11mm. The second is at x...
include <libraries/BOSL2/std.scad> $fn = $preview ? 60 : 180; magnet = "yes"; magnetDiameter = 10; magnetDepth = 1.6; roundTop = "yes"; difference() { color( "#baf4c2" ) hull() { translate( [ -1, 0, 0 ] ) linear_extrude( 0.01 ) egg( length = 35, r1 = 14, r2 = 11, R = 24 ); translate( [ -0.5, 0, 4 ] ...
glb/cad_c00b14cf677e.glb
Create a Galois Rotary Encoder disk by starting with a main cylinder 25.8mm in diameter and 2.4mm thick. At the center, create a tiered hub consisting of a cylinder 7.35mm in diameter and 3.4mm tall, with a concentric hole passing through the center of the entire object that is 22.8mm in diameter and 5mm deep. Around ...
module disk() { cylinder(2.4,12.9,12.9,$fn=180); cylinder(3.4,3.67,3.67,$fn=180); } module hole() { difference() { translate([0,0,-1])cylinder(5,11.4,11.4,$fn=180); translate([0,0,-2])cylinder(7,7.25,7.25,$fn=180); } } difference() { disk(); hole(); difference() { translate([0,0...
glb/cad_fb2db8dd93fd.glb
Create a base plate for a HOTAS mount with overall dimensions of 170mm by 170mm and a thickness of 7mm. On the underside of the plate, integrate a cylindrical hinge with a diameter of 20mm and a length of 85mm. This hinge should be centered along one axis and feature a central longitudinal hole with a diameter of 5.5...
tolerance = 0.5; basePlate(); module baseClamp(){ difference(){ union(){ translate([48.5,-42.5,-29]){cube([73,85,7],true);} translate([12-tolerance,-42.5,-25.5]){rotate([90,0,0]){ cylinder(d=20,h=85,center=true,$fn=100); }} hull(){ ...
glb/cad_092e6fcb78b7.glb
Create a Saitek X52 Pro Hotas Ikea Poäng Holder base plate. Start with a central square plate measuring 170mm by 170mm with a thickness of 7mm. Along one axis, integrate a cylindrical hinge with a diameter of 20mm and a length of 85mm. This hinge should be centered and partially embedded into the plate. Create a cent...
tolerance = 0.5; basePlate(); module baseClamp(){ difference(){ union(){ translate([-48.5,-42.5,-29]){cube([73,85,7],true);} translate([-12+tolerance,-42.5,-25.5]){rotate([90,0,0]){ cylinder(d=20,h=85,center=true,$fn=100); }} hull(){ ...
glb/cad_ca0005e09cdb.glb
Create a Gardena Micro Drip Adapter that merges three small inlets into one larger outlet. First, construct the main outlet body as a vertical cylinder with an outer diameter of 12.8mm and a central hole of 10.2mm. This base section should feature a tapered bottom transition, narrowing from 12.8mm down to 12.8mm over...
tolerance = 0.2; module connector4(){ difference(){ union(){ translate([0,0,5.5]){cylinder(d1=5-tolerance,d2=4-tolerance,h=1,center=true,$fn=64);} translate([0,0,4]){cylinder(d1=5.5-tolerance,d2=5-tolerance,h=2,center=true,$fn=64);} translate([0,0,2]){cylinder(d1=5-toler...
glb/cad_636ae2127012.glb
Create a Gardena Micro Drip 13mm parametric bend with a 45-degree angle. The object consists of a curved tube with a hollow center. First, design a connector piece that is a cylinder with an outer diameter of 12.8mm and a height of 20mm, featuring a central hole with a diameter of 10.2mm. This connector includes severa...
tolerance = 0.2; bendAngle = 45; module connector13(){ difference(){ union(){ translate([0,0,10.5]){cylinder(d1=13-tolerance,d2=12-tolerance,h=1,center=true,$fn=64);} translate([0,0,8]){cylinder(d1=14.5-tolerance,d2=13-tolerance,h=4,center=true,$fn=64);} translate([0,0,5...
glb/cad_e3de059f53d0.glb
Create a Gardena Micro Drip 90 degree bend guide. Start with a central rectangular block measuring 60mm in length, 6mm in width, and 10mm in height, centered on the origin. Add two cylinders to the ends of this block; each cylinder should have a diameter of 10mm and a height of 6mm, oriented such that they are centered...
tolerance = 0.3; showTube = false; if(showTube){ color([0.3,0.3,0.3,1]){ translate([0,-34,0]){rotate([0,0,45]){ rotate_extrude(angle=90,$fn=128){translate([40,0]){circle(d=6.3,$fn=32);}} }} } } difference(){ union(){ cube([60,6,10],true); translate([ 30,0,0]){r...
glb/cad_65d19914fb8b.glb
Create an exhaust duct for an RPK airsoft replica. Start by constructing a main outer cylinder with a diameter of 24.4mm and a height of 26.6mm. Inside this, remove a concentric cylinder with a diameter of 20.4mm and a height of 27mm to create a hollow tube. Add a second, taller outer cylinder centered at the same axi...
$fn = 90; difference() { union() { translate([0,0,((26.6/2)+(23.2))]) cylinder(d=24.4, h=26.6, center=true); translate([0,((24.4/2)+(19.8/2)+5.4),((32.6/2)+(0))]) cylinder(d=17.8, h=32.6, center=true); translate([0,((24.4/2)+(19.8/2)+5.4),((32.6/2)+(2.4))]) cylinder(d=19.8, h=32.6, center=true); di...
glb/cad_6b9cbfb5b188.glb
Create a Gardena Microdrip Dripper Reinforcement consisting of a hollow cylindrical sleeve and an attached spike. Start by creating a cylinder with a height of 12mm, an inner diameter of 6.51mm, and an outer diameter of 7.35mm, using a 48-facet resolution for the circular walls. Attached to the base of this cylinder, e...
walls=2; wall_thickness=0.42; inner_diameter=6.3+0.21; height=12; fn=48; spike_width=4; spike_half_width=spike_width/2; spike_length=80; spike_thickness=2; difference(){ union() { cylinder(h=height, r=(inner_diameter+2*walls*wall_thickness)/2, center=true, $fn=fn); translate([0,0,-height/2]){ ...
glb/cad_b57c929d5d53.glb
Create a Tessellated Octagonal Coaster by starting with a main octagonal body that has a side length of 40mm and a total thickness of 5mm. On the top face, create an octagonal inset centered on the body with a side length of 38mm and a depth of 2mm. Within this inset area, add a raised tessellated pattern consisting ...
side_length = 40; thickness = 5; inset_side_length = 38; inset_depth = 2; tess_oct_side_length = 2; tess_gap = 0.5; tess_height = 0.6; foot_diameter = 10; foot_depth = 1; radius = side_length / (2 * sin(180/8)); inset_radius = inset_side_length / (2 * sin(180/8)); function octagon_points(r) = [for (i = [0:7]) [r * co...
glb/cad_d0f286d41a4b.glb
Create a simple peg hanger by starting with a square base plate measuring 21mm by 21mm with a thickness of 1mm. Centered on this base, add a vertical cylinder with a diameter of 5mm and a height of 7mm. Ensure the cylinder is positioned at the coordinates 10.5mm for both the X and Y axes relative to the base corner.
cube([21, 21, 1]); translate([21/2, 21/3]) cylinder(d=5, h=7);
glb/cad_6b40b192dba5.glb
Create a Domestav bed adapter by starting with a solid cube measuring 62.54mm on each side and 22.5mm in height. Hollow out the center by removing a cube of 60mm by 60mm by 10mm, positioned 1.27mm from each side wall. To create the interior ledge, remove a smaller central cube measuring 40mm by 40mm and extending from ...
wall = 1.27; leg = 60; plug = 2.5; skirt = 10; ledge = 10; difference() { union() { cube([leg + 2 * wall, leg + 2 * wall, 2 * skirt + plug]); for(i = [0 : 2]) translate([ 0, (leg + 2 * wall) / 3 / 2 + i * (leg + 2 * wall) / 3, 2 * skirt + ...
glb/cad_61febd21041c.glb
Create a microphone holder cover consisting of a perforated mesh disc, outer retaining clips, and inner microphone tabs. Start with a main disc that has an outer diameter of 30.4mm and a thickness of 2mm. The bottom edge of this disc should feature a chamfer with a height of 1mm and a radial width of 1mm. Create a pa...
hole_size = 25; extra_coverage_size = 2.7; top_thickness = 2; microphone_diameter = 14.2; chamfer_height = 1.; chamfer_width = 1; hole_diameter = 2.0; hole_spacing_radial = 3.3; hole_spacing_angular = 2.8; hole_exclusion_zone = 2; clip_angles = [0, 90, 180, 270]; clip_width_deg = 15; clip_thickness = 1.0; clip_depth...
glb/cad_1579e51813ce.glb
Create a pump head leakage fix plug by stacking three concentric cylinders along a single vertical axis. Start with a wide base cylinder that is 1.2mm high with a radius of 8.15mm. Directly on top of this base, center a second cylinder that is 3.1mm high with a radius of 4.25mm. Finally, add a third cylinder on top of ...
$fn=60; cylinder(1.2,16.3/2,16.3/2); translate([0,0,1.2]) cylinder(3.1,4.25,4.25); translate([0,0,1.2+3.1]) cylinder(0.9,4.3,4.3);
glb/cad_e26031bab21b.glb
Create a set of three label plates for an X56 H.O.T.A.S. switch and rotary panel, each with a thickness of 1.6mm and rounded corners with a 1mm radius. First, create an upper plate measuring 45.5mm by 93.55mm. Subtract four 13mm diameter holes for switches, positioned symmetrically in two columns. Add four 3.7mm diame...
part = "all"; ground_plate_thickness=1.6; corner_radius = 1; switch_hole_diameter = 13; engraved_text = false; text_thickness = 0.5; text_separator="yes"; upper_switch_text_1 = "Galaxy"; upper_switch_text_2 = "Sector"; upper_switch_text_3 = "RNG +"; upper_switch_text_4 = "RNG -"; upper_switch_text_5 = "Chaff"; upp...
glb/cad_0f6f7bcafa1b.glb
Create a customizable canister cap wrench with a total height of 20mm. The tool consists of a circular head and an integrated handle. For the head, create a central opening designed to fit a cap with an outer diameter of 57.3mm. This opening must feature 8 ribs that extend outward to a diameter of 64.8mm, with each ri...
capD = 57.3; capRDim = 0; capRSz = 64.8; capRT = 2.6; capRibs = 8; capS = "rounded"; capTol=0.4; reinforcement = false; rfo = 2; rfs = 0.05; rfho = 0.6; hanL = 100; hanW = 25; hanTl= 30; hanHole = true; hanHD = 10; h=20; wT= 4; c= 1.2; cp = 0.6; rv = true; rd = 7.5; tlc = 0; t1="Line one"; t2="l...
glb/cad_d14821205659.glb
Create a customizable canister cap wrench with a total height of 20mm. The tool consists of a circular head and an integrated handle. For the head, create a cylindrical opening with a diameter of 57.7mm (57.3mm cap diameter plus 0.4mm tolerance). Inside this opening, add 8 radial ribs that extend outward. Each rib sho...
capD = 57.3; capRDim = 0; capRSz = 64.8; capRT = 2.6; capRibs = 8; capS = "rounded"; capTol=0.4; reinforcement = false; rfo = 2; rfs = 0.05; rfho = 0.6; hanL = 100; hanW = 25; hanTl= 30; hanHole = true; hanHD = 10; h=20; wT= 4; c= 1.2; cp = 0.6; rv = true; rd = 7.5; tlc = 0; t1="Line one"; t2="l...
glb/cad_58de4f36c1e5.glb
Create a snap-fit spice rack holder consisting of a back mounting plate and a curved gripping clamp. Start with a rectangular back plate 4.4mm thick and 20mm high. Attached to this plate, create a C-shaped clamp with a wall thickness of 4.4mm and an inner radius of 19.5mm (calculated from a 42.5mm jar diameter minus a ...
number_of_holders = 1; jar_diameter = 42.5; tolerance = -3; holder_height = 20; wall_thickness = 4.4; opening_reduction = 9; screw_hole_diameter = 3.5; screw_head_diameter = 3.7; gap_between_clamps = 6; end_overhang = 6; add_bottom_support = true; support_arm_length = 24; support_arm_width = 28; support_foot_dept...
glb/cad_e27524a6225f.glb
Create a Quicko T12 battery pack adapter consisting of a main holder body with a hollow interior to house a soldering station. Construct the outer shell by creating a hull of four cylinders, each with a 7mm diameter and 8mm height, positioned at coordinates (±28, ±28, 0). Integrate four larger horizontal cylinders wi...
$fn = 60; difference() { union() { translate([0,0,0]) holder(); } union() { } } module holder() { difference() { union() { hull() { translate([28,28,0]) cylinder(d=7,h=8,center=true); translate([28,-28,0]) cylinder(d=7,h=8,center=true); translate([-28,...
glb/cad_2dce3fa8ccde.glb
Create an MTG Art Series Card Frame by starting with a solid rectangular block with rounded corners. The main body should have a width of 68mm, a depth of 98mm, and a height of 5mm, with a corner radius of 4mm. Carve a card slit into the top face of the block. This slit should be a rounded rectangular opening measuri...
$fn=100; card_w=63; card_h=88; sleeve_t=2; total_t=3; frame_border=5; r=4; frame_h=5; frame_w = card_w+frame_border+sleeve_t+total_t; frame_d = card_h+frame_border+sleeve_t+total_t; rotate([0,90,0]){ difference() { rounded_rect(frame_w, frame_d, frame_h, r); slit_w = card_w+sleeve_t; sl...
glb/cad_66acf9cf796d.glb
Create a battery cover for a retro radio consisting of a main rectangular plate and a raised latch mechanism. Start by creating a base plate 116.25mm long, 31.25mm wide, and 3mm thick, with all four corners rounded by a 2mm radius. Centered on the top surface of this plate, add a slightly raised rectangular ridge that ...
$fn=32; module rounded(r) offset(r=r) offset(delta=-r) children(); linear_extrude(3) rounded(2) translate([0,-31.25/2]) square([116.25, 31.25]); translate([0,0,3+1.6/2]) hull() { cube([7, 13, 1.6], true); cube([5, 15, 1.6], true); } translate([116.25,0,0]) { linear_extrude(3) difference() { rounded(5) square([5....
glb/cad_e032423e7ba5.glb
Create a stand for a hygrometer/thermometer module. Start with a solid rectangular block measuring 52mm wide, 29mm deep, and 34mm high. Hollow out the center of this block by removing a smaller rectangular volume of 48.8mm by 25.8mm by 30.8mm, leaving a wall thickness of 1.6mm on the sides, top, and bottom. Cut a lar...
holder30(); module holder45() rotate([($preview?0:-135),0,0]) difference() { union() { difference() { translate([-52/2,0,0]) cube([52,33,33]); rotate([-45,0,0]) translate([-30,-23,30]) cube([60,40,20]); difference() { translate([-(52-3.2)/2,1.6,1.6]) cube([52-3.2,33-3.2,33-3.2]); rotate([-45,0,0]) ...
glb/cad_901be9ca8490.glb
Create a universal display base for holding flat cards. Start by constructing a symmetrical base that is 70mm wide (60mm central width plus two 5mm side extensions) and 10mm deep. The base consists of two mirrored outer wings, each 2mm thick, that extend from the center to a total depth of 30mm. In the center of this ...
holderWidth = 60; holderDepth = 10; holderThicc = 10; holderBaseDepth = 30; holderBaseHeight = 2; holderHeight = 5; holderOffset = 2; cardThicc = 0.5; cardAngle = 10; cardHeightOffset = 0; module basePolygon() linear_extrude( holderBaseHeight ) polygon( [ [ 0, 0 ], [ ( holderWidth / 4 ), 0 ], [ ( holderWidth / 2 ),...
glb/cad_375e3aa6d94d.glb
Create a Large Bench Clamp with Pivoting Head by starting with a rectangular block measuring 15mm wide, 60mm deep, and 60mm high. Centered on the front face of this block, add a protruding cylinder with a diameter of 35mm and a height of 15mm. Finally, carve a spherical void with a diameter of 30mm out of the center of...
$fn=100; translate ([10,-30,-30]) cube ([15,60,60]); translate ([20,-0,0]) rotate ([0,90,0]) difference () { cylinder (d=35,h=15); translate ([0,0,20]) sphere (d=30); }
glb/cad_12f0b1250837.glb
Create a Large Bench Clamp with Pivoting Head. Start with a rectangular base block measuring 185mm in length, 30mm in width, and 30mm in height. At one end of the block, integrate a vertical, semi-circular upright wall that is 30mm high and 30mm wide, blending into the base. On the opposite end of the base, center a sp...
$bolt_dia = 14; difference () { translate ([-100,-15,0]) cube ([185,30,30]); translate ([-50,-($bolt_dia/2),-1]) cube ([105,$bolt_dia,32]); translate ([55,0,-1]) cylinder (d=$bolt_dia,h=32); translate ([-50,0,-1]) cylinder (d=$bolt_dia,h=32); translate ([-100,-20,-10]) rotate ([0,-30,0]) cube ([20,...
glb/cad_96f84ecedd1d.glb
Create a Large Bench Clamp with Pivoting Head by first constructing a central body composed of a cylinder with a 30mm diameter and 30mm height, centered at [0, 15, 15], flanked by two rectangular blocks measuring 8mm by 12mm by 20mm, positioned symmetrically at [-15, -6, 15] and [7, -6, 15]. From this combined mass, re...
$fn=100; module body () { translate ([0,15,15]) rotate ([90,0,0]) cylinder (d=30,h=30); translate ([-15,-6,15]) cube ([8,12,20]); translate ([7,-6,15]) cube ([8,12,20]); } difference () { body (); translate ([-20,-20,0]) cube ([40,40,15]); cylinder (d=14,h=40); translate ([0,0,25]) rotate ...
glb/cad_2b6d974a48c4.glb
Create a square sign consisting of a base plate and five lines of raised text. The base plate should be 150mm wide and 110mm deep with a thickness of 2mm. All four corners of the plate must be rounded with a radius of 5mm. The top surface of the plate should feature a recessed border created by a smaller rounded rectan...
$fn=32; plate_width=150; plate_depth=110; corner_radius=5; line1="line 1 text"; line2="line 2 text"; line3="line 3 text"; line4="line 4 text"; line5="line 5 text"; line1_size=14; line2_size=14; line3_size=14; line4_size=14; line5_size=14; font = "Arial:style=Regular"; module plate() { minkowski() { cube([plate_wid...
glb/cad_e7d693bbff1d.glb