Fixed error in structure of sparse_strut3d()

This commit is contained in:
Revar Desmera 2018-11-21 12:40:58 -08:00
parent 05d073f071
commit b559e7ebde

View file

@ -844,7 +844,16 @@ module sparse_strut3d(h=50, l=100, w=50, thick=3, maxang=40, strut=3, max_bridge
zflip_copy(offset=-(zstep-strut)/2) {
xflip_copy() {
zrot(cross_ang) {
down(strut/2) cube([strut, cross_len, strut], center=true);
down(strut/2) {
cube([strut, cross_len, strut], center=true);
}
if (zreps>1) {
back(cross_len/2) {
zrot(-cross_ang) {
down(strut) upcube([strut, strut, zstep+strut], center=true);
}
}
}
for (soff = [0 : supp_reps-1] ) {
yflip_copy() {
back(soff*supp_step) {