Hello guys,
Is there a way to select/delete POP primitives types ?
i want to separate lines from geometries from a mixed lines / geos network.
Thanks,
Arnaud
Hello guys,
Is there a way to select/delete POP primitives types ?
i want to separate lines from geometries from a mixed lines / geos network.
Thanks,
Arnaud
Hello @Artcraft
You can use Topology POPs to set how the primitive count is set per primitive type. This lets you split your lines and geometries apart so they flow down separate branches of your network. Primitive POPs can be used downstream to remove points not used by primitives.
You can also achieve this by using a GLSL Advanced POP to create a custom primitive attribute that explicitly represents the primitive type, allowing you to distinguish between lines and standard geometry. Once that attribute is established, you can pass the data into a Delete POP, set the entity to primitives, and use that ID to filter out or keep specific types depending on what you want to isolate.
PrimTypeSelect.toe (5.1 KB)
Hey Thank you Guillaume,
Topology POP is exactly what i need..
^^
Bye,
Arnaud
Thanks Guillaume, a partial alternative is to use the builtin attribute _NumVertsPrim (1 for point prims, 2 for lines, 3 for triangles, 4 for quads), though short line strips will be captured as well.
It would be a convenient feature to add a primitive type filter to Delete/Group POPs.
Or maybe simpler would be to add a builtin primType attribute, matching TDInputPrimType() we’ll log that internally.
Topology POP does the trick but is a bit less straightforward to use.
yes, it’s the expected feature (for me)
Thanks guys