mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 03:23:48 +01:00
fix settings deconstructing
This commit is contained in:
parent
1e16c741a0
commit
3b4dbc0d4a
@ -9,9 +9,9 @@ export default function generateSupport(slices, settings) {
|
||||
layerHeight,
|
||||
support: {
|
||||
gridSize: supportGridSize,
|
||||
margin: AcceptanceMargin,
|
||||
margin: supportMargin,
|
||||
plateSize: plateSize,
|
||||
distanceY: DistanceY
|
||||
distanceY: supportDistanceY
|
||||
},
|
||||
nozzleDiameter
|
||||
} = settings;
|
||||
@ -62,10 +62,10 @@ export default function generateSupport(slices, settings) {
|
||||
var outerLine = slicePart.outerLine;
|
||||
}
|
||||
else {
|
||||
var outerLine = slicePart.intersect.offset(supportAcceptanceMargin);
|
||||
var outerLine = slicePart.intersect.offset(supportMargin);
|
||||
}
|
||||
|
||||
var overlap = supportSkin.offset(supportAcceptanceMargin).intersect(outerLine);
|
||||
var overlap = supportSkin.offset(supportMargin).intersect(outerLine);
|
||||
var overhang = outerLine.difference(overlap);
|
||||
|
||||
if (overlap.length === 0 || overhang.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user