2023-03-05 00:44:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
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}"
|
2023-03-05 01:20:16 +00:00
|
|
|
echo "Normalized ${3}"
|
2023-03-05 00:44:20 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2023-03-05 01:00:01 +00:00
|
|
|
# arri s parts
|
|
|
|
|
2023-03-05 01:20:16 +00:00
|
|
|
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"
|
2023-03-05 01:00:01 +00:00
|
|
|
|
|
|
|
openscadPart "arri_s_mount.scad" "mount" "arri_s_mount.stl"
|
2023-03-05 00:44:20 +00:00
|
|
|
|
|
|
|
# mcopy mono 99 projector controller
|
|
|
|
|
2023-03-05 22:13:42 +00:00
|
|
|
openscadPart "projector_controller.scad" "electronics_mount" "mcopy_mono99_electronics_mount.stl"
|
|
|
|
|
|
|
|
# cpc connector
|
|
|
|
|
|
|
|
openscadPart "cpc_connectors.scad" "cpc_9pin_plug" "cpc_connector_9pin_plug.stl"
|
|
|
|
openscadPart "cpc_connectors.scad" "cpc_9pin_plug_collar" "cpc_connector_9pin_plug_collar.stl"
|
|
|
|
openscadPart "cpc_connectors.scad" "cpc_9pin_socket" "cpc_connector_9pin_socket.stl"
|