addedInput schema / allOf
Added value: +[
+ {
+ "if": {
+ "properties": {
+ "as_edge": {
+ "const": true
+ }
+ },
+ "required": [
+ "as_edge"
+ ]
+ },
+ "then": {
+ "not": {
+ "required": [
+ "scale_mode"
+ ]
+ },
+ "required": [
+ "source_plane",
+ "direction"
+ ]
+ }
+ },
+ {
+ "if": {
+ "anyOf": [
+ {
+ "required": [
+ "source_plane"
+ ]
+ },
+ {
+ "required": [
+ "direction"
+ ]
+ }
+ ]
+ },
+ "then": {
+ "properties": {
+ "as_edge": {
+ "const": true
+ }
+ },
+ "required": [
+ "as_edge"
+ ]
+ }
+ }
+]
removedInput schema / properties / asEdge
Removed value: -{
- "description": "Open-wire (edge) projection. NOT IMPLEMENTED — rejected at edit time. Use a closed-curve projection (omit asEdge).",
- "type": "boolean"
-}
addedInput schema / properties / as_edge
Added value: +{
+ "description": "Open-wire projection. When true, commands must be open, source_plane and direction are required, and bind_as receives an awaited Curve3D[] result.",
+ "type": "boolean"
+}
removedInput schema / properties / bindAs
Removed value: -{
- "description": "Optional local variable name; emits `const <bindAs> = <target>.projectCurve(...);`.",
- "type": "string"
-}
addedInput schema / properties / bind_as
Added value: +{
+ "description": "Optional local variable name; emits a const binding (awaited when as_edge is true).",
+ "type": "string"
+}
changedInput schema / properties / commands / description
Previous value: -"Closed 2D path to wrap onto the face, as plain-number commands. Must start with a `moveTo` and end with a `close` (e.g. [{kind:\"moveTo\",x:0,y:0},{kind:\"lineTo\",x:2,y:0},{kind:\"lineTo\",x:2,y:2},{kind:\"close\"}])."New value: +"2D path as plain-number commands. Closed mode starts with moveTo and ends with close; open mode starts with moveTo, has one or more segments, and has no close."
addedInput schema / properties / direction
Added value: +{
+ "description": "Required with as_edge:true. Non-zero world-space projection direction.",
+ "items": {
+ "type": "number"
+ },
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+}
removedInput schema / properties / scaleMode
Removed value: -{
- "description": "Drawing.sketchOnFace scaling mode. Default original.",
- "enum": [
- "original",
- "native",
- "bounds"
- ],
- "type": "string"
-}
addedInput schema / properties / scale_mode
Added value: +{
+ "description": "Closed projection Drawing.sketchOnFace scaling mode. Default original.",
+ "enum": [
+ "original",
+ "native",
+ "bounds"
+ ],
+ "type": "string"
+}
addedInput schema / properties / source_plane
Added value: +{
+ "description": "Required with as_edge:true. Places the 2D source path in world space; origin is in mm and x_axis/normal define its frame.",
+ "properties": {
+ "normal": {
+ "items": {
+ "type": "number"
+ },
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+ },
+ "origin": {
+ "items": {
+ "type": "number"
+ },
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+ },
+ "x_axis": {
+ "items": {
+ "type": "number"
+ },
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "origin",
+ "normal",
+ "x_axis"
+ ],
+ "type": "object"
+}