The Sketch’s current path.
The Sketch’s current path. If the
where parameter is used, the result will be a subdirectory of the current path.
Result will be relative to Python’s current working directory (
os.getcwd()) unless it was specifically set to something else with the run_sketch() call by including a
--sketch-path argument in the
Underlying Processing method: sketchPath
sketch_path() -> Path sketch_path(where: str, /) -> Path
where: str - subdirectories relative to the sketch path
Updated on November 12, 2021 11:30:58am UTC