CropRegions¶
Specifies a list of boxes (rectangular cuboids) which define regions to crop a generated PartFinder model
We recommend using crop regions when only part of a model is visible in 3D scenes, or when you want to restrict the matching process to certain regions, e.g. in order to exclude deformed areas of the model.
Every box can be specified by
Size - An array of 3 real numbers that specify x, y, and z dimensions of the box.
Transformation - A Pose of the box as a link from edges aligned centered box frame to a CAD model frame.
Format
Array |
with elements containing an Size real vector and an Transformation link object |
Explanation
PartFinder effectively removes all features extracted from the original CAD model that fall outside the regions. Therefore, no new artifacts related to the intersection of the boxes with the model appear. However, PartFinder does not allow you to create a model with all features removed; therefore, the crop regions must have a nonempty intersection with the CAD model.
Note
A box Transformation should be given in the coordinate frame of a CAD model. The translational component of the Transformation relates to the center of the box.
We recommend removing the Symmetries node if CropRegions do not respect the Symmetries specification.