Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a Gridfinity bin and lid system with a 2x2 grid base. The bin is a rectangular container with a total external width and depth of 84mm (2 units of 42mm). The bin height is 14mm (2 units of 7mm). The walls are 1.6mm thick. The interior is a single open compartment (1x1 division) with a minimal interior style. Th...
include <gridfinity-rebuilt-openscad/gridfinity-rebuilt-utility.scad>; $fa = 8; $fs = 0.25; Part = "bin"; gridx = 2; gridy = 2; gridz = 2; echo(str("Run for: ", Part, " - ", gridx, " - ", gridy, " - ", gridz)); Interior_Style = "minimal"; Lip_Grips = "xy"; Lid_Orientation = "left"; div_pattern = "default"; div...
glb/cad_738eded39341.glb
Create a Pocket Operator Slip Case consisting of two mirrored halves designed to hold devices in silicone cases. Each half is a hollowed-out rectangular shell with a wall thickness of 2mm and rounded exterior corners with a 2mm radius. The main internal cavity for each device is 63mm wide and 8.5mm deep, with a total ...
$fn = 60; hole = [ 63, 8.5 ]; spacing = 13; slot_z = 5; po_gap = 2; height = 120; split_height = 84; thick = 2; tolerance = 0.2; smidge = 0.001; knob_slot = [ 28, 12 ]; low_knob_height = 48; high_knob_height = 58; battery_slot_y = 12; battery_height = 70; inner_depth = hole.y * 2 + po_gap * 2 + spacing; inner_width ...
glb/cad_9ede5b50fbc1.glb
Create a 50mm Air Outlet for a smoke purifier. The model consists of a main base and a detachable outlet adapter. Construct the main base as a rounded, chamfered rectangular block measuring 181mm x 181mm with a total height of 62mm. The base features a recessed central area measuring 150mm x 150mm and a height of 56mm...
include <lib_markus.scad> bottomHeight = 6; height = 2 * bottomHeight + 50; outletScrewXzs = [ [90/2+4, 16], [90/2+4, -16], [-90/2-4, 16], [-90/2-4, -16], [13, 47/2+4], [40, 47/2+4], [-13, 47/2+4], [-40, 47/2+4], [13, -47/2-4], [40, -47/2-4], [-13, -47/2-4], [-40, -47/2-4], ]; preview(); mod...
glb/cad_5c33784d04a2.glb
Create a fly screen string pusher tool with a thickness of 4mm. The main body is a flat, rounded plate with a width of 30mm and a length of 30mm. At the center of this plate, create a large, elongated oval cutout that is 40mm long and 20mm wide, leaving a wall thickness of 5mm on the sides. One end of the tool should t...
edger=6; mainr=40; wall=4; rounding=2; $fn=100; scale([0.75,0.75,1]) { translate([0,75,0]) difference () { hull() { rotate_extrude(angle=90) square([mainr,wall]); translate([mainr-edger,0,0]) cylinder(r=edger,h=wall,$fn=150); translate([-edger,mainr-edger,0]) cylinder...
glb/cad_c1fc98305091.glb
Create a Screen Shell for Mini Stargate. Start with a main cylindrical housing with an outer diameter of 63.8mm and a total height of 9.6mm. The center of the housing should be hollowed out to create a circular cavity with a diameter of 52.4mm, leaving a base thickness of 2.7mm to accommodate a screen height of 8.7mm. ...
st = 0.1; include_vents = true; $fa=2; $fs=0.6; screw_x_corr=0; screw_y_corr=0; module __Customizer_Limit__ () {} brick_b_u = 1.6; brick_s_d = 3*brick_b_u; brick_h = 6 * brick_b_u; brick_p_h = 2 * brick_b_u; brick_g_u = 5 * brick_b_u; function brick_base_unit(size=1) = brick_b_u*size; function brick_stud_diame...
glb/cad_dd0e462fdca2.glb
Create a frame for an Elegoo Mars 4K screen upgrade. Start by creating a base rectangular plate with a height of 1.55mm and overall dimensions of 188mm by 30mm, featuring 2mm rounded corners. From this base, remove a central rectangular section measuring 140.5mm by 93.5mm and an additional rectangular block measuring...
include </home/dc/src/varios/3d_designs/venv/lib/python3.12/site-packages/solid2/extensions/bosl2/BOSL2/version.scad>; include </home/dc/src/varios/3d_designs/venv/lib/python3.12/site-packages/solid2/extensions/bosl2/BOSL2/constants.scad>; include </home/dc/src/varios/3d_designs/venv/lib/python3.12/site-packages/solid2...
glb/cad_a44e5925557f.glb
Create a power bank clip for a BOBOVR M2 head strap. Start by constructing a main body using a hull of four cylinders, each 40mm high and centered on the Z-axis. Two cylinders should be positioned at the far ends (x = ±38.7mm) with a diameter of 22.4mm, and two smaller cylinders positioned at x = ±15mm and z = -13.2mm ...
pb_width=77.4; pb_height=18.4; thicknes=2; band_width=30; difference(){ hull(){ translate([(pb_width/2)-(pb_height/2),0,0]) rotate([0,0,0]) cylinder(h = 40, d = pb_height+(thicknes*2), center = true, $fn=60); translate([(-pb_width/2)+(pb_height/2),0,0]) rotate([0,0,0]) cylinder(h = 40, d = pb_height+(thicknes*2),...
glb/cad_3de215bfde4d.glb
Create a Presta valve cap consisting of a threaded base and a decorative tapered top. Start by creating a hollow cylindrical base with an internal screw thread of 15/64 inches diameter, a pitch of 1/32 inches, and a height of 8mm. The outer wall of this base should have a diameter of 7.95mm (the thread diameter plus 2m...
text="AB"; $fn=32; include <screw-thread-lib.scad> Imm=25.4; wall=1; threaddia=Imm*15/64; thread_h=8; rest_h=8; total_h=thread_h+rest_h; topdia=3.5; module valve() { translate([0,0,thread_h-.01]) cylinder(d1=5,d2=topdia,h=rest_h); thread(dia=threaddia,pitch=Imm/32,length=thread_h,unit="mm"); } m...
glb/cad_5d705753e5c9.glb
Create a 3D model of a magnetic letter "A" using the Arial Black font. The letter should have a total thickness of 4mm and a font size of 45mm. To create a decorative top edge, add a thin contour layer on the top surface with a height of 0.6mm and a width of 1.2mm. Within the main body of the letter, create cylindrica...
include <BOSL2/std.scad> character = "A"; preview = false; layer_height = 0.3; tolerance = 0.3; magnet_diameter = 4; magnet_height = 2; font = "Arial Black"; text_size = 45; letter_height = 4; top_contour = true; contour_height = 0.6; contour_width = 1.2; magnet1_enabled = false; magnet1_pos = [0, 0]; magne...
glb/cad_2380c8fc06c5.glb
Create a table support for a carbon filter exhaustion system. Start with a circular base 160mm in diameter and 8mm thick. On top of this base, center a conical column that rises 35mm, starting with a 50mm diameter at the bottom and tapering slightly toward the top. Cap the column with a circular platform 130mm in diame...
filter_diameter = 100; base_diameter = 160; column_height = 35; column_diameter = 50; platform_diameter = 130; base_height = 8; platform_height = 8; wall_thickness = 3; module suporte_mesa() { difference() { union() { cylinder(h=base_height, d=base_diameter); for(i=[0:45:315]) { ...
glb/cad_8b4db5b28ec2.glb
Create a parametric threaded pill box consisting of a main container, a screw-on cap, and a removable selector disc. The main container is a cylinder with an outer diameter of 55mm and a total height of 20mm. The walls are 1.2mm thick. The interior is hollowed out to a depth of 18.8mm, leaving a 1.2mm floor. The top ...
include <BOSL2/std.scad> use <threads-scad/threads.scad> compartments = [ 2, 2, 3, 3, 4, ]; draft = true; threads = true; part_selection = 0; box_height = 20; box_diameter = 25 * 2.2; nub_r = 1.2; wall_thickness = 1.2; thread_clearance = 0.4; thread_height = 5; grip = true; grip_size = 1.4; grip_sp...
glb/cad_6847494ab576.glb
Create a silicone sealant nozzle consisting of a base and a tapered body. Start with a cylindrical base 10mm high with an outer diameter of 22mm. Inside this base, create a concentric internal metric thread with a diameter of 16.5mm and a pitch of 2.5mm, extending through the full 10mm height. On top of this base, add...
use <threads.scad> $fn = $preview ? 15 : 90; print = "nozzle"; nozzleLength = 60; extensionLength = 50; extensionEnd = "thread"; extensionEndTipSize = 2; if (print == "nozzle") { _nozzle(); } if (print == "extension") { _extension(); } module _nozzle() { difference() { cylinder(h=10, d=22); ...
glb/cad_5ff30a298822.glb
Create a coffee grinder hopper consisting of a stacked series of concentric cylindrical and conical shells with a wall thickness of 2.4mm. Start at the base with a throat cylinder 12mm high with an outer diameter of 35.65mm. Directly above this, add a chute cylinder 5mm high with an outer diameter of 37.65mm. Continu...
$fn = 100; wall_thickness = 2.4; throat_od = 35.65; throat_height = 12; throat_z = 0; inner_diameter_diff = 2; chute_od = throat_od+inner_diameter_diff; chute_height = 5; chute_z = throat_z + throat_height/2 + chute_height/2 ; cone_height = 50; cone_diameter_small = chute_od; cone_diameter_big = 120; cone_z = throa...
glb/cad_aaf0e052fb9e.glb
Create a cutlery container divider with a total thickness of 30mm. Start with a 2D base profile that is a trapezoid with a top width of 100mm and a height of 50mm. The bottom width of this trapezoid is narrower, reduced by approximately 14.8mm on each side (calculated as 50 * tan(17°)). Refine the bottom corners of t...
$fn = 100; container_width = 100; container_height = 50; corner_radius = 20; side_angle = 17; cutout_radius = 20; bottom_difference = tan(side_angle)*container_height; corner_offset = tan(side_angle)*(container_height-corner_radius); module baseSideView() { polygon(points = [ [0,container_height], ...
glb/cad_38df1adceaa9.glb
Create a microprobe mount for an SV06+ printer. The main body is a vertical, slightly tapered bracket with a total height of approximately 37.5mm. Construct the base using two mirrored "foot" sections. Each foot is formed by a hull of a rotated rectangular prism (5.9mm x 0.5mm x 8mm, rotated -19 degrees on the Z-axis...
$fn = $preview ? 60 : 180; screwSize = 2.3; module foot() { difference() { hull() { translate( [ -0.2, 1.65, 0 ] ) rotate( [ 0, 0, -19 ] ) cube( [ 5.9, 0.5, 8 ] ); translate( [ 2.45, 12.5, 0 ] ) cube( [ 8, 0.5, 8 ] ); } translate( [ 1, 10.3, -0.1 ] ) rotate( [ -23, 0, 0 ] ) cube( 10 )...
glb/cad_19d347dc84e0.glb
Create a customizable ring by revolving a circle around a central axis to form a torus. The circle used for the cross-section must have a diameter of 6.1mm. Position this circle so that the resulting ring has an overall outer diameter of 39mm. Ensure the final geometry is smooth with high facet resolution to maintain a...
outer_ring_diameter = 39; thickness_diameter = 6.1; rotate_extrude(convexity = 10, $fn = 250) translate([(outer_ring_diameter-thickness_diameter)/2, 0, 0]) circle(d = thickness_diameter, $fn = 250);
glb/cad_a2f42c51c423.glb
Create a Color Marker Ring for a toothbrush by constructing a tapered hollow cylinder. Start with a solid conical frustum that has a height of 2.1mm, a bottom diameter of 18.5mm, and a top diameter of 16.5mm. From the center of this shape, remove a cylindrical core with a diameter of 14.5mm and a height of 2.5mm to cre...
$fn=200; difference(){ cylinder(d1=18.5, d2=16.5, h=2.1); cylinder(d=14.5, h=2.5); }
glb/cad_ed35d2e4db38.glb
Create a Color Marker Ring for a toothbrush handle. Start by creating a tapered hollow cylinder with a height of 2.1mm; the bottom base should have a diameter of 18.5mm and the top surface a diameter of 16.5mm. Remove a central cylindrical hole with a diameter of 14.5mm through the entire height of the object. Inside...
$fn=200; difference(){ cylinder(d1=18.5, d2=16.5, h=2.1); cylinder(d=14.5, h=2.5); } color("red"){ ar=14.5; at=1; translate([0,0,0.88]){ arc(at, 0.67, ar/2+0.5 , 45); rotate([0,0,90]) arc(at, 0.67, ar/2+0.5 , 45); rotate([0,0,180]) arc(at, 0.67, ar/2+0.5 , 45); rotate([0,0,270]) arc(at, 0.67, ar/2+0.5 , 45);...
glb/cad_e1734bc08890.glb
Create a Physical Virtual Business Card. Start by creating a base plate as a rounded rectangle with a width of 54mm, a height of 85.6mm, a thickness of 1mm, and corner radii of 3mm. On the top surface of this plate, create three recessed areas with a depth of 0.4mm. The first and largest recess is a square measuring 5...
include <qr.scad> color_background = "white"; color_details = "red"; card_width = 54; card_height = 85.6; card_radius = 3; card_thickness = 1; border_width = 0.9; qr_size = 50; qr_depth = 0.4; text_name = "Test Person"; text_phone = "+316 5555 5555"; text_mail = "@gmail.com"; text_size = 5; text_margin = 4; text_de...
glb/cad_ff1398e14e71.glb
Create an Asset ID Tag by starting with a base plate that is 15mm wide, 63mm long, and 1.5mm thick. The base should have fully rounded ends, formed by a hull of two 15mm diameter cylinders positioned at each end of the length. Cut a circular hole through the base at one end to allow for a zip-tie; this hole should be...
height=1.5; length=63; width=15; textline="PCBurn.com"; textline2="Asset Tag"; textheight=.6; textsize=5; text1height=4; text1leftjustify=13; text2height=11; text2leftjustify=13; myfont="Liberation Sans Mono:style=bold"; difference () { $fn=50; translate([0,width/2,0]) { hull() { translate...
glb/cad_9bc29701c55f.glb
Create a Silly Little Turkey model. Start by constructing the tail feathers as a series of overlapping, almond-shaped petals. Each petal is formed by the intersection of two cylinders with radii of 25mm, offset from each other by 40mm along the x-axis. Arrange these petals in a fan shape, rotating them around the cente...
$fn=30; module feather(a, c, h) { color(c){ scale([1-((5*abs(a))/1000),1-((5*abs(a))/1000),1]){ rotate(a){ translate ([0,25,0]) { intersection () { translate ([20,0,0]) { cylinder(h,r=25);}; translate ([-20,0,0]) { cylinder(h,r=25); }; }; }; }; }; }; } feather(0...
glb/cad_7866b1b03cfc.glb
Create a film can holder for a pegboard by constructing a circular ring with an integrated mounting bracket. The main body is a cylinder with an outer diameter of 35mm and a height of 5mm. Centered within this cylinder, create a coaxial hole with a diameter of 32mm that passes completely through the part. Attached to ...
include <Skadis_Hook.scad>; $fn = 30; d_can = 32; d_ring = 35; d_holes = 30; h_hook = 29; module flange(yoff) { difference() { translate([d_ring/2-10,yoff,0]) cube([10,2,20]); rotate([0,30,0]) translate([-7.5,yoff,0]) cube([10,2,50]); } } module myhook() { translate([12.5,-2.5,0]) differe...
glb/cad_41566c96de1f.glb
Create a parametric spice rack consisting of multiple sliding drawers and a supporting structure. For the drawers, create four trays with widths of 105mm, 40mm, 80mm, and 20mm, and corresponding heights of 80mm, 50mm, 80mm, and 50mm. Each tray should have a length of 260mm and a wall thickness of 1.6mm. Hollow out th...
To = 0.25; Ts = 0.4; Tg = 0.1; Tw = [105, 40, 80, 20]; Tl = 260; Th = [80, 50, 80, 50]; Wt = 1.6; Hw = 35; Hh = 15; Hd = 15; Ht = 15; Hx = 2.5; Sx = 2; Sy = 2; So = 1; Sb = 0; St = 2; Sd = 15; Ss = Sd/3; Sh = 155; tray = 0; holder_front = 1; holder_back = 1; strutL = 1; strutT = 1; Rt = 5; Rs = 4; if (tray == -1) ...
glb/cad_685cca0cd700.glb
Create a phone support consisting of two symmetrical interlocking parts that hinge together. First, create the hinge pin component. This part is based on a central rectangular block 15mm wide, 70mm long, and 20mm high. Along the 70mm length, add three cylindrical segments with a radius of 7.5mm and a height of 20mm. ...
$fn=180; r_out=7.5; r_pin=r_out-1.5; h=20; w_half_pin=r_out; l_half=70; gap=0.75; w_half=w_half_pin-gap; theta=70; 2d=1*10^-20; ang=$t*-190; module cuboscorte(m=0){ if(m==0){ translate([0,-l_half/2+w_half_pin+15,-h/2+10]) translate([0,-1*(-(l_half+r_out)/2*cos(theta)+(l_half+r_out)/2*sin(theta)),-1*(...
glb/cad_7b7a3b4dcf06.glb
Create a garden stake holder shaped as a rounded wedge with a small pull tab. Start with a wedge that is 60mm long, 35mm wide, and tapers in height from 10mm at the beginning to 2mm at the end. Apply a 1mm radius fillet to all edges and corners of this wedge. At the thick end of the wedge, add a small rectangular tab m...
$fn=40; radius = 1; offset = radius*2; length = 60; width = 35; begin_height = 10; end_height = 2; minkowski() { { linear_extrude(height = width - offset, center = false) polygon(points=[[0,0],[length - offset,0],[length - offset,begin_height - offset],[0,end_height - offset],[0,0]]); } sphere(r=radius); } t...
glb/cad_078e61c396dd.glb
Create a garden stake holder consisting of two main geometric components. First, construct a hollow square channel with an outer dimension of 23mm by 23mm and a height of 30mm. This channel should have a wall thickness of 4mm on all sides, leaving an internal square void of 15mm by 15mm. Second, create a U-shaped brack...
channel_inside = 15; channel_height = 30; wall = 4; u_inside = 17; u_length = 60; tweak =20; module channel(width) { difference() { translate([0,0,0])rotate([0,0,0])cube([width+2*wall,width+2*wall,channel_height]); translate([wall,wall,0])rotate([0,0,0])cube([width,width,channel_height+2]); } }...
glb/cad_7d29bc2e8b0b.glb
Create a Nitehawk 36 Toolhead PCB Mount for a Wristwatch G2 Extruder. The main body is a flat plate 4mm thick. The outer perimeter is defined by a rounded shape that encompasses two primary mounting points. At these points, centered at X coordinates -21.9mm and 21.9mm, create two vertical holes with a diameter of 4.7mm...
$fa=2; $fs=.2; use <hex.scad> use <fillet.scad> module holes() { linear_extrude(10) { for(a=[-1,1]) translate([a*21.9,0]) circle(d=4.7); } rotate(43) for(a=[-1,1]) translate([a*21.9,0,2.2]) mirror([0,0,1]) hex3(z=0,hz=2.2,dz=-10,h=10,crosscut=.2); translat...
glb/cad_518b85935099.glb
Create a Nitehawk 36 Toolhead PCB Mount for a Wristwatch G2 Extruder consisting of four cylindrical spacers. Produce one primary tall spacer by creating a cylinder 29mm in height with an outer diameter of 5.8mm and a concentric inner hole 3.3mm in diameter. Additionally, create three shorter spacers using the same dime...
$fa=2; $fs=.2; linear_extrude(29) difference() { circle(d=5.8); circle(d=3.3); } for(a=[0:1],b=[0,1]) translate([10+a*10,-5+b*10,0]) linear_extrude(2.5) difference() { circle(d=5.8); circle(d=3.3); }
glb/cad_63d3937e45bd.glb
Create a coin storage box by starting with a central rectangular block measuring 30mm wide, 130mm long, and 25mm high. From the top face of this block, remove five vertical cylindrical holes of varying diameters to hold different coins. Position the first hole at the end (y = -50mm) with a diameter of 26.8mm, the secon...
difference(){ difference(){ difference(){ difference(){ difference(){ difference(){ difference(){ difference(){ difference(){ difference(){ translate([0,0,4]) cube([30,130,25], center=true); translate([0,-50,-5]) cylinder(h=24, d1=26.8,d2=26.8); } translate([0,-23,-5]) cylinder(h=24, d1=24.5,d2=24.5); } translate([...
glb/cad_91e2e7d1f87d.glb
Create a coin storage box lid by starting with a rectangular base measuring 130mm in length, 38mm in width, and 8mm in height. Hollow out the center of this base by removing a smaller rectangular volume of 130mm by 31mm by 7mm, leaving a thin outer wall. Cut two narrow slots measuring 130mm by 3mm by 3mm into the top s...
difference(){ difference(){ difference(){ difference(){ cube([130, 38, 8], center=true); translate ([0,0,-1]) cube([130, 31, 7], center=true); } translate ([0,16,-1]) cube([130, 3, 3], center=true); } translate ([0,-16,-1]) cube([130, 3, 3], center=true); } translate ([12,0,-1]) cylinder(h=40, r=13); } difference...
glb/cad_88b707126031.glb
Create a pipe mounting flange consisting of a central vertical cylinder and a wide circular base. Start by creating a central hollow tube with an outer diameter of 32.5mm and an inner diameter of 22.5mm, extending to a height of 60mm. Attach this tube to a flat, circular base plate with a diameter of 70mm and a thickne...
$fn=100; pipe_dia=22.5; pipe_grab=60; pipe_grab_width=5; flange_base_dia=70; flange_base_height=5; module triangle(o_len, a_len, depth, center=false) { centroid = center ? [-a_len/3, -o_len/3, -depth/2] : [0, 0, 0]; translate(centroid) linear_extrude(height=depth) { polygon(points=[[0,0],[a_len,0],...
glb/cad_50f2e75db2b1.glb
Create an aluminium extrusion end cap designed for a 40mm by 40mm profile. Start with a main square plate measuring 34mm by 34mm with a thickness of 10mm, featuring rounded corners with a 3mm radius. In the center of this plate, create a vertical hole for a 3x20mm screw; this hole should have a 3.2mm diameter shaft tha...
$fn = $preview ? 16 : 64; edge = 3; size = 40; keyDepth = 8; keyHeight = 4; pinDepth = 10; pinDiameter = 10; module key(){ linear_extrude(keyDepth) translate([0, size/2-keyHeight/2]) square([10,keyHeight], center=true); } module hole(holeDiameter, headDiameter, topDiameter, extraSink) { cyl...
glb/cad_00add2935fe2.glb
Create an amplifier enclosure for a TDA7498 board. The design consists of a main chassis and a removable lid. Construct the main chassis as a rectangular box with external dimensions of 67.4mm in width, 86.6mm in depth, and 20.6mm in height. The walls should be 1.42mm thick. Create a large central cavity to house the ...
board_x = 64.0; board_y = 83.2; board_y_extra = 3.0; board_y_extra_buffer = 0.1; board_z = 17.2; x_buffer = 0.2; y_buffer = 0.2; feet_x = 7.5; feet_y = 10.0; feet_z = 3.0; top_feet_x = 8.0; top_feet_y = 8.5; top_feet_front_left_x = 7.3; audio_jack_feet_z = 0.5; audio_jack_feet_start_x = 5.8; audio_jack_diameter = 5.5; ...
glb/cad_fb6bd69fbc54.glb
Create a customizable soap bowl consisting of a shallow tray and a mounting clip. First, construct the main tray as a rounded rectangular box with a length of 130mm, a width of 90mm, and a height of 20mm. The walls should be 2mm thick. Hollow out the center to create the basin, and add four small drainage holes at th...
$fn = $preview ? 32 : 64; Laenge = 130; Breite =90; Hoehe = 20; Wand = 2; SchnappInnen = 9.1; SchnappAussen = 10; module stanz_muster(l, w) { abstand_x = 12; abstand_y = 12; lochdurch = 12; loechecken = 6; for (reihe = [-l/2 : abstand_x : l/2]) { for (spalte = [-w/2 : abstand_y : w/2]) { ...
glb/cad_c73e7eb30199.glb
Create a small rectangular electronics enclosure with rounded corners. The outer dimensions are 73.2mm in length, 48.2mm in width, and 48.2mm in height, with a uniform wall thickness of 1.6mm. The main body is a hollow box. The top is open, and the interior cavity measures 70mm by 45mm by 45mm. On the top face, center...
timer_hole_length=76.7; timer_hole_width=40; switch_hole_length=22; switch_hole_width=32; cable_hole_diameter=8; inner_length=70; inner_width=45; inner_height=45; wt=1.6; $fn=100; ws=max(5, inner_length/10); module BoxAbgerundet(v, r=2) { hull() { translate([ r, r, r]) sphere(r=r); translate(...
glb/cad_5fdf710b0f0f.glb
Create a parametric washer by constructing a thin, flat cylinder with an outer diameter of 20mm and a height of 1mm. Center a concentric circular hole through the entire thickness of the object with an inner diameter of 8mm, resulting in a flat ring shape. Ensure the circular edges are smooth with a high facet resoluti...
OuterDiameter = 20; InnerDiameter = 8; Thickness = 1; module __Customizer_Limit__ () {} $fn = 60; difference() { cylinder(h = Thickness, d = OuterDiameter); cylinder(h = Thickness, d = InnerDiameter); }
glb/cad_4c2bd4539902.glb
Create a grid of 25 identical cover glass spacers arranged in 5 rows and 5 columns. Each individual spacer is a hollow rectangular frame with an outer dimension of 27mm by 27mm and a total height of 5mm. The walls of each frame are 3.5mm thick. To form the hollow center of each spacer, remove a central rectangular bl...
_offset = 0.7; cover_glass_depth = 20; cover_glass_width = 20; num_spacer_rows = 5; num_spacer_cols = 5; spacer_hight = 5; spacer_wall = 3.5; spacer_cover_glass_overlap = 2; spacer_margin_hight = 1.5; for (i=[0:1:num_spacer_rows - 1], j=[0:1:num_spacer_cols - 1]) { d = cover_glass_depth - 2 * spacer_cover_glass_ove...
glb/cad_d9b876e4c0af.glb
Create a GT2 pulley with 20 teeth and a width of 6mm. Start with a cylinder that has a radius of approximately 6.11mm. To create the teeth, remove 20 identical notches equally spaced around the circumference. Each notch is defined by a symmetrical polygon that cuts into the cylinder. The notch starts from the outer edg...
module gt2Pulley(teeth, width) { radius = (teeth/PI) - 0.25; deg = 360/teeth; angle = acos(0.7/radius); r = cos(90-angle) * radius; echo(r, radius, deg); linear_extrude(width) difference() { circle(radius); for (i=[0:teeth]) { rotate(i*deg) polygon([ ...
glb/cad_53c0ad4db37f.glb
Create a minimalistic picture holder consisting of a flat, L-shaped base with rounded corners. Start with two intersecting rectangular blocks, each 50mm wide and 4mm thick, arranged at a 90-degree angle to form a square footprint of 50mm by 50mm. Apply a 5mm radius fillet to all exterior corners of the base to soften t...
ram = 50; tloustka = 4; naklon = 10; drazka = 3; korekce = 0; $fn=50; difference() { minkowski() { cube( [ram, ram, tloustka] ); cylinder(r=5,h=1); } translate([-5,5,-1]) minkowski() { cube( [ram, ram, tloustka+2] ); cylinder(r=2,h=1); } translate([-7,-8+drazka,-1]) rotate([0,0,45]) ...
glb/cad_b55c0847e8ac.glb
Create a Spiral Fidget consisting of a main outer body with a hollowed-out twisted interior. Start by constructing the outer shell: a central column composed of three stacked sections. The bottom section is a cylinder 20mm high with a base radius of 25mm tapering to 21mm; the middle section is a 40mm high cylinder with...
twist_angle = 360; twist_number = 8; model_color1 = "#FF0000"; model_color2 = "#0000FF"; module circular_array(radius, num, diameter) { for (i = [0:num-1]) { rotate([0, 0, i * 360 / num]) translate([radius, 0, 0]) circle(d=diameter); } } module extruded_text(text_content, font_name, ...
glb/cad_7a7e72638e98.glb
Create a Spiral Fidget by constructing a central vertical body and subtracting a twisted internal pattern. Start with a solid outer form consisting of three stacked sections: a bottom cylinder 20mm high with a base radius of 25mm tapering to 21mm, a middle cylinder 40mm high with a constant radius of 21mm, and a top cy...
font = "Slackside One"; text_string = "M"; font_size = 25; twist_angle = 360; twist_number = 8; model_color1 = "#FF0000"; model_color2 = "#0000FF"; module circular_array(radius, num, diameter) { for (i = [0:num-1]) { rotate([0, 0, i * 360 / num]) translate([radius, 0, 0]) circle(d=diam...
glb/cad_9c7dc29591df.glb
Create a sunshade clip starting with a rectangular base measuring 36mm in length, 20mm in width, and 1mm in height. At the center of the base's length, add a vertical tab that is 1.2mm thick, 20mm wide, and 9mm high. On top of this vertical tab, attach a horizontal arm that extends 5mm forward from the tab's face, main...
width=20; length=36; cube([length, width, 1]); translate([length/2,0,0]) { tab_thickness = 1.2; tab_height = 9; cube([tab_thickness, width, tab_height]); translate([0,0,tab_height]){ x = 5; cube([x, width, tab_thickness]); x = 4; translate([x,0,-x+tab_thickness]){ ...
glb/cad_2fa7e07e7793.glb
Create a parametric pipe adapter consisting of two concentric hollow cylindrical sections of different diameters joined by a tapered transition. The first section is a larger outer cylinder with an outer diameter of 30mm and an inner diameter of 24mm. The second section is a smaller inner cylinder with an outer diame...
First_pipe_outer_diameter = 20; First_pipe_inner_diameter = 16; Second_pipe_outer_diameter = 30; Second_pipe_inner_diameter = 24; Minimum_wall_thickness = 2; Printer_x_y_tolerance = 0.00; Extra_inner_length = 5; Seperation = 0; Quality = 5; module draw (aro,ari,aol,ail,bro,bri,bol,bil,w,t,x,s,q,i,o) { fn = 5*(ma...
glb/cad_bdccf6d69d75.glb
Create a perpendicular filing jig for a PCB. Start by creating a solid rectangular block with a total width of 70mm, a total height of 90mm, and a thickness of 10mm. Center a rectangular cutout through the block to create a frame. This cutout should be 50mm wide and 70mm high, leaving a border of 10mm on all sides. W...
oversize_value = 0; wide = 10; clamping_area = false; pcb_x = 50; pcb_y = 70; border = 10; pcb_thickness = 1.6 +0.6; module filing_jig(width, height) { difference() { union() { if (clamping_area) { translate([width/2-border/2, height/2-border/2, 0]) ...
glb/cad_5c9b40cfa485.glb
Create a compact wing wrench tool for M6 nuts. Start with a central cylinder that is 18mm in diameter and 12mm high. Attach two rectangular wings to opposite sides of this cylinder; each wing should be 7.5mm long, 6mm wide, and 12mm high, with the wings partially embedded into the central body. At the top of the tool...
griff_hoehe = 12; mutter_schluesselweite = 10; mutter_hoehe = 6; loch_durchmesser = 6.2; fluegel_laenge = 7.5; fluegel_dicke = 6; fluegel_breite = 18; $fn = 100; module sechskant_innenaufnahme(sw, tiefe) { rotate([0,0,30]) linear_extrude(height = tiefe) polygon(points = [ for (i = [0:5])...
glb/cad_478548ecf93b.glb
Create a Diaqua WC Seat Nut Driver as a hollow cylindrical tool. Start with a main outer cylinder that is 120mm tall with an outer diameter of 16mm. Bore a continuous hole through the entire center of the cylinder with a diameter of 6.2mm to allow screws to pass through. At the top end of the cylinder, create a recess...
schaft_hoehe = 120; schaft_aussendurchmesser = 16; schaft_innendurchmesser = 6.2; mutter_schluesselweite = 10; mutter_hoehe = 6; ratsche_vierkant = 6.35; ratsche_loch_tiefe = 10; $fn = 100; module sechskant_innenaufnahme(sw, hoehe) { rotate([0,0,30]) linear_extrude(height = hoehe) polygon(points = [...
glb/cad_a960da71ccda.glb
Create a Hook Depot for a Playmobil crane by starting with a solid rectangular block measuring 40.35mm in length, 18.6mm in width, and 24.4mm in height. Carve out a large central rectangular cavity measuring 34.7mm by 6mm by 14.5mm, positioned 2.75mm from the front and back edges and 8.9mm from the side walls, starting...
difference() { cube([40.35,18.6,24.4]); translate([2.75,8.9,10]) cube([34.7,6,14.5]); cube([40.35,2.5,24.4-1.75]); translate([2,2.5,0]) cube([36.35,5.5,24.4-1.75]); cube([40.35,8,7.8]); translate([2,0,0]) cube([36.35,18.6,7.8]); translate([0,20.7,-8]) rotate([65,0,0]) cube([40.35,...
glb/cad_c7a253b9430b.glb
Create a slide-in hook depot drawer with outer dimensions of 40.6mm width, 32.4mm depth, and 16.9mm height. The main body is a hollow rectangular box with a wall thickness of 1.8mm. The interior cavity should be 37mm wide, 28.8mm deep, and 15.1mm high. At the bottom center of the front wall, create a rectangular cutou...
outer_w = 40.6; outer_d = 32.4; outer_h = 16.9; wall_thickness = 1.8; inner_w = outer_w - 2 * wall_thickness; inner_d = outer_d - 2 * wall_thickness; inner_h = outer_h - wall_thickness+1; nodge_hole_width = 10.5; nodge_hole_depth = 9; nodge_from_back = 4.5; nodge_height = 1.7; nodge_width = 4; nodge_depth = 1.2; nodg...
glb/cad_17bea009e34a.glb
Create a magnetic clip for a wire fence by starting with a main cylinder that has a diameter of 23mm and a total height of 6mm. From this main body, remove a central cylindrical cavity with a diameter of 20.2mm and a height of 3.2mm, positioned 1mm from the bottom base, to house a magnet. Next, carve out two rectangu...
$fn = 100; magnetDiameter = 20; magnetHeight = 3; braceWidth = 3; bottomBraceSlotHeight = 1; topBraceSlotHeight = 2; wireDiameter = 1.5; clipPerimeter = 3; margin = 0.2; braceSlotLength = magnetDiameter + clipPerimeter + 2; clipHeight = bottomBraceSlotHeight + magnetHeight + topBraceSlotHeight; module magnet() {...
glb/cad_c0e0e57893ae.glb
Create a PSU holder mounting bracket consisting of a flat base plate and two vertical side walls. The base plate is 122mm wide and 180mm deep with a thickness of 4mm. Attach two side walls, each 4mm thick, 180mm deep, and 20mm high, to the outer edges of the base plate. In each side wall, create two horizontal holes w...
inner_width = 122; platform_depth = 180; side_height = 20; wall_thickness = 4; hole_diameter = 5.5; hole_spacing = 155; hole_offset_edge = 12; hole_length = wall_thickness + 0.2; hole_heigh...
glb/cad_d0b0706d1ba1.glb
Create a 5 pin keyboard adapter starting with a base rectangular plate measuring 188mm in length, 18.4mm in width, and 5mm in height, featuring rounded corners with a radius of 1.67mm. Pierce the base with six vertical holes. On the left side, place two holes with a diameter of 2.4mm; the first is 7mm from the left e...
include <roundedcube.scad> base_lenght = 188; base_z = 5; pironi_distance = 124; pironi_x = 5; pironi_y = 2; pironi_z = 8 + base_z; pironi_offset = (base_lenght - pironi_distance - pironi_x)/2; center_y = 41.4; center_offset = (base_lenght - center_y)/2; center_z = 2 + base_z; center_plus = 12; center_y_offset = 1.5...
glb/cad_4348a588d16e.glb
Create a Power Switch Enclosure consisting of a bottom box and a top cover. The bottom box is a rounded rectangular prism with outer dimensions of 53.2mm x 28.4mm x 20.2mm and a corner radius of 4mm. The walls are 0.8mm thick. Hollow out the center, leaving a 0.8mm floor. On the bottom face, create a rectangular cuto...
part = "both"; nozzle_size = 0.4; number_of_walls = 2; tolerance = 0.2; x=50+2*number_of_walls*nozzle_size+2*3*nozzle_size; y=25+2*number_of_walls*nozzle_size+2*3*nozzle_size; z=17+2*number_of_walls*nozzle_size+2*3*nozzle_size; radius=4; wall_thickness=nozzle_size*number_of_walls; hook_thickness = 3*nozzle_size...
glb/cad_98952e1b201d.glb
Create a small base for a table fan. Start with a main body formed by the union of two rounded rectangular volumes: a bottom plate measuring 70mm wide by 90mm deep with a height of 2mm and 10mm corner radii, and a smaller centered top block measuring 20mm wide by 30mm deep with a height of 5mm and 5mm corner radii. Add...
$fn = 200; d=17; difference() { union() { hull() { translate([0,-10,0]) cube_rounded([70,90,2], r=10, center=true); translate([0,0,10]) cube_rounded([20,30,5], r=5, center=true); } translate([-20/2-1.5,0,10]) rotate([0,90,0]) cylinder(h = 21.5, r = 14); } t...
glb/cad_6f3bca96965b.glb
Create an EVVA 4KS key cap by constructing a hollowed-out shell designed to fit over a key bow. Start with a base shape that is 26mm wide and 2.5mm thick. The outer perimeter should have rounded corners with a 7.25mm radius. The top edge features a curved profile where the sides bow outward with a 3mm radius, extending...
key_thickness = 2.5; bow_width = 26; bow_corner_radius = 6.0; bow_corner_advance = 12.75; bow_curve_advance = 10.0; bow_curve_radius = 3.0; bow_curve_outer_offset = 3.25; stop_width = 13.0; stop_advance = 5.517; stop_tip_radius = 0.5; ring_hole_radius = 3.25; ring_hole_offset = 3.0; keycap_thickness = 1.25; code_windo...
glb/cad_3dd33e2f9a07.glb
Create a Customizable Stand for COVID Rapid-Test. Start by creating a solid circular base with a diameter of 30mm and a height of 1mm. Centered on this base, construct a hollow tapered tube with a total height of 20mm. The outer wall of this tube should be an elliptical cylinder, scaled by a factor of 1.2 along the Y-a...
parameter_set="user defined"; height=20; wall_thickness=1.0; top_diameter=10.0; bottom_diameter=9.5; ellyptic_factor=1.2; $fn=40; module covidstand( h, d1, d2, cs_ellyptic, dw, h_foot, d_foot ){ cylinder(h=h_foot, d=d_foot); difference(){ scale([1,1/cs_ellyptic,1]) cylinder(h=h, d1=d1+2*dw, d2=d2+2*dw...
glb/cad_a21a6cefb5ba.glb
Create a spiky roller consisting of a hollow cylinder with an inner diameter of 40mm, an outer wall thickness of 5mm, and a total height of 120mm. Cover the outer surface of the cylinder with a grid of pyramid-shaped spikes. Arrange these spikes in 10 vertical rows, with 6 spikes distributed evenly around the circumf...
$fn = 200; e = .001; tube_id = 40; tube_thickness = 5; tube_height = 120; spike_base = 15; num_spikes_vertically = 10; num_spikes_radially = 6; spike_aspect_ratio = 0.7; module tube() { linear_extrude(height = tube_height) { difference() { circle(d = tube_id + tube_thickness); circle(d = tube_id);...
glb/cad_a4605e4a10ae.glb
Create a Tardigrade Phone Holder by constructing a vertical rectangular slab and carving a cylindrical void into its base. Start with a primary vertical body that is 5mm wide, 85mm deep, and 147.5mm tall, centered on the origin. Attach a wider rectangular base plate to the bottom of this slab, measuring 30mm wide, 85mm...
$fn = 150; use <write.scad> difference(){ union(){ translate([0,0,-7.5/2]) cube(size = [5,85,140+7.5], center = true); translate([-25/2,0,-140/2+10/2-5]) cube(size = [30,85,15], center = true); } translate([-13.9,0,-140/2+10]) rotate([90,0,0]) #cylinder(h = 150, d1 = 23, d2 = 23, center = true); translate([-1.5,0,...
glb/cad_2f410d9d20f7.glb
Create a Customizable Polygon Box by constructing two concentric hexagonal prisms. First, create a solid hexagonal prism with a height of 60mm and an outer radius of 60mm. From the center of this volume, remove a smaller hexagonal prism to create a hollow shell. This inner void should have a height of 60mm but start 1m...
number_of_corners=6; box_height=60; box_outer_radius=60.0; box_thickness=1; round_corners = false; $fn=25+1; box(height=box_height, outer_radius=box_outer_radius, thickness=box_thickness, number_of_corners=number_of_corners, round_corners=round_corners); module box(height, outer_radius, ...
glb/cad_c92b624709f0.glb
Create a standoff for a rotary encoder by constructing a U-shaped support with a flat top. Start by creating two vertical legs, each a rectangular prism measuring 0.10mm in width, 0.90mm in depth, and 0.85mm in height. Position these legs so they are parallel and separated by a gap of 1.3mm. Place a flat rectangular ta...
leg_width = 0.10; leg_depth = 0.90; leg_spacing = 1.3; table_height = 0.85; top_thickness = 0.10; pin_diameter = 0.10; pin_spacing = 0.54; pin_height = 0.12; module leg(x_offset) { translate([x_offset, 0, 0]) cube([leg_width, leg_depth, table_height]); } module tabletop() { translate([0, 0, table_heig...
glb/cad_05967f8a5a38.glb
Create a Lowrance sonar 5 pin ethernet connector consisting of a central cylindrical housing and a wider base. Start by creating a solid base cylinder with a radius of 9.25mm and a height of 3mm. Centered on this base, add a taller cylindrical sheath with an outer radius of 5.25mm and a total height of 9mm, though the ...
base_radius = 4.25; wire_count = 5; module connector_base(height, extra_radius){ cylinder(h = height, r = base_radius + extra_radius, $fn = 100); } module wire_holes(){ wire_diameter = 1.25; cylinder_height = 10; circle_radius = 2.5; for (i = [0:wire_count-1]) { angle = 360 / wire_count ...
glb/cad_e1bfa246d22b.glb
Create a Kurzweil K2500R LCD adapter starting with a main rectangular plate measuring 200mm wide, 66mm deep, and 3mm thick, centered on the origin. Remove a central rectangular slot measuring 120mm by 20mm from the plate's volume. On the right side of the plate, create a rectangular cutout measuring 20mm wide, 40mm dee...
difference() { translate([0, 0, 10]) cube([200,66,3], true); translate([-97, -27, 10]) cylinder(h=10, r=2.7, center=true, $fn=100); translate([97, 27, 10]) cylinder(h=10, r=2.7, center=true, $fn=100); translate([97, -27, 10]) cylinder(h=10, r=2.7, center=true, $fn=100); translat...
glb/cad_d4514e33209f.glb
Create a lens cap for a KODAK PIXPRO WPZ2 camera. The main body is a tapered hollow cylinder with a wall thickness of 1.2mm. The top opening has a diameter of 45mm, tapering outward to a bottom diameter of 49.75mm over a total height of 25mm. Inside this main cylinder, add four smaller cylindrical protrusions spaced ...
$fa = 4; $fs = 0.5; wall_t = 1.2; top_ring_d = 45; top_ring_screws_d = 47.5; top_h = 11; top_to_mid_h = 18; top_to_bot_h = 25; mid_ring_d = 47.5; mid_ring_screws_d = 49.75; bot_ring_d = 49.75; flash_front_w = 30; flash_base_w = 31; flash_depth = 32.5; flash_rear_h = 8; flash_rear_angle = 60; flash_h_start = 58.25; ...
glb/cad_d45c62bf28c3.glb
Create a Parametric Utility Tray by constructing a hollow rectangular vessel with sloped walls. Start with a solid base and walls that extend to a total height of 15mm. The outer dimensions at the base are 50mm in length and 30mm in width. The walls should taper outwards as they rise, creating a flared effect where the...
base_width = 30; base_thickness = .8; base_length = 50; side_height = 15; max_layers = 100; tilt = 1.5; difference() { linear_extrude(height=side_height,slices=max_layers,$fn=200,scale=tilt){ square([base_length,base_width],center=true); } translate([0,0,base_thickness]) { linear_extrude(height=side_...
glb/cad_178102fd3c6a.glb
Create a Tool Board Brace with a total width of 34mm, a depth of 12.3mm, and a back height of 13.5mm. The main body is a block where the front face is rounded with an 8mm diameter. Through the center of the block, create a longitudinal bolt hole with a 3mm diameter. At both ends of this hole, add a 16-sided tapered c...
tBZOff = 0; depth = 12.3; fD = 8.0; bH = 13.5; w = 34; bD = 3.0; bTap = .6; pinD = 3.25; pinD2 = 3.0; pinDepth = 1.6; pins=[[29.5,28.25],[29.5,18.25],[57.5,28.25],[57.5,18.25]]; cOW = 24.5; cOD = 8.0; mD = 13.1; mH = 3.6; mFn = 100; mOffZ = 1.15; mOffY = -6.6+fD/2; thW = 2.0; thF = .6; rotate([90,0,0])translate([-2...
glb/cad_32a1279f3fff.glb
Create a magnetic wheel mod axle by constructing a central shaft 34mm long with a diameter of 8.2mm. At both ends of this shaft, add cylindrical rims with a diameter of 15mm and a depth of 5.4mm. Connect these rims to the central shaft using a conical transition section that is 3mm high, tapering from the 15mm rim diam...
axle_length = 34; axle_diameter = 8.2; outer_rim_diameter = 15; rim_depth = 5.4; transition_height = 3; resolution = 100; magnet_diameter = 5.2; magnet_thickness = 3.2; pocket_inset = 0.8; pocket_depth = magnet_thickness; translate([0, 0, -axle_length/2]) { difference() { union() { cylinder(h...
glb/cad_5826cb754dd9.glb
Create a clamshell protective cover for an 8BitDo N30 Pro controller consisting of two symmetrical halves connected by a print-in-place hinge. Each half is based on a rounded rectangular form with an outer radius of 32.2mm and an inner cavity radius of 24.2mm. The total end-to-end length of the case is 132mm. The main...
include <../0000_StdLibraries/BOSL2/std.scad> include <../0000_StdLibraries/BOSL2/hinges.scad> bigR = 32.2; innerR = 24.2; end2end = 132; bodyZ = 15.4; buttonZ = 18; thumbStickZ = 21.5; magnetR = 2.6; magnetZ = 1.6; magnetZgap = 0.4; magnetWall = 1; res = 1; hingeLen = end2end - 2 * bigR - 5; wallThickness = 2; min...
glb/cad_c49659733561.glb
Create a Dinghy Wind Indicator consisting of a nose piece and a tail piece. For the nose, create a streamlined, aerodynamic foil shape based on a NACA 0024 profile. The nose should be a solid, symmetrical wing-like form. For the tail, create a larger, flatter aerodynamic foil. This tail section must include a cylindri...
big = 1000; lil = 0.001; res = 1; tail1OS = [65,0,0]; tail1Scale = [0.6, 0.3, 1]; tail2OS = [50,0,25]; tail2Scale = [0.8, 0.62, 1]; tail3OS = [65,0,50]; tail3Scale = [0.6, 0.3, 1]; gutsOS = [0,0,2]; gutsScale = [1, 0.4, 1]; rodOS = [60,0,tail2OS[2] + gutsOS[2]/2]; rodR = 2.03; rodL = 9; rodSkin = 0.8; module tail2P...
glb/cad_cf46cbc66426.glb
Create a screwknob by constructing a main cylindrical body with a total height of 8mm. The body should have a slight taper, starting from a base diameter of approximately 8.08mm and widening at the top to approximately 8.64mm. The exterior surface from a height of 3mm up to the top should feature a knurled texture. C...
use <knurledFinishLib.scad> $fn=120; hexNutW=7; hexNutD=3; threadM=4; clr=0.2; height=8; width=14; neck=3; neckGirth=1.2; neckA=4; spc=0.4; difference(){ translate([0,0,spc])union(){ neckW=hexNutW*1.1547*neckGirth; cylinder(h=height,d1=neckW,d2=neckW*(1+tan(neckA))); translate([0,0,neck])knurled_cyl(chg=height-...
glb/cad_1a841bbfb746.glb
Create a 3D model of a microswitch. Start with a main rectangular body that is 20.3mm wide, 6.3mm deep, and has a variable height between 9.8mm and 10.5mm. The corners of the body should have a radius of 1mm. On the bottom of the body, center two hexagonal mounting tabs, each 6mm in diameter, separated by 9.5mm. Creat...
$fn = 30; $EC = .3; Switch_Mid(0); module Switch_Mid($EC = 0, Arm_Len= 16.3, Holes = false, All = false) { W = 20 + $EC; H0 = 9.5 + $EC; H1 = 10.2 + $EC; D = 6 + $EC; R = 1; HoleD = 2.4 - $EC; HoleSepX = 9.5; HolePosX = -4.75; HolePosY = 2.5; Arm = !(Arm_Len == 0); if (Holes) { Holes(); } el...
glb/cad_de9b9a750126.glb
Create a 3D model of a microswitch. Start with a rectangular main body that is 12.75mm wide, 6.6mm high, and 6mm thick. On the top surface of the body, center a small rectangular button assembly. This assembly consists of a central 1mm wide by 1mm deep rectangular base with a 1mm diameter cylinder extending 3mm upwar...
$fn=20; $EC=.3; Small_MicroSwitch(0); module MirrorCopy(M) { children(); mirror(M) children(); } module Small_MicroSwitch($EC = 0, Arm_Len = 11, Holes = false, All = false) { W = 12.45 + $EC; H = 6.3 + $EC; D = 5.7 + $EC; HoleD = 2; Hole_Sep = 6.5; Arm_Wid = 4; Arm = !(Arm_Len == 0); PinSep = 10; i...
glb/cad_0a0d508980dd.glb
Create a spacer for a TDM contactor with an overall outer length of 140mm, an outer width of 98mm, and a total height of 24mm. The object is a hollow rectangular frame with rounded corners of 5mm. The main body consists of walls 2mm thick. The interior is a hollow rectangular void measuring 136mm by 96mm. At the base...
outer_length = 140; outer_width = 98; total_height = 24; wall_thickness = 2; step_thickness = 1; step_height = 2; corner_radius = 5; inner_length = outer_length - 2 * wall_thickness; inner_width = outer_width - 2 * wall_thickness; module rounded_rect(x, y, h, r) { r_adj = min(r, min(x, y)/2 - 0.01); hull() { ...
glb/cad_8908d480d54b.glb
Create a customized clip-stand for an e-reader. The stand is 132mm long, 20mm high, and 3.5mm thick. The main body consists of a central straight section that transitions into two symmetrical curved arcs on either side. The total length of 132mm is divided into a flat middle section and two curved ends. The curvature...
_length = 132.0; _height = 20.0; _curvature = 97; _thickness = 3.5; _clip_radius = 5; _clip_angle = 120; _stabilize = true; module smallArc(radius0, radius1, angle, depth) { thickness = radius1 - radius0; eps = 0.1; union() { difference() { cylinder(r=radius1, h=depth, center=true); cylinder(r=radiu...
glb/cad_a9854b5b4896.glb
Create a replacement handle for a clamp bolt. Start by creating a main cylindrical shaft with an outer diameter of 20mm and a total height of 60mm. This shaft must be hollow, featuring a concentric internal bore with a diameter of 10.5mm that runs the full length of the cylinder. At the base of this shaft, center and a...
use <smooth_prim.scad>; l_shaft = 60; l_support = 25; dia_out = 20; dia_in = 10.5; r = 20; union() { difference() { SmoothCylinder(radius = dia_out/2, height = l_shaft, smooth_rad=2); cylinder(h=l_shaft, r1=dia_in/2, r2=dia_in/2); } sphere(r, $fn=80); cylinder(h=l_support, r1=r, r2...
glb/cad_9fc6226de226.glb
Create a print-in-place fidget ring consisting of two concentric cylindrical shells. The inner ring has a diameter of 20mm and a height of 7mm. Construct this inner ring by creating a cylinder with a base diameter of 22.8mm and a height of 7mm, then remove a central core to leave a wall thickness of 1mm. The top and bo...
$fn=64; use <knurledFinishLib_v2.scad> dia_finger=20; ring_h=7; inner_w=1; outer_w=2; gap_w=.7; ridge_w=1.4; click_r=ridge_w; clicks=0; chamferring(dia_finger, ridge_w, inner_w, ridge_w*2, 0,gap_w,0); chamferring(dia_finger+inner_w*2+gap_w*2, ridge_w, outer_w, ridge_w, 1,gap_w,+ridge_w*4); mod...
glb/cad_1750cb9a521f.glb
Create three rectangular watercolor paint pans of varying lengths, all sharing a width of 19mm and a height of 10mm. Each pan is a hollowed-out rectangular shell with rounded exterior corners and edges, achieved by applying a 1mm radius fillet. The walls are thin, and the interior is a recessed rectangular cavity that ...
width = 19; height = 10; $fn=25; module shell(length=32) { adjustment = 1; %translate([-length/2,-width/2,1.5]) cube([length,width,height]); difference() { minkowski() { difference() { translate([0,0,6.5]) cube([length,width,height-adjustment], center=true); ...
glb/cad_02b0021a6af8.glb
Create a PCIe card potentiometer bracket designed to hold a potentiometer module and attach to a PCB. Start by creating a rectangular base block that serves as the PCB interface, measuring 20mm wide, 15mm deep, and 7.8mm high. Within this block, remove a centered rectangular slot 1.8mm thick and 15mm deep to accommodat...
$fn = 100; eps = 0.1; wall = 3; pcb_thickness = 1.8; pcb_depth = 15; pcb_width = 20; pot_radius = 24.8/2; pot_height = 8; pot_z_offset = 16; module pcb_interface() { z = 2*wall + pcb_thickness; thicker_wall = wall+2; translate([0, wall-thicker_wall, 0]) difference() { cube([pcb_width, pcb_depth+...
glb/cad_6b20df04c82f.glb
Create a game insert for the Oranienburger Kanal board game box. The model consists of two mirrored main sections. For one section, create a block with a width of 47mm, a height of 47mm, and a depth of 247mm (calculated as 296mm minus 49mm). Within this block, remove a rectangular channel from the top, leaving walls 1....
$fn=200; x=296; px=202; z=47; w=1.6; cardy=49; xd=(x-px-1)/2; yd=x-cardy; r=40.8/2; module dresser() { union() { difference() { cube([xd,yd,z]); translate([w,w,1]) cube([(xd-3*w)/2,yd-2*w,z]); translate([w+(xd-3*w)/2+w,w,1]) cube([(xd-3*w)/2,yd-2*w,z]); ...
glb/cad_ce1692fba506.glb
Create a square drip tray with rounded corners. The outer dimensions are 191.75mm by 191.75mm with a total height of 16mm. The corners have a radius of 22.225mm. The tray features a bottom thickness of 2mm and a wall thickness of 1.75mm. Along the top outer edge, add a lip with a radius of 4mm and a height of 2mm. The...
include <BOSL2/std.scad> $fn = 64; wall_thickness = 1.75; bottom_thickness = 2; outer_len = 7.125 * INCH + 1; outer_wid = 7.125 * INCH + 1; outer_h = 14 + bottom_thickness; corner_rad = 7/8 * INCH; lip_radius = 4; ridge_thickness = 5; ridge_height = 5; ridge_spacing = 25...
glb/cad_625a047b057b.glb
Create a house number and street name sign. Start with a main rectangular plate with rounded corners of 20mm radius. The plate has a total thickness of 5mm, consisting of a 3mm thick recessed center area and a 2mm high raised outer lip of 5mm width. The overall dimensions of the plate are determined by the text: the ...
number_text = "123"; street_name = "Test Street"; number_size = 90; number_height = 4; text_size = 20; text_height = 4; plate_thickness = 3; lip_height = 2; lip_width = 5; margin = 20; corner_radius = 15; number_w = number_size * len(number_text) * 0.6; street_w = text_size * len(street_name) * 0.6; plate_wi...
glb/cad_9133ab0c1ce9.glb
Create a bolt cap consisting of a hollow cylindrical shell with a tapered base. Start by creating a main cylinder with an outer diameter of 9.18mm and a total height of 3.5mm. The bottom 1mm of this shape should be a chamfered ring that transitions from a diameter of 7.18mm at the very base up to the full 9.18mm outer ...
bolt_diameter = 8.18; wall_thickness = 0.5; cap_thickness = 1; sleeve_depth = 2.5; plug_diameter = 3.1; plug_offset = 0.2; chamfer_height = 1; outer_diameter = bolt_diameter + 2 * wall_thickness; body_height = cap_thickness + sleeve_depth; chamfer_diameter_diff = chamfer_height * 2; plug_depth = sleeve_depth - plug_of...
glb/cad_f67ecf260021.glb
Create a T-shirt ring by constructing a heart-shaped loop with a consistent circular cross-section of 5mm radius. The overall structure should be scaled up by a factor of 1.25. Form the heart by creating a tubular ring that follows a heart path, ensuring the thickness of the tube is 10mm in diameter. To ensure the mode...
scale(1.25) difference() { union() { union() { translate([-10.75, 0, 0]) difference() { rotate_extrude(convexity = 10, $fn=180) translate ([15, 0, 0]) circle(r = 5, $fn = 60); translate ([28.28, -28.28, 0]) rotate([0, 0, 45]) cube([80, 80, 16], center=true); } transla...
glb/cad_500619e91cc2.glb
Create a T-shirt ring by constructing a hollow, elliptical torus with a circular cross-section of 5mm radius. The overall shape should be scaled to be 60mm wide along the X-axis and 62.5mm tall along the Z-axis, while being compressed to 80% of its width along the Y-axis to create an oval profile. To complete the desig...
difference() { union() { scale([0.8, 1, 1.25]) rotate_extrude(convexity = 10, $fn=180) translate ([30, 0, 0]) circle(r = 5, $fn = 60); scale([1, 1, 1.25]) rotate([90, 0, 0]) cylinder(h = 60, r = 5, center=true, $fn = 60); } translate([-50, -50, -6.5]) cube([100, 100, 1]); }
glb/cad_c5e26fed37a0.glb
Create a T-shirt ring consisting of a large outer torus and a central intersecting cylinder. Form the main ring by sweeping a circle with a 5mm radius around a circular path that has a 30mm radius, resulting in a torus with an overall diameter of 70mm and a cross-sectional thickness of 10mm. Position a solid cylinder w...
difference() { union() { rotate_extrude(convexity = 10, $fn=180) translate ([30, 0, 0]) circle(r = 5, $fn = 60); rotate([90, 0, 0]) cylinder(h = 60, r = 5, center=true, $fn = 60); } translate([-50, -50, -5.25]) cube([100, 100, 1]); }
glb/cad_e55b6867a890.glb
Create a simple parametric box with a lid. For the main body, construct a rectangular prism measuring 100mm in length, 60mm in width, and 50mm in height. Apply a 5mm rounding radius to all vertical edges. Hollow out the interior by removing a smaller rounded prism from the top, leaving a wall thickness of 1mm on all si...
box_length = 100; box_width = 60; box_height = 50; wall_thickness = 1; lid_height = 10; show_lid = true; tolerance = 0.3; rounded_edges = true; rounding_radius = 5; $fn = 48; module rounded_cube(size, radius) { if (radius > 0 && rounded_edges) { minkowski() { cube([size[0]-2*radius, size[1]...
glb/cad_629e4263f263.glb
Create a coffin-shaped electrical box switch plate. The overall outer shell is a hexagonal coffin silhouette with a total thickness of 6mm. The walls of the coffin shell are 2.4mm thick, leaving a hollow interior of 3.6mm depth. The plate is designed for one to three electrical devices. For a single-device configurati...
function mm(in)=in*25.4; devices = 1; switch_types = [1,1,1]; show_plate = false; coffin_heights = [195,275,362]; coffin_y_offsets = [-2,2,16]; plate_total_thickness = 6; plate_t = 1.4; plate_side_thickness = 2.4; opening_lip_w = 1; opening_lip_h = 1; include_support_ridges = true; ridges_w = 3; ridges_extr...
glb/cad_34181c734fd9.glb
Create a router bit rack designed for a Honeycomb Storage Wall. Start by creating a main rectangular block with a width of 150mm, a height of 15mm, and a depth of 11mm. Round the corners of this block with a radius of 2mm. Along the center of the block, create a series of 10 vertical holes to hold the router bits. Ea...
verticle_spacing = 23.6; h_spacing = 40.88; peg_r = 15.6/2; peg_depth = 10; BIT_D = 15; BIT_COUNT = 10; NOMINAL_SHAFT_R = 3.125; clearance = .2; roundedness = 2; min_block_depth = 20; block_ht = max(min_block_depth, BIT_D); SPEC = [NOMINAL_SHAFT_R + clearance, BIT_D, BIT_COUNT]; full_block_width = BIT_D * BIT_CO...
glb/cad_452cea3e97e3.glb
Create a custom plant label consisting of a rectangular base with a tapered soil spike. The main label body is 80mm wide, 30mm high, and 3mm thick, featuring rounded corners with a 3mm radius. Add a raised frame border around the perimeter that is 1.5mm wide and 0.8mm high. On the top surface, center the text "Golden ...
plant_name = "Golden Pothos"; scientific_name = "Epipremnum aureum"; nickname = ""; show_plant_name = true; show_scientific_name = true; show_nickname = true; show_water_symbols = true; show_light_symbols = true; show_dry_soil_symbol = true; water_drops = 2; light_type = 2; label_width = 80; label_height = ...
glb/cad_140f509ccc59.glb
Create a customizable organizational box with a hinged lid. The main body is a rectangular container with interior dimensions of 130mm width, 40mm length, and 21mm height. The walls and floor of the box have a thickness of 1.0mm, and the interior corners feature a fillet radius of 4.0mm. The lid is a matching rectangu...
use <Write.scad> interiorWidth = 130; interiorLength = 40; interiorHeight = 21; interiorFillet = 4.0; hingeWidth = 80; widthSections = 2; lengthSections = 5; widthWalls=[ [false] ,[false] ,[false] ,[true] ,[true] ]; lengthWalls=[ [false, false, true, fa...
glb/cad_dc39be4aca73.glb
Create a storage drawer for a tool case by starting with a solid rectangular block measuring 230mm in length, 205mm in width, and 25mm in height. Hollow out the interior to create a shell with a wall thickness of 0.9mm. Divide the interior space into compartments using internal walls: place one wall at x=76mm and anoth...
difference(){ cube([230,205,25]); translate([2,2,0.9]){ translate([-3,175,-2])cube([56,30,35]); translate([175,175,-2])cube([56,30,35]); translate([55,175,0])cube([118,26,35]); cube([74,173,25]); translate([76,0,0])cube([74,109,25]); translate([76,111,0])cube([74,90,25]); translate([152,0,0])cube([74,109,25]); transl...
glb/cad_88c69fdd785b.glb
Create a SOG PowerPint Thumb Bar Tab consisting of two distinct geometric components. First, construct an upper insert tab by creating a hull between two cylinders, each with a diameter of 1.65mm and a height of 1.25mm, positioned 8.65mm apart along the x-axis. Add a smaller cylindrical protrusion to the top of this hu...
$fn=100; insertTab(); bottom(); module insertTab(){ scale([1.05+0.04,1.11+0.15,0.96]){ translate([0.48,1,2.3]) hull(){ cylinder(d=2-0.35,h=1.25); translate([10.75-2-0.1,0,0]) cylinder(d=2-0.35,h=1.25); translate([0,0,1.25]){ cylinder(d=2-0.35-0.5,h=.25); translate([10.75-2-0.1,0,0]) cylinder(d=2-0.35-0.5,h=.25); } }...
glb/cad_8d9945a2b477.glb
Create a Gaggia Classic Tamping Station by constructing a hollow cylinder with an outer diameter of 82.5mm, an inner diameter of 72.5mm, and a total height of 55mm. To accommodate the portafilter handle, carve a rectangular cutout through the wall of the cylinder. This cutout should be 20mm wide and 23mm high, position...
$fn = 128; d = 72.5; h = 55; handle_w = 20; handle_h = 23; difference() { cylinder(h=h, d=d+10); cylinder(h=h+1, d=d); translate([0,0,h-handle_h]) handle_cutout(handle_w, handle_h, 50); } module handle_cutout(w, h, d) { r = 2; translate([-w/2,0,0]) rotate([90,0,0]) linear_extrude(d) union ()...
glb/cad_2881db4cf1df.glb
Create a whiteboard mount by starting with a main body formed from the convex hull of two rectangular prisms: one measuring 40mm wide, 10mm deep, and 40mm high, positioned at the origin, and a second prism measuring 40mm wide, 20mm deep, and 5mm high, positioned at X=0, Y=-30, and Z=35. From this combined volume, remov...
$fn=60; color("red")cube([40,10,10]); difference(){ hull(){ translate([0,-10,0])color("red")cube([40,10,40]); translate([0,-30,35])cube([40,20,5]); }; translate([10,-5,0])cylinder(20,4.6,4.6); translate([10,-20,0])cylinder(20,4.6,4.6); translate([10,-5,20])cylinder(20,2,2); translate([10,-20,20...
glb/cad_c8002f043bca.glb
Create a push button component consisting of two concentric cylindrical parts. First, create a wide, thin base cylinder with a diameter of 5.6mm and a height of 0.5mm. Centered on top of this base, place a second, taller cylinder with a diameter of 4mm and a height of 4mm.
include <jl_scad/box.scad> include <jl_scad/parts.scad> include <jl_scad/utils.scad> $fs = $preview?0.5:0.125; $fa = 1; $slop = 0.08; box_sz = [47.5,47.5,10]; $box_outside_color = "#fffb"; $box_inside_color = "#9a9b"; $box_cut_color = "#0000"; box_make(print=true) box_shell_base_lid(box_sz,rsides=6,wall_sides=1.6,wal...
glb/cad_4ded220a4fa3.glb
Create a shower head holder with a central cylindrical body and a mounting bracket. Start with a main cylinder of 40mm diameter and 41mm height. Subtract a central hole with a diameter of 16mm to create the primary socket. At the top of the holder, integrate a rectangular block measuring 18mm by 10mm by 41mm. To refi...
module sedeDado(height,radius,fn){ fudge = 1/cos(180/fn); cylinder(h=height,r=radius*fudge,$fn=fn);} difference(){ union(){ rotate([0,90,0])cylinder(4,20,20,true); translate([0,20,0])cube(40,true); } rotate([0,90,0])cylinder(5,8,8,true); intersection(){ rotate([0,90,0])cy...
glb/cad_863cce26d10d.glb
Create a Lobster Pot Tag consisting of a rectangular plate with a central cutout for a wire. The main body is a rectangular slab 117.6mm wide, 3mm thick, and 34mm high. At the center of the plate, create a vertical cylindrical hole with a diameter of 4mm that runs through the entire 34mm height. To allow a wire to pa...
module copy_mirror(vec=[0,1,0]) { children(); mirror(vec) children(); } wire_dia = 4; width = 118.10 - wire_dia; thickness = 3; height = 34; overhang = .25; text_size = 15.5; difference(){ union(){ translate([-overhang,0,0]){ cube([width + overhang * 2,thickness,height]); } translate([width / 2, - (wire_...
glb/cad_f7f77584be8b.glb
Create a stackable accessory box with an outer footprint of 106mm by 46mm and a total height of 61.5mm. Start by creating a solid base ledge that is 106mm wide, 46mm deep, and 1.5mm thick. Upon this base, build a main body with a wall thickness of 3mm. The interior cavity should measure 100mm by 40mm and have a depth o...
include <Chamfers-for-OpenSCAD/Chamfer.scad>; highRes = false; debug = false; box = [3, 100, 40, 55]; botLedge = 1.5; boxSize = [box[1]+(box[0]*2), box[2]+(box[0]*2), box[3]+(box[0]*2)+botLedge]; $fa = 1; $fs = 0.25; $fn= highRes ? 90 : 25; translate([box[0], box[0], 0]) cube([box[1], box[2], botLedge+0.2]); tra...
glb/cad_4e3f4e1f612b.glb
Create a minimalistic tube squeezer by designing a rectangular block with heavily rounded edges and a central slot. The main body should have a total length of 50mm, a width of 7mm, and a thickness of 5mm. The corners must be rounded with a radius of approximately 3.33mm to give the object a smooth, pill-like profile. ...
overall_thickness = 5; slot_x = 40; gap = 2; $fn = 50; overall_x = 2 * overall_thickness + slot_x; overall_y = 2 * overall_thickness + gap; difference() { minkowski() { cube([overall_x, overall_y, overall_thickness * 1 / 3], center = true); sphere(d = overall_thickness * 2 / 3); } minkowski() { ...
glb/cad_fb6ba117746d.glb
Create a rectangular sign measuring 100mm in width, 40mm in depth, and 3mm in height. Embed ten circular holes for magnets, each with a radius of 2.6mm and a depth of 1.6mm. Position five holes in a row 0.5mm from the back edge at x-coordinates 5, 25, 47, 70, and 95, and five corresponding holes 0.5mm from the front ...
module Plate() { cube([100,40,3]); } module MagCutHole() { cylinder(h=1.6, r=2.6, $fn=50); } module MagCut(){ translate([95,35,0.5]) MagCutHole(); translate([70,35,0.5]) MagCutHole(); translate([47,35,0.5]) MagCutHole(); translate([25,35,0.5]) MagCutHole(); translate([5,35,0.5]) MagCutHo...
glb/cad_110fc615c257.glb
Create a rectangular sign measuring 100mm x 40mm x 3mm. On the top surface, add a thin border frame that is 1mm wide, creating a recessed central area of 98mm x 38mm with a total height of 4.5mm. Embed ten circular holes for magnets, each with a radius of 2.6mm and a depth of 1.6mm. Position five holes along the top e...
module Plate() { cube([100,40,3]); } module MagCutHole() { cylinder(h=1.6, r=2.6, $fn=50); } module MagCut(){ translate([95,35,0.5]) MagCutHole(); translate([70,35,0.5]) MagCutHole(); translate([47,35,0.5]) MagCutHole(); translate([25,35,0.5]) MagCutHole(); translate([5,35,0.5]) MagCutHo...
glb/cad_45f16946c245.glb
Create a computer card stand designed to hold 32 cards. Start with a solid rectangular block measuring 137.31mm in length (X), 62.51mm in width (Y), and 17.88mm in height (Z). Carve 32 parallel card slots into the top of the block. Each slot must be 135.68mm long, 2.28mm wide, and 16mm deep, starting from a height of...
number_of_cards = 32; card_length = 133.35; card_width = 2.278; finger_length = 2.50; finger_width = 1.694; rack_height = 16; overall_thickness = 1.882; tolerance = 1.75; mathed_card_length = card_length * (100 + tolerance) / 100; min_side_width = overall_thickness + finger_length; box_x = mathed_card_length + ...
glb/cad_4aaef739abf0.glb