canon_ble #82

Merged
mattmcw merged 149 commits from canon_ble into main 2023-08-01 03:38:52 +00:00
8 changed files with 227096 additions and 28 deletions
Showing only changes of commit d2390dca30 - Show all commits

View File

@ -7,21 +7,21 @@ MagnetPositionX = 40;
MagnetPositionY = 40;
module cmount_male (len = 4) {
inner_d = 23;
outer_d = 24.7;
f_inner_d = 25.4;
f_outer_d = 28.6;
InnerD = 23;
OuterD = 24.7;
SocketInnerD = 25.4;
SocketOuterD = 28.6;
translate ([0, 0, len / 2 ]) {
difference () {
union () {
cylinder(r = R(outer_d), h = len, center = true);
cylinder(r = R(OuterD), h = len, center = true);
}
cylinder(r = R(inner_d), h = len + 1, center = true);
cylinder(r = R(InnerD), h = len + 1, center = true);
}
difference () {
translate([0, 0, -(len / 2) - 1]) cylinder(r = R(f_outer_d), h = 2, center = true);
translate([0, 0, -(len / 2) - 1]) cylinder(r1 = R(f_inner_d), r2 = R(inner_d), h = 3, center = true);
translate([0, 0, -(len / 2) - 1]) cylinder(r = R(SocketOuterD), h = 2, center = true);
translate([0, 0, -(len / 2) - 1]) cylinder(r1 = R(SocketInnerD), r2 = R(InnerD), h = 3, center = true);
}
}
}
@ -31,7 +31,7 @@ module bellows_camera_board (magnets = false) {
InnerD = 39;
difference () {
if (magnets) {
bellows_board_magnetic_body();
bellows_board_magnetic_body(H);
} else {
cube([BellowsBoard, BellowsBoard, H], center = true);
}
@ -49,14 +49,18 @@ module bellows_camera_board (magnets = false) {
}
}
module bellows_lens_board () {
module bellows_lens_board (magnets = false) {
H = 6;
ProtrusionD = 37.25;
ProtrusionH = 7;
InnerD = 34.5;
difference () {
union () {
if (magnets) {
bellows_board_magnetic_body(H);
} else {
cube([BellowsBoard, BellowsBoard, H], center = true);
}
translate([0, 0, (H/2) + (ProtrusionH/2)]) cylinder(r = R(ProtrusionD), h = ProtrusionH, center = true, $fn = 360);
}
//center
@ -104,7 +108,19 @@ module bellows_board_magnetic_body (H = 6) {
}
}
module bellows_board_magnetic(H = 3) {
InnerD = 45;
difference () {
bellows_board_magnetic_body(H);
//center
cylinder(r = R(InnerD), h = H + 1, center = true, $fn = 360);
//corners
for (i = [0 : 3]) {
rotate([0, 0, i * (360 / 4) + 45 ]) translate([43.5, 0, 0]) cube([11, 11, H + 1], center = true);
}
}
}
PART = "bellows_camera_board_magnetic";
@ -116,4 +132,8 @@ if (!LIBRARY && PART == "bellows_camera_board") {
camera_mount();
} else if (!LIBRARY && PART == "bellows_lens_board") {
bellows_lens_board();
} else if (!LIBRARY && PART == "bellows_lens_board_magnetic") {
bellows_lens_board(magnets = true);
} else if (!LIBRARY && PART == "bellows_board_magnetic") {
bellows_board_magnetic();
}

View File

@ -9,7 +9,7 @@ openscadPart () {
}
# arri s parts
if [[ "${1}" == "" ]] || [[ "${1}" == "arri_s" ]]; then
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"
@ -21,13 +21,25 @@ openscadPart "arri_s.scad" "bellows_camera_board_adapter" "arri_s_bellows_camer
openscadPart "arri_s.scad" "bellows_camera_board" "arri_s_bellows_camera_board.stl"
openscadPart "arri_s_mount.scad" "mount" "arri_s_mount.stl"
fi
# mcopy mono 99 projector controller
if [[ "${1}" == "" ]] || [[ "${1}" == "projector_controller" ]]; then
openscadPart "projector_controller.scad" "electronics_mount" "mcopy_mono99_electronics_mount.stl"
fi
# cpc connector
if [[ "${1}" == "" ]] || [[ "${1}" == "cpc_connectors" ]]; then
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"
fi
if [[ "${1}" == "" ]] || [[ "${1}" == "bellows" ]]; then
openscadPart "bellows.scad" "bellows_lens_board" "bellows_lens_board.stl"
openscadPart "bellows.scad" "bellows_lens_board_magnetic" "bellows_lens_board_magnetic.stl"
openscadPart "bellows.scad" "bellows_camera_board" "bellows_camera_board.stl"
openscadPart "bellows.scad" "bellows_camera_board_magnetic" "bellows_camera_board_magnetic.stl"
openscadPart "bellows.scad" "camera_mount" "bellows_camera_mount.stl"
openscadPart "bellows.scad" "bellows_board_magnetic" "bellows_board_magnetic.stl"
fi

17026
stl/bellows_board_magnetic.stl Normal file

File diff suppressed because it is too large Load Diff

32538
stl/bellows_camera_board.stl Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

90722
stl/bellows_camera_mount.stl Normal file

File diff suppressed because it is too large Load Diff

20386
stl/bellows_lens_board.stl Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff