Skip to content

Releases: bitbybit-dev/app-examples

0.20.2

25 Apr 10:44
Compare
Choose a tag to compare

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.

0.20.0

09 Apr 12:56
Compare
Choose a tag to compare

update to v0.20.0 of bitbybit

v0.19.9

20 Mar 18:02
Compare
Choose a tag to compare

Update to v0.19.9 packages

0.19.7

19 Mar 12:29
Compare
Choose a tag to compare

update to v0.19.7, use cdn for wasm

0.19.6

06 Mar 22:26
Compare
Choose a tag to compare

v0.19.6 update

0.19.4

07 Feb 17:14
Compare
Choose a tag to compare

Update to v0.19.4 Btbybit

0.19.3

05 Feb 20:13
Compare
Choose a tag to compare

Updated to use 0.19.3 version of bitbybit

0.19.2

25 Jan 06:14
Compare
Choose a tag to compare

Update to v0.19.2 of bitbybit with new v of babylonjs and threejs.

0.19.1

04 Dec 16:57
Compare
Choose a tag to compare

Update to threejs, babylonjs, exmaples on how to use new bitbybit runners for threejs and babylonjs. Full and lite versions of runners are available, check them out in the runner folder.

0.19.0

28 Nov 03:24
Compare
Choose a tag to compare

update to latest v0.19.0 that uses new Manifold 3D geometry kernel
There's a new app example for manifold at webpack/threejs/src/code/manifold-sliced-mesh.ts