Move shape1, shape2 calculation inside the code block where it is used.
Move shape1, shape2 calculation inside the code block where it is used.

simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim