2
$\begingroup$

I want to delete geometry based on the index number like I want to every third index and it should go until points (curve/mesh) end. Also, what could I do if I want to use any other index instead of the third one?

Thanks in advance

$\endgroup$

2 Answers 2

2
$\begingroup$

you can use this node setup to delete every 3rd face. I used faces here, that you can clearer see, what happens. Just change the delete geometry node from face to point to delete points.

enter image description here

enter image description here

Just change the value in modulo from 3 to any other value you want e.g. 4 to delete every 4th point.

enter image description here

$\endgroup$
2
  • $\begingroup$ Thank you for answering. It is really helpful. $\endgroup$
    – Muzammil
    Commented Sep 3, 2022 at 17:07
  • $\begingroup$ glad i could help $\endgroup$
    – Chris
    Commented Sep 3, 2022 at 17:23
3
$\begingroup$

@Chris has answered, but here's a little group to explore modulo-selection, including options to invert and offset your selection.

enter image description here

enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ Thank you for sharing your the files that's really helpful. $\endgroup$
    – Muzammil
    Commented Sep 3, 2022 at 17:08
  • 1
    $\begingroup$ If it doesn't work for you, double check their nodes, and also try offsetting Index with a negative number instead of adding. In my case I changed math node to subtract and offset the index with numbers running up to the count of the vertices it had. $\endgroup$ Commented Feb 9 at 2:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .