Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Z-axis bearing mount for a K8200 3D printer. Start with a main cylindrical body that has a radius of 25mm and a height of 35mm. From the center of this cylinder, remove a vertical cylindrical hole with a radius of 11.3mm and a height of 25mm, and a larger concentric hole with a radius of 9.3mm that extends 8mm...
difference () { union () { color("orange") translate([0,52,0]) rotate([0,0,0]) cylinder(h=35,r=25, $fn=100); color("lime") linear_extrude(height = 35, slices = 800) { polygon([ [14,0],[25,0],[25,50.5],[10,70],[-10,70],[-25,50.5],[-25,0],[-14,0], [-14,5.65],[-12.8,5.65],[-12.8,7.6],[-11.6,7.6], [-11.6,20],...
glb/cad_36ea392d7d48.glb
Create a K8200 Velleman upgrade part with a total height of 10mm. Start by constructing a base plate using a complex 2D polygon profile extruded to 10mm, defined by the vertices: [-24,22.6], [-24,-7], [-19,-7], [-19,-12], [19,-12], [19,-7], [24,-7], [24,22.6], [19,22.6], [19,27.6], [15.8,27.6], [15.8,25.6], [13.8,25.6]...
difference () { union () { color("lime") linear_extrude(height = 10, slices = 96) { polygon([ [-24,22.6],[-24,-7],[-19,-7],[-19,-12],[19,-12],[19,-7],[24,-7], [24,22.6],[19,22.6],[19,27.6],[15.8,27.6],[15.8,25.6],[13.8,25.6], [13.8,21.95],[12.65,21.95],[12.65,20],[11.4,20],[11.4,7.6],[12.65,7.6],[12.65,5.65...
glb/cad_59964d9a6ac5.glb
Create a belt tensioner bracket for a K8200 3D printer X-axis. Start with a base plate 11mm thick, defined by a complex polygon with vertices at [-24, 22.6], [-24, -10], [-19, -10], [-19, -15], [45, -15], [45, -7], [53, -7], [53, 11.6], [45, 11.6], [45, 18.6], [29, 18.6], [29, 24.6], [24, 23.6], [24, 25.6], [22, 25.6],...
difference () { union () { color("lime") linear_extrude(height = 11, slices = 96) { polygon([ [-24,22.6],[-24,-10],[-19,-10],[-19,-15],[45,-15],[45,-7],[53,-7], [53,11.6],[45,11.6],[45,18.6],[29,18.6],[29,24.6],[24,23.6],[24,25.6], [22,25.6],[22,27.6],[15.8,27.6],[15.8,25.6],[13.8,25.6],[13.8,21.95],[12.65,...
glb/cad_9a3944bf880d.glb
Create a Z-axis zero switch screw holder by starting with a rectangular block measuring 20mm in length, 14mm in width, and 8mm in height, centered on the origin. Remove a vertical cylindrical hole with a diameter of 4.2mm that passes completely through the top and bottom faces, positioned 3mm from the center along the ...
difference () { cube ([20,14,8],center=true); color ("red") translate ([3,0,0]) cylinder (40,2.15,2.1,center=true, $fn = 60 ); color ("blue") rotate ([90,0,0]) translate ([-3,-0.5,0]) cylinder (40,1.25,1.1,center=true, $fn = 40); } color ("lime") translate ([-7,0,-5]) cylinder (4,2.15,2,center=true, $fn = 40);
glb/cad_115c5c7e6a0f.glb
Create a K8200 X-axis belt tensioner bracket with a total height of 24mm. The main body is defined by a complex 2D profile extruded to this height, featuring a footprint that extends from -24mm to 53mm on the X-axis and -15mm to 27.6mm on the Y-axis. Integrate several cylindrical features into this body: add two larg...
difference () { union () { color("lime") linear_extrude(height = 24, slices = 96) { polygon([ [-24,22.6],[-24,-10],[-19,-10],[-19,-15],[45,-15],[45,-7],[53,-7], [53,11.6],[45,11.6],[45,18.6],[29,18.6],[29,24.6],[24,23.6],[24,25.6], [22,25.6],[22,27.6],[15.8,27.6],[15.8,25.6],[13.8,25.6],[13.8,21.95],[12.65,...
glb/cad_d961e4d339d8.glb
Create a rectangular frame for a K8200 3D printer upgrade by starting with a solid rectangular block that is 28mm wide, 30mm deep, and 6mm high. Center a smaller rectangular hole through the middle of this block to create a hollow opening. This interior cutout must be 18mm wide, 13mm deep, and 7.5mm high, ensuring it p...
difference () { color ("blue") rotate ([0,0,0]) translate ([0,0,0]) cube ([28,30,6],center=true); color ("red") rotate ([0,0,0]) translate ([0,0,0]) cube ([18,13,7.5],center=true); }
glb/cad_71f77078b29d.glb
Create a Z-axis nut mount for a 3D printer by starting with a central rectangular block measuring 56mm wide, 34mm deep, and 40mm high. Center this block on the origin. From this main body, remove a smaller rectangular volume measuring 28.4mm wide, 90mm deep, and 6.5mm high, positioned at a center offset of 0mm X, -10mm...
difference () { color ("red") rotate ([0,0,0]) translate ([0,0,-3]) cube ([56,34,40],center=true); color ("lime") rotate ([0,0,0]) translate ([0,-10,1]) cube ([28.4,90,6.5],center=true); color ("blue") rotate ([0,0,0]) translate ([0,1,0]) cylinder (r=5, h=80, $fn=96, center=true); color ("black") rotate ([90,0,0]) ...
glb/cad_c6a613b293bd.glb
Create a belt tensioner for a 3D printer Y-axis. Start with a rectangular base block measuring 35mm in length, 22mm in width, and 19mm in height. Add a semi-cylindrical rounded top to the block with a radius of 11mm, centered along the width, extending across the 35mm length. Carve out a central rectangular channel f...
difference () { union () { color("lime") translate([0,0,0]) rotate([0,0,0]) cube([35,22,19]); color("red") translate([0,11,19]) rotate([0,90,0]) cylinder(h=35,r=11, $fn=80); } color("orange") translate([11,-2,8]) rotate([0,0,0]) cube([13,30,30]); color("red") translate([-1,11,19]) rotate([0,90,0]) cyli...
glb/cad_d4a060a23686.glb
Create a cable protector and endstop screw holder for a K8200 3D printer. Start with a main body consisting of a cylinder with a diameter of 54mm and a height of 12mm, centered on the origin. From this cylinder, remove a central rectangular block measuring 25mm wide, 20mm deep, and 40mm high, and a second rectangular b...
difference () { color ("blue") rotate ([0,0,0]) translate ([0,0,0]) cylinder (12,54,54,center=true, $fn=96); color ("red") rotate ([0,0,0]) translate ([-7.5,29.5,0]) cube ([25,20,40],center=true); color ("yellow") rotate ([0,0,0]) translate ([-3,43,0]) cube ([16,10,42],center=true); color ("lime") rotate ([0,0,0]) ...
glb/cad_08bca5b7803d.glb
Create a horizontal phone stand by constructing two symmetrical support arms connected by a base. Each arm is formed by a cylinder with a radius of 7mm and a height of 20mm. Cap the ends of these cylinders with spheres of the same 7mm radius. Position these two vertical pillars 11.3mm apart, centered on the X-axis. Co...
lscreen=100; angle=10; tstand=7; hstand=20; lphone=150; wphone=68; function cg(tphone)=(wphone/2+tstand+tphone/2*sin(angle))*sin(angle); lfoot=50; stand(11.3); module phone(tphone){ rotate([0,angle,0]) translate([0,0,wphone/2+tstand+tphone/2*sin(angle)]) cube([tphone,lphone,wphone],center=true); } module vertical(t...
glb/cad_c8681afb7db3.glb
Create a bezel for a 0.96" OLED display. Start with a main outer box that is 33mm wide, 33mm deep, and 8mm high. Hollow out the center to create a rectangular frame with a wall thickness of 2.5mm. On the front face, create a rectangular window opening that is 25mm wide and 14.5mm high, positioned so that there is a 7...
$fn=20; CLEARANCE=0.3; WALL_THICKNESS=2.5; OLED_XLENGTH=27.6 + CLEARANCE; OLED_YLENGTH=27.8 + CLEARANCE; OLED_XLEN_VISIBLE=25; OLED_YLEN_VISIBLE=14.5; OLED_FromTopToVisible=5.0+WALL_THICKNESS; OLED_R=1; WALL_FRONT=1; OUTER_LENGTH=WALL_THICKNESS*2 + 28; EDGE_SIZE=4; EDGE_ZLEN=1.9; EDGE_PinHeight=0; BOX_ZLENGTH=8; R_...
glb/cad_d2cdc72bd775.glb
Create a PSU mounting bracket with a symmetrical, winged design. The main body consists of a central rectangular section 10mm wide, 10mm high, and 6mm thick, with rounded edges of 1.5mm. Extending from this center are two symmetrical arms that angle outwards at 45 degrees and then flatten into outer wings. The total d...
psu_mount_hole_distance = 50; psu_mount_hole_d = 4; frame_mount_hole_d = 5; extra_hole_d_tenth = 3; middle_piece_width = 10; middle_piece_height = 10; bracket_width = 12; rill_width = 5; extra_rill_width_tenth = 7; rill_height = 2; rill_round_edge = 1; bracket_round_edge = 1.5; bracket_height = 6; bracket_length_beyon...
glb/cad_e8bac3a207ca.glb
Create a superhero bracelet by constructing a thick, open-ended elliptical ring. The inner dimensions of the ring should be 65mm wide and approximately 55mm high. The walls of the bracelet vary in thickness, with the top section being 5mm thick and the bottom section being 3mm thick. The overall outer dimensions are a...
use <utils/build_plate.scad> use<Write.scad> include <write/Write.scad> $fn=100*1; bracelet_size = 65; inscription = "Best Friends!"; emboss_or_engrave = 1; font = "write/knewave.dxf"; font_height = 10; font_depth = 2; bottom_style = 1; top_surface_width_in_millimeters = 20; bottom_surface_width = 0.25; top_...
glb/cad_6f65c1f4660a.glb
Create a Porsche 968 LED brake light holder. Start with a base plate measuring 270mm wide by 30mm deep with a total height of 13mm. The base should feature a central cutout and two larger circular openings on either side, each with a diameter of 22mm. Along the top surface, integrate four identical LED blocks. Each bl...
width = 270; rwidth = 215; depth = 30; step = 68.5; leds = 9; led_dist = 2.54*2; led_h = 5.0; led_f = 1.0; led_a = 8.0; post_d = 22.0; height = 13.0; wall = 1.3; tol = 0.2; d = 0.5; module led_block() { translate([0,7.0,wall/2]) rotate([led_a, 0, 0]) translate([-leds*led_dist/2,0,0]) { difference() ...
glb/cad_574ee8c2a98a.glb
Create a Porsche 968 LED brake light holder. Start with a base platform that is 270mm wide, 30mm deep, and 13mm high. The base is a flat plate with a wall thickness of 1.3mm. On the top surface of the platform, create four identical LED blocks. Each block consists of a row of 9 circular holes, each 5.08mm in diameter,...
width = 270; rwidth = 215; depth = 30; step = 69.0; leds = 9; led_dist = 2.54*2; led_h = 5.0; led_f = 1.0; led_a = 10.0; post_d = 22.5; post_d2 = post_d - 1.5; height = 13.0; wall = 1.3; tol = 0.2; d = 0.5; module led_block() { translate([0,9.1,wall/2]) rotate([led_a, 0, 0]) translate([-leds*led_dist/2,0,0]...
glb/cad_4a6dd5b03b03.glb
Create a magnet and ball holder for a Rostock effector. Start with a central cylinder that has a radius of 6mm and a height of 8mm, centered on the origin. Merge this with a centered rectangular block measuring 12mm wide, 10mm deep, and 8mm high. From this combined solid, remove a vertical cylindrical hole with a radiu...
difference() { union() { cylinder(r=6, h=8, center=true, $fn=64); translate([0,5,0]) cube([12,10,8], center=true); } rotate([0,90,0]) translate([0,6,0]) cylinder(r=1.5, h=12, center=true, $fn=64); rotate([-23,0,0]) translate([0,2,0]) cylinder(r=2, h=13, center=true, $fn=64); rotate([-23,0,0]) transl...
glb/cad_b4bdbb3dd89b.glb
Create a magnetic holder for a Rostock effector. Start with a central cylindrical body that has a radius of 7mm and a height of 3mm, centered on the origin. Remove a smaller concentric cylinder from the center with a radius of 6.25mm and a height of 3mm. To the top of this cylinder, add a conical transition piece tha...
h = 7; r = h/2 / cos(30); module stumpy() { rotate([0, 90, 0]) rotate([0, 0, 30]) intersection() { cylinder(r=r, h=8, center=true, $fn=6); sphere(r=5.1, $fn=24); } } module maghold() { difference() { cylinder(r=7, h=3, center=true, $fn=24); translate([0,0,1])cylinder(r=6.25, h=3, center=true, $f...
glb/cad_58c79bfca9b1.glb
Create a magnetic holder for a Rostock effector. Start with a central cylinder 18mm in diameter and 3mm high, and remove a concentric cylindrical hole 16.4mm in diameter and 3mm deep from the center. To this base, add a conical transition section that flares from a 4mm diameter circle at the bottom to a 18mm diameter c...
h = 7; r = h/2 / cos(30); module stumpy() { rotate([0, 90, 0]) rotate([0, 0, 30]) intersection() { cylinder(r=r, h=8, center=true, $fn=6); sphere(r=5.1, $fn=24); } } module maghold() { difference() { cylinder(r=9, h=3, center=true, $fn=24); translate([0,0,1])cylinder(r=8.2, h=3, center=true, $fn...
glb/cad_d234878934ad.glb
Create a radius gauge tool with a thickness of 2mm. The base geometry is a complex flat plate featuring five distinct gauging edges based on a specific radius (for a 9/32" gauge, the radius is 7.125mm). First, create a 180-degree convex edge by forming a semi-circle with the specified radius. Add a 90-degree convex e...
RadiusNumerator = 9; RadiusDenominator = 32; number = RadiusNumerator; unit = str("/",RadiusDenominator,"in"); scale = 25.4/RadiusDenominator; Thickness = 2; TextDepth = 1; HoleDiameter = 8; CurveResolution = 180; radius = number * scale; diameter = radius * 2; minimumWidth = .75 * 25.4; width = max(diameter, min...
glb/cad_66bc3862c0dd.glb
Create a metric radius gauge with a thickness of 2mm. The tool is based on a primary radius of 10mm. Construct the main body by combining a central square and circular elements to create five distinct gauging surfaces: a 90-degree convex curve, a 180-degree convex curve, and concave curves of 45, 90, and 180 degrees....
Radius = 10; number = Radius; unit = "mm"; scale = 1; Thickness = 2; TextDepth = 1; HoleDiameter = 8; CurveResolution = 180; radius = number * scale; diameter = radius * 2; minimumWidth = .75 * 25.4; width = max(diameter, minimumWidth); holeRadius = HoleDiameter/2; holeOffset = max( radius - sqrt(pow(radius-2*ho...
glb/cad_b4765c896ff9.glb
Create a radius gauge tool with a thickness of 2mm. The geometry is based on a radius of 7.17375mm (calculated as 9/32 inches scaled by 25.4). Construct the main body by combining a central square and circular elements to create a series of gauging edges. Include a 90-degree convex arc and a 180-degree convex arc, as...
RadiusNumerator = 9; RadiusDenominator = 32; number = RadiusNumerator; unit = str("/",RadiusDenominator,"in"); scale = 25.4/RadiusDenominator; Thickness = 2; TextDepth = 1; HoleDiameter = 8; CurveResolution = 180; radius = number * scale; diameter = radius * 2; minimumWidth = .75 * 25.4; width = max(diameter, min...
glb/cad_66bc3862c0dd.glb
Create a Painters Pyramid by starting with a thin circular base disk with a radius of 15mm and a height of 1mm. From the center of this base, construct three identical vertical fins that radiate outwards. Each fin is formed by a triangle with a base of 30mm and a height of 15mm, extruded to a thickness of 1mm. Position...
plane(); rotate([0,0,60]) plane(); rotate([0,0,120]) plane(); translate([0,0,-1]) cylinder(h=1, r=15); module plane() { width=1; difference() { translate([width/2,0]) rotate([0,-90]) linear_extrude(height=width) polygon([[0,-15], [0,15], [30,0]]); translate([0,0,33.25]...
glb/cad_6498ee1b6706.glb
Create a Snoot for Flashguns mount by constructing a rectangular prism with a width of 45mm, a height of 45mm, and a depth of 25mm. To this main body, add two smaller rectangular tabs, each measuring 5mm by 5mm by 25mm. Position the first tab so it extends from the back of the main body, starting at a vertical offset o...
include <dimensions.scad>; tab_size = 5; translate([0, 0, _t]) magnet_surface(); y_sz = tab_size + _t + _magnet_t; cube([y_sz, _od_h, _t]); translate([0, -_t, 0]) cube([y_sz, _t, _t + _od_z]); translate([0, _od_h, 0]) cube([y_sz, _t, _t + _od_z]);
glb/cad_e82e5866e97c.glb
Create a Snoot for Flashguns mount by constructing a rectangular prism with a width of 54mm, a height of 40mm, and a depth of 10mm. Centered on the top face of this prism, create a recessed rectangular area that is 44mm wide and 40mm high, with a depth of 2mm. Within this recessed area, place two circular holes for mag...
include <dimensions.scad>; translate([0, 0, _t]) magnet_surface(); cube([_od_w/2 + _t + 2*_magnet_t, _od_h, _t]);
glb/cad_7efcf1516ef2.glb
Create a flashgun snoot mount by constructing a rectangular block with dimensions 44mm wide, 40mm high, and 20mm deep. Within this main body, carve out a central rectangular void that is 36mm wide, 30mm high, and 10mm deep, leaving a wall thickness of 4mm on the sides and 5mm on the top and bottom. To accommodate magne...
include <dimensions.scad>; difference(){ union(){ translate([0, 0, _t]) magnet_surface(); translate([_od_w + _t*2 + 4*_magnet_t, _od_h, _t]) rotate([0, 0, 180]) magnet_surface(); translate([0, _od_h, _t]) cube([_od_w + _t*2 + 4*_magnet_t, _t, _od_z/2]); } translate([-1, 0, 0]) rotate([22, 0, 0]...
glb/cad_372a181bd24e.glb
Create a Snoot for Flashguns mount by constructing a rectangular prism with dimensions of 46mm in width, 46mm in height, and 10mm in depth. To this main body, add a flat rectangular plate with a thickness of 2mm that extends across the top surface. On the underside of this plate, carve a series of vertical rectangular ...
include <dimensions.scad>; translate([0, 0, _t]) magnet_surface(); slit_w = 1; slit_m = 1; difference() { cube([_od_w + _t + _magnet_t, _od_h, _t]); for(i = [1:(slit_w + slit_m):_od_w - (slit_w + slit_m)]) { translate([i + _t + _magnet_t, _t, -1]) cube([slit_w, _od_h - 2*_t, _t + 2]); } }
glb/cad_accf55ba1fb0.glb
Create two identical truncated cones, each with a height of 30mm. For both cones, set the radius of the bottom circular base to 21mm and the radius of the top circular face to 11mm. Position the two cones side-by-side on a flat plane, with the second cone centered 30mm away from the first along the x-axis. Ensure the g...
bottom = 20; top = 10; depth = 30; broken = 1.00; working = 1.0; broken1 = bottom + broken; broken2 = top + broken; working1 = bottom + working; working2 = top + working; cylinder(r1=broken1, r2=broken2, h = depth); translate([30,0,0]) cylinder(r1=working1, r2=working2, h = depth);
glb/cad_88b29e0bc795.glb
Create a 3D model of a threaded rod for the Open Millifluidic Inquiry System. The model consists of a single long cylinder with a diameter of 8mm and a total length of 140mm. The cylinder should be constructed with a 20-facet resolution, giving it a slightly polygonal rather than perfectly smooth circular cross-section...
include <sp_global.scad>; use <sp_carriage.scad>; use <sp_idler.scad>; use <sp_motor_assembly.scad>; color(color2) translate([-10,0,0]+trodPosition) rotate(90,[0,1,0]) cylinder(d=trod[boltDiameter],h=140,$fn=20); color(color3) for(i = [-1,1] ) { translate(trodPosition+vp([1,i,1], rodDisplacement)) ro...
glb/cad_31d28a4b02fc.glb
Create a syringe brace for the Open Millifluidic Inquiry System. Start by constructing a central rectangular base block with dimensions of 49mm x 200mm x 50mm. On the sides of this base, integrate two rod clamps positioned symmetrically. Within the base, create a central longitudinal hole with a diameter of 10mm to a...
include <sp_global.scad>; use <MCAD/2dshapes.scad>; print_mode = true; module wholeSyringeHolder(){ linear_extrude(syringe[length]) { donutSlice( syringe[diameter]/2, syringe[diameter]/2 + syringe[thickness],0,360,$fn=100 ); for(i=[0,1]){ mir...
glb/cad_f55137710047.glb
Create an autotitrator motor assembly consisting of a base plate and a compound gear train. Start with a rectangular base plate of dimensions 60mm x 40mm x 10mm. Subtract a central rectangular cutout measuring 31.5mm x 21mm x 200mm and a cylindrical hole with a diameter of 17mm and height of 66mm centered on the plate....
include <sp_global.scad>; use <MCAD/involute_gears.scad>; print_mode = false; pitchRadius = [5.8333, 17.5, 4, 20]; gearboxSupport = [ [0,0.4*baseDim[y],0.8*baseDim[z]], [0,-0.4*baseDim[y],0.8*baseDim[z]], [0,0, trodPosition[z]+pitchRadius[2]+pitchRadius[3]]]; module b...
glb/cad_48ae3df33345.glb
Create a rectangular block for the Open Millifluidic Inquiry System with overall dimensions of 23mm in width, 30mm in depth, and 3mm in height. Within this block, carve out a network of interconnected channels, each with a diameter of 2mm. The network begins with a vertical channel 10.05mm long, positioned 1.5mm from...
base = 0.5; edge = 1.5; cd = 2; cr = cd/2; dx = 20+2*edge+cd; dy = 30; dz = 2*base+cd; $design = true; y = [-1,0,0]; x = [0,1,0]; module c(h1=1, dir=x) {rotate(90,dir)cylinder(d=cd,h=h1,$fn=10);} module s() {sphere(d=cd,$fa=5,$fs=0.2);} module channels() { translate([edge+cr,-0.05,base+cr])c(10.05,y); trans...
glb/cad_1a4fdeae5243.glb
Create a millifluidic device consisting of a rectangular base block measuring 28mm by 19mm with a height of 1.7mm. Within this block, carve four rectangular channels. Two channels are 20mm long with a horizontal width of 1.6mm and a vertical height of 1mm, positioned at [0, 0] and [0, 10] and extending along the x-ax...
$design = true; $tol = 0.01; cv = 1; ch = 1.6; pr = 0.96; pt = 0.8; ph = 3; baseDim = [28,19,0.7+cv]; channels = [ [ [0,0], ch, cv, 20, true ], [ [0,10], ch, cv, 20, true ], [ [20,-ch/2], ch, cv, 10+ch, false ], [ [10,0], ch, cv, 6, false ] ]; ports = [ [ 0.5, 0 ], [ 10., 5.5 ], [ 0.5, ...
glb/cad_63b735aff7fe.glb
Create a bike handlebar mount for Garmin eTrex GPS devices. The device consists of a hinged clamp designed to fit a handlebar with a diameter of 25.2mm. Construct the main body as a rectangular frame with a width of 20mm and a height of 49mm. Create a central cylindrical cavity with a radius of 12.6mm to accommodate ...
$fn = 60; module arc(r1,r2,h,a1=0,a2=0){ if(a2-a1<=180){ difference(){ cylinder(r=r2,h=h); translate([0,0,-1])cylinder(r=r1,h=h+2); rotate(a2)translate([-r1-r2,0,-1])cube([2*(r1+r2),2*(r1+r2),h+2]); rotate(a1+180)translate([-r1-r2,0,-1])cube([2*(r1+r2),2*(r1+r2)...
glb/cad_640fda34265d.glb
Create a Broom Stick Thread replacement plug consisting of a threaded screw top and a hollow cylindrical base. First, construct the base as a hollow cylinder with an outer diameter of 29mm and a wall thickness of 2.5mm, extending to a total height of 27.5mm. The interior should be a void with a diameter of 24mm and a...
ThreadThick = 0.25; ThreadWidth = 2.0 * ThreadThick; HoleWindage = 0.2; function IntegerMultiple(Size,Unit) = Unit * ceil(Size / Unit); Protrusion = 0.1; PI = 3.14159265358979; WallThickness=2.5; PostOD = 24; PostLength = 25.0; PitchDia = 15.5; ScrewLength = 20.0; ThreadFormOD = 2.5; ThreadPitch = 5.0; OALengt...
glb/cad_28fb67590de2.glb
Create a finger-test hinge plug. Start by creating a central cylinder with a diameter of 7.0mm and a height of 1.8mm, centered on the origin. Add a slight bulge to the center of this cylinder by merging it with a sphere that has a diameter of 7.0mm and is scaled to a height of 2.4mm. To create the internal cavity, remo...
hinge_side_clearance = .35; hinge_plug_clearance = -.25; hinge_pin_radius = 1.08; hinge_pin_clearance = 6.75; hinge_nut_thickness = 1.5; hinge_bend_padding = .25 ; hinge_pin_clearance = 6.75; hinge_nut_thickness = 1.5; hinge_plug_thickness = 1.8; hinge_nut_width = 4.5; hinge_nut_sides = 80 ; hinge_end_clearance = 1; hi...
glb/cad_be778200e186.glb
Create a finger-test prosthetic assembly consisting of a socket, a base, a middle segment, and a tip section. First, create the finger socket. Construct a tapered hollow cylinder with a bottom diameter of 20.5mm and a top diameter of 17.25mm, with a depth of 34mm at the top and 25mm at the bottom. Incorporate scallope...
test=0*1; preview = 0; part = 9; knuckles = 2; rotatetest = 67; explode = 0; socket_width_bottom = 20.5; socket_width_top = 17.25; socket_depth_top = 34; socket_depth = socket_depth_top; socket_depth_bottom = 25; socket_depth_scallop = 21; tip_length = 24.5; middle_section_length = 31; base_extra_length = ...
glb/cad_fdc223b0a6a5.glb
Create a Parametric Coupling Holder by starting with a central cylinder that has a total height of 42mm and a radius of 16.5mm. From this main body, remove a central cylindrical cavity that is 35.5mm high with a radius of 13.25mm to house the coupling. To allow the coupling to slide in, create a rectangular cutout thro...
height_inner=34; shell_top_bottom=4; diameter_inner=25; shell_thicknes=4; top_hole_diameter=6; bottom_hole_diameter=9; inner_extra_space=0.75; back_offset = 2-inner_extra_space; module coupling_case(){ difference(){ cylinder(h = height_inner+shell_top_bottom*2, r=diameter_inner/2+shell_thicknes,center = tru...
glb/cad_99456abaa0d2.glb
Create a Card Stand consisting of two identical cylindrical components, each with a radius of 9mm and a total height of 14.5mm. Each component is a cylinder with a 30-facet resolution. For each piece, carve a slot through the center to hold a card. This slot is 1.1mm wide and 2.5mm deep, starting from the top surface ...
height_clamp = 12; height_platform = 2.5; height_total = height_clamp+height_platform; radius = 9; gap=1.1; adjust=0.01; completeStand(); module completeStand(){ basePart(); translate([radius*1.5,0,0]) topPart(); } module basePart(){ difference(){ baseCylinder(); translate([-gap/2,0,height_platform]) cutte...
glb/cad_f42a663758a1.glb
Create an axis rod end cap consisting of a base and a removable slider. First, create the base as a rounded rectangular block with dimensions 28mm wide, 28mm long, and 6mm thick, with corner radii of 2mm. In the center of the base, create a vertical hole with a diameter of 10.16mm (3/8 inch plus allowance) to accommo...
fit = 1.02; a = 0.5; rd = ( 3 / 8 ) * 25.4; l = 28; t = 6; sp = 20; sd = 3; cd = 6; sw = rd + 4*a; $fn = 50; module roundedBox(size, radius, sidesonly) { rot = [ [0,0,0], [90,0,90], [90,90,0] ]; if (sidesonly) { cube(size - [2*radius,0,0], true); cube(size - [0,2*radius,0], true); for (x =...
glb/cad_46d2d516748d.glb
Create a 3D object by finding the intersection of two extruded text shapes. First, create a 2D layout of the word "WORK" where each letter is resized to fit within a 10mm by 10mm square, and extrude this shape 50mm along the Z-axis, centered vertically from -25mm to 25mm. Second, create a 2D layout of the word "PLAY" w...
include <font.scad> scale(2) union() { intersection() { translate([0, 0, -25]) linear_extrude(50) union() { translate([0,0]) resize([10,10]) ltr(23); translate([12,0]) resize([10,10]) ltr(15); translate([24,0]) resize([10,10]) ltr(18); translate([36,0]) resize([10,10]) ltr(11); } ...
glb/cad_df5a7b8ced93.glb
Create a mirrored pair of antenna mounts and camera braces. For one side, start with two vertical cylindrical spacers: a rear spacer with a height of 16.81mm and a front spacer with a height of 29.76mm. Both spacers should have an outer diameter of 8.4mm and a central hole of 5.4mm. Position these spacers 13.16mm apart...
slotwidth = 2.8; plateheight=2; spacer_sep = 13.16; rear_height=16.81; front_height=29.76; spacer_diameter=5.4; $fn = 100; module cylinder_outer(height,radius,fn) { fudge = 1/cos(180/fn); cylinder(h=height,r=radius*fudge,$fn=fn, center=true); } module AntennaHolder() { difference() { translate([0,0,0]) { cyl...
glb/cad_33d018df4c3c.glb
Create a Mini Kossel spool holder designed to clip onto a 15mm extrusion. Start by constructing a main U-shaped bracket with a thickness of 2mm. The base of the U should be 15mm wide to fit the extrusion, with two parallel side walls that are also 15mm high. The total length of the bracket extending from the extrusion ...
extrusion_width = 15; slot_width = 3.3; spool_width = 70; m3_hole_diameter = 3.3; thickness = 2; module base() { t = thickness; w = extrusion_width; h = extrusion_width; d = 2; translate([-t/2,0,h/2]) cube([t,w,h], center=true); translate([-d/2-t,0,h/2]) cube([d,w,slot_width-0....
glb/cad_831cc0288c8a.glb
Create a Minecraft-style game figure by assembling several rectangular prisms. Start with a head that is a cube of 6.9mm per side. On the front face of this head, carve out three small rectangular voids to form a mouth and two eye sockets: the mouth is a 2.25mm wide by 1.8mm high by 0.9mm deep cutout centered near the ...
scale(0.3){ rotate([0,90,0])union(){ difference() { translate([-22.5,-6.5,0]) cube([23,23,23]); translate([-8.5,-7,14]) cube([7.5,6,3]); translate([-11,-7,8.5]) cube([8,6,6]); translate([-8.5,-7,5.5]) cube([7.5,6,3]); translate([-17,-7,3]) cube([6,6,6]); translate([-17,-7,14]) cube([6,6,6]); } trans...
glb/cad_b4906e627582.glb
Create a stylized humanoid game figure composed of blocky, rectangular prisms. Start with a central body prism measuring 18mm wide, 9mm deep, and 27mm tall, centered on the origin. Place a cubic head measuring 17.5mm on all sides centered above the body at a height of 22mm. On the face of the head, create four small re...
scale(0.3){ union(){ difference() { translate([0,0,22]) cube([17.5,17.5,17.5],true); translate([-4.3,8,22]) cube([4,2,2],true); translate([-5.3,6,22]) cube([2,2,2],true); translate([4.3,8,22]) cube([4,2,2],true); translate([5.3,6,22]) cube([2,2,2],true); } cube([18,9,27],true); translate([13...
glb/cad_260c0cd77e26.glb
Create a z95 box for a Stanley Deep Organizer with overall dimensions of 78mm by 107mm and a height of 29mm. The model consists of three main sections. First, create a rectangular compartment on the left side by placing a block 34mm wide, 52.5mm deep, and 26mm high at position (1, 1, 0). Inside this block, carve out ...
include <stanley_container.scad> include <z-95.scad> stanley_container(2,2,height=29); module z95_holder() { difference() { translate([1,1,0]) cube([34,52.5,26]); translate([25,27,27.2]) rotate([180,0,180]) z95();; } } module stand_holder() { difference() { translate([78-41-2,1,1...
glb/cad_e203a1906afb.glb
Create a StarViper storage box designed for a Stanley Deep Organizer. Start by constructing a rectangular outer container with a footprint of 78mm by 107mm and a height of 44.5mm. The walls should be 2mm thick. Inside this container, carve out three specific storage compartments. First, create a large open area for the...
include <stanley_container.scad> include <starviper_box.scad> stanley_container(2,2,height=44.5); translate([0,53.5-1,0]) cube([39*2, 2, 29]); module dial_and_card_holder() { difference() { union() { difference() { cube([76,52.5,40]); translate([0,1,0]) cube([29...
glb/cad_789e906a6e1c.glb
Create a customizable round box with a threaded lid. The main body is a cylinder with an inner width of 84.2mm and an inner height of 74mm. It has a wall thickness of 2mm and a floor thickness of 3mm. At the top of the body, include a rim with a diameter of 85.4mm and a height of 3mm. The body features an external thr...
Breite_Dose = 84.2; Hoehe_Dose = 74; Wanddicke = 2; Wanddicke_Deckel = 2; Bodendicke = 3; Hoehe_Rand = 3; Durchmesser_Rand = 85.4; Gewindehoehe = 10; thread_turns = 4; cut_thread_percent = 10; smooth_sides = 1; layout_to_print = 1; view_sectioned = 0; part_to_print = 2; print_distance = 5; fn = 128; wac...
glb/cad_54f0b9dfaeb7.glb
Create a machine rotary knob by starting with a base cylinder 44.2mm in diameter and 4.2mm high. Hollow out the center of this base with a concentric cylinder 40mm in diameter and 2.1mm deep. Add a smaller solid cylinder with a 7mm radius and 2.1mm height centered on the base. On top of this assembly, place a second c...
tol= 0.1; $fn=50; knob(); module knob() { difference() { union() { body(); translate([0,0,4.19]) dial(); } translate([0,0,-0.1]) rotate([0,0,180]) shaft(); } } module body() { union() { difference() { cylinder(r=22.1, h=4.2); translate([0,0,-0.1]) cylinder(r=20, h=2.1); } cylinder(r=7,h=2....
glb/cad_3706046f978e.glb
Create a Machine Rotary Knob 2 insert by constructing a rectangular cuboid with a length of 14mm, a width of 7mm, and a height of 2.15mm.
cube([14,7,2.15]);
glb/cad_75cf917c2cda.glb
Create a planetary gear bearing with an outer ring diameter of 51.7mm and a total thickness of 15mm. The outer ring is a cylinder with a large central hole and internal herringbone gear teeth. The internal gear teeth are designed with a 45-degree pressure angle and a twist across the thickness of the ring. Inside the ...
D=51.7; T=15; tol=0.15; number_of_planets=5; number_of_teeth_on_planets=7; approximate_number_of_teeth_on_sun=9; P=45; nTwist=1; w=6.7; DR=0.5*1; m=round(number_of_planets); np=round(number_of_teeth_on_planets); ns1=approximate_number_of_teeth_on_sun; k1=round(2/m*(ns1+np)); k= k1*m%2!=0 ? k1+1 : k1; ns=k*m/2-np...
glb/cad_232afb6e751f.glb
Create an IDC Plug Frame by constructing a central rectangular block measuring 24.92mm in length, 6.08mm in width, and 8.5mm in height, centered on the origin. Add a second rectangular block to this center, measuring 4mm in length, 6.08mm in width, and 8.5mm in height, also centered on the origin but shifted 1mm along ...
$nx = 8; $ny = 2; $d = 2.54; $ix = $d*$nx+1.0; $iy = $d*$ny+0.1; $ox = $d*$nx+4.68; $oy = $d*$ny+0.9; difference() { union() { cube([$ox,$oy,8.5],center=true); translate([0,-1,0]) cube([4,$oy,8.5],center=true); translate([0,0,-8.5/2 + 2/2]) cube([$ox+2,$oy+2,2],center=true); } cube...
glb/cad_8196e08c451b.glb
Create an FRC Tube Calculator model by starting with a rectangular hollow tube. The outer dimensions of the tube should be 660.4 mm in length (26 inches), 50.8 mm in width (2 inches), and 25.4 mm in height (1 inch). The walls of the tube should have a thickness of 3.175 mm (0.125 inches). On the top and bottom faces o...
Length = 26; Width = 2; Height = 1; Wall_Thickness = .125; Hole_Size = .201; Hole_Space_On_Y_Axis = 0.5; Hole_Space_On_X_Axis = 0.5; holes = 0; nx = Length; ny = Width-Wall_Thickness; nz = Height - Wall_Thickness; module tube() { difference() { scale([25.4, 25.4, 25.4]) cube([Length, Width, Height],...
glb/cad_d1f4e26992d5.glb
Create a panel with an inset lattice for an electronics enclosure. Start by constructing a rectangular frame with an outer dimension of 91.6mm by 66mm and a thickness of 3mm. The frame should have a hollow rectangular center measuring 85.6mm by 60mm. Fill this central opening with a decorative lattice composed of inte...
cross_case_side( 85.6, 60, 3, 2); module cross_case_side(height, length,width, minimum) { union () { case_side (height, length,width, minimum); translate( [height+width*2,0,width]) { rotate ([0,180,0]) { case_side (height, length,width, minimum); } } } } module case_side (height, length,w...
glb/cad_374d37fb38bb.glb
Create an H7 removal tool consisting of two separate components: a base and a lamp holder. First, construct the base as a cylinder with a diameter of 34mm and a height of 20mm. Remove a central vertical hole with a diameter of 19.5mm. Cut two rectangular slots through the walls of this cylinder, each measuring 20mm w...
$fn=180; ch=20; yd=34; id=19; cc=id+(yd-id)/2; hh=10; base(); translate([0,30,0]) lamp_holder(); module base() { difference(){ cylinder(d=yd,h=ch); translate([0,0,-1]) { cylinder(d=id+0.5,h=ch+2); translate([(-20-7.5)/2,-34/2,ch/2+1]) { cube([20,8,ch+2],center=true); ...
glb/cad_98a0a6eed3af.glb
Create a Grohe Euromix cover cap by starting with a main cylinder 14mm high with a diameter of 48mm. Add a second, shorter cylinder to the base of this shape that is 5mm high with a slightly larger diameter of 50mm. Create a central hole through the main body by removing a cylinder with a diameter of 44mm, starting fro...
$fn=50; difference(){ union(){ cylinder(14,d=48,d=48); cylinder(14-9,d=50,d=50); } translate([0,0,14-8]){cylinder(14,d=44,d=44);} }; difference(){ cylinder(14-6,d=39,d=39); union(){ cylinder(14-6,d=35,d=35); rotate([0,0,360/3*1]){translate([-7,0,0]){cube([14,50,10]);}} rotate([0,0,360/6*1]){translate([-2,0,0]){cube([4,...
glb/cad_02ad48455c57.glb
Create a lens cap for a Hasselblad Carl Zeiss 80mm f 2.8. Start by constructing a main outer ring as a cylinder with a height of 10mm and a radius of 33.5mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 31.5mm and a height of 10mm, starting from a height of 2mm from ...
$fa = 1; $fs = 1; translate([0,0,8]){ difference() { color("blue") { cylinder(h = 2, r1 = 31.5, r2 = 31.5); } cylinder(h = 2, r1 = 30.5, r2 = 30.5); translate([20,0,1]) { cube([30,30,3],true); } rotate([0,0,120]) { translate([2...
glb/cad_eaf19b4f58e1.glb
Create a Backpacking Trekking Pole Tripod Camera Mount with a total thickness of 10.5mm. Start by creating a central cylinder with a radius of 20mm. From this center, extend three identical arms spaced 120 degrees apart. Each arm should consist of a rectangular section measuring 22.85mm wide and 40mm long, terminating ...
thickness = 10.5; trekking_pole_base_radius = 6.425; trekking_pole_tip_radius = 4.85; trekking_pole_tip_height = 35; trekking_pole_angle = 30; arm_length = 40; center_radius = 20; ball_mount_hole_radius = 3.25; hole_undersize_adjustment = 1.00; round_smoothness = 360; difference() { union() { for(i=[0:120...
glb/cad_d852c3388d5b.glb
Create a 3D model of a Bacteriophage T7. Begin by placing an icosahedron with a diameter of 40mm at the top, centered at coordinates (0, 0, 60). Directly beneath the icosahedron, create a vertical stem 50mm in height with a radius of 6mm. Add a series of 21 thin decorative rings along the length of this stem, each with...
module icosahedron(x){ phi = (1+ sqrt(5))/2; scale(x/3) translate([0, 0, cos(atan((phi - 1) / phi)) * phi]) rotate([0, 0, 0]) difference() { intersection_for(a = [0:4]) rotate([0, 31.75, 72 * a]) intersection_for(r = [[0,0,0],[90,90,0],[90,0,90]]) rotate(r) linear_extrude(h...
glb/cad_f8f5579615eb.glb
Create a Hollow Centered Thrust Bearing consisting of two identical circular plates. Each plate starts as a solid cylinder with a height of 8.82mm and a diameter of 34.54mm. From each cylinder, remove a central vertical hole with a diameter of 20mm. Around this center, create a circular raceway by removing a torus-sh...
$fn = 100; bearing_diameter = 0.177*25.4; hole_diameter = 20; screw_diameter = 4; screw_hole_diameter = screw_diameter * 1.3; number_of_screws = 5; inner_number_of_screws = 10; raceway_thickness = bearing_diameter * .7 ; screw_inset = screw_hole_diameter *2; raceway_inset = screw_inset + screw_hole_diameter *.5;...
glb/cad_5f0671d631aa.glb
Create a rectangular plate for a robot bellypan with overall dimensions of 609.6mm in length, 812.8mm in width, and 12.7mm in thickness. Remove a series of small circular holes, each with a diameter of 5.13mm, to create a mounting grid along the perimeter. Position these holes in a repeating pattern spaced every 12.7mm...
Width = 32; Length = 24; Thickness = .5; Holepattern = .5; Holesize = .201; holes = 0; module Bellypan() { difference() { scale([25.4, 25.4, 25.4]) cube([Length, Width, Thickness], center = true); } } difference() { Bellypan(); for (holes = [0:Holepattern:Length/2-Holepattern]) { ...
glb/cad_dfbd789f3897.glb
Create an Intex Pool Vacuum Adapter consisting of a wide base and a central protruding connector. Start with a cylindrical base 88mm in diameter and 11mm high. Create a hole through the center of this base with a diameter of 85mm and a height of 11.2mm. Add an internal thread to the base with a diameter of 84mm, a he...
include <knurledFinishLib.scad> myintex_quickrelease_vacuum_adapter(); module myintex_quickrelease_vacuum_adapter() { difference() { knurled_cyl(11,88,3,4,1.5,1,0); translate([0,0,-0.1]) cylinder(d=84,h=11.2); } difference() { my_intex_quicklease_vacuum_adapter_solid(); transla...
glb/cad_2e23e53fe86a.glb
Create a 3D world map excluding Antarctica. The final model should fit within a bounding area of 100mm by 50mm and have a uniform thickness of 1mm. Construct the map by creating a series of flat, extruded polygons that represent the continents and major islands. The shapes should be scaled and positioned to accurately...
module world_2() { color([.5, .5, .5]); minx=0 ; miny=0 ; maxx=8000 ; maxy=3704 ; dx=maxx-minx; dy=maxy-miny; maxd=8000; scale([100/maxd, 100/maxd, 10]) translate([-minx-dx/2, -miny-dy/2, 0]) linear_extrude(height=.1, convexity=3405) union() { union() { polygon([[2392,3647],[2391,3646],[2113,3624],[20...
glb/cad_984986c81c1a.glb
Create a screen door handle consisting of a long, rounded grip with two mounting tabs. Start by creating a central cylindrical bar with a diameter of 6mm and a length of 65mm. At each end of this bar, construct a mounting tab. Each tab is formed by a rounded block 7mm wide and 6mm thick, centered on the bar's axis. The...
diameter=6; radius=diameter/2; width=8; gripHeight=7; height = 65; holeDiameter = 4; holeDepth = 5; $fa=1; $fs=0.2; delta=1; mainColor = [0.117, 0.565, 1]; highlightColor = [0.384, 0.726, 1]; color(mainColor) { difference() { hull() { translate([radius, radius, 0]) sphere(d=diameter); tr...
glb/cad_25155bff0e3f.glb
Create a storage box for a Stanley Deep Organizer that occupies a 2x2 grid space with a total height of 44.5mm. The main body is a rectangular container with outer dimensions of 78mm by 107mm. Inside this container, carve out three distinct storage sections. First, create a large rectangular void for a ship model measu...
include <stanley_container.scad> include <hwk-bin.scad> stanley_container(2,2,height=44.5); translate([0,53.5-1,0]) cube([39*2, 2, 29]); module ship(){ difference() { cube([76,52.5,35]); translate([40,52.5/2,36]) rotate([0,180,90]) hwkBlank(); } } module dial_and_card_holder() { difference() { ...
glb/cad_46837d0da73d.glb
Create a customizable screwdriver handle with integrated bit storage. The main body is a hexagonal prism with a total length of 40mm. The top of the handle is rounded into a dome shape. The bottom working end is slightly tapered, with a slope of 10% relative to the handle's diameter. Inside the handle, create a honeyc...
part = "screwDriver"; handleLength = 40; handleRoundness = 1; workingEndSlope = 10; bitFlats = 6.6; bitDepth = 11; toolDepth = 18; bitHoles = 5; wallThickness = 2.5; startFlat = 6.35; itterations = 7; step = 0.01; thickness = 5; hexNumber = (bitHoles+1)/2; handleDia = (flatToRadius(bitFlats+wallThickness)*hex...
glb/cad_940b780e7075.glb
Create an orchid clip by starting with a hollow cylinder that has an outer diameter of 30mm, an inner diameter of 26mm, and a height of 2mm. Center the object on the origin. To create the opening for the plant stem, remove a section of the cylinder by placing a second cylinder of the same height and 30mm diameter at th...
scale ([0.1,0.1,0.1]) { difference () { difference () { cylinder(h = 20, r1 = 150, r2 = 150, center = true); cylinder(h = 20, r1 = 130, r2 = 130, center = true); } translate ([150,150,0]) cylinder(h = 20, r1 = 150, r2 = 150, center = true); } hull () { translate ([60,30,0]) {cylinder(h = 20, r1 = 10, r2 = 10, center...
glb/cad_52d5eb2585c3.glb
Create an orchid clip by constructing a hollow cylindrical ring with a height of 2mm, an outer diameter of 20mm, and an inner diameter of 16mm. The ring should be centered on the origin. To create the opening for the stem, remove a section of the ring by cutting away a rectangular notch that extends from the outer edge...
scale ([0.1,0.1,0.1]) { difference () { difference () { cylinder(h = 20, r1 = 100, r2 = 100, center = true); cylinder(h = 20, r1 = 80, r2 = 80, center = true); } translate ([100,100,0]) cylinder(h = 20, r1 = 100, r2 = 100, center = true); } hull () { translate ([45,10,0]) {cylinder(h = 20, r1 = 10, r2 = 10, center =...
glb/cad_e0d6b8e2c738.glb
Create an orchid clip for supporting plant stems. Start by creating a thick hollow cylinder with a height of 2mm, an outer diameter of 15mm, and an inner diameter of 11mm. Cut a gap into the side of the cylinder to create a C-shaped opening, leaving the rest as a curved ring. To finish the clip, add two small cylindric...
scale ([0.1,0.1,0.1]) { difference () { difference () { cylinder(h = 20, r1 = 75, r2 = 75, center = true); cylinder(h = 20, r1 = 55, r2 = 55, center = true); } translate ([75,75,0]) cylinder(h = 20, r1 = 75, r2 = 75, center = true); } hull () { translate ([40,15,0]) {cylinder(h = 20, r1 = 10, r2 = 10, center = true)...
glb/cad_94a8b0327c4f.glb
Create a flashlight body consisting of a main hollow cylinder with an outer diameter of 30mm and a height of 53mm. The center of the cylinder should be hollowed out by a smaller concentric cylinder with a diameter of 23mm, leaving a wall thickness of 3.5mm, though the bottom 6mm of the base remains solid. On the side...
$fn=80; include <polyScrewThread_r1.scad> PI=3.141592; module attacco() { translate([-12, 0, 0]) cylinder(7, 1, 1); } difference(){ translate([0, 0, 53])screw_thread(27,3,50,10,PI/1.8); translate([0, 0, 53])cylinder(11, 11.5, 11.5); } difference() { cylinder(53, 15, 15); translate([0, 0, 6]) cylinder(50, 11.5, ...
glb/cad_27b49ba5c2cd.glb
Create a Savonius and Gorlov Vertical Axial Wind Turbine. Start by constructing a central vertical shaft with a radius of 5mm (half of the 10mm rod size). Build the helical wing sections using a NACA 0015 airfoil profile with a thickness of 15mm and a base width of 50mm. Each atomic wing section should have a length ...
use <naca4.scad> Length = 100; Base = 50; Radius = 80; Camber = 0; Position = 0; Thickness = 15; Guide_hole = 4; Rod_size = 10; Reinforcement = 0; GapSize = 0.08; Support_Tabs = 1; Tab_Thickness = 1; Savonius_Starter = 1; Module = 2; if (Module == 1){ Turbine_Assembled(); } if (Module ==2){...
glb/cad_4b6367849d97.glb
Create a hollow 3D model of a triangular cupola (Johnson polyhedron J3). First, construct the outer shell as a convex polyhedron defined by the following vertices: [-8.754, 5.033, 2.332], [-7.196, 2.193, -7.128], [-6.532, -4.497, 0.275], [-1.102, 5.430, 8.758], [1.120, -4.100, 6.701], [2.013, -0.251, -10.163], [2.678, ...
module J03_body(outside,inside) { difference() { scale (outside) J03(); scale (inside) J03(); } } module J03() { polyhedron (points = [ [ -8.75401, 5.03337, 2.33236], [ -7.19632, 2.19268, -7.12830], [ -6.53179, -4.49702, 0.27484], ...
glb/cad_3346fa6cc59b.glb
Create a bin part by starting with a rectangular base measuring 64mm in length, 52mm in width, and 15mm in height. At a position 9.7mm from the left edge and 12.8mm from the front edge, create a vertical cylindrical hole with a diameter of 9mm and a depth of 18mm. Create a second identical cylindrical hole at the oppos...
difference(){ difference(){ union(){ difference(){difference(){ cube(size=[64,52,15], center=false); translate([9.7, 12.8,0]) cylinder(18, 4.5, 4.5,$fn=100); } translate([64-9.7,12.8,0]) cylinder(18,4.5, 4.5,$fn=100); } translate([0, 49.5,0]) cube(size=[64,2.5, 28], center=false); }...
glb/cad_bb8361534568.glb
Create a Magnetic Pencil Cap designed to hold a hexagonal pencil and a small magnet. The main body is a rounded capsule shape with a total height of 23.5mm and an outer radius of 5.5mm. The top of the cap is a hemisphere with a radius of 5.5mm. At the base, create a hexagonal hole with a flat-to-flat diameter of 7.4mm...
$fn=20; debug=true; grip_d=18; pen_r=3.7; mag_r=3.1; mag_h=3.2; outer_r=5.5; tot_len=grip_d+outer_r; mag_c=grip_d+(outer_r/2); skin_t=outer_r-mag_r; module hex(hr,hh) { difference() { cylinder(r=15,h=hh); for(i=[0:5]) { rotate([0,0,(360/6)*i]) translate([-hr*1.5,hr,-1]) cube([hr*3,10,hh+2]); } } } modul...
glb/cad_fb3651300a78.glb
Create a Commander Deckbox consisting of a main rectangular container with a hollow interior. The outer dimensions of the main body are 61.4mm in width, 83.4mm in depth, and 104.5mm in height. The walls are 2.2mm thick, and the base floor is 1.5mm thick. Carve out a central rectangular cavity for the deck measuring 57...
deckl = 57; deckw = 70; deckh = 95; wall = 2.2; floor = 1.5; gripw = 20; griph = deckh/2; commandl = 2.6; commandw = 77; commandh = 103; windoww = 55; windowh = 63; border = 5; diamonds = 10; holes = 3; hgap = 5; difference(){ union(){ cube([deckl+2*wall,commandw+2*wall,commandh+floor]); translate([-command...
glb/cad_2981c13005a8.glb
Create a Funky Hollow Calibration Cube by starting with a solid cube measuring 30mm on all sides. To make the cube hollow, remove a central square prism from each of the three primary axes. For the first cutout, center a 22mm by 22mm square hole that passes entirely through the X-axis, leaving a 4mm border on the top a...
size= 30; borders= 4; innerSide= size-2*borders; difference () { cube ([size, size, size]); translate ([-1.5,borders,borders]) #cube ([size+3, innerSide, innerSide]); translate ([borders,-1.5,borders]) #cube ([innerSide,size+3, innerSide]); translate ([borders,borders,innerSide]) #cube ([innerSide-0.1,innerSide-0...
glb/cad_60d460266359.glb
Create a YoYo by starting with a main cylinder that has a diameter of 80mm and a total width of 30mm, centered on the origin. Carve a circular trough around the center of the cylinder to create a channel for the string. This trough is formed by removing a ring-shaped volume from the outer edge; the inner wall of this c...
yoyo_width = 30; yoyo_height = 80; string_width = 5; trough_inner_width = 5; trough_outer_width = 5; difference(){ color("white") linear_extrude(yoyo_width, center=true) circle(d=yoyo_height); color("white") rotate_extrude() polygon(points = [[(yoyo_height)/10,(trough_inner_width)], [(yoyo_...
glb/cad_f0dc84546c71.glb
Create a Box consisting of two separate hexagonal components. Both components are based on a 6-sided prism with a minimum internal diameter of 20mm and a wall thickness of 2mm. For the first component, create a base 6-sided prism with a height of 2mm. Atop this, add a hollow 6-sided prism with a height of 55mm and a w...
numSides = 6; lowerHeight = 55; upperHeight = 10; upperPartLip = 5; lipThickness = 2.25; minInsideDiam = 20; circleDiam = 1/cos(180/numSides)*minInsideDiam; wallThickness = 2; skinThickness = 2; starArms = 6; starArmwidth = 6; starTwist = 485; module nSidedPrism(h, diam, sides) { cylinder(h = h, d = diam, center =...
glb/cad_2cf6a9753e5f.glb
Create a rounded customizable button by starting with a main cylindrical body that has a diameter of 10mm and a height of 2mm. Apply a rounding radius of 0.25mm to all edges of this cylinder to soften the corners. From the center of the top face, remove a smaller concentric cylinder that starts at a height of 1.2mm (60...
$fn = 64*1; inch = 25.4; _1_diameter = 10; _2_height = 2; _3_number_of_holes = 4; _4_hole_diameter = 1.5; _5_hole_offset = 1.75; _6_lip_ratio = 0.60; _7_edge_ratio = 0.85; _8_rounding=0.25; module holes(h=2, r=1.5/2, o=2, n=2) { union() for(i = [1:n]) rotate([0, 0, i * 360 / n]) translate([o, 0, ...
glb/cad_7d0170fc81e7.glb
Create a QFN 20 pin package model. Start with a main rectangular body measuring 3mm x 3mm with a height of 0.75mm. On the bottom surface, center a square thermal pad measuring 1.7mm x 1.7mm with a thickness of 0.05mm. Add 20 contact leads around the perimeter. Each lead is composed of a small rounded rectangular base...
D = 3; E = 3; A = 0.75; D2 = 1.7; E2 = 1.7; A1 = 0.05; A3 = 0.2; c = 0.3; f = 2.5; R = 0.125; L = 0.4; b = 0.25; e = 0.5; $fn=50; union (){ body(); tp(); cornerpads(); side4leads(); rotate ([0,0,90]) side4leads(); rotate ([0,0,180]) side4leads(); rotate ([0,0,270]) side4leads(); marki...
glb/cad_5177859a5efa.glb
Create a Dollar Box container consisting of two mirrored halves. First, construct a main body by creating a solid rectangular block measuring 49mm wide, 67.5mm deep, and 58.5mm high. Hollow out this block by removing a centered, scaled sphere with a radius of 20mm, stretched to 1.1 in width, 1.9 in depth, and 1.4 in he...
height_box = 65; height_split = height_box * 0.70; thickness_wall = 2.5; $fn=100; height_neg = 900; module draw_solid(){ translate([35,51,(height_box*.9)/2]) { cube([49,67.5,height_box*.9],center=true); } linear_extrude(height=height_box){ text(text="$",size=90,valign="bottom"); } } module draw_...
glb/cad_b0e540bb720d.glb
Create an S-hook consisting of two connected rings of different sizes. The first ring has an inner diameter of 20mm and the second ring has an inner diameter of 15mm. Both rings have a wall thickness of 5mm (25% of the larger diameter) and a total height of 5mm. Position the rings so that their centers are 30mm apart....
diameter_1 = 20; diameter_2 = 15; distance_type = 1; manual_distance = 30; ring_strength = 25; shape = 1; vent_1_rotation = 0; vent_2_rotation = 45; vent_1_strength = 66; vent_2_strength = 66; large ...
glb/cad_e7510733176c.glb
Create a protective corner guard by constructing a rounded outer shell and hollowing out the interior. Start with a solid shape formed by the intersection of three cylinders, each with a radius of 30mm and a length of 30mm, oriented along the X, Y, and Z axes and meeting at a common center. Apply a Minkowski sum with a...
thickness = 4; size = 40; rad = 5; ssize = size - 2*rad; difference(){ translate([rad,rad,rad]) minkowski(){ intersection(){ cube([ssize, ssize, ssize]); translate ([0,ssize/2,0]) rotate([90,0,0]) cylinder(ssize,r = ssize,center = true); translate ([ssize/2,0,0]) rotate([0,90,0]) cylinder(ssize,r = ssize,...
glb/cad_4421e59147f2.glb
Create a "Surf's Up" fingerboard model. Start by creating a board with a total length of 140mm, a width of 40mm, and a thickness of 4mm. The board should have a continuous rocker curvature along its length. The profile of the board is defined by a head and a tail. The tail length is 60% of the total length (84mm), and...
boardWidth = 40; boardLength = 140; boardThickness = 4; tailRatio = 0.6; revolveAngle = 40; sphereRatio = 1.0; ellipseRatio = 1.5; filletRes = 15; sphereCurv = sphereRatio * boardLength; tailLength = tailRatio * boardLength; headLength = boardLength - tailLength; module boardProfileTop2() { $fn = 100; unio...
glb/cad_b3b532187abc.glb
Create a customizable tube endcap consisting of a ribbed insertion base and a rounded top cap. First, construct the insertion base by stacking 6 cylindrical rings, each 3mm high. Each ring should have an inner diameter of 18mm and an outer diameter of 20mm. On top of these rings, place a cylindrical cap with a tota...
InnerMAXDiameter = 20; InnerMINDiameter = 18; Rings=6; RingHeight=3; RingsRatio=1; CAPOuterDiameter=24; CAPHeight=10; Facets=100; InnerHoleDiameter=InnerMINDiameter/1.5; InnerHoleHeight=Rings*RingHeight; Fillet=6; module MakeCap() { difference() { union() { for(i=[0:Rings-1]) ...
glb/cad_88c98b2237c7.glb
Create a smart coaster by constructing a main cylinder with a radius of 55mm and a height of 3mm. From the top of this base, remove a smaller concentric cylinder with a radius of 30mm and a depth of 0.2mm, leaving a thin 0.2mm floor at the bottom. This results in a shallow, wide circular dish with a flat bottom and a r...
$fn = 200; difference(){ cylinder(3,r1=55,r2=55); translate([0,0,2.8]) cylinder(0.6,r1=30,r2=30); }
glb/cad_f94e9e495430.glb
Create a smart coaster base by constructing a smooth cylinder with a radius of 55mm and a height of 5mm. To complete the model, remove two small vertical holes, each with a radius of 2mm and a height of 10mm, to create openings through the base. Position the first hole at coordinates (40, 5) and the second hole at (40,...
$fn = 200; difference(){ cylinder(5,r1=55,r2=55); translate([40,5,-1]) cylinder(10,r1=2,r2=2); translate([40,-5,-1]) cylinder(10,r1=2,r2=2); }
glb/cad_89dd0df7bc37.glb
Create a smart coaster base by starting with a main cylinder that has a diameter of 115mm and a height of 19.5mm. Hollow out the center of this base by removing a cylinder with a diameter of 111mm and a height of 40mm, positioned 5mm below the bottom surface. Create a tiered internal structure by adding a concentric cy...
$fn = 500; difference(){ cylinder(19.5,57.5,57.5); translate([0,0,-5]) cylinder(40,55.5,55.5); } translate([0,0,14]) difference(){ cylinder(4,55.5,55.5); translate([0,0,-1])cylinder(14,53.2,53.2); } translate([0,0,16.5]) difference(){ cylinder(3,55.6,55.6); translate([0,0,-1])cylinder(14,54.9,54.9); } dif...
glb/cad_78bc3cca85ca.glb
Create a tripod foot by combining a sphere and a cylinder. Start with a sphere with a radius of 15mm. Attach a cylinder to the sphere with a total height of 20mm, an outer radius of 7mm, and an inner hole with a radius of 4.3mm running through its center. Center the cylinder so that it extends from the sphere. To finis...
module foot(){ ballrad = 15; inrad = 4.3; outrad = 7; height = 20; thickness = 3; cutoff = 0; angle = 180; difference(){ rotate(a = angle, v = [0,1,0]) difference(){ union(){ sphere(ballrad); cylinder(height,outrad + thickness,outrad+thickness); } difference(){ cylinder(height,outrad,out...
glb/cad_16276a66247a.glb
Create a Mirror Clip by constructing a small mounting bracket with a central hole for a screw. Start with a base cylinder 17mm in diameter and 10mm high. Attach a rectangular block to this cylinder that is 17mm wide, 18mm long, and 5mm thick, centered on the cylinder's axis so that the total length of the part is 26mm....
module clip(){ screwinrad = 3.5; screwoutrad = 8.5; sinkdepth = 3; caprad = tan(41)*sinkdepth + screwinrad; thickness = 10; overlapthickness = 5; overlaplength = 18; difference(){ union(){ cylinder(r=screwoutrad,h=thickness); translate([-1*screwoutrad,0,0])cube(size = [2*screwoutrad,overlaplength,ove...
glb/cad_1029c323c343.glb
Create a camera mount for a quadcopter. Start by creating a main cylinder with a radius of 31mm (55mm diameter / 2 + 6mm) and a height of 20mm. Subtract a smaller concentric cylinder from the center with a radius of 27.5mm (body radius 27.5mm + 3mm thickness) and a height of 21mm to create a hollow tube. Attached to t...
body_d = 55; body_r = body_d/2; body_thick = 3; body_h = 80; body_hole_angle=45/2; body_hole_spacing=10; body_hole_margin=5; body_hole_d=4; arm_h=20; arm_thick=10; arm_l=75; cam_l=50+body_thick; motor_mount_r = 12; motor_mount_h = 10; motor_center_r = 5/2; motor_tie_hole_r = 2; motor_tie_r = 7.75; huge = 500; cam...
glb/cad_cafa1bb4a66e.glb
Create a viewing port test model by placing a single sphere with a diameter of 10mm. Position the center of this sphere at the coordinates (0, 0, 50) relative to the origin.
ballPos = 50; centerBall = "false"; ballSize = 5; if (centerBall == "true") { sphere(ballSize,true); } else if (centerBall == "false") { } translate([0,0,ballPos]) sphere(ballSize,true);
glb/cad_f7c5c31c5e39.glb
Create a Sportsman RC Front Landing Gear consisting of two symmetrical mirrored halves. For each half, start with a main body formed by the hull of a sphere with a radius of 16mm, scaled by 2.5 in the X-axis, 1.1 in the Y-axis, and 1.125 in the Z-axis, and a smaller sphere with a radius of 4mm positioned at [63, 0, 0...
module body() { hull() { scale([2.5,1.1,1.125]) sphere(r=16); translate([63,0,0]) sphere(r=4); } } module filled_halfbody() { intersection() { body(); translate([0,10,0]) cube([150,20,36], center=true); } } module body_cutout() { translate([0,-1.2,0]) scale([0.98,1,...
glb/cad_e416c78b2f01.glb
Create a spool arm for a 3D printer. Start by creating a main vertical cylinder with a radius of 15mm and a height of 101mm. At the base of this cylinder, add a shallow outer lip by creating a cylinder with a radius of 15mm and a height of 5mm, then scale it by 1.3 along the X-axis to create an elliptical base. Remove ...
include <threads.scad>; spool_width = 100; spool_radius = 15; support_type = "Standalone"; difference() { scale([1.3,1.0,1.0]) cylinder(5,r=spool_radius); translate([-spool_radius*2.3,-spool_radius,0]) cube([spool_radius * 2.3,spool_radius * 2,5]); } translate([0,0,5]) { translate([0,0,0]) { dif...
glb/cad_5b3e9f457d6c.glb
Create a Honeycomb Generator structure consisting of a grid of hollow hexagonal cells. Each individual cell is a hollow hexagon with a wall thickness of 1mm, an inner flat-to-flat width of 8mm, and a total extrusion thickness of 1mm along the Z-axis. Arrange these cells in a staggered honeycomb pattern with a 2mm sep...
radius = 4; inscribedOrCircumscribed = 0; combRadius = radius*cos(30)*(1-inscribedOrCircumscribed)+radius*inscribedOrCircumscribed; combWidth = 2*combRadius; combSeperation = 2; thickness = 1; overlap = 0; X_Count = 3; Y_Count = 3; l=1/cos(30); y=l*sin(30); honeycomb(X_Count,Y_Count); module hexagon(h=1,w=1){ ...
glb/cad_3d89ccbfd675.glb
Create a Revolve Test model of a curved skateboard deck. The board has a total width of 40mm, a length of 135mm, and a thickness of 3mm. The overall shape is defined by a rocker profile that is revolved to create a curved, three-dimensional surface. The board is divided into a head and a tail. The tail length is 60% ...
boardWidth = 40; boardLength = 135; boardThickness = 3; tailRatio = 0.6; ellipseRatio = 1.3; filletRes = 15; rockerRes = 175; sphereCurv = boardLength; tailLength = tailRatio * boardLength; headLength = boardLength - tailLength; originalHeadLength = 0.866*boardWidth/2; var3 = headLength/originalHeadLength; newE...
glb/cad_8ff4d23764b1.glb
Create a GU10/GU5.3 LED lamp holder. Start by constructing a main cylindrical body with an outer diameter of 72mm and a total height of 17mm. The bottom section is a flat circular bezel 3mm thick. Above this bezel, create a central cylindrical sleeve with an outer diameter of 54mm and a height of 14mm, designed to fit ...
d_hueco=54; h_hueco=14; d_ext=72; h_ext=3; chaflan=2; d_inf=46; d_lamp=50.5; ang_canal=10; a_canal=3; h_canal=2; ang_garra=30; a_garra=1.5; h_garra=1.5; difference() { translate([0, 0, 0]) rotate_extrude($fn = 180) polygon( points=[[d_inf/2,0],[d_ext/2-chaflan,0],[d_ext/2,chaflan],[d_ext/2,...
glb/cad_8f639e6822ea.glb
Create a Fluidic Air NOT and NOR logic gate. Start with a solid rectangular base measuring 22.5mm in width and 16.5mm in height, with a thickness of 1.5mm. Subtract a complex internal channel from this base. The channel begins at a circular opening on the left edge, centered vertically. From this opening, the path ex...
include <PARTS.scad> gate_height = 1.5; gate_scale = 1.5; vent_rad = 1.5; NORa_power_x = -1*gate_scale; NORa_power_y = 3.5*gate_scale; NORa_control1_x = 1.5*gate_scale; NORa_control1_y = -7*gate_scale; NORa_control2_x = 11.5*gate_scale; NORa_control2_y = -7*gate_scale; NORa_output_x = 14*gate_scale; NORa_output_y = 3...
glb/cad_b952fef7dc5f.glb
Create a V7700W heat sink model. Start with a central rectangular base measuring 25mm in length, 16mm in width, and 5mm in height, centered on the origin. Add a second, smaller rectangular block on top of the base, also centered, with dimensions of 25mm in length, 5mm in width, and 5.5mm in height. Construct four vert...
$fn=50; L = 25; difference () { union() { translate ([0,0,2.5]) cube ([L,16,5],center=true); translate ([0,0,2.75]) cube ([L,5,5.5],center=true); translate ([0,7.5,0]) fin (); translate ([0,2.5,0]) fin (); translate ([0,-2.5,0]) fin (); translate ([0,-7.5,0]) fin ...
glb/cad_4043b0573b28.glb
Create a spool bushing with an integrated gear for a filament winder. The main body is a stepped conical bushing consisting of several stacked cylinders of decreasing diameter and increasing height: a base cylinder 74mm in diameter and 3mm high, followed by sections 64.5mm diameter by 9mm high, 55.5mm diameter by 15mm ...
use <parametric_involute_gear_v5.0.scad> use <spur_generator.scad> $fn = 360; n1 = 49; n2 = 49; p = fit_spur_gears(n1, n2, 60); rim_t = 10; g_t = 10; rod_dia = 8.1; module bearing608() { cylinder(d=22.3, h=7.1); } module bushing() { difference() { union() { cylinder(d1=74, d2=30, h=30); cylinder(d=74, h...
glb/cad_f2e5c2baa1b3.glb
Create a spool bushing with gear for a filament winder. Start with a central rectangular block measuring 60mm wide, 40mm deep, and 5mm high. Centered on this block, add a vertical rectangular column that is 20mm wide, 10mm deep, and 140mm high. To create the side profiles, add two identical sections on the top and bo...
$fn = 360; module side() { translate([0,0,-1])difference() { rotate([45,0,0])cube([20, 20, 10], center=true); translate([0,0,-100/2])cube([100, 100, 100], center=true); } } module whole(){ difference() { union() { cube([60, 40, 5],center=true); translate([0,0,5/2+140/2])cube([20, 10, 140],center=true);...
glb/cad_6aba76691601.glb