Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- line1 = line1.lstrip(boneNumber)
- line1 = line1.split(" ")
- print (line1[0])
- counterValues = 0 #going to go to 5
- dLine1 = []
- while (counterValues < 6):
- dLine1.append(Decimal(line1[counterValues]))
- counterValues = counterValues + 1
- counterValues = 0
- alternater = 0
- print (boneNumber + str(dLine1[0]) + " " + str(dLine1[1]) + " " + str(dLine1[2]) + " " + str(dLine1[3]) + " " + str(dLine1[4]) + " " + str(dLine1[5]))
- boneNumber is " 17 "
- here is outpoot from problem bit:
- 6.352535
- 17 6.352535 23.644129 -45.434761 -1.029105 -0.303331 -0.246548
- but that should be 17 16.352535 23.644129 -45.434761 -1.029105 -0.303331 -0.246548, why it remove ze 1?
Add Comment
Please, Sign In to add comment