@mylasertools/kerfscript 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +199 -0
- package/LANGUAGE.md +90 -42
- package/dist/assembly.d.cts +20 -1
- package/dist/assembly.d.ts +20 -1
- package/dist/cli.js +2236 -375
- package/dist/colors.d.cts +4 -0
- package/dist/colors.d.ts +4 -0
- package/dist/effects.d.cts +2 -2
- package/dist/effects.d.ts +2 -2
- package/dist/evaluator.d.cts +9 -1
- package/dist/evaluator.d.ts +9 -1
- package/dist/export/mesh.d.cts +16 -3
- package/dist/export/mesh.d.ts +16 -3
- package/dist/export/model.d.cts +4 -2
- package/dist/export/model.d.ts +4 -2
- package/dist/export/pages.d.cts +23 -0
- package/dist/export/pages.d.ts +23 -0
- package/dist/geometry.d.cts +20 -0
- package/dist/geometry.d.ts +20 -0
- package/dist/hardware.d.cts +2 -0
- package/dist/hardware.d.ts +2 -0
- package/dist/highlight.cjs +1 -1
- package/dist/highlight.js +1 -1
- package/dist/index.cjs +1308 -77
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1308 -77
- package/dist/instructions.d.cts +27 -0
- package/dist/instructions.d.ts +27 -0
- package/dist/language.cjs +1281 -50
- package/dist/language.js +1281 -50
- package/dist/libraries.cjs +1262 -36
- package/dist/libraries.js +1262 -36
- package/dist/lights.d.cts +38 -0
- package/dist/lights.d.ts +38 -0
- package/dist/png.d.cts +14 -0
- package/dist/png.d.ts +14 -0
- package/dist/render.d.cts +5 -0
- package/dist/render.d.ts +5 -0
- package/dist/signatures.cjs +75 -4
- package/dist/signatures.js +75 -4
- package/dist/text.d.cts +23 -0
- package/dist/text.d.ts +23 -0
- package/dist/verify/types.d.cts +6 -0
- package/dist/verify/types.d.ts +6 -0
- package/docs/3d-files.md +29 -8
- package/docs/cli.md +12 -1
- package/docs/customizer.md +13 -0
- package/docs/javascript.md +6 -1
- package/docs/layers.md +24 -1
- package/docs/library.md +454 -16
- package/docs/parts-and-sheets.md +205 -28
- package/docs/verification.md +1 -1
- package/docs/versions.md +2 -2
- package/package.json +1 -1
package/docs/parts-and-sheets.md
CHANGED
|
@@ -90,6 +90,25 @@ use <kerf/box>
|
|
|
90
90
|
place(at = [20, 10, 30], rotate = [0, 0, 90]) box([80, 60, 40], name = "crate");
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
+
### Copies that differ
|
|
94
|
+
|
|
95
|
+
Inside `part(qty = n)`, `$copy` is the copy being drawn, 0 up to n - 1. A
|
|
96
|
+
part whose drawing reads it is drawn once for each copy, so a set of
|
|
97
|
+
ornaments takes a name each, or drawers a number each:
|
|
98
|
+
|
|
99
|
+
```kerf
|
|
100
|
+
names = ["Anna", "Ben", "Cleo", "Dan"];
|
|
101
|
+
part("tag", qty = len(names)) {
|
|
102
|
+
difference() { rect([50, 20], r = 3); translate([6, 10]) circle(d = 4); }
|
|
103
|
+
engrave() translate([30, 10]) text(names[$copy], fit = [32, 10], halign = "center", valign = "center");
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Copies that come out alike stay one part; each that differs is a part of
|
|
108
|
+
its own with the same name, and the parts list says which copies it is:
|
|
109
|
+
`tag (copies 1, 4) x2`. With `at` given per copy, each goes to its own
|
|
110
|
+
place.
|
|
111
|
+
|
|
93
112
|
### Stacks, mirrored pairs and glued layers
|
|
94
113
|
|
|
95
114
|
- `stack = 3` glues three layers at each placement, one thickness apart:
|
|
@@ -97,6 +116,22 @@ place(at = [20, 10, 30], rotate = [0, 0, 90]) box([80, 60, 40], name = "crate");
|
|
|
97
116
|
many make a stack.
|
|
98
117
|
- `material = "red acrylic"` names the material the part is cut from,
|
|
99
118
|
as wrapping it in `material(name = "red acrylic")` would.
|
|
119
|
+
- `pieces = 2` says the part is meant to cut into two separate pieces,
|
|
120
|
+
as a pair of eyes glued on side by side; `pieces = "any"` takes any
|
|
121
|
+
number. Without it, a part in pieces warns, as a missing connection
|
|
122
|
+
usually makes one. A part that cuts into a different number of pieces
|
|
123
|
+
than `pieces` says still warns.
|
|
124
|
+
- `paint = "red"` paints the part after cutting: the 3D view and the
|
|
125
|
+
print layout show it red, while it stays on the sheet of its material.
|
|
126
|
+
`material = "red acrylic"` is for stock that comes red, and puts the
|
|
127
|
+
part on a sheet of its own. A colour is a name (`red`, `orange`,
|
|
128
|
+
`yellow`, `light yellow`, `green`, `dark green`, `light green`, `lime`,
|
|
129
|
+
`olive`, `blue`, `dark blue`, `light blue`, `navy`, `teal`, `purple`,
|
|
130
|
+
`pink`, `light pink`, `maroon`, `brown`, `light brown`, `dark brown`,
|
|
131
|
+
`tan`, `beige`, `peach`, `cream`, `skin`, `white`, `black`, `grey`,
|
|
132
|
+
`light grey`, `dark grey`, `silver`, `gold`, `copper`)
|
|
133
|
+
or a hex colour such as `"#c8372d"`. To paint only some areas, use a
|
|
134
|
+
paint layer, as [Layers](layers.md#painted-areas) shows.
|
|
100
135
|
- `mirror = true` cuts the part mirrored left to right. A lopsided end
|
|
101
136
|
plate's other half is the same part mirrored, and its engraving still
|
|
102
137
|
reads the right way round. A mirrored copy of a bent part bends as its
|
|
@@ -104,7 +139,8 @@ place(at = [20, 10, 30], rotate = [0, 0, 90]) box([80, 60, 40], name = "crate");
|
|
|
104
139
|
- `glue = "top plate", face = "top"` lays a part on another part's face,
|
|
105
140
|
its `at` and `rotate` measured on that face. Move the plate, and what is
|
|
106
141
|
glued on it moves too. A stack glued under a part (`face = "bottom"`)
|
|
107
|
-
grows down, away from it.
|
|
142
|
+
grows down, away from it. A part glued to a stack goes on the stack's
|
|
143
|
+
outer layer, on top of it or under it.
|
|
108
144
|
|
|
109
145
|
```kerf
|
|
110
146
|
part("seat", at = [0, 0, 40]) rect([80, 80], r = 6);
|
|
@@ -123,12 +159,15 @@ bent by a living hinge cuts slots for the tabs on its straight runs. A part
|
|
|
123
159
|
must reach 1 mm into it (or half way through a thinner one) to cut a slot,
|
|
124
160
|
and a blind tab's slot goes through: one that only dips into the surface is
|
|
125
161
|
misplaced, and the collision check reports it rather than a
|
|
126
|
-
slot hiding it.
|
|
162
|
+
slot hiding it. Each tab is judged on its own depth, however deep the
|
|
163
|
+
others of its part go.
|
|
127
164
|
|
|
128
165
|
The layers of a stack each cut the slots that pass through them. When they
|
|
129
166
|
differ, as a bench top of `stack = 2` taking the legs' tabs in its lower
|
|
130
167
|
layer and a vice's in its upper one, the stack becomes a part per layer,
|
|
131
168
|
`top, layer 1` and `top, layer 2`, so blind joints don't show through.
|
|
169
|
+
`halving = "top"` still finds both, and `--print` still prints them as
|
|
170
|
+
one stack.
|
|
132
171
|
|
|
133
172
|
```kerf
|
|
134
173
|
part("shelf", slots = ["back"]) rect([100, 60]);
|
|
@@ -195,7 +234,8 @@ part("Cam", at = [30, 18, 20], rotate = [90, 0, 0], bores = ["Crank axle"],
|
|
|
195
234
|
A living hinge bends a part, and the assembled view can show it bent.
|
|
196
235
|
`bend = [x0, x1, angle]` bends the part along its x between x0 and x1, the
|
|
197
236
|
far end folding up towards its top face by `angle` degrees (down for a
|
|
198
|
-
negative angle); give a list for more than one bend
|
|
237
|
+
negative angle); give a list for more than one bend, or an empty list
|
|
238
|
+
for none. The hinge's middle
|
|
199
239
|
layer keeps its length, so the radius follows from the hinge's width.
|
|
200
240
|
Parts glued on a bent part take `on = "name"` and move with the run they
|
|
201
241
|
sit on. `flex_strip()` in `kerf/hinge` works out the bends of a strip that
|
|
@@ -211,6 +251,74 @@ part("cover", bend = [[100, 100 + bend_length(10, 90), 90], [130, 130 + bend_len
|
|
|
211
251
|
|
|
212
252
|
The collision check takes each flat run of a bent part on its own.
|
|
213
253
|
|
|
254
|
+
### Folds
|
|
255
|
+
|
|
256
|
+
Card and paper fold along any line, not only along x. `fold = [from, to,
|
|
257
|
+
angle]`, or a list of them, folds the part along the line from one point
|
|
258
|
+
to the other in the assembled view: the folds cut it into panels, the
|
|
259
|
+
panel at the part's origin (else the biggest) stays flat, and each other
|
|
260
|
+
panel turns about the folds between it and that one, towards the top face
|
|
261
|
+
for an angle more than 0 and down for less. A fold must run from edge to
|
|
262
|
+
edge, or to a cut: cut lines inside the part, as a pop-up's slits, part
|
|
263
|
+
the panels too, and a fold that divides nothing warns. `fold_open = 0.5`
|
|
264
|
+
folds every fold half way, for a card shown half open; 0 lies flat.
|
|
265
|
+
|
|
266
|
+
Score the folds as well, so the card bends where it should:
|
|
267
|
+
|
|
268
|
+
```kerf
|
|
269
|
+
$thickness = 0.4;
|
|
270
|
+
open = 1; // [0:0.05:1]
|
|
271
|
+
// A card with a pop-up step in the middle: two slits across the fold
|
|
272
|
+
part("card", at = [0, 0, 0], fold_open = open, fold = [
|
|
273
|
+
[[80, 0], [80, 40], 90], [[80, 60], [80, 100], 90],
|
|
274
|
+
[[70, 40], [70, 60], 90], [[80, 40], [80, 60], -90], [[90, 40], [90, 60], 90]
|
|
275
|
+
]) {
|
|
276
|
+
rect([160, 100]);
|
|
277
|
+
for (y = [40, 60]) line([70, y], [90, y]);
|
|
278
|
+
score() {
|
|
279
|
+
line([80, 0], [80, 40]); line([80, 60], [80, 100]);
|
|
280
|
+
for (x = [70, 80, 90]) line([x, 40], [x, 60]);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
A part bends on living hinges or folds, not both. Folds show in the
|
|
286
|
+
assembled view and its 3D files; flat and print layouts lie flat.
|
|
287
|
+
|
|
288
|
+
### Does it stand?
|
|
289
|
+
|
|
290
|
+
`$stands = true;` says the model is meant to stand on a shelf or table:
|
|
291
|
+
then it warns when its weight's centre is not over what it stands on, the
|
|
292
|
+
outline of its lowest points, as a figure leaning too far or an egg held
|
|
293
|
+
out beyond a small base. The parts weigh as plywood (`$density = 0.6`
|
|
294
|
+
g/cm³), and hardware weighs what its `mass` (grams) says, so an egg or a
|
|
295
|
+
bottle it holds counts:
|
|
296
|
+
|
|
297
|
+
```kerf
|
|
298
|
+
$stands = true;
|
|
299
|
+
part("base", at = [-20, -20, 0]) rect([40, 40]);
|
|
300
|
+
part("arm", at = [0, -1.5, 3], rotate = [90, 0, 0]) rect([60, 5]);
|
|
301
|
+
// A 60 g egg held out past the base: the model tips over
|
|
302
|
+
hardware("ball", [55, 0, 30], size = 44, shape = "ball", mass = 60);
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
### Hanging parts
|
|
306
|
+
|
|
307
|
+
A part that hangs, as a shelf sitter's legs on cords or a charm on a ring,
|
|
308
|
+
swings until its weight is straight below the point it hangs from.
|
|
309
|
+
`hang = [x, y]` is that point on the part, in its own coordinates, and
|
|
310
|
+
`at` is where it hangs in the assembly; `rotate` sets the plane it swings
|
|
311
|
+
in. `cord = 20` hangs it 20 mm lower on a cord, which goes in the hardware
|
|
312
|
+
list and the 3D view; without it the part hangs on a ring or pin at `at`.
|
|
313
|
+
|
|
314
|
+
```kerf
|
|
315
|
+
$thickness = 3;
|
|
316
|
+
part("body", at = [-20, 0, 0], rotate = [90, 0, 0]) rect([40, 50]);
|
|
317
|
+
// Legs drawn lying down: each swings down from its top end
|
|
318
|
+
part("leg", qty = 2, at = [[-10, -1.5, 2], [10, -1.5, 2]], rotate = [90, 0, 0],
|
|
319
|
+
hang = [0, 0], cord = 20) translate([0, -4]) rect([40, 8]);
|
|
320
|
+
```
|
|
321
|
+
|
|
214
322
|
### Numbered parts
|
|
215
323
|
|
|
216
324
|
`$label_parts = true;` numbers the parts 1, 2, 3 in the order they are
|
|
@@ -235,7 +343,7 @@ adds the step "Add the chair: Glue the seat". So a piece of furniture
|
|
|
235
343
|
builds step by step on its own and inside a room. `step("Add the chair",
|
|
236
344
|
substeps = false)` takes everything inside into the one step instead.
|
|
237
345
|
|
|
238
|
-
`hardware(kind, from, to, size)` lists what else the model needs: a dowel
|
|
346
|
+
`hardware(kind, from, to, size, mass)` lists what else the model needs: a dowel
|
|
239
347
|
from one point to another, a screw, a magnet, a strip of paper. `size` is
|
|
240
348
|
a diameter, or `[w, h]` for a flat piece. `kerf check` lists the hardware
|
|
241
349
|
with the parts, and the 3D view shows it.
|
|
@@ -249,30 +357,62 @@ The kinds are these; a colour (`pink`, `yellow`, `red`, `green`, `blue`,
|
|
|
249
357
|
`orange`, `purple`, `black`, `grey`) works too, and any other kind warns
|
|
250
358
|
and shows grey. JavaScript gets the list as `HARDWARE_KINDS`.
|
|
251
359
|
|
|
252
|
-
| Kind | What it is
|
|
253
|
-
| ---------- |
|
|
254
|
-
| `dowel` | a wooden dowel or axle
|
|
255
|
-
| `steel` | a steel rod, pin or axle
|
|
256
|
-
| `brass` | a brass rod, tube or pin
|
|
257
|
-
| `screw` | a screw
|
|
258
|
-
| `bolt` | a bolt
|
|
259
|
-
| `nut` | a nut
|
|
260
|
-
| `magnet` | a disc or block magnet
|
|
261
|
-
| `paper` | a sheet or strip of paper
|
|
262
|
-
| `
|
|
263
|
-
| `
|
|
264
|
-
| `
|
|
265
|
-
| `
|
|
266
|
-
| `
|
|
267
|
-
| `
|
|
268
|
-
| `
|
|
269
|
-
| `
|
|
270
|
-
| `
|
|
271
|
-
| `
|
|
272
|
-
| `
|
|
273
|
-
| `
|
|
274
|
-
| `
|
|
275
|
-
| `
|
|
360
|
+
| Kind | What it is | Shown |
|
|
361
|
+
| ---------- | -------------------------------------------- | -------------------- |
|
|
362
|
+
| `dowel` | a wooden dowel or axle | matt, #e2c48f |
|
|
363
|
+
| `steel` | a steel rod, pin or axle | metal, #a7adb3 |
|
|
364
|
+
| `brass` | a brass rod, tube or pin | metal, #c9a227 |
|
|
365
|
+
| `screw` | a screw | metal, #9aa0a6 |
|
|
366
|
+
| `bolt` | a bolt | metal, #9aa0a6 |
|
|
367
|
+
| `nut` | a nut | metal, #9aa0a6 |
|
|
368
|
+
| `magnet` | a disc or block magnet | metal, #55585c |
|
|
369
|
+
| `paper` | a sheet or strip of paper | translucent, #fbfaf6 |
|
|
370
|
+
| `vellum` | vellum or tracing paper, as a lantern window | translucent, #f3efe2 |
|
|
371
|
+
| `card` | card stock | matt, #f4f1e8 |
|
|
372
|
+
| `felt` | felt pads or lining | matt, #6f6a64 |
|
|
373
|
+
| `elastic` | an elastic band or cord | matt, #262626 |
|
|
374
|
+
| `cord` | cord, string or thread | matt, #b23a3a |
|
|
375
|
+
| `ribbon` | ribbon or tape | matt, #c2485a |
|
|
376
|
+
| `wire` | wire | metal, #b87333 |
|
|
377
|
+
| `led` | an LED or a strip of them, lit | glowing, #fff4c2 |
|
|
378
|
+
| `bulb` | a light bulb, lit | glowing, #fff4c2 |
|
|
379
|
+
| `tealight` | a tealight, lit, its flame flickering | metal, #d4d8dc |
|
|
380
|
+
| `ball` | a marble, ball or bead | matt, #8fb8d8 |
|
|
381
|
+
| `tube` | a tube or hollow arbor | metal, #c9a227 |
|
|
382
|
+
| `lens` | a lens | matt, #d6ecf3 |
|
|
383
|
+
| `mirror` | a mirror | metal, #c8d3da |
|
|
384
|
+
| `movement` | a bought clock, music box or motor movement | matt, #3d3d3d |
|
|
385
|
+
| `white` | anything white | matt, #f7f7f4 |
|
|
386
|
+
|
|
387
|
+
### Lights
|
|
388
|
+
|
|
389
|
+
A tealight, an LED and a bulb give off light: the 3D view lights the model
|
|
390
|
+
with them, and GLB files carry them as point lights, for a render of a
|
|
391
|
+
lantern or a tealight house lit up. "Dim the room" in the 3D view turns the
|
|
392
|
+
room's lights down to show them.
|
|
393
|
+
|
|
394
|
+
- `hardware("tealight", [x, y, z])` stands a tealight, 39 mm across and
|
|
395
|
+
16 mm high, on that point. Its flame burns 10 mm above the cup and
|
|
396
|
+
flickers. Give `to` and `size` for another size, as `size = 59` and `to`
|
|
397
|
+
24 mm above for a maxi tealight.
|
|
398
|
+
- `hardware("led", from, to)` longer than 20 mm is a strip of LEDs, lit
|
|
399
|
+
all along; a shorter one, or a ball, is a single LED.
|
|
400
|
+
- `hardware("bulb", at, size = 60, shape = "ball")` is a bulb.
|
|
401
|
+
- `light(at, color = "warm white", lumens = 20)` is a light with nothing
|
|
402
|
+
to show for it, as a battery light hidden in a base. `to = [x, y, z]`
|
|
403
|
+
makes it a strip, and `flicker = true` a flame. The colour is `"warm
|
|
404
|
+
white"`, `"white"`, `"cool white"`, `"warm"`, `"flame"`, a paint
|
|
405
|
+
colour's name or a hex colour.
|
|
406
|
+
|
|
407
|
+
```kerf
|
|
408
|
+
part("base", at = [-40, -40, 0]) rect([80, 80]);
|
|
409
|
+
hardware("tealight", [0, 0, 3]);
|
|
410
|
+
light([0, 0, 60], "cool white", lumens = 40);
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
`render()` returns the lights as `lights`: each has `from` and `to` (the
|
|
414
|
+
same point unless it is a strip), `color`, `lumens`, `flicker`, `source`
|
|
415
|
+
(`"tealight"`, `"led"`, `"bulb"` or `"light"`), `step` and `label`.
|
|
276
416
|
|
|
277
417
|
```kerf
|
|
278
418
|
step("Stand the walls in the base") {
|
|
@@ -300,6 +440,15 @@ The two plywood panels share a sheet. The acrylic window goes on a separate
|
|
|
300
440
|
sheet. Each part records the `$thickness`, `$kerf` and `$material` values in
|
|
301
441
|
effect where it is defined.
|
|
302
442
|
|
|
443
|
+
The 3D view and 3D files colour each part by the woods, sheets and colours
|
|
444
|
+
named in its material. A clear material (`clear`, `acrylic`, `perspex`,
|
|
445
|
+
`glass`) shows see-through. A translucent one (`vellum`, `tracing` paper,
|
|
446
|
+
`parchment`, `rice paper`, `frosted` acrylic, `paper`) lets light through:
|
|
447
|
+
a tealight behind a vellum window shows through it, and in GLB files it is
|
|
448
|
+
partly transparent with `KHR_materials_transmission`, so a renderer lights
|
|
449
|
+
it from behind. `hardware("vellum", ...)` and `hardware("paper", ...)` are
|
|
450
|
+
translucent too.
|
|
451
|
+
|
|
303
452
|
## Sheets
|
|
304
453
|
|
|
305
454
|
Set the available sheet size and spacing in millimetres:
|
|
@@ -317,6 +466,27 @@ parts and at the sheet edges.
|
|
|
317
466
|
A part larger than the sheet produces a warning. Set `$layout = "none"`
|
|
318
467
|
to keep the positions from your code instead of packing the parts.
|
|
319
468
|
|
|
469
|
+
`part(split = true)` cuts a part too big for the bed, as large wall art, a
|
|
470
|
+
wreath or a sign, into pieces that fit the sheet less its margins;
|
|
471
|
+
`split = [w, h]` gives the size instead. The cuts run across the part in
|
|
472
|
+
columns and rows, each where it crosses the least material and keeps off
|
|
473
|
+
engraving, and where a cut crosses material it is joined by jigsaw knobs
|
|
474
|
+
`$knob` (12) mm across, with `$knob_clearance` (0.15 mm) between a knob and
|
|
475
|
+
its socket, placed clear of engraving. Each piece is a part of its own,
|
|
476
|
+
`"wreath piece 1"` up, in its place in the assembled view, and the parts
|
|
477
|
+
list says which pieces it joins.
|
|
478
|
+
|
|
479
|
+
```kerf
|
|
480
|
+
$sheet = [300, 200];
|
|
481
|
+
part("wreath", split = true) {
|
|
482
|
+
difference() { circle(d = 480); circle(d = 320); }
|
|
483
|
+
engrave() for (a = [0:30:330]) rotate(a) translate([200, 0]) circle(8);
|
|
484
|
+
}
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
Either way, parts of different materials or thicknesses go on separate
|
|
488
|
+
sheets: plywood parts on one, acrylic on another.
|
|
489
|
+
|
|
320
490
|
The CLI `--margin` option and API `margin` option let you set the edge
|
|
321
491
|
spacing separately from the gap between parts.
|
|
322
492
|
|
|
@@ -359,6 +529,13 @@ sheet turned over left to right: `design-back.svg` from the command line,
|
|
|
359
529
|
sheet over without moving the parts in it, line it up on the same corner
|
|
360
530
|
and run the back job.
|
|
361
531
|
|
|
532
|
+
The back job is the front file turned over within the file's own width,
|
|
533
|
+
the width in its SVG (`sheet.width` in JavaScript), not your stock's. On
|
|
534
|
+
stock just as wide as the file, the same corner lines up. On wider stock,
|
|
535
|
+
a 300 mm sheet for a 46 mm wide file, the turned-over parts lie the
|
|
536
|
+
difference further right, 254 mm here: start the back job that far from
|
|
537
|
+
the corner, or cut the stock to the file's width first.
|
|
538
|
+
|
|
362
539
|
```kerf
|
|
363
540
|
part("coaster") {
|
|
364
541
|
circle(d = 90);
|
package/docs/verification.md
CHANGED
|
@@ -42,7 +42,7 @@ need separate evidence. Unsupported cases and exhausted checking budgets remain
|
|
|
42
42
|
unverified.
|
|
43
43
|
|
|
44
44
|
Missing cutting metadata, open cutting lines affecting rigid material, bends,
|
|
45
|
-
legacy `echo("hardware", ...)`, compiler warnings, exhausted budgets and numerical
|
|
45
|
+
folds, legacy `echo("hardware", ...)`, compiler warnings, exhausted budgets and numerical
|
|
46
46
|
boundary cases cannot produce a required geometric pass. Cases refused by the
|
|
47
47
|
renderer remain failed required configurations; they are not dropped from coverage.
|
|
48
48
|
|
package/docs/versions.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Versions
|
|
2
2
|
|
|
3
|
-
KerfScript 0.
|
|
3
|
+
KerfScript 0.11.0 implements language version 0.3. The package version tracks
|
|
4
4
|
the software release; the language version tracks the syntax and behavior
|
|
5
5
|
of `.kerf` programs.
|
|
6
6
|
|
|
@@ -30,4 +30,4 @@ files used with a design. Applications that store designs should retain
|
|
|
30
30
|
that information and compare the output before upgrading the interpreter.
|
|
31
31
|
|
|
32
32
|
Pin the npm package to an exact version when your application needs a fixed
|
|
33
|
-
renderer, for example `@mylasertools/kerfscript@0.
|
|
33
|
+
renderer, for example `@mylasertools/kerfscript@0.11.0`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mylasertools/kerfscript",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "KerfScript: a programming language and library for laser-cutting generators. Write parametric 2D parts with cut, score and engrave layers, kerf compensation and joinery, then turn settings into SVG or DXF cut files from Node.js, the browser, the command line or WebAssembly.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0-only",
|