You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per #1 clipping works out great using OCCT. To fully utilize the advantage of using wires and edges (to preserve arcs), one needs to be able to get segments of wires/edges between two known points. Currently there's a limitation with OCP to achieve this using GeomLib_Tool.Parameter (see CadQuery/OCP#89).
BRep_Tool.Parameter does not appear to work for the purpose, as it does not seem to consider tolerance.
The text was updated successfully, but these errors were encountered:
Clipper appears to be about 3x faster than using OCCT native implementation. The difference is fairly significant but comes with the cost of needing to interpolate arcs into line segments. This bloats gcode, although the gcode could maybe have an arc fitting post processing optimization.
UI responsiveness is important though, so I'm inclined to keep clipper around.
Another tricky thing with OCCT offsets is that it's possible to end up in infinite loops trying to shrink a wire. Negative offsets can also in some edge cases create incorrect geometry that cq.Face.makeFromWires can't handle.
As per #1 clipping works out great using OCCT. To fully utilize the advantage of using wires and edges (to preserve arcs), one needs to be able to get segments of wires/edges between two known points. Currently there's a limitation with OCP to achieve this using
GeomLib_Tool.Parameter
(see CadQuery/OCP#89).BRep_Tool.Parameter
does not appear to work for the purpose, as it does not seem to consider tolerance.The text was updated successfully, but these errors were encountered: