Jump to content
Mr. Bastian Ahlf

Internal edge indication of Breps

Recommended Posts

Hi,

 

in my script i need to measure a length. The length that has to be measured (and adjusted afterwards) ends with the trailing edge of the following blade. The adjustment works well, but before running a huge DOE, i would like to know if the internal names remain unchanged after parameter update.

 

In the attached picture i tried to visualize my question. The certain edge is named with "2" and can be found with BrepName.getEdge(2).... After some geomtry updates the name did not change and the correct edge was chosen - but is this ensured in any case? 

 

post-1110-0-80881000-1579531564_thumb.png

 

 

Many thanks

 

Bastian

post-1110-0-80881000-1579531564_thumb.png

Share this post


Link to post
Share on other sites

Hi Bastian,

 

That is a good question indeed.

In a BRep the number of edges for a geometry variation of a certain object does not necessarily remain constant. Depending on your split method it may vary.

 

So I would suggest you to use the source, which most probably is a surface.

mySurface.getEdge1()         or 2,3,4

 

would provide you the necessary edge.

 

If you have further questions, please let me know.

 

Cheers

Ceyhan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...