0.20.2
Updated to use v0.20.2 of bitbybit packages. These are the updates:
Among other things Bitbybit gained powers to create texts and dimensions in OCCT. Also Bitbybit now uses BabylonJS v8.4.0 and ThreeJS v0.176.0. These methods were added:
- bitbybit.occt.dimensions.simpleLinearLengthDimension - Creates simple linear length dimension between two points - measuring units. You can configure direction, label size, offset and other aspects.
- bitbybit.occt.dimensions.simpleAngularDimension - Creates simple angular dimension. By default we output degrees, but you can opt to use radians.
- bitbybit.occt.dimensions.pinWithLabel - Creates pin label. It can be used to explain things about the models or mark important things in the 3D scene.
- bitbybit.text.vectorChar - Create points for a single character (Implementation based on Dr. A. V. Hershey simplex font). Implementation borrowed from JSCAD kernel, which is open-sourced under MIT.
- bitbybit.text.vectorText - Create points for a the text of characters using vectorChar.
- bitbybit.vector.vectorsTheSame - Checks whether two vectors are the same within given tolerance
- bitbybit.point.boundingBoxOfPoints - Gets bounding box on collection of points
- bitbybit.point.normalFromThreePoints - Gets normal vector by providing three points. It has also an option to return reversed vector.
- bitbybit.occt.shapes.wire.createLineWireWithExtensions - Creates a line wire, but allows users to extend the line beyond the start and ed points. If negative extension is provided line gets shorter.
- bitbybit.occt.shapes.wire.midPointOnWire - Useful method to simply get a point on 0.5 param of the wire.
- bitbybit.occt.shapes.wire.textWires - Create occt text wires based on vectorText explained before - returns wires
- bitbybit.occt.shapes.wire.textWiresWithData - Create occt text wires but return additional information about the text, such as total with, height, etc.
- bitbybit.occt.transforms.alignNormAndAxis - Powerful and very useful method to transform geometry from one coordinate system to the other precisely. Our other align algorithms were not as specific.