Remove feet

This commit is contained in:
Nettika 2025-10-05 06:40:51 +00:00
parent 26c5a213df
commit 71b5382544
5 changed files with 272937 additions and 68 deletions

View file

@ -15,13 +15,6 @@ track_side_inset = 6;
track_radius = 1;
track_taper_length = 12;
// Foot dimensions
foot_width = 2.5;
foot_height = 1;
foot_front_inset = 8;
foot_back_inset = 4;
foot_side_inset = 6;
// Fillets
back_vertical_fillet_radius = 4;
side_vertical_fillet_radius = 16;
@ -79,7 +72,6 @@ module base() {
sphere(horizontal_fillets_radius);
}
tracks();
feet();
}
module windows() {
@ -140,8 +132,8 @@ module gap() {
}
module undercut() {
translate([53, cartridge_width - 7, -foot_height])
linear_extrude(gap_elevation + foot_height)
translate([53, cartridge_width - 7, 0])
linear_extrude(gap_elevation)
rotate(45)
offset(3)
square([16, 16]);
@ -234,36 +226,3 @@ module track() {
r2=0,
);
}
module feet() {
foot_interval = cartridge_width - 2 * foot_side_inset - foot_width;
translate([foot_front_inset, foot_side_inset, -foot_height]) {
foot();
translate([0, foot_interval, 0]) foot();
}
}
module foot() {
foot_length = cartridge_length - foot_front_inset - foot_back_inset;
translate([foot_height, 0])
cube([
foot_length - foot_height * 2,
foot_width,
foot_height,
]);
intersection() {
cube([
cartridge_length,
foot_width,
foot_height,
]);
union() {
translate([foot_height, foot_width, foot_height])
rotate([90, 90, 0])
cylinder(h=foot_width, r=foot_height);
translate([foot_length - foot_height, foot_width, foot_height])
rotate([90, 90, 0])
cylinder(h=foot_width, r=foot_height);
}
}
}

268900
cartridge.stl Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,16 @@
default: (build "cartridge") (build "receptacle")
parts := "cartridge receptacle"
build target:
echo 'use <{{target}}.scad>; $fn = 128; {{target}}();' > part.scad
openscad -o {{target}}.stl part.scad
rm part.scad
default: build
build:
#!/bin/sh
for part in {{parts}}; do
echo "Rendering $part..."
just render-part $part
done
render-part part:
#!/bin/sh
echo 'use <{{part}}.scad>; $fn = 128; {{part}}();' > part.scad
openscad --backend Manifold -o {{part}}.stl part.scad
rm part.scad

View file

@ -6,7 +6,6 @@ module receptacle() {
difference() {
box();
hole();
feet_grooves();
track_grooves();
}
tape_guides();
@ -38,25 +37,6 @@ module hole() {
]);
}
module feet_grooves() {
foot_groove_interval = cartridge_width - 2 * foot_side_inset - foot_width + cartridge_clearance;
foot_groove();
translate([0, foot_groove_interval]) foot_groove();
}
module foot_groove() {
translate([
foot_front_inset - cartridge_clearance,
foot_side_inset - cartridge_clearance,
-foot_height,
])
cube([
cartridge_length + 2 * cartridge_clearance,
foot_width + cartridge_clearance,
foot_height,
]);
}
module track_grooves() {
translate([
track_back_inset + cartridge_clearance,

4020
receptacle.stl Normal file

File diff suppressed because it is too large Load diff