Skip to content

how to ordered boundary points #4624

Answered by Grantim
ParvGuptaSpCT asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, it should looks somehow like this:

boundaryLoops = mm.findRightBoundary( segmentMesh.topology )
for loop in boundaryLoops:
    print( "--NEW LOOP--" )
    for e in loop:
        orgV = segmentMesh.topology.org( e )
        orgPos =  segmentMesh.orgPnt( e )
        print( orgV, orgPos.x, orgPos.y, orgPos.z )

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ParvGuptaSpCT
Comment options

@Grantim
Comment options

Answer selected by Fedr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants