Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Groove Track Slug for a kayak mounting system. Start by creating a main body that is a combination of a cylinder and a cube, resulting in a rounded rectangular block with a total length of 31mm, a width of 9mm, and a height of 4mm. Centrally carve out a vertical hexagonal hole with a diameter of 6.7mm that e...
module ridge() { translate([0,7,-3]) { rotate([90,0,0]) { cylinder(r=0.5, h=14, $fn = 50); } } } module slayer_slug() { union() { difference() { minkowski() { cylinder(r=2, h=1, $fn = 50); cube([31,9,4], true); } translate([0,0,-1.0]) { cylinder(10,6.7,6.7, $fn = 6); } tra...
glb/cad_c851fc74213d.glb
Create a Groove Track Slug by starting with a base shape formed from the Minkowski sum of a cylinder with a 2mm radius and 1mm height, and a cube measuring 21mm by 9mm by 4mm, centered at the origin. From this solid, remove a hexagonal hole with a radius of 6.7mm and a height of 10mm, centered vertically at -1mm. Addit...
module ridge() { translate([0,7,-3]) { rotate([90,0,0]) { cylinder(r=0.5, h=14, $fn = 50); } } } module slayer_slug() { union() { difference() { minkowski() { cylinder(r=2, h=1, $fn = 50); cube([21,9,4], true); } translate([0,0,-1.0]) { cylinder(10,6.7,6.7, $fn = 6); } tra...
glb/cad_53e6f5db7750.glb
Create a Groove Track Slug for a kayak mounting system. Start by creating a main body that is a combination of a cylinder with a radius of 2mm and height of 1mm, expanded via a Minkowski sum with a cube of 21mm by 9mm by 4mm. From the center of this body, remove a hexagonal hole with a radius of 6mm and a height of 1...
module ridge() { translate([0,7,-3]) { rotate([90,0,0]) { cylinder(r=0.5, h=14, $fn = 50); } } } module slayer_slug() { union() { difference() { minkowski() { cylinder(r=2, h=1, $fn = 50); cube([21,9,4], true); } translate([0,0,-1.0]) { cylinder(10,6,6, $fn = 6); } transla...
glb/cad_c243f2855a46.glb
Create a Groove Track Slug for a kayak mounting system. Start by creating a main body that is a combination of a cylinder and a cube, resulting in a rounded rectangular block with a total length of 31mm, a width of 9mm, and a height of 4mm. Centrally carve out two concentric vertical holes through the entire height o...
module ridge() { translate([0,7,-3]) { rotate([90,0,0]) { cylinder(r=0.5, h=14, $fn = 50); } } } module slayer_slug() { union() { difference() { minkowski() { cylinder(r=2, h=1, $fn = 50); cube([31,9,4], true); } translate([0,0,-1.0]) { cylinder(10,6,6, $fn = 6); } transla...
glb/cad_9187b7f90d9e.glb
Create a bungee launch hook for RC gliders with a total height of 10mm. Start with a rectangular base that is 50mm long and 2mm thick. At one end of this base, construct a curved hook profile. This hook is formed by a circular arc with a radius of 5mm and a thickness of 2mm. The outer edge of the hook should be a smoot...
$fs = 0.5; $fa = 360 / 180; clearance = 0.2; r = 5; t = 2; a = asin( t/2 / r ); x = sin(a) * r; y = cos(a) * r; linear_extrude( height= 10, center=true ) { translate([0, -t/2 ]) square([ 50, t ]); translate([ 0, r ]) { intersection() { difference() { hull() { circl...
glb/cad_3a89c1c98648.glb
Create a control horn for a radio-controlled plane surface. Start with a flat base plate 2mm thick. The base consists of a rectangular section 25mm long and 5mm wide, which transitions into a vertical upright section. This upright section is 2mm thick and extends upwards, featuring a rounded top. Within this upright ...
$fs = 0.5; $fa = 360 / 180; clearance = 0.2; upright_thickness = 2; first_hole_y = 8; hole_separation = 4; holes = 3; hole_radius = 1.6 / 2; annulus = 2.5; leverage = 20; base_length = 25; surface_thickness = 5; gusset_radius = 7; q = 0.02; linear_extrude( height= upright_thickness ) { difference() { hull()...
glb/cad_ed51e676cb54.glb
Create a vortex generator by designing a flat plate with a thickness of 0.6mm. The overall footprint should be 26mm wide and 15.5mm high. The shape is formed by a rectangle that is 26mm wide and 6.3mm high, with a semi-circular extension added to one side. Specifically, create a rounded profile where the top edge is a ...
$fs = 0.5; $fa = 360 / 180; module vortex_generator() { r = 2; t = 0.6; d = 26; b = 6.3; h = 15.5; linear_extrude( height= t ) { hull() { mirror([0, 1 ]) square([ d, b ]); translate([ d-r, -b+h-r ]) circle( r= r ); } } } vortex_generator();
glb/cad_44d0514a505d.glb
Create a Customizable Solar Light Base consisting of a circular foundation and a central mounting post. Start by creating a flat, circular base with a diameter of 36mm and a height of 2mm. Centered on this base, add a cylindrical male part with a diameter of 21.2mm and a height of 21mm. Around this central cylinder, ad...
D=21; H=21; H2 = 2; D2 = 36; tolerance = 0.2; delta=0.5; B=6.3; Resolution = 60; $fn=Resolution; number_of_ribs = 6; rib_thickness = 3; difference(){ union() { translate([0,0,H2]) cylinder(h=H, r=(D+tolerance-delta)/2); cylinder(h=H2, r=D2/2); ribs(number_of_ribs); } cylinder(h=H+H2, r=B/2); } mod...
glb/cad_0891db5710a8.glb
Create a parametric clock gear train consisting of a series of meshing wheels and an escapement. All components use a global scaling factor of 0.45. First, construct an escapement wheel with a radius of 36mm (80 * 0.45), a thickness of 3.6mm, and a central bore of 3.6mm. This wheel features 20 teeth that lean 30 degre...
use <MCAD/involute_gears.scad> include <escapementLibrary.scad> scale=0.45; radius=80*scale; thickness=8*scale; bore=8*scale; rimWidth=8*scale; numberSpokes=9; spokeWidth=4*scale; drumHeight=1*thickness; numberTeeth=20; toothLength=25*scale; toothLean=30; toothSharpness=20; toothSpan=4.5; faceAngle=6; armAngle=26; ...
glb/cad_b876aef5ee77.glb
Create a parametric clock gear train consisting of a series of meshing wheels and an escapement mechanism. All components should have a uniform thickness of 3.6mm (8 * 0.45) and a central bore diameter of 3.6mm. Construct the gear train using four pairs of pinion wheels. Each pair consists of a larger gear and a small...
use <MCAD/involute_gears.scad> include <escapementLibrary.scad> scale=0.45; radius=80*scale; thickness=8*scale; bore=8*scale; rimWidth=8*scale; numberSpokes=9; spokeWidth=4*scale; drumHeight=1*thickness; numberTeeth=20; toothLength=25*scale; toothLean=30; toothSharpness=20; toothSpan=4.5; faceAngle=6; armAngle=26; ...
glb/cad_98673d5496a4.glb
Create a MK9 bowden extruder mounting bracket. The main body is a horizontal block with a height of 20mm. At the center, create a vertical cylindrical hole with a diameter of 9.5mm and a depth of 6mm to accommodate a bowden fitting. Directly below this hole, integrate a small conical funnel with a base diameter of 4m...
mount = 2; frameType = 1; mountAngle = 45; mirrorEnable = 0; mountTolerance = 0.5; layerHeight = 0.2; assembled = false; bowdenFittingDia = 9.5; fittingDepth = 6; filamentCatchDia = 4; filamentCatchProt = 7; filamentOffsetZ = 10; filamentOffsetX = 6; bodyWidth = 9; screwLength = 20; countersinkM3 = 3; counte...
glb/cad_ce53f91fefd6.glb
Create a MK9 bowden extruder mounting bracket. The main body is a horizontal bar with a height of 20mm. Create a central hull that spans between two mounting points located 31mm apart. At each of these points, create a vertical hole with a diameter of 3.7mm for M3 screws. These holes should be countersunk at the top ...
assembled = false; mount = 3; frameType = 2; mountAngle = 45; mirrorEnable = 0; mountTolerance = 0.5; layerHeight = 0.2; equidistance = 70; bowdenFittingDia = 9.5; fittingDepth = 6; filamentCatchDia = 4; filamentCatchProt = 7; filamentOffsetZ = 10; filamentOffsetX = 6; bodyWidth = 9; screwLength = 20; count...
glb/cad_3d69ab94cf8f.glb
Create a filament holder adapter by starting with a conical frustum that is 23mm high, with a bottom radius of 28.5mm and a top radius of 21mm. Center a cylindrical hole through the vertical axis of the entire part with a diameter of 22.4mm to accommodate a 608ZZ bearing. To create the outer grip, remove ten identical ...
$fn=100; bearing=22; max_hole=57; min_hole=42; height=23; teeth=10; module spool_adapter(){ difference(){ cylinder(h=height,r1=max_hole/2,r2=min_hole/2,center=true); translate([0,0,-2]) cylinder(h=height,r=bearing/2+0.2,center=true); hull(){ translate([0,0,0]) cylinder(h=height+...
glb/cad_01530dbac550.glb
Create a roll holder consisting of a central circular hub with three identical arms extending outwards at 120-degree intervals. The central hub is a cylinder with a diameter of 9mm and a height of 3mm, featuring a concentric circular hole in the center with a diameter of 5mm. Each of the three arms is created by formin...
module raggio() { difference() { hull() { translate([25,0,0])cylinder(3,10,10); translate([100,0,0])cylinder(3,10,10); } translate([73,0,0])cylinder(4,3.5,3.5); translate([90,0,0])cylinder(4,3.5,3.5); translate([30,0,0])cylinder(4,3.5,3.5); translate([80,4,0])cylinder(4,2,2); } } dif...
glb/cad_9da6bdd3d534.glb
Create a support for a dial indicator. Start by constructing a central rectangular block 10mm wide, 10mm deep, and 18mm high, centered on the X and Y axes. Extend two arms from the sides of this block along the Y-axis; each arm is a cylinder 40mm long with a diameter of 5mm, oriented horizontally. From the top of the...
$fn=60; module A() { difference() { hull() { translate([-3,2.5,25])rotate([90,0,0])cylinder(5,6,6); translate([-8,-2.5,13])cube([10,5,2]); } translate([-3,2.6,25])rotate([90,0,0])cylinder(6,3.5,3.5); } } translate([0,-5.4,0])A(); translate([0,5.4,0])A(); difference() { union() { hull() {...
glb/cad_e097bfac915f.glb
Create a car holder for a mobile phone by constructing a base and a vertical stem. Start with the base: create a hull that connects two cylinders, each with a radius of 3mm and a height of 18mm, positioned 100mm apart along the y-axis at [0, -50, -20.5] and [0, 50, -20.5]. On top of this base, center a vertical stem. T...
$fn=60; hull() { translate ([0,-50,-20.5])cylinder(3,21,18); translate ([0,50,-20.5])cylinder(2,21,18); } difference() { translate ([0,0,0]) cylinder(54.8,6,6); difference() { translate ([0,0,35]) cylinder(20,8,8); translate ([0,0,35]) cylinder(20,5,5); } } module base() { cylinder(5,...
glb/cad_3a1ad5bbd1d7.glb
Create a car holder for a Galaxy Note by constructing a central hollow cylinder with an outer diameter of 20mm and an inner diameter of 11mm, both with a height of 8.5mm. Cut a rectangular notch 8mm wide, 4mm deep, and 20mm high into one side of the cylinder, centered on the diameter. To create the side attachments, bu...
$fn =40; difference() { translate ([0,0,35]) cylinder(20,8.5,8.5); translate ([0,0,35]) cylinder(20,5.5,5.5); translate ([-10,-2,35])cube([8,4,20]); } module attacco() { difference() { hull() { translate ([15,0,45]) rotate([90,0,0]) cylinder(2,8,8); translate ([5,-2,38])cube([2,2,15]); } translate ([15,0.1,45]) rotat...
glb/cad_04311d6aac6a.glb
Create a car holder for a Galaxy Note. Start by constructing a main cover body using a hull of two cylinders with a radius of 8.3mm and a height of 86mm, positioned at x = -70 and x = 70, combined with a central rectangular block of 40mm by 2mm by 86mm. Hollow out the interior by removing a similar hull formed by two c...
$fn =60; module cover() { difference() { hull() { translate([-70,0,0])cylinder(86,8.3,8.3); translate([70,0,0])cylinder(86,8.3,8.3); translate([-20,-12,0])cube([40,2,86]); } hull() { translate([-69,0,0])cylinder(86,6.8,6.8); translate([69,0,0])cylinder(86,6.8,6.8); translate([-20,-10,0])cube([40,2...
glb/cad_935e2c510b8d.glb
Create a Star Vase by extruding a star-shaped profile vertically. The base profile is a 10-pointed star created by alternating between an outer radius of 80mm and an inner radius of 60mm. Extrude this profile to a total height of 150mm, applying a 90-degree twist along the vertical axis. As the shape rises, scale the o...
sides = 10; outerStarSize = 80; innerStarSize = 60; hollowArea = 90; h = 150; bottomHeight = 10; t = 90; s = 80; sa = s/100; ha = hollowArea/100; slice = 200; function r(p, deg) = [(cos(deg)*p[0]) + (-sin(deg)*p[1]),(sin(deg)*p[0]) + (cos(deg)*p[1])]; function sc(p, factor) = [p[0]*factor,p[1]*factor]; outer =...
glb/cad_05e83ceb0924.glb
Create a License Plate Screw Cover consisting of two separate parts: a mount and a cap. To create the mount, start with a cylinder 5mm high with a radius of 4mm. Add a second cylinder on top of the first, starting at a height of 2.5mm, with a radius of 6.5mm and a height of 6.5mm. Around the center of this upper sect...
$fs=.25; difference() { union() { translate([0,0,0]) cylinder(5,4,4); translate([0,0,2.5]) cylinder(2.5,6.5,6.5); translate([0,0,2.5]) rotate_extrude(convexity = 10) translate([4, 0, 0]) circle(r = 2.5); } translate([0,0,-1]) cylinder(7,3.5,3.5); translate([0,0,2]) cylinder(7,5.7,5.7); translate(...
glb/cad_8a95863c0f9b.glb
Create a Homage Tower consisting of a central rectangular block and four cylindrical corner turrets. Start with a central hollow rectangular prism measuring 80mm in width, 80mm in depth, and 160mm in height. The walls of this prism should be 12mm thick. Cut three rectangular slots through the walls: one centered at t...
module atalaya(x,y,z,z2,z3,r1){ x = x; y = y; z = z; z2=z2; z3=z3; rad1=r1; difference(){ difference(){ difference(){ translate([0,0,z/2]) cube([x,y,z],center = true); translate([0,0,z/2]) cube([x-(0.15*x),y-(0.15*x),z],center = true); } union(){ translate([0,0,z-(x/1...
glb/cad_df794fcfceea.glb
Create a Homage Tower consisting of a hollow central keep and four corner turrets. Start by creating a central rectangular block 80mm wide, 80mm deep, and 160mm tall. Hollow out the center of this block by removing a smaller rectangular volume 68mm wide, 68mm deep, and 160mm tall, leaving a wall thickness of 6mm. Cut...
module atalaya(x,y,z,z2,z3,r1){ x = x; y = y; z = z; z2=z2; z3=z3; rad1=r1; difference(){ difference(){ difference(){ translate([0,0,z/2]) cube([x,y,z],center = true); translate([0,0,z/2]) cube([x-(0.15*x),y-(0.15*x),z],center = true); } union(){ translate([0,0,z-(x/1...
glb/cad_d0654f664dc3.glb
Create a Homage Tower consisting of a central square base and four cylindrical corner towers. Start by creating a central rectangular block 80mm wide, 80mm deep, and 160mm tall. Hollow out the center of this block by removing a smaller rectangular volume 68mm wide, 68mm deep, and 160mm tall, leaving walls 6mm thick. ...
module atalaya(x,y,z,z2,z3,r1){ x = x; y = y; z = z; z2=z2; z3=z3; rad1=r1; difference(){ difference(){ difference(){ translate([0,0,z/2]) cube([x,y,z],center = true); translate([0,0,z/2]) cube([x-(0.15*x),y-(0.15*x),z],center = true); } union(){ translate([0,0,z-(x/1...
glb/cad_c8cbe1dc2279.glb
Create a Homage Tower consisting of a hollow rectangular base and four decorative corner pillars. Start by creating a central rectangular shell with outer dimensions of 80mm x 80mm and a height of 160mm. The shell should be hollowed out by removing a central rectangular volume of 68mm x 68mm (calculated as 85% of the...
module atalaya(x,y,z,z2,z3,r1){ x = x; y = y; z = z; z2=z2; z3=z3; rad1=r1; difference(){ difference(){ difference(){ translate([0,0,z/2]) cube([x,y,z],center = true); translate([0,0,z/2]) cube([x-(0.15*x),y-(0.15*x),z],center = true); } union(){ translate([0,0,z-(x/1...
glb/cad_52692c58ec52.glb
Create a children's park swing set consisting of two A-frame supports and a crossbar. For each A-frame, create two legs by combining a rectangular prism of 80mm by 7mm by 5mm, rotated 20 degrees in opposite directions, and joined at the top by a central vertical block of 3mm by 40mm by 5mm. Remove a cylindrical core wi...
module lateral(){ difference(){ translate([0,0,2]) difference(){ union(){ difference(){ union(){ rotate([0,0,20]) translate([40,0,0]) cube([80,7,5],center=true); rotate([0,0,-2...
glb/cad_9a4e7b9fbdb3.glb
Create a swing bar by constructing a smooth cylinder with a radius of 3mm and a total length of 100mm. Position the cylinder so that its central axis runs horizontally.
rotate([0,90,0]){ cylinder(r=3, h=100, $fn=80); }
glb/cad_44ecaf19f82b.glb
Create a swing component by constructing a long, thin rectangular bar and attaching a circular ring to one end. Start by creating a rectangular prism that is 50mm long, 2mm wide, and 2mm high. At one end of this bar, center a hollow cylinder with an outer radius of 5mm and an inner radius of 3mm, both with a height of ...
module barras(){ rotate([0,90,0]){ difference(){ cylinder(r=5, h=2, $fn=80, center=true); cylinder(r=3, h=2, $fn=80, center=true); } translate([28,0,0]){ cube([50,2,2], center=true); } } } rotate([0,90,0]) barras();
glb/cad_99cc89be8b56.glb
Create a lateral support for a swing by constructing a composite geometric shape. Start with a central vertical pillar that is 5mm thick and 3mm in radius. From the top of this pillar, extend two arms that are each 80mm long, 7mm wide, and 5mm thick; rotate one arm 20 degrees upward and the other 20 degrees downward al...
module lateral(){ difference(){ translate([0,0,2]) difference(){ union(){ difference(){ union(){ rotate([0,0,20]) translate([40,0,0]) cube([80,7,5],center=true); rotate([0,0,-2...
glb/cad_b639bc72c36d.glb
Create a swing seat by constructing a rounded rectangular slab. Start by forming a solid shape using the convex hull of four cylinders, each with a radius of 3mm and a height of 2mm. Position these cylinders at the coordinates (8, 4, 0), (8, -4, 0), (-8, 4, 0), and (-8, -4, 0) to define the outer boundaries of the seat...
module sillin(){ difference(){ hull(){ translate([8,4,0]) cylinder(r=3, h=2, $fn=80, center=true); translate([8,-4,0]) cylinder(r=3, h=2, $fn=80, center=true); translate([-8,4,0]) cylinder(r=3, h=2, $fn=80, center=true); tra...
glb/cad_83728b6c6cad.glb
Create a basketball hoop model consisting of four main components. Start with a rectangular base platform measuring 20mm by 15mm with a height of 3mm. In the center of this platform, add a hollow rectangular weight tray measuring 10mm by 15mm with a height of 5mm, leaving a wall thickness of 1mm. From the edge of the ...
module base() { cube([20,15,3], center = true); difference() { translate([-5,0,4]) cube([10,15,5], center = true); translate([-5,0,5]) cube([8,13,5], center = true); } translate([5,0,1.5]) cylinder(h=32,r=1.5, $fn = 100); } module soporte_tablero() { diff...
glb/cad_c7848bb7191a.glb
Create a basketball hoop backboard assembly. Start by constructing a main rectangular block that is 6mm wide, 18mm deep, and 11mm high. From this block, remove a centered semi-cylindrical volume with a radius of 3mm and a height of 11mm, positioned at the back to create a mounting support. On the front face of the bloc...
module tablero() { difference(){ translate([0,-9,0]) cube([6,18,11]); cylinder(h=11,r=3, $fn=100); } difference(){ translate([6,-9,0]) cube([0.5,18,11]); translate([6,-8.5,0.5]) cube([0.5,17,10]); } difference(){ translate([6,-3,1.5]...
glb/cad_9ca696bff572.glb
Create a basketball hoop assembly by combining a rectangular support structure with a tapered ring. First, construct a small rectangular block measuring 2.5mm by 2mm by 2mm, and attach a second rectangular block measuring 1.5mm by 2mm by 1mm to its side, positioned 1mm up from the base. To this assembly, add a hollow, ...
module aro(){ translate([0,-1,0]) cube([2.5,2,2]); translate([2.5,-1,1]) cube([1.5,2,1]); difference() { translate([6,0,2]) rotate(180,[0,1,0]) cylinder(h=5,r1=2.5,r2=1.5, $fn = 100); translate([6,0,2]) rotate(180,[0,1,0]) cylinder(h=5,r1=2,r2=1...
glb/cad_1d826017ac95.glb
Create a basketball hoop base by starting with a rectangular platform measuring 20mm by 15mm with a height of 3mm, centered on the origin. On one side of this platform, add a hollow rectangular weight container that is 10mm wide, 15mm deep, and 5mm high, with an internal cavity measuring 8mm by 13mm by 5mm. Finally, at...
module base() { cube([20,15,3], center = true); difference() { translate([-5,0,4]) cube([10,15,5], center = true); translate([-5,0,5]) cube([8,13,5], center = true); } translate([5,0,1.5]) cylinder(h=32,r=1.5, $fn = 100); } base();
glb/cad_f4289d6c4a7a.glb
Create a basketball hoop support structure. Start by constructing a hollowed-out wedge-shaped base. This main body is a polyhedron defined by eight vertices: the base footprint extends from x=-2, y=-2 to x=20, y=9, with a height varying between 0 and 11mm. Specifically, create a solid block with vertices at [-2,-2,0], ...
module poligono() { polyhedron(points = [[-2,-2,0],[20,-9,0],[20,-9,11],[-2,-2,5],[-2,2,0],[20,9,0],[20,9,11],[-2,2,5]], faces = [[0,1,2,3],[1,5,6,2],[5,6,7,4],[0,3,7,4],[0,1,5,4],[3,2,6,7]]); } module poligono2() { polyhedron(points = [[2,-1,-1],[18,-7,-1],[18,-7,12],[2,-1,12],[2,1,-1...
glb/cad_1a4ab885c8c6.glb
Create an axis for a longboard by constructing a central cylinder with a radius of 0.6mm and a total height of 15mm, centered at the origin and oriented along the Z-axis. Attach two spheres to this cylinder, each with a radius of 0.8mm. Position the first sphere at coordinates [0, 3.25, 0] and the second sphere at [0, ...
module eje(){ union(){ translate([0,3.25,0]) sphere(r=0.8, $fn=100); translate([0,-3.25,0]) sphere(r=0.8, $fn=100); translate([0, 0, 0]) rotate([90, 0, 0]) cylinder (h=15, r=0.6, center=true, $fn=100); } } eje();
glb/cad_d3497bace78f.glb
Create a wheel for a long board by constructing a smooth cylinder with a radius of 2mm and a height of 3mm, centered on the origin. Bore a smaller concentric cylindrical hole through the center of this shape with a radius of 0.65mm and a height of 5mm to create a hollow axle passage.
module rueda(){ difference(){ cylinder(r = 2, h = 3, center = true, $fn=100); cylinder(r=0.65, h=5, center=true, $fn=100); } } rueda();
glb/cad_aab07ae7773c.glb
Create a long board model consisting of a deck, two axles, and four wheels. First, construct the deck as a flat rectangular plate 45mm long, 12mm wide, and 1mm thick. Round the corners with a 1.5mm radius. Create a central rectangular cutout through the thickness of the board, measuring approximately 15mm in length a...
lx = 45; ly = 12; r = 1.5; h = 1; cx = lx/2 - r; cy = ly/2 - r; cx2=2*lx/3-r; cy2=ly/5-r; P1 = [cx, cy, 0]; P2 = [-cx, cy, 0]; P3 = [-cx, -cy, 0]; P4 = [cx, -cy, 0]; P5 = [cx2, cy2, 0]; P6 = [cx2, -cy2, 0]; P7 = [-cx2, cy2, 0]; P8 = [-cx2, -cy2, 0]; hh=2; long_huec=cx2-cx; anch_huec=lx/2-cy2; cxh=long_huec/2-r; cy...
glb/cad_01a0d52f44c3.glb
Create a Cabina Once structure consisting of a base, four walls, and a roof. Start by creating a rectangular base that is 50mm wide, 1.5mm thick, and 1mm high. Build four vertical walls that are each 2mm wide and 40mm high; position two of these walls at the far left and right edges of the base. Connect these vertical ...
module recorte(r=2) { polygon (points=[[0,0],[r,r],[r,0],[r,-r],[-r,-r],[-r,0]]); } module cacho_cilindro(h=40,r=2) { linear_extrude(height = h) difference() { circle(r = r, $fn = 100); recorte(r); } } cacho_cilindro(40,2); translate([-25,0,0]) rotate([0,0,-45]) cacho_cilindro(40,2); translate([-25,0,0]) c...
glb/cad_09dae4752e1d.glb
Create a small building model called Cabina Once. Start by constructing a square base that is 32mm wide and 32mm deep with a total height of 7mm. Build four vertical walls around the base. Each wall should be 40mm tall and 25mm wide. The walls are composed of a frame with a thickness of 1.5mm. Each wall features a lo...
module recorte(r=2) { polygon (points=[[0,0],[r,r],[r,0],[r,-r],[-r,-r],[-r,0]]); } module cacho_cilindro(h=40,r=2) { linear_extrude(height = h) difference() { circle(r = r, $fn = 100); recorte(r); } } module pared_principal() { cacho_cilindro(); translate([-25,0,0]) rotate([0,0,-45]) cacho...
glb/cad_4d203020bb9f.glb
Create a square-based pyramid for the Cabina Once. The base of the pyramid should be a square measuring 40mm by 40mm, centered on the XY plane. The apex of the pyramid should be positioned exactly 7mm above the center of the base. Position the entire structure so that the base sits at a height of 46mm along the Z-axis.
translate([0,0,46]) polyhedron( points=[ [20,20,0],[20,-20,0],[-20,-20,0],[-20,20,0], [0,0,7] ], faces=[ [0,1,4],[1,2,4],[2,3,4],[3,0,4], [1,0,3],[2,1,3] ] );
glb/cad_d67a3761dd31.glb
Create a roof support for the Cabina Once structure. Start with a central cube measuring 32mm x 32mm x 6mm, centered on the XY plane and positioned at a height of 43mm. From this central block, remove four rectangular slots to create a hollowed-out frame. Each slot should measure 25mm in length, 1.7mm in width, and 5mm...
difference() { translate([0,0,43]) cube([32,32,6],center = true); translate([12.5,12.5,0]) union() { translate([-25,0,39]) cube([25,1.7,5]); translate([0,-25,0]) rotate([0,0,-90]) translate([-25,0,39]) cube([25,1.7,5]); translate([-25,0,0]) ...
glb/cad_83c34f2f1a4b.glb
Create a rectangular wall panel for the Cabina Once structure. Start by constructing a solid rectangular slab that is 25mm wide, 40mm high, and 2mm thick. Within this slab, carve out a central rectangular window that is 21mm wide and 21mm high, leaving a border frame of 2mm thickness on the left, right, and top edges. ...
module recorte(r=2) { polygon (points=[[0,0],[r,r],[r,0],[r,-r],[-r,-r],[-r,0]]); } module cacho_cilindro(h=40,r=2) { linear_extrude(height = h) difference() { circle(r = r, $fn = 100); recorte(r); } } cacho_cilindro(40,2); translate([-25,0,0]) rotate([0,0,-45]) cacho_cilindro(40,2); translate([-25,0,0]) c...
glb/cad_e60160d2a782.glb
Create a Cabina Once structure consisting of a base, four walls, a roof support, and a roof. Start with a rectangular base that is 50mm wide, 1.5mm thick, and 40mm high. Construct the four walls as frames using 2mm thick vertical pillars at the edges and 1.5mm thick horizontal beams at the bottom, the top, and at a hei...
module recorte(r=2) { polygon (points=[[0,0],[r,r],[r,0],[r,-r],[-r,-r],[-r,0]]); } module cacho_cilindro(h=40,r=2) { linear_extrude(height = h) difference() { circle(r = r, $fn = 100); recorte(r); } } cacho_cilindro(40,2); translate([-25,0,0]) rotate([0,0,-45]) cacho_cilindro(40,2); translate([-25,0,0]) c...
glb/cad_9ba531bdc7f0.glb
Create a Cabina Once structure by constructing a rectangular frame with a solid lower section and open upper sections. Start by building a rectangular outer frame that is 25mm wide and 40mm tall, with a wall thickness of 2mm. The bottom portion of this frame should be a solid wall 17mm high, extending across the full 2...
module recorte(r=2) { polygon (points=[[0,0],[r,r],[r,0],[r,-r],[-r,-r],[-r,0]]); } module cacho_cilindro(h=40,r=2) { linear_extrude(height = h) difference() { circle(r = r, $fn = 100); recorte(r); } } cacho_cilindro(40,2); translate([-25,0,0]) rotate([0,0,-45]) cacho_cilindro(40,2); translate([-25,0,0]) c...
glb/cad_880b21287ffa.glb
Create a cylindrical container with a diameter of 60mm and a height of 40mm. The container has a wall thickness of 2mm and a bottom thickness of 2mm. The interior base should have a chamfer of 2.5% of the diameter, and the exterior bottom edge should have a chamfer of 5% of the diameter. At the top of the container, c...
part = "container_"; diameter_=60.0; height_=40.0; outside_chamfer=5.0; inside_chamfer=2.5; compartments = 1; wall_thickness_=-1; divider_wall_thickness=-1; backlash_=-1; solid_container=0; container_bottom_thick=-1; lid_top_thick=-1; quality=80; diameter=max(8,diameter_); wall_thickness=( wall_thickness...
glb/cad_bd13512b160c.glb
Create a filament spool hub designed for a 608 bearing. Start by creating a wide, flat circular base with a radius of 27mm and a height of 3mm. Centered on this base, add a second cylinder with a radius of 19.25mm and a height of 10.5mm. From the center of this assembly, remove a cylindrical core with a radius of 11.37...
union() { difference() { union () { cylinder(10.5, 19.75, 19.25); cylinder(h=3, r=27); } cylinder (h=13,r=11.375); } translate([6,-10,7.5]) cube([10,20,3]); translate([-16,-10,7.5]) cube([10,20,3]); }
glb/cad_dfbe75dbb2aa.glb
Create a Nanopore Tube Rack designed to hold 1.5ml tubes. Start with a rectangular base plate that is 2mm thick. Within this plate, create a grid of 6 circular holes (3 rows by 2 columns) to accommodate the tubes. Each hole should have a diameter of 11mm. To secure the tubes, add 24 small radial prongs around the inne...
td=11; th=40; rt=2; xw=0.4; nr=3; nc=3; tg=5; pl=td/4; pc=24; pa=(360/(pc*2)); echo(pa); ts=td*2; ys=sqrt(ts*ts - (ts*ts/4)); difference(){ union(){ translate([ts*(nr-0.5)/2,(ys*nc+tg-ts)/2,rt/2]) { cube([ts*(nr+0.5)+tg*2,ys*nc+tg*3,rt], center=true); for(xi = [-1,1]){ for(yi = [-1,1]){ ...
glb/cad_9e50d385674b.glb
Create a Nanopore Tube Rack designed to hold 1.5ml tubes. The main body is a flat rectangular plate with a thickness of 2mm. Arrange a grid of 6 circular holes (3 rows by 2 columns) to accommodate the tubes. Each tube hole has a diameter of 11mm. The center-to-center spacing between tubes is 22mm. Around the perime...
td=11; th=40; rt=2; xw=0.4; nr=3; nc=3; tg=5; pl=td/4; pc=24; pa=(360/(pc*2)); ts=td*2; ys=sqrt(ts*ts - (ts*ts/4)); difference(){ union(){ translate([ts*(nr-0.5)/2,(ys*nc+tg-ts)/2,rt/2]) { cube([ts*(nr+0.5)+tg*2,ys*nc+tg*3,rt], center=true); for(xi = [-1,1]){ for(yi = [-1,1]){ assign(rhw=...
glb/cad_6a7c23711516.glb
Create a Nanopore Tube Rack designed to hold 1.5ml tubes. The main body is a flat rectangular plate with a thickness of 2mm. Arrange a grid of circular holes for the tubes. Each hole should have a diameter of 11mm. To secure the tubes, create 24 small radial prongs around the perimeter of each hole; these prongs shou...
td=11; th=40; rt=2; tc=10; xw=0.4; nr=3; nc=3; tg=5; pl=td/4; pc=24; pa=(360/(pc*2)); ts=td*2; ys=sqrt(ts*ts - (ts*ts/4)); color("red") difference(){ union(){ translate([ts*(nr-0.5)/2,(ys*nc+tg-ts)/2,rt/2]) { cube([ts*(nr+0.5)+tg*2,ys*nc+tg*3,rt], center=true); for(xi = [-1,1]){ for(yi = [-1,1...
glb/cad_2129be526b7d.glb
Create a Turn&lock Socket for Elements Lamp consisting of two main components: an outer bracket and an inner socket holder. First, construct the outer bracket as a hollowed cylindrical shell with a height of 16mm and an outer radius of approximately 21.5mm. The shell should feature six equidistant vertical cutouts aro...
module nub(h=2,k=5,r=10,r1=5,l=1.2) difference() { union() { cylinder(k,r1,0,$fn=30); translate([0,0,-h]) { cylinder(r=r,h=h,$fn=30); translate([0,-r,0]) cube([r+l,2*r,h]); translate([-r,0,0]) cube([r,r,h]); } } translate([0,0,-h]) cylinder(k,r1,0,$fn=30); } module rack(n=5,space=4,clear=0...
glb/cad_d9ac91a8c2c5.glb
Create a minimalist stackable mount for a Raspberry Pi. The base is a rectangular frame formed by four vertical pillars connected by horizontal rails. The pillars are positioned at the corners of a rectangle measuring 58mm by 49mm. Each pillar is a cylinder with a radius of 3mm and a total height of 20mm. The top of ...
$fn=30; verticalHeight = 20; topMountHeight = 15; pinHeight = 6; holeHeight = pinHeight + 1; width = 3; mountWidth = 6; belowClearance = 3.5; pinWidth=1.4; pinHole=pinWidth+0.55; piLength = 58; piWidth = 49; module smallMount(h=verticalHeight, smallPin = true) { if (smallPin) { rotate([180,0,0]) { ...
glb/cad_1e9bd22bd873.glb
Create a Rostock build plate calibration pattern centered on the origin. First, construct six thin rectangular bars, each measuring 179mm in length, 0.6mm in width, and 0.4mm in height. Position these bars so they are centered on the Z-axis at a height of 0.2mm and rotate them around the center point in 60-degree incre...
for ( i = [1:6] ) { rotate (a=360-(30*i-90), v=[0, 0, 1]) translate ([0, 0, 0.2]) cube (size=[179, 0.6, 0.4], center=true); } for ( i = [10 : 10 : 90] ) { difference () { cylinder (h=0.4, r=i); translate ([0, 0, -0.1]) cylinder (h=0.6, r=i-0.6); } }
glb/cad_05da0a1074e8.glb
Create a bus stop seat by constructing a base composed of three overlapping rectangular prisms. First, create a wide base prism measuring 100mm in length, 20mm in width, and 3mm in height. Add a second prism on top of this base measuring 100mm by 3mm by 10mm, and a third prism measuring 100mm by 8mm by 8mm. Combine the...
module asiento(){ difference(){ union(){ cube([2*200/5+20, 20,3]); cube([2*200/5+20, 3,10]); cube([2*200/5+20, 8,8]); } translate([0,6,6]) rotate([0,90,0]) cylinder(r=3, h= 2*200/5+40, $fn=100); translate([0,6.25,3]) cube([2*200/5+20, 20,3]); translate([0,3,6.25]) cube([2*200/5+20...
glb/cad_931dfb8c0a0a.glb
Create a vertical support bar for a bus stop. Start by constructing a central pillar that is 120mm tall with a square cross-section of 5mm by 5mm. Hollow out the center of this pillar by removing a 2mm by 2mm square column from its entire length, leaving a thin-walled shell. At the very top of this pillar, center a sph...
module barra_central(){ union(){ translate([0,0,60]) sphere(r=1.5, $fn=100); difference(){ cube([5,5,120], center=true); translate([2.5,0,15]) cube([2,2,120], center=true); translate([-2.5,0,15]) cube([2,2,120], center=true); } translate([1.5,1.5,-45]) rotate([0,0,90]) polyhedron(points = [ [0, 0, 0],[0, 0, 20],[12, 0,...
glb/cad_d269266e554b.glb
Create a corner post for a bus stop. Start by constructing a vertical rectangular prism with a base of 5mm by 5mm and a total height of 120mm, centered on the origin. Hollow out the center of this prism by removing a 2mm by 2mm square column that runs the full height of the object, leaving a wall thickness of 1.5mm on ...
module barra_esquina(){ union(){ translate([0,0,60]) sphere(r=1.5, $fn=100); difference(){ cube([5,5,120], center=true); translate([2.5,0,15]) cube([2,2,120], center=true); translate([0,2.5,15]) rotate([0,0,90]) cube([2,2,120], center=true); } } } barra_esquina();
glb/cad_73c4b1d2ad44.glb
Create a vertical support bar for a bus stop. Start by constructing a rectangular prism with a base of 5mm by 5mm and a total height of 120mm, centered on the origin. Hollow out the center of this prism by removing a smaller rectangular section measuring 2mm by 2mm in width and depth, extending the full 120mm height, b...
module barra_final(){ union(){ translate([0,0,60]) sphere(r=1.5, $fn=100); difference(){ cube([5,5,120], center=true); translate([2.5,0,15]) cube([2,2,120], center=true); } } } barra_final();
glb/cad_c6e653abff61.glb
Create a thin rectangular slab with a width of 1.75mm, a height of 100mm, and a depth of 36.6mm. Center the geometry so that the dimensions are balanced across all axes.
module cristal(){ cube([1.75,200/5-3,100], center = true); } cristal();
glb/cad_bb32f62eb765.glb
Create a Prusa i3 Printable Spool Holder consisting of two main components: a frame mount and a bearing mount. For the frame mount, create a central body that is a combination of a cube and a cylinder with a width of 20mm and a depth of 7.5mm. Cut a rectangular slot through the center to accommodate the printer frame....
include <common.scad> show_assembled = false; use_cutouts = false; opening_size = 10; separate_mount = true; do_spool_clip = true; frame_width = 260; frame_height = 41; frame_depth = 7.5; spool_large_radius = 80; spool_filament_radius = 72; spool_small_radius = 16; spool_outer_thickness = 3; spool_inner_width = 85;...
glb/cad_a1d369e46239.glb
Create a warp test part by constructing a rounded rectangular block with overall dimensions of 25mm width, 50mm depth, and 20mm height. The main body should have heavily rounded corners and edges with a radius of 8mm. From this main volume, remove a large rectangular central cavity measuring 25mm wide, 90mm deep, and 3...
difference() { union() { minkowski() { cube([25,50,20]); difference() { sphere(r=8,$fn=50); translate([-10,-10,-20]) cube([20,20,20]); } } translate([0,-7,20]) rotate([0,90,180]) linear_extrude(height=3) polygon(points=[[0,0],[20,0],[20,20]]); translate([25,-7,20]) ...
glb/cad_a0a3fccfd70e.glb
Create a brick wall structure. The wall is composed of repeating rectangular brick units, each with a height of 9mm, a width of 28mm, and a total depth of 180mm. Construct the wall by stacking these units in a staggered pattern. For each brick, create a rectangular block and remove a cylindrical core with a radius of...
module row(height,width,totalWidth,depth){ rowWidth=height-1; height=height; translate([0,0,height/2]){ difference(){ cube([rowWidth,totalWidth,height], center = true); translate([2*rowWidth/3-depth/2,0,0]){ cylinder(h = height+depth, r=depth, $fn=150,center=t...
glb/cad_33391aff1bc2.glb
Create a bridge wall structure by first constructing a series of eleven rectangular blocks, each measuring 5mm by 10mm by 100mm. Position these blocks in a row along the Y-axis, spaced 11mm apart from center to center, ranging from Y = -55mm to Y = 55mm. From this assembly, remove a semi-cylindrical section with a ra...
module wall(){ for (i=[-5:1:5]) { translate([0,11*i,0]) cube([5,10,100],center=true); } translate([-2.5,-53,0]) cube([4,105,50]); } module littleWall(){ translate([5,0,6]) cube([10,15,12],center=true); translate([5,0,19]) cube([10,15,12],center=true); tra...
glb/cad_85ffcd601773.glb
Create a bridge ramp by constructing a hollow semi-cylindrical shell. Start with a cylinder that has an outer radius of 85mm and an inner radius of 82mm, with a total height of 80mm. Orient this cylinder so its central axis is horizontal. To create the open-ended ramp shape, remove the material from the center of the c...
module rampa(){ translate([-40,0,0]){ difference(){ translate([0,0,-60]) rotate([0,90,0]) difference(){ cylinder(r=85, h=80, center=true, $fn=150); cylinder(r=82, h=80, center=true, $fn=150); } translate([0,0,-75...
glb/cad_f8691f8101d6.glb
Create a bridge railing cap by constructing a rectangular cuboid with a width of 15mm, a length of 54mm, and a height of 5mm. Center the geometry on all axes.
cube([15,54,5],center=true);
glb/cad_7a8284294565.glb
Create a bridge model consisting of two identical side walls connected by a central ramp. For each side wall, construct a base by arranging eleven 5x10x100mm cubes centered and spaced 11mm apart along the Y-axis. From this arrangement, remove a semi-cylindrical section with a radius of 55mm and a height of 12mm, center...
module wall(){ for (i=[-5:1:5]) { translate([0,11*i,0]) cube([5,10,100],center=true); } translate([-2.5,-53,0]) cube([4,105,50]); } module littleWall(){ translate([5,0,6]) cube([10,15,12],center=true); translate([5,0,19]) cube([10,15,12],center=true); tra...
glb/cad_e81e3b5be999.glb
Create a rectangular prism for a bridge railing cap with a length of 80mm, a width of 15mm, and a height of 5mm. Center the object on all axes.
cube([15,80,5],center=true);
glb/cad_cbd27b39f46a.glb
Create a bottle lift for a fridge consisting of four identical square units aligned in a single row. Each unit is a square plate measuring 62mm by 62mm with a thickness of 2mm. In the center of each square plate, create a circular ring with an outer diameter of 24mm and an inner hole of 20mm, both 2mm thick, to hold ...
Bottle_X=4; Bottle_Y=1; Magnet_diameter=20; Bottle_Diameter=62; Screw="yes"; Brian_revelation=1/1; Thinkness=2; module OneBelgianBeerPlease(){ difference(){ cube([Bottle_Diameter,Bottle_Diameter,Thinkness]); if (Screw=="yes"){ translate([(Bottle_Diameter/2)-Magnet_diameter...
glb/cad_908ee19c2a69.glb
Create a cable cover for a monitor stand pole. Start by constructing a hollow semi-cylindrical shell with a height of 124mm and an inner diameter of 48.3mm. The shell walls should be 3mm thick. The back of the shell is not a simple curve; it extends into a rectangular section 19mm wide and 40mm high to allow cables to ...
poleDiameter=48.3; baseWidth=100.6; baseToBack=57.3; centerToBack=poleDiameter/2+baseToBack; cablePass=19; cablePassHeight=40; holeWidth=28; dooberHeight=25; heightToHole=60; snapHeight=1.4; snapWidth=1.4; thickness=3; height=124; $fn=100; module solidCover() { difference() { union() { ...
glb/cad_67f971d072b0.glb
Create a vinyl cutter tool holder by starting with a main rectangular base that is 6mm thick, 60mm wide, and 30mm high. At the bottom center of this base, add a cylindrical tool holder protrusion with an outer radius of 10mm and an inner hole radius of 7mm, both 6mm high. On the main base, place two small cylindrical p...
module screwhole(diameter = 3.5, length = 20, cs_diam = 6, cs_depth = 6){ cylinder(h=length, r=diameter/2); cylinder(h=cs_depth, r=cs_diam/2); } module bracket(){ thickness = 6; width = 60; height = 30; translate([thickness/5,0,thickness/2]) cube([8,20,thickness],center=true); translate([thickness/2,8,0]...
glb/cad_923df0e0f10a.glb
Create a Mini Kossel doubled frame top vertex for a 1515 extrusion. Start by constructing a vertex shape with an idler offset of 3mm and an idler space of 12.5mm, using a facet resolution of 280. Within this main body, create a cylindrical hole with a radius of 1.5mm and a height of 55mm, positioned at coordinates [0, ...
include <configuration.scad>; use <vertex.scad>; use <vertexSimple.scad>; $fn = 240; height = 15.0; module frame_top() { difference() { union() { difference() { vertex(extrusion, idler_offset=3, idler_space=12.5, fn=280); translate([0, 65, 0]) rotate([90, 0, 0]) cylinder(r=m3_radius, h=55); transla...
glb/cad_535bef15e4b8.glb
Create a Mini Kossel doubled frame top vertex designed for 1515 extrusions. The part is a structural corner joint with a total height of 15mm. Start with a central body that is the intersection of a cylinder with a 36mm radius and a hexagonal prism (6-sided cylinder) with a 50mm radius, both centered. To form the mai...
include <configuration.scad>; $fn = 80; roundness = 6; module extrusion_cutout(h, extra) { difference() { cube([extrusion+tolerence_frame_dmk, extrusion+tolerence_frame_dmk, h], center=true); for (a = [0:90:359]) rotate([0, 0, a]) { translate([extrusion/2, 0, 0]) cube([6, 3, h+1], center=true)...
glb/cad_7d999c0e5638.glb
Create a Mini Kossel doubled frame top vertex designed for 1515 extrusions. The main body is a symmetric vertex joint with a total height of 15mm. Start with a central core that features a cutout for a 15mm extrusion, including a 0.15mm tolerance. The overall shape is formed by the intersection of a cylinder with a r...
include <configuration.scad>; $fn = 80; roundness = 6; module extrusion_cutout(h, extra) { difference() { cube([extrusion+tolerence_frame_dmk, extrusion+tolerence_frame_dmk, h], center=true); for (a = [0:90:359]) rotate([0, 0, a]) { translate([extrusion/2, 0, 0]) cube([6, 3, h+1], center=true)...
glb/cad_67628198c0a1.glb
Create a customizable lithophane plaque. Start by generating a 3D surface based on a 100x100 pixel grayscale image, where the height of the surface varies to represent image intensity. Scale this surface to a base size of 99mm by 99mm. The total height of the relief should be determined by 12 layers at a thickness of 0...
image_file = "image-surface.dat"; hole_diameter = 0; hole_border = 0; lithophane_border = 0; layer_height = 0.2; number_of_layers = 12; s=0.01; length = 99; width = 99; min_layer_height = layer_height*2; hole_radius = hole_diameter/2; height = layer_height*number_of_layers; union() { difference() { transl...
glb/cad_c81e32f7bfe7.glb
Create a garden sign consisting of a horizontal nameplate and two supporting legs. Start by creating a rectangular base for the nameplate that is 3mm thick, 3mm high, and has a length equal to the number of characters in the word "Seeds" multiplied by 12mm. On top of this base, add the text "Seeds" as raised 3D letteri...
label_text = "Seeds"; font = "write/Letters.dxf"; build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y); use <write/Write.scad> use <utils/build_plate.scad> translate([len(label_text) * 14.5/-2,0,0]) { differ...
glb/cad_b995bd0e6076.glb
Create a Spool Adapter by constructing a central cylindrical body with a total height of 20mm and a diameter of 46mm. Within this main cylinder, remove a hexagonal void that runs through the center; this void is formed by three intersecting rectangular boxes, each 20mm wide and 25mm tall, rotated at 60-degree intervals...
$fn=100; difference() { translate(v = [0, 0, 0]) { translate(v = [0, 0, 3]) quatreoil(35, 6, 5, 12); cylinder(h = 12, d = 46); translate(v = [0, 0, 6]) quatreoil(35, 12, 4.2, 5); } hexagon(20, 25); } module quatreoil(outradius,height,inRatio,outRatio){ inradius = outradius/outRatio; union(){ diffe...
glb/cad_a67a07e0ee0c.glb
Create a Spool Adapter consisting of a cylindrical base and a hexagonal top. Start by creating a smooth cylinder with a diameter of 38mm and a height of 12mm. Centered on top of this cylinder, add a hexagonal prism with a height of 12mm. This hexagon should be constructed from three rectangular blocks, each with a widt...
$fn=100; translate(v = [0, 0, 18]) hexagon(19, 12); cylinder(h = 12, d = 38); module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true); }
glb/cad_393b3e74a314.glb
Create a Weighted Storage Cube Gears model consisting of a central core and interlocking bevel gears. Start by creating a central block formed by the intersection of three identical cubes, each with a side length of 50mm, rotated and centered to form a compact core. Drill a 3mm diameter hole through the center of this ...
use <involute_gears.scad> rotation_tweak=5; twogears(); cs=50; rf1=0.898*sqrt(3)*cs/2; cp=0.25; td=3; cd=4; hd=7; Ls=20; ps=10; $fs=td/6; n1=18; n2=12; r1=0.6860; r2=0.45736; dc=rf1/sqrt(1-pow(r1,2)); theta=asin(1/sqrt(3)); pitch=360*r1*dc/n1; rf2=sqrt(pow(dc,2)-pow(r2*dc,2)); phi1 = 90/n1 + rotation_tweak; ph...
glb/cad_56bb4158ad17.glb
Create a Breadboard Box consisting of a main container and a separate lid. For the main container, create a rectangular block with outer dimensions of 86.8mm in length, 59.7mm in width, and 35mm in height. Hollow out the center by removing a block starting 2mm from each wall, leaving a wall thickness of 2mm, with the...
use<write/write.scad> card_length = 82.80; card_width = 55.70; shifter = 0; box_height = 35; deckel = 12; box_do = 0; box_more = 0; name_it = 1; LCDwidth = 72.00; LCDheight = 27.00; wall = 2; space = 0.9; dummy = 1; boxx(); translate([0,card_width+2*wall*shifter+1...
glb/cad_cf88952d63fa.glb
Create a Breadboard Box consisting of a main rectangular container and a matching lid. For the main box, create a solid rectangular block with outer dimensions of 86.8mm in length, 59.7mm in width, and 35mm in height. Hollow out the center by removing a rectangular volume starting 2mm from each inner wall, leaving a ...
use<write/write.scad> card_length = 82.80; card_width = 55.70; shifter = 0; box_height = 35; deckel = 8; box_do = 0; box_more = 0; name_it = 1; LCDwidth = 72.00; LCDheight = 27.00; wall = 2; space = 0.9; dummy = 1; boxx(); translate([0,card_width+2*wall*shifter+1...
glb/cad_88e35f3d86c8.glb
Create a Breadboard Box consisting of a main enclosure and a matching lid. For the main enclosure, create a rectangular block with outer dimensions of 87mm length, 60mm width, and 35mm height. Hollow out the center to create a cavity starting 2mm from the bottom and sides, with internal dimensions of 83mm length and ...
use<write/write.scad> card_length = 83.00; card_width = 56.00; shifter = 0; box_height = 35; deckel = 8; box_do = 0; box_more = 0; name_it = 1; LCDwidth = 72.00; LCDheight = 27.00; wall = 2.0; space = 1.0; dummy = 1.0; boxx(); translate([0,card_width+2*wall*shift...
glb/cad_0838f2640258.glb
Create a GoPro mount for an RC vehicle. Start with a rectangular base platform measuring 120mm in width, 50mm in depth, and 10mm in thickness. On opposite ends of the platform, add two vertical walls that are 10mm thick, 50mm deep, and 18mm high. Each wall should feature a "super peg" protruding from the top. This pe...
thickness = 10; ph = 5; platform_depth = 50; platform_width = 100 + 2 * thickness; wall_height = 18; gopro_horiz_offset = 14; gopro_support_size = 25; slot_tolerance = .05; include <rugged gopro mount.scad> module support(sz) { difference() { cube([ph, sz, sz]); rotate([45, 0, 0,]) { translate([-buffer, 0, 0...
glb/cad_2199d5f06836.glb
Create a GoPro mount consisting of a long base strut and two elevated standoffs. Start with a rectangular base strut 249mm long, 20mm wide, and 5mm high. At each end of the strut, center a semi-cylindrical standoff with an outer radius of 10mm and an inner hole radius of 5mm, each with a height of 18mm. The standoffs s...
pole_width = 10; pole_radius = pole_width / 2; buffer = 1; strut_height = 5; strut_length = 249; standoff_height = 18; platform_depth = 50; left_or_right = pole_radius - platform_depth; module base_strut() { smoothing_r = 3; difference() { cube([strut_length, pole_width * 2, strut_height]); translate([-buffe...
glb/cad_d15e2b11d590.glb
Create a sycamore seed model by starting with a sphere that has a radius of 3.5mm. From this sphere, remove a cylindrical section to create a hollow or flat-bottomed effect. Position a cylinder with a radius of 3.5mm and a height of 3.5mm such that its center is aligned with the center of the sphere, but shift it downw...
seedR = 3.5; thickness = .5; difference(){ sphere (r = seedR, center = true); translate([0,0,-seedR/2]) cylinder (r = seedR, h = seedR, center = true); } linear_extrude(file = "helecopterStrokes.dxf", height=1, layer = "spine"); linear_extrude(file = "helecopterStrokes.dxf", height=.5, layer = "veins");
glb/cad_841e425fa522.glb
Create a RepRapPro Mendel Extruder Spacer consisting of a mounting arm and an integrated bar clamp. Start by creating a rectangular arm 40mm long, 10mm wide, and 2mm thick. At one end of this arm, construct a bar clamp by forming a semi-circular collar with an inner diameter of 8.4mm and an outer diameter of 11.4mm, wi...
m8_diameter = 8.4; m3_diameter = 3.1; arm_length = 40; module barclamp(){ outer_diameter_y = (m8_diameter-0.0)/2+3; outer_diameter_z = outer_diameter_y; difference(){ union(){ translate([outer_diameter_y, outer_diameter_y, 0])cylinder(h =10, r = outer_diameter_y, $fn = 20); translate([outer_diameter_y, 0, 0])cu...
glb/cad_5748d540c1b2.glb
Create a Robofence Endcap designed to hold a board. Start by creating a main rectangular body that is 50.8mm wide, 15.875mm deep, and 50.8mm tall. Cut a rectangular slot through the center of this body to accommodate a board, leaving walls that are 3.175mm thick on each side; this slot should be 6.35mm wide and 12.7mm ...
inch = 25.4; thickness = 1/8 * inch; boardHeight = 2 * inch; boardWidth = 1/4 * inch; endcapWidth = boardWidth + thickness * 2; endcapOverlap = 1/2 * inch + thickness; hingeHoleRadius = 1/16 * inch; hingeRadius = hingeHoleRadius + thickness; module hingeBarrel() { difference() { cylinder(boardHeight / 2 - .1, ...
glb/cad_574159253ad4.glb
Create a Dual Angle Stop Motion Stand consisting of two mirrored bracket assemblies joined by a central base. Each bracket assembly starts with a rectangular base 88.9mm wide and 8mm thick. For each bracket, place two walls of 7mm thickness: a front block 11mm high and a back block approximately 17.8mm high (calculat...
goldenratio = 1.61803399; joinfactor = 0.125; gAngleOfRepose = 1; gMaterialThickness = 6.4; g2AngleOfRepose = 11; g2MaterialThickness = 6.6; gWallThickness = 7; gBaseWidth = 88.9; gBaseThickness = 8; gBaseFrontBlockHeight = 11; union() { rotate([90, 0, 90]) Bracket(gBaseFrontBlockHeight, gMaterialThickness...
glb/cad_07517176d733.glb
Create a lint roller consisting of a hollow cylindrical sleeve and a separate axle bar. For the sleeve, construct a cylinder with a height of 80mm and an outer diameter of 50mm. Remove a smaller concentric cylinder from the center with a diameter of 16mm and a height of 78.4mm to create a hollow tube. At the top face o...
bar_height = 80; resolution = 100; translate([-27, 27, 0]) { difference() { rotate_extrude(file="handle.dxf", layer="handle", origin=[0,0], $fn=resolution); translate([0, 15, 95]) rotate([90, 0, 0]) cylinder(30, 3, 3); translate([0, 0, 95]) rotate([90, 0, 0]) cylinder(21, 3.5, 3.5, true); transl...
glb/cad_f1a7203c5bdc.glb
Create a Box Drone model consisting of a central rectangular base and four symmetrical outer supports. Start with a central rectangular plate measuring 94mm by 140mm with a thickness of 3mm. At each of the four corners of this plate, centered at coordinates (±38, ±53), place a square-based pyramid-like support. Each ...
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\nuts_and_bolts.scad> include <C:\Program Files (x86)\Op...
glb/cad_ccc9b3563a6b.glb
Create a Box Drone frame by starting with a central rectangular plate measuring 40mm by 40mm with a thickness of 3mm. From this base, construct a hollow tapered tower by placing a square prism with a 4-sided cross-section. This prism should have a height of 50mm, a base width of 6mm, and be centered on the plate. To cr...
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\nuts_and_bolts.scad> include <C:\Program Files (x86)\Op...
glb/cad_bf85a1a94c5e.glb
Create a Box Drone model by assembling several geometric components. Start with a central power and navigation mount, which is a box measuring 94mm by 140mm by 25mm. Around this center, place four motor mounts, each a 40mm by 40mm by 15mm box, positioned at the corners of the frame. Construct the connecting frame usin...
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad> include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\nuts_and_bolts.scad> include <C:\Program Files (x86)\Op...
glb/cad_ada80656fb06.glb
Create a raised effector mount for a 3D printer hotend. Start with a central cylindrical body that has a height of 6mm and a radius of 22mm. At the center of this body, create a vertical hole with a radius of 5.2mm that passes through the entire height. Additionally, create a larger concentric hole with a radius of 8.5...
include <configuration.scad>; separation = 44; offset = 22; mount_radius = 23; mount_radius_alu = 12.5; jhead_od_radius = 8.5; jhead_id_radius = 5.2; height = 6; jhead_height=3; m3_cap_radius=2.775; m3_cap_height=4; module mount_cap() { rotate(a=[180,0,0]) { union() { difference() { union() { ...
glb/cad_3b4427855b14.glb
Create a raised effector for a 3D printer hotend. Start with a central cylinder 10mm high with a radius of 21mm. Cut a central vertical hole through the entire height with a radius of 14mm to accommodate the hotend. Add three symmetrical arms spaced 120 degrees apart. Each arm begins with a rectangular block 12mm wid...
include <configuration.scad>; separation = 40; offset = 23; mount_radius = 23; hotend_radius = 14; height = 10; cone_r1 = 2.5; cone_r2 = 14; module effector() { difference() { union() { cylinder(r=offset-2, h=height, center=true, $fn=360); for (a = [60:120:359]) rotate([0, 0, a]) { rotate([0, 0, 90]...
glb/cad_d48349a5c584.glb
Create a raised effector for a Kossel Mini 3D printer designed to house an E3D v6 hotend and a 30mm cooling fan. Start by creating a central mounting structure with a total height of 36mm. This structure features a large central vertical bore with a radius of 13mm and a wider upper cutout with a radius of 18.5mm and ...
include <configuration.scad>; separation = 44; offset = 22; mount_radius = 23; jhead_od_radius = 8; jhead_id_radius = 6; height = 6; jhead_height=5; mount_height=36; top_bot_p_thk=1; fap = 30/2; fmh = 24; thk = 14; module p() difference() { union() { for (a = [0:120:359]) rotate([0, 0, a]) { transl...
glb/cad_a368957b2923.glb
Create a two-part mold for a "Bunny with an Attitude" figure. Each mold half should be a rounded box with overall dimensions of 78mm width, 47mm height, and 23mm depth, using a corner radius of 8mm. For both halves, subtract the geometry of the bunny figure from the center of the block. The figure should be scaled by...
model_filename = "abdec11.stl"; model_rotate = [90,0,90]; model_translate = [-35,-25,-11.8]; model_scale = .9; mold_width = 78; mold_height = 47; mold_depth = 23; mold_spacing = 3; rounded_corners = true; edge_radius = 8; key_size = 3; key_fettle = 0.4; key_margin = 7; pour_hole = 0; location = 0; side_by_side(); ...
glb/cad_d38c68c78421.glb
Create a Turnigy 28 outrunner motor mount with a total thickness of 3mm. The main body is a cross-shaped plate formed by two intersecting rectangular blocks, each measuring 30mm by 10mm by 3mm, centered on the origin. Add four semi-circular caps with a 10mm diameter to the ends of these blocks to round the outer edges....
$fn=60; h=3; difference () { union () { difference () { rotate ([0,0,45]) cube ([16,16,h], center = true); rotate ([0,0,45]) translate ([9,0,0]) cylinder (d=3, h=h+1, center = true); rotate ([0,0,135]) translate ([9,00]) cylinder (d=3, h=h+1, center = true); rotate ([0,0,225]) translate...
glb/cad_79064c0b3a48.glb
Create a Turnigy 28 outrunner motor mount with a total thickness of 3mm. The main body is a cross shape formed by two intersecting rectangular blocks, each 30mm by 10mm by 3mm, centered on the same axis. Add four cylinders with a 10mm diameter and 3mm height to the ends of these blocks to create rounded outer edges. A...
$fn=60; h=3; difference () { union () { difference () { rotate ([0,0,45]) cube ([16,16,h], center = true); rotate ([0,0,45]) translate ([9,0,0]) cylinder (d=3, h=h+1, center = true); rotate ([0,0,135]) translate ([9,00]) cylinder (d=3, h=h+1, center = true); rotate ([0,0,225]) translate...
glb/cad_55840286480d.glb
Create a GWS Pico Tiger Moth cowling by constructing a hollowed-out shell with a length of 90mm. First, create the outer volume by forming a hull between two conical cylinders: one centered at a vertical offset of 30mm with a radius tapering from 26mm at the firewall end to 15mm at the propeller end, and a second conic...
module tmCowling() { length = 90; d_centrelines = 30; d_offset = 5; r_upper_firewall = 26; r_upper_prop = 18; r_lower_firewall = 26; r_lower_prop = 15; r_prop = 15; thickness = 0.4; $fn = 128; rotate([180,0,0]) translate([0,0,-length]) difference() { union() { hull() { transla...
glb/cad_0a1f1acb2963.glb
Create a hole reducer by constructing a hollow, tapered cylinder with a height of 20mm. The outer wall should start with a diameter of 68mm at the base and taper linearly to a diameter of 65mm at the top. Remove a centered cylindrical core with a constant diameter of 61mm throughout the entire height to create a ring. ...
outerDiammeter=68; innerDiammeter=61; conicVariation=3; height=20; difference () { cylinder (d1=outerDiammeter,d2=outerDiammeter-conicVariation, h=height, $fn=200); cylinder (d=innerDiammeter, h=25, $fn=200); }
glb/cad_8ff2d7b525f3.glb
Create a luggage label consisting of a rectangular plate with a thickness of 3mm and rounded corners with a radius of 3mm. On the left side of the plate, center a vertical slot that is 4mm wide and 12mm long, with semi-circular ends of 2mm radius. Engrave the text "Just enter name and address" into the surface of the ...
use <write/Write.scad> line_1="Just enter"; line_2="name and"; line_3="address"; line_4=""; line_5=""; line_6=""; line_7=""; line_8=""; line_9=""; line_10=""; text_style=-80; font="orbitron.dxf"; fontsize=8; letter_spacing=1; letterspacing=1.0+letter_spacing/10; line_spacing=2; linespacing=0.7+line_spacing/10; p...
glb/cad_f8a5186d1976.glb
Create a park fence miniature. Start by constructing two parallel horizontal rails, each a cylinder 120mm long with a 5mm radius. Position these rails so their centerlines are 50mm apart. Connect these rails with five vertical posts, each a cylinder 60mm tall with a 5mm radius. Space the posts evenly along the length o...
for (i = [1:5]) { difference() { difference() { translate ([0,0,25]) rotate ([0,90,0]) cylinder(h = 120, r1 = 5, r2 = 5, $fn=100); translate([120,0,15]) cylinder(h = 55, r1 = 5, r2 = 5, $fn=100); } ...
glb/cad_9d0ea4813c2c.glb
Create a park fence miniature by constructing a rectangular prism with a width of 10mm, a depth of 5mm, and a height of 60mm. Center the geometry so that it extends 30mm above and 30mm below the origin along the vertical axis.
translate ([0,0,0]) cube([10,5,60], center = true);
glb/cad_586306b9cc8d.glb