Skip to content

Commit

Permalink
Revert the default tolerance to 1e-9
Browse files Browse the repository at this point in the history
  • Loading branch information
sgenoud committed Aug 14, 2023
1 parent c2c63ca commit bc9f766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/replicad/src/lib2d/approximations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Curve2D } from "./Curve2D";

export const approximateAsBSpline = (
adaptor: Geom2dAdaptor_Curve,
tolerance = 1e-5
tolerance = 1e-8
): Curve2D => {
const oc = getOC();
const r = GCWithScope();
Expand Down

0 comments on commit bc9f766

Please sign in to comment.