Platform with strap connectors
This commit is contained in:
+4
-4
@@ -40,12 +40,12 @@ module platform(base) {
|
||||
cube(size, center=true);
|
||||
|
||||
module strap_connectors() {
|
||||
offset=get_platform_strap_connector_offset();
|
||||
down(size.z/2) {
|
||||
for (i=[0:3]) {
|
||||
left((i%2*(-2)+1) * (size.x/2 - get_link_segment_size().y/2))
|
||||
fwd((round(i/2)%2*(-2)+1) * size.y/2)
|
||||
down(get_link_segment_size().z/2)
|
||||
zrot(90 + (round(i/2)%2*180)) link_connector_pin();
|
||||
translate([((i%2*(-2)+1) * offset.x), -((round(i/2)%2*(-2)+1) * offset.y), offset.z])
|
||||
zrot(90 + (round(i/2)%2*180))
|
||||
link_connector_pin();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user