Skip to main content
4-Participant
December 11, 2024
Question

Creo 10 toolkit: detecting if an edge is inner or outer edge

  • December 11, 2024
  • 1 reply
  • 2387 views

Hello,
in a toolkit application I need to know if an edge is an inner or an outer edge.

In the attachment I have an example what I mean with inner and outer edge.
What I have up to now:
I use visit functions to get all the edges in the part model. A function to determine if the edge is "inner" or "outer" seems not to exist (I found none). But there is the function ProEdgeNeighborsGet(), which has the two surfaces for every edge as an output parameter. Is ist possible to get the inner/outer information with this two surfaces? Or is there another procedure to get the information.

Any help would be appreciated.

regards HP

 

 

 

1 reply

RPN
18-Opal
December 11, 2024

An edge has always 2 surfaces attached. The neighbor function will return this 2 ones. Next you may want to check the surface type. For a planar one, you need know two compare the angles of this 2 normals. For me, based on the picture you have 0-180 and 180-360 degree to compare.  But you know your requirements much better.

 

December 12, 2024

I don't think there are  terms 'inner edge' or 'outer edge' in pro/toolkit. there are terms "inner contour" and "outer contour". take a look at the user guide 'Geometry Traversal' chapter for the explanation.

 

 

 

  

C_TK4-ParticipantAuthor
4-Participant
December 13, 2024

Inner/outer contour information of the function ProContourTraversalGet() is not that what I need.

Imagine a cube with a borehole. The circular contour of the hole is the inner contour and the quadratic contour of the cube surface with the borehole is the outer contour. But the edges of the circular contour (circular arcs) are "outer edges" in my sense.