Get line connection for each polydata after using Slice feature #7487
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The connectivity filter might be relevant here. |
Beta Was this translation helpful? Give feedback.
-
Isn't it just a matter of using the max_length parameter of the strip method, that is fixed to 1000 by default? and then re-organizing the data, the line cannot have a length longer than 1000 As an example, extract_lines_info just shows the first and last indices of the line and its length:
array([[ 0, 854, 1001], where you see that the first line is limited to 1000 elements (the first point has duplicated index)
array([[ 0, 0, 1513]]) The same works if you have multiple lines to re-arrange:
array([[ 0, 142, 1001],
array([[ 0, 0, 1559], |
Beta Was this translation helpful? Give feedback.
Isn't it just a matter of using the max_length parameter of the strip method, that is fixed to 1000 by default? and then re-organizing the data, the line cannot have a length longer than 1000
As an example, extract_lines_info just shows the first and last indices of the line and its length:
array([[ 0, 854, 1001],
[ 6, 0, 258],
[ 6, 854, 256]])
where you see that the first line is limited to 1000 elements (the first point has duplicated index)
array([[ 0, 0, 1513]])