Orientation of ChainSelection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi. I am using Fusion360 Python API and i have some questions. Could somebody help me, please?
I have a ChainSelection, and I am wondering if I can get orientation of the chain (e.g. clockwise or counterclockwise) with API? In the description of `isReverted` field is said that for internal pockets red arrow should point counterclockwise, for other geometry - clockwise. But as I can see - in the API I can only get `isReverted` property. Does it mean that if I want to know the direction - I have to get all edges and calculate cw or ccw manually?
And the same in reverse: if I want to create a ChainSelection in ccw - should I sort edges by ccw manually, and assign them to `inputGeometry`, or I just can mention somehow, that I want to get ccw chain, then give list of edges to `inputGeometry`, and Fusion will automatically do it?
Also, one additional thing: as I understand - the direction of chain is also dependent on the normal of plane, where edges are located. For example if edge is a circle, and its normal is opposite to normal of Setup WCS - the direction of chain also will be the opposite. Do I understand it correcly?
Thanks in advance