mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2025-01-11 03:45:08 +01:00
typo
This commit is contained in:
parent
3d52fc9139
commit
ef97f362e3
@ -14,9 +14,9 @@ export default function addBrim(slices, settings) {
|
|||||||
let { brimOffset } = settings.config;
|
let { brimOffset } = settings.config;
|
||||||
brimOffset /= PRECISION;
|
brimOffset /= PRECISION;
|
||||||
|
|
||||||
const [fistLayer] = slices;
|
const [firstLayer] = slices;
|
||||||
|
|
||||||
fistLayer.brim = fistLayer.parts.reduce((brim, { shape }) => {
|
firstLayer.brim = firstLayer.parts.reduce((brim, { shape }) => {
|
||||||
brim.join(shape.offset(brimOffset, {
|
brim.join(shape.offset(brimOffset, {
|
||||||
...offsetOptions,
|
...offsetOptions,
|
||||||
endType: shape.closed ? 'etClosedPolygon' : 'etOpenRound'
|
endType: shape.closed ? 'etClosedPolygon' : 'etOpenRound'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user