Compile all Arri-S parts

This commit is contained in:
Matt McWilliams 2023-03-04 20:20:16 -05:00
parent 6b77b98aad
commit 3ef56cab21
12 changed files with 265539 additions and 23 deletions

View File

@ -38,7 +38,6 @@ BearingInnerDiameter = 11.5;
capM3OffsetZ = 11.5;
PART = "none";
module motorBarrel () {
$fn = 200;
@ -464,25 +463,25 @@ module driveCouplingDCConnector () {
}
LIBRARY = true;
PART = "bellows_camera_board_adapter";
PART2 = "bellows_camera_board_adapter";
if (PART2 == "drive_coupling_DC_connector") {
if (PART == "drive_coupling_DC_connector") {
driveCouplingDCConnector();
} else if (PART2 == "drive_coupling_DC") {
} else if (PART == "drive_coupling_DC") {
driveCouplingDC();
} else if (PART2 == "animation_motor_DC_cap") {
} else if (PART == "animation_motor_DC_cap") {
rotate([180, 0, 0]) animationMotorDCCap();
} else if (PART2 == "animation_motor_DC") {
} else if (PART == "animation_motor_DC") {
animationMotorDCBody();
} else if (PART2 == "animation_motor") {
} else if (PART == "animation_motor") {
animationMotorBody();
} else if (PART2 == "animation_motor_cap") {
} else if (PART == "animation_motor_cap") {
rotate([180, 0, 0]) animationMotorCap();
} else if (PART2 == "drive_coupling") {
} else if (PART == "drive_coupling") {
driveCoupling();
} else if (PART2 == "bellows_camera_board_adapter") {
} else if (PART == "bellows_camera_board_adapter") {
bodyCapBellowsAdapter();
} else if (PART2 == "bellows_camera_board") {
} else if (PART == "bellows_camera_board") {
bellows_camera_board();
}

View File

@ -1,3 +1,5 @@
LIBRARY=false;
module cmount_male(len = 4) {
inner_d = 23;
outer_d = 24.7;
@ -56,8 +58,8 @@ module camera_mount () {
PART = "bellows_camera_board";
if (PART == "bellows_camera_board") {
if (!LIBRARY && PART == "bellows_camera_board") {
bellows_camera_board();
} else if (PART == "camera_mount") {
} else if (!LIBRARY && PART == "camera_mount") {
camera_mount();
}

View File

@ -4,20 +4,21 @@ openscadPart () {
openscad -o "./stl/${3}" -D"PART=\"${2}\"" "./scad/${1}"
if [ -f "./scad/common/c14n_stl.py" ]; then
python3 ./scad/common/c14n_stl.py "./stl/${3}"
echo "Normalized ${3}"
fi
}
# arri s parts
#openscadPart "arri_s.scad" "drive_coupling_DC_connector" "arri_s_drive_coupling_DC_connector.stl"
#openscadPart "arri_s.scad" "drive_coupling_DC" "arri_s_drive_coupling_DC.stl"
#openscadPart "arri_s.scad" "animation_motor_DC_cap" "arri_s_animation_motor_DC_cap.stl"
#openscadPart "arri_s.scad" "animation_motor_DC" "arri_s_animation_motor_DC.stl"
#openscadPart "arri_s.scad" "animation_motor" "arri_s_animation_motor.stl"
#openscadPart "arri_s.scad" "animation_motor_cap" "arri_s_animation_motor_cap.stl"
#openscadPart "arri_s.scad" "drive_coupling" "arri_s_drive_coupling.stl"
#openscadPart "arri_s.scad" "bellows_camera_board_adapter" "arri_s_bellows_camera_board_adapter.stl"
#openscadPart "arri_s.scad" "bellows_camera_board" "arri_s_bellows_camera_board.stl"
openscadPart "arri_s.scad" "drive_coupling_DC_connector" "arri_s_drive_coupling_DC_connector.stl"
openscadPart "arri_s.scad" "drive_coupling_DC" "arri_s_drive_coupling_DC.stl"
openscadPart "arri_s.scad" "animation_motor_DC_cap" "arri_s_animation_motor_DC_cap.stl"
openscadPart "arri_s.scad" "animation_motor_DC" "arri_s_animation_motor_DC.stl"
openscadPart "arri_s.scad" "animation_motor" "arri_s_animation_motor.stl"
openscadPart "arri_s.scad" "animation_motor_cap" "arri_s_animation_motor_cap.stl"
openscadPart "arri_s.scad" "drive_coupling" "arri_s_drive_coupling.stl"
openscadPart "arri_s.scad" "bellows_camera_board_adapter" "arri_s_bellows_camera_board_adapter.stl"
openscadPart "arri_s.scad" "bellows_camera_board" "arri_s_bellows_camera_board.stl"
openscadPart "arri_s_mount.scad" "mount" "arri_s_mount.stl"

42618
stl/arri_s_animation_motor.stl Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

11902
stl/arri_s_drive_coupling.stl Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff