mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
replace var with const
This commit is contained in:
parent
9e6dcf08f9
commit
cf38ea9e96
@ -25,8 +25,7 @@ export default function generateInnerLines(slices, settings) {
|
|||||||
if (!part.shape.closed) continue;
|
if (!part.shape.closed) continue;
|
||||||
|
|
||||||
// var outerLine = part.shape.clone().scaleUp(scale).offset(-nozzleRadius);
|
// var outerLine = part.shape.clone().scaleUp(scale).offset(-nozzleRadius);
|
||||||
var outerLine = part.shape.scaleUp(scale).offset(-nozzleRadius, offsetOptions);
|
const outerLine = part.shape.scaleUp(scale).offset(-nozzleRadius, offsetOptions);
|
||||||
|
|
||||||
|
|
||||||
if (outerLine.paths.length > 0) {
|
if (outerLine.paths.length > 0) {
|
||||||
part.outerLine.join(outerLine);
|
part.outerLine.join(outerLine);
|
||||||
|
Loading…
Reference in New Issue
Block a user