mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-16 19:17:57 +01:00
typo
This commit is contained in:
parent
55b63ac8ad
commit
3e52a11a9b
@ -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…
Reference in New Issue
Block a user