The rule file must be named c:\HoleFillRules.txt. For each rule, it contains one block of the following format:
|
RuleName NameThatAppearsInDropdown |
MaxNumEdges - the maximum number of edges around the hole.
MaxCircumference - the maximum length of the boundary of the hole.
MaxRegionPlanarity - the region planarity for a hole is an estimate of the flatness of the region immediately surrounding the hole. It is basically the smallest distance between two parallel planes that contain the region around the hole. The MaxRegionPlanarity parameter controls the maximum thickness of the region.
MaxHolePlanarity - This is similar to MaxRegionPlanarity, except that it only considers the points on the hole of the boundary itself. As an example, the hole in the picture below has a small hole planarity, but a large region planarity.
MaxNumOverlappingTri - This parameter controls the number of triangles that are overlapping when the region around the hole is projected into the best-fit plane. A high value of this statistic represents a very complex hole.
MaxRegionAvgAngle - This parameter controls the average angle between triangles in the region surrounding the hole and the best-fit plane of the region.
MinSignedArea - The signed area of the region is a normalized area measure that will distinguish between empty holes and “filled” holes, e.g., those where the surface is on the “inside” of the hole, such as the hole below. The hole below will have a negative area, while the hole to its left will have a positive area. This parameter controls the minimum signed area that will be considered. Note that the signed area is normalized so that it is between -1.0 and 1.0. A value of 0.1 has proven to be a good threshold.
MaxNumBdIntersections - controls the number of boundary intersections when then the hole is projected into the best-fit plane. The higher the number of boundary intersections, the more complex the hole is.
ForceHoleFill -