Declare std kwarg functions in KCL and migrate circle (#5955)
* Support calling KCL std KW fns, and move circle to KCL std Signed-off-by: Nick Cameron <nrc@ncameron.org> * Doc comments on parameters Signed-off-by: Nick Cameron <nrc@ncameron.org> * Update grammar Signed-off-by: Nick Cameron <nrc@ncameron.org> * Change use of counterClockWise to ccw Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
		| @ -75,6 +75,72 @@ description: Operations executed ssi_pattern.kcl | ||||
|     "type": "StdLibCall", | ||||
|     "unlabeledArg": null | ||||
|   }, | ||||
|   { | ||||
|     "type": "UserDefinedFunctionCall", | ||||
|     "name": "circle", | ||||
|     "functionSourceRange": [ | ||||
|       0, | ||||
|       0, | ||||
|       0 | ||||
|     ], | ||||
|     "unlabeledArg": null, | ||||
|     "labeledArgs": { | ||||
|       "center": { | ||||
|         "value": { | ||||
|           "type": "Array", | ||||
|           "value": [ | ||||
|             { | ||||
|               "type": "Number", | ||||
|               "value": -2.08, | ||||
|               "ty": { | ||||
|                 "type": "Default", | ||||
|                 "len": { | ||||
|                   "type": "Mm" | ||||
|                 }, | ||||
|                 "angle": { | ||||
|                   "type": "Degrees" | ||||
|                 } | ||||
|               } | ||||
|             }, | ||||
|             { | ||||
|               "type": "Number", | ||||
|               "value": 47.7, | ||||
|               "ty": { | ||||
|                 "type": "Default", | ||||
|                 "len": { | ||||
|                   "type": "Mm" | ||||
|                 }, | ||||
|                 "angle": { | ||||
|                   "type": "Degrees" | ||||
|                 } | ||||
|               } | ||||
|             } | ||||
|           ] | ||||
|         }, | ||||
|         "sourceRange": [] | ||||
|       }, | ||||
|       "radius": { | ||||
|         "value": { | ||||
|           "type": "Number", | ||||
|           "value": 1.4, | ||||
|           "ty": { | ||||
|             "type": "Default", | ||||
|             "len": { | ||||
|               "type": "Mm" | ||||
|             }, | ||||
|             "angle": { | ||||
|               "type": "Degrees" | ||||
|             } | ||||
|           } | ||||
|         }, | ||||
|         "sourceRange": [] | ||||
|       } | ||||
|     }, | ||||
|     "sourceRange": [] | ||||
|   }, | ||||
|   { | ||||
|     "type": "UserDefinedFunctionReturn" | ||||
|   }, | ||||
|   { | ||||
|     "labeledArgs": { | ||||
|       "length": { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user