Punch Feature orientation logic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to place the punch feature on a sheet using the API. But I cannot figure out the the logic behind the way the punch orients itself on a face. For example if I place the feature on a face and give orientation as 0, it places the punch. And if I place the same punch feature on another surface (which also lies on the same plane) with an orientation of 0, it places the punch but at a different orientation.
The question is even if the orientation angle was 0 in both cases, and both the faces lie in the same plane, how did the punch feature orient itself? Is there any logic behind this? Do the U,V parameters of the surface matter?
PunchToolFeature oPunchTool = oSheetMetalFeatures.PunchToolFeatures.Add(oPointCollection, oPunchDefinition, 0);
I use the above line to place the feature.