Skip to content

Releases: bitbybit-dev/bitbybit

0.16.8

25 Sep 19:10
Compare
Choose a tag to compare
  • new function createFaceFromWiresOnFace, fixed subdivideToRectangleHoles and subdivideToRectangleWires
  • made uv offsets work for rectangle wires on face
  • lists extended
  • lights support shadow properties

0.16.5

20 Sep 20:03
Compare
Choose a tag to compare
  • bitbybit.babylon.lights.shadowLight.setDirectionToTarget - sets target to shadow light
  • bitbybit.babylon.lights.shadowLight.setPosition - sets position to shadow light
  • bitbybit.babylon.materials.skyMaterial - new methods for creating sky material and manipulating its properties
  • bitbybit.vector.removeAllDuplicateVectors - removes all duplicates in vector list
  • bitbybit.vector.removeConsecutiveDuplicateVectors - removes consecutive duplicates in vector list
  • bitbybit.point.translatePoints - translates points
  • bitbybit.point.translatePointsWithVectors - translates points with multiple vectors for each point
  • bitbybit.point.translateXYZPoints - translates points by xyz
  • bitbybit.point.scalePointsCenterXYZ - scales points around center in xyz factors
  • bitbybit.point.rotatePointsCenterAxis - rotates points around the axis
  • bitbybit.point.removeConsecutiveDuplicates - remoces consecutive duplicate points
  • mesbuilder method inputs accept enableShadows property now
  • bitbybit.lists.removeDuplicateNumbers - removes duplicate numbers that match exactly
  • bitbybit.lists.removeDuplicateNumbersTolerance - removes duplicates by using the tolerance value for comparisons
  • bitbybit.lists.repeatInPattern - repeats provided list members in pattern till certain length is reached in the result list
  • bitbybit.lists.sortNumber - sorts the number list asc or desc depending on options
  • bitbybit.lists.sortTexts - sorts the text list asc or desc depending on options
  • bitbybit.lists. sortByPropValue - sorts the json list asc or desc depending on options
  • bitbybit.occt.shapes.vertex.vertexFromXYZ - creates vector from xyz values

0.16.4

19 Sep 14:06
Compare
Choose a tag to compare
  • babylonjs update to v7.26.0
  • new grey gradient skybox
  • bitbybit.occt.shapes.face.createFacesFromWiresOnFace - creates faces from wires on the face so that orientation would match the guide
  • bitbybit.occt.shapes.face.createFaceFromWireOnFace - creates face from wire on the face so that orientation would match the guide
  • bitbybit.occt.shapes.face.subdivideToWires - subdivide face to the given number of divisions and place wires on the subdivision limits - users can choose u or v direction
  • bitbybit.occt.shapes.face.subdivideToRectangleWires - creates rectangular wire cells on the face - patterns for uv scale, inclusion and fillet radius can be provided
  • bitbybit.occt.shapes.face.subdivideToRectangleHoles - creates rectangular face cells on the face - patterns for uv scale, inclusion and fillet radius can be provided (can be used to pucnh holes in the face)
  • bitbybit.occt.shapes.face.wireAlongParam - create a single wire along parameter
  • bitbybit.occt.shapes.face.wiresAlongParams - create multiple wires along parameters

0.16.3

16 Sep 08:23
Compare
Choose a tag to compare
  • BabylonJS updated to v7.25.1
  • occt.shapes.wire.pointsOnWireAtLengths - gets points on given lengths, returned number of points will be equal to given number of lengths.
  • occt.shapes.wire.pointsOnWireAtEqualLength - get points on wire that are spaced at equal length.
  • occt.shapes.wire.pointsOnWireAtPatternOfLengths - get points on wire that are spaced by repeating a length pattern.
  • occt.shapes.wire.getWireLength - refactored to use curve to measure the length as that gives more consistent result
  • occt.shapes.edge.getEdgeLength - refactored to use curve to measure the length as that gives more consistent result

0.16.0

29 Aug 19:44
Compare
Choose a tag to compare
  • arc rotate inputs expanded
  • new fetch methods
  • mesh can be enabled to react to pointer move events and detect hits
  • list methods expanded with remove all, add item and prepend item
  • removed ignore attributes for pick and ray categories of babylonjs
  • exposed screenshot methods from babylojs tools

0.15.13

28 Jun 07:27
Compare
Choose a tag to compare
  • bitbybit.occt.shapes.wire.createBezierWeights - creates a bezier wire from points and their associated weights. This allows users to control curvature of a bezier in a more refined way.
  • babylonjs update to 7.13.0

0.15.12

20 Jun 06:54
Compare
Choose a tag to compare
  • Greased lines are now used to render edges of occt shapes and everything that creates polylines

0.15.10

05 Jun 15:32
Compare
Choose a tag to compare

bitbybit.babylon.gaussianSplatting.create - loads gaussian splat from any url and returns a babylon mesh
bitbybit.occt.shapes.wire.createZigZagBetweenTwoWires - wires can now be subdivided along all the edges by a given number. It can also use divide by equal distance approach instead of using curve parameters.
bitbybit.occt.shapeToMesh - normalized to accept inputs

0.15.8

12 Apr 09:34
Compare
Choose a tag to compare
  • bitbybit.occt.operations.offset - The inputs now take optional face for guidance. Sometimes it is necessary to provide a face to guide the offset as various kinds of geometrical situations can prove hard for algorithm to guess the right solution.
  • bitbybit.occt.operations.offsetAdv - This algorithm now also takes optional face for guidance. It is an alternative method that have more customizations exposed through it's inputs.

Unit Tests And Refactoring
We have been working on improving the quality of our core codebase by adding new unit tests and restructuring the code in the @bitbybit-dev/occt layer. Check out this blog post to learn more about that:

Testing 3D Geometry Algorithms in OCCT

0.15.7

06 Apr 11:30
Compare
Choose a tag to compare
  • Removed optionality from shape properties in the input DTO classes.
  • 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.
  • bitbybit.occt.transforms.rotate - implementation changed to use better OCCT transformation approach. Previous rotation method had strange side effects for UV coordinates of faces. That caused problems in rendering.