diff --git a/docs/kcl/std.json b/docs/kcl/std.json index 7de1bd1a91..08c4f8a495 100644 --- a/docs/kcl/std.json +++ b/docs/kcl/std.json @@ -849,16 +849,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -1969,16 +1969,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -2926,16 +2926,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -4046,16 +4046,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -4287,16 +4287,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -5321,16 +5321,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -6569,16 +6569,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -6831,16 +6831,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -7865,16 +7865,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -8180,16 +8180,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -9214,16 +9214,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -10462,16 +10462,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -10724,16 +10724,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -11758,16 +11758,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -12073,16 +12073,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -13107,16 +13107,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -14355,16 +14355,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -14617,16 +14617,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -15651,16 +15651,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -16343,16 +16343,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -17489,16 +17489,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -18737,16 +18737,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -18887,16 +18887,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -19921,16 +19921,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -20221,16 +20221,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -21255,16 +21255,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -22503,16 +22503,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -22765,16 +22765,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -23799,16 +23799,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -24099,16 +24099,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -25133,16 +25133,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -26381,16 +26381,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -26643,16 +26643,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -27677,16 +27677,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -28028,16 +28028,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -29062,16 +29062,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -30310,16 +30310,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -30572,16 +30572,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -31606,16 +31606,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -32330,16 +32330,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -33364,16 +33364,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -34612,16 +34612,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -34874,16 +34874,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -35908,16 +35908,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -37111,16 +37111,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -38377,16 +38377,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -39530,16 +39530,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -41091,16 +41091,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -42339,16 +42339,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -43086,16 +43086,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -44120,16 +44120,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -44394,16 +44394,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -45428,16 +45428,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -46676,16 +46676,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -46938,16 +46938,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -47972,16 +47972,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -48347,9 +48347,9 @@ "__meta", "id", "on", + "paths", "start", - "type", - "value" + "type" ], "properties": { "type": { @@ -48359,11 +48359,11 @@ ] }, "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -49410,16 +49410,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -49997,16 +49997,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -51921,16 +51921,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -53187,16 +53187,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -54340,16 +54340,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -56999,16 +56999,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -58304,16 +58304,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -59330,9 +59330,9 @@ "__meta", "id", "on", + "paths", "start", - "type", - "value" + "type" ], "properties": { "type": { @@ -59342,11 +59342,11 @@ ] }, "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -60393,16 +60393,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -60654,16 +60654,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -61688,16 +61688,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -61950,16 +61950,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -62984,16 +62984,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -63562,16 +63562,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -64867,16 +64867,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -66364,16 +66364,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -67398,16 +67398,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -67683,16 +67683,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -68717,16 +68717,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -69162,16 +69162,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -70196,16 +70196,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -71444,16 +71444,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -71706,16 +71706,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -72740,16 +72740,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -73030,16 +73030,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -74064,16 +74064,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -75312,16 +75312,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -75574,16 +75574,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -76608,16 +76608,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -76924,16 +76924,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -78172,16 +78172,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -79740,16 +79740,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -81775,16 +81775,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -85531,16 +85531,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -89291,16 +89291,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -92800,9 +92800,9 @@ "__meta", "id", "on", + "paths", "start", - "type", - "value" + "type" ], "properties": { "type": { @@ -92812,11 +92812,11 @@ ] }, "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -94085,16 +94085,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -94241,16 +94241,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -95789,9 +95789,9 @@ "__meta", "id", "on", + "paths", "start", - "type", - "value" + "type" ], "properties": { "type": { @@ -95801,11 +95801,11 @@ ] }, "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -96857,16 +96857,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -97125,16 +97125,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -98771,16 +98771,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -100082,16 +100082,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -101092,9 +101092,9 @@ "__meta", "id", "on", + "paths", "start", - "type", - "value" + "type" ], "properties": { "type": { @@ -101104,11 +101104,11 @@ ] }, "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -102160,16 +102160,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -102428,16 +102428,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -104058,16 +104058,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -105369,16 +105369,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -106675,16 +106675,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -107986,16 +107986,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -109078,16 +109078,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -110112,16 +110112,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -110402,16 +110402,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -111436,16 +111436,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -111721,16 +111721,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -112755,16 +112755,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -113903,16 +113903,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -118052,16 +118052,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -121808,16 +121808,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -125562,16 +125562,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -129449,16 +129449,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -130705,16 +130705,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -131148,16 +131148,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -134791,16 +134791,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -135976,16 +135976,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -137589,16 +137589,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -138837,16 +138837,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -139726,16 +139726,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -140760,16 +140760,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -141052,16 +141052,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -142086,16 +142086,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -142787,16 +142787,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -144135,16 +144135,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -145589,16 +145589,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -146560,16 +146560,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -147594,16 +147594,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -148842,16 +148842,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -149104,16 +149104,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -150138,16 +150138,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -150427,16 +150427,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -151461,16 +151461,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -152709,16 +152709,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -152971,16 +152971,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -154005,16 +154005,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -154294,16 +154294,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -155328,16 +155328,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -156576,16 +156576,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -156838,16 +156838,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -157872,16 +157872,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -158255,16 +158255,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -159289,16 +159289,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -160537,16 +160537,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -160799,16 +160799,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -161833,16 +161833,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -162117,16 +162117,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -163151,16 +163151,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -164399,16 +164399,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -164661,16 +164661,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -165695,16 +165695,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -165979,16 +165979,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -167013,16 +167013,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -168261,16 +168261,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -168523,16 +168523,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -169557,16 +169557,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -169841,16 +169841,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -170875,16 +170875,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -172123,16 +172123,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -172385,16 +172385,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { @@ -173419,16 +173419,16 @@ "__meta", "id", "on", - "start", - "value" + "paths", + "start" ], "properties": { "id": { - "description": "The id of the sketch (this will change when the engine's reference to it changes.", + "description": "The id of the sketch (this will change when the engine's reference to it changes).", "type": "string", "format": "uuid" }, - "value": { + "paths": { "description": "The paths in the sketch.", "type": "array", "items": { diff --git a/docs/kcl/types/Sketch.md b/docs/kcl/types/Sketch.md index ab0b36cd4f..e5889c2edd 100644 --- a/docs/kcl/types/Sketch.md +++ b/docs/kcl/types/Sketch.md @@ -16,8 +16,8 @@ A sketch is a collection of paths. | Property | Type | Description | Required | |----------|------|-------------|----------| -| `id` |`string`| The id of the sketch (this will change when the engine's reference to it changes. | No | -| `value` |`[` [`Path`](/docs/kcl/types/Path) `]`| The paths in the sketch. | No | +| `id` |`string`| The id of the sketch (this will change when the engine's reference to it changes). | No | +| `paths` |`[` [`Path`](/docs/kcl/types/Path) `]`| The paths in the sketch. | No | | `on` |[`SketchSurface`](/docs/kcl/types/SketchSurface)| What the sketch is on (can be a plane or a face). | No | | `start` |[`BasePath`](/docs/kcl/types/BasePath)| The starting path. | No | | `tags` |`object`| Tag identifiers that have been declared in this sketch. | No | diff --git a/docs/kcl/types/SketchSet.md b/docs/kcl/types/SketchSet.md index 2475b1018f..c5f47636e4 100644 --- a/docs/kcl/types/SketchSet.md +++ b/docs/kcl/types/SketchSet.md @@ -25,8 +25,8 @@ A sketch is a collection of paths. | Property | Type | Description | Required | |----------|------|-------------|----------| | `type` |enum: `sketch`| | No | -| `id` |`string`| The id of the sketch (this will change when the engine's reference to it changes. | No | -| `value` |`[` [`Path`](/docs/kcl/types/Path) `]`| The paths in the sketch. | No | +| `id` |`string`| The id of the sketch (this will change when the engine's reference to it changes). | No | +| `paths` |`[` [`Path`](/docs/kcl/types/Path) `]`| The paths in the sketch. | No | | `on` |[`SketchSurface`](/docs/kcl/types/SketchSurface)| What the sketch is on (can be a plane or a face). | No | | `start` |[`BasePath`](/docs/kcl/types/BasePath)| The starting path. | No | | `tags` |`object`| Tag identifiers that have been declared in this sketch. | No | diff --git a/src/clientSideScene/sceneEntities.ts b/src/clientSideScene/sceneEntities.ts index 5faea3e780..4f4203641e 100644 --- a/src/clientSideScene/sceneEntities.ts +++ b/src/clientSideScene/sceneEntities.ts @@ -407,7 +407,7 @@ export class SceneEntities { if (err(sketch)) return Promise.reject(sketch) if (!sketch) return Promise.reject('sketch not found') - if (!isArray(sketch?.value)) + if (!isArray(sketch?.paths)) return { truncatedAst, programMemoryOverride, @@ -435,7 +435,7 @@ export class SceneEntities { maybeModdedAst, sketch.start.__geoMeta.sourceRange ) - if (sketch?.value?.[0]?.type !== 'Circle') { + if (sketch?.paths?.[0]?.type !== 'Circle') { const _profileStart = createProfileStartHandle({ from: sketch.start.from, id: sketch.start.__geoMeta.id, @@ -451,16 +451,16 @@ export class SceneEntities { this.activeSegments[JSON.stringify(segPathToNode)] = _profileStart } const callbacks: (() => SegmentOverlayPayload | null)[] = [] - sketch.value.forEach((segment, index) => { + sketch.paths.forEach((segment, index) => { let segPathToNode = getNodePathFromSourceRange( maybeModdedAst, segment.__geoMeta.sourceRange ) if ( draftExpressionsIndices && - (sketch.value[index - 1] || sketch.start) + (sketch.paths[index - 1] || sketch.start) ) { - const previousSegment = sketch.value[index - 1] || sketch.start + const previousSegment = sketch.paths[index - 1] || sketch.start const previousSegmentPathToNode = getNodePathFromSourceRange( maybeModdedAst, previousSegment.__geoMeta.sourceRange @@ -511,7 +511,7 @@ export class SceneEntities { to: segment.to, } const result = initSegment({ - prevSegment: sketch.value[index - 1], + prevSegment: sketch.paths[index - 1], callExpName, input, id: segment.__geoMeta.id, @@ -610,9 +610,9 @@ export class SceneEntities { variableDeclarationName ) if (err(sg)) return Promise.reject(sg) - const lastSeg = sg?.value?.slice(-1)[0] || sg.start + const lastSeg = sg?.paths?.slice(-1)[0] || sg.start - const index = sg.value.length // because we've added a new segment that's not in the memory yet, no need for `-1` + const index = sg.paths.length // because we've added a new segment that's not in the memory yet, no need for `-1` const mod = addNewSketchLn({ node: _ast, programMemory: kclManager.programMemory, @@ -654,7 +654,7 @@ export class SceneEntities { let modifiedAst if (profileStart) { - const lastSegment = sketch.value.slice(-1)[0] + const lastSegment = sketch.paths.slice(-1)[0] modifiedAst = addCallExpressionsToPipe({ node: kclManager.ast, programMemory: kclManager.programMemory, @@ -686,7 +686,7 @@ export class SceneEntities { }) if (trap(modifiedAst)) return Promise.reject(modifiedAst) } else if (intersection2d) { - const lastSegment = sketch.value.slice(-1)[0] + const lastSegment = sketch.paths.slice(-1)[0] const tmp = addNewSketchLn({ node: kclManager.ast, programMemory: kclManager.programMemory, @@ -817,7 +817,7 @@ export class SceneEntities { variableDeclarationName ) if (err(sketch)) return Promise.reject(sketch) - const sgPaths = sketch.value + const sgPaths = sketch.paths const orthoFactor = orthoScale(sceneInfra.camControls.camera) this.updateSegment(sketch.start, 0, 0, _ast, orthoFactor, sketch) @@ -868,7 +868,7 @@ export class SceneEntities { variableDeclarationName ) if (err(sketch)) return - const sgPaths = sketch.value + const sgPaths = sketch.paths const orthoFactor = orthoScale(sceneInfra.camControls.camera) // Update the starting segment of the THREEjs scene @@ -985,7 +985,7 @@ export class SceneEntities { variableDeclarationName ) if (err(sketch)) return - const sgPaths = sketch.value + const sgPaths = sketch.paths const orthoFactor = orthoScale(sceneInfra.camControls.camera) this.updateSegment(sketch.start, 0, 0, _ast, orthoFactor, sketch) @@ -1105,7 +1105,7 @@ export class SceneEntities { const pipeIndex = pathToNode[pathToNodeIndex + 1][0] as number if (addingNewSegmentStatus === 'nothing') { - const prevSegment = sketch.value[pipeIndex - 2] + const prevSegment = sketch.paths[pipeIndex - 2] const mod = addNewSketchLn({ node: kclManager.ast, programMemory: kclManager.programMemory, @@ -1345,7 +1345,7 @@ export class SceneEntities { } if (!sketch) return - const sgPaths = sketch.value + const sgPaths = sketch.paths const orthoFactor = orthoScale(sceneInfra.camControls.camera) this.updateSegment( @@ -1393,7 +1393,7 @@ export class SceneEntities { modifiedAst, segment.__geoMeta.sourceRange ) - const sgPaths = sketch.value + const sgPaths = sketch.paths const originalPathToNodeStr = JSON.stringify(segPathToNode) segPathToNode[1][0] = varDecIndex const pathToNodeStr = JSON.stringify(segPathToNode) @@ -1701,7 +1701,7 @@ function prepareTruncatedMemoryAndAst( variableDeclarationName ) if (err(sg)) return sg - const lastSeg = sg?.value.slice(-1)[0] + const lastSeg = sg?.paths.slice(-1)[0] if (draftSegment) { // truncatedAst needs to setup with another segment at the end let newSegment diff --git a/src/clientSideScene/segments.ts b/src/clientSideScene/segments.ts index 4630e5966e..b2d8f7f81a 100644 --- a/src/clientSideScene/segments.ts +++ b/src/clientSideScene/segments.ts @@ -58,7 +58,7 @@ import { err } from 'lib/trap' interface CreateSegmentArgs { input: SegmentInputs - prevSegment: Sketch['value'][number] + prevSegment: Sketch['paths'][number] id: string pathToNode: PathToNode isDraftSegment?: boolean @@ -72,7 +72,7 @@ interface CreateSegmentArgs { interface UpdateSegmentArgs { input: SegmentInputs - prevSegment: Sketch['value'][number] + prevSegment: Sketch['paths'][number] group: Group sceneInfra: SceneInfra scale?: number diff --git a/src/components/ModelingSidebar/ModelingPanes/MemoryPane.tsx b/src/components/ModelingSidebar/ModelingPanes/MemoryPane.tsx index c945265aaf..bec0092403 100644 --- a/src/components/ModelingSidebar/ModelingPanes/MemoryPane.tsx +++ b/src/components/ModelingSidebar/ModelingPanes/MemoryPane.tsx @@ -95,7 +95,7 @@ export const processMemory = (programMemory: ProgramMemory) => { return rest }) } else if (!err(sg)) { - processedMemory[key] = sg.value.map(({ __geoMeta, ...rest }: Path) => { + processedMemory[key] = sg.paths.map(({ __geoMeta, ...rest }: Path) => { return rest }) } else if ((val.type as any) === 'Function') { diff --git a/src/lang/artifact.test.ts b/src/lang/artifact.test.ts index 4ed3965ce1..5a60607038 100644 --- a/src/lang/artifact.test.ts +++ b/src/lang/artifact.test.ts @@ -32,7 +32,7 @@ const mySketch001 = startSketchOn('XY') sourceRange: [46, 71], }, }, - value: [ + paths: [ { type: 'ToPoint', tag: null, @@ -96,7 +96,7 @@ const mySketch001 = startSketchOn('XY') on: expect.any(Object), start: expect.any(Object), type: 'Sketch', - value: [ + paths: [ { type: 'ToPoint', from: [0, 0], @@ -202,7 +202,7 @@ const sk2 = startSketchOn('XY') info: expect.any(Object), }, }, - value: [ + paths: [ { type: 'ToPoint', from: [0, 0], @@ -294,7 +294,7 @@ const sk2 = startSketchOn('XY') info: expect.any(Object), }, }, - value: [ + paths: [ { type: 'ToPoint', from: [0, 0], diff --git a/src/lang/executor.test.ts b/src/lang/executor.test.ts index d1dd03cd84..825f848197 100644 --- a/src/lang/executor.test.ts +++ b/src/lang/executor.test.ts @@ -58,7 +58,7 @@ const newVar = myVar + 1` ` const mem = await exe(code) // geo is three js buffer geometry and is very bloated to have in tests - const minusGeo = mem.get('mySketch')?.value?.value + const minusGeo = mem.get('mySketch')?.value?.paths expect(minusGeo).toEqual([ { type: 'ToPoint', @@ -175,7 +175,7 @@ const newVar = myVar + 1` info: expect.any(Object), }, }, - value: [ + paths: [ { type: 'ToPoint', to: [1, 1], @@ -367,7 +367,7 @@ describe('testing math operators', () => { const mem = await exe(code) const sketch = sketchFromKclValue(mem.get('part001'), 'part001') // result of `-legLen(5, min(3, 999))` should be -4 - const yVal = (sketch as Sketch).value?.[0]?.to?.[1] + const yVal = (sketch as Sketch).paths?.[0]?.to?.[1] expect(yVal).toBe(-4) }) it('test that % substitution feeds down CallExp->ArrExp->UnaryExp->CallExp', async () => { @@ -385,8 +385,8 @@ describe('testing math operators', () => { const mem = await exe(code) const sketch = sketchFromKclValue(mem.get('part001'), 'part001') // expect -legLen(segLen('seg01'), myVar) to equal -4 setting the y value back to 0 - expect((sketch as Sketch).value?.[1]?.from).toEqual([3, 4]) - expect((sketch as Sketch).value?.[1]?.to).toEqual([6, 0]) + expect((sketch as Sketch).paths?.[1]?.from).toEqual([3, 4]) + expect((sketch as Sketch).paths?.[1]?.to).toEqual([6, 0]) const removedUnaryExp = code.replace( `-legLen(segLen(seg01), myVar)`, `legLen(segLen(seg01), myVar)` @@ -398,7 +398,7 @@ describe('testing math operators', () => { ) // without the minus sign, the y value should be 8 - expect((removedUnaryExpMemSketch as Sketch).value?.[1]?.to).toEqual([6, 8]) + expect((removedUnaryExpMemSketch as Sketch).paths?.[1]?.to).toEqual([6, 8]) }) it('with nested callExpression and binaryExpression', async () => { const code = 'const myVar = 2 + min(100, -1 + legLen(5, 3))' diff --git a/src/lang/queryAst.ts b/src/lang/queryAst.ts index 73c655fe41..6b91a76d1a 100644 --- a/src/lang/queryAst.ts +++ b/src/lang/queryAst.ts @@ -717,7 +717,7 @@ export function isLinesParallelAndConstrained( constraintType === 'angle' || constraintLevel === 'full' // get the previous segment - const prevSegment = sg.value[secondaryIndex - 1] + const prevSegment = sg.paths[secondaryIndex - 1] const prevSourceRange = prevSegment.__geoMeta.sourceRange const isParallelAndConstrained = diff --git a/src/lang/std/sketch.ts b/src/lang/std/sketch.ts index dc2ff8938f..f1fb7699df 100644 --- a/src/lang/std/sketch.ts +++ b/src/lang/std/sketch.ts @@ -64,7 +64,7 @@ const ARC_SEGMENT_ERR = new Error('Invalid input, expected "arc-segment"') export type Coords2d = [number, number] export function getCoordsFromPaths(skGroup: Sketch, index = 0): Coords2d { - const currentPath = skGroup?.value?.[index] + const currentPath = skGroup?.paths?.[index] if (!currentPath && skGroup?.start) { return skGroup.start.to } else if (!currentPath) { @@ -1704,7 +1704,7 @@ export const angledLineThatIntersects: SketchLineHelper = { varName ) if (err(sketch)) return sketch - const intersectPath = sketch.value.find( + const intersectPath = sketch.paths.find( ({ tag }: Path) => tag && tag.value === intersectTagName ) let offset = 0 diff --git a/src/lang/std/sketchConstraints.ts b/src/lang/std/sketchConstraints.ts index 565e12cf1d..591154e1b7 100644 --- a/src/lang/std/sketchConstraints.ts +++ b/src/lang/std/sketchConstraints.ts @@ -18,7 +18,7 @@ export function getSketchSegmentFromPathToNode( pathToNode: PathToNode ): | { - segment: Sketch['value'][number] + segment: Sketch['paths'][number] index: number } | Error { @@ -39,15 +39,15 @@ export function getSketchSegmentFromSourceRange( [rangeStart, rangeEnd]: SourceRange ): | { - segment: Sketch['value'][number] + segment: Sketch['paths'][number] index: number } | Error { - const lineIndex = sketch.value.findIndex( + const lineIndex = sketch.paths.findIndex( ({ __geoMeta: { sourceRange } }: Path) => sourceRange[0] <= rangeStart && sourceRange[1] >= rangeEnd ) - const line = sketch.value[lineIndex] + const line = sketch.paths[lineIndex] if (line) { return { segment: line, diff --git a/src/lang/std/sketchcombos.ts b/src/lang/std/sketchcombos.ts index 87491ff5c7..f9ea371a5f 100644 --- a/src/lang/std/sketchcombos.ts +++ b/src/lang/std/sketchcombos.ts @@ -1732,7 +1732,7 @@ export function transformAstSketchLines({ if (err(_segment)) return _segment referencedSegment = _segment.segment } else { - referencedSegment = sketch.value.find( + referencedSegment = sketch.paths.find( (path) => path.tag?.value === _referencedSegmentName ) } diff --git a/src/wasm-lib/kcl/src/executor.rs b/src/wasm-lib/kcl/src/executor.rs index 362dee9371..2c855417a0 100644 --- a/src/wasm-lib/kcl/src/executor.rs +++ b/src/wasm-lib/kcl/src/executor.rs @@ -1137,10 +1137,10 @@ pub struct TagEngineInfo { #[ts(export)] #[serde(tag = "type", rename_all = "camelCase")] pub struct Sketch { - /// The id of the sketch (this will change when the engine's reference to it changes. + /// The id of the sketch (this will change when the engine's reference to it changes). pub id: uuid::Uuid, /// The paths in the sketch. - pub value: Vec, + pub paths: Vec, /// What the sketch is on (can be a plane or a face). pub on: SketchSurface, /// The starting path. @@ -1215,7 +1215,7 @@ impl Sketch { /// Get the path most recently sketched. pub(crate) fn latest_path(&self) -> Option<&Path> { - self.value.last() + self.paths.last() } /// The "pen" is an imaginary pen drawing the path. diff --git a/src/wasm-lib/kcl/src/std/extrude.rs b/src/wasm-lib/kcl/src/std/extrude.rs index a8724fba93..dd8c2a2e50 100644 --- a/src/wasm-lib/kcl/src/std/extrude.rs +++ b/src/wasm-lib/kcl/src/std/extrude.rs @@ -141,14 +141,14 @@ pub(crate) async fn do_post_extrude( ) .await?; - if sketch.value.is_empty() { + if sketch.paths.is_empty() { return Err(KclError::Type(KclErrorDetails { message: "Expected a non-empty sketch".to_string(), source_ranges: vec![args.source_range], })); } - let edge_id = sketch.value.iter().find_map(|segment| match segment { + let edge_id = sketch.paths.iter().find_map(|segment| match segment { Path::ToPoint { base } | Path::Circle { base, .. } => Some(base.geo_meta.id), _ => None, }); @@ -229,7 +229,7 @@ pub(crate) async fn do_post_extrude( } = analyze_faces(exec_state, &args, face_infos); // Iterate over the sketch.value array and add face_id to GeoMeta let new_value = sketch - .value + .paths .iter() .flat_map(|path| { if let Some(Some(actual_face_id)) = face_id_map.get(&path.get_base().geo_meta.id) { diff --git a/src/wasm-lib/kcl/src/std/segment.rs b/src/wasm-lib/kcl/src/std/segment.rs index a97bea6d44..9dfa429eb1 100644 --- a/src/wasm-lib/kcl/src/std/segment.rs +++ b/src/wasm-lib/kcl/src/std/segment.rs @@ -109,7 +109,7 @@ pub async fn last_segment_x(_exec_state: &mut ExecState, args: Args) -> Result Result { let last_line = sketch - .value + .paths .last() .ok_or_else(|| { KclError::Type(KclErrorDetails { @@ -149,7 +149,7 @@ pub async fn last_segment_y(_exec_state: &mut ExecState, args: Args) -> Result Result { let last_line = sketch - .value + .paths .last() .ok_or_else(|| { KclError::Type(KclErrorDetails { @@ -289,7 +289,7 @@ fn inner_angle_to_match_length_x( let length = ((path.from[1] - path.to[1]).powi(2) + (path.from[0] - path.to[0]).powi(2)).sqrt(); let last_line = sketch - .value + .paths .last() .ok_or_else(|| { KclError::Type(KclErrorDetails { @@ -353,7 +353,7 @@ fn inner_angle_to_match_length_y( let length = ((path.from[1] - path.to[1]).powi(2) + (path.from[0] - path.to[0]).powi(2)).sqrt(); let last_line = sketch - .value + .paths .last() .ok_or_else(|| { KclError::Type(KclErrorDetails { diff --git a/src/wasm-lib/kcl/src/std/shapes.rs b/src/wasm-lib/kcl/src/std/shapes.rs index 96feb777e6..a1ff5d4cef 100644 --- a/src/wasm-lib/kcl/src/std/shapes.rs +++ b/src/wasm-lib/kcl/src/std/shapes.rs @@ -134,7 +134,7 @@ async fn inner_circle( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); args.batch_modeling_cmd(id, ModelingCmd::from(mcmd::ClosePath { path_id: new_sketch.id })) .await?; diff --git a/src/wasm-lib/kcl/src/std/sketch.rs b/src/wasm-lib/kcl/src/std/sketch.rs index 2d0b622ef6..91085fa315 100644 --- a/src/wasm-lib/kcl/src/std/sketch.rs +++ b/src/wasm-lib/kcl/src/std/sketch.rs @@ -154,7 +154,7 @@ async fn inner_line_to( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } @@ -323,7 +323,7 @@ async fn inner_line( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } @@ -506,7 +506,7 @@ async fn inner_angled_line( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } @@ -1237,7 +1237,7 @@ pub(crate) async fn inner_start_profile_at( id: path_id, original_id: path_id, on: sketch_surface.clone(), - value: vec![], + paths: vec![], meta: vec![args.source_range.into()], tags: if let Some(tag) = &tag { let mut tag_identifier: TagIdentifier = tag.into(); @@ -1411,7 +1411,7 @@ pub(crate) async fn inner_close( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } @@ -1545,7 +1545,7 @@ pub(crate) async fn inner_arc( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } @@ -1677,7 +1677,7 @@ async fn inner_tangential_arc( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } @@ -1773,7 +1773,7 @@ async fn inner_tangential_arc_to( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } @@ -1858,7 +1858,7 @@ async fn inner_tangential_arc_to_relative( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } @@ -1951,7 +1951,7 @@ async fn inner_bezier_curve( new_sketch.add_tag(tag, ¤t_path); } - new_sketch.value.push(current_path); + new_sketch.paths.push(current_path); Ok(new_sketch) } diff --git a/src/wasm-lib/tests/executor/inputs/member_expression_sketch.kcl b/src/wasm-lib/tests/executor/inputs/member_expression_sketch.kcl index f02e76a00c..5e18848c8f 100644 --- a/src/wasm-lib/tests/executor/inputs/member_expression_sketch.kcl +++ b/src/wasm-lib/tests/executor/inputs/member_expression_sketch.kcl @@ -1,5 +1,5 @@ -fn cube = (pos, scale) => { - const sg = startSketchOn('XY') +fn square = (pos, scale) => { + sg = startSketchOn('XY') |> startProfileAt(pos, %) |> line([0, scale], %) |> line([scale, 0], %) @@ -9,9 +9,9 @@ fn cube = (pos, scale) => { return sg } -const b1 = cube([0,0], 10) -const b2 = cube([3,3], 4) +sq = square([0,0], 10) +cb = square([3,3], 4) |> extrude(10, %) -const pt1 = b1.value[0] -const pt2 = b2.value[0] +pt1 = sq.paths[0] +pt2 = cb.value[0]