Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a PicoMemCard shell for an RP2040Zero. Start with a main body formed by the union of two overlapping rectangular prisms: one measuring 42mm x 50mm x 7.3mm and another measuring 38mm x 50mm x 7.3mm shifted 2mm along the X-axis, creating a hull-like base. Carve out a contact area at the front by removing a recta...
union(){ scale([0.2,0.2,0.2]) mirror([1,0,0])difference(){ hull(){ translate([0,2*5,0])cube([42*5,50*5,7.3*5]); translate([2*5,0,0]) cube([38*5,50*5,7.3*5]); } translate([7*5,-1,1.6*5]) cube([28*5,22*5,7.3*5]); translate([7*5,-1,3.3*5]) cube([28*5,80*5,7.3*5]); translate([40.72*5,-...
glb/cad_e2031f87da67.glb
Create a planter with a total height of 100mm and a radius of 50mm. The main body is formed by nine identical vertical segments arranged in a circular pattern around the center axis. Each segment is based on a geometric shape that is 10mm wide and 22mm deep, scaled by a factor of 2. These segments are positioned at a r...
module shape(){ resize([10,22,10]){ translate([1,0,0]){ offset(r = 1, $fn = 100){ scale(5){ polygon(points=[[0,1],[1,0],[0,-1]]); } } } } } num = 8; scal = 2; height = 100; slopeHeight = 10; radius = 50; for(i = [0:num]){ ...
glb/cad_ee93cd635c78.glb
Create a parametric PC fan duct for two 120mm fans. Start with a mounting plate 1.5mm thick. The plate's outer boundary is a rounded rectangle enclosing two 120mm fan areas, with a wall thickness of 2mm. Within this plate, create two circular cutouts with a diameter of 116mm for the fans. At the four corners of the ove...
num_fans = 2; fan_size = 120; fan_hole_size = 116; hole_spacing = 105; hole_diameter = 4.3; slot = true; plate_thickness = 1.5; wall_thickness = 2; reinforcement = true; module duct_out() { square([207, 80]); } module cutouts() { translate([87.5, 0, full_height - 5]) cube([17, 150, 5]); tr...
glb/cad_e94182693adc.glb
Create a parametric tag label. Start by constructing a base shape that is the convex hull of a cylinder with a radius of 4mm and a height of 2mm, and a rectangular block with a width of 10mm and a height of 2mm, positioned at [4, -5, 0] with a length that scales to 80% of the text width plus 2.5mm. From this base, remo...
$fn = $preview ? 60 : 180; text = "HEMOSTASIS"; tm = textmetrics( text, size = 6, font = "Liberation Sans:style=bold" ); difference() { union() { difference() { hull() { cylinder( 2, r = 4 ); translate( [ 4, -5, 0 ] ) cube( [ ( ( 0.8 * round( tm.size[0] ) ) + 2.5 ), 10, 2 ] ); } translate( [ ...
glb/cad_58b9a27e4c71.glb
Create a parametric tag label with a total length of 46mm and a thickness of 2mm. Start by forming the main body using a hull operation that connects a cylinder with a 4mm radius to a rectangular block measuring 42mm in length and 10mm in width, positioned 4mm along the x-axis and centered on the y-axis. Carve a recess...
$fn = $preview ? 60 : 180; text = "HEMOSTASIS"; length = 46; difference() { union() { difference() { hull() { cylinder( 2, r = 4 ); translate( [ 4, -5, 0 ] ) cube( [ length, 10, 2 ] ); } translate( [ 0, 0, 1.5 ] ) hull() { cylinder( 2, r = 3 ); translate( [ 4.5, -4.5, 0 ] ) cu...
glb/cad_f38334fa7d9a.glb
Create a geometric model called The Angler consisting of two connected rectangular prisms. The first prism must be 60mm long, 2mm wide, and 2mm high, extending from the origin along the X-axis. At the end of this first prism (60, 0, 0), add a second rectangular prism of the exact same dimensions (60mm x 2mm x 2mm). Thi...
rect_length = 60; rect_width = 2; rect_height = 2; connection_angle = 9.95; form_triangle = false; union() { cube([rect_length, rect_width, rect_height]); translate([rect_length, 0, 0]) { rotate([0, 0, connection_angle]) { cube([rect_length, rect_width, rect_height]); } } ...
glb/cad_a0d3f0fd0233.glb
Create a router depth gauge by starting with a rectangular base plate measuring 80mm wide, 65.3mm long, and 5mm thick. Remove a central rectangular channel from this plate to create two outer arms and a connecting bridge; the channel should be 22mm wide and 62.8mm long, leaving a 5mm thick wall on the sides and a 5mm t...
routerdepth=57.8; bridge=22; gaugewidth=80; wall=5; textoffset=(gaugewidth-bridge)/2; difference() { cube([gaugewidth,routerdepth+wall*1.5,wall]); translate([(gaugewidth-bridge)/2,-1,-0.1]) cube([bridge,routerdepth+1,wall+1]); translate([textoffset,routerdepth+1,wall-0.5]) linear_extrude(height=1)...
glb/cad_40026d0a7fff.glb
Create an iPhone 15 Polar Alignment Adapter consisting of a phone cradle and an attached Vixen-style dovetail mount. First, construct a rectangular phone holder. The internal cavity should accommodate a phone of 71.6mm width, 147.6mm height, and 7.8mm depth, adding a 0.5mm clearance to these dimensions. The holder sh...
phone_width = 71.6; phone_height = 147.6; phone_depth = 7.8; phone_clearance = 0.5; camera_bump_width = 70; camera_bump_height = 38; camera_bump_depth_offset = 1; camera_offset_x = 1; camera_offset_y = phone_height - camera_bump_height - 1; holder_wall_thickness = 3; holder_base_thickness = 3; holder_lip_height = 3;...
glb/cad_047874cea9df.glb
Create a bobbin for a 608 bearing by constructing a hollow cylindrical vessel with a base flange. Start by creating a solid cylinder for the base flange with a diameter of 25mm and a height of 2.4mm. On top of this flange, add a second concentric cylinder with a diameter of 23.6mm and a height of 13.6mm, starting from ...
$fn=160; od608=22; id608=8; th608=7; fd=od608+3; fw=2.4; wt=1.6; bobin(); module bobin(){ difference(){ union(){ cylinder(h=fw,r1=fd/2,r2=(od608+wt)/2,center=false); translate([0,0,wt])cylinder(h=2*th608-1,r=(od608+wt)/2,center=false); } cylinder(h=3*th608,r=(od60...
glb/cad_c37c25325fa3.glb
Create a speaker bar grill by starting with a ring that has an inner diameter of 138mm and an outer diameter of 168mm, with a total height of 22mm. Cut this ring into a bar shape by removing two large opposite sections using cubes, and further trim the ends of the bar at 59-degree angles. To reduce sound deflection, re...
$fn = 256; d_inner = 138; d_outer = 168; d_screws = 146; d_screw = 3.5; d_screwcap = 7; screw_sink = 15; screw_count = 12; height = 22; fin_thickness = 3.6; fin_sink = -16; fin_count = 6; fin_angle = 0; r_inner = d_inner / 2; fin_spacing = d_inner / (fin_count + 1); bar_width = 53; bar_cut_thickness = 12; bar_cut...
glb/cad_d5faef1fbe7a.glb
Create a speaker bar grill by starting with a ring that has an outer diameter of 203.1mm, an inner diameter of 168.1mm, and a height of 27mm. Cut this ring into a bar shape by removing two large opposite sections using cubes, and further refine the ends of the bar with angled cuts at 59 degrees. To improve sound flow, ...
$fn = 256; d_inner = 168.1; d_outer = 203.1; d_screws = 177; d_screw = 4; d_screwcap = 7; screw_sink = 10; screw_count = 12; height = 27; fin_thickness = 4.5; fin_sink = -17; fin_count = 6; fin_angle = 0; r_inner = d_inner / 2; fin_spacing = d_inner / (fin_count + 1); bar_width = 53; bar_cut_thickness = 12; bar_c...
glb/cad_5281d2bbae2e.glb
Create a speaker bar grill by starting with a ring that has an inner diameter of 206.2mm, an outer diameter of 241.2mm, and a height of 27mm. Cut this ring into a bar shape by removing two large opposite sections using cubes, and further trim the ends of the bar at 60-degree angles. To improve sound flow, remove a cent...
$fn = 256; d_inner = 206.2; d_outer = 241.2; d_screws = 215; d_screw = 4; d_screwcap = 7; screw_sink = 10; screw_count = 12; height = 27; fin_thickness = 4.5; fin_sink = -17; fin_count = 6; fin_angle = 0; r_inner = d_inner / 2; fin_spacing = d_inner / (fin_count + 1); bar_width = 52; bar_cut_thickness = 12; bar_c...
glb/cad_6c83fe6e0575.glb
Create a speaker bar grill consisting of a curved mounting ring and parallel support fins. Start by creating a ring with an outer diameter of 295mm, an inner diameter of 260mm, and a height of 35mm. Cut this ring into a bar shape by removing two large opposite sections using cubes, and further trim the ends of the ba...
$fn = 256; d_inner = 260; d_outer = 295; d_screws = 269; d_screw = 4; d_screwcap = 7.5; screw_sink = 27; screw_count = 12; height = 35; fin_thickness = 5; fin_sink = -25; fin_count = 6; fin_angle = 0; r_inner = d_inner / 2; fin_spacing = d_inner / (fin_count + 1); bar_width = 52; bar_cut_thickness = 12; bar_cut_w...
glb/cad_c5d8dd542796.glb
Create a speaker bar grill consisting of a curved mounting ring and several parallel cross-bars. Start by creating a ring with an outer diameter of 342.8mm, an inner diameter of 307.8mm, and a height of 37mm. Cut this ring into a bar shape by removing two large opposite segments, leaving a curved arc. Further refine ...
$fn = 256; d_inner = 307.8; d_outer = 342.8; d_screws = 316.5; d_screw = 4; d_screwcap = 7; screw_sink = 10; screw_count = 12; height = 37; fin_thickness = 5; fin_sink = -27; fin_count = 7; fin_angle = 0; r_inner = d_inner / 2; fin_spacing = d_inner / (fin_count + 1); bar_width = 55; bar_cut_thickness = 12; bar_c...
glb/cad_eddc5664b720.glb
Create a thin, flat cylinder to serve as a print bed adhesion mouse ear. The cylinder must have a radius of 2mm and a total height of 0.2mm. Ensure the geometry is rendered with high rotational resolution to appear as a smooth circle.
radius = 2; layerHeight = 0.2; $fn = $preview ? 60 : 180; cylinder( layerHeight, r = radius );
glb/cad_d266e1f5d521.glb
Create a customizable text plate for a sliding sign. Start by constructing the base plate as a rectangular slab with a total width of 110mm and a height of 1.25mm. The profile of this plate is a polygon with a depth of 31.034mm at its thickest point, tapering at the edges to a depth of 28.844mm, creating a slight bevel...
textplateh=1.25; textplatebase=0.85; textplatewidth=110; textplatedepth1=31.034; textplatedepth2=28.844; text1a="niet"; text1b="storen"; text2="kloppen"; size1a=13; size1b=10; size2=10; text1h=textplatebase+(textplateh-textplatebase)/2; text2h=textplateh; textplatebevel=(textplatedepth1-textplatedepth2)/2; rotate([90...
glb/cad_9d9164d7d282.glb
Create a lightweight spool adapter by constructing a tiered cylindrical base. Start with a wide, thin disc 1mm high with a radius of 32.4mm. On top of this disc, add a cylinder 10mm high with a radius of 31.4mm. From the center of this assembly, remove a cylindrical core with a radius of 25.1mm and a height of 25mm. To...
$fn = 64; union() { difference() { union() { cylinder(h = 1, r = 32.4); cylinder(h = 10, r = 31.4); } difference() { color("purple") cylinder(h = 22, r = 30); color("green") cylinder(h = 25, r = 26.1); } color("yellow") cylinder(h = 25, r = 25.1); } ...
glb/cad_1a9f75598240.glb
Create a Bolt Knob consisting of a main cylindrical body and a lower hub. The main body is a cylinder with a diameter of 35mm and a height of 8mm. Around the perimeter of this body, create 5 wings by subtracting 5 circular cylinders, each with a radius of 13mm. These cylinders should be positioned such that they cut in...
bolt_size = "1/4"; override_bolt_head_depth = false; manual_recess_depth = 4.0; bolt_through_hole_clearance = 0.4; bolt_head_clearance = 0.2; knob_diameter = 35; knob_height = 8; num_wings = 5; wing_arc_radius = 13; wing_thickness = 4; surface_chamfer_size = 1.0; hub_diameter = 25; hub_height = 3; num_circula...
glb/cad_78b27e82f45f.glb
Create a Blinds Valance Hanger clip with a uniform thickness of 2.4mm and a total width of 20mm. The main body is a continuous extruded profile that follows a specific winding path. Start with a straight section 10mm long, followed by a 180-degree curve with a radius of 2.5mm. Continue with a 1mm straight segment, anot...
$fn=360; function list_pop_back(list, to_pop=1) = len(list) <= to_pop ? [] : [for (i = [0:max(0, len(list)-1-to_pop)]) list[i]]; function list_pop_front(list, to_pop=1) = len(list) <= to_pop ? [] : [for (i = [to_pop:len(list)-1]) list[i]]; function list_replace(list, replace_indices, new_value) = [for (i = [0:len(list...
glb/cad_999a636bba9f.glb
Create an orb holder pin by combining a conical base with a vertical support. Start with a truncated cone for the base, 4mm high, tapering from a 12mm diameter at the bottom to a 9mm diameter at the top. Centered atop this base, create a vertical rectangular support block that is 5mm wide and 11mm tall. To accommodat...
orb_dia = 14; base_d1 = 12; base_d2 = 9; base_h = 4; inset = 2; back_h = 13; back_d = 1; back_w = 5; back_circle_d = back_h + 2; back_circle_depth = 1; back_bevel = 0; orb_z = orb_dia / 2 + base_h - inset; $fs=0.5; $fa=0.5; orb_holder(); module mockup() { color("#333") orb_holder(); color("#aaf") tran...
glb/cad_253fcd8eeec5.glb
Create a spacebar adapter consisting of a central rectangular plate and two cylindrical posts. The plate should be 110mm wide, 13mm long, and 2mm thick. Position a cylindrical hole with a diameter of 8mm through the exact center of the plate. At each end of the plate, centered along the length, add a cylindrical post...
$fn = 100; $key_diameter = 5.5; $key_hole_diameter = 8; $post_distance = 48; $post_height = 4; $cross_length = 4.5; $cross_width = 1.2; $adapter_width = 110; $adapter_length = 13; $adapter_thickness = 2; module post() { difference() { cylinder(h=$post_height, r=$key_di...
glb/cad_0e82e76c6b08.glb
Create a Magnet Storage Box consisting of a base and a hinged lid. For the base, create a rectangular enclosure with an outer wall thickness of 1.6mm. Inside the base, create a series of vertical cylindrical tubes to hold magnets of diameters 15, 12, 10, 8, 8, 6, 5, 4, and 3mm. Each tube should be 100mm long, with 3m...
tubeLength = 100; tubeSpacing = 3; magnetDiameters = [15,12,10,8,8,6,5,4,3]; magnetDepths = [3,3,3,3,1,2,2,2,1]; textDirection = 90; fontName = "Verdana"; fontStyle = "Bold"; fontSize = 4.5; textDepth = .6; outsideWallThickness = 1.6; lipThickness = 1; lipHeight = 2.5; lipExtension = 2; filamentDiameter = ...
glb/cad_2bfd89dc331b.glb
Create a rainwater debris box lid as a rectangular slab with dimensions of 159mm in width, 130mm in depth, and a thickness of 7mm. The slab should have rounded corners, each with a radius of 10mm. Ensure the rounding is consistent across all four corners of the top and bottom faces to create a smooth, symmetrical perim...
w=159; h=130; tl=7; r=10; module radius() { intersection() { difference() { cube([2*r,2*r,tl]); translate([r,r,0]) linear_extrude(7) circle(r); } cube([r,r,tl]); } } difference() { cube([w,h,tl]); radius(); translate([w,0,0]) mirror([1,0,0]) radius(); }
glb/cad_1054737def75.glb
Create a temperature sensor smart mount consisting of a door and a holder. First, construct the door. Create a main body with a width of 56.8mm, a height of 21.8mm, and a thickness of 1.6mm. This body should have rounded corners with a radius of 6.2mm. Add a lip to the door that is 23.4mm high and 0.8mm thick. On the...
initial_x=56.8; initial_y=21.8; real_initial_z=1.6; initial_r=6.2; initial_lip_x=initial_x-initial_r; initial_lip_y=23.4; initial_lip_z=0.8; holder_x=23; holder_y=28; holder_r=5; holder_z=1.4; holder_lip_bottom_x=2.2; holder_lip_bottom_y=holder_y; holder_lip_bottom_z=4.2; holder_lip_bottom_distance_from_door=3.5; h...
glb/cad_e4fd74eb3332.glb
Create a bolt foot by constructing a hollow cylinder with an outer diameter of 4.95mm and a total height of 4.1mm. The object should feature a central vertical hole with a diameter of 2.85mm that extends from the top surface down to a depth of 3.5mm, leaving a solid base at the bottom with a thickness of 0.6mm. Ensure ...
boltDiameter = 2.85; thickness = 0.6; screwHeight = 3.5; totalHeight = screwHeight + thickness; $fn = 100; difference() { cylinder(h=totalHeight, r=boltDiameter/2 + thickness*2); translate([0, 0, thickness]) { cylinder(h=totalHeight, r=boltDiameter/2); } }
glb/cad_477263e40d24.glb
Create a food processor dryer gear by starting with a central cylinder 11mm in diameter and 19mm high. Surround this with a larger concentric cylinder 20mm in diameter and 12mm high. To create the gear teeth, add four rectangular blocks, each 25mm long, 17mm wide, and 2mm thick, centered at a height of 8.5mm. Position ...
intersection() { #cylinder(19,40,true,$fn=100); difference() { union(){ cylinder(17,d=11,true,$fn=100); cylinder(12,d=20,true,$fn=100); translate([0,0,8.5])cube([25,2,17], true); rotate(45)translate([0,0,8.5])cube([25,2,17], true); rotate(-45)translate([0,0,8.5])cube([25,2,17], true); rotate(...
glb/cad_769c1ad1a732.glb
Create a miniature transport tray with a total length of 104mm and a width of 68mm. The tray consists of two parallel lanes designed for 25mm bases. Each lane is defined by a space of 28mm in width, with a base width of 26mm, a base height of 24mm, and a 1.5mm nosing to secure the miniatures. The overall height of the ...
tray_length = 104; custom_tray_width = 68; bottom_thickness = 1; double_face = false; supports_width = 2; cutouts = "small_hex"; endstop = 2; jointholes = "none"; jointhole_diameter = 1.5; jointhole_depth = 10; lanes = [ preset("GW_infantry"), preset("GW_infantry"), ]; function preset(type) = ...
glb/cad_4e8ddd2c11e5.glb
Create an EEGO Sport support consisting of a base plate with a thickness of 5mm. Start with a central rectangular block measuring 200mm by 230mm and 5mm in height. From this base, remove a large central cylinder with a radius of 60mm and a larger outer ring with a radius of 130mm to create a hollowed-out effect. Add a...
$fn = 50; difference() { union() { difference() { cube([200,230,5], true); translate([ 64,-85,-5]) cylinder(200,r=1.5,true); translate([-64,-85,-5]) cylinder(200,r=1.5,true); translate([ 72,89,-5]) cylinder(200,r=1.5,true); translate([-72,89,-5]) cylinder(200,...
glb/cad_ce12d75d67ee.glb
Create a CMF Phone 2 Pro Backplate by starting with a rectangular plate measuring 78mm wide, 164mm high, and 2mm thick, with all four corners rounded to a 9mm radius. Subtract the following geometric features from the plate: two circular holes with a 20mm diameter centered at X=67, Y=10.6 and X=67, Y=32.4, and a roun...
$fn = 100; width = 78; height = 164; thickness = 2; corner_radius = 9; text_input = "CMF Phone 2 Pro"; text_font = 7; text_size = 9; text_pos_x = 20; text_pos_y = 10; text_rotation = 90; text_depth = 3; fonts = [ "Arial", "Courier New", "Times New Roman", "Liberation Sans", "Liberation Serif...
glb/cad_81ee0a196b7a.glb
Create a CMF Phone 2 Pro Backplate by starting with a rectangular plate measuring 78mm wide, 164mm high, and 2mm thick, with all four corners rounded to a 9mm radius. Subtract the following geometric features from the plate: two circular holes with a 20mm diameter centered at (67, 11) and (67, 33), and a rounded recta...
$fn = 100; width = 78; height = 164; thickness = 2; corner_radius = 9; text_input = "CMF Phone 2 Pro"; text_font = 7; text_size = 9; text_pos_x = 20; text_pos_y = 10; text_rotation = 90; text_depth = 3; fonts = [ "Arial", "Courier New", "Times New Roman", "Liberation Sans", "Liberation Serif...
glb/cad_55a631fd4af6.glb
Create a stackable M.2 SSD organizer. Start with a rectangular base measuring 81.5mm in width, 118mm in depth, and 2mm in height. At each of the four corners of the base, add a vertical support pillar with a diameter of 8mm and a height of 24mm. The pillars should be blended into the base using a hull operation to crea...
$fa=0.3; $fs=0.3; si = 0.01; s2 = si/2; sdx = 70+1.5; sdy = 2.8; sdz = 31+2; dx = 134+1.5; dy = sdy; dz = sdz; m2x = 80+1.5; m2y = 2.4; m2z = 22+2; sx = 3; sy = 2.8; cx = 8; cy = 118; cz = m2z+2; bx = cx + m2x - sx*2; by = cy; bz = 2; pd = 4.5; ph = 5; pp = [[0,0,cz],[0,cy,cz],[bx,0,cz],[bx,cy,cz]]; differenc...
glb/cad_e46cb168f535.glb
Create a mesh lid for a plastic cup by designing a circular ring with an outer diameter of 93.5 mm and a total height of 4.25 mm. The main body is a cylinder with a radius of 46.75 mm. To create the snapping mechanism, remove a central cylindrical core with a radius of 44.2 mm and a height of 5 mm, centered vertically ...
include<smooth_prim.scad>; $fn = 60; lip_w = 1.25; lip_h = 2.5; r = 89/2; difference(){ color("red")tr([0,0,-1])cylinder(r = r + 2, h=4.25); SmoothCylinder(radius = r+1.25, height = lip_h, smooth_rad = 1.3); tr([0,0,-5])cylinder(r = r-0.3, h= 5); tr([0,0,-1])cylinder(r = r - 10, h= 20); tr([0,0,-1.3])cylinder(r2...
glb/cad_2d386a4f753f.glb
Create a Spool Roller consisting of a base and two roller assemblies. First, create a rectangular base 180mm long, 130mm wide, and 30mm high. Subtract two parallel cylindrical holes running through the base along its length, each with a diameter of 22.5mm, to accommodate bearings. Add four small cylindrical cavities ...
$fn=100; base_length=180; base_width=130; base_height=30; bearing_spacing=base_length-50; roller_diameter=40; bearing_ID=8; bearing_OD=22; bearing_width=7; printclamp=false; printroller=false; printbase=false; if (printclamp) { bearing_clamp(); } else if (printroller) { Roller(); } else if ...
glb/cad_2d76f7dfe4dc.glb
Create a drawer runner by constructing a solid horizontal bar 200mm long, 15mm wide, and 9mm high. The bar should have fully rounded ends with a radius of 7.5mm. Hollow out the center of the bar to create a channel that is 11mm wide and 7mm deep, leaving a wall thickness of 2mm at the bottom and sides. The inner channe...
use <my_library.scad> $fn=50; w = 200; h = 9; d = 15; r = d/2; t = 2; d_i = d - t; r_i = d_i/2; s = 3; difference() { hull() { translate([r, 0, 0]) cylinder(h = h, d = d, center = false); translate([w-r, 0, 0]) cylinder(h = h, d = d, center = false); } hull() { translate([r_i+t, 0, t]) cylinder(h...
glb/cad_463935a33e24.glb
Create a Hose Peg consisting of a vertical cylindrical holder and a horizontal anchoring stake. Start by constructing a hollow cylinder with an outer diameter of 25mm, an inner diameter of 17mm, and a total height of 50mm. The cylinder wall should be open on one side, effectively creating a C-shaped channel that allows...
$fn=50; P_t = 4; P_h = 10; P_d = 110; H_t = 4; H_d_i = 17; H_r_i = H_d_i/2; H_d_o = H_d_i+(H_t*2); H_r_o = H_d_o/2; Hose_Peg("tall"); module Hose_Peg (type = "tall") { h = ((type == "tall") ? P_h * 5 : (type == "medium") ? P_h * 2.5 : P_h); difference() { translate([0, 0, 0])...
glb/cad_d5db44ed4b17.glb
Create a magnetic fridge pen and paper holder. Start with a rectangular base measuring 176mm in length, 23mm in width, and 3mm in thickness. Along the center of the length, carve out a horizontal cylindrical void with a diameter of 25mm and a length of 158mm, positioned 15.5mm above the bottom surface. To accommodate...
$fn = 32; magnet_diameter = 10; magnet_thickness = 2.6; magnet_to_rear_wall_distance = 0.8; magnet_to_front_distance = 3; magnet_count = 7; length = 176; width = 23; base_thickness=3; pen_diameter = 25; echo("max pen length: ", length-2*holder_width, " mm"); holder_count = 4; holder_width = 8; difference() { ...
glb/cad_76a5c2873e55.glb
Create an inset for a bell jar by constructing two stacked cylinders. First, create a wide, flat circular base with a diameter of 93mm and a height of 4mm. Centered on top of this base, place a second, taller cylinder with a diameter of 60mm and a height of 80mm. Ensure both components are perfectly aligned along their...
lowerDiameter = 93; lowerHeight = 4; higherDiameter = 60; higherHeight = 80; $fn = 100; cylinder(h=lowerHeight, r=lowerDiameter/2); cylinder(h=higherHeight, r=higherDiameter/2);
glb/cad_84901d43a1ad.glb
Create a dipstick for measuring headspace in a drum. Start by creating a vertical cylindrical rod with a diameter of 12.7mm and a total length of 152.4mm. Along the length of this rod, add a series of concentric measurement ribs spaced every 6.35mm. Most ribs should be minor marks with a diameter of 14.7mm and a thickn...
rod_diameter = 12.7; rod_length = 152.4; handle_width = 60; handle_thickness = 8; handle_fillet = 5; mark_minor_interval = 6.35; mark_major_interval = 25.4; mark_minor_d = rod_diameter + 2; mark_major_d = rod_diameter + 4; mark_minor_t = 0.5; mark_major_t = 1...
glb/cad_8df94ea2abf3.glb
Create a 42mm lens cap designed for a push-fit connection. Start by creating a circular face with a diameter of 51.5mm and a thickness of 2mm. Around the outer edge of this face, add a small 0.4mm chamfer. From the center of the face, extend a cylindrical profile upwards to create the insertion part. This section begi...
diaLens = 42; diaGrip = 51.5; lensHeight = 4; faceHeight = 2; edgeChamfer = 0.4; rimStepW = 2; rimStepH = 0.4; detail = 360; text1 = ""; text1Size = 8; text1Font = "Fira Sans Condensed:style=semibold"; text2 = ""; text2Size = 12; text2Font = "Fira Sans Condensed:style=semibold"; textEmboss = 0.4; textLin...
glb/cad_60d1309c2830.glb
Create a prying tool for an Audi A1 side mirror consisting of a thin radial arm extending from a circular ring. Start by creating a ring with an outer diameter of 35mm, an inner diameter of 25mm, and a height of 10mm. From the outer edge of this ring, extend a flat rectangular handle 60mm in length and 10mm in width. A...
width= 10; thinness=1.6; mirror=4; thickness=5; ring=25; length=60; handle_length=50; handle_width=width; $fn=90; linear_extrude(width) { p1=[for (a=[0:1:89]) mirror*[cos(a),sin(a)]]; p2=[for (a=[270:-1:91]) [0,mirror+thinness/2]+0.5*thinness*[cos(a),sin(a)]]; p3=[for (a=[90:-1:0]) (mirror+thinness)*[cos(a),sin(a...
glb/cad_3def9379cf6e.glb
Create a Cable Splice Egg shell by starting with an ellipsoid resized to 30mm width, 80mm depth, and 20mm height. Hollow out the center with a smaller concentric ellipsoid of 24mm width, 50mm depth, and 14mm height to leave a shell thickness of 3mm. Split this shell in half along the horizontal XY plane to create two s...
bottom_cable_diameter = 6; top_cable_diameter = 8; internal_width = 24; internal_depth = 50; internal_height = 14; thickness = 3; channel = 15; top = true; $fn=60; difference(){ resize(newsize=[internal_width+thickness*2,internal_depth+channel*2,internal_height+thickness*2]) sphere(r=10); resize(news...
glb/cad_cbbd74bb74a7.glb
Create a vacuum hose adapter consisting of three stacked coaxial sections with a wall thickness of 1.6mm. Start with a base cylindrical tube with an outer diameter of 40mm and a height of 20mm. On top of this, add a transition section 30mm in height that tapers linearly from the 40mm outer diameter down to a 31mm outer...
larger_OD = 40; larger_length = 20; transition_length = 30; thickness = 1.6; smaller_OD = 31; smaller_length = 20; module separator () {} $fn=200; epsilon=0.01; module larger_segment() { linear_extrude(height=larger_length) difference() { circle(d=larger_OD); circle(d=larger_OD-...
glb/cad_039b08bf3f60.glb
Create a wheel upgrade nut for an Auer Eurobox. Start by constructing a main body consisting of two stacked rectangular prisms: a base prism measuring 21mm by 21mm with a height of 2.5mm, and a larger top prism measuring 26.5mm by 26.5mm with a height of 14.6mm centered on top of the base. Drill a vertical cylindrical ...
$fn=50; module unit_polygon(r, n) { polygon([ for(i=[0:360/n:360]) [ cos(i)*r, sin(i)*r ] ]); } difference(){ difference(){ union(){ linear_extrude(height=14.6, scale=1.022) square(26.5, center=true); translate([0,0,-2.5]) linear_extrude(height=2.5) offs...
glb/cad_748dbbcfbbfc.glb
Create a utility transfer pump gasket with a uniform thickness of 0.8mm. Start with a base circular ring that has an outer diameter of 41.7mm and a central circular cutout with a diameter of 35.4mm. Modify the inner cutout by slightly flattening the bottom edge, creating an oval-like void. Add four bolt mounting tabs...
$fn=200; GASKET_W = 0.8; inner_circle_d = 35.4; module bolt_gasket(){ difference(){ circle(d=10); circle(d=5); } } module position_bolt_cutouts() { difference() { union(){ translate([10.75, 19.25]) children(); translate([-10.75, 19.25]) children(); ...
glb/cad_a664f3e7faa0.glb
Create a desktop drawer organizer consisting of a tray with a height of 37.5mm. The tray should be divided into four equal compartments. Centered on the front face of the drawer, add a handle assembly. This handle consists of a primary cylindrical grip with a diameter of 8mm and a length of 12mm, which is fused to a th...
include <BOSL2/std.scad>; include <./common.scad>; drawer_height = 37.5; drawer_depth = outside_depth - 4; hole_diameter = 6.5; handle_height = 16; handle_diameter = 8; module punch_hole(x, y, z, d, l = 10) { translate([x - l/2, y, z]) rotate([90, 0, 90]) cylinder(d = d, h = l, center = false); } module ...
glb/cad_d56200d452f0.glb
Create a low-profile cylindrical disc with a total height of 4mm. The main body is a cylinder with a radius of 10mm and a height of 3mm. On top of this base, add a conical cap that tapers from a base radius of 1.5mm at the bottom to a point at the top, with a height of 1mm. The final shape should be a smooth, rounded g...
minkowski() { cylinder(h=3, r=10); cylinder(h=1, r1=1.5, r2=0); }
glb/cad_7bbf69884dc6.glb
Create a parametric organizer tray for a Skadis-style pegboard. The main tray is a rectangular platform with a width of 177mm (173mm plus 2mm edge holders on each side) and a height of 101mm (97mm plus 2mm edge holders on each side), with a thickness of 2mm. The tray is tilted at a 10-degree angle. The tray features t...
$fn = 128; tray_height = 97; tray_width = 173; tray_thickness = 2; back_height = 30; tray_angle = 10; edge_holder_height = 3; edge_holder_thickness = 2; clip_path = "/home/ave/Downloads/Clip Seat_fixed.stl"; clip_size = 28.2; clip_depth = 5.4; only_outer_clips = true; real_tray_height = tray_height + edge_holder_th...
glb/cad_6bb05f3acb4e.glb
Create a Boxset Connector by extruding a 2D profile to a height of 6mm. The base profile is formed by the union of two circles with a 6mm radius, centered at [0, 0] and [0, 24], each containing a concentric circular hole with a 5mm radius. Connect these two rings with a rectangle measuring 6mm wide and 34mm long, cente...
include <BOSL/constants.scad> use <BOSL/masks.scad> $fn=1000; r=6; linear_extrude(6){ difference(){ union(){ difference(){ circle(r); circle(r-1); } difference(){ translate([0,24,0]) circle(r); translate([0,24,0]) circle(r-1); } ...
glb/cad_894cc2d63096.glb
Create a thematic card holder and treasure boxes for the board game Isle of Cats. First, construct the main card holder as a rounded rectangular block with dimensions 73mm wide, 110mm deep, and 70mm high. Hollow out the center to create a slot for cards, leaving a wall thickness of 1.6mm. In the base of this holder, ...
$fn = 100; x1 = 73; y1 = 110; x2 = 100; y2 = 68.5; zc = 70; cmin = 67.5; w = 1.6; module main_cards() { difference() { cube_rounded([x1,y1,zc]); translate([1.5*w,w,w]) scheren([0,0.5,4]) cube([x1-3*w,y1-12.5,zc]); rf=8.5/2; fo=10; translate([fo,0.8,zc-fo]) rotate([90,0,...
glb/cad_fc205738a24c.glb
Create a filling aid funnel for a flower box. Start by constructing a main body that is a hybrid shape: a 49.5mm square base with a 24.75mm radius rounded corner on one side, and a height of 20mm. The walls of this container should be 1.8mm thick. Inside this body, create a strainer floor by removing a central volume,...
qo=0.01; $fn=55; function qo2() = 2*qo; module shape(x,z){ cube([x,x/2,z]); cube([x/2,x,z]); translate([x/2,x/2,0]) cylinder(h=z,d=x); } translate([0,0,10]){ mirror([0,0,180]){ difference(){ translate([0,0,-10]) shape(49.5,20); translate([0-qo,0-qo,1.8]) shape(49.5-1....
glb/cad_d2e7c80998c0.glb
Create a set of dumbbell weights and handles for a figure. For the weights, create a hexagonal prism with a height of 6.5mm and a radius of 5.5mm. From the center of this prism, remove a cylindrical core to accommodate the handle. Additionally, remove six triangular chamfers from the core; each chamfer should be a 3-...
dumbbell_height=6.5; dumbbell_radius=5.5; dumbbell_num_sides=6; chamfer_height=10; chamfer_radius=1.5; chamfer_num_sides=3; chamfer_center=true; function linear_fit(x) = 0.86 * x - 0.19; chamfer_translate_y = linear_fit(dumbbell_radius); handle_diameter = 4.2; handle_radius = handle_diameter / 2; handle_height = 20...
glb/cad_98642890e4a3.glb
Create two different riser feet for a smoker. The first foot is a cylindrical base with a total height of 35.4mm. It starts with a bottom section 4mm high that tapers slightly from a top diameter of 40mm to a bottom diameter of 32mm. Above this base, add a cylinder 40mm in diameter and 31.4mm high. From the center of t...
inch=25.4; lift = 1 * inch; little_foot(); translate([2.2*inch,0,0]) { big_foot(); } module little_foot() { difference() { union() { cylinder(d1=40-8,d2=40,h=4, $fn=120); translate([0,0,4]) { cylinder(d=40,h=lift+10-4, $fn=120); } } translate([0,0,lift]) { cylinder(d=...
glb/cad_22bc517a6bdd.glb
Create a customizable rack system consisting of uprights, beams, and end caps. Construct the upright as a hollow rectangular prism with dimensions 135mm width, 140mm height, and 15mm depth, using a shell thickness of 5mm. On the front and back faces, create a grid of peg holes, each 5mm wide and 10mm high with 5mm di...
component_type = "All"; alternate_pattern = true; upright_height = 140; upright_width = 135; upright_depth = 15; has_top_holes = false; has_bottom_holes = false; end_cap_height = 2; end_cap_insert_height = 5; end_cap_tolerance = 0.1; add_end_cap_connector = false; beam_height = 3; front_beam_length = 135; side...
glb/cad_7465977bfeaf.glb
Create a customizable rack system consisting of uprights, beams, and end caps. Construct the upright as a hollow rectangular prism with dimensions 135mm width, 140mm height, and 15mm depth, using a shell thickness of 5mm. On the front and back faces, create a grid of peg holes. Each hole consists of a 5mm wide by 10m...
component_type = "All"; alternate_pattern = true; upright_height = 140; upright_width = 135; upright_depth = 15; has_top_holes = false; has_bottom_holes = false; end_cap_height = 2; end_cap_insert_height = 5; end_cap_tolerance = 0.1; add_end_cap_connector = false; beam_height = 3; front_beam_length = 135; side...
glb/cad_27b5443ca858.glb
Create a bluetooth receiver mount for headphones. Start by creating a curved carrier plate with a radius of 100mm and a thickness of 25mm. The plate should be an arc with a length of 100mm and a wall thickness of 1.5mm. Position two circular holes with a diameter of 13mm through the plate, spaced 70mm apart along the...
hole_dist = 70; hole_dia = 13; carrier_width = 20; carrier_radius = 100; carrier_length = hole_dist + 30; carrier_wall = 1.5; coil_width = 17.0; coil_turns = 3; coil_dia = 10; coil_w = coil_width * coil_turns; rx_post_w = 8; rx_post_h = 50 + 20; rx_post_wall = 1; rx_post_box_w = 26.5; rx_post_box_d = 12; rx_post_box_...
glb/cad_0c0358e95854.glb
Create a Grow Lamp Mount consisting of four mounting arms and one hook. For each of the four arms, create a rectangular base 9mm wide, 3mm thick, and 77mm long. At one end of the base, create a vertical tab 9mm wide, 3mm thick, and 25mm high. On the top of this tab, add a rectangular extension 9mm wide and 35.1mm lon...
plate = 250; mount_dist = 58; trans_width = 45; trans_depth = 30; trans_height = 20; hole = 5.0; hole_dist = 2; arm_len = 70 + (hole / 2) + hole_dist; height = 3; width = 9; arm_height = 25; top_arm_len = 35.1; hook_width_add = 3; hook_dia = 15; hook_height = width; hook_size = 2; hook_off = 15; print_dist = 10; prin...
glb/cad_c331ff57b604.glb
Create a ceiling spray can holder consisting of a rectangular slab with rounded corners. The slab should be 120mm long, 30mm wide, and 25mm thick. Along the length of the slab, create two semi-circular cutouts to accommodate spray cans. Each cutout should have a radius of 33mm and a depth that penetrates the slab's w...
$fn = 70; num_cylinders = 2; spacing = 110; edge_margin = 55; Mountingdistance = 12; slab_length = spacing * (num_cylinders - 1) + 2 * edge_margin; slab_width = 30; slab_height = 25; round_radius = 2; cyl_radius = 33; cyl_height = 30; cutout_offset_z = -20; magnet_radius = 10; magnet_height = 9; magnet_screw_radius...
glb/cad_7e71b18aa4d2.glb
Create a seal mould by starting with a solid cube measuring 25mm x 25mm x 10mm. From the center of the top face, remove a complex cylindrical plug consisting of several stacked sections. First, remove a central cylinder with a diameter of 11.5mm that extends through the entire 10mm height of the cube. Around this centr...
outer_dia = 23.5; inner_dia = 11.5; lip_dia = 17.0; lip_outer_dia = 15.0; wall = 1.5; height = 3; wall_height = 2; tower_height = 5; lip_height = 1; form_w = 25; form_l = 25; form_h = 10; $fn = 40; module plug() { difference() { union() { cylinder(d = outer_dia, h = height); tr...
glb/cad_0387004a18ce.glb
Create a Lian Li HDD Cage Extension consisting of a main rectangular chassis with integrated mounting rails and supports. The main body is a rectangular box with a width of 104.9mm and a length of 160mm, featuring walls 1.3mm thick. On the left and right sides, construct vertical rail supports. Each support is a wall...
cage_width = 104.9; cage_length = 160.0; cage_wall = 1.3; cage_hold_large = 12.0; cage_hold_small = 8.0; cage_hold_length = 19.7; cage_hold_off_bot = 13.4; cage_hold_off_left = 16.6; cage_hold_off_top = 56.9; cage_hold_off_right = 49.6; cage_lip = 9.9 + 2.0; cage_lip_hole = 3.4; cage_lip_hole_dist = 37; cage_lip_hole_o...
glb/cad_e7c845964bb9.glb
Create a Fabrikator Mini Relay Board Mount. Start by constructing a base rectangular plate measuring 53.6mm in length, 4mm in width, and 3mm in height. At each end of this plate, add a small 8mm cube of the same 3mm height, creating a slightly stepped profile. On the top surface of this base, place two vertical holes...
bodyHeight = 8; wallSize = 3; lipSize = 3; fullSize = 20; gap = 5; $fn = 15; module holder() { cube([wallSize, fullSize - wallSize, bodyHeight]); translate([0, fullSize - wallSize, 0]) cube([(2 * wallSize) + gap, wallSize, bodyHeight]); translate([wallSize + gap, fullSize - (2 * wallSize), 0]) ...
glb/cad_e31173426c3c.glb
Create a Raspberry Pi Zero mount consisting of a main holder and a mounting strap. First, construct the holder as a C-shaped channel with a total height of 7mm. The base wall is 3mm wide and 25mm long. At the top of this base, add a horizontal ceiling section 11mm wide and 3mm thick, which extends 3mm beyond the base w...
bodyHeight = 7; wallSize = 3; lipSize = 3; fullSize = 28; gap = 5; length = 35; bottomOff = 5; holeDist = 23; holeSize = 3.3; $fn = 15; module holder() { cube([wallSize, fullSize - wallSize, bodyHeight]); translate([0, fullSize - wallSize, 0]) cube([(2 * wallSize) + gap, wallSize, bodyHeight]); ...
glb/cad_c9bb093d978e.glb
Create an Orange Pi camera mount consisting of a base and a top cover. First, construct the bottom holder. Create a rectangular outer shell with dimensions 27mm wide, 62.4mm long, and 5.9mm high, using a wall thickness of 2mm. Hollow out the center to create a cavity 19mm wide, 30mm long, and 1.4mm deep, positioned 4...
opi_cam_width = 19.0; opi_cam_height = 54.4; opi_cam_depth = 4.5; opi_cam_bottom_depth = 1.4; opi_cam_bottom_height = 30.0; opi_cam_bottom_off_y = 7.5; opi_lens_width = 8.6; opi_lens_height = 8.6; opi_lens_off_x = 5.0; opi_lens_off_y = 9.0; cable_cut_width = 15.0; wall_size = 2.0; cable_tie_width = 3.0; cable_tie_h...
glb/cad_208c615f8b98.glb
Create a protective case for an Orange Pi PC Plus. The case consists of a bottom and top plate, each 2mm thick, connected by four corner standoffs and three side walls. The overall footprint is 56mm wide by 85.5mm long, with an outer wall thickness of 2mm. For the bottom section, create a base plate of 60mm by 91.5mm....
opi_width = 56; opi_length = 85.5; opi_holes = 2.8; opi_hole_dist = 3.0; opi_pcb_height = 1.6; opi_power_width = 8.2; opi_power_height = 6.2; opi_power_depth = 12.7; opi_power_off_x = 7.5; opi_power_off_y = -2.0; opi_hdmi_width = 15.2; opi_hdmi_height = 5.7; opi_hdmi_depth = 11.6; opi_hdmi_off_x = opi_power_off_x + o...
glb/cad_51a4b523751f.glb
Create a Wilesco Transmission holder consisting of two identical L-shaped arms connected by a central hub. Start by creating two small cubes, each measuring 6mm x 6mm x 3mm. In the center of each cube, create a vertical hole with a diameter of 3.2mm that passes completely through the 3mm thickness. From the inner edge...
$fn = 15; module holder() { difference() { cube([6, 6, 3]); translate([3, 3, -1]) cylinder(d = 3.2, h = 5); } } module top() { rotate([90, 0, 0]) difference() { cylinder(d = 8, h = 6); translate([0, 0, -1]) cylinder(d = 4.2, h = 8); } } mod...
glb/cad_1b9d08b0a6dd.glb
Create a Bottle Cap Co2 adapter consisting of a main cylindrical cap and a protruding bottom pipe. The main cap is a cylinder with a diameter of 30.4mm and a total height of 12mm (composed of a 4mm central channel and 4mm walls on the top and bottom). Through the center of this cap, create two horizontal channels wit...
include <NecksCaps.scad>; diameter = 30.4; wall_height = 1.5; include <HoseAdapter.scad>; channel_diameter = 4; wall_size = 4; pipe_diameter = 4; pipe_wall_size = 1.2; pipe_height = 20; hose_offset = 6.5; thread_diameter = 5; thread_pitch = 0.8; thread_height = 15; thread2_diameter = 5; thread2_pitch = 0.8; threa...
glb/cad_62917344fbae.glb
Create a Unified Baseplate Whisk mounting frame by placing eight cylindrical standoffs at the following [x, y] coordinates in mm: [0, 76.03], [45.03, 76.03], [0, 43.11], [45.03, 43.11], [81.18, 70.25], [81.18, 21.84], [20.63, 23.5], and [20.63, 0]. Each standoff consists of a base cylinder with a diameter of 8mm and ...
pcb_mounts = [[0.0, 76.03], [45.03, 76.03], [0.0, 43.11], [45.03, 43.11], [81.18, 70.25], [81.18, 21.84], [20.63, 23.5], [20.63, 0.0]] ; post_diameter = 6; post_base = post_diameter + 2; pcb_bottom_clearance = 8; post_hole = 3; IDX_X = 0; IDX_Y = 1; function dist_calc(pt, idx) = concat([[idx, norm(pt...
glb/cad_915970d183d8.glb
Create a Flying Eyes airplane organizer by constructing a solid base and subtracting several internal compartments. Start with a main block that is 168mm long, 57mm wide, and 80mm high, with all exterior corners rounded to a 6mm radius. Inside this block, carve out four distinct storage slots. The first is a rectangu...
module things(h=150,vary_height=1) { cube([66,13,h+5*vary_height]); translate([0,14,0]) hull() { cube([66,27,h]); translate([35/2+2,35/2+5,0]) cylinder(d=37,h=h); } translate([67,0,0]) cube([89,16,h+10*vary_height]); translate([67,17,0]) cube([95,14,h+10*vary_height]); translate([76,40,0]) hull...
glb/cad_fd022cab275b.glb
Create a protective pad for a G-clamp. Start by creating a main outer cylinder with a diameter of 23 mm (inner diameter of 20.4 mm plus two walls of 1.29 mm) and a total height of 4.17 mm. This outer cylinder should have a bevel of 0.645 mm on both the top and bottom edges. Inside this shape, remove a central cylinder...
inner_diameter = 20.4; inner_height=1.4; wall=1.29; snap=0.4; preview_cut=true; cap(inner_diameter, inner_height, wall, snap); detail128 = $preview ? 32 : 128; module cap(inner_diameter, inner_height, wall, snap) { difference() { union() { translate([0,0,0]) beveledCylinder(d=inner_diameter+2...
glb/cad_144bd41934cf.glb
Create a shower handle grip by constructing a hollow cylinder with a height of 20mm. The main body should have an outer diameter of 50mm and an inner diameter of 40mm. To create the grip texture, place small circular protrusions with a diameter of 2mm along the outer edge of the cylinder. These protrusions should be sp...
$fn = 100; innerDiameter = 40; outterDiameter = 50; slotHeight = 7; gripDiameter = 2; angleIncrement = 4; difference() { linear_extrude(20) union() { difference() { circle(d = outterDiameter); circle(d = innerDiameter); #translate([ innerDiameter / 2, 0, 0 ]) square(siz...
glb/cad_4bc27605625b.glb
Create a desktop magnet chalkboard frame. Start with a rectangular base measuring 40mm wide, 15mm high, and 5mm deep. Apply a corner radius of 2mm to the vertical edges to soften the shape. In the center of the base, create a cylindrical cavity for a magnet with a diameter of 5.2mm and a depth of 2.2mm. On the top ...
use <fontmetrics.scad>; width = 40; height = 15; depth = 5; corner_radius = 2; text_string = "Sample"; output_name = "output"; font="Arial:style=Bold"; module rounded_rect(size, r) { x = size[0]; y = size[1]; z = size[2]; r_corrected = min(r, x/2, y/2); linear_extrude(z - r_corrected) { h...
glb/cad_9ecb08409244.glb
Create a Japanese lantern shade by constructing a hollow square prism with rounded corners. The outer dimensions of the prism should be 75mm wide by 75mm deep, with a total height of 50mm. The walls should have a thickness of 0.4mm and the vertical corners should be rounded with a radius of 5mm. The bottom of the shade...
height = 50; width = 75; wall_thickness = 0.4; base_height = 3; corner_radius = 5; bottom_diameter = 50; difference() { linear_extrude(height = height) offset(r = corner_radius) square([ width, width ], center = true); translate([ 0, 0, base_height ]) linear_extrude(height = height) offset(r = corner...
glb/cad_a0645a38cf04.glb
Create a Philips juicer holder lever consisting of two connected cylindrical axes joined by a curved bridge. First, create a long axis centered on the X-axis. This axis is a revolved profile with a total length of 39mm. Its central section is 28mm long with a radius of 2.5mm, while the ends taper to a radius of 1.5mm...
$fa = 1; $fs = 0.1; long_axis_long_length = 39; long_axis_short_length = 28; long_axis_long_diameter = 3; long_axis_short_diameter = 5; notch_depth = 0.5; notch_long_width = 2.5; notch_short_width = 2; notch_offset = 2.5; short_axis_long_length = 21.5; short_axis_short_length = 16.5; short_axis_long_diameter = 3; sh...
glb/cad_598db0c07d61.glb
Create a housing for an ESP32 VOC and Air Quality Sensor. Start by constructing a main rectangular base that is 60mm long, 32mm wide, and 10mm high. On the top surface of this base, create a recessed rectangular channel to hold the electronics. This channel should be 57.5mm long and 22.5mm wide, centered on the base, l...
translate([-1, -1, 10]) cube([4.6, 30.4, 10]); translate([51.9, -1, 10]) cube([4.6, 30.4, 10]); translate([56, -1, 10]) cube([4.6, 30.4, 10]); translate([56, 28.3, 10]) cube([7.2, 1.1, 10]); translate([56, -1, 10]) cube([7.2, 1.1, 10]); translate([62.5, -1, 10]) cube([15, 30.4, 10]); translate([-1, -1, 10]) cube(...
glb/cad_e9eeda7d58ad.glb
Create a mosquitto screen extruded profile corner piece starting with a main cube that is 17.5mm wide, 17.5mm deep, and 16.8mm high. Remove a smaller 7mm cube from the top corner of this main block, specifically positioned 7mm from the back and side edges and 7mm from the top, to create a notched cutout. To complete th...
profile_z=16.8; profile_y=17.5; depth=10; pin_width=6.5; off = 2.2; difference() { cube([profile_y,profile_y,profile_z]); translate([profile_y-7, profile_y-7, profile_z-7]) cube([7,7,7]); } for(i = [0,1]) { mirror([i,-i,0]) translate([0,off,off]) cube([profile_y+depth,pin_width,profile_z-2*off]); }
glb/cad_03bc4e71690e.glb
Create a Customizable Filament Swatch card by starting with a base rounded rectangle measuring 65mm wide, 35mm long, and 2mm thick, with corner radii of 2mm. In the top-left corner, center a circular hole with a 2mm radius, positioned 4mm from both the left and top edges. On the top-right surface, add two lines of rig...
text_line1 = "Filament Type"; text_line2 = "Filament Color"; layer_thicknesses = [0.8, 0.6, 0.4, 0.2]; card_width = 65; card_length = 35; card_thickness = 2; corner_radius = 2; hole_radius = 2; hole_offset_x = 4; hole_offset_y = 4; section_width = 15; section_height = 15; section_spacing = 0; section_corner_radius =...
glb/cad_2c1dcb3b82a6.glb
Create a Customizable Tool Holder consisting of a hexagonal lattice of cylindrical cells and an optional rotating base. First, construct the tool stand. Create a solid base plate 5mm thick. On top of this base, arrange a hexagonal pattern of cylinders with an outer radius of 24.46mm and a height of 30mm. The pattern ...
holderHeight=30; numRings=3; wallThickness=4; baseThickness=5; holderDiameter=48.26; epsilon=.2; showToolStand = true; showSusanBottom = true; showSusanTop = true; pelletDiameter = 6; lazySusanBaseHeight = pelletDiameter / 2 + 1; holderRadiusEff=holderDiameter / 2 + epsilon; hexLatticeCount = 1 + 6 * (numRi...
glb/cad_279a85e5ae14.glb
Create a stereomicroscope LED-ring light adapter consisting of a central conical body with a top mount and a bottom mount. The central body is a hollow truncated cone with a height of 51mm (52mm minus a 1mm wall thickness). The top diameter is 73mm and the bottom diameter is 66.5mm, with a wall thickness of 5mm throu...
offset = 0.1; conus_height = 52.0; conus_wall = 5.0; inner_conus_d_top = 72.0; inner_conus_d_bottom = 65.5; top_mount_h = 24.5; top_mount_d = 89.0; top_mount_screw_platau_w = 9.0; top_mount_screw_platau_d = 2.0; top_mount_cut_out_d = 56.0; top_mount_screw_d = 4.0; bottom_mount_wall = 10.0; bottom_screw_x_offset = 0...
glb/cad_d90dd4408fff.glb
Create a wire spool holder consisting of a main body, a spool axle, and an axle insert. For the main body, create a block with a width of 20mm and a height of 55mm. The front profile is a rounded quadrant with a radius of 31mm and a thickness of 4mm. On the inner face of this curve, create a circular cutout with a di...
use <MultiConnect Slot.scad> spools=1; spoolHeight=20; spoolDiameter=55; spoolInner=25; wireHoleDiameter = 3; label="22"; tolerance=2; shell=4; axleDiameter=4; $fs=0.5; $fa=1; farCorner=spoolDiameter+shell+tolerance*2; sideDistance=spoolHeight+2*tolerance+shell; renderSpools(); translate([-spoolDiameter,0...
glb/cad_e7426a8dd26a.glb
Create a wire spool holder consisting of a main rectangular base and removable axle components. The main base is a rectangular block 175mm wide, 30mm high, and 4mm thick. Along the back face of this block, create four vertical cut-out slots spaced evenly. Each slot is a complex profile designed for a multipoint mountin...
multiPointHeight=3.2; multiPointLargeDiameter=17; multiPointSmallDiameter=12; multiPointSmallStep=0.4; multiPointLargeStep=0.3; $fs=.5; $fa=1; createMultiPointBack(width=175, height=30, numberSlots=4); module baseProfileRound(){ union(){ translate([0,0,multiPointHeight-multiPointLargeStep])cylinder(h=mu...
glb/cad_b736821efd0c.glb
Create a protective case for a 7-inch IPS HDMI display. The case consists of a top and bottom shell that fit together using a surrounding notch and are secured with four M3x16 screws and M3R rectangular nuts. The bottom shell is a hollow rectangular box with a wall strength of 2mm. It must accommodate a PCB of 165mm x...
version_string = "v1"; left_button_rectangular = false; pcb_height = 1.6; pcb_width = 165; pcb_depth = 107; holder_hole_diameter = 3; holder_width = 8; holder_depth = 8.5; holder_hole_from_edge = 3; screen_gross_width = 165; screen_gross_depth = 99.3; screen_gross_height = 7.3 - pcb_height; screen_top_outer_gap = 2...
glb/cad_8e7fa35a4d7f.glb
Create a protective case for a 7-inch IPS HDMI display. The case consists of a top and bottom shell that fit together with a surrounding notch and are secured by four M3x16 screws and M3R rectangular nuts. The bottom shell is a hollow rectangular box with a wall strength of 2mm. It must accommodate a PCB of 165mm x 10...
version_string = "v1"; left_button_rectangular = true; pcb_height = 1.6; pcb_width = 165; pcb_depth = 107; holder_hole_diameter = 3; holder_width = 8; holder_depth = 8.5; holder_hole_from_edge = 3; screen_gross_width = 165; screen_gross_depth = 99.3; screen_gross_height = 7.3 - pcb_height; screen_top_outer_gap = 2....
glb/cad_182989b25f17.glb
Create an instant coffee jar stacking tool consisting of a main support strip with connecting ends. Start with a rectangular base measuring 80mm in length, 10mm in depth, and 14mm in height. Along the top surface of this base, create a concave channel by removing a volume formed by the hull of two cylinders; each cylin...
$fn=150; fd=80; fr=14; sd=10; sh=1.6; cd=4; ch=2.5; rack(); module rack(){ bottom(); } module bottom(){ translate([-2*ch,0,0])connector(); difference(){ cube([fd,sd,fr],center = false); hull(){ translate([fr,sd,fr+sh])rotate([90,0,0])cylinder(h=sd,r=fr,center=false); translate([fd-fr,sd...
glb/cad_83249f7f80c6.glb
Create a MYR Coin Sorter consisting of a base box, a top board, a tube rack, and seven coin tubes. Construct a base box to hold the assembly. Create a top board that sits atop the box, featuring a bottom cutout to fit the base box. Add a vertical guard and a horizontal guard to the top board. Design seven cylindrical...
currency = -1; coin_roll_version = 2; tube_extra_height = 0; extra_topboard_length_pct = 14; extra_topboard_length = extra_topboard_length_pct * 0.01; guard_style = "Front_and_back"; extra_guard_height = 15; topboard_rim = 15; part = "all_unassembled"; custom_currency_code = "MYR"; coin_01_dia = 27.76; coin_...
glb/cad_12d2b32815e3.glb
Create a touch screen pen holder designed to fit a screen of 18.75mm x 19.44mm x 83.24mm. First, construct a mounting frame around the screen dimensions. Create a top cap measuring 21.25mm x 18.44mm x 2.5mm. Add three brackets with a thickness of 2.5mm: a front bracket and a back bracket, both 18.75mm wide and 6.62mm...
x = 18.75; y = 19.44; z = 83.24; addon_height = 2.5; addon_height_bracket_percent = 50; addon_height_bracket = ((z/100)*addon_height_bracket_percent)+addon_height; echo("---------------"); echo(addon_height_bracket); echo("---------------"); addon_width = 2.5; pen_hole_diameter = 6; pen_hole_height = 3; pen_hole_circ...
glb/cad_6c3fefd834cb.glb
Create a Floor Nozzle Brush Repair Part as a hollow cylindrical collar with a total height of 15mm. The main body is defined by a constant internal diameter of 37.2mm and a general wall thickness of 2.4mm. At the bottom base, the wall thickness starts thinner at 1.2mm and expands outward via a 2.2mm high external cha...
internal_dia = 37.2; internal_dia_end = 37.6; thickness_start = 1.2; thickness = 2.4; dia_step_h_ex = 2.2; dia_step_h_in = 2.0; total_h = 15.0; cutout_dist_from_bottom = 9.0; cut_w = 8.0; $fn = 150; cc = 0.01; external_r_start = internal_dia/2 + thickness_start; external_r = internal_dia/2 + thickness; cut_h ...
glb/cad_cf25457e32fd.glb
Create a tap adapter for an M3 machine tap. Start with a square prism that is 5mm wide, 5mm deep, and 11mm tall. From the center of the bottom face, remove a square-shaped hole that is 2.95mm wide, 2.95mm deep, and 6mm tall. Directly above this square hole, remove a coaxial cylinder with a diameter of 3.77mm and a heig...
$fn=80; M3(); module M3(){ bh=6; bs=2.65; ch=5; cd=3.42; ocd=5; sw=0.4; tol=0.3; build(bh,bs,ch,cd,ocd,sw,tol); }; module M4(){ bh=7; bs=3.3; ch=6; cd=4.45; ocd=6; sw=0.4; tol=0.35; build(bh,bs,ch,cd,ocd,sw,tol); }; module build(bh,bs,ch,cd,ocd,sw,tol)...
glb/cad_36d044fb44c4.glb
Create a Trading Card Game Storage Organizer consisting of a flat rectangular base and vertical divider walls. The base should measure 200mm in width and 205mm in length with a thickness of 0.2mm. Construct the outer perimeter by adding vertical walls 1.1mm thick and 53.2mm high along the two 205mm sides. Create two ...
card_height=63; card_length=88; card_thickness=0.31; bottom_length=210-5; bottom_width=200; divider_height=card_height-10+0.2; divider_thickness=1.1; if($preview){ color("tan") square([bottom_width,bottom_length]); color("black"){ translate([2,divider_thickness,0]) cube([card_length,card_th...
glb/cad_03e9dc41d09d.glb
Create a Laser Bed Pin holder tab with a thickness of 4mm. The object is a flat, symmetrical profile designed to fit into a grid hole. Start with a rectangular handle at the top that is 21mm wide (11mm hole width plus two 5mm handle extensions) and 5mm high. The top two corners of this handle must be rounded with a 5...
hole_width = 11; hole_depth = 28; material_thickness = 4; _flex_overlap = 1.2; _gap = 1; _cut_length = [4, 12]; _handle_height = 5; _handle_width = hole_width + _handle_height * 2; points = [ [0,0], [0 , _handle_height], [_handle_width ...
glb/cad_30b4a28cf9f7.glb
Create a Table Top Oil Lamp consisting of a circular base and a hollow, curved upper shell. Start by creating a cylindrical base with a height of 10mm and an outer radius of 48mm. Hollow out the center of this base with a concentric hole of 46mm radius to create a thin-walled ring. For the upper shell, create a holl...
fs = 0.5; baseHeight = 10; baseOuterRadius = 48; baseinnerRadius = 46; bulgeRadius = 80; narrowTop = 30; thickness = 2; module EndOfConfigs() {} shell0 = [0,0]; shell1 = [baseOuterRadius, 0]; shell2 = [bulgeRadius, 60]; shell3 = [narrowTop, 100]; shell4 = [narrowTop, 200]; inner0 = [0,-thickness]; inner1 = [ba...
glb/cad_46f670789e86.glb
Create a clamping piece for a telescope adapter. Start by creating a main hollow cylindrical body with an outer diameter of 34 mm, an inner diameter of 32.4 mm, and a total height of 10 mm. The wall thickness of this cylinder is 0.8 mm. The base of the cylinder should be solid, with the hollow interior starting 0.8 mm ...
diameter= 32.4; height = 10; thickness = 0.8; ridges= 3; ridge_height= 0.6; entry_slope= 0.5; difference(){ union(){ difference(){ cylinder(r=diameter / 2 + thickness, h = height, $fa=0.1, $fs=0.1); translate([0, 0, thickness]){ cylinder(r=diameter / 2, h = height- t...
glb/cad_6b42edef8286.glb
Create a parametric microscope slide holder. Start by constructing a solid rectangular main body with a width of 48mm, a length of 82.7mm, and a height of 18.5mm. From this block, remove a large central rectangular section measuring 42mm wide, 79.7mm long, and 20.5mm deep, starting from a position 3mm from the left edg...
slides = 10; thickness = 1; length = 76.2; width = 25; difference() { union() { cube(size = [4*slides+8,length+6.5,(width/2)+3], center = false); } for(i=[0:1:slides]) { translate([3+(4*i),2.5,3]) cube(size = [thickness+1,length+2,width],center = false); } translate([3,5,-1]) cube(size = [4*slide...
glb/cad_8ac82fcd18af.glb
Create a Gamesir G8 Galileo USB-C Spacer. Start with a main rectangular body measuring 50mm in length, 2mm in width, and 10mm in height. Centered within this body, remove a rectangular hole that is 20mm long, 2mm wide, and 8mm high, positioned 2mm up from the bottom face. On the top surface, add a centered bridge tha...
eps = 0.1; length_x = 50; width_y = 2; height_z = 10; hole_x = 20; hole_y = width_y + 2*eps; hole_z_offset = 2; hole_z = height_z - hole_z_offset + eps; bridge_x = hole_x; bridge_y_offset = -1.2; bridge_y = 1.2; bridge_z = 1.6; ridge_x = 1.5; ridge_x_wider = 0.4; ridge_y = 0.8; ridge_z = height_z; ridge_z_top = 1.6...
glb/cad_2bb415cce981.glb
Create a Platonic Solids chart consisting of a rectangular base plate measuring 250mm by 112mm with a thickness of 4mm. On the top surface of the base, add a series of raised decorative lines and dividers. Create seven horizontal lines, each 247.3mm long, 1mm wide, and 2mm high, spaced evenly across the width of the ...
translate([-248/2-1,-55,-3.5])cube([250,112,4]); $fn=21; module do_lines() { translate([-85.06,27.3,1])color("red")cube([208.6,1,2]); translate([-123.7,27.3-9.15,1])color("red")cube([247.3,1,2]); translate([-123.7,27.3-2*9.15,1])color("red")cube([247.3,1,2]); translate([-123.7,27.3-3*9.15,1])color("red")cube([247.3,...
glb/cad_2539b4df7ee4.glb
Create a snap-in blank wall plate consisting of a flat rectangular face and four attachment tabs. Start by creating the main wall plate as a rectangular cuboid with a width of 66mm, a height of 111.6mm, and a thickness of 3mm, applying a 1mm rounding to the bottom corners. At each of the four corners of the plate, cen...
include <BOSL2/std.scad> opening_width = 55; opening_height = 93; opening_depth = 10; plate_thickness = 3; tab_width = 10; tab_thickness = 5; plate_size_pct = 1.20; nub_diameter = 4; $fa = 1; $fs = 0.4; tab_height = opening_depth + nub_diameter; module wall_plate () { plate_width = opening_width * plate_...
glb/cad_55b80b80b8be.glb
Create a TS21 soldering iron holder designed for a Skadis pegboard. Start by constructing a main tray with a height of 25mm, a width of 30mm, and a thickness of 17mm. The bottom edges of this tray should be rounded with a 10mm radius. In the center of the tray, create a tiered vertical hole system to hold the iron: a ...
$fn = 128; tray_height = 25; tray_width = 30; tray_thickness = 17; back_height = 45; tray_angle = 0; hole_count = 1; edge_holder_height = 3; edge_holder_thickness = 2; add_up_curve = false; add_down_curve = true; clip_depth = 5.4; only_outer_clips = true; clip_path = "/home/ave/Downloads/T Clip Seat Locating Circ...
glb/cad_7a979e56b184.glb
Create a rectangular label for a filament drybox with overall dimensions of 50.4mm in width, 25.2mm in depth, and 1.8mm in height. The main body is a centered slab with the corners chamfered by 0.5mm. On the top surface of the label, add embossed text with a height of 0.4mm. Position the text "TYP" vertically along th...
Filament_Type = "TYP"; Vendor = "vendor"; Color = "color"; Color_2 = "2.nd line"; Font_Filament_Type="Helvetica:style=Bold"; Size_Filament_Type=6; Font_Vendor = "Helvetica:style=Bold"; Size_Vendor = 6; Font_Color = "Helvetica:style=Regular"; Size_Color = 6; Font_Color_2 = "Helvetica:style=Regular"; Size_Color_2 = ...
glb/cad_e45b33fcf179.glb
Create a DIN rail mounting clip with a base width of 30mm and a height of 6mm. The main body is a rectangular plate with rounded corners (radius 2mm). Along the center of the base, carve out a longitudinal channel to accommodate a DIN rail profile. This channel should be 35mm wide (nominal) and 4.2mm deep. Within thi...
w = 30; h = 6; wm = 3; hl = 35; hp = 2; hh = 4.2; hc = 0.9; ht = 6; htm = 4.2; hsl = 15; hox = -12; sm = "both"; sms = 2; st = 2.4; hdx = 75; nh = "2"; hdy = 20; hw = 2.2; hs = 4.4; ns = "no"; $fs = 0.2; $fa = 2; c = 0.3; r = 2; t = 0.2; module spring(l,w,h,s,t,c=0.3){ n= floor((l+s)/(t+s));...
glb/cad_bc18a8a0433a.glb
Create a hollow wine bottle with a total height of 300mm. The main body is a cylinder with a diameter of 75mm and a height of 195mm. From the top of the body, create a convex shoulder that curves inward over a vertical distance of 45mm until it reaches a neck diameter of 29mm. The neck extends upward from the shoulder ...
hollow = true; wall_thickness = 2; cutaway_view = false; shoulder_curve_factor = 1.2; shoulder_segments = 20; render_detail = 128; bottle_height = 300; base_diameter = 75; neck_diameter = 29; lip_diameter = 32; lip_height = 15; body_height_ratio = 0.65; shoulder_slope_height = 45; base_radius = base_diameter / 2;...
glb/cad_453f1162244c.glb
Create a hollow bottle with a total height of 175mm and a wall thickness of 2mm. The main body is a cylinder with a base diameter of 77mm. Starting at a height of 105mm (60% of the total height), create a curved shoulder that transitions the body diameter down to a neck diameter of 28mm. The shoulder curve should follo...
hollow = true; wall_thickness = 2; cutaway_view = false; lip_taper_height = 2; printable_shoulder_angle = 80; render_detail = 128; bottle_height = 175; base_diameter = 77; neck_diameter = 28; lip_diameter = 32; lip_height = 10; shoulder_start_height_ratio = 0.60; base_radius = base_diameter / 2; neck_radius = nec...
glb/cad_d27805d3d2da.glb
Create a hollow Bordeaux-style wine bottle with a total height of 300mm and a wall thickness of 2mm. The main body is a cylinder with a diameter of 75mm that extends vertically to a height of 195mm (65% of the total height). From this point, create a sloped shoulder that transitions linearly over a vertical distance of...
hollow = true; wall_thickness = 2; cutaway_view = false; render_detail = 128; bottle_height = 300; base_diameter = 75; neck_diameter = 29; lip_diameter = 32; lip_height = 15; body_height_ratio = 0.65; shoulder_slope_height = 45; base_radius = base_diameter / 2; neck_radius = neck_diameter / 2; lip_radius = lip_di...
glb/cad_2cb90ed9e9a0.glb