| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- include <../assets/platform.scad>
- $fn = 100;
- platform_mount_object();
- top_position_y
- = platform_height / 2
- + platform_thickness / 2;
- top_position_z
- = platform_depth / 2
- - platform_full_support_depth() / 2;
- translate([0, top_position_y, top_position_z]) {
- rotate([90, 0, 0]) {
- platform_top_object();
- }
- }
- side_position_x
- = platform_width / 2
- + platform_thickness / 2;
- side_position_z
- = platform_depth / 2
- - platform_full_support_depth() / 2;
- translate([side_position_x, 0, side_position_z]) {
- rotate([90, 0, 90]) {
- platform_side_object();
- }
- }
- translate([-side_position_x, 0, side_position_z]) {
- rotate([90, 0, 90]) {
- platform_side_object();
- }
- }
- for (count = platform_connector_holes()) {
- move_z
- = count
- + platform_depth / 2
- - platform_full_support_depth() / 2
- - platform_connector_space() / 2;
-
- move_x
- = platform_width / 2
- - platform_connector_depth() / 2;
- move_y
- = platform_height / 2
- - platform_connector_depth() / 2;
- translate([move_x, move_y, move_z]) {
- platform_connector_object(true);
- }
-
- translate([-move_x, move_y, move_z]) {
- platform_connector_object(false);
- }
- }
|