More numeric types baby steps (#5388)
* Add units to Paths Signed-off-by: Nick Cameron <nrc@ncameron.org> * Add some NumericType combination functions Signed-off-by: Nick Cameron <nrc@ncameron.org> * Fix docs/json/snippets generation from schemas Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -54,9 +54,27 @@ describe('processMemory', () => {
|
||||
},
|
||||
],
|
||||
theSketch: [
|
||||
{ type: 'ToPoint', to: [-3.35, 0.17], from: [0, 0], tag: null },
|
||||
{ type: 'ToPoint', to: [0.98, 5.16], from: [-3.35, 0.17], tag: null },
|
||||
{ type: 'ToPoint', to: [2.15, 4.32], from: [0.98, 5.16], tag: null },
|
||||
{
|
||||
type: 'ToPoint',
|
||||
to: [-3.35, 0.17],
|
||||
from: [0, 0],
|
||||
units: { type: 'Mm' },
|
||||
tag: null,
|
||||
},
|
||||
{
|
||||
type: 'ToPoint',
|
||||
to: [0.98, 5.16],
|
||||
from: [-3.35, 0.17],
|
||||
units: { type: 'Mm' },
|
||||
tag: null,
|
||||
},
|
||||
{
|
||||
type: 'ToPoint',
|
||||
to: [2.15, 4.32],
|
||||
from: [0.98, 5.16],
|
||||
units: { type: 'Mm' },
|
||||
tag: null,
|
||||
},
|
||||
],
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user