Skip to content

Commit 906cf36

Browse files
committed
FIX: adjust code.py to be ready to build components
1 parent 6e301b2 commit 906cf36

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/gh/components/DF_load_cloud_from_file/code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ def RunScript(self,
3636

3737
return [rh_cloud]
3838

39-
if __name__ == "__main__":
40-
com = DFLoadCloudFromFile()
41-
o_rh_cloud = com.RunScript(i_path, i_scalef)
39+
# if __name__ == "__main__":
40+
# com = DFLoadCloudFromFile()
41+
# o_rh_cloud = com.RunScript(i_path, i_scalef)

src/gh/components/DF_load_cloud_from_file/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{
1717
"name": "i_path",
1818
"nickname": "i_path",
19-
"description": "Path of the file (e.g. .ply) to import",
19+
"description": "Path to the .ply file to import",
2020
"optional": true,
2121
"allowTreeAccess": true,
2222
"showTypeHints": true,
@@ -42,7 +42,7 @@
4242
{
4343
"name": "o_rh_cloud",
4444
"nickname": "o_rh_cloud",
45-
"description": "The imported cloud in rhino format.",
45+
"description": "The imported point cloud as a Rhino object.",
4646
"optional": false,
4747
"sourceCount": 0,
4848
"graft": false

src/gh/components/DF_load_mesh_from_file/code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ def RunScript(self,
3636

3737
return [rh_mesh]
3838

39-
if __name__ == "__main__":
40-
com = DFLoadMeshFromFile()
41-
o_rh_mesh = com.RunScript(i_path, i_scalef)
39+
# if __name__ == "__main__":
40+
# com = DFLoadMeshFromFile()
41+
# o_rh_mesh = com.RunScript(i_path, i_scalef)

src/gh/components/DF_load_mesh_from_file/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{
1717
"name": "i_path",
1818
"nickname": "i_path",
19-
"description": "Path of the file (e.g. .ply) to import",
19+
"description": "Path to the .ply file to import",
2020
"optional": true,
2121
"allowTreeAccess": true,
2222
"showTypeHints": true,
@@ -42,7 +42,7 @@
4242
{
4343
"name": "o_rh_mesh",
4444
"nickname": "o_rh_mesh",
45-
"description": "The imported mesh.",
45+
"description": "The imported mesh as a Rhino object.",
4646
"optional": false,
4747
"sourceCount": 0,
4848
"graft": false

0 commit comments

Comments
 (0)