Punch Feature orientation logic

Punch Feature orientation logic

darryl.menezes
Contributor Contributor
309 Views
1 Reply
Message 1 of 2

Punch Feature orientation logic

darryl.menezes
Contributor
Contributor

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.

 

0 Likes
310 Views
1 Reply
Reply (1)
Message 2 of 2

Moverano
Advocate
Advocate

I'll upload it to you. I would like to automate that when seeing the development of the folded sheet, place some punch marks on the fold line. Any idea where to start?

0 Likes