Polygon selection, invert procedurally
-
Hi, I would like to invert/adjust a polygon selection procedurally. So I have a selection tag with the original polygon selection. Then add another selection tag, activate fields, drag the first tag in the list and remap invert. However, I am getting strange results. Even when the field layer is set to index, the selected polygons differ from the original. Example:
https://www.dropbox.com/s/tgx5fsv7kcgie26/poly select - field problem 1.c4d?dl=0Many thanks for any help!
-
Hi reading-card,
Thanks for the file and for using DropBox.
Please have a look here:
https://www.dropbox.com/s/udom0dkibo6od68/CV4_2023_drs_23_FIip_01.c4d.zip?dl=0When I use the selection information and create a Matrix as intermediate storage, it works flawlessly.
The Matrix is used as a Point object, and the Radius in the setting is crucial.I hope that helps.
All the best
-
Thank you for having a look! The Matrix works only when the mesh topology is constant. Eg, when adding a Py-Extrude Modifier it gets scrambled up. Here is a more complete example, where I inverted the selection manually: https://www.dropbox.com/s/cagy1dvff5acjmn/poly select - field problem 3.c4d?dl=0
However, I need the invert process stay procedurally to let the whole effect chain update automatically if the original selection changes. From how I understood the selection tag and field functionality, it should work, but it only works as expected with point selections... Thanks for any hint! -
Hi reading-card,
The Polygon selection contains no geometry. Just a set of information. You can see that while the object is selected in the Structure Manager. Set the Mode to Polygon. To my knowledge, this is not reproducing geometry in the fields.
I do not use the Py-Extrude anymore, as it is no longer supported, AFAIK, and I don't have it installed.
Perhaps have a look here:
https://www.dropbox.com/s/cabmtsw8oap3oqh/CV4_2023_drs_23_MOge_01.c4d.zip?dl=0I have used the Extrude Geometry Generator. You find those in the Asset Browser> Operators> Geometry Modifiers.
Similar to that concept is the option to define Selections. (Those are found as well in the Operator offerings.
Please have a look here (YouTube Link)
https://youtu.be/3DQKbJ2xWgoMore advanced and that typically needs training that I can give here in the forum is the Node Editor:
https://www.cineversity.com/vidplaylist/scene_nodes_-technology_preview/scene_nodes-_technology_preview_introduction_component_selections
Here, the selection can be set in the pipeline and then done. In your example, the selection of the objects leads to a change in the base information.All the best
-
P.S.: Here is a file that provides some ideas.
Selected some polygons, then update the Polygon Selection tag on the Plane.
https://www.dropbox.com/s/vw73i4fyg5oiuhv/CV4_2023_drs_23_MOge_11.c4d.zip?dl=0Please note that the sequence of the objects is crucial.