Model.verticesmarksuppress#

Model.verticesmarksuppress(collection, break_angle, save_as_points)#

Removes the selected fixed points from their surfaces and gives the option to create free points at those locations.

Parameters:
  • collection (Collection) – The collection containing the point entities to be removed.

  • break_angle (double) – The test threshold used to prevent the accidental removal of points that correspond to corners, which are necessary for proper mesh generation.

  • save_as_points (int) –

    0 - Do not create free points.

    1 - Create free points at the locations of the removed fixed points.

Example#

Suppress the points with IDs 25 , 26 , use a 30.0 degree breakangle#
import hm
import hm.entities as ent

model = hm.Model()

# Creating the collection that contains the points to be removed
point_collection = hm.Collection(model, ent.Point, [25, 26])

model.verticesmarksuppress(
    collection=point_collection, break_angle=30.0, save_as_points=0
)