Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Hillary Ring by constructing a circular band with a square cross-section. The ring should have an inner radius of 8.8mm and an outer radius of 10mm, resulting in a wall thickness of 1.2mm. The width of the band, which corresponds to the depth of the square cross-section, should be 5mm. Ensure the final geometr...
use <h.scad>; h(); module square_ring(height, depth, radius) { rotate_extrude($fn = 100) translate([radius - height, 0, 0]) square([height,depth]); } $fn=100; translate([-3.5, 12.75, -8.1]) rotate([90, 0, 0]) square_ring(1.2, 5, 10);
glb/cad_8b66ecf187a0.glb
Create a clamp arm for a breadboard vise. The assembly consists of a main body and a gripping jaw. First, create the main body as a rectangular block with a width of 5.4mm, a height of 6mm, and a length of 73.5mm. At the end of this block, add a small cylindrical cap with a radius of 4mm and a height of 0.6mm. Next,...
$fn=60; t=3; tt=t+t; breadboardWidth=56.3; breadboardLength=165.1; breadboardHeight=9.6; rodWidth=8; rodLength=breadboardWidth*1.75; baseHeight=8; module rod (rodWidth, rodLength) { rotate([60,0,0]) rotate([0, 90, 0]) cylinder(h=rodLength, r=rodWidth/2, $fn=3); } module outerJaw (length) { difference () {...
glb/cad_79aedafffc33.glb
Create a Y motor mount torsion box consisting of a main mount and a cover. For the main mount, extrude the base profile from the provided dxf file to a height of 8mm. Add four vertical cylinders to this base: one with a radius of 6mm at position [-33.81, 8.20], one with a radius of 8mm at [21.59, 3.81], one with a radi...
include <configuration.scad> ; mount_thickness = 8 ; cover_thickness = 7 ; cyl_height = 24 ; module motor_mount() { difference() { union() { linear_extrude(file="ybracproj_extr.dxf", height = mount_thickness, origin =[0,0]); translate([-33.81,8.20,0]) cylinder(h=cyl_height, r=6) ; translate([21.59,3.81,0]) cylinde...
glb/cad_6cdd424679e9.glb
Create a fan mount for a grow lamp. Start with a central rectangular block measuring 80mm wide, 10mm deep, and 25mm high, centered on the origin. From this main body, remove several geometric sections. First, carve out a central rectangular slot measuring 93mm wide, 6mm deep, and 10mm high. Second, remove a beveled r...
module fanMount() { difference() { union() { cube([80, 10, 25], center = true); } union() { translate([0,3,0]) { cube([93, 6, 10], center = true); } translate([0,5.8,8]) { rotate(a=[-10,0,0]) { cube([93, 10, 10], center = true); } } translate([0,35,-13]) { cylinder(r1=77...
glb/cad_1f6e84fb8197.glb
Create a round knob for a 10mm threaded rod by starting with a sphere that has a radius of 19mm, centered at a height of 17mm along the Z-axis. Inside this sphere, create a vertical hole using a trapezoidal thread with a diameter of 10mm, a pitch of 1.5mm, and a height of 24mm. This threaded section should start at a Z...
use <Threaded_Library\Thread_Library.scad> difference() { translate([0,0,17]) sphere(r=19); translate([0,0,-3]) trapezoidThread(25, 1.5, 5, 0.5, 0.5, 30, true, 0.1, 0.1, 24); translate([0,0,-1]) cube([20,20, 2], true); }
glb/cad_0313ae6a2d6e.glb
Create a Braille Library card by starting with a rectangular base plate measuring 105mm in width, 35mm in height, and 2mm in thickness. Round all four corners of the plate with a radius of 2mm. Center a circular hole with a radius of 1.85mm and a depth of 4mm through the middle of one of the shorter edges. On the fron...
plate_height = 35; plate_thickness = 2; plate_width = 105; radius = 0.25; spacing = 3; distance = 3.75 + spacing; pad = 0.1; round_r = 2; smooth = 45; $fn = 10; module letter(bitmap) { row_size = 2; col_size = 3; bitmap_size = row_size * col_size; function loc_x(loc) = floor(loc / row_size) * spacing + spacing +...
glb/cad_b61edc63df86.glb
Create a 3D model of the Exosite Logo. Start by creating a rectangular base block measuring 400mm in width, 120mm in depth, and 520mm in height. Within this block, carve out three identical capsule-like "bubbles." Each bubble is formed by the Minkowski sum of a sphere with a radius of 70mm and a cube measuring 20mm by...
$fn=20; bubblex=20; bubbley=80; bubblez=90; bubbler=70; bubblespace=20; xdist=(2*bubbler+bubblex+bubblespace); zdist=(2*bubbler+bubblez+bubblespace); connectx=(bubbler+bubblespace+bubblex/2); connectz=(bubbler+bubblespace+bubblez/2); connecty=bubbley/2; filletr=15; scale(0.4){ logo_base(); exosite_logo(nega...
glb/cad_55fae462c2a9.glb
Create a 3D logo of the word "E X O S I T E" using a bold sans-serif font. The main body of each letter should be extruded to a thickness of 2.5mm. On the top surface of each letter, add a secondary extrusion (a cap) with a height of 0.5mm, creating a tiered effect. The letters should be scaled such that the overall te...
thi=2.5; exosite_text(); module exosite_text(){ rotate([90,0,0]) scale(10){ color([0.2,0.2,0.2]) render()difference(){ linear_extrude(height=thi) text("E X O S I T E", font = "Liberation Sans:style=Bold"); letter_caps(); } color([1,1,1])letter_caps(); }} module letter_caps(){ lhi=0.5; trans...
glb/cad_917b6dc67c90.glb
Create a 6-strut sphere tensegrity model. Construct six identical struts, each 150mm long with a square cross-section of 5mm by 5mm. At each end of every strut, create a hinge mechanism consisting of a rotating loop and a wing. The loop is a small block 3mm wide, while the wing is a flat plate that allows the strut to ...
s=150; sd=5; sdl=3; n=2; sigma=180/n; gap=pow(sin(sigma/2),2); dip=gap/(2*tan(sigma/2)); r=sqrt((1+3*gap)/(16*gap)); echo(n=n, sigma=sigma, gap=gap, dip=dip,r=r); P=sqrt((gap-pow(gap,2)+1)/4); sqew=90; t1=sqrt(pow(P,2)+pow(gap/2,2)+P*gap*cos(sqew)); t2=sqrt(pow(P,2)+pow(gap/2,2)-P*gap*cos(sqew)); L=s*dip/cos(sigma/2);...
glb/cad_98bd8a0f0fd7.glb
Create a Pumpkin with Witch Hat. Start by constructing the pumpkin body as a collection of eight overlapping spheres, each with a radius of 25mm, scaled by 0.4 in X and Y to create an oblong, lobed shape. Position these lobes around the center to form a rounded, organic base. Hollow out the center of the pumpkin by rem...
$fn = 30; models = 1; eyes = 1; tooth = 1; module print1() { difference(){ rotate([-90,0,0]){ translate([75,0,0]){ scale([.6,.7,.8]){ hat(); } } } translate([0,-100,-100]){ ...
glb/cad_1dbea599f25d.glb
Create a ventilated case for an Intel MinnowBoard Max. Start with a main rectangular body measuring 160mm x 50mm x 59.5mm. Hollow out the center by removing a volume of 156.5mm x 50mm x 56.5mm, starting from a height of 1.5mm, leaving a thin outer shell. On the side of the case, create a rectangular cutout measuring ...
use <terminalboard_housing2.scad>; $fn=30; d1=37; d2=38; translate([0,114,0]) PS(); *translate([2,2,2]) MBM(); module PS(){ render() difference(){ union(){ difference(){ cube([160,50,59.5]); translate([1.5+2+d1,-1.5,1.5]) cube([160-3-2-d1,50,59.5-3]); tr...
glb/cad_e958e3983001.glb
Create an Intel MinnowBoard Max PCI-E case consisting of a lower case and an upper case. Construct the lower case as a rectangular base with an overall footprint of 156mm by 110mm and a height of approximately 20mm. Within this base, create a large central hollow area to accommodate the electronics, including a speci...
use <terminalboard_housing2.scad>; $fn=50; complete_assembly(); module complete_assembly(){ translate([0,0,5]){ humuboard(); translate([86.5,95.3,-3]) pciepcb(); } translate([154+2-99,0,30]){ mbm(); translate([0,0,-9.7]) #upper_case(); #ssd();...
glb/cad_5439f3bd7876.glb
Create a ventilated case for an Intel MinnowBoard Max. The model consists of a bottom surface, a top surface, and two side walls. The bottom surface is a rectangular plate measuring 91.75mm by 73.1mm with a thickness of 1.2mm. At the four corners of this plate, create screw lugs that are 8mm in diameter with 3mm cente...
$fn=20; $t=0; terminalboard_housing($t=0); module terminalboard_housing(){ terminal_case(); translate([wall_c,wall_c,wall_t+th_z]) *terminal_board(); } tb_x = 90.35; tb_y = 72.1; pcb_t = 1.6; con1_x = 72.5; con2_x = 68.8; con_y = 7.3; con_z = 8.6; con1_xo = 11; con2_xo = 13; hole_xmin = 5.3; hole_ym...
glb/cad_1500d064329d.glb
Create four identical hollow cylindrical spacers. Each spacer must have an outer diameter of 6.4mm, an inner hole diameter of 4.4mm, and a height of 8mm. Arrange these four cylinders in a square grid pattern on a flat plane, positioning them so that their centers are spaced exactly 10mm apart both horizontally and vert...
$fn=60; for (i=[0:1]){ for (j=[0:1]){ translate([i*10,j*10,0]) so1(); }} module so1(){ render() difference(){ cylinder(h=8,d=6.4); cylinder(h=8,d=4.4); } }
glb/cad_9360393ecffb.glb
Create a parametric air duct diameter adapter. Start by constructing a hollow cylindrical base with an outer diameter of 96.4mm and an inner diameter of 96.15mm, extending to a height of 35mm. From the top of this base, create a conical transition section that slopes upward for 50mm, tapering the outer diameter from 96...
major_diameter = 95.9; minor_diameter = 59.7; sleeve_length = 35.0; slope_length = 50.0; wall = 2.0; wire_diameter = 7.0; tol = 0.25; d = 0.01; intersection () { difference() { union () { cylinder(r=major_diameter/2 + tol + wall, h=sleeve_length+d, $fn=120); translate([0, 0, sleeve...
glb/cad_a963466daef8.glb
Create a logo consisting of two blue vertical bars and a red central arrow. Start by placing two blue rectangular prisms, each measuring 6.5mm wide, 20mm tall, and 1mm thick. Position the first bar at x = -13.5 and the second at x = 0, both aligned at the base. Across these bars, place a red rectangular prism measuring...
use <triangles.scad>; module h2(){ union(){ color([0, 0, 1]){ translate([-13.5, 0, 0]) cube([6.5, 20, 1]); translate([0, 0, 0]) cube([6.5, 20, 1]); } color([1, 0, 0]){ translate([-13.5, 7, 0]) cube([20, 6....
glb/cad_23996bf4a819.glb
Create a Jack-O-Lantern by first constructing the pumpkin body from six overlapping spheres, each with a radius of 50mm, scaled by 1 on the X-axis, 1.5 on the Y-axis, and 1.15 on the Z-axis, and rotated in 30-degree increments around the Z-axis. On top, add a stem created from five rotated cubes of 30x30x70mm, centered...
Supports = 0; Face = 1; Render_Quality=50; $fn=Render_Quality; module pumpkin() { for ( z = [0, 30, 60, 90, 120, 150]) { rotate( [0, 0, z] ) { scale([1,1.5,1.15]) { sphere(r=50); } } } module stem() { for (m=[45, 60, 80, 100, 120]) { ...
glb/cad_0fa7508be5ad.glb
Create a Pocket Coin-Op Bottle Opener with a thickness of 6mm. The main body is a rounded trapezoidal shape with a length of 50mm, a base width of 22mm, and side angles of 13.5 degrees. The corners are rounded with radii of 5mm. At the wider end of the tool, create a cutout for a keyring. This slot is 17mm wide and 6m...
base = 22; length=50; baseR1=5; baseR2=5; thickness=6; angle = 13.5; holeBaseWidth=23; holeBaseLoc=25.5; holeLength=19.5; holeR1=2; holeR2=6; slotWidth = 17; slotHeight = 6; slotInset=2.5; coinRadius = 9.5; coinThickness = 1.75; coinOverhang = 3; UseBadgeTop=true; UseBadgeBottom=false; if(UseBadgeTop) { translate...
glb/cad_48eff29d88db.glb
Create a conical tube stand consisting of a hexagonal base and a cylindrical holder. Start by creating a hexagonal base with a diameter of 65mm and a height of 3mm. In the center of this base, create a conical transition that flares upward from a central hole with a diameter of 8mm to a cylinder with an outer diameter ...
tube_diameter = 28.5; tube_height = 25; wall_thickness = 1.5; base_diameter = 65; base_height = 3; chamfer_height = 10; cone_tip = 8; window_size = 2; union(){ difference(){ difference(){ cylinder (h =tube_height + chamfer_height + base_height, r = tube_diameter/2 + wall_thickness); ...
glb/cad_79545711ccd9.glb
Create a cable organizer consisting of a back plate and a series of protruding arms. The back plate is a rectangular slab 32mm high and 2mm thick. From this plate, extend a series of 9 arms that project forward. Each arm is 12mm wide, with a 7mm gap between them. The arms extend to a total depth of 75mm from the back ...
Height = 32; BackThickness = 2; Depth = 75; FilletRadius = 6; ArmThickness = 2; ArmWidth = 12; AngleDegrees = 45; AngledLength = 5; SlotWidth = 7; SlotCount = 9; $fn = 50; HoleStyle = 1; BoltDiameter = 4; BoltHeadDiameter = 8; BoltCount = 3; TotalLength = SlotCount * SlotWidth + ArmWidth * (SlotCount + 1...
glb/cad_a178b172eee7.glb
Create a Geiger Counter Case consisting of a bottom shell, a top cover, a battery lid, and a small button. Construct the bottom shell as a rounded rectangular box with external dimensions of 127.5mm by 76.5mm and a wall thickness of 3mm. Inside, place four cylindrical standoffs of 7mm height and 7mm diameter, position...
board_length = 121.5; board_width = 70.5; board_thick = 1.6; board_height = 16; screws_x_spread = 111; screws_y_spread = 60; screw_size = 3; switch_pos = 43; switch_len = 9; switch_depth = 5; led_pos_x = -32; led_pos_y = 12; led_size = 5; peizo_pos_x = -40; peizo_pos_y = 25; peizo_size = 16; mute_btn_pos_x = -44; ...
glb/cad_6eec14ce01f9.glb
Create a Customizable Cage Adapter Plate by starting with a cylindrical disc that has an outer diameter of 50mm and a thickness of 10mm. Remove a concentric cylindrical hole from the center with a diameter of 20mm. Create eight hexagonal counterbore holes, each with a diameter of 6mm, arranged in two sets of four. Th...
Plate_Thickness = 10; Outer_Diameter = 50; Inner_Diameter = 20; Rod_A_Diameter = 6; Rod_A_Spacing = 26.9; Rod_A_Hole_Type = "Counterbore"; Rod_B_Diameter = 6; Rod_B_Spacing = 30; Rod_B_Hole_Type = "Counterbore"; Relative_Angle= 45; difference(){ make_plate (); make_rod_a_hole(); make_rod_b_hole(); ...
glb/cad_6ead8a197e68.glb
Create a backlash test object by combining three centered rectangular prisms into a single union. First, create a central base cube measuring 20mm by 20mm with a height of 5mm. To this, add a second flat prism measuring 21mm in length, 5mm in width, and 4mm in height, centered on the same axis. Finally, add a third pri...
union() { cube(size=[20,20,5], center=true); cube(size=[21,5,4], center=true); cube(size=[5,21,4], center=true); }
glb/cad_2465a33f2628.glb
Create a GoPro Helmet Torch adapter consisting of two symmetrical mirrored halves. For each half, construct a central cylindrical holder with an outer diameter of 32mm and a height of 60mm. Hollow out the center of this cylinder with a 27mm diameter hole. Cut a 50mm wide by 8mm thick by 30mm deep rectangular notch out ...
module lug() { difference() { union(){ cylinder(3,9,9,true, $fn=100); translate([9,0,0]) cube([18,18,3], true); }; cylinder(3.5,3.2,3.2,true,$fn=100); }; }; module holder() { difference() { rotate([90,90,0])difference() { ...
glb/cad_4a91edca73cb.glb
Create a Dual Bowden E3D holder by constructing a rectangular base block with a width and depth of 10mm and a height of 5mm. From this base, remove a central cylindrical volume with a radius of 2.5mm and a height of 5mm to create a vertical hole. To finish the part, create a rounded rectangular profile with a total siz...
module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } fillet(5,5); module roundedRect(size, radius) { x = size[0]; y = ...
glb/cad_79e5746293d9.glb
Create a dual bowden E3D holder consisting of several cylindrical pins. First, create four identical cylinders, each with a diameter of 3.3mm and a length of 50mm, using a 20-facet resolution. Next, create a fifth cylinder that acts as a screw head; this piece should have a main shaft with a diameter of 3.3mm and a tot...
module fixationX(ecartX, ecartZ, dFixation) { longueur = 50; rotate([-90,0,0]) { translate([ecartX/2,ecartZ/2,0]) { cylinder(h=longueur,d = dFixation, center = false, $fn=20); } translate([ecartX/2,-ecartZ/2,0]) { cylinder(h=longueur,d = dFixation, center = false...
glb/cad_1f204187a605.glb
Create a Dual Bowden E3D holder consisting of two identical components spaced 32mm apart from center to center. For each component, construct a tiered cylindrical base. The bottom tier is a cylinder with a radius of 9.5mm and a height of 3mm. Directly on top of this, center a second cylinder with a radius of 6mm and a ...
$fn=100; module teteE3D() { h1=3; r1=8; h2=6; r2=6; h3=3.7; r3=8; delta = 0.5; union() { translate([0,0,-delta]) cylinder(h=h1+h2+h3+delta*2+3,r=r1+1.5); translate([-7/2,-10-4,-delta]) cube([7,10,delta*2+h1+h2+h3+3]); translate([-3/2,9,-delta]) cube([3,2,delta...
glb/cad_1619619515b1.glb
Create a dual bowden extruder holder consisting of two identical mounting brackets spaced 32mm apart. For each bracket, start with a base plate 50mm wide, 50mm deep, and 3.25mm thick. On this base, center a vertical cylindrical tower with an outer radius of 9.5mm and a total height of 13.7mm. Within this tower, creat...
$fn=100; module teteE3D() { h1=3; r1=8; h2=6; r2=6; h3=3.7; r3=8; delta = 0.5; translate([0,0,-h1]) { difference(){ union() { translate([0,0,-delta]) cylinder(h=h1+h2+h3+delta*2,r=r1+1.5); translate([-7/2,-10-4,-delta]) cube([7,10,delta*2+h1+h2+h3]); tran...
glb/cad_f3802cdffb8f.glb
Create a pen holder for a micro-hexapod consisting of a rectangular base and a cylindrical clamping mechanism. Start with a rectangular base measuring 32mm in width, 5mm in depth, and 10mm in height, centered on the origin. Remove two vertical holes from this base, each with a radius of 1.7mm and a height of 15mm, posi...
pen_dia = 9.5; difference() { translate([0,0,-5]) cube([32, 5, 10], center=true); translate([-12.5, -1.5, -5]) union() { cylinder(r=3.4/2, h=15, center=true, $fn=20); } translate([12.5, -1.5, -5]) union() { cylinder(r=3.4/2, h=15, center=true, $fn=20); } } translate([14,4,-5]) cube([4, 3, 10], cent...
glb/cad_0e1ea7200faa.glb
Create a 3D printer/CNC frame model. Start with a large rectangular base plate measuring 300mm by 240mm with a thickness of 10mm. On top of this base, place a vertical rectangular pillar measuring 10mm by 240mm by 55mm, centered along the width and positioned at the rear. Add a second identical vertical pillar of 10mm ...
translate([9,120,45]) cube([30,12,200],center=true); translate([9,-120,45]) cube([30,12,200],center=true); rotate([90,0,0]) translate([0,120,-118]) cylinder (r=05, h=240); rotate([90,0,0]) translate([0,80,-118]) cylinder (r=05, h=240); rotate([90,0,0]) translate([0,40,-118]) cylinder (r=05, h=240); translate([9,0,...
glb/cad_00ed5a6bca6e.glb
Create a Mini Boombox speaker enclosure. Start by constructing a main rectangular box with internal dimensions of 60mm width, 60mm height, and 50mm depth, using a wall thickness of 2mm. The front face should be thicker, featuring a central circular cutout with a diameter of 49.5mm. Integrate a bass port system consist...
wt = 2; wtE = 1; innerW = 60; innerH = 60; innerD = 50; cutout = 49.5; faceO = 57; faceOR = 68.5; supportThickness = .8; supportSpacing = 10; portLength = 101; portRadius = 5; portALen = min(portLength,innerD+wtE+wt-(portRadius*2)-2); portELen = 2*3.14159*(portRadius+1)*.25; topBoxThickness = 0.8; workingOffset = 25; ...
glb/cad_e8960306cdd8.glb
Create a square tubing filament rack and roller system. First, construct a connector based on a central cube of 25.6mm. From this center, extend square "fingers" (sockets) designed to fit 25.4mm square tubing with 0.065mm walls. Each finger should have an internal dimension of 22.2mm and feature internal veins of 1.5...
part=1; leftfinger=true; tab=true; tabside=1; tabspacer=1; roller=true; guidetype=2; tubesize=6.1; testfinger=true; testshell=true; tsize=25.4; csize=25.6; fsize=22.2; vsize=1.5; tab_ring=35; tab_spacer=12; tab_bore=8.1; tab_thick=5; tab_height=25; shell_inner=25.6; shell_thick=2; shell_lengt...
glb/cad_713580fa843c.glb
Create a J-Head Plate Mount for a geared extruder starting with a rectangular base block measuring 60mm in length, 28mm in width, and 7.4mm in height. At the center of the top face, create a two-stage coaxial hole: a lower cylinder with a 12.2mm diameter and 5.35mm height, and an upper cylinder with a 16.2mm diameter...
$fn = 64; base_x = 60; base_y = 28; base_z = 7.4; nozzle1_d = 12.2; nozzle1_h = 5.35; nozzle2_d = 16.2; mounting_holes_d = 5; mounting_holes_pitch = 48; screw_holes_d = 3.4; screw_holes_pitch = 19; screw_holes_cutout_round_d = 6.5; screw_holes_cutout_round_h = 6; screw_holes_cutout_nut_d = 6.5; screw_holes_cutout_n...
glb/cad_42d87ab77959.glb
Create a filament feeder by starting with a rectangular base measuring 22mm by 30mm with a thickness of 2mm. On top of this base, add a rectangular block measuring 18mm by 2mm by 4mm, positioned 4mm from the left edge and 12mm from the bottom edge. Attached to the side of this block, add a vertical wall measuring 3mm w...
module centerfilament() { difference() { union() { cube([22, 30, 2]); translate([4, 12, 2]) cube([18, 2, 4]); translate([4, 12, 2]) cube([3, 12, 4]); } translate([8.5, 21, 0]) cylinder(h=2, r=1,6, $fn=24); translate([13.5, 4.5, 0]) cube([6, 4, 2]); translate([13.5, 14, 0]) cube([6, 4, 2]); } } ...
glb/cad_8772c0d7e2f4.glb
Create a filament feeder consisting of a rectangular base and a guiding tower. Start with a base plate measuring 22mm wide, 30mm deep, and 2mm thick. Remove two rectangular slots from this base: one measuring 6mm by 4mm centered at x=13.5mm and y=4.5mm, and another measuring 6mm by 4mm centered at x=13.5mm and y=14mm, ...
module centerfilament() { difference() { union() { cube([22, 30, 2]); translate([4, 12, 2]) cube([18, 2, 4]); translate([4, 12, 2]) cube([3, 12, 8]); translate([7, 12, 2]) cube([5, 8, 8]); translate([8.5, 21, 2]) cylinder(h=8, r=4, $fn=24); } translate([8.5, 21, 0]) cylinder(h=10, r=1.8, $fn=24...
glb/cad_a8d3525a3563.glb
Create a customizable bolt blank consisting of a hexagonal head and a cylindrical shaft. For an M3 size, create a hexagonal prism for the head with a height of 2.12mm and a width of 6.01mm. Add a tolerance of 0.5mm to the head's dimensions to ensure a proper fit. Attached to this head, create a cylindrical shaft with ...
M3 = [3, 6.01, 2.12]*1; M4 = [4, 7.66, 2.92]*1; M5 = [5, 8.79, 3.65]*1; M6 = [6, 11.05, 4.15]*1; M7 = [7, 12.12, 4.95]*1; M8 = [8, 14.38, 5.45]*1; M10 = [10, 18.9, 6.56]*1; M12 = [12, 21.1, 7.68]*1; M14 = [14, 24.49, 8.98]*1; M16 = [16, 26.75, 10.18]*1; M18 = [18, 30.14, 11.72]*1; M20 = [20, 33.53, 12.72]*1; M22 = [22,...
glb/cad_1a4ea5f960b9.glb
Create a RepRap Prusa extruder fan mount. Start with a main cylindrical body 13mm high with a radius of 22mm. Add a flat rectangular base plate centered on the cylinder that is 40mm wide, 40mm deep, and 2mm thick, positioned 1mm above the bottom. Integrate several vertical support walls: two walls 1mm thick and 40mm ...
module fanmount() { difference() { union() { cylinder(h=13, r=22); translate([0,0,1]) cube([40, 40, 2], center=true); translate([-23.25,0,11]) cube([46.5, 40, 2]); translate([21.25, 20, 11]) cube([2, 20, 11]); translate([-23.25, 20, 11]) cube([2, 20, 11]); translate([23.25, 0, 0]) cube([1, 40, ...
glb/cad_ee9af415bc32.glb
Create a Babel fish earpiece consisting of an earphone plug and a decorative fish tail. Start by building the earphone plug: create a cylinder with a diameter of 6.1mm and a height of 1.7mm, then place a second cylinder on top of it with a diameter of 5.1mm and a height of 1.7mm. Drill a central hole through both cylin...
earphone_base_length = 1.7; earphone_base_diameter = 5.1; earphone_catch_diameter = earphone_base_diameter + 1; earphone_catch_length = 1.7; earphone_hole_diameter = earphone_base_diameter - 1.5; earphone_hole_length = earphone_base_length + earphone_catch_length; tail_breadth = 20; tail_length = 15; tail_thickness = ...
glb/cad_e6bb3feb9af1.glb
Create a Metal Car carriage for a Vslot 2020 system. The base is a flat plate with a uniform thickness of 4mm. Construct the main body by combining several rectangular sections: a central block measuring 52.75mm by 40.29mm, a smaller rectangular extension of 20mm by 10mm positioned at the left, and a 15mm by 20mm blo...
include <MCAD/motors.scad> yspacing = 40.29; xspacing = 52.75; halfx = xspacing / 2; halfy = yspacing / 2; $fn=128; magspacing = 50; halfmag = magspacing / 2; theheight = 4; module theholes(extra=0) { translate([0-halfx,0-halfy,0]) cylinder(r=2.5+extra,h=theheight); translate([0+halfx,0-halfy,0]) cylinder(r=...
glb/cad_b0e0745a1472.glb
Create a foot for a tube leg consisting of a cylindrical base and an insertion plug. Start by creating a solid cylinder for the base with a radius of 15mm and a height of approximately 11.5mm. This base should be sliced diagonally at a 13-degree angle relative to the horizontal plane. Attached to the top of this base...
R1=15; R2=13.5; InsertLen=20; TaperLen=5; SolidLen=3; WT=0.4*8; Angle=13; MinL=5; FtHgt=tan(Angle)*R1*2+5; rotate([180-Angle,0,0]) translate([0,0,-(FtHgt+MinL)/2]) union() { difference() { cylinder(r=R1,h=FtHgt,$fn=100); translate([0,0,(FtHgt+MinL)/2]) rotate([Angle,0,0]) cylinder(r=R1*2,h=FtHgt*2,$fn=100);...
glb/cad_0c6cac551f70.glb
Create a Basic 'S' Filament Clip by constructing two identical vertical cylindrical pillars and connecting them with a central bridge. Each pillar must be a cylinder with a radius of 1.75mm and a height of 7mm. From each cylinder, remove a smaller concentric core with a radius of 0.96mm to create a hollow tube. Additio...
filamentSize = 1.75; filamentSizeFactor = 1.1; clipHeight = 7; manifoldOffset = 0.05; $fs = 0.5; for (o = [-1,1]){ translate([o * filamentSize * 1,0,0]) { difference() { cylinder(r=filamentSize, h=clipHeight); translate([0,0,-manifoldOffset]) cylinder(r=filamentS...
glb/cad_8d6feb066d09.glb
Create a bone-shaped cookie cutter. The main body is formed by a central rectangle 50mm wide by 36mm high, with four circular joints at the corners. Each corner joint is a circle with a 16mm radius. The outer wall of the cutter is 10mm thick vertically, with a hollow interior created by an identical bone shape scaled d...
jointradius = 16; xdist=25; ydist=12; textdepth=5; cutdepth=10; cutwidth=1; module boneshape_outer() { union() { translate(v=[xdist,ydist,0]) { circle (r=jointradius, center=true); } translate(v=[-xdist,ydist,0]) { circle (r=jointradius, center=true); } translate(v=[xdist,-ydist,0]) { circle (r=joi...
glb/cad_de06ca79a274.glb
Create a customizable spoon consisting of a cup and a handle. For the cup, create a hollowed-out conical shape by forming a hull between two cylinders: a top cylinder with a radius of 24mm and a bottom cylinder with a radius of 20mm, both with a height of 10mm. Hollow this out by removing a smaller hull created from cy...
CutToSee = false; UpperRadius = 24; LowerRadius = 20; Height = 10; Thickness = 5; HandleSize = 70; HandleHole = 5; HandleThickness = 5; HandleInBottom = false; TextOffsetX=0; TextOffsetY=-1.5; TextOffsetZ=0; TextLowRelief = true; Text = "RafaelEstevam.Net"; $fn = 75; doAll(); module doAll(){ SpoonCup(); X...
glb/cad_78edf4e21423.glb
Create a plug hook designed to hold a US wall socket plug. Start by constructing a hollow ring with an outer radius of 15mm and an inner radius of 13mm, and a height of 10mm. Cut a thin slot into this ring: create a rectangular opening 0.25mm wide and 7mm long, starting from the outer edge and extending 11mm deep into ...
module polarizedplug(delta){ cube([1.524+delta,6.4+delta,18.25]); translate([12.7,0,0])cube([1.524+delta,6.4+delta,18.25]);} difference(){ union(){ translate([-10,10,0])cube([20,20,12]); difference(){ cylinder(r=15,h=10); cylinder(r=13,h=11); translate([14.6,3,0])rotate([0,0,42])cube([0.25,7,11]);}} translate([-7.3,3...
glb/cad_334b914542be.glb
Create a shotglass by constructing a composite outer shell and hollowing out the center. First, form the main body by joining two cylinders centered on the same axis: one cylinder with a height of 45mm, a radius of 6mm, and a 50-facet resolution, and a second, shorter cylinder with a height of 20mm and a radius of 20mm...
$fn=50; difference () { union () { cylinder (45,6,25, center= true); cylinder (46,20,0, center= true); } translate ([0,0,4]) { cylinder (46,6,25, center= true); } }
glb/cad_786856b4a057.glb
Create a Mouth Cable Bobbin bottom part. Start with a main cylindrical body that has an outer radius of 18mm and a height of 15mm. The top and bottom edges of this cylinder should be rounded with a radius of 0.75mm. At the center, remove a vertical cylindrical core with a radius of 8mm that extends through the entire ...
rMbobbin=18; rmbobbin=8; zBobbin=15; rCable=1; part = "bottom"; precission=80; depth=1.5; rMink=2; module easyBobbinBottom(){ difference(){ union(){ minkowski(){ cylinder(r=rMbobbin-depth/2, h=0.01, center=true, $fn = precission); sphere(r=depth/2, $fn = precission); } minkowski(){ cylinder(r=rmbobbin-depth/2-0.4...
glb/cad_975dc4594e48.glb
Create an Arduino Chassis for a Drawing Robot. Start with a main base plate that is 144mm long, 94mm wide, and 2.4mm thick, featuring rounded corners with an 8mm radius. On the top surface, add two longitudinal rails that are 144mm long, 4mm wide, and 4mm high, positioned symmetrically along the length of the plate. I...
$fn = 64; baseThickness = 2.4; cornerRounding = 8; plateOffset = 7; railOffset = 16; M3holeDia = 3.5; M3nutDia = 6.5; holeOffset = M3holeDia * 1.2; batteryOffset = 20; cassis_wid = 94; cassis_len = 144; xArduinoOffset = 20; yArduinoOffset = -4; penDiameter = 15.0; penRadius = penDiameter / 2; baseLen = 34.5; baseWi...
glb/cad_70b39972cba1.glb
Create a bed levelling calibration tool consisting of a series of concentric square frames extruded to a height of 1mm. The outermost square has a total size of 180mm by 180mm. Each square frame must have a wall thickness of 1mm and be separated from the next inner square by a gap of 1mm. Continue creating these nested...
module concentric_squares(bed_size=150, line_width=0.8, spacing=1.2, height=1) { linear_extrude(height = height, center = true) { for (i = [0:line_width+spacing:bed_size-line_width]) { difference() { square(size = bed_size-i, center=true); square(size = bed_size-i-line_width, center=true); } } ...
glb/cad_2b7258a9f2e9.glb
Create a Parabolic Microphone Dish. Start by creating a solid cylinder with a total height of 130mm and a radius of 14mm (calculated as half of the 8mm microphone diameter plus 20mm overall thickness). Within this cylinder, carve out a parabolic bowl. The bowl's interior should be a paraboloid with a height of 123mm ...
echo("------------------------ BEGIN ------------------------"); TotalHeight = 130; OverallThickness = 20; BaseThickness = 7; MicHolderThickness = 2; MicHeight = 13.5; MicDiameter = 8; Precision = 100; MicFocalPoint = MicHeight; MicHolderDiameter = MicDiameter+(2*MicHolderThickness); difference() { BowlHeight = ...
glb/cad_ab8d0a2205ff.glb
Create a Pencil Lift and Page Turner by first constructing a hexagonal cap. Start with a regular hexagon with a distance of 15mm between opposite vertices and extrude it to a height of 20mm, applying a 45-degree twist to the extrusion so the top face is rotated relative to the bottom. Hollow out the center of this cap ...
$fn = 150; module hexagon () { intersection() { polygon([[7.5,0],[0,7.5],[-7.5,0],[0,-7.5]]); rotate([0,0,45]) polygon([[7.5,0],[0,7.5],[-7.5,0],[0,-7.5]]); } } module cap() { difference() { linear_extrude(height=20, center=false, convexity=10, scale=3, twist = 45) hexagon(); translate([0,0...
glb/cad_1f55ad7343f3.glb
Create an adapter for a pillow block for an open linear bearing by starting with a solid rectangular block measuring 10mm wide, 34mm long, and 3mm thick. Remove three identical slots from this block to create holes. Each slot consists of a central rectangular cutout measuring 3mm wide, 5mm long, and 5mm deep, centered ...
module otverstie(y) { translate ([5,y,1,]) cube([3,5,5], center=true); translate ([5,y-2.5,-1]) cylinder(r=1.5,h=5,$fn=50); translate ([5,y+2.5,-1]) cylinder(r=1.5,h=5,$fn=50); } difference (){ cube([10,34,3]); otverstie(8); otverstie(26); otverstie(17); }
glb/cad_a01f50eba6b5.glb
Create a Key IR holder consisting of two intersecting rectangular blocks. First, create a vertical block 40mm long, 11mm wide, and 3mm deep. Intersect this with a horizontal block that is 10mm high, 11mm wide, and 20mm deep. From this combined structure, remove several geometric sections to create holes. Carve a centr...
h_vert = 40; w_vert = 11; d_vert = 3; id_nut = 3.3; od_nut = 7; h_nut = 4; len_screw = 20; dia_screw = 3.3; h_horiz = 10; w_horiz = 11; d_horiz = 20; w_chassis = 3.2; h_vhole = h_vert - 2*id_nut - (h_horiz - w_chassis)/2; w_vhole = id_nut; d_vhole = 10; w_chassis = 3.2; h_hhole = w_chassis; w_hhole = w_hori...
glb/cad_f67eafdc6310.glb
Create a Truckbot Electronics Kit mount for a single board computer. Start with a base rectangular plate measuring 84mm by 24mm with a thickness of 3mm, centered on the origin. Remove two cylindrical holes from this base, each with a radius of 2mm and a height of 10mm, positioned at x = 36.5mm and x = -36.5mm, both a...
sbcholder1070(); module board(){ difference() { union() { difference() { cube([84, 20, 3], true); translate([36.5,3.5,-5])cylinder(10, 2, 2); translate([-36.5,3.5,-5])cylinder(10, 2, 2); } translate([13.65,0,2])cylinder(5,6,6,true); translate([-13.65,0,2])cylinder(5,6,6,true); } translat...
glb/cad_ab8a4e719295.glb
Create a finger holder for a soprano recorder. Start by creating a main cylinder with a radius of 10.8mm and a height of 12mm. Within this cylinder, remove a central vertical hole with a radius of 8.8mm and a height of 15mm to create a ring. To this ring, add a protruding tab formed by the convex hull of two smaller cy...
module fingerholder(); difference(){ difference(){ difference(){ union(){ cylinder(h = 12, r =8.8+2,$fn=48); translate([5, 0, 0]) hull(){ translate([10, 0, 0]) cylinder(h = 2, r =5,$fn=48); translate([0, 0, 0]) cylinder(h = 2, r =5,$fn=48); } } translate([0, 0, -1]) ...
glb/cad_ccdae8978ea2.glb
Create a Wall-E support for an HC-SR04 ultrasonic sensor. Start by placing two cylinders, each with a diameter of 13mm and a height of 15mm, positioned 25.5mm apart from center to center along the x-axis. Connect these two cylinders with a central rectangular block measuring 25.5mm in length, 8mm in width, and 15mm in ...
$fs=.2; difference(){ union(){ cylinder(d=13,h=15); translate([25.5,0,0]) cylinder(d=13,h=15); translate([12.75,2.5,7.5]) cube(size=[25.5,8,15],center=true); } translate([0,0,-1]) cylinder(d=2,h=17); translate([25.5,0,-1]) cylinder(d=2,h=17); }
glb/cad_989a5799958a.glb
Create a Wall-E support for an HC-SR04 ultrasonic sensor. The model consists of two symmetrical mirrored halves. For one half, create a base structure by combining a cylinder with a radius of 18mm and a height of 10mm, and a rectangular block measuring 20mm by 3mm by 10mm. From this combined shape, remove a central rec...
rotate([0,180,0]) difference(){ union(){translate([8.75,1,0]) cube([8,5,5]); rotate([0,0,12]) difference(){ translate([0,.8,0]) scale([1.14,1.14,1]) union(){ difference(){ translate([-8,5,0]) cube(size=[20,3,10]); translate([10,6,-1]) cube(size=[3,3,12]); } translate([10,6,0]) cylinder(r=2,h=10,$fn=16...
glb/cad_938dba0bf2f4.glb
Create a Wall-E support for an HC-SR04 ultrasonic sensor. The model consists of two mirrored, symmetrical base sections. For each section, start with a primary cylindrical base of radius 18mm and height 10mm. From this cylinder, remove a central rectangular block measuring 40mm by 30mm by 12mm, centered at a height o...
rotate([0,180,0]) difference() { union() { translate([8.75,2.5,0]) cube([8,5,10]); rotate([0,0,12]) difference(){ translate([0,.8,0]) scale([1.14,1.14,1]) union(){ difference(){ translate([-8,5,0]) cube(size=[20,3,10]); translate([10,6,-1]) cube(size=[3,3,12]); } translate([10,6,0]) cylinder(r=2,h=10...
glb/cad_771f7620b89d.glb
Create a GeoDome Hub by constructing a central body based on a five-way symmetrical arrangement. Start with a base shape formed by the convex hull of five cylinders, each with a radius of 5.5mm and a height of 18mm, rotated around the X-axis at 72-degree intervals (0, 72, 144, 216, and 288 degrees) and tilted 16 degree...
$fn=36; strutradius = 4.5; strutholelength =18; strutwalls = 1; screwrad = 1.2; module base () { hull (){ for ( i= [0:5]) { rotate (a=[i*(360/5),0,0]){ rotate (a=[0,16,0]){ cylinder (r=strutradius+strutwalls,h=strutholelength,center=false ); }}}}; } module hole...
glb/cad_d72b83b3632e.glb
Create a GeoDome Hub by constructing a solid body formed from the convex hull of four cylinders. Each cylinder has a radius of 5.5mm and a height of 18mm. Position these cylinders by rotating them around the center point: one at 0°, one at 60°, one at 180°, and one at 120°. To create the strut sockets, remove four conc...
$fn=36; strutradius = 4.5; strutholelength =18; strutwalls = 1; screwrad = 1.2; module base () { hull (){ rotate (a=[0,0,0]){ rotate (a=[0,18,0]){ cylinder (r=strutradius+strutwalls,h=strutholelength,center=false ); }} rotate (a=[60,0,0]){ rotate (a=[0,18,0]...
glb/cad_da302b102c0e.glb
Create a GeoDome Hub by constructing a solid body formed from the convex hull of four cylinders. Each cylinder has a radius of 5.5mm and a height of 18mm. Position these four cylinders such that they are rotated and spaced equally around a central axis: one at 0 degrees, one at 60 degrees, one at 120 degrees, and one a...
$fn=36; strutradius = 4.5; strutholelength =18; strutwalls = 1; screwrad = 1.2; module base () { hull (){ rotate (a=[0,0,0]){ rotate (a=[0,18,0]){ cylinder (r=strutradius+strutwalls,h=strutholelength,center=false ); }} rotate (a=[60,0,0]){ rotate (a=[0,16,0]...
glb/cad_1b6bd0b4817f.glb
Create a GeoDome Hub by constructing a central body formed from the convex hull of six cylinders. Each cylinder must have a radius of 5.5mm and a height of 18mm. Position these six cylinders radiating from the center, rotated at 60-degree intervals around the Z-axis (0, 60, 120, 180, 240, and 300 degrees). Each cylinde...
$fn=36; strutradius = 4.5; strutholelength =18; strutwalls = 1; screwrad = 1.2; module base () { hull (){ rotate (a=[0,0,0]){ rotate (a=[0,18,0]){ cylinder (r=strutradius+strutwalls,h=strutholelength,center=false ); }} rotate (a=[60,0,0]){ rotate (a=[0,18,0]...
glb/cad_7a861975c809.glb
Create a Desk Cable Cap consisting of two separate parts: a base rim and a fitting insert. First, create the base rim as a thin flat disc with a diameter of 115mm and a height of 1.2mm. Remove a concentric cylindrical core from this disc, leaving a wall thickness of 10mm around the edge, resulting in a ring with an i...
include<TextGenerator.scad>; HoleInDesk = 95; RimOutside = 10; Height = 2.4; Thickness = 1.2; TableThickness = 30; $fn=74; module holecover(){ difference() { union(){ cylinder(d=HoleInDesk+(RimOutside*2), h=Thickness); translate([0,0,Thickness]) cylinder(d=HoleInDesk, h=TableThickness); ...
glb/cad_57d22810a8a5.glb
Create a rubber stamp consisting of a rectangular base and a rounded handle. Start by creating a rectangular base plate 30mm wide, 40mm high, and 1mm thick, with rounded corners using a radius of 2mm. On top of this base, center a handle that transitions from a cylindrical neck into a spherical top. The handle's struct...
FILE = "rocket.dxf"; WIDTH = 30; HEIGHT = 40; LENGTH = 50; BORDER = false; base = 1; $fn=40; diameter = min( WIDTH, HEIGHT ); corners = max( WIDTH, HEIGHT ) / 20; hull() { translate( [ 0, 0, LENGTH / 4 ] ) cylinder( h = 1, d = diameter / 1.8, center = true ); linear_extrude( height = base ) offset( r=cor...
glb/cad_afcb7ab8eff3.glb
Create a rubber stamp consisting of a base plate and an extruded image. Start by creating a rectangular base plate measuring 30mm in width and 40mm in height, with a thickness of 2mm. Apply rounded corners to this plate with a radius of 1.5mm. Centered on the bottom face of this plate, extrude a rocket-shaped image to ...
FILE = "rocket.dxf"; WIDTH = 30; HEIGHT = 40; LENGTH = 50; BORDER = false; image_height = 1; base_height = 2; dxf_width = dxf_dim( file=FILE, name="total_width", origin=[0, 0], scale=1 ); dxf_height = dxf_dim( file=FILE, name="total_height", origin=[0, 0], scale=1 ); corners = max( WIDTH, HEIGHT ) / 20; image_shrink...
glb/cad_7f546fac1c48.glb
Create a Transport Tray for tabletop miniatures consisting of three parallel lanes of varying widths. The overall tray height is 7mm and the total length is 150mm. Construct the first lane with a width of 40mm, the second with a width of 50mm, and the third with a width of 60mm. For each lane, create a central longit...
lane1 = "30mm_Privateer_Press"; lane1_space = 40; lane1_hmod = 0.0; lane1_vmod = 0.0; lane2 = "40mm_Privateer_Press"; lane2_space = 50; lane2_hmod = 0.0; lane2_vmod = 0.0; lane3 = "50mm_Privateer_Press"; lane3_space = 60; lane3_hmod = 0.1; lane3_vmod = 0.1; tray_length = 150; tray_height = 7; cutouts ...
glb/cad_061560c7e36c.glb
Create a filament tube holder by starting with a rectangular base plate measuring 20mm in width and 27mm in height, with a thickness of 3.25mm and corners rounded to a 3mm radius. Centered along the length of the plate, create a cylindrical cutout with a diameter of 4mm that passes completely through the block from end...
use <MCAD/units.scad> use <MCAD/nuts_and_bolts.scad> $fn = 64; d = 0.1; tubeOutsideDiameter = 4; wallThickness = 2.5; width = 20; height = 27; holeDistanceZ = 18; holeDistanceY = 11; nutSize = 3; rounding = 3; plateThickness = (tubeOutsideDiameter+wallThickness)/2; module cutout(size, height) { union() { nutHo...
glb/cad_81af2eed7c3b.glb
Create a Tamping Stand by starting with a solid rectangular block measuring 50mm wide, 60mm deep, and 60mm high, centered on the origin. Carve out a central vertical slot that is 30mm wide and 30mm deep, extending through the entire height of the block. Within the remaining interior space, remove a cylindrical section ...
difference(){ cube(size = [50,60,60], center = true); translate ( [0,0,-10]) { cube(size = [40,50,60], center = true); } translate ( [0,-20,19]) { cylinder (h=13, r=15, centre=true); } translate ( [0,-35,30]) { cube(size = [30,30,140], center = true); } }
glb/cad_c0bcaed485a3.glb
Create a 58mm Coffee Tamper Holder by starting with a base rectangular plate measuring 60mm wide, 65mm deep, and 5mm thick. Center a circular hole with a radius of 29mm through this base plate. Attached to the back of this plate, create a vertical wall that is 60mm wide, 3mm thick, and 40mm high. On the inner face of t...
difference() { cube(size = [60,65,5], center = true); cylinder(h=13, r=29, center = false); } translate ( [0,32.5,17.5]) { cube(size = [60,3,40], center = true); translate ( [0,2,18.5]) { cube(size = [60,5,3], center = true); translate ( [0,3,-3.5]) { cube(size = [60,2,10], center = true); } } }
glb/cad_80f5d14d2528.glb
Create a Proxxon MF70 CNC Conversion Kit part by starting with a solid cylinder 38mm in diameter and 14mm high. Hollow out the center of this cylinder by removing a smaller cylinder with a 35mm diameter and a height of 20mm, positioned so that it starts 6mm from the bottom, leaving a 6mm thick base. From the center of ...
difference(){ cylinder(r=19, h=14, $fn=100); translate([0,0,6]) cylinder(r=17.5, h=20, $fn=100); translate([0,0,3]) cylinder(r=9.5/2, h=20, $fn=6); cylinder(r=3, h=20, $fn=100); translate([13,0,0]) cylinder(r=2, h=20, $fn=100); }
glb/cad_4ca7081b34a9.glb
Create a Proxxon MF70 CNC conversion kit base by starting with a rectangular block measuring 60mm in length, 30mm in width, and 3mm in height. Center a large vertical cylindrical hole with a radius of 12mm through the entire thickness of the block. Add two smaller vertical cylindrical holes, each with a radius of 2mm a...
difference(){ union(){ translate([-30,-15, 0]) cube([60,30,3]); } cylinder(r=12, h=50, $fn=100); translate([38/2,6,0]) cylinder(r=2, h=12, $fn=100); translate([-38/2,6,0]) cylinder(r=2, h=12, $fn=100); translate([49.5/2,0,0]) cylinder(r=2, h=70, $fn=100); translate([-49.5/2,0,0]) cylinder(r=2, h=70, $fn=1...
glb/cad_b234e2dbdc9d.glb
Create a Proxxon MF70 CNC conversion kit mount. Start by constructing a base shape that is mirrored across the X-axis to create a symmetrical part. The primary structure is formed by a hull connecting two cylinders with a radius of 5mm and a height of 10mm, positioned at [0, 6, 0] and [0, -15, 0], combined with a secon...
union(){ rysuj(); mirror([1,0,0]){ rysuj(); } } module rysuj(){ difference(){ union(){ hull(){ hull(){ translate([0,6 ,0]) cylinder(r=5, h=10, $fn=100); translate([0,-15,0]) cylinder(r=5, h=10, $fn=100); } translate([-49.5/2,0,0]) hull(){ translate([0,6,0]) cy...
glb/cad_d5a677dab7ad.glb
Create a Proxxon MF70 CNC conversion kit base plate by starting with a rectangular block measuring 60mm in width, 40mm in depth, and 3mm in height. Center a large vertical cylindrical hole with a radius of 12mm through the entire thickness of the block. On the center line of the plate, place two smaller vertical cylind...
difference(){ union(){ translate([-30,-20, 0]) cube([60,40,3]); } cylinder(r=12, h=50, $fn=100); translate([38/2,4,0]) cylinder(r=2, h=12, $fn=100); translate([-38/2,4,0]) cylinder(r=2, h=12, $fn=100); translate([49.5/2,0,0]) cylinder(r=2, h=70, $fn=100); translate([-49.5/2,0,0]) cylinder(r=2, h=70, $fn=1...
glb/cad_5338d19342b5.glb
Create a Proxxon MF70 CNC conversion kit part by constructing a symmetrical mirrored assembly of two identical components. For one side, start with a central vertical block formed by the convex hull of two cylinders with a 5mm radius and 10mm height, positioned 30mm apart at [0, 15, 0] and [0, -15, 0]. Extend this shap...
union(){ rysuj(); mirror([1,0,0]){ rysuj(); } } module rysuj(){ difference(){ union(){ hull(){ hull(){ translate([0,15,0]) cylinder(r=5, h=10, $fn=100); translate([0,-15,0]) cylinder(r=5, h=10, $fn=100); } translate([-49.5/2,0,0]) hull(){ translate([0,10,0]) c...
glb/cad_170bc90d0a0f.glb
Create a Proxxon MF70 CNC conversion kit base by starting with a rectangular block measuring 64mm in width, 30mm in depth, and 3mm in height. Center this block on the origin. From this base, remove several cylindrical holes that pass completely through the 3mm thickness. First, create a large central circular hole with...
difference(){ union(){ translate([-32,-15, 0]) cube([64,30,3]); } cylinder(r=12, h=50, $fn=100); translate([56.2/2,8.85,0]) cylinder(r=2, h=12, $fn=100); translate([-56.2/2,8.85,0]) cylinder(r=2, h=12, $fn=100); translate([49.5/2,0,0]) cylinder(r=2, h=70, $fn=100); translate([-49.5/2,0,0]) cylinder(r=2, h...
glb/cad_8d1dc6d36a22.glb
Create a Proxxon MF70 CNC Conversion Kit part consisting of two mirrored symmetrical halves. For one half, start with a complex base formed by the convex hull of three cylinders: one with a 5mm radius at [0, 20, 0], one with a 2mm radius at [-14, -8, 0], and a secondary hull connecting cylinders of 5mm radius at [0, 15...
union(){ rysuj(); mirror([1,0,0]){ rysuj(); } } module rysuj(){ difference(){ union(){ hull(){ hull(){ translate([0,20,0]) cylinder(r=5, h=10, $fn=100); translate([-14,-8,0]) cylinder(r=2, h=10, $fn=100); } translate([-54/2,0,0]) hull(){ translate([0,15,0]) ...
glb/cad_5971f48beb5b.glb
Create a Finial Base adapter by starting with a flat, solid cylinder 22mm in diameter and 2mm thick. Add a second cylinder to this base, centered on the same axis, with a diameter of 22mm and a height of 12.2mm, but oriented horizontally so it extends from the center of the base. From this combined form, remove a cen...
HarpWireDiameter = 4.5; BoltDiameter = 6 + .5; BoltHeadDiameter = 12.2; ShadeRingDiameter = 22; Thickness = 2; $fn = 200; difference() { union() { cylinder(r=ShadeRingDiameter/2, h = Thickness); translate([Thickness + (BoltHeadDiameter/2),0,0]) { rotate([0,-90,0]) cylinder...
glb/cad_01b0edb81fd9.glb
Create a star-shaped container with five points. The outer perimeter is defined by a star with a radius of 30mm and arm lengths of 10mm. Extrude this star shape to a total height of 15mm. To form the interior of the box, create a concentric star-shaped void by offsetting the outer perimeter inward by 0.8mm. This void...
n = 5; r = 30; l = 10; h = 15; w = 0.8; b_l = 1; r_f = 0; Select = 0; module poly(n_sides, r, l, rnd = 0) { r = r - l; theta = 360/n_sides; pts_1 = [for (i = [0:theta:360]) [r*sin(i),r*cos(i)]]; h = r*cos(theta/2); s = r*sin(theta/2); pts_2 = [[-s,0],[0,l+(r-h)],[s,0]]; if (rnd =...
glb/cad_da0bec22a709.glb
Create a 3D model of an E3D V5 Hotend. Start with a central vertical assembly. At the base, place a cylinder with a radius of 8mm and a height of 3.7mm. Above this, add two more cylinders centered on the same axis: one with a radius of 8mm and a height of 2.75mm, and another with a radius of 8mm and a height of 1.25mm....
rotate([0,180,0]) translate([0,0,-68.5]) e3dv5(res=100); module e3dv5(tol = 0.0, res = 20, translucency = 1.0) { color("LightGrey", translucency) union() { translate([0,0,19]) cylinder(r=7.5+tol, h=31, $fn=res); cylinder(r=6+tol, h=19+tol, $fn=res); ...
glb/cad_6bcd7b29a373.glb
Create a threaded closure for a horse head bookend. Construct a metric external screw with a diameter of 24mm, a pitch of 2mm, and a total length of 5mm. To create a flat head or slot on the top of the screw, remove two intersecting rectangular volumes from the top of the cylinder: one centered at a height of 7mm with ...
use <threads.scad> difference() { metric_thread (diameter=24, pitch=2, length=5, internal=false, n_starts=1, thread_size=-1, groove=false, square=false, rectangle=0); translate([0,0,7]) cube(size=[20,3,10],center=true); translate([0,0,7]) cube([3,20,10],center=true); }
glb/cad_fb05eab7a12e.glb
Create a worm gearbox consisting of a worm gear, a spur gear, and a protective cage. First, create a worm gear with a length of 20mm and a pitch radius of 5mm. The worm should feature a right-hand trapezoidal thread with a 30-degree thread angle and a central shaft hole with a radius of 1mm. Next, create a spur gear...
use <../Threaded Library/Thread_Library.scad> use <../MCAD/involute_gears.scad> print = "worm"; print = "spur"; print = "shim"; print = "cage"; print = "nothing"; draft = false; $fs = draft ? 1 : 0.1; $fa = 2; clearance = 0.15; q = 0.02; PI = 3.141592653589793; shaft_radius = 2.0 / 2; spur_teeth = 10; spur_pitch_r...
glb/cad_78d0d106fca2.glb
Create a Ribbon Data Cable Maker consisting of two interlocking shell parts: a base and a top fastener. First, construct the base. Create a main rectangular body with a width of 4.5mm, a length of 22mm (calculated as 1mm wall thickness plus 8 pins at 2.5mm each), and a height of 10mm. Hollow out the center of this bod...
part="both"; pins=8; height=10; wallThickness=1; header=2.5; cableThickness=1; cutAdjustmentX=0.2; cutAdjustmentY=0.2; cutAdjustmentZ=0.3; outerBodyX=(2*wallThickness)+header; outerBodyY=(2*wallThickness)+(header*pins); outerBodyZ=height; innerBodyX=outerBodyX-(2*wallThickness)+(2*cutAdjustmentX); innerBodyY=ou...
glb/cad_2ac58543529f.glb
Create a Customizable Phone Cupholder Mount consisting of a tapered base and an angled phone cradle. Start by creating a hollow truncated cone for the cupholder base with a height of 52mm, a bottom radius of 24.67mm, and a top radius of 37mm. The walls should be 3mm thick. At the top of this base, integrate a phone ho...
sizeFactor = 1.10; cupHolderDiameter = 74; cupHolderDepth = 52; standAngle = -15; standDepth = 15; standHeight = 70; phoneHolderThickness = 2; standWidth = 83 + (phoneHolderThickness * 2); module cupHolder() { difference() { difference() { wallWidth = 3; translate([0,0,0])...
glb/cad_5b52983987e9.glb
Create a replacement suction cup hook consisting of a curved arm and a straight stem. Start by creating a toroidal ring with a major radius of 16mm and a cross-section radius of 2.15mm. Trim this ring so that it forms a partial arc covering 250 degrees of a circle. At one end of this arc, attach a cylindrical stem with...
include <MCAD/units/metric.scad> use <MCAD/general/sweep.scad> use <MCAD/general/facets.scad> use <MCAD/shapes/cylinder.scad> use <MCAD/shapes/2Dshapes.scad> use <MCAD/array/along_curve.scad> $fs = 0.4; $fa = 1; hook_radius = 32 / 2; hook_cross_section_radius = 4.3 / 2; hook_circle_angle = 250; stem_length = 15.5; st...
glb/cad_77eb71b0406b.glb
Create a replacement suction cup hook consisting of a spherical head, a cylindrical plug, and a curved arm. Start by creating a sphere with a diameter of 8mm. Attached to this sphere, extend a cylindrical plug with a diameter of 5mm and a height of 5mm, centered on the sphere. From the end of this plug, extend a long c...
hook_diameter = 4; plug_diameter = 5; ball_diameter = 8; plug_height = 5; hook_height = 11; curve_diameter = 20 - hook_diameter; include <MCAD/units.scad> use <MCAD/2Dshapes.scad> module hook () { intersection () { rotate_extrude () translate ([curve_diameter / 2, 0, 0]) circle (d=hook_d...
glb/cad_5fa45841e1fc.glb
Create a replacement hook for a suction cup mount by constructing a rectangular block. The base of the object is a square with side lengths of 400mm, extruded to a height of 100mm. Ensure the geometry is centered on the X and Y axes. Rotate the final shape 180 degrees around the X-axis to orient it correctly for its pu...
use <suction-cup-hook.scad> include <MCAD/units.scad> rotate (180, X) intersection () { suction_cup_hook (); mirror (Z) linear_extrude (h=100) square ([400, 400], center=true); }
glb/cad_7881efbc6184.glb
Create a replacement hook for a suction cup assembly by constructing a rectangular block. The base of the object should be a square with side lengths of 400mm, extruded to a height of 100mm. Ensure the final geometry is a solid, flat-sided prism with sharp edges and a uniform thickness throughout the extruded volume.
use <suction-cup-hook.scad> intersection () { suction_cup_hook (); linear_extrude (h=100) square ([400, 400], center=true); }
glb/cad_a571cd5f719c.glb
Create two identical RAMPS Prusa Mount Clips. For each clip, start with a base plate that is 3mm thick, 65mm long, and 18mm wide. The front of the plate should be a semi-circle with a radius of 7mm. Cut a centered, U-shaped channel through the length of the plate that is 8mm wide and 7mm deep, leaving a 3mm thick wall ...
thickness = 3; bolt_hole_r=2; distance_from_rod=10+4; translate([0,30,0]) rampsclip(); rampsclip(hdiff=81.28-74.92); module rampsclip(h1=distance_from_rod, h2=distance_from_rod + 48.26, hdiff=0) { mount_w = hdiff+(thickness*2)+(bolt_hole_r*2); difference() { mountclip(w=mount_w,l=h2+bolt_hole_r+thickness); ...
glb/cad_afd8f0216584.glb
Create a phone stand keychain by constructing a main body and two identical locking components. The main body is a flat plate 52.5mm long, 22mm wide, and 6.4mm thick. The outer edges of the plate are rounded, formed by a hull between two 3mm diameter cylinders at the front and two 10mm diameter cylinders at the rear. ...
$fn=50; module big(h,l){ d1=3; d2=10; d3=5; t=3; difference(){ hull(){ translate([d1/2,(h-d1)/2,0])cylinder(h=6.4,d=d1); translate([d1/2,-(h-d1)/2,0])cylinder(h=6.4,d=d1); translate([l-d2/2,(h-d2)/2,0])cylinder(h=6.4,d=d2); translate([l-d2/2,-(h-d2)/2,0])cylinder(h=6.4,d=d2); ...
glb/cad_c7febdf3f8ee.glb
Create a Drink Name Tag consisting of a flat rectangular body with an integrated circular hook. The main body is 2mm thick, with a total length of 83mm (70mm for the name area plus a 13mm wide hook section) and a total width of 18mm. Round the two far corners of the rectangular body with a 3mm fillet radius. At the le...
echo(version=version()); font = "Liberation Sans"; tt_numerical_slider=2; tag_thickness=tt_numerical_slider; hd_numerical_slider=10; hook_diameter=hd_numerical_slider; hw_numerical_slider=4; hook_width=hw_numerical_slider; ls_numerical_slider=10; letter_size=ls_numerical_slider; label_text_box="SSaggers"; label=l...
glb/cad_b8ff6cb6941b.glb
Create a 3D Möbius strip with a diameter of 50mm, a width of 20mm, and a thickness of 10mm. The shape should be constructed as a single continuous surface that twists 180 degrees as it completes one full revolution, resulting in a single-sided object. To achieve the specific geometry, define the surface using 50 discre...
ns = 50; Thickness= 10; Diameter = 50; Width = 20; Mobius(); module Mobius(){ for (i=[1:ns]) { ang1=360/ns*(i-1); ang2=360/ns*(i); v=Width/Diameter; PM=[pMb( v,ang1)+nMb( v,ang1)*Thickness/2, pMb(-v,ang1)+nMb(-v,ang1)*Thickness/2, pMb( v,ang2)+nMb( v,...
glb/cad_4422fc64d960.glb
Create an oil drum model by starting with a central cylinder that has a radius of 286mm and a height of 851mm. Add two identical toroidal rings around the exterior of the main cylinder; one positioned at the top and one at the bottom. Each ring should be created by rotating a circle with a radius of 12.5mm around the c...
module bring(){ rotate_extrude() translate([286, 0, 0])circle(r= 12.5); }; module OilBarrel(){ $fn=100; cylinder(h= 851 , r=286 , center = true); translate([-200,0,430]) cylinder(h= 12.5 , r= 37, center = true); translate([200,0,430]) cylinder(h= 12.5 , r= 15, center = true); translate([0,0,425.5])bring(); translate...
glb/cad_05def1419990.glb
Create a spool holder consisting of a U-shaped hanger and a cylindrical rod. Start by constructing the hanger as a block with a total thickness of 20mm, a width of 47mm, and a height of 35mm. Carve a central slot through the hanger that is 8mm wide and 29mm high, leaving 6mm walls on each side. At the top of this slot,...
hanger_width = 47; inner_tab_height = 15; slot_thickness = 8; hanger_height = 35; rod_length = 75; rod_diameter = 25; rod_height = 18; rod_pitch_angle = 1.0; hanger_wall = 6; stopper_margin = 6; stopper_thickness = 4; $fn=120; hanger_thickness = slot_thickness + 2*hanger_wall; stopper_diameter = rod_diamet...
glb/cad_2e4f554bc9e6.glb
Create a privacy wall mockup consisting of a rectangular frame filled with diagonal slats. Construct the outer frame using four beams with a cross-section of 1.5 by 3.5 inches. Position two vertical beams 60 inches apart, each 100 inches tall. Connect these with two horizontal beams spanning the 60-inch width, placed a...
twoXFourDim = [1.5, 3.5]; fourXFourDim = [3.5, 3.5]; fiveQuarterDim = [9/8, 5.5]; slat_overhang = .75; fudge = .25; module TwoXFour(length) { Dim = twoXFourDim; cube([Dim[0], Dim[1], length], center=true); } module FourXFour(length) { fourXFourDim = fourXFourDim; cube([Dim[0], Dim[1], length], center=true); } m...
glb/cad_0f6401c39aec.glb
Create a bath plug consisting of a wide circular cover and a narrower cylindrical stem. Start by creating the cover as a cylinder with a height of 7mm, a top radius of 35mm, and a bottom radius of 30mm to create a tapered bevel. Attached to the center of the cover's underside, add a cylindrical stem with a height of 7m...
r_major=35; r_minor=20.5; h_major=7; h_minor=7; b_major=5; t_minor=2; cylinder(h_major,r_major,r_major-b_major); difference(){ translate([0,0,-h_minor])cylinder(h_minor,r_minor,r_minor); translate([0,0,-h_minor])cylinder(h_minor,r_minor-t_minor,r_minor-t_minor); }
glb/cad_63993406c95c.glb
Create a parametric bookshelf consisting of a series of intersecting horizontal and vertical ribs that form a spherical shell section. The overall visible radius of the sphere on the wall is 400mm, and the material thickness for all components is 9mm. The shelves extend 200mm outward from the wall. Construct the model...
wall_radius = 400; mat_thickness = 9.0; shelve_depth = 200; shelves = 6; cut_loss = 0.0; overcut = 0; 3dview = 1; sd = shelve_depth; rv = wall_radius; r = (pow(rv,2)+pow(sd,2)) / (2 * sd); h = mat_thickness-cut_loss; $fn=30 *1; HORIZ = true; VERT = false; module outline() { translate([0,0,rv]) { difference...
glb/cad_c91add743a6b.glb
Create a Bungee Cord Connector consisting of two identical symmetrical pieces. Each piece is based on a scaled sphere with a radius of 8.5mm, flattened on the top and bottom by 2.5mm to create a more oblong, pill-like profile. For each piece, carve a central longitudinal hole with a radius of 5.5mm that runs through t...
cordrad=5/2; medrad=6.5/2; tightrad=3/2; looserad=11/2; mainrad=looserad+3.5; width1=32; width2=20; clipz=2.5; clipz2=2.5; clipx=4; middlesep=2.5; ridgewidth=2; ridgeheight=1.2; gripperholerad=looserad; wx=width1-(middlesep/2+gripperholerad*2)-1.5; $fa = 0.01; $fs = 2; $fs = 1; function pythag(x, y)=sqrt(x*x+y*y); ...
glb/cad_f9d00361f828.glb
Create a set of Flush Mount Quick Change Platen Brackets consisting of two mounting brackets and four eccentric retainers. For the brackets, create two flat plates with a thickness of 2.4mm. Each bracket features a central slot and a stop arm. The central slot is 6mm wide and 3.4mm in diameter, with rounded ends. The...
part = "All"; bed_y_mount_height = 209; platen_thick = 2.4; slot_length = 6; wall_thick = 1.5; hole_diam = 3.4; stop_length = 40; eccentric_diam = 18; eccentric_thick = 1.0; use <utils/build_plate.scad>; show_build_plate = "Yes"; build_plate_selector = 3; build_plate_manual_x = 200; build_plate_manual_y = ...
glb/cad_f138060a7809.glb
Create a coffee scoop by combining a bowl and a handle. Start with a bowl formed by a cylinder with a radius of 21mm and a height of 12mm, topped with a sphere of the same 21mm radius centered at a height of 12mm. Create a handle extending from the side of the bowl using a series of rectangular blocks: first, a base bl...
difference() { union() { translate([0,0,12]) sphere(21); cylinder(h=12,r=21); translate([19,-6,0]) cube([36,12,2,]); translate([19,-6,0]) cube([25,2,6]); translate([19,4,0]) cube([25,2,6]); translate([19,-6,4]) cube([17,2,5]); translate([19,4,4]) cube([17,2,5]); translate([19,-6,5]) cube([10,2,5]); t...
glb/cad_b83f5be457ca.glb
Create a GT2 Belt Lock by starting with a solid rectangular block measuring 4.8mm in width, 8.9mm in depth, and 15mm in height. Carve out a rectangular hole from the bottom center of the block that is 2.6mm wide and 6.5mm deep, extending it from the base up to a height of 13.8mm. This leaves a wall thickness of 1.2mm o...
inner_x=2.6; inner_y=6.5; height=15; module BeltLock(x_in, y_in, h, $fn=100) { wall = 1.2; difference(){ cube([x_in+wall*2,y_in+wall*2,h]); translate([wall, wall,0])cube([x_in,y_in,h]); translate([(x_in+wall*2)/2,(y_in+wall*2)/2,h-wall]) hull(){cube([x_in,y_in,0.01], cent...
glb/cad_e50021375591.glb
Create a rectangular block for the X-Belt Block Part 1125 with overall dimensions of 10mm width, 20mm length, and 6mm height. Center the block on the origin. From this main body, remove two cylindrical holes and two rectangular slots. Position the two cylindrical holes with a radius of 1.5mm and a height of 6.3mm; plac...
difference(){ translate([0,0,3]){ cube([10,20,6],center=true);} translate([0,-7.7,3]){ cylinder(h=6.3, r=1.5,$fn=150, center=true);} translate([0,7.7,3]){ cylinder(h=6.3, r=1.5,$fn=150, center=true);} translate([0,3.5,3]){ cube([6.5,3.6,6],center=true);} translate([0,-3.5,3]){ cube([6.5,3.6,6],center=true);} }
glb/cad_dadb766a3949.glb