Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a filament spool holder consisting of a horizontal cylindrical tube and a mounting bracket. The tube should have an outer diameter of 40mm and a length of 80mm, with a hollow center of 32mm in diameter to create a wall thickness of 4mm. At the end of the tube, add a retaining lip that extends 10mm in length with...
tube_length = 80; tube_diameter = 40; lip_size = 4; cut_support = 15; hanger_gap = 8; structure_thickness = 4; hanger_width = 50; hanger_gap_height = 15; fillet_radius = 2; tube_radius = tube_diameter/2; difference() { translate([0, 30,hanger_width/2 - cut_support ]) rotate([0,90,0]) union() { $fn=60; transl...
glb/cad_b8154db32fd7.glb
Create a customizable bottle opener with a flat, elongated body. The main body is a rounded trapezoidal plate with a total thickness of 6mm. At one end, create a functional opening for bottle caps. This opening consists of a rounded trapezoidal cutout with a base width of 23mm and a length of 19.5mm. Within this cuto...
use <write/Write.scad> use <utils/build_plate.scad> Text1="Local"; Text2="Pub"; TextHieght=55; TextRelief=-10; TextPositionX=-30; TextPositionY=0; TextSpacing=12; Font = "write/orbitron.dxf"; CoinType = "EU"; ManualRadius=9.5; ManualThickness=1.75; ManualOverhang=3; NumberOfRows=1; RowSpacing=0; NumberOf...
glb/cad_a6cb12d69c23.glb
Create a Replacement Mirror Frame and stand. The frame consists of two identical semi-circular rings. Each ring is a cylinder with a diameter of 118mm and a height of 9mm. Remove a concentric inner cylinder from each ring to create a wall; the inner opening should have a diameter of 104mm (leaving a 7mm radial coverage...
mirror_d = 114; mirror_thick = 9; frame_d = 118; notch_width = 5; notch_depth = 2.3; peg_d = 7; peg_length = 6; coverage = 5; stand_thick = 5; stand_width = 50; n = 6; stand_holes = true; stand_hole_d = 6; view = true; print = 2; view_angle = 90; $fn = 60; module mirrorFrame() { differe...
glb/cad_1c4675800d99.glb
Create a bed test height map consisting of a flat, extruded floral ring with a height of 2mm. The shape is defined by a central path that oscillates in radius to create 9 symmetrical petals. The average radius of this path is 52mm, with the radius varying by plus or minus 45mm to create the lobes. Generate this undulat...
ma=52; lobes=9; lobrad=45; function lr(a)=sin(a*lobes)*lobrad; function x(a) = (ma+lr(a)) * sin(a); function y(a) = (ma+lr(a)) * cos(a); points = [ for (a = [0 : 1 : 359]) [ x(a), y(a) ] ]; linear_extrude(height=2){ difference(){ offset(r=3) {polygon(points);} polygon(points); } }
glb/cad_53546f0f67c2.glb
Create a customizable bottle brush consisting of bristle layers and an optional central post. To create a bristle layer, start with a central ring that has an inner diameter of 8mm and an outer diameter of 11.2mm, with a height of 2mm. Around this ring, arrange 40 rectangular bristles. Each bristle should be 0.8mm wi...
print=0; staggers=2; stag_num=1; b_number=40; brush_od=25; center_support=5.6; center_hole=4; center_key=0; center_key_depth=0.6; post_z=16; post_mount_hole=2.2; tol=0.2; b_width=0.8; b_height=0.3; b_space_z=2; b_rize=0.0; post_tip_z=0.7; post_tip_shrink=0.7; key_rot=(360/b_number)/staggers; handle=0...
glb/cad_a3b3b6f9555a.glb
Create a Biopellets reactor plate by constructing a circular disc with a total height of 10mm. The main body is formed by repeating a specific wedge-shaped segment every 30 degrees around the center to create a full 360-degree rotation. Each segment is a 30-degree pie slice with a radius of 41.25mm. From this solid d...
use <threads.scad>; use <MCAD/metric_fastners.scad>; module pie_slice(r=3.0,a=30) { $fn=100; intersection() { circle(r=r); square(r); rotate(a-90) square(r); } } module segmentA() { difference () { rotate ([0,0,-30]) linear_extrude(height = 10, center = false, convexity = 0, twist = 0) pie_slice...
glb/cad_19ccc7abb11a.glb
Create a Laser Diode Bracket by starting with a base plate that is 38mm wide, 22mm deep, and 3mm thick, centered on the origin. Attached to the center of the back edge of this plate, add a vertical mounting tab that is 15mm wide, 3mm thick, and 60mm tall, extending upwards. To create the mounting holes, remove two cy...
module bracket(){ difference(){ union(){ translate([0,0,1.5]) cube([38,22,3],center=true); translate([0,11-1.5,30]) cube([15,3,60],center=true); } translate([-13.25,2,-.5]) cylinder(r=3.2/2,h=4,$fn=40); translate([-13.25,-2,-.5]) cylinder(r=3.2/2,h=4,$fn=40); translate([-13.25,0,1]) cube([3.2,4,4],center=true); transl...
glb/cad_c93164f845d9.glb
Create a Laser Diode Bracket consisting of a flat base and a perpendicular mounting arm. Start with a rectangular base plate measuring 28mm wide, 22mm deep, and 3mm thick. Attached to this base, center a perpendicular rectangular arm that is 15mm wide, 3mm thick, and 60mm long, extending outward. To create the mounti...
module bracket(){ difference(){ union(){ translate([0,0,1.5]) cube([28,22,3],center=true); translate([0,11-1.5,30]) cube([15,3,60],center=true); } translate([-15/2,2,-.5]) cylinder(r=3.2/2,h=4,$fn=40); translate([-15/2,-2,-.5]) cylinder(r=3.2/2,h=4,$fn=40); translate([-15/2,0,1]) cube([3.2,4,4],center=true); translate...
glb/cad_f746897e351f.glb
Create an Archimedean Pencil Holder based on a truncated cube. The structure is composed of a hollowed-out polyhedral shell decorated with hypocycloid-shaped extrusions and spheres at the vertices. First, define the primary vertices of a truncated cube with a scale factor of 30mm. At each of these 24 vertices, place a...
angs = 22.5; rssq = 30; ang1 = 30; ang2 = -30; rs6= 41; l = 18; union() { rotate([0,0,45]) union() { decor_523(0,0,-1,1,angs,rssq); decor_523(1,0,0,1,angs,rssq); decor_523(-1,0,0,1,angs,rssq); decor_523(0,1,0,1,angs,rssq); decor_523(0,-1,0,1,angs,rssq); decor_560( 1.0/sqrt(3), ...
glb/cad_04841e84b68a.glb
Create an Archimedean Pencil Holder based on a truncated octahedron. The structure is formed by placing extruded hypocycloid shapes on the faces of a truncated octahedron. Position six 4-cusped hypocycloids (astroids) with a radius of 39mm on the square faces. Position eight 6-cusped hypocycloids with a radius of 33....
rssq = 39; rs6= 33.5; l = 20; union() { rotate([125.25,0,0]) rotate([0,0,45]) union() { decor_523(0,0,1,1,0,rssq); decor_523(0,0,-1,1,0,rssq); decor_523(1,0,0,1,0,rssq); decor_523(-1,0,0,1,0,rssq); decor_523(0,1,0,1,0,rssq); decor_523(0,-1,0,1,0,rssq); decor_566( 1.0/sqrt(3), ...
glb/cad_0cd36b724110.glb
Create a pencil holder based on a rhombicuboctahedron. The structure is formed by placing 24 small spheres, each with a radius of 2.5mm and a facet resolution of 12, at the vertices of the polyhedron. Connect these vertices using 18 square faces. Each square face is a thin, extruded hypocycloid with four cusps, scale...
angs = 45; rssq = 30; ang1 = -30; ang2 = -30; rs6= 36; l = 20.5; ca = 1/2; cb = 1/2 + 1/sqrt(2); cc = 1/2 + 1/(2*sqrt(2)); union() { union() { decor_523(0,0,-cb,1,angs,rssq); decor_523(cb,0,0,1,angs,rssq); decor_523(-cb,0,0,1,angs,rssq); decor_523(0,cb,0,1,angs,rssq); decor_523(0,-...
glb/cad_4a2d80434d3c.glb
Create a pencil holder based on a truncated cuboctahedron. The main body is formed by placing extruded hypocycloid shapes on the faces of the polyhedron. Position six 8-cusp hypocycloids (scaled by 0.13 in X and Y) on the octagonal faces, and eight 6-cusp hypocycloids (scaled by 0.135 in X and Y) on the hexagonal fac...
angs = 22.5; rssq = 30; rs6=34; ang5 = 45; rs62 = 25; l = 18.5; union() { union() { decor_523(0,0,-1,1,angs,rssq); decor_523(1,0,0,1,angs,rssq); decor_523(-1,0,0,1,angs,rssq); decor_523(0,1,0,1,angs,rssq); decor_523(0,-1,0,1,angs,rssq); decor_560( 1.0/sqrt(3), 1.0/sqrt(3), ...
glb/cad_78e498fadd89.glb
Create four identical screw post repair widgets. Each widget is based on a cylinder with a radius of 6mm and a total height of 13.5mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 3.4mm and a height of 8mm, starting from the base. Additionally, remove a narrow central hole wit...
number=60; module standoff(){ difference(){ cylinder(r=6,h=13.5,$fn=number); cylinder(r=3.4,h=8,$fn=number); cylinder(r=1.7,h=14.6,$fn=number/2); #translate([3,-10,0]) cube(size=20); translate([-8,0,0]) cylinder(r=3.6,h=14.5,$fn=number); rotate([0,0,-10]) translate([...
glb/cad_c044cf1fb465.glb
Create an accordion folded spring with a total length of 100mm, a width of 25mm, and a height of 25mm. The structure is composed of 13 folds made from sheets with a thickness of 1mm. Each fold is created by connecting two cylinders with a diameter of 1mm and a height of 25mm, positioned at the top and bottom edges of t...
accordion_length=100; accordion_folds=13; accordion_width=25; accordion_height=25; accordion_sheet_thickness=1; accordion_right_angle_ends=0; reinforcement_for_ends="No"; hole_1=0; hole_1_diameter=5; hole_1_rotate=45; hole_1_X_position=0; hole_1_Y_position=0; hole_2=0; hole_2_diameter=5; hole_2_rotate=45; hole_2_X_po...
glb/cad_c3946f469180.glb
Create a Princess Heart Crown by constructing a circular band with an outer diameter of 100mm and a wall thickness of 3mm. The main body is a hollow cylinder with a height of 20mm. Along the outer surface of this cylinder, place 24 heart shapes arranged in a ring. These hearts should be evenly spaced every 15 degrees...
module torus(major,minor,q) { rotate_extrude(convexity = 10, $fn = q) translate([major, 0, 0]) circle(r = minor, $fn = q/2); } gDemoSteps = 50; gDemoHeight = 6; module DrawHeart() { import_stl("heart.stl",convexity=15); } numHearts=24; diameter=100; thickness=3; module bracelet() { difference() { translate([0,0...
glb/cad_54760410a305.glb
Create an Ultimate Extruder Calibration Test consisting of a base plate and two vertical structures connected by bridging spans. Start with a base plate 6mm wide and 0.5mm thick. On the left side, create a vertical tower 3mm wide and 50mm tall, composed of 10 stacked segments. Each segment increases in height by 5mm, s...
gdmin = 20; gdmax = 50; bdmin = 10; bdmax = 60; increment = 10; height = 50; towerwidth = 3; borderwidth = 6; borderthickness = 0.5; bridgethickness = 2; xstepsize = (gdmax-gdmin)/increment; ystepsize = (bdmax-bdmin)/(increment); zstepsize = height/increment; union(){ difference(){ translate([-towerwidth,0,0]) cube...
glb/cad_42b86dcc8f31.glb
Create a proximity sensor mount consisting of a vertical mounting plate and a cylindrical sensor housing. Start with a vertical plate 5mm thick, 17mm wide, and 17mm high. Extend this plate upwards with a rectangular section 5mm thick, 22.2mm wide, and 60mm high. On the lower 17mm high section of the plate, create two...
offset = 5; mount_height = 12+offset; cyl_height = 20; thickness = 5; screws_spacing = 31; screws_diameter = 3.5; sensor_diameter = 12.2; sensor_spacing = 13; vent_hole = 30; dist = 40; nut_width = 19.6; nut_height = 4; $fn=50; mount_start = thickness+sensor_spacing+screws_spacing+screws_diameter; mount_width = se...
glb/cad_ecc1fd94763a.glb
Create a USB Cord Wrap designed to hold a cable and its plug. Start with a central rectangular body measuring 6mm wide, 45mm long, and 65mm high. From this main body, remove a central rectangular void measuring 4.6mm wide, 12.4mm long, and 40mm high, positioned 40mm up from the bottom center. Additionally, remove a sma...
module usbPlug(height) { USB_width = 4.6; USB_length = 12.4; USB_depth = 13; cube([USB_width,USB_length,USB_depth+1+ height], true); } module cableManager(){ heightMainCorpse = 65; laengeBein = 15; difference() { cube([6,45,heightMainCorpse], true); translate([0,0,40 ]) { ...
glb/cad_fd9b6acdb634.glb
Create a connector piece for a tube and lamp holder. Start by creating a main cylindrical body with a total height of 35mm. The bottom section is a cylinder with a diameter of 20mm and a height of 20mm. Above this, add a second cylindrical section with a diameter of 25mm and a height of 15mm. Create a central vertical...
int=20; ext=15; pintd=15; res=100; dext=25; ed=15; corrd=5; M=9; htud=30; dtu=14; htu=htud/10; htuc=htu+2; dtuc=dtu+2; e=ed/10; corr=corrd/10; corre=corr+e; antu=(dtuc*cos(30)); ej=sqrt(pow(dext/2,2)-pow(antu/2,2)); pr=sqrt(100); met=M+1; pint=pintd/10; difference(){ union(){ translate([0,0,int])cylinder(c...
glb/cad_2d37013915af.glb
Create a Tesla Model S Enclosed Charger Holder. Start with a main rectangular block measuring 75mm wide, 75mm high, and 35mm deep. At the center of the block, create a large cutout to accommodate the charger end. This cutout is based on a complex 44-point polygon profile, scaled and rotated 50 degrees along the X-axi...
module charger_end(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-3.005779,62.149426],[-16.569022,60.425044],[-29.740098,56.758094],[-42.263469,51.264495],[-53.883598,44.060166],[-59.296113,36.626611],[-63.442667,28.424632],[-69.673609,11.070035],[-72.251218,-0.964639],[-...
glb/cad_ccefd93d013c.glb
Create a Beer Bottle Lock consisting of a hinged circular housing designed to fit over a bottle cap. The main body is a cylinder with an outer diameter of 35mm (inner diameter of 29mm plus 3mm wall thickness) and a total height of 20mm. The interior features a concentric recessed ring with a diameter of 26mm and a heig...
include <vertical_hinge.scad>; include <label-reserved.scad>; thickness = 3; inner_diameter_1=29; inner_diameter_2=26; hole_diameter=18; ring_height=9; overall_height=20; chamfer=0.5; $fn=60; hinge_r1=4.5; hinge_r2=20; hinge_theta_0=90; lock_holder_thickness=8; lock_holder_length=12; lock_hole_r=3; lock_inner_diam...
glb/cad_b7cc87f0daf7.glb
Create a body post stiffener consisting of two versions: a low-profile horizontal version and a tall angled version. Both parts are designed to span a distance of 70mm between two body posts. For both versions, create two cylindrical bosses at each end with an outer diameter of 10.3mm and a central hole of 5.8mm to ac...
$fa = 1; $fs = 0.5; fudge = 0.05; clearance = 0.5; body_post_distance = 70; body_post_dia = 5.3 + clearance; body_post_hole_spacing = 4.05; body_clip_hole_dia = 1.8; body_clip_length = 21 + 2 * clearance; wall_thickness = 2.5; rotate([-90, 0, 0]) stiffener(); translate([0, 20, 0]) rotate([-90, 0, 0]) s...
glb/cad_d32ad06b0844.glb
Create a replacement diffuser for a wall light. The main body is a semi-circular shell with a flat back edge. The outer boundary is a semi-circle with a diameter of 180.5mm and a height of 12mm. Inside this shell, create a concentric semi-circular cutout with a diameter of 106.7mm and a height of 14mm, leaving a ring-s...
$fn=150; difference(){{ translate([0,-1,0]) difference(){ { for ( i = [0 : 10] ) translate([i*7.8,0,0]) rotate([0,45,0]) cube([1,104.5,8.5]); } { translate([-25,-25,-20]) rotate([0,0,0]) cube([150,150,20]); translate([-25,-25,5]) rotate([0,0,0]) cube([150,150,20]); } } } {translate([34.24,51.79,-1]) difference(){{ ...
glb/cad_d40bed3514c9.glb
Create a Laser Module Holder designed to clamp a 12mm diameter cylinder. Start by creating a hollow cylinder with an inner radius of 6mm and an outer radius of 10mm, with a total height of 10.16mm. Integrate this cylinder with a rectangular block measuring 4mm wide, 1.5mm high, and 10.16mm deep, centered on the cylinde...
use <teardrop.scad> mm=25.4; laser_diameter=12; holder_thickness=4; mount_width=(5/8)*0.8*mm; mount_height=1.5*mm; slit_size=2; bolt_diameter=3; bolt_length=50; difference() { union() { difference() { union() { translate( v=[(laser_diameter/2)+(holder_thickness/2),0,0] ) { difference() { cylin...
glb/cad_958ce87dab3e.glb
Create a Laser Module Holder by constructing a 3D teardrop-shaped plate. Start with a 2D profile consisting of a circle with a radius of 50mm that is merged with a square of 10mm by 10mm. The square should be positioned such that its corner aligns with the center of the circle, and the entire profile is rotated 45 degr...
3D_teardrop( radius=5, height=1, center=true ); module 2D_teardrop( radius ) { rotate( a=[0,0,45] ) { union() { scale([1/10,1/10,0]) circle( radius*10 ); square( size=[radius,radius], center=false ); } } } module 3D_teardrop( radius, height, center ) { linear_extrude( height=height, center=center ) { r...
glb/cad_20707e68744d.glb
Create a reducing part for a centrifuge by constructing a composite cylindrical body with a central hole. Start by creating a main cylinder with a height of 41.8mm and a radius of 8.9mm. On top of this, add a second, shorter cylinder with a height of 2.9mm and a larger radius of 10.45mm, positioned so it sits flush on ...
overall_quality = 100; difference() { union() { cylinder(h=41.8,r1=8.9,r2=8.9,$fn=overall_quality); translate([0,0,41.8]) cylinder(h=2.9,r1=10.45,r2=10.45,$fn=overall_quality); translate([0,0,44.7]) cylinder(h=1.4,r1=7.3,r2=7.3,$fn=overall_quality); } cylinder(h=46.1,r1=5.2,r2=5...
glb/cad_305c2c51a65f.glb
Create a reducing part for a centrifuge by constructing a tiered cylindrical body with a central hole. Start by creating a main cylinder with a height of 41.8mm and a radius of 8.7mm. On top of this, add a second cylinder with a height of 2.9mm and a radius of 10.45mm, positioned so it sits flush on the upper face of t...
overall_quality = 100; difference() { union() { cylinder(h=41.8,r1=8.7,r2=8.7,$fn=overall_quality); translate([0,0,41.8]) cylinder(h=2.9,r1=10.45,r2=10.45,$fn=overall_quality); translate([0,0,44.7]) cylinder(h=1.4,r1=7.3,r2=7.3,$fn=overall_quality); } cylinder(h=46.1,r1=5.5,r2=5....
glb/cad_0d25ef954c9d.glb
Create a bicycle phone holder consisting of two symmetrical mirrored pieces that clamp a phone to a handlebar. Each piece is 5mm thick. First, create the vertical mounting base. This part features a central rectangular bar 5mm wide and 123mm long. At the center of this bar, create a cylindrical cutout with a diameter ...
Phone_Length=129; Phone_Width=66; Phone_Thickness = 10; Handle_Bar_Diameter = 35; Holder_Height = 17; $fs = 1; module copy_mirror(vec=[0,1,0]) { union() { children(); mirror(vec) children(); } }; module rounded_corner(vec=[0,0,0],rot=0) { translate(vec) rotate([0,0,rot]) difference(){ intersection(){ ...
glb/cad_4a12a6e9975a.glb
Create a pram frame clamp and parasol adapter. Start with a main rectangular body measuring 41mm in width, 24mm in length, and 45mm in depth, featuring rounded corners with a 2mm radius. Hollow out the center of this body with a rectangular cutout measuring 31mm by 14mm by 35mm, leaving a wall thickness of 5mm on the s...
include <RoundedCube.scad> clip_width = 31.0; clip_length = 14.0; clip_depth = 35.0; wall_thickness = 5.0; trigger_offset = 8.5; trigger_width = 16.0; trigger_height = 19.0; mount_length = 12.0; dist_r1a_r1b = 25.0; bolt_radius = 2.6; bolt_head_radius = 4.8; difference() { union() { difference() { RoundedC...
glb/cad_eb577a9eff39.glb
Create a pram frame clamp and parasol adapter. The main body is a semi-elliptical C-clamp with a height of 15mm and a wall thickness of 5mm. The inner cutout is defined by two circular arcs of 10mm radius spaced 25mm apart, connected by a larger outer arc of 50mm radius, creating a rounded, elongated profile. Add two ...
include <RoundedCube.scad> radius_1 = 10.0; radius_2 = 50.0; dist_r1a_r1b = 25.0; num_segs = 360.0; clip_thickness = 5.0; clip_height = 15.0; bolt_block_width = 5.0; bolt_block_length = 15.0; bolt_radius = 2.6; bolt_head_radius = 4.6; connector_bolts = false; HalfClip(); module HalfClip() { difference() { unio...
glb/cad_f4cc470a1382.glb
Create a modular Snap Together Container based on a pentagonal icositetrahedron. The overall scale is 1.5, with an internal surface scale of 0.83. Construct the following components: 1. **Bottom Piece**: Create a base using a polyhedron with five faces. Add eight spheres of radius 2.25mm at the vertices and subtract ...
s_all = 1.5; sc38 = 0.83; sc_rim = 0.8; sc_sp_hole = 0.91; sphere_size = 2.25; hole_size = 2.55; mark = 4; if (mark==1) translate([0,0,46.3]) rotate([0,180,0]) rotate([-25.25,-19.95,0]) mk_piece_side_01(); else if (mark==2) translate([0,0,34.82]) rotate([0,180,0]) rotate([-25.25,-19.95,0]) mk_piece_side_02(); el...
glb/cad_aa64500c0be6.glb
Create a wheel spacer for a longboard wheel hub. Start with a circular base 46mm in diameter and 2mm thick. On top of this base, add a conical section that transitions from a 40mm diameter at the bottom to a 26mm diameter at the top over a height of 7.5mm. From the center of the model, remove a vertical cylindrical s...
inner_dia = 26; outer_dia = 40; base_thickness = 2; base_dia = 46; hub_recess_depth = 7.5; outer_recess_depth = 7; total_recess_depth = hub_recess_depth + outer_recess_depth; outer_cone_depth = 8; inner_recess_depth = 7.5; total_depth = 30; shaft_dia = 22; m6_clearance_hole = 7; fastening_bolt_spacing = 34; echo("Tot...
glb/cad_26ded2c1df2f.glb
Create a turntable for a mini track set. Start by constructing a cylindrical base with a radius of 18.4mm and a height of 5mm. Within this base, integrate three straight track sections. Remove a central cylindrical core from the base, with a radius of 18.4mm, leaving a thin outer wall. On top of this base, add a seco...
include <base.scad> printing_gap = 0.1; module turntable_bottom(){ union(){ difference(){ union(){ #cylinder(HEIGHT,r=(LENGTH/2)-1.1-CONN_DEPTH); base_straight(0,0,0); base_straight(0,0,1); base_straight(0,0,2); } ...
glb/cad_e0804a068dd4.glb
Create a brilliant cut diamond shape consisting of three stacked sections: a crown, a girdle, and a pavillion. First, create the central girdle as a thin cylinder with a diameter of 100mm and a height of 1mm. On top of the girdle, place the crown, which is an 8-sided faceted cone (octagonal frustum) with a base dia...
stone_girdle_diameter=100; stone_table_diameter=53; stone_cutlet_diameter=2; stone_crown_depth=16.2; stone_pavillion_depth=43.1; stone_girdle_depth=1; union(){ translate (v=[0,0,stone_girdle_depth/2]) cylinder (r1=stone_girdle_diameter/2, r2=stone_table_diameter/2, h=stone_crown_depth, center=false, $fa=360/8); ...
glb/cad_552cc16adc5b.glb
Create a RAMBO 90 degree mount for a Prusa i3. Start by constructing a base frame consisting of a series of rectangular bars. Create a central rectangular area measuring 102mm by 106mm with a thickness of 4mm. Within this frame, place four identical mounting corner assemblies. Each corner assembly consists of a cylindr...
module rampshole() { difference() { cylinder(r=8.5/2, h=2, center=true, $fn=30); cylinder(r=8.2/4, h=3, center=true, $fn=30); } } module ramboholes() { difference() { cylinder(r=7/2, h=7, center=true, $fn=30); cylinder(r=7/4, h=8, center=true, $fn=30); } } module rambopegs() { union() { translate([95/2...
glb/cad_7ab0fc4a1008.glb
Create a Bowden conversion adapter plate by starting with a central rectangular base measuring 70mm by 27mm with a thickness of 6mm. In the center of this base, create a raised section by joining a 27mm cube of the same thickness to a cylinder with a radius of 8.5mm and a height of 8mm, blended together using a convex ...
difference() { union(){ cube([70, 27, 6], center=true); hull() { cube([27, 27, 6], center=true); translate([0, 0, 6]) cylinder(r=8.5, h=8); } } translate([0, 0, -4]) cylinder(r=8.15, h=12, $fn=40); translate([0, 0, 8.3]) cylinder(r=2.1, h=30, $fn=30); translate([25, 0, -4]) cylinder(r=3, h=10, $fn=10)...
glb/cad_5de18172da7a.glb
Create a Bowden conversion adapter plate by starting with a central rectangular base measuring 70mm in length, 27mm in width, and 6mm in height, centered on the origin. On top of this base, add a raised section centered at the origin; this section is formed by the convex hull of a 27mm cube of the same 6mm height and a...
difference() { union(){ cube([70, 27, 6], center=true); hull() { cube([27, 27, 6], center=true); translate([0, 0, 6]) cylinder(r=6.5, h=7); } } translate([0, 0, 3]) cylinder(r1=1, r2=2.1, h=3, $fn=30); translate([0, 0, 6]) cylinder(r=2.1, h=30, $fn=30); translate([0, 0, -3]) cylinder(r1=3, r2=1, h=4.7...
glb/cad_36680f093317.glb
Create an Open Source Disc Shooter consisting of a two-part barrel, a firing pin, and discs. Construct the barrel as two matching halves. Each half is a block 90mm long with a central cutout to accommodate a disc and the firing pin. The interior features a cylindrical void with a radius of 9.1mm and a depth of 2mm. Th...
fn = 32; cl = 0.5; bt = 3; dd = 18.2; dr = dd/2; dt = 2; dsw = 2.5; dsn = 4; dso = 1.75; dhd = 5.5; dhr = dhd/2; dsa = 40; dsd = 1; pl = 40; pw = dd-5; pft = 3; module gunparts(a) { if (a==1) { discs(1); } if (a==2) { firingpin(); } if (a==3) { barreltop(); } if (a==4) { barrelbottom(); } if (a==5) {...
glb/cad_b2258d09a009.glb
Create a set of four identical connector components for a polygon construction toy. Each component is based on a square geometry with a side length of 50mm and a total thickness of 6mm. For each component, create a central square hub with a thickness of 3mm. On each of the four sides of the hub, add a connection pad....
sides = 4; sidelen = 50; pad_offset = sidelen * 0.22; tall = 6; thick = 3; nub_rad = (tall-1.5)/2; nub_min_rad = nub_rad * 0.4; nub_protrusion_male = 0.37; nub_protrusion_female = 0.45; nub_clearance = 0.25; is_rounded = 1; show_axis_line = 0; stick_in_dist_center_pad = 11; stick_in_dist_outer_pad = 8.3; stick_in...
glb/cad_ab3093532d7a.glb
Create an air filter support consisting of a main rectangular frame and an attached oil spit plate. First, construct the main frame by creating a base shape that is 333mm long, 102mm wide, and 6mm thick. The frame should have rounded corners with a radius of 4mm. Remove a large central rectangular section to create a...
union(){ difference(){ buitenkant(); translate([10,10,-1]) binnenkant(); translate([-4,2,-1]) gaatjes(); translate([4,31,-1]) zijgaatjes(); } translate([4,31,1]) zijversteviging(); translate([200,10,0]) oilspit(); } module oilspit(){ cube([70,35,3]); translate([5,0,0]) driehoekje(); translate([35,0,0]...
glb/cad_69e3e8992e47.glb
Create a Prusa i3 cable holder consisting of a mounting block and a cylindrical cable guide. First, create a rectangular base block measuring 8mm wide, 45mm long, and 16mm high. From this block, remove several geometric sections to create a faceted, angular profile: subtract four rotated cubes (each 30mm x 30mm x 51m...
MM = "mm"; INCH = "inch"; METRIC_NUT_AC_WIDTHS = [ -1, -1, -1, 6.40, 8.10, 9.20, 11.50, -1, 15.00, -1, 19.60, -1, 22.10, -1, -1, -1, 27.70, -1, -1, -1, 34.60, -1, -1, -1, 41.60, -1, -1, -1, -1, -1, 53.1, -1, -1, -1, -1, -1, 63.5 ]; METRIC_NUT_THICKNESS = [ -1, -1, -1, 2.40, 3....
glb/cad_6ce9f93d8ccc.glb
Create a PrintrBot Spool Holder consisting of a vertical shaft and a horizontal guide arm. Start with a base that is a centered rectangular block 17mm thick and 34mm wide. From this base, extend a vertical shaft upwards to a total height of 100mm. The shaft begins as a cone with a 30mm base radius that tapers to a cy...
$fn = 64*1; Rspool=13; H=100; R=6.2; w1=.4; w=w1*4; D=58; L=130; ah = 80; th=15.6; elbow_radius = 15; hole_dia = 6.7; d=D/2+R; difference(){ union(){ translate([0,0,17]){ cylinder(r=Rspool,h=H-Rspool); translate([0,0,H-Rspool]) sphere(r=Rspool); cylinder(r1=30,r2=0,h=40); } cylinde...
glb/cad_81fdab278a6f.glb
Create a PrintrBot Spool Holder consisting of a central vertical shaft and a guide arm. Start with a base that includes a rectangular block 17mm thick, centered on the origin, with two vertical cylindrical holes of radius 6.2mm positioned 58mm apart (inside measurement) to accommodate Z-rods. From this base, extend a...
$fn = 64*1; Rspool=15; H=100; R=6.2; w1=.4; D=58; L=130; ah = 80; w=w1*4; d=D/2+R; difference(){ union(){ translate([0,0,17]){ cylinder(r=Rspool,h=H-Rspool); translate([0,0,H-Rspool]) sphere(r=Rspool); cylinder(r1=30,r2=0,h=40); } cylinder(r1=15,r2=30,h=17.01); translate([0,0,17/2])c...
glb/cad_e4e4100231f6.glb
Create a customizable over-the-lip hook with a uniform thickness of 7mm and a width of 3mm. Start by creating a vertical stem that is 30mm high and 3mm wide. At the top of this stem, attach a lip designed to hang over an edge. This lip consists of a semi-circular arc with a radius of 3.5mm and a flat horizontal secti...
$fn=32*1; E=0.05*1; lip_thickness = 7; hook_thickness = 7; width = 3; stem_height = 30; hook_diameter = 16; lip_length = 14; lip_height = 30; hook_radius = hook_diameter/2; cube2([width,stem_height+width,hook_thickness],aligns="LLC"); translate([-hook_radius,0,0]) { difference() { cylinder(r=hook...
glb/cad_9a058b55ff5e.glb
Create a Flexible Filament Splash Spool Adapter. Start with a base cylinder that has a radius of 47mm and a height of 8mm. Subtract a central vertical hole with a radius of 15mm to accommodate a threaded rod. Build a core hub around this center. This core is a cylinder that tapers from a radius of 45mm at the bottom t...
spool_hole_diam = 86; spool_wall_thickness=5; threaded_rod_radius = 15; r_spool = 45; edge_cut=1; h = 8; w = 20; br=threaded_rod_radius; bh = 7; t = 4; e = 0.02; $fn = 64; module cutouts() { cube([5,100,50], center=true); cube([100,5,50], center=true); rotate([0,0,45]) cube([5,100,50], center=true); ro...
glb/cad_a6796f1741d4.glb
Create an anti-backlash gear and liner rack system. Start by constructing a main rack body as a rectangular block measuring 349mm in length, 13mm in width, and 8mm in height, centered at the origin. Along the length of this rack, integrate a series of teeth. These teeth are formed by 24-sided prisms with a radius of 1....
pi= 3.141592; print(); module assembly(){ rack(); end1(); end2(); } module print(){ rack(); mirror([0,0,1])translate([80,20,8])end1(); mirror([0,0,1])translate([-80,20,8])end2(); } module trackteeth(H,p,t){ for (k=[1:t]){ translate([4*k,0,0]) scale([1,2,1]) cylinder(h=H,r=1.142,center=true,$fn=24)...
glb/cad_c1d25d1ac520.glb
Create an anti-backlash gear with a total height of 8mm. The gear is based on a circular profile with a tooth pitch of 2mm and 12 teeth. Start by creating the main gear body as a cylinder with a radius of approximately 7.64mm (calculated from $t \times p / \pi$). On the outer perimeter, add 12 gear teeth. In the ce...
pi= 3.141592; cl= 0.2; tolfn=100; H=8; t=12; p=2; tp=00; ratio=6; tw=(360/t)*(tp/100); abga(ratio,H,t,p,cl,tw); module servomounthole(x){ union(){ translate([0,0,1.5]) cylinder(h=3,r=2.5,center=true,$fn=30); translate([0,0,15]) cylinder(h=30,r=2.5,center=true,$fn=30); } } module outmounthole(x){ un...
glb/cad_b8ea071ef739.glb
Create a Power Supply Terminal Cover by constructing a five-sided open box with a base length of 110mm, a height of 41mm, and a depth of 26mm. All walls must be 2mm thick. The box is open at the rear, but the bottom wall features an 18mm gap at the back to allow terminal access. On the top surface, create the followin...
base_length=110; base_height=41; base_depth=26; base_thickness=2; mounting_screw_hole_cutout_radius=1; power_screw_hole_cutout_radius=1; switch_cutout_length=27; switch_cutout_width=12; switch_cutout_radius=0; led_cutout_radius=4; grommet_cutout_radius=6; power_plug_cutout_length=28; power_plug_cutout_width...
glb/cad_3519be49a9af.glb
Create a bottle holder by constructing a hollow cylinder with an outer radius of 38mm and an inner radius of 34mm, extending to a height of 110mm. The overall form is constrained within a sphere of radius 65.45mm centered at the midpoint of the cylinder's height. To create the decorative lattice, remove a series of hex...
$fn=128; vent_width = 28; vent_height = 110; vent_depth = 13; vent_recess = 20; bottle_radius = 34; thickness = 4; sides = 7; low = 5; rows = 20; high = 5; hexes = true; intersection() { union() { difference() { cylinder(r=bottle_radius + thickness, h = vent_height); translate([0,0,-1]) cylinder(r=bo...
glb/cad_ab9297b6165c.glb
Create a parametric clamp small gear for a Wade extruder. Start by constructing a herringbone gear with 15 teeth, a total gear width of 12mm, and a circular pitch of approximately 21.43mm. The gear should be composed of two mirrored halves, each 6mm thick, with a twist of 400 degrees divided by the number of teeth. Ad...
include <../configuration.scad> use <inc/parametric_involute_gear_v5.0.scad> gear_distance = 40; small(); gear_width=12; teeth_small=15; teeth_big=49; teeth_twist=400; circular_pitch = (gear_distance * 180 * 2) / (teeth_small + teeth_big); echo (circular_pitch); module small(){ difference() { union() { ...
glb/cad_729c0be215ea.glb
Create a Gardening Wire Clip by designing a small, C-shaped bracket and repeating it in a 6x6 grid. To create a single clip, start with a solid rectangular base measuring 4.3mm in width, 10.5mm in length, and 5mm in height. From this base, remove a central channel to create the clip's opening. This channel is formed by...
wire = 3.6/2; fn = 25; dist = 8.6/2; thickness = 5; width = 2.5; module cutout() { translate([-dist + wire,0,0]) cylinder(10,wire,wire,true,$fn=fn); translate([dist - wire,0,0]) cylinder(10,wire,wire,true,$fn=fn); translate([0,2.5,0]) cube([5,5,10], true); scale([0.8,1,1]) rotate([0,0,45]) translate([0,0,-5]) cub...
glb/cad_cf0b5a187415.glb
Create a crank arm cadence magnet holder by starting with a cube that is 20mm wide, 20mm deep, and 12.5mm high, featuring rounded corners with a radius of 2mm. In the center of the top face, create a cylindrical hole with a diameter of 6.55mm and a depth of 3.2mm. Additionally, carve a rectangular slot through the enti...
crank_offset=12.5; magnet_diameter=6.55; magnet_height=3.2; difference() { translate([-10,-10]) v_rounded_cube([20,20,crank_offset],2); translate([0,0,crank_offset-magnet_height ]) cylinder(h=magnet_height,d=magnet_diameter,$fn=40); translate([-50,-3 ,2 ]) cube([100,6,3]); } module v_rounded_cube(xyz,r,$fn...
glb/cad_1966daa27ee8.glb
Create a set of eight identical washers arranged in two parallel rows of four. Each individual washer is a flat ring with an outer diameter of 12mm, an inner diameter of 9mm, and a thickness of 2mm. To arrange them, place the first four washers in a line along the X-axis, spacing each one so that the center of each sub...
inner = 9; outer = 12; thickness = 2; volumeX = 4; volumeY = 2; module washer (inner, outer, thickness) { difference() { cylinder(d=outer, h=thickness, $fn=60); translate([0,0,-thickness]) cylinder(d=inner, h=thickness*3, $fn=60); }; } for (i=[1:volumeX]) { translate ([outer*(i...
glb/cad_0cb3873f2c6d.glb
Create a bulb clip for a fluorescent lamp by constructing a thin, circular ring with a height of 6mm. The ring should have an inner diameter of 59.3mm and a wall thickness of 3mm, resulting in an outer diameter of 65.3mm. To complete the part, add two small rectangular pegs to the ring. Each peg must be 5mm wide, 1mm t...
inner_diameter=59.3; rim_thickness=3; rim_height=6; peg_height=1; peg_width=5; rotate([180,0,0]) { union() { difference() { cylinder(r=(inner_diameter + rim_thickness*2)/2, h=rim_height); cylinder(r=inner_diameter/2, h=rim_height); } translate([0,(inner_diameter + 1)/2, 0]) { cube(size=[peg_...
glb/cad_e2c35cc52fc0.glb
Create a Raw Hide Lantern Frame consisting of a base, a top, and connecting vertical poles. Start by creating an octagonal base plate and an identical octagonal top plate, both with a radius of 100mm and a thickness of 18mm. In the center of the top plate, create a circular hole with a radius of 23mm. Construct eight ...
radius = 100; cd = 40; height=250; thickness = 18; cht = 10; sticks = 8; sside=10; hrad = 3; cr = (cd/2)+3; hdepth = thickness/2; hole_r=max(cr,radius/3); module bottom() { difference(){ cylinder(h = thickness, r=radius, $fn=sticks); holes(); } } module top() { difference() { cylinder(h = thickness, ...
glb/cad_2950442198d1.glb
Create a joint rotule furniture replacement part with a total height of 11mm. Start with a circular base 2mm thick with a diameter of 14.6mm. From this base, extend a main cylinder upwards to a total height of 11mm with a diameter of 9.4mm. Hollow out the center of this main cylinder by removing a vertical core. This...
hauteur_piece = 11; diametre_socle = 14.6; epaisseur_socle = 2; diametre_trou = 7.8; diametre_trou_sommet = 6; hauteur_cone = 3.5; diametre_cylindre = 9.4; hauteur_encoche = 7.5; largeur_encoche = 3; hauteur_clip = 4; largeur_clip = 4.5; epaisseur_clip = .75; $fn=100; module clip(){ intersection(){ translate(v=[0,0,h...
glb/cad_fa3c600360d7.glb
Create a Z Rod Constraint for a 10mm rod and 6000 bearing. Start by creating a main cylindrical body with a height of 15mm and an outer diameter of 26.6mm. Bore a central hole through this cylinder with a diameter of 10mm to accommodate the bearing. Attached to the side of this cylinder, create a clamping mechanism. T...
include <configuration.scad> outer_diameter = 10/2+3.3; shaft_separation = 30; bearing_od = 26.6; bearing_id = 10; bearing_rodhole_d = bearing_id + 3; m3_nut_diameter_horizontal = (((5.5/2)/cos(180/6))+.05)*2; rod_stab(); module rod_stab() { difference() { union() { translate([-outer_diameter, -ou...
glb/cad_1667ef0a5926.glb
Create a cake smoother tool consisting of a wide, thin base plate and a central handle. Start by creating a flat base plate 1mm thick, with a profile defined by the provided DXF geometry, centered at the origin. Construct a central handle by creating a rectangular block 59mm wide, 6mm deep, and 6mm high, positioned 3mm...
module platte() { translate([-60,-40,0]) linear_extrude(file = "tortenglaetter.dxf", layer="Platte", height = 1, center = true); } module griff() { union(){ translate([-30,0,0]) rotate([90,0,0]) linear_extrude(file = "tortenglaetter.dxf", layer="Griff", height = 3, center = true); uebergang(); rotate([0,0...
glb/cad_91300dba9380.glb
Create a reciprocating ball reducer consisting of four main components: a sine-toroid race, a toroid race, a slide mechanism, and an outer case. All components are centered around a central vertical shaft with a radius of 12.55mm. First, create the sine-toroid race as a cylinder with a radius of 100mm and a height of ...
use <sine_toroid.scad> use <torus.scad> extended = true; open = true; frequency=3; bearing_radius = 8.825; inner_radius = 100; outer_radius = inner_radius+20; lip_radius = inner_radius+bearing_radius; lip_height = 100; shaft_radius = 12.55; amplitude = 100; ring_slip = 1.575; bearing_slip = 1.575; overshoot = 1; si...
glb/cad_a8e9a0bf9c13.glb
Create a torus with a major radius of 200mm and a minor radius of 8.825mm. The overall shape should be a ring with a decagonal cross-section, meaning the circular path of the torus is approximated by 10 linear segments and the circular profile of the tube is also approximated by 10 facets.
module torus(large_radius = 200.0, small_radius = 8.825, quality=10) { rotate_extrude(convexity=10, $fn=quality) translate([large_radius, 0, 0]) circle(small_radius, $fn=quality); } torus();
glb/cad_63980bcd509c.glb
Create a Raspberry Pi LCD2USB and off switch case. The main body is a hollowed rectangular enclosure with a depth of 40mm. The front face is a rounded rectangular slab created by the convex hull of four spheres with 3mm radii, positioned at the corners of a rectangle measuring 116.5mm by 41mm. Subtract a rectangular ...
Push_Button = 16.5; Panel_Mount_X = 75.5; Panel_Mount_Y = 31; LCD_Offset_X = 3.5; LCD_Offset_Y = 3.5; LCD_X = 68; LCD_Y = 21; Button_Spacing = 10; Case_Depth = 40; Case_Hand = 1; $fn = 30; Show_Case(); module Show_Case(){ rotate([110, 0, 0]) Case(); translate([0 - ((Button_Spacing * 2) + Push_Button + Panel_Mount...
glb/cad_bfef7a793588.glb
Create a Polarizer Mount consisting of a vertical plate and a horizontal base. Start with a solid cube for the base measuring 20mm wide, 20mm deep, and 5mm high. On the left side, attach a vertical rectangular plate that is 5mm wide, 20mm high, and 20mm deep. In the center of this vertical plate, create a circular hole...
union() { difference() { cube([20,20,5]); translate([0,3,0])cube([17,3,5]); translate([0,2,3])cube([17,5,2]); translate([0,14,0])cube([17,3,5]); translate([0,13,3])cube([17,5,2]); } difference() { cube([5,20,20]); translate([-1,10,12.5])rotate(a=[0,90,0]){cylinder(h=7,r=6);} } }
glb/cad_94aca84c503f.glb
Create a Polarizer Mount consisting of a base and two cylindrical inserts. Start with a rectangular base block measuring 20mm wide, 20mm deep, and 5mm high. Carve a rectangular slot into the top of this base that is 17mm wide, 3mm deep, and 5mm high, positioned 3mm from the front edge. Construct two cylindrical insert...
union() { difference() { cube([20,20,5]); translate([0,3,0])cube([17,3,5]); translate([0,2,3])cube([17,5,2]); translate([0,14,0])cube([17,3,5]); translate([0,13,3])cube([17,5,2]); } difference() { cube([5,20,20]); translate([-1,10,12.5])rotate(a=[0,90,0]){cylinder(h=7,r=6);} } difference() { translate([-1,10,12.5])r...
glb/cad_b1ed3b0535a6.glb
Create a Polarizer Mount consisting of three coaxial, concentric cylindrical sections of varying diameters and heights, all aligned along a central axis. The first section is a hollow cylinder with an outer radius of 5.5mm and an inner radius of 3.5mm, extending 7mm in length. The second section is a larger hollow cyli...
union() { difference() { translate([-1,10,12.5])rotate(a=[0,90,0]){cylinder(h=7,r=5.5);} translate([-1,10,12.5])rotate(a=[0,90,0]){cylinder(h=7,r=3.5);} } difference() { translate([7,10,12.5])rotate(a=[0,90,0]){cylinder(h=7,r=7);} translate([7,10,12.5])rotate(a=[0,90,0]){cylinder(h=7,r=6);} } difference() { translat...
glb/cad_f52d1562e543.glb
Create a Polarizer Mount consisting of two concentric cylindrical shells. First, create a thick outer ring with an outer radius of 7mm and a height of 7mm. Remove a smaller concentric cylinder from the center with a radius of 6mm to create a hollow tube with a wall thickness of 1mm. Next, create a second, smaller con...
union() { difference() { translate([-13,10,12.5])rotate(a=[0,90,0]){cylinder(h=7,r=7);} translate([-13,10,12.5])rotate(a=[0,90,0]){cylinder(h=7,r=6);} } difference() { translate([-6,10,12.5])rotate(a=[0,90,0]){cylinder(1,7,6);} translate([-6,10,12.5])rotate(a=[0,90,0]){cylinder(1,3.5,6);} } }
glb/cad_dd129e0982f9.glb
Create a Polarizer Mount consisting of a base and a vertical support. Start with a rectangular base block measuring 20mm wide, 20mm deep, and 5mm high. Carve out a central channel from the top of the base that is 17mm wide, 4mm deep, and 5mm high, leaving a 1.5mm wall on each side. Additionally, remove two rectangular ...
union() { difference() { translate([0,0,0])cube([20,20,5]); translate([0,3,0])cube([17,4,5]); translate([0,2,3.5])cube([17,6,2]); translate([0,14,0])cube([17,4,5]); translate([0,13,3.5])cube([17,6,2]); } difference() { translate([0,0,0])cube([5,20,30]); translate([-1,10,20])rotate(a=[0,90,0]){cylinder(h=7,r=6.5);} } ...
glb/cad_9c02531d232c.glb
Create a Polarizer Mount consisting of three concentric, coaxial cylindrical sections aligned along a central axis. First, create a main outer cylinder with a radius of 7mm and a height of 7mm. Hollow this cylinder by removing a smaller concentric cylinder with a radius of 6mm and a height of 7mm. Second, attach a larg...
union() { difference() { translate([-2,10,20])rotate(a=[0,90,0]){cylinder(h=8,r=6);} translate([-2,10,20])rotate(a=[0,90,0]){cylinder(h=8,r=3.5);} } difference() { translate([7,10,20])rotate(a=[0,90,0]){cylinder(h=7,r=7);} translate([7,10,20])rotate(a=[0,90,0]){cylinder(h=7,r=6);} } difference() { translate([6,10,20...
glb/cad_3fb5b7040b24.glb
Create a Polarizer Mount consisting of two concentric cylindrical components. First, create a large outer ring with an outer radius of 17.5mm and a thickness of 7mm. Hollow out the center of this ring by removing a concentric cylinder with a radius of 16.5mm, leaving a thin wall. Second, create a smaller inner cylinder...
union() { difference() { translate([-15.8,10,20])rotate(a=[0,90,0]){cylinder(h=7,r=17.5);} translate([-15.8,10,20])rotate(a=[0,90,0]){cylinder(h=7,r=16.5);} } difference() { translate([-8.8,10,20])rotate(a=[0,90,0]){cylinder(3,17,17);} translate([-8.8,10,20])rotate(a=[0,90,0]){cylinder(3,6.6,6.6);} } }
glb/cad_d8ac0387337d.glb
Create a Polarizer Mount consisting of a sliding base and two rotating inserts. Start with a rectangular sliding mount base measuring 20mm x 20mm x 5mm. Remove two rectangular channels from the top: one measuring 17mm x 4mm x 5mm positioned at y=3mm, and another measuring 17mm x 6mm x 2mm positioned at y=2mm. Additiona...
union() { difference() { translate([0,0,0])cube([20,20,5]); translate([0,3,0])cube([17,4,5]); translate([0,2,3.5])cube([17,6,2]); translate([0,14,0])cube([17,4,5]); translate([0,13,3.5])cube([17,6,2]); } difference() { translate([0,0,0])cube([5,20,30]); translate([-1,10,20])rotate(a=[0,90,0]){cylinder(h=7,r=6.5);} } ...
glb/cad_e3bf94d54859.glb
Create a Polarizer Mount consisting of a series of concentric cylindrical shells. Start by creating a main outer cylinder with a radius of 17.5mm and a height of 7mm, centered at coordinates (-15.8, 10, 20) and rotated 90 degrees on the X-axis. Hollow this out by removing a concentric cylinder with a radius of 16.5mm. ...
union() { difference() { } difference() { } difference() { } difference() { } difference() { } difference() { translate([-15.8,10,20])rotate(a=[0,90,0]){cylinder(h=7,r=17.5);} translate([-15.8,10,20])rotate(a=[0,90,0]){cylinder(h=7,r=16.5);} } difference() { translate([-8.8,10,20])rotate(a=[0,90,0]){cylinder...
glb/cad_23d45789c9e8.glb
Create a T-slot ball joint connector by starting with a rectangular base measuring 5mm wide, 12mm deep, and 4mm high, centered on the origin. Centered on this base, add a vertical cylinder with a radius of 2.5mm and a height of 12mm. Position a second, wider cylinder with a radius of 9mm and a height of 3mm, centered a...
cube([5,12,4], center=true); cylinder(r=2.5,h=12); translate([0,0,4.8]) cylinder(r=9,h=3); $fn=48; difference() { translate([0,0,13]) sphere(r=5); cube([24,24,15],center=true); }
glb/cad_a80e8f32aff4.glb
Create a rectangular exhaust fan box with an overall exterior dimension of 220mm width, 125mm height, and 60mm depth, using walls that are 5mm thick. The back panel is a 220mm by 125mm rectangle with a centered circular hole 99mm in diameter to accommodate ducting. The front and back panels are connected by top and b...
THICKNESS=5; VENT_D=99; WIDTH=220; HEIGHT=125; DEPTH=60; LIP=8; TEETH_W=5; TEETH_H=3; OFFSET=0.01; 3D(); module 3D() { color("green") translate([+(DEPTH-THICKNESS)/2,0,-LIP/2]) rotate([90,0,90]) linear_extrude(height=THICKNESS,center=true) front(); color("blue") translate([-(DEPTH-THICKNESS)/2,0,0]) rotate...
glb/cad_f461406dab97.glb
Create a 3D model of a mathematical knot based on a five-pointed star pattern. The overall structure is formed by a continuous tube that follows a complex, looping path. This path is defined by 120 segments, where the coordinates of each point are determined by trigonometric functions: the x-coordinate follows $12\sin(...
phi = (1.0+sqrt(5))/2; s = 3; $fn=10; module cyl(ax, h, r) { rotate([0,0,atan(ax[0]/ax[1])]) rotate([0, acos(ax[2]/sqrt(ax[0]*ax[0]+ax[1]*ax[1]+ax[2]*ax[2])), 0]) cylinder(h=h, r=r, center=true); } module star(dimensions=phi, thickness=1/5) { numspheres=120; color( rands(0,1,3) ) for(t=[0:nums...
glb/cad_bb2e3a410e5a.glb
Create a Tinkertoy Testbench accessory set consisting of a board support and a tray. For the board support, create a base plate 2mm thick with a rectangular outer boundary of 58.8mm by 95.1mm (calculated from 52.8mm x 88.7mm center-to-center post distances plus 3mm post radii). At each of the four corners, add a stand...
use <TkrTestbench.scad> df = .05; base_thick_default = 2; cam_contents(); module cam_contents() { x_space = 45; y_space = 55; translate([-x_space, -y_space, 0]) { cam_tray(); translate([0, 0, base_thick_default]) tkr_label_at("cam_tray", 20); tkr_cross_hairs(30); } transl...
glb/cad_e52b01a1fc32.glb
Create a Digital Power Supply housing and cover designed to hold a power supply board and a digital voltmeter. First, construct the housing as a solid block 26mm wide, 34mm long, and 16.5mm high. Hollow out the center to create an inner cavity 20mm wide and 16.5mm deep, leaving walls 3mm thick. Cut a rectangular slot...
use <TkrTestbench.scad> ps_board_length = 17; ps_board_width = 22.5; ps_board_thick = 1.22; meter_width = 22.5; meter_length = 14.1; meter_height = 10; meter_square_ear = 5; meter_ear_thick = 1; meter_ear_bottom = .7; housing_inner_width = 20; cover_thick = 1; opening_depth = 16.5; wall_thick = 3; slot_depth = 1.5...
glb/cad_41a14c455fe0.glb
Create a set of Tinkertoy Testbench connectors designed for 6.35mm (0.25 inch) diameter dowels. Use a wall thickness of 4.445mm and a standard gripper length of 50.8mm. First, create a full gripper: a cylinder with an outer radius of 7.62mm and an inner radius of 3.175mm (minus a 0.15mm undersize tolerance), with a he...
df = .05; dia_inch = .25; inner_rad = dia_inch * 25.4 / 2; undersize = -.15; thickness_fract = .7; length_fract = 4; gripper_length = inner_rad * length_fract; wall_thickness = inner_rad * thickness_fract; outer_rad = inner_rad + wall_thickness; tkr_contents(); module tkr_contents() { spacing = 6 * outer_r...
glb/cad_60e740f77ff7.glb
Create a Camera Lens Cap Holder consisting of a strap buckle and a lens cap mount. First, construct the buckle base as a flat plate 3mm thick. The outer boundary is a rounded rectangle with a total width of 46mm and a height of 42mm, featuring a central rectangular slot 42mm wide and 34mm tall. The ends of this slot ar...
lens_diameter = 58; mount_height = 2; mount_width = 4; mount_base = 3; mount_lip_height = 0.1; mount_lip_width = 0.2; buckle_gap = 5; buckle_width = 42; buckle_thickness = 4; filled_buckle = false; circle_sides = 70; union() { buckle(); capmount(); } module buckle() { buckle_inner = lens_diameter/2 + m...
glb/cad_8ab738cb3859.glb
Create a Camera Lens Cap Holder consisting of a strap buckle and a lens cap mounting ring. First, construct the buckle base with a height of 3mm. The buckle is a rounded rectangular frame with an outer width of 31mm and an outer thickness of 4mm. The inner cutout of the buckle is 27mm wide and follows a circular arc ...
lens_diameter = 77; mount_height = 2; mount_width = 4; mount_base = 3; mount_lip_height = 0.1; mount_lip_width = 0.2; buckle_gap = 5; buckle_width = 27; buckle_thickness = 4; buckle_split = 5; filled_buckle = false; circle_sides = 70; union() { buckle(); capmount(77, mount_height+0.5); capmount(58, moun...
glb/cad_8b1a63f09140.glb
Create a simple spacer by constructing a hollow cylinder with a total height of 50mm. The outer diameter of the cylinder should be 40mm, and it should have a concentric inner hole with a diameter of 35mm, resulting in a wall thickness of 2.5mm. Ensure the cylinder is perfectly circular and smooth.
diameter = 35; thickness = 5; height = 50; $fn = 1000; difference() { color("purple") linear_extrude(height = height) circle((diameter + thickness)/2, center = true); color("red") translate([0,0,-1]) linear_extrude(height = height+2) circle(diameter/2, center =...
glb/cad_3bb59d5bfe25.glb
Create a Cryptex Ring consisting of several concentric cylindrical components. Start with a central body: a thick-walled cylinder with an outer radius of 38mm and an inner radius of 33mm, and a height of 15.5mm. Divide this body into three stacked segments. Cut a rectangular bolt slot through these segments, measuring ...
$fn=100; number_of_symbols=26; minimum_inner_radius=45; nut_height=6; min_thickness=2; face_height=15; face_thickness=2; sliding_clearance=0.5; fixed_clearance=0.25; bolt_radial_full=6; bolt_radial_notch=3; bolt_tangential=3; false_slot_height=2; segment_overlap=1; outer_body_radius=38; inner_body_radius=33; base_dept...
glb/cad_dbe2e573c859.glb
Create a customizable hair band consisting of a curved, arched band with a rounded cross-section. The main body is formed by a ring with an inner diameter of 140mm and an inner height of 145mm. The cross-section of the band is a rounded profile with a thickness of 3mm and a width of 4mm, created by a curvature radius o...
inner_diameter=140; inner_height=145; width=40; thickness=30; curvature_radius=25; fn = 120; partial_brim = "yes"; ir = inner_diameter/2; ih = inner_height; wi = width/10; cr = curvature_radius/10; tn = thickness/10; angle = 12; layer = 0.25; r1 = ir; r2 = 2*ir; s1 = r1+wi; s2 = r2+wi; a1 = ir * sin(angle); a...
glb/cad_23ab7a5e594f.glb
Create a customizable letter board set consisting of a base board and a collection of individual letter tiles. First, construct the board as a rectangular plate measuring 150mm by 150mm with a thickness of 2mm. On the face of this plate, create a series of horizontal slots to hold the letters. Each slot should be 6mm...
printerMaxWidth = 150; printerMaxHeight = 150; printerErrorMargin = 0.2; printLetters = 1; boardHollow = 0; font = "Arial Rounded MT Bold"; lettersToPrint = [ "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","A","O","I","E" ]; line_depth = 1; line_width ...
glb/cad_fffeab0d5414.glb
Create a cat toy consisting of a hollowed cylindrical shell with a domed top. Start by creating a solid cylinder 60mm tall with a radius of 15mm. Cap the top of this cylinder with a hemisphere that has a radius of 15mm, but is flattened to half its height (7.5mm) along the Z-axis. Inside this main body, create a vert...
difference() { union() { difference() { union() { cylinder(60,15,15); translate([0,0,60])scale([1,1,.5])sphere(15); } hull() { translate([0,0,-.1])cylinder(05,13,0); translate([0,0, 58])cylinder(05,13,0); } } linear_extrude(height = 50, center = false, convexity = 10, twist = 360*2,$fn=50) translate([0,...
glb/cad_692ed73a74f6.glb
Create a cat toy consisting of a capsule-like outer shell with a complex internal screw-shaped void. Start by creating the outer body as a hull of two spheres, each with a radius of 15mm, positioned 60mm apart along the z-axis. Inside this body, create a hollow cavity by removing a hull of two spheres, each with a radi...
difference() { union() { difference() { union() { hull() { translate([0,0,0])scale([1,1,1])sphere(15); translate([0,0,60])scale([1,1,1])sphere(15); } } difference() { hull() { translate([0,0, -1])sphere(13); translate([0,0, 60+1])sphere(13); } translate([0, 0, -25]) linear_extrude(heigh...
glb/cad_0f40f8735c63.glb
Create a cat toy by constructing a capsule-shaped outer shell and hollowing it out. Start by creating a hull from two spheres, each with a radius of 15mm, positioned 60mm apart along the z-axis. Hollow this shape by removing a smaller internal hull created from two spheres with a radius of 13mm, also positioned 60mm ap...
difference() { union() { difference() { union() { hull() { translate([0,0,0])scale([1,1,1])sphere(15); translate([0,0,60])scale([1,1,1])sphere(15); } } difference() { hull() { translate([0,0, -1])sphere(13); translate([0,0, 60+1])sphere(13); } rotate([0,0, 0])translate([16, 0, -25])cylin...
glb/cad_d43b96430f41.glb
Create a Prusa X-End motor and idler holder. Start with a rectangular base block measuring 50mm wide, 40mm deep, and 15.8mm high. At the center of the base, create a vertical housing for linear bearings. This housing is a block 20mm wide, 65mm deep, and 16mm high, featuring a central longitudinal cutout for LM8UU bea...
include <configuration.scad> corection = 1.17; module xendidler(){ difference(){ translate(v = [0,35,24.5]) union(){ difference(){ union(){ translate(v = [-25, -40, -16.6])cube(size = [20,40,15.8], center = true); translate(v = [25, -40, -16.6])cube(size = [20,40,15.8], center = true); } translate(v = [-25, -29, -19...
glb/cad_7caae0174f5f.glb
Create a Prusa X-End motor and idler holder. Start with two main vertical blocks, each 20mm wide, 40mm deep, and 15.8mm thick, positioned symmetrically. In these blocks, create four hexagonal nut traps for M3 hardware: two located at x=±25mm, y=-29mm and two at x=±25mm, y=-50mm. Each trap consists of a 7mm high hexagon...
include <configuration.scad> corection = 1.17; module xendmotor(){ translate(v = [0,17,24.5]) union(){ difference(){ union(){ translate(v = [-25, -40, -16.6])cube(size = [20,40,15.8], center = true); translate(v = [25, -40, -16.6])cube(size = [20,40,15.8], center = true); } translate(v = [-25, -29, -19.7]) cylinder(...
glb/cad_89b38cc3ddee.glb
Create a Customizable Earring Stand by constructing a rectangular bar with a length of 170mm, a height of 10mm, and a width of 3mm. Along the center line of the bar's height, place a series of circular holes, each with a radius of 2mm. These holes should be spaced 10mm apart, starting from the first hole and continuing...
hangerLength = 170; hangerHoleSpacing = 10; holeRadius = 2; hangerHeight = 10; hangerWidth = 3; standWall = 5; hangerConnectorHeight = 5; $fn = 360; for(i = [0:0]) { translate([0, (hangerHeight + 5) * i, 0]) hanger(); } module stand() { linear_extrude(height = standWall, center = true, convexity = 10) i...
glb/cad_0a50b38b1f13.glb
Create a Z rod constraint consisting of a cylindrical housing joined to a rectangular block. Start with a main cylinder that has an outer radius of 14.3mm and a height of 15mm. Bore a central hole through this cylinder with a radius of 11.3mm. To this cylinder, attach a rectangular block measuring 30mm wide, 5mm thick,...
include <configuration.scad> outer_diameter = m8_diameter/2+3.3; shaft_separation = 30; bearing_od = 22.6; bearing_id = m8_diameter; bearing_rodhole_d = bearing_id + 3; module origclamp(){ difference(){ union(){ translate([outer_diameter, outer_diameter, 0])cylinder(h =outer_diameter*2, r = outer_diamete...
glb/cad_ef5016cb32d7.glb
Create a TO-3 transistor footprint jig with a total height of 3mm. The main body is a flat plate formed by the convex hull of three cylinders: a central cylinder with a radius of 12.65mm and two outer cylinders with radii of 6.1mm positioned 30.4mm apart along the x-axis. From this body, remove several cylindrical ho...
width = 38.80; depth = 25.30; height = 3.00; mounting_hole_diameter = 3.90; mounting_hole_to_mounting_hole_gap = 30.40; lead_hole_diameter = 1.80; lead_holes_to_mounting_hole_gap = 17.00; lead_hole_to_lead_hole_gap = 11.00; $fn=64; center_circle_r = depth/2; mounting_hole_r = mounting_hole_diameter/2; mounting_hole_of...
glb/cad_048caff3aab2.glb
Create a Box Corner Strap-tie down Retainer. Start with a solid cylinder that has a radius of 44.21mm and a height of 48mm, centered on the origin. Subtract a smaller concentric cylinder from the center with a radius of 34mm and a height of 38mm. From this hollow cylinder, remove a central cube measuring 40mm on each...
use <utils/build_plate.scad>; strop_h = 40; rendering = 1; build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; translate ([0,0,-(strop_h*1.2)/2]) build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y); re = 32; $fn = re * rendering; intersection () { differ...
glb/cad_934e93d338b8.glb
Create a Pentagonal Icositetrahedron container. This is a 24-faced polyhedron where each face is an irregular pentagon. To construct the main body, use a scale factor of 1.5 for the overall dimensions. The vertices are defined by the coordinates provided in the source, creating a shape that is symmetric but not regul...
s_all = 1.5; sc38 = 0.83; sc_rim = 0.8; rim_scale = 0.993; mark = 6; if (mark==1) translate([0,0,34.82]) rotate([-25.25,-19.95,0]) polyhedron(atoms_twice,faces_one); else if (mark==2) translate([0,0,34.82]) rotate([-25.25,-19.95,0]) polyhedron(atoms_twice,faces_two_b); else if (mark==3) translate([0,0,34.82]) ...
glb/cad_318bad03f2bf.glb
Create a K8200 Trapezoidal Hex nut holder for a Z-Axis by starting with a rectangular block measuring 50mm wide, 37mm deep, and 30mm high. Center a vertical hexagonal hole through the block with a flat-to-flat width of 17mm and a height of 15.6mm, positioned such that it is vertically centered within the block. Directl...
hex_w = 17; hex_h = 15.6; hold_h = 30; hold_w = 50; hold_d = 37; shift = 5; screw_s = 30; shead_d = 10; screw_d = 6; difference() { translate([-hold_w / 2, -hold_d / 2 - shift, 0]) cube([hold_w, hold_d, hold_h]); translate([0, 0, 0]) union() { translate([0, 0, (hold_h - hex_h) / 2]) cylinder(hex_h, d=h...
glb/cad_a01ac5fa8a50.glb
Create two identical, mirrored vertical lift brackets. Each bracket is a flat plate with a total height of 10mm, a width of 25mm, and a total length of 90mm. The main body of each bracket is a rectangular block with a central channel carved out to create a track. This track is 5mm wide and runs along the length of th...
thick=10; width=25; length=90; track_width=5; bolt_spacing=25; include <MCAD/2Dshapes.scad> track_start_x=(width/2)-(track_width/2); track_length_lower=length/24; track_length_upper=length-(2*track_length_lower); module base(thick, width, length, bolt_spacing) { translate([0-width,length-(bolt_spacing+20)-1,0]) li...
glb/cad_009265e2df50.glb
Create a CNC tool holder adapter consisting of two stacked cylindrical sections with a central hole. The main body is a cylinder with an outer diameter of 49mm and a height of 12.7mm. At the base of this main body, add a wider cylindrical lip with an outer diameter of 55mm and a height of 3mm. Remove a central vertic...
OD = 49.0; ID = 11.2; LipThk = 3; LipHt = 3; Ht = 12.7; I_Res = 64; TotHt = Ht + LipHt; LipOD = OD + LipThk + LipThk; $fn = I_Res; LipRad = LipOD / 2; Rad = OD / 2; RadID = ID / 2; module DrawUnion() { union() { cylinder(d=OD,h=TotHt); cylinder(d=LipOD,h=LipHt); } } difference() { ...
glb/cad_ffff0b0ae962.glb
Create a CNC tool holder adapter with a total height of 28mm. Start with a base cylinder 55mm in diameter and 3mm high. On top of this base, add a cylinder 49mm in diameter and 4.42mm high. From that point, create a conical section that transitions from a 49mm diameter at the bottom to a 28.22mm diameter over a height ...
OD = 49.0; ID = 11.2; ID_Above = 43; Ht_Above = 8.38; LipOD = 55; Ht = 28; echo("Ht = ", Ht); I_Res = 64; $fn = I_Res; LipRad = LipOD / 2; Rad = OD / 2; RadID = ID / 2; module ChamOuter() { translate([0,0,3]) difference() { cylinder(d=55,h=28); translate([0,0,-1]) cylinder(d...
glb/cad_097ef2ec060f.glb
Create a calibration test piece for hex nuts and bolts starting with a rectangular base measuring 20mm wide, 65mm long, and 3mm thick. At the coordinates (2, 2, 0), remove a square hole measuring 5mm by 5mm that extends 10mm deep into the base. Along the center line of the length, create three distinct hexagonal nut-...
use <nutsnbolts-master/cyl_head_bolt-drawAllScript.scad> difference() { height=20; translate([-0, -0, 0]) cube([height, 65, 3]); translate([2, 2, 0]) cube([5, 5, 10]); color("green") translate([0, 0, -4]) scale([1.0, 1.0, 1.0]) text("5", font ="Arial"); translate([height*.75-1, 6, ...
glb/cad_f59c4ccd35ba.glb
Create a spool holder consisting of a main base and an attached arm. First, create a rectangular base block measuring 50mm wide, 120mm long, and 20mm high. Remove a central rectangular section measuring 30mm by 110mm and 30mm deep to create a U-shaped channel. In the base, create a circular hole with a radius of 3mm ...
module SKIPtestNutsAndBolts() { $fn = 360; translate([0,15])nutHole(3, proj=2); boltHole(3, length= 30, proj=2); } MM = "mm"; INCH = "inch"; METRIC_NUT_AC_WIDTHS = [ -1, -1, -1, 6.40, 8.10, 9.20, 11.50, -1, 15.00, -1, 19.60, -1, 22.10, -1, -1, -1, 27.70, -1, -1, -1, 34.60, -1, -1, -1, 41.6...
glb/cad_f8b4f52375e1.glb
Create a Solidoodle Aluminum Platform Stabilizer designed to hold an aluminum platform. Start by creating a main U-shaped bracket with an outer width of 118.5mm, a total depth of 28mm, and a height of 24.5mm. The bracket should feature a central rectangular slot to accommodate the platform, measuring 110.5mm wide, 20mm...
visualize=1; platform_outer_width = 110.5 ; platform_outer_height = 20.5 ; platform_aluminum_thickness = 2.5 ; adjust_screw_clearance_bottom = 8; adjust_screw_clearance_top = 6 ; adjust_screw_offset_x = 94/2; adjust_screw_offset_y = 7; stab_extra_thickness = 4 ; stab_slot_depth = 20; stab_total_depth = 20+8; stab_t...
glb/cad_ab9b08d61d09.glb
Create a Solidoodle Aluminum Platform Stabilizer consisting of two identical main brackets and one small cylindrical sleeve. For each main bracket, create a base shape by combining a circle with a radius of 9mm and a circle with a radius of 7mm positioned 25mm away on the X-axis, then extrude this combined profile to...
for (i=[0,30]) { translate([0,i,0]) { difference() { union() { difference() { linear_extrude(height = 3+3.5) { hull() { tr...
glb/cad_84bda92b4283.glb