AxialSymmetricPt::FreeAxis axis used in descartes_trajectory::AxialSymmetricPt dose not mean free rotate about axis in tool coordinate. I found its use as below:
OrientationTolerance orient_tol = ToleranceBase::createSymmetric<OrientationTolerance>( ((axis == AxialSymmetricPt::X_AXIS) ? 0.0 : rx), ((axis == AxialSymmetricPt::Y_AXIS) ? 0.0 : ry), ((axis == AxialSymmetricPt::Z_AXIS) ? 0.0 : rz), ((axis == AxialSymmetricPt::X_AXIS) ? 2 * M_PI : 0.0), ((axis == AxialSymmetricPt::Y_AXIS) ? 2 * M_PI : 0.0), ((axis == AxialSymmetricPt::Z_AXIS) ? 2 * M_PI : 0.0));
I think it would produce strange orientation when applied in blending project requiring blending tool vertical to blending surface.
- and What's the motivation of this implemetation?
- Is there any exsting implemetation of free rotate around the tool axis (to keep tool vertial to blending surface as expected) ?