model.component(<ctag>).geom(<tag>).defeaturing("SliverFaces").delete(<ftag>) creates a
DeleteSliverFaces feature tagged
<ftag> with the specified properties. The property
delete is set to
selected. If the feature can be built, it is inserted in the geometry sequence after the current feature; otherwise, the feature is discarded.
model.component(<ctag>).geom(<tag>).defeaturing("SliverFaces").deleteAll(<ftag>) works as the delete method, but the property
delete is set to
all.
It is also possible to create a DeleteSliverFaces feature using the standard
create method. The following properties are available.
model.component(<ctag>).geom(<tag>).feature(<ftag>).find() searches the input objects for faces with width less than
entsize.
model.component(<ctag>).geom(<tag>).feature(<ftag>).detail() returns a selection object where you can select a subset of the faces found.
The find and
detail methods of
model.component(<ctag>).geom(<tag>).defeaturing("SliverFaces") have the corresponding functionality for the defeaturing tool.
The following example imports the geometry model from the file defeaturing_demo_5.x_b, finds sliver faces narrower than 2·10
−3, and deletes the first of these.