Skip to content

0.14.5

Choose a tag to compare

@matas-bitbybit-dev matas-bitbybit-dev released this 27 Feb 08:22
· 63 commits to main since this release

-- bitbybit.occt.shapeFix.fixEdgeOrientationsAlongWire takes in the wire and rebuilds it in such a way as to make all edges point the same direction along the wire. In OCCT it is possible to create geometry in ways that make edges point in various directions. While many types of geometry work fine with such boundaries, it is sometimes very important to have good directions of all edges. Especially in CNC machining.
-- bitbybit.occt.shapes.edge.edgesToPoints takes in any shape that contains edges and returns nested lists of points that represent the edges. Edges are oriented along wire in this method by using BRepTools_WireExplorer. To generate points this method uses tangential deflection, so you can control many parameters such as angular, curvature deflections, etc.
-- bitbybit.occt.shapes.edge.getEdgesAlongWire will take in the wire and return a list of edges in good orientation
-- bitbybit.occt.shapes.wire.wiresToPoints takes in any shape that contains wires and returns nested lists of points that represent the wires. Points are generated along the wire in a uniform way. This is based on the edgesToPoints method so all the same parameters for tangential deflection can be controlled.