Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a parametric box with a lid. For the main box, construct a rectangular shell with outer dimensions of 62.5mm in length, 42.3mm in width, and 21mm in total height. The walls and the bottom base should both be 1mm thick. All four vertical outer corners must be rounded with a radius of 2mm. The interior of the box ...
$fn=100; dyl=60.5; sir=40.3; vys=20; pol=2; pol2=2; tl=1; tld=tl; module roh1 () { cylinder (r=pol,h=vys+tld); } module roh2 () { cylinder (r=pol2,h=vys+tld); } module viko () { difference () { hull () { translate ([pol2-tl,pol2-tl,0]) roh2(); translate ([pol2-tl,sir-pol2+tl,0]) roh2(); translate ...
glb/cad_21bc87ac556d.glb
Create a hole cap and sleeve for cable management. Start with a conical base that has a bottom diameter of 67mm and tapers upward to a top diameter of 32mm over a height of 16mm. This base should be hollowed out by removing a central cylinder with a diameter of 30.5mm and a height of 16mm. On top of this base, add a f...
holeDiameter=32; angleThickness=35; plaThickness=3; cylinderSleeve=false; cylinderSleeveLip=1.5; boardThickness=19; screwHeadDiameter=7; screwShaftDiameter=5; fourHoles=false; module __Customizer_Limit__ () {} coneDiameter = holeDiameter+angleThickness; angleHeight = 5; $fn=50; if (cylinderSleeve) { differen...
glb/cad_f449d2db105a.glb
Create a storage holder for a mini grinding pen. Start with a rectangular base block measuring 149mm in length, 64mm in width, and 21mm in height, with all corners rounded by a 2mm radius. Carve a complex negative cavity into the top surface to house the pen. The cavity begins with a main cylindrical shaft 17.5mm in ...
$fn=64; module drill() { adapt=0.5; scale([1, 1 , 0.5]) sphere(d=17+adapt); cylinder(d=17+adapt, h=90); hull() { translate([0,0,90-0.1]) cylinder(d=17+adapt, h=0.2); translate([0,0,90+9]) cylinder(d=12.5+adapt, h=0.1); } hull() { translate([0,0,90+9]) cylinder(d=12.5+a...
glb/cad_24039baa26b4.glb
Create a gear component for a mixer. Start by building a central vertical shaft consisting of three stacked cylinders: a base cylinder 11mm in diameter and 43.5mm tall, a middle cylinder 16mm in diameter and 16mm tall starting at a height of 0, and a top cylinder 18.7mm in diameter and 16mm tall starting at a height of...
use <MCAD/involute_gears.scad>; $fs = 0.5; difference() { union() { cylinder(20 + 5.5 + 1.5 + 8 + 4 + 2 + 5.5, d = 11); cylinder(5.5 + 2 + 4 + 8 + 1.5 + 5.5, d = 16); translate([0, 0, 5.5]) cylinder(2 + 4 + 8 + 1.5, d = 18.7); translate([0, 0, 5.5 + 2]) resize([38, 38, 4]) rotate(3...
glb/cad_3b267f636a56.glb
Create a 4-inch duct cover consisting of a tapered ring and four screw holes. Start by creating a conical outer ring with a base diameter of 139mm and a top diameter of 1mm, reaching a total height of 54mm. Hollow out the center of this shape by removing a cylinder with a diameter of 101mm and a height of 5mm from the ...
holeDiameter=104; angleThickness=35; plaThickness=3; cylinderSleeve=false; cylinderSleeveLip=1.5; boardThickness=19; screwHeadDiameter=7; screwShaftDiameter=5; fourHoles=true; module __Customizer_Limit__ () {} coneDiameter = holeDiameter+angleThickness; angleHeight = 5; $fn=50; if (cylinderSleeve) { differen...
glb/cad_6c294aae8e29.glb
Create a SilverCrest tools holder by starting with a solid square block measuring 97mm by 97mm with a height of 20mm. From this base, remove a large cylindrical section with a diameter of 87mm and a height of 10mm, centered at x=43.5mm, y=43.5mm, and z=5mm. Additionally, remove a rectangular section measuring 87mm in w...
d1 = 87; d2 = 38; h = 10; difference() { cube([d1 + h, d1 + h, 2 * h]); translate([h / 2, d1 / 2 + h / 2, h / 2]) union() { translate([d1 / 2, 0, 0]) cylinder(h, d = d1); cube([d1, d1 / 2 + h / 2, h]); translate([d1 / 2 - d2 / 2, 0, h]) { ...
glb/cad_39c127216e47.glb
Create a geometric vase by stacking 6 polygonal blocks, each with a height of 20mm, to reach a total height of 120mm. Each block is a 10-sided polygon based on a circle with a 50mm radius. Construct the vase by rotating and scaling each successive block. Apply a total twist of 90 degrees across the entire height, mea...
$fn = 50; height = 120; radius = 50; concave = false; concave_perc = 50; sides = 10; twist = 90; tilt = 0; tilt_res = 5; res = 20; module vase(height, r, sides=4, twist=0, tilt=0, res=10, tilt_res=0, concave=false, concave_perc=50){ sides = concave ? sides*2 : sides; xy_angle = 360 / sides; blocks = height/res; twist_...
glb/cad_f96819aab3bb.glb
Create a bed napkin holder by starting with a solid rectangular block measuring 100mm in length, 61.25mm in width, and 56.75mm in height. Carve out a central rectangular void to create a hollow pocket that is 100mm long, 22.75mm wide, and 45.5mm high, positioned 2.84mm from the back wall and 2.84mm from the bottom. To ...
bed = 22.75; wall = bed / 8; difference() { cube([100, 2 * bed + 3 * wall, 2 * bed + wall]); translate([0, wall, 0]) cube([100, bed, 2 * bed]); translate([wall, bed + 2 * wall, wall]) cube([100 - 2 * wall, bed, 2 * bed]); cube([100, wall, 2 * bed - wall - 2 * wall]); }
glb/cad_994c9e3f8624.glb
Create a Calibrating Core XY printer dimensional accuracy cross. Construct the base as two intersecting rectangular prisms centered on the same point. The first prism should be 150mm long, 4mm wide, and 3mm thick, aligned along the X-axis. The second prism should be 4mm wide, 150mm long, and 3mm thick, aligned along th...
difference() { union() { cube([150,4,3],center=true); cube([4,150,3],center=true); } color("green") translate([70,-1.6,0]) linear_extrude(2) text( "x", size= 4); color("green") translate([-1.2,70,0]) linear_extrude(2) text( "y", size= 4); color("green") translate([-70,-1.6,0]) linear_extrude(2) text( "x", size= 4); ...
glb/cad_18f90d2eb752.glb
Create a headset hanger consisting of a mounting clip and a support arm. Start with the clip: create a C-shaped profile with a width of 20mm, a thickness of 6mm, and a depth of 30mm. The inner radius of the C-shape is 17.5mm and the outer radius is 26.5mm. Cut a threaded hole for a nut with a diameter of 10mm and a len...
use <lib/threads-library-by-cuiso-v1.scad> MaxDesk = 35; YourDesk = 20; ClipWidth = 20; ClipThickness = 6; ClipDepth = 30; ArmAngle = 5; ArmLength = 70; Rounding = 25; r1=MaxDesk/2; r2=r1+ClipThickness*1.5; bottom=(r1+ClipThickness*2); $fn = $preview ? 64 : 128; module clip() { difference() { translate([0, Cli...
glb/cad_eafd8c6c2dc3.glb
Create a headset hanger consisting of a mounting bracket and two matching bolts. First, construct the bracket as an L-shaped profile with a thickness of 6mm and a total width of 20mm. The vertical section of the bracket is a rectangular block 35mm high and 20mm wide. The horizontal arm extends 70mm from the bracket, ...
use <lib/threads-library-by-cuiso-v1.scad> ArmAngle = 5; ArmLength = 70; ClipDepth = 30; MaxDesk = 35; YourDesk = 20; Thickness = 6; Rounding = 20; module bodyMinkowski() { translate([0, 0, 1]) minkowski() { body(); sphere(r=1); } } Width = 20; module body() { minkowskiAdjust = 2; thick = Thickness - minko...
glb/cad_924ce3427b94.glb
Create a bike theft deterrent called a Hexlock by constructing a hexagonal prism with a height of 3.5mm and a flat-to-flat outer diameter of 5.9mm. Centered through the vertical axis of this prism, remove a smaller hexagonal hole with a flat-to-flat diameter of 1.5mm that extends through the entire height of the object...
h4=4.8; h5=5.9; outerDiameter=h5; innerDiameter=1.5; height= 3.5; difference() { cylinder(d=outerDiameter, h=height, $fn=6, center=true); cylinder(d=innerDiameter, h=height, $fn=6, center=true); }
glb/cad_eeb12b0de565.glb
Create a desktop speaker stand consisting of a main case, a front grill, and a back panel. The main case is a hollow box with outer dimensions of 60mm x 60mm x 60mm. Inside this case, create a circular mounting holder for a 40mm speaker. This holder features a tiered cylindrical design: a base ring with a 43mm diamet...
$fn=100; Grill=true; Case=true; Backpanel=true; if(Backpanel) translate([0,66,0]) { difference() { union() { rotate([-10,0,0]) { difference() { cube([60,2,60]); translate([4,2,4])rotate([90,0,0])cylinder(d=2.7,h=5); translate([4,2,56])rotate([90,0,0])cylinder(d=2.7,h=5); translate([56,2,...
glb/cad_55096d094c9e.glb
Create a 3D model of the capital letter "A" using a bold, sans-serif typeface. Extrude the letter to a height of 100mm. Scale the resulting geometry so that its overall footprint is 100mm wide by 100mm deep. Ensure the final shape is a solid, extruded block with clean, sharp edges and a uniform thickness throughout the...
$fn = 200; resize([100,100,0]) A(); module A () { linear_extrude(height = 100) text("A", font="Cantarell Extra Bold"); } module B () { linear_extrude(height = 100) text("B", font="Cantarell Extra Bold"); } module C () { linear_extrude(height = 100) text("c", font="Cantarell Extra Bold"); } module D () { linear_extrud...
glb/cad_a60b0c716764.glb
Create a low-poly flower pot and matching saucer. For the pot, create a hollow vessel with a height of 170mm. The base is a polygon with 18 vertices and a diameter of 150mm, which extrudes upward to a top diameter of 200mm. Apply a twist of 170 degrees during extrusion, using 15 vertical slices to create the faceted ...
db=150; dt=200; h=170; t=3.2; tpb=2; rh=18; rv=15; at=170; ds=9.6; tw=1.8; ns=2; nh=6; dh=6; dis=162; hs=24; ts=2.2; hss=10; wss=2.4; nss=12; rhs=26; rvs=2; ats=10; rp=1; reso=128; $fn=reso; d1=db-2*t+tpb*(dt-db)/h; d2=dt-2*t; do=dis+2*ts; hsi=hss+ts; dts=do+hs*2/3; if(rp < 2){ translate([0...
glb/cad_169b58ec1b1a.glb
Create a parametric hand tool organizer consisting of a series of adjacent tool slots. The overall depth of the unit is 90mm. Each slot is formed by a wall thickness of 1.6mm. For each tool slot, create a hollowed-out wedge shape. The outer frame is a polygon defined by a top length, a bottom length, and a horizontal ...
dims = [ [48,36,17,1],[42,20,27,1], [58,26,18,1], [53,26,18,1], [49,16,15,1], [37,10,14,1], [42, 9, 11, 1], [23, 6, 7, 1], ]; depth = 90; thickness = 1.6; screw_size = 3; edge_screw = 1; rotation = 108; plate_length = depth*1.045; function holder_width(index) = dims[index][2]+thickness*2+dims[index][3]; functi...
glb/cad_613c3e397689.glb
Create a Parametric Filament Dryer Fan Hub. Start by creating a conical hub with a height of 30mm, a base diameter of 65mm, and a top diameter of 45mm. Hollow out the center of this hub to accommodate a fan. The cutout begins with a rounded square prism at the base, measuring 40mm by 40mm with 4mm corner radii and a ...
max_diameter = 65; min_diameter = 45; height = 30; fan_ext = 40; fan_blow_d = 38; fan_ext_r = 4; fan_d = 32; fan_hole_d = 2.7; fan_height = 10; fan_in = 10; wall_thickness = 1.5; tolerance = .2; module __Customizer_Limit__ () {} fn = 50; translate([0,0,height])rotate([0,180,0])hub(); module hub(){ dif...
glb/cad_c949bc84ab55.glb
Create a Cat Grass Pot consisting of a main box and a perforated insert. Construct the main box as a rounded rectangular container with outer dimensions of 160mm length, 100mm width, and 40mm height. The walls should be 1.6mm thick with a corner radius of 10mm. The interior is hollowed out, leaving a floor thickness ...
height = 40; width=100; length=160; radius=10; wall_thickness=1.6; gap=0.15; insert_height=10; grid_bar_width=1.6; grid_bar_gap=3; lock_diameter=0.9; lock_gap=0.1; lock_length=20; handle_height=3; enable_box=1; enable_insert=1; resolution=128; main(); module main(){ if(enable_box){ rounded_box(length,wi...
glb/cad_8fe2d2d067e4.glb
Create a peg for the IVAR system by constructing a hexagonal prism. The prism should have a length of 35mm and a diameter of 6.25mm measured across the flats. Ensure the geometry is a true hexagon with six flat sides rather than a smooth cylinder. Orient the prism so that its longitudinal axis is the primary dimension.
length = 35; dia = 6.25; translate([0,length/2,dia/2]) rotate([90,0,0]) cylinder(h=length,d=dia,$fn=6);
glb/cad_5c6579054d82.glb
Create a Claptrap electronics insert. Start with a main body shaped as a frustum with a square base of 54mm x 54mm and a square top of 74mm x 74mm, with a total height of 103mm. Hollow out the center of this body to create a cavity. At the bottom, create a circular speaker opening with a radius of 15.5mm and a height...
width_x_bot = 54; debth_y_bot = 54; width_x_top = 74; debth_y_top = 74; oal_z = 103; diff_x = width_x_top - width_x_bot; diff_y = debth_y_top - debth_y_bot; ang_y = acos ( oal_z / sqrt ( ( (diff_y/2) * (diff_y/2) ) + ( (oal_z) * (oal_z) ) ) ); ang_x = acos ( oal_z / sqrt ( ( (diff_x/2)...
glb/cad_bd85c380d6eb.glb
Create a Claptrap electronics insert in the shape of a thin, hollow ring. Start by creating a solid cylinder with a height of 3.5mm and a radius of 12.45mm, centered on the origin. From the center of this cylinder, remove a smaller conical volume to create the interior void. This void should be defined by a cylinder wi...
heigth = 3.5; outer_diam = 24.9; bot_width = 3.5; top_width = 0.4; $fn = 72; r_bot = ( outer_diam / 2 ) - (top_width / 2); r_top = ( outer_diam / 2 ) - (bot_width / 2); r_out = outer_diam / 2; difference () { cylinder ( h = heigth, r1 = r_out, r2 = r_out, center = true ); cylinder...
glb/cad_21a323e507f9.glb
Create a simple coaster by starting with an octagonal prism that has a diameter of 108mm and a height of 10mm. Hollow out the center of this prism by removing an octagonal volume with a diameter of 100mm and a height of 12mm, positioned 4mm from the base to create a shallow tray. To provide space for anti-slip pads on ...
$fn=8; difference(){ cylinder(d=108,h=10); translate([0,0,4]) cylinder(d=100,h=12); translate([0,0,-1]) cylinder(d=13,h=2.5,$fn=60); translate([31,31,-1]) cylinder(d=13,h=2.5,$fn=60); translate([-31,-31,-1]) cylinder(d=13,h=2.5,$fn=60); translate([31,-31,-1]) cylinder(d=13,h=2.5,$fn=60); translate([-31,3...
glb/cad_6ebb28179e3b.glb
Create a Keyboard Organizer consisting of a base plate and a series of vertical storage compartments. Start with a base plate that is 84mm wide, 38mm deep, and 1.2mm thick, with rounded front corners. Position a second, lower plate 37.7mm below the first one, measuring 84mm wide and 25mm deep with a thickness of 1.2mm ...
kbd_hi = 36.5; key_dist = 38; pen_thick = 12; pen_dist = 4; pen_high = 40; low_dist = 15; low_overlap = 10; box_hi = 15; wall = 1.2; round= 8; pen_num = 6; tol = 0.3; usb_thick = 5; usb_width = 11; usb_deep = 12; usb_side_dist = 10; usb_front_dist = usb_thick; pen_rad = 2*((pen_thick/2)/sqrt(3)); num_box=f...
glb/cad_76bb76eb3a2a.glb
Create a Keyboard Organizer designed to sit atop a keyboard. Start with a base plate that is 1.2mm thick, with a total width of 64mm and a depth of 39.2mm, featuring rounded corners of 8mm on the front left and right. Construct a main vertical body that rises from the base. This body should have a total height of 41.2...
kbd_hi = 36.5; key_dist = 38; pen_thick = 20; pen_dist = 2; pen_high = 40; low_dist = 15; low_overlap = 10; box_hi = 15; wall = 1.2; round= 8; pen_num = 2; lm_thick = 20; lm_width = 35; lm_hi = kbd_hi+box_hi- 2*wall; lm_rad = 2; lm_num = 2; tol = 0.3; usb_thick = 5; usb_width = 11; usb_deep = 12; usb_s...
glb/cad_34c0ba58c8a4.glb
Create a parametric yarn holder consisting of two main geometric components. First, create a solid base cylinder with a diameter of 17mm and a height of 2.5mm. Directly on top of this base, construct a hollow tapered sleeve with a total height of 57.5mm. This sleeve should transition from a bottom outer diameter of 34m...
include <MCAD/regular_shapes.scad>; $fa = 1; $fs = 0.4; h_plug = 5/2; d_yarn_bottom = 34; h_yarn = 115; t_holder = 2; cylinder_tube(h_plug, d_yarn_bottom/2, 1); translate([0, 0, h_plug]){ difference(){ cylinder(h_yarn/2, d1=d_yarn_bottom, d2=d_yarn_bottom/2); cylinder(h_yarn/2, d1=d_yarn_bottom-t_holder...
glb/cad_47206ad5f194.glb
Create a parametric yarn holder consisting of a base plug and a circular plate. First, construct a cylindrical plug with a radius of 4.4mm and a height of 10mm. On top of this plug, place a larger cylindrical plate with a radius of 22.5mm and a thickness of 5mm. Bore a central vertical hole through the plate with a rad...
include <MCAD/regular_shapes.scad>; $fa = 1; $fs = 0.4; r_hole = 3.4; h_plug = 10; r_plate = 22.5; t_plate = 5; d_yarn_bottom = 34; cylinder_tube(h_plug, r_hole+1, 1); difference() { translate([0,0,h_plug]) { difference() { cylinder(t_plate, r=r_plate); cylinder(t_plate-1, r=r_hole); } } translate...
glb/cad_7ec57a869c58.glb
Create a Plotter Y-Axis stabilizer consisting of a central bearing housing with two symmetrical mounting arms. Start with a central rectangular block 13mm wide, 11.1mm high, and 3mm deep. In the center of this block, create a vertical cylindrical hole 3mm in diameter that passes completely through the top and bottom. ...
bearing_bottom_to_mount = 26.1; bearing_outer_diameter = 22; bearing_inner_diameter = 8; bearing_depth = 7.5; bearing_screw_diameter = 3; bearing_hold_height = .2; bearing_hold_slack = 3; bearing_mount_depth = 2.75; bearing_mount_height = bearing_bottom_to_mount - bearing_outer_diameter / 2 + bearing_inner_diameter ...
glb/cad_cc22ad727325.glb
Create a Steinberg UR 242 under-desk mount clamp. Start with a main rectangular body that is 210mm wide, 12.5mm deep, and 49mm tall. From this body, remove a central rectangular volume measuring 200mm wide, 148mm deep, and 45mm tall, positioned so that it leaves a base thickness of 4mm and side walls of 5mm each. This ...
width = 200; depth = 148; height = 45; holder_diff = 3; holder_start = 4; thickness_x = 5; thickness_y = 12.5; thickness_z = 4; cutout_size_diff = 0; hole_size = 3.5; hole_head_size = 9; module ur242() { cube([width, depth, height], center = true); } module clamp() { cube([thickness_x + width + thickness...
glb/cad_5e505ccf9b7f.glb
Create a microphone stand base shim by constructing a vertical cylinder with an outer diameter of 15mm and a total height of 30mm. Hollow out the center of this cylinder with a concentric hole 13mm in diameter that runs through the entire height. At the top of the cylinder, add a flat rectangular cap that is 4mm thick,...
outer = 15; inner = 13; height = 30; slot_height = 15; slot_start = 3; difference() { union() { translate([-(outer+4)/4, 0, height/2+2]) cube([outer/2+2, outer+3, 4], center=true); translate([0, 0, height/2+2]) cylinder(center=true, d=outer+3, h=4, $fn=100); translate([-outer/4, 0, 0]) cub...
glb/cad_90823e1db0b2.glb
Create a two-part protective case for a midipal PCB. The PCB dimensions are approximately 94mm by 62mm. For the bottom section, create a rounded rectangular shell with a wall thickness of 2mm and a base thickness of 2mm. The outer dimensions should be approximately 98mm by 66mm. In the base, create four screw mounting...
pcb_dimension_tolerance = .1; pcb_x_start = -1.27 - pcb_dimension_tolerance; pcb_y_start = 0.635 - pcb_dimension_tolerance; pcb_x_end = 92.71 + pcb_dimension_tolerance; pcb_y_end = 60.96 + pcb_dimension_tolerance; pcb_fit_tolerance = 1; pcb_thickness_tolerance = 0.1; pcb_width = pcb_x_end - pcb_x_start; pcb_height ...
glb/cad_741466699f29.glb
Create a MeanWell RS-150 IEC Power Connector Cover. Start by constructing a main outer shell using a block that is 104mm wide, 44mm deep, and 55mm high. Hollow out the center to create a cavity that is 94mm wide and 34mm deep, leaving walls 5mm thick. On the right side of the shell, add a structural reinforcement feat...
t = 1; nudge = 0.01; width = 98 + t; depth = 38 + t; cover(); module cover() { difference() { union() { translate([-3,-3,-35]) cube([width+6,depth+6,55]); translate([-3,-3,-47]) cube([width+6,15+6,60+5]); translate([-3+34,-3-5,-47]) cube([55,25+1,47]); scre...
glb/cad_2c36d3e94e51.glb
Create a pen mount designed to hold three pens with a diameter of 12mm each. The overall structure is a rectangular block with a height of 50mm, a wall thickness of 3mm, and a total depth of 15mm. The main body consists of a backing plate and a bottom slope that rises to 12.5mm (25% of the total height). Create three...
rotate([270,0,0]) pen_mount( pen_diam = 12, pen_count = 3 ); module pen_mount( pen_diam = 12, pen_count = 3, height = 50, mounting_diam = 2.5, wall = 3, mounting_hole = 0.4, slope = 0.25 ) { $fn = 32; dim_x = wall + pen_count * (wall + pen_diam); dim_y = 2*wall + pen_diam; hull() { sphere(d=...
glb/cad_7c6ee4a118a2.glb
Create an IVAR Mounting for mini Skadis panels. The main body is a hull formed between two cylinders, each with a diameter of 10.5mm (6.9mm peg diameter plus 1.8mm wall thickness on each side), spaced 25.5mm apart from center to center. The total height of the part is 25mm. Within this body, create two vertical cylind...
tol = 0.1; safety = 0.5; peg_length = 25; peg_dia = 6.9; hole_distance = 25.5; wall = 1.8; peg_type = "Printed"; slot_width = 8; screw_hole_d = 3.5; back_t = 0.6; setup = "2x160mm"; custom = 3.3; delta = (setup=="160mm") ? 2.4 : ((setup=="2x160mm") ? 3.3 : custom); $fn = $preview ? 30 : 720; view_size = 70; eps ...
glb/cad_d8e36a1408e3.glb
Create a floor protection cap for a side table. Start by forming a solid rectangular block with a length of 25mm, a width of 5mm, and a height of 5mm, centered on the origin. Attach a triangular prism to the bottom of this block; this prism should have a length of 25mm, a width of 5mm, and a height of 5mm, with its thr...
length = 25; width = 5; height = 5; base_width = 8; wall_thickness = 1; $fn = 32; difference() { union() { cube([length, width, height], center = true); rotate([0,270,0]){ translate([(width-height),0,-length/2]) { cylinder(length, width, width, $fn=3); } ...
glb/cad_4e024ecaf51e.glb
Create a small parts tray with overall dimensions of 131.5mm width, 77.1mm length, and 17.0mm height. The tray starts as a solid block with a bottom thickness of 1.0mm. Carve out the interior to create two rows of compartments. The first row occupies 50% of the length and consists of a single wide compartment. The sec...
enableHandle = true; layoutWidth = 131.5; layoutLength = 77.1; trayHeight = 17.0; separatorTickness = 1.2; bottomTickness = 1.0; roundedBucketEnabled = true; roundRadius = 7; rowLayout = [ 0.5, 0.5 ]; columnLayout = [ [ 1 ], [ 0.50, 0.50 ] ]; handleSize = 12; ha...
glb/cad_621b7f0a99d5.glb
Create a hexagonal LED wall panel with a total height of 15mm. Start with a solid hexagonal prism with a radius of 68.5mm. Hollow out the center by removing a smaller hexagonal prism from the top, leaving a base floor thickness of 0.6mm. This interior cavity should have a radius of 66.5mm, but leave a reinforcement rin...
altura = 15; radioexterno=68.5; grosorpared=1.0; grosorsuelo=0.6; anchoranura=4; alturarefuerzo=3; anchorefuerzo=1.5; toleranciahueco=3.6; toleranciaranura=10; radiointerno=radioexterno-(grosorpared*2); difference(){ cylinder(r=radioexterno, h=altura, $fn=6); translate([0,0,grosorsuelo+alturarefuerzo]) ...
glb/cad_b67ebea7cfb8.glb
Create a RepBox 2.5 Stand with a main body measuring 245mm in width, 136mm in depth, and 60mm in height. On the outer edges, create a mounting flange with a total depth of 27mm. This flange includes a recessed area 12.85mm deep and a wall thickness of 9mm, with a flange height of 4mm. The corners of the main body sho...
$fn = 120; standx = 245; standy = 136; standz = 60; flangedepth = 12.85; outsidesupport = 17; insidesupport = 27.125; repboxWall = 9; flangeinsidedepth = 19; flangeheight = 4; flangetotaldepth = 27; supportDepth = 13; supportLength = 145.75; supportneckx = 21.5; supportneckyoffset = 42; supportbaseyoffset = 28; sup...
glb/cad_88b1638f5376.glb
Create a flexible pattern plate by arranging a grid of small rectangular prisms. The overall footprint of the pattern is 220mm by 220mm with a total height of 10mm. Construct the pattern using a repeating unit consisting of two rectangular prisms, each measuring 2mm in width and 20mm in height. Position the first pri...
sq_size=[2,20]; gap=[5,5]; size=[220,220]; h=10; module sq() { square(sq_size, center=false); translate([sq_size.x+gap.x,.5*(sq_size.y+gap.y)]) square(sq_size, center=false); } linear_extrude(h) union() { for(i = [0:2*(sq_size.x+gap.x):size.x]) for(j = [0:(sq_size.y+gap.y):size.y]) translate([i,j]...
glb/cad_0e3a0ca7686a.glb
Create a parameterized clip system consisting of a male and female connector. For the male clip, create a central rectangular body 4mm long, 10mm wide, and 20mm thick. Add two arms extending from the body, each 1mm wide, that transition into rounded ends with a 4mm radius. At the end of these arms, create semi-circular...
clip_width = 10; clip_length = 20; clip_thickness = 20; clip_arm_width = 1; clip_body_length = 4; tab_protrusion = 0.8; clip_male_female_delta = 0.25; angled_clip_Boolean = true; locking_clip_Boolean = true; $fs = 0.2; $fa = 4; test_body3(); module test_body1() { difference() { union() { cube...
glb/cad_4c041759f29e.glb
Create a horizontal knife block with a base measuring 74mm in width and 219mm in length. The main body should have a depth of 35mm with rounded corners of 17.5mm on the bottom and 20mm on the top edges. Carve out a series of 7 identical slots for knife blades. Each slot should be 125mm long, 2.6mm thick, and 18mm wid...
flat_width = 74; flat_length = 219; corner_rad = 0+17.5; edge_angle = 0+8; depth = 0 + 35; top_corner_rad = 0+20; knife_block(); blade_length = 125; handle_length = 120; blade_thickness = 2.60; handle_thickness = 13.50; blade_width = 18; knife_pitch = 15; knife_count = 7; $fs = 0.2; $fa = 4; module length_template(...
glb/cad_aca5bb1d8b68.glb
Create a two-part protective case for a Raspberry Pi 4 and a Pimoroni Automation Hat stack. The total internal stack height is 25mm. Construct a main rectangular shell with walls 3mm thick. The outer dimensions are derived from a hole pattern of 58mm by 49mm, with 3.5mm and 23.5mm offsets from the edges to the mountin...
DEBUG = false; USE_INSERT = false; HolePatternX = 58; HolePatternY = 49; HoleToEdgeShort = 3.5; HoleToEdgeLong = 23.5; PCBThickness = 1.5; PCBClearance = 0.45; Epsilon = 0.01; WallThicknessZ = 3; WallThicknessXY = 3; ScrewHeadHoleDepth = 3; ScrewHoleHeadInner = 4.5; ScrewHoleInner = 2.6; ScrewStubOuterTop = 5; Screw...
glb/cad_18f3e609d725.glb
Create a Finger Rosary fidget ring. Start with a base ring formed by a rounded cylinder with a radius of 14mm and a height of 10mm, featuring rounded corners of 2mm. Remove a central cylindrical hole with a radius of 10mm and a height of 10mm. To create the cross detail, remove two rectangular blocks from the outer e...
$fs = 0.01; module rounded_cylinder(r,h,n) { rotate_extrude(convexity=1) { offset(r=n) offset(delta=-n) square([r,h]); square([n,h]); } } union() { difference() { translate([0,0,-5]) rounded_cylinder(r=14,h=10,n=2); cylinder(10,10,10,center=true); rotate([0,0,-1*360/11]) translate([14,0,0]) cu...
glb/cad_aabe39c7ce9a.glb
Create a coaster holder by starting with a solid cube that is 100mm wide, 100mm deep, and 65mm tall. From this block, remove a large octagonal prism centered on the XY plane with a diameter of 110mm and a height of 65mm, rotated 67.5 degrees to align the facets. Next, create four circular holes with a diameter of 13m...
$fn=8; difference(){ translate([-100/2,-100/2,0]) cube ([100,100,60+5]); translate([0,0,5]) rotate ([0,0,67.5]) cylinder(d=110,h=65); translate([40,40,-1]) cylinder(d=13,h=2.5,$fn=60); translate([40,-40,-1]) cylinder(d=13,h=2.5,$fn=60); translate([-40,40,-1]) cylinder(d=13,h=2.5,$fn=60); translate([-40,-4...
glb/cad_edd0b3ab0f67.glb
Create a Grohe Red boiler switch replacement. Start with a rectangular base measuring 47mm in length, 12mm in width, and 5mm in height. Remove a large horizontal cylinder with a diameter of 210mm from the center of the base to create a curved, concave profile. On top of this base, construct a central raised element. ...
h=5; d=210; difference() { translate([0,0,0])cube([47,12,h],true); translate([0,10,d/2])rotate([90,0,0])cylinder(d=d,20,$fn=360); } e=1; difference() { hull() { translate([0,0,11/2])cube([12.5,5.7+e,11],true); translate([0,0,0])cube([22,5.7+e,0.01],true); } translate([0,0,7.38])cu...
glb/cad_6751719721a2.glb
Create a replacement end cap for a metal roof with a total width of 210mm, a height of 97mm, and a depth of 25mm. The object features a consistent wall thickness of 2mm. Construct the base as a flat rectangular plate. From the outer edges of the base, extend two symmetrical side walls upward. These walls should start...
$fn=10; wall_thickness = 2; width = 210; height = 72+25; depth = 25; wingstart_height=.64; firstcorner_height=.91; firstcorner_distance=.90 ; secondcorner_height=.91; secondcorner_distance=.4 ; function add2(v) = [for(p=v) 1]*v; function cumsum2(v) = [ for (a=0, b=v[0]; a < len(v); a= a+1, b=b+(v[a]==undef?0...
glb/cad_457b7b74c645.glb
Create an AutoTwirler jack bar mount consisting of a cylindrical clip and a rectangular mounting block. First, construct the clip by creating a hollow cylinder with an outer diameter of 29.5mm, an inner diameter of 21.5mm, and a total height of 39.5mm. Cut a rectangular notch out of one side of this cylinder using a ce...
$fn=120; barDiameter = 21.5; mountSize = 31.5; mountThickness = 4; myBarClip(); translate([barDiameter/2+mountSize/2+mountThickness,0,0]){ myMount(); } module myBarClip() difference(){ cylinder(h=mountSize+mountThickness*2, d=barDiameter+mountThickness*2, center=true); cylinder(h=mountSize+m...
glb/cad_3c024f5a9755.glb
Create a PVC Pipe Mount consisting of a cylindrical sleeve attached to a flat mounting base. Start by creating a main cylinder with an outer diameter of 44mm and an inner diameter of 33.7mm to accommodate the pipe. This sleeve should have a total length of 90mm, but it must be tilted at a 5-degree angle relative to the...
$fn=200; inner_dia = 33.7; outer_dia = 44; hole_depth = 30; angle=5; cone_bottom=60; 2x4_dia=35; 2x4_thickness=10; difference(){ union(){ color("red"){ translate([0,0,-3*hole_depth/2]){ rotate(angle, [0,-1,0]){ difference(){ linear_extrude(3*hole_depth){ circle(d=outer_dia); } transl...
glb/cad_706786584294.glb
Create a bathtub drain mesh consisting of a wide circular base and a tapering conical center. Start with a flat disc 72mm in diameter and 1mm thick. From the center of this disc, extend a hollow cone upwards to a height of 10mm, tapering from a bottom diameter of 55mm to a top diameter of 22mm. The walls of this cone...
width=72; in_width=55; out_width=in_width*0.4; thickness=1; height=10; bar_radius=1.2; $fn=70; difference() { cone(); for (i = [0 : 360/8 : 360]) { rotate([0,77,i]) scale([1.5, 4.5, 1]) cylinder(h=30, r=1); } } bars(); top_ring(); top_bars(); module top_bars() { fo...
glb/cad_6f91626ade78.glb
Create a simple filament winder consisting of three separate components: two spool caps and one nut. First, create two identical spool caps. Each cap is a cylinder with a diameter of 65mm and a height of 4mm. Centered through the length of each cap, remove a cylindrical hole with a diameter of 20mm and a height of 22...
translate([0,90,0]) difference() { union() { cylinder(d=75,h=17); } translate([0,0,-0.01]) cylinder(d=33,h=13,$fn=6); translate([0,0,-0.01]) cylinder(d=20,h=52); translate([0,0,6]) difference() { cylinder(d=90,h=11+3); translate([0,0,-0.01]) cylinder(d=50,h=12,$fn=90); } } translate([90,0,0])...
glb/cad_f1ceae5a6cdc.glb
Create an outlet mounted phone charging stand consisting of two main parts: a charger frame and a phone holder. First, construct the charger frame. Create a cube 43.4mm wide, 43.4mm deep, and 28.4mm high. Subtract a central rounded rectangular volume to fit a charger of 41.4mm width, 41.4mm depth, and 28.4mm height, w...
Select_part = "phone-holder"; screw_spacing = 35; screw_length = 6.5; charger_width = 41.4; charger_height = 28.4; charger_corner_r = 5.5; dist_to_usb = 7.8; usb_width = 11.6; usb_height = 6.8; cable_d = 4.8; cable_clip_thickness = 1; phone_width = 74.7; phone_height_to_button = 78; phone_usb_width = 22; pho...
glb/cad_a010fe3932a2.glb
Create a Birdweather PUC Rain Cover consisting of a base plate and a protective curved shield. Start with a base plate that is 1.27mm thick. On this base, create a central mounting hole 7.35mm in diameter with a countersink for a screw head that is 13.7mm in diameter and 5.08mm deep. From the base, extend a curved wa...
in2mm =25.4; eps=0.01; Base_Thick = 0.5*in2mm; Top_Thick = 0.25*in2mm; OverHang = 2.25*in2mm; Top2Hole = 2.5*in2mm; TopRadius = Top2Hole*2; ScrewDiam = 0.25*in2mm +1.0; ScrewHeadDiam = 0.5*in2mm + 1.0; ScrewHeadThick = 0.2*in2mm; $fn=80; translate([TopRadius-Top2Hole,0,0]) { difference(){ cylinder(h=OverHan...
glb/cad_5ad78e6a44a4.glb
Create a pipe vent protection model. Start by constructing the main body as a hollow cylinder with an outer diameter of 300mm and a total height of 20mm. The outer shell wall thickness should be 1.6mm. At the base of this cylinder, add a flat circular rim with a diameter of 308mm and a height of 2mm. Inside the hollow...
$fa = 3; $fs = 0.5; nozzle = 0.4; layer = 0.2; debug = false; include_fins = true; include_grid = false; include_rim = false; angle = 40; protect_angle = 20; overlap = 0; thickness = 20; radius = 150; rim_size = 4; rim_height = 2; outer_wall = nozzle * 4; inner_wall = nozzle * 2; tolerance = 0.1; module fins() { fin_...
glb/cad_3842be49e250.glb
Create an inductive sensor target mount. Start by creating a rectangular clamp base with a total width of 18mm, a height of 12.2mm, and a length of 22.2mm. The clamp should be hollowed out from the center, leaving walls that are 3mm thick. Drill a vertical hole with a diameter of 3.1mm through the center of the clamp b...
$fa=6; $fs=0.5; tolerance = 0.1; hole_size = 3; nut_size = 6.2; frame_thickness = 3; frame_width = 10; thickness = 3; pad_y_distance = 25; pad_x_distance = 25; pad_z_distance = 10; sensor_diameter = 18; clamp_length = frame_width + hole_size + tolerance + (thickness * 2); clamp_height = (thickness * 2) + frame_thickne...
glb/cad_9d888b041647.glb
Create a parametric arcade pushbutton assembly consisting of six distinct geometric components. Use a mounting diameter of 30mm and a panel thickness of 3mm. First, create a button cap with a diameter of 23.9mm. The cap should be a hollowed-out dome with a central rectangular cavity measuring 14.1mm by 16.1mm to accom...
RENDER_PART = 6; MOUNTING_DIAMETER = 30; CAP_RESTRICTION = 1.0; PANEL_THICKNESS = 3.0; Render(); module Render() { cap_d = MOUNTING_DIAMETER - 8.5 + 2.4; housing_d = MOUNTING_DIAMETER; bottom_d = MOUNTING_DIAMETER; ring_d = MOUNTING_DIAMETER + 0.5; fill_d = MOUNTING_DIAMETER - 2.8; if (RENDER_...
glb/cad_78850c963fea.glb
Create a hand circular saw guide consisting of a main body and a ridge. Start with a rectangular base measuring 160mm wide, 200mm long, and 5mm thick. On the top surface, add a rectangular ridge that is 20mm wide, 200mm long, and 10mm high, positioned 115mm from the left edge of the base. On the left side of the base,...
include <BOSL/constants.scad> use <BOSL/shapes.scad> use <BOSL/paths.scad> use <BOSL/transforms.scad> use <BOSL/beziers.scad> use <BOSL/math.scad> size = [160, 200, 5]; distance_from_saw = 115; ridge = [20, 200, 10]; screw_insert = 4; screw_hole = 3; screw_head = 5.1; screw_head_depth = 3.1; screw_spacing = 10; screw_...
glb/cad_386dc3f6612b.glb
Create a bicycle chain guard consisting of a flat circular ring with four equidistant mounting tabs. The main body is a ring with an outer diameter of 209mm and an inner diameter of 193mm, and a thickness of 10mm. From the center of the ring, remove a concentric cylinder with a diameter of 193mm and a height of 11mm, l...
$fn=70; x1=114.2+5; y1=104.6+5; ca1=43; ca2=42; ww=20; ll1=15.5; ll2=15.5; module cicik(ll, ca) { rotate([0,0,ca]) difference () { union () { cylinder(8,2.5,2.5); hull () { translate([0,0,1]) cylinder(9.0001,5,5); } ...
glb/cad_514671cb2c33.glb
Create a Fixed Book8088 CPU/FPU/Audio cover. Start with a rounded rectangular base measuring 74.7mm wide by 39mm high with a thickness of 1.5mm and corner radii of 0.5mm. Cut a rectangular hole out of the center of this base, leaving a 1.5mm border around the edges, and extending the depth of this cutout to 5mm to acco...
x1=75-0.3; y1=39.3-0.3; z1=1.5; y2=10; r2=2.2; x3=2.7; y3=1; $fn=100; module base(x,y,z,r=0) { hull() { translate([r,r,0]) cylinder(z,r,r); translate([x-r,r,0]) cylinder(z,r,r); translate([r,y-r,0]) cylinder(z,r,r); translate([x-r,y-r,0]) ...
glb/cad_05b68fa13d7c.glb
Create a Crack Pipe Holder by constructing a main body that blends a horizontal cylinder with a rectangular base. Start with a hull encompassing a cylinder of 10mm length and 10mm diameter, centered on the X-axis and shifted 2mm up, and a rectangular block measuring 16mm by 15mm by 5mm positioned at the base. From this...
$fn=100; pp=13.7-0.3; uu=10; xp=20; ww=15; difference() { hull() { translate([0,0,2]) rotate([0,90,0]) cylinder(10,xp/2,xp/2); translate([-3,-ww/2,-xp/2]) cube([16,ww,5]); } translate([-3,-25,xp/2-1]) cube([16,50,5]); hull() { trans...
glb/cad_e51b2b91e442.glb
Create a 5.25 TEAC drive face plate with an integrated handle. Start by constructing a main rectangular body that is 34mm wide, 8mm high, and 5.75mm thick. On the left side of this body, attach a cylinder with a radius of 4mm and a length of 12.4mm, oriented horizontally. Add a small rectangular tab measuring 15mm by 8...
$fn=50; module cicik(l) { difference() { rotate([-90,0,0]) cylinder(l,2,2); translate([-11,-10,-10]) cube([10,l+20,20]); } } difference() { union() { rotate([-90,0,0]) cylinder(12.4,4,4); translate([0,4.4,0]) { rotate([-90,0,...
glb/cad_48fcb7bcd911.glb
Create a front shifter frame tube cable stop. Start by forming a main body that is the intersection of a cylinder with a radius of 14.4mm and a rectangular block 20mm wide and 13mm thick. Modify this body by adding two cylindrical extensions of 10mm radius, each 15mm long, extending from the sides along the center axis...
$fn = 100; rs=28.8; v=20; dd=15; dv=20; pz=3+1; ph=6; pm=ph; xr=13; ds=33; pl=1.2+0.3; pb=5.8+0.2; tt=1; difference() { intersection() { hull() { rotate([0,16,0]) translate([0,0,-50]) cylinder(100, rs/2+4, rs/2+4); rotate([90,0,0]) tr...
glb/cad_a53c257d6601.glb
Create a chess rook by constructing a tiered geometric form. Start with a base consisting of a cylinder 14.6mm in diameter and 10mm high. Atop this, add a second cylinder 14.6mm in diameter and 11mm high. Above the base, create a tapered midsection by forming a hull between a sphere with a 13.2mm diameter centered at a...
$fn=50; difference() { translate([0,0,20+4+5+1]) cylinder(5.5,14.6/2,14.6/2); translate([0,0,20+4+5+1+5.5]) sphere(11/2); translate([-1.7/2,-25,20+4+5+1+5.5-2]) cube([1.7,50,10]); translate([-25,-1.7/2,20+4+5+1+5.5-2]) cube([50,1.7,10]); } translate([0,0,20+4+5]) cylinder(1,13.6/2,14.6/2); translate([0,...
glb/cad_b898e494ec4e.glb
Create a chess piece composed of a series of stacked, vertically aligned geometric volumes centered on the Z-axis. Start with a base that is the intersection of a sphere with a diameter of 16.4mm and a cylinder with a radius of 3.7mm. Directly above this, place a second section formed by the intersection of a sphere wi...
$fn=50; cylinder(32,2,2); translate([0,0,3.7+6+7+4.9+5.3]) sphere(11/2); translate([0,0,3.7+6+7]) intersection () { translate([0,0,1]) sphere(10.6/2); cylinder(4.9,100,100); } translate([0,0,3.7+6]) intersection () { hull() { sphere(12.2/2); cylinder(7,6.7/2,6.7/2); } cylinder(7,100,100); } translate(...
glb/cad_0daa6afba524.glb
Create a short, wide cylinder to serve as a base for a chess piece. The cylinder must have a total height of 4.7mm and a diameter of 18.6mm. Ensure the circular faces are smooth with a high facet resolution.
$fn=100; cylinder(4.7,18.6/2,18.6/2);
glb/cad_88120627df11.glb
Create a chess piece composed of several stacked geometric primitives. Start with a base consisting of a sphere with a diameter of 18.8mm, truncated by a cylinder with a diameter of 6.6mm centered on the Z-axis to create a flattened bottom. Above this, add a cylindrical section with a diameter of 9mm and a height of 30...
$fn=50; translate([0,0,47]) sphere(7.3/2); cylinder(18,4.9/2,4.9/2); difference () { translate([0,0,21+4.3+4.3]) hull() { translate([0,0,3.8]) sphere(13.7/2); cylinder(15,4.9/2,4.9/2); } translate([-50,-2,35.6]) rotate([45,0,0]) cube([100,0.9,100]); } translate([0,0,21+4.3]) intersection () { trans...
glb/cad_a2b9458fc584.glb
Create a wireframe model of a non-square pyramid. Start by defining a rectangular base measuring 150mm by 100mm. From the four corners of this base, extend four edges that meet at a single apex point centered above the base at a height of 120mm. To complete the skeletal structure, add two diagonal edges across the re...
module prism(l, w, h){ polyhedron( points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w/2,h], [l,w/2,h]], faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]] ); } CubePoints = [ [ -65, -40, -0.01 ], [ 65, -40, -0.01 ], [ 65, 40, -0.01 ], [ -65, 40, -0...
glb/cad_21bf7a77197a.glb
Create a Filament Hinge Box consisting of a base, a lid, and a latch. The base is a rectangular container with an outer wall thickness of 1.6mm. The interior is divided into a 2x2 grid of cells, each with inside dimensions of 15mm x 15mm, separated by internal walls 0.6mm thick. The base interior height is 13mm, while...
cellInsideX = 15; cellCountX = 2; cellInsideY = 15; cellCountY = 2; cellWallThickness = .6; lidCellWallHeight = 50; baseCellWallHeight = 50; lidInsideZ = 0; lidThickness = 1.6; baseInsideZ = 13; outsideWallThickness = 1.6; latchCount = 1; hingeClearance = .2; filamentDiameter = 2; filamentClearance = .1; ...
glb/cad_cdff98d95219.glb
Create a microscope slide holder by constructing a rectangular base block measuring 81mm in length, 81mm in width, and 8mm in height. From this solid block, remove a large central rectangular section to create a hollow tray that is 77mm long, 77mm wide, and 7mm deep, leaving a 2mm thick floor and 2mm thick outer walls....
difference(){ union(){ cube([77,4,8]); translate([0,40,0]) cube([77,4,3]); translate([0,77,0]) cube([77,4,8]); translate([0,0,0]) cube([4,77,8]); translate([77,0,0]) cube([4,81,8]); cube([77,77,1]);} union() {for(i=[4:5:77]) translate([i,2,2]) cube([2.5,77,8]);}}
glb/cad_3eb4203282f5.glb
Create a portable drive stand and strain relief. Start by creating a main rounded rectangular body with overall dimensions of 121.2mm in length, 86.5mm in width, and 28.5mm in height, using a corner radius of 6mm. This body should be hollowed out from the top to create a shell with a wall thickness of 1.2mm, leaving a ...
module RoundBox(dims,extra,detail) { dx=dims[0]+extra; dy=dims[1]+extra; dz=dims[2]+extra; rad=dims[3]+extra*0.5; hull() { translate([dx*0.5-rad,dy*0.5-rad,dz*0.5-rad]) sphere(r=rad,$fa=detail,$fs=0.4); translate([-(dx*0.5-rad),dy*0.5-rad,dz*0.5-rad]) sphere(r=rad,$fa=detail,$fs=0.4); translate([d...
glb/cad_d28300c718c7.glb
Create a portable drive stand and pen cup. Start by constructing a main body that is a rounded rectangular box with external dimensions of 115mm in length, 78.5mm in width, and 20.5mm in height, featuring a corner radius of 4mm. Within this body, create a hollowed-out central cavity to hold the drive. At the front en...
module RoundBox(dims,extra,detail) { dx=dims[0]+extra; dy=dims[1]+extra; dz=dims[2]+extra; rad=dims[3]+extra*0.5; hull() { translate([dx*0.5-rad,dy*0.5-rad,dz*0.5-rad]) sphere(r=rad,$fa=detail,$fs=0.4); translate([-(dx*0.5-rad),dy*0.5-rad,dz*0.5-rad]) sphere(r=rad,$fa=detail,$fs=0.4); translate([d...
glb/cad_2b287655fab9.glb
Create a personalized pen and pencil case lid. Start by constructing a solid rectangular lid. Using a bold, cursive-style font like La Belle Aurore, carve the name "Naomi" into the top surface of the lid. The text should be centered both horizontally and vertically, with a font size of 20mm. Ensure the letters are extr...
include <pencil-case.scad> difference() { lid(); translate([0,2,w*2/3]) linear_extrude(w) rotate(-90) offset(.1) text("Naomi", font="La Belle Aurore:style=Bold", valign="center", halign="center", size=20 ); }
glb/cad_6cb94d7f242a.glb
Create a Twonkie v2.1 case component by constructing a truncated cone. The shape should have a height of 1.25mm, with a base radius of 2mm that tapers linearly to a top radius of 1mm. Ensure the geometry is rendered with a high facet resolution of 64 sides to maintain a smooth circular profile.
include <lib.scad> $fn = 64; translate([0,0,wall_thickness/4]) cylinder(h=wall_thickness/2, r1=2, r2=1); cylinder(h=wall_thickness/4, r1=1.8, r2=2);
glb/cad_4534a548825b.glb
Create a Twonkie v2.1 case consisting of a lower half and an upper half. For the lower half, create a rectangular block with rounded corners by forming a hull around four cylinders of radius 1.5mm, positioned at the corners of a rectangle measuring 15mm by 25mm, with a total height of 4mm. Hollow out the center of this...
include <lib.scad> $fn = 64; difference() { hull() { translate([wall_thickness,wall_thickness,0]) cylinder(h=pcb_height/2 + wall_thickness/2, r=wall_thickness); translate([wall_thickness + pcb_width,wall_thickness,0]) cylinder(h=pcb_height/2 + wall_thickness/2, r=wall_thickness); translate([wall_thickne...
glb/cad_bd731c28b709.glb
Create a Twonkie v2.1 case upper half. Start by creating a rounded rectangular block using a hull of four cylinders, each with a radius of 1mm, positioned at the corners of a rectangle measuring 12mm by 22mm. The total height of this block is 6.5mm. Hollow out the center by removing a rectangular block of 10mm by 20mm...
include <lib.scad> $fn = 64; fix = 1; difference() { hull() { translate([wall_thickness,wall_thickness,0]) cylinder(h=pcb_height/2 + wall_thickness/2 + fix, r=wall_thickness); translate([wall_thickness + pcb_width,wall_thickness,0]) cylinder(h=pcb_height/2 + wall_thickness/2 + fix, r=wall_thickness); t...
glb/cad_35cd0d0984e3.glb
Create a door stop by starting with a solid cube that measures 40mm in width, 40mm in depth, and 12mm in height. In the exact center of the top face, remove a cylindrical hole with a diameter of 5mm that extends 12mm deep through the body. Additionally, create a square cutout centered on the top surface that measures 8...
echo(version=version()); difference() { cube([40, 40, 12]); translate([20, 20, 0]) { cylinder(h=12, d=5); } translate([20, 20, 10]) { cube([8, 8, 5], center=true); } };
glb/cad_a7faa9b3aadd.glb
Create a set of keyword counters for a tabletop game. Each counter is a cylinder with a diameter of 17mm and a base height of 2.7mm. For each counter, create a central vertical hole with a diameter of 8.4mm and a depth of 1.4mm. To facilitate easy removal and printing without supports, modify the interior of this hol...
keywords = ""; multicolorBatch = false; baseC = "c"; baseW = "w"; baseU = "u"; baseB = "b"; baseR = "r"; baseG = "g"; symbolC = ""; symbolW = ""; symbolU = ""; symbolB = ""; symbolR = ""; symbolG = ""; segments=30; ...
glb/cad_d3b171c84fc4.glb
Create a Bip&Go KIA e-Niro holder. Start with a base rectangular plate measuring 40mm in width, 30mm in depth, and 2.47mm in height, ensuring all corners are rounded with a radius of 1mm. On the top surface of this plate, add two vertical, semi-circular support ribs. Position the first rib with its center at x=23.8mm, ...
$fn = 60; Vorlage = str("/Users/wolfgang/Documents/Development/", "3D_Printing and Tools/_ __ Modelle/", "_ _ _ _ Auto/Bip_Go_Tesla_Halter_V3.stl"); render() { translate([10, -12.0, 19]) rCube(40,30,2.47,1,20); translate([29.2, 10, 21]) cube([1.4, 6, 13.5]); translat...
glb/cad_04d3c32bbea3.glb
Create a backpack helmet holder hook. Start by forming the main body as a cylinder with a diameter of 10mm and a length of 30mm, capped at one end with a hemisphere of the same 10mm diameter. Bore a hole through the center of the cylinder along its length with a diameter of 3.85mm, but only for the first 10mm of the le...
cord_d = 2.5; width = 10; length = 30; $fn = 100; hook(); module hook_body() { union() { rotate(a = 90, v = [0, 1, 0]) { difference() { cylinder(h = length, d = width); translate(v = [0, 0, - 0.1]) { cylinder(h = length / 3, d = 1.5 * cord_d...
glb/cad_7cc05639317d.glb
Create a Drawing Card tool with a total thickness of 1.5mm. The main body is a square plate measuring 55 x 55mm. On the surface, create a metric ruler from 0 to 5cm with markings at 5mm intervals. Include a protractor scaled from 0 to 90 degrees with markings every 5 degrees. Integrate a series of quarter-circle te...
translate([0, 60,0]) Drawing_Card_S(); translate([0, 0,0]) Drawing_Card_M(); translate([0,-60,0]) Drawing_Card_L(); module Drawing_Card_S(R=55, H=1.0, r=0.5, h=0.5, $fn=128) { translate([0,0,-1]) difference() { translate([0,0,1]) union() { hull() { translate([ 1, 1, 0]) cy...
glb/cad_01f26a9449b4.glb
Create a portable laptop stand consisting of a main support structure and a drive niche. First, construct the main stand body. Create a central block with dimensions 10mm by 176.78mm by 176.78mm. From this block, remove a central rectangular volume of 600mm by 600mm by 300mm, offset by 150mm along the Z-axis. Subtrac...
module RoundBox(dims,extra,detail) { dx=dims[0]+extra; dy=dims[1]+extra; dz=dims[2]+extra; rad=dims[3]+extra*0.5; hull() { translate([dx*0.5-rad,dy*0.5-rad,dz*0.5-rad]) sphere(r=rad,$fa=detail,$fs=0.4); translate([-(dx*0.5-rad),dy*0.5-rad,dz*0.5-rad]) sphere(r=rad,$fa=detail,$fs=0.4); translate([d...
glb/cad_b239d95aab41.glb
Create a desk organizer consisting of a casing and matching drawers. For the casing, build a rectangular shell with an outer width of 181.6mm, a depth of 93.8mm, and a total height of 115.6mm. The casing features four stacked drawer slots. Each slot is defined by two vertical side walls 3.8mm thick and a base plate 3...
dw = 170; dh = 25; dd = 90; dt = 2; cd = 4; ct = 3.8; pt = 0.5; to_print = "casing"; casing_height = dh+dt+ct+pt; casing_width = dw+ct*3+pt*2; casing_depth = dd+ct+pt; if (to_print == "drawer") { drawer(); } if (to_print == "casing") { for (i=[1:1:cd]) { translate([0,0,ct+casing_height*(i-1)]) { ...
glb/cad_b28a494378d3.glb
Create a LG Direct Drive Washer Motor Rotor Hub. Start with a central cylindrical base 35mm in diameter and 26mm high. On top of this base, add a wider cylindrical disc 101mm in diameter and 5.5mm thick, positioned 10mm from the bottom. Below this disc, add a cylinder 57mm in diameter and 23.5mm high. Above that, creat...
include <MCAD/nuts_and_bolts.scad> include <MCAD/gears.scad> gear_step=1.69; post_and_hole_r = 42.175; difference() { union() { cylinder(d=35, h=26); translate([0,0,10]) { cylinder(d=101, h=5.5); } cylinder(d=57, h=23.5); cylinder(d1=57, d2=101, h=10); ...
glb/cad_bac2745c6b44.glb
Create a speaker monitor mount consisting of a flat base and a tilted support section. Start with a base plate that is 64mm wide, 146mm long, and 4mm thick. On this base, integrate a raised rectangular support block that is 16mm wide, 146mm long, and 4mm thick, positioned along one edge. The main body of the mount sh...
$fn=40; main_w = 64; difference() { union() { cube([6,146,4]); cube([main_w+1,20,4]); translate([0,106,0]) cube([63,40,4]); translate([main_w,0,0]) cube([2,146,8]); translate([main_w-4,0,0]) cube([6,146,4]); translate([main_w-0.01,0,0]) hull() { translate([0,0,28]) rotate([0,4,0]) { ...
glb/cad_a9bd70f66b6f.glb
Create a miter slot insert by constructing a T-shaped profile with a total length of 171.45mm. The base of the T is a rectangular slab 22.45mm wide and 3mm thick. Centered on top of this base is a narrower rectangular block 19.228mm wide and 6.9mm thick. At each end of the part, centered along the width, create a vert...
$fn = 75; one_small_piece = 0; length = 171.45; base_width = 22.45; top_width = 19.228; base_height = 3.0; top_height = 6.9; center2edge = 12.7; screw_head_height = 5; screw_head_diameter = 12; screw_diameter = 6; screw_chamfer_height = 2.2; screw_chamfer_base_ratio_of_screw_head_circle = 0.8666666; chamfer_...
glb/cad_f3fff951213e.glb
Create a towel rack support designed to fit a square radiator frame. Start by constructing a main vertical block that is 60mm high, 34mm wide, and 34mm deep. Within this block, carve out a central square void measuring 31mm by 31mm to accommodate a 30mm square vertical post, leaving a wall thickness of 4mm on the sides...
$fn=32; haut=60; ep=4; montant=30; traverse=20; jeu=1; prof=80+ep; difference(){ union(){ hull(){ cube([montant+jeu+2*ep,ep,haut]); translate([prof,0,15]) rotate([-90,0,0]) cylinder(ep,d=30); } cube([montant+jeu+2*ep,montant+jeu+2*ep,haut]); translate([prof,...
glb/cad_a8faba201f7c.glb
Create a fishing lure lip with a uniform thickness of 3mm. The shape is composed of three connected sections extruded along the Z-axis. Start with a rectangular insertion base that is 15mm wide and 5mm deep. Attached to the front of this base, add a middle section that is 22mm wide and 15mm deep. Finally, attach a fron...
thickness = 3; w_base = 15; d_base = 5; w_mid = 22; d_mid = 15; w_front = 12; d_front = 10; rounded = true; module __Customizer_Limit__() {} ratio_front = w_mid/ (2*d_front); linear_extrude(height = thickness){ union() { polygon([ [0, -w_base/2], [d_base, -w_base/2], ...
glb/cad_76be7129c8a7.glb
Create a ceiling light cutout template by starting with a solid rectangular plate measuring 188mm by 188mm with a thickness of 5mm. Center a square hole measuring 148mm by 148mm through the entire thickness of the plate to create a frame with a consistent border width of 20mm on all sides. To add centering marks, cut t...
sizeX = 148; sizeY = 148; height = 5; difference(){ cube([sizeX + 40, sizeY + 40, height], center = true); union(){ cube([sizeX, sizeY, height + 2], center = true); cube([sizeX + 20, 5, height + 2], center = true); cube([5, sizeY + 20, height + 2], center = true); } }
glb/cad_dee9bb235665.glb
Create a HSW Yankee 130A Hanger by constructing a composite outer shell and hollowing out its center. Start by forming a hull that merges a cylinder with a radius of 16.5mm and a height of 20mm with a rectangular block measuring 26mm wide, 22.5mm deep, and 7.5mm thick, centered such that the cylinder is the primary ver...
wallThickness=2; redHandleDiameter=29; secondShaftDiameter=21; secondShaftHeight=5; shaftDiameter=15.5; height=20; offset=38; use<hex plug library.scad>; $fn = 128; translate([0, offset/2, 11.25]) union(){ rotate([-90, 0, 0]) insert(); translate([-13, 0, -11.25]) cube([26, 2.5, 22.5]); } difference(){ ...
glb/cad_e12fd0a7fc66.glb
Create a Little Desk Organizer starting with a rectangular base measuring 140mm by 60mm with a thickness of 1mm. On the left side of the base, center a circular cutout with a radius of 22.5mm and a depth of 3mm. On the right side, construct a rectangular compartment that is 62mm long, 23.5mm wide, and 15mm high. This c...
$fa = 0.5; difference() { union() { cube([140,60,1]); translate([30,30,1]) cylinder(h = 2, r = 47/2, center = true); translate([65,30,1]) cube([62,23.5,15]); } translate([30,30,1.25]) cylinder(h = 3, r = 45/2, center = true); translate([65,6.5,-0.5]) { cube([62,1.5,2]); tran...
glb/cad_4c9285d07b1a.glb
Create a powerstrip mount consisting of two separate brackets, a front mount and a back mount, designed to hold a powerstrip with dimensions of 245mm length, 51.7mm width, and 42.3mm height. For the front mount, create a U-shaped cradle with a base width of 55.7mm (powerstrip width plus 4mm for walls) and a height of...
use <MCAD/boxes.scad> use <MCAD/libtriangles.scad> $fn = 90; powerstrip_length = 245; powerstrip_width = 51.7; powerstrip_height = 42.3; powerstrip_corner_radius = 7.5; powerstrip_cord_attachment = 12; powerstrip_cord_offset = 24; powerstrip_switch_length = 27.5; powerstrip_switch_offset = 33; usb_port_length = 13.5...
glb/cad_4bfd17b7a376.glb
Create a HSW Stud Finder holder by starting with a main body that combines a rectangular block and a 12-sided polygonal cylinder. The overall outer dimensions are 62mm wide, 42mm deep, and 38mm high. The base is a block 62mm wide by 42mm deep, with the top section forming a 12-sided prism with a radius of 31mm and a he...
screwHeadDiameter=5.4; screwShaftDiameter=3.4; $fn=50; xDim=62; yDim=42; zDim=38; radDim=62; rotate([-90, 0, 0]) difference() { minkowski(){ case(); sphere(4); } translate([0, 4, 0]) case(); translate([-50, yDim, -6]) cube([100, 10, 100]); translate([0, 30, -2]) screwHole(); translate([0...
glb/cad_c33769d74bda.glb
Create a platen knob for an Epson LX-810 printer. Start by constructing a main outer cylinder with a diameter of 66mm and a height of 12mm. The outer vertical wall of this cylinder should feature 36 evenly spaced vertical ribs or flutes to provide grip. Centered within this base, create a raised inner cylindrical hub w...
difference() { cylinder(55,12,12,$fn=36); translate([0,0,25]) cylinder(35,7/sqrt(3),7/sqrt(3),$fn=6); } intersection() { translate([0,0,2]) minkowski() { cylinder(16,33,33,$fn=60); sphere(2,$fn=60); } difference() { for(t=[0:6:24]) rotate([0,0,t]) ...
glb/cad_6247436120ae.glb
Create a Nook Simple Touch Front Bezel replacement. Start with a base rectangular plate measuring 123mm wide by 161mm deep with a thickness of 0.3mm and corner radii of 18.5mm. Cut a central rectangular hole through this plate measuring 93mm wide by 125mm deep, positioned 15mm from the left and right edges and 18mm fro...
use<utils.scad> $fn = $preview ? 32 : 128; h = 0.3; screen_w = 93; screen_d = 125; padding_vertical = 18; padding_horizontal = 15; button_cut_w = 5.5; button_cut_d = 5; button_cut_shift = 6; r = 18.5; r_inner = 2; total_w = screen_w + padding_horizontal * 2; total_d = screen_d + padding_vertical * 2; page_butto...
glb/cad_3e36849095d3.glb
Create a bottle cap with an outer diameter of 26mm and a total height of 14.5mm. The main body is a hollow cylinder with a wall thickness of 1.2mm, meaning the inner cavity has a diameter of 23.6mm and a depth of 13.3mm. Inside this hollow space, construct a spiral thread that wraps around the inner wall. This thread s...
outer=26; wall=1.2; ht=14.5; twists=3; threadht=2.4; groove=threadht-wall; inner=(outer-wall)/2; epsilon=0.01; smoothness=180; difference() { union() { difference() { cylinder(ht,outer/2,outer/2, $fn=smoothness); translate([0,0,-epsilon]) { cylinder(ht-wall,inner,inner, $f...
glb/cad_7abbc8039b0f.glb
Create a guitar battery case lid consisting of a main cover, a stub, and a flexible clip. Start with the main cover as a rectangular slab 34.5mm long, 19.5mm wide, and 2.0mm thick. At one end of the cover, remove a notch 3mm deep and 8mm wide, centered along the width. At the opposite end of the cover, attach a stub...
cover_length = 34.5; cover_width = 19.5; cover_thickness = 2.0; cover_clip_notch_width = 8.0; cover_clip_notch_depth = 3; stub_width = 12; stub_length = 4; stub_thickness = 1.75; stub_overlap_percent = 66; stub_shape = "T"; clip_width = 11.5; clip_thickness = 1.4; clip_inboard_length = 17; clip_outboard_le...
glb/cad_4e2f6784a273.glb
Create a vacuum adaptor consisting of three stacked cylindrical sections with a consistent wall thickness of 2mm. Start with a base connector that is 22mm tall; its outer diameter is 62mm, and its inner cavity is a frustum tapering from 60mm at the bottom to 59mm at the top. This base section must have two rectangular ...
innerUpperDiameter=58; innerLowerDiameter=57; innerLength=30; plaThickness=2; innerDewaltUpperDiameter=60; innerDewaltLowerDiameter=59; innerDewaltLength=22; $fn=100; dewaltConnector(); middleCylinder(); hoseConnector(); module dewaltConnector(){ difference() { cylinder(h=innerDewaltLength, r=innerDewaltUppe...
glb/cad_75676357b6b2.glb
Create a tool holder for a Dewalt Impact Drill. Start by constructing a hollow cylindrical shell with a wall thickness of 3mm. The main body consists of a cylinder with an outer radius of 34mm and an inner radius of 31mm, extending 50mm in height, positioned atop a conical base section that transitions from an outer ra...
plaThickness=3; screwHeadDiameter=7.5; screwShaftDiameter=4.2; module __Customizer_Limit__ () {} $fn=100; difference(){ union() { difference(){ union(){ translate([0, 0, 30]) difference(){ cylinder(h=50, r=31+plaThickness); cylinder(h=50.1, r=31); } difference(){ cylinder...
glb/cad_0e02d46606d7.glb
Create a tactile checkers board as a square slab measuring 192mm by 192mm with a thickness of 6mm. The board features a grid of 8 by 8 square cells, each 24mm wide. Within each cell, center a cylindrical hole with a diameter of 19.75mm and a depth of 5mm, leaving a 1mm base thickness at the bottom of the holes. The l...
$white=true; $pawnDiameter=19.75; $pawnDepth=5; $fieldWidth=24; $boardHeight=6; $outerHeight=7; $printMargin=5; function isWhite(x,y) = (x+y)%2!=0; function isBlack(x,y) = (x+y)%2==0; module blackPiece() { w=$fieldWidth*8; translate([0, 0, $boardHeight-$pawnDepth-0.4]) cube([w, w, 0.4]); } module baseBoard() { w=$...
glb/cad_f2e0177e4854.glb
Create a tactile checkers board consisting of a square base and a grid of circular indentations. The base is a square measuring 192mm by 192mm with a thickness of 6mm. The board features a grid of 8 by 8 squares, each 24mm wide. Within this grid, create a checkerboard pattern of recessed circular holes. Each hole has...
$white=false; $pawnDiameter=19.75; $pawnDepth=5; $fieldWidth=24; $boardHeight=6; $outerHeight=7; $printMargin=5; function isWhite(x,y) = (x+y)%2!=0; function isBlack(x,y) = (x+y)%2==0; module blackPiece() { w=$fieldWidth*8; translate([0, 0, $boardHeight-$pawnDepth-0.4]) cube([w, w, 0.4]); } module baseBoard() { w=...
glb/cad_2e7e308e5d91.glb
Create a label for an AkroBin storage bin. Start by constructing a main rectangular base that is 75.5mm wide (70.5mm central width plus two 2.5mm flanges on each side), 22.5mm high, and 2mm thick. The base should feature a recessed central area where the thickness is reduced to 1mm, leaving a 1mm thick border (flange) ...
echo(version=version()); font = "Arial"; Text= "M8 Bolts"; Width=70.5; Flange_Width=2.5; Height=22.5; Flange_Thickness=1; Total_Thickness=2; Letter_Height=1; Letter_Size=16; module letter(l) { linear_extrude(height = Letter_Height) { text(l, size = Letter_Size, font = font, halign ...
glb/cad_830f3176d1c3.glb
Create a label for an AkroBin storage bin. Start by constructing a main rectangular body that is 95mm wide, 41.5mm high, and 2mm thick. Add a thin flange around the bottom and sides of this body; the flange should be 1mm thick and extend 2.5mm outward from the main body's edges. This results in a total base width of 10...
echo(version=version()); font = "Arial"; Text= "M8 Bolts"; Width=95; Flange_Width=2.5; Height=41.5; Flange_Thickness=1; Total_Thickness=2; Letter_Height=1; Letter_Size=16; module letter(l) { linear_extrude(height = Letter_Height) { text(l, size = Letter_Size, font = font, halign = ...
glb/cad_31fd6249e47d.glb