Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Temp Customizer spinning top. The object consists of five identical arms radiating from a central hub. Start with a central octagonal hole 8mm in diameter that passes vertically through the entire model. Around this center, create five arms spaced evenly every 72 degrees. Each arm is based on a circular lobe ...
use <utils/build_plate.scad> testFit = 0; build_plate_selector = 2; coin_type = 19.05; coin_size = 0; $fn=100; numberOfArms = 5; angleOfArms = 360/numberOfArms; howManyCoinsHigh = 2; coinThickness = 1.52; coinDiameter = coin_type+0.3; cylRadius = coinDiameter/2+2; spokeHoles = 0; pencilDiameter = 8; helperDisk...
glb/cad_8ec64ae058be.glb
Create a Kossel effector fan mount by starting with a base rectangular plate 20mm long, 7mm wide, and 2mm thick. At the front end of this plate, center a circular hole with a radius of 1.6mm. At the rear end, add a thicker block that is 10mm long, 13.5mm wide, and 7mm high. This block should be centered along the width...
th=2; wd=13.5; $fn=30; union () { difference() { cube([20,7,th]); translate([3.5,3.5,th/2]) cylinder(r=1.6,h=th,center=true); } difference() { translate([16.75,-3.25,0]) cube([3.25,3.25,th]); translate([16.75,-3.25,th/2]) cylinder(r=3.25,h=th,center=true); } difference() { translate([16.75,7,0]) cube([3.2...
glb/cad_71b9f7af2663.glb
Create a Fridge Door Shelf Clip with a total thickness of 12.7mm. The main body is a C-shaped bracket formed by a central block measuring 55mm wide by 64mm deep, with a rectangular section measuring 48mm wide by 53mm deep removed from the center to create the open slot. Extend the back of the bracket with an additional...
part_thickness = 12.7; clip_angle = 35; module m5_hex_nut () { difference() { scale([8,9.2,4]) { cube(1, true); } for (i = [0:5]) { rotate(60 * i) { translate([5,0,0]) { scale([2,10,4]) { cube(1,true); } } } } } } module m5_bolt_hole (length) { cylinder(length, 2.55, 2.55); } ...
glb/cad_681b37915532.glb
Create a 3D model of an M5 hex nut. Start by constructing a hexagonal prism with a total height of 4mm. The outer dimensions of the hexagon should be 8mm wide across the flats and 9.2mm wide across the corners. Centered through the vertical axis of the prism, remove a cylindrical hole with a diameter of 5mm and a heigh...
module m5_hex_nut () { difference() { scale([8,9.2,4]) { cube(1, true); } for (i = [0:5]) { rotate(60 * i) { translate([5,0,0]) { scale([2,10,4]) { cube(1,true); } } } } translate([0,0,-2]){ cylinder (4, 2.5, 2.5); } } } m5_hex_nut();
glb/cad_5941b24f8d03.glb
Create a Z Probe for a Rostock Max printer consisting of two main components. First, create a red clip-like bracket with a height of 10mm. The profile of this bracket is a complex polygon with vertices at [-36.2, 1], [-36.2, -3.2], [0, -25], [53.4, -5.2], [53.4, 7.75], [51, 7], [48, 6], [51, 3], [51, -3], [50, -4], [46...
color("red") linear_extrude (10) polygon (points = [ [-36.2,1], [-36.2,-3.2], [0,-25], [53.4,-5.2], [53.4,7.75], [51,7], [48,6], [51,3], [51,-3], [50,-4], [46,-4], [46,-6], [0,-23], [-31,-4], [-31,-2], [-34,-2], [-34,2...
glb/cad_6a390b836016.glb
Create a magnetic button and cap set. First, construct the main button body as a disc with a diameter of 30mm and a height of 5mm. The side profile of the body should be rounded, created by extruding a circle with a radius of 2.5mm centered at the edge, scaled by a factor of 1.2 to create a slightly tapered curvature. ...
button_edge_scale = 1.2; button_height = 5; button_diameter = 30; magnet_height = 3.2; magnet_diameter = 12.75; cap_scale = 1; cap_width_padding = 0.5; magnet_height_padding = 0.3; magnet_width_padding = 0.5; button_radius = button_diameter/2; magnet_radius = magnet_diameter/2; magnet_socket_height = magnet_height+ma...
glb/cad_6326109a86c4.glb
Create a showerhead holder adapter consisting of a main base and an attached mounting arm. Start with a main rectangular block measuring 50mm wide, 17mm deep, and 50mm high. From this block, remove a cylindrical hole with a 16mm radius and a 7mm depth, centered at X=25mm, Y=18mm, and Z=25mm. Additionally, remove severa...
module grundplatte(){ translate([0,16,0])cube([50,1,11]); difference(){ cube([50,17,50]); translate([25,18,25]) rotate([90,0,0]) cylinder(r=16,h=7); translate([22.5,11,40])cube([5,7,10]); translate([10,0,30])cube([5,5,5]); translate([10,5,25])cube([5,12,15]); translate([35,0,30])cube([5,5,5]); transla...
glb/cad_0831d1b711a8.glb
Create a hook for a showerhead holder accessory. Start by constructing a solid rectangular block measuring 5mm wide, 4.8mm deep, and 9.6mm high. Attached to the side of this block, add a second rectangular volume that is 15mm wide, 4.8mm deep, and 4.8mm high, positioned such that it extends from the 5mm mark along the ...
cube([5,4.8,9.6]); difference(){ translate([5,0,0])cube([15,4.8,4.8]); rotate([90,0,0])translate([15,8,-10])cylinder(r=5, h=20); }
glb/cad_a4583fcdf700.glb
Create a Customizable Notebook Pen Loop designed to hold a pen against a cover. Start by creating a hollow cylinder with a height of 10mm, an outer diameter of 15.1mm, and an inner diameter of 14mm, ensuring the walls are 1.1mm thick. To this cylinder, attach a flat rectangular tab that extends from the side. This tab ...
height = 10; inner_dia = 14; thickness = 1.1; tab_width = 25; module pen_loop_1(height, inner_dia, thickness, tab_width, smoothness = 180){ radius = inner_dia / 2.0; difference(){ union () { translate([0, radius, 0]) cube(size =[tab_width, thickness / 2.0, height]); ...
glb/cad_8a4925badece.glb
Create a skateboard door mount by starting with a solid cube measuring 85mm x 85mm x 50mm. From this block, remove a central cylinder with a radius of 37.5mm and a height of 100mm to create a large circular void. Carve out a rectangular section from the side measuring 37.5mm wide by 65mm deep and 100mm high to open the...
roll_diameter = 75; roll_width = 50; door_width = 13.7; strength = 5; inner_strength = 2; inner_height = 12; $fn=100; difference(){ cube([roll_diameter +2*strength , roll_diameter + 2*strength, roll_width]); translate([roll_diameter/2+strength, roll_diameter/2, -2*strength]) cylinder(r=roll_diameter/2, h=100...
glb/cad_c78df8f80f7c.glb
Create a Solder Station enclosure consisting of a main body and two matching shell halves. The overall external dimensions are 80mm in length, 140mm in width, and 75mm in height, with rounded corners of 7mm diameter. The walls are 2mm thick. Construct the main body as a hollowed-out rounded box. The bottom shell is a ...
use <hd44780.scad> use <gx16.scad> include <config.scad> BPanel=1; FPanel=1; BShell=1; TShell=1; Text=1; txt = "Solder Station"; TxtSize = 5; Font="Ubuntu"; Font_style="Standard"; font_layers=3; Length = 80; Width = 140; Height = 75; Round = 7; Resolution = 50; Thick = 2; m = 0.5...
glb/cad_436a8c6219b9.glb
Create a solder station connector housing by starting with a main cylinder that has a radius of 8mm and a height of 15.5mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 7mm and a height of 7.75mm, positioned so that it leaves a base at the bottom. Within the remainin...
include <config.scad> gx16_r = 8; gx16_h = 15.5; module gx16(){ difference(){ cylinder(r= 8, h=gx16_h, $fn=64); translate([0,0,gx16_h/2 + 0.1]) cylinder(r=7, h = gx16_h/2); } if(solder_plug_middle_pin == 1) translate([0,0,gx16_h/2 + 0.1]) cylinder(r=0.5, h=gx16_h/2 - 1, $fn=32); rad...
glb/cad_d569dc6100e9.glb
Create a 3D model of a solder station display assembly. Start by creating a base rectangular PCB plate with dimensions of 76mm by 26mm and a thickness of 1mm. Centered on top of this plate, place a second rectangular block representing the display unit; this block should have a height of 26mm and a depth of 1mm. Finall...
include <config.scad> lcd_width = 76; lcd_height = 26; module display(){ color("Green")cube([display_pcb_height, display_pcb_width, 1]); translate([(display_pcb_height - display_height)/2, (display_pcb_width- display_width)/2, 1/2]){ color("Black") cube([display_height, display_width, display_depth]...
glb/cad_2dd99bcf536d.glb
Create a replacement battery hatch for a toy locomotive. Start with a rectangular base measuring 20.6mm in width, 20.9mm in length, and 21.5mm in height. The main body is a combination of a rectangular block and a semi-cylindrical top with a diameter of 20.2mm. On the top surface, centered along the length, create a ...
$fn = 200; extrusion_width = 0.5; screw_head = 5; screw_hole = 2.8; thread_length = 6.2; hole_to_front = 8.5; hole_to_back = 7 + 5.9; battery_tunnel_width = 10.5; overlap = 7.0; width = 20.6; length = 20.9; height = 21.5; boiler_diam = 20.2; boiler_inner_diam = 18.2; side_wall_height = 7.0; top_thickness = height - 2...
glb/cad_b06ae088c277.glb
Create a Beleuchtete Tischerhöher, which is a hollowed rectangular block. Start with a solid cube measuring 50mm x 50mm x 70mm, centered on the origin. Remove a central vertical cylinder with a radius of 15mm and a height of 70mm, shifted 9mm upward along the Z-axis. Remove a smaller central vertical cylinder with a ra...
$fn=200; difference(){ cube([50,50,70],center=true); translate([0,0,9])cylinder(r=15,h=70,center=true); translate([0,0,-6])cylinder(r=1.5,h=70,center=true); translate([0,0,-35])cube([40,40,10],center=true); translate([15,15,-26])cylinder(r=2.5,h=8.1,center=true); translate([-15,15,-26])cylinder(r=2.5,h=8.1,center...
glb/cad_16e326e6db3e.glb
Create a Beleuchtete Tischerhöher by starting with a solid cylinder that has a radius of 15mm and a height of 15mm, centered on the origin. Remove a smaller vertical cylinder from the center with a radius of 1.5mm and a height of 70mm, shifted 5mm upward along the Z-axis. Finally, remove a third central cylinder with a...
$fn=200; difference(){ cylinder(r=15,h=15,center=true); translate([0,0,5])cylinder(r=1.5,h=70,center=true); translate([0,0,2.6])cylinder(r=7,h=10,center=true); }
glb/cad_e4da7f4b0132.glb
Create a customizable cover for an LCD screen. Start by constructing a solid rectangular frame with an outer length of 79.1mm and an outer height of 32.6mm, with a uniform thickness of 3mm. Round all four exterior corners of this frame using a radius of 6mm. Inside this frame, create a centered rectangular cutout to ...
Length=64.14; Height=13.5; Wall_thickness=3; Clearing=0; Border_Length= 73.1; Border_Height = 26.6; largonegro=Border_Length+Clearing; anchonegro=Border_Height+Clearing; espesor=Wall_thickness; Sphere_faces=50; rotate([180,0,0]){ difference(){ union(){ translate([Wall_thickness,Wall_thickness,0]...
glb/cad_9fbd5833c2a9.glb
Create a keychain titled "Words from the Heart" consisting of a rectangular base plate with rounded corners of 2mm. On the left side of the plate, add a circular lug with a 4mm diameter hole for a ring. Layered upon the base are two heart shapes. Create a large heart with a size of 70mm and a smaller heart with a size...
line1 = "Enter Text"; line2 = "Here!"; alignment = 0; build_lug=1; hole_diameter=4.0; base_plate_rounding = 2; base_plate_outline_1 = 1.0; base_plate_outline_2 = 1.0; outline_width = 3; heart_fringe = 1.0; text_font = "knewave.dxf"; text_height = 8; text_space_factor = 0.75; line_space_factor = 1.05; lug_level=2....
glb/cad_22cdf87f410e.glb
Create a Remote Control Holder by starting with a solid rectangular block measuring 62mm in width, 138mm in depth, and 35mm in height. From the top face of this block, carve out six separate rectangular slots of varying sizes, each starting at a depth of 5mm from the bottom. All slots should be 35mm deep. Position the...
foot = 5; thick = 5; height = 35; module RMC_Media() { cube([ 52, 22, height ]); } module RMC_Sony_TV() { cube([ 52, 22, height ]); } module RMC_Sony_Rec() { cube([ 52, 22, height ]); } module RMC_Amz() { cube([ 42, 16, height ]); } module RMC_HDMI() { cube([ 42, 10, height ]); } module RMC_Ap...
glb/cad_f77264ef9d1c.glb
Create a simple 80mm fan grille. Start by constructing a square plate 74mm wide and 74mm deep with a thickness of 3mm. The four corners of this plate must be rounded, formed by the convex hull of four cylinders, each with a 4mm radius and 3mm height, positioned at the coordinates (-37, -37), (-37, 37), (37, -37), and (...
$fn=80; difference(){ hull(){ translate([-37,-37,0]) cylinder(4,3,3); translate([-37,37,0]) cylinder(4,3,3); translate([37,-37,0]) cylinder(4,3,3); translate([37,37,0]) cylinder(4,3,3); }; translate([-36,-36,-2]) cylinder(8,2,2); tran...
glb/cad_f04aa747b8cf.glb
Create a G clamp mounting bracket by starting with a solid rectangular block measuring 24mm in width, 26mm in depth, and 11mm in height. From this block, remove a central rectangular section measuring 20mm in width, 14mm in depth, and 15mm in height, positioned 8mm from the left edge and 6mm from the front edge. This c...
xx=28; yy=30; $fn=30; for (x=[0:3]){ for (y=[0:3]){ translate ([xx*x,yy*y,0]) G(); }} module G () { difference() { union() { cube ([24,26,11]); } translate ([8,6,-2]) cube ([20,14,15]); # translate ([18,10,6]) rotate ([90,0,0]) c...
glb/cad_e8c1ac6537f6.glb
Create a mobile home water cap consisting of a tiered cylindrical base and a central cutout. Start by constructing the main body as a cylinder with a radius of 30mm and a height of 13mm, topped with a smaller 3mm high cylindrical section that tapers slightly from a radius of 32mm down to 30mm. Remove a central vertical...
difference (){union() { difference (){union() { translate([0,0,0])cylinder (r1=30, r2=32, h=13, $fn=100); translate([0,0,13])cylinder (r1=32, r2=30, h=3, $fn=100);} translate([0,0,4])cylinder (r1=29, r2=29, h=13, $fn=100); translate([0,0,2])cylinder (r1=27, r2=27, h=13, $fn=100); translate([0,0,13])cylinder (r1=29, r2=...
glb/cad_81bd4f5a7a8b.glb
Create a minimalist spool holder consisting of a U-shaped bracket. Start with a main body that is 40mm wide, 30mm deep, and 19mm tall. The outer corners of the body should be rounded with a 4mm radius. Remove a central rectangular section from the front, leaving two vertical legs that are each 10mm wide and 19mm tall, ...
module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true); } mirror([1,0,0]) { difference() { union() { translate([0, -10, 0]) minkowski() { cube([20,30,19]); cylinder(r=4,h=1); } difference() { hull() { translate([12.5, 12.5,...
glb/cad_8cd3b7de9f2c.glb
Create an Openbeam Breadboard Case by starting with a main rectangular block measuring 37mm wide, 48mm long, and 12mm high. Attach a second rectangular block of the same width and height to the front, extending the total length to 60mm. Hollow out the center of this combined structure by removing a rectangular volume o...
fn=100; difference(){ union(){ cube([37,48,12]); translate([0,-12,0]){ cube([37,13,12]); } } union(){ translate([1,1,1]){ cube([35,46,12]); } translate([5,5,-3]){ cube([26,38,11]); } translate([0,-10.5,1]){ ...
glb/cad_fa34c38c8242.glb
Create a handle for a Kurt-type mill vise. Start with a central body that is 125mm long, 35mm wide, and 8mm thick. The main body consists of a rectangular center section with semi-circular ends, creating a stadium shape. In the exact center of the body, create a hexagonal hole with a width of 19.6mm that passes compl...
length=125; width=35; thickness=8; hex_size=19.6; bearing_count = 0; knob_count = 2; $fn=90; module dummyBearing() { difference() { cylinder(d=22,h=7); translate([0,0,-1]) cylinder(d=8,h=9); } } $fn=90; module hex(size=1,height=1,rot=0) { rotate([0,0,rot]) { w=size/1.732; translate ([-size/...
glb/cad_f68de09c2958.glb
Create a Wade-type Extruder body. Start with a main rectangular block 62mm wide, 27mm thick, and 29mm high. Attach a motor mounting bracket to the back, measuring 11mm wide, 48mm long, and 48mm high. On the top surface, create a recessed slot for a NEMA17 stepper motor. Within this area, carve out two mounting slots ...
include <mendel.conf> include <mendel.inc> bearing_clearance_rad=8; filament_rad=1.6; ptfe_rad=9.2; extruder_thick=27; filament_x_offset=26.497; filament_inset=10; wdc2_extruder_height=extruder_height+2; extruder_axle_line=extruder_height*0.45; extruder_width=62; gear_separation=38; pinch_axle_height=18; filament_ove...
glb/cad_f164ef100663.glb
Create a MobilVise, a portable screw-holding clamp. Start by constructing a rectangular main bar with a length of 100mm, a width of 16mm, and a height of 12mm. Hollow out the center of this bar to create a shell with a bottom thickness of 4mm and wall thicknesses of 2mm. In the center of the bar, create a vertical ci...
bottom_thick = 4; wall_thick = 2; bar_length = 100; bar_height = 12; bar_width = 16; screw_dia = 6; screw_holder_len = 7; screw_head_height = 10; screw_head_width = 10; module screw_holder() { difference() { rotate([90,-45,90]) { difference() { cylinder(d...
glb/cad_c3e908be5e3a.glb
Create an overhead shower gel screw cap. Start with a main outer body formed by a cylinder with a diameter of 27.5mm and a height of 12mm, rounded at the top edges with a 2mm radius sphere. Create a central opening by removing a cylinder of 20mm diameter and 7mm height, positioned 3mm from the base. At the very bottom,...
use <threads.scad> union() { difference() { translate([0,0,2]) minkowski() { cylinder(h=12,d=27.5); sphere(r=2); } translate([0,0,13.6]) cylinder(h=10,d=27.5); translate ([0,0,5.7]) metric_thread(diameter=27.5, pitch=4, length=8, internal=false, groo...
glb/cad_55338352bb12.glb
Create an overhead shower gel screw cap by constructing a flat, ring-shaped disc. Start with a solid cylinder that has a diameter of 20mm and a height of 2mm. Centered within this cylinder, remove a smaller cylindrical core with a diameter of 8mm and a height of 8mm to create a clean circular hole passing through the c...
difference() { cylinder(h=2,d=20); cylinder(h=8,d=8); }
glb/cad_1dff1267d95a.glb
Create an overhead shower gel screw cap consisting of a threaded cylindrical bolt. Create a cylinder with a diameter of 8mm and a total length of 4mm. On the exterior of this cylinder, add a right-hand metric screw thread with a pitch of 1mm. The thread should wrap around the entire length of the cylinder. Ensure the t...
metric_thread (diameter=8, pitch=1, length=4); function segments (diameter) = min (50, ceil (diameter*6)); module metric_thread (diameter=8, pitch=1, length=1, internal=false, n_starts=1, thread_size=-1, groove=false) { local_thread_size = thread_size == -1 ? pitch : thread_size; n_segme...
glb/cad_83206bd1b4d7.glb
Create an Electrophoresis Comb consisting of a rectangular base plate measuring 195mm in length, 48mm in width, and 2mm in thickness. From this base, remove two mirrored sets of slots to create the comb teeth. The first set of slots starts from the bottom edge and extends upwards. The second set is identical but mirr...
materialHeight = 48; materialLength = 195; materialThick = 2; combRepeat = 9; combGap = 1; combLength = 14; wellHeight = 2; sideSpacer = 3; spacingMultiplier = 2; combGapTop = 1; numCuts = floor((materialLength-2*sideSpacer)/combRepeat); spacerWidth = (materialLength-numCuts*combRepeat)/2; module makePart() ...
glb/cad_2d53743d8c03.glb
Create a game token by starting with a thin cylindrical disc that has a diameter of 15mm, a thickness of 0.9mm, and a 20-sided polygonal cross-section. Centered on the top face of this disc, carve out a hole in the shape of the text "10" using a stencil-style font. The characters of the text should be 8mm in height and...
text=10; text_height=8; font="Allerta Stencil"; coin_diameter=15; coin_facets=20; coin_thickness=0.9; a=coin_diameter; b=coin_facets; c=text_height; d=coin_thickness; e=(str(text)); f=font; difference() { cylinder (h=d, d=a, $fn=b); linear_extrude(height=d*4, center=true, convexity=10) { text (text=e, font=f, ...
glb/cad_35d92314b46a.glb
Create a Pinewood Derby Axle Drilling Guide. Start with a base plate that is 25mm wide, 25mm deep, and 1.6mm thick. Extend this base by adding two rectangular tabs: one that is 6mm wide, 25mm deep, and 1.6mm thick centered on the back edge, and another that is 25mm wide, 6mm deep, and 1.6mm thick centered on the side e...
$fn=48; function mm(i)=25.4*i; Drill=mm(0.086); T=1.6; H=6; translate([-12.5,-12.5,0]) difference(){ union(){ cube([25,25,T]); rotate([0,-90,0]) cube([H,25,T]); translate([-T,0,0]) rotate([90,0,0]) cube([25+T,H,T]); } translate([mm(5/8),mm(1/8),0]) cylinder(r=Drill/2,h=T,center=false); translate([mm(1/8),mm(5/8),0])...
glb/cad_15ad96035a02.glb
Create a filament spool holder consisting of two mirrored side panels. Each panel is a flat plate with a height of 110mm, a width of 110mm, and a thickness of 10mm. The inner edge of each panel is modified to accommodate a support bar. Create a rectangular cutout at the top inner edge measuring 10mm high and 8mm wide...
holder_height = 110; tolerance = 1.0; character = "\u2318"; screw_feet = "no"; font = "DejaVu Sans"; $fs = 1.0; $fa = 1.0; holder_width = holder_height; module side(height, width, thickness, tolerances) { bar_height = 10; bar_width = 8+tolerances; tab_width = 2-tolerances; tab_thickness = 2-tolerances; ...
glb/cad_3ffb579878a5.glb
Create a customizable bar for a spool holder by combining a rectangular base with a cylindrical body. Start with a rectangular prism that is 110mm long, 8mm wide, and 10mm high. Centered along the width of this base, add a cylinder with a diameter of 8mm and a length of 110mm, oriented horizontally so it lies along the...
bar_length = 110; bar_height = 10; bar_width = 8; difference() { union() { cube([bar_length, bar_width, bar_height]); translate([0, bar_width/2, bar_height]) rotate([0,90,0]) cylinder(d=bar_width, h=bar_length); } translate([8,0,0]) cube([2,2,bar_height+bar_width]); translate([bar_length-10,0,0])...
glb/cad_24e4a7ad9a24.glb
Create a customizable coin with a diameter of 39mm and a total thickness of 3.2mm. The main body is a cylinder with a low facet count of 3. The coin features raised relief elements with a height of 1mm. On the top face, create a raised outer rim 0.5mm wide. Along the inner edge of this rim, place the text "Hello, Wor...
use <write/Write.scad> TOP_TEXT = "Hello, World"; BOTTOM_TEXT = "August 2013"; REVERSE_TOP = "Reverse Top"; REVERSE_BOTTOM = "Bottom"; DIAMETER = 39; THICKNESS = 3.2; TEXT_HEIGHT = 5.0; SPACING = 0.8; RELIEF = 1.0; E = 0.01; module coin( top_text="", bottom_text="", rev_top_text="", rev_bottom_t...
glb/cad_24be1a96bf96.glb
Create a hollow cylindrical pipe with an outer diameter of 30mm, an inner diameter of 25mm, and a total length of 100mm. At the top end of the pipe, extend the geometry upward by an additional 20mm to create a male joint. This joint section should maintain the 25mm inner diameter but have a reduced outer diameter of 14...
outerDiameter = 30; innerDiameter = 25; length = 100; roundness = 250; jointLength = 20; jointGap = 0.5; cutOutWidth = 2; difference(){ union(){ difference(){ cylinder(r=outerDiameter/2,h=length,$fn=roundness); cylinder(r=innerDiameter/2,h=length,$fn=roundness); } translate([0,0,length]) difference(){ cyli...
glb/cad_2a11aba4c9b0.glb
Create a hollow cylindrical pipe with an outer diameter of 30mm, an inner diameter of 25mm, and a total length of 100mm. The pipe should be a smooth, high-resolution cylinder. To create the joint at the top, remove a cylindrical section from the center of the top face. This cutout should have a length of 20mm and a dia...
outerDiameter = 30; innerDiameter = 25; length = 100; roundness = 250; jointLength = 20; jointGap = 0.5; difference(){ difference(){ cylinder(r=outerDiameter/2,h=length,$fn=roundness); cylinder(r=innerDiameter/2,h=length,$fn=roundness); translate([0,0,length-jointLength]) cylinder( r=(outerDiameter/...
glb/cad_697d8060e71f.glb
Create a hollow cylindrical pipe with an outer diameter of 30mm, an inner diameter of 25mm, and a total length of 100mm. The pipe should have a high rotational resolution for smooth surfaces. At the bottom end, create a male joint by extending a cylinder with a diameter of 27.25mm and a height of 20mm, while removing t...
outerDiameter = 30; innerDiameter = 25; length = 100; roundness = 250; jointLength = 20; jointGap = 0.5; cutOutWidth = 2; difference(){ union(){ difference(){ cylinder(r=outerDiameter/2,h=length,$fn=roundness); cylinder(r=innerDiameter/2,h=length,$fn=roundness); cylinder( r=(outerDiameter/2 -((outer...
glb/cad_03ae1cd08c1b.glb
Create a Clip Bracket for an LCD Smart Control display consisting of a faceplate and two mounting brackets. First, create a rectangular faceplate 169.3mm long, 57mm wide, and 6mm thick. At the four corners, add M3 screw holes with 6mm diameter countersinks. Center a circular cutout for a control knob at X=138mm, Y=26...
Ht = 12; E_Ht=3; TC_Ht = 6; W_Ht = 4; FP_Len = 169.3; FP_LenShort = 153.3; FP_Ht = 6; FP_HoleLen = 145; FP_HoleWid = 50; FP_Long = 1; M3 = 3.6; M3Head = 6.0; StopSwitch_X = 138; StopSwitch_Y = 7.5; ControlKnob_X = 138; ControlKnob_Y = 26; SpeakerHole_X = 137.15; SpeakerHole_Y = 45.5; W_Clip = 0; DisplayPart = 0; Ht2...
glb/cad_e2d5a7ec9bee.glb
Create a MakeBlock Parametric L Bracket consisting of two rectangular plates joined at a 90-degree angle. Each plate has a thickness of 3mm and rounded outer corners with a 2mm radius. The first plate is designed for 4 holes in the x-direction and 3 holes in the z-direction. The second plate is designed for 3 holes in...
xholes=4; yholes=3; zholes=3; thickness=3; hole_radius=2.4; hole_sides=8; corner_radius=2; pitch=8; $fn=50; open=[]; d=0.01; cr = corner_radius < 0.001 ? 0.001 : corner_radius; module template(nholes) { hull() { translate([0, -(pitch/2), 0]) cube([2*cr,2*cr,thickness]); transl...
glb/cad_6e4e43e7cf5a.glb
Create a parameterized cup holder designed to fit over a couch arm. Start by constructing a solid base block with a total width of 130mm, a length of 100mm, and a height of 90mm. The outer edges of this base should be rounded with a curve radius of 7mm. From this solid volume, remove a central cylindrical void to creat...
chairArmWidth=130; cupHolderLength=100; cupHolderHeight=90; widthOfCupHolder=10; curveRadius=7; smoothingAmount=10; diameterOfCup=90; module cupHolderBase(){ difference(){ hull(){ for(i=[1:smoothingAmount]){ translate([curveRadius-curveRadius*sin(i*90/smoothingAmount),0,0])cube([(cupHolderHeight+2*widthOfCupHolder-curv...
glb/cad_ebb3e57a3ffb.glb
Create a Drawer Slide Support Bracket with a base footprint of 53mm wide, 20mm deep, and 5mm thick. From this base, extend two vertical walls upward to a total height of 30mm. These walls should be positioned such that one starts at the 15mm mark and the other at the 38mm mark along the width, each spanning the full 20...
module slide_mount() {difference() { union() { cube([53, 20, 5], center = false); translate ([15,0,5]) cube ([23,20,25], center=false); polyhedron( points=[ [0,0,5],[15,0,5],[15,0,30],[0,20,5],[15,20,5],[15,20,30] ], faces= [ [0,2,1],[3,4,5],[5,2,3],[2,0,3],[2,5,1],[5,4,1],[1,4,0],[4,3,0] ] ...
glb/cad_eb30dde83c58.glb
Create a temperature sensor housing lock by stacking three rectangular prisms. Start with a base rectangular plate measuring 45mm in length, 12mm in width, and 2mm in height, centered on the origin. On top of this base, center a second rectangular prism that is 20mm long, 12mm wide, and 2mm high, positioned so its bott...
$fn=100; module burk () { difference() { cube([45,12,9.5], center= true); translate([0,0,2])cube([41,8.5,6], center= true); translate([22,0,3.1])cube([4,3.3,3.3], center= true); translate([-18,0,-3.1])cube([5.5,5.5,6], center= true); #translate([-15,0,0]) rotate([0,335,0]) color("green") cube([3,5.5,3], cen...
glb/cad_8029315e8a11.glb
Create a Wire Cage Cover and Bracket Assembly for an electronics enclosure. The assembly consists of a main bracket body and mounting components. First, construct the main bracket body by extruding a complex 2D profile to a height of 6mm. This profile is defined by a polygon with vertices ranging from approximately (-...
M3 = 3.75; M3Nut = 6; Ht = 6; $fn = 24; module TopWoodBracket() { difference() { linear_extrude(height = Ht, center = false, convexity = 10)polygon(points = [[-3,-6],[-53,-6],[-53.77,-5.85],[-54.41,-5.41],[-54.85,-4.77], [-55,-4],[-55,-2],[-54.85,-1.23],[-54.41,-0.59],[-53.77,-0.15], ...
glb/cad_81510cb15f1e.glb
Create a Wire Cage Cover and Bracket Assembly for an electronics enclosure. The assembly consists of a main bracket and supporting structures. First, create the main bracket body as a flat plate with a height of 6mm. The outer profile is a complex polygon approximately 77mm wide and 50mm deep, featuring a recessed cen...
M3 = 3.75; M3Nut = 6; Ht = 6; $fn = 24; FrameMount = 1; Dble_Mount = 1; module UpMmidWd_Bracket() { linear_extrude(height = Ht, center = false, convexity = 10)polygon(points = [[0,9.3],[0,-3],[-0.08,-3.67],[-0.3,-4.3],[-0.65,-4.87], [-1.13,-5.35],[-1.7,-5.7],[-2.33,-5.92],[-3,-6],[-75.2,-6], [-75.97,-5...
glb/cad_db2d7f57bfaa.glb
Create a Wire Cage Cover and Bracket Assembly for an Arduino Mega and Ramps. The assembly consists of four brackets and three cover plates. Construct the brackets as flat plates with a height of 6mm. The Middle Bottom Bracket is a complex polygon with a main body approximately 118mm long and 12mm wide, featuring integ...
M3 = 3.75; M3Nut = 6; Ht = 6; Dble_Mount = 1; $fn = 24; module MiddleBottomWoodBracket() { linear_extrude(height = Ht, center = false, convexity = 10)polygon(points = [[0,-3],[-0.08,-3.67],[-0.3,-4.3],[-0.65,-4.87],[-1.13,-5.35], [-1.7,-5.7],[-2.33,-5.93],[-3,-6],[-3.5,-6],[-115.9,-6], [-116.67,-5.85],...
glb/cad_40408f1fb75d.glb
Create a Wire Cage Cover and Bracket Assembly for an electronics enclosure. The assembly consists of a bottom bracket and associated cover plates. Construct the bottom bracket as a flat base with a height of 6mm. The main body is a complex polygon that extends approximately 155mm in length and 50mm in width. If a fan ...
M3 = 3.75; M3Nut = 6; Ht = 6; $fn = 24; Fan_Mount = 0; module BottomWoodBracket() { linear_extrude(height = Ht, center = false, convexity = 10)polygon(points = [[-107.5,11.3],[-43.56,11.3],[-29.51,12.2],[-28.9,12.26],[-28.28,12.34], [-27.68,12.46],[-27.07,12.61],[-26.48,12.79],[-19.9,14.99],[-19.44,15.13],...
glb/cad_0577c309e579.glb
Create a magnetic base for OpenForge tiles. The overall footprint is a rectangle based on a grid of 25mm units; for a 2x2 tile configuration, the outer dimensions are 50mm by 50mm. Construct the main body as a hollow rectangular frame with a height of 6mm. The outer walls are 1mm thick, and the interior is carved out...
x = 2; y = 2; edge = 12.5; left_edge = "false"; right_edge = "false"; front_edge = "false"; back_edge = "false"; magnet_hole = 5.4; center_wire_hole = 0; paperclip_wire_hole = .7; module wire_holes(x,y,center_wire_hole=0,paperclip_wire_hole=0.7,edge=12.5) { eoffset = -1 - edge; xlength = 2 + 2 * edge + 25...
glb/cad_c1583d4c9ba4.glb
Create a Waste Board Surfacing Block by constructing a rectangular prism with a length of 500mm along the X-axis, a width of 700mm along the Y-axis, and a height of 1mm along the Z-axis.
X = 500; Y = 700; Z = 1; cube([X,Y,Z]);
glb/cad_471ad5d212a4.glb
Create an insertion plate for a Schuko outlet by starting with a thin cylinder 35mm in diameter and 1.2mm thick, centered on the origin. Trim the sides of this cylinder to create a flat-edged shape that is 31mm wide along the x-axis. Remove three circular holes, each 6mm in diameter and passing through the thickness ...
th = 1.2; d = 35; cut = 31; cut2 = 29; cut2_w = 3.5; d_pin = 4.8; h_pin = 7; d_hole = 6; r_to_hole = 13.2/2+5.6/2; r_to_pin = 29/2-5.4/2; $fn = 64; eps = 0.05; module socket_insert() { difference() { intersection() { cylinder(d=d, h=th, center=true); cube([cut, d+eps, th+eps], cente...
glb/cad_c33517c0a4fa.glb
Create a Prusa Hotbed Cable Guide designed to clip onto a bed. Start by constructing a main body with a total width of 12mm, a length of 20mm, and a height of 13mm. The body consists of two outer walls each 3mm thick, connected by a top plate 3mm thick, leaving a central gap of 6mm. In the center of the body, create ...
cableRadius = 3.5; gap=6; length = 20; height =13; wallWidth = 3; width=wallWidth*2+gap; manifold=1; m3Radius = 2; hotbed_cable_guide(); m3Radius = 1.5; module hotbed_cable_guide() { scale(1) { difference() { body(); translate ([-1,length/2,height/2]) rotate([0,90,0])cylinder(r=m3Radius,h=width+2);...
glb/cad_8bb43be849ce.glb
Create a UK Coin Collection consisting of eight distinct geometric shapes. First, create a two-part coin with an outer ring and an inner core: the outer ring is a cylinder with a radius of 14.2mm, a height of 2.5mm, and a concentric hole with a radius of 10.6mm; the inner core is a solid cylinder with a radius of 10....
$fn=100; difference() { cylinder(r1=14.2, r2=14.2, h=2.5, center=true); cylinder(r1=10.6, r2=10.6, h=2.5, center=true); } cylinder(r1=10.6, r2=10.6, h=2.4, center=true); translate([30, 0, 0]) cylinder(h = 3.15, r1 = 11.25, r2 = 11.25, center = false); translate([0, 30, 0]) linear_extrude(height = 1.78) reuleau...
glb/cad_153a42127dc3.glb
Create an LED strip mount for a 2020 profile. Start with a main rectangular body 180mm long, 10mm wide, and 11mm high. The top surface of this body should be recessed by a wide, shallow channel that runs the full length of the part, angled at 30 degrees, to hold an LED strip. At both the start and end of the main bod...
$length = 180; $width = 10; $height = 11; $angle = 30; $nut_width = 4; $nut_head_width = 7; $nut_head_height = 3; $nut_base = 2; $tie = 3; $fn = 50; translate([0,-$width/2,0]) { difference() { union () { cube([$length,$width,$height]); rounding(); translate([$length,$...
glb/cad_5e295fa4e071.glb
Create a small camera stabilizer component by constructing a composite vertical body. Start with a base cone that has a bottom radius of 5.4mm, a top radius of 8mm, and a height of 15mm. On top of this base, add a cylinder with a radius of 8mm and a height of 8mm. Within this upper cylinder, create a hexagonal hole wit...
w=12; difference() { union() { cylinder (r=5.4, r2=8, h=15); translate ([0,0,15]) { difference() { cylinder (r=8, h=8); translate ([0,0,2]) { cylinder(r=w/sqrt(3),h=6,$fn=6); } } } } cylinder (r=4.4, h=23); }
glb/cad_1a7b091bbbae.glb
Create a small camera stabilizer component by starting with a dodecagonal prism that is 10mm in height and has a radius of 10mm. From the center of this prism, remove a hexagonal hole with a radius of 6.9mm that extends 5mm deep into the shape. Finally, bore a circular hole with a radius of 3.75mm through the remaining...
rotate(a=180, v=[1,0,0]) { difference() { cylinder(r=10, h=10, $fn=12); cylinder(r=6.9, h=5, $fn=6); cylinder(r=3.75, h=10); } }
glb/cad_6fe4bb25f62c.glb
Create a small camera stabilizer mount. Start with a main body formed by a 5mm thick extruded polygon with vertices at [33, 30], [33, -30], [0, -30], [-33, -10], [-33, 10], and [0, 30]. Integrate a 12-sided polygonal prism with a radius of 13mm and a height of 9mm into this body. Remove several geometric voids from t...
slot_width=7; bearing_hole=15.2; rod_hole_diam=8.8; module slot() { translate ([24, 21.25]) {cylinder(r=slot_width/2, h=6); } translate ([24, -21.25]) {cylinder(r=slot_width/2, h=6); } translate ([24,0,3]) { cube([slot_width,42.5,6], center=true); } } module body() { union() { linear_extrude(height=5) { polygon(poi...
glb/cad_75100e3a035d.glb
Create a small camera stabilizer component by constructing a tapered cylinder with a height of 82mm, a base radius of 12mm, and a top radius of 9mm. Apply a Minkowski sum with a sphere of radius 2mm to round the edges of this tapered body. Finally, bore a vertical hole with a radius of 2mm through the center of the ent...
difference() { minkowski() {sphere(r=2); cylinder(r1=12, r2=9, h=82); } cylinder(r=2, h=85); }
glb/cad_65ef3ebb2af9.glb
Create a small camera stabilizer mount by starting with a central rectangular block measuring 28mm by 28mm with a height of 12mm. From this block, remove several cylindrical sections to create holes and a cutout. First, create two intersecting cylindrical holes with a radius of 4.4mm and a length of 30mm; position one ...
rod_diam=8.8; weight_hole_diam=7.5; difference() { cube([28,28,12], center=true); union() { translate([-8, -13,0]) { rotate(a=90, v=[1,0,0]) { cylinder(r=rod_diam/2, h=30, center=true); } } translate([13, 8,0]) { rotate(a=90, v=[0,1,0]) { cylinder(r=rod_diam/2, h=30, center=true); } } translate([-8, 8,0]) { cylinde...
glb/cad_cf3cfb729ac5.glb
Create an EDTracker Case consisting of two matching halves: a bottom case and a top case. For the bottom case, create a rectangular shell with outer dimensions of 35.3mm by 43.3mm and a height of 10mm. Hollow out the center to create a cavity of 29.3mm by 37.3mm, leaving walls of 3mm. At the center of one short wall,...
$fn = 100; nozzle = 0.3; layer_h = 0.2; inaccuracy = 0.25; width = 29.3 + inaccuracy; width_2 = 22.9 + inaccuracy; length = 37.3 + inaccuracy; height = 9; usb_to_mid_pcb = 8; base_width = 3; base_width_2 = 1.2; edge = width - width_2; usb_width = 8; usb_height = 3; screw_dia = 2.5; screw_dia_top = 2.5 + 2 * nozzle; ...
glb/cad_b2b6463aa2af.glb
Create a Smoothieboard electronics enclosure consisting of a main box and a matching lid. The main box is a rounded rectangular prism with external dimensions of 138.5mm in width, 109.5mm in depth, and 32.5mm in height. The walls and floor are 2.5mm thick, with the interior cavity measuring 133.5mm by 104.5mm by 28mm. ...
$fn=30; sx=129.5; sy=105; sh=23; buf=4.5; th=2.5; bot=2.5; w=sx+buf; t=sy+buf; h=sh+buf+bot; off=th+buf/2; l1=28+off; l2=127+off; l1y=3.5+off; l3y=98.5+off; l3=121+off; l2y=103+off; translate([0,t+10,0]) lid(); box(); module lid(){ difference(){ union(){ roundBox(w+th+th,t+th+th,th-0.5,5); transla...
glb/cad_21a4824e3bdf.glb
Create a spool management rotator by constructing a central base and two upright supports. Start with a base plate that is 5mm thick. On this base, create two vertical walls, each 5mm thick and 35mm high, positioned to form a U-shape. The outer profile of these walls should be rounded with a radius of 10mm. In the cen...
outercirclerad=10; holerad=4.1; height=5; bearingOR=11.05; bearingholeR=8; rotatorwidth=35; module rotator(){ difference(){ union(){ rotate([0,90,0]) translate([-outercirclerad*4-height,0,0]) { hull(){ cylinder(r1=outercirclerad,r2=outercirclerad,h=height); translate([outercirclerad,-3...
glb/cad_622cd9339d98.glb
Create a spool holder consisting of a tiered cylindrical base with a total height of 22mm. Start by creating a main cylinder with a radius of 27mm and a height of 22mm. Add a shorter, wider base cylinder at the bottom with a radius of 37mm and a height of 5mm. Carve a central vertical hole through the entire object w...
spoolrad=54/2; beearingrad=22/2; spoolholderdepth=12; bearingIR=8/2; bearingOR=22/2; bearingH=7; module spoolholder(){ difference(){ union(){ cylinder(h=spoolholderdepth+10,r1=spoolrad,r2=spoolrad,$fn=90); cylinder(h=5,r1=spoolrad+10,r2=spoolrad+10,$fn=90); } cylinder(h=spoolholderdepth+12,r1=bearingIR+0.5,r...
glb/cad_b2ce235dc97e.glb
Create a side piece for a spool management system. Start with a flat rectangular base that is 130mm long, 10mm wide, and 3mm thick. At both the left and right ends of this rectangle, create a semi-circular cap with a radius of 10mm and a thickness of 3mm, centered on the rectangle's width. Through the center of each ...
outercirclerad=10; holerad=4.1; height=3; legwidth=10; totallength=130; module sidepieces(){ difference(){ union(){ hull(){ cylinder(r1=outercirclerad,r2=outercirclerad,h=height); translate([outercirclerad,-legwidth/2,0]) cube([legwidth,legwidth,height]); } translate([0,-legwidth/2,0]) ...
glb/cad_cc25255d2cf5.glb
Create a Candy Cane Peg by constructing a central rectangular slab 135mm long, 24.3mm wide, and 3mm thick. From the center of this slab, extend two symmetrical wings that taper outwards. Each wing starts at the center and angles away from the midline at 6.45 degrees, maintaining the 3mm thickness. To refine the shape, ...
W = 24.3; TH = 3; L = 135; TA = 6.45; TS = 25; RL = 40; RT = 1.1; $fn = 100; F = 0.01; rotate(a = [0, 180, 0]) { union() { for(i = [0, 90]) rotate(i) difference() { cube(size = [W, TH, L], center = true); for(j = [1, -1]) { translate(v = [W * j, 0, TS]) rotate(a = [0, TA * ...
glb/cad_68fa2c28758e.glb
Create a spool holder part consisting of a flat base and two upright bearing posts. Start with a rectangular base that is 11mm wide and 131mm long, with a thickness of 2mm and rounded corners. At each end of the base, construct a vertical post to hold a 608zz bearing. Each post is formed by the hull of two cylinders ...
quality = 3; spool_outer_diameter = 200; spool_outer_radius = spool_outer_diameter / 2; spool_inner_diameter = 90; spool_plate_thickness = 4; spool_inner_thickness = 64; spool_outer_thickness = spool_inner_thickness + spool_plate_thickness * 2; bearing_outer_diameter = 22; bearing_outer_radius = bearing_outer_diame...
glb/cad_aa78e7ce4a91.glb
Create a simple belt buckle consisting of a main holder and separate bars. For the holder, construct a base shape by combining a central cylinder with a radius of 22.8mm and two smaller cylinders with radii of 7.6mm positioned 32.3mm apart along the x-axis, then expand this entire form using a 2mm spherical offset. Car...
bw = 38; $fa = 6; difference () { minkowski() { hull () { translate([0,0,0]) cylinder(h=2.4,r=bw*0.6); translate([bw*0.85,bw*0.4,0]) cylinder(h=2.4,r=bw*0.2); translate([bw*0.85,-bw*0.4,0]) cylinder(h=2.4,r=bw*0.2); } sphere(r=2); } hull () { translate([0,0,-4]) cylinder(h=12,...
glb/cad_73f07bd0f1e0.glb
Create a Random Ring by constructing a hollow cylinder with an inner diameter of 19mm, a wall thickness of 2mm, and a total height of 8mm. The top and bottom faces should be flat, with a very slight lip of 0.5mm extending beyond the outer radius at the very top and bottom edges. To complete the design, pierce the sid...
inner_diameter = 19; height = 8; thickness = 2; seed = 42; mesh_resolution=50; $fn=mesh_resolution; rand_hole_count = rands(5,32,1,seed); randangle = rands(0,360/rand_hole_count[0],100,seed); randholedia = rands(0,height-2,100,seed); randholeposfactor = rands(0,100,100,seed); echo (rand_hole_count[0]); echo (ran...
glb/cad_fc6ae73e5d8f.glb
Create a climbing dome for mice by constructing a hollow, inverted hexagonal cone. The outer shell should have a base radius of 50mm and a top radius of 25mm, with a total height of 50mm. The walls of this hexagonal structure must be 2mm thick. To create the entrances, carve out three circular holes, each with a radius...
xw=0.4; dh=50; dr=20; dt=2; doors=3; $fn=50; rotate([180,0,0]) difference(){ cylinder(r1=dh, r2=dh/2, h=dh, $fn=6); cylinder(r=dh/2-dt, h=dh+xw, $fn=6); translate([0,0,-xw]) cylinder(r1=dh-dt, r2=dh/2, h=(dh-dt), $fn=6); for(x = [0:(360/doors):359]){ translate([0,0,0]) rotate([90,0,x]) cylinder(r=dr, h=dh*2, $f...
glb/cad_99c847ead5e5.glb
Create a climbing dome for mice by constructing a hollow, inverted hexagonal cone. The outer shell should have a base radius of 50mm and taper upward to a top radius of 25mm over a total height of 50mm. The walls of the dome must be 2mm thick. To provide entry and exit points, create three circular openings, each with ...
xw=0.4; dh=50; dr=20; dt=2; doors=3; holes=false; $fn=50; rotate([180,0,0]) difference(){ minkowski(){ cylinder(r1=dh, r2=dh/2, h=dh, $fn=6); cylinder(r=dt); } minkowski(){ cylinder(r=dh/2-dt*2, h=dh+dt*2+xw, $fn=6); cylinder(r=dt); } minkowski(){ translate([0,0,...
glb/cad_61d4dd95faf7.glb
Create a replacement clip for a folding shopping cart. The overall length of the clip is 60mm, with a total thickness of 2.8mm and a width of 12mm. The main body is a rectangular slab with semi-circular cutouts at both ends to accommodate wires. Create two primary cylindrical voids running through the length of the c...
length = 60; thickness = 2.8; diameter = 2.7; first_lip = 0.75; second_lip = 1.2; ir = (diameter - .05)/2; thk = thickness; l = length - diameter; w = 12; slack1 = first_lip; slack2 = second_lip; $fn = 27; module fillet(h, r) { difference() { cube([h, r, r]); translate([-0.1, r, r]) rotate([0, 90, 0])...
glb/cad_9c9909c9dbd1.glb
Create a Prusa i3 Frame Fixing Mount by constructing a 15mm tall block with a complex hollow center. Start with a base shape formed by the union of two centered rectangles: one measuring 30mm by 3mm and another measuring 12mm by 29mm. Remove a central rectangular void of 6mm by 26mm from this shape to create a thin-wal...
constrainer(); translate([15, 50]) rotate([0, 0, 180]) constrainer(); translate([50, 0]) constrainer(hole_h = 40); translate([65, 50]) rotate([0, 0, 180]) constrainer(hole_h = 40); module constrainer(hole_w = 6, hole_h = 26, wall_thickness = 3, height = 15, mount_hole_dia = 5) { difference() { line...
glb/cad_d9b75206a8aa.glb
Create an adjustable Z endstop with a cable guide. Start by constructing a main body that includes a clip and a hand section. The clip is a rectangular block 15mm wide and 15mm deep, with a height of 23mm (16mm plus two 3.5mm wall thicknesses). Within this clip, create a vertical hole 3.6mm in diameter that transitions...
xend_height=16; wall_thickness=3.5; extension=14; plunger_dia=23; plunger_height=5; clip_width=15; clip_depth=15; hand_width=12; hand_length=12; hand_height=12; nut_height=2.54; nut_dia=6.5; screw_dia=3.6; cableTieRadius=1.75; $fn=15; module trapezoidNut( length=45, radius=25, pitch=10, pitchRadius=10, thr...
glb/cad_3d3d1d86aaaf.glb
Create an air vent adapter that transitions from a rectangular window slot to a circular pipe connection. First, create a hollow rectangular base with a wall thickness of 1mm. The inner opening of this base is a slot with a width of 70mm (calculated as the 80mm window opening minus two 5mm lips) and a height determin...
windowOpeningDistance=80; openingDepth=50; t=1; pipeDiameter=100; pipeOffset=15; taperLength=50; pipeConnectLength=20; lip=5; screwHoleDia=2; z=openingDepth; x=windowOpeningDistance-(2*lip); y=(PI/4)*((pow(pipeDiameter,2)/x)-x); union(){ translate([0,-y/2,-z/2]) difference(){ hull(){ cylinder(r=x/2, h=z, c...
glb/cad_7bf3ee7b1e93.glb
Create a matchbox roads puzzle piece consisting of a square baseplate measuring 100x100x4mm. On each of the four sides of the baseplate, add a puzzle tooth centered on the edge. Each tooth is a 10x10x4mm cube with rounded ends (formed by two 5mm radius cylinders) that allows pieces to fit together in any direction. T...
module ring(r=1,w=1,h=1) { difference() { cylinder(r=r+w,h=h,center=true); cylinder(r=r,h=h+1,center=true); } } module ringangle(r=1,w=1,h=1,a0=0,a1=45) { s= r+w; difference() { ring(r,w,h); rotate([0,0,a0])translate([ s,0,0]) cube([s*2,s*2,h+1],center=true); rotate([0,0,a1])translate([-s,0,0]) cube([s*2...
glb/cad_dace4d82629f.glb
Create a magnetic name sign by starting with a rectangular base 32mm long, 17mm wide, and 8mm thick. Round all corners and edges of this base with a 3mm radius. On the top face, carve out the text "Liva" starting at a 3mm offset from the left and bottom edges, with the letters extending 3mm deep into the body. On the b...
text="Liva"; sign_length=32; text_x=3; text_y=3; sign_width=17; sign_thickness=2; radius=3; magnet_radius=5.2; magnet_thickness=5.15; $fn=10; sign(line1=text); module sign(line1="Line1") { difference() { translate([0,0,-radius]) minkowski() { cube([sign_length,sign_width,sign_thicknes...
glb/cad_486a8ac2fa75.glb
Create a z-stop bracket for a 3D printer frame. Start with a solid rectangular block measuring 28mm in width, 28mm in depth, and 20mm in height. Remove a rectangular section from the center of the block to create a slot for a 6mm thick frame; this slot should be 6mm wide, 28mm deep, and 20mm high, positioned 7mm from...
endstoph=13; endstopw=6.1; framethickness=6; wallthickness=7; mountingholesR=3.5/2; spacing_mounts=11; mountsizex=28; mountsizey=28; mountsizez=endstoph+wallthickness; module zstop(){ difference(){ union(){ cube([mountsizex,mountsizey,mountsizez]); } translate([wallthickness,2*wallthickness+framethickness,wal...
glb/cad_265d467623fe.glb
Create a customizable guitar plectrum with a total height of 7mm. Start by forming the main body using a hull operation that connects three cylinders: one cylinder with a radius of 2.7mm at the tip, and two cylinders with a radius of 4.9mm positioned at the rear corners. The overall width of the shape should be 25mm an...
tip_radius=2.7; hip_radius=4.9; width=25; length=30; bevel=.95; tip_height=1; hole="yes"; hole_radius=2.7; resolution=64; height=7; $fn=resolution; rotate ([bevel, 0, 0]) translate ([0, 0, tip_height/2-height/2]) difference(){ hull (){ cylinder (r=tip_radius, h=height); translate ([-width/2+hip_radius, length-hip_r...
glb/cad_3e924054f001.glb
Create a flexible bracelet with a total length of 100mm and a width of approximately 28.57mm. The main body is a flat band with a base thickness of 0.3mm. Along the length of the band, create 16 equidistant thin slices, each 1mm wide, that are cut completely through the thickness of the material to allow for flexibilit...
T=0.3; wn=1; n=16; cw=4; tol=0.5; W=100/3.5; s=(100-W/2)/n; ol=2*s+wn; L=100-W/2+ol; echo(W/4-ol); x=cw/2+3/2*tol; module bracelet(){ union(){ difference(){ import_stl("wiggly.stl",convexity=2); for(i=[0:n]){ translate([L/2-wn/2-s*i,0,5+T])cube(size=[wn,50,10],center=true); } translate([50+L/2,0,0])cube(size=10...
glb/cad_901d6b76fe69.glb
Create a rectangular block with dimensions 80mm in width, 30mm in depth, and 50mm in height. From this main volume, remove the following geometric features: first, create a parallel nut catch for an M5 screw with a length of 5mm. Second, create a through-hole for an M8 screw with a length of 55mm, a clearance of 0.1mm,...
include <cyl_head_bolt.scad>; include <materials.scad>; difference() { translate([-15, -15, 0]) cube([80, 30, 50]); rotate([180,0,0]) nutcatch_parallel("M5", l=5); translate([0, 0, 50]) hole_through(name="M5", l=50+5, cl=0.1, h=10, hcl=0.4); translate([55, 0, 9]) nutcatch_sidecut("M8", l=100, clk=0.1, clh=0.1, cls...
glb/cad_83c33dd61a95.glb
Create a printable chain consisting of six identical interlocking links arranged in a single parallel row. Each link is based on a block with a total length of 17.5mm, a height of 7mm, and a width of 8mm. For each link, create a central body that combines a cylinder with a radius of 3.5mm and a height of 8mm, integra...
$fa=360/100; $fs=0.3; pieces=6; parallel=1; width=8; length=17.5; height=7; thickness=1.5; link_space=0.4; link_deep=2; link_degree=35; link_diameter_inside=height*0.9; link_diameter_outside=link_diameter_inside; flat_foot=true; rotate([90,0,0]) for(ii=[1:1:parallel]) for(i=[1:1:pieces]) translate([(length-heigh...
glb/cad_6a6828579652.glb
Create a Customizable Finger With Nail by constructing a hollowed-out fingertip cap. Start with a central cylinder that has an outer radius of 10.5mm, an inner radius of 9mm, and a height of 12.6mm, centered on the origin. To form the tip, create a spherical shell at the base of the cylinder. This shell should have a...
FINGER_DIAMETER = 18; $fn=100; union(){ difference(){ translate ([0,-FINGER_DIAMETER/4,-2*FINGER_DIAMETER/3])rotate([90,0,0]) difference(){ translate([0,0,0])scale([0.9,1.4,1])sphere(r=FINGER_DIAMETER*0.8); translate([0,0,FINGER_DIAMETER/2.5])scale([0.9,1.4,1])sphere(r=FINGER_DIAMETER); translate([-FINGER_DIAMETER*(...
glb/cad_7ee0d2bd9519.glb
Create a parametric probe holder for a Wade extruder with a thickness of 5mm. The main body is a flat plate with a complex profile. Start by creating a base shape that extends 30mm along the X-axis and approximately 42mm along the Y-axis. At the origin side, create a circular mounting point with an outer radius of 4....
$fn=50; inradius = 10; outradius = 20; lengthBigRing = 4; lengthSmaRing = 2.25; probediam = 18; tolerance = 0.5; thickness = 5; bolt_hole = 2.5; yoffset = 29 ; xoffset = 25; module cutter(r,height){ difference(){ cube([r+5,r+5,2.5*height]); cylinder(h=6*hei...
glb/cad_f3a8555960ad.glb
Create a ring for an Iris Box with an outer diameter of 80mm and a wall thickness of 10mm at the face. The ring has a height of 65mm and a base wall thickness of 2mm. The main body is a hollow cylinder with a central hole of 70mm in diameter. The ring features five equally spaced circular holes around its circumferen...
ring(); d=80; w1=10; w2=2; h=65; t=5; dp=3.1; dc=3.6; cw=2.7; hp=3; t1=10; n=40; $fs=0.5; $fa=6; x=(d/2-w1)/(d-w1); theta=acos(x); phi=90-theta; psi=72-theta-3*phi-90; d1=(d-w1)*sin(72-theta); k=(d/2-w1-d1)/(72-theta-3*phi); k1=(d/2-w1-d1)/(72-theta-3*phi+2*(90-72)); thetai=-d1/k-90; turn1=2*asin(d1/2/(d/2-w1/2)); tu...
glb/cad_ae7453f02949.glb
Create a seven-segment digital display plate. Start by creating a rectangular base plate with a thickness of 1mm, a width of 124mm, and a depth of 76mm. On top of this plate, construct three digital digits (the numbers 4, 6, and 6) using extruded segments with a height of 1mm. Each digit must be 38mm wide and 68mm de...
RenderDigitsPlate([4,6,6], 3, thickness=3, height=5); joinfactor = 0.01; gap = 4; digitwidth = 38; digitdepth = 68; fSevenSegment = [ [1,1,1,0,1,1,1], [0,0,1,0,0,1,0], [1,1,0,1,0,1,1], [1,0,1,1,0,1,1], [0,0,1,1,1,1,0], [1,0,1,1,1,0,1], [1,1,1,1,1,0,1], [0,0,1,0,0,1,1], [1,1,1,1,1,1,1], [...
glb/cad_5e3f4c92b5b0.glb
Create a Mishadroid figure by constructing the following geometric components: For the head, create a sphere with a radius of 35mm. Flatten the bottom by intersecting it with a cylinder of the same radius and a height of 35mm. Add two small antenna-like cylinders, each with a radius of 3mm and height of 20mm, protrudi...
use <write/Write.scad> parts_to_render = 6; Render_Quality = 24; text_height=7; text_font = "write/orbitron.dxf"; text1 = "This IS the droid"; text2 = "you are looking for"; text_shift = 0; Project_Size = 125; arm_r = 9*1; emboss_depth = 3*1; $fn = Render_Quality; leg_h = 25*1; scale_factor = 156*1; module b...
glb/cad_24375cd5178a.glb
Create a Z base printed clamp and spacer consisting of two mirrored halves. For each half, start with a central cylindrical bearing holder with a diameter of 24.6mm and a height of approximately 13.25mm. Inside this holder, create a concentric cylindrical socket for a bearing with a diameter of 22.6mm and a depth of 7m...
threaded_rod_diameter = 8.6; washer_diameter = 19; thin_wall = 2; smooth_bar_diameter = 8.4; clamp_size = 6; wedge_width = 2.5; bearing_diameter = 22.6; bearing_lower_clearance_diameter = 20; smooth_rod_distance = 30; frame_distance = 43; with_bearing_holder = 1; horiz_rod_spacing = (bearing_lower_clearance_diamet...
glb/cad_5296ef87ae82.glb
Create a Car Panel by starting with a rectangular base plate measuring 117mm wide, 33mm high, and 1mm thick. Cut four screw holes through the base: place one at each corner, offset 5mm from the left/right edges and 6mm from the top/bottom edges. Each hole consists of a 2mm diameter cylinder with a 4mm diameter counte...
panelWidth = 117; panelHeight = 33; panelThick = 1; coverThick = 2.0; coverDepth = 20; panelScrewHoleDia = 2; panelScrewHoleSinkDepth = 0.5; panelScrewHoleSinkDia = 4; panelScrewHoleBorderLeft = 5; panelScrewHoleBorderTop = 6; plugUsbWidth = 15; plugUsbHeight = 16; plugUsbLeft = 7; plug12VDiameter = 23; plug12VRigh...
glb/cad_3ed43a61784c.glb
Create a Hobbing Jig consisting of a faceted disc with a central hole. Start with a primary cylinder 80mm in diameter and 15mm high, using 16 facets to create a polygonal profile. Remove a central cylindrical hole with a diameter of 8mm. Within the disc, create a recessed inner section by removing a concentric cylinde...
blade_width = 1; blade_depth = 2; blade_edge_depth = 7; blade_edge_length = 10; blade_edge_factor = 2; disc_size = 80; disc_outer_height = 15; disc_inner_height = 10; disc_outer_width = 5; bolt_dia = 8; nut_height = 5; num_divisions = 16; use_strait_edges = true; use_single_guide = false; start_mark = true; module...
glb/cad_83264fcd5ed2.glb
Create a Magic Card Box consisting of a main container and a lid. The main container is a hollow rectangular prism with a wall thickness of 2mm. The interior cavity is designed to hold 100 cards, each 0.6mm thick, with a total interior width of 67mm and height of 92mm. To ensure a proper fit, add a seal gap of 0.1mm to...
include <write.scad> readyToPrint=1; symboleFile="red.dxf"; symboleScale=1.75; bottomText="Bottom Text"; bottomTextHeight=6; bottomOffset=2; topText="Top Text"; topTextHeight=6; topOffset=2; innerBoxHeight=bottomHalfHeight; lidFrontBackText="Lid Side"; lidFrontBackTextHeight=6; lidTopText="Lid Top"; lidTopTextSiz...
glb/cad_f77050d7fc7c.glb
Create a set of two herringbone gears for a TechZone Huxley extruder. First, construct a large extruder gear with 67 teeth, a circular pitch of 320, and a pressure angle of 30 degrees. The gear should have a total height of 10mm, with a bore diameter of 8.2mm. Integrate a washer-like feature on the face of the gear c...
include <MCAD/teardrop.scad> include <MCAD/involute_gears.scad> module herringbone_gear( teeth=12, circles=0, shaft=5 ) { twist=200; height=10; pressure_angle=30; gear( number_of_teeth=teeth, circular_pitch=320, pressure_angle=pressure_angle, clearance = 0.2, gear_thickness = height/2, rim_thi...
glb/cad_43c4844f5a83.glb
Create a Field Notes Clip for a Blackwing 602 pencil. Start by constructing a main body consisting of two parallel rectangular blocks, each 3mm wide, 35mm long, and 38mm high, positioned 7.5mm apart from center to center. Connect these blocks with a central cylinder that has a radius of 7.1mm and a height of 38mm. From...
include <MCAD/shapes.scad> pencilRadius = 4.1; wallThickness = 3; pencilWall = pencilRadius + wallThickness; height = 38; length = 35; difference() { union() { cylinder(height,pencilWall,pencilWall,true); translate([-3.75,-length/2,0]) cube([wallThickness,length,height],true); translate([3.75,-length/2,0]) cube([wallT...
glb/cad_96147aac9d60.glb
Create a CAT5e cable nameplate by starting with a rectangular base that is 8mm wide, 25mm long, and 1.2mm thick. To allow for cable tie attachment, remove four small rectangular notches from the base. Each notch must measure 1.5mm wide, 3mm long, and 1.2mm deep. Position two notches along the left edge and two along th...
$fa=3.6; $fs=0.2; difference(){ cube([8,25,1.2]); color("red") { translate([0,3,0]) cube([1.5,3,1.2]); translate([0,19,0]) cube([1.5,3,1.2]); translate([6.5,3,0]) cube([1.5,3,1.2]); translate([6.5,19,0]) cube([1.5,3,1.2]); } }
glb/cad_edf72691bcfd.glb
Create a 3.5" to 5.25" Drive Bay Mounting Kit Bracket Adapter. Construct a chassis with an outer frame measuring 146.05mm wide, 147mm long, and 41.53mm high, with walls 2.5mm thick. Inside this, center a smaller inner frame measuring 101.6mm wide, 147mm long, and 25.4mm high. Connect these two frames using horizontal s...
tb=5; sf=0.006; h3=25.4; w3=101.6*(1+sf); l3=147*(1+sf); h5=41.53; w5=146.05*(1+sf); l5=l3; th=2.5; lift=(h5-h3)/2; ho1l5=47.4*(1+sf); ho2l5=79.25*(1+sf)+ho1l5; ho1h5=10; ho2h5=21.84; ho1l3=25*(1+sf); ho2l3=85*(1+sf); ho3l3=115*(1+sf); hoh3=5; rod=3; d5=1.5; d5s=3.5; d5sl=8; d3=1.5; sd=5; f=30; difference() { ...
glb/cad_6ca90393acf6.glb
Create a 3.5" to 5.25" drive bay mounting kit bracket adapter. Start by creating a rectangular bezel plate measuring 42.3mm in height, 148mm in width, and 5mm in thickness. Cut a central rectangular hole through this plate that is 26.1mm high and 102.3mm wide. To create the frame, leave a wall thickness of 1.75mm aroun...
sf=0.006; tb=5; h3=26.1*(1+sf); w3=102.3*(1+sf); hb5=42.3*(1+sf); wb5=148*(1+sf); f=30; wt=1.75; difference() { union() { translate([0,0,tb/2]) cube([hb5,wb5,tb], center=true); } translate([0,0,tb/2]) cube([h3,w3,tb+2], center=true); translate([0,0,tb/2+wt]) cube...
glb/cad_fdf6aff8c236.glb
Create a pen plotter adapter consisting of a rectangular base and a vertical mounting tab. Start with a rectangular block 85.5mm long, 15mm wide, and 6mm thick. At one end of this block, add a vertical tab that is 4.5mm thick, 15mm wide, and 25mm tall, forming an L-shape. Remove several cylindrical holes from the mai...
$fn=20; length = 85.5; width = 15; thickness = 6; screwRadius = 1.5; penholder(); module penholder() { hullThickness = 4.5; hull() { translate([length-hullThickness, 0, thickness]) cube(size=[hullThickness,width,1]); translate([length-hullThickness,0,thickness+20]) cube(size=[hullThic...
glb/cad_5252eaffe372.glb
Create a Radiator Fan mount consisting of a central fan frame and two symmetrical side supports. First, construct the fan frame as a rectangular mounting plate 80mm wide and 25mm thick. On this plate, place four screw holes with a radius of 2mm, positioned 4mm from the corners. The frame should include two outer moun...
$fn=100; thickness = 3; fanDiameter=80; fanRadius = fanDiameter / 2; fanThickness=25; screwHoleOffset=4; screwHoleRadius=2; A4Length=297; supportLength=210; supportWidth=fanThickness+thickness*2; sideWidth=(A4Length-supportLength)/2; tabWidth=8; mountSize = screwHoleOffset*2+2; printableView(); module fittedView() {...
glb/cad_50dbc8879030.glb
Create an RC Plane Hinge consisting of two identical plates connected by a central hinge mechanism. Each plate is a rectangular block measuring 15mm in width, 15mm in length, and 1.5mm in thickness. On each plate, create four circular glue holes with a diameter of 3mm, positioned symmetrically at the corners: two holes...
plate_width=15; plate_length=15; plate_thickness=1.5; pin_diameter=1; pin_surround=2.5; glue_hole_diameter=3; hinge_radius=(pin_diameter+(pin_surround*2))/2; hinge_thickness=plate_width/3; $fa=.5; $fs=.5; module base(){ cube([plate_width,plate_length,plate_thickness]);} module glue_holes(){ translate([plate_width/4...
glb/cad_243efa4ed767.glb
Create a Tikal temple model consisting of a series of stacked, interlocking layers. Each layer is a rectangular block with a height of 4.5mm, a base width of 45mm, and a base depth of 40mm. Construct the temple by stacking 10 layers. For layers 1 through 9, each subsequent layer must shrink in width and depth by 3.15...
part = "temple"; piece_height=4.5; piece_width=45; piece_depth=40; shrink_factor=.07; stairs_per_piece=3; small_corner=.92; large_corner=.85; stair_width_percent=.3; interlockdistance=.9; use <write/Write.scad> fontfilename="Letters.dxf"; startstufe=1; endstufe=10; anzahlstufen=endstufe-startstufe; tempelh...
glb/cad_151be56b282b.glb
Create a K8400 Vertex bottom dual fan duct consisting of a base plate and two symmetrical air ducts. Start with a base plate that features a complex profile: create a series of connected hulls using cylinders of 7mm and 3.5mm diameters with a height of 5mm, positioned to form a mounting footprint. Subtract a central ...
right_side = 1; left_side = 1; guard = 1; print_in_one = 1; $fa = 5; $fn = 360 / $fa; module base() { union() { difference() { hull() { translate([8,8]) cylinder(h= 5, d=7); cylinder(h= 5, d=7); } cylinder(h= 5.0, d=3.5); } hull() { tra...
glb/cad_098250682a9d.glb