model.component(<ctag>).geom(<tag>).defeaturing("ShortEdges").delete(<ftag>) creates a
DeleteShortEdges 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.
It is also possible to create a DeleteShortEdges feature using the standard
create method. The following properties are available.
model.component(<ctag>).geom(<tag>).feature(<ftag>).find() searches the input objects for edges of length less than
entsize.
model.component(<ctag>).geom(<tag>).feature(<ftag>).detail() returns a selection object where you can select a subset of the edge sets found.
The find and
detail methods of
model.component(<ctag>).geom(<tag>).defeaturing("ShortEdges") have the corresponding functionality for the defeaturing tool.
The following example imports the file defeaturing_demo_4.x_b and finds all edges with length less than 3·10
−3. The first of these edges is deleted.