It looks like there's a bug when defining section rotation via scripting.
I've made a testfile, that imports a yarn with 3 eliptical sections with 0, 45 and 90 deg rotation angle.
As you can see in the screenshot, the angles are correct in the "edit section"-mask but in the 3d model they seem to be multiplied by 2.
When I define the yarn via the GUI this problem doesn't occure.
Maybe thats interesting for developing the program.
regards Flo
scripting bug - section rotation
Moderators: Martin, Developers
scripting bug - section rotation
- Attachments
-
- angle_bug.jpg (105.91 KiB) Viewed 5776 times
Re: scripting bug - section rotation
Hi Flo,
I've checked this and it seems to be working ok. Make sure that you specify the angle in radians when writing scripts.
If you still have problems could you send me a copy of your script and I'll see if I can work out what the problem is.
Louise
I've checked this and it seems to be working ok. Make sure that you specify the angle in radians when writing scripts.
If you still have problems could you send me a copy of your script and I'll see if I can work out what the problem is.
Louise