Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Kenwood Chef Food Processor Blade Holder. The model consists of a rectangular base with a series of vertical supports designed to hold cylindrical blades. Start with a base that is 120mm wide, 5mm high, and has a depth of 130mm (calculated from 6 intervals of 20mm plus a 10mm support width). From this base,...
axle_diameter=28.2; axle_dip_diameter=19; axle_dip_width=3.9; axle_lip_width=4.6; axle_length=34; axle_support_width=5; axle_support_thickness=8; axle_support_extension=18.3; support_depth=10; height_between_supports=1.2; extra_translation_between_supports=44.7; bottom_leg=65; space_between_supports=20; base_heigh...
glb/cad_10ab81218e74.glb
Create a closet door hanger with a consistent thickness of 3mm and a width of 5mm. Start by constructing a U-shaped base: create a back wall 20mm long, a bottom section 12mm wide to fit over a door, and a front wall 40mm long. At the end of this front wall, add a perpendicular extension 10mm long and 3mm thick. From th...
hanger_width = 5; thickness = 2; hanger_thickness = 3; door_width = 12; hanger_door_length = 40; bottom_hanger_length = 10; hanger_height = 7; hidden_wall_length = 20; rotate([90,0,0]){ wall(hidden_wall_length,thickness); translate([door_width/2+thickness/2,0,hidden_wall_length/2-thickness/2]){ rotate([0,90,0]) ...
glb/cad_6f3b281d030e.glb
Create a Small-Battery Case consisting of two separate parts: a battery rack and an enclosing sheath. For the rack, create a series of 10 stacked cells for CR2032 batteries. Each cell is formed by a rectangular block 24mm wide, 24mm deep, and 3.2mm high, with a cylindrical hole of 20mm diameter bored through the cente...
bump = 1.0; $fn = 30; generate_rack = 1; generate_sheath = 1; generate_bump_transverse = 0; generate_bump_sides = 1; generate_sheath_back = 1; generate_sheath_label = 1; cols = 1; rows = 10; diam = 20; height = 3.2; sheath_label = "CR2032"; wall = 1; clir = 0.2; thik = 2; bottom_extra_height = thik / 4; sheath_...
glb/cad_31638f778e72.glb
Create a cake topper consisting of a rectangular plaque and a supporting stake. Start by creating a main rectangular panel 50mm wide, 25mm high, and 4mm thick, with rounded corners of 2mm radius. Attached to the bottom of this panel, create a support stake by forming a union of a 30mm wide by 35mm long by 3mm thick rec...
text_1 = "HAPPY"; text_2 = "BIRTHDAY"; text_emoji = "🎈️"; h = 50; w = 25; base(); translate([-33,2,0]) s_emoji(); translate([0,0,1.8]) s_text(); module panel(h=20,w=20) { r=2; h=h-r*2; w=w-r*2; $fn=36; hull(){ translate([-h/2,w/2,0]) sphere(r=r); translate([-h/2,-w/2,0])...
glb/cad_005db88960a6.glb
Create a Tjusig shelf connector by starting with a solid cube measuring 39.7mm on all sides. Hollow out the center of this cube by removing a smaller interior cube measuring 35.7mm in width and depth, and 35.7mm in height, leaving a wall thickness of 2mm on all sides. To create the opening at the top, extend the interi...
$fa = 4; $fs = 0.1; ww = 2; h = 35.7; w = 35.7; d = 35.7; innerquad = true; isf = 1.3; difference() { cube([w+ww*2, d+ww*2, h+ww*2], center=true); cube([w, d, h+ww*3], center=true); } difference() { cube([w, d, ww], center=true); if (innerquad == true) { rotate([0,0,45]) ...
glb/cad_e53cedc5d47c.glb
Create a blowgun mouthpiece consisting of a conical mouth section and a cylindrical tube socket. First, construct the mouth section as an oval-shaped cone. The base of this cone is an oval with a vertical diameter of 40mm and a horizontal diameter of 55mm. The cone has a height of 20mm and a wall thickness of 4mm. At...
cal = 10; tube = 12.1; sheight = 21; swall = 5; conediav = 40; conediah = 55; coneheight = 20; stopper = 0.1; soverlap = 5.5; conewall = 4; rimheight = 5; markerw = 1; markerh = 2; res = 128; $fn=res; difference() { union(){ scale( [ 1, conediah/conediav, 1 ] ) { union() { tran...
glb/cad_43b49fdbfa40.glb
Create a Unifi AP Removal tool by starting with a rectangular base that is 5mm wide, 50mm long, and 0.75mm thick. At the tip of this rectangle, create a beveled edge by removing a small wedge of material using a cube 5mm wide and 5mm deep, rotated 20 degrees along the X-axis. At the opposite end of the tool, centered o...
width=5; length=50; height=0.75; difference() { cube([width,length,height], center=false); translate([0,0,0]) rotate([20,0,0]) cube([width,5,5], center=false); } difference() { translate([(width/2),length+width,0]) cylinder(h=height, d=(width*3), $fn=32); translate([(width/2),length+width,0]) cylinde...
glb/cad_570d12beedff.glb
Create a Pin Bender tool by starting with a rectangular block that is 12.5mm wide, 5mm deep, and 20mm high. Center this block on the origin. Drill five vertical holes completely through the block from top to bottom. Each hole must have a diameter of 1.35mm. Space the holes evenly along the width of the block, with a ce...
$fn=50; howMany = 5; holeSpacing = 2.5; holeDiameter = 1.35; width = holeSpacing * howMany; depth = 5; height = 20; pinBender(); module pinBender() { difference() { translate([0,0,0]) cube([width,depth,height], center=true); for (i = [-width/2+holeSpacing/2 : holeSpacing : widt...
glb/cad_a92c3097347c.glb
Create an ink bottle holder by constructing a truncated cone with a flat base. The cone should have a bottom diameter of 70mm and taper upward to a top diameter of 30mm over a total height of 32mm. From the center of the top surface, remove a square prism hole with a side length of 30mm and a height of 30mm, extending ...
$fa = 1; $fs = .4; height = 30; base = 70; hole = 30; thickness = 2; difference(){ cylinder(h=height+thickness, d1=70, d2=hole, center=false); translate([0,0,height/2+2]){ cube([hole, hole, height+.01], center=true); } }
glb/cad_30eb0a7728f4.glb
Create a camera holder for a stepper motor shaft. Start by creating a main cylinder with a diameter of 7mm and a total height of 84mm. From the bottom of this cylinder, remove a smaller concentric cylinder with a diameter of 5.04mm and a height of 80mm, leaving a 1mm thick base at the bottom. At a height of 79mm from t...
$fn=50; d=.04; e=78; f=4; D=2.55; difference(){ cylinder(6+e,3.5,3.5); translate([0,0,1+e]) cylinder(5+e,2.5+d,2.5+d); translate([0,4,4]) rotate([90,0,0]) cylinder(8, 2.55, 2.55); }; translate([1.5+d,-2.25,e]) cube([1,4.5,6]); translate([-2.5-d,-2.25,e]) cube([1,4.5,6]);
glb/cad_2821b8a8e755.glb
Create a customisable display shelf riser by constructing a hollowed-out, U-shaped extruded shell. Start with a solid rectangular base that is 60mm wide, 20mm high, and 30mm deep. The outer perimeter of this shape should have rounded corners with a radius of 5mm. Inside this outer shell, remove a smaller rectangular ...
width = 60; depth = 30; height = 20; thickness = 2; radius = 3; rotate_model = false; $fn = 180; module shape(width,height,radius) { x_offset = width/2-radius; y_offset = height-radius; hull() { translate([-x_offset,y_offset]) circle(radius); translate([+x_offset,y_offse...
glb/cad_0c2f8f3bbeb4.glb
Create a Stretched Fibonacci Spiral Tray by constructing a square outer container with dimensions 175mm by 175mm and a height of 15mm. Inside this container, carve out a series of rectangular compartments that follow a stretched Fibonacci sequence. Starting from the center, create a sequence of adjacent rectangular v...
s=1; x=7*25/(13+8)/s; y=7*25/13/s; h=15; t=.01; minkowski() { sphere(1,$fn=50); difference() { translate([-(13+2)*x,-3*y,0])cube([7*25,7*25,h]); tray(); } } module tray() { scale([x,y,1])translate([0.5,0.5,h/2+t])cube([1*s-t,1*s-t,h],center=true); scale([x,y,1])translate([0.5,1.5,h/2+t])cube(...
glb/cad_6c2514be9f2e.glb
Create a customizable wedge support block. Start with a rectangular base that is 20mm wide and 30mm long. Add a vertical support block to the bottom with a height of 10mm. The top surface of the object must be a slope angled at 15 degrees, rising from the short end to the tall end. Create three holes with a diameter o...
WedgeAngle = 15; WedgeBaseLength = 30; WedgeWidth = 20; SupportBlockHeight= 10; NumberOfHoles= 3; HoleDiameter = 4.1; HoleSideToSideShift = 0.0; HoleOrientation = "Holes Perpendicular to Wedge Base"; HoleSpacingMeasuredOn = "Measured Along Wedge Bottom"; FirstHoleLocation= 20; HoleSpacing = 10; PrintOrientat...
glb/cad_29efa8235cc3.glb
Create a desk stand for a handheld radio. Start with a main rectangular block measuring 77mm wide, 50mm deep, and 26mm high. Position this block so its base is at Z=32 and tilt the entire assembly backward by 25 degrees. Inside this block, carve out a central rectangular cavity measuring 61mm wide, 34mm deep, and 23mm ...
$fn = 50; difference() { union() { translate([0, 0, 32]) rotate([-25, 0, 0]) box(); translate([61+16, 68, 0]) rotate([0, -90, 0]) linear_extrude(61+16) polygon([[0,0],[23.5, 11.8],[0,30]]); translate([61+16, 0, 0]) rotate([0, -90...
glb/cad_45b9d1ef9d60.glb
Create a protection cap by starting with a solid rectangular block measuring 16.3mm in width, 10.8mm in depth, and 19.5mm in height. Hollow out this block by removing two intersecting rectangular volumes. First, center a vertical rectangular hole measuring 9.5mm wide, 7.8mm deep, and 18mm high, leaving a 1.5mm thick wa...
inner1=[9.5, 7.8, 18]; inner2=[13.3, 4.8, 18]; wall=1.5; outer=[inner2.x + 2 * wall, inner1.y + 2 * wall, inner1.z + wall]; difference() { cube(outer); translate([(outer.x - inner1.x) / 2, wall, wall]) cube(inner1); translate([wall, wall, wall]) cube(inner2); }
glb/cad_e39cd82a28a5.glb
Create a Loc-Line adapter by combining a threaded base with a spherical top. Start with a male screw thread that has an outer diameter of 14mm, a height of 8mm, a pitch of 1.5mm, and a 30-degree tooth angle. Directly on top of this threaded section, add a hexagonal prism with a height of 8mm and a flat-to-flat width of...
use <threads.scad> $fn=60; difference(){ union(){ ScrewThread(outer_diam=14, height=8, pitch=1.5, tooth_angle=30, tolerance=0.4, tip_height=0, tooth_height=0, tip_min_fract=0); tolerance=0.4; translate([0,0,8])cylinder(h=8, r=HexAcrossCorners(10)/2-0.5*tolerance, $fn=6); translate([0,0,16])cylinder(d=9,h=3); translat...
glb/cad_b8fcaed1914c.glb
Create a PVC Line Separator with a thickness of 15mm and a total height of 120mm. The main body is a rectangular block with rounded top corners, where the width is determined by three 35mm diameter circular cutouts spaced 8mm apart. Construct the base as a solid plate 15mm thick. Carve out three parallel cylindrical ...
$fn=200; pipes=[35,35,35]; spacing=8; height=120; thickness=15; bottom_thickness=4; function add(v, i = 0, r = 0) = i < len(v) ? add(v, i + 1, r + v[i]) : r; function accumulated_sums(input, i=0, acc_sum=[]) = i == len(input) ? acc_sum : let( sum_i = (i==0 ? input[0]: acc_sum[i-1] + input[i]) ) ...
glb/cad_aecdc6ed1347.glb
Create a shelf bracket with a width of 25mm. The main body is a right-angled triangular profile with a base length of 205mm (calculated as the 230mm shelf width minus a 25mm lug) and a height of 102.5mm. The bracket has a minimum wall thickness of 3mm. The structure features a large triangular cutout to reduce materia...
$fs = 0.4; $fa = 1; shelf_width = 230; bracket_thickness = 3; bracket_width = 25; mountscrew_diam = 4.5; shelfscrew_diam = 3.2; lug_length = 25; lug_radius = 5; bracket_length = shelf_width - lug_length; bracket_height = bracket_length * 0.5; A = [0,0]; B = [0,bracket_height]; C = [bracket_length,bracket_height]; ...
glb/cad_86fb6273a604.glb
Create a water flavor container organizer by constructing a hollow rectangular box with outer dimensions of 60.9mm in width, 29.3mm in depth, and 25mm in height. The walls and base should have a uniform thickness of 1.2mm. To create the opening for the container, remove a central rectangular volume of 58.5mm by 28.1mm ...
width = 58.5; depth = 28.1; height = 25; wall_thickness = 1.2; label_width = 26; side_width = 10; rows = 1; columns = 1; for(r = [0 : rows-1]){ translate([0, (depth+wall_thickness)*r, 0]) for(i = [0 : columns-1]) { bottle(); translate([(width+wall_thickness)*i, 0, 0]) bottle(); ...
glb/cad_a1c2e9ae3c13.glb
Create a Flange Maker consisting of a wide base and a central raised lip. Start by creating a cylindrical base with a diameter of 100mm, a height of 3mm, and a 16-sided polygonal facet resolution. Centered on this base, add a second cylindrical lip with a height of 10mm and a diameter of 59.5mm. Cut a central hole th...
tol = 0.1; wt = 10.00; mres = 1; fbd = 100.00; fhd = 49.5; fbt = 3.00; ffshd = 5.00; ffsq = 6; flh = 10.00; if (mres == 0) { mres = 1; } sides = 16 * mres; render(); module render() { flange(); } module flange() { if (ffsq != 0 || flh != 0) { difference() { union() { base(); lip(); } holes()...
glb/cad_98d49de294f2.glb
Create a nail polish organizer box with overall dimensions of 152mm in length, 114.5mm in width, and 30mm in height. The outer shell should be a hollowed rectangular box with a wall thickness of 2mm and rounded corners with a 3mm radius. The interior floor of the box should be 2mm thick, leaving an internal depth of 28...
$fn = 100; xlength = 150; ywidth = 112.5; zheight = 30; corner = 3; wall = 2; xdivisions = 4; ydivisions = 3; bottom = 15; difference() { base(); translate([xlength*1.1,-(ywidth/ydivisions),zheight]) rotate([270,0,90]) linear_extrude(height=xlength*1.2) polygon(points=[[0,-...
glb/cad_23d3e4733aaa.glb
Create a Klickfix mount for a lock by constructing a primary vertical cylinder with a height of 62mm and an outer radius of 9.6mm. Enclose this cylinder within a larger outer shell that includes a rectangular block measuring 19.2mm by 9.6mm by 62mm, centered on the cylinder. Add a square pin measuring 5mm by 5mm extend...
old_pipe = 12; pipe = 15.1; o =pipe-old_pipe -1.6; r = pipe/2; h = 62; t = 2; s = 5; x = pipe+4*t; difference() { union() { cylinder(h,r+t,r+t); translate([-r-t,0,0]) cube([2*r+2*t,r+t,h]); translate([-s/2,+r+t,0]) cube([s,s,h]); intersection () { union() { translate([-7,t+r+s,0]) cube([14...
glb/cad_1e0673ebd5ce.glb
Create a vacuum nozzle adapter consisting of two concentric cylindrical sections. The main body is a cylinder 30mm tall with an outer diameter of 37.3mm (18.65mm radius) and an inner bore of 34.7mm (17.35mm radius). At the top of this main body, add a smaller cylindrical extension 3.2mm tall with an outer diameter of 3...
difference(){ union(){ cylinder(30,18.65,18.45,$fn=180); translate([0,0,30])cylinder(3.2,18.45,16.1,$fn=180); translate([0,0,30])cylinder(33,16.1,16.1,$fn=180); }; union(){ translate([0,0,-1])cylinder(30.6,17.35,17.15,$fn=180); translate([0,0,29.6])cylinder(2.4,17.15,14.8,$fn=180); t...
glb/cad_61eb796373ca.glb
Create a Logitech C270 Inside Mount consisting of two intersecting rectangular plates. First, create a vertical wall that is 45mm wide, 45mm tall, and 3mm thick. Attached to this, create a second plate that is 45mm wide, 45mm tall, and 5.5mm thick, positioned perpendicularly to the first wall to form an L-shape. This s...
use <Metric/M3.scad>; size = 45; wall_thickness = 3; plate_thickness = 5.5; $fn = 50; cube([wall_thickness, size, size]); cube([size, wall_thickness, size]); translate([0, 0, (size - plate_thickness) / 2]) { difference() { linear_extrude(plate_thickness) polygon(points=[[size * .75, 0], [0, 0], [0, size...
glb/cad_4541525b82f8.glb
Create a parametric project box for a small PCB consisting of a main enclosure and a separate lid. For the main enclosure, create a rounded rectangular box with an outer dimension of 48mm by 24mm and a height of 19mm. The walls and bottom should be 2mm thick. The interior cavity should measure 40mm by 20mm by 17mm. I...
inside_x=40; inside_y=20; inside_z=17; thickness=2; screw_hole_dia=3; screw_hole_depth=10; outside_x=inside_x+2*thickness+screw_hole_dia+4*thickness; outside_y=inside_y+2*thickness; left_opening_x=11; left_opening_z=4; left_x_offset=2; left_z_offset=1; right_opening_x=10; right_opening_z=4; right_x_offset=28; right_...
glb/cad_7d9fdb2842dc.glb
Create a dumbbell consisting of two hexagonal heads connected by a central bar. For each head, create a hexagonal prism with a radius of 20mm and a height of 15mm. Taper the top and bottom faces of the prism by adding a smaller hexagonal section with a radius of 15mm and a height of 5mm to each end. On one of the fla...
include <BOSL/constants.scad> use <BOSL/threading.scad> r_center=20; h_center=15; r_bar=5; l_bar=40; t_weight="15"; d_text=2; r_end=r_center * 0.75; h_end=h_center/3; l_recess = ((2 * PI * r_center)/6) * 0.9; h_recess = h_center*0.9; d_face = sqrt( pow(r_center,2) - pow(r_center/2, 2)); l_threads = 2*h_end; module ...
glb/cad_842125f329e7.glb
Create a parametric spacer for mounting a USB panel consisting of two stacked rectangular plates with rounded corners. The bottom plate is 30mm wide and 64mm long with a height of 1.2mm. The top plate is slightly larger, measuring 36mm wide and 64mm long with a height of 1.2mm. Both plates must have a corner radius of ...
lamp_width=30; lamp_length=64; lamp_height=1.2; usb_width=36; usb_length=64; hole_dia=6; hole_offset=26; radius=10; $fn=100; rotate([0,180,0]) difference(){ union(){ hull(){ translate([-lamp_width/2+radius,lamp_length/2-radius,0]) cylinder(r=radius,h=lamp_height); translate([-lamp_width/2+radius,-lamp_length/2+radi...
glb/cad_99aaf080198b.glb
Create a PSU mount for an aluminum extrusion beam. Start by constructing a solid block that forms the hull of the mount, based on two intersecting rectangular volumes: one for the beam, measuring 40mm wide by 80mm high with a thickness of 20mm, and one for the power supply unit, measuring 42mm wide by 78.5mm high with ...
BEAM_WIDTH = 40; BEAM_HEIGHT = 80; PSU_WIDTH = 42; PSU_HEIGHT = 78.5; MOUNT_WIDTH = 20; MOUNT_THICKNESS = 3; CLIP_LENGTH= 10; BOLT_RADIUS = 3; module psu_and_beam(mount_width_beam, mount_width_psu, padding = 0) { translate([(PSU_WIDTH + MOUNT_THICKNESS) / 2, mount_width_beam - mount_width_psu, 0]) cube([PSU_...
glb/cad_77172ea903df.glb
Create a memory card organizer block with a base thickness of 13.9mm. The main body is a rectangular slab with rounded vertical corners featuring a radius of 1.5mm. The outer walls have a thickness of 1.2mm. On the top surface, carve out a grid of 15 rectangular slots arranged in 5 columns and 3 rows. Each slot is a c...
slots_per_row = 5; slots_per_column = 3; Slot_distance = 1.2; Slot_orientation = 0; Outer_thickness = 1.2; Fillet = "YES"; Fillet_radius = 1.5; USB = [12.3, 5.1, 12.8]; SD = [24.3, 2.4, 18]; mSD = [1.25, 11.3, 10]; slot_size = [ max(USB.x, SD.x, mSD.x)* cos (Slot_orientation) + max(USB.y, SD.y, mSD.y)*sin(...
glb/cad_92f82a05e10c.glb
Create a dumbbell-shaped business card holder. The model consists of two hexagonal weights connected by a central bar. Each weight head is a hexagonal prism with a radius of 30mm and a total height of 33.33mm. The head is composed of a central 25mm tall hexagonal section with a radius of 30mm, capped on both ends by s...
include <BOSL/constants.scad> use <BOSL/threading.scad> r_center=30; h_center=25; r_bar=8; l_bar=60; t_weight="25"; d_text=2; r_end=r_center * 0.75; h_end=h_center/3; l_recess = ((2 * PI * r_center)/6) * 0.9; h_recess = h_center*0.9; d_face = sqrt( pow(r_center,2) - pow(r_center/2, 2)); l_threads = 2*h_end; module ...
glb/cad_7db01c2cedfa.glb
Create a 120mm fan adapter for 5.25-inch drive bays. The overall outer dimensions are 147mm wide, 160mm long, and 42mm high. Construct two identical side panels, each 4mm thick, positioned at the outer edges of the width. Each panel features four mounting holes: two on the front edge and two on the rear. Each hole con...
$fn=100; z_height = 42; y_length = 160; x_width = 147; edge_x_thickness = 4; fan_width = 112; fan_height = 112; fan_length = 20; front_y_thickness = 3; side_x_offset = x_width / 2 - edge_x_thickness / 2; fan_spacing = 7; fan_x_offsets = [0, -fan_width - fan_spacing, fan_width + fan_spacing]; front_y_offset = - y_lengt...
glb/cad_5a2e3932c910.glb
Create a Quick-Release windshield mount for the V1G2 radar detector consisting of two primary components: a windshield dock and a removable hook. First, construct the dock as a rectangular base with a width of 31.4mm and a depth of 21.5mm. The dock features a recessed central area to house the hook and contains eight ...
use <threads.scad> draft = 0; $fa=draft ? 6 : 2; $fs=0.1; $eps = 1/80; threads=draft ? 0 : 1; bottom_thickness = 0.35; draft_angle=5; mount_width=27.4; mount_depth=17.5; mount_trap_angle=15; mount_trap_height=4.1; bolt_dia = 5.5; magnet_dia = 5.1; small_disc_dia = 6.4; small_disc_height = 3.1; pair_magnet_dia=10.3; ...
glb/cad_8481b30baf62.glb
Create a phone holder for a computer screen consisting of a main bracket and three small locking wedges. First, construct the main bracket. Create a rounded rectangular frame with an outer width of 142.5mm and a height of 79mm. The frame has a border width of 7.5mm and a depth of 8mm. The interior is hollowed out to ...
use <../lib/roundedcube.scad> use <../lib/utils.scad> computer_width = 142.5; computer_height = 79; computer_radius=8; border_width = 7.5; border_depth = 8; overhang = 2.5; rear_outset_depth = 12.25; front_outset_depth = 33.75; phone_shelf_depth = 30; complete_shelf_depth = rear_outset_depth + front_outset_depth + pho...
glb/cad_9d6b762ac6e1.glb
Create a Honeycomb Storage Wall consisting of a grid of hexagonal cells. Each cell is defined by a hole width of 20mm and a wall thickness of 1.8mm, with the overall depth of the grid being 8mm. The structure is composed of repeating hexagonal units. Each unit is formed by six walls arranged in a hexagon, where each ...
depth = 8; hole_width = 20; wall_thickness = 1.8; max_grid_width=100; max_grid_height=100; fill=true;; flip_staggering=true; columns=[3,5,8,6,4,3,4,5,6]; include_offsets=false; column_offsets=[0,-2,-3,-1,0,2,4]; include_gaps=false; column_gaps=[[], [3,4], [4,5], [2]]; edge_left = false; edge_top = false; edge_r...
glb/cad_854e4c345dff.glb
Create a stamp consisting of a rectangular base with a raised text element on its top surface. Start by constructing a solid rectangular block measuring 28.1mm in width, 13.5mm in depth, and 7.5mm in height. On the top face of this block, add the text "Mike" as a raised 3D extrusion with a height of 1.6mm. The text sho...
x = 28.1; y = 13.5; z = 7.5; text_z = 1.6; text_size = 8.5; text_border = 2.7; text = "Mike"; $fn=128; mirror([1,0,0]) union() { cube([x, y, z]); translate([text_border, text_border, z - 0.5]) color("red") linear_extrude(text_z) text(text, size = text_size, halign = "top", direction="...
glb/cad_ff74b573fddb.glb
Create a pup cup by revolving a specific profile around a central vertical axis. The profile begins at the origin and extends to a point 22mm from the center along the base. From there, it rises vertically by 0.75mm, then angles outward to reach a distance of 30.75mm from the center at a total height of 60mm. The profi...
$fa = 1; $fs = 0.4; height=60; bottomWidth=44; topWidth=58; thickness=.75; polyPoints=[ [0, 0], [bottomWidth/2+thickness, 0], [topWidth/2+thickness, height], [topWidth/2, height], [bottomWidth/2, thickness], [0, thickness] ]; rotate_extrude() { polygon(polyPoints); translate([((topWidth)/2)+thickness*2, heig...
glb/cad_3f0b151d5415.glb
Create an Under Desk Tissue Hanger by constructing a U-shaped open-top container. Start with a base rectangular frame measuring 126mm wide by 96mm deep with a wall thickness of 5mm. The two side walls should each be 200mm tall. The side walls and the bottom floor of the container must feature a hexagonal honeycomb gri...
$fa = 1; $fs = 0.4; difference() { linear_extrude(200) { difference() { square([126, 96]); translate([2.5, 2.5]) square([121, 101]); } translate([0, 93]) { translate([-10,0,0]) square([10,3]); translate([126,0,0]) ...
glb/cad_772ef6094187.glb
Create a vintage Caltex logo display. Begin with a circular base 60mm in diameter and 5mm high. On top of this base, center a vertical support cylinder with a diameter of 19.15mm and a height of 50mm. At the top of the support, position a main decorative head. This head is a flattened sphere with a radius of 63.5mm, s...
$fn=60; mode=0; if(mode==0||mode==1) { color("LightGray") { cylinder(h=5.01,d=60); } } if(mode==0||mode==1) { color("LightGray") { translate([0,0,5.03]) { minkowski() { cylinder(h=0.01,d=50); sphere(5); } } } } if(mode==0||mode==1) { color("LightGray")...
glb/cad_12f3d976ca0f.glb
Create a Renault Megane II Break automotive part case. Start by constructing an outer shell as a polyhedron with a rectangular base of 36mm by 42mm and a height of 16mm, where the top edges taper inward to points at 8mm and 28mm along the length. Hollow this out by removing an inner polyhedron of 32mm by 38mm with a he...
use </home/evandro/snap/openscad-nightly/common/MCAD/libtriangles.scad> module outerpoly() { points = [ [0,0,0], [36,0,0], [36,42,0], [0,42,0], [8,0,16], [28,0,16], [28,42,16], [8,42,16]]; faces = [ [0,1,2,3], [4,5,1,0], [7...
glb/cad_44b335425c6a.glb
Create a badge holder designed to hold three cards. The main body is a rectangular sleeve with rounded corners, measuring 85.6mm in length and 53.98mm in width. The total height of the holder is 3.78mm, which is derived from the combined thickness of three cards (0.76mm each), two walls of 1mm thickness, and two intern...
cards = 3; card_length = 85.60; card_width = 53.98; card_thickness = 0.76; card_radius = 3.18; space = 0.2; thickness = 1; chamfer = 0.5; eps = 1/128; $fa=1; $fs=0.2; full_height = 2*space + 2*thickness + cards*card_thickness; function bodyframe() = [ [0, 0], [0, full_height], [card_radius+space+thickn...
glb/cad_fb95eab13c32.glb
Create a Dehydrator Desiccant Tray in the shape of a hollowed-out circular sector. Start with a base cylinder that has an outer diameter of 308mm and a height of 23mm. Remove a concentric inner cylinder with a diameter of 68mm to create a ring-shaped wall. The floor of the tray should be a solid disk with a thickness ...
use <MCAD/regular_shapes.scad>; $VERBOSE=1; CUSTOM_TRAY_DIAMETER=0; CUSTOM_TRAY_HEIGHT=0; CUSTOM_CENTER_DIAMETER=0; CUSTOM_WALL_WIDTH=0; CUSTOM_FLOOR_DEPTH=0; CUSTOM_TRAY_SECTIONS=0; $fa = 0.3; $fs = 0.3; diameter=(CUSTOM_TRAY_DIAMETER==0) ? 308 : CUSTOM_TRAY_DIAMETER; radius=diameter/2; hole=(CUSTOM_CENTER_DI...
glb/cad_bb37d44c660e.glb
Create a runout sensor adapter consisting of three stacked, rounded rectangular sections. The base section is a rounded plate measuring 47mm wide, 74mm long, and 3mm thick. Position four 3.2mm diameter holes through this base: two at the front (y=0) and two at the rear (y=-31), spaced 27mm apart symmetrically from the ...
include <write/Write.scad> use <Write.scad> $fn=25; difference() { union(){ translate ([0,-.5,0]) rounded_cube([47,74,3],1); translate([0,21,1.5]) rounded_cube([47,32,6],1); translate([0,44.5,4]) rounded_cube([47,20,11],1); translate([19.5,37,10]) rounded_cube([8,5,8],1); t...
glb/cad_39b6405baf71.glb
Create a pot insert by constructing a central cylinder with a diameter of 47mm and a height of 30mm. To this central cylinder, add five rectangular fins that radiate outward from the center. Each fin must be 39mm wide, 2mm thick, and 30mm high. Position these fins symmetrically around the cylinder, spaced at 72-degree ...
$fn=128; width=2; innerDiameter=47; outerRadius=78/2; height=30; difference() { rotate([0, 0, 18]) union() { cylinder(h=height,d=innerDiameter,center=true); for (i = [0:5]) { rotate([0, 0, (360/5) * i]) translate( [outerRadius/2, 0, 0]) cube([outerRadius,2,height], center=true); ...
glb/cad_5bdf0e90aed6.glb
Create a spice rack consisting of a long rectangular backbone and four circular holders. Start by creating a central rectangular bar that is 225mm long, 5mm wide, and 15mm thick. Along this bar, place four identical ring-shaped holders spaced evenly apart. Each holder is formed by taking a cylinder with a radius of 23m...
inner_radius = 20; translate([(225/2), 25, 0]) cube([225, 5, 15], center=true); for (i=[0:3]) { translate([i*56.5 + 28, 2, 0]) { difference() { intersection() { cylinder(h=30, r=(inner_radius + 3), center=true); translate([0, 7.8, 0]) ...
glb/cad_7633efa7c700.glb
Create a DIY Air Wound Coil Form consisting of a main cylindrical body and a removable core. First, construct the main form as a cylinder with a diameter of 40mm and a length of 60mm. Subtract a central core from this cylinder. The core is created by extruding a complex profile along the length of the form; this prof...
$fn =100; length = 60; diameter = 40; key = 4; axle = 3.3; taper = 0.9; difference() { cylinder(length, diameter/2, (diameter/2), center = false); translate([-2.1, diameter/2 - 2, -1]) { color("green") cube([4.2, 3, length + 2], center = false); } translate([ -diameter/2 - 1, -2, -1]) { color("blue") cube([...
glb/cad_211e102fa038.glb
Create a DIY Air Wound Coil Form consisting of a rectangular base with a series of integrated wire channels. Start with a solid rectangular block measuring 33.66mm in length, 4mm in width, and 5.5mm in height. Along the center of the length, create a sequence of 12 cylindrical holes to serve as wire paths. Each hole ...
$fn = 100; turns = 12; wire = 1.32; TPI = 6; lock = 0.8; space = 25.4/TPI; pitch = 1/TPI; length = 3+(turns+1)*25.4/TPI; echo(length); form_diameter = 2.5; form_circumference = form_diameter*3.1416; angle = atan(pitch/form_circumference); echo(angle); difference() { cube([length, 4, 5.5]); for (i = [3 : spac...
glb/cad_74bfc87ac75b.glb
Create a valet tray by starting with a solid rectangular block measuring 180mm wide, 104mm deep, and 8mm high. Apply a 10mm fillet to all four exterior vertical corners of this block. Carve out three compartments from the top of the block, leaving a 2mm thick floor and 5mm spacing between the compartments and the oute...
WIDTH = 180; HEIGHT = 8; FLOOR_THICKNESS = 2; EXTERIOR_FILLET = 10; TRAY_SPACING = 5; ROW1_DEPTH = 64; ROW1_TRAY_COUNT = 2; ROW1_TRAY_WIDTH = ( WIDTH - (ROW1_TRAY_COUNT+1)*TRAY_SPACING ) / ROW1_TRAY_COUNT; ROW1_TRAY_FILLET = 15; ROW1_HEIGHT_OFFSET...
glb/cad_df3e443a909a.glb
Create a Phone Mount for Laptop consisting of a structural clip and support frame. Start by creating a main rectangular clip body with a width of 76mm and a height of 19mm. Within this body, carve out a central slot to accommodate a laptop with a thickness of 5mm. Construct the support structure using material with a ...
phoneLength=155; phoneWidth=75; phoneThickness=12; laptopThickness=5; clipWidth=76; materialThickness=3; clipHeight=19; difference() { translate([0,4-laptopThickness,0]) cube([clipWidth,9.6+laptopThickness,clipHeight]); translate([-1,7-laptopThickness,-1]) cube([80,laptopThickness,14]); tra...
glb/cad_4abc240e42bb.glb
Create a crutches hook helper clamp extension consisting of a mounting clamp and an extending arm. Start by creating a bar clamp designed to fit a rod with a 19mm diameter. The clamp should have a main thickness of 3.2mm, a gap of 2.4mm between the clamping sections, and include a screw mechanism with a 3mm screw diame...
rod_d = 19; bar_l = 40; use <gopro_mounts_mooncactus.scad> translate([0, -10.35, 0]) gopro_bar_clamp( rod_d= rod_d, th= 3.2, gap= 2.4, screw_d= 3, screw_head_d= 6.2, screw_nut_d= 6.01, screw_shoulder_th=4.5, screw_reversed=true ); translate([0,-bar_l - 10.35]) gopro_extended(len=bar_l + 2*10.35, th=3); tr...
glb/cad_5d1d32a3b727.glb
Create a Knitting Machine Buckle consisting of two interlocking parts: a buckle plate and a buckle shroud, both with a thickness of 12mm. First, create the buckle plate. Start with a polygon base 70mm wide and 80mm long. The top edge is clipped at the corners to create a peaked shape. Center a 10mm diameter hole near ...
buckleWidth=70; buckleLength=80; buckleThickness=12; toothLength=5; numberTeeth=16; toothWidth=buckleWidth/numberTeeth; toothCleanance=2; hangerHoleDiam=10; axlePlacement=0.35; axleDiam=7; axleClearance=0.5; plateClearance=0.5; shroudWidth=8; demoBuckleOpeningAngle=30; demoClearance=0.00; shroudThickness=buckleThickne...
glb/cad_826854f264b4.glb
Create a crutches cup holder consisting of a mounting clamp and a cylindrical cup sleeve. First, construct a bar clamp designed for a 22mm diameter rod with a main thickness of 3.2mm, a gap of 2.4mm between the clamp sections, and screw heads with a diameter of 6.2mm and nut diameters of 6.01mm. Attach a linear extrude...
rod_d = 22; bar_l = 10; cup_d1 = 53; cup_d2 = 55; cup_th = 2; use <gopro_mounts_mooncactus.scad> translate([0, -10.35, 0]) gopro_bar_clamp( rod_d= rod_d, th= 3.2, gap= 2.4, screw_d= 3, screw_head_d= 6.2, screw_nut_d= 6.01, screw_shoulder_th=4.5, screw_reversed=true ); translate([0,-bar_l - 10.35]) gopro_e...
glb/cad_909859f35b38.glb
Create a Crutches Nespresso cup holder consisting of a mounting clamp and a cup ring. Start by creating a bar clamp designed for a 22mm diameter rod, with a main thickness of 3.2mm, a gap of 2.4mm between clamps, and screw heads with a diameter of 6.2mm and nuts with a diameter of 6.01mm. Extend this mount with a linea...
use <gopro_mounts_mooncactus.scad> use <FlushLockingConnectors.scad> rod_d = 22; bar_l = 10; cup_d1 = 53; cup_d2 = 56; cup_th = 2; length = 15; depth = 15 * 2/3; height = 14.60; x = length; y = depth; z = height; key_x = x * 2/3; key_y = y * 2/3; key_z = z * 2/3; lock_height = 1; translate([0, -10.35, 0]) gopro_...
glb/cad_8171c2e772b6.glb
Create a C-profile Quick Release Clamp designed for a 20mm extrusion. The model consists of a main jaw body and a rotating cam lever. First, construct the jaw. Create a base block with a length of 30mm. On the bottom face, carve a T-shaped groove to fit the C-profile, with a maximum groove width of 13mm, a minimum wid...
extrusion_type = "Cprofile"; clamp_len = 30; jaw_len = 60; groove_depth = 2; lever_nub = 1; pad_ratio = 0.75; wall_thickness = groove_depth+2; extrusion_size = (extrusion_type == "1515")?15: (extrusion_type == "2020")?20: (extrusion_type == "80/20 1010")?25.4: (extrusion_type == "80/20 20-2020")?...
glb/cad_05c0da29054f.glb
Create a Gridfinity battery holder for LR1 batteries. Start by creating a standard 1x1 Gridfinity base block with a total height of 2mm. From the center of this block, remove a cylindrical void to create a storage cup. The main body of the void should be a cylinder with a diameter of 12.2mm and a height that extends fr...
include <gridfinity_modules.scad> cup_height = 2; stick_diameter = 12.2; easement_z = 0.7; minimum_wall = 4; blocks_needed = ceil((stick_diameter+2*minimum_wall)/gridfinity_pitch); render() glue_stick_cup(blocks_needed, blocks_needed, cup_height); module glue_stick_cup(num_x=1, num_y=1, num_z=1) { difference() { ...
glb/cad_c59a4c4061c6.glb
Create a low-poly Gastly figure. Start by constructing the main body as a sphere with a radius of 30mm, but rendered with low facet resolution to maintain a faceted, geometric appearance. For the mouth, create a hollow opening by removing a cubic volume. Position this cutout at a Z-height of 34mm and an X-offset of 1...
fr1 = 1.5; fr2 = 3.5; fr3 = 0.6; fh1 = 8; fh2 = 3; faz = 145; fay = 0; few = 3; r1 = 30; mz = 34; mx = r1/2 ; mr1 = 15; mr2 = 45; difference(){ union(){ cylinder(r1=fr1, r2=fr2, h=fh1,$fn=5); translate([0,0,fh1]) cylinder(r1=fr2, r2=fr2, h=fh2,$fn=5); translate([0,0,-fr1/2]) cylinder(r1=fr3, ...
glb/cad_2392bc8275d0.glb
Create a circular drink coaster with a total height of 4mm and a diameter of 85mm. Hollow out the center of the cylinder by removing a smaller concentric cylinder starting 3mm from the base, with a diameter that tapers from 82mm at the bottom of the cutout to 85mm at the top surface, leaving a thin outer rim and a soli...
$fa=2; $fs=.05; difference() { cylinder(h=4, d=85); translate([0, 0, 3]) cylinder(h=2, d=82, d2=85); translate([0, 0, -24]) scale([.7, .7, .5]) surface("hazard.png", center=true); }
glb/cad_a01cc2b6d186.glb
Create a boat trailer roller consisting of a central core and an outer sleeve. First, construct the inner core as a cylinder 100mm tall with a diameter of 51mm. Remove a central longitudinal hole from this core: the hole should be 28mm in diameter for most of the length, but widen to 41mm in diameter for a 30mm section...
$fn=100; module inside(){ difference(){ union(){ cylinder(100,51,51); cylinder(6,53,53); } union(){ cylinder(30,41,28/2); translate([0,0,70]) cylinder(30,25,41); translate([0,0,30]) cylinder(45,28/2,28/2); }} } module outside(){ difference(){ linear_extrude(100) circle(55); linear_extru...
glb/cad_ae258d5afd9f.glb
Create a charging station for multiple power banks. The main structure consists of a series of stacked rectangular racks. For each rack, create a rectangular outer shell with a wall thickness of 2mm. Inside this shell, carve out a central rectangular cavity to hold a power bank, leaving a bottom wall and side walls. A...
include <../lib/slots.scad> include <../lib/rail.scad> include <measurements.scad> $fn=32; translate([0,0,floor_thickness]) rotate([0,0,180])multi_pack(bank_count); lid(); module multi_pack(count) { translate([0,0-(count-1)*(bank_height+wall_width)/2, 0]) { for ( ii = [0 : count-1] ){ translate([0,ii*(ba...
glb/cad_9889a37dc459.glb
Create a charging station base for a power bank and charger. Start by constructing a central plug component that consists of a rectangular block measuring 4mm by 2mm by 2mm, flanked on two opposite sides by cylinders with a radius of 2.25mm and a height of 2mm. Combine these into a single solid. From this solid, remov...
include <measurements.scad> $fn=32; tolerance = 0.5; overhang=2; difference() { plug(); rotate([0,20,0]) translate([wall_width*6.5,0,-.1]) cube([wall_width*10, channel_radius*3, channel_radius*8], center=true); } translate([3,0,0]) intersection() { plug(); rotate([0,20,0]) translate([wall_width*6.5,0,-.1]) cube([wa...
glb/cad_36c798e32ab3.glb
Create a CTC Wall Peg container consisting of a short, threaded cylinder. The main body is a cylinder with a radius of 21.5mm and a height of 10mm. Wrap the exterior of this cylinder with a continuous screw thread. The thread should have a size of 0.8mm and wrap around the circumference four times over the height of th...
$fn=128; $fa=1; r=20; thread_l = 16; n_threads = 4; cylinder_radius = 21.5; min_cushion=2; cylinder_height=10; function cat(nested) = [ for(a=nested) for (b=a) b ]; module threads(radius, height, n_threads=1, thread_size=1, inverse=false) { difference() { modx = inverse ? -1 : 1; for (start = [0:360/n_...
glb/cad_7f4a10fcce3d.glb
Create a CTC Wall Peg container consisting of a base and a matching cap. For the base, create a cylinder with a radius of 21.75mm and a total height of 40.15mm. The bottom 30.15mm is a smooth wall with a thickness of 2mm. Above this, add a threaded section 10mm high with a pitch of 3mm, reducing the inner radius slig...
use <../../lib/threads.scad> use <../../lib/text_decoration.scad> render_shape = "base"; font_name = "Nunito"; center_text = "#3dprinting"; center_font_size=5.5; outer_font_size=4.1; top_text = "I OPEN AT"; top_text_arch=130; bottom_text = "THE CLOSE"; bottom_text_arch=140; arch_text_margin = 1.5; side_text ...
glb/cad_c19cc1d703e6.glb
Create a CTC Wall Peg, which is a mounting plate designed for a pegwall. Start by creating a main wall plate with a thickness of 6mm. The overall width of the plate is 71.5mm and the height is 55.5mm. The plate features a series of three circular holes designed to receive inserts. Each hole has a radius of 21.8mm. The...
use <../../../lib/utils.scad> insert_vertical_count = 1; insert_horizontal_count = 3; sign_depth=6; insert_radius = 21.8; insert_gap = 3.75; bracket_width=sign_depth; sign_width = insert_radius*2*insert_horizontal_count + insert_gap*(insert_horizontal_count+2)+bracket_width*2; sign_height = insert_radius*2*insert_v...
glb/cad_b7885f19fa1d.glb
Create a Magnetically Sealed Pokemon TCG Deck Box consisting of a base and a lid. For the base, create a semi-rounded rectangular container with an outer dimension of approximately 71.8mm x 96.8mm x 23.3mm (based on a 67mm x 92mm x 19.3mm internal deck space plus 2mm walls). Hollow out the center to fit a standard de...
outside(); adhesionPads = false; $fn = 50; magnetLength = 21; magnetWidth = 11; magnetDepth = 1.2; deckWidth = 63+2; deckHeight = 88+2; deckThickness = 19.3+2; deckCornerR = 1.8; coinDiameter = 34.91; coinThickness = 2.78; wall = 2; GxCardWidth = 41.66; GxCardHeight = 63.5; GxCardDepth = 1.5; PoisonRadius = 11....
glb/cad_5fd63cbc1383.glb
Create a Codenames box with a hinged lid and internal compartments for game cards and a timer. The main body is a rectangular container with walls 4mm thick. Inside the body, create two primary card slots. The first slot is designed for word cards, measuring 69.5mm in length, 45mm in width, and 41mm in depth. The sec...
wall_width = 4; lid_spacing = .75; card_angle = 20; font = "Woodford Bourne Bold"; letter_size = 10; word_card_length = 69.5; word_card_width = 45; word_card_depth = 40+1; map_card_width = 68.25; map_card_height = map_card_width; map_card_depth = 13.5+1; spy_card_length = 73.75; spy_card_width = 50; spy_card_depth...
glb/cad_f127875ae013.glb
Create a Gridfinity battery holder for 14250 batteries. Start by constructing a standard Gridfinity base block that is 2 units high (total height of 14mm), spanning 1 unit by 1 unit in the grid pitch. From the center of this block, remove a vertical cylindrical void to create a cup. This void should have a diameter of ...
include <gridfinity_modules.scad> cup_height = 2; stick_diameter = 15; easement_z = 0.7; minimum_wall = 4; blocks_needed = ceil((stick_diameter+2*minimum_wall)/gridfinity_pitch); render() glue_stick_cup(blocks_needed, blocks_needed, cup_height); module glue_stick_cup(num_x=1, num_y=1, num_z=1) { difference() { ...
glb/cad_ee28c1950772.glb
Create a Drip Tray for a wet area caddy with a total width of 100mm and a depth of 75mm. Construct the base using a series of parallel main beams, each 10mm high and 2mm thick, spaced 10mm apart across the width. Each beam should have a rounded profile. On the first and last beams, add cylindrical feet with a diamete...
Section="all"; Width=100; Depth=75; Spacing=10; BeamsCount=0; Height=10; Thickness=2; CrossbeamHeight=0; CrossbeamThickness=0; CrossbeamPositions = [0.2, 0.8]; TrayThickness = 2; TrayAngle = 2; Feet="y"; FeetInterval = 1; FeetSize=0; FeetThickness=0; FeetPosition = [0.05, 0.95]; Tail="n"; Lip="n"; $f...
glb/cad_e8b68ad55c8e.glb
Create an adjustable PVC joint designed for 1" pipe (33.5mm outer diameter). The main body is a cylinder with an outer diameter of 46.5mm and a height of approximately 74.4mm. Center a vertical hole through the cylinder with a radius of 17.25mm and a height of 33.5mm to accommodate the pipe. Create a secondary vertic...
TOLERANCE = 1; module rotate_about_pt(z, y, pt) { translate(pt) rotate([0, y, z]) translate(-pt) children(); } module bolt(l, t){ BOLT_LENGTH = l; HEAD_LENGTH = 14.2 + t; HEAD_WIDTH = 8 + t; HEAD_HEIGHT = 6 + t; SHAFT_DIAMETER = 10 + t; cylinder(r=SHAF...
glb/cad_f0efde338d38.glb
Create a holder for a Combi controller by constructing a thin-walled open rectangular box. The base should be a flat plate measuring 62mm by 95mm with a thickness of 1mm. From this base, extend two parallel side walls upward to a height of 38mm, each with a thickness of 1mm. One wall should be positioned along the leng...
include <BOSL/constants.scad> include <BOSL2/std.scad> include <Chamfers-for-OpenSCAD/Chamfer.scad> use <BOSL/transforms.scad> use </chamfercube.scad> translate([5,0,0]) union(){ cube([61,79,1]); rotate([0,270,0]) cube([38,95,1]); translate([61,0,0]) rotate([0,270,0]) cube([38,95,1]); translate([-1,0,0]) rotate([9...
glb/cad_e1f594ae7bd7.glb
Create a customizable pliers rack consisting of a backplate and a front holder. Start by creating a backplate as a cuboid measuring 35mm wide, 230mm long, and 5mm thick, with rounded corners. In this backplate, place four 4mm diameter holes for mounting: two centered 5mm from the side edges and 5mm from the top and bot...
nHoles = 7; include <BOSL2/std.scad> hx = 10; hy = 30; hz = 35; inset=10; edges = 5; sx = 35; sy = (hy)*nHoles+edges*4; sz = 5; rounding=5; $fn=48; module back() { holeInset=5; holeDia=4; difference() { cuboid([sx,sy,sz]); translate([sx/2-holeInset, sy/2-holeInset, -holeInset]) ...
glb/cad_7570a99f3d1b.glb
Create a flare nut wrench with a total thickness of 10mm. The tool consists of a handle connecting two different end types. For the first end, create a cylinder with a radius of 18.75mm and a height of 10mm. Center a hexagonal hole within this cylinder that has a flat-to-flat width of 21mm and a depth of 10mm. To conv...
$fn = 90; metric = true; socket_size = 21; socket_minimum_wall_thickness_mm = 8; socket_hexagon_depth_mm = 10; socket_hexagon_tolerance_mm = 0.25; handle_length_mm = 25.4 * 4; end1_round = true; end1_12point = false; end2_round = true; end2_open = true; add_label = true; flare_nut = true; end2_include = true; socket_...
glb/cad_c2d0dfc960a5.glb
Create a fan shroud for a direct drive extruder consisting of two symmetrical angled components. Each component is based on a primary housing block that is rotated 45 degrees relative to the print bed. For each side, construct a main body that integrates a rectangular air duct. The duct features a hollow interior cha...
$fn=60; module nozzle() {polyhedron( points=[ [0,0,0],[30,0,0],[30,6,0],[0,6,0], [-5,0,5],[35,0,5],[35,10,5],[-5,10,5] ], faces=[[0,1,2,3], [4,5,1,0], [7,6,5,4], [5,6,2,1], [6,7,3,2], [7,4,0,3]] ); }; module corner() {polyhedron( points=[ [0,0,0],[15,0,0],[15,5,0],[-0.5,5,0], [-2.5,0,5],[17.5,0,...
glb/cad_a7be274da99b.glb
Create a hexagonal honeycomb grid composed of repeating hexagonal cells. Each individual cell is a six-sided prism with a total height of 8mm. The outer diameter of each hexagonal cell is 27.06mm (calculated as 23.6mm divided by the cosine of 30 degrees). Each cell is hollowed out by a smaller hexagonal void. The bot...
G=23.6; thin_wall=0.8; thick_wall=1.8; H=8; h_thick=5; h_taper=1; n=4; D=G*2/sqrt(3); d1=(G-2*thin_wall)*2/sqrt(3); d2=(G-2*thick_wall)*2/sqrt(3); tx=G*sqrt(3)/2; ty=G/2; $fn=6; module hex(x=0,y=0){ translate([x,y,0]){ difference() { cylinder(h=H,d=D); translate([0,0,-1])cylinder(h=H+2,d=d2); ...
glb/cad_d15b7852882e.glb
Create a Door Holder consisting of a hollow base and a matching slider. First, construct the base as a solid rectangular block 100mm wide, 50mm high, and 25mm deep. Carve a rectangular cavity out of the center of this block to create a channel. The cavity walls should be 3mm thick, leaving an internal opening that is 9...
width = 100; height = 50; depth = 25; wall_thickness = 3; lip_height = 4; lip_thickness = 5; tolerance = 0.97; eps = 0.01; lip_wall_thickness = lip_thickness + wall_thickness; slider_width = width - wall_thickness; slider_height = height - (lip_wall_thickness * 2); slider_depth = depth - wall_thickness; module s...
glb/cad_67e99a2d7291.glb
Create a magnetic PCB holder consisting of a cylindrical base and a raised rim. Start by creating a solid cylinder with a diameter of 12.4mm and a height of 2mm. Inside this base, center a cylindrical hole with a diameter of 10.2mm and a depth of 1.2mm, leaving a 0.2mm thick floor at the bottom to house a magnet. On t...
PCBZoffset = 2; PCBThickness = 1.6; RimWidth = 2; RimExtraHeight = 0.5; RimSlant = 15; MagnetDiameter = 10; MagnetHeight = 1; ClipType = 0; CornerSize = 14; BottomLayer = 0.2; TopMinimumLayer = 0.3; WallThickness = 1.0; Tolerance = 0.2; epsilon = 0.001; $fn = 100; module clip() { outer_diam = MagnetDiam...
glb/cad_8d2fbc7e9398.glb
Create a replacement headlight cap by constructing a hollow cylinder with an outer diameter of 74.5mm and a total height of 57mm. The walls and the base should both be 2mm thick, resulting in an interior cavity with a diameter of 70.5mm and a depth of 55mm. The top of the cylinder must remain open. Ensure the geometry ...
diameter=70.5; height=55; thickness=2; $fn=200; led=false; led_hole_dia=30; difference(){ cylinder(d=diameter+2*thickness,h=height+thickness); translate([0,0,thickness]) cylinder(d=diameter,h=height+0.01); if (led==true){ translate([0,0,-0.01]) cylinder(d=led_hole_dia,h=thickness+0.02); }}
glb/cad_5f8d3b766289.glb
Create a laundryrack clip designed to secure a cylindrical pin. Start by forming a main body that is 30mm long. The core structure is a combination of two intersecting cylindrical forms: one cylinder with a 8mm diameter oriented along the X-axis and another cylinder with a 13mm diameter oriented along the Z-axis. Ref...
$fn=200; include <rounded_cube.scad>; module laundry_rack() { rotate([90,0,0]) translate([0,0,-20]) cylinder(40,4.6/2,4.6/2); rotate([0,90,0]) translate([-3,0,-5]) cylinder(40,4/2,4/2); } module laundry_rackclip() { clip_length=30; color([0.5,0.5,0.8]) difference() { union() { ...
glb/cad_a856109726ae.glb
Create a locking clip for a trolley accessory system. Start with a main body that is 15mm wide and 15mm tall. The primary structure consists of a vertical C-shaped channel with a flat top. On one side, create a hook by combining a cylinder with an 8mm diameter and a height of 15mm, integrated with two rectangular block...
clip2(); $fn=80; module clip2() { ch=15; cd=8; difference() { union() { translate([-14,72.15,0]) { cylinder(d=cd,h=ch); } translate([-14,5,0]) { cube([4,67.1,ch]); } translate([-26,5,0]) { ...
glb/cad_87fc5b637154.glb
Create a Water Bottle Dryer consisting of a central core with radiating fins. Start by creating a series of 13 identical rectangular fins, each measuring 4mm by 60mm by 40mm. Arrange these fins in a radial pattern around a central axis, rotating each subsequent fin by 30 degrees around the X-axis. To form the central v...
difference() { for (i = [0 : 12]){ rotate([0, 30*i,0]) translate([-2,0,0]) cube([4,60,40]); } translate([0,30,0]) { rotate([90,0,0]) { rotate_extrude(convexity = 10, $fn = 100) { translate([30, 0, 0]) circle(r = 20, $fn = 100); translate([10,-20,0...
glb/cad_757af78185e0.glb
Create a paper towel holder consisting of two brackets, one central dowel, and two screw-on knobs. First, create two identical brackets. Each bracket features a mounting base that transitions into a cylindrical arm. The arm is 100mm wide and 67mm long, with a central circular cutout of 20mm diameter and a height of 10...
use <../ikea-raskog-trolley-clip2/mount2.scad> use <threadlib/threadlib.scad> $fn=80; w1=100; h1=15-5; h2=50; l1=67; translate([70,0,0]) { paper_towel_holder(); } translate([140,57,0]) { rotate([0,180,0]) { mirror([0,0,1]) { paper_towel_holder(); } } } translate([15,140,11.7...
glb/cad_a8fe7e404f7a.glb
Create a mounting bracket for a trolley paper towel holder. Start with a solid rectangular block measuring 10mm in width, 67mm in length, and 15mm in height. From this block, remove two identical rectangular sections to create cutouts. Each cutout should be a cube measuring 20mm by 25mm by 20mm, rotated 225 degrees aro...
mount2(); $fn=80; module mount2() { difference() { translate([-10,0,0]) { cube([10,67,15]); } for (y=[5,35]) { difference() { translate([-10+7.5,y,15/2]) { rotate([0,225,0]) { cube([20,25,20]); ...
glb/cad_a8c9dbed27af.glb
Create a series of extruder movement indicators. For each indicator, construct a main cylindrical cup with an outer diameter of 10mm and a height of 4.5mm. Hollow out the center of this cylinder with a hole 8.2mm in diameter and 5.52mm deep. Add a thin circular disc with a 9mm diameter and 0.4mm thickness at the top. ...
$fn=80; designs = [ ["\uf021", 0, 9, 3.8, -1 ], ["\uf0f1", 17, 8, 4.5, 0 ], ["\uf0e9", 90, 8, 4.5,-8 ], ["\uf06f", 90, 11, 6.5,-6 ], ["\uf040", 90, 8, 6.2,-7.5], ["\uf0af", 90, 8, 6.5,-7.5], ["\uf096", 90, 10, 6.8,-7.0], ["\uf08b", 90, 10, 7.7,-8.5], ["\uf07e", 50, 10, 8.0,...
glb/cad_c2e1e726b9e7.glb
Create a microscope slide holder with a main rectangular body measuring 76mm in length, 25mm in width, and 2mm in thickness. The four corners of the body must be rounded with a radius of 1.5mm. In the center of the top surface, create a circular inset for a round coverslip. This inset begins as a cylinder with a diame...
slide_length= 76; slide_width=25; tot_thick=2; Coverslip="Round"; slide_diam_raw=10.5; coverslip_length_r= 20.1; coverslip_width_r=20.1; coverslip_thick= 0.25; mount="Flush"; off_center=0.1; support=1.2; bore_taper=45; bore_straight=0.3; slide_chamfer=1.5; tol_coverslip=0.3; carve_depth=10; $fn=50; slid...
glb/cad_92f3c8a05398.glb
Create a curtain rail stopper consisting of a curved outer shell and a central vertical peg. Start by creating a base shell with a height of 6mm; the outer profile is an oval created by scaling a circle of 18.33mm diameter by 1.5 along the X-axis. Hollow out this shell by removing a central rectangular section 30mm lon...
module cap_outline(){ $fn=99; difference(){ scale([1.5,1,1])circle(d=18.33); translate([11.5,-11.50,0])square([3.5,30]); translate([-15,-11.5,0])square([3.5,30]); } } module peg(){ cube([3.2,12,15.6]); translate([0,-1.75,0])cube([3.0,15.5,3]); } module cap(){ union(){ tr...
glb/cad_985f0eb40e90.glb
Create a fan shroud for a 3D printer. Start with a central baseplate measuring 40mm by 52mm with a thickness of 2mm. Construct a hollow air duct that extends from the base. The main body of the duct is formed by a block 40mm wide, 34mm high, and 8mm deep, angled at 30 degrees. This duct should be hollowed out by remo...
nozzle_height_finetuning = 3; shroud_angle = 30; shroud_height = 2; module shroud() { difference() { union() { translate([0, -15 + shroud_height, 3]) rotate([-shroud_angle, 0, 0]) cube([40, 34, 8], center = true); } translate([0, shroud_height, 24]) cube([40 + 10, 50 + 10, 20], center = true); ...
glb/cad_d4903001a123.glb
Create a fan shroud for a 3D printer nozzle. Start with a baseplate measuring 40mm by 52mm by 2mm. Build a hollowed-out housing on top of this base, featuring a top slope angled at 30 degrees. The main body should be 40mm wide and 34mm deep with a height of 8mm. In the center of the base, create a circular opening wit...
nozzle_height_finetuning = 3; shroud_angle = 30; shroud_height = 2; module shroud_diff_sides() { translate([23, -24 + shroud_height, 10]) rotate([0, 30, 0]) cube([30, 24, 8], center = true); translate([-23, -24 + shroud_height, 10]) rotate([0, -30, 0]) cube([30, 24, 8], center = true); translate([22, -31.6 + ...
glb/cad_7f77839a81ad.glb
Create a filament spool holder consisting of a central cylindrical body and two snap-fit latches. Start by constructing the main body as a composite of three concentric cylinders centered on the Z-axis: a core cylinder with a diameter of 33.2mm and a height of 70mm, surrounded by a larger cylinder with a diameter of 40...
extended = +20; module base_shape() { union() { cylinder(50 + extended, 33.2 / 2, 33.2 / 2, true, $fn = 180); translate([0, 0, -14.7 / 2]) cylinder(50 + extended - 14.7, 40.4 / 2, 40.4 / 2, true, $fn = 180); translate([0, 0, -(50 + extended - 2) / 2 ]) cylinder(2, 50.0 / 2, 50.0 / 2, true, ...
glb/cad_3275b38fd242.glb
Create a spool holder part by constructing a thick, short cylinder with a height of 5mm and a radius of 4mm. Center a smaller, vertical cylindrical hole through the middle of the object with a radius of 1.8mm and a height of 20mm, effectively creating a ring-like shape with a deep central bore that extends beyond the t...
difference() { cylinder(h=5, r=4, center=true, $fn = 180); cylinder(h=20, r=1.8, center=true, $fn = 180); }
glb/cad_27837e8957c0.glb
Create a spool holder consisting of a hollow cylindrical body with a wide, flat base and top. The main body is a cylinder with an outer diameter of 33.2mm and a total height of 82mm. This main cylinder is hollowed out by a central bore with a diameter of 28mm. At the bottom, add a wider cylindrical base with a diamete...
extended = +32; module base_shape() { union() { cylinder(50 + extended, 33.2 / 2, 33.2 / 2, true, $fn = 180); translate([0, 0, -14.7 / 2]) cylinder(50 + extended - 14.7, 40.0 / 2, 40.0 / 2, true, $fn = 180); translate([0, 0, -(50 + extended - 2) / 2 ]) cylinder(2, 48.0 / 2, 48.0 / 2, true, ...
glb/cad_9ee6045a711b.glb
Create a top mounted spool holder consisting of two mirrored symmetrical halves joined at a central base. Each half begins with a hexagonal base plate 7.5mm thick with a radius of 22mm. From this base, extend a vertical hexagonal arm with a radius of 15mm and a height of 75mm. The transition between the base and the ar...
$fn=6; baseHeight=7.5; slopeHeight=4; radius=15; slopeRadius=22; spoolWidth=75; spoolRadius=100; skrewRadius=2; skrewHeadRadius=5.5; safeRadius=8; module arm() { hull() { translate([0,0,spoolWidth+baseHeight]) cylinder(r=radius, h=slopeHeight); translate([0,0,spoolWidth+baseHeight+slopeHeight]) cylinder(r=s...
glb/cad_c1b060f30e5e.glb
Create a top mounted spool holder consisting of two mirrored arms extending from a central mounting point. For each arm, start with a base that is a cylinder with a radius of 22mm and a height of 7.5mm. Above this base, add a main vertical cylinder with a radius of 15mm and a height of 75mm. Transition the top of this ...
$fn=90; baseHeight=7.5; slopeHeight=4; radius=15; slopeRadius=22; spoolWidth=75; spoolRadius=100; skrewRadius=2; skrewHeadRadius=5.5; safeRadius=8; module arm() { hull() { translate([0,0,spoolWidth+baseHeight]) cylinder(r=radius, h=slopeHeight); translate([0,0,spoolWidth+baseHeight+slopeHeight]) cylinder(r=...
glb/cad_f6166289b9a3.glb
Create a LiPo Cell Spotwelding Jig designed to hold four cylindrical cells in a row. Start by creating a solid base consisting of four cylinders, each with a diameter of 22.4mm and a height of 15mm, aligned centers along the x-axis with a spacing of 18.4mm between each center. Connect these cylinders with a rectangular...
$fs = 0.4; $fa = 1; num_cells = 4; cell_diam = 18; cell_clearance = 0.2; height = 15; wall_thickness = 1; block_width = (14/18)*cell_diam; module solid_cell_base() { cd = cell_diam + (cell_clearance*2) + (wall_thickness*2); cylinder(d=cd, h=height); } module solid_base(n) { for (i=[0:n-1]) { x = i*(cell_di...
glb/cad_abd630c546b7.glb
Create a hole plug for furniture by constructing a hollow cylindrical body with an outer diameter of 5.1mm and a height of 6mm, centered around a vertical axis. This main body must have a concentric inner hole with a diameter of 3mm running through its entire length. To create the ribbed exterior, add four thin, concen...
$fn=100; union() { translate([0,0,4.25]) difference() { difference() { cylinder(h=6, d=5.1, center=true); cylinder(h=7, d=3, center=true); } union() { translate([0,0,-2]) ...
glb/cad_a7f72b4b15d9.glb
Create a low-profile bed clamp for a 250mm printer bed. Start with a main body that is a rectangular block 115mm wide, 30mm deep, and 7mm high, centered on the X and Y axes. Carve a cylindrical cutout from the top center with a radius of 125mm and a height of 40mm to accommodate the bed. To refine the shape, remove a...
$fn=100; rotate([0,0,0]) bed_clamp(); module printer_mockup() { bed(); rotate([0,0,0]) frame(); rotate([0,0,120]) frame(); rotate([0,0,240]) frame(); } module bed() { color("DarkKhaki") translate([0,0,3]) cylinder(r1=125, r2=125, h=4, center=true)...
glb/cad_208eb378d288.glb
Create a bed cover for a 3D printer. Start with a main body consisting of two mirrored rectangular blocks, each 122mm wide, 100mm deep, and 7mm thick, joined together. Rotate this combined shape 120 degrees around the Z-axis and position it so the center is 161mm from the origin along the Y-axis and 3.5mm up on the Z-a...
$fn=100; rotate([0,0,240]) bed_cover(); module printer_mockup() { bed(); rotate([0,0,0]) frame(); rotate([0,0,120]) frame(); rotate([0,0,240]) frame(); } module bed() { color("DarkKhaki") translate([0,0,3]) cylinder(r1=125, r2=125, h=4, center=tru...
glb/cad_377050e1f00b.glb
Create a replacement fixture ring for a horse stable by constructing a torus with a circular cross-section. The ring should have a major radius of 9mm from the center of the ring to the center of the cross-section, and the cross-section itself should be a circle with a diameter of 2.4mm. Instead of a complete closed lo...
$fn=100; rotate_extrude(angle=355) translate([9-1.2, 0, 0]) circle(d=2.4);
glb/cad_40eac5909039.glb
Create a Couch Saver stand by starting with a flat circular base 120mm in diameter and 2mm thick. On top of this base, add a truncated cone that starts at a 120mm diameter at the bottom and tapers up to a 60mm diameter at a height of 32mm. From the center of this assembly, remove a vertical cylindrical hole with a diam...
$fn=120; difference() { union() { translate([0,0,1.99]) cylinder(d1=120,d2=60,h=32); translate([0,0,0]) cylinder(d=120,h=2); } difference() { translate([0,0,20]) { rotate_extrude(convexity = 10) translate([52, 0, 0]) circle(r = 19); } translate([0,0,-2.5]) cylinder(d=120,h=4...
glb/cad_b0c4b52bf062.glb
Create a Prusa Mini Tool Holder consisting of a main storage compartment and a specialized caliper holder. The main body is a hollowed-out shell with a total height of 75mm and wall thickness of 2mm. The outer footprint is an irregular L-shape defined by a polygon with vertices at [1,15], [30,15], [30,70], [-60,70], [-...
$fn = 50; compartment_height = 75; mounting_hole_radius = 4.5; mounting_hole_depth = 2.5; divider_height = compartment_height-mounting_hole_depth-22.5; wall = 2; round_edges = 1; difference(){ difference(){ linear_extrude(compartment_height){ minkowski(){ polygon([[1,15], [30,1...
glb/cad_442458e180de.glb
Create a vacuum hose connector adapter by revolving a specific profile around a central axis. The profile consists of three connected sections. First, create a base cylinder with an inner diameter of 53.6mm and a wall thickness of 3mm, extending to a height of 30mm. At the top of this cylinder, add a 5mm tall collar th...
SawInnerDia=53.6; SawInsertionDepth = 30; Thk=3; HoseTipDia=44; HoseTaperDia=45.5; HoseTaperLen=46; SawStopDist=5; AngledSectionLength = 30; rotate_extrude(convexity = 10,$fn=200){ union(){ color("Red") {polygon(points=[[SawInnerDia/2,0],[SawInnerDia/2,SawInsertionDepth],[SawInnerDia/2,SawInsertionDepth-1]...
glb/cad_b4350b6dffe3.glb
Create a Boston Valve Inflation Adapter consisting of a threaded base and a tapered upper nozzle. Start by creating a cylindrical base with an outer diameter of 28mm and a height of 7mm, featuring external screw threads with a pitch of 1.7mm and a tooth height of 1.3mm. On top of this base, add a transition section 5mm...
use <threads.scad>; $fn=128; d_pump = 16; pitch = 1.7; id = 21.5; od = 23; difference() { union() { translate([0,0,12]) cylinder(d1=d_pump+0.5, d2=d_pump-1, h=12); translate([0,0,7]) cylinder(d1=28, d2=d_pump+0.5, h=5); ScrewHole(od, 7, pitch=pitch, tooth_height=1.3) cylinder(h=7, d=28); ...
glb/cad_4e7eca2486b3.glb
Create a Rain Gauge (Pluviometer) consisting of a base, a tipping bucket mechanism, and a funnel. Start with a circular base 120mm in diameter and 5mm thick. In this base, create a central circular opening with a diameter of 96mm and a height of 14mm to accommodate the funnel. Add four screw holes (4.25mm diameter) po...
include <polyScrewThread_r1.scad> full = true; fnval = 120; module cylinder_nut(df,hg,sth,clf,cod,crs){ hex_countersink_ends(sth/2,cod,clf,crs,hg); screw_thread(cod,sth,clf,hg,crs,-2); } module triangleR(a, b, h, c){ linear_extrude(height = h, center = c, convexity = 10) resize([a, b]) polygon([[0,0], [1,0...
glb/cad_1431e8b6cf31.glb