mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-25 15:07:57 +01:00
reduce tolerance of min combing distance to 1mm
This commit is contained in:
parent
0b6a4a1588
commit
89d4a659db
@ -2,7 +2,7 @@ import Shape from 'clipper-js';
|
||||
import { subtract, add, scale, normalize, dot, length, distanceTo } from './VectorUtils.js';
|
||||
import { PRECISION } from '../../constants.js';
|
||||
|
||||
const TOLERANCE = 5 / PRECISION;
|
||||
const TOLERANCE = 1 / PRECISION;
|
||||
|
||||
export default function comb(outline, start, end) {
|
||||
if (distanceTo(start, end) < TOLERANCE) {
|
||||
|
Loading…
Reference in New Issue
Block a user