Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Duplo to Brio/Lillabo converter brick. Start with a central rectangular block measuring 63.8mm in length, 40mm in width, and 20mm in height. From this main body, remove two rectangular sections measuring 21mm by 41mm by 13mm, positioned symmetrically at each end of the length to create slots. Carve out a cen...
resolution = 100; module duplo_to_lillabo() { union() { difference() { union() { translate([0, 0, 0]) cube([63.8, 40, 20], center = true); } union() { translate([(63.8/2)-9.5, 0, 4.5]) cube([21, 41, 13], center = true); translate([-(63.8/2)+9.5, 0, 4.5]) cube([21, 41, 1...
glb/cad_fdb958c6f34b.glb
Create two identical sensor support halves. For each half, start with a central core consisting of a cylinder with a radius of 5.5mm and a height of 10mm, centered on the Z-axis. Add a second, slightly wider cylinder with a radius of 6.5mm and a height of 9mm, also centered on the Z-axis. On top of these, add a truncat...
module support() { difference() { union() { translate([0, 0, 10/2]) cylinder(r = 11/2, h = 10, $fn = 70, center = true); translate([0, 0, 1+9/2]) cylinder(r = 13/2, h = 9, $fn = 70, center = true); translate([0, 0, 10+3/2]) cylinder(r1 = 13/2, r2 = 9.5/2, h = 3.01, $fn = 70, center = true);...
glb/cad_3d40e9f8cca8.glb
Create a Spiral Egg Cup by constructing a twisted, hollowed-out vessel. Start with a base profile consisting of a circle with a diameter of 30mm, modified by adding 20 small, pointed triangular protrusions evenly spaced around the perimeter to create a gear-like star shape. Extrude this profile vertically to a total ...
n = 20; di = 30; dio = 40; da = di+2; ha = 40; hi = 25; br = 0.5; $fn=50; module straight(){ square([da-di,br]); } module edge(){ translate([-0.1,0])polygon([[0,br*2],[0,-br*2],[br*4,0]]); } module base(){ circle(d=di); for(i=[0:360/(2*n):360]){ rotate([0,0,i])translate([di/2,0])edge(); ...
glb/cad_4e6e918fcf27.glb
Create a NixOS Linux bead by constructing a 3D shape based on a repeating polygonal pattern. First, define a 2D polygon with vertices at [4,0], [0,7], [13.2,29.9], [3.8,46], [11.7,59.9], [46.4,0.1], [30.4,0], [21.15,16.1], and [12,0]. Create a composite 2D base by duplicating this polygon five times, rotating each subs...
beadHeight = 40; beadHoleDiameter = 30; scaleFactor = 0.125; $fn = $preview ? 16 : 128; module nixLambda() { polygon([ [4,0], [0,7], [13.2,29.9], [3.8,46], [11.7,59.9], [46.4,0.1], [30.4,0], [21.15,16.1], [12,0] ]); } scale([scaleFactor, scaleFactor, scaleFactor]) difference...
glb/cad_e273d58476c3.glb
Create a Machi Koro game box insert with a total footprint of 221mm in length, 161mm in width, and 29.5mm in height. The structure is formed by a network of thin walls, each 1mm thick, that create several compartments. Construct the outer boundary with walls along the full length and width of the footprint. Add inter...
boxlength = 221; boxwidth = 161; cardlength = 89; cardwidth = 63; height = 29.5; preview = 1; w = 1; $fn = 60; module insert() { color("red") { difference() { union() { translate([cardlength,w,0]) cube([w,cardwidth+w,height]); translate([boxlength-cardlength-w,w,...
glb/cad_acf3d2c9ab60.glb
Create a magnetic cable organizer with a total length of 40mm, a height of 15mm, and a width of 11mm. The main body is a rectangular block with a wide channel carved out of the top and center. The top section of the organizer has a thickness of 2mm. At each end of the organizer, create a cylindrical cavity to hold a m...
magnet_diameter = 10; magnet_extra = 0.5; magnet_thickness = 2; height = 15; thickness = 2; length = 40; module fillet() { difference() { cube([(magnet_diameter + magnet_extra * 2) / 2, (magnet_diameter + magnet_extra * 2) / 2, (magnet_diameter + magnet_extra * 2)]); translate([(magnet_diameter + ...
glb/cad_5f1dd2a48866.glb
Create a rounded drip tray with a total diameter of 100mm and a height of 10mm. The structure consists of three primary support beams of 2mm thickness, arranged radially and spaced 120 degrees apart. Each beam spans the full 100mm diameter and has rounded ends. To elevate the tray, add feet to each beam at both ends (...
Shape="rounded"; Rectangle_Width=100; Rectangle_Depth=75; Rectangle_Beam_Spacing=10; Rectangle_Beam_Count=0; Rectangle_Bridge_Positions = [0.2, 0.8]; Rectangle_Bridge_Count=2; Section="all"; Rounded_Diameter=100; Rounded_Width=100; Rounded_Beam_Count=3; Rounded_Bridge_Spacing = 25; Beam_Height=10; Beam_Thic...
glb/cad_bb036a98eaed.glb
Create a set of parametric washers for an etagere. First, construct a bottom plate as a cylinder with a diameter of 40mm and a thickness of 2mm. Create a central hole through this plate using a profile that accounts for a screw head with a diameter of 5.9mm and a height of 1.6mm, extending the hole through the plate wi...
n_support_plates = 2; show_bottom_plate = true; axle_dia = 7.2; thread_dia = 5.3; plate_d = 30; plate_w = 1; scone = [2, 5, 6]; sdims = [9.2, 5.9, 1.6]; s_add = 0.6; bplate_w = 2; bplate_d = 40; $fa = 1; $fs = 0.4; th = thread_dia * 0.5; ah = axle_dia * 0.5; sh = 0.5 * sdims; module support_cone() { ro...
glb/cad_d5f8811cb4c2.glb
Create an Adjustable Shotgun Shell Trimmer and Resizer consisting of two handles and a cylindrical stop. Each handle is 14mm thick and 95mm long. Create a semi-cylindrical cavity in both handles with a radius of 10.25mm to accommodate a shotgun shell. The bottom handle features an extended rectangular trough 24mm lon...
clearance=0.35; wall=3; shell_rad=20.5/2; cut_height=12; blade_width=8.95; blade_thick=0.4+clearance; blade_length=25; blade_inset=2.5; handle_length=95; handle_thick=14; trough_length=cut_height+4*wall; handle_height=blade_width+shell_rad+wall-blade_inset; bevel_size=2; pivot_rad=5/2+clearance; pivot_point=shell_rad+...
glb/cad_d715035b6eb0.glb
Create a Cub Cadet CC30E plug holder. Start with a main body consisting of two joined rectangular sections: a back plate measuring 90mm wide, 7mm deep, and 30mm high, and a front section measuring 85mm wide, 17.5mm deep, and 30mm high, centered against the back plate. Carve a rectangular cutout from the center of the ...
FN = 90; Delta = .11; CLR_Delta = .25; hld_W = 90; hld_H = 30; hld_THK1 = 7; hld_THK2 = 4; hld_THK3 = 5.5/2; cc30e_H = 27; cc30e_W = 46.5; cc30e_D = 14; cc30e_OS1 = 3; cc30e_OS2 = (hld_W-cc30e_W)/2; Screw_D = 4.5; Screw_HD_D = 10; Screw_HD_THK = 4; hld_D = hld_THK1+hld_THK2+cc30e_D; hld_W2 = cc30e_W+2*hld_THK3; hld...
glb/cad_e63ca047c73e.glb
Create a Wallet Key Holder consisting of two identical rectangular plates, each 85.5mm long, 55mm wide, and 1.125mm thick, with 3.5mm corner radii. In both plates, create a central cutout to house a key. This cutout is composed of two joined sections: a main body 54mm long and 9mm wide, and a wider head section 23mm ...
FN = 60; Delta = .11; key_L = 54; key_L2= 27; key_W = 9; key_W2 = 23; key_THK = 2.2; key_rad = 1; CC_L = 85.5; CC_W = 55; CC_THK_min = .5; CC_THK = key_THK/2+CC_THK_min; CC_rad = 3.5; il_rad = CC_rad; il_THK = CC_THK+Delta; translate([0,CC_W*1.1,0]) difference() { card(); translate([(CC_L-key_L)/2,(CC_W-key...
glb/cad_3d967d5787da.glb
Create a blinds bracket consisting of a base plate, a vertical support, and a pin. Start with a rectangular base plate 21mm wide by 22mm long and 3mm thick, with rounded corners using a 3mm fillet radius. Drill two vertical holes through the base, each 4mm in diameter; position the centers of these holes 11mm apart, ce...
FN = 360; DELTA = .005; L = 22; thk = 3; pd = 27.5; dia = 16; W = 12; H_O = 7; H_D = 4; H_CC = 11; p_thk = 5; p_dia = 2.75; t_thk = 6; fr = 3; union() { t_points= [[0,0], [0,t_thk], [pd,0]]; rotate([270,270,0]) translate([thk,W+thk-DELTA,(L/2)-thk/2]) linear_extrude(height = thk) poly...
glb/cad_f255b2f3b941.glb
Create a car cupholder unit with a main body measuring 95mm in length, 85mm in width, and 65mm in height. Center a cylindrical hole through the body with a diameter of 78mm and a depth of 60mm, leaving a bottom thickness of 5mm. On the bottom of the unit, add a stability foot extending from the center back, measuring ...
FN = 360; DELTA = .05; CLR_DELTA = .25; foot = "yes"; mating_LH = "yes"; mating_RH = "no"; ch_L = 95; ch_W = 85; cup_H = 60; cup_D = 78; ch_BT = 5; CH_H = cup_H + ch_BT; foot_L = 50; foot_W = 15; foot_H = 5; foot_TL = foot_L/3; mating_D = cup_D/8; mating_H_T = (CH_H-2*ch_BT-2*CLR_DELTA)/3; mating_H = m...
glb/cad_4da5bfe94af1.glb
Create a Dual SecureID badge holder. Start by creating a main badge body with a length of 87mm, width of 60mm, thickness of 2.75mm, and corner radii of 1.05mm. Hollow out the center of this body with a cutout measuring 86mm by 58mm by 1.75mm, leaving a wall thickness of 1mm. In the top section, create a lanyard hole me...
FN = 180; clearance = 1.5; badge_W = 58; badge_L = 86; badge_T = 1.75; badge_CR = 3; badge_LW = 13; badge_LH = 3.25; badge_LO = 2.5; securID_W = 22.5; securID_L = 59; securID_D = 27.5; securID_T = 11; securID_CT = 12; securID_LCD_W = 8; securID_LCD_L = 35; lan_T = 10.2; lan_D = 32.5; lan_CL_T = 1.25; lan_CL_W = 10;...
glb/cad_9a7eb03412d8.glb
Create a Gasket Tolerance Test Factory consisting of six identical ring-shaped gaskets arranged in a linear row. Each gasket is a thin cylinder with a concentric hole through its center. The first gasket in the series has an inner diameter of 10mm, an outer diameter of 14mm, and a height of 1mm. For each subsequent gas...
num_gaskets = 6; inner_d = 10.0; outer_d = 14.0; height = 1.0; step_size_d = 0.25; step_inner = true; step_outer = false; step_height = false; step_size_h = 0.05; module gasket(id, od, h){ difference(){ cylinder(d=od, h=h); translate([0,0,-1]) cylinder(d=id, h=h+2); } } is = step_inner...
glb/cad_ba375a7bcf8b.glb
Create a Cube Faced Cup by constructing a hollow cylindrical vessel with a diameter of 60mm and a total height of 100mm. The main body consists of a wall with a thickness of 0.7mm and a base floor thickness of 1.2mm. The bottom edge of the cylinder should have a fillet radius of 4mm to soften the corner. The exterior ...
include <stdlib.scad> lh=0.2; lw=0.45; cell_cube=8; cell_width_factor=0.1; ring_dia=60; height=100; base_thickness=1.2; thickness=0.7; base_fillet_rad=4; rim_dia=3; vase_mode=true; $fn=64; rh=sqrt(1/2); ring_height=rh*rh*cell_cube+rh*cell_cube+0.2; cut_buffer=2*ring_height; adjusted_height=floor(height/rin...
glb/cad_867d41935465.glb
Create a stylized Cybertruck model by starting with a main body extruded to a height of 60mm. The body's footprint is a polygon with vertices at [0,0], [130,0], [130,20], [60,40], and [0,25]. To create the wheel wells and wheels, define a wheel profile as a polygon with vertices at [0,0], [10,0], [10,3], [3,10], [3,50]...
module axe(T,S){ translate(T) scale([S,S,1]) rotate([0,0,22.5]) rotate_extrude() polygon([[0,0],[10,0],[10,3],[3,10],[3,50],[10,57],[10,60],[0,60]]);} difference(){ linear_extrude(height=60) polygon([[0,0],[130,0],[130,20],[60,40],[0,25]]); axe([22,6,0],1.4, $fn=8); axe([130-22,6,0], 1.4, $fn=8);} axe(...
glb/cad_68465c078e25.glb
Create a 3D footprint for an HFS-DC06H sensor. Start with a base rectangular plate measuring 22.42mm wide, 39.8mm long, and 1.3mm thick. Position a second rectangular plate of the same width and thickness on top, but with a length of 31.3mm, leaving a gap so the top plate sits at a height of 8.22mm. Centered on this to...
bot_w = 22.42; bot_h = 39.8; bot_t = 1.3; top_w = bot_w; top_h = 31.3; top_t = 0.8; top_dz = 9.52 - top_t; top2_w = 13; top2_h = 19; top2_t = 0.9; top2_dx = (top_w - top2_w)/2; top2_dy = (top_h - top2_h)/2; top2_dz = top_dz + top_t; shield_w = 20; shield_h = 25; shield_t = 6; shield_dx = (top_w - shield_w)/2; shield...
glb/cad_6182f7cadbaf.glb
Create a bathroom lock indicator consisting of a tiered cylindrical assembly. Start by creating a wide, flat base cylinder with a diameter of 22mm and a height of 15mm. Centered on top of this base, add a smaller cylinder with a diameter of 7mm and a height of 15mm. Inside this smaller upper cylinder, carve out a ver...
union() { cylinder(3.5, 15.5, 15.5); translate([0, 0, -1]) { difference() { cylinder(11, 7.5, 7.5); union() { translate([0, 0, 1]) { translate([-2.5, -2.5, 0]) { cube([5, 5, 11]); } rotate([0,0,45]) { translate([-2.5, -2.5, 0]) { cube([5, 5, 11]); } } } ...
glb/cad_c3bdb9659d88.glb
Create a Kinesis Freestyle Pro keyboard static tenting leg system consisting of two base mounts and a set of connecting legs. For each base, create a rectangular block 30mm wide, 215mm deep, and 4mm thick. On the top surface of the base, add two guide rails on each side, each 2.25mm wide, 85mm deep, and 3mm high, pos...
wall=4; chamfer=1; show_base="yes"; base_w=30; base_d=215; front_leg_w=5.75; front_leg_d=4.5; front_leg_h=11.25; front_leg_spread=17; front_leg_from_center=103; front_foot_w = front_leg_w; front_foot_d = 5; front_foot_h = wall; back_leg_notch_w=4; back_leg_notch_d=20; back_leg_notch_start=-50.5; back_leg_w=2; palm...
glb/cad_4c15d214ec79.glb
Create a replacement Christmas tree ball holder. Start with a main cylinder that has a diameter of 11mm and a height of 8.6mm. Hollow out the center by removing a smaller cylinder with a diameter of 9.1mm and a height of 5.8mm, positioned 1.8mm from the base. At the bottom of the main cylinder, remove a conical section...
use <af-basics.scad> display(true) { holder(); } module display(shadow = false) { if ($preview) { echo($vpr, $vpt, $vpf, $vpd); difference() { children(); translate($vpt) rotate($vpr) cube_align($vpd * 0.4 * [1, 1, 1], [0, 0, 1]); } if (shadow) { %children(); } } else { children(); ...
glb/cad_63185f2da0a7.glb
Create a Universal Parametric Vacuum Cleaner Robot Roll by constructing a central capsule-like body and hollowing it out. Start with a sphere scaled by a factor of 2 along the x-axis to create a prolate spheroid with an outer width of 22mm and a center diameter of 19.8mm. Remove a central cylindrical core with a diamet...
r_outer_w = 22; r_dia = 19.8; r_inner_w = 19; hole_dia = 13.45; n_threads = 8; thread_depth = 0.375; axle_d = 12; $fa = 1; $fs = 0.4; rotate([0,-90,0]) translate([r_outer_w*0.5,0,0]) union() { if (n_threads > 0) for(i=[1:n_threads]) { rotate([i*(360/n_threads), 0, 0]) translate ...
glb/cad_f415e296e5ec.glb
Create a honeycomb desktop shelf leg with a total depth of 185mm, a height of 180mm, and a thickness of 20mm. The main body is a solid slab with a honeycomb pattern of hexagonal holes, each with a diameter of 30mm and a wall thickness of 2mm. The honeycomb pattern is bounded by solid outer walls: a bottom wall of 2mm...
depth = 185; height = 180; thickness = 20; wallthick = 2; gaph = 16; hexdia = 30; screw_holes = true; screwdia = 4; difference() { linear_extrude(thickness) { honeycomb(depth, height, hexdia, wallthick); square([depth,wallthick]); rotate(90) square([height + wallthick + gaph, wallthick]); ...
glb/cad_2fa3ab99de36.glb
Create a parametric funnel with a total height of 60mm and a wall thickness of 1mm. The top section is a hollow truncated cone with an outer diameter of 60mm at the rim and a height of 40mm. The interior of this cone is hollowed out to a diameter of 58mm. On the exterior surface of this cone, add a thin ridge with a th...
Height=60.0; Tube_Height=20.0; Top_Outside_Diameter=60.0; Tube_Outside_Diameter=10.0; Tube_Taper=5.0; Tube_Cut_Angle=30.0; Wall_Thickness=1.0; Ledge=5.0; Hanging_Ring=true; Ridge=true; Ridge_Thickness=1.5; $fn = 90; Top_Height = Height - Tube_Height; Top_Inside_Diameter = Top_Outside_Diameter - Wall_Thicknes...
glb/cad_c4690569cc2f.glb
Create a small parts bin with an outer shell measuring 39mm wide, 27mm deep, and 46mm high. The shell should have rounded corners based on 6mm diameter circles at the four corners of the top and bottom faces. Hollow out the interior to create a walls-and-floor structure by removing a volume that starts 2mm from the top...
BoxWidth=39; BoxDepth=27; BoxHeight=46; difference(){ OuterShell(); translate([1.2,1.2,2]) InnerCutout(); } translate([(BoxWidth/2)-9,-2.3,BoxHeight-9]) Tab(); module Tab(){ difference(){ cube([12,6,9]); translate([-1,0,-1]) rotate([-30,0,0]) cube([14,8,12]); } } module InnerCuto...
glb/cad_5541d40a52c7.glb
Create a small parts bin with a footprint of 39mm width by 27mm depth and a total height of 47mm. The main body is a hollow shell with rounded corners based on 6mm diameter circles at the vertices. The walls are 1.2mm thick. The interior is carved out from the top down to a base thickness of 2mm, leaving a hollow cavit...
BoxWidth=39; BoxDepth=27; BoxHeight=47; difference(){ BoxSolid(); difference(){ translate([1.2,1.2,0]) resize([BoxWidth-2.4,BoxDepth-2.4,BoxHeight+.02]) BoxSolid(); translate([-2,-2,0]) cube([BoxWidth,BoxDepth,2]); } } translate([(BoxWidth/2)-9,-2.3,BoxHeight-9]) Tab(); module Tab(){ diffe...
glb/cad_76724539413e.glb
Create a fireplace mantel model. Start with a main rectangular block measuring 110mm wide, 50mm deep, and 10mm high. Remove a horizontal cylindrical void with a 10mm diameter that runs through the center of the block from front to back, and another vertical cylindrical void with a 10mm diameter that passes through the ...
$fn=120; Mantel(); module FPBack(){ cube([90,54,3]); translate([5,10,0]) cube([3,5,8]); translate([5,40,0]) cube([3,5,8]); translate([82,10,0]) cube([3,5,8]); translate([82,40,0]) cube([3,5,8]); } module FPBase(){ cube([100,48,3]); translate([11,13,0]) cube([3,30,6]...
glb/cad_1f9a65575ecb.glb
Create a 3D model of a fireplace log base. Start by creating a main cylinder with a diameter of 10mm and a height of 40mm, rotated 85 degrees on the Y-axis. Attach a second, smaller cylinder with a diameter of 6mm and a height of 12mm, positioned at coordinates (18, 0, 3.5) and rotated 100 degrees on the Y-axis and -25...
$fn=120; difference(){ union(){ rotate([0,85,0]) cylinder(h=40,d=10); translate([18,0,3.5]) rotate([0,100,-25]) cylinder(h=12,d=6); } translate([-3,-5,-12]) cube([50,15,10]); translate([-2,1,0]) cube([50,10,10]); }
glb/cad_1be70f12aab7.glb
Create a base for an LED night light fireplace by constructing a rectangular block measuring 30mm in length, 10mm in width, and 4mm in height. Within this block, create three identical sockets spaced evenly along the length. Each socket is formed by removing a cylindrical hole with a diameter of 6mm and a depth of 2mm,...
$fn=120; union(){ for(Strip=[0:10:29]){ translate([Strip,0,0]) LEDSocket(); } } module LEDSocket(){ difference(){ cube([10,10,4]); translate([5,5,2]) union(){ cylinder(h=2,d=6); translate([0,1.5,-2]) cylinder(h=4,d=1); translate([0,-1.5,-2]) cylinder(h=4,d=1); } ...
glb/cad_3072d5385279.glb
Create a mounting plate for vinyl siding with a total width of 100mm, a total height of 102mm, and a maximum thickness of 20mm. The main body is a rectangular block, but the rear face must be modified to fit the siding profile: remove a wedge-shaped section from the back across the full width, starting from a depth of ...
PeakToPeak=102; SectionDepth=10; Width=100; DesiredTopToBottom=102; MaxThickness=20; ScrewHole=5; CutOutSel=0; RCutOut=60; SCutOutW=60; SCutOutL=40; MainAssy(Width,PeakToPeak,SectionDepth,DesiredTopToBottom,MaxThickness,ScrewHole,CutOutSel,RCutOut,SCutOutW,SCutOutL); module MainAssy(Width,PeakToPeak,SectionDepth...
glb/cad_94788fea7917.glb
Create a computer case riser foot by starting with a tapered square base that is 20mm high, with a top width of 32mm and a bottom width of 36mm. On the top surface, carve out a centered square tray cavity 2mm deep, leaving a 2mm wide rim around the edges. On each of the four side faces, create two vertical slots th...
riser_height = 20; riser_width_top = 32; riser_width_bottom = 36; riser_top_tray_depth = 2; riser_top_tray_rim_width = 2; riser_side_slot_number = 2; riser_side_slot_space = 20; riser_side_slot_width = 2; riser_side_ring_number = 2; riser_side_ring_space = 9; riser_side_ring_width = 2; riser_side_text_text = "D3C";...
glb/cad_d15676a35a6e.glb
Create an Invertible Square by constructing a solid square prism. The base should be a square with side lengths of 64mm, and the shape should be extruded vertically to a height of 7mm. Ensure the geometry is centered on the origin.
$fn=64;linear_extrude(height = 7) { square(center = true, size = 64); }
glb/cad_4522a92bcd67.glb
Create a 3D model of an Invertible Square. Start by constructing a 2D profile that consists of a central square with a side length of 40.74mm, centered on the origin. To this square, add four circles, each with a diameter of 40.74mm. Position the center of each circle so that it sits exactly on the midpoint of each of ...
$fn=64;linear_extrude(height = 7) { union() { square(center = true, size = 40.743673908005874); rotate(a = 0) { translate(v = [20.371836954002937, 0]) { circle(d = 40.743673908005874); } } rotate(a = 90) { translate(v = [20.371836954002937, 0]) { circle(d = 40.743673908005874); } } rota...
glb/cad_0147b7e3aeab.glb
Create a Braided Heart cookie cutter with a total height of 15mm. Start by forming a base shape that is a union of a cylinder with a radius of 40mm and a square prism measuring 80mm by 80mm, both 15mm tall. Hollow out the center of this shape by removing a cylinder with a radius of 39mm and a square prism measuring 80m...
$fn = 100; size = 80; height = 15; module base(s,h) { union() { cylinder(h,r=s/2); translate([0,-s/2,0]) cube([s,s,h]); } } difference() { union() { base(size,height); base(size+2,1); } difference() { cylinder(height*3,r=size/2-1,center=true); tran...
glb/cad_3fc0da1b0eb3.glb
Create a cable Y-splitter casing consisting of two mirrored shells. Each shell has a width of 35mm, a length of 40mm, and a height of 10mm. The outer footprint is a rounded triangle formed by the hull of three circles with 5mm radii, with a 1.5mm chamfer along the top and bottom edges. Hollow out the center of each sh...
Central_Cable = 6.6; Split_Cable = 4.8; Strain_Relief = 0.8; Width = 35; Length = 40; Height = 10; Fillet = 5; Chamfer = 1.5; Screw_Thread_Size = 2.9; Screw_Hole_Size = 3.5; Screw_Head = 5.5; Counterbore = 2; $fn = 100; epsilon = 0.05; module shape2D(height, inset) { linear_extrude(height) { offset(-...
glb/cad_2a41600f6b94.glb
Create a dust bag coupling consisting of two connected cylindrical sections with a continuous hollow center. First, create a base cylinder with a diameter of 20mm and a height of 15mm. Directly on top of this, add a central ring with a diameter of 22mm and a height of 5mm. Above the ring, add a second cylinder with a h...
Saw_diameter=20; saw_bag_diameter=19; bag_bag_diameter=18.5; saw_length=15; bag_length=32; ring_diameter=22; ring_length=5; dust_passage_diameter = 17.5; dust_passage_length = 110; module outer() { translate([0,0,saw_length/2]) cylinder(h=saw_length,r=Saw_diameter,center = true); translate([0,0,saw_length+ring_lengt...
glb/cad_d2131f57adc8.glb
Create a Removable Fence Stake consisting of a rectangular head and two diverging legs. The head is a block 30mm wide, 5.2mm thick, and 7mm high. Centered on the top of the head, add a low-profile pull loop created by a cylinder with a radius of 10mm and a thickness of 5.2mm. Extend two legs from the bottom of the hea...
withteeth = "yes"; withsize = "yes"; Head_Width = 30; Head_Thick = 5.2; Head_Hgt = 7; finger_radius = 10; finger_thick = Head_Thick; legheight = 90; legtopradius=3.2; legbotradius =1.5 ; leg_rotation = -.7; tooth_percent = 1.85; tooth_thick = 3.5; first_tooth_percent_high = .75; tooth_qty = 5; pi = 3.1...
glb/cad_36fce6f40a42.glb
Create a Goggle-Strap Adapter by designing a central rectangular block with two semi-circular ends. The overall height of the part is 2.6mm. The main body is formed by two mirrored cylindrical sections, each with a radius of 4mm, centered 20.5mm apart. Connect these two ends with a solid bridge to create a pill-shaped ...
$fn=250; difference() { #translate([-10.25,0,0]) cylinder(r=4,h=2.6); hull() { #translate([-10.25,1.1,0]) cylinder(r=1.1,h=2.6); #translate([-10.25,4,0]) cylinder(r=0.9,h=2.6); } } difference() { #translate([10.25,0,0]) cylinder(r=4,h=2.6); hull() { #t...
glb/cad_d4ac89e72959.glb
Create a repair yarn guide stop motion by combining a triangular prism and a rectangular block. Start with a rectangular base measuring 8mm wide, 22.51mm deep, and 10mm high. Attached to this base, position a 3-sided prism (equilateral triangle) with a radius of 13mm and a height of 10mm, centered at coordinates [6.5, ...
difference(){ union(){ translate([6.5,11.25,0]) cylinder(h=10,r=13,center=false, $fn= 3); translate([-8,0,0]) cube([8,22.51,10],center= false); } translate([-9.9,0,6]) cube([10.1,22.51,2],center= false); #translate([-5.1,2.9,5]) cylinder(h=10,r=1.25,center= true, $fn=90); #transl...
glb/cad_b06995b3baba.glb
Create a holder for Janome embroidery hoops designed for a SKÅDIS pegboard. Start with a base plate that is 20mm wide, 46mm deep, and 4.4mm thick. Add a side profile extension that is 4.4mm thick, extending from the base to a total width of 88mm (65mm distance plus 18mm radius plus 5mm) and a depth of 48mm, with a heig...
$fn=90; Abstand = 65; Radius = 18; Verschiebung = 32; difference(){ union(){ difference(){ translate([0,2,0]) cube([20,46,4.4]); translate([7.5,31.5,0]) cube([5,10,4.4]); translate([7.5,10,0]) cube([5,5,5]); } translate([20,0,0]) rotate([0,-90...
glb/cad_4e4523de9ce9.glb
Create a holder for Janome embroidery hoops designed for a SKÅDIS pegboard. Start with a base block 20mm wide, 46mm deep, and 4.4mm thick. From this base, remove a 5mm wide by 10mm deep rectangular section centered at x=7.5mm, y=31.5mm and a 5mm cube at x=7.5mm, y=10mm. Extend the structure upwards by adding a 4.4mm w...
$fn=90; Abstand = 38; Radius = 18; difference(){ union(){ difference(){ translate([0,2,0]) cube([20,46,4.4]); translate([7.5,31.5,0]) cube([5,10,4.4]); translate([7.5,10,0]) cube([5,5,5]); } translate([15.6,2,0]) cube([4.4,46,Abstand + Radius]); transl...
glb/cad_079234915123.glb
Create a holder for a Janome embroidery hoop designed for a SKÅDIS pegboard. Start with a base block 20mm wide, 46mm deep, and 4.4mm thick. From this base, extend a vertical wall 4.4mm wide and 46mm deep, rising to a total height of 82mm (64mm plus an 18mm radius). At the top of this structure, create a rounded suppo...
$fn=90; Abstand = 64; Radius = 18; difference(){ union(){ difference(){ translate([0,2,0]) cube([20,46,4.4]); translate([7.5,31.5,0]) cube([5,10,4.4]); translate([7.5,10,0]) cube([5,5,5]); } translate([15.6,2,0]) cube([4.4,46,Abstand + Radius]); transl...
glb/cad_cd32c878129d.glb
Create a holder for a Janome embroidery hoop. Start with a base block 20mm wide, 46mm deep, and 4.4mm thick. From this base, remove a rectangular section 5mm wide and 10mm deep starting at x=7.5mm, y=31.5mm, and a smaller rectangular section 5mm wide and 5mm deep starting at x=7.5mm, y=10mm. Attach a flat plate 4.4mm ...
$fn=90; Abstand = 33; Radius = 18; Verschiebung = 63; difference(){ union(){ difference(){ translate([0,2,0]) cube([20,46,4.4]); translate([7.5,31.5,0]) cube([5,10,4.4]); translate([7.5,10,0]) cube([5,5,5]); } translate([20,0,0]) rotate([0,-90...
glb/cad_f187d6df3ab9.glb
Create a holder for a Janome embroidery hoop designed for a SKÅDIS pegboard. Start with a base rectangular block measuring 20mm wide, 46mm deep, and 4.4mm thick. Remove a central rectangular slot measuring 5mm by 10mm starting 31.5mm deep and 7.5mm from the side, and a smaller 5mm cube starting 10mm deep and 7.5mm from...
$fn=90; Abstand = 33; Radius = 18; Verschiebung = 93; difference(){ union(){ difference(){ translate([0,2,0]) cube([20,46,4.4]); translate([7.5,31.5,0]) cube([5,10,4.4]); translate([7.5,10,0]) cube([5,5,5]); } translate([20,0,0]) rotate([0,-90...
glb/cad_207bbeaaebea.glb
Create a side hook attachment for a pegboard. Start with a rectangular base plate measuring 115mm in length, 46mm in width, and 2.4mm in thickness, with rounded edges. In this plate, create two rectangular cutout holes, each 5mm wide and 10mm high, positioned 40mm apart along the length. Add three cylindrical pins to ...
$fn=90; count_hook = 3; length_hook = 30; distance_hook = 35; direction = -1; plate(count_hook); for(hook = [1:count_hook]) pin(x=direction *(hook*distance_hook+50),y=20); module plate(count){ difference(){ translate([direction*(count*distance_hook+55 + distance_hook/2)/2,25,1.2]) minkowski(){ ...
glb/cad_6df23e6d1f34.glb
Create an inner cup for a McEgg by constructing a hollowed, rotationally symmetric vessel. First, generate the outer shell by revolving a profile around the Z-axis. The profile starts at the base with a radius of 23.5mm at height 0, curves outward to 24mm at height 8mm, then tapers inward through points at [22mm, 10mm]...
use <spline.scad> $fn=60; difference(){ union(){ spline_lathe([ [0,0], [23.5,0], [24,8], [22,10 ], [21.5,15 ], [20,20], [17.5,25], [14,30], [13.1,31],...
glb/cad_2517804de1a9.glb
Create a corncob holder replacement handle by first constructing a lathe-turned profile revolved around the Z-axis. The profile starts at the origin (0,0), extends to a radius of 8.8mm at the base, curves up to 10.5mm at a height of 21mm, narrows to 8mm at 32mm, and finishes at a radius of 2.5mm at a total height of 36...
use <spline.scad> $fn=60; difference(){ spline_lathe([[0,0],[8.8,0],[10.5,21],[8,32],[2.5,36],[0,37]],$fn=60); translate([0,0,-3]) cylinder(h=6,r1=15,r2=15,center = true); translate([0,0,13]) cylinder(h=34,r1=7.1,r2=7.1,center = true); translate([0,0,31.5]) cylinder(h=3,r1=7.1,r2=5,center = true); ...
glb/cad_08771997c72d.glb
Create a yarn disc for a sewing machine by constructing a truncated cone with a central hole. The main body is a cone with a height of 4mm, featuring a large base diameter of 23.8mm and a smaller top diameter of 14.8mm. Center the shape on the origin. Remove a cylindrical hole from the center of the cone with a diamete...
diameter_small = 15; diameter_large = 24; diameter_hole = 5.12; minkowski(){ difference(){ cylinder($fn=360, h=4, d1= diameter_large - 0.2, d2=diameter_small -0.2, center = true); translate([0,0,1]) cylinder($fn=0, h=6, d1=diameter_hole + 0.2, d2=diameter_hole + 0.2, center = true); } sphere(0.1); }
glb/cad_a115c54af52b.glb
Create an upside-down stand for dishwashing liquid bottles. Start by creating a main hollow cylinder with an outer radius of 20mm and a height of 32mm, centered at a height of 16mm. Hollow out the center of this cylinder by removing a smaller cylinder with a bottom radius of 15.25mm and a top radius of 16.5mm, also 32m...
$fn=360; union(){ difference(){ translate([25,25,16]) cylinder(32,r1=20,r2=20,center=true); translate([25,25,18]) cylinder(32,r1=15.25,r2=16.5,center=true); translate([25,25,5]) cylinder(6,r1=17,r2=15,center=true); } translate ([25,25,1]) cylinder (2,25,25,center = true); }
glb/cad_f39fd1fdbf27.glb
Create a mounting plate for a BIGTREETECH GTR V1.0 and two mosfets. The base consists of three main sections joined together. First, create two identical MOSFET holders. Each is a rectangular plate measuring 65mm by 55mm with a thickness of 2mm. In each holder, remove a central rectangular cutout of 45mm by 35mm with...
$fn = 60; difference(){ union(){ MOSFet(x=0,y=0,z=0); MOSFet(x=0,y=75,z=0); GTR(x=75,y=0,z=0); translate([60,0,0]) cube([180,10,2], false); translate([60,87,0]) cube([180,10,2], false); translate([55,50,0]) cube([10,30,2], false); translate([0,50,0]) cube([10,30,...
glb/cad_78c3d8a06b8f.glb
Create a stand for a Libratone Zipp Mini by constructing a thick-walled, hollowed-out circular base. The overall object is a revolved shape with an outer diameter of 190mm and a total height of 57mm. The interior features a central cylindrical void with a diameter of 102mm. The cross-section of the wall is a semi-circl...
outer_radius = 95; inner_radius = 51; height = 57; segments = 360; outer_diameter = 2 * outer_radius; border = outer_radius - inner_radius; color("red") translate([0, 0, 0]) resize([outer_diameter, outer_diameter, height]) rotate_extrude( $fn = segments) translate([inner_radius, ...
glb/cad_536aeed30459.glb
Create a filament color sample holder. Start with a central rectangular block that is 20mm wide, 7mm thick, and 13mm high. Round the two opposite vertical ends of this block by adding half-cylinders with a radius of 3.5mm and a height of 13mm, centered on the ends of the rectangle. From this combined shape, remove two...
$fn = 100; module edge(radius, height) { difference() { translate([radius/2-0.5, radius/2-0.5, 0]) cube([radius+1, radius+1, height], center = true); translate([radius, radius, 0]) cylinder(h = height+1, r1 = radius, r2 = radius, center = true); } } module color_sample(length, width, thickness) { diffe...
glb/cad_a56e574777ec.glb
Create a Tefifon replacement mat. Start with a base plate that is 120mm long, 104mm wide, and 0.9mm thick. The base should have rounded corners with a radius of 6mm and a slight bevel of 0.3mm on the top and bottom edges. Center a large circular hole with a diameter of 35mm through the middle of the base. On the top s...
include <lib_markus.scad> matStl(); module testStl() { intersection() { rotate([0,0,-45]) mat(); translate([-6,50,0]) rotate([0,0,-45]) cube(size=[50,50,10], center=true); } } module matStl() { rotate([0,0,-90]) mat(); } module mat() { baseThickness = 1.2-0.3; diameter = 2; maxThickness = baseT...
glb/cad_841570173ed1.glb
Create a foot pedal switch housing with overall dimensions of 100mm in length, 70mm in width, and approximately 33.3mm in height. The main body is a hollowed-out shell with a wall thickness of 4mm. The base and sides should be formed by a hull connecting three cylinders of radius 5mm: two positioned at the ends of the ...
w = 70; l = 100; spikes = 2; h = l/3; wall = l/25; FootSwitch(); module FootSwitch(){ difference(){ union(){ obvod(l,w,wall); SpikesField(l,w); } translate([0,0,-1]) obvod(l,w+2,0); translate([0,0,-1]) rotate([0,0,10]) cube([l+2*wall,l/20,w+2]); ...
glb/cad_74466753fe89.glb
Create a parametric instrument control knob. Start with a base cylinder 90mm in diameter and 2mm high. On top of this base, add a second cylinder that tapers from a 90mm diameter at its bottom to a 70mm diameter at its top, with a height of 5mm. Above this tapered section, place a third cylinder 70mm in diameter and 25...
$fn = 200; A = 90; B = 70; C = 25; D = 6; knob(A,B,C,D); module knob(outD, inD, H, axisD){ difference() { union(){ translate([0, 0, 2]) cylinder(h=5, r1=outD/2, r2=inD/2, center=false); cylinder(h=2, r=outD/2, center=false); cylinder(h=H, r=inD/2, center=false); } translate([0, 0, ...
glb/cad_95e10f2f9cde.glb
Create an O-ring for a card shuffler by constructing a flat, ring-shaped cylinder. Start with a solid cylinder that has an outer diameter of 18mm and a height of 2mm. Centered within this volume, remove a smaller concentric cylinder with a diameter of 12mm and the same height of 2mm to create a hollow circular channel....
$fn=200; difference(){ cylinder(2,18/2,18/2); cylinder(2,12/2,12/2); }
glb/cad_0cc325783452.glb
Create an Old World Base Extender designed to increase a 20mm square base to 25mm. Start by creating a solid square prism with a height of 3.5mm and a base width of 25mm. The side walls should taper slightly inward toward the top, where the top width is 17.5mm. Hollow out the center of this prism by removing a smaller...
sf = 1; t = 0.8 ; bh = 3.5 ; bx = 19.72 ; btx = 17.5 ; by = 19.72 ; bty = 17.5 ; nx = 25 ; ny = 25 ; br = (bx+t)/2 ; btr = (btx+t)/2 ; bth = bh+t ; nxr = nx/2 ; ntxr = (nx-bx+btx)/2 ; module squarebase(height,radius1,radius2){ fudge = 1/cos(180/4); cylinder(h=height,r1=radius1*fudge,r2=radius2*fudge,$fn=4);} ...
glb/cad_803462e767a1.glb
Create a strong fixed cable holder consisting of a base and a removable clip. The design is centered around a cable diameter of 12mm and a total length of 25mm. First, construct the base. Create a solid body by forming a hull between two cylinders with a diameter of 18mm (cable diameter plus two 3mm walls) and a heigh...
CableDia = 12; NR = 2.5; ZZ = 25; WALL = 3; translate([0,-2*CableDia,0]) clip(); base(); module clip(){ difference(){ hull(){ translate([WALL/2-WALL,WALL/2,0]) cylinder(h=ZZ, d=CableDia+2*WALL, center=false, $fn=50); translate([CableDia*(NR-1)-WALL/2+WALL,WALL/2,0]) cylinder(h=ZZ, ...
glb/cad_2db5f565ed97.glb
Create a wire-rope antenna egg insulator by starting with a main cylinder that has a radius of 15mm and a total height of 60mm, centered on the origin. To create the internal channels for the wire, remove a torus-shaped volume from the center of the cylinder. This torus should have a major radius of 15mm and a minor tu...
wire = 10; dia = wire*3; $fn=50; difference() { cylinder(h = dia*2, r=dia/2, center =true); translate([0,0,-dia/3+dia/6]) {uring(dia);} rotate ([180,0,90]) {translate([0,0,-dia/3+dia/6]) {uring(dia);}} } module uring(x) { difference() { rotate (90, [1,0,0]) { rotate_extrude(convexity = 1, $fn = 50) { t...
glb/cad_51976e05c41c.glb
Create a support bracket for a game console HDMI adapter. Start with a main rectangular block measuring 48mm wide, 18mm deep, and 68mm high. At the bottom of the block, carve out a large rectangular void that is 60mm wide, 20mm deep, and 28mm high, centered horizontally. On the top surface, create a vertical channel ...
module stamp() { d_handle = 150; translate([10 - 5, 85, (25.5 + 14.5) / 2 + 21]) %cylinder(25.5, d = d_handle, center = true, $fn = 180); translate([10 - 5, 85, (25.5 + 14.5) / 2 + 21 - 5]) difference() { cylinder(25.5 + 10, d = d_handle, center = true, $fn = 180); cylinder(25.5 + ...
glb/cad_66239d94597e.glb
Create a 90-degree angled housing for a D-sub connector. The main body is based on a pitch of 47mm. Construct the primary enclosure by combining a rectangular base measuring 57.4mm in width and 10mm in depth with a rounded upper section. This upper section is formed by a hull connecting a central rectangular block (4...
DsubPITCH = 47; Cable_DIAMETER = 5; Depth_EXPAND = 4; Dsub(DsubPITCH, 12.55/2, Cable_DIAMETER, Depth_EXPAND, 6); translate([0,-10,0]) mirror([0,1,0]) Dsub(DsubPITCH, 12.55/2, Cable_DIAMETER, Depth_EXPAND, 50); $fn=50; module Dsub(pitch, ZZ, DIA, SHIFT, XFN){ difference(){ union(){ difference...
glb/cad_f0bdeafbbaa1.glb
Create a NanoVNA parametric enclosure consisting of a hollow rectangular box with a wall thickness of 2mm. The main outer body has dimensions of 79.5mm in length and 48mm in width, with a height of 13mm. The enclosure features a hollowed-out interior to fit the device, with the inner cavity mirroring the outer dimens...
BottomExpand = 0; WallThickness = 2; if (BottomExpand>5){ box(79.5, 48, WallThickness, BottomExpand, 13+1.5); }else{ box(79.5, 48, WallThickness, BottomExpand, 13); } if (BottomExpand==0){ color([1,1,1]) Support(79.5, 2, 11.5+1.5); } module box(xx, yy, wall, zz, VnaZ){ difference(){ union()...
glb/cad_58aedbac0f93.glb
Create a VHF Yagi antenna insulator. Start with a central cylindrical body of radius 6.15mm and a height of 42.7mm. Expand this central shape into a hull that incorporates four smaller cylinders of radius 3.075mm, positioned to create a rounded, elongated profile. Cut a vertical hole through the center of the model wi...
$fn=200; element=12.3; boom=30.5; screw=4.5; head=1.8*screw; sign = " 12"; fontsize=8; width=boom*1.4; distance=element+2*screw; difference(){ hull(){ cylinder(h=width,r=0.6*element+element/4, center=true); translate([-0.6*element,-0.6*element-boom*0.2,0]) cylinder(h=width,r=element/4, center=true); ...
glb/cad_df8375cb896c.glb
Create a VHF Yagi antenna insulator designed to mount a 12mm diameter element to a 30.5mm square boom. Start with a central cylindrical body with a radius of 9mm and a total height of 42.7mm (1.4 times the boom width). Through the center of this cylinder, create a vertical hole with a diameter of 6.2mm to accommodate...
$fn=200; element=12.0; boom=30.5; screw=6.2; head=10; sign = ""; fontsize=8; width=boom*1.4; distance=element+2*screw; isolation = 15; translate([0,190,15]) rotate([0,90,0]) rotate([0,0,90]) single(); dipole(1.5*distance, distance/2); translate([-47,100,-20]) rotate([0,0,-90]) yagi_rahno(60); module dipole(XX, YY){...
glb/cad_794c55247792.glb
Create a DIN rail mount clip with a total height of 8mm. The main body is a rectangular base with a complex profile designed to snap onto a rail. Construct the main clip body using a combination of rounded edges and rectangular sections. The overall length is 45mm. On the bottom side, create a central rectangular cut...
expected_measurement = 8; actual_measurement = 8; gain_adjust = expected_measurement / actual_measurement; plate_thickness = 1; mount_hole_spacing = 35; mount_screw_length = 10; mount_screw_thread_diameter = 5; mount_nut_width = 8; mount_nut_height = 4; lock_screw_length = 8; lock_screw_thread_diameter = 3 * gain_adj...
glb/cad_0bba5d4e1f21.glb
Create a DIN rail mount clip with a total height of 7mm. The main body is a rectangular base with a complex profile designed to snap onto a rail. Start with a base that extends to a length of 45mm. Incorporate two mounting holes for screws with a radius of 1.7mm. Position the first hole centered at a height of 10.5mm...
distance = 35; identation = 3; $fn=50; width = 7; screw = 1.7; expand = 1; long = 45; din(); module din(){ difference() { union() { hull() { translate([15+expand,long-2,0]) {cylinder(h=width, r=2, center=false);} translate([12+expand,37.5,0]) {cube([5,1,width], center=false);} ...
glb/cad_586d54aab6e8.glb
Create a tube clip-holder-mount with a total height of 7mm. The main body is a rectangular block with rounded corners, measuring 22mm in width and 28mm in length. The corners should have a fillet radius of 4mm. At the center of the block, carve out a horizontal cylindrical tunnel with a diameter of 16mm that runs thro...
$fn=50; sroub=6; trubka=16; lamela=4; mezera=2; stena=2; echo(str("=======================")); echo(str("Added values:")); echo(str(sroub, " mm - Screw hole diameter")); echo(str(trubka, " mm - Pipe diameter")); echo(str(lamela, " mm - Lamella thickness")); echo(str(mezera, " mm - Space between lamela")); echo(str(ste...
glb/cad_b93ed33194e4.glb
Create a car trashcan seal by constructing a partial hollow cylinder with a height of 7.25mm. The shape is a curved ring segment covering 60% of a full circle. The outer diameter of the ring is 97mm and the inner diameter is 88mm, resulting in a wall thickness of 4.5mm. The cross-section of the seal is a rectangle, cre...
seal_height = 7.25; seal_lid_diameter = 97; seal_bottom_diameter = 88; seal_thickness = 1.5; seal_percentage = 0.60; module pieSlice(a, r, h){ rotate_extrude(angle=a) square([r,h]); } intersection() { difference(){ cylinder( d=seal_lid_diameter + seal_thickness * 2, h=seal_height + seal_thickness *...
glb/cad_a46ac7880ef7.glb
Create an adjustable bathroom tray by starting with a solid rectangular block that is 130mm wide, 80mm deep, and 20mm high. From this main volume, remove a smaller rectangular section from the top to create a hollow shell. This interior cutout should begin 5mm from the bottom surface and maintain a wall thickness of 4m...
shelfOuterWidth = 130; shelfOuterDepth = 80 ; shelfOuterHeight = 20; wallThickness = 4; baseThickness = 5; shellInnerWidth = shelfOuterWidth - wallThickness*2; shellInnerDepth = shelfOuterDepth - wallThickness*2; difference () { cube([shelfOuterWidth, shelfOuterDepth, shelfOuterHeight]); translate ([wallTh...
glb/cad_f1cef538e011.glb
Create a board tray for the game Azul: Stained Glass of Sintra. Start with a solid rectangular base measuring 246.1 mm in width, 239.2 mm in depth, and 3 mm in height. Carve out a large central rectangular cavity starting from the top surface, leaving a bottom thickness of 0.9 mm and walls of 1.2 mm on all sides. Thi...
board_w = 240.5; board_d = 234; padding = 1; num_tiles = 8; tile_w = board_w / num_tiles; tray_bot_h = 0.3 * 3; tray_wal_h = 3; tray_wal_wdth = 0.6 * 2; finger_hole_r = tile_w / 3.5; cavity_w = tile_w; cavity_d = (board_d - (finger_hole_r - tray_wal_wdth - padding)) / 7; cavity_padding = 0.6 * 3; difference() { ...
glb/cad_622856049149.glb
Create a Speedball Brayer Holder by constructing a solid block with a rectangular base and a slightly tapered top. The base should be a rectangle measuring 144mm by 47mm with a height of 35mm. The top surface of the block should be a slightly smaller rectangle measuring 134mm by 32mm, creating a hull-like shape that co...
$fn=100; dimX = 134; dimY = 32; dimZ = 35; padding = 0.1; difference() { hull() { translate([0,0,dimZ/2]) cube([dimX,dimY,1], center=true); translate([0,0,-dimZ/2]) cube([dimX+10,dimY+15,1], center=true); } translate([-52,0,3]) cylinder(d=26.25, h=dimZ+padding, center=...
glb/cad_e1a06adcd027.glb
Create a Bessey Undermount Clamp Storage bracket by starting with a solid rectangular block that is 14.28mm wide, 31.75mm high, and 38mm deep. From the center of the top face, remove a vertical slot to create a void. This void is formed by two intersecting rectangular prisms: one measuring 6.5mm by 22.225mm and another...
slots_right = 0; slots_left = 0; mounting_slots_left = 0; mounting_slots_right = 0; mounting_slots_center = 0; rack_width = 14.28; rack_height = 31.75; rack_depth = 38; total_width = rack_width+rack_width*slots_right+rack_width*slots_left+rack_width*mounting_slots_left+rack_width*mounting_slots_right; module slot() { ...
glb/cad_d3e4e046e4ed.glb
Create a set of three wargame templates, each with a uniform thickness of 2mm. First, create a small blast template by making a ring with an outer diameter of 73.81mm and an inner hole with a diameter of 25.4mm. Second, create a large blast template by making a ring with an outer diameter of 124.46mm and an inner hole ...
$fn = 360; $vpr = [0, 0, 0]; translate([0, -70, 0]) flame(2, 8.1875*25.4, 2.4*25.4, 9.9); translate([65, -10, 0]) blast(2, 2.9*25.4, 9.9); translate([-40, 40, 0]) blast(2, 4.9*25.4, 9.9); module flame (thickness = 2, length = 205, d1 = 60, d2 = 10) { hull () { translate([-length/2 + d1/2, 0, 0]) cylin...
glb/cad_9063a01b7931.glb
Create a card box for Uno by constructing a rectangular container with walls 5mm thick. The outer dimensions of the box should be 67mm wide, 93mm deep, and 85mm tall. The structure consists of a base plate 5mm thick, two side walls 5mm thick running along the depth, and a front and back wall 5mm thick running along the...
esp = 5; comp_menor_base = 67; comp_maior_base = 93; altura = 80+esp; difference(){ union(){ cube([comp_menor_base,comp_maior_base,esp]); cube([comp_menor_base,esp,altura]); translate([0,comp_maior_base-esp,0]) cube([comp_menor_base,esp,altura]); translate([comp_menor_b...
glb/cad_166af2ef6ea7.glb
Create a card box for Uno consisting of a rectangular base and walls with a consistent thickness of 5mm. Start with a base plate measuring 67mm by 93mm and 5mm in height. Construct the outer perimeter by adding walls 15mm high: two side walls along the 93mm length, a front wall, and a back wall, all 5mm thick. Divide t...
esp = 5; comp_menor_base = 67; comp_maior_base = 93; altura = 10+esp; union(){ cube([comp_menor_base,comp_maior_base,esp]); cube([comp_menor_base,esp,altura]); translate([0,comp_maior_base-esp,0]) cube([comp_menor_base,esp,altura]); translate([comp_menor_base-esp,0,0]) cube([esp,comp_maior_...
glb/cad_952124c38725.glb
Create a Connect Four 3D game consisting of a base board, octagonal rods, and game pieces. Construct the board as a flat plate 12mm thick. For a 5x5 configuration, arrange a grid of 25 holes spaced 36mm apart, with an 18mm margin from the outer edge. Each hole is a countersunk octagonal cutout designed to hold a rod;...
include <lib_markus.scad> rodDiameter = 7.2; rodThickness = 1.14; boardHeight = 12; boardHolesDiameter = rodDiameter+0.16; rodDistance = 36-0.2; rodToBorderDistance = 18; boardSize = 5; x0 = (1-boardSize)/2 * rodDistance; y0 = (1-boardSize)/2 * rodDistance; color([0.9,0.6,0.6]) board(size=boardSize); for (z=[1:boa...
glb/cad_58fb54212497.glb
Create an RV12iS Spinner Plate Spacer by constructing a curved wall section with a height of 19mm. Start with a solid cylinder that has an outer radius of 118.7mm and a height of 19mm. From this volume, remove a concentric inner cylinder with a radius of 106mm to create a hollow tube with a wall thickness of 12.7mm. To...
holeExtraDiameter=0.5; overlap=0.05; $fa=2; $fs=0.2; layerHeight=0.25; innerRadius=106; outerRadius=innerRadius+12.7; height=19; halfAngle=asin(62/(2*outerRadius)); difference() { cylinder(r=outerRadius,h=height); translate([0,0,-overlap]) union() { cylinder(r=innerRadius,h=height+2*overla...
glb/cad_a27ebf8e871a.glb
Create an RV12iS ELT panel switch hole blanking plate. Start with a rectangular base plate measuring 53mm wide by 20mm high with a thickness of 1.25mm. Apply a corner radius of 2mm to all four corners of this base. Centered on the base, add a second rectangular raised section that is 40mm wide by 17mm high with a thick...
height=20; width=53; screwSpacingH=12.5; screwSpacingW=46; centreH=17; centreW=40; screwHoleDiameter=3; frontThickness=1.25; cutoutThickness=1.5; cornerRadius=2; holeExtraDiameter=0.5; overlap=0.05; $fa=2; $fs=0.2; layerHeight=0.25; module roundedPlate(h,w,r,t) { hull() { translate([-(w/2-r),+(h/2-r),0]) ...
glb/cad_0056817b4659.glb
Create a parametric scoop consisting of a cylindrical vessel and an attached handle. First, construct the vessel as a hollow cylinder with a height of 15mm and an outer diameter of 24mm. The walls should be 2mm thick, leaving an inner cavity with a diameter of 20mm and a depth of 13mm, creating a flat-bottomed cup. Att...
$fn = 100; vessel_height = 15; diameter = 20; handle_length = 130; wall_thickness = 2; module create_hull() { rotate([0,180,0]) { difference() { cylinder(vessel_height,diameter,diameter+(2*wall_thickness),false); translate([0,0,2]) { cylinder(vessel_height,diameter-wall_thickness,diameter+wall_...
glb/cad_d07e9a0c1823.glb
Create a shelf pin jig alignment peg consisting of two stacked coaxial cylinders. First, create a wide base cylinder with a diameter of 9.525mm and a height of 10mm. Centered on top of this base, add a narrower cylinder with a diameter of 6.35mm and a height of 15mm. Both components should be rendered as octagonal pris...
cylinder(d=6.35, h=15); cylinder(d=9.525, h=10);
glb/cad_00a69e49d569.glb
Create a V3 Minimal Spool Holder System consisting of a central hub and supporting frames. Start by constructing the hub: create a cylinder with a diameter of 56.5mm and a height of 62mm. Add a thin flange at the bottom of this cylinder with a diameter of 62.5mm and a height of 2mm. Bore two holes into the top and bott...
$SpoolHubDiameter = 56.5; $FrameTubeLength = 75; $hubDiameter = $SpoolHubDiameter; $flangeLip = 3; $flangeHeight = 2; $bearingDiameter = 22; $bearingThickness = 7; $bearingDepth = 5; $shimThickness = 0.5; $clearance = 0.05; $hubHeight = $FrameTubeLength - 4 - 2*$bearingThickness + 2*$bearingDepth; difference() { ...
glb/cad_51860b4ab723.glb
Create a V3 Minimal Spool Holder System consisting of a central hub and matching threaded caps. First, construct the main hub. Create a cylinder with a diameter of 56.75mm and a total length of 66.5mm (calculated as the frame tube length of 75mm minus two bearing heights). Add a thin flange around the center of the h...
include <threads.scad> $SpoolHubDiameter = 56.75; $FrameTubeLength = 75; $hubDiameter = $SpoolHubDiameter; $flangeLip = 3; $flangeHeight = 1; $bearingDiameter = 22.05; $bearingHeight = 7; $hubLength = $FrameTubeLength - 4 - (($bearingHeight* 0.25)*2) ; $clearance = 0.05; difference() { translate([0,0,0]) { ...
glb/cad_bdad1af5419f.glb
Create a Harrison M250 lathe change gear with 45 teeth. The gear should be a spur gear with a module of 1.5, a width of 10mm, and a pressure angle of 20 degrees. At the center of the gear, create a cylindrical bore with a diameter of 5mm. Within this bore, incorporate a hub feature to fit the lathe shaft. This hub con...
Module = 1.5; width = 10.0; teeth = 45; hub_clearance = 0.05; module customizer_separator() {} optimized = false; pressure_angle = 20; clearance = 0.05; $fn = 96; pi = 3.14159; rad = 57.29578; spiel = clearance; function grad(gPressureAngle) = gPressureAngle*rad; function radian(gPressureAngle) = gPressureAngl...
glb/cad_f9dd8546eae2.glb
Create a game organizer insert by starting with a base rounded rectangular block measuring 142.4mm in length, 94.2mm in width, and 11.6mm in height, with corner radii of 3mm. From this base, carve out three distinct recessed sections. First, create two identical rectangular voids measuring 50mm by 50mm with a depth of ...
$fn=50; difference(){ roundedCube(142.4,94.2,11.6); translate([16.2,2,1]) roundedCube(50,50,15); translate([41.2,0,-1]) rotate([0,0,0]) cylinder(h=400, d=25, center=false); translate([76.2,2,3.2]) roundedCube(50,50,15); translate([101.2,0,-1]) rotate([0,0,0]) cylinder(h=400, d=25, center=false); translate([11.2,1...
glb/cad_4e5eefe7c48f.glb
Create a game organizer insert for Terraforming Mars: Ares Expedition. Start by creating a rectangular base plate measuring 100mm in length, 68mm in width, and 2.7mm in height. From this base, remove a large central semi-circular cutout with a diameter of 65mm, centered along the width at the rear edge, to create a fin...
$fn=200; difference(){ translate([4.1,0,0]) cube([95.8,68,2.7]); translate([4.1,0,0]) cube([3,52,10]); translate([96.9,0,0]) cube([3,52,10]); translate([52,68,-1]) rotate([0,0,0]) cylinder(h=400, d=65, center=false); translate([12.6,60,-1]) rotate([0,0,0]) linear_extrude(250) difference(){square(8);circle(8);} t...
glb/cad_60409d5e13b5.glb
Create a rectangular organizer tray for the Terraforming Mars: Ares Expedition game. Start by creating a solid block measuring 63.3mm in length, 47.9mm in width, and 11.6mm in height. Apply a corner radius of 3mm to all vertical edges of this block to round the exterior. From the top face, remove a central rectangular ...
$fn=50; difference(){ roundedCube(63.3,47.9,11.6); translate([10,10,9]) minkowski(){ cube([43.3,27.9,23]); sphere(r=8); } } module roundedCube(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_d09adf5b0aae.glb
Create a game organizer insert for the Terraforming Mars: Ares Expedition board game. Start by creating a main rectangular block with dimensions 95.8mm in width, 42.8mm in depth, and 73.5mm in height, ensuring the corners are rounded with a 3mm radius. From this main block, remove a smaller rectangular section measur...
$fn=200; difference(){ translate([2.5,0,0]) roundedCube(95.8,42.8,73.5); translate([4.9,2.4,1]) cube([91,38,100]); translate([50.4,250,73.2]) rotate([90,0,0]) cylinder(h=400, d=65, center=false); translate([11,240,65.5]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([89.9,240,6...
glb/cad_df64374bed2c.glb
Create a game organizer insert for Terraforming Mars: Ares Expedition. Start by creating a main outer block with a width of 95.8mm, a depth of 65.8mm, and a height of 73.5mm, ensuring the corners are rounded with a 3mm radius. From the top of this block, remove a rectangular section measuring 91mm by 61mm and 100mm dee...
$fn=200; difference(){ translate([2.5,0,0]) roundedCube(95.8,65.8,73.5); translate([4.9,2.4,1]) cube([91,61,100]); translate([50.4,250,73.5]) rotate([90,0,0]) cylinder(h=400, d=65, center=false); translate([11,240,65.5]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([89.9,240,6...
glb/cad_1dbab329fb31.glb
Create a card organizer insert for the Terraforming Mars: Ares Expedition game. Start by creating a main rectangular block with dimensions 95.8mm in width, 24.8mm in depth, and 73.5mm in height, ensuring the corners are rounded with a 3mm radius. From this main block, remove a central rectangular volume measuring 91m...
$fn=200; difference(){ translate([2.5,0,0]) roundedCube(95.8,24.8,73.5); translate([4.9,2.4,1]) cube([91,20,100]); translate([50.4,250,73.5]) rotate([90,0,0]) cylinder(h=400, d=65, center=false); translate([11,240,65.5]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([89.9,240,6...
glb/cad_a1de447e169b.glb
Create a six-sided die for the Royal Game of Ur. Start by constructing a central hexagonal prism with a radius of 5.5mm and a height of 14mm. Cap both the top and bottom of this central prism with smaller hexagonal prisms, each having a radius of 4mm and a height of 2mm. Use a Minkowski sum with a sphere of radius 2mm ...
htot = 18; hend = 2; hmid = htot - 2 * hend; sides = 6; rmid = 5.5; rend = 4; difference () { translate ([0, 0, 2]) rotate ([0, 0, 360/sides * 1/2]) minkowski () { hull () { cylinder (r = rend, h = hend, $fn = sides); translate ([0, 0, hend]) cylin...
glb/cad_71880669c400.glb
Create a pipe adapter consisting of two main cylindrical sections connected by a short transition. The first section has an outer diameter of 115mm and a wall thickness of 6mm. It starts with a 10mm long internal taper that narrows from an inner diameter of 103mm down to 103mm (the inner diameter of the wall), follow...
transition_length = 10; circle_sections = 360; show_real_part = true; from_od = 115; from_wall_thickness = 6; from_length = 20; from_taper_inside = true; from_taper_length = 10; to_od = 112; to_wall_thickness = 6; to_length = 20; to_taper_inside = true; to_taper_length = 10; cleanup = 0.1; from_id = from_...
glb/cad_13e663857862.glb
Create a parametric conduit connector with a total height of 40 mm and an outer wall thickness of 1.2 mm. The object is a hollow cylinder with an outer diameter of 22.9 mm. The internal cavity is designed to accept two conduits and features a central stop lip. Starting from the bottom, create a cylindrical hole with a ...
d_port = 20.5; h_total = 40; wall = 1.2; lip_protrude = 1.6; h_lip = 1; chamfer = lip_protrude; h_port = (h_total-h_lip-2*chamfer)/2; r_port = d_port/2; r_lip = r_port-lip_protrude; difference(){ cylinder(h=h_total, r=r_port+wall); union(){ translate([0,0,0]) cylinder(h=h_port, r=r_port...
glb/cad_e1517bfba4c7.glb
Create a laundry detergent drip cup holder tray. Start by creating a thin circular ring with an outer diameter of 47.5mm and an inner diameter of 43.5mm, with a thickness of 2mm. From this ring, extend a rectangular base backwards. This base should be 47.5mm wide and 65mm long, with a thickness of 2mm. At the far end...
ring_diameter = 43.5; cup_diameter = 64; cup_height = 60; test_ring_only = 0; ring_thickness = 4; ring_depth = 2; cup_clearance = 5; $fn = 64; difference() { union() { cylinder(h=ring_depth,d=ring_diameter+ring_thickness); if (test_ring_only == 0){ trans...
glb/cad_4194f9433ed0.glb
Create a Blockmit Cold Wallet Washer Stamping Jig consisting of two separate parts: a base and an indexer plug. For the base, create a rectangular block 35mm wide, 41mm long, and 15mm high. Centered within this block, remove a cylindrical cavity with a diameter of 28mm and a depth of 13mm. At the bottom of this cavity...
$generate_base_stl = "yes"; $generate_indexer_stl = "yes"; $washer_diameter = 24; $washer_hole_diameter = 8; $washer_thickness = 2; $base_width = 35; $base_length = 41; $indexer_depth = 13; $spline_length = 32; $spline_width = 2.8; $cylinder_diameter = 28; $handle_length = 8; $handle_diameter = 5; $tool_hole_width ...
glb/cad_7594331a0ced.glb
Create a monogrammed name tag clip for a headset. Start by constructing a main rectangular base that is 20mm thick, 26mm wide, and 2mm deep. Add two side walls to this base, each 20mm high, 2mm wide, and 5mm thick, positioned at the left and right edges of the base. On the top surface of the base, create two small rect...
$Monogram_Initials = "DAD"; module prism(l, w, h){ polyhedron( points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]] ); } rotate([0,0,90]) difference(){ union(){ cube([2,26,20]); translate([0,-2,0]) c...
glb/cad_3a95ff29964e.glb
Create a Table Desk Cable Management Clip. Start by constructing a hollow cylindrical coil with an outside diameter of 40mm and a wall thickness of 2mm. The cylinder should have a height of 20mm and a 3mm gap cut through one side to allow cables to enter. Attached to the base of this coil, extend a flat rectangular ar...
$desk_thickness = 16; $clip_tension = 2; $clip_width = 20; $top_lip = 40; $curl_outside_diameter = 40; $clip_heft = 2; $coil_gap = 3; $glue_dot = 1; $glue_dot_depth = 0.2; $glue_dot_diameter = 14; $clip_gap = ($desk_thickness - $clip_tension); $fn = 64 + 0; difference() { cylinder(h = $clip_width, d = $c...
glb/cad_41d8986ea684.glb
Create a Kegerator Pressure Regulator Dial. Start with a main cylindrical body that has a radius of 25mm and a height of 12mm, featuring rounded edges with a 2mm fillet radius. Carve a keyhole-shaped void through the center of the dial to accommodate a screw. This void consists of a circular head with a radius of 6.5...
knob(); module knob(){ difference(){ roundedCylinder(r=25,h=12,fr=2,$fn=20); translate([0,0,2]){screwHead(13/2, 8/2, 15);} translate([13,0,2]){screwHead(13/2,13/2, 0);} translate([0,0,-15]){screwHead(13/2,13/2, 0);} translate([-15,0,-1]){rotate([0,0,180]){cylinder(r=5,h=2,$...
glb/cad_5458a6fa14a9.glb
Create a Breville Infuser Dual Double-wall Espresso Cup Holder. Start by designing a single half of the holder and then mirroring it across the Y-axis to create the full symmetrical piece. For one half, create a base plate 2mm thick. On this plate, center a circular ring with an outer diameter of 42mm and an inner diam...
$fn =64; drain_hole_d=17; drain_hole_h=6; drain_hole_spacing=13.4; cup_base_d=38; cup_diameter=60; cup_ring=4; baseplate_h=2; module model_half() { difference(){ union(){ translate([cup_diameter/2,0,0]) cylinder(d=cup_base_d+cup_ring, h=baseplate_h); translate([0,-drain_hole_d/2,0]...
glb/cad_7c00116f894d.glb
Create a parametric riser for a filament guide consisting of two identical rectangular bases connected by a central vertical pillar. Each base is 40mm long, 21mm wide, and 8mm thick. The four corners of each base are rounded with a 3.5mm radius. Centered along the length of each base, place two holes spaced 20mm apar...
width = 21; length = 40; base_thickness = 8; corner = 3.5; height = 100; riser_type = "round"; riser_length = 16; riser_round_diameter = 15; riser_round_centerx = 10; riser_thickness = 4; riser_angle = 45; hole = 4.5; hole_distance = 20; bolt_hole = 8.5; bolt_height = 4; nut_hole = 8.1; nut_height = 4; $epsilon ...
glb/cad_db536e4b6abc.glb
Create a silencer for an airgun consisting of a barrel clamp and a stack of five internal chambers. Start with a clamp base that has a central bore of 18.2mm in diameter and a total height of 31mm. The base should transition from the 18.2mm bore to an outer radius of 17mm. On one side of this base, integrate a rectan...
clearance=0.2; segment_height=17; silencer_rad=17; wallthickness=3.8; calibre=4.6+clearance; chamfer=1.2; segments=5; adaptor_len=31; clamp_len=14; barrel_dia=18+clearance; module silencer_segment() { difference () { union () { cylinder(h=chamfer, r2=silencer_rad, r1=silencer_rad-chamfer); translate ([0,0,c...
glb/cad_6d5b637de643.glb