How to select random points from a Point List

Objective:

Learn how to create a selection of random points from a List of Points by using surface roughness to filter the points based on volume.

Note:

To start, you will need to download and import the Custom Block: Filter Points by Volume. 

Procedure:

1. Set-up: Import your part, convert it to a mesh, and use the Remesh Surface block to create an even mesh. 

2. Use the block Random Points on Mesh

pointsrandom.jpg

3. Since we will be filtering by volume, we want to create a volume that covers some of the points randomly. 

    • Add a Surface Roughness block
    • Insert your model as the Body
      • Edit the Roughness frequency, amplitude, and seed value to change your results

randomtexture.jpg

4. Add the Filter Points by Volume Custom Block

    • Use the Surface Roughness as the Volume input
    • Set the Region to Outside

filtervolume.jpg

5. Duplicate the Filter Points by Volume custom block

    • Set the Region to Inside to create the opposite selection of Points (if needed)

And that’s it! You’ve successfully created two random selections from a list of Points.

Are you still having issues? Contact the support team, and we’ll be happy to help!

Download the Example file:

More on this topic:

Keywords:

 mesh surface texture volume list points selection filter point roughness random how-to 
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.