castn / crane-simulator

GNU General Public License v3.0
1 stars 0 forks source link

counterjib beam generation #5

Closed eZSnake closed 1 year ago

eZSnake commented 1 year ago

seems to be running into some issue when adjusting the amount of segments and regenerating some top connections are doubled up while diagonals from the bottom to the top aren't being created image

eZSnake commented 1 year ago

i = 0 First block (above tower) top 65: [12 26] First block diags 66: [ 8 26] 67: [ 9 26] 68: [10 26] 69: [11 26] i = 1 Second block top 70: [26 27] Second block diags 71: [ 8 27] 72: [ 9 27] 73: [18 27] 74: [19 27] i = 2 Third block top 75: [27 28] Third block diags 76: [18 28] 77: [19 28] 78: [20 28] 79: [21 28] i = 3 Fourth block top 80: [28 29] correct Fourth block diags 81: [21 29] 20 82: [22 29] 21 83: [23 29] 22 84: [24 29] 23 i = 4 Fifth block top 85: [29 30] correct Fifth block diags 86: [24 30] 23 87: [25 30] 24 88: [26 30] 25 89: [27 30] 26

eZSnake commented 1 year ago

fixed in c566e2200e9c91e573350024f72bbc36023f8df5 starting point for each segment just had to be continually adjusted