Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Lens Cap Rack by starting with a solid rectangular block that is 62mm deep (Y-axis) and 62mm wide (Z-axis). The total length (X-axis) should be the sum of the thicknesses of four slots plus a 2mm wall between each and at the ends. Carve four cylindrical holes through the block, each oriented along the Y-axis...
$fn = 100; THICKNESS = [32, 12, 12,12]; DIA = [62, 61, 61, 50]; DEPTH = 62; WALL = 2; function add(v) = [for(p=v) 1]*v; function partial(list,start,end) = [for (i = [start:end]) list[i]];; module internal(){ next_offset = 0; for (i=[0:len(THICKNESS)-1]) { if (i==0) { echo("FIRST"); ...
glb/cad_f8ecaa28f244.glb
Create a socket wrench for knurled nuts by constructing a hollow cylinder with an outer diameter of 11mm and an inner diameter of 9mm, reaching a total height of 20mm. The top edge of this cylinder should feature a 1mm chamfer. To create the gripping mechanism, add two rectangular nubs to the top of the cylinder. Each ...
include <Chamfer.scad> $fn = 100; DIA = 9; DEPTH = 20; NUB_DEPTH = 0.8; NUB_WIDTH = 1.4; WALL_THICKNESS = 2; module body_internal(){ cylinder(h=DEPTH * 2, r=DIA/2); } module body_external(){ chamferCylinder(h=DEPTH, r=DIA/2 + WALL_THICKNESS/2, chamferHeight=1); } module body(){ difference(){ ...
glb/cad_6249fc552bf6.glb
Create a Eurorack Mult panel by starting with a base rectangular plate measuring 20.32mm wide, 128.5mm high, and 2mm thick. Add a raised rectangular rib along one side that is 4mm wide, 6mm high, and 116.5mm long, positioned 2mm from the left edge and 13mm from both the top and bottom edges. On the face of the panel,...
use <jack_35mm.scad> use <led_3mm.scad> $fn=100; hp = 4; EURORACK_H = 128.5; EURORACK_W = 5.08; THICKNESS = 2; w = hp * EURORACK_W; module main(){ cube([w, EURORACK_H, THICKNESS]); translate([11, 1.4, -0.8]) cube([w-11, 3.2, 0.8]); translate([11, EURORACK_H-4.6, -0.8]) cube([w-11, 3.2, 0.8]); rib_h...
glb/cad_da5bbcc31b73.glb
Create a 3D text model of the word "benjiaomodular" using a sans-serif font, such as Liberation Sans. The letters should be extruded to a height of 4mm. Ensure the text is laid out on a flat plane with no rotation, maintaining a consistent baseline and uniform thickness across all characters.
module logo(x, y, z, r){ translate([x, y, z]) { rotate([0, 0, r]) { linear_extrude(height=4) { text("benjiaomodular", font="Liberation Sans", size=6); } } } } logo(0, 0, 0, 0);
glb/cad_f5329acb22a8.glb
Create a 3mm LED holder consisting of two stacked coaxial cylinders. First, create a base cylinder with a radius of 1.8mm and a height of 4mm, centered vertically so it extends 2mm above and below its origin. Directly on top of this base, place a second cylinder with a radius of 1.5mm and a height of 5mm, centered hori...
$fn=100; module led_3mm(x, y){ translate([x, y, 0]) cylinder(r=1.5, h=5, center = true); translate([x, y, -2]) cylinder(r=1.8, h=4, center = true); } led_3mm(0, 0);
glb/cad_47e9941376cf.glb
Create a Eurorack Mult panel by starting with a rectangular base block that is 9mm wide, 10.5mm deep, and 10mm high. On the top surface of this block, center a cylinder with a radius of 3.75mm and a height of 1mm. Atop this cylinder, add a second, smaller cylinder with a radius of 3mm and a height of 2mm. Finally, atta...
$fn=100; module jack_35mm(x, y, r){ translate([x, y, 1]){ rotate([0, 0, r]){ cylinder(r=3, h=THICKNESS, center=true); translate([0, 0, -1.5]) { cylinder(r=3.75, h=1, center=true); translate([-4.5, -6, -10]){ cube([9, 10.5, 10]);...
glb/cad_7453513061ac.glb
Create a Labelled 4HP Eurorack Panel. Start with a main rectangular plate measuring 20.32mm wide, 128.5mm high, and 2mm thick. On the back of this plate, add a vertical rib that is 4mm wide and 6mm thick, centered horizontally at 2mm from the left edge and extending between the top and bottom margins of 13mm each. Pi...
$fn=100; hp = 4; EURORACK_H = 128.5; EURORACK_W = 5.08; THICKNESS = 2; w = hp * EURORACK_W; module main(){ cube([w, EURORACK_H, THICKNESS]); translate([11, 1.4,-0.4]) cube([w-11, 3.2, 0.4]); translate([11, EURORACK_H-4.6,-0.4]) cube([w-11, 3.2, 0.4]); rib_height = 6; rib_margin = 13; rib_thi...
glb/cad_556362f05776.glb
Create a protective case for the RA-35 Radio Adapter Interface Board consisting of a bottom box and a snap-on lid. For the bottom box, create a rounded rectangular shell with external dimensions of 50.34mm width and 103.13mm length. The walls should be 1.5mm thick. On the bottom side, incorporate two rectangular cuto...
$fn = 60; part = "lid"; str = "RA-40"; font="Arial Black"; width=45.84; length=96.63; usb_height=12; usb_width=12; usb_length=16.6; usb_extend=6.2; screw_d = 3.3; screw_r = screw_d / 2; screw_loffset = 3; screw_woffset = 3; db9_width = 31; db9_height = 12.5; db9_length = 18.2; db9_extend = 11.6; db9_caselip = 2...
glb/cad_bb126f312d5f.glb
Create a protective case for the RA-35 Radio Adapter Interface Board consisting of a bottom box and a snap-on lid. For the bottom box, create a rounded rectangular shell with external dimensions of 48.84mm width and 102.63mm length. The walls should be 1.5mm thick. On the opposite sides of the length, cut two rectang...
$fn = 60; part = "all"; str = "RA-35"; font="Arial Black"; width=45.84; length=96.63; usb_height=12; usb_width=12; usb_length=16.6; usb_extend=6.2; screw_d = 3.3; screw_r = screw_d / 2; screw_loffset = 3; screw_woffset = 3; db9_width = 31; db9_height = 12.5; db9_length = 18.2; db9_extend = 11.6; db9_caselip = 2...
glb/cad_7b4dde57beb1.glb
Create a load cell housing starting with a main circular base 110mm in diameter and 9mm thick. Carve out a concentric cylindrical depression from the top, leaving a 3mm high outer rim that is 3mm wide. Inside this depression, center a rectangular platform 80mm long, 12.7mm wide, and 5mm thick, positioned 3mm above the ...
$fn=321; difference() { union() { difference() { cylinder(r=110/2, h=9); translate([0,0,3]) cylinder(r=110/2-3, h=9.01); } * %translate([-80/2,-12.7/2,8]) cube([80, 12.7, 1]); translate([-80/2, -12.7/2, 3]) cube([5+15+5, 12.7, 5]); hull() { translate([-80/2-13, -12.7/2-1, 3+3....
glb/cad_806cf3b3aaf3.glb
Create a shower holder by starting with a conical base that is 20mm high, with a bottom diameter of 40mm and a top diameter of 34mm. Enclose this base within a hull that includes a torus with a cross-sectional radius of 2mm, centered 10mm above the base's center. From this solid, remove a central tapered void that is 4...
$fn=200; difference () { hull(){ cylinder (d1=40, d2=34, h=20, center = true); translate ([0,0,10]) rotate_extrude(convexity = 10) translate([15, 0, 0]) circle(r = 2); } translate ([0,0,6]) rotate ([90,0,0]) cylinder(d1=23.5, d2=19, h=40, center=true); rotate ([0,0,3.75]) translate ([-...
glb/cad_3159043dbb12.glb
Create a DIY Respirator box for a HEPA and carbon filter. Start by constructing a rectangular base with overall dimensions of 128mm in width, 110mm in depth, and 21mm in height, using a wall thickness of 4mm. In the center of the top face, create a vertical cylindrical tube with an outer diameter of 34mm and an inner...
$fn=50; thin=4; innerX=120; innerY=102; innerZ=17; innerTubeD=30; innerTubeH=20; hepaFilterBox(); module hepaFilterCover() { difference() { cube([innerX+thin+3,innerY+thin+3,innerZ*2/3],center=true); translate([0,0,1]) { cube([innerX+thin+1,innerY+thin+1,innerZ*2/3-2],center=true); } gridFan(...
glb/cad_82dfd0b8e5ef.glb
Create a parametric button cell battery container. Start with a main cylindrical body that has a height of 51mm and a diameter of 14mm. The walls and the base should have a thickness of 2.4mm. Cut a wide rectangular slot through the front of the cylinder to create an open face for accessing the batteries. At the botto...
$fn=100; tbt = 2.4; function AA() = [51, 14, 3.8]; function AAA() = [44.5, 10.5, 2.8]; function LR43() = [4.2, 11.6, "LR43", AA()]; function LR44() = [5.4, 11.6, "LR44", AA()]; function LR54() = [3.1, 11.6, "LR54", AA()]; function LR54xl() = [3.7, 11.6, "LR54", AA()]; functi...
glb/cad_85d0ce1a963c.glb
Create a Universal Box for PCB consisting of a main enclosure, a lid, and PCB mounting supports. The main enclosure is a rectangular shell with outer dimensions of 80mm x 80mm and a height of 40mm. The walls are 2.4mm thick with 5mm rounded corners. The bottom is solid, while the top is open. At each of the four inte...
velikost_x = 80; velikost_y = 80; velikost_z = 40; material = 2.4; zaobleni = 5; sroub = 3; sroub_delka = 11; sroub_vrch = 6.2; mezera = 0.2; pcb_z = 5; pocet_pcb = 4; pcb_X = [15,15,65,65]; pcb_Y = [1...
glb/cad_b533b50a9ede.glb
Create a salt and pepper shaker stand consisting of two cylindrical holders connected by a central handle. Start by creating two solid cylinders, each with a radius of 31.5mm and a height of 50mm. Position these cylinders so their centers are separated by 86mm along the x-axis. From each cylinder, remove a concentric v...
wall_thickness = 3; stand_height = 50; handle_height = 125; shaker_diameter = 56; hole_clearance = 3; hole_diameter = shaker_diameter + hole_clearance; shaker_separation = 30; corner_radius =2; hole_height = stand_height; $fn=100; container(); module base() { translate([-shaker_diameter/2 -wall_thickness/2 - ...
glb/cad_cc27e99c88d6.glb
Create a Mario Coin Ornament by starting with a thin, flattened disc. Construct the main body as a highly scaled sphere, compressed along one axis to create a thin ovaloid face with a diameter of 60mm and a thickness of approximately 4mm. On the front and back faces of this disc, carve out a vertical, rectangular not...
module face(){ hull(){ translate([2,0,0])scale([0.08,1,1])sphere(d=60, $fn=64); translate([-2,0,0])scale([0.08,1,1])sphere(d=60, $fn=64); } } module ring(){ rotate([90,0,90]) rotate_extrude($fn=128){ translate([30,-4,0]) minkowski(){ square(8, cen...
glb/cad_2024ca82b890.glb
Create a burr holder for a coffee grinder consisting of three stacked concentric cylindrical sections. The bottom section is a hollow cylinder with an outer radius of 26mm and an inner radius of 24mm, and a height of 14mm. The middle section is a hollow cylinder with an outer radius of 25.5mm and an inner radius of 20m...
$fa = 0.1; $fs = 0.4; difference() { union() { translate([0,0,14]) union() { rotate([0,0,45]) translate([-2,-26,0]) union() { translate([1,1,0]) cube([2,3,2]); cube([4,2,5]); translate([0,0,3.5]) ...
glb/cad_aa74ce92ed01.glb
Create a Snugtop Lock Cam with a uniform thickness of 2.5mm. Start with a main body that is 15.9mm wide. The base of this body is a rectangle 22mm long, but the end is rounded into a semi-circle with a radius of 7.95mm. Centered within this rounded section, create a square cutout measuring 8.76mm by 8.76mm, positioned ...
width = 15.9; length_cutout_section = 22; length_bend = 5.8; length_locking_tab = 12.6; height = 2.5; opening_width = 8.76; opening_height = 8.76; opening_distance_from_edge = 3.6; linear_extrude(height) group() { difference() { $fn=100; translate([0, width/2, 0]) hull() { square([...
glb/cad_0a42500be0b8.glb
Create a Snugtop Lock Cam with a uniform thickness of 2.5mm. Start with a main rectangular body 15.9mm wide and 22mm long, ending in a semi-circle with a radius of 7.95mm. Centered within this rounded section, create a square cutout measuring 8.76mm by 8.76mm, positioned 3.6mm from the curved edge. Extend the model f...
width = 15.9; length_cutout_section = 22; length_bend = 5.8; length_locking_tab = 12.6; height = 2.5; opening_width = 8.76; opening_height = 8.76; opening_distance_from_edge = 3.6; module prism(l, w, h){ polyhedron( points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], faces=[[0,1,2,3],[5,4,...
glb/cad_bc27a7cd43c2.glb
Create a Wind Tunnel Desk Fan electronics enclosure consisting of a main box and a matching lid. Construct the main box as a rectangular prism with overall dimensions of 54mm width, 27mm depth, and 37mm height. Hollow out the center to create a cavity of 50mm by 25mm by 35mm, leaving a wall thickness of 2mm. At each ...
detail=2; detFn = 80; tubeDiam = 20; wallThick = 0.8; diffLen = 15; diffSrt = 12; diffEnd = 13; diffRad = 40; diffRot = 25; diffShl = 1; nCasc = 14; nSupp = 6; cLen = 110; ductWall = 0.4*3+0.1; flangePad = 4; numFlangeHoles = 4; flangeHoleRotate = 45; translate([0,3,20])rotate([0,180,0])electronics(); module el...
glb/cad_dcc6a7afffec.glb
Create a Lantus Insulin Stand consisting of two vertical cylindrical tubes mounted on a circular base. First, construct a circular base with a radius of 30mm and a height of 1mm. Centered on this base, create two vertical hollow cylinders, both with a height of 59mm. The first cylinder, intended for the insulin vial, s...
difference () { union () { translate([-4, 0, 0]) { cylinder(h=59, r1=8, r2=8, center=false, $fn = 64); translate([11.5, 0, 0]) { cylinder(h=59, r1=5.5, r2=5.5, center=false, $fn = 64); } } translate([0, 0, 1]) { cylinder(h=6...
glb/cad_db8f8648f74c.glb
Create a microscope blade box consisting of a base and a cover. The base is a rectangular container with external dimensions of 79.8mm in length, 55.2mm in width, and 11.5mm in height. The walls are 1.4mm thick. Inside the base, create 10 angled slots to hold slides, each slot being 77.5mm long, 27mm wide, and 2.7mm th...
Part = "both"; LocCount = 10; Tenon = 3.0; Wall = 1.4; BladeSize = [76+1.5, 26+1.0, 1.5+1.2]; BladeAngle = 20; BladeSpace = 3.5; HingeHgt = 12.0; HingeWth = 10. ; HingeDia = 6.0; HingeHol = 1.75 + 0.6; HingeLgt = 4.0; HingeGap = 0.5; ClipDia = 0.8; ClipWth = 15; Iota = 0.1; Epsilon = 0.01; BoxExtSize = [...
glb/cad_08074025f2a8.glb
Create a closet rod holder consisting of a main cylindrical head and a flat rectangular base. The head is a cylinder with an external diameter of 25mm and a total height of 30mm. Bore a central hole through the head with a diameter of 20.5mm to accommodate a rod. The base is a rectangular slab 60mm long, 25mm wide, a...
RodDiameter = 20; HolderDiameter = 25; LegHeight = 30; BaseHeight = 4; BaseLength = 60; LockDia = 8; LockHeight = 3.5; Cork = false; ScrewProfile = [ [0,0],[2,0],[2,BaseHeight*2],[4,BaseHeight*2+4], [4,BaseHeight*2+8],[0,BaseHeight*2+8],[0,0] ]; Clearance = 0.5; $fn = 100; Make(); module Make() { translate([...
glb/cad_806cb2484f43.glb
Create a Resin Exposure Range Finder Layout Helper by starting with a solid rectangular base measuring 298mm wide, 164mm deep, and 2mm thick. Within this base, carve out eight identical rectangular holes to create a grid of recessed cells. Each hole should be 69.75mm wide and 76.5mm deep, centered within a grid area of...
$width = 298; $height = 164; $qw = $width/4; $qh = $height/2; $cubew = $qw -5; $cubeh = $qh -5; difference(){ cube([$width, $height, 2]); for (a =[0:7]) translate([$qw * (floor(a/2) + 1) - $qw/2, $qh * (a%2) +$qh/2]) cube([$cubew, $cubeh, 50], center= true); } for (a =[0:7]) translate([$qw * (floor(a/2)...
glb/cad_4aa0925b3bfc.glb
Create a resin exposure range finder layout helper consisting of a grid of thin rectangular bars. The overall footprint is 298mm wide by 164mm high with a thickness of 0.1mm. First, create three horizontal bars, each 10mm wide and 0.1mm thick. Position these bars at vertical intervals of 41mm (at heights of 41mm, 82m...
$width = 298; $height = 164; $traceW = 10; $traceZ = 0.1; $overlap = 10; for(a=[1:2:3]) translate([$width / 8 - $traceW/2-$overlap, $height / 4 * a - $traceW/2,0]) cube([$width / 8 * 6 + $traceW + $overlap*2, $traceW, $traceZ], center = false); for(a=[1:2:7]) translate([$width / 8*a + $traceW/2-$overl...
glb/cad_2509629ff017.glb
Create a Band Tie by starting with a main cylinder that is 10.75mm in diameter and 27.5mm tall, centered on the origin. To create the hourglass-like profile, remove material by centering a sphere with a 15mm diameter at the origin and scaling it by a factor of 2 along the Z-axis, then repeating this subtraction every 1...
$fn=25; rezSteps=10; bandTie(); module bandTie() { difference() { translate([0,0,0]) cylinder(d=10.75, h=27.5, center=true); for(a = [0 : rezSteps : 360]) rotate([0,0,a]) translate([10, 0, 0]) scale([1,1,2]) sp...
glb/cad_a703eec8f94d.glb
Create a Band Tie by constructing a symmetrical, hourglass-shaped object centered on the origin. Start with a central cylinder that has a diameter of 6mm and a height of 9mm. For the top section, create a tapered volume by forming a hull between a cylinder with a diameter of 10.75mm and a height of 2.51mm positioned at...
$fn=50; bandTie(); module bandTie() { hull() { translate([0,0,12.5]) cylinder(d=10.75, h=2.51, center=true); translate([0,0,8]) cylinder(d=6, h=8, center=true); } translate([0,0,0]) cylinder(d=6, h=9, center=true); hull() { translate([0,0,...
glb/cad_d981e074c618.glb
Create a Wyze Cam Magnetic Shelf consisting of a base plate and a supporting bracket. Start with a rectangular base plate measuring 50mm by 50mm with a thickness of 4mm. In this base, create four circular pockets for magnets, each with a diameter of 12.25mm and a depth of 4mm, positioned at the coordinates (10, 10), (-...
$fn=25; magnetDiameter = 12.0; magnetPadding = 0.125; camShelf(); module camShelf() { union() { difference() { translate([0,0,0]) plateSide(); translate([-1,0,-5]) scale([0.675,1.1,0.675]) cutOut(); } transl...
glb/cad_813013bb7acc.glb
Create a numbered parts tray consisting of a grid of 7 columns and 3 rows of rectangular slots. The overall structure is built from individual cells, each with a total footprint of 26mm by 26mm (based on a 20mm slot width and length plus 3mm borders on all sides). Each cell is a block with a total height of 4mm, cons...
column_count = 7; row_count = 3; slot_width = 20; slot_length = 20; slot_height = 3; module __Customizer_Limit__ () {} production = 1; pnghq = 0; $fn = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$fn); } else...
glb/cad_c0d7160aa935.glb
Create a parametric stool pot by starting with a main cylinder 100mm in diameter and 100mm in height. Hollow out the center by removing a concentric cylinder from the inside, leaving a base thickness of 2mm and wall thickness of 2mm. Around the base, create three leg holes by removing three vertical cylinders, each 1...
d = 100; h = 100; t = 2; l = 10; o = true; $fn = 32; module mainpot() { union(){ difference(){ cylinder(h = h, d = d); translate([0,0,t]) cylinder(h = h, d = d-t*2); for (i=[0:120:360]) rotate([0,0,i]) translate([d/2-l/2-t,0,0]) cylinder(h = h/2, d = l); }; intersection(){ fo...
glb/cad_c49a3fded254.glb
Create a key knob by starting with a main cylindrical body that has a diameter of 40mm and a total height of 25mm. The top edge of this cylinder should be rounded with a radius of 2mm. Carve a rectangular slot through the center of the base to accommodate a key; this slot must be 26mm long, 3mm wide, and 22mm deep. T...
rips_deepth_factor=0.7; rips_diameter_factor=0.5; $fn=13; qo=0.001; knop_diameter=40; knop_lenght=25; knop_radius=2; rips_count=8; keyslot_deepth=22; keyslot_lenght=26; keyslot_width=3; module part1(a=1,b=2,c=3){ }; module mushroom(diameter_of_rip){ difference(){ union(){ translate([0,0,-q...
glb/cad_8e18e5b073e7.glb
Create a hamburger patty press consisting of two separate parts: a mould and a stamp. For the mould, create a cylinder with an outer diameter of 94mm, a total height of 23mm, and a flat base. Remove a central cylindrical core with a diameter of 90mm and a depth of 20mm, leaving a bottom thickness of 3mm and a wall thi...
$fn=89; quality_offset=1; patty_diameter=90; patty_camber_height=20; wall_thickness=2; handle_diameter=14; handle_space=1; handle_lenght=30; stamp_thickness=3; print_mould=true; print_stamp=true; module mould(pd=patty_diameter,wt=wall_thickness,ch=patty_camber_height,st=stamp_thickness,qo=quality_offset,hd=h...
glb/cad_c0d4f90a48d7.glb
Create a resource field box consisting of a main outer shell with four internal pockets. The outer shell is formed by the convex hull of two hexagonal prisms with a diameter of 95mm and a height of 1mm, positioned at the front and back, with the back prism rotated 55 degrees along the X-axis. The frame thickness of the...
hf_w=91; hf_t=1.45; hf_a=55; ft=2; pk1_fc=19; pk1_w=hf_t*pk1_fc/cos(90-hf_a); pk2_fc=15; pk2_w=hf_t*pk2_fc/cos(90-hf_a); pk3_fc=32; pk3_w=hf_t*pk3_fc/cos(90-hf_a); pk4_fc=10; pk4_w=hf_t*pk4_fc/cos(90-hf_a); difference(){ hull(){ translate([0,ft/2,0]) rotate([hf_a,0,0]) cylinder(h...
glb/cad_971410f8d634.glb
Create a resource field storage box with four slanted compartments. The overall outer shell is a hull formed by two rotated cylinders with a diameter of 95mm, tilted at a 55-degree angle, and a height of 1mm. The outer frame thickness is 2mm. Carve out the top half of the structure to create an open top. Inside the bo...
$fn=6; hf_w=91; hf_t=1.45; hf_a=55; ft=2; pk1_fc=19; pk1_w=hf_t*pk1_fc/cos(90-hf_a); pk2_fc=15; pk2_w=hf_t*pk2_fc/cos(90-hf_a); pk3_fc=32; pk3_w=hf_t*pk3_fc/cos(90-hf_a); pk4_fc=10; pk4_w=hf_t*pk4_fc/cos(90-hf_a); module pocket(start,end,hf_a,hf_w){ hull(){ translate([0,start,0]) rotate...
glb/cad_256b2aa316f3.glb
Create a coin model with an outer diameter of 28.55mm and a total thickness of 2.55mm. The coin consists of a raised outer border and a recessed center face. Construct the outer border by creating a ring with a width of 3.1mm that follows the outer perimeter of the coin. The center of the coin should be recessed by 0.5...
$fn=64; coin_thickness=2.55; outer_coin_diameter=28.55; border_width=3.1; deeping=0.5; hb_li=0; translate([0,0,coin_thickness/2]) rotate_extrude(convexity = 10) translate([(outer_coin_diameter-coin_thickness)/2-(border_width-coin_thickness) ,0,0]) hull(){ circle(d=coin_thi...
glb/cad_d99c491523b3.glb
Create a flat square key consisting of a base casing, a spacer, and a handle. Start by creating a cylindrical base casing with a diameter of 13mm and a height of 6mm. Centered within this base, remove a square hole with a width of 7.7mm and a depth of 6mm. On top of the base, add a cylindrical spacer with a diameter ...
$fn=36; $preview_offset=1; $cylinder_h=6; $cylinder_d=13; $nibble_h=6; $nibble_w=7; $nibble_w_tol=1.1; $knop_h=5; $knop_offset=15; $knop_sides=5; $gap_h=1; $gap_d=20; rotate([180,0,0]){ difference(){ color("green") cylinder(h = $cylinder_h, d = $cylinder_d, center = false); translate([-$nibble_w*...
glb/cad_b6756ea4be71.glb
Create a sphere with a diameter of 10mm. Remove a cylindrical hole from the center of the sphere with a diameter of 4.5mm and a height of 10mm. Position the cylinder so that its center is offset 2mm upward along the Z-axis relative to the center of the sphere, leaving the bottom portion of the sphere solid while the to...
$fn=90; difference(){ sphere(d=10); translate([0,0,2]) cylinder(h=10,d=4.5,center = true); }
glb/cad_cb450fe31c13.glb
Create a 2.5" HDD Rack Mount consisting of a base plate and a supporting frame. Start with a rectangular base plate measuring 43.5mm wide, 88mm deep, and 1.5mm thick, with rounded corners of 0.5mm radius. On top of this base, centered along the depth, add a rectangular green section that is 43.5mm wide and 70mm deep ...
$fn=32; frontplate_edgeradius = 0.5; frontplate_width_x = 43.5; frontplate_width_y = 88; frontplate_width_z = 1.5; frontplate_border = 9; hdd_distance=6; hdd_frame_x=2; hdd_frame_y=frontplate_width_y-2*frontplate_border; hdd_frame_z=20; hdd_body_x=5; hdd_body_x_with_gab=hdd_body_x+0.5; hdd_body_z=100; difference(){ ...
glb/cad_b06ec760d2ee.glb
Create an adapter board for a Raspberry Pi Zero to fit a full-size Pi board footprint. Start with a base plate 85mm wide, 56mm deep, and 2mm thick. Round the corners of the base plate with a radius of 3.5mm. On the base plate, place four mounting holes with a radius of 1.35mm. Position these holes at x-coordinates 3....
piboard_z = 2*1; piboard_x = 85*1; piboard_y = 56*1; pi_hole_r = 1.35; pos_piboard_holes_x = [3.5,3.5+58]; pos_piboard_holes_y = [3.5,3.5+49]; piboard_sockel_r = 2.5*1; piboard_sockel_z = 5; piboard_pin_z = 5; pos_piboard_pins_x = [10,10+58]; pos_piboard_pins_y = [3.5,3.5+23]; lanboard_x = 52.5; lanboard_y = ...
glb/cad_a983463b4619.glb
Create a Heroquest door container as a rectangular box with a total height of 22mm. The outer walls and the base should be 1.6mm thick. The interior is divided into a grid of six rectangular compartments arranged in 3 columns and 2 rows. Each compartment must be 31mm wide and 62mm long (calculated as 4 doors per slot...
$fn=34; quality_offset=1; door_x=31; door_y=15.5; count_lit_x=3; count_lit_y=2; count_door_per_lit=4; wall_inner=0.8; wall_outher=1.6; base=wall_outher; wall_height=22; lit_frame=5; function box_x(wo,clx,dx,wi,cdl) = 2*wo+clx*dx+(clx-1)*wi; function box_y(wo,cly,dy,wi,cdl) = 2*wo+cly*dy*cdl+(cly-1)*wi; function po...
glb/cad_12a4dcf48361.glb
Create a crown cork bottle cap magnet frame by starting with a cylinder that has a diameter of 18mm and a height of 10mm. The cylinder should be rendered with a low facet resolution of 24 sides. Centered within this cylinder, remove a rectangular block with dimensions of 4mm in width, 6mm in depth, and 11mm in height t...
$fn=24; difference(){ cylinder(h = 10, d = 18, center = true); cube([4,6,11], center = true); }
glb/cad_2ccf58df6462.glb
Create a universal box with a lid. The main body is a hollow rectangular prism with dimensions 50mm x 50mm x 35mm. The walls have a thickness of 2.4mm, and all vertical corners are rounded with a 5mm radius. Construct a lid with a height of 15mm that fits over the top of the box. The lid should follow the same 50mm x ...
velikost_x = 50; velikost_y = 50; velikost_z = 35; vicko_z = 15; material = 2.4; zaobleni = 5; mezera = 0.2; spona_x = 15; spona_y = 3; spona_z = 15; sroub_dira = 3.2; sroub_zavit = 2.8; sroub_delka = 12; materia...
glb/cad_7a5cc3ce8216.glb
Create a kitchen roll holder consisting of a linear sequence of circular rings attached to a base rail. The holder features four rings with outer diameters of 60mm, 60mm, 60mm, and 135mm respectively. Each ring is constructed by taking a square block and a cylinder of the same height (10mm), both with a diameter/width ...
$fn=89; quality_offset=1; pipe1=50; pipe2=50; pipe3=50; pipe4=125; pipe5=0; pipe6=0; frame=5; thickness=10; module ring(d){ if(d>0){ difference(){ union(){ cube([d+2*frame,d/2+frame,thickness]); translate([d/2+frame,d/2+frame,0]) cylinder(h=thickness,d=d...
glb/cad_b173b7848907.glb
Create a car cockpit coin compartment insert. Start with a main body formed by the convex hull of eight cylinders: four at the base with a radius of 5mm and height of 0.5mm (positioned at [0, 26, 0], [50, 26, 0], [0, -1, 0], and [46, -1, 0]), and four at the top with a radius of 6mm and height of 0.5mm (positioned at [...
$fn=36; module coin(d,h){ cube([d,h,d/2]); translate([d/2,h/2,0]) rotate([90,0,0]) cylinder(h=h,d=d,center=true); }; difference(){ hull(){ translate([0,26,0]) cylinder(h = 0.5, r = 5, center=false); translate([50,26,0]) cylinder(h = 0.5, r = 5, center=false); translate([0,-1,0]) ...
glb/cad_4800a3253bc6.glb
Create a customizable plant label consisting of a flat stake and raised text. Start by creating a main stake that is 140mm long, 5mm high, and 4mm thick. The stake should be centered on its X and Y axes, with a pointed tip at one end formed by a hull operation extending 10mm beyond the main length to a small 0.5mm poin...
Text = "Zwiebel"; Text2 = "cebola"; text_size = 9.5; text2_size = 7.0; text_thickness_text = 5.4; text_thickness_text2 = 2.0; text_font = "Liberation Sans:style=Bold"; text_y_offset_adjust_text = -2; text_x_offset_adjust_text = 0; text_y_offset_adjust_text2 = 9.1; text_x_offset_adjust_text2 = -2; stick_length = 140; s...
glb/cad_4c927fc45159.glb
Create a beercrate designed to hold a 4x3 grid of bottles. The crate has a total height of 50mm and an outer wall thickness of 3mm. Start by creating a rectangular frame with rounded corners. The rounded corners are formed by cylinders with a diameter of 27mm (outer wall plus bottle diameter). The overall footprint i...
$fn=55; quality_offset=1; bottle_diameter=21; bottle_height=50; bottle_count_x=4; bottle_count_y=3; outer_wall=3; inner_wall=1; module rounded_box(outer_wall,bottle_diameter,bottle_height,bottle_count_x,bottle_count_y){ translate([outer_wall + (bottle_diameter / 2),outer_wall + (bottle_diameter /2) ...
glb/cad_6b09d4fcea14.glb
Create a desk mount for a mug by constructing a circular ring and an attached clamping bracket. Start with a hollow cylinder that has an outer diameter of 134mm, an inner diameter of 122mm, and a height of 10mm. Attached to the side of this ring, create a rectangular clamping block that is 60mm wide, 50mm long, and 45m...
ring_innendurchmesser=122; ring_hoehe=10; ring_staerke=6; tischplattenstaerke=35; gab=1; klammerlaenge=50; klammerbreite=60; klammerstaerke=5; $fa=3; gab_klammer_ring=ring_innendurchmesser/2; difference(){ union(){ cylinder(h=ring_hoehe,d=ring_innendurchmesser+2*ring_staerke,center=false); tr...
glb/cad_adf0aeb3bb3d.glb
Create a miniature base by constructing a hull between two elliptical layers. The bottom layer is a flat ellipse centered at the origin with a length of 60mm and a width of 35mm. The top layer is a slightly smaller ellipse positioned at a height of 3.5mm. The sides should slope linearly from the bottom ellipse to the t...
l=60; w=35; h=3.5; base_angle=74; sh=20; fn=50; has_shadow=true; rim_inset=0.5; base_diam=30; x_scale=(l/base_diam); y_scale=(w/base_diam); x_scale_top=((base_diam*x_scale - (h/tan(base_angle))) / base_diam); y_scale_top=((base_diam*y_scale - (h/tan(base_angle))) / base_diam); x_scale_rim=((base_diam*x_scale_...
glb/cad_a0c506f5bba5.glb
Create a parametric hexagonal battery storage tray consisting of a grid of hexagonal cells. Each individual cell is a hexagonal prism with a height of 25mm. The outer diameter of each hexagon is 17.84mm (calculated as 15.5mm divided by the cosine of 30 degrees), and the inner hollow diameter is 14.34mm, creating a wall...
x_slots = 4; y_slots = 6; wall_height = 25; battery_dia = 15.5; print_width = 0.4; wall_count = 3; $fn = 6; wall_depth = (print_width + 0.01) * wall_count; hex_dia = (battery_dia + (2 * wall_depth)) / cos(30); inner_dia = hex_dia - ((2 * wall_depth) / cos(30)); x_outer_size = hex_dia * cos(30); y_outer_size = hex_d...
glb/cad_1ef1d2ff138f.glb
Create an adjustable table leg leveling foot consisting of two main coaxial components: a base foot and an upper insert. First, construct the base foot by creating a cylinder with a diameter of 51mm and a height of 5mm. On top of this, add a conical section that transitions from the 51mm base diameter to a 30mm diame...
od=51; id=48; $fn=200; translate([0,0,30])insert(); foot(); module foot(){ difference(){ union(){ cylinder(d=od,5); cylinder(d1=od,d2=30,12); } translate([0,0,6])cylinder(d=19.5,8,$fn=6); } } module insert(){ difference(){ union(){ cyli...
glb/cad_3dd0a731e1f4.glb
Create a TZ41 replacement grip handle. Start by forming a base block 107mm long, 26mm wide, and 8mm thick. Add a vertical border section 107mm long, 2mm wide, and 10mm high along one edge. At the end of the base, construct a handle grip by blending a cylinder of 25mm diameter at the bottom to a 30mm diameter cylinder 4...
main(); module main(){ difference(){ intersection(){ union(){ cube([107,26,3+5],center=false); cube([107,2,5+5],center=false); translate([92,26,0]) difference(){ hull(){ cy...
glb/cad_24a945f2828e.glb
Create an RPG Launcher model starting with a central vertical shaft. Begin with a base cylinder 16mm in diameter and 2mm high, topped by a 12mm diameter cylinder that extends 110mm upward. Above this, add a tapered section 20mm high that transitions from a 15mm diameter at the bottom to 12mm at the top. Continue the ve...
$fn=50; difference(){ union(){ difference(){ union(){ cylinder (d=16,h=2); cylinder (d=12,h=110); cylinder (d1=15,d2=12,h=20); translate ([0,0,50]) cylinder (d=13,h=20); translate ([0,0,110]) cylinder (d1=12,d2=8,h=10); translate ([0,0,120]) cylinder (d=8,h=50); translate ([0,0,80]) cylinder (d=14,h=3); translate ([...
glb/cad_fc6554e2a954.glb
Create an RPG Launcher model by stacking a series of concentric cylinders along a central vertical axis. Start with a base cylinder 5.6mm in diameter and 50mm high. On top of this, add a conical section 25mm high that transitions from a 7mm diameter at the bottom to 14mm at the top. Above this, place a short cylinder 1...
$fn=50; difference(){ union(){ cylinder (d=5.6,h=50); translate ([0,0,50]) cylinder (d1=7,d2=14,h=25); translate ([0,0,75]) cylinder (d=14,h=5); translate ([0,0,80]) cylinder (d1=12,d2=4,h=30); translate ([0,0,45]) cylinder (d1=12,d2=7,h=6); translate ([0,0,110]) cylinder (d=4,h=3); translate ([0,0,113]) cylinder (d...
glb/cad_02babac1a153.glb
Create a PSU 350W Cover by starting with a rectangular outer shell measuring 119mm wide, 54mm deep, and 76mm high. Hollow out the center to create an inner cavity of 115mm by 50mm by 74mm. On the front face, create three rectangular cutouts: a switch opening measuring 12.5mm by 10mm positioned at the left, a Euro sock...
$fn=50; difference(){ union(){ translate ([-2,-2,-3]) cube([119,54,76]); translate ([-3,32.5,-3]) cube([1,10,76]); translate ([-3,7.5,-3]) cube([1,10,76]); translate ([117,7.5,-3]) cube([1,10,76]); translate ([117,32.5,-3]) cube([1,10,76]); translate ([27.5,52,-3]) cube([10,1,76]); translate ([77.5,52,-3]) cube([10,1...
glb/cad_281c61a068f1.glb
Create a PSU spacer by constructing a solid cylinder with a radius of 10mm and a height of 3.2mm. Center a vertical cylindrical hole with a radius of 2mm through the middle of the object, extending from a height of -1mm to 5mm to ensure it passes completely through the main body.
$fn=50; difference(){ cylinder(r=10, h=3.2); translate([0,0,-1]) cylinder(r=2, h=5); }
glb/cad_480b84c48a3f.glb
Create a PSU 350 W Cover by starting with a main outer rectangular shell measuring 119mm wide, 54mm deep, and 76mm high. Hollow out the center to create a walls-and-cavity structure by removing an inner block of 115mm by 50mm by 74mm. Add four vertical ridges, each 1mm wide and 10mm deep, at the corners of the shell to...
$fn=50; difference(){ union(){ translate ([-2,-2,-3]) cube([119,54,76]); translate ([-3,32.5,-3]) cube([1,10,76]); translate ([-3,7.5,-3]) cube([1,10,76]); translate ([117,7.5,-3]) cube([1,10,76]); translate ([117,32.5,-3]) cube([1,10,76]); translate ([27.5,52,-3]) cube([10,1,76]); translate ([77.5,52,-3]) cube([10,1...
glb/cad_823891ef628a.glb
Create an RC engine starter adapter. Start by constructing a main cylindrical body with a total height of 30mm and a diameter of 46mm. This body should be hollowed out by removing a central cylinder with a diameter of 36mm and a height of 30mm to accommodate a rubber insert. Additionally, remove a central hexagonal cav...
union(){ difference(){ union(){ translate([0,0,23.75]) cylinder(2.5,d1=46,d2=41,center=true,$fn=99); translate([0,0,7.5]) cylinder(30,d=46,center=true,$fn=99); translate([0,0,-8.75]) cylinder(2.5,d2=46,d1=41,center=true,$fn=99); } rubber(); receptacle(...
glb/cad_497d16e8293a.glb
Create an office chair roller fender designed as a protective cap. Start by constructing a main cylindrical body with a diameter of 45mm and a height of 52mm. Hollow out the center by removing a smaller concentric cylinder with a diameter of 35mm and a height of 55mm, leaving a wall thickness of 5mm. At the top surfa...
$fn=99; union(){ hood(); translate([21.5,52/2+5,30])scale([1,1,2])rotate([90,0,0])cylinder(10,d1=15,d2=5,center=true); translate([21.5,-(52/2+5),30])scale([1,1,2])rotate([90,0,0])cylinder(10,d1=5,d2=15,center=true); } module paw(){ translate([-9,0.5,0])rotate([0,0,10])scale([1,1.6,1])cylinder(2,d=6,ce...
glb/cad_57db68d7f843.glb
Create a base plate for an RS232 Sniffer with a thickness of 3.2mm. The main body is formed by the hull of two centered boxes: one measuring 33mm by 125mm and another measuring 18mm by 70mm, both with a height of 3.2mm. From this base, remove four identical sets of mounting holes and solder pits. Each set consists of...
$fn = 40; screwDia = 1.9; screwDepth = 3.0; thicknessBase = 3.2; solderDepth = 2.5; module serialScrew() { screwSpacing = 28; translate([+screwSpacing/2, 0,thicknessBase/2-screwDepth/2+0.1]) cylinder(d=screwDia, h=screwDepth, center=true); translate([-screwSpacing/2, 0,thicknessBase/2-screwDepth/2...
glb/cad_60a3635cfb1f.glb
Create a solder spool holder designed for a 2020 aluminum extrusion. Start with a mounting base that is 47mm wide, 5mm thick, and 20mm high. This base should be a rectangular block with a 0.6mm chamfer on the vertical edges. Drill a 5.5mm diameter hole through the center of the 5mm thickness to accommodate an M5 bolt, ...
include <Chamfer.scad> $fn = 100; EXTRUSION_HEIGHT = 20; BOLT_DIA = 5.5; BOLT_COUNTER = 10; spoolWidth = 35; holderWidth = spoolWidth + 12; mountWidth = spoolWidth + 12; mountThickness = 5; countersinkDepth = 4; armLength = 30; module extrusionMount(){ difference(){ translate([-mountWidth / 2, 0, 0]) ...
glb/cad_bc42724e3edd.glb
Create four identical bolts. Each bolt consists of a cylindrical shaft with a diameter of 3.5mm and a length of 50mm. At the top of each shaft, add a cylindrical bolt head with a diameter of 6mm and a height of 10mm. Position the four bolts in a square arrangement. Two bolts should be placed at coordinates (-10, -10,...
$fn= $preview ? 16:64; bolt=3.5; boltHead=6; inf=50; for(x=[-10,10], y=[-10,10]) t([x,y,0]) r(90) bolt(bolt=bolt, boltL=inf,boltHead=boltHead, boltHeadL=inf,boltPad=4,nut=0); module bolt(bolt=3, boltHead=6, boltPad=3, boltHeadL=10, boltL=30, nut=6.3, nutPad=5, nutL=4, nutR=0, sideCutL=20, sideCutSlot=4, layer1=0, l...
glb/cad_e03f7761a1fb.glb
Create a Skeleton extruder mount for an i3-style 3D printer. Construct a main body block with a length of 75mm. Integrate a mounting section for an MGN12H linear rail, consisting of a rectangular base measuring 46mm by 14mm by 28mm. Within this base, place four mounting holes positioned at coordinates [±20, ±20] rela...
$fn=$preview? 16 : 32; beltPitch=60+5; length=75; motorShift=[0,0,0]; bodyShift=[0,0,0]; bolt=3.5; nut=5.5/cos(30)+0.2; cableHoleH=-1.5; cableHoleD=3; MNG12H_bolts=[20,20]; MNG12H=[45+1,13,27+1]; MNG12HShift=[0,0,-4]; ALU=20; wall=3; BMGwall=3; railWall=8; extraWidthRail=4; gap=1; r=2; f1=2; f2=1; not=0.001; i...
glb/cad_772886cdfc6b.glb
Create a Skeleton extruder mount consisting of a flat base plate and a raised rectangular block. Start by creating a base plate that is 55mm long, 53mm wide, and 2mm thick. This base has a rounded, roughly triangular footprint, tapering from a wider section to a narrower point. On top of this base, center a rounded re...
$fn= $preview ? 16:64; simpleFix=true; block=[40+3,14,7]; desk=[block.x+15,53,2]; boltShift=[0,0,0.75]; fanShift=[7+4.5-1,-41.5,0]; boltL=10; f=1; f2=15; f3=30; f4=5; not=0.001; inf=100; *t([-20,0,0]) cylinderRounded(d=[3.5,6],h=4); d(){ u(){ t([7-boltL,6,0]) cubeRounded(block+[boltL-7,0,0], center=[0,2,0],...
glb/cad_1b5b63b8cfa2.glb
Create a Parametric Wall Duct consisting of a square base and a concentric cylindrical collar. Start by creating a square base plate with a thickness of 5mm and total side lengths of 144mm. In each of the four corners of this base, add a 3mm diameter hole positioned 5mm from each adjacent edge. Centrally on this base,...
baseThickness = 5; baseOuterFrame = 10; cylinderOuterDiameter = 124; cylinderHeight = 50; cylinderThickness = 5; makeHoles = true; holeOffset = 5; holeDiameter = 3; $fn = 200; difference(){ translate([baseOuterFrame + cylinderOuterDiameter / 2, baseOuterFrame + cylinderOuterDiameter / 2, baseThickness]) cyli...
glb/cad_1da488de7d6d.glb
Create a light diffuser for a G14 decorative lamp by constructing a hollow cylinder with a total height of 85.4mm, an outer diameter of 15.5mm, and an inner diameter of 11.9mm. The cylinder should be open at the bottom. To finish the top, create a diagonal planar cut that starts at a height of 66mm on one side and slop...
total_height = 85.4; smaller_side_height = 66; ext_diam = 15.5; int_diam = 11.9; $fa = 5; difference () { difference() { cylinder(h = total_height, d = ext_diam); translate([0, 0, -1]) cylinder(h = total_height + 2, d = int_diam); } diagonal = sqrt(pow(total_height - smaller_side_height, 2) + ...
glb/cad_25d58117ff7c.glb
Create a dust port for a mitre saw consisting of a flat base plate and a vertical cylindrical sleeve. Start by creating a base plate 65mm wide and 3mm thick. The plate should have rounded corners with a radius of 10mm. Position three circular holes with a diameter of 4.5mm for screws: two holes should be placed along t...
$fn=360; baseheight=3; baserad=10; toprad=5; high=74; topwide=75.5; basewide=65; topstep=19; holerad=4.5/2; holeinset=9; hoserad=50/2; hoselen=35; wall=2; difference (){ union(){ hull(){ cylinder(h=baseheight,r=baserad); translate([basewide-baserad*2,0,0]){ cyli...
glb/cad_21c9415bfecb.glb
Create a dust port adapter consisting of three stacked sections. Start with a base cylinder 20mm high with an outer radius of 19.75mm and an inner hole of 15.75mm. Cut a rectangular notch into the side of this base cylinder that is 10mm wide, 8mm high, and 5mm deep, centered on the Y-axis. Above this base, add a transi...
$fn=360; wall=2; smallwall=2.5; smallrad=39.5/2; smalllen=20; transitionlen=25; largerad=50/2; largelen=30; keybase=8; keydepth=5; keytop=10; difference() { difference() { cylinder(h=smalllen,r=smallrad); translate([0,0,9.5]){ difference() { cylinder(h=4,r=smallrad+1);...
glb/cad_7ee403bc952b.glb
Create a hand pump dispenser limiter collar. Start by creating a hollow cylinder with an outer diameter of 10.7mm, an inner diameter of 8.3mm, and a height of 3mm. To allow the collar to snap onto a bottle neck, remove a vertical section of the wall to create a C-shaped opening. Finally, add two small cylindrical tabs ...
NECK_DIAMETER = 8.3; HEIGHT = 3; WALL_THICKNESS = 1.2; $fn = 64; limiter(NECK_DIAMETER, HEIGHT, wall_thickness=WALL_THICKNESS); module limiter(diameter, height, wall_thickness=1.2) { difference() { cylinder(d=diameter+wall_thickness*2, h=height); cylinder(d=diameter, h=height*4, center=true); ...
glb/cad_db22cd38a774.glb
Create a rod clip designed to hold an 8mm rod. Start by constructing a main cylindrical body with a diameter of 14mm and a height of 15mm. Inside this cylinder, create a concentric circular hole with a diameter of 7.8mm that runs through the entire length. To form the clip mechanism, create a rectangular slot that cu...
$fn=99; difference(){ union(){ difference(){ union(){ translate([0,0,0]) cylinder(15,d=14); translate([0,0,-1]) cylinder(17,d=11); translate([1,3.5,1]) cube([21,3.5,6.25]); rotate([0,0,45]) translate([-7,-22,7.75]) cube([3.5,21,6.25]); } translate([0,0,-1.5]) cylinde...
glb/cad_cb684de7be4e.glb
Create a ceiling hook for a FunCubXL. Start by constructing a base plate that is 122mm long, 15mm wide, and 5mm thick. The base should have rounded ends with a radius of 7.5mm. Drill two holes through the base, each 5.5mm in diameter, positioned at the center of each rounded end. In the center of the base, create a rai...
union(){ difference(){ hull(){ translate([122/2,0,0])cylinder(5,d=15,center=true,$fn=99); translate([-122/2,0,0])cylinder(5,d=15,center=true,$fn=99); } translate([122/2,0,0])cylinder(20,d=5.5,center=true,$fn=99); translate([-122/2,0,0])cylinder(20,d=5.5,center=true,$fn=99); } differe...
glb/cad_574597dc6d4e.glb
Create an RC model aircraft brake shoe by starting with a central rectangular block measuring 150mm in length, 50mm in width, and 40mm in height. From this main body, remove a large cylindrical section with a diameter of 100mm to create a curved trough running through the center. To further refine the shape, remove two...
difference(){ translate([0,0,20]) cube([150,50,40],center=true); translate([0,0,52]) rotate([90,0,0]) cylinder(40,d=100,center=true,$fn=99); translate([70,0,52]) rotate([0,60,0]) cube([100,100,40],center=true); translate([-70,0,52]) rotate([0,-60,0]) cube([100,100,40],center=true); }
glb/cad_086143e3f037.glb
Create a protective frame for an STK500 programmer board. Start with a solid rectangular base measuring 125mm by 185mm with a height of 12mm. Hollow out the center to create a tray, leaving a wall thickness of 2mm on the sides; the interior cavity should be 121mm by 181mm with a depth of 7mm. On the underside of the ba...
union(){ difference(){ translate([0,0,-1]) cube([125,185,12],center=true); translate([0,0,4]) cube([121,181,7],center=true); cube([118,178,10],center=true); translate([0,90,5]) cube([110,10,5],center=true); translate([50,80,-7]) cylinder(2,d=13,center=true,$fn=50); translate([50,-80,-7]) cylinde...
glb/cad_d39db2e0935b.glb
Create a coffee scoop consisting of a hemispherical bowl and an attached handle. Start by creating a hollow sphere with an outer diameter of 38mm and an inner diameter of 35mm. Cut away the top half of this sphere to create an open bowl. Attach a handle to the side of the bowl by creating a solid cylinder with a diamet...
union(){ difference(){ translate([0,0,0])cylinder(10,d=38,$fn=100); translate([0,0,-0.01])cylinder(15.02,d=35,$fn=100); } difference(){ sphere(d=38,$fn=100); sphere(d=35,$fn=100); translate([0,0,20])cube([40,40,40],center=true); } } difference(){ translate([60...
glb/cad_c2fe5e730409.glb
Create a first aid box wall mount by starting with a solid rectangular block measuring 176mm wide, 86mm deep, and 80mm high, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 170mm by 80mm by 80mm, shifted 2mm upward along the Z-axis. Create a large opening on the f...
difference(){ translate([0,0,0]) cube([176,86,80],center=true); translate([0,0,2]) cube([170,80,80],center=true); translate([0,-5,60]) cube([150,80,80],center=true); translate([50,0,25]) rotate([90,0,0]) cylinder(100,d=5,center=true); translate([-50,0,25]) rotate([90,0,0]) cylinder(100,d=5,center=tr...
glb/cad_ad8c23843c20.glb
Create two identical EV charger mounting clamps, mirrored across the X-axis and spaced 60mm apart. For each clamp, start with a base consisting of a cylinder with a 42mm diameter and 4mm thickness, centered on the XY plane. Attach a rectangular block measuring 42mm wide, 42mm deep, and 4mm thick to the back of the cyli...
hook2(); translate([60,0,0])mirror([1,0,0])hook2(); module hook2(){ difference(){ union(){ cylinder(4,d=22+20,center=true,$fn=100); translate([0,21,0])cube([42,42,4],center=true); translate([0,40,11.5])cube([42,5,27],center=true); difference(){ union(){ t...
glb/cad_f116123c6b15.glb
Create a 9V battery shaped battery clip holder. Start with a rectangular block measuring 16.92mm wide, 25.76mm deep, and 45.09mm tall, with corners rounded to a 1mm radius. Hollow out the center of the block to create a shell with a wall thickness of 0.8mm. At the top of the block, create two circular prong openings ...
nozzleD = 0.4; th = nozzleD * 2; fn = pow(2,3); xn = pow(2,6); corner = 1; nv = [16.92,25.76,45.09]; plug = [14.5,3,7.44,2.5]; leads = [3]; rotate([-90,0,0]) nine_volt(); module nine_volt() { difference() { nine_volt_solid(); translate([0,nv[1]/2-th,0]) ...
glb/cad_73db1d987d54.glb
Create a customizable trophy plate by starting with a rectangular base measuring 120mm in length, 50mm in width, and 3mm in thickness. The base should have rounded corners with a radius of 4mm. Hollow out the center of this plate to create a thin-walled rim, leaving a recessed inner area that is 117mm by 47mm and 1.6mm...
Text1 = "Hallo"; Text1size = 11; Text1Ypos = 5; Text1font = "Lucida Calligraphy"; Text2 = "Welcome"; Text2size = 11; Text2Ypos = -12; Text2font = "Lucida Calligraphy"; plen=120; pwidth=50; pthickness=3; cornerRad=4; $fn=100; module mkcircle(thickness) { linear_extrude(thickness) circle(r=cornerRad); } module...
glb/cad_0780258131bd.glb
Create an MGN endstop by starting with a rounded rectangular block that is 8mm long, 20mm wide, and 8mm high. Apply a corner radius of 1mm to all vertical edges. Center a vertical cylindrical hole through the top face to accommodate a bolt. The hole should have a diameter of 3.5mm and extend to a depth of 5mm. Around...
$fn= $preview ? 16:64; length=8; ALU=20; ALUdepth=6-1; MGN=8; boltL=8; bolt=3+.5; boltHead=5.4+.6; f=1; d(){ cubeRounded([length,ALU,MGN], center=[1,1,0], r=[f,f,f]); #bolt(bolt=bolt, boltL=boltL, boltHead=boltHead, boltPad=boltL-ALUdepth,nut=0); } module bolt(bolt=3, boltHead=6, boltPad=3, boltHeadL=10, boltL=...
glb/cad_03a0d0ef50be.glb
Create an MGN endstop designed for a 20mm profile. Start by creating a main block that is 12mm long. The profile of this block is based on a 20mm x 20mm square with a wall thickness of 1.74mm and a depth of 3.2mm. The outer corners should have a radius of 0.7mm. In the center of the top face, create a rectangular cuto...
$fn=64; h=12; sideCut=2; nut=[6.2,0,3+2]; nutShift=-1; bolt=3+.3; prof=20; gap = 5.2; wall = 1.74; depth = 3.2; width1 = 4.6; width2 = 10; r1 = .7; r2 = .7; not = 0.01; inf=100; difference(){ tr([h/2,0,wall/2],[0,-90,0]) linear_extrude(height=h-sideCut){ block(); } r(0) union(){ t([0,0,-nut.z+nutS...
glb/cad_0680aae61fa9.glb
Create a customizable keychain consisting of a rectangular base and an attached ring. The base is a rounded cube with dimensions of 130mm in length, 15mm in width, and 15mm in height, featuring a corner radius of 0.2mm. At one end of the base, centered on the X-axis, add a ring created by a hollow cylinder with an ou...
side_one="John Smith"; side_two="2341 Main Street"; side_three="john.smith@gmail.com"; side_four="(303) 121 1234"; keychain_length=130; side=15; text_depth=1; font_type="Lato:style=Italic"; module text_collection() { translate([0,0,(side - text_depth)/2]) linear_extrude(height=0.5) text(side_one, font=fo...
glb/cad_df751ea30769.glb
Create a housing for an LED matrix display. The main body is a rectangular enclosure with a total width of 153mm, depth of 76.5mm, and height of 85mm. The walls are 2.5mm thick. Construct the front and back panels as mirrored bezels. The front panel should feature the text "matrix display" embossed on the lower sectio...
buttons = true; photosensor = true; barrelplug = true; dht22 = true; vents = true; string = "matrix display"; $fn=100; y=76.5; x=153; clearx = 6; cleary = 6; d=85; rot=21; wall=2.5; factor=64/76.5; difference(){ union(){ translate([0,0,d/2+25])front(); translate([0,0,-d/2-5])back(); trans...
glb/cad_4b3088616169.glb
Create an Ice Cream Sandwich Maker jig. Start by creating a hollow square frame with an overall height of 25mm. The interior cavity should be 57mm by 57mm with rounded inside corners of 1mm radius. The walls of the frame should be 6mm thick. To allow for easy removal of the sandwich, create grab slots on all four side...
h = 25; cookie_x = 57; cookie_y = 57; cookie_r = 1; wall_thickness = 6; grab_h = h-10; grab_inset = 4; outside_chamfer = 0.5; inside_chamfer = 1; nudge = 0.01; difference() { outside(); inside(); } module outside() { $fn=48; outside_x = cookie_x + (wall_thickness*2); outside_y = cookie_y ...
glb/cad_f7dbea15ac67.glb
Create a rectangular base for an IKEA Rallen Qi charger with overall dimensions of 76mm width, 150mm length, and 17mm height. The main body should have rounded corners with a 10mm radius and chamfers of 0.5mm on both the top and bottom edges. Carve a circular cavity into the center to hold the charger. This cavity con...
nudge = 0.001; x = 76; y = 150; z = 17; body_corner_radius = 10; body_bottom_chamfer = 0.5; body_top_chamfer = 0.5; body_corner_fn = 60; rallen_y_offset = 0; rallen_top_d = 71; rallen_top_h = 2.5; rallen_top_chamfer = 0.25; rallen_center_d = 64; rallen_fn = 90; foot_inset = body_corner_radius; foot_dia = 8; foot_...
glb/cad_1bf5ca686bb5.glb
Create a Couch Beer Holder consisting of a central cylindrical sleeve with radiating support legs. Start by creating a central cylinder with a diameter of 74mm and a height of 70mm. This cylinder should have a slight bottom chamfer of 0.5mm and a slight top chamfer of 1mm. Hollow out the center of this cylinder by re...
center_fn = 180; leg_fn = 60; nudge = 0.01; can_cutout_bottom_thickness = 2; can_cutout_dia = 68; can_cutout_bottom_chamfer = 3; can_cutout_top_chamfer = -1; bottom_hole_enable = 1; bottom_hole_dia = 36; bottom_hole_bottom_chamfer = -0.5; bottom_hole_top_chamfer = -0.5; center_wall_thickness = 3; center_dia = can_...
glb/cad_cb787bfa492d.glb
Create a magnetic puzzle box consisting of a base and a cover that fit together using a dovetail joint. The overall body dimensions are 48mm in width, 76mm in length, and 25mm in height, with rounded corners of 8mm radius and a 1mm chamfer. For the base, create the main body and subtract a central capsule-shaped cutou...
color("pink") cover(); $fn=120; nudge = 0.01; dove_gap = 0.4; magnet_hole_dia = 10; body_radius = 8; body_chamfer = 1; body_x = 48; body_y = 76; body_z = 25; module base() { difference() { intersection() { dove_base(); body(); } base_bison_cutout(); base_...
glb/cad_ad585cddd363.glb
Create a two-piece Minecraft creeper figure consisting of a head and a body. For the head, create an 8x8x8mm cube. On the front face, carve out a face pattern: two 2x2mm square eyes positioned at x=1-3mm and x=5-7mm (both from y=4-6mm), and a mouth/nose shape consisting of a central 1x3mm rectangle from y=0.5-3.5mm, ex...
creeper_body(); translate([-4,4,18]) rotate([90,0,0]) creeper_head(); module creeper_face() { bo = 0.5; difference() { square([8,8]); translate([0,0.25]) polygon([[1,4],[1,6],[3,6],[3,4]]); translate([0,0.25]) polygon([[5,4],[5,6],[7,6],[7,4]]); polygon([[2,bo],[2,3],[3,3]...
glb/cad_e61fb8ef6c47.glb
Create a spiral vase soda can cooler with a total height of 118mm. The main body is a cylinder with an outer diameter of 78.64mm. The bottom 4mm of the body is a truncated cone that tapers inward from the outer diameter to a diameter of 70.64mm. The top 4mm of the body is a truncated cone that tapers inward from the ou...
can_dia = 2.6*25.4; outer_dia = can_dia + 12; can_bottom_chamfer = 4; can_top_chamfer = (outer_dia-can_dia)/2 - 2; $fn=32; cutout_fn = 16; total_height = 118; base_height = 15; total_twist = 180; segs = 12; seg_width = 1; line_width = 0.5; difference() { body(); cancooler_cutouts(); } module body() { di...
glb/cad_db228d8a6398.glb
Create a SKÅDIS Box organizer with a width of 120mm, depth of 60mm, and height of 80mm. The main body is a rectangular container with an outer wall thickness of 3mm and a bottom thickness of 2mm. All outer vertical corners must have a radius of 4mm, and the top outer edges should be shaved by 1mm to remove sharpness. ...
$fn= $preview ? 32 : 128; width = 120; depth = 60; height = 80; outer_wall_thickness = 3; inner_wall_thickness = 1; bottom_thickness = 2; corner_outer_radius = 4; corner_inner_radius = -1; shave_edge = 1; compartments = one_compartment(); compartment_corner_radius = 2; compartment_height = 80; calculate_si...
glb/cad_10a334704292.glb
Create a Bench Dog tool consisting of a cylindrical peg and a complex base. Start by creating a main vertical cylinder with a diameter of 19.9mm and a height of 17mm. At the top of this cylinder, add a rounded cap with a thickness of 3mm. Integrate a ring detail just below the cap by creating a concentric circular extr...
$fn = $preview ? 15 : 90; pegD = 19.9; pegH = 17; pegT = 3; type = "multi"; size = 30; height = 10; hole = true; holeD = 8; difference() { union() { _peg(); if (type == "multi") { _multi(); } if (type == "round") { _round(); } if (type == "...
glb/cad_b884d25c40cb.glb
Create a charger stand for a Cycliq Fly6 CE Gen3 by constructing a hollow rectangular box with a base. Start with a solid block 38mm wide, 33mm deep, and 35mm high. Add a flared base by creating a hull between a 48mm by 43mm rectangle at the bottom and a 38mm by 33mm rectangle 7mm above it. Hollow out the center of t...
difference() { translate([-38/2,0,0]) union() { cube([38,33,35]); hull() { translate([-5,-5,0]) cube([48,43,1]); cube([38,33,7]); } } translate([-0.5,-0.01,0]) cube([1,10,.3]); translate([0,2,1]) hull() { translate([(-27.5)/2,26,2]) cube([27.5,3,34]); translate([(-34)/2,15.5,0...
glb/cad_1ac65272e30b.glb
Create a desk holder for a Cycliq Fly6 CE by constructing a base and a central housing. Start with a rectangular base plate measuring 69mm by 69mm with a thickness of 4mm. Atop this base, center a rectangular block measuring 39mm wide, 37mm deep, and 40mm high. From the top of this block, remove a central rectangular v...
difference() { union() { translate([-1,-1,-1]) cube([37+2,35+2,40]); hull() { translate([-16,-16,-1]) cube([37+32,35+2+32,4]); translate([-1,-1,-1]) cube([37+2,35+2,20]); } } hull() { translate([0,16,0]) cube([37,8,40]); translate([3.5,0,0]) cube([30,20,40]); translate([3.5,21,...
glb/cad_707bd59e1340.glb
Create a Prism Holder for Spectrometer Table by constructing a low-resolution cylindrical base. Start with a thick outer ring created by extruding a circle with a diameter of 12mm to a height of 2mm. From the center of this ring, remove a cylindrical core with a diameter of 10mm and a height of 2mm, leaving a thin oute...
L=5; D=10; R=L/sqrt(3); module regular_polygon(order = 3, r=R){ angles=[ for (i = [0:order-1]) i*(360/order) ]; coords=[ for (th=angles) [r*cos(th), r*sin(th)] ]; polygon(coords); } union(){ difference(){ linear_extrude(2) circle(d=D+2); linear_extrude(2) circle(d=D);} d...
glb/cad_8af9e3f90048.glb
Create a stackable storage box and lid set. For the box, create a rectangular prism measuring 60mm in width, 50mm in depth, and 45mm in height. Hollow out the center by removing a smaller rectangular prism of 58mm by 48mm by 43mm, leaving a wall thickness of 1mm on the sides and a base thickness of 2mm. On the front ex...
Text="Box"; echo(version=version()); xsize=60; ysize=50; zsize=45; module letter(l) { linear_extrude(height = 1) { text(l, halign="center",valign="center"); } } module BOX(input){ difference(){ difference() {cube([xsize, ysize, zsize]); translate([1, 1, 2]) cube([xsize-2, ysi...
glb/cad_8211fe384b9e.glb
Create a small-battery case consisting of two separate parts: a battery rack and an outer sheath. For the rack, create a row of 10 cylindrical cells designed for batteries with a diameter of 6.8mm and a height of 2.6mm. The rack is a rectangular block measuring 31.4mm in length, 8.8mm in width, and 3.4mm in height. T...
diam = 6.8; hite = 2.6; cols = 1; rows = 10; wall = 1; clir = 0.2; thik = 2; long = 2*thik+rows*(hite+wall+clir)-wall; wide = 2*clir+cols*(2*thik+diam); tall = diam+2*clir; translate([0,-(tall+wall),0]){ difference(){ cube([wide+2*(wall+clir),tall+2*(wall+clir),long+wall]); translate([wall+clir,wall+clir,w...
glb/cad_e25d1ee501da.glb
Create a Pool Skimmer Door Flap by mirroring two identical halves across a central axis. For one half, start with a rectangular block 70.5mm wide, 110mm long, and 19mm high. Hollow out the center of this block by removing a smaller rectangular volume of 68.5mm by 108mm by 17mm, leaving a thin outer shell. On the inne...
module halfPart() { difference() { difference() { difference() { cube([70.5, 110, 19]); translate([0, 2, 2]) { cube([68.5, 108, 17]); } } hull() { ...
glb/cad_57732758be50.glb
Create a Pool Intake Cover consisting of a circular base and a series of radial ribs and holes. Start with a main circular disk 196.85 mm in diameter and 3.175 mm thick. Around the perimeter, create a raised circular rim by adding a ring that extends from a radius of 84.125 mm to 98.425 mm, with a cross-section consist...
difference() { union() { cylinder(d=7.75*25.4, h=.125*25.4, $fn=360); rotate_extrude($fn=360) translate([(3+1/32)*25.4,0]) { translate([1/16*25.4,5/16*25.4]) circle(d=1/8*25.4, $fn=45); square([1/8*25.4, 5/16*25.4]); } trans...
glb/cad_cfb20a7c5471.glb
Create a Nespresso Vertuo Capsule Honeycomb Rack consisting of a grid of hexagonal cells. The overall layout should be 3 cells wide by 5 cells high, arranged in a staggered honeycomb pattern. Each individual cell is a hexagonal prism with an outer inradius of 33mm and an inner inradius of 29mm, creating a wall thickne...
x = 3; y = 5; shape = "hexagon"; di = 58; pod_well = 2.0; blg_well = 1.5; blg_dia = 48.5; mag_well = 0; mag_dia = 0; mag_on_back = true; lip_length = 2; lip_depth = 0.5; lip_angle_offset = 1; cell_wall = 3; mag_wall = 0.6; abit = 0.001; alot = 150; $fn = 200; Di = di * (2/sqrt(3)); do = di + (2*cell_wall); Do...
glb/cad_9126e9205ffd.glb
Create an On Mars Alien Invasion organizer tray by starting with a rounded rectangular base measuring 222mm in length, 53mm in width, and 12mm in height, with corner radii of 3mm. Inside this base, carve out a large rectangular compartment measuring 151mm by 47mm with a depth of 40mm, positioned 52mm from the left edge...
$fn=100; difference(){ roundedCube(222,53,12); translate([-5,0,0]){ translate([52,3,8]) roundedCube(151,47,40); translate([52,26.5,25]) sphere(d=40); translate([72,15.5,11]) minkowski(){ cube([111,22,23]); sphere(r=10); } } translate([25,8,1]) rotate([0,0,0]) cylinder(h=75, d=15.5, center=false); translate([25,...
glb/cad_c91f46fa8cbf.glb
Create an organizer tray for the On Mars Alien Invasion board game by starting with a rounded rectangular block measuring 130mm in length, 101mm in width, and 17mm in height, with corner radii of 3mm. Carve out several storage compartments from this block. First, create two identical hexagonal-shaped wells, each 42mm...
$fn=100; difference(){ roundedCube(130,101,17); translate([0,3.5,0]){ translate([20,24,2]) rotate([0,0,30]) phex(42,0.5,30); translate([0,24,-1]) rotate([0,0,0]) cylinder(h=400, d=20, center=false); translate([20,70,2]) rotate([0,0,30]) phex(42,0.5,30); translate([0,70,-1]) rotate([0,0,0]) cylinder(h=400, d=20, ...
glb/cad_a2cc938823a1.glb
Create a game organizer insert by starting with a rectangular block measuring 222mm in length, 101mm in width, and 16mm in height. Apply a 3mm fillet to all outer edges and corners to round the exterior. Within this block, carve out three identical rectangular card rows. Each row must measure 70mm in length, 95mm in wi...
$fn=100; difference(){ roundedCube(222,101,16); translate([3,3,1]) for (i = [0:2]){ translate([i*73,0,0]) cube([70,95,40]); translate([i*73+35,-1.5,-2]) cylinder(h=400, r=20, center=false); } } module roundedCube(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_f67b4a4d09f2.glb