Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a customizable pillbox consisting of a container and a lid. The container is a hollow cube with outer dimensions of 20x20x20mm and a wall thickness of 1mm. The interior cavity is 18x18x17mm, leaving the top open. On the top rim of the container, add two small rectangular clasp tabs, each measuring 1x5x1mm, posit... | include<write/Write.scad>
Number_of_days=1;
Extra=2;
Text=1;
Number_of_weeks=1;
module clasp()
{
cube([1,5,1]);
}
module pill()
{
union()
{
difference()
{
cube(20,20,20);
translate([1,1,3])cube(18,18,18);
}
translate([19,7.5,20])clasp();
translate([0,7.5,20])clasp();
}
}
module pillbox()
{
uni... | glb/cad_eb751d3fee4d.glb |
Create a charcoal grill vent handle by starting with a semi-cylindrical base. Form the main body by taking a cylinder with a radius of 22mm and a height of 8mm, centered on the origin, and removing the half of the cylinder that lies in the positive X direction.
Within this semi-cylinder, carve out a horizontal cylind... | $fn=150;
module body(){
difference(){
cylinder(h=8, r=22, center=true);
translate([24,0,0])
cube([40,50,20], center =true);
}
difference(){
translate([4,0,0])
rotate([90,0,0])
cylinder(h=44,r=4, center=true);
}
translate([4,0,8])
cube([8,44,16], center=true);
}
module ribs(){
... | glb/cad_a514260ae15c.glb |
Create a parametric tool rack for keyhole shelving. Start by creating a vertical rectangular shelf plate that is 100mm wide and 1.75mm thick. In this plate, create 8 evenly spaced holes, each with a radius of 3mm, aligned vertically.
Construct two supporting posts that extend from the back of the shelf. Each post cons... | shelf_width = 100;
shelf_hole_radius = 3;
num_holes = 8;
key_big = 11;
key_small = 6;
key_spacing = 39;
key_thickness = 1.75;
hook = 10;
support_thickness = 4;
spacer = ((shelf_width - (shelf_hole_radius * 2 * num_holes)) / num_holes) / 2;
poke = (shelf_hole_radius*2)+hook;
hookStart = support_thickness*2+key_... | glb/cad_62f38eff054d.glb |
Create a square fan cover with a total width and length of 4mm and a thickness of 0.2mm. At each of the four corners, create a circular mounting point with a diameter of 0.55mm, centered 0.35mm from the outer edges. Within these mounting points, place a concentric hole with a diameter of 0.3mm that passes through the e... | fancoversize=4;
fancoverheight=.2;
screwpos=.35;
screwsize=.3;
screwcoversize=.55;
circles = 4;
nradis=3;
percair=.75;
inh = .06;
$fn=128;
ncircles=circles+1;
conerdelta= fancoversize/2-screwpos;
stepsize=(fancoversize/2)/ncircles;
fillstepsize=stepsize*percair;
emptystepsize=stepsize*(1-percair);
differenc... | glb/cad_886bace12338.glb |
Create a link bracelet by constructing a hollow ring with a complex, interwoven lattice. Start by creating a single link: a 20-sided prism based on a circle with a 5mm radius, extruded 50mm long and twisted 270 degrees. Scale this link by 0.6 in the X-axis and 1.8 in the Y-axis to flatten and elongate it. Arrange 12 of... | module link() {
rotate([90,0,90]) scale([0.6,1.8,1])
linear_extrude(height = 50, center = false, convexity = 10, twist = 270, $fn = 20)
translate([9, 0, 0])
circle(r = 5, $fn = 12);
}
module side() {
difference() {
for ( i = [0:11] ) {
rotate( [i*30, 0, 0]) translate( [0, 60, 0] ) link();
rotate( [i*30+15... | glb/cad_1ebc2bbe4e76.glb |
Create a customizable toothbrush holder split into two interlocking pieces. The overall footprint is defined by a base width of 60mm and a depth of 80mm.
The bottom piece is a rectangular block 90mm high. It features a base plate 3mm thick with a large circular cutout centered in the middle. At the top edge, add two ... | number_of_toothbrushes = 2;
holder_side_cushion = 10;
holder_cushion = 20;
holder_max_width = 15;
holder_min_width = 9;
holder_depth = 30;
width = (number_of_toothbrushes * holder_max_width) + (2 * holder_side_cushion) +((number_of_toothbrushes - 1) * holder_cushion);
base_width = width;
base_depth = 80;
base_he... | glb/cad_5a7d07e0d496.glb |
Create a concave bracelet by generating a ring based on a scaled circle. Start with a circle of radius 15mm, scale it by 0.3 along the X-axis to create an oval, and translate it 35mm from the center. Rotate this oval profile 360 degrees around the Z-axis to form a solid torus with an elliptical cross-section. To make t... | module braceletTube() {
rotate_extrude(convexity = 10, $fn = 72)
translate([35, 0, 0])
scale([0.3,1,1]) circle(r = 15, $fn = 36);
}
module hollowBraceletTube() {
difference() {
braceletTube();
scale([1.07,1.07,0.9])braceletTube();
}
}
difference() {
intersection() {
hollowBraceletTube();
translate([0,0,-20])c... | glb/cad_88d3f85496b2.glb |
Create a stylized ladybird toy. Start by creating a main body shell based on a sphere with a diameter of 30mm, scaled to 1.2 in width, 0.9 in depth, and 0.7 in height. This shell should be a hollowed-out dome, effectively a hemisphere, with a thin wall. Create three such shell segments of decreasing size along the X-ax... | detail = 80;
sphereSize = 30;
scale(0.6) {
shell(1.05);
translate([15,0,0])scale(0.8)shell();
translate([36,0,0])scale(0.4)shell();
feet(18,22);
feet(0,26);
feet(-18,22);
}
module shell(sizer) {
scale([1.2,0.9,0.7]){
difference(){
difference() {
... | glb/cad_a59c1f1d3c07.glb |
Create a Universal Art Frame bracket by starting with a rounded square block measuring 60mm wide, 60mm deep, and 13mm high, with corner radii of 2mm. Hollow out the center of this block to create a wall thickness of 4mm on the sides, leaving a central cavity. From this cavity, remove material using two intersecting 45-... | T=1.5;
w=60;
wall=4;
minT=5;
maxT=10;
r=2;
Dhole=T+2;
use <MCAD/boxes.scad>
difference(){
translate([0,0,maxT/2+T])roundedBox([w,w,maxT+2*T],r,$fn=16);
difference(){
translate([0,0,maxT+2*T])cube([w-2*wall,w-2*wall,2*maxT],center=true);
translate([-w/2,-w/2+wall,2*T+minT])rotate([45,0,0])cube([w,maxT,maxT... | glb/cad_7423337486ae.glb |
Create a dishwasher strainer replacement basket with overall dimensions of 50mm in length, 60mm in width, and 19.25mm in height. The object is an open-topped container where the bottom and all four side walls are constructed from a honeycomb lattice.
The honeycomb structure should have a cell size of 7mm (measured as... | length=50;
width=60;
height=19.25;
cell_size=7;
wall_thickness=1.75;
solid_walls="No";
solid_wall = solid_walls=="Yes";
honeycomb(length, width, wall_thickness, cell_size, wall_thickness);
if (!solid_wall)
{
translate([0,wall_thickness,0])
rotate([90,0,0])
honeycomb(length, height, wall_thickness, cell_size, wal... | glb/cad_ba629bf598c4.glb |
Create a 3D model of a spring. The spring should be constructed from a wire with a radius of 0.7mm. This wire follows a helical path with a coil radius of 3.5mm and a pitch of 6.75mm. The helix should complete exactly 4 full rotations. The cross-section of the wire should be represented as a 20-sided polygon to maintai... | $fn= 20;
spring( 7/2, 1.4/2, 12/6.75, 6.75, 4 );
function m_translate(v) = [ [1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[v.x, v.y, v.z, 1 ] ];
function m_rotate(v) = [ [1, 0, 0, 0],
[0, co... | glb/cad_eda260a8aa5d.glb |
Create a Prusa i3 filament spool axle holder by starting with a main rectangular block 18mm wide, 20mm deep, and 30mm high, with an additional 10mm high rectangular block added to the top. Carve a central rectangular cutout 6.5mm wide, 22mm deep, and 21mm high starting from 3.75mm in from the left edge. At the top of t... | $fs = 0.25;
module base()
{
difference()
{
union()
{
translate([-2,0,0]) cube([18,20,30]);
translate([-2,0,28]) cube([18,20,10]);
}
translate([3.75,-1,-1]) cube([6.5,22,21]);
translate([7,-1,38]) rotate([-90,0,0]) cylinder(h=22,r=4);
t... | glb/cad_aab55334a592.glb |
Create a Combi Rollo Part by starting with a central cylinder that has a radius of 5.77mm and a height of 10mm. Add two thin, wedge-shaped discs to the top and bottom of this cylinder; each disc must have a radius of 8.8mm and a thickness of 3.63mm. These discs are shaped as 54-degree pie slices centered on the cylinde... | $fa = .1;
$fn = 100;
Heigth = 10.0;
RadiusCylinder = 11.54/2;
RadiusPie = 17.6/2;
HeigthPie = 3.63;
PiePieceWidth = 54;
widthHole = 3.6;
lengthHole = 6.44;
module pie_slice(r, a, h, q=90){
intersection(){
cylinder(h=h, r=r);
cube([r, r, h]);
rotate(a-q) cube([r, r, h]);
}
}
module ding(){
cyli... | glb/cad_f93bd0634b3a.glb |
Create a box for an AVR MKII programmer. Start with a solid rectangular block measuring 25.5mm wide, 58mm long, and 17mm high. Hollow out the center by removing a rectangular volume of 21.5mm by 54mm by 15mm, positioned 2mm from the front, side, and 2.1mm from the bottom, leaving a walls thickness of 2mm on the sides a... | $fn=60;
difference()
{
cube([25.5,58,17]);
translate([2,2,2.1]) cube([21.5,54,15]);
translate([6,0,3.5]) cube([13,3,5]);
}
cube([6,5,8]);
translate([19,0,0])cube([6,5,8]);
translate([10.25,0,-1])cube([5,58,1]);
hull()
{
translate([15.4,58,-2.4])rotate([90,0,0])cylinder(58,1.5,1.5);
translate([10.1,58,-2.4])rotate([90... | glb/cad_be242fd45773.glb |
Create a Reuleaux triangle with a constant width of 30mm and a height of 5mm. To construct the 2D profile, create three circles, each with a radius of 30mm. Position the center of the first circle at [15, 0]. Rotate the centers of the remaining two circles around the origin at 120-degree intervals, placing them at [15,... | s=3;
r=30;
h=5;
linear_extrude(height=h) {
intersection_for(i = [1:s]) {
rotate([0,0,i * 360/s]) {
translate([r/2,0,0]) {
circle(r, $fn = 200);
}
}
}
} | glb/cad_11f52858d662.glb |
Create a keychain for "Cutting Edge Designs and Printing" by constructing a flat, elongated base with a pointed end. The base should be 7mm thick. On the left side, integrate a circular eyelet with a radius of 50mm (scaled down to fit the proportions) to serve as a hole for a keyring.
On the top surface of the base, a... | fudge = 0.1;
module poly_path3007(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-859.931583,99.366780],[-863.852262,98.720508],[-867.734744,97.919217],[-871.575022,96.966576],[-875.369093,95.866255],[-879.112951,94.621921],[-882.802592,93.237243],[-890.003201,90.061530],... | glb/cad_5f4da6048250.glb |
Create an interlocking SMD tray compartment. Start with a main outer cube that is 22mm wide, 22mm long, and 6mm high (calculated from a 20mm inner compartment width plus 1mm walls). Hollow out the center to create a storage cell that is 20mm wide and 20mm long, with a depth of 5mm, leaving a 1mm thick floor. To make th... | use <write/Write.scad>
$fn = 60;
q = 0.1;
part = "compartment";
rows = 2;
columns = 4;
lid_text = "Project Name";
comp_w = 20;
comp_z = 5;
wall = 1;
fit = 0.3;
lid_th = 2;
module interlock_p (h) {
linear_extrude (height = h)
polygon ([[0, 3], [0, -3], [1, -4], [2, -4], [2, 4], [1, 4]]);
}
module _interlo... | glb/cad_47bc77882b4e.glb |
Create a NES Cartridge Door consisting of a top panel and a front panel joined at a right angle. The top panel is a rectangular slab 147mm wide, 38mm deep, and 2mm thick. Attached to the front edge of this panel is a front panel 147mm wide, 31mm high, and 2mm thick.
At the junction where the top and front panels meet,... | WIDTH = 147;
TOP_DEPTH = 38;
FRONT_HEIGHT = 31;
THICKNESS = 2;
STRAIN_RELIEF_THICKNESS = 3.5;
STRAIN_RELIEF_WIDTH = 141;
STRAIN_RELIEF_OFFSET1 = 14;
STRAIN_RELIEF_OFFSET2 = 11;
PEG_STRAIN_RELIEF_DEPTH = 5.75;
PEG_LENGTH = 7;
PEG_DIAMETER = 4;
PEG_DIAMETER_TO_NOTCH = 3.4;
LATCH_THICKNESS = 4;
DETAIL = 50;
module extru... | glb/cad_d75227470cfc.glb |
Create a NES Cartridge Door consisting of a top panel and a front panel connected at a right angle. The top panel is a rectangular slab 147mm wide, 38mm deep, and 2mm thick. Attached to the front edge of the top panel is a front panel that is 147mm wide, 31mm high, and 2mm thick.
At the junction where the top and fron... | WIDTH = 147;
TOP_DEPTH = 38;
FRONT_HEIGHT = 31;
THICKNESS = 2;
STRAIN_RELIEF_THICKNESS = 3.5;
STRAIN_RELIEF_WIDTH = 141;
STRAIN_RELIEF_OFFSET1 = 14;
STRAIN_RELIEF_OFFSET2 = 11;
PEG_STRAIN_RELIEF_DEPTH = 5.75;
PEG_LENGTH = 7;
PEG_DIAMETER = 4;
PEG_DIAMETER_TO_NOTCH = 3.4;
LATCH_THICKNESS = 4;
DETAIL = 50;
module extru... | glb/cad_daf036339c3c.glb |
Create a NES Cartridge Door consisting of a top panel and a front panel joined at a right angle. The top panel is a rectangular slab 147mm wide, 39mm deep, and 2mm thick. Attached to the edge of the top panel is a front panel 147mm wide, 31mm high, and 2mm thick.
At the center of the front panel, create a cutout for a... | WIDTH = 147;
TOP_DEPTH = 38 + 1;
FRONT_HEIGHT = 31;
THICKNESS = 2;
STRAIN_RELIEF_THICKNESS = 3.5;
STRAIN_RELIEF_WIDTH = WIDTH - 8;
STRAIN_RELIEF_OFFSET1 = 14;
STRAIN_RELIEF_OFFSET2 = 11;
PEG_STRAIN_RELIEF_DEPTH = 5.75;
PEG_LENGTH = 7;
PEG_DIAMETER = 4;
PEG_DIAMETER_TO_NOTCH = 3.4;
LATCH_THICKNESS = 4;
DETAIL = 50;
mo... | glb/cad_6be278cbc9b3.glb |
Create a filament swatch tag by starting with a rectangular base measuring 48mm wide, 28mm deep, and 1mm thick. Apply a fillet or rounded edge of 2mm to the perimeter of the base.
On the top face of the tag, engrave the following text: "TNH Plastics" positioned at the top, "White" centered below it, and "PLA" in a la... | manufacturer="TNH Plastics";
color="White";
material="PLA";
print_temperture="230";
$fn=50;
module filamentSwatch(){
difference(){
minkowski() {
translate([18,8,0]) cylinder(r=2, h=1, center=true);
cube([48, 28, 1], center=true);
}
translate([-4,20,0]) cylinder(r=2, h=10, center=true);
if (len(manufac... | glb/cad_8727c5406e8b.glb |
Create an Expandable Flower consisting of six identical repeating units arranged in a circle. Each unit is composed of two interlocking parts: a base arc and a top arc, both 4mm thick.
The base arc is a curved segment with an outer radius of 15.5mm and an inner radius of 12.5mm. It features three circular holes of var... | $fs=.5;
Zgap=1;
Rgap=.35;
Rgap_bot=.5;
t = 4;
t2 = 1;
width = 7;
rmid = 12;
rout = rmid+width/2;
rin = rout-width;
bot_frac = 2.5;
mid_frac = 4;
assy=true;
if(assy==true)
{
for (alpha=[0:60:359])
{
rotate ([0,0,alpha]) arcpos(10);
rotate ([0,0,alpha]) arcpos2(10+t+Zgap);
}
}
i... | glb/cad_636955cef82f.glb |
Create a tablet microphone stand mount consisting of a central vertical assembly. Start by creating a main cylindrical base with a radius of 1.15mm and a height of 1.2mm. Centered within this base, remove a smaller cylindrical core with a radius of 0.9mm and a height of 0.4mm. Additionally, remove a small central verti... | difference() {
union() {
difference() {
translate([0,0,2.5]) cylinder(h=1.2,r=1.15,$fn=72,center=true);
union() {
translate([0,0,2.5]) cylinder(h=0.4,r=.9,$fn=72,center=true);
translate([1,0,2.5]) cube([2.8,2.8,.4],center=true);
translate([0,0,2.5]) cylinder(h=1.4,r=.2,$fn=72,center=true);
}
}... | glb/cad_f21aa76f2a39.glb |
Create a tablet microphone stand mount component by constructing a thin circular base with a radius of 2.05mm and a height of 0.16mm. Centered on this base, add a vertical cylinder with a radius of 0.55mm and a height of 3mm. Finally, carve a rectangular slot out of the center of the assembly, measuring 1.1mm in width,... | difference() {
union() {
translate([0,0,.08]) cylinder(h=.16,r=2.05,$fn=72,center=true);
translate([0,0,1.51]) cylinder(h=3,r=0.55,$fn=72,center=true);
}
translate([0,0,1.81]) cube([1.1,0.2,2.5],center=true);
} | glb/cad_9640db080a35.glb |
Create a tablet microphone stand mount by constructing a composite geometric shape. Start with a central cylinder that has a height of 3mm and a radius of 0.9mm, centered on the origin. Remove a smaller concentric cylinder from its center with a height of 2.6mm and a radius of 0.58mm. Add a rectangular block measuring ... | difference() {
union() {
difference() {
translate([0,0,1.5]) cylinder(h=3,r=.9,$fn=72,center=true);
translate([0,0,1.25]) cylinder(h=2.6,r=0.58,$fn=72,center=true);
}
translate([0,0,1.25]) cube([1.2,0.15,2.5],center=true);
translate([0,-.2,3.9]) cube([1.6,.4,1.8],center=true);
translate([0,-.2,4.8]) ro... | glb/cad_1a1596a413a5.glb |
Create a tablet microphone stand mount by starting with a central cylinder that has a height of 1.2mm and a radius of 0.9mm. Integrate a rectangular block measuring 1.5mm by 3.0mm with a height of 1.8mm, centered at coordinates [0.9, 0, 0.3]. Add a second cylinder with a radius of 1.2mm and a height of 5mm, rotated 90 ... | difference() {
union() {
cylinder(h=1.2,r=.9,$fn=72,center=true);
translate([.9,0,.3]) cube([1.5,3.0,1.8],center=true);
translate([.8,0,1.8]) rotate([90,0,0]) cylinder(h=5,r=1.2,$fn=72,center=true);
}
union() {
translate([0,0,0]) cube([2.6,2.6,0.425],center=true);
cylinder(h=1.4,r=.2,$fn=72,center=true);
... | glb/cad_43eb67377347.glb |
Create a tablet microphone stand mount consisting of five interlocking components. Start with a main holder: a rectangular tray measuring 25.2mm by 19.8mm with a wall thickness of 1.1mm and an internal cavity of 24mm by 18.6mm. This holder should feature a central circular cutout with a radius of 2.5mm and several smal... | width=18.6;
height=24;
thickness=1.1;
difference() {
union() {
difference() {
translate([-(height+1.2)/2+.15,-(width+1.2)/2+.3,0]) {
difference() {
translate([-.15,-.3,0]) cube([height+1.2,width+1.2,thickness+0.4]);
translate([0.45,0.3,0.4]) cube([height,width,thickness+0.4]);
}
}
union() {
translate([-10.5... | glb/cad_f43d2824d61e.glb |
Create a Bracelet VI by constructing a hollow, ring-shaped tube with a circular cross-section. The main body is formed by rotating a scaled circle with a radius of 15mm, centered 35mm from the origin, to create a torus-like shape. This tube must be hollowed out by removing a slightly larger version of the same rotated ... | module braceletTube() {
rotate_extrude(convexity = 10, $fn = 36)
translate([35, 0, 0])
scale([0.3,1,1]) circle(r = 15, $fn = 15);
}
module hollowBraceletTube() {
difference() {
braceletTube();
scale([1.07,1.07,0.9])braceletTube();
}
}
difference() {
intersection() {
hollowBraceletTube();
translate([0,0,-... | glb/cad_2cca50899f5a.glb |
Create a snap-on clamp for an 8mm smooth rod with a total height of 9mm. Start with a main cylinder that has an outer radius of 8.658mm and an inner radius of 4.658mm, creating a wall thickness of 4mm.
Cut a mounting gap into the cylinder to allow the rod to snap in; this gap should be 4mm wide. On the outer edge of ... | rod_dia=8;
gap_set=rod_dia/2;
fix_dia=3.5;
z_dim = 9;
wall =4;
pi=3.14159;
bcut=0.5;
bslot=0.5;
bfaktor=0.3;
bangle=5;
pr=1.5;
gap=gap_set;
ir=4.65801;
angle=asin(gap/2/ir) ;
tp_angle=(360-angle*2)/(360/45);
module t_cut(){
union(){
translate([ir+wall/2 +bcut/2,0,0]) rotate([0,0,90+bangle])translate([ir*bfa... | glb/cad_4217dc44040d.glb |
Create a Customizable Gimbal consisting of three concentric rings. Start with a center sphere of radius 6mm. For each subsequent ring, increase the outer radius by 6mm (the sum of a 5mm ring width and 1mm spacing).
The innermost ring is a solid sphere with a central cylindrical hole of radius 6mm removed. Each outer ... | ring_width=5;
ring_spacing=1;
ring_height=6;
number_of_rings=3;
center_radius=6;
Build_Plate_Type = 0;
Build_Plate_Manual_Width = 100;
Build_Plate_Manual_Length = 100;
mesh_resolution=70;
ring_height_step=.5;
pin_radius=2.45;
pin_cap_width=4;
pin_cap_gap=.45;
pin_hole_radius=3;
use <utils/build_plate.scad>
... | glb/cad_f211e49fbb95.glb |
Create a convex slotted bracelet by first constructing a hollow ring. The ring is formed by rotating a scaled circle with a radius of 15mm and a thickness ratio of 0.3, centered at a radius of 35mm from the origin. The wall thickness is created by subtracting a slightly smaller version of this rotated shape, scaled by ... | module braceletTube() {
rotate_extrude(convexity = 10, $fn = 36)
translate([35, 0, 0])
scale([0.3,1,1]) circle(r = 15, $fn = 15);
}
module hollowBraceletTube() {
difference() {
braceletTube();
scale([0.94,0.94,0.9])braceletTube();
}
}
difference() {
difference() {
hollowBraceletTube();
translate([0,0,-20... | glb/cad_c29269e98ef3.glb |
Create a Customizable Cuvette or Vial Rack. Start by creating a solid rectangular block with a base thickness of 1.75mm and a total height of 31.75mm (bottom thickness plus a hole depth of 30mm). The block should have rounded corners with a radius of 2.5mm.
Within this block, create a grid of 6 rows and 4 columns of c... | hole_shape=1;
hole_size=25;
hole_depth=30;
rows=6;
columns=4;
spacing=1.6;
bottom_thick=1.75;
skid_height=0.4;
skid_diameter=25;
wall_thickness=5;
material_holes_on=1;
material_hole_size=4;
angle=0;
$fa=1;
$fs=1;
angle2=(90-angle);
angled_pt1=cos(angle)*(hole_size*columns+spacing*(columns)+wall_thickness)... | glb/cad_08c5f5c5264d.glb |
Create a motorbike brake/clutch fluid reservoir switchbox. Start by constructing a hollow rectangular shell with an outer footprint of approximately 81mm by 41mm and a height of 22mm. The shell should have rounded corners and a hollowed-out center of 73mm by 35mm by 38mm. Add four small corner reinforcements, each cons... | left_right = -40;
fudge = 0.1;
module enforcement (h)
{
difference () {
translate ([-2.2,0,0]) rotate ([0,0,-45]) cube ([3,3,h]);
translate ([-5,-2.5,-0.1]) cube ([5,5,h+0.2]);
}
}
module poly_path2989(h)
{
scale([9.1/90, -9.1/90, 1]) union()
{
linear_extrude(height=h)
polygon([[408.102499,... | glb/cad_1cd3924bf936.glb |
Create a motorbike brake/clutch fluid reservoir switchbox. Start by constructing a hollow rectangular shell with an overall footprint of approximately 73mm by 35mm and a height of 28mm. The top surface should be slightly rounded.
Hollow out the interior of the box by removing a central block of 73mm by 35mm by 50mm, l... | left_right = -40;
fudge = 0.1;
module enforcement (h)
{
difference () {
translate ([-2.2,0,0]) rotate ([0,0,-45]) cube ([3,3,h]);
translate ([-5,-2.5,-0.1]) cube ([5,5,h+0.2]);
}
}
module poly_path2989(h)
{
scale([9.1/90, -9.1/90, 1]) union()
{
linear_extrude(height=h)
polygon([[408.102499,... | glb/cad_f727720a1eec.glb |
Create a convex plain bracelet by generating a hollowed torus with a non-circular, elliptical cross-section. Start by creating a solid ring formed by rotating a circle with a radius of 15mm around a central axis at a distance of 35mm. Scale this cross-sectional circle by 0.3 along the X-axis to create an oval profile. ... | module braceletTube() {
rotate_extrude(convexity = 10, $fn = 36)
translate([35, 0, 0])
scale([0.3,1,1]) circle(r = 15, $fn = 15);
}
module hollowBraceletTube() {
difference() {
braceletTube();
scale([0.94,0.94,0.9])braceletTube();
}
}
difference() {
difference() {
hollowBraceletTube();
translate([0,0,-20... | glb/cad_80d8cc474792.glb |
Create a hair spray holder consisting of a hollow cylindrical container with an attached mounting bracket. The main body is a cylinder with an outer diameter of 57mm and a height of 55mm. This cylinder is not a full circle; it is merged with a rectangular block measuring 35mm by 20mm by 55mm, extending from one side. T... | translate([25,40,0]) difference(){
union(){
cylinder(d=57,h=55,$fn=100);
translate([0,-10,0]) cube(size=[35,20,55]);
}
translate([0,0,3]) cylinder(d=54,h=100,$fn=100);
translate([32,-5.5,0]) union(){
cube(size=[3,11,7]);
translate([-3,0,0])... | glb/cad_13b18bd89e08.glb |
Create a Square Motor Support consisting of two mirrored L-shaped brackets joined to form a symmetric channel. Each bracket is composed of a vertical wall and a horizontal base, both 2.5mm thick. The vertical wall is a rectangle measuring 40mm in height and 20mm in width. Centered in this wall, create a circular hole w... | Height_support=40;
Thickness = 2.5;
Motor_center_hole_diameter=10;
Motor_mount_hole_diameter=2;
Motor_mount_hole_spacing=15;
Renforcement = "yes";
Base_slot=4;
H=Height_support / 1;
E=Thickness / 1;
D=Motor_center_hole_diameter/1;
d=Motor_mount_hole_diameter/1;
T=Base_slot/1;
M=Motor_mount_hole_spacing/1;
modul... | glb/cad_8b87a1ae5801.glb |
Create a set of shelf connectors called EasyShelves. Each connector is based on a central rectangular block with a depth of 50mm and a height of 24mm (calculated as the sum of 12mm wood thickness and two 6mm walls). The walls are 5mm thick.
For each piece, create a rectangular cutout to house a 12mm thick board. The c... | depth=50;
wood_thickness=12;
wall_thickness=5;
front_side_length=35;
foot_height = 38;
fillet_size = 0.5;
number_of_screws = 1;
screw_diameter = 4;
interior_screws = "no";
exterior_screws = "no";
part = "all";
hCube = wood_thickness+2*wall_thickness;
squareFeet=(min(front_side_length,depth))*2/3;
decal = 1... | glb/cad_5df671d85a74.glb |
Create a bracelet by starting with a sphere of 40mm radius. Carve out the center of this sphere using two cubes, each 80mm wide and 80mm deep, positioned symmetrically above and below the center to leave a central ring-shaped band with a thickness of 10mm. To refine the inner profile, remove a slightly smaller version ... | module triangle( x, y, s, h ) {
linear_extrude(height = h, center = true, convexity = 10, twist = 0)
polygon(points=[[-s/2,0],[s/2,0],[0,s*sqrt(3)/2]], paths=[[0,1,2]]);
}
radius = 40;
brac_h = 10;
w = 2;
tris = 30;
triw = radius/3;
difference() {
difference() {
sphere(r=radius);
translate([0,0,radius-brac_h])... | glb/cad_f6f02eb6f5ad.glb |
Create a 3D Fermat spiral by placing a series of connected cylinders along a specific mathematical path. Each cylinder must have a radius of 10mm and a height of 18mm. Position the cylinders such that their centers follow the Fermat spiral formula, where the distance from the origin is 10 times the square root of the a... | a = 10;
b = 100;
incrementBy = 10;
height = 18;
wallThickness = 20;
for(t=[0:incrementBy:1000])
hull(){
translate([a*sqrt(t)*cos(t),a*sqrt(t)*sin(t),0])
cylinder(r=wallThickness/2,h=height);
translate([a*sqrt(t+incrementBy)*cos(t+incrementBy),a*sqrt(t+incrementBy)*sin(t+incrementBy),0])
cylinder(r=wallThickness/2,h... | glb/cad_7b07177d6f97.glb |
Create a Sanguinololu MendelMax Box by starting with a rectangular base measuring 101mm by 51mm with a height of 4mm.
From this base, remove a large central rectangular section measuring 97mm by 47mm and 2mm deep, leaving a 2mm thick wall around the perimeter. Within this remaining wall, create four circular holes wi... | difference(){
union(){
translate(v=[4.25,4.25,2]){
cylinder(h=2,r=3);
}
translate(v=[96.75,4.25,2]){
cylinder(h=2,r=3);
}
translate(v=[4.25,46.75,2]){
cylinder(h=2,r=3);
}
translate(v=[96.75,46.75,2]){
cylinder(h=2,r=3);
}
translate(v=[61,-4,0]){
cube(size=[40,4,4]);
}
cube(size=[101,5... | glb/cad_e61a7a1bbd01.glb |
Create a Sanguinololu MendelMax Box, which is a rectangular electronics enclosure with a base measuring 104mm by 54mm and a height of 33mm. The walls should have a thickness of approximately 3mm, with the corners slightly rounded.
The interior of the box is hollowed out, leaving a floor and walls. On the bottom face,... | $fn=50;
rotate(a=[180,0,0]){
translate(v=[0,0,-3]){
difference(){
minkowski(){
union(){
translate(v=[60,-5,3]){
cube(size=[42.5,5.5,33]);
}
translate(v=[-1.5,-1.5,3]){
cube(size=[104,54,33]);
}
}
cylinder(r=1,h=1);
}
translate(v=[4.25,4.25,16]){
cylinder(h=21,r=3,$fn=50);
}
... | glb/cad_2532875bc4db.glb |
Create a Crock Pot Knob by revolving a specific profile around a central axis to create a symmetrical, tiered circular object. The base is a wide, truncated cone with an outer diameter of 50mm and a height of 10mm, tapering inward to an inner diameter of 30mm. Atop this base, center a cylindrical trunk with a diameter ... | trunk_diameter = 19;
trunk_height = 9;
internal_pillar_diameter = 10.5;
internal_pillar_height = 3;
screw_od = 5.5;
screw_depth = -5;
base_outer_diameter = 50;
base_inner_diameter = 30;
base_height = 10;
smooth = 300;
main();
module main()
{
difference()
{
base();
screw_shaft();
attach_shaft();
}
}
module a... | glb/cad_edd009472406.glb |
Create a salt shaker consisting of a hollow, pear-shaped body and a threaded neck. The main body is a revolved profile that starts with a flat base of radius 15mm and curves upward and inward, reaching a maximum outer radius of approximately 25mm before tapering back in to form a neck. The total height of the main body... | module thread(r,h,tw=250,outer=false)
assign($fn=100)
{
linear_extrude(height=h,twist=-tw,convexity=10)
for(a=[0:360/2:359])
rotate([0,0,a])
if(outer)
{
difference()
{
translate([0,-r])
square(2*r);
assign(offset=.8)
translate([r*(1-1/offset),0])
circle(r=1/offset*r);
}
}
else
{
assign(o... | glb/cad_1c830e9ee1ea.glb |
Create a salt shaker lid by constructing a cylindrical cap with an internal threaded cavity. The main body is a cylinder with an outer diameter of 21mm and a total height of 12mm.
The interior of the cylinder is hollowed out to create a wall thickness of 2mm. Within this hollow space, starting from a height of 2mm fr... | module thread(r,h,tw=250,outer=false)
assign($fn=100)
{
linear_extrude(height=h,twist=-tw,convexity=10)
for(a=[0:360/2:359])
rotate([0,0,a])
if(outer)
{
difference()
{
translate([0,-r])
square(2*r);
assign(offset=.8)
translate([r*(1-1/offset),0])
circle(r=1/offset*r);
}
}
else
{
assign(o... | glb/cad_ca9d1903c68d.glb |
Create a salt shaker base by starting with a main cylinder 6.5mm high with a radius of 8.25mm. Inside this main body, remove a smaller concentric cylinder from the bottom that is 4mm high with a radius of 6.5mm. Above this void, create a twisted internal column starting at a height of 0.5mm with a radius of 8.7mm and a... | module thread(r,h,tw=250,outer=false)
assign($fn=100)
{
linear_extrude(height=h,twist=-tw,convexity=10)
for(a=[0:360/2:359])
rotate([0,0,a])
if(outer)
{
difference()
{
translate([0,-r])
square(2*r);
assign(offset=.8)
translate([r*(1-1/offset),0])
circle(r=1/offset*r);
}
}
else
{
assign(o... | glb/cad_826aafa1ec3d.glb |
Create a uIEC enclosure consisting of a main box and a matching lid. The main box is a rectangular shell with an outer footprint of 102.8mm by 47.8mm and a height of 13.9mm, with a wall thickness of 1.4mm.
The box features a large rectangular cutout on one short end measuring 31.5mm wide by 8.8mm high to accommodate ... | wall_thickness=1.4;
length=100;
width=45;
height=12.5;
cart_port_h=8.8;
cart_port_w=31.5;
cart_port_t=10;
notch_w=3;
notch_d=5;
wall_height=height+wall_thickness;
total_width=width+(2 * wall_thickness);
total_length=length+(2 * wall_thickness);
notch_pos1=wall_thickness+1;
notch_pos2=(total_length-cart_port_t)/2;
notch... | glb/cad_ccda45cb8aa6.glb |
Create a Bliptronic 5000 replacement knob by stacking four concentric cylindrical sections vertically. Start with a base cylinder 14mm in diameter and 1.6mm high. On top of this, add a tapered section that transitions from a 14mm diameter at the bottom to a 12.5mm diameter at the top over a height of 1.2mm. Above that,... | $fn=50;
stage1R = 7;
stage1H = 1.6;
stage2R = 6.25;
stage2H = 1.2;
stage3R = 6.25;
stage3H = 9;
stage4R = 5.25;
stage4H = 1;
holeR = 6.25/2;
holeH = 10;
difference() {
union() {
cylinder(r=stage1R, h=stage1H);
translate([0,0,stage1H-0.01]) cylinder(r1=stage1R, r2=stage2R, h=stage2H);
translate([0,0,stage1H... | glb/cad_8a4b2352eba0.glb |
Create a Parametric X-Y Platform consisting of a central tool platform, two perpendicular axes, and a rectangular outer frame.
First, construct the tool platform as a square block 80mm wide, 80mm long, and 10mm thick. Remove two perpendicular cylindrical holes through the center, each with a diameter of 12mm, to serve... | $fn=8;
_q_ = 1;
_x_ = 0;
_y_ = 1;
_z_ = 2;
_w_ = 0;
_l_ = 1;
_h_ = 2;
_tight_gap_ = 0.2;
_loose_gap_ = 0.4;
min_wall_thickness = 4;
work_area = [300,300];
channel_height = 10;
channel_depth = channel_height;
rod_dia = 8;
belt_width = 5;
pulley_outer_dia = 12;
tool_dia = 24;
tool_platform_size = 80;
tool... | glb/cad_b62fa293c188.glb |
Create a seed starter tray for an AeroGarden 3. Start by creating a main cylindrical disk with a diameter of 214mm and a total height of 12mm. The disk should have a hollowed-out center, leaving a circular outer frame with a wall thickness of 2mm.
Within this circular area, carve out a grid of square holes to accommod... | border_size = 0;
indention = 1;
shape= 128;
diameter = 214 - border_size * 2;
depth = 8;
frame_thickness = 2;
mesh_space=32;
cube_size = 36;
mesh_height=depth;
deck_height = 4;
printer_layer_height = 0.25;
printer_skin_size = 0.6;
printer_extrusion_width = 2.0;
smooth = shape;
difference() {
cus... | glb/cad_020fc235a9be.glb |
Create a seed starter tray for an AeroGarden 3. Start by creating a main circular disk with a diameter of 214mm and a total height of 5mm.
Within this disk, carve out a 4x4 grid of square holes to accommodate rockwool cubes. Each square opening should be 32mm wide and 32mm long. These holes are arranged within a larg... | border_size = 0;
indention = 1;
shape= 128;
diameter = 214 - border_size * 2;
depth = 5;
frame_thickness = 2;
mesh_space=32;
cube_size = 36;
mesh_height=depth;
deck_height = 2;
printer_layer_height = 0.25;
printer_skin_size = 0.6;
printer_extrusion_width = 2.0;
smooth = shape;
difference() {
cus... | glb/cad_3e488989dc4d.glb |
Create a RepRapPro Mendel Dual Fan Mount and Fan Duct. Start by creating a conical funnel with a height of 66mm, where the base radius is 20.625mm and the top radius is 15.8mm.
At the base of the funnel, construct a square mounting frame with a side length of 41.25mm. Within this frame, place four screw holes with a ... | $fs=0.5;
$fa=5;
module fan_mount(panel_thickness, mounting_hole_distance) {
fan_dia = 41.25;
screw_dia = 3;
nut_dia = 5.5;
nut_thickness = 2.5;
module nuttrap(nutsize, length) {
cylinder(r = nutsize / cos(180 / 6) / 2 + 0.05, length, $fn=6);
}
union() {
difference() {
union() {
hull() {
for (... | glb/cad_afa2671a036b.glb |
Create a 608 bearing to M4 threaded rod adapter. Start by constructing a base cylinder with a diameter of 12mm and a height of 2mm. Centered on top of this base, add a second cylinder with a diameter of 8mm and a height of 10mm. Finally, bore a 3.8mm diameter hole vertically through the center of both cylinders, extend... | $fn = 32;
difference() {
union() {
cylinder(h=10, d =8);
cylinder(h=2, d =12 );
}
cylinder(h=30, d=3.8, center = true) ;
} | glb/cad_b505e32c543a.glb |
Create a mount for a replica E3D print head. Start with a rectangular base plate measuring 42mm wide by 40mm deep by 3mm thick. From this base, extend two vertical walls upward to a total height of 27mm. The first wall is located at the left edge and is 2.2mm thick; the second wall is located at the right edge and is 4... | $fs=0.8;
$fa=4;
%translate([0,0,-0.5])cube([200,200,1],center=true);
gap = 38;
screw_hole = 1.6;
bottomU = 2.2;
bottomU_slot = 15.5;
topU = 4.8;
topU_slot = 12.3;
length_y = 40;
width_x = gap+topU+bottomU;
height_z = 27;
fan_hole_centres = 32;
module fan_screw_holes(centres = 32, holeR = 1.6, depth = 4) {
for(xp... | glb/cad_22958aa94a8b.glb |
Create a ruggedized GoPro mount starting with a solid rectangular block 50mm long, 20mm wide, and 35mm high (including a 5mm base and a 30mm main body). From the top of the block, remove a central rectangular section 28.5mm long, 22mm wide, and 21mm deep to create the main camera cavity.
Within the remaining structure... | len = 50;
width = 20;
h = 30;
buffer = 1;
main_indent = 15;
mount_diam = 16;
hole_width = 3.2;
hole_len = 16;
base_height = 5;
module mount_hole()
{
translate([hole_len / 2, 0, 3 * hole_len / 2]) { rotate([0, 90, 90])
{
union()
{
translate([hole_len, hole_len / 2, 0]) { cylinder(r=hole_len / 2, h=hole_width... | glb/cad_8663f1d8ce3e.glb |
Create a flexible beam coupling by starting with a main body shaped as a 12-sided polygonal prism with a height of 27.5mm and a diameter of 19mm. Bore a central hole through the entire length of the prism. Within this central void, create two distinct internal sections: one with a diameter of 4mm extending through 60% ... | include <configuration.scad>
coupling_height=27.5;
coupling_dia=19;
module coupling()
{
difference()
{
cylinder(h=coupling_height, r=coupling_dia/2, $fn=12);
translate([0,0,-coupling_hieght*0.1]) polyhole(coupling_height*0.6, m4_diameter);
translate([0,0,coupling_height*0.5]) polyhole(coupling_height*0.6, ... | glb/cad_b1dd348507a2.glb |
Create a BirdSphere birdfeeder by constructing a hollow spherical shell with an outer diameter of 150mm and an inner diameter of 146mm. Remove the bottom section of the sphere using a cube that spans 160mm in width and depth and 140mm in height, centered at the base, to create an open bottom. Cut a rectangular opening ... | $fn=40;
{
difference()
{
union()
{
difference()
{
sphere(d=150);
sphere(d=146);
translate([-80,-80,-100])
cube([160,160,140]);
}
color("red")
translate([0,0,80])
{
rotate([180,0,0])
{
difference()
{
union()
{
sphere(d=150);
translate([0,79,30])
rotate(... | glb/cad_0cad7ebe006d.glb |
Create a Brushed Sparky landing gear and motor cup. Start by creating a main body that is a hull of a circle with a 5mm radius centered at (-7, 0, -10) and a scaled, extruded polygon profile.
Within this body, create a central void for the motor. This void is formed by the hull of a cylinder with a 5.3mm radius (MOUN... | MOUNT_HOLE = 10.6;
MOTOR_DIAM = 8.7;
MOUNT_DEPTH=10;
MOUNT_SPACE = 15;
MOUNT_DIAM = 2.5;
MOUNT_PIN_DIAM = 1.9;
TILT = 0;
ROT = 12;
PINS = false;
module poly_path14(h)
{
translate([-2,-0.5])
rotate([0,0,-12])
scale([0.75,0.75,1])
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
... | glb/cad_25110cd6ef67.glb |
Create a parametric bracket with a thickness of 5mm. The structure is defined by five circular mounting points centered at the coordinates [3.4, 30.05], [-26, -21], [33.5, -20.5], [4.5, -10], and [15, 19.2]. Each mounting point consists of a cylinder with a radius of 4mm and a height of 5mm.
Connect these mounting poi... | module bracket(w,h,r,maxL,holeCount,holes){
next=0;
angle=0;
difference(){
union(){
for(i=[0:holeCount-1])
for(n=[1:holeCount-1]){
assign(next=(i+n)%holeCount)
assign(angle=atan2(holes[next][1]-holes[i][1],holes[next][0]-holes[i][0]))
assign(length=sqrt(pow(holes[next][0]-holes[i][0],2)+pow(holes[next... | glb/cad_26f4e1d0cd9c.glb |
Create a Table Headset Hanger with a total thickness of 8mm. Start by constructing a C-shaped sprung clamp designed to grip a table edge. The clamp consists of two curved arms made of 10mm diameter cylinders. The first arm curves 60 degrees with a radius of 20mm, and the second arm curves 145 degrees with a radius of 1... | d = 8;
c = 18.5;
tl = 40;
t = 10;
difference() {
translate([tl+10,-20,0]) cylinder(h=d,d=24);
translate([tl+10,-20,-1]) cylinder(h=d+2,d=20);
translate([tl+10,-23,-1]) cube([20,20,d+2]);
}
hull() {
cylinder(h=d,d=t);
translate([tl,0,0]) cylinder(h=d,d=t);
}
hull() {
translate([tl,0,0]) cylinder(h=d,d=t);
tra... | glb/cad_38dddcd422fb.glb |
Create a Prusa Mendel Bolt-on Filament Guide. Start with a central rectangular base measuring 30mm wide, 1.5mm high, and 10mm deep. In the center of this base, create a horizontal cylindrical hole with a radius of 1.6mm and a length of 15mm.
From the center of the base, extend two symmetrical arms. Each arm begins wit... | union() {
translate(v=[29.25,0,0]) {
rotate([0,0,50]) {
union() {
translate([-4,5,0]) {cube([8,36,8]);}
difference() {
cylinder(h=8,r=8);
translate([0,0,-1]) {
cylinder(h=10,r=4.15);
}
}
}
}
}
translate([-4,20,0]) {
cube([8,48.5,8]);
}
translate(v=[-29.25,0,0])
rota... | glb/cad_3b383583b4c6.glb |
Create a mounting block for a NEMA 17 stepper motor. Start with a main rectangular body 74mm wide, 45mm deep, and 23mm high. Add a smaller rectangular section to the front that is 74mm wide, 5mm deep, and 18mm high. Along the top edge of the main body, add a semi-cylindrical ridge with a radius of 5mm running the full ... | include <hex_nut.scad>
stepperHeight = 1;
difference() {
union() {
translate([-37,0,0])
cube([74,45,23]);
translate([-37,-5,0])
cube([74,5,18]);
translate([-37,0,18])
rotate([0,90,0])
cylinder(r=5,h=74, $fn=30);
}
translate([0,25-0.01,29.69+stepperHeight])
rotate([0,45,0])
cube([42,... | glb/cad_1955d1d1a3d2.glb |
Create a heat isolator box with outer dimensions of 57mm x 57mm x 68mm and a uniform wall thickness of 3mm. The box should be hollow and open at the bottom. On the top face, center a circular hole with a diameter of 30mm that penetrates through the wall. On two opposite vertical sides, create rectangular slots that are... | $fn=180;
inside_z = 65;
inside_x = 54;
inside_y = 54;
slot_height = 39;
slot_width = 4;
wall_thickness = 3;
hole_diameter = 30;
module basic_box(x, y, z, wall_thickness) {
difference() {
cube(size = [x+ wall_thickness, y + wall_thickness, z + wall_thickness], center = true);
cube(size = [x, y, z], center = true)... | glb/cad_25fcdef08a5c.glb |
Create a circular array of small cubes to form a filter holder. Start by creating a base circular disc with a radius of 70mm and a height of 2mm.
Within this disc, arrange a series of 3mm x 3mm x 3mm cubes in a grid pattern. The cubes should be positioned such that their centers fall within a circular boundary with a... | method="complete";
radius=50;
spacing=5;
circular_array(method=method,r=radius,spacing=spacing) cube([3,3,3]);
module circular_array(r=50,spacing=5,method="complete",height=10)
{
echo("Circular array:");
echo("method: ",method);
echo("radius: ",r);
echo("spacing between item centres: ",spacing);
if(method=... | glb/cad_9e4394cfe21a.glb |
Create an Egg Painter tool consisting of two identical rod assemblies. For each assembly, create a main vertical cylinder with a height of 60mm and a radius of 3.9mm. At the base of this cylinder, add a wider circular flange with a radius of 8mm and a height of 5mm. Drill a continuous central hole with a radius of 1.5m... | $fn=60;
rods();
translate([0,20,0]) rods();
module rods(){
difference(){
union(){
translate([0,0,0]) cylinder(h=60,r=3.9);
translate([0,0,0]) cylinder(h=5,r=8);
}
translate([0,0,0]) cylinder(h=65,r=1.5);
}
difference(){
union(){
translate([30,0,0]) cylinder(h=5,r=8);
translate([30,0,0]) c... | glb/cad_8c9bc2a1cfab.glb |
Create an Egg Painter holder by starting with a base shape formed from the convex hull of a 130mm by 60mm by 5mm rectangular slab and two vertical rectangular blocks measuring 10mm by 20mm by 50mm positioned at each end of the slab's long axis. From this solid, remove a large semi-cylindrical void with a radius of 60mm... | $fn=60;
holder();
module holder(){
difference(){
hull(){
cube([130,60,5]);
translate([0,20,0]) cube([10,20,50]);
translate([120,20,0]) cube([10,20,50]);
}
translate([65,60,64]) rotate([90,0,0]) cylinder(h=66,r=60);
translate([-1,103,50]) rotate([0,90,0]) cylinder(h=132,r=65);
translate([-1,-103+60... | glb/cad_4ad21c0ca114.glb |
Create a parametric car cupholder insert with a total height of 66mm. Start by constructing the main outer body as a tapered cylinder with a top radius of 46.5mm and a bottom radius of 42mm. The walls should have a thickness of 9mm, but the bottom base must be a solid disc with a thickness of 2mm.
Inside this outer sh... | include </home/smiller/Dropbox/MakerbotProjects/Library/MCAD/shapes.scad>
print="model";
scale=1;
partnum="b";
cc_height=66;
cc_upper_radius=46.5;
cc_lower_radius=42;
cc_thickness=9;
cc_min_thickness=2;
cc_bottom_thickness=2;
cc_slope_start=50;
cc_slope_height=30;
cc_bulge_upper_width=62;
cc_bulge_lower_width=50... | glb/cad_19d2b85af0a0.glb |
Create a Kossel mini strain relief for wires and bowden tubes. Start with a central cylindrical base 32mm in diameter and 5mm high. Subtract a concentric hole 18mm in diameter through the center.
Add a rectangular block 10mm wide, 12mm deep, and 5mm high, centered on the base. From this assembly, remove two large rec... | width = 5;
heigth = 5;
finish = 36;
cut_lgth = 20;
clamp=0;
module wire_mount()
{
difference()
{
union()
{
translate([0,0,0]) cylinder(d=32,h=heigth,center=true,$fn=finish);
translate([-16,0,0]) rotate([0,0,0]) cube([10,12,heigth] ,center=true);
}
cy... | glb/cad_c6e92f4b72db.glb |
Create a Reuleaux Tetrahedron by finding the common intersection of four spheres, each with a radius of 24mm. Position the first two spheres so their centers are located at [12, 0, 0] and [-12, 0, 0]. Place the third sphere center at [0, 12*sqrt(3), 0], and the fourth sphere center at [0, 12/sqrt(3), 12*sqrt(3)]. The f... | r = 24;
res = 100;
intersection() {
#translate([r/2,0,0]) {
sphere(r=r, $fn=res, center=true);
}
#translate([-(r/2),0,0]) {
sphere(r=r, $fn=res, center=true);
}
#translate([0,(r/2)*sqrt(3),0]) {
sphere(r=r, $fn=res, center=true);
}
#translate([0,(r/2)/sqrt(3),(r/2)*sqrt(3)]) {
sphere(r=r, $fn=res, cente... | glb/cad_8a829be3a55a.glb |
Create a modification tube for a QU-BD extruder by constructing a wide, flat base and a central vertical column with a hollow core. Start with a cylinder 16mm in diameter and 2mm in height, centered on the origin with a 40-facet resolution. On top of this base, add a smaller vertical cylinder with a 6mm diameter and a ... | difference(){
union(){
cylinder(d = 16, h =2,center = true,$fn = 40);
translate([0,0,1.5]){
cylinder(r = 3, h = 5, center = true, $fn = 30);}
}
cylinder(d = 3, h = 50, center = true, $fn = 30);
} | glb/cad_3838359060a8.glb |
Create an Apple Lightning Connector to HDMI Rigidizer consisting of a flat rectangular base with two raised C-shaped clips at either end.
First, create a rectangular base measuring 100mm in length, 10mm in width, and 2mm in height.
At the left end of the base, construct a C-shaped clip. This clip is formed by a blo... | module applerectangles(length, width, height){
union(){
cube([length,width-height,height]);
translate([0,0,height/2.]){
rotate(a = 90, v = [0,1,0])
{
cylinder(h = length, d =height, $fn = 30);
}
}
translate([0,width-height,height/2.]){
rotate(a = 90, v = [0,1,0])
{
cylinder(h = length, d =height, $fn = 30);
}
}
}
}
... | glb/cad_2fd88a835e7e.glb |
Create a rectangular mounting plate with rounded corners, measuring 24mm in length, 24mm in width, and 2.5mm in thickness. The corners should have a radius of 2mm.
Through the center of the plate, create a series of vertical holes with a diameter of 4.15mm. These holes must be 16-sided prisms. Position the holes in p... | thickness = 2.5;
length = 24;
holeDia = 4.15;
width = 24;
module rounded_box(l,w,h,r_edge){
cube(size=[l-2*r_edge,w-2*r_edge,h ],center=true);
for (x = [l/2-r_edge,-(l/2-r_edge) ]) {
for (y = [(w/2-r_edge),-(w/2-r_edge)]) {
translate([x,y,0]) cylinder(r1=r_edge,r2=r_edge,h=h,center=true,$fn=40);
}
}
translate... | glb/cad_14a68a742dc5.glb |
Create a cable tidy by extruding a specific 2D polygon to a height of 5mm. To define the polygon, start at a base point and trace a path consisting of a sequence of straight lines and right-angle turns. Move forward 15mm, turn left 90 degrees, move forward 10mm, turn left 90 degrees, move forward 18.5mm, turn right 90 ... | function turtle_path(steps,pos=[0,0],dir=0,i=0) =
i <len(steps)
? let(step = steps[i], command=step[0])
command=="F"
? let (distance = step[1])
let (newpos = pos + distance* [cos(dir), sin(dir)])
concat([pos],turtle_path(steps,newpos,dir,i+1))
: command=="L"
... | glb/cad_42c740ea22e9.glb |
Create a cable tidy consisting of two joined components, both with a thickness of 5mm. First, create a flat base bracket by extruding a 2D polygon to a height of 5mm. This polygon is defined by a sequence of movements: move forward 15mm, turn left 90 degrees, move forward 10mm, turn left 90 degrees, move forward 18.5mm... | function turtle_path(steps,pos=[0,0],dir=0,i=0) =
i <len(steps)
? let(step = steps[i],
command = step[0] != undef ? step[0] : "F",
p = step[0] == undef ? step : step[1])
command=="L"
? turtle_path(steps,pos,dir+p,i+1)
: command=="R"
? turtle_... | glb/cad_8c0de580230a.glb |
Create a Vertical Blind Mount designed to clip around a rectangular aluminum extrusion. Start with a wall plate that is 6mm thick, 65.5mm high, and 12mm wide. From this plate, extend an arm 45mm away from the wall.
At the end of this arm, construct a C-shaped clip to hold the extrusion. The interior cavity of the cli... | $fs=1;
s=0.01;
screwD=3+2;
screwD2=3;
wallPlateH=65+screwD/2;
wallPlateW=12;
wallPlateT=6;
armExtend=45;
armUpOffset=20;
extrW=39;
extrH=32.7;
extrT=4;
extrAdjust=0.5;
extrHoleInset=5;
holeD=15;
difference() {
union() {
cube([wallPlateT,wallPlateH,wallPlateW]);
translate([s,armUpOffset,0])
3dtri_draw(... | glb/cad_837c20650eb8.glb |
Create a Ball Joint Test model by combining two mirrored geometric components. First, create a four-sided pyramid-like shape by defining a cylinder with a height of 20mm, a base radius of 20mm, and a top radius of approximately 8.196mm, using only 4 facets for the circular profiles. Rotate this shape 45 degrees around ... | union()
{
rotate([0,0,45])
{
difference()
{
cylinder(h=20,r1=20,r2=sqrt(3*3*2)+3, $fn=4);
translate([0,0,(25)/2])
cube([50,2,25],center = true);
translate([0,9,5])
rotate(a=[0,90,0])
cylinder(h=50, r = 6/2 ,center = true);
}
}
mirror([0,0,1])
difference()
{
rotate([0,0,45])
cylinder(h=... | glb/cad_845e7dcaa625.glb |
Create a Ball Joint Test model by combining two mirrored geometric components. First, construct a four-sided pyramidal frustum with a height of 20mm. The base should be a square rotated 45 degrees, with a radius of 20mm at the bottom and a radius of approximately 7.2mm at the top. From the center of this frustum, remov... | union()
{
difference()
{
rotate([0,0,45])
cylinder(h=20,r1=20,r2=sqrt(3*3*2)+3, $fn=4);
translate([0,0,20-(6+1)/2])
cube([6,6,6+1],center = true);
}
mirror([0,0,1])
difference()
{
rotate([0,0,45])
cylinder(h=20,r1=20,r2=sqrt(3*3*2)+3, $fn=4);
translate([0,0,20-(6+1)/2])
cube([6,6,6+1],center = tr... | glb/cad_90eb60c08c34.glb |
Create a Ball Joint Test model by combining two identical four-sided pyramidal shapes joined at their bases. First, construct a four-sided pyramid (a cylinder with 4 facets) that has a base radius of 20mm and tapers to a top radius of approximately 7.35mm over a height of 20mm. Rotate this pyramid 45 degrees around its... | union()
{
difference()
{
rotate([0,0,45])
cylinder(h=20,r1=20,r2=sqrt(3*3*2)+3, $fn=4);
translate([0,0,20-(6+1)/2])
cube([6,6,6+1],center = true);
}
mirror([0,0,1])
rotate([0,0,45])
cylinder(h=20,r1=20,r2=sqrt(3*3*2)+3, $fn=4);
} | glb/cad_6bb469a1911e.glb |
Create a Ball In a Box model by designing a hollowed cube containing a loose sphere. First, create a solid cube with a side length of 16mm, centered so that its center point is at the origin of the X and Y axes but shifted 8mm upward on the Z axis. Remove a spherical void from the center of this cube with a diameter of... | $fn=100;
ball_size = 8.5;
cube_size = 16;
inner_void_size = 10.5;
module hollowed_square(){
translate([0,0,cube_size/2]){
difference(){
cube(size=cube_size, center=true);
sphere(inner_void_size);
}
}
}
module inner_ball(){
translate([0,0,ball_size]){
sphe... | glb/cad_e8a36f22a940.glb |
Create two identical V-rail solid wheels. For each wheel, start by creating a central core that is a combination of two cylinders: a wide, short cylinder with a radius of 12mm and a height of 5mm, and a narrower, taller cylinder with a radius of 9mm and a height of 11mm, blended together using a convex hull. Remove a c... | $fn=190;
difference() {
union(){
difference() {
hull(){
cylinder(h = 5, r=12,center=true);
cylinder(h = 11, r=9,center=true);
}
cylinder(h = 12, r=8, center=true);
}
difference() {
cylinder(h = 1, r=9, center=true);
cylinder(h = 1, r=7.5, center=true);
}
}
translate([0,0,-5])
{cube ([30,30,6],center=true);
}
}
transl... | glb/cad_dd1b5cf76bf6.glb |
Create a wall bracket for a tablet with a total width of 16mm and a material thickness of 3mm. Start by forming a flat back section that extends 30mm in height. From the top of this back section, extend the material forward to create a clamping area with an internal gap of 12mm. The front of this clamp should feature a... | ClampSize=12;
Thickness=3;
RimHeight=7;
Corner=3;
BracketWidth=16;
TailHeight=30;
MakeBracket();
module MakeBracket(){
rotate([0,0,-90]) difference(){
linear_extrude(height = BracketWidth)
polygon([[0,0],[0,TailHeight+Thickness],[Thickness,TailHeight+Thickness],[Thickness,Thickness+Corner],[Thickness+Corner,Thic... | glb/cad_e6147ab6e11f.glb |
Create a Maker Logo emblem by combining several geometric primitives. Start by placing three cylinders, each with a radius of 1mm and a height of 1mm, centered at the following coordinates on the XY plane: (0, -4), (4, 0), and (-4, 0). Add two rectangular blocks of 2mm by 7mm by 1mm, positioned at (-5, 0, 0) and (3, 0,... | module makerLogo() {
translate([0,-4,0])union() {
cylinder(1,1,1,$fn=36);
translate([4,0,0])cylinder(1,1,1,$fn=36);
translate([-4,0,0])cylinder(1,1,1,$fn=36);
difference() {
union() {
translate([3,7,0])cylinder(1,2,2,$fn=36);
translate([-3,7,0])cylinder(1,2,2,$fn=36);
}
translate([-3,5,-0.1])c... | glb/cad_f051629eebe6.glb |
Create a tin whistle by constructing a hollow tube with an outer radius of 8mm and an inner radius of 6.5mm, extending to a total length of 272mm. At the mouthpiece end, create a windway by removing a section of the wall to form a rectangular opening 4mm wide and 8mm deep, and carve a wedge-shaped channel into the inte... | rotate([60,0,0])
{
difference(){
rotate([0,90,0]) difference()
{cylinder(r=8,h=272,$fn=60);
cylinder(r=6.5,h=275,$fn=60);
}
translate([0,-4,0]) cube([4,8,15]);
translate([114+4,0,0]) cylinder(r=2.5,h=15,$fn=60);
translate([134+4,0,0]) cylinder(r=3,h=15,$fn=60);
translate([154+4,0,0]) cylinder(r=3,h=15,$fn=60);
t... | glb/cad_476758ce6bda.glb |
Create a VoCore case consisting of a main body and a separate lid. The main body is a rounded cube with outer dimensions of 32.2mm x 32.2mm x 22.8mm and a wall thickness of 2.2mm. Hollow out the center to create an inner cavity of 28.9mm x 28.9mm x 20.5mm, starting from a height of 2.2mm from the base.
In the interior... | vocoreSizeX = 25.6;
vocoreSizeY = 25.6;
vocoreSizeZ = 19.3;
wallThickness = 2.2;
tolerance = 3.3;
boxOuterSizeX = vocoreSizeX + wallThickness + tolerance;
boxOuterSizeY = vocoreSizeY + wallThickness + tolerance;
boxOuterSizeZ = vocoreSizeZ + wallThickness + tolerance;
boxInnerSizeX = vocoreSizeX + tolerance;
boxInne... | glb/cad_deb40feffdcf.glb |
Create a MacBook Air vertical stand. Start by constructing the main body as a composite shape: a base block 130mm wide, 65mm deep, and 5mm high, with two vertical side walls each 10mm wide and 45mm high, positioned at the outer edges. The top edges of the side walls and the front of the base should be rounded with a 5m... | $fn=60;
difference(){
holder();
translate([65,30,0]) scale([0.4,0.4,1]) linear_extrude(height=10) apple_logo(0);
}
module holder(){
difference(){
union(){
color("red") hull(){
translate([0,-2.5,0]) cube([130,65,5]);
translate([0,2,5]) rotate([0,90,0]) cylinder(h=130,r=5);
translate([0,58,5]) rotate([0,90,0]) ... | glb/cad_7a6d6861d211.glb |
Create a Digital Indicator Mount consisting of a main cylindrical sleeve and an attached mounting plate. Start by creating a cylinder with an outer radius of 31.5mm, a height of 26mm, and centered on the origin. Hollow out this cylinder by removing a concentric inner cylinder with a radius of 28.5mm and a height of 26.... | module gauge() {
translate(v = [0, 0, 0])
color([0.5, 0.5, 0.5])
rotate(a = [90, 0, 0])
cylinder(r = 28.5, h = 26.25, center = true);
color([0.75, 0.75, 0.75])
translate(v = [0, 5, -25])
rotate(a = [0, 0, 0])
cylinder(r = 2, h = 120, center = true);
color([0.75, 0.75, 0.75])
translate(v = [0, 5, -10])
r... | glb/cad_25156f5ae073.glb |
Create a Roowifi cover for an iRobot Roomba 650. Start by creating a main circular disk with a height of 4mm and a radius of 148.5mm. Hollow out the center by removing a cylinder with a radius of 76mm and a height of 10mm, starting from a height of 1.5mm.
To create the outer profile, remove a cylinder with a radius of... | use<write.scad>
$fn=100;
$aussenhi=4;
$umfang=297;
form_mit_rand();
module form_mit_rand() {
difference() {
form();
randdiff();
}
rotate([0,0,35.5]) translate([($umfang-5)/2,-2.5,0]) halter2();
rotate([0,0,180-35.5]) translate([($umfang-5)/2,-2.5,0]) halter2();
rotate([0,0,180+38.3]) translate([($... | glb/cad_eaa460672e2a.glb |
Create a Roowifi cover for an iRobot Roomba 650 by constructing a rectangular box with an open top. Start with a solid base block measuring 62mm in length, 45mm in width, and 1mm in height. On top of this base, add a rectangular wall structure that is 59mm long, 42mm wide, and 13mm high. To create the interior cavity, ... | $hi=13;
rotate([180,0,0]) difference() {
obj();
diff();
}
module obj() {
cube([59,42,$hi]);
translate([-1.5,-1.5,0]) cube([62,45,1]);
}
module diff() {
translate([1,1,-1]) cube([57,40,$hi]);
} | glb/cad_76979c278b8e.glb |
Create a Kegerator Pressure Regulator Dial as a low-profile cylinder with a radius of 25mm and a height of 12mm, featuring rounded edges with a 2mm fillet. In the center of the top face, carve out a keyhole-shaped slot to accommodate an adjustment screw. This slot consists of a circular head with a radius of 6.5mm and ... | knob();
module knob(){
difference(){
roundedCylinder(r=25,h=12,fr=2,$fn=20);
translate([0,0,2]){screwHead(13/2, 8/2, 15);}
translate([13,0,2]){screwHead(15/2,15/2, 0);}
translate([-15,0,-1]){rotate([0,0,180]){cylinder(r=5,h=2,$fn=3);}}
for(i=[0:20]){
rotate([0,... | glb/cad_0e31f7877153.glb |
Create a differential planetary gearbox with a total thickness of 13mm and an outer diameter of 60mm.
Start by creating a lower ring gear with an internal tooth count of 30, a thickness of 4mm, and a central bore with a 6mm diameter. Position a sun gear with 6 teeth and a thickness of 4mm at the center, extending a 4... | use <MCAD/involute_gears.scad>
assembly();
d1=60;
t=4;
t1=1.2;
b=0.25;
c=0.2;
pa=20;
s=0.4;
td=0.8;
pd=1.1;
dp=0.85;
ns=6;
np1=18;
delta=-1;
nr1=ns+2*np1;
pitch=nr1/(d1*dp);
nr2=nr1+delta;
np2=np1+delta;
R1=(1+nr1/ns);
R2=nr2/((ns+np1)*(1-np2/np1));
Rp=(np1+ns)/np1;
R=R1*R2;
echo(str("Gear Ratio is 1 : ",R));
mod... | glb/cad_8aa5e363c0b7.glb |
Create a bottle stand consisting of a square base and a central cylindrical sleeve. Start by creating a square plate measuring 60mm by 60mm with a thickness of 5mm. Centered on this plate, place a hollow cylinder with a height of 50mm, an outer radius of 25mm at the base, and a slightly tapered outer radius of 24mm at ... | difference(){
union(){
translate([0,0,-27.5])cube([60,60,5],center=true);
translate([0,0,-30]) cylinder(r2=25,r1=24,h=50);
}
translate([0,0,-31]) cylinder(r2=20,r1=14,h=62);
translate([22,22,-30]) cylinder(r=2,h=62);
translate([22,-22,-30]) cylinder(r=2,h=62);
... | glb/cad_ff05f589e4b7.glb |
Create two identical custom copper winding bobbins. For each bobbin, start with a central cylinder 12mm high with a radius of 46mm. Integrate this into a larger, thinner coaxial disc that is 2mm high with a radius of 50mm. Remove a central vertical hole with a radius of 3mm that extends through the entire height of the... | r=44;
depth=24;
height=24;
distance=r-1;
distance2=r+depth+3;
$fn=80;
module A()
{
if (r>15){ hull(){
translate([0, distance,0])cylinder(height/2+3,3,3);
translate([0,distance2+depth,0])cylinder(height/2+3,3,3);
}}
else { hull(){
translate([0, distance,0])cylinder(height/2+3,2,2);
translate([0,distance2,0])c... | glb/cad_9badaadb8c56.glb |
Create a bracket for a mini drill press designed to hold a 28mm diameter motor. Start by constructing a base consisting of a rectangular block 30mm wide, 4mm thick, and 12mm high, centered behind a vertical arm that is 15mm wide, 25mm long, and 12mm high. At the end of this arm, add a cylindrical collar with an outer r... | rin=28/2;
arm = 25;
difference(){
union(){
translate([-7.5,0,0])cube ([15,arm,12]);
translate([-15,0,0])cube ([30,4,12]);
translate([0,(arm+rin),0])cylinder(r = rin+4, h=12);
translate([rin,arm+rin-6,0])cube ([11,12,12]);
}
translate([-3.5,4,4]) cube ([7,arm-8,12]);
translate([10,10,6])rotat... | glb/cad_5713c68f6602.glb |
Create a Google Font Library keychain. Start by creating a base bar with a thickness of 3mm. The bar should be wide enough to accommodate the text "Segoe Print" in a 12mm font size. The bar's width is 5mm, and its length is determined by the text.
On the left end of the bar, add a lug for a keyring. The lug is a round... | text="";
font="Lobster";
explicit_font="Segoe Print";
bar_vertical_shift=0;
text_horizontal_shift=0;
bar_width=5;
bar_length_trim=0;
frame_width=0.0;
font_style="bold";
font_size=12;
font_spacing=0;
font_weight=0;
font_outline_style="chamfer";
font_outline_width=0.5;
font_catch_diacritical_sign_strategy="bar an... | glb/cad_7c9fbd960322.glb |
Create a spool adapter with a total height of 15mm. The main body is a revolved profile with a central hole of 33mm in diameter. The outer profile starts from the base with a diameter of 32mm, rising vertically to a height of 2mm where it expands to a diameter of 27.5mm. It then continues vertically to 15mm, where it c... | tube_diameter=32;
spool_diameter=53;
height=15;
inner_diameter_backlash=1.0;
collar_thickness=2.0;
chamfer_depth=2.0;
wall=2.0;
number_of_arms=6;
arm_thickness=2.0;
arm_end_diameter=5.0;
arm_compression=1.0;
quality=60;
part=0;
inner_diameter=tube_diameter+inner_diameter_backlash;
outer_diameter=spool_diameter+ar... | glb/cad_db2f7f42bab8.glb |
Create a Parametric Round Clip Holder consisting of a rectangular mounting bracket with integrated circular clips.
First, create a rectangular base bracket with a width of 50mm, a thickness of 5mm, and a total length determined by the number of clips. For a single clip, the length is 60mm (30mm extending from the cen... | clipNumber = 1;
clipSpacing = 30;
clipInnerDiameter = 30;
clipWidth = 30;
clipWallThickness = 4;
clipOpeningAngle = 0;
bracketWidth = 50;
bracketThickness = 5;
mountEarsLength = 30;
mountHoleOffset = 5;
zipTieHeight = 2;
zipTieWidth = 4;
zipTieSpacing = 40;
$fs = 0.25;
module roundClip() {
difference() {
c... | glb/cad_3acecc374124.glb |
Create a customized name tag keychain that reads "Lydia" using the Lobster font in a bold style. The model consists of three layered geometric components: a base bar, an outline, and the raised text.
First, create the base bar. This is a rounded rectangular strip with a thickness of 3mm. On the left end, integrate a l... | text="Lydia";
font_name="Lobster";
bar_vertical_shift=0;
bar_width=0;
bar_length_trim=0;
text_outline=0.5;
font_style="bold";
font_size=12;
font_spacing=0;
font_weight=0;
font_pikes_workaround=0;
lug_width=3.5;
lug_length=5.0;
lug_surrounding=2.0;
bar_thickness=3.0;
outline_thickness=3.5;
text_thickness=4.5;
f... | glb/cad_806181d8597d.glb |
Create a 3D Archimedes' Spiral with a uniform height of 10mm and a constant wall thickness of 5mm. The spiral is formed by a continuous sequence of cylinders with a radius of 2.5mm, where the center of each cylinder follows a path defined by the polar equation $r = a\theta$, with $a = 0.07$. The path should be construc... | spirals = 1;
a = 0.07;
incrementBy = 10;
height = 10;
wallThickness = 5;
for(i=[0:360/spirals:360])
rotate([0,0,i])
for(t=[0:incrementBy:1000])
hull(){
translate([a*t*cos(t),a*t*sin(t),0])
cylinder(r=wallThickness/2,h=height);
translate([a*(t+incrementBy)*cos(t+incrementBy),a*(t+incrementBy)*sin(t+incrementBy),0])
c... | glb/cad_c29b87bf579c.glb |
Create a customized name tag keychain. Start by creating a base bar that is 3mm thick. This bar should be wide enough to encompass the text and a lug on the left side. The lug is a small rectangular extension with rounded corners, created by the hull of four circles with a radius of 1.75mm, positioned to allow a keyrin... | text="";
font_name="Lobster";
bar_vertical_shift=0;
bar_width=5;
bar_length_trim=0;
text_outline=0.5;
font_style="bold";
font_size=12;
font_spacing=0;
font_weight=0;
font_outline_style="chamfer";
font_catch_diacritical_sign=10;
lug_surrounding=2.0;
lug_width=3.5;
lug_length=5.0;
bar_thickness=3.0;
outline_thick... | glb/cad_38a23c84b43d.glb |
Create a 3D logarithmic spiral with a height of 10mm. The spiral is formed by a continuous sequence of connected cylinders, each with a radius of 0.5mm. The path of the spiral follows the formula r = 0.4 * exp(0.2 * theta), where r is the distance from the center and theta is the angle in radians.
Construct the spira... | loops=3;
$fn=20;
steps_per_loop=$fn;
wallThickness = 0.5;
height = 10;
a=0.4;
b=0.2;
incrementBy = 1;
for(i=[0:incrementBy:loops*steps_per_loop]){
hull(){
translate([r(rad(i))*cos(deg(i+0.5)),r(rad(i))*sin(deg(i+0.5)),0])
cylinder(r=wallThickness,height);
translate([r(rad(i+incrementBy))*cos(deg(i+incrementBy+0.5... | glb/cad_ee61244499e6.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.