New features for creating circular edges and small fixes.
Apr 5, 2024
by Matas Ubarevicius
This release builds on top of features presented in the previous release. This time we implemented few powerful new methods to create circles in between other circles or a circle and a point.
New features in action.
Circles From Constraints
It is now possible to create new circles from tangential constraints. These are the new methods:
- bitbybit.occt.shapes.edge.constraintTanCirclesOnTwoCircles
- Finds all of the circles that are tangential to two circles. Solution can contain one or more edges.
- bitbybit.occt.shapes.edge.constraintTanCirclesOnCircleAndPnt
- Finds all of the circles that are tangential to a circle and a single point. Solution can contain one or more edges.
Bug fixes
It was noticed that rotation transformation of OCCT shapes was affecting the rendering of the shapes. It was caused by the approach of rotation that had this unnecessary side effect. Rotation method was thus adjusted to use different kind of transformation method.
- bitbybit.occt.transforms.rotate
- Now uses BRepBuilderAPI_Transform approach.
Other improviements
OCCT input classes for methods sometimes used optional properties that were suggesting that the property may be left out. That is not the case, as the properties are mandatory. This was fixed by removing the optional property on most of the classes.