Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a belt clamp nut holder by starting with a central rectangular block measuring 18mm in length, 10mm in width, and 3mm in height, centered on the origin. At each end of the block, add a hexagonal prism with a radius of 7mm and a height of 3mm, centered at x = -9mm and x = 9mm respectively. To finish the part, cre...
include <configuration.scad> module beltclamp(){ difference(){ union(0){ translate(v = [0,0,1.5]) cube([18,10,3], center=true); translate(v = [-9, 0, 0]) cylinder(r=7,h=3, $fn=6); translate(v = [9, 0, 0]) cylinder(r=7,h=3, $fn=6); } translate(v = [9,0, 0.5]) nut(m3_nut_diameter,9); translate(v = [-9,0, 0.5]) nut...
glb/cad_66e05a119578.glb
Create a Prusa Mendel bushing by designing a 20mm tall extruded shape with a teardrop-style profile. The profile is based on a circle with a radius of 4.5mm, but instead of a full circle, it features a flat top section. Specifically, the profile consists of a circular arc that is truncated by a flat edge, creating a te...
teardropcentering2(); module teardrop (r=4.5,h=20) { rotate([-270,0,90]) linear_extrude(height=h) { circle(r=r, $fn = 25); polygon(points=[[0,0],[r*cos(30),r*sin(30)],[0.5*r,r],[-0.5*r,r],[-r*cos(30),r*sin(30)]], paths=[[0,1,2,3,4]]); } } module teardropcentering (r=4.5,h=20) { rotate([-270,0,90]) linea...
glb/cad_60795c31ad5f.glb
Create a Prusa Mendel X-end idler mount. Start by constructing the base x-end geometry. On top of this base, centered at a height of 12.5mm, add two rectangular blocks: one measuring 25.5mm by 7mm by 4.4mm centered at [21, -21.5, 25.3], and another measuring 24mm by 5mm by 4.4mm centered at [20, 12.5, 25.3]. Combine th...
include <configuration.scad> corection = 1.17; use <x-end.scad> support_beam_offset=(linear==true) ? 6:0; module xendidler(linear){ xend(true,linear); translate(v = [0, 0, 12.5]){ mirror(){ difference(){ union(){ translate(v = [21, -21.5, 25.3]) cube(size = [25.5,7,4.4], center = true); transla...
glb/cad_ab67ef0a3adf.glb
Create a Y motor bracket for a Prusa Mendel. Start with a main body formed by the intersection of a centered 46mm by 42mm by 6mm block and a 25mm by 42mm by 14mm block shifted 7mm up on the Z-axis, further clipped by a 52mm cube rotated 45 degrees on the Z-axis and centered at Z=3. Remove four vertical screw holes wi...
include <configuration.scad> drive_pulley_dia = 8; idler_dia = 22; pushed_dia = 2; axes_distance = drive_pulley_dia/2 + idler_dia/2 + pushed_dia; layer_height = 0.35; difference(){ intersection(){ union(){ translate([0-2,0,3]) cube([42+4,42,6], center=true); translate([-10.5-2,0,7+6]) cube([21+4,42,14], cent...
glb/cad_48ae2ffef021.glb
Create a belt clamp by starting with a central rectangular block measuring 18mm in width, 10mm in depth, and 7mm in height. Attach a cylinder with a 5mm radius and 7mm height to each of the two 10mm by 7mm side faces, centering them so the overall shape is an oblong with rounded ends. From this solid, remove a 12-sid...
include <configuration.scad> module beltclamp(){ difference(){ union(0){ translate(v = [0,0,3.5]) cube([18,10,7], center=true); translate(v = [-9, 0, 0]) cylinder(r=5,h=7); translate(v = [9, 0, 0]) cylinder(r=5,h=7); } translate(v = [-9, 0, -1])polyhole(m3_diameter, 12); translate(v = [9, 0, -1]) polyhole(m3_diam...
glb/cad_46331bae249e.glb
Create a Z motor mount for a 3D printer. Start with a central block 55mm wide, 60mm deep, and 16mm thick, centered on the X and Y axes. Attach a base plate to the bottom of this block that is 55mm wide, 58.5mm deep, and 8mm thick, centered on the X and Y axes. Add two horizontal cylindrical holes with a radius of 8mm ...
include <configuration.scad> module zmotormount(){ difference(){ union(){ translate(v=[2.5,0,0]) cube(size = [55,60,16], center = true); translate(v=[2.5,0,-4]) cube(size = [55,74.5-16,8], center = true); translate(v=[-25,29.25,0]) rotate(a=[0,90,0]) cylinder(h = 55, r=8, $fn=30); translate(v=[-25,-29.25,0]) rotate(a=...
glb/cad_6d0f0b3c64a8.glb
Create a printable bushing for a Prusa Mendel. Start by creating a central rectangular base measuring 22mm in length, 10mm in width, and 0.5mm in height, centered on the origin. On top of this base, add three thin rectangular strips, each 20mm long and 0.5mm high. Position the first strip centrally along the length of ...
include <configuration.scad> rodsize = bushing_rodsize; outerDiameter = bushing_outerDiameter; lenght = bushing_lenght; type = bushing_type; module printable_bushing(){ translate(v = [0,0,0.5]){ cube(size = [22,10,0.5], center=true); translate(v = [0,0,0.5]) cube(size = [20,2,0.5], center=true); translate(v =...
glb/cad_dee9a297891b.glb
Create a rod clamp by starting with a rectangular block measuring 10mm by 25mm by 10mm, centered on the origin. Remove a cylindrical hole with a radius of 4.1mm and a length of 20mm that passes through the center of the block along its 10mm axis. Additionally, create two smaller holes for M3 screws by removing two cyli...
include <configuration.scad> module rodclamp(){ translate([-5,0,5]) rotate([0,-270,0]) translate([0,0,5]) difference(){ cube([10,25,10],center=true); translate([-5,0,0]) cylinder(r=4.1,h=20,center=true); translate([0,7,0]) rotate([0,90,0]) cylinder(r=m3_diameter/2,h=20,center=true);translate([0,-7,0]) rotate([0,90,0])...
glb/cad_47f120de9ccb.glb
Create a Prusa Mendel LM8UU bushing by starting with a solid cylinder that has an outer diameter of 15mm and a height of 24mm. From the center of this cylinder, remove a square-shaped vertical column to create a through-hole. This cutout should be a square with a side length of approximately 5.518mm (calculated as 7.8m...
lm8uu_od = 15; lm8uu_l = 24; lm8uu_id = 7.8; clearance_ratio = 1.05; contact_length = 4; cutout_width = lm8uu_id / sqrt(2); %translate([0, 0, -lm8uu_l]) cylinder(r = lm8uu_id / 2, h=lm8uu_l * 3, $fn=256); difference() { cylinder(r=lm8uu_od / 2, h=lm8uu_l, $fn=128); translate([-cutout_width / 2, -lm8uu_id * clear...
glb/cad_f3e0dfe785e2.glb
Create a pulley for a Prusa Mendel. Start with a base formed by rotating a profile around the Z-axis to create a stepped cylinder: a main disk 10mm in diameter and 7mm high, with a smaller 9mm diameter section 8mm high, topped with a 1mm radius rounded edge at the outer perimeter. Centered vertically through the entire...
include <configuration.scad> module pulley() { module spur() { linear_extrude(height=20) polygon([[-1,-1],[-1,1],[0.7,0.7],[0.7,-0.7]],[[0,1,2,3,0]]); } difference() { union() { rotate_extrude($fn=30) { square([9,8]); square([10,7]); translate([9,7]) circle(1); } cylinder(r=...
glb/cad_2ea6ae4fba08.glb
Create an endstop holder with a base height of 10mm. The main body consists of a central rectangular section and two mounting standoffs. Position one standoff as a 6x5x10mm block at coordinates (-7, -3, 0) and a second identical block 43mm away at (-50, -3, 0). Connect these with a rectangular bridge measuring 75x4x10m...
include <configuration.scad> module endstop(){ outer_diameter = m8_diameter/2+3.3; screw_hole_spacing = 43; opening_size = m8_diameter-1.5; difference(){ union(){ translate([outer_diameter, outer_diameter, 0]) cylinder(h =10, r = outer_diameter, $fn = 20); translate([outer_diameter, 0, 0]) cube([15.5,outer_diam...
glb/cad_025a9a77db0d.glb
Create a Prusa Mendel X-carriage. Start with a central base block 35mm wide, 50mm deep, and 5mm thick, centered at [15, 0, 2.5]. Add a second rectangular block 35mm wide, 20mm deep, and 5mm thick centered at [0, 18.5, 2.5]. Integrate a pentagonal prism with a radius of 35mm and height of 5mm centered at [-2.4, -6, 2.5]...
include <configuration.scad> snap_in_mount = false; use <bushing.scad> module mountingholes(){ translate(v = [0, -25, -5]) polyhole(m3_diameter,10); translate(v = [0, 25, -5]) polyhole(m3_diameter,10); } module xcarriage(linear_bearings){ union(){ translate(v = [0,0,2.5]) union(){ difference(){ ...
glb/cad_49ac18e7e443.glb
Create a Prusa Mendel X-end motor mount. Start by constructing a mirrored X-end base. Attached to this, create a motor mount with a thickness of 9mm. The mount is designed for a NEMA 17 motor, with a width and hole spacing of 30.48mm (1.2 inches). The mount features a specific geometric profile: a central rectangular...
include <configuration.scad> corection = 1.17; use <x-end.scad> difference (){ union () { mirror() xend(true,linear); translate(v = [0, 0, 0]) positioned_motor_mount(); } positioned_motor_mount_holes(); } translate([-5,-30,2])scale([2,1,2]) rotate(a=[90,0,0]) linear_extrude(file = "this-way-up.dxf", la...
glb/cad_436c24e111dc.glb
Create a Prusa Mendel endstop holder. Start with a base composed of a cylinder with a radius of 7.3mm and a height of 10mm, using 20 facets. Merge this with a rectangular block measuring 15.5mm by 14.6mm by 10mm, centered on the cylinder's axis, and a second rectangular block measuring 35mm by 4mm by 10mm positioned to...
include <configuration.scad> module endstop(){ outer_diameter = m8_diameter/2+3.3; screw_hole_spacing = 20; opening_size = m8_diameter-1.5; difference(){ union(){ translate([outer_diameter, outer_diameter, 0]) cylinder(h =10, r = outer_diameter, $fn = 20); translate([outer_diameter, 0, 0]) cube([15.5,outer_diam...
glb/cad_34523a9ba403.glb
Create a vertical hexagonal prism with a total height of 100mm and a flat-to-flat width of 10mm. The top of the prism is flat, while the bottom tapers to a point; specifically, the bottom section is a cone with a base radius of 6mm and a height of 20mm, blending into the hexagonal body. Run a continuous vertical hole ...
$fn = 50; delka = 100; r=5; rotate([0,90,0]) difference () { rotate([120,0,0]) difference() { rotate([120,0,0]) difference() { translate([0,0,r]) rotate([0,90,0]) difference() { intersection() { union() { cylinder(h=delka-10, r=r+1); translate([0,0,delka-10]) cylinder(...
glb/cad_5366f4215543.glb
Create a 3D model of a decorative pen-like object. Start by constructing a main body that is the intersection of a cylinder with a radius of 6mm and a height of 90mm, and a hexagonal prism with a flat-to-flat width of 10mm and a height of 200mm. Remove a central longitudinal hole with a radius of 1.8mm from this body. ...
$fn = 30; delka = 100; r=5; rotate([120,00,0]) difference () { rotate([120,0,0]) difference() { rotate([120,0,0]) difference() { translate([0,0,r]) rotate([0,90,0]) difference() { intersection() { union() { cylinder(h=delka-10, r=r+1); translate([0,0,delka-10]) cylinde...
glb/cad_1b6cc7cd65fe.glb
Create a pencil-shaped object starting with a hexagonal prism that is 100mm long with a flat-to-flat width of 10mm. At one end of the prism, create a conical tip that transitions from the hexagonal base to a point over a length of 20mm. Bore a cylindrical hole with a radius of 1.8mm through the center of the entire len...
$fn = 30; delka = 100; r=5; t="MARUŠKA"; dd=65; rotate([180,0,0]) difference() { translate([0,0,r]) rotate([0,90,0]) difference() { intersection() { union() { cylinder(h=delka-10, r=r+1); translate([0,0,delka-10]) cylinder(h=20, r1=r+1, r2=0); } ...
glb/cad_10a6266ec182.glb
Create a screwless micro servo mount consisting of a flat base and two upright clipping arms. Start by creating a rectangular base that is 25mm long, 10mm wide, and 2mm thick. At each end of the base, add a vertical clipping arm. Each arm begins with a vertical rectangular section 1.5mm thick, 10mm wide, and 14.5mm hig...
servo_length = 23; servo_holder_width = 10; servo_holder_height = 14.5; servo_holder_depth = 2; clip_width = 1.5; clip_overhang = 1.5; module servo_clip_handle() { union() { cube([clip_width, servo_holder_width, servo_holder_height]); translate([0, 0, servo_holder_height])cube([clip_width + clip_...
glb/cad_e8fa8482b200.glb
Create a micro servo mount consisting of a flat base and two upright clipping handles. Start by creating a rectangular base 25mm long, 10mm wide, and 2mm thick. At each end of the base, add a vertical clipping handle. Each handle is composed of a main vertical block 10mm wide and 14.5mm high, with a 1.5mm thick vertica...
$fn = 100; servo_length = 23; servo_holder_width = 10; servo_holder_height = 14.5; servo_holder_depth = 2; clip_width = 1.5; clip_overhang = 1.5; screw_hole_z = 9; screw_hole_x = -1.2; module servo_clip_handle(clip) { difference() { union() { cube([clip_width, servo_holder_width, servo_hold...
glb/cad_b570d6128339.glb
Create a waterwheel model consisting of a central disk and six radiating spiral blades. Start with a base cylinder that has a radius of 36mm and a height of 10mm. Add six identical spiral arms distributed evenly every 60 degrees around the center. Each arm is an extruded Archimedean spiral with a thickness of 5mm and...
module archimedean_spiral(spirals=1, thickness=1, rmax = 100){ s = spirals*360; t = thickness; a = sqrt(pow(rmax,2)/(pow(s,2)*(pow(cos(s),2) + pow(sin(s),2)))); points=[ for(i = [0:$fa:s]) [ (i*a)*cos(i), (i*a)*sin(i) ] ]; points_inner=[ for(i = [s...
glb/cad_d0b0c65d1a9b.glb
Create a 3D waterwheel consisting of a circular base and six curved vanes. Start by creating a solid cylinder with a radius of 36mm and a height of 10mm. Carve six identical spiral vanes into the cylinder. Each vane should follow an Archimedean spiral path, starting from a central offset of 1mm and extending outward ...
module archimedean_spiral(spirals=1, thickness=1, rmax = 100){ s = spirals*360; t = thickness; a = sqrt(pow(rmax,2)/(pow(s,2)*(pow(cos(s),2) + pow(sin(s),2)))); points=[ for(i = [0:$fa:s]) [ (i*a)*cos(i), (i*a)*sin(i) ] ]; points_inner=[ for(i = [s...
glb/cad_6d0a1396661e.glb
Create a woodworking table model. Start with a central rectangular tabletop that is 60mm wide, 48mm deep, and 2mm thick. On each of the two shorter ends of the tabletop, center a breadboard strip that is 6mm wide, 48mm deep, and 2mm thick. Construct the support structure using two identical leg assemblies. Each assemb...
feet = 12; table_width = 7 * feet; table_depth = 4 * feet; table_height = 30; table_thickness = 2; breadboard_width = 6; leg_thickness = 2; leg_width = 5; leg_separation = 8; truss_height = 5; truss_thickness = 1; truss_extension = 3; foot_height = 4; foot_thickness = 4; leg_height = table_height - table_thickness; l...
glb/cad_3f3ee95527e5.glb
Create a woodworking table model with a total width of 72mm and a depth of 36mm. The structure consists of two rectangular frames, one at the top and one at a shelf height of 12mm. Each frame is composed of two long rails measuring 72mm by 3.5mm by 1.5mm running the width, connected by four cross-joists measuring 33mm ...
feet = 12; table_width = feet * 6; table_depth = feet * 3; table_height = 34 + 1/8; shelf_height = 12; leg_height = table_height - 3/4; module tbf(length, center = true) { cube([length, 3.5, 1.5], center); }; module tbs(length, center = true) { cube([length, 5.5, 1.5], center); }; module ply(width, length, center...
glb/cad_d104443ef037.glb
Create a hardware mount for a CoreXY printer. Start with a base composed of two joined rectangular blocks: one measuring 20 by 65 by 10 mm and another measuring 50 by 40 by 10 mm, both centered on the Y-axis. Subtract the following features from this volume: two LM8UU bearing holes with integrated zip-tie slots (widt...
$fn=32; use <./library.scad>; with_linear_bearings = true; use_insert_nuts=true; layer_height=0.2; nema17_width = 42.3; GT2_pulley_diameter = 12.73; GT2_thickness = 2; pulley_diameter = 20; screw_x = nema17_width/2 + GT2_pulley_diameter/2 + GT2_thickness + pulley_diameter/2; screw_separation=with_linear_bearings ? 2*...
glb/cad_fd0e56edb76c.glb
Create a hardware block for a printer by starting with a rectangular prism measuring 5mm wide, 20mm long, and 10mm high, centered on the origin. Remove two cylindrical screw holes, each 3mm in diameter and 3mm long, positioned along the long axis at coordinates [0, 5, 0] and [0, -5, 0], both rotated 90 degrees to run t...
$fn=32; use <../library.scad>; difference() { difference() { translate([0,0,0]) cube([5,20,10], center=true); translate([0, 5,0]) rotate([0,90,0]) screw(d=3, l=3); translate([0,-5,0]) rotate([0,90,0]) screw(d=3, l=3); } for(i = [-3:3]) translate([i*2,0,-(6+1)/2]) GT2_tooth(h=6+1+2); }
glb/cad_171ce97520bd.glb
Create a rectangular block measuring 32mm in length, 14mm in width, and 10mm in height. Center the block on the origin. Remove a vertical cylindrical hole with a diameter of 8.25mm that passes completely through the center of the block along its height. Additionally, remove two countersunk screw holes, each with a diam...
$fn = 32; use <./library.scad>; difference() { translate([0,0,5]) cube([32,14,10], center=true); translate([0,0,2.5]) cylinder(d=8+0.25, h=100); translate([9.5,0,5]) rotate([0,180,0]) screw(d=5, l=5.1); translate([-9.5,0,5]) rotate([0,180,0]) screw(d=5, l=5.1); }
glb/cad_a85b2e06296f.glb
Create a pulley for a corexy printer. Start with a central cylinder that has a diameter of 21mm and a total height of 12mm. Add a thin circular guide flange with a diameter of 23mm and a thickness of 1mm to both the top and bottom faces of the cylinder. Carve a central vertical hole through the entire assembly to acc...
$fn = 128; bearing_diameter = 14.35; bearing_height = 5; bearing_holder_diameter = 12; pulley_height = 12; pulley_diameter = 20.5+0.5; pulley_guide_width = 1; tooth = true; module GT2_tooth(h) { translate([-1,-0.5,0]) cube([2,0.5,h]); linear_extrude(height=h) polygon([[0.747183,-0.5],[0.747183,0],[0.647876,0.037...
glb/cad_a0ba0d0d7adb.glb
Create a hardware component for a CoreXY printer. Start by creating a central rectangular block measuring 30mm in length, 21.5mm in width, and 7.5mm in height. From this base, remove a large central volume to create a hollow interior. At one end of the block, carve out a semi-cylindrical void with a radius of 15mm an...
$fn=32; difference() { scale([1,1,0.5]) translate([0,0,-1]) rotate([90,0,0]) cylinder(r=15+1, h=19.5+2, center=true); scale([1,1,0.5]) rotate([90,0,0]) cylinder(r=15, h=19.5, center=true); translate([0,0,50/2]) cube([50,50,50], center=true); translate([50/2,0,0]) cube([50,50,50], center=true); } difference() {...
glb/cad_d2b8dd853d4b.glb
Create a hardware mount for a corexy printer. Start by forming a main body composed of two intersecting rectangular prisms: one measuring 27.365mm by 20mm by 40mm, and a second, thinner vertical slab measuring 5mm by 20mm by 50mm, both centered on the Y-axis. From this combined volume, remove a large central rectangula...
$fn=32; use <../library.scad>; nema17_width = 42.3; GT2_pulley_diameter = 12.73; ALU_width = 20; GT2_thickness = 2; crowned_pulley_diameter = 20; screw_x = nema17_width/2 + GT2_pulley_diameter/2 - ALU_width + GT2_thickness + crowned_pulley_diameter/2; size_x = screw_x + 5; screw_y = ALU_width - 5; inner_height = 30-...
glb/cad_65b70c1795f1.glb
Create a spacer for a pulley holder by constructing a complex geometric body with a total height of 30mm. Start by creating a central vertical cylinder with a diameter of 10mm and a height of 5.0mm. Above this base, add a larger cylinder with a diameter of 16mm and a height of 17mm. At the top of this assembly, place a...
$fn=128; mode = "spacer"; total_height = 30; h_plane = 1.5; bearing_height = 5; pulley_height = 12; inner_height = total_height - 2*h_plane; space_between_pulleys = (inner_height-2*pulley_height)/3; h_washer = (pulley_height-bearing_height)/2 + space_between_pulleys; h_washer_middle = pulley_height-bearing_height...
glb/cad_9c5340726815.glb
Create a hardware mount for a stepper motor. Start with a base plate that is a cube 42.3mm wide, 42.3mm deep, and 5mm thick. From this base, remove a central volume to accommodate a stepper motor with a height of 60mm and a width of 42.3mm. This cutout should include a central pilot hole with a diameter of 26mm and a h...
use <./library.scad>; $fn = 32; stepper_width=42.3; difference() { translate([stepper_width/2-20, 0, 0]) cube([stepper_width,stepper_width,5], center=true); translate([stepper_width/2-20, 0, -2.5]) rotate([0,0,0]) stepper_motor( height=60, width=stepper_width, chamfer=4, screw_distance=31, pil...
glb/cad_a9f1721ca700.glb
Create a hardware mount for a stepper motor. Start with a central base plate that is a cube 42.3mm wide, 42.3mm deep, and 5mm thick. From this base, remove a central void to accommodate a stepper motor with a total height of 60mm and a width of 42.3mm. This void should include a central pilot hole with a diameter of 24...
use <./library.scad>; $fn = 32; stepper_width=42.3; difference() { translate([stepper_width/2-20, 0, 0]) cube([stepper_width,stepper_width,5], center=true); translate([stepper_width/2-20, 0, 2.51]) rotate([180,0,0]) stepper_motor( height=60, width=stepper_width, chamfer=4, screw_distance=31, p...
glb/cad_10e20eeee594.glb
Create a 3D nameplate for a keyring featuring the text "Emma" using the Chewy font. Each letter should be 25mm in size and centered along the X-axis. The letters are extruded to varying heights: the first letter is 6mm high, the second 5mm, the third 4mm, the fourth 6mm, the fifth 4mm, and the sixth 5mm. Apply a -5 d...
Font_name = "Chewy"; Text = "Emma"; Rotation = 50; letter_1_height = 6; letter_1_space = 10; letter_2_height = 5; letter_2_space = 10; letter_3_height = 4; letter_3_space = 10; letter_4_height = 6; letter_4_space = 10; letter_5_height = 4; letter_5_space = 10; letter_6_height = 5; letter_6_space = 10; twist = ...
glb/cad_97087c07e7ab.glb
Create a personalized keyring nameplate that reads "Laurence" using the Chewy font. The text should be centered around a central point, with each character sized at 25mm. Extrude the letters to varying heights to create a wave-like effect: the first letter at 6mm, second at 5mm, third at 4mm, fourth at 6mm, fifth at 4m...
Font_name = "Chewy"; Text = "Laurence"; Rotation = 50; letter_1_height = 6; letter_1_space = 10; letter_2_height = 5; letter_2_space = 11; letter_3_height = 4; letter_3_space = 11.4; letter_4_height = 6; letter_4_space = 11; letter_5_height = 4; letter_5_space = 11.4; letter_6_height = 5; letter_6_space = 11.5;...
glb/cad_759a29323b92.glb
Create a sensor mount consisting of a central pedestal and a flat base. Start by constructing a base that is 30mm wide, 20mm deep, and 5mm thick, with the ends rounded as a hull between two cylinders of 10mm radius centered 30mm apart along the width. Drill two vertical holes through this base, each 4mm in diameter, po...
$fn=40; screw_diameter = 4; hole_distance = 30; base_depth = 5; base_height = 10; base_width = 20; pedestal_width = 16; pedestal_height = 20; pedestal_depth = 10; sensor_height = 16; sensor_width = 10; sensor_depth = 3; union() { difference() { translate([-pedestal_width/2,-base_width/2,0]) cube([ped...
glb/cad_28dc96259ca2.glb
Create a snap ring with a radius of 20mm and a total height of 30mm. The main body is a hollow ring with a wall thickness of 1mm. At the top and bottom faces, integrate conical snap-fit profiles: the bottom profile should taper outwards from a radius of 20mm to 21mm over a height of 1mm, while the top profile tapers in...
use <ring.scad>; snap_ring(20,30,1,solid=false, locks=true); module snap_tab( base, width, height, factor = 4, thick = 1){ difference() { union() { cylinder( r1 =base, r2 = base+width, h = height); translate( [0,0,height] )cylinder( r1 =base+width, r2 = base, h = (factor-1)*height)...
glb/cad_bc52d362153c.glb
Create a sandpit model consisting of six identical geometric units arranged in a circular pattern. Each unit is a flat plate with a depth of 1mm. Start by constructing a single unit: create a hexagonal prism with a radius of 10mm and a height of 1mm. From this hexagon, remove three circular sections. Each circular cu...
$fn = 50; use <ring.scad>; central_radius = 20; circle_triad( circle_radius = central_radius, hexagons_radius = 10); module circle_triad(circle_radius = 30, hexagons_radius = 20, depth = 1) { for ( i = [ 30,90, 150, 210, 270,330 ] ) rotate(i) translate( [circle_radius,0,0] ) rotate(-30) triad(arc_radius=...
glb/cad_94fe044d3027.glb
Create a cylindrical base with a diameter of 25mm and a height of 20mm. Centered on top of this base, add a vertical peg that is 20mm tall with a diameter of 6mm. Within the main cylindrical base, carve out the following features: first, create a circular belt channel by removing a torus with a cross-sectional radius ...
include <MCAD/constants.scad>; rm_height = 20; rm_diameter = 6; base_height = 20; base_diameter = 25; base_radius = base_diameter/2; hole_diameter = 2; hole_radius = (hole_diameter/2); hole_depth = 10; pin_position = [ [ -0.25 * mm_per_inch, -0.25 * mm_per_inch, base_height - hole_depth] , [ -0.2...
glb/cad_63d78a36023a.glb
Create an exponential horn with a wall thickness of 2mm and a total length of 100mm. The shape is a hollow, rotationally symmetric vessel formed by rotating a profile around a central axis. The internal cavity begins at the base with a diameter of 23mm and expands exponentially along its length to reach a larger openin...
$fn= 100; use <ring.scad>; piezo_od = 43; piezo_id = 23; horn_length = 100; holder_length = 20; function radius(diameter) = diameter/2; module exponential_horn(initial_diameter, length, m_factor, thick = 2, steps = 1) { x_axis = [0:steps:length]; exp_internal_points = concat( [ for( i = x_axis ) [i,(initial_diame...
glb/cad_bc17f89b5843.glb
Create a puck lead core by constructing a composite cylindrical body with a total height of 28.2mm. Start with a central cylinder that has a diameter of 72.2mm and a height of 21mm. Add a second, inner cylinder centered within the first, with a diameter of 65mm and a height of 25mm. To create the beveled top and bottom...
$fn = 100; puck_lead_core(bevel = false, core_version = LEAD_CORE_SIMMS_V3()); core_measures = [ [ 74, 21.4, 63.6 , 7.5, 28.2], [ 72.3, 21.2, 64.4 , 7.5, 28.2], [ 72.2, 21.0, 65.0 , 7.5, 28.2], ]; function LEAD_CORE_SIMMS_V1() = 0;...
glb/cad_87bd5b354196.glb
Create a pipe holder by starting with a horizontal cylinder that has a diameter of 50mm and a length of 70mm. Hollow out this cylinder to create a semi-cylindrical shell with a wall thickness of 4mm. At the center of this shell, along its length, create a vertical hole with a diameter of 12mm and a height of 4mm. Surro...
$fn = 200; pipe_diameter = 50; holder_length = 70; holder_height = 4; nut_offset = holder_length/2; nut_diameter = 16.5; nut_hole_height = 4; pb_hole_diameter = 12; top_oring_diameter = 14; top_oring_depth = 1; curve_radius = pipe_diameter/2; difference(){ translate([0,0,-(curve_radius-holder_height)]) difference...
glb/cad_86b22fbdc868.glb
Create an O-ring by revolving a circle around a central axis to form a torus. The circle being revolved should have a diameter of 3mm and its center should be positioned 41mm away from the axis of rotation. This will result in a ring with a cross-sectional diameter of 3mm, an inner diameter of 79mm, and an outer diamet...
function ring_const() = 5; module ring(r1, r2, h, center = false) { difference() { cylinder(r = r1, h = h, center = center); translate([ 0, 0, -1 ]) cylinder(r = r2, h = h+2, center = center); } } o_ring(inside_diameter=79,oring_width=3); module o_ring( inside_diameter, outside_diameter) { ...
glb/cad_740afc40d32b.glb
Create a Vibrating-Distance-Sensor mount by constructing a flat, oblong base with a thickness of 3mm. The main body is formed by two cylinders with a radius of 6mm, centered 16mm apart along the x-axis, and connected by a rectangular block of 16mm by 12mm by 3mm centered between them. From this solid base, remove a c...
objectThickness = 3; keyHoleRadius = 1.25; keyFrameRadius = 6; keyHoleDistance = 16; servoHornHubRadius = 3; $fn = 25; translate ([-keyHoleDistance/2, 0, 0]){ servoHornBase(keyHoleRadius, keyFrameRadius, keyHoleDistance, objectThickness, keyLength, keyStaffHeight, servoHornHubRadius); } module servoHornBase(holeRadi...
glb/cad_bc73b5a4586f.glb
Create a Vibrating Distance Sensor footprint with a total thickness of 3mm. The design is centered around a central axis. Place two main transducer cylinders, each with a radius of 8.75mm and a height of 3mm, positioned 13mm apart from each other along the X-axis (centered at X=13 and X=-13). Between these two cylind...
transducerOffset = 26; transducerRadius = 8.75; screwRadius = 1.5; screwHorizontalOffset = 40; screwVerticalOffset = 15; altScrewRadius = 0.9; altScrewHorizontalOffset = 42.4; altScrewVerticalOffset = 17.25; crystalWidth = 11; crystalHeight = 5; crystalDistanceFromCenter = 7.5; $fn = 20; module distanceSensorFootPri...
glb/cad_51ce3f1f97ba.glb
Create a Vibrating-Distance-Sensor enclosure consisting of a main body and a removable lid. For the main body, create a rectangular box with an interior width of 49mm, height of 24mm, and depth of 14mm. The walls and base should have a thickness of 2mm. On one of the long side walls, centered horizontally, create a c...
objectThickness = 2; majorDiameter = 20; infinity = majorDiameter*3; interiorHeight = 24; interiorWidth = 49; interiorDepth = 14; wireRadius = 2.5; lidThickness = objectThickness + 1; screwWingScale = 20; screwWingHoleRadius = 2.6; servoBodyWidth = 23.5; servoBodyHeight = 12.5; servoBodyDepth = 16; servoClampWidth = 3...
glb/cad_4b0efacd31ed.glb
Create a Vibrating-Distance-Sensor enclosure consisting of a front and back face connected by walls. Both the front and back faces are rectangular plates with dimensions 53mm by 28mm and a thickness of 2mm. For the front face, create a rectangular cutout to accommodate a distance sensor footprint. Add four walls of 2m...
objectThickness = 2; majorDiameter = 20; infinity = majorDiameter*3; interiorHeight = 24; interiorWidth = 49; interiorDepth = 12; wireRadius = 2; screwWingScale = 20; screwWingHoleRadius = 2.6; $fn = 25; use <servoHornBase.scad> use <distanceSensorFootPrint.scad> use <screwWing.scad> use <ssymbol.scad> translate([0, ...
glb/cad_42a4bd97b85f.glb
Create a slim protective case base for a Beaglebone Black PCB. The base consists of four mounting pegs positioned at the PCB's hole locations. Each peg is a composite cylinder: a main cylinder with a diameter of 3.2mm and a height of 2mm, topped by a smaller cylinder with a diameter of 2mm and a height of 1.5mm. One of...
Render_Options = 2; Lid_Options = 0; DevRails_Options = 0; include <BBB_SlimCase_v2_Library.scad> module Base() { translate([BB_Hole1X,BB_Hole1Y,0]) MountingPeg(); translate([BB_Hole2X,BB_Hole2Y,0]) MountingPeg(); translate([BB_Hole3X,BB_Hole3Y,0]) MountingPegFlat(); translate([BB_Hole4X,BB_Hole4Y,0]) ...
glb/cad_c215c0ebdff8.glb
Create a leaf-case protective enclosure consisting of a base and a lid. For the base, create a rounded rectangular shell with a wall thickness of 2mm. The outer dimensions are 88mm in length, 54mm in width, and 17mm in height. Hollow out the interior to create a cavity, leaving a 2mm floor. On the left side of the ba...
Render_Options = 2; Lid_Options = 0; DevRails_Options = 0; include <BBB_SlimCase_v2_Library.scad> module Base() { union() { difference() { translate([-Case_Thickness-Case_Gap, -Case_Thickness-Case_Gap, -Case_Thickness]) { union() { roundCornersCube(Case_L-Case_LgCurve_R, Case_W, Case_Z, Case_SmCurve_R...
glb/cad_53a1a08be3d2.glb
Create an actuator shaft rail for a hexapod robot. Start with a central body composed of several rectangular blocks: two cubes measuring 6mm by 25mm by 30mm positioned 125mm apart (centered at +/- 62.5mm on the X-axis), a central flat plate measuring 131mm by 25mm by 5mm, and a lower base plate measuring 150mm by 25mm ...
include <shapes.scad> rotate([90,0,0]){ shaft_rail();} module shaft_rail() { color("yellow",1) { translate([77.5,0,0]) { difference() { union() { translate([-62.5,0,20]){cube([6,25,30],center=true);} translate([62.5,0,20]){cube([6,25,30],center=true);} ...
glb/cad_04bfc4ffaa7e.glb
Create a leggie hexapod robot chassis consisting of a main box, a lid, and two joystick mounts. First, create the main box as a rectangular slab measuring 200mm x 100mm x 3mm. At the positions (±65, ±95, 0), add eight cylindrical holes with a diameter of 10mm and a height of 3mm. Additionally, remove eight smaller cy...
include <shapes.scad> include <parts_lib.scad> module asm(); { translate([65,-12,30]){rotate([0,0,0]){joy_mount();}} translate([-65,-12,30]){rotate([0,0,0]){joy_mount();}} translate([0,0,-24]){box();} translate([0,0,-4]){spacer();} translate([0,0,20]){boxlid();} } module boxlid() { color("dimgray",1){ diff...
glb/cad_74a644bfef0c.glb
Create a carriage half for a linear actuator nut holder. Start with a central rectangular block measuring 30mm in width, 12mm in depth, and 19mm in height. From this block, remove a central cylindrical core with a diameter of 6mm and a height of 150mm. Within this same central axis, remove a hexagonal prism with a di...
include <shapes.scad> rotate([-90,0,0]){carrage_half();} module carrage_half() { color("white",1) { difference() { translate([74.,6,20]){cube([30,12,19],center=true);} rotate([0,90,0]) { translate([-20,0,74]) { rotate([0,0,0]) { cylinder(h=150,...
glb/cad_b22de0547a00.glb
Create a connecting rod for a hexapod robot. Start with a central rectangular block measuring 95mm in length, 10mm in width, and 20mm in height. At both ends of this block, center a cylinder with a height of 10mm and a diameter of 25mm, oriented so the circular faces are the ends of the rod. To create the pivot holes...
module conrod(); { color("red",1) rotate([-90,0,0]) translate([74,0,20]) { difference() { union() { translate([0,21,0]){rotate([-90,0,0]){ cylinder(h=10,d=25,center=true,$fn=60);}} translate([47.5,21,0]){cube([95,10,20],center=true);} translate([95,21,0]){rotate([-90,0,0])...
glb/cad_e875d76da893.glb
Create a spacer for a hexapod robot by constructing a hexagonal prism with a height of 32mm and a diameter of 15mm. Center the shape on all axes. Bore a cylindrical hole through the center of the prism along its entire length, with a diameter of 7mm and a height of 40mm, ensuring the hole is also centered. Use a facet ...
include <shapes.scad> include <parts_lib.scad> module spacer(); { color("blue",1)rotate([90,0,0]) { difference() { cylinder(h=32,d=15,center=true,$fn=6); cylinder(h=40,d=7,center=true,$fn=60); } } }
glb/cad_a7a3cfbcdcda.glb
Create a hip pivot for a hexapod robot. Start with a central cylinder 135mm long with a 6mm diameter. Around this, place a hexagonal prism with a diameter of 40mm and a height of 130mm, centered on the same axis. Add a rectangular block 5mm wide, 50mm deep, and 80mm high, centered at x=-15. Construct a series of rect...
include<shapes.scad> module hip_pivot(); { rotate([0,-90,0])color("yellow",1) { difference() { union() { translate([95,0,7.5])cube([10,20,5],center=true); translate([95,0,62.5])cube([10,20,5],center=true); translate([50,15,10])cube([100,10,10],center=true); translate([50,-...
glb/cad_5372eb9b708a.glb
Create a hip slide for a hexapod robot. Start with a central rectangular block measuring 25mm x 25mm x 15mm. Remove a large rectangular section from the top, leaving a base and side walls, by centering a 28mm x 22mm x 17mm cutout at a height of -5mm, offset by 20mm in both positive and negative Y directions. Add a ce...
module hip_slide(); { rotate([0,180,0]) color("red",1)translate([0,0,12]) difference() { cube ([25,25,15],center=true); translate([0,20,-5])cube ([28,22,17],center=true); translate([0,-20,-5])cube ([28,22,17],center=true); translate([0,0,1])cylinder (h=3,d1=9,d2=16,center=true,...
glb/cad_0ec50ea951fe.glb
Create a leg base for a hexapod robot. Start with a main central base plate measuring 310mm in length, 60mm in width, and 4mm in height. Add two side rails running the length of the base, each 310mm long, 4mm wide, and 12mm high, positioned 28mm from the center. Incorporate a motor mount section by adding a block 6mm ...
include <MCAD/units/metric.scad> include <MCAD/hardware/bearing.scad> include <MCAD/fasteners/metric_fastners.scad> include <shapes.scad> include <parts_lib.scad> legbase(); module fullasm() { pos(); rotate([0,180,0]){pos();} } module pos() { translate([0,0,-1]) { hwasm(); translate ([0,0,0]){carrag...
glb/cad_93933fe6868d.glb
Create a 3D model consisting of four identical spheres. Each sphere must have a radius of 2mm. Position the spheres in a square arrangement on the XY plane, centered around the origin. Place the first sphere at coordinates (0, -8, 7.5), the second at (0, 8, 7.5), the third at (8, 0, 7.5), and the fourth at (-8, 0, 7.5)...
use <knurledFinishLib.scad> $fn=50; cylheight=4.5; cylrad=6/2; difference() { union() { knurled_cyl(8,17,3,3,1.5,1.5,50); translate([8,0,0]) knurled_cyl(8,5,3,3,1,1,50); translate([-8,0,0]) knurled_cyl(8,5,3,3,1,1,50); translate([0,8,0]) knurled_cyl(8,5,3,3,1,1,50); translate([0,-8,0]) knurled_cyl(8,5,3,...
glb/cad_7a36580dab16.glb
Create a blank cap for an aerobed hydroponics garden by revolving a specific cross-section around a central axis to create a circular, rotationally symmetric object. The cross-section begins at the bottom center with a point at 0,0. From there, move horizontally to a radius of 15mm, then vertically up to 1mm. Move hori...
$fn=100; mainRad = (38+1)/2; insideRad = (31+1)/2; lipheight = 2.4; ringinset = 0.5; ringheight = 1; pointArry = [[mainRad, lipheight+ringheight], [0, lipheight+ringheight], [0,0], [insideRad-ringinset, 0], [insideRad-ringinset, ringheight], [insideRad, ring...
glb/cad_d463d4e9ad5f.glb
Create a series of six identical beads aligned in a row along the x-axis, with each bead centered every 10mm. To construct a single bead, start with a sphere of 8mm diameter. Slice this sphere by keeping only the middle section between z = -1mm and z = 1mm, resulting in a flattened disc with a total height of 2mm. Dril...
$fn=100; wire_diam=2.3; height=2; sphere_size=4; module bead(wire_diam, height, sphere_size) { difference() { intersection() { sphere(sphere_size,center=true); cube([10,10,height],center=true); } cylinder(h=10,d=wire_diam,center=true); } } for (i=[0:5]) { di...
glb/cad_f26919bd2ef1.glb
Create a wire stripping jig consisting of a rectangular base and three vertical cylindrical posts. The base is a block measuring 42mm in length, 20mm in width, and 4mm in height. Position three cylindrical posts along the center line of the base (y=13mm). Each post has an outer diameter of 11.5mm and a central vertic...
$fn=50; terminal_depth=4.25; solder_lug= 9; resistor_wrap= 16; blade_thickness = 1.8; wire_diameter = 2.3; jig_diameter = wire_diameter*5; base_thickness = 4; floor_thickness = 1; jig_y = 13; lug_x = 21; wrap_x = 35; term_x = 7; term_ztrans = max(floor_thickness, base_thickness+1-(terminal_depth-blade_thickne...
glb/cad_20d51068b67f.glb
Create a circular disc with a radius of 55mm and a thickness of 2mm, centered on the origin. At the center of this disc, add a solid cylinder with a radius of 8mm and a height of 9mm, extending upwards from the center. From the bottom of the disc and the central cylinder, remove a metric internal thread with a diameter...
$fn=100; use <threads.scad> difference() { union() { cylinder(r=55,h=2,center=true); translate([0,0,1]) cylinder(r=8, h=9); } translate([0,0,-2]) metric_thread(diameter=13.2, pitch=2, length=15, internal=true); for(i=[0:22.5:360]) { translate([sin(i)*8,cos(i)*8,1.25])cylinder(r=0.75, h=8); } }
glb/cad_f9328ce031e0.glb
Create two identical rectangular panels, each measuring 90mm in length, 30mm in width, and 3mm in height. For each panel, remove two cylindrical holes with a diameter of 12mm and a depth of 3.6mm; position these holes centered along the width (15mm from the edge) and placed at both the 12mm mark and the 78mm mark along...
$fn=50; magnet_diam = 12.0; magnet_height = 3; panel_x = 90; panel_y = 30; union () { difference() { cube([panel_x, panel_y, magnet_height/2+1.5]); translate([magnet_diam,panel_y/2,0]) cylinder(h=magnet_height/2+0.6, d=magnet_diam); translate([90-magnet_diam,panel_y/2,0]) cylinder(h=magn...
glb/cad_2aeaf7da62ea.glb
Create a wrench for tightening nuts by constructing a cylinder with a diameter of 25mm and a height of 30mm. From this main body, remove a hexagonal prism with a point-to-point diameter of 17.5mm and a height of 32mm, centered on the Z-axis and rotated 30 degrees around the center. Finally, cut a rectangular slot throu...
$fn=50; module general_poly(sides=6, height=10, radius=5, center=false) { angle = 360/sides; list = [ for (i=[0:angle:360]) [radius*cos(i),radius*sin(i)]]; echo(list); linear_extrude(height=height, center=center) polygon(list); } wrench_height=30; nut_diam=17.5; wrench_diam=25; slot_width=5; diffe...
glb/cad_8d83b60f81c6.glb
Create a FastDome hub, a connector for a geodesic dome. The hub is based on a central core with six radiating arms spaced evenly every 60 degrees. Start with a central core formed by the union of six spheres, each with a radius of 6.6mm, arranged in a circle. From this core, extend six arms. Each arm is created by th...
function sides(r)=max(round(4*r),3); function corrected_radius(r,n=0)=0.1+r/cos(180/(n ? n : sides(r))); function corrected_diameter(d)=0.2+d/cos(180/sides(d/2)); module poly_circle(r,center=false){ n=sides(r); circle(r=corrected_radius(r,n),$fn=n,center=center);} module poly_cylinder(h,r,center=false){ n...
glb/cad_db66d22d7fae.glb
Create a RedSeaReeferParametricOverflowWeir as a rectangular plate with overall dimensions of 146.5mm width, 57.4mm height, and 3mm thickness. From this solid block, remove material to create a series of slots. First, remove a thin strip 3mm high from the bottom edge across the full width, and remove two vertical str...
sieve_hight = 21; water_level=-2; slot_width = 2.5; overflow_style = "wide"; part = "front"; thickness = 3; width = 146.5; hight = 57.4; bottom_space = 15 + water_level; top_space = 5; sieve_width = 140; wier_select(); module wier_select() { if (part == "left") { wier(); } else if (part == "right") { wie...
glb/cad_26c8b282b60b.glb
Create a rectangular base plate with a total length of 48mm, a width of 16mm, and a thickness of 1.5mm. Centered along the length of this plate, place two vertical cylinders. Each cylinder must have a radius of 2mm and a height of 7.5mm. Position the cylinders so that they extend upwards from the top surface of the pla...
include<./../CASEgamma/CASEgamma.scad>; include<./../Componentes/boards.scad>; include<./../Componentes/sensores.scad>; include<./../Componentes/motores.scad>; include<./../Utilidades/Utilities.scad>; module caMaReDoE(medidaX=64.2,medidaY=22.5,medidaZ=18.8,espesor=1.5,tolerancia=4,espaciaminetoX=5,escalamientoShaft=1....
glb/cad_51c5af6d658c.glb
Create a rectangular room with a floor and four walls, all with a thickness of 0.15mm. The floor should be a centered rectangle measuring 4.42mm by 4.45mm. Construct two side walls along the length of the floor, each 2.25mm high and 0.15mm thick, positioned at the edges of the 4.45mm width. Construct two end walls alon...
largo=4.42; ancho=4.45; alto=2.25; grosor=0.15; cube([largo,ancho,grosor],center=true); translate([0,(ancho-grosor)/2,(alto+grosor)/2]) cube([largo,grosor,alto],center=true); translate([0,-(ancho-grosor)/2,(alto+grosor)/2]) cube([largo,grosor,alto],center=true); translate([(largo-grosor)/2,0,(alto+grosor)/2]) cube([...
glb/cad_1d6430236291.glb
Create a 3D model of a Pololu motor. Start with a central rectangular block measuring 15mm in width, 11.5mm in height, and 25mm in depth. On one of the 11.5mm by 25mm faces, center a protruding rectangular tab that is 14mm wide, 3mm thick, and 25.5mm long. Within this tab, create a circular cutout with a radius of 1mm ...
module motorPololu(resoluciOn=100){ rotate([90,0,0]) union(){ translate([0,-2,(25/2)-2]) linear_extrude(height=12) difference(){ circle(r=(3-0.1)/2,$fn=resoluciOn); translate([0,-((3-0.1)/2+(1/2))+0.6+0.1]) square([3,1],center=true); } cube([15,11.5,25],center=true); translate([0,-11.5/2+1.5,-1]) diff...
glb/cad_d296f2dea8dd.glb
Create a rectangular electronics case with a base and a matching lid. For the base, start with a rounded rectangular block measuring 60mm x 90mm x 10mm. Use a fillet radius of 3mm on all exterior edges. Hollow out the interior to create a shell with a wall thickness of 0.25mm, leaving a bottom floor. In each of the fou...
use<LogoIdea161.scad> lonX=60; lonY=90; lonZ=10; espesor=0.25; espesorEstructuras=0; redondeadorMinkowski=3; alturaSolapa=1; escalaTexto=8; postes=1; divisiones=6; amplitudTornillobase=0.5; parte=0; toleranciaSolapaInterior=0.5; if(parte==0){ difference(){ minkowski(){ cube([lonX,lonY,lonZ],center=true); sphere...
glb/cad_fe6698300914.glb
Create a motor reducer mount by starting with a rectangular base measuring 64.2mm in length, 18.8mm in width, and 22.5mm in height. Centered along the width and height of this base, place a cylindrical shaft with a diameter of 36.8mm and a length of 36.8mm, oriented horizontally. On the side of the base, create a rec...
include<RedMotShaft.scad>; module redDobleEje(largo=64.2,ancho=18.8,alto=22.5,eje=36.8,modo=1){ translate([0,0,-alto/2]) union(){ translate([11.2,eje/2,alto/2]) rotate([90,0,0]) if(modo==0){ cylinder(d=5.4+0.1,h=eje); } else if(modo==1){ linear_extrude(height=eje) RedMotShaft(); } ...
glb/cad_1c2feb8c0537.glb
Create a rectangular case with outer dimensions of 60mm in length (X), 70mm in width (Y), and 10mm in height (Z). The case is a hollow shell with a wall thickness of 1mm. At each of the four bottom corners, add a cylindrical support post. Each post must have an outer diameter of 5mm and a height of 10mm. Drill a conce...
module CASEgamma(lonX=60,lonY=70,lonZ=10,espesor=1,diametroPoste=5,tornillo=2.5){ difference(){ cube([lonX,lonY,lonZ],center=true); cube([lonX-(2*espesor),lonY-(2*espesor),lonZ-(2*espesor)],center=true); translate([0,0,lonZ]) cube([lonX*2,lonY*2,lonZ*2],center=true); } translate([-diamet...
glb/cad_3926f12ebcf0.glb
Create a rectangular base plate with dimensions 15mm x 15mm and a thickness of 3mm. Within this plate, create a 2x2 grid of four identical holes. Each hole is a complex geometric shape formed by the union of a central square and four circular arcs at its corners, resulting in a rounded-square profile. The holes are s...
module agujeroRedondoCorr(espesor=3,alfa=0.1,beta=(3*0.1)/3,resolucion=100){ gamma=alfa+beta; circle(r=(espesor/sqrt(2))+gamma,$fn=resolucion,center=true); } module agujeroCuadradoCorr(espesor=3,alfa=0.1,beta=(3*0.1)/32,resoluciOn=100){ gamma=alfa+beta; delta=espesor/6; espesorReducido=espesor-2*gamma; despla...
glb/cad_8c469251778c.glb
Create a protective electronics case with a base footprint of 70mm by 75mm and a height of 25mm. The walls and floor of the case should have a thickness of 1.5mm. Integrate four mounting posts at the corners, each with a diameter of 5mm and a center hole for a 2.5mm screw. On the bottom face of the case, create a rec...
include<./../Componentes/boards.scad>; include<./../CASEgamma/CASEgamma.scad>; include<./../Logos/LogoIdea161.scad>; include<./../Logos/LogoDitacRegSCorch.scad>; include<./../Utilidades/Utilities.scad>; lonX=70; lonY=75; lonZ=25; espesor=1.5; diametroPoste=5; tornillo=2.5; parte=0; tamaNioLogos=0.5; alturaPostesAr...
glb/cad_98d205052e8b.glb
Create a rectangular prism with a length of 24.6mm, a width of 3.6mm, and a height of 3mm. The shape is a solid block formed by extruding a 2D rectangle of 24.6mm by 3.6mm to a thickness of 3mm.
use<DienteCorr.scad> module ejesCorr(dim=2,espesor=3,alfa=0.1,beta=(3*0.1)/32,resoluciOn=100){ gamma=alfa+beta; translate([0,-(espesor)/2-gamma]) rotate(90) DienteCorr(espesor,alfa,beta,resoluciOn); translate([(dim)*(espesor)+2*gamma,0]) mirror([1,0]){ translate([0,-espesor/2-gamma]) rotate(90) DienteCorr...
glb/cad_eef039d8598d.glb
Create a 3D model of a Pololu motor. Start by creating a rectangular base block measuring 15mm wide, 11.5mm deep, and 25mm high, centered on the X and Y axes. On the bottom face of this block, centered along the width, attach a smaller rectangular platform measuring 25.5mm wide, 3mm deep, and 14mm high. On the side o...
use<piezaDCorr.scad> module Pololu(espesor=3,alfa=0.1,beta=(3*0.1)/32,resoluciOn=100){ union(){ difference(){ piezaDCorr(espesor,alfa,beta,resoluciOn,numX=2,numY=1,vacIo=0); square([3*10,3*4],center=true); } difference(){ square([3*10.5,3*4.5],center=true); translate([8.75,0]) circle(r=1,$fn=resoluciOn); transl...
glb/cad_9d1c00541362.glb
Create a sensor mount for an HC-SR04 ultrasonic sensor. Start by creating a rectangular base plate measuring 45mm in length, 20mm in width, and 4mm in height, centered on the origin. On top of this base, add two identical vertical cylinders to act as sensor holders. Each cylinder must have a radius of 8mm and a height ...
use<DienteCorr.scad> use<baseDitacCorr.scad>; use<piezaDCorr.scad>; module Ultrasonico(espesor=3,alfa=0.1,beta=(3*0.1)/32,resoluciOn=100){ union(){ difference(){ piezaDCorr(espesor,alfa,beta,resoluciOn,numX=3,numY=2,vacIo=0); square([3*16,3*6],center=true); } difference(){ square([3*16.5,3*6.5],center=true); transl...
glb/cad_0b92d9bd751a.glb
Create a sensor mount by starting with a rectangular base plate measuring 24.5mm in length, 6mm in width, and 3mm in height, centered on the origin. On top of this base, add a central rectangular block that is 11mm long, 6mm wide, and 7mm high, also centered on the origin. From this central block, remove a smaller rect...
use<piezaDCorr.scad>; module Herradura(espesor=3,alfa=0.1,beta=(3*0.1)/32,resoluciOn=100){ union(){ difference(){ piezaDCorr(espesor,alfa,beta,numX=2,numY=1,vacIo=0); square([3*10,3*4],center=true); } difference(){ square([3*10.5,3*4.5],center=true); square([11,6],center=true); translate([9,0]) circle(r=1,$fn=100); ...
glb/cad_a1f0fea954cb.glb
Create a thin rectangular plate with a thickness of 3mm. The plate should have a width of 3mm and a total length of 15mm. Along the two longer sides, add a series of small, protruding teeth. Specifically, place one tooth centered on each of the two shorter ends and two teeth spaced evenly along each of the two longer s...
use<Diente.scad>; resoluciOn=10; espesor=3; alfa=0.1; beta=(3*alfa)/32; gamma=alfa+beta; dimY=2; lonY=(2*dimY+1)*espesor; linear_extrude(height=espesor) union(){ square([espesor,lonY-2*(espesor)],center=true); translate([-espesor/2,(3*espesor/2)]) Diente(espesor-2*gamma,alfa,resoluciOn); mirror([0,1]){ ...
glb/cad_645e3c41e4ca.glb
Create a thin circular disc with a radius of 20mm and a total thickness of 1.5mm. Centered within this disc, place a vertical cylindrical hole with a radius of 2mm that passes completely through the object. Position the center of this hole 10mm away from the center of the disc along the Y-axis. Ensure the final geometr...
include<./../Logos/LogoIdea161.scad>; include<./../Logos/LogoDitacRegSCorch.scad>; espesor=1.5; tamaNioLogos=0.5; translate([-20*tamaNioLogos+2,0,0]) union(){ linear_extrude(height=espesor/2) Ditac(tamaNioLogos); translate([30*tamaNioLogos,5*tamaNioLogos]) linear_extrude(height=espesor/2) Idea(tam...
glb/cad_833b4750b62e.glb
Create a ball bearing model consisting of an inner ring, an outer ring, and ten evenly spaced balls. The entire assembly has a total height of 12mm. Construct the inner ring by rotating a trapezoidal profile around the center axis. This profile should have a width of 2.5mm and be positioned at an internal radius of 4m...
module perfilTrapecio(lonA=12,lonB=4,lonD=2,lonE=2,lonF=4,lonG=2){ polygon([[lonB,lonA/2],[0,lonA/2],[0,-lonA/2],[lonB,-lonA/2],[lonB,-lonA/2+lonD],[lonB-lonG,-lonA/2+lonD+lonE],[lonB-lonG,lonA/2-lonD-lonE],[lonB,lonA/2-lonD]]); } module balinTrapecio(lonA=12,lonB=3,lonD=1,lonE=1,lonF=4,lonE=1,lonG=1,radi...
glb/cad_0f9b64db3e13.glb
Create a corner bracket by starting with a central cube measuring 22.5mm on each side and 20mm in height, centered on the origin. From this cube, remove a smaller central cube measuring 22.5mm by 22.5mm with a height of 10mm, also centered on the origin. Finally, remove a cylinder with a radius of 16.25mm and a height ...
$fn=100; module perfil1 (){ medida=2; difference(){ square([20,20],center=true); circle(r=2); for(i=[1:4]){ rotate(i*90) translate([0,-20/2]) polygon(points=[[0,-medida],[3,-medida],[3,medida],[5,medida],[5,3],[3,5],[-3,5],[-5,3],[-5,medida],[-3,medida],[-3,-medida]]); rotate(i*90) translate([...
glb/cad_c51f6e80e37f.glb
Create a washer-like cylindrical sleeve with a height of 45mm, an outer diameter of 10.4mm, and a centered inner hole with a diameter of 8.9mm. Position this sleeve so its center is 0.5mm below the center of the Z-axis. Attached to this sleeve, create a composite structure shifted 6.1mm along the X-axis and 5mm along t...
module rondana (ancho=8,radioInterno=5,radioExterno=12,resoluciOn=100){ difference(){ cylinder(d=radioExterno,h=ancho,center=true,$fn=resoluciOn); cylinder(d=radioInterno,h=2*ancho,center=true,$fn=resoluciOn); } } resoluciOn=200; translate([0,0,45/2-0.5]) cylinder(d=10.4,h=1,cente...
glb/cad_0fbf31bc9a55.glb
Create a hollow cylindrical object with a total height of 60mm. Start by constructing a base cylinder with a radius of 16mm and a height of 30mm. Directly on top of this base, add a second cylinder with a radius of 19mm and a height of 30mm, centered on the same vertical axis. Finally, remove a central cylindrical core...
difference(){ union(){ cylinder(r=32/2,$fn=100,h=30); translate([0,0,30]) cylinder(r=(32+6)/2,$fn=100,h=30); } cylinder(r=(32/2)-2,$fn=100,h=60); }
glb/cad_9f0b4db2041b.glb
Create a support holder for a roll by combining three main geometric components. First, construct a thin-walled hollow cylinder with an outer diameter of 31mm and a height of 26mm, featuring an inner wall thickness of 1mm. Position this cylinder so its center is at x=47.75, y=-22.75, and z=2. Second, create a base sup...
translate([25+(65/2)*cos(45),-(65/2)*sin(45)-25,-(26)+2]) difference(){ cylinder(d=31,$fn=100,h=26); cylinder(d=31-2,$fn=100,h=26); } translate([0,30,-28]) rotate([-90,0,0]) difference(){ cube([30,70,6],center=true); translate([0,0,1]) minkowski(){ cube([0.1,70,0.1],center=true); cylinder(d1=15+2,d2=13,h=2+...
glb/cad_ded295afaba2.glb
Create a stepped pyramid composed of four stacked square layers. The bottom layer is a square prism with a base of 50mm by 50mm and a height of 4mm. Centered on top of this base, add a second square prism with a height of 4mm and a base of 38mm by 38mm. Continue this pattern by adding a third square prism with a height...
alturaPyramid=4; niveles=3; baseInicial=50; for(i=[0:niveles]){ translate([0,0,i*alturaPyramid]) linear_extrude(height = alturaPyramid, scale = 0.8) square([baseInicial-i*alturaPyramid*3, baseInicial-i*alturaPyramid*3], center = true); }
glb/cad_8844e5a19a71.glb
Create a flat, ring-shaped washer. Start by creating a solid cylinder with a radius of 30mm and a height of 4mm, centered on the origin. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 20mm and a height of 8mm to create a hollow circular hole. Ensure the final shape is a thin, sy...
Radio=30; pared=10; grueso=4; difference(){ cylinder(r=Radio,$fn=100,center=true,h=grueso); cylinder(r=Radio-pared,$fn=100,center=true,h=grueso*2); }
glb/cad_ad10867a7cc5.glb
Create a RisoSAT satellite housing consisting of a main container, a lid, and a sensor base. First, construct the main container as a hollow rectangular box with outer dimensions of 90mm x 90mm x 180mm and a wall thickness of 1.5mm. Inside this container, create a void to accommodate a Raspberry Pi board, positioned ...
include<./../CASEgamma/CASEgamma.scad>; include<./../Componentes/boards.scad>; include<./../Componentes/sensores.scad>; include<./../Utilidades/Utilities.scad>; diametroPosteRaspberry=6; tornilloRaspberry=2.75; alturaPostesRaspberry=10; module CASEsat(){ difference(){ CASEgamma(lonX=90,lonY=90,lonZ=1...
glb/cad_fa85ecc3de52.glb
Create a ring-shaped object with an outer diameter of 90mm and a wall thickness of 4mm. The geometry is defined by a hollow cylindrical form where the inner void is a cylinder with a radius of 37mm (calculated as the outer radius of 45mm minus the 4mm thickness and a 0.6mm offset). The ring features a decorative heli...
Diametro=90; espesor=4; espesorRosca=1; alturasRosca=10; resoluciOn=100; radioRosca=0.6; vueltas=0.5; module helice(alturasTotal=10,resoluciOn=100, radioRosca=0.6,grosorRosca=1,vueltas=4){ alturasRosca=alturasTotal/vueltas; for(i=[0:(vueltas-1)/2]){ translate([0,0,alturasRosca*i]) difference(){ ...
glb/cad_484c2e546a21.glb
Create a four-socket nut by starting with a cube that has a side length of 16mm and a height of 4mm. In the center of the top face, create a vertical cylindrical hole with a diameter of 8mm. Inside this hole, carve a female thread with a pitch of 1.25mm and a total of 5 windings. The internal thread profile should have...
use <Naca_sweep.scad> showexample = 10; example(showexample) { threading(pitch = 2, d=20, windings = 5, angle = 29); threading(pitch = 2, d=20, windings = 30, angle = 20, full = true); Threading(pitch = 2, d=20, windings = 10, angle = 20, full = true); Threading(D = 25, pitch = 2, d=20, windings = 10, ang...
glb/cad_bf6f8dfd872e.glb
Create a spiral tower composed of 21 identical stacked elements. Each element is a double-cone shape formed by two mirrored cones joined at their bases; specifically, create a circle with a radius of 1mm and extrude it 1mm along the Z-axis while scaling it down to 10% of its original size to form a cone, then mirror th...
radioEspira=1; resoluciOn=100; module trompo(radioEspira=1,resoluciOn=100){ linear_extrude(height=1,scale=0.1) circle(r=radioEspira,$fn=resoluciOn); mirror([0,0,1]){ linear_extrude(height=1,scale=0.1) circle(r=radioEspira,$fn=resoluciOn); } } for(i=[0:20]){ rotate(1*i) translate([0,0,i*1]) translate(...
glb/cad_f35b5a9a15bc.glb
Create a 3D spiral shape by extruding a small circle with a radius of 0.6mm along a twisting path. The path is defined by a circle with a radius of 43.4mm (calculated as half of a 90mm diameter minus a 4mm thickness and the 0.6mm circle radius). Extrude this circle vertically to a height of 10mm while simultaneously ro...
Diametro=90; espesor=4; espesorRosca=1; alturasRosca=10; resoluciOn=10; radioRosca=0.6; vueltas=0.5; minkowski(){ linear_extrude(height = alturasRosca, center = false, convexity = 10, twist = 360*0.5, $fn = resoluciOn) translate([Diametro/2-espesor-radioRosca, 0, 0]) circle(r = radioRosca); ...
glb/cad_0580223159b5.glb
Create a HODLDeck case with a main body measuring 100mm wide, 80mm high, and 30mm deep. The main structure is a hollowed rectangular shell. On the front face, center a rectangular cutout for a display that is 60mm wide and 45mm high, positioned 18mm from the bottom edge. The case features specific wall thicknesses an...
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); } } $fs= 0.1; case_width=100; case_height=80; display_width=60; display_heig...
glb/cad_b7edacff0d86.glb
Create an Instax Square adapter for a Bronica Sq A camera consisting of a filmback and a roller cap. First, construct the filmback. Create a main rectangular case body measuring 90mm x 27mm x 87mm. Subtract a cartridge-shaped void from the center, along with a top connector block of 50mm x 5.1mm x 2.6mm and a bottom ...
include <instax.scad>; module connector_top(){ cube(size = [50, 5.1, 2.6]); } module connector_bottom() { cube(size = [57, 5.1, 2.4]); } module lipcatch() { translate([-5.4, -20, 2]) { linear_extrude(height=83) polygon(points=[[0, 0], [0, 23], [5.5, 23.5], ...
glb/cad_0ff9540dac3a.glb
Create an Instax Square adapter for a Bronica Sq A by constructing two symmetrical rail sections and a central slider. First, build a rail part consisting of a 30mm by 6mm by 2mm rectangular base. On top of this base, add two parallel side walls, each 30mm long, 2mm wide, and 4mm high, positioned at the edges of the ba...
module rail () { module rail_part () { translate([0, -3, 0]) cube(size=[30, 6, 2]); translate([0, -3, 2]) cube(size=[30, 2, 4]); translate([0, 1, 2]) cube(size=[30, 2, 4]); translate([0, 1, 2]) cube(size=[15, 2, 11.2]); translate([-2, -3, ...
glb/cad_1363cdda1715.glb
Create an InstaxSqA adapter for a Bronica Sq A camera. The main body is a rectangular frame with a thickness of 5mm. Construct a primary base plate measuring 90mm by 87mm with 1mm rounded corners. From this base, remove a central rectangular cutout of 58mm by 58mm to create the film plane. Add structural supports for ...
include <../instax.scad> $fn=20; module film_plane() { translate([-29, -2.9, -29]) cube([58, 8, 58]); } rotate([0, -90, 0]) cartridge(); module fillet_edge(h, r) { difference() { cube([r,h,r]); translate([0, -0.1, 0]) rotate([-90, 0, 0]) cylinder(r=r, h=h+0.2); } } module fillet_cube(s...
glb/cad_b477cf0ff5b4.glb
Create a keyboard switch housing by starting with a solid rectangular base measuring 20.3mm in width, 55.06mm in length, and 14mm in height. From this base, remove a central rectangular channel that is 20.4mm wide and 4mm high, leaving a 20.4mm by 20.4mm square section of the base intact in the center of the length. ...
difference(){ translate(v = [-3, 0, 0]){ union(){ translate(v = [0, 0, 1.5]){ cube(size = [7, 55.06, 11]); } translate(v = [17, 27.5, 10]){ union(){ union(){ translate(v = [0, 8.7, 2.0]){ cube(center = true, size = [20.4, 3, 4]); } ...
glb/cad_0845f96409a9.glb
Create a keyboard base by starting with a rectangular block measuring 126.01mm in width, 77.85mm in depth, and 20mm in height. From this main body, remove several geometric sections to create the final shape. First, remove a large rectangular volume from the bottom and sides to leave a thinner base. Within the remain...
mirror(v = [1, 0, 0]){ difference(){ cube(size = [126.01, 77.85, 20]); union(){ translate(v = [7, 0, 0]){ translate(v = [0, 0, -2]){ rotate(a = [5.147, 0, 0]){ union(){ translate(v = [0, 0, 4]){ difference(){ union(){ ...
glb/cad_5a250bf9f86d.glb
Create a keyboard base by starting with a rectangular block measuring 126.01mm in width, 77.85mm in depth, and 20mm in height. From this main volume, remove several geometric shapes to create the final form. First, create a group of four 20-sided prismatic cylinders, each with a diameter of 1.85mm and a height of 3.75...
difference(){ cube(size = [126.01, 77.85, 20]); union(){ translate(v = [7, 0, 0]){ translate(v = [0, 0, -2]){ rotate(a = [5.147, 0, 0]){ union(){ translate(v = [0, 0, 4]){ difference(){ union(){ translate(v = [18.075, 16.775, 0]...
glb/cad_e01c231aee22.glb
Create a passport stamp model by generating a 2D profile and revolving it 360 degrees around the Z-axis. The profile is constructed by taking a rectangle 60mm wide and 200mm tall, positioned with its left edge at x=10, and adding two circles with 40mm radii centered at [40, 40] and [40, 160]. From this combined shape, ...
rotate_extrude($fn=200) difference() { union() { translate([10, 0, 0]) square([60, 200]); translate([40, 40, 0]) circle(r = 40); translate([40, 160, 0]) circle(r = 40); } translate([-10, 100, 0]) circle(r = 40); translate([90, 100, 0]) circle(r = 40)...
glb/cad_62bb4570885a.glb
Create a passport stamp handle by revolving a specific 2D profile around a central vertical axis. The profile begins with a base consisting of a rectangle 120mm wide and 30mm high, with a 110mm by 20mm rectangular section removed from its center to create a hollow ring. Above this base, add a vertical section 80mm wide...
rotate_extrude($fn=200) union() { difference() { square([120, 30]); square([110, 20]); } translate([0, 30, 0]) difference() { union() { square([80, 190]); translate([0, 182.62, 0]) square([65,20]); translate([60, 163, 0]) circle(r = 40); } translate([120, 10...
glb/cad_13c42a4fff43.glb