I was trying to make some boolean operations with simple solids like box. The operation required much more time when the box was transformed with BRepBuilderAPI_GTransform. However, when I used BRepBuilderAPI_Transform the operation was much faster.
I have checked the structure of the box after the transformation and BRepBuilderAPI_GTransform turned the faces of the box into BSpline faces.
My question is: Can I use non-uniform transformation without having the faces turned into BSpline faces? (I would like to reach higher speed and use different x, y, z scale factors.)
Thanks,
Tibor.
Discussion
2 archived replies
Posts are displayed in their archived order.
01Commenter-1
Hi Tibor,
GTransform keeps the parametric space ranges of curves and surfaces but certainly modifies 3D reps. So in the case of planes and lines (which are parameterized by their lengths) the only way is to convert into BSplines to keep the range. That’s why your box (made of planes and lines) becomes a NURBS-based. Booleans on NURBS is definitively slow than on elementary geoms.
Commenter-1
02Author
Thanks.
And what if I don't insist on keeping the parametrization?
(Does this question make any sense?)