Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Gantry Counterweight Pulley assembly consisting of two separate parts: a pulley wheel and a pulley mount. For the pulley wheel, create a cylinder with a height of 10mm and a radius of 21mm. Subtract a toroidal groove from the outer edge to create a track for a 5mm rope; this groove is formed by rotating a cir...
printSelection = "Both"; ropeDiameter = 5; shaftBoltSize = 10; mountBoltSize = 10; pulleyHeight = ropeDiameter+5; pulleySize = 16; print_part(); module print_part() { if (printSelection == "Pulley") { translate([0,0,pulleyHeight/2]) Pulley(); } else if (printSelection == "Pulley Mount") { translate([0,2*...
glb/cad_4800f82a37ae.glb
Create a 24x2 LCD display panel housing consisting of a front panel and a back mounting plate. For the front panel, create a rounded rectangular base with dimensions 126mm x 63.3mm x 11mm. Center a rectangular cutout of 103.8mm x 28.5mm to accommodate the LCD screen. Add four screw holes at the corners of the LCD are...
include <configuration.scad> error_factor=.05; lcd_scrn_w=103.8; lcd_scrn_h=28.5; lcd_scrn_t=4.47; lcd_scrn_offset_x=1.18; lcd_scrn_offset_y=9.95; lcd_board_t_adj=5; lcd_board_w=120+3+3; lcd_board_h=60.3; lcd_board_t=9-lcd_scrn_t+lcd_board_t_adj; lcd_hole_d=3.2; lcd_hole_offset=1; lcd_holespace_w=110.5+lcd_hole_d...
glb/cad_1635fc812149.glb
Create a filament box socket consisting of a central cylinder and two mounting brackets. The central cylinder has a diameter of 32mm and a length of 315mm. For the mounting brackets, create a base shape that is a hull of a cylinder with a radius of 19mm and height of 5mm, and two smaller cylinders with a radius of 5....
hex_nut_width=6.9; screw_hole_diameter=4.0; backlash=0.5; box_bottom_width=215; box_bottom_length=300; box_top_width=250; box_top_length=330; box_height=230; tube_diameter=32; tube_length=315; tube_center_height=140; template_tube_center_width=80; template_bottom_width=100; template_thickness=3; template_drill_diame...
glb/cad_7ea5101ddaee.glb
Create a webcam mount for a heated bed corner. Start with a main cubic block measuring 23mm x 23mm x 28mm. From the top face, remove a central square section of 12mm x 12mm that extends through the entire height of the block. On the top surface, carve a groove to accommodate a bed wing. This groove should be 20mm wid...
part = "test"; cut_thickness = 3.75; outer_size = 23; epsilon = 1; if (part == "bracket") { bed_corner_mount(cut_thickness=cut_thickness); clip_to_top(outer_size) move_to_top(outer_size) camera_tab(); } else { bed_corner_mount(cut_thickness=cut_thickness, cut_depth=5); } module camera_tab() {...
glb/cad_d917254b56e4.glb
Create a coin battery backpack holder for a CR2032 battery. The main body is a cylinder with a radius of 11.6mm and a height of 4.4mm. Hollow out the center of the cylinder to create a circular well with a radius of 10.8mm and a depth of 3.2mm. On the side of this cylinder, create a rectangular cutout that is 10.8mm ...
battery = "CR2032"; custom_radius = 10; custom_width = 3; edge = 0.8; radwire = 0.6; rack_x = 1; rack_dist_x = 20; rack_y = 1; rack_dist_y = 15; use <utils/build_plate.scad>; use <MCAD/fonts.scad> build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; build_plate(build_plate_sele...
glb/cad_d0de5ee4628d.glb
Create a 3D model of a logarithmic spiral composed of 50 small cylinders acting as dots, connected by thin rectangular segments. Each cylinder dot must have a diameter of 5mm and a height of 5mm. Position the cylinders along a logarithmic spiral path where the radius increases exponentially as the angle increases. Th...
module dx(x=1) { translate([x,0,0]) children(); } module dy(y=1) { translate([0,y,0]) children(); } module dz(z=1) { translate([0,0,z]) children(); } module sx(x=1) { scale([x,1,1]) children(); } module sy(y=1) { scale([1,y,1]) children(); } module sz(z=1) { scale([1,1,z]) children(); } module ...
glb/cad_7cdac8e85121.glb
Create a 3D Archimedean spiral composed of a sequence of connected small cylinders. The entire model should be scaled such that the base units are in millimeters. Place 50 small cylinders, each with a diameter of 5mm and a height of 5mm, along a spiral path. The radius of the spiral must increase linearly with the ang...
module dx(x=1) { translate([x,0,0]) children(); } module dy(y=1) { translate([0,y,0]) children(); } module dz(z=1) { translate([0,0,z]) children(); } module sx(x=1) { scale([x,1,1]) children(); } module sy(y=1) { scale([1,y,1]) children(); } module sz(z=1) { scale([1,1,z]) children(); } module ...
glb/cad_2a8b6906c0db.glb
Create a Radus mini extruder geared assembly consisting of two interlocking gears with a 1:4 ratio. First, create a small gear with 20 teeth, a thickness of 5mm, and a hub diameter of 20mm. The gear should have a central bore with a radius of 2.55mm. Within this gear's hub, incorporate a 3mm diameter hole and three h...
include<MCAD/involute_gears.scad>; $fn=64; distance_between_axles = 48.585; gear1_teeth=20; gear2_teeth=gear1_teeth*4; t1 = gear1_teeth; t2 = gear2_teeth; cp = 360*distance_between_axles/(t1+t2); g1p_d = t1 * cp / 180; g2p_d = t2 * cp / 180; g1p_r = g1p_d/2; g2p_r = g2p_d/2; het=5; hep=4; heb=8; sd=20; ec...
glb/cad_fd76e7e503cf.glb
Create a Mini Kossel JHead 30mm PEEK fan mount. Start with a central hexagonal prism with a radius of 16mm and a height of 30mm, positioned at [0, 2 - 15, 0]. Add a rectangular base block measuring 32mm by 23mm with a height of 4.6mm, centered at [0, -1.5, 2.3]. Remove a large cylindrical section from the top with a ...
include <configuration.scad>; barrel_radius = 8; barrel_height = 30; groove_radius = 6; groove_height = 4.6; fan_offset = 15; module hotend_fan() { difference() { union() { translate([0, 2 - fan_offset, 0]) cylinder(r=16, h=30, $fn=6); translate([0, -1.5, groove_height/2]) cube(...
glb/cad_7ca936868b35.glb
Create a mobile phone scanning stand consisting of a central rectangular frame and two matching side supports. Start with a central rectangular block measuring 98mm wide, 188mm long, and 12mm thick. Hollow out the center of this block to create a recessed tray with rounded interior corners and a flat bottom. Construc...
difference() { translate([0,0,6])cube([98,188,12],center=true); minkowski () { translate([0,0,14])cube([68,132,4],center=true); sphere(10,$Fn = 50); } minkowski () { cube([58,118,22],center=true); cylinder(r=6,22); } translate([-50,85,6])rotate([0,90,0])cylinder(100,3.3,3.3); translate([-50,-85,6])rotate([0,90,0])cylin...
glb/cad_c020dbf4e97e.glb
Create a spare part consisting of a main body with a hollowed-out section and a protruding block. Start with a base block that is 45.44mm long, 29.6mm wide, and 15mm high. At one end, integrate a rectangular section that is 40.7mm long, 27.9mm wide, and 12.6mm high. Within this rectangular section, create two vertica...
$fn=30; module unterteil(){ difference(){ union(){ cube ([40.7,27.9,12.6]); } translate([2.6,2.6,-10])cube ([36.7,22.6,22.7]); } difference(){ translate([5+2.3,-5+2.3,0]) cylinder(h=12.6,d=10); #translate([5+2.3,-5+2.3,3]) cylinder(h=12.6,d=3.8); }...
glb/cad_63c85c820c38.glb
Create an ice cube tray freezer hanger by constructing a main rectangular base and two vertical end hooks. Start with a base plate that is 128mm long, 45mm wide, and 50mm high. At each end of the 128mm length, add a vertical hook structure. Each hook is a rectangular block 9mm wide, 9mm deep, and 50mm high. To create t...
difference() { union() { union() { cube([128, 45, 50]); translate([-7,40,0]) difference() { cube([9,9,50]); translate([3,-1,-1]) cube([3,6,60]); } } translate([126,40,0]) difference() { cube([9,9,50]); translate([3,-1,-1]) cube([3,6,60]); } } translate([2,3,-20]) cu...
glb/cad_929c28fc9749.glb
Create a two-part drill bit handle consisting of a base piece and a grip. First, create the base piece as a cylinder with a height of 14mm and a diameter of 23.2mm. Bore a central hole through the entire length with a diameter of 5.3mm to accommodate the drill bit. On the outer wall, create two opposing rectangular s...
Drill_Bit_Length=14; db_dmax=8.5; db_dmin=2; Handle_Length=40; Handle_Diameter=23.2; Set_Screw_Diameter=3.2; Set_Screw_Nut_Thickness=2.7; Set_Screw_Nut_Diameter=5.9; sw=13; so=0.6; sh=4; sr=0.6; Resolution=40; hl=Handle_Length; hd=Handle_Diameter; db_l=Drill_Bit_Length; ss_d=Set_Screw_Diameter; ss_n_t=Set_Screw...
glb/cad_aa616a2986c0.glb
Create a Kabel Clip, a small cable labeling clip with overall dimensions of 20mm in length, 10mm in width, and 10mm in height. Construct the body using two identical horizontal arms. Each arm consists of a rectangular base measuring 20mm long, 10mm wide, and 5mm high. From each base, remove a semi-cylindrical channel...
lang=20; hoch=10; stift=2; translate([0,hoch, hoch/2-0.2]) cube([lang,1,0.2]); difference() { translate([0,0, 0]) cube([lang,hoch,hoch/2]); translate([-1,hoch/2,hoch/2]) rotate(90, [0, 1,0]) cylinder (r=hoch*2/5, $fn=40,h=lang+1, center = false); translate([lang*15/24,0, 0]) cube([lang*5/24,hoch*1/10,hoch]); tran...
glb/cad_5ff27b9a7d7c.glb
Create a geometric cigar ashtray by starting with a solid cube that is 140mm wide, 140mm deep, and 40mm high. From the center of the top face, remove a cylindrical volume with a radius of 50mm and a height of 40mm, extending downwards to create a large central bowl. To create the cigar rests, remove two perpendicular c...
$fn=80; difference(){ translate([-70,-70,0]){ cube([140,140,40], center=false); } translate([0,0,6.5]){ cylinder(r=50, h=40); } translate([0, 75, 40]){ rotate(90,[1,0,0]){ cylinder(r=12.5, h=150); } } translate([-75, 0, 40]){ rotate(90,[0,1,0]){ cylinder(r=12.5, h=150); } } }
glb/cad_1ad137ac156e.glb
Create a Girder Box consisting of a main container and a matching lid. For the box, start with a circular base of 50mm radius and 2.5mm thickness. From this base, extend 8 helical girders upwards to a total height of 80mm. Each girder should have a thickness of 4mm and rotate 0.25 turns around the center. The paths o...
part = "both"; radius=50; thick=4; xmax=50; xmin=-35; ymax=35; ymin=-30; fn=100; height=80; nhelixes=8; turns=0.25; lid_guard = 3; preview_tab = ""; $fn=fn; step = 360/fn; div = (360*turns) / height; rev = height / (360 / div); print_part(); module print_part() { if (part == "first") { highlight("Box"...
glb/cad_4fd5dcdacf45.glb
Create a Raspberry Pi 2 basic case mount with an overall height of 20mm and a wall thickness of 2.4mm. The main body is a rectangular shell with rounded corners, measuring approximately 90.8mm by 61.8mm. On the bottom face, create a grid of rectangular ventilation slots. These vents are arranged in ten rows of varyin...
Ht=20; Thk=2.4; $fn=48; MntHt=20; M3=4; module Outer() { linear_extrude(height = Ht, center = false, convexity = 10)polygon(points = [[0.00,4.55],[0.12,3.55],[0.47,2.58],[1.01,1.72], [1.72,1.01],[2.58,0.47],[3.55,0.12],[4.55,0.00], [86.25,0.00],[87.26,0.13],[88.22,0.47],[89.08,1.02], [89.79,1.73],[90...
glb/cad_e97f5172f9b0.glb
Create a Raspberry Pi 2 basic case mount. Start with a rectangular base plate with an outer wall 5.1mm high. The main body is a hollowed-out shell with an outer perimeter of approximately 90.8mm by 61.8mm and an inner wall thickness of approximately 1.6mm. In the base, create a grid of ventilation slots consisting of ...
$fn = 32; M4 = 4.75; M3 = 3.8; M3Nut = 6.9; module Mount() { linear_extrude(height = 2.4, center = false, convexity = 10)polygon(points = [[80.05,61.8],[81.05,61.9],[82,62.19],[82.88,62.66],[83.66,63.29], [84.29,64.07],[84.76,64.95],[85.05,65.91],[85.15,66.9],[85.26,67.85], [85.57,68.75],[86.08,69.56],[86...
glb/cad_623383726329.glb
Create a Raspberry Pi 2 basic case monitor mount. Start with a rectangular base plate that has an outer wall 5mm thick and an inner wall 7mm thick. The overall footprint is approximately 90mm by 60mm. At each of the four corners, create a mounting pillar. Each pillar should consist of a cylindrical base with a diamete...
$fn=32; M4=4.75; M3 = 3.8; M3Nut = 6.9; module Mount() { linear_extrude(height = 2.4, center = false, convexity = 10)polygon(points = [[0.00,3.03],[-0.05,2.40],[-0.19,1.78],[-4.69,-12.93],[-4.89,-13.45],[-5.15,-13.94], [-5.48,-14.39],[-5.86,-14.80],[-6.29,-15.15],[-6.68,-15.39],[-7.14,-15.70],[-7.57,-16.06], ...
glb/cad_63489fc8f77b.glb
Create a Boxing Fist model by combining a base support with four finger-like protrusions. Start with a base consisting of a truncated cone with a bottom radius of 12mm, a top radius of 18mm, and a height of 12mm, centered at (12, 0, 0). Above this base, place a rectangular block measuring 24mm by 24mm by 18mm, position...
module dedo(){ union(){ translate([0,0,10]){cylinder(r=5,h=20);} translate([0,0,30]){rotate([-90,0,0]){cylinder(r=5,h=20);}} translate([0,20,16]){rotate([0,0,0]){cylinder(r=5,h=14);}} translate([0,0,30]){sphere(5);} translate([0,20,30]){sphere(5);} translate([0,20,16]){sphere(5);} translate([0,0,10]){sph...
glb/cad_dfc4b06ce43d.glb
Create a mounting base for a bowden extruder. Start with a central rectangular plate measuring 20mm wide, 40mm long, and 3mm thick. At the center of this plate, create two M3 screw holes passing through the 3mm thickness, spaced 20mm apart along the length of the plate. Extend the model by adding two rectangular block...
include <nutsnbolts/cyl_head_bolt.scad>; screw_dist1 = 20; airtripper_holes_dist = 60; foot_dist = 10; foot_diameter = 6 / 2; foot_length = 6; difference() { union() { difference() { cube([20,40,3], center= true); translate([0,-10,2]) hole_through(name="M3", l=10); translate([0, -10 + screw_dist1, 2]) ...
glb/cad_3d59565c9ade.glb
Create a Volcano Solid Valve Funnel by constructing a tiered, hollowed-out conical adapter. Start with a solid base cylinder 27.5mm in diameter and 9mm high. Atop this, add a conical transition section that tapers from the 27.5mm base diameter up to a 20.5mm diameter over a height of 12mm. Crown the structure with a fi...
$fn=128; difference() { union() { cylinder(9,27.5,27.5,center=false); translate([0,0,9]) cylinder(12,27.5,20.5,center=false); translate([0,0,21]) cylinder(9,16,16,center=false); translate([0,0,30]) cylinder(1,16,15,center=false); } union() { translate([0,0,-10]) cylinder(17.5,25,25,center=false...
glb/cad_54e0d5d6398a.glb
Create a Moineau Pump consisting of a stator and a rotor. For the stator, create a hollow shell with a height of 120mm. The internal cavity is formed by two circles of radius 10mm, positioned 10mm apart center-to-center, and extruded vertically with a twist of 450 degrees. The stator wall thickness is 1.28mm. For the ...
pumping_animated(); rotation = $t*360; R1=10; R2=10; H=120; wall=2*0.4*1.6; top=3; c1=0.2; c2=0.0; phi=450; $fn=40; v=4*R1*R2*H*360/phi; echo(str("Pumping speed is ",v/1000," cc per revolution")); module rotor(){ union(){ linear_extrude(height=H,convexity=20,twist=2*phi) translate([R1/2,0,0]) circle(r=R2); translate...
glb/cad_3e99e810f0ec.glb
Create a Double Fan Mount for a Sanguinololu board. Start with a rectangular base measuring 121mm by 52mm with a thickness of 3mm. On top of this base, build a housing that is 100mm long, 50mm wide, and 80mm high, leaving a 1mm margin from the base edges. Inside this housing, carve out a central rectangular void meas...
difference(){ union(){ cube(size=[121,52,3]); translate([1,1,3])polyhedron(points=[ [100,51,0],[100,-1,0],[0,-1,0],[0,51,0],[50,38.5,80]],triangles=[[0,1,4],[1,2,4],[2,3,4],[3,0,4],[1,0,3],[2,1,3]]); } translate([1,1,13])cube(100); translate([1,51,3])cylinder(r=7.5,h=50); translate([101,51,3])cylinder(r=7.5,h=...
glb/cad_ebb4de25f338.glb
Create an anti-z wobble and backlash mount with a base block measuring 62.3mm in length, 14mm in width, and 30.5mm in height. From this base, remove a central rectangular volume of 56.9mm by 16mm by 25mm, positioned 10mm from the bottom, to create a hollowed channel. Add two T-nut connectors, one at the front (5mm fro...
$fn=36; Len=62.3; Width=14; Ht=30.5; M5=5.5; Tht=1.3; Nuts=2; Spring=1; SpringLen=50; SpringCutLen=3/5 * SpringLen; Spct2=SpringCutLen/2; echo("SpringCutLen = ",SpringCutLen); spX=25 - (SpringCutLen/2); echo("spX = ",spX); NutHt=7.51; echo("NutHt = ",NutHt); ntX=25 - (NutHt / 2); ntX=25 - Spct2 - (NutHt - .01); ntX2 =...
glb/cad_336a6cdc7753.glb
Create an anti-z wobble and backlash mount with a base block measuring 62.3mm in length, 14mm in width, and 29mm in height. From this base, remove a central rectangular volume of 56.9mm by 16mm by 25mm, starting 10mm from the bottom. At the top trailing edge, add a 45-degree chamfered section measuring 20mm by 30mm by ...
$fn=36; Len=62.3; Width=14; Ht=29; M5=5.5; Tht=1.6; Nuts=2; Spring=1; SpringLen=50; SpringCutLen=3/5 * SpringLen; Spct2=SpringCutLen/2; echo("SpringCutLen = ",SpringCutLen); spX=25 - (SpringCutLen/2); echo("spX = ",spX); NutHt=7.51; echo("NutHt = ",NutHt); ntX=25 - (NutHt / 2); ntX=25 - Spct2 - (NutHt - .01); ntX2 = 2...
glb/cad_1d9d06ac17c4.glb
Create a protective box for a BTE13-001 power supply. The main body is a hollow rectangular enclosure with outer dimensions of 68.4mm in width, 49.4mm in length, and 25.4mm in height, featuring a wall thickness of 1.5mm. The interior cavity is 65.4mm wide and 42.4mm long. On the sides of the box, create four rectangu...
wth = 1.5; d = 1.2; d2 = 4; w = 63; l = 40; h = 19; pcbh = 1.75; cw = 8 + 1; ch = 10 + 1; uw = 15; uh = 8; ccw = 5; ccl = 5; union() { difference() { cube([d * 2 + w + wth * 2, d * 2 + l + wth * 2, d * 2 + h + wth]); translate([wth, wth, wth]) cube([w + d * 2, l + d * 2, h + d * 2 + 0.1])...
glb/cad_6bab4a2b7c0f.glb
Create a Macbook Pro Power Cord Repair Strain Relief. Start with a cylindrical base 13mm in diameter and 2mm thick. On top of this base, add a second cylinder with a diameter of 9.15mm and a height of 1.5mm. Centered on this second cylinder, create a small square notch 2.4mm wide and 2.4mm deep, with a height of 1.5mm....
baseThick = 2; baseDiameter = 13; neckThick = 1.5; neckDiameter = 9.15; notchWidth = 2.4; chamberHeight = 20; chamberDiameter = 7.15; channelWidth = 3; wireDiameter = 4; partHeight = chamberHeight + baseThick + neckThick + baseDiameter; partWidth = baseDiameter; difference() { union() { cylinder(h = baseT...
glb/cad_a0a5706d880b.glb
Create a webcam mount consisting of a square base plate and a vertical support arm. Start with a square base plate measuring 25.4mm by 25.4mm with a thickness of 3mm. Place four circular holes with a radius of 1.5mm at each corner of the plate, positioned 3mm from the edges. Centered on top of the base plate, add a re...
width = 25.4; height = 25.4; basePlateHeight = 3; armHeight = 38.1/2; armWidth = 10; armSize = 10; screwSize = 1.5; armScrewSize = 1.5; difference(){ cube([width,height,basePlateHeight]); translate([3,3,0]){ cylinder(h=basePlateHeight,r=screwSize, $fn=50); } translate([width-3,3,0]){ cylinder(h=basePlateHei...
glb/cad_4baffa57ee13.glb
Create a MakerFarm i3v y-axis belt mount consisting of two separate parts: a base and a cover. Both parts have a length of 40mm and a width of 10.25mm. For the base, create a flat plate with a central rectangular protrusion that is 23mm long and 3.4mm high. This protrusion should be centered along the length. Bore a 3...
cover(); translate([0,-5,0]) base(); m3_od = 3.0; belt_pitch = 2.0; tooth_depth = 0.764; tooth_width = 1.494; shelf_len = 23.0; mount_hid = m3_od + 0.4; m3_nut_od = 6.35 + 0.3; m3_nut_h = 2.4 + 0.0; m3_wash_hid = 7.0 + 1.0; m3_wash_rd = 0.5 + 0.5; mount_len = 40; mount_w = 10.25; base_endh = 5; base_midh = m3_...
glb/cad_58af893acaa1.glb
Create a Parametric Cell Phone Charger Holder. Start with a main platform that is 80mm wide, 120mm high, and 5mm thick. The top edge of this platform should be rounded with a radius of 40mm. At the center of the platform, create a vertical cylindrical hole with a radius of 25mm that passes completely through the 5mm ...
t = 5; hw = 80; hh = 120; hr = 25; hb = 15; legs = 3; lw = t; lh = t; ph = 60; pw = 160; hps = 1; hcg = 0.2; hch = 30; hcw = 60; hct = 5; hcr = 2.1; print = 0; module box(w,h,d) { scale ([w,h,d]) cube(1, true); } module hexagon(height, depth) { boxWidth = height / 1.75; union() { box(boxWidth, height, dept...
glb/cad_3f1bcf8ba9fc.glb
Create a drawer joint consisting of three intersecting rectangular plates. First, create a vertical plate that is 2mm thick, 20mm wide, and 20mm high. Cut a rectangular slot out of this plate that is 3mm wide, 14mm high, and starts 8mm from the side and 3mm from the bottom. Second, create an identical plate and rotate ...
difference(){ cube(size=[2,20,20]); translate([0,8,3]) cube(size=[2,3,14]); } rotate([0,90,0]){ difference(){ cube(size=[2,20,20]); translate([0,8,3]) cube(size=[2,3,14]); } } difference(){ cube(size=[20,4,20]); translate([0,0,20]) rotate([0,45,0]) cube(size=[30,4,20]); } translate([0,16,0]) difference(){ cube(si...
glb/cad_6210384c91a1.glb
Create a Luxeon LED Star board base by starting with a hexagonal prism that has a flat-to-flat width of 20mm and a height of 1.6mm. Centered on top of this base, place a smaller square block measuring 5mm by 5mm with a height of 1.3mm. Around the perimeter of the hexagonal base, position six rectangular cutouts. Each...
EPS=0.01; Aluminum = [0.77, 0.77, 0.8]; BlackPaint = [0.2, 0.2, 0.2]; BrightYellow = [1, 1, 0]; module triangle(radius) { o=radius/2; a=radius*sqrt(3)/2; polygon(points=[[-a,-o],[0,radius],[a,-o]],paths=[[0,1,2]]); } module reg_polygon(sides,radius) { function dia(r) = sqrt(pow(r*2,2)/2); if(sides<2) square...
glb/cad_62a9ed7c0403.glb
Create a Curio Shelf by starting with a circular base 140mm in diameter and 3mm thick. Attach a semi-cylindrical wall to one side of the base with a radius of 70mm and a thickness of 5mm, extending from the center of the circle to the outer edge. Add two symmetrical support braces on the left and right sides of the she...
shelfD = 140; shelfR = shelfD/2; printable_shelf(); module printable_shelf() { rotate(180,[1,0,0]) shelf(); } module hole_sample() { intersection() { translate([15,-50,-5]) cube([35,50,35]); printable_shelf(); } } module shelf() { difference() { union() { ...
glb/cad_2c8680174b6c.glb
The provided data consists of a large list of triplets, where each triplet represents a connection between three entities (likely nodes in a graph). The structure is `[Node A, Node B, Node C]`, indicating that Node A is connected to Node B, and Node B is connected to Node C. Based on the patterns in the data: 1. **Gra...
b = 0; c = 0; t = 4.8; u = -1.00; scale([1,1,0.8]) difference() { moon_negative(); translate([-30,0,0]) cylinder(r=1.5,h=30,center=true,$fn=24); } module moon_negative() { polyhedron (points = [ [ 18.13473, -10.20823,t+u * 0.87600], [ 18.17173, -9.51023,t+u * 1.02100], [ ...
glb/cad_3be3b88cda24.glb
The provided data describes a 3D model of a decorative medallion or coin. The model features a central profile of a figure (likely a historical or mythological person) with a detailed headdress or hair flowing to the left. To the right of the profile, there are three stars arranged vertically. The overall shape is circ...
b = 0; c = 0; t = 4.8; u = -1.00; scale([1,1,0.8]) difference() { sun_negative(); translate([19.5,-22,0]) cylinder(r=1.5,h=30,center=true,$fn=24); } module sun_negative() { polyhedron (points = [ [ -24.97753, -25.58550,t+u * 1.02000], [ -23.83353, -25.41050,t+u * 1.44100], [ ...
glb/cad_84d22455da7d.glb
Create a Yazzo L Socket Locking Clip designed to join panels. Start by constructing a U-shaped clip base with a total length of 15mm, a thickness of 2mm, and a gap of 5mm between the parallel walls. The walls should extend to a height of 12.7mm. To this base, add a T-slot pin feature. This consists of a central rectan...
goldenratio = 1.61803399; joinfactor = 0.125; gDefaultExtent = 25.4/2; gDefaultGap = 5; gDefaultThickness = 2; gDefaultLength = 15; gMakerBotDoubleSlotLength = 50; gDefaultSlotDepth = 5; LLockClipSupported(gDefaultLength, gDefaultExtent, gDefaultThickness, gDefaultGap); module TSlotPin() { grabbergap = 2; slot...
glb/cad_11287bb7b019.glb
Create a Dropzone Commander N-scale building wall segment. Start with a rectangular facade 34mm wide, 22.97mm high, and 4mm thick. On the front face, create a brick pattern using grout lines 0.25mm high and 0.25mm deep, spaced every 3mm horizontally. Cut three window openings into the facade. Each window is 6.4mm w...
number_of_units = 1; show_building = 1; show_corner = 1; horizontal_windows=3; Ncol=horizontal_windows; vertical_windows=1; Nrow=vertical_windows; show_door="no"; show_windows="yes"; show_bricks="yes"; show_roof="yes"; stand_pipe="no"; Xinit=8*1; Yinit=2*1; Xspace=10*1; Yspace=15.5*1; Zbase=4.0*1; Xwin=6.4*1; Ywi...
glb/cad_0d23c50c9024.glb
Create a Dropzone Commander N-scale building segment. Start with a rectangular wall facade that is 28mm wide, 22.97mm high, and 4mm thick. On the front face of the wall, add a brick pattern consisting of recessed grout lines 0.25mm deep, with bricks measuring 3mm wide by 1mm high. Incorporate three windows arranged...
number_of_units = 1; door_one = 1; show_building = 1; show_corner = 1; horizontal_windows=3; Ncol=horizontal_windows; vertical_windows=1; Nrow=vertical_windows; show_door="no"; show_windows="yes"; show_bricks="yes"; show_roof="yes"; stand_pipe="no"; Xinit=8*1; Yinit=1*1; Xspace=10*1; Yspace=15.5*1; Zbase=4.0*1; ...
glb/cad_3ae8fc27d85a.glb
Create a Dropzone Commander N-scale building unit. Start with a main wall facade that is 34.4mm wide, 22.97mm high, and 4mm thick. At the top of the wall, add a roof section that is 2mm high and 5mm thick, extending 1mm beyond the wall thickness. This roof should feature crenelations (rectangular notches) spaced ever...
number_of_units = 1; show_building = 1; show_corner = 1; horizontal_windows=3; Ncol=horizontal_windows; vertical_windows=1; Nrow=vertical_windows; show_door="no"; show_windows="yes"; show_bricks="no"; show_roof="yes"; stand_pipe="no"; Xinit=8*1; Yinit=2*1; Xspace=10*1; Yspace=15.5*1; Zbase=4.0*1; Xwin=6.4*1; Ywin...
glb/cad_3976d13848a2.glb
Create a Dropzone Commander N-scale building wall. Start with a solid rectangular wall that is 34mm wide, 22.97mm high, and 4mm thick. On the face of the wall, create a grid of window openings. Arrange 3 windows horizontally and 1 window vertically. Each window opening must be 6.4mm wide and 12mm high, with a depth o...
horizontal_windows=3; Ncol=horizontal_windows; vertical_windows=1; Nrow=vertical_windows; Xinit=8*1; Yinit=2*1; Xspace=10*1; Yspace=15.5*1; Zbase=4.0*1; Xwin=6.4*1; Ywin=12*1; Yheight=5*1; Zwin=2*1; Xmuntin=1*1; Ymuntin=Xmuntin; Zmuntin=0.8*1; YwinArc=0.25*1; Xjam=1.0*1; Xbase=Xinit*2+Xspace*(Ncol-1)+Xwin; Ybase=Yin...
glb/cad_90097d2d1a2e.glb
Create a drill caddy replacement top consisting of a main cylindrical cap and an internal clip mechanism. The main cap is a hollow cylinder with an outer radius of 34.4mm and a height of 42.6mm. The walls are 1.4mm thick, creating an internal cavity with a radius of 33mm. The bottom of this cap features a circular exit...
wall=1.4; cap_ir = 66/2; cap_z = 41.2+wall; clip_ir = 23/2; clip_z = 13.6; top_edge=1.2; abit=0.01; difference(){ union(){ cylinder(r1=cap_ir+wall-top_edge, r2=cap_ir+wall, h=top_edge, $fn=360); translate([0,0,top_edge]) cylinder(r=cap_ir+wall, h=cap_z-top_edge, $fn=360); translate([0,0,cap_z-6]) cylinder(r1=c...
glb/cad_6dcab7430374.glb
Create a parametric card tray consisting of a grid of card holders. For a single holder, start with a solid rectangular block measuring 74mm wide, 101mm long, and 72mm high. From this block, remove a central rectangular volume of 70mm by 97mm by 71mm, positioned 2mm from each side and 2mm from the bottom, to create a w...
w = 70; h = 97; d = 70; rows = 1; cols = 2; thk = 2; $fa = 3; $fs = 0.5; if ( w <= h ) card_tray(x = w, y = h, z = d, thk = thk, rows = rows, cols = cols); else rotate ([0, 0, 90]) mirror ([0, 1, 0]) card_tray(x = h, y = w, z = d, thk = thk, rows = cols, cols = rows); module card_tray (x = 50, y...
glb/cad_42da547be509.glb
Create a switch housing for a momentary push button microswitch consisting of two stacked plates. First, create a top plate as a rectangular block 16mm wide, 9mm deep, and 4mm high, centered on the origin. Remove a 3.7mm diameter vertical hole through the center of this plate. Also, remove a central rectangular section...
$fn=70; length = 10; width = 5; height = 2; module top_plate() { difference() { translate([0, 0, 2]) cube([16, 9, 4], center=true); union() { cylinder(h=4, d=3.7); cube(6.7, center=true); translate([0, 0, -79]) sphere(80); translate([-8, 3.5, 0]) cube([16, 1, 1.5]); } } } modu...
glb/cad_f3a75d5f415e.glb
Create a secure parametric cryptex by constructing a hollow cylinder with an outer diameter of 30mm and a height of 20mm. To create the interior cavity, remove a concentric cylinder from the center with a diameter of 28mm and a height of 22mm, positioned so that it extends 1mm below the base of the outer shell. Ensure ...
module cryptex() { difference() { cylinder(20,30,30); translate([0,0,-1]) cylinder(22,28,28); } } cryptex();
glb/cad_2c18b7b65964.glb
Create a Behringer SRC 2000 Sample Rate Converter button by starting with a base cube measuring 10mm wide, 8mm deep, and 10mm high. Remove a rectangular section from the center of this base, starting at coordinates (3.25, 2.25, 0) with dimensions of 3.5mm wide, 3.5mm deep, and 3.6mm high. To form the upper portion of t...
difference() { cube([10, 8, 10]); translate([3.25, 2.25, 0]) cube([3.5, 3.5, 3.6]); } hull() { translate([1.5, 2.44, 10]) cube([7, 3.12, 9]); } intersection() { translate([0, -3.5, 4]) cube([10, 3.5, 6]); translate([0, -3.5, 4]) rotate([-30.25, 0, 0]) cube([10, 3.5, 10]); }
glb/cad_0c77f051049f.glb
Create a RepRap Universal Mini Extruder. Start by constructing a main fixed block that serves as the central chassis, featuring a back plate with a height of 41mm and a width of 33mm. Integrate a drive assembly consisting of a driven shaft (6mm diameter) and a drive gear. Position a NEMA 11 motor at an angle of -10 deg...
include <parameters.scad>; use <library.scad>; motor_angle=-10; gear_mesh=2; clamp_centres=28; plate_thickness=5; fat_plate_thickness=8; filament_y_offset=-27; bearing_gap=44; fixed_block_width=33; back_plate_height=41; motor_plate_extra_x=35; hob_gap=55; motor_radius=34; filament_radius=1.75/2; hub_x=-3-filament_radi...
glb/cad_ad5fdb9e0073.glb
Create a blowgun dart cup consisting of a conical base and a cylindrical neck. Start by creating a hollow truncated cone with a height of 10mm, a bottom outer diameter of 16mm, and a top outer diameter of 4mm. The walls of this cone should be 0.6mm thick. Centered on top of the cone, add a solid cylinder for the neck w...
cone_diameter = 16; cone_height = 10; wall = 0.6; neck_diameter = 4; neck_height = 5; hole_size = 2; union() { difference() { cylinder(h = cone_height, r1 = cone_diameter/2, r2 = neck_diameter/2, center = false, $fn=100); cylinder (h = cone_height - wall, r1 = cone_diameter/2 - wall, r2 = neck_diameter/2...
glb/cad_b5e15f7b3761.glb
Create a Clockwork Library mechanism consisting of a series of interlocking gears, a pendulum escapement, and a supporting frame. Use a base thickness of 3mm for most components. Construct a gear train of eight wheels with involute profiles and a pressure angle of 28 degrees. The gears should follow a specific sequenc...
use <MCAD/involute_gears.scad> include <clockworkLibrary.scad> scale=1; printLimit=80*scale; $fs=0.5*scale; thickness=3*scale; pinRadius=1*scale; sleeveThickness=2*scale; tightFit=0.25*scale; clearance=0.5*scale; spacer=0.5*scale; explodeZ=0*scale; spokeWidth=3*scale; axis_separation=printLimit*3.2/6; rotation_angle=...
glb/cad_d0877735378a.glb
Create a Clockwork Library mechanism consisting of a gear train, an escapement, and a pendulum. Use a base scale of 1mm for thickness and 1mm for pin radii. Construct a series of eight involute gears with a pressure angle of 30 degrees. The gears should follow a specific ratio sequence: -2, -2, -2, -1.5, -3.2, -3, -2....
use <MCAD/involute_gears.scad> include <clockworkLibrary.scad> scale=1; printLimit=80*scale; $fs=0.5*scale; thickness=3*scale; pinRadius=1*scale; sleeveThickness=2*scale; tightFit=0.25*scale; clearance=0.5*scale; spacer=0.5*scale; explodeZ=0*scale; spokeWidth=3*scale; axis_separation=0.5*printLimit*3.2/3; rotation_an...
glb/cad_a0b85137a879.glb
Create a two-part protective case for an LCR-T4 component tester. For the bottom section, create a rectangular base with outer dimensions of approximately 72.1mm by 64.3mm. The walls should be 1.2mm thick. Inside, create a hollow compartment to house a 9V battery measuring 54mm x 26mm x 17mm. Include four mounting pi...
part = "top"; with_lid = false; pcb = [70.9, 63.1, 1.6]; pcbmntdia = 3.1; pcbthrdia = 2.5; pcbmntdx = pcb[0]/2-(1.0+pcbmntdia/2); pcbmntdy1 = pcb[1]/2-(1.0+pcbmntdia/2); pcbmntdy2 = -(pcb[1]/2-(18.7+pcbmntdia/2)); batt = [54.0, 26.0, 17.0]; lcdwinsize = [54.0, 30.0]; lcdpos = [-(pcb[0]/2-2.2-6.2-lcdwinsi...
glb/cad_b43df8d7b4f4.glb
Create a protective case for an LCR-T4 component tester consisting of a top cover and a bottom base. For the bottom base, create a rectangular enclosure with outer dimensions of approximately 74.1mm by 67.3mm and a wall thickness of 4.2mm. The interior must accommodate a PCB of 70.9mm by 63.1mm. Include a dedicated i...
part = "demo"; with_lid = false; pcbrx = 2.0; pcb = [70.9, 63.1, 1.6]; pcbmntdia = 3.1; pcbthrdia = 2.5; pcbmntdx = pcb[0]/2-(1.0+pcbmntdia/2); pcbmntdy1 = pcb[1]/2-(1.0+pcbmntdia/2); pcbmntdy2 = -(pcb[1]/2-(18.7+pcbmntdia/2)); batt = [54.0, 26.0, 17.0]; lcdwinsize = [54.0, 30.0]; lcdpos = [-(pcb[0]/2-2.2-6.2-lcdwins...
glb/cad_b36ca96a1b8a.glb
Create a Flashforge all-metal hotend heat break. Start with a central vertical bore 2mm in diameter running through the entire length of the part. The main body consists of a threaded section and a smooth section. The threaded section is 13mm long in total, featuring an 8mm diameter with a 1.25mm pitch. This section is...
include <MCAD/units/metric.scad> use <MCAD/fasteners/threads.scad> $fs = 0.4; $fa = 1; diameter = 8; pitch = 1.25; bore = 2; transition_wall_thickness = 0.2; transition_length = 2; melt_length = 6; nut_length = 5; block_thickness = 12; length_above_block = 2; threaded_section = melt_length + transition_length + nu...
glb/cad_22e1564786cd.glb
Create a pair of customizable shoes. For each shoe, start with a base sole that is 280mm long and 100mm wide at its widest point. The sole should be 20mm thick. The front tip of the shoe should be rounded with a radius of 25mm. The heel area should be 68mm wide. The overall profile is formed by a hull connecting the ...
length_of_shoe=280; widest_width=100; heel_width=68; widest_width_to_tip=85; heel_proximal_offset=25; tip_radius=25; heel_height=70; sole_thickness=20; heel_cup_height=1; heel_cup_thickness=.4; type="heel"; user_wants_beveled_tips="yes"; these_are_sandals="yes"; user_wants_heel_screws="yes"; strap_width=3...
glb/cad_ad5f55633b2f.glb
Create a Y-axis endstop mount designed to clip onto two parallel 8mm diameter rods. Start by creating two identical C-shaped clips, each formed by a cylinder with a radius of 12mm and a height of 14mm, from which an 8mm radius center cylinder has been removed to create a snap-fit. Position these two clips so they are m...
include <common.scad> y_bar_dist = y_bars_gap + radius_8mm * 2; module y_carriage_rods() { color([0.9,0.9,0.9]) rotate([90,0,0]) { cylinder(r=radius_8mm, h=100, center=true); translate([0,y_bar_dist,0]) cylinder(r=radius_8mm, h=100, center=true); } } module rod_clip() { clip_r = radius_8mm + part_thickne...
glb/cad_cef70a81e070.glb
Create a Z Endstop Mount consisting of three main components: a holder, an adjuster, and a slider. First, create the holder. Start with a cylinder of radius 12mm and height 8mm. Remove a concentric inner cylinder of radius 8mm. Cut a 45-degree angled slot through the wall and a rectangular notch measuring 11mm by 6mm ...
include <common.scad> draw_assembled = false; is_adjustable = true; draw_adjuster = true; draw_slider = true; draw_holder = true; adjuster_height = 8; adjuster_dist = 2.5; play_gap = adjuster_dist / 2; min_adj_home = clip_h + adjuster_height + pt2 + play_gap / 2; z_home_pos = min_adj_home + 10; if (draw_assembled...
glb/cad_27f11ffb0e3f.glb
Create a parametric camera mount knob by starting with a main cylinder that has a radius of 16mm and a height of 6.73mm. To create the grip, remove six identical vertical cylindrical notches from the outer edge; each notch should have a radius of 5mm and be positioned with its center 18mm from the central axis, spaced ...
knob_radius = 16; dent_radius = 5; knob_height = 6.73; num_dents = 6; dent_offset = 2; nut_hole_radius = 3.175; nut_size_radius = 6.2; module knob() { translate([0, 0, 0]) { difference() { cylinder(h = knob_height, r = knob_radius); for (i = [0:(num_dents - 1)]) { translate([sin(360*i/num_dents)*(knob_radiu...
glb/cad_635fd066d464.glb
Create a parametric camera mount knob by starting with a main cylinder that has a radius of 19.05mm and a height of 9.29mm. To create the grip, remove six vertical cylindrical notches from the outer edge; each notch should have a radius of 5mm and be positioned at equal intervals around the perimeter, centered at a dis...
knob_radius = 19.05; dent_radius = 5; knob_height = 9.29; num_dents = 6; dent_offset = 2; nut_hole_radius = 4.8; nut_size_radius = 8.255; module knob() { translate([0, 0, 0]) { difference() { cylinder(h = knob_height, r = knob_radius); for (i = [0:(num_dents - 1)]) { translate([sin(360*i/num_dents)*(knob_ra...
glb/cad_35b2d236f13d.glb
Create a printable filament spool consisting of a central core and four curved outer edge segments. Start by creating the central core: a cylinder with a diameter of 152mm and a height of 80mm. From this core, remove a central cylindrical void with a diameter of 32.1mm and a height of 52mm, and subtract four arched c...
module core() {union() { translate([0,0,-0.05])cylinder(60.1,26,26); translate([0,0,60])cylinder(16.05,30,30); }} module arch() { translate([0,0,25])union() { difference() { scale([1,1,3.3])rotate([90,0,22.5])translate([0,0,-50])cylinder(100,9,9); translate([-50,-50,-50])cube([100,100,50]); } rotate([0,0...
glb/cad_513484326f23.glb
Create a printable spool designed to fit a MakerBot filament spool holder. Start by constructing a main rectangular block measuring 30mm in width, 20mm in depth, and 16.5mm in height. From this block, remove two rectangular sections to create a hollowed-out center: one section measuring 25mm by 21mm by 5.5mm positioned...
translate([0,0,0])rotate([0,90,0])difference() { union() { difference() { cube([30,20,16.5]); translate([-0.01,-0.5,5.5])cube([25,21,5.5]); translate([-0.01,-0.5,-0.02])cube([8,21,11]); } translate([0,0,11])cube([30,5,90]); translate([0,0,91])cube([30,20,15]); } translate([20,0,98.5])scale([1,1,0.5]...
glb/cad_9161b8f1c8cb.glb
Create a vertical bearing holder for an X-carriage. Start by creating a base block that is 19mm wide, 19mm deep, and 60mm tall. The block should have a rounded profile on one side, formed by a cylinder with a radius of 9.5mm and a height of 60mm, centered on the block. Inside this structure, create a central vertical ...
bearing_diameter = 15; module horizontal_bearing_base(bearings=1){ translate(v=[0,0,6.75]) cube(size = [24,8+bearings*25,13.5], center = true); } module horizontal_bearing_holes(bearings=1){ cutter_lenght = 10+bearings*25; one_holder_lenght = 8+25; holder_lenght = 8+bearings*25; difference(){ translate(v=[0,0,...
glb/cad_e72895f85a56.glb
Create an X carriage with belt tensioner. Start with a base composed of two horizontal bearing holders spaced 45mm apart. The main body is a composite of rectangular blocks: a base plate measuring 43mm by 68mm by 8.5mm, and an upper section measuring 58mm by 9mm by 18mm. Cut a central channel through the body to accom...
E2Belt=2.4; DisRB=11; Bf=9.5; Lex=22; x_rod_distance = 45; use <bearing_xa.scad> module x_carriage_base() { translate([-33/2,+2,0]) rotate([0,0,90]) horizontal_bearing_base(1); translate([-33/2,x_rod_distance+2,0]) rotate([0,0,90]) horizontal_bearing_base(2); hull() { translate([-45.5,36,0]) cube([58,1,13.5...
glb/cad_4165bc1e6ff4.glb
Create a Raspberry Pi mount for a 6mm aluminium plate. Start by constructing a rectangular frame with two vertical side walls, each 6mm wide, 60mm high, and 6mm deep, positioned at x=22.5mm and x=77mm. Connect these walls with two horizontal bars measuring 54.5mm by 4mm by 6mm; place one at y=16mm and the other at y=44...
translate([0,0,0]) rotate(a=0, v=[0,0,0]) difference() { union() { color("green") translate([80,18,0]) rotate(a=0, v=[0,0,0]) cylinder(r=4, h=6, $fn=25); color("green") translate([25.5,43.5,0]) rotate(a=0, v=[0,0,0]) cylinder(r=4, h=6, $fn=25); translate([25.5-3,0,0]) rotate([0,0,0]) cube([6,60,6]); translate([...
glb/cad_cf9e7eb2fce2.glb
Create a skewed funnel for a coffee grinder doser mod. The object is a hollow, tapered cone with a total height of 70mm and a wall thickness of 2mm. The top of the funnel is a wide circular ring with an outer diameter of 121mm and a height of 10mm. The bottom of the funnel narrows to a circular opening with an outer ...
$fn=50; resolution=100; hopper_diameter=121; ring_height=10; cone_height=70; mount_height=70; extra=0.01; bottom_diameter=30; offset=(115/2-25)/cone_height; thickness=2; module ring(h=ring_height,t=thickness,center=true){ } module funnel(t=thickness,ch=cone_height,bd=bottom_diameter,hd=hopper_diameter,rh=ring_heigh...
glb/cad_56d4c3a651af.glb
Create a phone case by constructing a large outer hull and removing a smaller inner hull to create a hollow shell. For the outer shape, create a convex hull encompassing four cylinders, each with a radius of 12mm and a height of 14mm. Position these cylinders at the coordinates (14, 28, 12), (14, 28, 12), (14, 12, 28),...
length = 12; height = 14; width = height*length/6; length1 = 11; height1 = 13; width1 = height1*length1/7; difference(){ hull(){ cylinder (length,width,height,((width*height)/6)*9); translate ([height,width,length])cylinder (length,width,height); translate ([length,width,height])cylinder (length,width,height); tr...
glb/cad_cced3ecc2e51.glb
Create a skewed funnel with a total height of 100mm and a wall thickness of 2mm. The object consists of a large top opening with an outer diameter of 100mm and a small bottom opening with an outer diameter of 20mm. Start by creating a hollow cylindrical base (the spout) with an outer diameter of 20mm and a height of ...
Large_End_Diameter = 100; Small_End_Diameter = 20; Wall_Thickness = 2; Funnel_Height = 100; Top_Band = 10; Bottom_Spout_Length = 5; Offset = 30; spout_or = Small_End_Diameter/2; wall = Wall_Thickness; flare_percentage = Large_End_Diameter / Small_End_Diameter * 100; height = Funnel_Height; bottom_band=Bottom_Spo...
glb/cad_d56e4993c365.glb
Create a Tantillus carriage for 8mm bushings with 12mm outer diameters. Start with a central rectangular body measuring 40mm in width, depth, and height, with a base thickness of 10mm. Integrate two bushing mounts: one positioned along the X-axis and one along the Y-axis. Each mount should be a cylinder with an outer...
$fs=0.2; $fa=2; height=4.64+4.76; fillet = 2; bigR = 29.5; jhead_plate = 25.2; punchHeight=20; smooth = 100; body_x=40; body_y=40; body_z=40; body_base_z=10; bushing_outer_diameter=12; bushing_inner_diameter = 8; bushing_length=40; $fn=60; rotate([0,0,-90])translate([-jhead_plate/2+body_x/2,jhead_plate/2-body_y/2,1...
glb/cad_ada89f05b1b8.glb
Create a power supply terminal block cover and a set of four spacer shims. For the cover, start with a main rectangular plate 116mm wide, 58mm high, and 2.4mm thick. Add a vertical side wall 2.4mm thick that is 29.6mm high, extending from the left edge of the plate. Along the top edge of the main plate, add a support...
include <MCAD/polyholes.scad> include <CUSTOM/uPost.scad> cover(); spacers(); m3_od = 3.0; m4_od = 4.0; tblock_h = 25; ps_w = 110; heyco_6w1_od = 12.7; heyco_6w1_af = 11.8; switch_od = 6.2; spacer_h = 4.6; spacer_od = 10; spacer_hid = m4_od + 0.4; cover_t = 2.4; cover_sx = 108 + 8; cover_sy = 30 + 28; cover_sz = sp...
glb/cad_06799a9a996e.glb
Create a project box for an IchigoJam computer. Start with a rectangular base measuring 66.6mm by 47.6mm with a height of 20mm. The outer corners of this base should be rounded with a radius of 2.3mm. Hollow out the center of the box to create a shell with a wall thickness of 2.3mm, but leave the floor at a height of 1...
include <write.scad> $fn=50; x = 62; y = 45; z = 20; t = 2.3; bottom_z = 10; bottom(); module bottom() { difference() { outfit(); translate([-t,-t,bottom_z]) cube([x+1 + t + t, y +1+ t + t, 50]); } } module top() { difference() { outfit(); translate([-t,-t,...
glb/cad_fda92dfd3dc1.glb
Create a Mjöllnir hammer pendant. Start with a central rectangular hammerhead 35mm wide, 15mm high, and 10mm thick. Modify the head by adding a small cylindrical protrusion (radius 2.33mm) centered on the top edge and carving out the top corners with large radius curves to create a stylized, tapered top. Flatten the fr...
hh_ht=15; hh_wid=35; hh_thick=10; hh_trim=3; hh_nub_rat=15; etch_depth=1; module bullseye() { difference () { cylinder(r=hh_thick*0.4,h=etch_depth*2,center=true); difference () { cylinder(r=hh_thick*0.28,h=etch_depth*2+1,center=true,$fn=12); cylinder(r=hh_thick*0.15,h=etch_depth*2+2,center=true,$fn=12); ...
glb/cad_5c38d32bc0d7.glb
Create a Guild Ball Influence token by constructing a hollow cylinder with an outer diameter of 15mm and a height of 3mm. The cylinder should have a wall thickness of 1mm, meaning the inner void is a cylinder with a diameter of 13mm. On the top surface of the token, center a capital letter "I" with a font size of 7.5mm...
part = 0; circle_resolution = 120; font = "News701 BT:style=Bold"; font_resolution = 100; j=0.1; token_width = 15; token_thickness = 3; wall_thickness = 1; module Token() { difference() { cylinder(h = token_thickness, r = token_width/2, $fn=circle_resolution); translate([0, 0, token_thickness - wall_thicknes...
glb/cad_042d7866de37.glb
Create a Standard Scatter template for a tabletop game. The object is a thin disc with a total thickness of 3mm. Start by creating a main outer cylinder with a radius of 38mm and a height of 3mm. Remove a concentric cylinder from the top to create a thin outer rim, leaving a wall thickness of 1mm. At the center, crea...
part = 0; circle_resolution = 120; font = "News701 BT:style=Bold"; font_size = 8; font_resolution = 100; j=0.1; template_width = 15; template_thickness = 3; wall_thickness = 1; module Arrow(Radius, Rotation, Label) { rotate([0, 0, Rotation]) { translate([-wall_thickness/2, 0, 0]) cube([wall_thickness, Radius, t...
glb/cad_38b314c85226.glb
Create a Badge/SecureID holder consisting of two primary joined components: a badge sleeve and a SecureID device housing. First, construct the badge sleeve. Create a rounded rectangular shell with outer dimensions of 87mm length, 60mm width, and 2.75mm thickness. The corners should have a radius of 3mm. Hollow out the...
DELTA = .001; HT = 1; badge_W = 58; badge_L = 86; badge_T = 1.75; badge_CR = 3; badge_LW = 13; badge_LH = 3.25; badge_LO = 2.5; WO = 3; securID_W = 22.5; securID_L = 59; securID_D = 27.5; securID_T = 11; securID_CT = 12; securID_LCD_W = 8; securID_LCD_L = 35; FN = 180; clearance = 1.5; holder(); modu...
glb/cad_8814c7b5d21b.glb
Create a balloon clip with a total height of 13mm and a width of approximately 5.5mm. The object consists of two parallel vertical semi-cylindrical shells connected by a flat central wall. First, create a large outer semi-cylinder with a diameter of 5.5mm and a wall thickness of 1mm. This shell should be split vertic...
$fn=24; difference(){ cylinder(h=13,d=3.2); cylinder(h=13.1,d=3.2-1.5); rotate([0,0,45]) translate([-2,-2,0]) cube([2,2,13.1]); } translate([-2.3,-10.4,0]) difference(){ resize([5.5,6,13]) cylinder(h=13,d=6); resize([5.5-2,6-1.5,13.1]) cylinder(h=13.1,d=5.5-2); rotate([0,0,18]) translate([.5,-2,0]) cube([5.5,6,13.1]); ...
glb/cad_dbbf92b155fb.glb
Create a balloon clip with a total height of 13mm. The object consists of two parallel, vertical C-shaped channels connected by a flat central wall. The first channel is a hollow cylinder with an outer diameter of 3.2mm and an inner diameter of 1.7mm. This cylinder is sliced vertically to create an opening, leaving i...
$fn=24; difference(){ cylinder(h=13,d=3.2); cylinder(h=13.1,d=3.2-1.5); rotate([0,0,45]) translate([-2,-2,0]) cube([2,2,13.1]); } translate([-2.3,-10.4,0]) difference(){ resize([5,5.5,13]) cylinder(h=13,d=5.5); resize([5-2,5.5-1.5,13.1]) cylinder(h=13.1,d=5.5-2); rotate([0,0,25]) translate([.5,-1.2,0]) cube([5.5,6,13.1...
glb/cad_a54bccac2414.glb
Create a Low Polygon Count Font sign. Start by creating a rectangular base plate with a thickness of 1mm. On top of this plate, construct four lines of text. Each letter should be created by extruding 2D polygons to a thickness of 2mm. The letters must follow a low-poly aesthetic, using the minimum number of triangle...
e=+0.02; xaxis=+[1,0,0]; yaxis=+[0,1,0]; zaxis=+[0,0,1]; nl=4; text1="THE QUICK BROWN"; text2="FOX JUMBED OVER"; text3="THE LAZY DOG."; text4="1234567890.:!?"; t=2; h=10; w=5; d=1; dpos=d; dl=4; sign=!false; dsx=3; dsy=3; sz=1; edge=!false; we=1; text=["",text1,text2,text3,text4]; str0=" ABCDEFGHIJKLMNO...
glb/cad_dc656f78bda0.glb
Create a HuCard protector by constructing a thin, open-ended rectangular sleeve. Start with a base plate that is 60mm wide, 1mm thick, and 87mm high. Add two vertical side walls, each 2mm wide and 4mm thick, running the full 87mm height of the model; position one wall flush against the left edge and the other flush aga...
cube ([60,1,87]); translate ([0,1,0]) cube ([2,4,87]); translate ([58,1,0]) cube([2,4,87]); translate ([2,1,0]) cube([56,4,2]);
glb/cad_4d3f5d28fa85.glb
Create a Makey Discholder by starting with a rectangular base block measuring 69mm by 79mm with a height of 4.5mm. Centered within this base, carve out a cylindrical hole with a radius of 29.5mm and a depth of 3.5mm, starting from a height of 2mm from the bottom, to hold a metal disc. To allow access to the center, rem...
use<write/write.scad> scheibe = 59.00; rand = 10.00; hoehe = 4.50; box = scheibe+rand; halter(); module halter() { difference() { union() { color([1,0,0,1]) translate([0, 0, 0]) cube([box,box+rand*1.7,hoehe]); } translate([(rand+scheibe)/2, (rand+scheibe)/2, 2]) cylinder(r=scheibe/2,h...
glb/cad_7781a55ddf4c.glb
Create a shopping list fridge magnet holder. Start with a rectangular base plate measuring 80mm by 70mm with a thickness of 3mm. On one end, attach a semi-cylindrical housing with a diameter of 50mm and a height of 28mm to hold a paper roll. This housing should have a central cylindrical cutout with a diameter of 47mm ...
$mount_hole_diameter = 8; $LeftRight = 0; mirror([0,$LeftRight,0]) { translate([-41,-15,27]) rotate([180,0,0]) { difference() { union() { rotate([90,0,0]) translate([0,-1,0]) cylinder(50,28,28,$fn=1...
glb/cad_acc7b4822317.glb
Create a Shopping List Fridge Magnet designed to hold a roll of paper and a pen. Start with a main body consisting of a rectangular base plate measuring 80mm by 80mm with a thickness of 4mm. On one side, attach a large semi-cylindrical housing with a radius of 28mm and a length of 50mm to hold the paper roll. This hous...
$magnet_diameter = 12; $magnet_height = 2; $LeftRight = 0; mirror([0,$LeftRight,0]) { translate([-41,-15,27]) rotate([180,0,0]) { difference() { union() { rotate([90,0,0]) translate([0,-1,0]) cylind...
glb/cad_8343f8e4d887.glb
Create a Shopping List Fridge Magnet holder. Start with a base rectangular plate measuring 80mm wide, 50mm deep, and 5mm thick. On one end, attach a semi-cylindrical housing with an outer diameter of 56mm and a length of 50mm, oriented to hold a roll of paper. Hollow out the center of this cylinder with a 47mm diameter...
$magnet_diameter = 12; $magnet_height = 3; $LeftRight = 0; mirror([0,$LeftRight,0]) { translate([-41,-25,29]) rotate([180,0,0]) { difference() { union() { rotate([90,0,0]) translate([0,-1,0]) cylind...
glb/cad_fffa82a0060e.glb
Create a Mason Jar Lamp Lid by constructing a circular, revolved profile. Start with a base disk that has an outer diameter of 95mm and a height of 4mm. Above this base, add a concentric ring with an outer diameter of 92mm and a height of 5mm. Centered on top of this structure, create a raised cylindrical collar with a...
fentholes =11; fentholesD =5; fentholeRot = 360 / fentholes; mountHole = 28; lidTot(); module lidTot() { difference() { lid(); for(i=[0:fentholes-1]) { echo(i*fentholeRot); rotate([0,0,i*fentholeRot])translate([31.4,0,0]) cylinder($fn=50,d=fentholesD,h=10,cent...
glb/cad_a8d7ac2cd239.glb
Create a Camera Hotshoe Cover by combining three geometric components. First, create a flat base plate by extruding a 2mm thick polygon with a symmetrical, notched profile. The polygon's vertices should be defined at [7.6, 4.9], [7.6, -5.4], [10.05, -5.4], [9, -0.95], [9, 8.45] for the right side, and mirrored at [-9, ...
module flashspacer() { union() { linear_extrude( height = 2, convexity = 4 ) polygon( points = [ [7.6, 4.9], [7.6, -5.4], [10.05, -5.4], [9, -0.95], [9, 8.45], [-9, 8.45], [-9, -0.95], [-10.05, -5.4], [-7.6, -5.4], [-7.6, 4.9] ], paths = [ [0,1,2,3,4,5,6,7,8,9] ], convexity = 4 ...
glb/cad_c7b18c382cbe.glb
Create a PCB standoff with a circular outer profile. The object is a cylinder with an outside diameter of 8mm and a total height of 10mm. Centered vertically through the middle, add a cylindrical hole with a diameter of 3mm to create a hollow tube.
include<MCAD/metric_fastners.scad> Stand_Off_Type = "plain"; Outside_Shape = 0; Outside_Diameter = 8; Inside_Diameter = 3; Length = 10; Clearance = 0.3; Base_Thickness = 1.5; PCB_Thickness = 1.5; pcb_stand_off(type=Stand_Off_Type, hex=Outside_Shape, od = Outside_Diameter, ...
glb/cad_0693b7cb675a.glb
Create a Leonardo's Window perspective tool by constructing a complex geometric assembly. Start with a central rectangular block measuring 40mm by 40mm by 5mm. To this, add four vertical support walls: two walls measuring 5mm by 30mm by 35mm positioned symmetrically at x-coordinates -17.5 and -9 (with y=5 and z=20), an...
difference() { translate([5,5,0]) union() { cube([40,40,5], center=true); translate([-17.5,5,20]) cube([5,30,35], center=true); translate([-9,5,20]) cube([5,30,35], center=true); translate([-13.25,-13.5,20]) cube([13.5,13,35], center=true); translate([5,0,7.5]) cube([30,40,10], center=true); } translate([-5.5,...
glb/cad_cab6b6cf24b7.glb
Create a Leonardo's Window perspective tool. Start with a central rectangular block measuring 40mm wide, 40mm deep, and 5mm high. On top of this base, add two vertical support walls: one positioned at x=-17.5mm and another at x=-9mm, both measuring 5mm wide, 30mm deep, and 35mm high. Add a third vertical wall measuring...
mirror([0,1,0]){ difference() { translate([5,5,0]) union() { cube([40,40,5], center=true); translate([-17.5,5,20]) cube([5,30,35], center=true); translate([-9,5,20]) cube([5,30,35], center=true); translate([-13.25,-13.5,20]) cube([13.5,13,35], center=true); translate([5,0,7.5]) cube([30,40,10], center=true); }...
glb/cad_ed9823cde965.glb
Create a Leonardo's Window art tool by constructing a primary cylinder with a radius of 4mm and a height of 3mm, centered on the origin. Position a second, larger cylinder with a radius of 5.1mm and a height of 15mm horizontally, centered at x=10, and remove a smaller internal cylinder with a radius of 3.1mm and a heig...
rotate([0,90,0]) union(){ difference(){ translate([10,0,0]) rotate([0,90,0]) cylinder(r=5.1,h=15,center=true,$fn=200); translate([13,0,0]) rotate([0,90,0]) cylinder(r=3.1,h=15,center=true,$fn=200); } difference(){ cylinder(r=4,h=3,center=true,$fn=200); cylinder(r=2,h=4,center=true,$fn=200); }}
glb/cad_ecbcba066a1a.glb
Create a Leonardo's Window art tool by starting with a central rectangular block measuring 55mm in width, 40mm in depth, and 23mm in height. From this main body, remove a cylindrical hole with a radius of 4.5mm and a length of 110mm that passes through the center of the block along its depth axis. Additionally, remove ...
difference() { translate([-2.5,5,0]) union() { cube([55,40,23], center=true); } translate([15,0,0]) rotate([0,90,0]) cylinder(r=4.5, h=110, center=true, $fn=200); translate([-7.5,5,11]) cube([15,40,1.9], center=true); translate([-22.5,20,10]) cube([15,40,3], center=true); }
glb/cad_d50899da5b7f.glb
Create a Leonardo's Window art tool by constructing a main rectangular body and modifying it with specific cutouts and additions. Start with a central block measuring 100mm in length, 40mm in width, and 33mm in height. Pass a cylindrical hole with a radius of 3.5mm and a length of 80mm through the center of the block a...
rotate([0,-90,0]) union(){ difference() { union() { translate([35,0,5]) cube([100,40,33], center=true); } translate([0,15,5]) rotate([0,90,90]) cylinder(r=3.5, h=80, center=true, $fn=200); translate([0,15,-5]) rotate([0,90,90]) cylinder(r=3.5, h=80, center=true, $fn=200); translate([50,0,-30]) rotate([0,-15,0]) c...
glb/cad_fc54dd331514.glb
Create a Leonardo's Window art tool by starting with a central rectangular block measuring 55mm in width, 40mm in depth, and 23mm in height. Centered on the right side of this block, carve out a cylindrical hole with a radius of 4.5mm that passes completely through the 40mm depth of the block. On the top surface of the...
mirror([0,1,0]){ difference() { translate([-2.5,5,0]) union() { cube([55,40,23], center=true); } translate([15,0,0]) rotate([0,90,0]) cylinder(r=4.5, h=110, center=true, $fn=200); translate([-7.5,5,11]) cube([15,40,1.9], center=true); translate([-22.5,20,10]) cube([15,40,3], center=true); } }
glb/cad_753a4a80ba88.glb
Create a Leonardo's Window art tool. Start by constructing a central rectangular block 8mm wide, 10mm deep, and 77mm tall. Surround this block with a cylinder that has a radius of 5.5mm and a height of 77mm. At the top of this assembly, integrate a rectangular section that is 30mm wide, 8mm deep, and 12mm tall, cente...
rotate([0,-90,0]) union(){ difference(){ union(){ translate([-16,0,50.5]) cube([8,10,77],center=true); translate([-10,0,12]) cylinder(r=5.5,h=77,$fn=200); union(){ translate([-5,0,6]) cube([30,8,12], center=true); translate([-5,0,13.5]) cube([30,12,3], center=true); difference(){ translate([-5,0,-0.5]) rotate([4...
glb/cad_60b105e45a44.glb
Create a Leonardo's Window art tool by constructing a main body from two intersecting rectangular blocks. First, create a central block measuring 40mm wide, 30mm deep, and 23mm high, centered at the origin. Merge this with a second block measuring 30mm wide, 40mm deep, and 23mm high, shifted 5mm along the x-axis and 5m...
mirror([0,1,0]){ difference() { translate([5,0,0]) union() { cube([40,30,23], center=true); translate([-5,5,0]) cube([30,40,23], center=true); } translate([15.1,0,0]) rotate([0,90,0]) cylinder(r=4.2, h=20, center=true, $fn=200); translate([0,15.1,5]) rotate([0,90,90]) cylinder(r=3.5, h=20, center=true, $fn=200); ...
glb/cad_79840d49a462.glb
Create a Leonardo's Window art tool by constructing a main body from two intersecting rectangular blocks. First, create a central block measuring 40mm wide, 30mm deep, and 23mm high, centered at the origin. Merge this with a second block measuring 30mm wide, 40mm deep, and 23mm high, shifted 5mm along the x-axis and 5m...
difference() { translate([5,0,0]) union() { cube([40,30,23], center=true); translate([-5,5,0]) cube([30,40,23], center=true); } translate([15.1,0,0]) rotate([0,90,0]) cylinder(r=4.2, h=20, center=true, $fn=200); translate([0,15.1,5]) rotate([0,90,90]) cylinder(r=3.5, h=20, center=true, $fn=200); translate([0,15.1,...
glb/cad_3f4d1e782651.glb
Create a Leonardo's Window perspective tool by constructing a main body from two intersecting rectangular prisms. First, create a central block measuring 40mm x 30mm x 23mm, and join it with a second block measuring 30mm x 40mm x 23mm, centered and shifted 10mm along the x-axis. From this combined mass, remove two perp...
difference() { translate([5,0,0]) union() { cube([40,30,23], center=true); translate([-5,5,0]) cube([30,40,23], center=true); } translate([15.1,0,0]) rotate([0,90,0]) cylinder(r=4.5, h=20, center=true, $fn=200); translate([0,15.1,0]) rotate([0,90,90]) cylinder(r=4.5, h=20, center=true, $fn=200); translate([15,15,1...
glb/cad_d767d8b0c9b7.glb
Create a poker chip with a total diameter of 39mm and a height of 3mm. The main body is a short cylinder. Centered on the top and bottom faces, create a circular recessed ring with an outer radius of 21mm and an inner radius of 20mm, leaving a solid central circular core. Within this recessed ring, place eight identi...
FDiameter = 39; FHeight = 3; scale([FDiameter/2/58,FDiameter/2/58,FHeight/4]) translate([0,0,2])for(k=[1,-1])scale([1,1,k]){ translate([0,0,1])difference(){ cylinder(r=58,h=2,center=true); linear_extrude(height=1)for(j=[0:4])rotate([0,0,90*j]){ rotate([0,0,45])translate([50,0])scale([1,.8])rotate([0,0,45])s...
glb/cad_ef2b496fe48c.glb
Create a replacement landing gear strut for a quadcopter arm with a total thickness of 7mm. The main body is a flat plate with a total length of 59.5mm. Start with a base shape that combines a central rectangular section measuring 15.5mm by 35mm with rounded corners (radius 2mm) and a tapered trailing section that narr...
thickness=7; arm_slot_width=28.3; arm_slot_height=7; total_height=59.5; $fn=100; linear_extrude(height=thickness) { difference() { union() { minkowski() { polygon(points=[[8,17.5],[(total_height-2.5),0],[8,-17.5]]); circle(r=2); } minkowski() { square([15.5,35],center=...
glb/cad_a3f0e90c2fde.glb
Create a Bluebird Predator Guard consisting of an elliptical tunnel and a mounting base. First, construct a mounting base plate with a height of 1.3mm and a radius of 8.51mm (calculated as the hole radius plus 4mm). Within this base, place three screw holes with a radius of 2mm: two positioned at the far left and rig...
TunnelLength= 1/2; HoleWidth = 1+ 3/8; HoleHeight = 2; holer=HoleWidth/2*25.4; holeaspect=HoleHeight/HoleWidth; holew=0.8; screwR= 2; holeaspect2=(holer*holeaspect+holew)/(holer+holew); tunnelL=TunnelLength * 25.4; wallt=3; plateH=1.3; plateR=holer+4; zslope=2; slopeA=atan(zslope/tunnelL); slopeL=sqrt(tunnelL*tunnel...
glb/cad_3e1b550b6041.glb
Create a bed plywood holder by starting with a main body formed from the hull of a cylinder with a 38mm diameter and 72mm height, and a rectangular block measuring 41mm by 72mm by 24mm centered at the same height. From this volume, remove a central vertical cylinder with a diameter of 25.8mm and a height of 72mm. Cut a...
quality=360; union(){ difference(){ hull(){ difference(){ cylinder(d=38,h=72,$fn=quality); translate([-72,-7,0]) cube([72,72,72]); } translate([32,5,36]) rotate([90,0,0]) cube([75-34+23,72,16+4*2],center=true); } cylinder(d=25.4+0.4,h=72, $fn=quality); translate([-68,-9,0]) c...
glb/cad_e89cf2065da5.glb
Create a Full Graphic Smart Controller Box designed as a shallow rectangular tray with integrated mounting features. Start with a base plate that is 100mm wide, 94mm deep, and 6mm thick, featuring rounded corners with a 2mm radius. Within this base, carve out a central rectangular cavity 90mm wide and 84mm deep, leav...
$fn=32; module back(){ difference(){ union(){ minkowski(){ translate([2,2,0]) cube([94,88,2]); cylinder(r=2); } translate([2.5,2.5,0]) cube([93,87,6]); translate([42,-6,6]) rotate([0,90,0]) cylinder(h=34, r=6); trans...
glb/cad_7ade9b35228f.glb
Create a Full Graphic Smart Controller Box bracket. Start with a base rectangular plate measuring 21mm by 18mm by 3mm. In the center of this plate, at coordinates (10, 6), create a circular hole with a radius of 1.8mm that passes through the plate. Additionally, create a hexagonal hole with a radius of 3.45mm centered ...
$fn=32; module bra() { union() { difference() { cube([21,18,3]); translate([10,6,-1]) cylinder(h=10, r=3.6/2); translate([10,6,-2.4]) cylinder(h=4, r=6.9/2, $fn=6); } translate([0,16,3]) cube([21,2,50.5]); translate([0,10.1,51.5]) cube([21,5.9,...
glb/cad_aad3c05d4610.glb