Repair
This function is used to repair 'broken' geometry based on a few factors.
Usage
Repair type
STL Repair
The STL repair function requires the user to select the STL Bodies. It will remove duplicate and segment intersections
BRep Repair
The BRep Geometry repair function does not require any selection as it will be applied to all BRep geometries that are visible in the design
Mesh Bodies
The selected bodies that will be repaired together and joined as a single body
Tolerance
This parameter allows to consider as 'equal' points and geometries who's coordinates are within the tolerances (meaning that the difference between the points is smaller than the given value)
Sort out problematic rods
This parameter is only available in STL repair mode, it sorts out to a different body rods considered as 'problematic' and allows for the input of two extra parameters:
Min angle
The minimum allowed angle between two rods, rods whose angle is smaller than this value will be considered problematic and sorted to a different body
Min length
The minimum length a rod can be. Any rod shorter than that will be deemed 'problematic' and sorted to a different body.
What happens during the repair process
Removing regular duplicate
When two edges are existing in the same spatial coordinates, only one of them is kept and geometries connected to it are merged together as one
Creating intermediate segments
When segments are collinear but of different length, the repair function will create all the 'intermediate' segments, meaning that any interaction points between two bodies will be the start and endpoints of newly created edges.
Without using the repair function | After repair function edge segmentation |
---|---|
![]() | ![]() |
Checking for angles/length
In the case where we sort for problematic rods, the algorithm will check for every angle and length and create a 'main' merged body containing all the rods deemed as correct and a second one only containing the problematic rods
Remarks
This function is very useful to remove duplicates of any kind but is highly unstable when using on BRep geometry therefore we recommend to adapt your workflow around the STL function as it is both more practical and faster to execute