Search - User list
Full Version: how to partition a single primitive in to multiple
Root » Technical Discussion » how to partition a single primitive in to multiple
chaitanyakapu
I have a curve(single primitive) with points of different colors( red, green yellow).I want to partition this curve in to multiple primitives.For every color change across the curve,I want a different primitive.Could any please tell me how to go for it.
sadhu
Hi. You want to partition the primitive based on the color. Use partition sop. In the rules select group by color. This way you can partition either points or primitives (Entity)
I hope this is what you are looking for
Simon
You could use the add sop, turn on “Delete geometry but keep the Points”, go to the Polygons tab and use “By Group” and Add “By Attribute” Cd

The problem will be that you get gaps between each new polygon, but maybe that is what you expected I don't know.
sadhu
Wow! Add sop. That was really very simple. (I was thinking of using foreach sop with delete sop )
How can we get the polygons once we add the ‘add’ sop in the network. As the output of this add sop will be only points.
Simon
no the add sop will output polygons. That's what the “By Group” bit does.
sadhu
I was coloring the points randomly.
Thanks for the reply
chaitanyakapu
thank you very much guys for all the replies….It really helped…
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB