Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a LittleBits DC motor mount starting with a rectangular base platform measuring 27mm in length, 9mm in width, and 2.75mm in height. Centered on top of this platform, place two identical cylindrical sockets. Each cylinder must have a radius of 3mm, a height of 2.25mm, and a 25-facet resolution. Position these two...
socket_radius = 3; socket_height = 2.25; socket_interval = 6.8; base_x = 27; base_y = 9; base_z = 2.75; union() { cylinder(h=socket_height,r=socket_radius,$fn=25); translate(v=[2*socket_interval,0,0]) cylinder(h=socket_height,r=socket_radius,$fn=25); translate(v=[-(base_x/2-socket_interval),-base_y/2,-base_z]) cu...
glb/cad_06acb8103c4c.glb
Create a DC motor cap for a ball chain socket. Start by creating a thin cylindrical base with a radius of 8mm and a height of 2mm. Remove a small central hole with a radius of 1mm that passes completely through the base. On the top surface of the base, position a second cylinder with a radius of 3mm and a height of 6mm...
union() { difference() { cylinder(h=2,r=8,$fn=50); cylinder(h=2,r=1.0,$fn=50); } translate(v=[4.5,0,2]) difference() { cylinder(r=3,h=6,$fn=50); translate(v=[0,0,5]) sphere(r=2,$fn=50); } }
glb/cad_fe0947a5d1dd.glb
Create a Replicator Isolator Foot designed to hold a circular bumper. Start by constructing a tiered cylindrical base centered at (15, 15). The bottom section is a cylinder with a radius of 15.5mm and a height of 20mm, starting at z = -8. On top of this, add a shorter cylindrical tier with a radius of 20mm and a height...
difference () { union(){ translate ([ 15, 15, -8]) cylinder (h=20, r=15.5, $fn=100); translate ([ 15, 15, -8]) cylinder (h=5, r=20, $fn=100); translate ([ 15, 15, -6]) cylinder (h=5, r=18, $fn=100); translate ([ 5, 16, -8]) cylinder (h=20, r=8, $fn=100); translate ([ 5, 14.75, -8]) cylinder (h=20, r=8, $fn=1...
glb/cad_e3fc3d7a8ebf.glb
Create a parametric gator clip key fob. Start by constructing a thick hollow cylinder with an outer radius of 26mm, an inner radius of 23mm, and a height of 6mm. From this base, remove a smaller concentric cylinder to create a wall thickness of 3mm. At the top of the structure, centered at the coordinates (0, 28, 0),...
Base_Layer_height =10; Top_layer_height = 1.35; Base_cylinder_height = 6; Base_cylinder_r1 = 26; Base_cylinder_r2 = 24; Base_cylinder_wall_thickness = 3; union() { scale([20,20,0]) translate ([-9.1,-5.35,Base_cylinder_wall_thickness]) linear_extrude(file = "Gator Clip.dxf",layer = "Base", height = Base_Layer_height,...
glb/cad_53f4b0eb733c.glb
Create a Customisable Savonius & Gorlov VAWT. The model is a vertical axis wind turbine with a total height of 100mm. Construct the turbine using three helical wings. Each wing has a base width of 50mm and a radius of 80mm from the central axis. The wings are extruded linearly over the 100mm height with a twist of -6...
Length = 100; Base = 50; Radius = 80; Camber = 0; Position = 0; Thickness = 15; Guide_hole = 4; Reinforcement = 0; GapSize = 0.08; Support_Tabs = 0; Tab_Thickness = 1; Savonius_Starter = 0; Module = 1; if (Module == 1){ Turbine_Assembled(); } if (Module ==2){ helical_wing_atomic( ha_len...
glb/cad_f71817b1e387.glb
Create a Parametric Drill Bit Holder consisting of two identical mirrored plates. Each plate is a rectangular block with rounded corners, measuring 60mm in length and 30mm in width, with a height of 10.5mm for the base and 6mm for the top holder. For each plate, place four mounting holes at the corners with a diameter...
$fn = 64; stad_r = 3.2; stad_rd = 2.6; base_h = 10.5; holder_h = 6; bit_x = 10; bit_y = 3; bit_r = 7.7; bit_w = 10; bit = [1.5, 2.0, 2.5, 3.0, 3.2, 3.5, 4.0, 4.5, 5.0, 6]; translate([0,(bit_y+2)*bit_w,0]) difference(){ union(){ hull() for(x=[-1:2:1]){ for(y=[-1:2:1]){ ...
glb/cad_ef80af570979.glb
Create a TableSide PenDrill Holder designed to clamp onto a desk. Start by constructing a main body that is 10mm wide, 70mm long, and 5mm thick. This body should feature a central slot 10mm wide and 26.5mm high to accommodate the table thickness. To create the clamping mechanism, add a supporting structure below the m...
$fn = 64; Number_Slot = 1; Thickness = 5; Table_thickness = 26.5; Slot_thickness = 10; Slot_r = 50; Slot_length = 70; Slot_angle = 30; Slot_margin = 20; width = (Slot_r+Slot_margin)*Number_Slot; difference(){ union(){ hull() for(x=[-1:2:1]){ translate([width/2*x,5,0])cube([10,10,Thi...
glb/cad_cfb5412c740a.glb
Create a minimalistic toothbrush holder by constructing a vertically scaled, low-poly torus. Start with a torus that has a major radius of 15mm and a cross-sectional circle radius of 6.5mm. Scale this torus non-uniformly by a factor of 2.69 along the Y-axis to create an elongated oval shape. Ensure the overall geometry...
$fn = 8; module custom_torus(r,d){ rotate_extrude(convexity = 10) translate([d/2-r/2, 0, 0]) child(); } difference(){ translate([0,0,10]) custom_torus(r=15, d=41) scale([1,2.69,1]) circle(r=13/2); translate([-50,-50,-100]) cube([100, 100, 100]); }
glb/cad_976f4d1165b9.glb
Create a PVC pipe cap designed to plug a 50.8mm hole. Start by creating a cylindrical base with a diameter of 47.36mm and a height of 26.4mm. On top of this base, add a flat, ring-shaped cap. The outer diameter of this ring is 60.8mm and the inner diameter is 55.8mm, creating a wall thickness of 3mm. This ring should...
pipe_inside_diameter=50.8; pipe_wall_thickness=4.5; hole_diameter=50.8; cap_thickness=3; cap_base_height=pipe_inside_diameter/2 + 1; cap_base_diameter=0.93*hole_diameter; cap_top_inside_diameter=pipe_inside_diameter + 2*pipe_wall_thickness; cap_top_outside_diameter=cap_top_inside_diameter + 2*cap_thickness; cap_top_wi...
glb/cad_1f7ffa462a4c.glb
Create a Cherry MX switch reference model. Start with the stem: center a 1.35mm x 4.5mm x 3.62mm box and a 4.5mm x 1.15mm x 3.62mm box crossing each other, sitting atop a 7.2mm x 5.56mm x 4mm base. For the top housing, create a trapezoidal volume by lofting a 9.87mm x 10.62mm x 0.1mm rectangle to a 14.58mm x 14.58mm x...
$fn=60; translate([0,0,-3]) { color("brown"){ translate([0,0,-3.62/2]) cube([1.35,4.5,3.62], center=true); translate([0,0,-3.62/2]) cube([4.5,1.15,3.62], center=true); translate([0,0,-5.62]) cube([7.2,5.56,4], center=true); } color("grey"){ difference(){ hull(){ translate([0,0,-4]) ...
glb/cad_bd11ffb3d31e.glb
Create a goldfish cracker cookie cutter by extruding a specific fish-shaped profile to a height of 25mm. The main body is defined by a closed polygon that forms the silhouette of a fish, with a rounded belly and a tapered tail. To create the cutting wall, start with the outer fish silhouette and subtract a slightly s...
fudge = 0.1; module poly_path3033(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-67.500000,42.429500],[-57.123000,0.000500],[-67.500000,-42.429500],[-29.408000,-20.432500],[-25.441184,-23.254838],[-20.996031,-25.788578],[-16.114613,-28.006686...
glb/cad_e7a5a1ecd218.glb
Create a parametric hex nut knob by starting with a main cylindrical body 30mm in diameter and 4mm thick, centered on the Z-axis. Remove three identical cylindrical cutouts from this body to create a three-lobed ergonomic shape. Each cutout should have a radius of 15mm and be positioned such that its center is 22.5mm f...
diameter=30; thickness=4; hexNutWidth=7; holeDiameter=4; hexHoleDepth=thickness-1; distFromCentre=0.75*diameter; render(){ difference(){ cylinder(h=thickness, r=diameter/2, center=true, $fn=50); rotate([0, 0, 60]) translate([distFromCentre, 0, 0]) cylinder(h=thickness+2, r=diameter/2, center=true, $fn...
glb/cad_c70b59ce9904.glb
Create a parametric tool stand consisting of three main components: two identical attachment holders and a central barthing block. First, create the attachment holder. Start with a cylinder 20mm in diameter and 6mm high. Add a rectangular block to the side measuring 10mm wide, 20mm long, and 6mm high. Cut a hole throu...
attachment_dia = 20; attachment_height = 6; attachment_gap = 0.6; attachment_rod_dia = 8.3; attachment_rod_holder_dia = attachment_rod_dia+3; attachment_rod_holder_length = 20; screw_dia = 4.25; screw_nut_dia = 8.5; screw_nut_height = 6; fixer_dia_int = screw_dia+4; fixer_dia_ext = attachment_dia-2; fixer_angle_step ...
glb/cad_f339d8f7937a.glb
Create a 3D model of the PSC-EX13064-R08 component by extruding a complex 2D profile to a height of 89mm. The base profile is a symmetrical shape centered on the X-axis. Start with a central rectangular body 32.7mm wide and 6.1mm thick. Round the outer edges of this body by creating a hull between two circles of radius...
$fn=200; linear_extrude(height=89) { difference() { hull() { translate([-12.85,0])circle(r=3.5); translate([ 12.85,0])circle(r=3.5); translate([-16.35,0])square([32.7,6.1]); } translate([-12.85,0])circle(r=1.4); translate([ 12.85,0])circle(r=1.4); translate([-12.85,0]) { circle(r=1...
glb/cad_110a0431b0bf.glb
Create a film core for 16mm film with a total height of 15.5mm. Start by constructing a central inner cylinder with an outer radius of 15.3mm and a height of 15.5mm. Hollow out this inner cylinder by removing a smaller concentric cylinder with a radius of 13.3mm, but leave a rectangular section of 6mm by 7mm remaining ...
module core (oW) { coreH = 15.5; iW = 15.3; oW = oW / 2; module cyl (R) { cylinder(r = R, h = coreH, center = true, $fn = 60); } module inner_core_shape (coreR, trans, cubeW, cubeL) { union () { cyl(coreR); translate([trans, 0, 0]) { cube([cubeW, cubeL, coreH], center = true); } } } module...
glb/cad_37c556161079.glb
Create a drawer box housing with a total height of 81.6mm, a width of 83.2mm, and a depth of 61.6mm. The walls and the top surface have a thickness of 1.6mm. Cut five rectangular openings into the front of the housing to accommodate drawers. Each opening must be 82mm wide, 61mm deep, and 18mm high, with a vertical spa...
use<write.scad>; part = "drawerbox"; NUM_DRAWERS = 5; DRAWER_HEIGHT = 15; DRAWER_DEPTH = 59; DRAWER_WIDTH = 80; MESSAGE = " "; TEXT_HEIGHT = 6; india = 6 ; spacing = 1; dia = india + (spacing * 2); hoff = india+spacing; voff = sqrt(pow(hoff,2)-pow(hoff/2,2)); HANDLE_SIZE = 10; DRAWER_CORNER_RAD = 2; CLEARAN...
glb/cad_c0ab2e86ef7f.glb
Create a drawer box housing for five drawers. The overall exterior dimensions of the box are 83.2mm wide, 61.2mm deep, and 86.6mm high. The walls and the top panel are 1.6mm thick. The box features five rectangular openings for drawers, each 80.5mm wide, 15.5mm high, and 60.2mm deep. These openings are spaced vertical...
use<write.scad>; part = "drawerbox"; NUM_DRAWERS = 5; DRAWER_HEIGHT = 15; DRAWER_DEPTH = 59; DRAWER_WIDTH = 80; MESSAGE = " "; TEXT_HEIGHT = 6; india = 6 ; spacing = 1.2; dia = india + (spacing * 2); hoff = india+spacing; voff = sqrt(pow(hoff,2)-pow(hoff/2,2)); HANDLE_SIZE = 10; DRAWER_CORNER_RAD = 2; CLEAR...
glb/cad_b966881d0fbf.glb
Create a T-slot side cover for a 2020 profile with a total length of 100mm and a thickness of 1.8mm. The main body is a flat plate with a width of 20mm. The outer edges of the plate should be rounded with a radius of 0.6mm. Along the center of the length, create two circular bolt holes with a diameter of 4.3mm, posit...
$fn=24; part=0; t_select=1; tslot_len=100; cable_opening=1; cover_thi=1.8; bolt_hole=4.3; slot_tol=-0.2; if (part==0){ color("Pink") translate([-35, 0, 0]) tslotSideCover(3, 100, 1); color("LightGreen") translate([-0, 0, 0]) tslotSideCover(2, 90, 0); color("PaleTurquoise") translate([30, 0, 0]) ...
glb/cad_269a5c52f363.glb
Create a rocket nose cone by revolving a quadratic Bezier curve around a central vertical axis. The shape is defined by a base diameter of 10mm and a total height of 20mm. The profile is determined by three control points: the start point at the base radius (5mm, 0), an end point at the tip (0, 20mm), and a control p...
module BezConic(p0,p1,p2,steps=5) { stepsize1 = (p1-p0)/steps; stepsize2 = (p2-p1)/steps; for (i=[0:steps-1]) { assign(point1 = p0+stepsize1*i) assign(point2 = p1+stepsize2*i) assign(point3 = p0+stepsize1*(i+1)) assign(point4 = p1+stepsize2*(i+1)) { assign( bpoint1 = point1+(point2-point1)*(i/steps) ) ...
glb/cad_4da35b4bc521.glb
Create a bumper cover fender hanger consisting of a main rectangular body and a specialized insertion base. Start with a main hanger block that is 40mm wide, 32mm deep, and 12mm high. Round the corners of this block with a 5mm radius. Integrate a vertical cylinder with a 12mm diameter through the center of the hanger. ...
$fn=30; fenderHoleWidth = 12; fenderHoleDepth = 9; fenderHoleHeight = 12; taperHeight = 3; hangerWidth = 40; hangerHeight = 12; hangerDepth = 32; hangerStandoff = 2; cornerRadius = 5; FW = fenderHoleWidth; FD = fenderHoleDepth; FH = fenderHoleHeight; TH = taperHeigh...
glb/cad_27cac1504780.glb
Create a Gravitrax compatible spacer with a total height of 80mm. The main body is a hollow cylinder with an outer diameter of 40mm and an inner diameter of 29.8mm. The walls of this cylinder are formed by stacking layers that rotate by 30 degrees every 10mm of height, creating a twisted, threaded external profile. At...
use <scad-utils/transformations.scad> use <scad-utils/lists.scad> use <scad-utils/shapes.scad> use <list-comprehension-demos/skin.scad> desired_height = 80; layer_height = 10; outer_diameter = 40; inner_diameter = 29.8; main_hexagon_width = 45.60; male_connector_width = 29.78; male_connector_cutaway_width = 25; ma...
glb/cad_7266cb705cb3.glb
Create a rotating motor bracket for an Opticon Perceptor telescope consisting of a large pulley and a small gear. First, construct a large GT2 pulley with 108 teeth. The pulley should have an outside diameter of 34.2mm and a central bore of 5mm. The toothed section should have a height of 7mm, sitting atop a base hei...
teeth = 108; profile = 13; motor_shaft = 34.2; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 0; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 7; pulley_b_ht = 0; pulley_b_dia = 32; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_tooth_width = 0.2...
glb/cad_4c08e6cde2a1.glb
Create a Generac power inlet socket plug by starting with a main cylinder that is 26mm in diameter and 26mm in height, using a 26-sided facet resolution. Bore a central hole through the middle starting from a height of 2mm, with a diameter of 14.1mm and a depth of 14mm. At a height of 18mm, create a wider internal cavi...
difference() { cylinder(26,26,26); translate([0,0,2]) cylinder(16,14.1,14.1); translate([0,0,18]) cylinder(2,14.1,12); translate([0,0,18]) cylinder(18,12,12); #translate([-18.15,-3.1,-1]) cube([6.3,6.3,4]); #translate([11.85,-3.1,-1]) cube([6.3,6.3,4]); intersection() { union() { translate([-14,-6,16]) ...
glb/cad_9dd6d4c219b8.glb
Create a Generac power inlet socket plug by constructing a semi-cylindrical dome handle. Start with a cylinder that has a radius of 8mm and a height of 24mm, rotated 90 degrees along the X-axis. To form the dome, intersect this cylinder with a cube measuring 50mm by 10mm by 25mm, positioned at coordinates -25, -9, 2. F...
union() { intersection() { rotate([90,0,0]) cylinder(8,24,24); translate([-25,-9,2]) cube([50,10,25]); } #translate([-18.1,-6.9,0]) cube([5.8,5.8,2]); #translate([11.9,-6.9,0]) cube([5.8,5.8,2]); }
glb/cad_2acec08c82f3.glb
Create a corner joint for a printer frame. Start with a central core consisting of three intersecting rectangular blocks: one measuring 21x18x6mm, one 21x18x12mm, and a larger 18x43x18mm block. Add a 40x18x18mm block offset to the side. Integrate a fillet by creating a 15x3x15mm block rotated 35 degrees on the X-axis, ...
$fn = 30; module beams() { translate([0, 50, 0]) cube([15.1, 100, 15.1], true); translate([0, 50, -15-8]) cube([15.3, 100, 15.3], true); translate([-50-7.5, 7.5, 0]) cube([100, 15.1, 15.1], true); translate([0, 7.5, 5.5]) rotate([0, -20, 0]) translate([0, 0, 49]) cube([15.1, 15.1, 100], true); } module webbing() ...
glb/cad_44dbf7385958.glb
Create a Higher OB1 printer design consisting of a modified apex and corner pieces. First, construct the apex piece. Create a central rectangular block 129.766mm wide, 18mm high, and 18mm deep. Add a lower base plate 132mm wide, 3mm high, and 40mm deep. Attach two vertical support pillars to the sides, each 18mm wide...
$fn = 60; module beams() { cube([104.266, 15.1, 15.1], true); for (i=[-1, 1]) translate([i*(-52.133-7.2), 0, -5]) rotate([0, i*20, 0]) translate([0, 0, -50]) cube([15.1, 15.1, 100], true); } module webbing() { difference() { union() { translate([0, -1.5, 1.5]) cube([129.766, 15+3, 15+3], tru...
glb/cad_1c5a53e0ec38.glb
Create a robo3d foot by starting with a base shape formed from the convex hull of two centered boxes: a bottom rectangular prism measuring 20mm by 40mm with a height of 5mm, and a top rectangular prism measuring 8mm by 25mm with a height of 20mm positioned 10mm above the center. From this combined volume, remove a cent...
difference(){ hull(){ cube([20,40,5],center=true); translate([0,0,10])cube([8,25,20],center=true); } translate([0,0,20])cube([5,40,20],center=true); }
glb/cad_da735db4b76b.glb
Create a heated bed clip by constructing a complex block and removing specific volumes. Start with a base rectangular volume 20mm wide, 15.58mm deep, and 14.5mm high. Add a second rectangular block on top of this base, measuring 20mm wide, 6.48mm deep, and 20mm high, shifted 2mm in the negative X direction and 9.5mm in...
difference(){ union(){ difference(){ translate([0,-1,0])cube([20,15.58,14.5]); translate([-2,6.1,9.5])cube([20,6.48,20]); translate([-9,4.5,2])cube([20,1.6,20]); translate([-14.75,1,9.5])cube([20,3.5,20]); rotate([90,0,0])translate([8.5,4.5,-20])cylinder(r=1,h=50,$fn=40); rotate([90,0,0])translate([8.5,4.5,-5])cylinde...
glb/cad_822d82442756.glb
Create a Parameterized Titan direct extruder mount consisting of a motor housing and a carriage assembly. First, construct the motor housing as a rectangular block with a wall thickness of 3mm. The main body should be 42.5mm wide and 42.5mm deep. In the center of the front wall, create a circular hole with a diameter...
motorDim=42.5; motorDimScrew=31; motorScrewD=3.2; motorHoleD=22.4; motorWallThickness=3; motorBedThickness=6; titanBedThickness=5; carriageHoleD=8.1; carriageWheelD=26; carriageH=13; carriageHoleDistance=40; carriageThickness=7; carriageBasementThickness=2.8; carriageFastenerThickness=5; carriageFastenerScrewD=5.2; c...
glb/cad_ee211b786dff.glb
Create a Door Knob and Drawer Pull consisting of a tapered stem and a decorative ornament. Start by creating a straight stem with a height of 20mm. The base of the stem should have a radius of 9mm, tapering to a top radius of 7.2mm (calculated as 9mm multiplied by a taper amount of 0.8). Apply a chamfer to both the top...
01_stem_height = 20; stem_height = 01_stem_height + 0.0; 02_stem_diameter = 18; stem_radius = 02_stem_diameter/2 + 0.0; 03_taper_amount = 0.8; taper_amount = 03_taper_amount + 0.0; 04_angled_edges = "Yes"; stem_chamfer = str(04_angled_edges, ""); 05_stem_shape = "Straight"; stem_shape = str(05_stem_shape,""); 06_s...
glb/cad_65940c4025b6.glb
Create a Kossel Carriage for recirculating bearings and open belts. Start with a central rectangular body 27mm wide, 40mm long, and 10mm thick (6mm base thickness plus 4mm). At the bottom, center a plate 29mm wide and 25mm long with a thickness of 7mm, featuring rounded corners with a 5mm radius. Add two symmetrical m...
include <configuration.scad>; belt_width_clamp = 6; belt_thickness = 1.0 - 0.05; belt_pitch = 2.0; tooth_radius = 0.8; separation = 40; thickness = 6; horn_thickness = 13; horn_x = 8; belt_width = 5; belt_x = 5.6; belt_z = 7; corner_radius = 3.5; plate_thickness = 7; plate_y = -9; plate_w = 29; plate_h = 25; outsi...
glb/cad_a1915b16df3d.glb
Create a monitor mount for a sensorbar and Bluetooth adapter by extruding a specific 2D profile to a width of 10mm. The profile is defined by a series of connected segments: start at (0,0), move up to (0,25), right to (7,25), and down to (7,0). From there, move right to (8,0), up to (8,33), left to (6,33), and down to ...
notebook_lid_thickness = 7; notebook_lid_height = 25; mount_with = 10; sensorbar_wiht = 20; number_of_faces = 300; holder_profile = [ [0,0], [0,notebook_lid_height], [notebook_lid_thickness,notebook_lid_height], [notebook_lid_thickness,0], [notebook_lid_thickness + 1,0], [notebook_lid_thickness + 1,noteboo...
glb/cad_9a13a5221a86.glb
Create a spiral-lock sanding jig consisting of a hollow cylindrical shell with a height of 50mm and an outer diameter of 20mm. The shell is defined by a continuous, thin-walled spiral ramp that winds inward from the outer edge. This spiral geometry is created by sweeping a small 2mm diameter circle that starts at a rad...
$fn = 100; height = 50; width = 20; module spiral(i=0) { istep = 0.01; if(i < 1) { hull() { rotate(i * 390) translate([0, width / 2 - i * .2 * width]) circle(d=width * .1); rotate((i + istep) * 390) translate([0, width / 2 - (i + istep) * .2 * width]) circle(d=width * .1); } spiral(i + istep); ...
glb/cad_26877f1d0658.glb
Create a Six-Sided Spindle Die by forming a convex hull around two hexagonal prisms. Each prism has a height of 25mm, a base radius of 25mm, and a top radius of 1mm. Position the first prism at the origin and the second prism rotated 180 degrees and shifted 40mm along the Z-axis. On the six resulting faces of this sp...
echo(version=version()); module spindle_die() { hull() { cylinder($fn=6, r1=25, r2=1, h=25); rotate([180]) translate([0,0,40]) cylinder($fn=6, r1=25, r2=1, h=25); } } module die_numbers() { rotate([90,0,0]) translate([0,-20,20]) sphere(5); rotate([90,0,0]) translate([5,-30,-20]) sphere(4); rot...
glb/cad_20e3e33b4af8.glb
Create a SpoolDL filament spool consisting of a top and bottom flange connected by a central winding area. For the flanges, create a disk with a radius of 58mm and a thickness of 2mm. Remove a central cylindrical hole with a radius of 25mm (small_radius minus flange_thick). Around the face of the disk, create 11 even...
part = "top"; big_radius = 58; flange_thick = 2; small_radius = 27; winding_thick = 16; cut_count = 11; cut_radius = 12; slot_thick = 3; InnerCylAdd = 0.2; $fn=100; output(); module output() { if (part == "top") { top(); } else if (part == "bottom") { bottom(); } else if (part == "bo...
glb/cad_fda6fd9d86b5.glb
Create a Doorknob Handle designed to fit a round knob. Start by creating a main ring with an outer diameter of 69mm and a thickness of 20mm. The inner diameter of this ring should be 52mm to provide clearance for a 54mm diameter doorknob. Extend a handle arm from one side of the ring. This arm should be 70mm long, wit...
knobDiameter=54; knobThickness=23; knobclearance=2; handleLength=70; handleArchHeight=4; handleElevationSlopePercent=50; handleFlatten=1; screwOffsetAngle=90; ADVANCED_SETTINGS_BELOW=""; screwHoleOffset=7; handleSlotWidth=5; screwTabThickness=5; screwHoleDiameter=4; screwWasherDiameter=10; screwTabDiamete...
glb/cad_a684f2ec03bd.glb
Create a fusible link consisting of a central beam with two integrated cylindrical bushings. The main body is a hull formed between two cylinders of radius 5.85mm and height 7mm, positioned 21.2mm apart along the X-axis. At the center of each end cylinder, create a vertical hole 8mm in diameter. Within these holes, c...
bushingDiameter = 8; bushingHeight = 7; bushingStep = 7.8; bushingStepHeight = 0.8; linkHeight = 7; linkWidth = 11.7; linkLength = 23; pinsInner = 15.2; pinsOuter = 27.2; pinDiameter = 6; pinOffset = pinsOuter - pinDiameter; filletOffset = 2; filletDiameter = 0; module Bushing(){ $fn = 360; cylinder (r=bushingStep/2,...
glb/cad_55da992e445e.glb
Create a Blinds spinner wallmount by starting with a main solid cube measuring 540mm x 440mm x 540mm. Carve out a large vertical cylinder with a diameter of 140mm centered at X=270 and Y=370 to create a primary handle void. Add a smaller vertical cylindrical hole with a diameter of 35mm centered at X=270 and Y=147.5....
resolution=100; difference() { cube(size = [540,440,540]); translate([270,370,-20]) cylinder(h=580, d=140, $fn=resolution); translate([270,147.5,-20]) cylinder(h=580, d=35, $fn=resolution); translate([252.5,147.5,-50]) cube(size=[35,500,600]); translate([205,340,-50]) cube(size=[130,200,600]); translate([270,440...
glb/cad_9f8767dfe813.glb
Create a Modular Atomizer Holder consisting of two primary components. First, create a central cylindrical ring with an outer diameter of 23mm and a height of 8mm. Remove a smaller concentric cylinder from the center with a diameter of 7.5mm and a height of 6mm, starting from a base offset of 2mm. Second, construct a ...
center_piece(); outer_piece(); AtomizerSize = 22; _InternalAtomizerSize = AtomizerSize + 1; module center_piece() { difference() { cylinder(h=8, d=_InternalAtomizerSize, $fn=100); translate([0, 0, 2]) cylinder(h=6, d=7.5, $fn=100); } } module outer_piece() { difference() { translate([-18.5, -18.5,...
glb/cad_1ce3e214be18.glb
Create a flexible chainmail fabric called spheremail consisting of a grid of interlocking spherical links. Each individual link is constructed from a central 12-sided prism with a radius of 0.6mm and a height of 3.24mm, which serves as a core. Around this core, place four spheres with a radius of 1.2mm, positioned at 9...
link_family(0,3,4,3,0.4,0.9,1.2); module link_family(x,y,num_spheres,radius,clearance,thick,armratio){ for(nx=[0:1:x]){ for(ny=[0:1:y]){ translate([nx*radius*8*armratio,ny*radius*8*armratio,0]) union(){ rotate([0,0,90]) render()link(4,3,0.8,0.9,armratio); translate([radius*4*armratio,0,0]) ...
glb/cad_4cd00f74f8f8.glb
Create a bouncing ball foot for a 3030 aluminum profile. Start with a rectangular block that is 35.8mm wide, 30mm deep, and 32.22mm high. From this block, remove a sphere with a diameter of 35.8mm centered at the bottom (Z = -17.9mm) to create a concave hemispherical base. Cut a vertical cylindrical hole with a diame...
use <../../profile_30x30/extrusion_profile.scad>; $fn = 100; balld = 35.8; vier = [ [0,0] ]; for(pos = vier) { translate([pos[0], pos[1], 0]) fuss(); } module fuss() { difference() { drawCube(balld); union() { translate([0,0,-balld/2]) sphere(d=balld); translate([-50,0,-5])ausschnitt(...
glb/cad_1140ca72b1cd.glb
Create a test small vacuum tube spacer in the shape of a tapered hollow cone. The object should have a total height of 9mm. The outer geometry is a frustum with a bottom outer diameter of 6mm and a top outer diameter of 3mm. Centered through the middle of the object, create a tapered hole that runs the full height of t...
smoother = 380; conerh = 9; holeidb = 5; holeidt = 3; conerodb = 6; conerodt = 3; coner(conerh,holeidb,holeidt,conerodb,conerodt); module coner(conerh,holeidb,holeidt,conerodb,conerodt) { holerb = holeidb / 2; holert = holeidt / 2; conerorb = conerodb / 2; conerort = conerodt / 2; difference() { ...
glb/cad_1f5f3c385065.glb
Create a case for a 7-port USB hub. Start by constructing the main body as a rounded box with a width of 50mm, length of 80mm, and height of 14mm, using a corner radius of 3mm. Hollow out the center of the body by removing a rectangular volume of 49mm by 81mm with a wall thickness of 2mm. On the side walls, create si...
$fa = 1; $fs = 0.5; module roundedBox(size, radius) { cube(size - [2*radius,0,0], true); cube(size - [0,2*radius,0], true); for (x = [radius-size[0]/2, -radius+size[0]/2], y = [radius-size[1]/2, -radius+size[1]/2]) { translate([x,y,0]) cylinder(r=radius, h=size[2], center=true); } } include <Not_Na...
glb/cad_e0f10f5d1345.glb
Create a case for a 7-port USB hub consisting of a base and a lid. For the base, create a rounded box with dimensions 60mm wide, 40mm long, and 2mm thick, using a corner radius of 3mm. On the side walls of this base, create several rectangular cutouts to allow access for the USB ports: four cutouts on each side measuri...
$fa = 1; $fs = 0.5; module roundedBox(size, radius) { cube(size - [2*radius,0,0], true); cube(size - [0,2*radius,0], true); for (x = [radius-size[0]/2, -radius+size[0]/2], y = [radius-size[1]/2, -radius+size[1]/2]) { translate([x,y,0]) cylinder(r=radius, h=size[2], center=true); } } include <Not_Na...
glb/cad_e5a403edcf06.glb
Create a toy plane model consisting of a main wing, a central hull, a head, and a tail wing. Start with the main wing as a flat rectangular plate 180mm long, 30mm wide, and 0.2mm thick. Add a protective front edge to this wing that is 2mm wide and 0.4mm thick, extending from the center toward the front. Construct the...
$fn = 180; PrinterFirstLayerHightInMM = 0.2; MinimumWallWidthInMM = 2; MainWingLengthInMM = 180; MainWingWidthInMM = 30; MainWingHightInMM = PrinterFirstLayerHightInMM; MainWingProtectiveFrontEdgeWidthInMM = 2; MainWingProtectiveFrontEdgeExtraHightInMM = 0.2; MainWingProt...
glb/cad_54c81bc9d880.glb
Create a toy plane model consisting of a main wing, a head, a hull, and a tail wing. Start with the main wing as a flat rectangular plate 180mm long, 30mm wide, and 0.2mm thick. Add a protective front edge to this wing that is 2mm wide and 0.4mm thick, centered along the length. Construct the head by combining a fro...
$fn = 180; PrinterFirstLayerHightInMM = 0.2; MainWingLengthInMM = 180; MainWingWidthInMM = 30; MainWingHightInMM = PrinterFirstLayerHightInMM; MainWingProtectiveFrontEdgeWidthInMM = 2; MainWingProtectiveFrontEdgeExtraHightInMM = 0.2; MainWingProtectiveFrontEdgeHightInMM ...
glb/cad_0677ca2de6ee.glb
Create a minimal tray for an Arduino PCB by starting with a solid rectangular block measuring 55.9mm in width, 71.6mm in length, and 5.4mm in height. Hollow out the center of this block to create a basin that is 53.1mm wide and 68.8mm long, leaving a wall thickness of 1.4mm on all sides and a floor thickness of 1.4mm. ...
$fn = 16; arduinoWidth = 53.1; arduinoLength = 68.8; trayDepth = 4.0; trayWall = 1.4; pillarHeight = 2.4; pillarDiam = 4.0; difference() { cube([arduinoWidth + 2 * trayWall, arduinoLength + 2 * trayWall, trayDepth + trayWall]); translate([trayWall, trayWall, trayWall]) cube([arduinoWidth, arduino...
glb/cad_0527bea710e5.glb
Create a minimal tray for an Arduino PCB. Start by constructing a rectangular outer shell with overall dimensions of 20.9mm in width, 51.3mm in length, and 4.7mm in height. Hollow out the center of this shell to create a basin that is 18.1mm wide and 48.5mm long, leaving a wall thickness of 1.4mm on all sides. The floo...
$fn = 32; boxWidth = 18.1; boxLength = 48.5; boxHeight = 3.3; boxWall = 1.4; usbSocketWidth = 7.5; usbSocketCutout = 0.6; pillarRadius = 1.5; pillarHeight = 1.8; pillarOffset = 0.1; tailWidth = 3.0; difference() { cube([boxWidth + boxWall * 2, boxLength + boxWall * 2, boxHeight + boxWall]); translate([boxWal...
glb/cad_cd74fd7fa1bf.glb
Create a minimal tray for an Arduino Nano Every PCB. Start by creating a solid rectangular block with a total width of 20.8mm, a length of 46.2mm, and a height of 4.3mm. From the center of this block, remove a rectangular volume to create a hollow interior that is 18mm wide and 43.4mm long, leaving a wall thickness of ...
boxWidth = 18.0; boxLength = 43.4; boxHeight = 2.9; boxWall = 1.4; usbSocketWidth = 10.6; tailWidth = 3.0; difference() { cube([boxWidth + boxWall * 2, boxLength + boxWall * 2, boxHeight + boxWall]); translate([boxWall, boxWall, boxWall]) cube([boxWidth, boxLength, boxHeight + 0.01]); translate([boxWall +...
glb/cad_03a67990f4fe.glb
Create a minimal tray for an Arduino Mega 2560 PCB. Start by constructing a rectangular outer shell with dimensions 55.9mm wide, 104.6mm long, and 5.4mm high. Hollow out the center to create a basin that is 53.1mm wide, 101.8mm long, and 4.0mm deep, leaving a wall thickness of 1.4mm on all sides and a base thickness of...
$fn = 16; arduinoWidth = 53.1; arduinoLength = 101.8; trayDepth = 4.0; trayWall = 1.4; pillarHeight = 2.4; pillarDiam = 4.0; difference() { cube([arduinoWidth + 2 * trayWall, arduinoLength + 2 * trayWall, trayDepth + trayWall]); translate([trayWall, trayWall, trayWall]) cube([arduinoWidth, arduin...
glb/cad_20123f9d5f44.glb
Create a Manrique Lamp shade by constructing an octagonal hollow tube. Start with an outer octagonal prism that has a radius of 20mm, a height of 58mm, and 8 facets. Create a matching inner octagonal void with a radius of 19.6mm and a height of 58mm, positioned 0.2mm from the base to leave a thin floor. At the bottom c...
thick=0.4; s_rad=20; top_hole_rad=7; x_mem=6; height=52+x_mem; difference() { union() { rotate([0,0,360/16])cylinder(h=height,r=s_rad,$fn=8); } rotate([0,0,360/16])translate([0,0,thick+0.2]) cylinder(h=height,r=s_rad-thick,$fn=8); translate([0,0,-1]) cylinder(h=thick+2,r=top_hole_rad,$fn=8); translate([-s_...
glb/cad_aecedb851f0e.glb
Create a lamp base composed of three stacked conical sections with a central vertical void. The bottom section is a truncated cone with a height of 12mm, starting with a base radius of 61mm and tapering to a top radius of 56mm. Directly on top of this, add a second truncated cone with a height of 7mm, tapering from a r...
resolution=80; height=110; stem_r=17.05/2*1.04+0.02; r_1=122/2; r_2=56; r_3=21; r_4=17; h_1=12; h_2=7; h_3=13; difference() { union() { cylinder(r1=r_1,r2=r_2,h=h_1,$fn=resolution); translate([0,0,h_1]) cylinder(r1=r_2,r2=r_3,h=h_2,$fn=resolution); translate([0,0,h_2+h_1]) cylinder(r1=r_3,r2=r_4,h=h_3,$fn=r...
glb/cad_1bbec88ee8d4.glb
Create a Manrique Lamp adaptor by constructing a central cylindrical tower with an outer radius of 12.605mm and a total height of 20mm. This tower should sit upon a flat, circular base flange with a radius of 14.605mm and a thickness of 1.4mm. To ensure stability, add a very thin circular adhesion pad with a radius of ...
resolution=100; outside_r=25.21/2; inside_r=17.05/2*1.04; hole_r=inside_r-2; flange_r=outside_r+2; height=20; difference() { union() { cylinder(r=flange_r,h=1.4,$fn=resolution); cylinder(r=outside_r,h=height,$fn=resolution); cylinder(r=flange_r+7,h=0.5); } translate([0,0,-1]) cylinder(r=inside_r,h=height...
glb/cad_953971fb6fa2.glb
Create a Joseph Smith Seer Stone replica. Start by constructing the main body as a symmetrical double-cone shape with a total thickness of 6mm. The center of the object should be a wide disc with a diameter of 25mm, tapering both upwards and downwards to a diameter of 15mm at the top and bottom faces. Pierce a vertic...
$fn = 30; mid_diameter = 25.0; thickness = 6.0; top_diameter = mid_diameter * 0.6; hole_diameter = mid_diameter / 3.5; indent_diameter = mid_diameter / 7.0; indent_distance = mid_diameter / 3.5; h = thickness; nh = mid_diameter * 0.18; nw2 = nh / 4.5; difference() { difference() { difference() { union() { ...
glb/cad_fc7ce74edbb0.glb
Create a 3030 Ramps controller board case. Start with a main rectangular block measuring 165.5mm in length, 83mm in width, and 17mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 155.5mm by 73mm with a wall thickness of 5mm. Within this interior space, create a cutout for t...
use <Hauptplatine.scad>; $fn = 100; b = 150.5; h = 56.5; d = 5; rahmen = 5; gesb = 63; difference() { color("red") translate([0,-rahmen,d/2]) cube([b+2*rahmen,gesb+4*rahmen,d+12],center = true); union() { color("magenta") translate([0,-rahmen,d/2-2]) cube([b+rahmen,gesb+2*rahmen,d+12],center = true); ...
glb/cad_312058b116fa.glb
Create a 3030 Ramps controller board case. Start by constructing a rectangular base frame with overall dimensions of 160.5mm in width, 66.5mm in height, and 6mm in thickness. On the top and bottom faces of this frame, create a large rectangular cutout to accommodate the main board, maintaining a wall thickness of 5mm...
use <Hauptplatine.scad>; $fn = 100; b = 150.5; h = 56.5; d = 5; rahmen = 5; points = [ [h/2+rahmen,d/2], [-h/2-rahmen,d/2], [-h/2-rahmen,d/2+2], [h/2+rahmen-sin(45)*30,d/2+cos(45)*30], ]; points2 = [ [b/2+rahmen/2+25,0], [-b/2-rahmen/2-25,0], [-b/2-rahmen/2-25,30], [b/2+rahmen/2+25,30], ]; points3 = [...
glb/cad_d3c3a25cb5fb.glb
Create a 3030 Ramps controller board case starting with a central rectangular base plate measuring 150mm in length, 56mm in width, and 5mm in thickness, centered on the origin. At each of the four corners of this base plate, create a circular hole with a diameter of 3.3mm that passes completely through the plate. O...
$fn = 100; b = 150; h = 56; d = 5; rahmen = 5; Hauptplatine(b = b, h = h, d = d, loch=false); module Hauptplatine(b = 150, h = 55.7, d = 5, loch = true) { lochv = 2.3; if(loch) { difference() { cube([b,h,d], center = true); trous = [ [-b/2+lochv, -h/2+lochv], [b/2-lochv, -...
glb/cad_5380c397a83e.glb
Create a Proxxon mf70 backlash elimination tool. Start with a main rectangular block measuring 68mm in width, 78.3mm in length, and 28.2mm in height. Modify this block by removing four angled sections from the sides to create a tapered effect: two cuts on the long sides and two on the short sides, each with a width o...
$fa = 3; $fs = 0.6; play=0.2; M4_nut_d=7.66+2*play; M4_nut_w=7+2*play; M4_nut_h=3.2+2*play; M6_nut_d=11.2+2*play; M6_nut_w=10+2*play; M6_nut_h=4.8+play; spring_lmin=10; spring_lmax=20; %color([1,0,0,0.5]) { echo(28.2-8.7+9+0.4-(12-3)-(10.4-3)); echo(16.3+0.4-(10.4-3)); translate([-(5+32.5-3),-(5+ 34.2-3),-(10.4-3)])...
glb/cad_96a272db1f39.glb
Create a Recliner Magic TrackPad mouse stand consisting of a flat square base and a supporting post. Start with a square base plate measuring 100mm by 100mm with a thickness of 2mm, centered on the origin. At the right edge of the base, add a rectangular post measuring 10mm wide, 10mm deep, and 10mm high. Integrate a...
RMH(); module Support() { supportHeight = 80; supportWidth = 12; angleHeight = 50; socketWidth = 10.1; rotate([0,135,0]) { difference() { union() { cube([supportWidth,supportWidth,supportHeight],center=true); translate([0,0,supportHeight/2]) rotate([90,0,0]) cylinder(supportWidth,supportWidth/2,sup...
glb/cad_70b2867595aa.glb
Create a pencilbox holder by constructing a hollow rectangular container with outer dimensions of 70mm in width, 44mm in depth, and 74mm in height. The walls and the base should have a thickness of 1mm. To create the decorative brick-patterned exterior, apply a repeating texture of raised rectangular bumps, each measur...
include <brickface.scad>; pheight=74; pwidth=70; pdepth=44; pwall=1; bwidth=12; bheight=6; difference(){ union(){ cube([pwidth,pdepth,pheight],center=true); translate([-pwidth/2,pdepth/2-pwall,-pheight/2]){ brickface(pwidth,pheight, bwidth, bheight, 1, pwall*2); } translate([-pwidth/2,-pdepth/2-pwall,-ph...
glb/cad_9061ef51e795.glb
Create a "No-touch" urban multitool consisting of a retractable hook assembly housed within a base and a top cover. First, construct the hook. Create a circular disk with a diameter of 47mm and a thickness of 5mm. Attach a rectangular slider shaft measuring 107.6mm by 20mm by 5mm to the disk. At the end of the hook, c...
fn = 180; gap = 0.8; thickness = 2; hookthick = 5; hookadd = 0.4; translate([-0,0,0]){ difference(){ group(){ hull(){ translate([28,0,hookthick]) cylinder(h = 14, d = 12, $fn = fn); translate([38,0,hookthick]) cylinder(h = 14, d = 12, $fn = fn); } translate([0,0,0]) cylinder(h = hookthick+hookadd, d = 47, $fn = ...
glb/cad_86c17b35a6b7.glb
Create a Makerbot phone bracket with a uniform thickness of 7.5mm. The shape is a flat, extruded profile consisting of several connected rectangular sections. Start by creating a vertical wall 5mm thick and 63mm high. Attached to the side of this wall, create a horizontal arm 5mm thick and 45mm long, extending from the...
bracket_width = 7.5; bracket_wall = 5; depth = 53; height = 45; thickness = 8; phone_width = 80; phone_depth = 9; phone_overhang = 5; _back_mount = 1; back_mount = _back_mount == 1; linear_extrude(bracket_width) { square([bracket_wall, depth + bracket_wall * 2]); translate([bracket_wall, 0]) square([height...
glb/cad_66596a252aef.glb
Create a ripple container with a height of 100mm and a constant outer diameter of 85mm from top to bottom. The container should have a flat base with a thickness of 2mm. The walls are 2mm thick. The outer surface is defined by a repeating ripple pattern. Divide the total height into 8 equal vertical segments. For each...
diameter_bottom=85.0; diameter_top=85.0; height=100.0; n_radial=9; n_vertical=8; wall_thickness=2.0; module scr_ring(d1,d2,h,fn,t,n){ $fn=fn; difference(){ hull(){ rotate([0,0,(n>0?0:180)/fn]) translate([0,0,0]) cylinder(h=0.01,d=d1); rotate([0,0,(n>0?180:0)/fn]) translate(...
glb/cad_086a7dbb053a.glb
Create a 120mm fan to 100mm duct adaptor sub-piece. Start with a square base plate measuring 120mm by 120mm with a thickness of 3mm. From the center of this base, create a tapered transition that rises 40mm vertically, narrowing from a radius of 60mm at the base to a radius of 50mm at the top. At the top of this taper,...
base_sides = 120; base_h = 3; cylinder_diameter = 100; hose_coupler_height = 25; taper_height = 40; taper_top_offset = ((base_sides - cylinder_diameter)/2); taper_angle = atan( taper_top_offset/ taper_height); taper_length = taper_height / cos(taper_angle); echo("Taper angle: ", taper_angle, " Taper length: ", taper_l...
glb/cad_d73466d13636.glb
Create a Camera Mount for an OpenAstroTracker by constructing a base plate with a central tripod slot. Start with a plate that is 6mm thick. The plate's overall width is 210mm, and its length is determined by the distance from the camera back to the center of gravity (31mm) plus the center of gravity to the tripod moun...
PartToCreate = "mount"; Thickness = 6; WidthOfSlot = 6.4; UseSlots = true; SlotMarginBase = 5; GenerateTopBracket = false; UseSlotsInstead = true; MountingHoleDepth = 4.5; CutOutHoleDiamater = 28; OutsideCubeDimentions = [6,30,30]; SupportThickness = 6; WidthOffset = 1; LengthOffset = 0.5; DepthOffset = 0;...
glb/cad_15d643bcd7eb.glb
Create a 3D elevation graph consisting of a rectangular baseplate and a grid of vertical pillars. The baseplate should be 4mm thick. On the bottom surface of the baseplate, emboss a text label (e.g., "TEMP 2018") with a cap height that fits vertically within the base, leaving one block of padding on the top and bottom....
tower_gaps = true; round_data = false; add_text = true; font_size = 0; include <data-by-year.scad>; year_data = temp_2018; base_label = "TEMP 2018"; day_width = 2.5; scale_z = 1; min_layer_height = .05; days_per_column = 7; baseplate_thickness = 4; min_visible_depth = .5; first_day_of_year = year_data[0]; ...
glb/cad_8bacfd853df1.glb
Create a film container consisting of a tall, thin-walled cylinder. The main body should have an outer diameter of 32mm and a total height of 80mm. The walls of the cylinder are 1mm thick, created by removing a concentric inner cylinder with a diameter of 30mm. The base of the container is solid, starting from the bott...
$fn=40; use <common_chamfers_102.scad> containter_height =80 ; containter_diameter = 32 ; intersection(){ union(){ translate([0,0,2]) chamfer("out", containter_diameter/2-2,2); difference(){ cylinder(2,d=containter_diameter); cylinder(2,d=containter_diameter-4); } translate([0,0,2]){ difference...
glb/cad_b9610e0408d6.glb
Create a Customizable Top Door Stopper designed to fit a door with a thickness of 46mm. Begin by constructing the doorstop holder: create a base rectangular block 66mm wide, 10mm deep, and 50mm high. To this base, add two vertical walls, each 10mm wide and 50mm high, positioned at the sides to create a U-shaped channel...
doorthickness = 46; doorstopheight = 50 ; doorstopthickness = 10; doorholderlenght = 60; doorstopstopperlenght = 50; doorstopstoppertopcorner =35; module doorstop(){ doorstopholder(); translate([doorthickness + doorstopthickness*2,0,0])doorstopstopper(); } module doorstopstopper(){ cube([doorstopstoppe...
glb/cad_11a4b6b971a2.glb
Create a 28BYJ-48 Mounting Bracket consisting of a circular base and a vertical mounting flange. Start with a circular base plate with a diameter of 45mm and a thickness of 4mm. On the top surface of this base, center a circular cutout with a diameter of 28.25mm to accommodate the motor body. Within this cutout area,...
slop = 0.25; MBH = 18.8; MBD = 28.25+slop; SBD = 9.1+slop; SBH = 1.45; SBO = 7.875; SHD = 11.9+slop; SHDF = 3.0; SHHF = 6.0; SHHF = 0.0; SHH = 9.75; MBFH = 0.7; MBFW = 1.0+slop; MBFNW = 8; MBFNW2 = 17.8; MHCC = 35.0; MTH = 0.8; MTW = 7.0; MTHID = 3.0; WBH = 16.7; WBW = 14.6+slop; WBD = 31.3+slop; WRD = 1.0; ...
glb/cad_075e4456f200.glb
Create a 28BYJ-48 Mounting Bracket. Start with a circular base plate with a diameter of 45mm and a thickness of 4mm. Attached to this base, create a vertical rectangular flange that is 45mm wide, 20mm high, and 4mm thick. This flange should be positioned so that it is flush with one edge of the circular base. On the...
slop = 0.25; MBH = 18.8; MBD = 28.25+slop; SBD = 9.1+slop; SBH = 1.45; SBO = 7.875; SHD = 4.93+slop*2; SHDF = 3.0; SHHF = 6.0; SHHF = 0.0; SHH = 9.75; MBFH = 0.7; MBFW = 1.0+slop; MBFNW = 8; MBFNW2 = 17.8; MHCC = 35.0; MTH = 0.8; MTW = 7.0; MTHID = 3.0; WBH = 16.7; WBW = 14.6+slop; WBD = 31.3+slop; WRD = 1.0...
glb/cad_a814dff0aeca.glb
Create a 28BYJ-48 Mounting Bracket. Start with a main circular face with a diameter of 45mm and a thickness of 4mm. Extend two perpendicular flanges from this face to create a right-angle corner. The first flange (bottom) should be 20mm wide and the second flange (side) should be 4mm thick. Ensure the transition betw...
slop = 0.25; MBH = 18.8; MBD = 28.25+slop; SBD = 9.1+slop; SBH = 1.45; SBO = 7.875; SHD = 11.9+slop; SHDF = 3.0; SHHF = 6.0; SHHF = 0.0; SHH = 9.75; MBFH = 0.7; MBFW = 1.0+slop; MBFNW = 8; MBFNW2 = 17.8; MHCC = 35.0; MTH = 0.8; MTW = 7.0; MTHID = 3.0; WBH = 16.7; WBW = 14.6+slop; WBD = 31.3+slop; WRD = 1.0; ...
glb/cad_435c9a2bc6cf.glb
Create a 28BYJ-48 Mounting Bracket designed to hold a small geared stepper motor. The bracket consists of a main circular face with a diameter of 45mm and a thickness of 4mm. From this circular face, extend a rectangular bottom flange 22mm wide and 45mm long, perpendicular to the face, to create a right-angle support...
slop = 0.25; MBH = 18.8; MBD = 28.25+slop; SBD = 9.1+slop; SBH = 1.45; SBO = 7.875; SHD = 11.9+slop; SHDF = 3.0; SHHF = 6.0; SHHF = 0.0; SHH = 9.75; MBFH = 0.7; MBFW = 1.0+slop; MBFNW = 8; MBFNW2 = 17.8; MHCC = 35.0; MTH = 0.8; MTW = 7.0; MTHID = 3.0; WBH = 16.7; WBW = 14.6+slop; WBD = 31.3+slop; WRD = 1.0; ...
glb/cad_df13621074c5.glb
Create a Direct Vision Prism mockup by starting with a solid rectangular block measuring 20mm wide, 71mm deep, and 20mm high. From this main volume, remove two specific sections to create a central channel. First, remove a rectangular volume of 40mm by 20mm by 10mm, positioned at x=-10, y=-5, and z=0.3, rotated 30 degr...
dvp_dims = [20,71,20]; dvp_base = 12; dvp_win = 8; color("black"){ difference(){ cube(dvp_dims); translate([-10,-5,11.3-dvp_base])rotate([-30,0,0])cube([2*dvp_dims[2],20,10]); translate([-10,-5+72,5.4-dvp_base])rotate([30,0,0])translate([0,-5,0])cube([2*dvp_dims[2],20,10]); } } *translate([0,0,dvp_win])cube...
glb/cad_a00a6e8bdba8.glb
Create a mockup of a right angle prism by starting with a cube that has side lengths of 25mm. Rotate this cube 45 degrees around the Z-axis. From this rotated position, remove a larger cube with side lengths of 50mm that is aligned to the primary axes and positioned such that it cuts away the rear half of the rotated s...
dim = 25; difference(){ rotate([0,0,45]){color("blue",0.5)cube(dim);} cube(2*dim); }
glb/cad_fa504b339286.glb
Create a Double Cardan Joint consisting of a central joint and two symmetrical outer assemblies. Start with a central middle joint, which is a cylinder with a diameter of 20mm and a thickness of 8mm. On both the positive and negative X-axis sides of the middle joint, construct an assembly consisting of a block and ...
$fn=36; part=0; joint_thi=8; block_hole=3.3; block_od=11; block_len=12; wing_sp=0.4; sleeve_sp=1; shaft_dia1=8; sleeve_dia1=20; sleeve_len1=22; shaft_dia2=12; sleeve_dia2=24; sleeve_len2=26; n_bolt=2; shaft_bolt=3.3; shaft_nut_size=6.1; r1y=15; r1z=30; r2y=-15; r2z=-30; joint_dia=min(sleeve_dia1, s...
glb/cad_2c34aeb5b513.glb
Create a Desiccant Hexbox consisting of a hexagonal vented container, a matching lid, and clip-on standoffs. Construct the main box as a hexagonal prism with a width of 100mm and a height of 15mm. The walls and base should have a thickness of 1.6mm. Create a vented pattern on the sides and bottom by removing material ...
show_assembled = false; show_test = false; show_lid = true; show_box = true; show_standoffs = true; width = 100; height = 15; use_vertical = false; _thk = 1.6; _gap = 1.4; epsilon = 0.01; clr = 0.1; if (show_test) { w2 = width / cos(30); r = w2 / 6; hh = height / 2; plate_d = 5; pl...
glb/cad_aeee135fef8a.glb
Create a replacement LED lenser torch half-body by starting with a cylinder 35mm in diameter and 42mm high. Cap this cylinder with a hemisphere of the same 17.5mm radius centered on the top face. Scale the entire resulting assembly by 0.67 along the X-axis to create an elliptical profile. From the bottom of this shape,...
$fn=100; difference(){ scale([0.67,1,1]){ union() { cylinder(r=35/2,h=42); translate([0,0,42])sphere(r=35/2); }} scale([0.67,1,1])translate([0,0,-1])cylinder(r=35/2-2.3,h=38); translate([-20,0,50])rotate([0,90,0])cylinder(r=2.5,h=50); }
glb/cad_9b2dc301538e.glb
Create a Model Steam Turbine consisting of a central shaft and alternating turbine and stator discs. Start with a 5mm diameter central shaft. Along this shaft, place three turbine discs and three stator discs, each 12mm thick, spaced 13mm apart. The turbine discs have outer diameters of 70mm, 65mm, and 60mm respectiv...
$fn=56; M3S=2.8; M3H=3.3; t_dim = [ [70,60,85,49], [65,55,100,47], [60,50,115,45] ]; s_dim = [ [70,70,85,85,-49], [70,65,85,100,-47],[65,60,100,115,-45] ]; rendering_parts = 6; rendering( rendering_parts ); module rendering( mode ) { if( mode== 0 ) demo(); if( mode== 1 ) turbine(1); if( mode...
glb/cad_0b1928948bf1.glb
Create a Hubsan X4 Frame Battery Holder Clip. Start by constructing a base rectangular slab measuring 27mm in length, 6mm in width, and 1.5mm in height. At each end of this base, add two vertical walls that are 6mm wide and 15mm tall, with a thickness of 1.5mm each. These walls should be positioned at the far edges of ...
difference() { union() { cube([24+3,6,1.5]); cube([1.5,6,14+1.5+1.5]); translate([24+1.5,0,0]) cube([1.5,6,14+1.5+1.5]); translate([0,0,14+1.5]) cube([1.5+2,6,1.5]); translate([24-.5,0,14+1.5]) cube([1.5+2,6,1.5]); } triang(); translate([5.5,0,0]) triang(); translate([11,0,0]) triang(); t...
glb/cad_76df835076c4.glb
Create a configurable cable spool consisting of two identical circular end-caps connected by a central cylindrical core. First, create the end-caps. Each cap is a flat ring with an outer diameter of 180mm and a thickness of 3mm. The ring has a central circular cutout with a diameter of 90mm. Within the body of the ri...
ns = 9; hn = 3; do = 180; di = 90; rs = 45; wh = 3; ww = 5; sh = 50; fit= 0.15; show = "b"; $fn=120; ms = 0.05; or = do/2; ir = di/2; irs = (rs!=0)? rs/2 : ir; aw = 360/ns; aw2 = aw/2; bw = (180-aw)/2; bw2 = (180-aw2)/2; g = irs+ww+wh+ww+fit; a = sqrt(2*g * g - 2 * g * g * cos(aw2)); x = g*(ww-2*a)/(2*(a-...
glb/cad_eefaf6582e44.glb
Create a Lithophane Lampshade frame consisting of a hexagonal top ring and six radial support structures. Start by creating a hexagonal ring with an outer diameter of 151.02mm and a height of 4mm. The ring should have a wall thickness of 4mm, creating a hollow center with an inner diameter of 143.02mm. Within this ri...
outerDiameter = 151.02; clipDiameter = 145.63; barThickness = 4; barWidth = 8; slotThickness = 2; panelRadPos = 71; panelThick = 2; panelHeight = 137; panelWidth = 80; panelMargin = 1.3; detail = 80; jiggle = 1.7; shift = 0.5; fixingDiam = 1; fixingLength = 8; mountDiam = 29; topframe(); module side() { differ...
glb/cad_a861f6932c06.glb
Create a rectangular butter cookie with a total size of 70mm by 50mm and a thickness of 3mm. The main body is a rectangle with rounded edges and a radius of 1.5mm. Along all four outer edges, add a series of protruding semi-circular teeth, each with a radius of 2.5mm. Arrange these teeth in a grid of 14 along the long ...
TOOTH_RADIUS = 2.5; TEETH_X = 14; TEETH_Y = 10; SIZE_Z = 3; EDGE_ROUNDNESS = 1.5; TOOTH_PROTRUSION = 0.5; SIZE_X = TEETH_X * TOOTH_RADIUS * 2; SIZE_Y = TEETH_Y * TOOTH_RADIUS * 2; LINE1 = "Parametric"; LINE2 = "butter"; LINE3 = "cookie"; SIZE = 8; DEPTH = 1; SPACING = 2; FONT = "Noto Serif"; QUALITY = 2; $fs=Q...
glb/cad_edec7ff6d7d7.glb
Create a parametric ported plant pot consisting of a tapered vessel and a separate flat brim. Construct the main vessel as a hollow tapered cylinder with a height of 25mm. The top opening should have a diameter of 50mm and the base a diameter of 37.5mm (75% of the top). The walls must be 2mm thick, and the top edge s...
which = "both"; diameter = 50; height = 25; ratio = .75; wall = 2; size = 6.5; shape = "cube"; $fn = 24; girth=3; thickness=2; radius = diameter / 2; circumference = PI * diameter; function space() = shape=="cube" ? size / 1.4142 : size; main(); module main() { both = which == "both"; if (both || which ==...
glb/cad_d99d51ba29d5.glb
Create a plant sign consisting of a rectangular plaque and a supporting stake. The plaque should be 54mm wide, 24mm long, and 2mm thick, with rounded corners with a radius of 3mm. Attached to the center of the plaque's underside, create a stake that is 15mm wide and 50mm long. The end of the stake should be tapered i...
plantCategory = "Bio Tomato"; plantName = "'Tigrella'"; printOptions = "Print All"; module extrudeText(string, fontSize, height){ linear_extrude(height=height, convexity=10, $fn=50){ text( string, size=fontSize, font="Segoe Print:Bold", halign="center", ...
glb/cad_b280e391c985.glb
Create a Loom Band Loom consisting of a rectangular base with a grid of vertical pegs. The base is 7mm thick. The grid consists of 4 rows across (x-axis) and 7 rows along the length (y-axis). Position the pegs with a spacing of 16.5mm across and 25mm along the length. Stagger the pins so that every second row is offs...
$fn = 30; Pin_Space_Acc = 16.5; Pin_Space_Alo = 25; NumPinsL = 7; NumPinsW = 4; Staggered = 1; End_Connects = 1; Side_Connects = 1; Tol = 0.5; Base_Th = 7; Pin_Narrow = 8; Pin_Hole = 4; Pin_Wide = 10; Pin_Hi = 15; Pin_Base = 4; Pin_Top = 3; Conn = 9; Conn_Off = 2; spw=Pin_Space_Acc; spl=Pin_Space_Alo/...
glb/cad_c3a72bfd0b0c.glb
Create a doll stand clamp by designing a flat, rounded rectangular base with a thickness of 9mm. The main body should be 150mm wide and approximately 135mm long, featuring heavily rounded corners. In the center of the lower half of the base, create a vertical cylindrical hole with a diameter of 16mm and a depth of 15mm...
$fn = 60; inner_fillet = 15; outer_fillet = 3; chamfer_resolution = 0.2; clamp(100); module clamp(width=150, thickness=9) { difference() { union() { translate([0, 0, 1]) { minkowski() { linear_extrude(thickness) { base_2d(width); } ...
glb/cad_c5d7669516dd.glb
Create a curved lithophane frame with a thickness of 3mm. The frame is defined by a curved rectangular channel designed to hold a lithophane panel. Based on a maximum size of 100mm and a photo aspect ratio of 828:960, calculate the arc length and height. With a curve angle of 90 degrees, create two concentric curved ra...
PhotoWidth = 828; PhotoHeight = 960; MaxSize = 100; Thickness = 3; Curve = 90; ExtraSupport = true; PortraitRadiusFF = 1.47; LandscapeRadiusFF = .2; $fn = 250/1; PhotoAspectRatio = PhotoWidth/PhotoHeight; Frame( PhotoAspectRatio, Curve, MaxSize, Thickness, PortraitRadiusFF, LandscapeRadiusF...
glb/cad_1afc28cb632d.glb
Create a PVC pipe attachment top consisting of a hollow cylindrical cap with four integrated attachment loops. Start by creating a main outer cylinder with a diameter of 40mm and a height of 40mm. Hollow this out by removing a concentric inner cylinder with a diameter of 32.2mm, leaving a wall thickness of 6mm at the b...
in_dia = 26; out_dia = 32; wiggle = 0.2; thick = 6; height = 40; ring_id = 5; ring_thick = 7; id = in_dia - wiggle; od = out_dia + wiggle; total_dia= out_dia + (thick*2); $fa=1; $fs=0.5; module torus(id, t) { rotate_extrude () { translate([(id+t)/2, 0, 0]) { circle(t/2); } } } m...
glb/cad_4f27107b0289.glb
Create a Declination Lock Knob for a telescope. Start by constructing a central screw with an M20x1.5 thread, 8 turns long, starting at a height of 0.75mm. Around this screw, build a knob body that begins at a height of 13.5mm. This body is a complex revolved shape based on a profile that starts at a radius of 5mm and ...
use <threadlib.scad> $fn=360; ETX70_Knob(); module ETX70_Knob(){ diameter=20; difference(){ union(){ translate([0,0,13.5]) body(diameter); screw(); } holes(); } module screw(d){ difference(){ type = "M20x1.5"; turns = 8; higbee_arc = 45; translate([0,0,.75]) bolt...
glb/cad_53f615f9a4c6.glb
Create a Makerbot Gen5 Parametric Replicator Spool Holder consisting of two separate components: a wall support panel and a spool support assembly. First, construct the wall support panel. Create a base plate 4mm thick and 60mm wide. From this base, extend a vertical wall 36mm high and 4mm thick. Add a clip feature by...
part = "Both"; angled = "yes"; SpoolHoleDiameter = 52.0; SpoolDepth = 80.0; print_part(); module print_part() { if (part == "Both") { if (angled == "yes") { AngledWallSupport(); } else { WallSupport(); } SpoolSupport(); } else if (part == "Wall") { if (angled == true) { ...
glb/cad_cb3bb0d52477.glb
Create a PowerPole Breakout Box consisting of two matching halves that snap together to house one power connector on the side and four on top. The overall outer dimensions of each half are based on a case length of 53.5mm, a width of 22mm, and a height of 21mm. The walls are 3mm thick. The interior features a central...
use<pins/pins.scad> powerPoleCount = 4; caseThickness = 3; $fn=360; ppLength = 24.5; ppWidth = 16; ppHeight = 8; numSides = 360; ppSpacing = 3; internalCavity = 5; caseHeight = caseThickness + ppHeight + internalCavity + ppLength; caseLength = ppLength + (ppHeight+ppSpacing) * powerPoleCount + ppLength + ppHeight/2;...
glb/cad_a7dff14e5f10.glb
Create a parametric pickup ring with an overall outer dimension of 90mm width by 46mm height and a total thickness of 4mm. The main body is a rectangular frame with rounded outer corners of 4mm radius. Cut a centered rectangular opening through the frame measuring 72mm by 40mm with rounded inner corners of 2mm radius. ...
total_width = 90; total_height = 46; _top_offset = 0; $fn = 100; width_offset = total_width - 90; height_offset = total_height - 46; top_offset = -_top_offset; inner_width = 72 + width_offset; inner_height = 40 + height_offset; outer_width = 90 + width_offset; outer_height = 46 + height_offset; body_screw_head =...
glb/cad_92c2351913f7.glb
Create an Experimental Z axis combined leadscrew base. Start with a main body consisting of a block 80mm wide, 115mm deep, and 17mm thick, with an additional rectangular section 20mm wide, 9mm deep, and 28mm high attached to the side. Carve the following features into the body: 1. Create two octagonal holes with a rad...
z_belt_adjustment = 28; module z_block_body() { translate([-10,0,0]) cube([90,87+z_belt_adjustment,17]); translate([64,78+z_belt_adjustment,16]) cube([16,9,10]); translate([60,-9,0]) cube([20,9,28]); } module z_block_cutouts() { translate ([72,92+z_belt_adjustment,16.5]) rotate([0,-90,90]) rotate([0,0,22.5])...
glb/cad_14424c356a7c.glb
Create a textile mask storage holder. Start by constructing a hollow hexagonal prism with a height of 100mm. The outer boundary should be based on a circle with a radius of 40mm, scaled by a factor of 1.0 in the x-axis and 0.8 in the y-axis, and extruded to a height of 100mm. Create the interior cavity by removing a si...
r=40; v=100; $fn=6; union(){ scale([1,0.8]) difference() { linear_extrude(height=v) circle(r=r); translate([0,0,3]) linear_extrude(height=v) circle(r=r-2); } } translate([0,-0.85*r,0]) { linear_extrude(height=3) { difference() { circle(r=10); circle(r=4); } } }
glb/cad_9ce443b5a51c.glb
Create a Smartrap Z-probe servo arm. Start by constructing a main rectangular body with a total height of 41mm, a width of 28mm (calculated as 2 times the sum of the arm radius 2.55mm and wall thickness 1.32mm), and a thickness of 3.7mm. Apply a fillet of 2.55mm to the vertical edges of this body. Within this main bod...
include <fillet.scad> include <holes.scad> wall = 1.32; e = 0.01; function inch(i) = i * 25.4; module switch_arm(h) { arm_w = 14; arm_d = 2.55; arm_h = 3.7; arm_inset_h = 1.7; switch_h = 8.5; switch_w = 20; switch_d = arm_h; required_h = arm_d + arm_w + 2*wall; difference() { cube_fillet([2*...
glb/cad_3fc4e1a3d3cb.glb
Create a ribbed flanged hose connector consisting of two identical connector ends joined by a central flange. For each end, create a hollow cylindrical tube with an inner diameter of 10mm and an outer diameter of 16.25mm. The tube should be 18mm long and divided into five equal sections. Each section is a truncated c...
overlap = 0.001; OD = 16.25; OR = OD/2; ID = 10; IR = ID/2; flange_height = 3; conetop = IR+((OR-IR)/2); length = 18; sections = 5; section_length = length/(sections); standoff=10; print_connector_part(num=2, flanged=true); module print_connector_part(num=1, flanged=false) { if (flanged==true) { print...
glb/cad_bdfe3df8b748.glb
Create a wash basin plug by constructing a hollowed cylindrical base and a wider top cap. Start with a main cylinder 15mm high with a radius of 23mm. Create a hollow center by removing a concentric cylinder from the base that is 15mm high with a radius of 21.5mm. On top of this base, add a tapered ring section 5mm high...
difference () {cylinder(h = 15, r1 = 23, r2 = 23); cylinder(h = 15, r1 = 21.5, r2 = 21.5); } difference () {translate( [0, 0, 15] ) cylinder(h =5, r1 = 23, r2 = 25); translate( [0, 0, 15] ) cylinder(h =5, r1 = 21.5, r2 = 23.5); } translate( [0, 0, 20] ) cylinder(h = 2, r1 = 31, r2 = 31); translate( [-5, 0, 21] ) cub...
glb/cad_7f8219db4d6f.glb
Create a customizable electronics box consisting of a main body and a removable cover. The main body is a hollow rectangular enclosure with an outer dimension based on a PCB size of 60.1mm x 100.1mm, plus an inner margin of 1mm and wall thickness of 1.25mm. The total height is determined by the PCB top height of 30.1...
preset_descr = ""; preset_ver = "1.0"; $fa = 1.01; $fs = 0.41; printing_mode = 0; show_cover = 1; show_body = 1; show_pcb = 1; box_cover_dist = 10; box_cover_a = 0.85; overlap = 0.005; HT_SQUARE = 1; HT_CIRCLE = 2; HP_NONE = 0; HP_COVER = 1; HP_BOTTOM = 2; HP_FORWARD = 3; HP_BACKWARD = 4; HP_LEFT = 5; HP_RI...
glb/cad_eb22097c0b59.glb
Create an Intercom electronics enclosure consisting of a front face and a backplate. For the front face, create a main body using a hull of four tapered cylinders (each 20mm high) positioned at the corners of a 120mm by 70mm rectangle. The cylinders at [0,0], [120,0], [116,70], and [4,70] should taper from a diameter...
$fn=200; Back=0; Front=0; Backplate=01; D=2; E=120; H=70; if(Front) { difference() { Speaker(E,H); translate([2,2,-2]) Speaker(E-4,H-4); Gaatjes(); translate([0,0,-1])cylinder(d=3.2,h=7); translate([E,0,0])cylinder(d=3.2,h=7); translate([E-4,H,0])cylinder(d=3.2,h=7); translate([4,H,0])cylinder(d=3.2,...
glb/cad_7f91d22d6d18.glb
Create a Round Pipe Switch Adapter by constructing a base plate with a thickness of 3mm. The main body is formed by the union of three cylinders, each with a radius of 16.6mm. Position the first cylinder at the origin, the second at [0, 12, 0], and the third at [0, -12, 0]. Connect these cylinders with a central rectan...
switchThreadRadius = 5.9; switchNutRadius = 8.75; switchNutThickness = 2; thickness = 3; offsetDistance = 12; boltRadius = 1.9; countersinkRadius = 4; pipeOutsideRadius = 16.6; difference(){ translate([0,0,0]){ overallRadius = switchThreadRadius + thickness; rotate([0,0,0]){ cylinder(pi...
glb/cad_c7140146300e.glb