Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a Steam Deck Hand Warmer accessory with overall outer dimensions of 65mm x 32mm x 24mm. The main body is a rounded housing with a wall thickness of 1mm. The base is a flat plate with two small cylindrical pegs, each 3.2mm in diameter and 3.6mm high, positioned 5.5mm from the side edges and 3.5mm from the back ed...
$fn = 12; final_x = 65; final_y = 32; final_z = 24; duct_x = 56.5; duct_z = 10.3; rounding_radius = 0.5; duct_depth_y = 10.3; wall_thickness = rounding_radius * 2; length_x = final_x - 2*rounding_radius; polygon_width = final_y - 2*rounding_radius; polygon_height = final_z - 2*rounding_radius; knotch_leng...
glb/cad_caea37ddf434.glb
Create a wire storage rack basket label tag with a total length of 64mm and a wall thickness of 3mm. The main body is a C-shaped channel designed to clip onto a wire. Start by creating a solid form that is the hull of two cylinders with radii of 6mm (wire radius plus thickness), centered 21mm apart along the width. Hol...
$length = 64; $inside_width = 27; $thickness = 3; $wire_radius = 3; $tab_length = 10; $click_tightness = 1.5; $outside_depth = ($wire_radius+$thickness)*2; $outside_width = $inside_width+2*$thickness; $gap_length = $length-($tab_length*2); $tab_overhang = $wire_radius-$click_tightness; $fn=80; module base_shape() { ...
glb/cad_e97f05e85e37.glb
Create a Kovona Drumy Leg Cover by starting with a solid square base measuring 36.2mm by 36.2mm with a height of 10mm. From this base, remove a central square section measuring 35mm by 35mm, starting at a height of 1.2mm, to create a thin-walled outer rim with a thickness of 1.2mm. Within this structure, carve out tw...
$fn = $preview ? 15 : 90; thickness = 1.2; height = 1.2; depth = 10; length = 35; width = 2.2; translate([thickness, thickness, height]) { %cube([length, width, 50]); %cube([width,length, 50]); } difference() { cube([length + thickness, length + thickness, depth]); translate([thickness, thickness,...
glb/cad_ce939f0383f4.glb
Create an Adjustable Airplane Phone Holder consisting of five separate components. First, create an L-shaped retainer bracket with a thickness of 2.5mm and a width of 30mm. The vertical arm is 55mm long and the horizontal base is 23mm long. Both arms have 1mm rounded corners. Along the inner faces of both arms, start...
include <BOSL2/std.scad> use <MCAD/regular_shapes.scad> 3d_printing = 1; thickness = 2.5; dimple_dia = 2.0; dimple_depth = 1.5; dimple_placement_start = 20; dimple_spacing = 3; width = 30; retainer_len = 55; rachet_pocket = 23; ratchet_dot_dia = 1.6; tolerance = 0.6; rachet_wall = 1.5; ratchet_dimple_to_edge = 5.0; ...
glb/cad_456d63fb6ddd.glb
Create a hat hook consisting of a semi-circular support and a protruding arm. Start by creating a hollowed-out semi-cylinder with an outer radius of 50mm and a height of 40mm. The inner void should be a cylinder with a radius of 48mm, leaving a wall thickness of 2mm. At the bottom edge of this semi-cylinder, add a flat...
$fn = $preview ? 15 : 90; circleR = 50; circleH = 40; hookH = 2; hookL = 70; hookW = 15; holeR = 4; difference() { union() { cylinder(h = circleH, r = circleR, center = true); difference() { translate([-(circleR + (hookL / 2)) , 0, -((circleH / 2))]) { cube([hookL, h...
glb/cad_0e024d2a6633.glb
Create a Couch Table consisting of a flat tabletop and two supporting arms. First, construct the tabletop as a rounded rectangular slab with overall dimensions of 230mm by 205mm and a thickness of 10mm. The corners should have a radius of 10mm. In the center of this slab, create two circular recessed wells for drinks...
l=240; bi=100; c=10; b=bi+c; h=50; d=85; r1=39; r1u=23; r2=1100; $fn=290; translate([-5,h,-b]) rotate([90,0,0]) tisch(); translate([-5,205,-b]) rotate([90,0,0]) tisch(); top(); module cuber(coord,r){ x=coord[0]; y=coord[1]; z=coord[2]; hull(){ translate([r,r,0]) cylinder(r=r,h=z); translate([r,y-...
glb/cad_d9ca96b51838.glb
Create a vacuum adapter consisting of two connected cylindrical sections joined by a curved transition. Start with a thin-walled cylinder for the tool side, with an outer diameter of 29.5mm and an inner diameter of 27.5mm, extending 20mm in height. From this cylinder, create a curved elbow that transitions at a 30-degr...
$fn=100; jigsaw_od = 29.5; jigsaw_id = jigsaw_od-2; vacuum_id= 32.2; module jigsaw_connector(){ linear_extrude(height=20, convexity=10){ difference(){ circle(d=jigsaw_od); circle(d=jigsaw_id); } } translate([-jigsaw_od/2 -5, 0, 0]) rotate([270, 0, 0]) ...
glb/cad_9356e8bd0f03.glb
Create a Synology DS920+ Anti-Vibration Stand consisting of two identical mirrored assemblies connected by rectangular links. Each assembly begins with a cubic ball holder measuring 42mm x 42mm x 32mm. Hollow out the top of this cube with a spherical cutout of radius 19mm, centered at the top face and positioned 5mm ...
include <BOSL2/std.scad> include <BOSL2/screws.scad> front_distance=163.75; side_distance=168.75; foot_edge=13.5; foot_depth=4; foot_margin_front=10; foot_margin_side=5; ball_holder_radius=38/2; ball_holder_sides=42; ball_holder_height=28+1+foot_depth; link_width=15; link_height=7; link_screw_section_len=25; nut_t...
glb/cad_6072ffeb1b70.glb
Create a towel hook designed to fit a glass bar. Start by creating a rectangular base plate with a width of 80.5mm, a depth of 20.5mm, and a height of 10mm. From this base, remove a central rectangular block measuring 70.5mm by 10.5mm and 20mm high (extending through the top and bottom) to create a hollow channel for t...
Z = 10; thickness = 5; glass_bar_width = 10.5; glass_bar_height = 70.5; base_height = glass_bar_height + 2 * thickness; base_width = glass_bar_width + 2 * thickness; union(){ difference() { cube([base_height, base_width, Z], center=false); union(){ translate([thickness, thickness, (Z / -2)]){ c...
glb/cad_0a6d0ae7c7ef.glb
Create a designer lamp assembly consisting of a main body, a center lens, and a light carrier. For the lamp body, create a cylinder 99mm in diameter and 42mm high. Hollow out the center with a cylinder 90mm in diameter and 40.2mm high. Remove a ring-shaped section from the bottom with a diameter of 95mm and a height ...
$fn=120; difference(){ translate([0,0,1])cylinder(d=99,h=42,center=true); cylinder(d=90,h=40.2,center=true); translate([0,0,-10])cylinder(d=95,h=20.2,center=true); translate([0,0,8])difference(){ cylinder(d=100,h=8.5,center=true); cylinder(d=95,h=8.5,center=true); } translate([2...
glb/cad_974f69f59157.glb
Create a Voronoi radiator shelf stand. Start with a main rectangular body that is 200mm wide, 230mm tall, and 30mm thick, with rounded corners of 5mm. Hollow out the center of this body to create a shell with a wall thickness of 2mm. Within the faces of this shell, generate a Voronoi pattern using 200 cells. The Voro...
$fn=100; use <voronoi.scad> x=200; y=30; z=230; w=4; generate_voronoi=true; voronoi_radius = 2; voronoi_seed = 987654; voronoi_cells = abs(1*x); voronoi_thickness = w/2; voronoi_min = 0; voronoi_max = x * 1.9; module ribs(){ oribs=3.7; ribs=4; translate([0,0,5]) cube([ribs*9+oribs*8,y,5]); for(i=[0:...
glb/cad_7f5bb32df415.glb
Create a BIC ballpoint pen tip adapter for a vinyl cutter. The object is a vertically oriented sleeve with a total height of 22mm. The base is a cylinder with a radius of 5.75mm and a height of 11mm. Above this base, create a truncated cone (frustum) that tapers upward from the base radius of 5.75mm to a top radius of ...
function sides(r)=max(round(4*r),3); function corrected_radius(r,n=0)=0.1+r/cos(180/(n ? n : sides(r))); function corrected_diameter(d)=0.2+d/cos(180/sides(d/2)); module poly_circle(r){ n=sides(r); circle(r=corrected_radius(r,n),$fn=n);} module poly_cylinder(h,r,center=false){ n=sides(r); cylinder(h=h...
glb/cad_c82fb3ff823e.glb
Create a Vevor vinyl cutter pen solenoid 4 bar replacement. Start with a central rectangular body measuring 34mm in length, 48.5mm in width, and 2.2mm in height, centered on the origin. Remove two long, thin rectangular strips from the top and bottom edges of the body, each 34mm long and 1mm thick, centered along the...
function sides(r)=max(round(4*r),3); function corrected_radius(r,n=0)=0.1+r/cos(180/(n ? n : sides(r))); function corrected_diameter(d)=0.2+d/cos(180/sides(d/2)); module poly_circle(r){ n=sides(r); circle(r=corrected_radius(r,n),$fn=n);} module poly_cylinder(h,r,center=false){ n=sides(r); cylinder(h=h...
glb/cad_6abbc6d44d00.glb
Create a Buddy cover with fan and cable tidy consisting of a main back plate, a top cover, and a cable pocket. Start with a back plate 160mm wide, 63.8mm high, and 4mm thick. In this plate, create four mounting holes using a keyhole design: each consists of a 3mm radius circle connected by a slot to a 1.5mm radius ho...
include <BOSL2/std.scad> keyhole_radius = 3; hole_radius = 1.5; bridge_height = 5; thickness = 4; min_thick = 2; back_width = 160; back_height = 63.8; top_inner_width = 146; top_inner_length = 41; top_under_back = 8; kh_side_inset = keyhole_radius+1; kh_top_inset = 23; kh_vert_sep = 24; usb_rad = 4; usb_sep = 3; ...
glb/cad_6c20d95443d7.glb
Create a customizable name tag starting with a rectangular base bar 57mm long, 3mm wide, and 2mm thick. Position this bar so its top surface is at the base level. On top of this bar, add the text "Test" using the Lucida Handwriting font with a height of 20mm and a thickness of 2mm, offset by 2mm on the X-axis and 0mm o...
Name = "Test"; NamePositionX = 2; NamePositionY = 0; PlatformLength = 57; PlatformHeight = -2.3; $fn = 128; createTag( Name, NamePositionX, NamePositionY, PlatformLength, PlatformHeight); module createTag( name, namePositionX, namePositionY, platformLength, platformHeight) { ...
glb/cad_6076888ec70d.glb
Create a smartphone holder for an iPhone SE 2022 in a Spigen case. The main body is a tray with a total width of 83mm and a height of 22mm. The outer walls are 1mm thick. The tray features a tapered interior profile. The base of the interior cutout starts at a width of 81mm and narrows as it rises to a height of 20mm...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=1.0; y1 = 20; b_x = 81+2*wall; degree=7; tp_x = sin(degree)*y1; t_x = b_x-2*tp_x; sleeve=5; hook_l=15; hook_w=10; translate([0, b_x/2, 0]) rotate([90, 0, -90]) difference(){ linear_extrude(height=2*wall+2) polygon(points=[[0,0],[tp_x,y1],[b_x-(1*tp_x), y1],[b_...
glb/cad_2529c585011e.glb
Create a smartphone holder for an iPhone SE 2022 in a Spigen case, designed to fit a headset stand. Start by creating a main body that is 83mm wide, 75mm deep, and 11.5mm thick. The front face should be a flat plane, while the back is shaped as a trapezoid that tapers slightly inward from the sides. Within this bod...
$fn=180; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=1.0; chrg_d1=69.1; chrg_d2=70.1; chrg_z=9.5; usbplug_x=12; y1 = 75; b_x = 81+2*wall; degree=7; tp_x = sin(degree)*y1; t_x = b_x-2*tp_x; sleeve=5; hook_l=15; hook_w=10; translate([0, b_x/2, 0]) rotate([90, 0, -90]) difference(){ union(){ linear_extrude(height...
glb/cad_bc269ba27d01.glb
Create a cable hook for a headset stand. Start with a rectangular base block that is 15mm long, 10mm wide, and 3mm high. At one end of this base, centered along the width, attach a tapered vertical column. This column begins with a 10mm diameter circle at its base, narrows to a 6mm diameter over a height of 20mm, and i...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=1.0; y1 = 20; b_x = 35+2*wall; degree=7; tp_x = sin(degree)*y1; t_x = b_x-2*tp_x; sleeve=5; hook_l=15; hook_w=10; translate([0, b_x/2+hook_w/2, 0]) rotate([90, 0, -90]) difference(){ linear_extrude(height=2*wall+2) polygon(points=[[0,0],[tp_x,y1],[b_x-(1*tp_x)...
glb/cad_6f75fda65977.glb
Create a replacement roller for a tape dispenser. Start with a main central cylinder that has a diameter of 24.35mm and a height of 19.5mm. Pass a thinner axle cylinder through the center of the main body; this axle must have a diameter of 3.6mm and a total length of 26.7mm, extending beyond the flat faces of the main ...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=0.9; cyl_d=24.35; cyl_h= 19.5; ax_d=3.6; ax_h=26.7; rib=0.7; rotate([90, 0, 0]){ cylinder(d=cyl_d, h=cyl_h); translate([0, 0, -(ax_h-cyl_h)/2]) cylinder(d=ax_d, h=ax_h); for(i=[0, 120, 240]){ rotate([0, 0, i]) scale([cyl_d+2*rib, 7, 1]) c...
glb/cad_b9135f725752.glb
Create a marker ring for a toothbrush head. The object is a tapered hollow ring with a height of 3.4mm and a wall thickness of 2mm. The base of the ring is a hybrid shape formed by the intersection of a square with a side length of 20mm and a circle with a diameter of 20.8mm. The top of the ring is scaled down linearl...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.0; wall=2; hole_d = 8; base_z = 0.4; ring_z = 3+base_z; rim = 4; base_x = 18.0; base_d = 18.8; top_x = 16.3; base_xo = base_x+wall; base_do = base_d+wall; top_xo = top_x+wall; base_rim = base_xo-rim*2; scale_base=top_xo/base_xo; difference(){ linear_extrude(height = ri...
glb/cad_81d5063fd4ed.glb
Create a video turntable assembly consisting of a coupler base and a carrier top. First, construct the coupler as a hexagonal prism with a total height of 13mm and a diameter of 15.8mm. In the center of this prism, create a vertical hole for a motor shaft. This hole is a cylinder with a diameter of 8mm, but it is mod...
assemble = true; total_height = 16; coupler_diameter = 16; tolerance = .2; carrier_peg_diameter = 4; carrier_peg_distance = 25; carrier_peg_count = 3; carrier_peg_height = 3; carrier_center_diameter = 24; carrier_height = 6; shaft_diameter = 8; shaft_length = 10; shaft_flat = 6; $fudge = 1; if(assemble) { color...
glb/cad_ffa9d3068a73.glb
Create a coupler for a video turntable by constructing a tapered hexagonal pillar with a total height of 25mm. The outer geometry is formed by the hull of two hexagonal prisms: a base prism with a diameter of 12mm and a height of 3mm, and a top prism with a diameter of 20mm that extends 22mm upward from the base. Cente...
height = 25; top_diameter = 20; bottom_diameter = 12; bottom_height = 3; screw_hole_diameter = 4.5; nut_hole_diameter = 8; nut_hole_sides = 6; $fudge = 1; difference() { hull() { cylinder(d = top_diameter, h = bottom_height, $fn = 6); cylinder(d = bottom_diameter, h = height, $fn = 6); } ...
glb/cad_8efab0ed98fc.glb
Create a towel holder replacement part consisting of a circular ring with an attached rectangular tab. Start by constructing two concentric tori centered at the origin: the outer torus should have a major radius of 21mm and a minor radius of 2.165mm, and the inner torus should have a major radius of 13.5mm and the same...
$fn = 100; dT1 = 42; dT2 = 27; dT3 = 3.33; hF1 = 2.8; difference() { union() { torus(r1=dT3/2+.5, r2=dT1/2); torus(r1=dT3/2+.5, r2=dT2/2); cylinder(d=dT1, h=dT3, center=false, $fn=$fn); rounded_cube(pos=[19.3,-8.5,0], dim=[18, 18, hF1], ...
glb/cad_70e35bd8b43c.glb
Create a replacement part for a towel holder by constructing a flat, ring-like assembly with a small attached tab. Start by creating two concentric rings: an outer ring with a diameter of 46mm and an inner ring with a diameter of 31mm. Both rings should have a circular cross-section with a radius of approximately 1.67m...
$fn = 100; dT1 = 46; dT2 = dT1 - 15; dT3 = 3.33; hF1 = 2.8; scale([1.1, 1, 1]) difference() { union() { torus(r1=dT3/2+.5, r2=dT1/2); torus(r1=dT3/2+.5, r2=dT2/2); cylinder(d=dT1, h=dT3, center=false, $fn=$fn); } cylinder(d=dT2 - dT3 + .1, h=dT3, center=false, $fn=$fn...
glb/cad_8dced7d094a8.glb
Create an elbow connector coupler consisting of two hollow cylindrical arms joined by a curved bend and a transition reducer. Both arms have a wall thickness of 2mm and a straight insertion length of 8mm. The first arm is a hollow cylinder with an outer diameter of 10.5mm and an inner diameter of 6.5mm. The second arm...
$fs = $preview ? 1 : 0.15; $fa = $preview ? 3 : 2; epsilon = 0.01; in_pipe_od = 6.5; out_pipe_od = 6.5; wall_thickness=2; straight_length = 8; radius = 1; angle = 45; reduction_angle = 45; F_diameter = in_pipe_od + wall_thickness * 2; F_length = straight_length; S_diameter = out_pipe_od + wall_thickness * 2; S_lengt...
glb/cad_1b7f7d39309b.glb
Create a circular saucer tray for a bowl. Start by creating a solid cylinder with a radius of 82mm and a height of 27mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 78mm and a height of 27mm, leaving a wall thickness of 4mm. Next, add a flat circular base to the bottom of th...
$fa = 1; $fs = 0.4; union() { difference() { linear_extrude(height = 27) { circle(r = 82); } translate(v = [0, 0, -0.0010000000]) { linear_extrude(height = 27.0020000000) { circle(r = 78); } } } difference() { linear_extrude(height = 2) { circle(r = 82); } translate(v = [0, 3, 0]) { ...
glb/cad_b8cfa822a909.glb
Create a junction box and matching cover designed to fit over a cable duct. The base is a cylinder with a diameter of 110mm and a height of 30mm. The walls of this cylinder are 3mm thick. Centered within the base, create a rectangular cutout for the cable duct measuring 140mm in length, 30.5mm in width, and 16mm in hei...
generate = "all"; $fn = 128; wall = 3; cableduct_h = 16; cableduct_w = 30.5; cableduct = [ 140, 30.5, 16 ]; box_dia = 110; box_h = 30; thread_dia = box_dia - 3; thread_h = 3; cover_h = 2; screw_dist = cableduct.y / 2 + (box_dia - cableduct.y) / 5; use <openscad-threads/threads.scad>; module screw_sunk( l=20, ...
glb/cad_ecccadd36baa.glb
Create a set of structural bows for a parametric geodesic star dome. Each bow is a flat, elongated strip with a thickness of 0.8mm, a width of 8mm, and a total length of approximately 220mm. The bows are categorized into three groups based on the number of joint pockets they contain. Create two bows with 5 joint pock...
$fn = 50; dome_height = 70; bow_width = 8; bow_thikness = 0.8; bow_joint_pocket_diameter = 3; print_spacing = 1; display_blue_bows = true; display_green_bows = true; display_red_bows = true; base_radius = dome_height; base_diameter = base_radius * 2; circumference = PI * base_diameter; bow_length = circumference / 2...
glb/cad_cc23d2e3e1e8.glb
Create two identical face mask clips for glasses, mirrored across the Y-axis. Each clip is a C-shaped snap-on bracket with a total height of 6mm. Start with a main rectangular body that is 6.4mm wide (2mm inner width plus two 2.2mm walls) and 6mm tall (5mm inner height plus a 1mm base). Hollow out the center to creat...
$fn = 40; height=6; glas_height=5; glas_width=2; thick=1.2; bottom_thickness=1.5; perfect=false; module clip(){ difference(){ union(){ difference(){ cube([glas_width+2*thick,glas_height+thick,height]); translate ([thick,0,0]) cube ([glas_width,glas_height,height]); } ...
glb/cad_ebbbe1b33835.glb
Create a spare nozzle holder by starting with a rectangular block measuring 90mm in length, 12mm in width, and 12mm in height. Carve out a rectangular channel from the top, 14mm wide and 3mm deep, extending 100mm along the length to create a recessed tray. Within this tray, remove a series of aligned cylindrical volume...
use <library/rounded_cube.scad> $fn=60; module nozzlebreak(){ rotate([0,90,0]){ translate([0,0,0]) cylinder(h=65, d=3); translate([0,0,47]) cylinder(h=12, d=4.5); translate([0,0,59]) cylinder(h=15, d=6.5); translate([0,0,73]) cylinder(h=6.2, d=9.5,$fn=6); translate([0,0,79])...
glb/cad_8b153960e230.glb
Create a filament swatch with a base plate measuring 79.5mm wide, 30mm high, and 2.2mm thick, featuring rounded corners with a 5mm radius. On the top surface, emboss the text "Galaxy Black" in the upper right area and "P L A" in the lower right area. In the lower left, emboss the text ".2 225C". Use a font size of 5m...
textstring1="Galaxy Black"; textsize_upper=5; textstring2=".2 225C"; textstring3="P L A"; textsize_lower=4; texttop=""; texttop_configurable="P R U S A"; fontname="Aldo"; text_type="embossed"; top_tests="enabled"; bottom_tests="enabled"; top_rounded_swatch="disabled"; tack_hole="none"; thole_d=1.5; thole_...
glb/cad_d8c781b7508e.glb
Create a Canon FD to EF mount adapter consisting of a series of concentric cylindrical rings and three screw holes. Start with a base ring that has an outer radius of 30mm, an inner radius of 27.2mm, and a height of 2mm. Above this, add a thin hollow cylindrical plate with an outer radius of 30mm, an inner radius of ...
$fn=200; green_outer_radius=30; green_inner_radius=27.20; green_height=2; blue_plate_height=1; red_height=4; red_outer_radius=20; red_inner_radius=16.5; holder_width=4; holder_height=2; number_of_holders=3; holder_angular_length=50; screw_head_radius=3/2 + 1/4; screw_radius=1.7/2; screw_distance=red_outer_radius; ...
glb/cad_221da3b2c7b5.glb
Create a Spiral Filament Guide consisting of a flat base plate and a flexible spiral arm. Start with a rectangular mount plate measuring 55mm by 48mm with a thickness of 1mm. On this plate, place two circular mounting holes with a diameter of 5.2mm; position them 15mm from the right edge, with one hole 10mm from the fr...
arm_height=2.0; mount_height=1.0; mount_x=55.0; mount_y=48.0; spiral_arm_length=45.0; mount_arm_length=36.0; hole_x=15; hole1_y=10; hole2_y=40; hole_d=5.2; arm_width=10; spiral_arm_thickness=2.0; spiral_loops=3; spiral_zoom=1.5; spiral_x_adj=-11.5; module spiral(){ start_angle = 90; end_angle = 360 * spi...
glb/cad_accc96d43798.glb
Create a Bearing Spool Holder by constructing a central cylindrical body with a diameter of 31mm and a height of 70mm. Add two circular end caps, each 3mm thick and 31mm in diameter, positioned at the top and bottom of the central cylinder, offset by 5mm from the main body. Drill a continuous vertical hole with a diam...
spool_l=70; spool_d=31; bearing_rise=1.0; holder_end_h=3.0; end_piece_offset=5; devmode=0; bearing_d=22.05; bearing_h=7; bearing_hole=8; tolerance=0.2; $fn=60; h1=4*(spool_l-bearing_h)/5 + holder_end_h; h2=3*(spool_l-bearing_h)/5 + holder_end_h; h3=2*(spool_l-bearing_h)/5 + holder_end_h; h4=1*(spool_l-bearing_...
glb/cad_2edf2bc4e5fa.glb
Create a Bearing Spool Holder designed to hold a spindle and bearings for a filament spool. Start by creating a central cylinder with a diameter of 31mm and a height of 70mm. At both ends of this cylinder, add circular caps with a diameter of 31mm and a thickness of 3mm. Create three rectangular slots to house 608ZZ...
spool_l=70; spool_d=31; bearing_rise=1.0; holder_end_h=3.0; end_piece_offset=5; devmode=1; bearing_d=22.05; bearing_h=7; bearing_hole=8; tolerance=0.2; $fn=60; h1=4*(spool_l-bearing_h)/5 + holder_end_h; h2= (spool_l-bearing_h)/2 + holder_end_h; h3=1*(spool_l-bearing_h)/5 + holder_end_h; x3=0; x2=(spool_d-bea...
glb/cad_7943f85ec22a.glb
Create a Bearing Spool Holder designed to hold a spindle and four bearings. Start by creating a central cylinder with a diameter of 32mm and a height of 71mm. At both ends of this central cylinder, add circular end-caps with a diameter of 32mm and a thickness of 3mm. Through the center of the entire assembly, create a...
spool_l=71; spool_d=32; bearing_rise=1.0; holder_end_h=3.0; end_piece_offset=5; devmode=0; bearing_d=22.05; bearing_h=7; bearing_hole=8; tolerance=0.2; $fn=60; h1=spool_l-bearing_h-1; h4= holder_end_h + 3; h2=holder_end_h + 1*((h1-h4+bearing_h/2)/3); h3=holder_end_h + 2*((h1-h4+bearing_h/2)/3); echo ("h1 = " ...
glb/cad_d4a0ce57685a.glb
Create a hygrometer spool-mount designed for edge-mounting on a filament spool. The object consists of a curved, bracket-like body with a wall thickness of 1.6mm. The main structure is a curved segment derived from a large cylinder with a diameter of 202mm. This segment has a total width of 65.5mm and a depth of 1.6m...
style=4; spool_h=10; spool_d=32; spool_wi=46; spool_wo=65.5; spool3_d=202; grip_h=7; meter_d=42.5; meter_h=15.0; meter2_h=4; thickness=1.6; armangle=45; $fn=90; if (style == 1) { difference() { cylinder(h=spool_h+1,d=spool_d); translate([0,0,-1])cylinder(h=spool_h+3,d=spool_d-thickness*2); } transl...
glb/cad_178b4562de3c.glb
Create a one-edge mounted hygrometer spool-mount. The device is designed to clip onto the edge of a filament spool to hold a circular humidity sensor. Construct the main body as a curved arc segment with a radius of 101mm (half of the 202mm spool diameter). The body should have a thickness of 1.6mm. Create a grip sect...
style=5; spool_h=10; spool_d=32; spool_wi=46; spool_wo=65.5; spool3_d=202; grip_h=7; clip_inner=2; meter_d=42.5; meter_h=15.0; meter2_h=4; thickness=1.6; armangle=45; $fn=120; ArcWidth=28; if (style == 1) { difference() { cylinder(h=spool_h+1,d=spool_d); translate([0,0,-1])cylinder(h=spool_h+3,d=spo...
glb/cad_4c231baa0c6d.glb
Create a Golf MK3 Hella Headlight Repair Kit bracket. Start with a main rectangular block measuring 14mm wide, 28.5mm deep, and 10mm high. Hollow out the center to create a walls-and-floor structure with a wall thickness of 1.5mm and a floor thickness of 2mm. On the top surface, center a cylindrical tower with an oute...
include <BOSL-1.0.3/constants.scad> use <BOSL-1.0.3/threading.scad> $threaded_insert = true; $fn = 192; module sector(radius, angles, fn = 24) { r = radius / cos(180 / fn); step = -360 / fn; points = concat([[0, 0]], [for(a = [angles[0] : step : angles[1] - 360]) [r * cos(a), r * sin(a...
glb/cad_36bb1bb97192.glb
Create a modular brick wall with a total length of 131.75mm, a depth of 5.75mm, and a height of 45.35mm. The wall is constructed from a grid of bricks arranged 11 units horizontally and 12 units vertically. Each standard brick has a length of 12mm, a height of 3.55mm, and a depth of 0.25mm. The bricks are laid in an a...
numBricksHorizontal = 11; numBricksVertical = 12; brickLength = 12; brickDepth = 5.75; brickHeight = 3.55; includeSideWalls = true; viewDepth = brickDepth / 23; smallLength = brickLength / 2 - viewDepth / 2; stepLength = brickLength + viewDepth; stepSmall = smallLength + viewDepth; stepHeight = brickHeight + view...
glb/cad_010600f16067.glb
Create a gas meter reed sensor mount. Start with a base rectangular plate measuring 53mm in length, 12mm in width, and 3mm in height. At one end of this base, extend a vertical wall upwards to a total height of 23mm, maintaining the 12mm width. On top of this vertical wall, create a flat horizontal platform 17mm long a...
qo=0.01; $fn=13; module socket(){ socketheigh = 4; difference(){ hull(){ cube([15,10,qo]); translate([0,3,socketheigh]) cube([15,4,2]); } translate([0-qo,3.75,socketheigh]) cube([qo+15+qo,2.5,2+qo]); } } function qo2() = 2*qo; difference(){ union(){ ...
glb/cad_b621b0d3b811.glb
Create a DIN Rail Cable Wrap with a total thickness of 12mm. The model consists of a mounting clip designed for a standard DIN rail and an attached spool for cable management. First, construct the DIN rail clip. The clip should have a wall thickness of 2mm and a clip-arm thickness of 1mm. The internal cavity of the cl...
include <BOSL2/std.scad> length=12; wall=2; tolerance=0.1; clipWall=1; clipL=10; $fn = 64; cut=true; union() { mirror([1,0,0]) linear_extrude(length) dinRailClip(wall,clipWall,clipL,tolerance,cut); right(11) fwd(15) cuboid([3,46,length], anchor=RIGHT+FRONT+BOTTOM); right(35) fwd(10) cuboid([25,3,lengt...
glb/cad_1bc8edbc7bb7.glb
Create a Parametric Outfeed Roller consisting of three main components: a base stand, a roller, and a bench dog. First, construct the base stand by creating a central cuboid measuring 230mm x 40mm x 20mm with 1.5mm rounded top edges. Attach two smaller cuboids measuring 20mm x 40mm x 60mm to the ends of the base, cen...
include <BOSL2/std.scad>; include <BOSL2/rounding.scad>; include <BOSL2/screws.scad>; include <BOSL2/threading.scad>; roller_height=3; color("Brown") roller_stand(); color ("Khaki") roller(); color ("Gray") bench_dog(); rh=roller_height*25.4; module roller_stand(){ difference(){ union(){ cuboid ([230,40,20], roundin...
glb/cad_62dfb611ab66.glb
Create a bottle strap ring with a total height of 1.4mm. Start by creating a main circular ring with an outer diameter of 74.8mm and an inner hole with a diameter of 70mm, resulting in a wall thickness of 2.4mm. On opposite sides of this ring, centered on the X-axis, add two small protruding loops. Each loop is formed ...
loop_size=10; owala_necksize=70; wall=2.4; height=1.4; difference(){ union(){ cylinder(h=height,r=owala_necksize/2+wall); difference(){ translate([(-owala_necksize/2+wall)-loop_size/2,0,0])cylinder(h=height,r=loop_size/2+wall); translate([(-owala_necksize/2+wall)-loop_size/...
glb/cad_1aaad7b83e0c.glb
Create a Mauwi boardgame insert for premium sleeves. Start by constructing a main outer box with a width of 96.6mm, a depth of 146.3mm, and a height of 50.9mm. The walls of this box should have a thickness of 1.5mm. Inside this structure, create a central rectangular cutout for the card deck measuring 85mm in width a...
$fn = 100; err = 0.01; spacing = .4; box_width = 97.4; box_depth = 147.1; box_height = 50.9; box_thickness = 1.5; manual_thickness = 1.6; manual_width = 90; manual_height = 140; card_width = 65; card_height = 116; deck_height = 85; difference() { outer_box_width = box_width - spacing * 2; inner_box_width =...
glb/cad_493d9bb3d85e.glb
Create a game tile by starting with a base rectangular prism measuring 20mm wide, 20mm deep, and 4mm high. Round the four vertical corners of this base using a radius of 2mm. On the top surface of the tile, add a large primary character (such as the letter "A") and a smaller secondary character (such as a number) as r...
character="A"; secondaryText="1"; width=20; depth=20; height=4; radius=2; font="Liberation Sans:style=Bold"; letterDepth=-3; secondaryLetterDepth=-3; mainLetterXOffset=0.5; mainLetterYOffset=5.00; secondaryTextXOffset=0.8; secondaryTextYOffset=1.2; secondaryTextOffset=3; secondaryTextScale=0.5; textScale=...
glb/cad_6d7966907e80.glb
Create a Triceps Barbell adapter by constructing a main cylindrical body with a diameter of 50.5mm and a height of 200mm. At the base of this cylinder, add a wider circular flange with a diameter of 76mm and a height of 21.25mm. Remove a central vertical hole from the entire assembly with a diameter of 32mm. Within th...
$fn=128; difference() { cylinder(d=32, h=200, center=true); translate([0,0,36]) metric_thread (diameter=30, pitch=6.5, length=65, square=true, rectangle=0.28, n_starts=1, thread_size=9); translate([0,0,-63.5]) cylinder(d=30, h=200, $fn=50, center=true); translate([0,0,-(200+50+30)/2]) sphere(50); } ...
glb/cad_2195f08bdeac.glb
Create a handle for a TS100 soldering iron. Start with a main vertical body consisting of a cylinder 49mm tall with a diameter of 19mm. At the base, add a 1mm thick disc with a diameter of 25mm, and transition from this base to the main body using a 5mm tall frustum that tapers from a 25mm diameter at the bottom to 19m...
$fn=100; module handle(){ union(){ difference(){ union(){ cylinder(25,d=19,true); translate([0,0,1]) cylinder(5,d1=25,d2=19,true); translate([0,0,0]) cylinder(1,d=25,true); } translate([0,0,10]) cylinder(22,d=14,true);...
glb/cad_2be67157c55f.glb
Create a customizable mini storage drawer rack with a depth of 64mm. The rack is constructed from a series of stacked grid cells of varying widths and heights. First, create the grid cells. For half-height rows, create cells 31mm wide and 14.5mm high. For standard rows, create cells 31mm wide and 28mm high. For doubl...
half_row = 1; standard_row = 1; double_row = 1; quad_row = 1; ddepth = 64; tClip = true; bClip = true; bed = 200; prepPrint = false; depth = ddepth+1; if (half_row>=1 || standard_row>=1 || double_row >= 1 || quad_row >= 1) { overallHeight = (half_row*13.5 + (standard_row+double_row+quad_row) * 27)+1; ...
glb/cad_1562dcaa896c.glb
Create a standard-sized storage drawer with a depth of 64mm. The main body is a hollow rectangular box with outer dimensions of 63mm in depth, 28mm in width, and 25.5mm in height. The walls should be 1mm thick. At the front center of the drawer, create a finger pull by removing a small section of the bottom wall and ...
box_type = 1; depth = 64; divider = 1; panel = 0; wall_thick = 1; sh_width = 28; db_width = 58; qd_width = 118; if (panel == 0 || panel == 2) { difference() { if (box_type == 0) { cylinder(h=2.5, r=5);} else { cylinder(h=5, r=5);} translate(v=[-5,0,0]) { cube(size=[10,10,10], center=true); ...
glb/cad_ded63f0ba680.glb
Create a 18650 banana plug breakout shaped as a vertical cylinder with a total height of 62mm and a diameter of 18mm. The top of the cylinder should taper slightly over the final 2mm of height down to a diameter of 16mm. Remove a central vertical hole with a diameter of 2.5mm that extends 15mm from the bottom and ano...
battcell(); $fn=100; module battcell(){ union(){ translate([3.3, -0.5,61.5]) cube([3,1,1]); translate([4.3, -1.5,61.5]) cube([1,3,1]); translate([7.7, 0,58]) rotate([0,90,0]) translate([3.3, -0.5,0]) cube([3,1,1]); translate([7.7, 0,58]) rotate([0,90,0]) translate([4.3, -1.5,0]) cub...
glb/cad_d160b81155d3.glb
Create a replacement nut for a steam generator descale unit. Start by creating a main cylinder with a diameter of 22mm and a height of 18mm, centered vertically. Inside this cylinder, remove a hexagonal prism with a flat-to-flat width of 20mm and a height of 8.5mm, also centered vertically, to create a hexagonal socket...
$fn=100; translate ([0,0,10]) difference() { cylinder(h=18, d=22,center=true); translate([0,0,6]) cylinder(h=8.5, d=20,$fn=6, center=true); hull () { translate([8,0,10]) rotate([-90,0,90]) cylinder(h=10,d=3,center=true); translate([8,0,5]) rotate([-90,0,90]) cylinder(h=10,d=3,center=true); ...
glb/cad_2dd4d898d580.glb
Create a balloon tie clip with a thickness of 2mm. The main body is a rounded equilateral triangle formed by the convex hull of three circles, each with a radius of 13.33mm, positioned at the vertices of an equilateral triangle with a radius of 20mm from the center. At the center of the object, create a circular hole ...
Sides = 3; radius = 20; corner_Radius = 0; thickness = 2; hole_Diameter = 10; Tie_Diameter = 10; Cut_Width = 0; Cut_End_Radius = 0; Cut_Corner_Radius = 0; Cut_Length = 0; shortSide = true; tollerance = 0.1; fudgeFactor = 0.015; $fn=120; holeDiameter = hole_Diameter; cornerRadius = corner_Radius == 0 ? rad...
glb/cad_c50862fcaa9f.glb
Create a Wemos D1 ESP32 protective case consisting of a main body and a lid. Construct the main body as a rounded rectangular box with overall dimensions of 35mm by 41mm and a height of 25mm. The corners should be rounded with a 10mm radius. Hollow out the center of the body with a rectangular cutout measuring 31.7mm...
$fn=60; module lower_body( lower_height = 12 ) { difference() { minkowski() {cube([35,41,lower_height],center=true);cylinder(d=10,h=0.0001,center=true);} translate ([0,0,2]) cube([31.7,39.6,lower_height-2],center=true); translate ([0,0,1]) cube([31.7,26,lower_height],center=true); translate( [0,0, ...
glb/cad_1a4e082fd421.glb
Create a Rittal powerCON TRUE1 TOP Inlet-Outlet Module. Start with a base body consisting of three stacked rectangular sections. The central main body is a cube 39.8mm wide, 65.6mm long, and 3.0mm high. Attached to the bottom of this body is a thinner face plate 38.8mm wide, 65.6mm long, and 2.0mm high. On the sides of...
RITTAL_MODULE_WIDTH_INNER = 40.0; RITTAL_MODULE_FACE_INSET = 0.5; RITTAL_MODULE_TAB_WIDTH = 1.0; RITTAL_MODULE_HEIGHT = 8.0; RITTAL_MODULE_TABS_HEIGHT = 2.6; RITTAL_MODULE_FACE_HEIGHT = 2.0; RITTAL_MODULE_LENGTH = 65.6; MODULE_FIT_CLEARANCE = 0.1; $fs = $preview ? 1 : 0.1; $fa = $preview ? 3 : 0.1; module rittal_mod...
glb/cad_0a20c4d8560e.glb
Create a bottle rack consisting of a central vertical body and five radiating legs. Start by constructing the central body as a cylinder with a diameter of 35mm and a total height of 55mm. The top of this cylinder should be rounded into a hemispherical dome with a 35mm diameter, effectively making the body a cylinder f...
ll = 55; st = 6; h = 55; dia = 35; $fn = 180; numLegs = 5; color("#99ffff") intersection() { linear_extrude(h, center = false, convexity=10,slices = 20) { offset(-5)offset(5){ for (i = [0:numLegs]) { hull() { circle (st/2); rotate([0,0,(360/numLegs)*i]) ...
glb/cad_b82f4e6ae182.glb
Create a router guide attachment for a Festool OF 1010 EBQ-Plus. Start with a main cylindrical body 90mm in diameter and 8mm thick. Add a second, slightly offset cylinder beneath it with a diameter of 73mm and a thickness of 8mm, centered vertically. On the top surface, create a central vertical hole 20mm in diameter ...
module roundedbox(size, radius) { hull() { for(i = [[1,1], [1,-1], [-1,-1], [-1,1]]) translate([(size[0]/2-radius)*i[0], (size[1]/2-radius)*i[1], 0]) cylinder(r = radius, h = size[2], center = true, $fn = radius*20); } } module guide_long(width) { difference() { ...
glb/cad_eabc08e30848.glb
Create a vacuum cleaner accessory adapter consisting of a hollow, tapered tube. The object is composed of two main sections joined by a central collar. The lower section is a conical sleeve designed for accessories. It has a height of approximately 32mm minus a transition offset. The outer diameter tapers from 34mm at...
Diameter = 34.5; resolution = 100*2; module adapter(accessory_diameter) { makita_diameter = 32.5; transition_height = ((makita_diameter + 0.5 + 2 * 2) - (accessory_diameter + 0.5))/2; difference() { union() { translate([0, 0, (32 - transition_height)/2]) ...
glb/cad_24a62dc0b213.glb
Create a pen holder for a 4.8mm offset line by starting with a solid cube measuring 20mm x 20mm x 13mm. Carve a stepped, cylindrical void through the block, angled at 75 degrees from the horizontal plane. The void begins at the bottom face and consists of four concentric cylindrical sections. The first section is a nar...
overlap=0.05; $fa=2; $fs=0.2; nibDiameter=2.5; firstStepIndent=4.0; firstStepDiameter=4.0; firstStepLength=2.0; secondStepLength=10.0; secondStepDiameter=6.8; thirdStepDiameter=9.0; module Pen() { cylinder(d=nibDiameter, h=20); translate([0,0,firstStepIndent]) cylinder(d=firstStepDiameter, h=20); translat...
glb/cad_64efb0c70aad.glb
Create a Customizable Honeycomb Storage Wall consisting of a grid of hexagonal cells. The overall grid depth is 8mm. Each hexagonal hole has a flat-to-flat width of 20mm, and the walls separating the holes are 1.8mm thick. Construct the grid by repeating these hexagonal units. The layout is defined by a specific colum...
$fn=90; depth = 8; hole_width = 20; wall_thickness = 1.8; max_grid_width=211; max_grid_height=248; column_data_index=0; fill = !column_data_index; flip_staggering=true; column_data=[ [], [3,5,8,6,4,3,4,5,6], [7,6,5,7,7,6,5,7], [4,5,4,5,4,5,4,5], ]; columns = column_data[column_data_index]; include_offsets...
glb/cad_80641c2bb20a.glb
Create a latch for an Olympia Carina typewriter case consisting of two identical mirrored components. For one component, start with a rectangular base measuring 65mm in length, 26mm in width, and 10mm in height. From this base, remove a rectangular section from the top center measuring 50mm by 11mm by 4mm, and two angl...
$fn=36; translate([70,0,0]) difference(){ mirror([1,0,0])translate([-65,0,0])body(); inscript(); } difference(){ body(); inscript(); } module body(){ difference(){ translate([0,2,0])cube([65,26,10]); translate([50.01,4.5,3])cube([15,11,4]); translate([-0.01,14.5,3])cube([65.02,11,...
glb/cad_6b437f0efacf.glb
Create an accessory box for a Robotron Erika electronic 3004 by constructing a hollowed-out vertical prism with a height of 210mm. The outer wall is defined by a 2D polygon with vertices at [30,0], [10,30], [0,80], [40,90], [125,60], [112.5,17], [117,15], and [117,0]. Create a matching inner void to leave a wall thickn...
wall=1; $fn=100; difference(){ linear_extrude(height = 210, center = true, convexity = 10, twist = 0) polygon([[30,0],[10,30],[0,80],[40,90],[125,60],[112.5,17],[117,15],[117,0]]); translate([117,15,0])cylinder(10,d=10,center=true); translate([0,0,0]) linear_extrude(height = 207, center = true, co...
glb/cad_95188a987c6f.glb
Create a handed shelf support bracket. Start with a main rectangular block measuring 30mm wide, 80mm long, and 28mm high. Add two thin retaining walls to create a shelf lip: one wall 3mm wide and 7mm high running the full 80mm length along one side, and a second wall 30mm wide and 3mm thick and 7mm high positioned at t...
$fn=30; difference() { union() { cube([30,80,28]); translate([0,77,27.5]) cube([30,3,7]); translate([0,0,27.5]) cube([3,80,7]); } translate([0,-1,-5]) rotate([0,47.5,0]) cube([30,85,45]); translate([10,25,12]) screwhole(); translate([10,56,12]) screwhole(); } module screwho...
glb/cad_40c026f58f4a.glb
Create a fan housing for a motor with a diameter of 52mm. The main body is a conical frustum with a height of 40mm, tapering from a base diameter of 145mm down to a top diameter of 15mm. Hollow out the center of this shape by removing a cylinder with a diameter of 63mm and a height of 30mm. Within the remaining walls...
$gap=15; $fn=99; $phi=135; body(); module body(){ union(){ intersection(){ cylinder(d1=145,d2=15,h=40,center=true); difference(){ translate([0,0,0]) cylinder(d=63,h=30,center=true); intersection(){ cylinder(d1=140,d2=10,h=40,center=true); ...
glb/cad_703e34adc810.glb
Create a locator template for Peterson Series II electric valves. Start with a rectangular base measuring 66.3mm in length, 21.9mm in width, and 3.5mm in thickness. At one end of the base, centered along the width, add a tapered locating pillar that extends 5mm upward from the base. The pillar should have a circular ...
air_hole = 6; punch_diameter = 3.5; base_thickness = 3.5; base_add = 3; locator_height = 5; locator_taper = 1.2; $fs = $preview ? 1 : 0.15; $fa = $preview ? 3 : 2; epsilon = 0.01; hole_to_hole = 43.7; metal_base_overall = 60.3; metal_base_width = 15.9; tooth_to_slot = 5; tooth_separation = 13.2; tooth_indent_offset ...
glb/cad_e11b321ba940.glb
Create a tripod cradle for a Zoom H4 recorder consisting of a main mounting plate and a curved support structure. First, construct the base plate. Create a flat rectangular plate 30mm by 30mm. At each of the four corners, place a circular pillar 12mm in diameter and 1mm thick. In the center of the plate, create a ver...
project = "H4"; branding = "Low-Z 2021"; cradle(); plate(); $fn=100; module plate(){ translate([0,0,-20]) difference(){ hull(){ translate([15,15,0])cylinder(1,d=12,center=true); translate([-15,15,0])cylinder(1,d=12,center=true); translate([15,-15,0])cylinder(1,d...
glb/cad_fb6846d455d3.glb
Create a simple case for a Treedix USB tester. Start by creating a main outer box with dimensions 82mm x 68mm x 25mm, applying a 4mm fillet to all edges to round the corners. Hollow out the center of this box by removing a smaller interior volume of 82mm x 68mm x 23mm, also with a 2mm fillet, leaving a wall thickness o...
$fn=90; difference(){ minkowski(){ cube([82,68,25],center=true); cylinder(r=4); } translate([0,0,1.2])minkowski(){ cube([82,68,23],center=true); cylinder(r=2); } translate([-45,0,-0.5])rotate([0,90,0])minkowski(){ cube([7,50,4],center=true); cylinder(...
glb/cad_7a07dfd3ea15.glb
Create a Rubber Loops Tool consisting of a handle and two symmetrical prongs. Start by creating a central cylindrical handle with a diameter of 8mm and a height of 50mm. At the top of this handle, add two identical prongs that branch out symmetrically. Each prong is formed by a semi-circular extrusion with a thickness ...
$fn=36; translate([-7.5,0,-1]) zinken(); translate([ 7.5,0,-1]) zinken(); module zinken() { rotate_extrude(angle=180) translate([-4,1]){ circle(1); square([1,17]); translate([0,17]) circle(1); } } rotate([-90,0,0]) rotate_extrude(angle=180) { intersection() { translate(...
glb/cad_2cb58727df3d.glb
Create a card holder protection sleeve. Construct a main rectangular box with an outer width of 56.6mm, an outer thickness of 2.6mm, and an outer height of 87.6mm. The walls of this enclosure should be 0.8mm thick. The box is designed as a shell with a hollow interior measuring 55mm by 86mm by 1mm to accommodate a card...
$fn = 64; width = 86; thickness = 1; height = 55; walls = 0.8; draw_hole = true; hole_x_radius = 10; hole_z_radius = 6; hole_x_offset = 27.5; hole_z_offset = 86; module box() { cube([height + walls*2, thickness + 2*walls, walls]); cube([height + walls*2, walls, width+thickness]); translate([0, wal...
glb/cad_76526a545fa1.glb
Create a simple octahedron by joining two square-based pyramids base-to-base. Each pyramid must have a height of 5mm and a square base with a width of 10mm. To ensure the geometry is a regular octahedron, the four-sided bases of the pyramids should be oriented such that their vertices align. Rotate the completed octahe...
scaled=1; rotate([0,125.2644,0]) union() {rotate([0,0,45])cylinder(r1=5,r2=0,h=5,$fn=4); rotate([0,180,0])rotate([0,0,45])cylinder(r1=5,r2=0,h=5,$fn=4); }
glb/cad_bf0233f4c042.glb
Create a Geometric Snowball Ornament. Start with a central sphere 40mm in diameter. Surround this core by adding 20 randomly rotated and positioned spheres, each 50mm in diameter but with only 5 facets, to create a jagged, crystalline outer texture. To form the hanging mechanism, place a small ring at the top: create a...
dump = rands(0, 1000000, 1, 123456788)[0]; difference(){ union(){ for(i = [0 : 20]){ rotate([rands(0, 360, 1)[0], rands(0, 360, 1)[0], rands(0, 360, 1)[0]]) sphere(d = 50, $fn = 5); }; sphere(d = 40, $fn = 50); translate([8, 0, 24]) rotate([90, 0, 0]) min...
glb/cad_c2bfcc9a645a.glb
Create a Tweezling tool storage holster. Start by forming a main body that is a rounded rectangular prism with a total length of 120mm, a width of 14mm, and a height of 14mm, featuring fully rounded ends with a radius of 7mm. Inside this body, carve out three parallel vertical holes, each with a diameter of 8mm, spaced...
$fn=80; difference(){ union(){ hull(){ translate([00,-0,-0]) sphere(7); translate([19,-0,-0]) sphere(7); } hull(){ cylinder(120,7,7); translate([19,0,0]) cylinder(120,7,7); } } translate([0,0,0.1]) cylinder(130,4,4); translate([19,0,0.1]) cylinder(130,4,4); translate([9.5,0,0.1]) cylinder(130,4,4); color("blac...
glb/cad_ba9f3384df46.glb
Create a stackable spray paint can rack consisting of three identical hexagonal units aligned in a row. For each unit, start with a hexagonal prism that is 170mm tall with a diameter of 85mm. Hollow out the center by removing a smaller hexagonal prism with a diameter of 83mm. To create the side openings, remove two hex...
h=170; d=73.6; union(){ translate([0,0,0])hexa(); translate([0,d,0])hexa(); translate([0,-d,0])hexa(); } module hexa(){ difference(){ translate([0,0,0])cylinder(h,d=85,center=true,$fn=6); translate([0,0,1])cylinder(h,d=83,center=true,$fn=6); translate([0,0,0])scale([1,1,4])rotate([90,90,0]...
glb/cad_a3244b004280.glb
Create a diamond painting bag organizer box with a total of 10 storage slots and an integrated card holder. The main body is a rectangular block with an outer width of 84mm, a height of 42mm, and a total depth of 122mm. Carve out 10 identical rectangular slots, each measuring 80mm wide, 10mm deep, and 40mm high. These ...
slotHeight = 40; slotWidth = 80; slotDepth = 10; wall = 2; paperSlotDepth = 2; amountOfSlots = 10; totalDepth = (slotDepth + wall) * amountOfSlots + wall; difference() { cube([slotWidth + (wall*2), totalDepth, slotHeight+wall]); for(i = [1:amountOfSlots]) translate([wall, (wall + slotDepth) * (i-1) + wal...
glb/cad_55813c56f460.glb
Create a spare part for a thermostat cartridge consisting of a hollow cylindrical base and a reinforced top structure. Start by constructing a main hollow cylinder with an outer diameter of 17mm and a height of 15mm, featuring a wall thickness of 1.5mm. At the bottom of this cylinder, add a wider circular flange with a...
$fa = 0.1; $fs = 0.1; dorn_d = 7.4; zt = 18; da1 = 17; z1 = 15; da2 = 22; z2 = 2; wand = 1.5; stempel_z = zt - z1; quer_dicke = 2; quer_y = 2.5; module main_cylinder() { difference() { union() { cylinder(z1, d=da1); cylinder(z2, d=da2); } translate([0,0,-0....
glb/cad_e26c85be641c.glb
Create a cleaning station holder with a base measuring 150mm in length, 53mm in width, and 50mm in height, featuring a bottom thickness of 3mm. The overall structure is a solid block with rounded corners (3mm radius) and several internal compartments removed from the top. On the left side, create a large rectangular c...
Length = 150; Width = 53; Height = 50; bottom_thickness = 3; ipa_bottle_width = 55; ipa_bottle_length = 55; napkin_width = 42; napkin_length = 65; module cleaning_station(width, length, height) { cotton_swap_width = length - ipa_bottle_length - napkin_length - 2 * 2; napkin_center_x = -length/2 + ipa_bo...
glb/cad_c75d6c1792e4.glb
Create a small napkin tray with external dimensions of 100mm in length, 100mm in width, and a total height of 53mm. The tray features a flat base with a thickness of 3mm. The walls are 6mm thick and have rounded corners with a radius of 3mm. The interior cavity is a rectangular void measuring 88mm by 88mm and 50mm dee...
Length = 100; Width = 100; Height = 50; bottom_thickness = 3; module napkin_tray_open(width, length, height) { difference() { union() { hull() { for(x = [-1, 1]) { for(y = [-1, 1]) { ...
glb/cad_de1cafd7cc27.glb
Create a replacement box for Kimwipes consisting of a bottom container and a matching lid. The bottom part is a hollow rectangular prism with external dimensions of 120mm length, 120mm width, and 70mm height. The walls and base have a thickness of 3mm. The top edges of the walls feature small rounded indents to help ...
Length = 120; Width = 120; Height = 70; bottom_thickness = 3; module kimwipes_box_bottom(width, length, height) { union() { difference() { union() { hull() { for(x = [-1, 1]) { ...
glb/cad_3c6666e1d015.glb
Create a speaker interface mount by starting with a solid cylinder 25mm in diameter and 25mm in height. Cut a rectangular block 25mm wide, 10mm deep, and 25mm high out of the center of the cylinder to create a flat-faced notch. From the center of the remaining cylindrical volume, remove a vertical hole 6.3mm in diamete...
$fn = 80; translate([-12.5,0,0]) difference(){ union() { difference() { translate([25/2,0,0]) cylinder(25, 25/2, 25/2); cube([25,15,25]); translate([25/2,-5,0]) cylinder(25, 6.3/2, 6.3/2); } cube([25,10,25]); } tr...
glb/cad_37caba1c2bf4.glb
Create a parametric plant pot base by constructing a thick-walled circular tray. Start with a solid cylinder that has a height of 15mm, a bottom diameter of 116mm, and a slightly tapered top diameter of 118.5mm. From this solid form, remove a concentric cylindrical core to create a hollow basin. This interior hole shou...
$fn=180; pot_d = 106; difference() { cylinder(h=15, d1=pot_d+10, d2=pot_d+12.5); translate([0,0,2.5]) cylinder(h=20, d=pot_d + 8); };
glb/cad_0166f9ff88b2.glb
Create a bone folder paper creasing tool with a total length of 200mm, a width of 23.5mm, and a height of 2.5mm. The main body is a convex hull that blends several geometric primitives into a single smooth, tapered form. Start with a rectangular base of 23.5mm by 170mm. At one end, integrate a semi-circular curve with ...
$fn=200; $width=23.5; $lenght=170; $height=5/2; hull(){ cube([$width,$lenght,0.1]); translate([$width/2,2,0]) cylinder(0.1, d=$width); translate([$width/2,$lenght+30,0]) cylinder(0.1,1); translate([$width/2-1.5,0,$height]) cube([3,$lenght,0.1]); }
glb/cad_3a420023abad.glb
Create a parametric scoop consisting of a cylindrical cup and a rectangular handle. The cup is formed by a hollow cylinder with an outer radius of 3.4mm and a total height of 5.4mm. The interior cavity is a cylinder with a radius of 3.0mm and a height of 5.0mm, positioned 0.4mm from the base to create a floor with a th...
$fn = 10; radius = 3.0; height = 5.0; wall_thickness = 0.4; handle_length = 30; handle_width = 2; handle_thickness = 2; fillet_radius = 0.25; module scoop() { minkowski() { difference() { cylinder(h = height + wall_thickness, r = radius + wall_thickness, center = false); tr...
glb/cad_9a0fae575093.glb
Create a Cubic display base by joining two identical truncated octahedrons. First, construct a truncated octahedron with an edge length of approximately 47.3mm. To achieve this geometry, create a hull from three rotated cubes, each with dimensions of 133.78mm by 47.3mm by 47.3mm, oriented along the X, Y, and Z axes res...
difference() { union() { rotate([45, -35.264393, 0]) { hull() { translate(v = [0, 10.75, 10.75]) { cube(size = [118.25, 96.75, 96.75]); } translate(v = [10.75, 10.75, 0]) { cube(size = [96.75, 96.75, 118.25]); } translate(v = [10.75, 0, 10.75]) { ...
glb/cad_85e35c298a54.glb
Create a Flash Adapter for SoluM ePaper Tags by starting with a main cylindrical base that has a diameter of 24mm and a height of 5mm. On the side of this cylinder, attach a small rectangular block measuring 3mm wide, 1.5mm deep, and 5mm high. To create the pin interface, remove a rectangular section from the top of t...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=1; z_all=5; dy=2; y1=0; y2=y1+dy; y3=y2+dy; dx=2.3; x1=0; x2=x1+dx; x3=x2+dx; x4=x3+dx; x5=x1+dx*1.5; x6=x5+dx; pin_h=z_all+2; pin_d=1.2+prt_delta; difference(){ union(){ cylinder(d=24, h=z_all); translate([-9.3, 3.5, -dt1]) color("blue") cube([8, 6, z_...
glb/cad_390b402db603.glb
Create a Houston Instrument DMP Plotter Pinch Wheel by extruding a complex profile around a central axis to create a rotational part with a total width of 8mm. The cross-section profile begins at the center and extends outward to an outer diameter of 18.5mm and inward to an inner diameter of 13mm. The outer wall feat...
wheel_width = 8.0; outer_diameter = 18.5; outer_band_thickness = 0.35; outer_band_width = 3.0; outer_band_height = 1.2; inner_diameter = 13.0; inner_band_thickness = 0.35; inner_band_width = 0.8; inner_band_height = 5.0; profile = [ [inner_diameter / 2 - inner_band_thickness, 0], [outer_diameter / 2, 0], ...
glb/cad_a8e609a98156.glb
Create a Modular Silverware Tray consisting of several specialized bins. Each bin is a rectangular block with a height of 70mm (2.75" * 25.5), a length of 232mm, and a base thickness of 5mm. For the knife holder, create a bin with a width of 61mm. For the fork holder, use a width of 71mm. For the spoon holder, use a w...
FN = 30; Delta = .1; ItoM = 25.5; MAX_W = ItoM*(12 + 7/8); MAX_D = ItoM*19; MAX_H = ItoM*(2 + 3/4); K_W = 20; K_L = 227; K_R = 2; S_HW = 13.5; S_HL = 98; S_HR = 2; S_HD = S_HR*2; S_SW = 32.5; S_SL = 56; S_SR = 12; S_SD = S_SR*2; S_W = max(S_HW,S_SW); S_L = S_HL+S_SL; SS_HW = 16.5; SS_HL = 140; SS_HR = 2; SS_HD = SS...
glb/cad_89910346f28d.glb
Create a SmokPub Cone consisting of a hollow truncated cone joined to a flat circular ring. First, construct the main body as a hollow cone with a height of 90mm. The base of this cone has a diameter of 200mm, tapering upward to a top diameter of 90mm. The walls of the cone are 5mm thick. At the top of this structure, ...
bottom_diameter = 200; platform_diameter = 90; smoke_port_diameter = 50; cone_height = 90; platform_thickness = 5; $fn = 360; module platform() { difference() { cylinder(platform_thickness, platform_diameter / 2, platform_diameter / 2, center= true); cylinder(platform_thickness, smoke_port_diamete...
glb/cad_7cfd52d711ca.glb
Create a parametric incense storage mount with a total thickness of 10mm. The main body consists of a honeycomb grid of hexagonal cells designed to hold tubes. Each cell is based on a hexagon with a radius of 15mm. The walls of these cells are created by subtracting a slightly smaller hexagon from a larger one scaled b...
print_height = 10; horizontal_tubes = 3; y_count = 5; reduce_per_row = true; incense_tube_size = 15; add_boxed_incense = true; boxes_x = 1; boxes_y = 2; box_spacing = 2; box_width = 55; box_height = 14; top_line_extra_length = -17; side_line_extra_length = 3.8; htube = incense_tube_size/2; dtube = incense_...
glb/cad_f6bb9f419acc.glb
Create a test tube peg rack consisting of a rectangular base plate and a grid of vertical pillars. The base plate should be 5mm thick with rounded corners (5mm radius). Arrange a grid of 35 vertical cylinders (pillars), 7 across the width and 5 along the depth. Each pillar must have a diameter of 6mm and a height of ...
tube_diameter = 17.00; capacity_tube_row = 6; capacity_tube_column = 4; pillar_diameter = 6.00; pillar_height = 60.00; edge_margin = 5; base_height = 5; has_rib = true; rib_thickness = 2; has_hole = true; draw_label = true; font_size = 7; pillar_interval = (tube_diameter + pillar_diameter)* cos(45); first_pi...
glb/cad_b11d3cd66eee.glb
Create a test tube peg rack consisting of a rectangular base plate and a grid of vertical pillars. The base plate should be 5mm thick with rounded corners. Arrange the pillars in a grid of 7 columns and 5 rows. Each pillar is a cylinder with a diameter of 6mm and a height of 60mm. The spacing between the centers of t...
tube_diameter = 17.00; capacity_tube_row = 6; capacity_tube_column = 4; pillar_diameter = 6.00; pillar_height = 60.00; edge_margin = 5; base_height = 5; has_rib = true; rib_thickness = 2; draw_label = true; font_size = 7; pillar_interval = (tube_diameter + pillar_diameter)* cos(45); first_pillar_xy = (tube_di...
glb/cad_2afd5fb6686d.glb
Create a mount for a Limelight vision unit consisting of a flat base plate and a vertical support wall. Start by creating a rectangular base plate 80.15mm wide, 105mm long, and 5mm thick. In the center of this plate, extend a vertical rectangular wall upwards that is 80.15mm wide, 5mm thick, and 50mm high. On the base...
width = 80.15; top_height = 50; bottom_height = 50; total_height = top_height+bottom_height+5; depth = 5; cam_hole_diameter = 5; cam_edge_offset = 1.54; cam_depth = 26; frame_edge_offset = 10.5; hole_separation = 7.6; frame_hole_diameter = 5; module gen_hole(d, h) { rotate([90, 0, 0]) { cylinder(d = d, h ...
glb/cad_3f5bdcf42ab5.glb
Create a Woven Heart ornament consisting of two mirrored heart-shaped halves and two handle pieces. Each component must have a uniform thickness of 0.3mm. For each heart half, start with a shape formed by a rectangle 50mm wide and 50mm tall, centered on the X-axis, with a semi-circle of radius 25mm attached to the out...
heart_thickness = 0.3; heart_width = 50; useHandleSlit = true; gap_width = 0.75; num_strips = 3; strip_width = heart_width / num_strips; handle_width = 10; handle_slit_width = 1; handle_slit_offset = strip_width / 2 - handle_slit_width; handle_triangle_width = handle_width + 2; handle_triangle_height = 3; handle_he...
glb/cad_f409eb9d5c62.glb
Create a Raspberry Pi Zero USB Dongle and e-paper case consisting of a bottom shell and a top cover. Construct the bottom shell as a rounded rectangular box with external dimensions of 65mm in length and 30mm in width, with a corner radius of 3mm. The shell walls should be 2mm thick. The interior height of the bottom...
$fa = 2; $fs = 0.5; inch = 25.4; bit = 0.01; inf = 1e3; extrusion_w = 0.5; extrusion_h = 0.2; fit = 0.3; zero_w = 30; zero_l = 65; zero_t = 1.5; zero_corner_r = 3; zero_hole_r = 3.5; insulation_t = 0.1; usb_t = 4.5; usb_w = 12; usb_o = 1; usb_catch_l = 9; usb_catch_h1 = 1; usb_catch_h2 = 0.5; usb_catch_w = usb_w + ...
glb/cad_f2d91de211e3.glb
Create a QR Code Plaque by starting with a rounded square base 60mm wide and 3mm thick, with corner fillets of 4mm. On the top surface, center a QR code pattern within a 50mm square area, extruding the code elements 0.6mm above the base. If a title is required, extend the base length by 10mm to accommodate text centere...
gBaseSize = 60; gQRSize = 50; gBaseHeight = 3; gHasTitle = false; gTitleText = "Wifi" ; gTitleAreaHeight = 10; gTextScale = 0.4; gHasMagnets = "No"; gMagnetHeight = 2; gMagnetLength = 20; gMagnetWidth = 5; gCoverMagnets = false; gHasKeyTag = "None"; gKeyTagHoleDiam = 8; gHasStand = false; gStandDiam = 30...
glb/cad_5f352be9392c.glb
Create an ADXL345 RHS mount consisting of a vertical base and a horizontal platform. Start with a vertical rectangular block 11mm wide, 7mm deep, and 33mm high. At the top of this block, add a horizontal rectangular platform extending from the side, measuring 20mm long, 7mm deep, and 4mm thick. On the vertical block, ...
Mount_d=20-9; Bullseye_d1=17; Bullseye_h=33; y_offset=+6; ADXL345_z=4; ADXL345_h=20; ADXL345_h2=15; ADXL345_d=2.5; ADXL345_sl=10; ADXL345_sd=ADXL345_sl - ADXL345_z; module mount() { difference() { union() { translate([0,0,0]) cube([Mount_d,7,Bullseye_h]); translate([5,0,Bullseye_h]) cube([ADXL345_h,7,ADXL345...
glb/cad_349e97e92647.glb
Create a Cricut Adhesive Cut Mat Desk Clamp. Start by creating a main rectangular block with a depth of 35mm, a height of 33mm, and a width of 40mm. Hollow out this block by removing a smaller internal rectangular volume that is 30mm deep, 23mm high, and 40mm wide, leaving a wall thickness of 5mm on the top, bottom, an...
include <BOSL2/std.scad> include <BOSL2/screws.scad> DeskThickness = 23; ClampDepth = 30; ClampWidth = 40; WallThickness = 5; triangle_base_width = 26.3; triangle_height = 9; $triangle = [ [0, 0], [0, triangle_base_width], [-triangle_height, triangle_base_width / 2] ]; triangle_extrusion_depth = 25; ...
glb/cad_555d5842c445.glb
Create a desk clamp for a cutting mat. Start with a main rectangular block measuring 35mm in depth, 33mm in height, and 40mm in width. Hollow out a smaller rectangular section from the front and center, leaving a wall thickness of 5mm on the top, bottom, and front face, resulting in an internal cavity of 30mm by 23mm b...
include <BOSL2/std.scad> include <BOSL2/screws.scad> DeskThickness = 23; ClampDepth = 30; ClampWidth = 40; WallThickness = 5; OvalExtrusionDepth = 25; main_cube_size = [ClampDepth + WallThickness, DeskThickness + (2 * WallThickness), ClampWidth]; sub_cube_size = [main_cube_size[0] - WallThickness, main_cube_size[...
glb/cad_c9aa2e8bea00.glb
Create a baby formula lid by constructing a thin-walled cylindrical ring. Start with a solid cylinder that has an outer diameter of 131mm and a total height of 6.4mm, centered on the origin. Hollow out the center by removing a smaller concentric cylinder with a radius 0.8mm smaller than the outer radius, but leave a ba...
$fn = 100; OUTER_DIAMETER = 131; WIDTH_RADIUS = 0.8; OUTER_HEIGHT = 6.4; LID_THICKNESS = 0.6; difference() { cylinder(r=OUTER_DIAMETER / 2, h=OUTER_HEIGHT, center=true); translate([0, 0, LID_THICKNESS]) { cylinder(r=OUTER_DIAMETER / 2 - WIDTH_RADIUS, h=OUTER_HEIGHT, center=true); } } translate([0, 0, OUTER_...
glb/cad_fafcda6c87a5.glb
Create a filament swatch divider. Start with a base rectangular plate measuring 79.5mm wide, 30mm high, and 2.2mm thick. Round the four corners of this plate with a 5mm radius. On the top surface, center the text "Prusa – PLA" in a bold sans-serif font. The text should be embossed to a height of 2.2mm. Flanking the te...
texttop_predefined="Prusa – PLA"; texttop_configurable=""; fontname="Saira Condensed:style=SemiBold"; w=79.5; h=30; th=2.2; round=5; wall=2; r_hole=2; r_indent=2; label_w=w*.8; label_h=th*2+1; texttop=(texttop_configurable==""?texttop_predefined:texttop_configurable); $fn=48; font_recessed=1.5; module wri...
glb/cad_92bbd009bf04.glb
Create a wheelchair access ramp with a length of 200mm and a width of 50mm. The main body is a wedge shape that starts at a height of 0mm on one side and slopes up to a maximum height of 9mm on the opposite side. Along the high edge of the wedge, remove a semi-cylindrical channel with a radius of 20mm. This channel s...
gripper_h = 9.0; gripper_w = 12.0; gripper_r = 20.0; ramp_w = 50.0; ramp_l = 200.0; ramp_ox = -0; ramp_oz = -0.2; clip = "Yes"; clip_h = 1.0; $fn=1000; union() { difference() { translate([-ramp_w, 0, 0]) polyhedron( points=[[0, 0, 0], [ramp_w, 0, 0], [ramp_w, 0, gripper_h], [0, ra...
glb/cad_a7e0275ceceb.glb