Model.nodecloud2facet#
- Model.nodecloud2facet(mesh_collection, type, scanradius=0, fillholesize=0)#
Generate STL facets from a node cloud.
- Parameters:
mesh_collection (Collection) – The collection containing the input node entities.
type (int) – Reserved for future use. Must be set to 5.
scanradius (double) – Number that defines the average distance between input nodes.
fillholesize (double) – Number defines the maximum hole width to close/fill any remaining holes after constructing facets.
Example#
Construct facets from all nodes with scan radius of 4 and post fill hole size of 10.0#import hm import hm.entities as ent model = hm.Model() model.nodecloud2facet( mesh_collection=hm.Collection(model, ent.Node), type=5, scanradius=4, fillholesize=10, )