Format a whole directory easily (#5816)

* recast a whole directory

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* move

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-03-17 15:55:25 -07:00
committed by GitHub
parent 4dd669bd46
commit ff6186f4f0
22 changed files with 610 additions and 458 deletions

View File

@ -1,5 +1,6 @@
@settings(defaultLengthUnit = mm)
export part001 = startSketchOn('XY')
|> startProfileAt([4, 12], %)
|> line(end = [2, 0])
@ -12,4 +13,6 @@ export part001 = startSketchOn('XY')
|> close()
|> revolve({ axis = 'y' }, %) // default angle is 360
export fn two = () => { return 5 }
export fn two() {
return 5
}

View File

@ -11,16 +11,16 @@ description: Operations executed import_function_not_sketch.kcl
"value": "XY"
},
"sourceRange": [
66,
70,
67,
71,
3
]
}
},
"name": "startSketchOn",
"sourceRange": [
52,
71,
53,
72,
3
],
"type": "StdLibCall",
@ -39,8 +39,8 @@ description: Operations executed import_function_not_sketch.kcl
}
},
"sourceRange": [
312,
326,
313,
327,
3
]
},
@ -52,16 +52,16 @@ description: Operations executed import_function_not_sketch.kcl
}
},
"sourceRange": [
328,
329,
330,
3
]
}
},
"name": "revolve",
"sourceRange": [
304,
330,
305,
331,
3
],
"type": "StdLibCall",