Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Customizable French Cleat Tool and Glue Bottle Holder. Start by constructing a back plate with a thickness of 6mm and a total height of 132mm (combining a 75mm cleat height and a 56mm top shelf height). On the rear of this plate, add a French cleat attachment: a wedge-shaped protrusion 15mm deep and 6mm thick....
inch2mm = 0.3048/12*1000; mm2inch = 12/0.3048/1000; $fn=60; cleatHeight = 75; cleatDepth = 15; cleatThickness = 6; fixedShelfDepth = 60; topShelfHeight = 56; backThickness = 6; shelfThickness = 6; topShelf = 1; bottomShelf = 1; bottomHole = 2; holeDepthAxis = 48; holeWidthAxis = 28; holeAngle = 45; numCol...
glb/cad_479587af56ba.glb
Create a strawlifter consisting of a central vertical rod assembly with a base cup, a lid, and a handle. Start by creating a base cup as a hollow cylinder with an outer diameter of 77mm and a height of 15mm, with a wall thickness of 1mm. At the center of this base, place a tapered cone that transitions from a radius of...
jarwidth=80; strawlength=160; handlewidth=20; offset=0; airgap=2; lidgap=0.5; thickn=1; stthick=1.5; traylip=15; lidlip=20; innerdif=airgap+thickn; innerwidth=jarwidth-innerdif*2; rodthick=2; rodsize=8; rodheight=strawlength+2*thickn+lidlip; $fn=50; union() { translate(v=[0,0,rodheight+thickn+0.4*handlewidth]){ ...
glb/cad_8f64360db465.glb
Create a QU-BD One Up / Two Up X-axis Endstop Mount Spacer. Start with a main rectangular body that is 32mm wide, 12mm deep, and 34mm high. From this body, remove a large rectangular section from the top and front to create a mounting area. Specifically, remove a volume starting 16mm from the back, 6mm deep, and 35mm...
maximize_z_travel=true; plated=true; $fn = 64; mdfThickness = 5.7; plateSpacing = 10; if (plated) { Endstop_Bracket_Gantry_Plated(); } else { Endstop_Bracket_Gantry_Assembled(); } endstopBaseWidth = 40; endstopBaseDepth = 16; endstopBaseHeight = 2; bracketHeight = 34; bracketWidth = 32; bracketDepth = 9; mounti...
glb/cad_bc5cf9e9996e.glb
Create a Customizable Wrench Holder designed to hold 10 wrenches. The main body is a flat plate with a tapered profile, starting with a width of 12mm at one end and expanding to 40mm at the other. The total length is 180mm, based on a center-to-center spacing of 18mm per wrench. Across the face of the plate, create 10...
w_oc = 18; wrenches = 10; largest_wrench_neck_thickness = 8; largest_wrench_box_end_od = 40; thinnest_wrench_neck_thickness = 4.5; smallest_wrench_box_end_od = 12; wrench_size_step = 1; mount_diameter = 6.5; mount_oc = 26.5; mount_slew = 1; mount_advance = 1; $fn = 90; first_mount_candidate = ((mount_diameter...
glb/cad_425628fcab3a.glb
Create a Triomino game piece by starting with a triangular prism that has a height of 5mm and is formed by the intersection of a cylinder with a diameter of 20mm and an equilateral triangular prism. Remove a smaller cylindrical hole from the center of this shape with a diameter of 18.5mm and a height of 5mm. On the top...
height = 5; diameter = 20; letter_distance = -10; font_size = 6; module triomino(n1,n2,n3){ difference(){ intersection(){ cylinder(5,diameter-1.5,diameter-1.5,false,$fn=128); cylinder(height,diameter,diameter,false,$fn=3); } #intersection(){ cylinder(5,(diameter-1.5)/2,(diameter-1.5)/2,false,$fn=128); cylinde...
glb/cad_b6881249cdb1.glb
Create a Raaco CarryLite 80 storage box by constructing a rounded rectangular prism. The main body should have overall dimensions of 48mm in length, 20mm in width, and 4mm in height. To achieve the rounded corners, apply a corner radius of 6mm to all four vertical edges. Ensure the geometry is centered on the X and Y a...
module prism(s, h){ b= s/2; a = (b * tan(30)); c = sqrt(a*a + b*b); cylinder($fn=6,h, r=c); } module roundedcube(dim_x, dim_y, dim_z, d0, c) { hull(){ translate([d0/2,d0/2,0])cylinder(dim_z, d=d0+0.000001, center=c); translate([d0/2,dim_y-d0/2,0])cylinder(dim_z, d=d0+0.000001, cen...
glb/cad_cc53853b2de8.glb
Create a Raaco CarryLite 80 storage box by constructing a rectangular prism with dimensions 20mm in length, 20mm in width, and 40mm in height. Apply a fillet with a radius of 2mm to the four vertical edges of the prism. The resulting shape should be a rounded rectangular block with a smooth, continuous vertical profile...
$fn=40; module filletcube(l, w, h, c, $fn) { if (c > l/2 || c > w/2 ){ echo("Warnung: Radius überschreibt Dimension",c); } hull(){ translate([c, c, 0])cylinder(h, r=c+0.000001); translate([l-c, c, 0])cylinder(h, r=c+0.000001); translate([c, w-c, 0])cylinder(h, r=c+0.000001); translate([l-c, w-c, 0])cyl...
glb/cad_e54d52d36c49.glb
Create a Raaco CarryLite 80 storage box segregation insert. The object is a hollowed-out rectangular frame with a total outer dimension of 40mm in length, 40mm in width, and 30mm in height. The walls of the frame are 10mm thick. The interior of the shape is completely hollowed out, leaving the bottom open. To ensure ...
module champferedcube(l, w, h, c) { if( c>l/2 ) { c= l/2; corrected_hull(l, w, h, c); echo(" - Warning, champfer > cube length"); } else if (c > w/2) { c= w/2; corrected_hull(l, w, h, c); echo(" - Warning, champfer > cube width"); } else if (c==0) { cube([l,w,h], center=true); echo(" - Warning, n...
glb/cad_a36c72490bfb.glb
Create a set of fan mount arms designed to clip a square fan to a frame. Each arm is 6.2mm thick. One end of the arm features a circular clip to fit a 5.8mm diameter rod. This clip is formed by a cylinder with a radius of 2.9mm plus a 3mm margin, with a 5.8mm diameter hole passing through the center. A rectangular slo...
fanSize = 80.0; fanHoleDiameter = 4.4; fanHoleToEdgeThickness = 2.4; fanEdgeSeparation = 16.5; rodInnerSeparation = 154.8; outwardsOffset = 50.0; fanPinHeight = 1.5; displayOnHuxley = "yes"; $fn=30; verticalOffset = 50.0; rodDiameter = 5.8; rodLength = 207; rodCenterSeparation = rodInnerSeparation + rodDiam...
glb/cad_09274f58c8f2.glb
Create a customizable axis coupler by starting with a main cylinder that has an outer diameter of 20mm and a total height of 30mm, using a 20-facet resolution. Remove a central bottom hole with a diameter of 5mm and a central top hole with a diameter of 8mm, both extending through the height of the part. Cut a vertic...
include <utils/build_plate.scad>; outer_diameter = 20; height = 30; diameter_bottom = 5; diameter_top = 8; opening_width = 2; articulation_thickness = 1.5; bolt_diameter = 3; washer_diameter = 5.5; nut_diameter = 6.25; pressure_point_thickness = 4.5; resolution = 20; ozp = 1; module main_cylinder(d, h) { ...
glb/cad_6735f48dfa9f.glb
Create a Customizable Universal Handle by constructing a main cylindrical body with a diameter of 28mm and a total length of 100mm. At the center of the handle, create a longitudinal hole that extends 90mm deep. This hole should be hexagonal, with a distance of 6.24mm between opposite flat sides, and include a 0.66mm...
smooth=3; tol=0.66; test_hole=0; hole_shape=1; shield=0; collet=1; end_hole=0; hole_dia=8; hole_size=6.24; hole_dep=90; handle_dia=28; handle_len=100; n_groove=5; collet_dia=15; collet_len=6; shield_wid=12; shield_thi=3; $fa=3; $fs=smooth/2; if (shield==1) echo("total handle length=", handle_len+shi...
glb/cad_8ab3e2b6aba5.glb
Create a Tangram puzzle consisting of seven flat geometric tiles, each with a thickness of 3mm. The tiles are derived from a square with a side length of 100mm, divided into the following shapes based on a 4x4 grid (where each grid unit is 25mm): 1. A large right triangle with vertices at (0,0), (100,0), and (0,100). ...
$fn=30; e=0.02; xaxis=[1,0,0]; yaxis=[0,1,0]; zaxis=[0,0,1]; phi=(1+sqrt(5))/2; b=100; h=3; ex=3; col1=[0,0,1]; col2=[1,0,0]; grid=4; p=[ [[0,0],[2,2],[0,4]], [[0,4],[2,2],[4,4]], [[0,0],[2,0],[1,1]], [[2,0],[3,1],[2,2],[1,1]], [[2,0],[4,0],[4,2]], [[3,1],[3,3],[2,2]], [[3,1],[4,2],[4,4],[3,3]] ]; module piece...
glb/cad_10f1ea7440c8.glb
Create a CD-ROM holder pendant by constructing a central support structure and a surrounding ring. Start with a base consisting of two intersecting rectangular prisms, each measuring 28mm by 2mm by 30mm, oriented perpendicular to one another on the XY plane. Constrain this intersection within a tapered cylinder that ha...
scale(0.53){ union(){ difference(){ intersection(){ union(){ cube([28, 2, 30], center=true); rotate(a=90, v=[0,0,1]) cube([28, 2, 30], center=true); } cylinder(r1 = 14, r2 = 4, h = 15); } translate([0,0,-15/2]) cube([28, 28, 15], center=true); } translate([0,0,15]){ rotate(...
glb/cad_5958dee1b227.glb
Create a CD-ROM holder pendant by constructing a central geometric core and a surrounding ring. Start by forming a cross-shaped base using two intersecting rectangular prisms, each measuring 14mm by 1mm by 15mm, centered on the origin and oriented perpendicular to one another. Refine this core by removing a 15mm cube c...
$fn=30; intersection(){ difference(){ union(){ cube([14,1,15], center=true); rotate(a=90, v=[0,0,1]){ cube([14,1,15], center=true); } } translate(v=[0,0,-15/2]){ cube(15, center=true); } } translate(v=[0,0,15/4]){ cylinder(h=15/2, r=7, r2=2, center=true); } } ...
glb/cad_d3b289a47000.glb
Create a Customizable Endstop Extender consisting of a circular base and a tapered central column with a hollow core. Start with a cylindrical base 20mm in diameter and 2mm thick. Centered on this base, create a tapered column that extends upwards to a total height of 10mm (5mm for the foot and 5mm for the internal thr...
baseDiameter = 20; threadDiameter = 2.5; footHeight = 5; threadHeight = 5; thickness = 2; resolution = 50; ticks = 5; subTicks = 1; tickHeight = 2.5; subTickHeight = 1.5; $fn = resolution; difference() { union() { cylinder(h = thickness, r = baseDiameter / 2); cylinder(h = footHeight + th...
glb/cad_1ec6e9d93428.glb
Create a Tablet Cylinder Mount consisting of two main components: a mounting band and a device clip. First, create the mounting band as a hollow cylinder with an outer diameter of 45mm and an inner diameter of 41mm, with a total height of 5mm. Cut a 60-degree gap into the cylinder to create a C-shape. On the outer sur...
band_diameter = 41; band_thickness = 2; band_width = 5; band_gap = 60; clip_width = 50; clip_height = 5; clip_groove_size = 7; clip_groove_bezel = 3; clip_wall = 1.5; clip_bottom = 1.5; clip_v_alignment = 1; ziptie_size = 0; clip_extension = 0; clip_shape = 3; print_count = 1; arrange_for_printing = 0; zi...
glb/cad_9491c8961f61.glb
Create a BIMO construction block and its corresponding connectors. The main block is a 30mm cube with a hollow center, leaving walls 1.25mm thick. On each face of the cube, create two keyhole-shaped slots centered 10mm apart. Each slot consists of a larger circular outer diameter of 6.25mm and a smaller inner circula...
m= 10; W = m/8; M= 3*m; w=m/8; w3=3*w; w5=5*w; do = 5 * W; di = 3 * W; ro=do/2; ri=di/2; $fa=10; $fs=0.1; module cni() { cylinder(M,ri,ri); translate([-W/2,-w5,0]) cube([W,w5,M]); } module cno() { cylinder(M,ro,ro); translate([W/2,-w3,0]) cube([W,w3,M]); translate([-di/2,-w3,0]) cube([W,w3,M]); } module conn...
glb/cad_33d2c1bf4f40.glb
Create a Technic-compatible beam with a square cross-section of 7.8mm by 7.8mm. For a 15-hole configuration, the total length of the beam should be 102.2mm. Along the center axis of the top and bottom faces, create a series of 15 circular holes. Each hole must have a radius of 2.63mm. The holes should be spaced such th...
beam_width = 7.8; module beam(number_of_holes) { beam_length = 1.3 * 2 + 4.8 * number_of_holes + 3.2 * (number_of_holes - 1); translate([-beam_length/2,0,0]) difference(){ cube([beam_length,beam_width,beam_width]); for (x=[37 : 80 : beam_length*10]) { scale(.10) { translate([x,40,0]) { cylinder(...
glb/cad_a2171532f35f.glb
Create a Technic-compatible beam consisting of a 3x3 grid of cylindrical bushes. Each bush is a cylinder with a radius of 3.9mm and a height of 3mm. For each bush, remove a central cross-shaped hole created by the intersection of two rounded rectangles. Each rounded rectangle has a width of 5.3mm, a thickness of 2.3m...
beam_width = 7.8; bush(beam_width, 3, 3); module bush(height, rows, columns) { axle_gap = 2.3; hole_radius = 2.65; for(x = [0 : 1 : rows - 1]) for(y = [0 : 1 : columns -1]) translate([x * beam_width * 1.4, y * beam_width * 1.4, 0]) { difference() { cylinder(r=beam_width/2, h=height); tran...
glb/cad_1a064a6f4885.glb
Create a Quick Print Test Cube by starting with a solid cube that is 20mm on all sides, centered on the origin. Hollow out the center of this cube by removing a smaller concentric cube with a side length of 19.3mm. To create the exterior openings, remove a cylinder with a diameter of 10mm and a height of 20.7mm that ...
nozzle_size = 0.35; size = 20; wall = 2; MyTestCube(); module MyTestCube() { difference() { body(); holes(); } } module body() { cube(size,center=true); } module holes() { cutout = size - nozzle_size*2*wall; cube(cutout,center=true); $fn=100; rotate([90,0,0])cylinder(d=size...
glb/cad_5777d1575318.glb
Create a 40mm fan mount for a reinforced Prusa X carriage. Start with a flat square base measuring 40mm by 40mm with a thickness of 3mm. Centered on this base, construct a conical shroud that extends 12mm in height, tapering from a top radius of 20mm down to a bottom radius of 19mm. Inside the shroud, create a hollow...
render_moving_parts = true; include <fan.scad> rotate([0,180,0]) { translate([0,0,5]) { if (render_moving_parts) { translate([0,0,0.1]) fan(); translate([20- 5, 0, -5 - 7]) { color([0.2,0.5,1.0]) { rotate([0,-15,0]) { difference() { cube([10,15,10], center=true); rotate([90,0...
glb/cad_f5ee0fb93763.glb
Create an Arcade Stick model consisting of a base, a joystick assembly, and a fire button. Construct the base as a rounded, asymmetric housing. The bottom section is a hollowed shell with a flat floor and vertical walls. The top section features a rounded upper surface with a central circular opening for the joystick ...
EXT_WIDTH=0.7; LAYER_HEIGHT=0.3; THICKNESS=4*EXT_WIDTH; SMOOTH=20; EXPLODE=2; MANUAL_SUPPORT=false; H_PCB=1.5; R_BUTTON_SURROUND=17; R_BACK=100; R_BUTTON=11; R_BUTTON_2=4; R_BUTTON_3=32; R_BUTTON_7=0.6; H_BUTTON_0=1.5; H_BUTTON_1=10.25; H_BUTTON_2=9; H_BUTTON_3=5; H_BUTTON_4=3; H_BUTTON_BASE=5; H_BUTTON_BASE_2=7; H_BUT...
glb/cad_301d9fab4374.glb
Create a QU-BD One-Up X-Axis hotend bowden carrier. Start with a central base block measuring 38mm in length, 30mm in width, and 4mm in thickness. Position two bearing holders symmetrically along the width. Each holder is a block that houses a cylindrical cutout for an LM8UU bearing with a radius of 4mm. Within these...
include <configuration.scad>; thickness = 4; width = carrier_heigth + 2*lm8uu_radius + 2*border; module bearing_holder(base_thickness) { difference() { bearing_mold(base_thickness); for (i=[-1,1]) { translate([i*lm8uu_cutoff_offset, 0, (base_thickness + lm8uu_radius)/2]) { cube(size=[tie_widt...
glb/cad_40c2fef26652.glb
Create a hotend bowden carrier by starting with a central block that is a Minkowski sum of a cube with dimensions 15mm by 12mm by 7.5mm and a cylinder with a 4mm radius and 7.5mm height, centered on the Z-axis. Subtract a central vertical cylinder with a 6mm radius and a height of 15mm to create the main hotend passa...
include <configuration.scad>; thickness = 4; height = 15; mount_radius = ubis_radius + thickness; module ubis() { difference() { union() { translate([0, 0, 62.5]) { cylinder(r=8, h=2); } translate([0, 0, 61.5]) { cylinder(r=6, r2=8, h=1); } translate([0, 0, 60]) { ...
glb/cad_116e7fc0e1de.glb
Create a basic toy car consisting of a central body and four wheels. Construct the car body as a hull connecting a sphere of radius 20mm to a flattened sphere of the same radius scaled to half its height along the Z-axis, with the two points separated by 140mm. For the wheels, create four ring-shaped cylinders, each ...
front_wheel_radius = 30; back_wheel_radius = 40; wheel_width = 20; axe_spacing = 2*(front_wheel_radius+back_wheel_radius); wheel_spacing = axe_spacing/2; car_length = axe_spacing + front_wheel_radius+back_wheel_radius + 20; module wheel(radius, width) { difference() { cylinder(h=width,r=radius); translate([0,0...
glb/cad_86d967c90b34.glb
Create a Half Persian 3 in 1 chainmaille weave consisting of four repeating segments. Each segment is composed of a pair of identical rings with a wire diameter of 2mm and an aspect ratio of 4.2, resulting in an inner ring diameter of 8.4mm. For each segment, place one ring lying flat on the XY plane. Position a seco...
numSegments = 4; wireDiameter = 2; ringAR = 4.2; smoothness = 30; for (i=[1:numSegments]) { translate([i*(ringAR*wireDiameter*cos(32.5)-wireDiameter*0.4),0,0]) union() { translate([0,wireDiameter/6,(wireDiameter+wireDiameter*ringAR)*sin(0)/2+wireDiameter/2]) rotate([0,20,0]) ring(wireDiameter, ringAR); t...
glb/cad_b0575a5ad298.glb
Create an Easter Egg Lamp consisting of a hollow, egg-shaped shell and a cylindrical base. Start by creating the egg shell: create a sphere with a diameter of 40mm and scale it vertically by a factor of 1.2 to achieve the egg shape. Hollow this out by subtracting a smaller version of the same scaled sphere from the c...
diameter = 40; eggscale = 1.2; th_shell = 0.6; base_diam = 24; base_extra_height=20; part="both"; h_cuttoff = 20; pattern = "circle"; patternscale = 0.2; custom_polygon = [[[-10,10],[10,10],[10,-10],[-10,-10]],[[0,1,2,3]] ]; repeattype = "random"; patternrepeat = 30; random_seed = 121; rotate_pattern="true...
glb/cad_eba404ca02ff.glb
Create a parametric delta bar clamp for mounting electronics. Start by creating a base block that is the convex hull of two cylinders positioned 60mm apart along the Y-axis, each with a radius of 6mm (4mm bar radius plus 2mm wall thickness) and a total height of 16.35mm. Within this base, remove a central channel consi...
bar_distance = 60; bar_diameter = 8; belt_distance = 30; wall_thickness = 2; base_height = 10; bolt_diameter = 3; fixture_distance = 48.26; fixture_v_distance = 6.35; bar_radius = bar_diameter/2; bolt_radius = bolt_diameter/2; total_base_height = base_height + abs(fixture_v_distance); difference(){ union(){ ...
glb/cad_9b4f42144e3f.glb
Create a parametric pipe adapter with a total height of 80mm. The object consists of three coaxial sections: a lower cylindrical sleeve, a central conical reducer, and an upper cylindrical sleeve. First, create the lower sleeve as a hollow cylinder with an inner diameter of 40.65mm and a wall thickness of approximatel...
lowerPipeDiameter = 39.65 + 1; upperPipeDiameter = 15.875 + 0.5; adapterTickness = 3; adapterHeight = 80; reducerAngle = 45; lowerPipeRadius = lowerPipeDiameter / 2; upperPipeRadius = upperPipeDiameter / 2; reducerHeight = tan(reducerAngle) * (lowerPipeRadius - upperPipeRadius); pipeCouplersHeight = (adapterHeight ...
glb/cad_d3157b5166b2.glb
Create a Parametric Red Dot Finder Mount consisting of a dovetail base and a NATO rail top. First, construct the dovetail base with a length of 30mm, a top width of 32.5mm, and a height of 10mm. The sides should taper inward at a 60-degree angle. Apply a 2mm 45-degree chamfer to the bottom edges of the dovetail. Nex...
total_height = 40; forward_displacement = 0; l_dovetail = 30; w_dovetail = 32.5; h_dovetail = 10; angle_dovetail = 60; h_chamfer = 2; n_slots = 6; epsilon = 0.01; w_railbase = 15.6; union () { dovetail (l_dovetail, w_dovetail, h_dovetail, angle_dovetail); hull () { cube ([w_dovetail - 2 *...
glb/cad_5bb944063f6b.glb
Create a Parametric Red Dot Finder Mount that adapts an Astro Dovetail to a NATO/Picatinny rail. Start by creating the dovetail base. This is a trapezoidal prism 30mm long, with a top width of 32.5mm and a height of 10mm. The sides should flare outward at a 60-degree angle. At the bottom of this dovetail, add a 2mm h...
total_height = 40; l_dovetail = 30; w_dovetail = 32.5; h_dovetail = 10; angle_dovetail = 60; h_chamfer = 2; n_slots = 6; epsilon = 0.01; w_railbase = 15.6; union () { dovetail (l_dovetail, w_dovetail, h_dovetail, angle_dovetail); hull () { cube ([w_dovetail - 2 * h_dovetail / tan (angle_do...
glb/cad_e793c23c918f.glb
Create a rectangular prism with a base measuring 20mm by 30mm and a height of 2mm.
use <fontmetrics.scad>; text = "Measure Text"; font = "Liberation Sans Narrow:style=Bold"; size = 10; w = measureText(text, font=font, size=size); h = ascender(font)-descender(font); linear_extrude(height=2) union() { difference() { square([w,h]); translate([0,-descender(font)]) drawText(text, fon...
glb/cad_06795cae7d08.glb
Create a Prusa X carriage for a 3D printer. Start with a central rectangular base measuring 82mm by 54mm with a height of 4mm. In the center of this base, create a circular cutout with a diameter of 42mm and a height of 8mm to accommodate a groovemount. Position two LM8UU linear bearing holders on the base, spaced 50m...
include <LM8UU_holder_ziptie.scad> screw_thread_diameter = 4.1; nut_wrench_size = 7.9; nut_height = 4; nut_diameter = nut_wrench_size / cos(30); FANMOUNT_left = false; FANMOUNT_right = true; LEDMOUNT = true; FanHingeW=15; FanHingeL=9; FanHingeT=7; M3NutD = nut_diameter; belt_width = 6.5; belt_height = 2; belt_...
glb/cad_4ac8b88b850b.glb
Create a loading tool for a 40mm airsoft shower shell. Start by constructing the main body as a convex hull encompassing three cylinders, each with a radius of 5mm and a height of 30mm, positioned 15mm from the center and spaced 120 degrees apart. Add a grip peg by placing two cylinders with a radius of 3.2mm and a hei...
module mainBody () { difference () { hull () { translate([15,0,0]) cylinder($fn=128, r=5, h=30); rotate(4 * 360 /12, [0,0,1]) translate([15, 0, 0]) cylinder($fn=128, r=5, h=30); rotate(8 * 360 /12, [0,0,1]) translate([15, 0, 0]) cylinder($fn=128, r=5, h=30); } sphere(22); } } module ...
glb/cad_3c4a67cd8570.glb
Create a lampshade mounting bracket centered on the origin. Start by constructing a square base 94mm wide, 94mm deep, and 4mm thick. Add two diagonal cross-members across this base, each 132mm long, 2mm wide, and 4mm thick, rotated 45 degrees relative to the square's edges. Place a cylinder with an outer diameter of 84...
module mainBody() { rotate([0,0,45]) cube([132,2,4], center=true); rotate([0,0,-45]) cube([132,2,4], center=true); cube([94,2,4], center=true); cube([2,94,4], center=true); translate([0,0,6.5]) cylinder($fn=128, d=84, h=17, center=true); difference () { cube([94,94,4], center=true); cube([90,90,6], center...
glb/cad_e39db718f357.glb
Create a Y-Undercarriage for a 3D printer. The structure is based on a central layout with a total width of 140mm, a depth of 100mm, and a height of 14mm. Construct the main body using support struts with a thickness of 4.9mm. Place two outer support rails along the X-axis, each 4.9mm thick and 100mm long (minus the b...
include <configuration.scad> include <LM8UU_holder_ziptie.scad> SupportThickness=4.9; SupportWidth = 12; ClampSeparation = 40; xWidth = 140; yWidth = 100; height = 14; belt_width=7.25; belt_thickness=2; tooth_height=1; tooth_offset = 2; belt_distance_from_bed = 8; belt_clamp_thickness=5; belt_clamp_spacing=8; belt...
glb/cad_db9090e565a9.glb
Create a Benchmark sphere by starting with a 3D grid raft. Construct this raft using two sets of intersecting bars: one set of bars aligned along the X-axis and another set along the Y-axis. Each bar should have a thickness of 0.5mm and a height of 0.5mm. The bars are spaced at 2mm intervals, extending from -10mm to 10...
module drawRectRaft(xRadius, yRadius, interval, zDepth=.5) { drawRaft(xRadius, yRadius, interval, false, zDepth); } module drawSquareRaft(xRadius, yRadius, interval) { drawRaft(xRadius, yRadius, interval, true, 0); } module draw3DX(xOffset, xLength, zDepth) { color("tan") translate([0, xOffset, 0]) cube([xLength...
glb/cad_4a0ed249652f.glb
Create a Bike Bottle Holder Rim. Start by creating a flat, oval-shaped ring with an outer length of 64mm and a width of 36mm. The ring should have a wall thickness of 3mm and a total height of 11.46mm (calculated as the diameter of a hexagonal nut with a 5.5mm width plus two wall thicknesses). On one side of the ring,...
thickness=3; ring_width=36; ring_length=64; clamp_slot=4; clamp_screw_diameter = 3.2; clamp_nut_size = 5.5; clamp_nut_height = 2.5; holder_nut_size = 8; holder_nut_height = 5; holder_screw_diameter = 5.2; holder_rounding_radius=19; jaws_angle=50; chamfer=1; hole_clearence = 0.2; $fn=64; ring_a = ring_length/2; rin...
glb/cad_cefe5467f8a6.glb
Create a blower fan holder for a 2040 extrusion. Start with a base plate measuring 71.3mm in length, 55mm in width, and 2mm in thickness. At one end of the base, add a vertical support wall that is 40mm high, 4mm thick, and 30mm wide, positioned 4mm from the side edges of the base. This wall should feature a large circ...
$fn=100; wallCompensation=4; fanLength=51.3; fanWidth=51+wallCompensation; fanCenterLength=27; fanCenterWidth=25.4+wallCompensation; fanCenterHoleDiameter=31; fanhole1CenterLength=fanCenterLength-23; fanhole1CenterWidth=fanCenterWidth+20; fanhole2CenterLength=fanCenterLength+20; fanhole2CenterWidth=fanCenterWidth-18;...
glb/cad_0e4bcdd724a1.glb
Create a small box with a hidden hinge linkage. The main body is a rectangular container with outer dimensions of 50mm width, 45mm depth, and 35mm height. The walls are 5mm thick on the sides and 1.2mm thick on the front, back, top, and bottom. The interior cavity is centered, leaving a 5mm wall on the left and right s...
xlen = 50; xwal= 5; ylen = 45; ywal = 1.2; zlen = 35; zwal = 1.2; lid = 11.5; hthick = 3; hwidth = 6; haxes = 4; hflex = 6; hfxthick = 0.5; hzdist = 3.2; hydist = 13; hangle = 20; hclear = 0.15; addpattern = 0; xin = xlen - 2 * xwal; yin = ylen - 2 * ywal; zin = zlen - 2 * zwal; hlen = sqrt(hzdist * h...
glb/cad_28fd3bfd1fb3.glb
Create a shaft coupler with an outer diameter of 24mm and a total height of 42mm. The main body is a cylinder with a 2.2mm wide longitudinal gap cut through one side to allow for tightening. The interior consists of two stepped bores: a lower bore with a diameter of 5.4mm extending 22mm upward, and an upper bore with ...
OD = 24; ShaftSmall = 5.4; ShaftLarge = 5.4; GapDist = 2.2; M3 = 3.4; M3Nut = 6.4; M3Nut_Rad = M3Nut / 2; M3Nut_Wid = (M3Nut_Rad * cos(30)) * 2; M3Nut_Wid2 = M3Nut_Wid / 2; BoltLen = 14; M3_DX=7; M3_DZ1 = 10; Sub_Amount = 0; M3_DZ2 = 32; IresBig = 88; IresSmall = 34; ChamferSize = 2; PartType = 1; Shaf...
glb/cad_ef146d630c8b.glb
Create a calibration cylinder with a total height of 5mm and an outer diameter of 10mm. Start by creating a solid base cylinder 10mm in diameter and 1mm high. Centered on top of this base, add a hollow cylindrical wall that is 4mm high with an outer diameter of 10mm and an inner diameter of 8mm, resulting in a wall thi...
cylinder(1,r=5,center); translate([0, 0, 1]){ difference(){ cylinder(4,r=5,center); cylinder(4,r=4,center); } }
glb/cad_38b448f29bd9.glb
Create a customizable corner bracket for 20mm aluminum extrusions. The main body consists of two walls, each 30mm long and 4mm thick, joined at a 90-degree angle. These walls are connected by a central bridge section. On each wall, create a series of screw holes. For the top wall, place one hole; for the bottom wall, ...
extrusion_width = 20; side_length = 30; side_thickness = 4; top_screw_count = 1; bottom_screw_count = 1; screw_hole_size = 5; screw_head_size = 10; recessed_screw_depth = 0; top_screw_elongation = 0; bottom_screw_elongation = 0; extrusion_insert_width = 6; extrusion_base = 20; wall_count = 2; max_wall_thic...
glb/cad_6a4e11157f7b.glb
Create a corner bracket for 20mm aluminum extrusions. The main body consists of two perpendicular walls, each 30mm long and 4mm thick, meeting at a 90-degree angle. These walls are connected by a central bridge section. On the outer faces of the walls, add two extrusion inserts. Each insert is a rectangular block 6mm ...
extrusion_width = 20; side_length = 30; side_thickness = 4; top_screw_count = 1; bottom_screw_count = 1; screw_hole_size = 5; screw_head_size = 10; recessed_screw_depth = 0; top_screw_elongation = 0; bottom_screw_elongation = 0; extrusion_insert_width = 6; extrusion_base = 20; single_wall_mode = 0; max_wal...
glb/cad_c5689e1951a1.glb
Create a corner bracket for 20mm aluminum extrusions. The main structure consists of two perpendicular walls, each 20mm wide, 20mm long, and 4mm thick, meeting at a 90-degree angle. On each wall, create two screw holes. Each hole consists of a 5mm diameter cylinder passing through the 4mm thickness, topped with a rece...
extrusion_width = 20; side_length = 20; side_thickness = 4; screw_count = 2; screw_hole_size = 5; screw_head_size = 10; recessed_screw_depth = 0; extrusion_insert_width = 6; extrusion_base = 20; single_wall_mode = 0; max_wall_thickness = 8; cutout_size = 0; cutout_side_thickness = 3; extrusion_insert_count ...
glb/cad_4e88a33aed84.glb
Create a corner bracket designed for a 20mm wide aluminum extrusion. The bracket consists of two perpendicular walls, each 20mm long and 4mm thick, meeting at a 90-degree angle. These walls are connected by a central block that is 20mm wide and 4mm thick. On each wall, create two screw holes. Each hole consists of a 5...
extrusion_width = 20; side_length = 20; side_thickness = 4; screw_count = 2; screw_hole_size = 5; screw_head_size = 10; recessed_screw_depth = 0; extrusion_insert_width = 6; extrusion_base = 20; single_wall_mode = false; max_wall_thickness = 8; cutout_size = 0; cutout_side_thickness = 0; cutout_margin = 0.3;...
glb/cad_3f67b2c42f3d.glb
Create a corner bracket for 20mm extrusions. The main structure consists of two perpendicular walls, each 20mm long and 4mm thick, meeting at a 90-degree angle. These walls are connected by a central block that is 20mm wide and 4mm thick. On each wall, create two screw holes. Each hole consists of a 5mm diameter cylin...
extrusion_width = 20; side_length = 20; side_thickness = 4; screw_count = 2; screw_hole_size = 5; screw_head_size = 10; recessed_screw_depth = 1; extrusion_insert_width = 6; extrusion_base = 20; single_wall_mode = false; max_wall_thickness = 8; bottom_nut_space = screw_hole_size + 4; extrusion_insert_height...
glb/cad_a415f6cdd0ec.glb
Create a MendelMax Big Foot adjustable printer foot. Start by creating a solid base cylinder with a radius of 17.5mm and a height of 2mm. On top of this base, add a truncated cone that transitions from the base radius of 17.5mm at the bottom to a top radius of 5mm at a total height of 17mm. Remove a central vertical ...
bolt_diameter = 5; bolt_head_diameter = 4.8; bolt_head_height = 4; top_diameter = 10; height = 17; base_height = 2; slope_height = height - base_height; slope_ratio = 1; base_radius = (slope_height*slope_ratio) + bolt_diameter; bridge_thickness = 0.4; bolt_radius = 1.1*bolt_diameter/2; $fn=60; difference() { uni...
glb/cad_b65db62001fa.glb
Create a parametric stelliform spiral tealight holder. Begin by constructing a base shape through a linear extrusion to a height of 16mm. The 2D profile of this extrusion consists of a ring with an outer diameter of 42mm and an inner diameter of 32mm, combined with seven identical rectangular beams distributed evenly a...
nthreads=7; hollow=true; interlace=2; smaller = interlace > 2; thing_height=16; thickness=2; thing_twist = -180.0/nthreads; $fn=72; holder_inner_diameter=38; holder_outer_diameter=42; throughput_diameter=32; socket_depth=14; difference () { half_sweep_angle = 180.0 * interlace / nthreads; base = holder_oute...
glb/cad_e0f28a803ce2.glb
Create a parametric stelliform spiral tealight holder. Start by designing a 2D profile consisting of a large ring with an outer diameter of 42mm and an inner diameter of 32mm. Within this ring, place seven identical rectangular segments arranged symmetrically around the center. Each segment's width is defined by the di...
nthreads=7; hollow=true; interlace=2; smaller = interlace > 2; rise_angle = 60; thing_height=40; thickness=2; $fn=72; holder_inner_diameter=38.8; holder_outer_diameter=42; throughput_diameter=32; socket_depth=14; difference () { half_sweep_angle = 180.0 * interlace / nthreads; base = holder_outer_diameter / ...
glb/cad_0d2efc2ec3af.glb
Create a parametric stelliform spiral tealight holder. Start by designing a 2D profile consisting of a large circle with a diameter of 42mm, from which a smaller concentric circle of 38.8mm is removed to create a ring. Within this ring, place five identical triangular beams distributed evenly every 72 degrees. Each bea...
nthreads=5; hollow=true; triangle_height=10; smaller = false; rise_angle = 60; thing_height=40; thickness=2; $fn=72; holder_inner_diameter=38.8; holder_outer_diameter=42; throughput_diameter=32; socket_depth=14; union () { ac = cos(180.0 / nthreads); as = sin(180.0 / nthreads); Rin = smaller ? holder_ou...
glb/cad_318a7c198310.glb
Create a parametric honeycomb fan cover with a total height of 3mm. Start by forming a square base plate 136mm wide by 136mm long, with rounded corners defined by a 14mm radius. At each of the four corners, center a circular screw hole with a diameter of 4mm. To create the honeycomb mesh, generate a grid of hexagonal ...
a = 125; b = 136; c = 44; d = 14; e = 4; h = 3; difference(){ hull(){ translate([a/2, a/2, 0]) cylinder(d=d, h=h); translate([-a/2, a/2, 0]) cylinder(d=d, h=h); translate([-a/2, -a/2, 0]) cylinder(d=d, h=h); translate([a/2, -a/2, 0]) cylinder(d=d, h=h); } intersection(){ for(i=[-5:4], y=[-8:7]) translate([i*16...
glb/cad_de81387a274e.glb
Create a ball bearing removal tool consisting of a thick-walled hollow cylinder. The main body should be a cylinder with an outer diameter of 32.33mm and a total height of 13mm. Inside this main body, remove a central cylindrical core to create a cavity. This cavity consists of two parts: a wide lower section with a ...
bearing_outer_diameter = 26; bearing_inner_diameter = 10; bearing_height = 8; enable_cube_stereo_120_workaround = false; cube_stereo_120_workaround_height = 1.4; $fn=360; space_for_bearing_height = bearing_height * 1.25; space_for_bearing_diameter = bearing_outer_diameter*1.0385; wall_thickness = 3; outer_diameter = ...
glb/cad_e72894d7555e.glb
Create an Endstop Holder by starting with a base composed of three joined sections: a 4x43x10mm rectangular block, a 16x15x10mm rectangular block attached to its side, and a cylinder with a radius of 8mm and a height of 10mm centered at the junction. From this combined mass, remove a smaller concentric cylinder with a ...
difference() { union() { cube([4,43,10]); translate([8, 15,0]) cylinder(h = 10, r = 8, $fn = 50); cube([16, 15,10]); translate([17,6,5]) cube([2,5.75,10], center=true); translate([17,6,5]) rotate(a=[60,0,0]) cube([2,5.75,10], center=true); translate([17,6,5]) rotate(a=[120,0,0]) cube([2,5.75,10], center=t...
glb/cad_5b9274264c5b.glb
Create a Quickbot angle bracket by constructing a rectangular base and removing two cylindrical holes. Start with a solid rectangular block measuring 45mm in length, 3mm in width, and 13mm in height. Position the block so its center is the origin. Drill two circular holes completely through the 13mm thickness of the bl...
union() { difference (){ cube ([8,16,2], center = true); cube ([3,11,4], h = -1, center = true); } translate ([25, 0, 0]) difference (){ cube ([8,16,2], center = true); cube ([3,11,4], h = -1, center = true); } difference (){ translate ([-10, -8, -1]) cube ([45,3,13]); translate ([-6, 0, 6]) rotate([90,0,0]) cyli...
glb/cad_350830a23c3c.glb
Create a PVC pipe clamp consisting of a mounting plate and a semi-circular clamping band. Start with a rectangular mounting plate 55mm long, 3mm thick, and 20mm wide. Center two 3.8mm diameter holes through the plate, spaced 40mm apart. Attached to the plate, create a semi-circular clamp with a width of 20mm and a wal...
shaftDiameter = 27.5 ; clampWidth = 20 ; clampThickness = 3.0 ; clampLegLengthFromShaft = 20 ; clampLegThickness = clampThickness + 0 ; clampLegGap = 5 ; clampToClampScrewCenter = (clampLegLengthFromShaft - clampThickness) / 2 - 0.5 ; clampScrewDiameter = 4.5 ; shaftToMountPlate = 0 ; mountPlateThickness = 3.0 ; mountP...
glb/cad_2c3be33be49a.glb
Create a regular dodecahedron by constructing the convex hull of twenty vertices. These vertices are defined by the following coordinates: eight points at $(\pm 1, \pm 1, \pm 1)$, four points at $(0, \pm \phi, \pm 1/\phi)$, four points at $(\pm 1/\phi, 0, \pm \phi)$, and four points at $(\pm \phi, \pm 1/\phi, 0)$, wher...
phi=(1 + sqrt(5)) / 2; h=-phi; $fn=50; D=0.3; scle=1; s=1; scale([scle,scle,scle]){ hull(){ translate([0, (1 + h), (1 - h*h)]) sphere(D); translate([0, -(1 + h), (1 - h*h)]) sphere(D); translate([0, (1 + h), -(1 - h*h)]) sphere(D); translate([0, -(1 + h), -(1 - h*h)]) sphere(D...
glb/cad_3a3a69e43906.glb
Create a Parametric Toothbrush Tip Holder consisting of a circular base with four protruding pegs. Start by creating a base cylinder with a radius of 30mm and a height of 10mm. Modify the bottom of this base so it is rounded, as if it were the intersection of the cylinder and a large sphere with a radius of 90mm. Add ...
base_radius = 30; base_height = 10; num_holders = 4; holder_angle = 15; holder_offcenter = 15; holder_radius = 2.5; holder_height = base_height + 6; holder_head_radius = holder_radius * 2; head_height = 2; peg_style = 1; base_style = 1; $fn=20; Everything(); module Everything() { if(peg_style == 0) { diff...
glb/cad_c3bf6de399fa.glb
Create a replacement clip for a notebook cooling stand. Start with a central rectangular block measuring 15mm wide, 22mm deep, and 4mm thick, centered on the origin. Add a horizontal cylinder with a 3mm radius and 15mm length, centered at X=0, Y=10, and Z=1. Within this same position, create a smaller concentric cylind...
X = 15; Y = 22; Z = 4; res = 100; difference() { union() { cube(size=([X,Y,Z]),center=true); translate([0,13-3,1]) rotate([0,90,0]) cylinder(h=15,r=3,center = true,$fn=res); translate([0,13-3,1]) rotate([0,90,0]) cylinder(h=18,r=1,center = true,$fn=res); translate([0,-Y/2,0]) rotate([0,90,0]) cylinder(h=15,r=...
glb/cad_0c89c9c560d4.glb
Create a 3D hexagon lattice by extruding a 2D tiled pattern to a height of 10mm. The pattern consists of hollow hexagonal rings, each with an outer side length of 100mm and a wall thickness of 10mm. Arrange these hexagons in a staggered grid of three columns and three rows. The first column contains three hexagons cent...
module hex(width,length) { hexscaleup = (length+width/2)/length; hexscaledown = (length-width/2)/length; difference () { hexbasic(length*hexscaleup); hexbasic(length*hexscaledown); } } module hexbasic(length) { opp = length*sin(60); adj = length*cos(60); translate ([-0.5*length, -1*opp,0]) { polygon(points=...
glb/cad_cc4b8fbeda3f.glb
Create a wire magnet holder by starting with a main cylinder that has a diameter of 7.8mm and a total height of 4mm. From the center of this body, remove a smaller concentric cylinder with a diameter of 6.3mm and a height of 3.5mm, starting from a base offset of 1.5mm from the bottom, to create a hollow cap. At the bot...
mh=2.5; md=6.3; th=1.5; wd=2.0; $fn=100; difference(){ cylinder(h=mh+th, d=md+th); translate([0,0,th]){ cylinder(h=mh+1, d=md); translate([0,0,wd/2]) rotate([90,0,0]) cylinder(h=wd*2+1, d=wd); } translate([0,0,mh+th-1+0.02]) cylinder(h=2, d1=md, d2=md+th+1); }
glb/cad_800a13c6fbf9.glb
Create a KaleidoType ornament by arranging seven identical 3D text elements in a radial pattern. Use the letter "E" in the Miltonian font, extruded to a thickness of 2mm. Position each letter so that its center is offset from the global origin by 7mm along the X-axis. Rotate each individual letter by 50 degrees on it...
text_to_use = "E"; parts = 7; rotation = 360/parts; thickness = 2; inner_space = 70; inner_rotate = 50; fonttype = "Miltonian"; module print_part() { for (i=[1:parts]) { rotate(rotation*i) single(); } } module single() { linear_extrude(height = thickness) { translate([inner_space/10,0...
glb/cad_acf40c00953c.glb
Create a 3D octagon tiling lattice by extruding a 2D pattern to a height of 10mm. The pattern is composed of hollow octagonal rings, each with a wall thickness of 10mm and an inner side length of 50mm. Arrange these octagons in a dense, overlapping grid. The first set of octagons should be positioned in a 3x3 square ...
module oct(width,length) { scaleup = (length+width/2)/length; scaledown = (length-width/2)/length; difference () { octbasic(length*scaleup); octbasic(length*scaledown); } } module octbasic(length) { opp = length*sin(45); translate ([-0.5*length, -1*(opp+0.5*length),0]) { polygon(points=[[0,0], [length,0], [...
glb/cad_3cae3f0179ef.glb
Create a Burning Man logo consisting of a stylized human figure. Start by constructing two mirrored, curved arm-like shapes. Each arm is formed by taking a cylinder with a radius of 25mm and a height of 20mm, then removing a smaller concentric cylinder with a radius of 23.5mm and a height of 22mm to create a thin shell...
module BMLogo() { $fn = 60; intersection() { for(i = [0, 1]) { rotate([0, 0, 180*i]) translate([27, 0, 0]) difference() { cylinder(r=25, h=20); translate([0, 0, -1]) cylinder(r=23.5, h=22); translate([15, 0, 5]) cube([50, 50, 22], true); } } cylinder(r = 20, h = 20); } translate([0, 8...
glb/cad_83391329fea1.glb
Create a KifKit LED lamp enclosure consisting of a main body, a cap, and a button. The main body is a hollowed-out vertical column 69mm tall. Its outer profile is formed by a cylinder with a 10mm radius, merged with a 20mm wide by 10mm deep rectangular block centered on the cylinder, and a second 12mm wide by 10mm de...
module middenstuk(length=70){ difference(){ union(){ cylinder(h=length, r=10); translate([-10,1,0]) cube([20,10,length]); translate([-6,-17,0]) cube([12,10,length]); } union(){ translate([0,0,-1]) cylinder(h=length+2, r=8.5); translate([-8,3,-1]) cube([16,6,length+2]); translate([-4.25,-15,-1]...
glb/cad_9d46f098a51a.glb
Create a coffee pod scoop consisting of a hemispherical bowl and a long handle. Start by creating a hollow sphere with an outer diameter of 45mm and a wall thickness of 3mm. Cut this sphere in half to create a bowl shape. Attach a handle to the side of the bowl, consisting of a rectangular prism 130mm long, 10mm wide, ...
diametre=45; emanche=3; lamanche=10; lmanche=130; dboule=15; epaisseur=3; diag=sqrt(diametre*diametre+diametre*diametre/4); union(){ translate([diametre,-lamanche/2,-emanche])cube([lmanche,lamanche,emanche]); translate([diametre,-emanche/2,-emanche*2])cube([lmanche,emanche,lamanche/2]); difference() { union(){ ...
glb/cad_556ca10f53a7.glb
Create a Burning Man Rebar Cap by starting with a sphere that has a radius of 24.5mm. Remove a cylindrical hole from the center of the sphere, extending from the bottom to the center point, with a radius of 4.85mm to accommodate a piece of rebar. To flatten the top of the cap, remove the upper portion of the sphere usi...
include<BM_Logo.scad>; r = 1 * 24.5; rr = 9.7/2; l = r; module cap() { difference() { translate([0, 0, r ]) sphere(r = r ); cylinder(r=rr, h = l ); translate([0, 0, 2*r]) cube([r*3, r*3, r/2], true); } } module bm_cap() { difference() { cap(); translate([0, 0, -1]) difference() { translate([0, 0,...
glb/cad_9ba89c6c1dbb.glb
Create a rounded rectangular block for the Ultimate X5S Corner Pulley Mounts. The main body is a rectangular prism with dimensions 40mm in width, 50mm in length, and 20mm in height. Apply a Minkowski-style rounding to all edges and corners using a sphere with a radius of 5mm for the X and Y axes and 10mm for the Z ax...
$_SUPPORT_THK=0.2; $_FN_CYL=32; $_EPSILON=0.2; module tr(dx,dy=0,dz=0) { translate([dx,dy,dz]) children(); } module trrot(tx,ty,tz,ax,ay=0,az=0) { translate([tx,ty,tz]) rotate([ax,ay,az]) children(); } module trcube(tx,ty,tz,dx,dy,dz) { translate([tx,ty,tz]) cube([dx,dy,dz]); } module trcube_eps(tx,ty...
glb/cad_ad1dc9dd2b26.glb
Create a Swag Paper Clip bookmark with a thickness of 1mm. The main body is a flat plate consisting of a large circular head and a smaller circular tail connected by a tapered rectangular section. Position the head as two circles with a radius of 10mm, centered at [0, 10, 0] and [0, -10, 0]. Connect these to a smalle...
tr = 10; to = 10; hr = 5; hx = 1; hy = 1.25; br = 6.5; bd = 56; ot = 18; ob = 4; ow = 3; od = 2.5; ch = 1; $fa = 6; $fs = 1; difference() { linear_extrude(height = ch, center = false) difference() { union() { translate([bd, 0, 0]) circle(br); translate([0, to, 0]) circle(tr); ...
glb/cad_11024addf5bb.glb
Create a shaving brush and razor stand. Start by constructing the main body as a U-shaped base consisting of three rectangular slabs, each 6mm thick and 90mm wide. Position two slabs parallel to each other, 100mm apart, and connect them with a perpendicular slab 62mm wide, forming a wide open-ended channel. Carve a se...
$fn = 80; module body(){ translate([0,1,0]){ rotate([90,0,0]){ cube([90,62,6]); } } cube([90,100,6]); translate([0,106,0]){ rotate([90,0,0]){ cube([90,70,6]); } } } module cutOut(){ translate([25,-2.5,40]){ sphere(r = 15.5); } translate([10.5,-6,45]){ cube([29,10,20]); } translate([6,-6...
glb/cad_f9f9701fd025.glb
Create a Floorboard to Joist Drill Guide. Start by creating a main guide plate that is 44mm wide, 69.85mm deep, and 3mm thick. Attach a thin end stop bar to the back edge of this plate; the end stop should be 44mm wide, 1.7mm thick, and 19.05mm high. To create the center bar configuration, add a vertical rectangular bl...
RES=64; centerbars="Yes"; halfsize="Yes"; joist_width_inch = 3.5; joist_heigth_inch = 9; joist_width_mm = joist_width_inch*25.4; joist_heigth_mm = joist_heigth_inch*25.4; joist_width_mm = 44; joist_heigth_mm = 150; joist_length_mm = 300; floorboard_width_inch=5.5; floorboard_thicknees_inch=0.750; floorboard_widt...
glb/cad_c29d54b0d2fd.glb
Create an SD Card Holder consisting of a rectangular base block measuring 43mm in length, 5mm in width, and 20mm in height. Within this block, create six identical card slots spaced 7mm apart. Each slot is formed by a complex spring-like geometry: start with a block 8mm wide, 35mm long, and 20mm high. From this, remo...
$fn=90; ly=35; module sd1() { difference() { cube([8, ly, 20]); translate([3.5,0,5]) cube([2.7, ly, 15]); translate([1.2,0,5]) cube([1.3, ly, 15]); translate([1.5+1-0.25, 0, 15]) cube([1.5, ly, 15]); } translate([1.2, ly, 15]) rotate([90,0,0]) linear_extrude(height = ly) polygon([[0,0],[2.5, 3],[2.5, 5],[0, 5]]); ...
glb/cad_c33011b1e8bc.glb
Create a hexagonal nut for a Garmin Edge aero handlebar mount. The main body is a regular hexagonal prism with a height of 2.4mm and a flat-to-flat width of 5.5mm. Centered through the entire height of the prism, add a cylindrical hole with a diameter of 3mm to accommodate an M3 screw.
$fn=40; size = [ [1.6, 3.2, 3.48, 1.3], [2, 4, 4.38, 1.6], [2.5, 5, 5.45, 2], [3, 5.5, 6.08, 2.4], [4, 7, 7.74, 3.2], [5, 8, 8.63, 4], [6, 10, 10.89, 5], [8, 13, 14.20, 6.5], [10, 17, 18.72, 8], [12, 19, 20.88, 10], [14, 22, 23.91, 11], [16, 24, 26.17, 13] ]; modul...
glb/cad_10fd5b897af8.glb
Create a Garmin Edge aero handlebar mount consisting of a cubic block with a recessed screw head. Start by creating a solid cube with dimensions 20mm x 20mm x 20mm. At the center of the top face, create a cylindrical hole to accommodate an M4 screw. This hole should have a diameter of 4.5mm and a depth of 16mm. To al...
use <threads.scad> $fn=30; size = [ [3,1.6,[1.5,0.7],0.35], [3.8,2,[1.5,1],0.40], [4.5,2.5,[2,1.1],0.45], [5.5, 3, [2.5, 1.3],0.50], [7, 4, [3, 2],0.70], [8.5, 5, [4, 2.5],0.80], [10, 6, [5, 3],1.0], [13, 8, [6, 4],1.25], [16, 10, [8, 5],1.5], [18, 12, [10, 6],1.75], [21, ...
glb/cad_9be81442417c.glb
Create a parametric doorstop designed to fit around a door handle. Start by creating a solid base that combines a cylinder with a diameter of 25mm and a height of 15mm, joined to a rectangular block that extends from the cylinder's center. This block should have a length of 25mm, a width of 25mm, and a height of 15mm, ...
Body_height = 15; Hole_diameter = 22; Body_length = 25; Fillet_radius = 3; Thickness = 3; Body_width = Hole_diameter+Thickness; $fn=50; difference(){ union(){ cylinder(h=Body_height,d=Body_width); translate([0,-(Body_width)/2],0) cube([ Body_length,Hole_diameter+Thickness,Body_height]); ...
glb/cad_6a858dcba195.glb
Create a parametric doorstop consisting of a tapered cylindrical body with a total height of 40mm. The base should be a circle with a diameter of 11.7mm, tapering upward to a top diameter of 9mm. The transition from the base to the top should be smoothed using a fillet radius of 3mm, distributed across 20 steps along t...
Body_height = 40; Center_hole_diameter = 3; Screw_hole_diameter = 1; Bottom_thickness = 2; Fillet_radius = 3; Top_diameter = Center_hole_diameter+(Fillet_radius*2); Bottom_diameter = Top_diameter*1.3; Center_hole_diameterepth = Body_height-Bottom_thickness; $fn=50; Radius_steps = 20; use <fillets3d.scad>; di...
glb/cad_51799e926ba2.glb
Create a customizable blower tip consisting of a base, a transition chamber, and a nozzle tip. Start by creating a hollow rectangular base with rounded corners. The outer dimensions are 33.5mm by 58.4mm (including a 0.3mm fit tolerance), with a height of 11mm and a wall thickness of 1.6mm. The corners should have a r...
$fn=36; fit_tol=0.3; tip_shape=2; tip_rotate=2; tip_yoffset=15; base_xsize=32.9; base_ysize=57.8; base_zsize=11; base_rad=2.5; base_wall=1.6; cham_zsize=90; tip_xsize=24; tip_ysize=12; tip_zsize=14; tip_rad=7; tip_wall=1.6; color("Gold") hollow_base(); color("Tan") hollow_chamber(); color("Gold") transl...
glb/cad_d4d9c00e9c08.glb
Create a tripod screwdriver tool consisting of a blade, a hexagonal shaft, and a handle. Start by creating a flat blade that is 10mm wide, 2.2mm thick, and 2mm long. Add a 0.4mm taper to the top edge of the blade. Below the blade, create a transition section 5mm in length that blends the rectangular blade into a hexa...
blade_width = 10; blade_thickness = 2.2; blade_length = 2; blade_taper = 0.4; printer_oversizing = 0.5; hexagonal_shaft_length = 30; hexagonal_shaft_wrench_width = 10; allen_key_width = 6; handle_length = 25; handle_diameter = 25; handle_polygon_faces = 6; transition_length = 5; epsilon = 0.01; tol = print...
glb/cad_aa4b3c9d12a7.glb
Create a Round Belt Pulley. Start with a main cylindrical body with a diameter of 24.1mm (calculated as the 20.1mm pulley diameter plus twice the 2.1mm belt diameter) and a height of 12.1mm. Centered on this body, add a cylindrical hub with a diameter of 15.1mm and a height of 12.1mm. Pierce the center of the entire a...
Belt_Diameter = 2.1 ; Number_Of_Belts = 1 ; Pulley_Diameter = 20.1; Pulley_Height = 12.1; Flange_Height = "Medium"; Axel_Diameter=3.1; Hub_Height=12.1; Hub_Diameter=15.1; Number_of_Attachment_Screws = "One"; Screw_Hole_Diameter=3.1; Nut_Shape = "Hex"; Nut_Width =5.5; Nut_Thickness=2.25; Nut_Spacing=2.1; ...
glb/cad_13d9937a4da5.glb
Create a clothes hook with a total width of 16mm. Start with a base consisting of two rectangular blocks: a top block measuring 44mm by 6mm by 16mm, and a bottom block measuring 97mm by 6mm by 16mm, joined together. In the center of the top block, create a tapered screw hole that starts with a radius of 4mm and narrows...
$fn=360; hooklength=50; hookwidth=16; screwhole=1; hookthick=6; shelfthick=47; blockthick=6; union(){ difference(){ union(){ cube([shelfthick-3,blockthick,hookwidth]); cube([hooklength+shelfthick,hookthick,hookwidth]); } union(){ translate([(shelfthick-3)/2,0,hookwidth/2]){ rotate([-90,0,0]...
glb/cad_578679e79659.glb
Create an LM8UU bushing adaptor by starting with a main cylinder that has a height of 23.6mm and a diameter of 14.9mm, using a 24-facet resolution. From this main body, remove a central vertical cylinder with a diameter of 9mm that spans the entire height to create a through-hole for a smooth rod. Additionally, remove ...
inner_diameter_slop = .4; outer_diameter_slop = .1; length_slop = .4; lm8UU_length = 24-length_slop; lm8UU_diameter = 15-outer_diameter_slop; bushing_length = 24-length_slop; bushing_outer_diameter = 10+inner_diameter_slop; bushing_flange_diameter = 15+inner_diameter_slop; bushing_flange_width = 1; smooth_rod_diameter...
glb/cad_40d34fc9f0f4.glb
Create a Flat Belt Pulley. Start with a main cylinder that has a diameter of 22.3mm (calculated as a 20.1mm pulley diameter plus two 1.1mm belt slot depths) and a height of 12.1mm. Centered on top of this cylinder, add a hub with a diameter of 15.1mm and a height of 12.1mm. Remove a central axial hole with a diameter ...
Belt_Slot_Width = 2.1 ; Belt_Slot_Depth = 1.1 ; Number_Of_Belts = 1 ; Pulley_Diameter = 20.1; Pulley_Height = 12.1; Axel_Diameter=3.1; Hub_Height=12.1; Hub_Diameter=15.1; Number_of_Attachment_Screws = "One"; Screw_Hole_Diameter=3.1; Nut_Shape = "Hex"; Nut_Width =5.5; Nut_Thickness=2.25; Nut_Spacing=2.1; ...
glb/cad_a86e0a53bfaf.glb
Create a drillguide consisting of a circular baseplate and a central guide tube. Start by creating a cylindrical baseplate with a diameter of 80mm and a thickness of 3mm. Position a central vertical cylinder with an outer diameter of 16mm and a height of 25mm on top of the baseplate. Drill a vertical hole through the...
drilldiam = 8.2; guideheight = 25; guidewidth = 16; platethick = 3; platewidth = 80; squareYN = 0; numberwings = 0; boardwidth = 18.1; module squareround(w,t) { difference() { if(squareYN) cube([w, w, t], center=true); else cylinder(d=w,h=t, center=true); cube([w/1.25, guidlinew, guideheight],...
glb/cad_e4be08118a29.glb
Create a drillguide for perpendicular holes. Start by constructing a handle that is 100mm long, 45mm wide, and 28mm high. The handle's main body is a cylinder with a diameter of 45mm, but it is flattened on the bottom to create a stable base. Along the length of the handle, add five cylindrical guide sections. Each gu...
drilldiam1 = 3; drilldiam2 = 4; drilldiam3 = 6; drilldiam4 = 8; drilldiam5 = 10; toleranceperc = 3; heighthandle = 28; widthhandle= 45; lengthhandle = 100; module handle(lh) { f = heighthandle/(widthhandle/2); echo(f); scale([1,1,f]) { difference() { union() { sphere(d = wi...
glb/cad_a640831a2589.glb
Create a drillguide for perpendicular holes consisting of a handle and an attached guide block. Start by creating a handle that is 100mm long, 40mm wide, and 35mm high. The handle's main body is a cylinder with a diameter of 40mm, capped at one end by a hemisphere of the same diameter. At the opposite end of the hand...
widthhandle= 40; lengthhandle = 100; heighthandle = 35; guideheight = 40; guideplatethick = 5; module handle(lh) { f = heighthandle/(widthhandle/2); echo(f); scale([1,1,f]) { difference() { union() { sphere(d = widthhandle); rotate([0,90,0]) cylinder(d= widthh...
glb/cad_542d52830518.glb
Create a Book Thumb Ring designed to hold pages open. Start by creating a central cylinder with a height of 10mm and an outer radius of 11.5mm. Remove a concentric inner cylinder with a radius of 8.5mm to create a ring wall 3mm thick. From this central ring, extend two symmetrical wings. Each wing is formed by the con...
thumb_hole_diameter = 17; thumb_hole_offset = 0; wall_thickness = 3; height = 10; wing_length = 30; angle = 25; thumb_radius = thumb_hole_diameter / 2; $fn = 50; bookring(thumb_radius, wall_thickness, height); module bookring(thumb_radius, wall, height) { difference() { union() { translate([0, (thumb_rad...
glb/cad_c06b9d634d2e.glb
Create a motor mount for a Sherline machine consisting of a square base plate and a tapered cylindrical housing. Start with a square base plate 2.25 inches wide and 0.2 inches thick, with rounded corners of 0.2 inches. In this plate, center four bolt holes with a diameter of 0.1969 inches, spaced 1.856 inches apart. O...
include <./MCAD/boxes.scad> include <./MCAD/units.scad> $fn = 128; NEMA23_HOLE_SPACING=1.8560; NEMA23_BOLT_DIA=0.1969; NEMA23_MOUNT_WIDTH=2.25; NEMA23_MOUNT_CORNER_RADIUS=0.2; SFR4_DIA=0.6250; SFR4_FLANGE_DIA=0.690; SFR4_THICK=0.227; SFR4_FLANGE_THICK=(0.227-0.196); SFR4_CLEARANCE=0.01; SHERLINE_MOUNT_SCREW_DIA=0.1...
glb/cad_de6ac70d0309.glb
Create a rectangular leg extension. Start by constructing a solid rectangular block with a total width of 24.4mm, a total length of 36.2mm, and a total height of 32mm. Center a rectangular hole within this block to create a hollow frame; this interior cutout must be 20.4mm wide, 32.2mm long, and 10mm high, positioned s...
leg_width = 20.4; leg_length = 32.2; add_height = 22; frame_thickness = 2; frame_height = 10; brim_width = 2; module brim (bw, bl) { rotate([90,30,0]) cylinder(r=bw*1.15,h=bl, $fn=3); } module legy(lw, ll, ah, ft, fh, bw) { union () { difference () { cube([lw + ft*2, ll + ft*2, ah+fh],...
glb/cad_73dce2ce3ca5.glb
Create an ATX ioShield by starting with a main rectangular base measuring 158.8mm by 44.5mm with a thickness of 1mm. Add an outer border offset of 2mm on the X and Y axes and a total thickness of 1.6mm. Cut the following features out of the base: - Two circular holes with a 12mm diameter, positioned at [6, 1.5] and [...
X=0; Y=1; Z=2; PrintType = 3; PrintMargin = 2; MeshSizeX = 9.7; MeshSizeY = 13.6; ioSize = [158.8, 44.5, 1.0]; Oversize = [2, 2, 0.6]; mainFont = "Courier New:style=Italic"; f1Type = 1; f1Position = [6, 1.5, 0]; f1_X = 2; f1_Y = 2; f1_D = 12; f1_G = 2.7; f1_C = 2; f1_F = 300; f1_T = ""; f2Type = 3; f2P...
glb/cad_4357102a7c09.glb
Create a geared extruder block for a Nema 17 motor and BfB hotend. Start with the base extruder block geometry and modify it by adding two mounting holes for the hotend: create two cylindrical holes with a radius of 2.5mm and a height of 10mm, positioned at coordinates [60, 9, 21] and [90, 9, 21], both rotated 90 degre...
module M8_Extruder_Block() { import_stl("M8_Extruder_Block_3.stl"); translate([69,5,0]) cylinder(r=2.2,h=28,$fn=20); translate([81,5,0]) cylinder(r=2.2,h=28,$fn=20); difference() { translate([75,11,15]) rotate([90,0,0]) cylinder(r=8.2,h=11,$fn=30); translate([75,12,15]) rotate([90,0,0]) cylinder(r=2,h=12,$fn=...
glb/cad_9359ae1a67f1.glb
Create a Customizable Drill Bit Tray by starting with a solid rectangular base measuring 82mm in width, 111mm in length, and 9mm in height. Carve out five identical rectangular bays, each 14mm wide, 107mm long, and 8mm deep. Position these bays side-by-side with 2mm thick walls between them and a 2mm thick wall around ...
bay_height = 107; bay_width = 14; bay_depth = 8; number_bays = 5; wall_thickness = 2; label_height = 0; total_width = wall_thickness+number_bays*(bay_width+wall_thickness); total_height = (label_height==0) ? bay_height+2*wall_thickness : label_height+bay_height+3*wall_thickness; total_depth = bay_depth+wall_thick...
glb/cad_9cda02f4c7f9.glb
Create a belt tensioner for a Rostock printer. Start with a main rectangular block that is 26mm high. At one end, create a bearing mount designed to fit an F608 bearing. This mount should be integrated into the block's structure. Incorporate a central tensioning mechanism consisting of a cylindrical bed. The outer ...
use <bracket.scad>; use <idler_end.scad>; h = 26; hzo = 6; byo = 5.5; bod = 21; boh = 4; bid = 15; bih = 2; bhd = 8.5; bhh = 6; x = -45 * cos(30); y = 50 - 45 * sin(30); module spreader() { difference() { union() { translate([0, 0, -h/2]) intersection() { bracket(h); translate([30, 10, 0...
glb/cad_cbc5b0724b9f.glb
Create a belt tensioner for a Rostock printer consisting of two main components: an idler end and a tensioner bed. For the idler end, create a bracket with a total height of 34mm. Incorporate a bearing mount consisting of two mirrored conical sections, each 1.1mm thick, with a bottom radius of 12mm and a top radius o...
use <bracket.scad>; h = 34; hzo = 6; tilt = 2; module bearing_mount() { translate([0, 0, 2.3]) cylinder(r1=12, r2=9, h=1.1, center=true); translate([0, 0, -2.3]) cylinder(r1=9, r2=12, h=1.1, center=true); } x = 17.7; y = 16; bd = 25.5; byo = 5.5; bod = 21; boh = 4; bid = 15; bih = 2; bhd = 8.5; bhh = 8; modul...
glb/cad_250f6d967736.glb
Create a belt tensioner carriage for a Rostock 3D printer. The main body is a rectangular block 50mm wide, 5mm thick, and 24mm high, centered on the X and Z axes. At the bottom of the carriage, centered horizontally, create a cylindrical hole for a tensioner rod with a radius of 4.5mm and a height of 24mm. Position th...
width = 76; height = 24; offset = 25; cutout = 13; middle = 2*offset - width/2; tyo = 4.5; trd = 9; module parallel_joints(reinforced) { difference() { union() { intersection() { cube([width, 20, 8], center=true); rotate([0, 90, 0]) cylinder(r=5, h=width, center=true); } inter...
glb/cad_8a2b5a16d429.glb
Create a rectangular parametric clip with a total height of 12mm and a wall thickness of 6mm. The main body is formed by a base rectangle measuring 64.2mm in length and 6mm in width, with a central rectangular cutout of 52.2mm by 10.2mm to create a U-shaped channel. The outer corners of the clip should be rounded with ...
length_1=52.2; length_2=10.2; Thickness=6; height=12; hole_dia=4; module round2d(OR=3,IR=1){ offset(OR)offset(-IR-OR)offset(IR)children(); } $fn=100; module clip(){ linear_extrude(height=height){ fillet=Thickness/2.85; round2d(OR=fillet,IR=fillet){ translate([-length_1/2-Thickness,0,0]) square([length_1+Thick...
glb/cad_45b525cedd54.glb
Create a parametric shelf with mounting brackets. Start by constructing the main shelf body as a rectangular block 140mm wide, 90mm deep, and 17mm high. Round the two front corners with a 10mm radius. Create a recessed interior cavity by removing a centered volume that is 10mm deep, leaving a 6mm padding from the side ...
$height = 17; $front_height = 14; $width = 140; $depth = 90; $bracket_offset = 10; $bracket_height = 40; $bracket_width = 15; $bracket_length = 50; $bracket_hole_height = 15; $corner_radius = 10; $round_left_corner = 0; $round_right_corner = 1; $inset_width = 10; $inset_padding = 6; $fn = 60; module bracket() { ...
glb/cad_9387b8ded593.glb
Create a Fuel Nozzle Pins tool consisting of two parallel pointed pins connected by a mounting block with a keyring hole. Start by creating two identical pins, each 25mm long with a diameter of 3mm. The base of each pin should taper from a point to the full 3mm diameter over a length of 2mm. Position these pins paral...
block_length = 2; block_thickness = 4; pin_diameter = 3; pin_length = 25; pin_spacing = 11.5; point_length = 2; ring_thickness = 2; ring_size = 10; hole_diameter = 5; $fn=100; difference() { union() { translate([0,0,0]) cylinder(h = pin_length, r1 = (pin_diameter/2), r2 = (pin_diameter/2), center = false); ...
glb/cad_7a1e1d00a505.glb
Create an "Everything Cryptex" consisting of an inner shell, an outer shell, a lock ring, and multiple rotating rings. Create an inner shell as a hollow cylinder with an internal diameter of 40mm and a height of 70mm. Add a base plate to the bottom and three vertical ridges spaced equally around the exterior. Along th...
compartmentDiameter = 40; compartmentHeight = 70; numRings = 5; positionLabelsStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; part = "innershell"; positionLabels = [ for (i = [0 : len(positionLabelsStr) - 1]) positionLabelsStr[i] ]; module RegularPolygon(numCorners, outerRadius, faceOnXAxis=false) { points = [ fo...
glb/cad_7edfa02f59f0.glb
Create a Customizable PCB Spacer Rectangle consisting of four hollow cylindrical pillars connected by rectangular strips. Place the four pillars at the corners of a rectangle measuring 45mm by 50mm. Each pillar must have an external diameter of 8mm, an internal hole diameter of 3.5mm, and a total height of 5mm. Use a 4...
internal_diameter = 3.5; external_diameter = 8; minimum_wall_thickness = 1; width = 45; length = 50; height = 5; hole_segments = 40; strip_height = 2; internal_radius = internal_diameter / 2; external_radius = max(external_diameter / 2, internal_radius + minimum_wall_thickness); strip_width = external_radius;...
glb/cad_fecd2da9fedf.glb
Create a Quickbot switch holder by starting with a solid base shaped from a 2D polygon extruded to a height of 20mm and centered vertically. The polygon profile should be defined by the coordinates (0,0), (0,17), (25,17), (25,0), (16,0), (16,2), (23,2), (23,15), (2,15), and (2,0). Finally, remove a cylindrical hole wit...
difference () { linear_extrude(height = 20, center = true, convexity = 10, twist = 0) polygon (points = [[0,0],[0,17],[25,17],[25,0],[16,0],[16,2],[23,2],[23,15],[2,15],[2,0]] ); translate ([12.5, 20, -6]) rotate([90,0,0]) cylinder (h=10,r=1.5, $fn = 100); }
glb/cad_29bc2ce2137c.glb