Personal tools
You are here: Home Forum Use How to set the Reversed Edges in Python script [Start and End Length sub-mesh]?

How to set the Reversed Edges in Python script [Start and End Length sub-mesh]?

Up to Use

How to set the Reversed Edges in Python script [Start and End Length sub-mesh]?

Posted by Renan Lima at September 07. 2017

Hello,

I need to make Start and End Length sub-mesh using Python script. Currently, I'm typing the number of the edge that I saw in the "graphical interface" to set the reversed edges, just like:

Regular_1D_2 = Mesh_1.Segment(geom=externoVertical)

Start_and_End_Length_1 = Regular_1D_2.StartEndLength(0.1, 0.6, [ 11, 114, 124, 18, 186, 196, 28, 6, 66, 76 ])

Start_and_End_Length_1.SetObjectEntry( 'Partition_1' )

However, when I change something in the geometry or change from PCs, the reversed edges are messed up, because these numbers also change.

Does anybody have some idea how I could set the reversed edges to aways be on the right direction?

Thanks in advance.

Re: How to set the Reversed Edges in Python script [Start and End Length sub-mesh]?

Posted by Renan Lima at September 21. 2017
Powered by Ploneboard
Document Actions