Compile all Arri-S parts
This commit is contained in:
parent
6b77b98aad
commit
3ef56cab21
|
@ -38,7 +38,6 @@ BearingInnerDiameter = 11.5;
|
||||||
|
|
||||||
capM3OffsetZ = 11.5;
|
capM3OffsetZ = 11.5;
|
||||||
|
|
||||||
PART = "none";
|
|
||||||
|
|
||||||
module motorBarrel () {
|
module motorBarrel () {
|
||||||
$fn = 200;
|
$fn = 200;
|
||||||
|
@ -464,25 +463,25 @@ module driveCouplingDCConnector () {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
LIBRARY = true;
|
||||||
|
PART = "bellows_camera_board_adapter";
|
||||||
|
|
||||||
PART2 = "bellows_camera_board_adapter";
|
if (PART == "drive_coupling_DC_connector") {
|
||||||
|
|
||||||
if (PART2 == "drive_coupling_DC_connector") {
|
|
||||||
driveCouplingDCConnector();
|
driveCouplingDCConnector();
|
||||||
} else if (PART2 == "drive_coupling_DC") {
|
} else if (PART == "drive_coupling_DC") {
|
||||||
driveCouplingDC();
|
driveCouplingDC();
|
||||||
} else if (PART2 == "animation_motor_DC_cap") {
|
} else if (PART == "animation_motor_DC_cap") {
|
||||||
rotate([180, 0, 0]) animationMotorDCCap();
|
rotate([180, 0, 0]) animationMotorDCCap();
|
||||||
} else if (PART2 == "animation_motor_DC") {
|
} else if (PART == "animation_motor_DC") {
|
||||||
animationMotorDCBody();
|
animationMotorDCBody();
|
||||||
} else if (PART2 == "animation_motor") {
|
} else if (PART == "animation_motor") {
|
||||||
animationMotorBody();
|
animationMotorBody();
|
||||||
} else if (PART2 == "animation_motor_cap") {
|
} else if (PART == "animation_motor_cap") {
|
||||||
rotate([180, 0, 0]) animationMotorCap();
|
rotate([180, 0, 0]) animationMotorCap();
|
||||||
} else if (PART2 == "drive_coupling") {
|
} else if (PART == "drive_coupling") {
|
||||||
driveCoupling();
|
driveCoupling();
|
||||||
} else if (PART2 == "bellows_camera_board_adapter") {
|
} else if (PART == "bellows_camera_board_adapter") {
|
||||||
bodyCapBellowsAdapter();
|
bodyCapBellowsAdapter();
|
||||||
} else if (PART2 == "bellows_camera_board") {
|
} else if (PART == "bellows_camera_board") {
|
||||||
bellows_camera_board();
|
bellows_camera_board();
|
||||||
}
|
}
|
|
@ -1,3 +1,5 @@
|
||||||
|
LIBRARY=false;
|
||||||
|
|
||||||
module cmount_male(len = 4) {
|
module cmount_male(len = 4) {
|
||||||
inner_d = 23;
|
inner_d = 23;
|
||||||
outer_d = 24.7;
|
outer_d = 24.7;
|
||||||
|
@ -56,8 +58,8 @@ module camera_mount () {
|
||||||
|
|
||||||
PART = "bellows_camera_board";
|
PART = "bellows_camera_board";
|
||||||
|
|
||||||
if (PART == "bellows_camera_board") {
|
if (!LIBRARY && PART == "bellows_camera_board") {
|
||||||
bellows_camera_board();
|
bellows_camera_board();
|
||||||
} else if (PART == "camera_mount") {
|
} else if (!LIBRARY && PART == "camera_mount") {
|
||||||
camera_mount();
|
camera_mount();
|
||||||
}
|
}
|
|
@ -4,20 +4,21 @@ openscadPart () {
|
||||||
openscad -o "./stl/${3}" -D"PART=\"${2}\"" "./scad/${1}"
|
openscad -o "./stl/${3}" -D"PART=\"${2}\"" "./scad/${1}"
|
||||||
if [ -f "./scad/common/c14n_stl.py" ]; then
|
if [ -f "./scad/common/c14n_stl.py" ]; then
|
||||||
python3 ./scad/common/c14n_stl.py "./stl/${3}"
|
python3 ./scad/common/c14n_stl.py "./stl/${3}"
|
||||||
|
echo "Normalized ${3}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# arri s parts
|
# 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_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" "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_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_DC" "arri_s_animation_motor_DC.stl"
|
||||||
#openscadPart "arri_s.scad" "animation_motor" "arri_s_animation_motor.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" "animation_motor_cap" "arri_s_animation_motor_cap.stl"
|
||||||
#openscadPart "arri_s.scad" "drive_coupling" "arri_s_drive_coupling.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_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" "bellows_camera_board" "arri_s_bellows_camera_board.stl"
|
||||||
|
|
||||||
openscadPart "arri_s_mount.scad" "mount" "arri_s_mount.stl"
|
openscadPart "arri_s_mount.scad" "mount" "arri_s_mount.stl"
|
||||||
|
|
||||||
|
|
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
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
Loading…
Reference in New Issue