need help for GENERATING POINTS and comparing with STL file

I am attaching a .stl file which is "the volume" in which I want to generate a set of points generated in a uniform manner.
I want to generate N = 10000 points distributed uniformly in a volume defined as 0<x<10 , 0<y<10 , 0<z<10 .
And then, I want to place the .stl model in the 10000 points generated above.
Finally, only points reside inside the stl volume will be remained, making the outside points eliminated.
How can I make a script for this work?
Below is "the_volume"

Réponses (0)

Question posée :

le 11 Août 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by