Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Tape Yagi Radiator Cover by starting with a solid rectangular block measuring 22mm wide, 40mm long, and 11mm high. From this block, remove a smaller rectangular section measuring 18mm wide, 40mm long, and 9mm high, positioned 2mm from the side and 0mm from the base, to create a U-shaped channel. Finally, carve...
module cover(){ difference() { cube([22,40,11] , center=flase); translate([2,0,0]) cube([18,40,9], center=false); rotate([0,90,0]) translate([-3,20,0]) cylinder(d=10,h=20, center=true, $fs = 1); } } rotate([180,0,0]) cover();
glb/cad_7d0571737208.glb
Create a 3D Bezier ribbon by extruding a surface between two cubic Bezier curves. The first curve is defined by the control points [0, 15], [6, 13], [3, 5], and [15, 0]. The second curve is defined by the control points [0, 13], [6, 11], [3, 2], and [13, 0]. Extrude this surface to a height of 4mm. The resulting shap...
joinfactor = 0.125; gSteps = 100; gHeight = 4; BezCubicRibbon([[0,15],[6,13],[3,5],[15,0]], [[0,13],[6,11],[3,2],[13,0]]); function BEZ03(u) = pow((1-u), 3); function BEZ13(u) = 3*u*(pow((1-u),2)); function BEZ23(u) = 3*(pow(u,2))*(1-u); function BEZ33(u) = pow(u,3); function PointOnBezCubic2D(p0, p1, p2, p3, u) = ...
glb/cad_669483ea213c.glb
Create a gennaker pole plug by constructing a composite cylindrical body with a central hole. Start with a main cylinder 20mm high with a radius of 28mm. Attach a thin base disk to the bottom of this cylinder with a radius of 30mm and a height of 3mm. Below this base, add a conical section that transitions from a radiu...
$fn=64; difference() { union() { cylinder(r=28,h=20);translate([0,0,-3]) cylinder(r=30,h=3); translate([0,0,-8]) cylinder(r1=8,r2=30,h=5); } cylinder(r=4,h=60,center=true); }
glb/cad_52132d0f0a4c.glb
Create a Sony MDR V6 replacement ear piece casing. Start by constructing a main outer shell consisting of a cylinder with a radius of 37mm and a height of 22mm. Inside this shell, remove a concentric cylindrical core with a radius of 27mm and a height of 20mm to create a hollow recessed area. At the base of the shell...
module outerh() { translate([0, 0, 0]) { cylinder(h = 22, r1 = 29, r2 = 29, center = false, $fn=100); } translate([0,0,0]) { hull() { translate([12,0,0]) cylinder(h = 3, r1 = 37, r2 = 37, center = false, $fn=100); cylinder(h = 5, r1 = 37, r2 = 37, center = false,...
glb/cad_ffd7ce514a25.glb
Create a Sony MDR V6 replacement ear piece casing. Start by creating a main outer cylinder with a height of 22mm and a radius of 29mm. Surround this with a larger concentric mounting flange that is 5mm thick with a radius of 37mm. Hollow out the center of the main cylinder by removing a cylinder with a height of 20mm ...
module outerh() { translate([0, 0, 0]) { cylinder(h = 22, r1 = 29, r2 = 29, center = false, $fn=100); } translate([0,0,0]) { hull() { translate([12,0,0]) cylinder(h = 3, r1 = 37, r2 = 37, center = false, $fn=100); cylinder(h = 5, r1 = 37, r2 = 37, center = false,...
glb/cad_219eb047829b.glb
Create a solid paraboloid reflector with a total height of 50mm and a focal length of 10mm. The shape is generated by rotating a parabolic curve around a central vertical axis. The vertex of the parabola should be the lowest point of the model, and the top surface should be a flat, circular plane. Position the object s...
module paraboloid (y=10, f=5, rfa=0, fc=1, detail=44){ hi = (y+2*f)/sqrt(2); x =2*f*sqrt(y/f); translate([0,0,-f*fc]) rotate_extrude(convexity = 10,$fn=detail ) translate([rfa,0,0]) difference(){ union(){ projection(cut = true) translate([0,0,f*2]) rotate([45,0,0]) translate([0,0,-hi/2])cylinder(...
glb/cad_e84237b7f387.glb
Create a PolyBot Swooped Effector Base consisting of three identical arms arranged symmetrically around a central point, each rotated 120 degrees from the next. Each arm is a curved, ribbon-like blade with a thickness of 6mm. The blade follows a cubic Bezier path starting from the center, sweeping outward to a length...
goldenratio = 1.61803399; joinfactor = 0.125; gSteps = 50; gHeight = 6; gArmLength = 45; gAxleRadius = 3/8/2*25.4*1.04; gAxleOR = gAxleRadius*2*goldenratio; gAxleLength = 1/2*25.4; SwoopArms(); module axlemount(axlelength, axlesize, axleRadius, axleoffset) { difference() { union() { translate([-axlesize/...
glb/cad_85a15f08169f.glb
Create an Oogoo Mixer consisting of two separate circular components: a feeder base and a plunger. For the feeder base, create a solid cylinder with a diameter of 33.2mm and a height of 7mm. Subtract a central vertical hole with a diameter of 6.5mm that passes through the bottom. Additionally, subtract a larger concen...
tubeID = 29.8 ; tubeWall = 1.2; plateOuterThickness = 7.0; plateInnerThickness = 4.0; plateWall = 2.0; plateGroove = 3.0; feedTubeID = 6.5; feedTubeOD = 9.5; feedTubeConnectDepth = 3.0; plugThickness = 6.0; ventHoleDia = 1.0; numVentHoles = 6; handleID =17.6 ; handleWall = 2.35; handleGroove = 3; plateOuterDim = tub...
glb/cad_11fb976a4560.glb
Create a U-shaped LED lighting mount for a z-platform. Start by constructing a semi-circular platform with an outer radius of 37.5mm and a thickness of 5.5mm. The platform's inner section is hollowed out by a concentric semi-circle with a radius of 32.5mm. At the base of the semi-circle, center a mounting peg assembly...
plat_radius = 35; plat_length = 19.25; plat_peg_dist = 52; plat_peg_radius = 2.25; plat_peg_surround = 2; plat_peg_len = 3; plat_thick_under = 4; plat_thick_over = 1.5; plat_overlap = 2.5; led_radius = 2.5; led_surround = 1; led_offset = 0; radius_fudge = 0.1; led_sides = 24; plat_thick_total = plat_thick_under + pl...
glb/cad_3f86adee50b5.glb
Create a pan lid organizer clip. Start with a central base cube measuring 13mm x 13mm x 10mm. On top of this base, add a 90-degree curved fillet (a "piece of pie") with a thickness of 13mm and a height of 13mm. Attached to this curved section, add a rectangular beam measuring 13mm wide and 13mm thick, with a length of ...
$fn=5*10; base_size=13; base_height=10; mounting_hole=4; screw_head=8; keep=8; beam_length=30; beam_thickness=base_size; angle=40; module beam() { color("Green") translate([-base_size/2,base_size/2,base_height/2]) rotate([angle,0,0]) cube(size=[base_size,beam_length,beam_thickness]); } ...
glb/cad_7105eef90550.glb
Create a Newtrent AirBender Mini Clip crossbar. Start by creating a dovetail-shaped block with a height of 8mm, a width of 15.75mm, and a length of 19.75mm, extending to a total length of 50mm. Center this block and subtract two cylindrical holes from it to create clearance for bolts. Each hole should have a radius of ...
boltsize=4.2/2; crossbar2(); module mount(){ difference(){ translate([12.5,0,127])rotate([0,0,90])dovetail(10,60,30,12,12); translate([12.5,0,127])rotate([0,0,90])dovetail(8,16,20,16,.5); translate([12.5,0,127])cylinder(r=boltsize,h=40,center=true,$fn=100); translate([12.5,22,127])cylinder(r=boltsize+.5,h=4...
glb/cad_534f1b434310.glb
Create an extruder barrel cooling duct. Start with a central rectangular block measuring 34.5mm wide, 50mm deep, and 22mm high, centered on the X and Y axes. Remove a smaller centered rectangular volume of 30.5mm by 50mm by 18mm from the bottom of this block. At the top of the assembly, centered at a height of 36mm an...
h = 22; f = -9; fn=50; module duct() { union() { difference() { union() { cube([34.5,50,h], true); } translate([0,-2,0]) cube([30.5,50,h-4], true); translate([0,30,36]) rotate([180-30,0,0]) translate([0,0,-10]) union() { cylinder(50,34.5/2 -2, 34.5/2 -2, $fn=fn); translate([0,0...
glb/cad_959621b42204.glb
Create a direct drive extruder mount consisting of a main body and a pivoting lever. For the main body, create a block with a height of 24mm. The profile is primarily rectangular but features a large semi-circular cutout on one side to accommodate the lever's rotation. In the center of the body, create a vertical hol...
fnr = 0.4; extrusion_width = 0.6; normal_wall_factor = 4; thick_wall_factor = 6; filament_d = 1.75; gear_d = 7.34; motor_alignment = 0; bowden_mount = 1; bowden_extruder = 0; bowden_d = 4.5; bowden_coupling_thread_d = 9.75; bowden_coupling_thread_h = 10; mounthole_dis...
glb/cad_7444eaab1dc4.glb
Create a Simple Spool Holder for a Printrbot Metal. The main body is a horizontal support arm with a total height of 16mm and a length of 98mm (92mm for the spool plus 6mm for the end caps). The arm features rounded ends with a radius of 12.5mm. Along the length of the arm, create a central cutout in the shape of a s...
height = 16; raiser = 35; base_thickness = 5; cap_size = 25; length = 92; len = length + 6; epsilon = 0.01; module printrbot_holder() { difference() { union() { intersection() { difference() { union() { translate([len/2, -6, 0]) ...
glb/cad_c13d0adb4a98.glb
Create a cupped holder for an Eggbot by generating a revolved solid of a specific 2D profile. The profile is a polygon defined by the following vertices in the XY plane: start at (0, 3), move to (3, 3), drop to (3, 0), extend to (5, 0), rise to (5, 10), and close the shape at (0, 6). Rotate this profile 360 degrees aro...
module Cup() { rotate_extrude($fn=200) polygon( points=[[0,3],[3,3],[3,0],[5,0],[5,10],[0,6]] ); } Cup();
glb/cad_8ccda2fe666b.glb
Create two identical circular mold halves for an Eggbot Cup. Each half starts as a cylinder with a radius of 10mm and a height of 10mm. For each cylinder, create a central cavity by subtracting the Eggbot Cup geometry, which is positioned at [0, 0, -4] and rotated [0, 0, 90]. To allow for material pouring, remove a c...
model_filename = "Eggbot Cup.stl"; model_rotate = [0,0,90]; model_translate = [0,-25,0]; model_translate = [0,0,-4]; model_scale =1.0; mold_diameter = 10; mold_height = 10; mold_spacing = 5; pour_hole_translate = [0,0,0]; pour_hole_rotate = [90,0,-90]; pour_hole_r1 = 0; pour_hole_r2 = 0; pour_hole_height = 50; ...
glb/cad_cc405b7b1f8e.glb
Create a 3D scanner rail tool consisting of a curved rail and a sliding stand. The rail is a segment of a ring with an outer radius of 50mm and a total height of 2mm. It is composed of several concentric layers: a base ring from 48.75mm to 51.25mm, and inner ridges at radii of 47.25mm and 50mm, each 0.5mm thick. The ...
detail = 20; detail = 100; tick_step = 20; tick_step = 6; module ring(r,w,h){ $fn = detail; $fa = 30; difference() { cylinder(h = h, r1 = r, r2 = r, center = true); cylinder(h = h, r1 = r-w, r2 = r-w, center = true); } } module rail(){ intersection(){ difference(){ union(){ translate([0,0,0.5/2]) ring(...
glb/cad_61b08cd91431.glb
Create a Shoelaces Attachment holder designed to secure a small electronic device. Start by creating a main body that is a rounded rectangular prism with a total length of 51.7mm, a width of 39mm, and a height of 15mm. In the center of this body, create a rounded rectangular cutout to hold the device. This cutout sho...
a_bit=0.1; force_fit=0.2; hold_fit=0.3; slide_fit=0.4; free_fit=0.5; clearance= hold_fit; held_item_l=38.7; held_item_b=33; held_item_h=33; held_item_r=3; arm_length=10; cutout_width=3; cutout_length=7; cutout_separation=15; wall_t=3; total_l=held_item_l+2*(arm_length+wall_t+clearance); total_b=held_item_h+2*(wall_...
glb/cad_274e9749e46f.glb
Create a Shoelaces Attachment holder designed to secure a small electronic device. Start by creating a main body as a rounded rectangular prism with overall dimensions of 51.7mm in length, 39mm in width, and 15mm in height. The walls should be 3mm thick. In the center of this body, create a rounded rectangular cutout ...
a_bit=0.1; force_fit=0.2; hold_fit=0.3; slide_fit=0.4; free_fit=0.5; clearance= hold_fit; held_item_l=38.7; held_item_b=33; held_item_h=33; held_item_r=3; arm_length=10; cutout_width=3; cutout_length=7; cutout_separation=15; cutout_radius=3; wall_t=3; total_l=held_item_l+2*(arm_length+wall_t+clearance); total_b=hel...
glb/cad_dc1e22fec98f.glb
Create a Shoelaces Attachment holder designed to secure a packaged electronic device. Start by creating a main body as a rounded rectangular prism with a total length of 54.5mm, width of 38.5mm, and height of 15mm. In the center, remove a rounded rectangular volume to create a hollow cavity that measures 44.5mm in leng...
a_bit=0.1; force_fit=0.2; hold_fit=0.3; slide_fit=0.4; free_fit=0.5; use <mouse_ears_test.scad>; z_resolution=0.3; mouse_ear_diameter=20; clearance= hold_fit; held_item_l=38.5; held_item_b=32.5; held_item_h=30.6; held_item_r=3; arm_length=10; cutout_width=3; cutout_length=7; cutout_separation=15; cutout_radius=3; ...
glb/cad_fff05a531e1e.glb
Create a Shoelaces Attachment holder designed to secure a small electronic device. Start by creating a main body that is a rounded rectangular prism with a total length of 44.6mm, width of 38.5mm, and height of 15mm. The walls should be 3mm thick. In the center, carve out a rounded rectangular cavity to hold the devic...
a_bit=0.1; force_fit=0.2; hold_fit=0.3; slide_fit=0.4; free_fit=0.5; use <mouse_ears_test.scad>; z_resolution=0.3; mouse_ear_diameter=20; int_tol_holder=0.45; int_r_tol_holder=0.1; held_item_l=38.5; held_item_b=32.5; held_item_h=30.6; held_item_r=3; arm_length=10; cutout_width=3; cutout_length=7; cutout_separation...
glb/cad_99a834d550db.glb
Create a Shoelaces Attachment holder with a total height of 15mm. Start by constructing a main body consisting of a rounded rectangular base and walls. The outer dimensions of the overall structure are 58.9mm in length and 39.1mm in width. In the center, create a rounded rectangular cutout to hold a device. This inte...
a_bit=0.1; force_fit=0.2; hold_fit=0.3; slide_fit=0.4; free_fit=0.5; use <mouse_ears_test.scad>; z_resolution=0.3; mouse_ear_diameter=20; int_tol_holder=0.45; int_r_tol_holder=0.1; held_item_l=38.5; held_item_b=32.5; held_item_h=30.6; held_item_r=3; arm_length=10; cutout_width=3; cutout_length=7; cutout_separation...
glb/cad_ff4ee248916d.glb
Create a Shoelaces Attachment holder designed to secure a small electronic device. Start by creating a base plate that is 54.6mm long, 38.6mm wide, and 3mm thick, with rounded corners. On top of this base, build a rounded rectangular wall structure with an overall height of 15mm. The interior of this structure should b...
a_bit=0.1; force_fit=0.2; hold_fit=0.3; slide_fit=0.4; free_fit=0.5; use <mouse_ears_test.scad>; z_resolution=0.3; mouse_ear_diameter=20; int_tol_holder=0.3; int_r_tol_holder=0.1; held_item_l=38.5; held_item_b=32.5; held_item_h=30.6; held_item_r=3; arm_length=10; cutout_width=3; cutout_length=7; cutout_separation=...
glb/cad_6cba1e2e3921.glb
Create a Cherry Pi III V-wheel rod carrier. Start with a square base plate 50mm wide by 50mm deep and 3mm thick, with all four corners rounded to a 6.25mm radius. On the top surface of the plate, centered along the X-axis, place two belt-fixing pegs. Each peg is a hull of two cylinders with a 3mm radius and a height o...
$fn=40; outsideRadius = 6.25; plateWidth = 50; plateHeight = 50; plateThickness = 3; ballOffsetZ = 10; ballOffsetY = 10; ballDiameter = 8; ballCupAngle = 35; rodSeparation = 43; hole1_x = 13.7; hole1_y = -20; hole2_x = -19.6; hole2_y = -9.6; hole3_x = 2; hole3_y = 4.7; holeDiameter = 3.4; pegRadius = 3; pegHeight = 6...
glb/cad_06ab893faee8.glb
Create a 3D model of a Topaz crystal by starting with a sphere of radius 100mm and carving it into a polyhedral shape using a series of intersecting planes. The final form is an orthorhombic, short prismatic crystal defined by the following facial constraints: Position two horizontal planes (c faces) at z = 40 and z =...
Topaz(); module Topaz() { l001 = 40; l110 = 25; l120 = 38; l011 = 28; l021 = 32; l111 = 27; l112 = 42; l113= 34; l123 = 30; difference() { sphere (r=100, center = true); union() { mkplane(0,0,.9539,200,200,l001); mkplane(0,0,-.9539,200,200,l001); union() { mkplane(1,0.5287,0,200,2...
glb/cad_6d40bf797bac.glb
Create a Topaz Crystal model by starting with a sphere of radius 100mm and carving it into a polyhedral shape using a series of intersecting planes. The final model should be scaled by 1.25. Carve the following faces into the sphere: - Two horizontal faces (c) at z = 23 and z = -35. - Four vertical faces (p) positione...
scale(1.25) Topaz(); module Topaz() { l001 = 23; l110 = 19; l120 = 29; l011 = 18; l021 = 22.5; l111 = 17; l112 = 26; l113= 21; l123 = 20; difference() { sphere (r=100, center = true); union() { mkplane(0,0,.9539,200,200,l001); mkplane(0,0,-.9539,200,200,35); union() { mkplane(...
glb/cad_7572ab73ea5c.glb
Create a trailer hub dust cap by first forming a composite solid consisting of a shallow conical face and a central cylinder. The face is a cone with a bottom diameter of 50mm, a top diameter of 55.6mm, and a height of 3.5mm. Attached to this is a central cylinder with a diameter of 47mm and a height of 14.21mm. Extend...
difference() { union() { cylinder(d2=55.6, d1=50, h=3.5 ); cylinder(d=47.0, h=14.21); translate(v=[0,0,12]) cylinder(d2=0, d1=50, h=40); translate(v=[0,0,-28]) cylinder(d1=0, d2=50, h=40); }; translate(v=[0,0,3.5]) cylinder( d=42, h=100);...
glb/cad_c528b09798e7.glb
Create a rectangular game board for "Mensch ärgere Dich nicht" with overall dimensions of 136mm by 113mm and a thickness of 7mm. On the top surface, carve out a series of circular holes to hold coins. Create a set of small holes with a diameter of 17.5mm and a depth of 2mm. Arrange these in a path: place five holes i...
xoffset=14; yoffset=11; var=22; $fn=32; module 1cent() { cylinder(d=17.5, h=2, $fn=32); } module 2cent() { cylinder(d=19.6, h=2, $fn=32); } module goal() { translate([0,0,-1]) hull() { cylinder(d2=22, d1=19, h=3, $fn=32); translate([0,3*var,0]) cylinder(d2=23, d1=18, h=3, $fn=32); } } difference() { trans...
glb/cad_8a53bbeb63da.glb
Create a rectangular board for the game Mensch ärgere Dich nicht with overall dimensions of 136mm by 113mm and a thickness of 7mm. On the top surface, carve out a series of circular holes to hold coins. Create a grid of small circular depressions with a diameter of 17.5mm and a depth of 2mm. Arrange these in a patter...
xoffset=14; yoffset=11; var=22; $fn=32; module 1cent() { cylinder(d=17.5, h=2, $fn=32); } module 2cent() { cylinder(d=19.6, h=2, $fn=32); } module goal() { translate([0,0,1]) hull() { cylinder(d1=22, d2=19, h=3, $fn=32); translate([0,3*var,0]) cylinder(d1=25, d2=18, h=3, $fn=32); } } difference() { transl...
glb/cad_711bf743c5ee.glb
Create a right-side LCD display mount by constructing a base plate and adding specific structural elements. Start with a main rectangular base measuring 93mm in length, 10mm in width, and 3.5mm in height. At the far end of this base, add a cylindrical pillar with a diameter of 5mm and a height of 5mm. Extend a second r...
difference() { union() { cube([98-5,10,3.5]); translate([98-5,5,0]) cylinder(3.5,5,5, $fn=50); translate([88,0,0]) cube([10,75.25-5,3.5]); translate([98-5,75.25-5,0]) cylinder(3.5,5,5, $fn=50); translate([20,0,0]) cube([5,10,15]); translate([20+8.5+5,0,0]) cube([5,10,15]); } translate([5,5...
glb/cad_621e84703246.glb
Create a Plug Follower tool consisting of a main cylindrical body and a stabilizing base. The main body is a cylinder with a diameter of 14mm and a total height of 75mm, rendered with 40 facets. At the top of this cylinder, carve out a centered rectangular notch that is 3mm wide and 15mm deep, extending vertically down...
plug_follower_height = 75; plug_follower_diameter = 14; generate_base = 1; base_height = 2; plug_follower_type = 1; notch_width = 3; notch_depth = 15; module plug_notch(){ translate([0,0,plug_follower_height+1-notch_depth+(notch_depth/2)]) cube([plug_follower_diameter+2,notch_width,notch_depth+1],center=true...
glb/cad_6608edba0faa.glb
Create a Lorentz force FBI tool consisting of a flat base and a cylindrical sleeve. Start with a flat base plate 1mm thick, defined by a polygon with vertices at [0, 5.46], [0, 21.85], [4.66, 26.51], [9.33, 21.85], [9.33, 9.33], [21.85, 9.33], [26.51, 4.66], [21.85, 0], and [5.46, 0]. On this base, add a hexagonal cyli...
union() { difference() { union() { linear_extrude(height=1,convexity=4) polygon(points=[[0,5.46],[0,21.85],[4.66,26.51],[9.33,21.85],[9.33,9.33],[21.85,9.33],[26.51,4.66],[21.85,0],[5.46,0]]); translate([5.46,5.46,0]) cylinder(r=5.46,h=10,$fn=30); } tr...
glb/cad_f2df9dd2ed92.glb
Create a housing for a Raspberry Pi weather station consisting of a base and a separate lid. Construct the base as a rectangular box with outer dimensions of 88mm by 70mm and a height of 24mm. The walls should be 1.5mm thick. The floor of the base is 1.4mm thick and is solid. Inside the base, create a recessed area f...
use <pibase.scad> use <Font/font_DesignerBlock_lo.scad> withMountingTabs = 0; withClosedBack = 1; small = 0.1; board_x = 85.0; board_y = 56.0; clearance = 1.0; wall_thickness = 1.5; lid_thickness = 2.0; floor_thickness = 1.4; base_x = board_x + wall_thickness*2 + clearance*2; base_y = 70.0; base_z = 24.0; board_dx...
glb/cad_b2e768de999e.glb
Create a PanoRAYma phone tripod mount consisting of an inner sliding holder, an outer frame, and a locking knob. First, construct the inner holder as a rectangular sleeve with a total width of 76mm (70mm phone width + 6mm for walls), a thickness of 20mm (9mm phone thickness + 11mm for walls), and a height of 145mm (13...
show_assembled = 0; with_base = 0; with_knob = 1; phone_width = 70; phone_height = 138; phone_thickness = 9; lens_height = 119; lens_offset = 18; tripod_offset = 2; lens_calc_offset = lens_offset - tripod_offset; back_wall_height =20; lip_width = 3; floor_thickness=5; wall_thickness = 3; bottom_gap = 5; inner...
glb/cad_e85a5ef9025a.glb
Create a minimalistic spool mount consisting of a support base and a filament guide. First, construct the support base. Create a main body by extruding a complex 2D profile to a height of 21mm. This profile includes a central rectangular section and two flanking arms. From this body, remove three hexagonal holes to a...
thickness = 6; guide_thickness = 1.5; wood_thickness = 6; rod_diameter = 6; belt_clearance = 10; module CupCakeWood() { translate([-145,-110,-355]) rotate(90,[1,0,0]) color([0,1,0,0.5]) import_stl("CupCake/makerbot_front_13.STL", convexity = 5); translate([-145,115,-263]) rotate(90,[1,0,0]) color([1,0,0,0.75]) i...
glb/cad_74f1042c24df.glb
Create a Ludomatic replacement part by constructing a hollow vertical cylinder. The outer wall should have a radius of 5.9mm and a total height of 22.7mm. To create the hollow center, remove a smaller concentric cylinder from the interior with a radius of 4.4mm and a height of 21.2mm, leaving a solid base at the bottom...
rotate(180, [0, 1, 0]) { difference() { union() { cylinder(r = 5.9, h = 22.7, center = false); } cylinder(r = 4.4, h = 21.2, center = false); } }
glb/cad_a84912d256f9.glb
Create a 3D typography model of the word "TYPO" using the Orbitron font. The letters should be arranged in a circular pattern, with each of the four characters rotated 90 degrees around the center to form a ring. The primary text shapes should have a thickness of 0.535mm. Incorporate a gutter effect by removing a thi...
use <write/Write.scad>; text = "TYPO"; base = 2; gutter = 1; font = "Orbitron.dxf"; scale(10) rotate([90, 0, 0]) union() { difference() { for (i = [0 : len(text)]) { rotate([0, i * (360 / len(text)), 0], "center") translate([.115, 0, len(text) / 2 - len(text) / 8 - .5]) ...
glb/cad_165a5b13cf53.glb
Create two identical NeoPixel Goggles lenses. Each lens starts as a solid cylinder with a diameter of 50.66mm and a height of 4.82mm. From the center of the cylinder, remove a smaller concentric cylinder with a diameter of 46.42mm and a height that extends through the top of the lens by 1.48mm. Additionally, carve ou...
fn = 32; sp = 0.25; nc = 0.0001; neopixelOD = 44.26; neopixelOR = neopixelOD/2; neopixelID = 31.47; neopixelIR = neopixelID/2; neopixelW = neopixelOR-neopixelIR; gogglesID = 46.42; gogglesIR = gogglesID/2; gogglesH = 1.48; lensD = 50.66; lensR = lensD/2; lensH = 4.82; lensTh = 0.5; lensDesignT...
glb/cad_c40cea3745af.glb
Create a boomblock by starting with a rounded rectangular block that is 22mm wide, 8mm thick, and 14mm high, with corner radii of 1mm. Center this block on the origin. Remove a central cylindrical tunnel with a diameter of 12mm that passes through the 8mm thickness along the Y-axis. Within this tunnel, remove two circu...
module roundedcube(xdim=10, ydim=10, zdim=10, rdim=1, center=false){ dx = center ? -xdim/2 : 0; dy = center ? -ydim/2 : 0; dz = center ? -zdim/2 : 0; translate([dx,dy,dz]) hull(){ for(xx=[rdim,xdim-rdim]) for(yy=[rdim,ydim-rdim]) translate([xx,yy,0]) cylinder(h=zdim,r=rdim,$fn=(xdim+ydim)); } } module xq...
glb/cad_55f2c3bd9048.glb
Create a Dremel bracket by starting with a central rectangular block measuring 80mm wide, 30mm deep, and 58mm high, centered on the origin. Remove a large central cylinder with a radius of 24mm and a height of 31mm, oriented along the Y-axis, to create a semi-circular cradle. To further refine the shape, remove a small...
include <Libs.scad> upperBracketPart1(); module gleitlagerBlock() { difference() { translate([0,-2,0]) cube([35,20,15], center=true); union() { cylinder(h=22, r=8.25, center=true); translate([0,5,0]) cube([16.5,9,20], center=true); } } } module lowerBracket() { union() { difference() { translat...
glb/cad_2d41f7d4c769.glb
Create a pencil name tag by starting with a tapered cylinder that is 25mm tall, with a bottom radius of 6mm and a top radius of 7mm. Remove a hexagonal hole from the center of this cylinder that runs the full 50mm height, where the hexagon is defined by a 6-sided prism. On the exterior surface of the tapered cylinder, ...
use <write/Write.scad> text_on_pencil_identifier="cool story bro"; letter_height=5; angle=10; difference(){ translate([0,0,0]) cylinder(r1=6,r2=7,h=25,center=true, $fn=128); cylinder(r1=3.5,r2=4,h=50,center=true,$fn=6); } color([1,0,1]) writecylinder(text_on_pencil_identifier,[0,0,0],h=letter_height,6.5,25,space=1...
glb/cad_381206d44b4e.glb
Create a servo swing arm with a total thickness of 4.8mm. Start with a central circular base with a radius of 4.85mm (7.1mm diameter plus a 1.3mm extension). Attach a rectangular arm extending from this base, measuring 30mm in length and 9.7mm in width (twice the base radius plus extension). At the end of the arm, cr...
insert_dia1 = 7.1; insert_rad1 = insert_dia1/2; insert_dia2 = 4.3; insert_rad2 = insert_dia2/2; insert_round_dist = 14.5; insert_plate_thickness = 3; arm_length = 30; screw_dist = 10; screw_size = 2.5+0.3; screw_rad = screw_size/2; outer_ext_arm = 1.3; outer_ext_screw = 2.5; wire_hole_dia = 2; wire_hole_rad = wire...
glb/cad_748c5eeea50a.glb
Create a testbox consisting of a square base with a raised perimeter wall. Start by creating a solid square base measuring 44mm by 44mm with a thickness of 0.4mm. Centered on top of this base, add a square frame that is also 44mm by 44mm and has a total height of 2.8mm. This frame should have a square hole cut through ...
image_file = "image-surface.dat"; layer_height = 0.2; number_of_layers = 12; length = 40; width = 40; min_layer_height = layer_height*2; hole_radius = hole_diameter/2; height = layer_height*number_of_layers; union() { difference() { translate([0, 0, min_layer_height]) scale([1,1,height]) surface(file=image_...
glb/cad_355df7b31f61.glb
Create a fraction learning kit piece consisting of a wedge-shaped sector of a disk. The overall disk has a diameter of 60mm and a thickness of 10mm. The sector is defined by an angle of 60 degrees, as it represents 1/3 of the full circle. The sector's geometry is stackable, featuring a stepped profile. The main body ...
use <write/Write.scad> part = "fraction"; diameter = 60; thickness = 10; tol=1; parts=3; fine = 50; print_part(); module print_part() { if (part == "fraction") { sectorWithFraction(); } else if (part == "plate") { plateWithFraction(); } else { echo ("ERROR: part not found"); } } module sector(d,t,tol...
glb/cad_19163e1aa51d.glb
Create a parametric adjustable suction cup mount ball holder. Start by constructing the main body as a hull of three cylinders, each with a height of 2mm. Position the first cylinder at [0, 0, 13.33], the second at [0, 10, 1], and the third at [0, 25, 1], with radii of 20mm, 21mm, and 15mm respectively. From this bod...
include <config.scad> ballHolder(ballSize,BHThickness, holderGap, screwDiameter,calibDiff); module ballHolder( ballSize, thickness,gapSize, screwDiameter,calibDiff) { $fs=0.5; $fn=50; doSupport = true; difference () { hull(){ translate([0,0,ballSize-(ballSize/3)] ) cylinder(r=ballSize, h=thickness); ...
glb/cad_5510fc595da0.glb
Create a cube with dimensions 8mm x 8mm x 8mm, centered on the X and Y axes. From the center of the top face, remove a flat-head screw shape to create a recessed hole. This cutout begins with a cylindrical head section 6mm in diameter and 2mm deep. Transitioning from the bottom of this head section, create a conical ta...
module m3FHS() { flatHeadScrew(6,3.2,1.75,10,true); } rotate([0,180,0]) difference() { translate([0,0,3]) cube([8,8,8], center=true); flatHeadScrew(6, 3.2, 1.75, 10,true); } module flatHeadScrew( headDiameter, shaftDiameter, headLength, totalLength, extraHeadCutout = true) { color( [0,0,0.75]) { if...
glb/cad_fa8c2988012c.glb
Create a rectangular holder for a mobile device. Start by forming a solid block with an outer width of 136.5mm, a depth of 16.5mm, and a height of 58.5mm. The vertical corners of this block should be rounded with a radius of 1.75mm. Hollow out the center of this block to create a rectangular slot that is 133mm wide, 1...
include <config.scad> use <flat_head_screw.scad> rectangular_holder(133,13,55,1.75,false,true,true,115,50); module rectangular_holder (phoneWidth, phoneDepth, holeHeight, wallSize,testFit=false, roundHolder=true, frontCutout=false, frontCutoutWidth=0, frontCutoutDepth = 0) { phonePlusD = phoneDepth+wallSize; ph...
glb/cad_35a9dd1bfd2c.glb
Create a Parametric Adjustable Suction Cup Mount consisting of a base plate and supporting structures. Start with a base plate of 5mm thickness. At the coordinates (0,0), (20,20), and (-20,20), create three vertical cylindrical holes with a radius of 3.25mm and a depth of 10mm to accommodate suction cups. Connect thes...
include <config.scad> scMount(SCSize, SCMountHole, SCThickness, holderGap, SCMountDepth,ballSize); module scMount(SCSize, SCMountHole, thickness, mountThickness, SCMountDepth,ballSize) { $fs=0.5; $fa=1; mountHeight = ballSize*1.25; mountOffset = SCSize *0.75; difference() { union() { hull() { ...
glb/cad_9d969f1341e6.glb
Create a Parametric Adjustable Suction Cup Mount. Start by constructing a base plate using a hull operation that connects three cylinders of radius 4.875mm and height 2mm, positioned at [0, 0, 0], [20, 20, 0], and [-20, 20, 0]. Add a central rectangular block of dimensions 2mm by 15mm by 2mm, centered at [0, 25, 1], to...
include <config.scad> rotate([270,0,0]) scMount(SCSize, SCMountHole, SCThickness, holderGap, SCMountDepth,ballSize); module scMount(SCSize, SCMountHole, thickness, mountThickness, SCMountDepth,ballSize) { $fs=0.5; $fa=1; mountHeight = ballSize*1.25; mountOffset = SCSize + SCMountHole*1.5- (ballSize-5); d...
glb/cad_daee3ccdc52c.glb
Create a replacement hull for a TI-30X solar calculator. The main body is a rounded rectangular shell with an outer width of 77mm and a maximum height of 146.6mm. The walls have a thickness of 2mm. The interior is a hollow cutout with a corner radius of 2mm. On the sides, create two guiding slots for the internal comp...
dslot = 1.6; wslot0 = 3.0; wslotfin = 1.0; slottofront = 3.5; tkeys = 1.5; slottokeytops = slottofront + tkeys; space = 2; r = space + tkeys; slottoopening = slottokeytops + space; backspace = space-3; tTI30 = 13.0; topening = backspace + tTI30 + tkeys + space; slotl = 121; knobstart = 101; knoblength = 5; wh...
glb/cad_5e991340e153.glb
Create a button cap for a power supply module. Start by constructing a hollow rectangular block with an outer width and depth of 9.8mm and a total height of 12.7mm. The walls and the bottom floor of the cap should have a thickness of 1.2mm. Round the four vertical exterior corners with a radius of 1.2mm. The interior c...
luft=0.5; epsilon=0.1; base_w = 8.2; base_h = 8; button_up_h = 5.05; button_down_h = 3.5; button_toppled_h = 2.5; button_top_h = 2.5; button_w = 3.8; side_gap = 1.6; top_thickness = 1.2; top_r = 1.2; thing_height = base_h+button_toppled_h+top_thickness; difference() { translate([0,0,(thing_height+top_thicknes...
glb/cad_36da16a46a5e.glb
Create a window slider support by starting with a solid rectangular base measuring 13.99mm in length, 6.99mm in width, and 4.99mm in height, centered on the origin. Carve out three rectangular voids from this base to create the final geometry. First, remove a central slot measuring 16mm by 3mm by 1mm, positioned 1mm ab...
module WindowSlider() { difference() { cube([13.99,6.99,4.99], center = true); translate([0,1,1.5]) cube ([16,3,1], center = true); translate([0,-4,1.5]) cube ([16,4,1], center = true); translate([0,3,3]) cube ([16,4,4], center = true); } } WindowSlider();
glb/cad_d5e202df03e9.glb
Create a pool table model. The main playing surface is a rectangular slab 500mm wide by 1000mm long with a depth of 30mm. Surround the playing area with a raised edge 20mm deep. At each of the four corners of the playing surface, create a pocket. Each pocket is a cylindrical drop-off with a radius of 30mm that extend...
br = 20; pw = 500; pl = 1000; pd = 1.5*br; ed = 20; bd = 3*ed; h = 200; pr = br; inf = 3*pl; module _top_cut_profile(w,l) { minkowski() { difference() { polygon([[-w/2,0],[w/2,0], [w/2-ed,pd],[-ed+w/2,pl], [ed-w/2,pl],[ed-w/2,pd]]); translate([-w/2+ed,pd+br]) c...
glb/cad_255533d66a92.glb
Create an adapter to mount a lamp arm to a monitor stand. Start by creating a base cylinder with a diameter of 43.5mm and a height of 25mm. On top of this base, add a second cylinder with a larger diameter of 48mm and a height of 27mm. Remove a central vertical hole from the entire structure with a diameter of 13.25m...
$fn=180; lampDiameter=13.25; lampDepth=31; standInsideDiameter=43.5; standDepth=25; standOutsideDiameter=48; wireClearanceHeight=25; wireClearanceWidth=20; module cablePass() { translate([0, -standOutsideDiameter/2/2, 0]) hull () { cylinder(r=wireClearanceWidth/2, h=wireClearanceHeight+standDepth+2); ...
glb/cad_9a0e8337a868.glb
Create a Dial Indicator Mount by starting with a main vertical body composed of three joined rectangular blocks. The primary central block is 24mm wide, 19mm deep, and 76mm tall. Attach a base block measuring 24mm by 15mm by 3mm to the bottom, extending forward from the front face. At the top, add a block measuring 24m...
difference(){ { union(){ { cube(size=[24,19,76]); translate([0,-15,0]) cube(size=[24,15,3]); translate([0,19,66]) cube(size=[24,20,10]); translate([0,19,0]) cube(size=[24,20,10]); } } } translate([-1,29,66]) rotate([0,90,0]) cylinder(r=4,h=26,$fn=100); t...
glb/cad_15250082c8bd.glb
Create a Line Block for masonry work by starting with a rectangular block measuring 30mm wide, 90mm long, and 30mm high. Carve a cylindrical hole with a diameter of 15mm through the center of the block along its width, positioned 36mm from the bottom and 10mm from the back face. Remove a rectangular section from the to...
$fa=1; $fs=1; module LineStretcher(size){ difference(){ cube([size/3,size,size/3]); translate([-1,.4*size,size/6])rotate([0,90,0])cylinder(h=(size/3)+2,d=size/6); translate([-1,.4*size,size/6]) cube([size/3+2,.6*size+1,size/6+1]); translate([size/6-size/60,-1,size/6-size/60]) cube([size/...
glb/cad_07a8b7fe67e9.glb
Create a set of Imperial Assault Token Holders consisting of three separate base trays. The first tray has a rectangular base 110mm wide, 10mm deep, and 2mm thick. On this base, create five vertical slots: two "Health 5" slots (cylindrical outer walls 23.5mm diameter, 50mm high, with a hollowed-out interior matching ...
p=1.5; t=3; base_thick=2; $fn=256; showTokens=false; tokenHolder1(); translate([0,40,0])tokenHolder2(); translate([0,80,0])tokenHolder3(); module tokenHolder1() { base_width=110; base_depth=10; sp=2; color("green")translate([0,-base_depth/2,0])cube([base_width,base_depth,base_thick]); tokenHolde...
glb/cad_2e9f96862327.glb
Create a 3D model of a Potassium Sulfate crystal by starting with a sphere of radius 100mm and carving away material using a series of intersecting planes to create a faceted orthorhombic polyhedron. The primary faces are defined by the axis ratios a:b:c = 0.5727 : 1 : 0.7418. Create the main body by applying pairs o...
K2SO4(); module K2SO4() { l100 = 50; l010 = 13; l001 = 40; l110 = 23; l130 = 31.8; l011 = 29.5; l021 = 17; l031 = 11.2; l111 = 26.3; l112 = 39.6; l332 = 18.4; difference() { sphere (r=100, center = true); union() { mkplane(.5727,0,0,200,200,l100); mkplane( -.5727,0,0,200,200,l100); ...
glb/cad_f0b4fb12e3ca.glb
Create a 3D model of a Potassium Sulfate crystal by starting with a sphere of radius 100mm and iteratively trimming it with a series of planar cuts to form an orthorhombic polyhedral shape. The final geometry is defined by the intersection of the sphere and several sets of parallel planes. First, create the primary fa...
K2SO4(); module K2SO4() { l100 = 47; l010 = 20; l001 = 40; l110 = 21; l130 = 35; l011 = 28; l021 = 18; l031 = 12.9; l111 = 19; l112 = 31; l332 = 14.1; difference() { sphere (r=100, center = true); union() { mkplane(.5727,0,0,200,200,l100); mkplane( -.5727,0,0,200,200,l100); mkplane...
glb/cad_83845f025e2d.glb
Create a 3D model of a Potassium Sulfate crystal by starting with a sphere of radius 100mm and carving it into a polyhedron using a series of intersecting planes. The final shape is an orthorhombic crystal defined by the axis ratio a:b:c = 0.5727 : 1 : 0.7418. Carve the sphere using the following sets of parallel plan...
K2SO4(); module K2SO4() { l100 = 47; l010 = 17.5; l001 = 40; l110 = 21; l130 = 35; l011 = 27; l021 = 14.6; l031 = 9.; l111 = 26.3; l112 = 39.6; l332 = 14.1; difference() { sphere (r=100, center = true); union() { mkplane(.5727,0,0,200,200,l100); mkplane( -.5727,0,0,200,200,l100); m...
glb/cad_13516586188d.glb
Create a truck toolbox mount by constructing a solid block and removing a cylindrical hole. Start with a base rectangular volume 30mm wide, 30mm deep, and 10mm high. Attach a second rectangular block to the side, measuring 30mm wide, 15mm deep, and 40mm high, so that the total combined width is 30mm and the total heigh...
rotate([90,90,0]) difference() { union() { translate([0,-5,0]) cube([30,15,40]); cube([30,30,10]); translate([0,21,10]) cube([30,9,1]); translate([0,22,11]) cube([30,8,1]); translate([0,23,12]) cube([30,7,1]); translate([0,24,13]) cube([30,6,1]); } translate([15,2.5,0]) cylinder(d=7,h=50); }
glb/cad_3dd0f0a6fa1c.glb
Create a geodesic dome bracket for a 1V dome. Start by creating a central sphere with a radius of 3.38mm, positioned so its center is 4mm above the origin on the Z-axis. Add five cylindrical arms radiating from the center. Each arm should have an outer radius of 1.85mm and a length of 5.5mm. Position these arms such ...
$fn=64; dome_mode = "1V"; rendering = "pentagon"; strut_in_r = 2.00; strut_out_r = strut_in_r+0.85*2; bracketradius = 13.0; bracketheight = 5.0; hole_center_offset = 0; if (dome_mode=="1V"){ angleoff_A = 31.72; buckyBracket_pen(angleoff_A,1.05); } else if (dome_mode=="2V"){ angleoff_A = 15.86; angleoff_B ...
glb/cad_91394ada959c.glb
Create a parameterized movement tray for figure games. Start by creating a solid rectangular base with a length of 164mm, a width of 44mm, and a height of 2mm. Apply a 2mm fillet radius to all four vertical corners of this base. Hollow out the center of the base to create a tray, leaving a bottom wall thickness of 0....
length = 160; width = 40; height = 2; bottom_thickness = 0.5; border = 2; cut_front = true; pad = 0.1; round_r = 2; smooth = 45; difference() { rounded_box(length + border*2, width + border*2, height, pad); translate([0, 0, bottom_thickness]) { cube([length, width, height], center = true); }...
glb/cad_ce7726bb66e9.glb
Create three distinct optical switch flags. The X flag is a composite shape starting with a base block 8mm wide, 4mm deep, and 20mm high, with a 4.4mm diameter hole drilled through the center of the 4mm face, extending 6mm deep. Attached to this base are three rectangular tabs: one 8.75mm by 2mm by 9mm at the side, one...
translate([-18,26,0]) rotate([0,0,90]) union(){ rotate([0,0,0]) union(){ difference(){ cube([8,4,20]); rotate([-90,0,0]) translate([4,-15,-1]) cylinder(r=2.2, h=6, $fn=30); } translate([8,0,0]) cube([8.75,2,9]); translate([14.75,0,0]) cube([2,10.61,9]); translate([16.75,8.61,0]) cube([22,2,9]); } } tran...
glb/cad_d20a48162fdf.glb
Create a Peace Earring by combining a peace sign base with a circular ring element. Construct a ring with an outer diameter of 5mm and a height of 5mm. This ring should be a low-resolution prism with 5 facets. Create a central hole through the ring using a cylinder with a diameter of 10mm and a height of 2.5mm, centere...
union() { translate([0, 38.73/2+2.5, 0]) { difference() { cylinder(2.5, 5, 5); cylinder(10, 2.5, 2.5, center=true); } } import_stl("peace_sign.stl"); }
glb/cad_8ac4e7c47ca1.glb
Create a lightweight dodecahedron truss structure. The overall form is based on a dodecahedron where each edge is replaced by a triangular truss. Construct the primary frame using a series of 3-sided prisms (triangular cylinders) with a height of 12mm and an outer radius of 9mm. Arrange these prisms to form the edges...
outer_r=9; inner_r=6.4; render() { translate([0,0,5]) rotate(0,[1,0,0]) difference() { union() { translate([0,0,-5]) cylinder(h=4.5,r1=24,r2=34,$fn=3); translate([0,0,-4]) cylinder(h=13,r1=8,r2=3,$fn=50); rotate(0,[0,0,1]) translate([-4,0,0]) rotate(-72,[0,1,0]) cylinder(h=12,r=outer_r,$fn=3); rotat...
glb/cad_130fc2fffbba.glb
Create a triangular truss beam with a total length of 50mm. Start by constructing a solid equilateral triangular prism with a radius of 6mm and a length of 50mm. Hollow out the center of this prism by removing a smaller equilateral triangular prism with a radius of 4mm and the same 50mm length. To create the internal t...
length=50; render() { translate([length/2,0,3]) rotate(-90,[0,1,0]) union() { cylinder(h=1,r=6,$fn=3); translate([0,0,length-1]) cylinder(h=1,r=6,$fn=3); difference() { cylinder(h=length,r=6,$fn=3); union() { cylinder(h=length,r=4,$fn=3); rotate(90,[1,0,0]) { for (i=[0:1:length/5]) a...
glb/cad_0f9ee02b8f4d.glb
Create a 3D model of an Anatase crystal. Start with a sphere of radius 110mm centered at the origin. From this sphere, remove material using a series of planar cuts to create a faceted polyhedron. First, create two parallel horizontal cuts to form the top and bottom faces, positioned 12mm from the center. Next, create...
a = 1; b = 1; c = 2.514; x_001 = 12; x_101 = 15; x_102 = 24; x_103 = 29; scale(0.8) Anatase_fig36(); module Anatase_fig36() { difference() { sphere (r=110, center = true); union() { face_001(); face_101(); face_102(); face_103(); } } } module mkpl...
glb/cad_955967bf8678.glb
Create a 3D model of an Anatase crystal. Start with a sphere of radius 110mm centered at the origin. To form the crystal's faceted habit, carve away material from the sphere using a series of intersecting planes. Position two planes at a distance of 42mm from the origin along the X-axis and two planes at 42mm along t...
a = 1; b = 1; c = 1.7771; x_100 = 42; x_010 = 42; x_110 = 27.; x_101 = 21.5; x_111 = 13.8; x_113 =32; x_221 = 29.5; x_335 = 180; scale(.8) rotate([0,90,0]) Anatase(); module Anatase() { difference() { sphere (r=110, center = true); union() { face_100(); face_010(); ...
glb/cad_65e96759fb39.glb
Create a Baby Jogger City Series Extra Bag clip, designed as a U-shaped bracket with a total width of 40mm and a depth of 42mm. The clip consists of two parallel vertical walls, each 4mm thick, connected by a top horizontal bridge that is also 4mm thick. The distance between the inner faces of the vertical walls is 30m...
$fn=45; ClipThickness = 4; HoleCenterDist = 16; HoleCtrDistFromTop = 16; HoleRadius = 6.8; HoleDepth = 6; ClipWidth = 40; ClipOutsideDepth = 25; ClipDepth = 42; InsideClip = 30; SlotWidth = 20; SlotHeight = 6; rotate([90,0,0]) difference() { union() { translate([InsideClip,-(ClipWidth/2),-(ClipOutsideDepth-Hole...
glb/cad_7ce76039726d.glb
Create a customisable extruder temperature test object consisting of six stacked rectangular labels. Each label is a rounded rectangle measuring 60mm in length, 15mm in width, and 1.5mm in height, with a corner radius of 3mm. Stack these six labels vertically with a 15mm center-to-center spacing. On each label, carve...
use <write/Write.scad> lbl_wd=1.5; lbl_ht=15; Start_temp=245; dec_temp=5; iterations=6; txt_ht=lbl_ht*.7; lbl_length=lbl_ht*4; mfont="stencil_fix.dxf"; $fn=50; width=lbl_ht; size=[lbl_length,width,lbl_wd]; circle1=txt_ht*.25; circle2=txt_ht*.15; circle3=txt_ht*.07; for (i=[0:iterations-1]) { translate([0,0,i*w...
glb/cad_3de414be0398.glb
Create a Cherry Pi III USB and Ethernet box consisting of a main rectangular enclosure and a matching lid. The main box is a hollow cube with an outer dimension of 60mm x 60mm x 40mm and a wall thickness of 5mm. Construct a lid with a thickness of 5mm, a width of 50mm, and a length of 50mm. In the lid, place four scre...
include <connections_box_variables.scad> lid_length = case_length - case_size_increment*2 - 0.2; lid_height = case_height - case_size_increment*2 - 0.2; csi = case_size_increment; screw_hole_radius = lid_screw_radius + 0.1; $fn = 100; difference() { cube([lid_height, lid_length, lid_thickness]); translate([...
glb/cad_e0fa5c2ed2f0.glb
Create a Gray Code Encoder consisting of a disk, a hub, a mount, and a retainer. First, create the encoder disk as a thin cylinder with a radius of 31.5mm and a thickness of 2mm. Remove a central hole with a radius of 6.6mm. Cut a series of radial slots into the disk based on a 6-bit Gray code pattern, where each slo...
kBits=6; rIDInc=0.25; hDisk=2; rBolt=1.4; rBoltClear=1.8; rSetScrew=2.75; rBearing=14.3; hBearing=8.5; rAxile=6.35+rIDInc; hHub=12.7; rHubZone=rBearing+4; rLightHole=0.5; Pi=3.14159; lWeb=0; wTrack=3; rLED=1.6; aD6=0; aD5=-15; aD4=0; aD3=15; aD2=-10; aD1=0; aD0=10; $fn=36; translate([(kBits*2+3)*wTrack+rHubZone+10...
glb/cad_b36e3f7fb7eb.glb
Create a thermometer holder consisting of a rectangular sleeve and an attached mounting clamp. First, construct the main sleeve as a hollow rectangular box with outer dimensions of 54mm width, 34mm height, and 15mm depth. The interior cutout should be 46mm wide and 26mm high. On the left and right outer walls, create...
inner_width = 46; inner_height = 26; depth = 15; wall_thickness = 4; clip_width = 6; clip_space = 1.5; clip_depth = 3; rod_dia = 8.5; bolt_dia = 5; holder_spacing = 3; difference(){ cube([inner_width+wall_thickness*2,inner_height+wall_thickness*2,depth],center=true); cube([inner_width,inner_height,depth+wall_thick...
glb/cad_e80e3a27b5d6.glb
Create a set of tank wheels and rollers consisting of the following components: First, create a drive sprocket. This is a cylindrical wheel with a radius of 32mm. It features a central bore and a series of 11 teeth distributed evenly around its perimeter. Each tooth is formed by the hull of two cylinders: one with a r...
include <CommonStuff.scad> $fn=50; aOffset=180; lHubCap=rPin*0.5; rHubLock=12.5; lHubLock=14; rTRSupportWheel=35; rTRDriveWheel=32; SupportWheelAssm(); module DriveTooth(a1=0){ rotate(a=[a1,0,0]) hull() { translate([0,0,rDriveWheel+rPin*2]) rotate(a=[0,90,0]) cylinder(r=rPin, h=rPin); translate([0,0,rDriveW...
glb/cad_6f39910ccf9a.glb
Create a Tank Body tensioning plate. Start with a central rectangular block measuring 85mm in length, 58mm in width, and 4mm in height, centered on the origin. On top of this block, add a smaller rectangular protrusion measuring 16mm by 20mm by 12mm, centered horizontally and aligned with the bottom of the base block. ...
include <CommonStuff.scad> use <Suspension.scad> $fn=36; lShaftCenter=68; rSmallPulley=13; rLargePulley=38.5; lBolt1Inset=12; lBolt2Inset=44; lBoltToEdge=4; hShell=2; hOffTruss=20; lTrussHole=15; TrkTensionerSTL(); module ShaftSpacer(){ difference(){ cylinder(r=rAxile+1.8,h=8.5); translate([0,0,-0.05]) cylin...
glb/cad_6a581ee1d58d.glb
Create a bike mount by starting with a solid cylinder 35mm tall with a radius of 21.2mm. Remove a smaller concentric cylinder from the top, 25mm deep with a radius of 20.2mm, to create a hollow cup. Add a second solid cylinder to the center with a radius of 19mm and a height of 35mm. Finally, remove a 10mm cube centere...
$fn = 60; module bikeMount(oh, ih, er, or, ir, pw, pd) { difference() { union() { difference() { cylinder(h=oh, r= or + er); translate([0,0,oh-ih]) cylinder(h=ih, r = or); } cylinder(h = oh, r = ir); } translate([pw * -0.5, pw * -0.5, 0]) cube([pw,pw,pd]); } } bikeMount(35, 25, 1.2, 20....
glb/cad_8202e09f2cb9.glb
Create a double sphere tower by first constructing a large hollow sphere with an outer radius of 30mm and an inner radius of 28mm. From this hollow shell, remove three spherical sections by centering spheres with a radius of 20mm at the following coordinates: [25, 25, 25], [25, -25, 25], and [-25, -25, -25]. Next, ad...
$fn = 50; Pos = [[25, 25, 25], [25, -25, 25], [-25, -25, -25]]; module big_shere() { difference() { sphere(r=30, center=true); sphere(r=28, center=true); for (p = Pos) { translate(p) sphere(r=20, center=true); } } } union() { big_shere(); trans...
glb/cad_ca4548360dcd.glb
Create a Maze Puzzle Box container by starting with a solid rectangular block measuring 90mm wide, 135mm long, and 30mm high. Hollow out the center of this block by removing a rectangular section that is 80mm wide and 125mm long, starting from a position 5mm from the front and side edges and 5mm from the bottom base. T...
numerical_slider = 20; height=numerical_slider; module puzzle_container() { difference() { difference() { cube([90,135,height+10]); translate([5, 5, 5]) cube([80,125,height+6]); } translate([5, 5, height+5]) cube([80,135,6]); } } puzzle_container();
glb/cad_2ca547b3de41.glb
Create a PRINTinZ heatbed clip by starting with a solid rectangular block that is 30mm long, 26.16mm wide, and 5mm thick. From this main body, remove a central rectangular section to create a U-shaped channel. This cutout should be 20mm long and 16.16mm wide, positioned 5mm from the front edge and centered along the wi...
jaw_depth = 20; jaw_thickness = 5; jaw_spacing = 16.16; tooth_height = .75; module jeffs_spc() { body_length = jaw_depth + (jaw_thickness * 2); body_width = jaw_spacing + (jaw_thickness * 2); mouth_width = jaw_spacing - (tooth_height * 2); mouth_x_pos = jaw_depth + jaw_thickness; mouth_y_pos = jaw_...
glb/cad_b3e4e5183db2.glb
Create a mirror clip by starting with a rounded rectangular block that is 21mm long, 14mm wide, and 10mm thick. The block should have a corner radius of 4mm. Remove a cylindrical hole through the center of the block with a diameter of 5mm. To create a countersink for a screw, remove a conical section from the bottom ...
MirrorThickness = 5; Overhang = 6; countersink = "yes"; use <MCAD/boxes.scad>; ScrewDiameter = 5; ScrewBlock = 15; ClipThickness = 5; BoxLength= ScrewBlock + Overhang; CenterPos = BoxLength/2; Shift = CenterPos - ScrewBlock; countersinkheight = (ClipThickness + MirrorThickness)/2 ; include <mcad/boxes.scad>; m...
glb/cad_2cf34cb92fa4.glb
Create a lampshade consisting of a base plate and a twisting walls section. Start by creating a thin, octagonal base plate 4mm thick with an outer radius of 49mm and an inner circular cutout with a radius of 41.5mm. Above this base, construct a hollow vertical shell with a total height of 180mm. The cross-section of th...
inner_radius_bottom = 83.0/2; outer_radius_bottom = inner_radius_bottom+8; num = 8; shade_height = 180.; translate([0,0,-4]) linear_extrude(height=4) difference(){ circle(r=outer_radius_bottom,center=true,$fn=num); circle(r=inner_radius_bottom,center=true,$fn=40);} linear_extrude(height=shade_height,twist=120,slices=...
glb/cad_948935afa023.glb
Create an Azteeg X5 under-bed mount for a Mini Kossel. The main body is a rectangular box with a length of 130mm, width of 61mm, and height of 44mm, with a wall thickness of 3mm. The box features an open top and a front face that is slightly recessed. On the bottom surface, create four stand mounting holes with a rad...
include <functions.scad>; use_fillets = 1; extra_radius = 0.0; m3_major = 2.85; m3_radius = m3_major / 2 + extra_radius; m3_wide_radius = m3_major / 2 + extra_radius + 0.2; length = 130; width = 61; height =44; thickness = 3; blength = 98.9; bwidth = 50.8; stand_blength = 88.70; stand_bwidth = 43.58; stand_height...
glb/cad_b73667e557bd.glb
Create a cylindrical rod cutting jig designed to mount on 2040 extrusions. Start with a rectangular base plate measuring 40mm by 50mm with a thickness of 2mm. Center four mounting holes with a diameter of 5.3mm, positioned 10mm from the center along the X-axis and 21mm along the Y-axis. Build a rod holder on top of th...
use <MCAD/array/along_curve.scad> use <MCAD/shapes/2Dshapes.scad> use <MCAD/shapes/polyhole.scad> use <MCAD/fasteners/nuts_and_bolts.scad> include <MCAD/units/metric.scad> include <config.scad> module mirror_if (condition, axis) { if (condition) mirror (axis) children (); else children (); } diff...
glb/cad_bc7123d02a4a.glb
Create a small hinge component by starting with a central vertical body. Form the main shape by combining a cylinder with a diameter of 8mm and a height of 16mm, centered on the origin, with a rectangular block measuring 3mm by 5mm by 16mm centered at X=-3.5, Y=3, and Z=0. Additionally, add a rectangular block measurin...
$fa=0.3;$fs=0.3; difference() { union() { hull() { cylinder(d=8,h=16,center=true); translate([1.5-5,3,0])cube([3,5,16],center=true); } translate([1.5-5,6,0])cube([3,12,16],center=true); } cylinder(d=3.5,h=18,center=true); translate([0.35-5-0.05,0,0])cube([0.7,6,18],center=true); ...
glb/cad_ab9ce3579f25.glb
Create a dishcloth hanger consisting of two identical base components and a central sliding arm. First, construct the base components. Each base is a rectangular block measuring 25mm wide, 36mm deep, and 18mm high. From this block, remove a central rectangular cavity measuring 5.4mm wide, 30.4mm deep, and 30.4mm high...
$fn=100; base(); translate([0,36,36])rotate([0,180,0])rotate([0,0,180]) base(); translate([0,0,0.5])arm(); module base(){ difference(){ union(){ difference(){ union(){ translate([0,0,0]) rotate([0,0,0]) cube([25,36,36/2]); } transla...
glb/cad_56f48e8fb785.glb
Create a spool holder adapter consisting of a wide, thin base with a raised central cylinder. Start by creating a flat circular disc with a radius of 55mm and a height of 2.5mm. Centered on this disc, add a cylinder with a radius of 25.5mm and a height of 15mm. Finally, remove a cylindrical hole with a radius of 19.3mm...
$fn=100; difference() { union() { cylinder(15, 25.5, 25.5); cylinder(2.5, 55, 55); } cylinder(15,19.3,19.3); }
glb/cad_b7037934b969.glb
Create a spool holder adapter consisting of a wide, thin base with a raised central cylinder. Start by creating a flat circular disc with a radius of 55mm and a height of 2.5mm. Centered on this disc, add a cylinder with a height of 15mm, a bottom radius of 28mm, and a top radius of 27.5mm. Finally, remove a cylindrica...
$fn=100; difference() { union() { cylinder(15, 28, 27.5); cylinder(2.5, 55, 55); } cylinder(15,19.8,19.8); }
glb/cad_b9d6d8ab287a.glb
Create a keychain based on the BEST student association logo. The model consists of a central logo element and several supporting beams, all with a uniform thickness of 1mm. Start by creating the main logo shape, scaled to 50% of its original size. Surround this central piece with a series of radiating beams: place int...
use <best.scad> extern_beams=true; intern_beams=true; base_circle=false; base_logo=false; lateral_keyring=false; difference(){ union(){ scale([0.5,0.5,1]) best_logo(2.5); if(intern_beams==true){ for(i=[180:360/3:540]){ rotate([0,0,i]) translate([-1,0,0]) cube([2,5,1]); } } if(extern_beams==true){ for(i=[0:120:3...
glb/cad_597ea2f50d21.glb
Create a 1/10 scale model of an Expedit shelving unit. The main frame is a grid of 4 columns and 4 rows. The outer boundary boards are 5mm thick, while the internal dividers are 1.6mm thick. Each internal cubic compartment has a clear opening of 33.5mm by 33.5mm. The total depth of the unit is 38.5mm. Within this grid...
type = "Expedit"; scale = 0.1; color = "White"; cols = 4; rows = 4; build = "Display"; doors = "Yes"; drawers = "Yes"; boxes = "Yes"; yes = true; no = false; right = 1; left = 2; white = [1.00, 1.00, 1.00]; birch = [0.82, 0.75, 0.60]; green = [0.75, 0.85, 0.70]; pink = [0.80, 0.71, 0.74]; red = [1.00, 0....
glb/cad_19b710740cea.glb
Create a drain trap consisting of a circular base, a grid, and a central handle. Start with a main cylindrical disk with a diameter of 84mm and a total height of 9mm. This base is composed of two layers: a bottom rim that is 5mm high with a wall thickness of 5mm, and a mesh layer on top of that rim that is 4mm high. ...
1_drain_diameter = 84; 2_rim_height = 5; 3_rim_width = 5; 4_mesh_height = 4; 5_mesh_thickness = 2; 6_mesh_hole_width = 8; 7_handle_height = 20; 8_handle_diameter = 16; function polar_dist(x, y) = sqrt(pow(x, 2) + pow(y, 2)); mesh_spacing = 6_mesh_hole_width + 5_mesh_thickness; num_holes = floor((1_drain_diamet...
glb/cad_a34b2e5c4cef.glb
Create a 3D model of a Garnet crystal. Start with a sphere with a radius of 110mm. To form the crystal's faceted habit, carve away material from the sphere using a series of intersecting planes. First, create a set of 12 rhombic faces corresponding to a rhombic dodecahedron by positioning planes at the {110} family o...
a = 1; b = 1; c = 1; x_110 = 4.6; x_011 = 4.6; x_101 =4.6; x_112=5; x_211=5; x_121=5; rotate([0,90,0]) rotate([0,0,45]) Garnet(); module Garnet() { difference() { sphere (r=110, center = true); union() { face_110(); face_011(); face_101(); face_112(); face_211...
glb/cad_4a10feaecd73.glb
Create a 3D model of a Cobaltite crystal. Start with a base sphere with a radius of 110mm. To create the faceted crystal habit, remove material from the sphere using a series of intersecting planar cuts. First, create six primary square faces by cutting the sphere with planes at a distance of 6mm from the center alon...
a = 1; b = 1; c = 1; x_100 = 6; x_010 = 6; x_001 = 6; x_111 = 3.15; x_210=5; x_102=5; x_021=5; scale(4) Cobaltite(); module Cobaltite() { difference() { sphere (r=110, center = true); union() { face_100(); face_010(); face_001(); face_111(); face_210(); fac...
glb/cad_c09344d66275.glb
Create a Ball Joint Bracket consisting of three separate components: a ball, a socket, and a clamp. All parts share a common central vertical axis for a 2.8mm diameter hole to accommodate an M3 bolt. First, create the ball component. Start with a sphere of 11mm radius. Hollow out the center with a concentric sphere of...
module plate(diameter, screwDiameter, thickness) { $fn=100; t=thickness; tt=thickness*2; radius=diameter/2; centerCylinder=radius*0.8; union() { difference() { hull() { cylinder(h=t, r=centerCylinder); translate([radius, radius, 0]) ...
glb/cad_75c95f5b92e1.glb
Create a filament guide clip designed to fit an 18.3mm thick table. Start by creating a base rectangular block with rounded corners of 3mm, measuring 36mm in length, 22.3mm in width, and 15.2mm in height. From this main body, remove a central rectangular slot that is 15mm wide, 18.3mm high, and 15.2mm deep to accommo...
use<8bitArt.scad>; tableThickness=18.3; difference(){ roundedSquare(s=[36,tableThickness+4,15],r=3); translate([-8.5,0,0]) roundedSquare(s=[15,tableThickness,15.2],r=1); translate([1,-tableThickness/2,-17.5]){ cube([20,tableThickness,35]); %cube([20,tableThickness,35]); } translate([-8.5,0,0]) rotate([9...
glb/cad_b6f95d073171.glb
Create a Horizontal Blinds Bracket by starting with a central rectangular block measuring 11.09mm in width, 10.86mm in depth, and 3.66mm in height. Centered on the back edge, add a smaller rectangular notch that extends the depth by 1.51mm and has a width of 7.23mm. Bore a cylindrical hole with a diameter of 5mm throug...
width = 13.09-2; depth = 10.86;; height = 3.66; back_notch_width = 8.23-1; back_notch_depth = 1.51; hole_diameter = 5; hole_distance_from_back_notch = 3.63; module back_notch() { translate([0,depth/2+back_notch_depth/2,0]) cube([back_notch_width,back_notch_depth,height],center=true); } $fn=64; module hole() { ...
glb/cad_72c58a3a24ce.glb
Create a grid of 2x2 parametric round clips. Each individual unit consists of a mounting bracket and a clip. The mounting bracket is a rectangular block 3.5mm thick and 10mm high. Centered on the bracket's length, add two mounting holes with a diameter of 3mm. Each hole should feature a countersink: a cylindrical bore...
$fs = 0.25; clipNumber = 1; clipSpacing = 18; bracketNumberY = 2; bracketNumberX = 2; brackedSpacingY = 15; brackedSpacingX = 30; clipInnerDiameter = 8.6; clipWidth = 10; clipWallThickness = 2.5; clipOpeningAngle = 110; bracketThickness = 3.5; mountEarsLength = 14; mountHoleOffset = 5; mountHoleDiameter = 3.0; bevel...
glb/cad_8c6c2c8039c5.glb
Create a Wandleuchte wall lamp base. Start with a main rectangular block measuring 90mm in length, 30mm in width, and 130mm in height. Hollow out the center of this block by removing a smaller rectangular volume, leaving a wall thickness of 0.7mm on all sides. At the center of the block's length and height, create a ...
lang=90; hoch=130; breit=30; loch=19; sockel=10; dick=0.7; ring=10; befestigung=3; difference() { translate([0,0, 0]) cube([lang,breit,hoch]); translate([dick,dick,dick]) cube([lang-2*dick,breit-2*dick,hoch]); translate([lang/2,breit+dick, lang/2]) rotate(90, [1, 0,0]) cylinder (r=loch, $fn=40,h=dick*3, center = fal...
glb/cad_94244249f1db.glb
Create a Prusa Hacky 608 Bearing X-Axis carriage. Start with a central block and add four symmetrical bearing housings. Position two housings horizontally at x = ±25mm, y = ±34mm, and z = 10mm. Each housing must accommodate a 608 bearing, which has an outer diameter of 22mm and a width of 7mm. For the horizontal hous...
include <x-carriage.scad> bearing_zoffset = 10; bearing_xoffset = 25; bearing_yoffset = 34; bearing_washer_width=2; bearing_width=7; bearing_height = 22; bearing2_zoffset = 25; bearing2_xoffset = 10; bearing2_angle = -45; difference(){ union(){ xcarriage(); for(y=[-1,1]) { for(x=[-1,1]) { translate(...
glb/cad_607597976664.glb
Create a NinjaBlock v2 Mount consisting of a central mounting plate with two protruding retention lips. Start with a rectangular base plate 40mm wide, 121mm long, and 3mm thick. At each end of the long axis, add a retention lip that is 40mm wide, 3mm thick, and 5mm high. Each lip should feature a triangular prism "catc...
use <MCAD/regular_shapes.scad>; use <MCAD/nuts_and_bolts.scad>; njb_h = 115; njb_w = 80; njb_lip_w = 3; njb_lip_d = 6.5; thickness = 3; plate_w = 40; plate_l = njb_h + (thickness*2); plate_h = thickness; lip_h = njb_lip_w + 2; padding = 0.01; module lip() { translate([0,0,lip_h / 2]) { cube( size = [pl...
glb/cad_6bd9e094569e.glb