<div dir="ltr"><div>Hi,</div><div><br></div><div>    It is possible to create a mask from a shape?. For example from the result of   "<a name="icosahedron"><b>shape icosahedron".</b></a></div><br><div>    If the command does not exist I guess I may create it as follows</div><div><br></div><div>* the input would be the 3D map to be masked and the shape to be used as mask<br></div><div>* request all the (varray, tarray) from the shape.</div><div>* from varray,tarray build the  triangles that define the surface of the shape</div><div>* for each triangle create the normal vector</div><div>* multiply each normal vector by the position of each voxel (dot product)<br></div><div>* keep those voxels that have negative dot products for all the triangles.</div><div><br></div><div>  thanks for the help<br></div><div><br></div><div>     <br></div></div>