From be8cb5e52f9997dc051c325a3055d8685584e65f Mon Sep 17 00:00:00 2001 From: paloknapo Date: Thu, 31 Aug 2023 12:23:54 +0000 Subject: [PATCH] Default DEMO Advanced Project --- .vscode/launch.json | 4 ++-- main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 52e92f3..a895cc3 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -13,9 +13,9 @@ "justMyCode": true, "envFile": "${workspaceFolder}/.env", "args": [ - "{\"projectId\": \"843d07eb10\", \"modelId\": \"base design\", \"versionId\": \"2a32ccfee1\", \"speckleServerUrl\": \"https://latest.speckle.systems\"}", + "{\"projectId\": \"361e185dc7\", \"modelId\": \"arch\", \"versionId\": \"dfec9dca8a\", \"speckleServerUrl\": \"https://speckle.xyz\"}", // make sure to use camelCase for variable names - "{\"reportMessage\": \"Objects.Geometry.Brep\"}" + "{\"reportMessage\": \"Total area, mean area, number of rooms \"}" ], }, ] diff --git a/main.py b/main.py index 3964999..763fb54 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,7 @@ def main(speckle_project_data: str, function_inputs: str, speckle_token: str = " project_data = SpeckleProjectData.model_validate_json(speckle_project_data) inputs = FunctionInputs.model_validate_json(function_inputs) - automate_function(project_data, inputs, speckle_token) + automate_function(project_data, function_inputs, speckle_token) if __name__ == "__main__":