bump rev 3.0.D13
This commit is contained in:
parent
841df7b5a9
commit
1e1da6689c
4 changed files with 6 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "grid-apps",
|
||||
"version": "3.0.12D",
|
||||
"version": "3.0.13D",
|
||||
"description": "grid.space 3d slice & modeling tools",
|
||||
"author": "Stewart Allen <sa@grid.space>",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -520,8 +520,6 @@
|
|||
fill = numOrDefault(opts.fill, ClipperLib.PolyFillType.pftNonZero),
|
||||
join = numOrDefault(opts.join, ClipperLib.JoinType.jtMiter),
|
||||
type = numOrDefault(opts.type, ClipperLib.EndType.etClosedPolygon),
|
||||
coff = new ClipperLib.ClipperOffset(opts.miter, opts.arc),
|
||||
ctre = new ClipperLib.PolyTree(),
|
||||
// if dist is array with values, shift out next offset
|
||||
offs = Array.isArray(dist) ? (dist.length > 1 ? dist.shift() : dist[0]) : dist,
|
||||
mina = numOrDefault(opts.minArea, 0.1),
|
||||
|
|
@ -530,6 +528,9 @@
|
|||
if (opts.wasm && geo.wasm) {
|
||||
polys = geo.wasm.js.offset(polys, offs, zed);
|
||||
} else {
|
||||
let coff = new ClipperLib.ClipperOffset(opts.miter, opts.arc),
|
||||
ctre = new ClipperLib.PolyTree();
|
||||
|
||||
// setup offset
|
||||
for (let poly of polys) {
|
||||
// convert to clipper format
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
if (!self.kiri) {
|
||||
self.kiri = {
|
||||
beta: 3012,
|
||||
beta: 3013,
|
||||
driver: {}, // driver modules
|
||||
loader: [] // module loading: array of functions
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
let terms = {
|
||||
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
|
||||
LICENSE: "See the license.md file included with the source distribution",
|
||||
VERSION: "3.0.D12"
|
||||
VERSION: "3.0.D13"
|
||||
};
|
||||
|
||||
if (typeof(module) === 'object') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue