Skip to content

Commit

Permalink
Merge pull request compas-dev#14 from ibois-epfl/main
Browse files Browse the repository at this point in the history
Adding pointcloud datatype to cpy gh-componentizer
  • Loading branch information
gonzalocasas authored May 19, 2024
2 parents dfec7e4 + 2d0ac10 commit 5a57499
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Supports a small set of templated variables that can be used in code:
string values (their respective Guids are not listed here for readability):
`none`, `ghdoc`, `float`, `bool`, `int`, `complex`, `str`, `datetime`, `guid`,
`color`, `point`, `vector`, `plane`, `interval`, `uvinterval`, `box`, `transform`,
`line`, `circle`, `arc`, `polyline`, `rectangle`, `curve`, `mesh`, `surface`, `subd`, `brep`, `geometrybase`.
`line`, `circle`, `arc`, `polyline`, `rectangle`, `curve`, `mesh`, `surface`, `subd`, `brep`, `pointcloud`, `geometrybase`.
* `reverse`: **(optional)** Defines whether data inside the parameter is reversed. Defaults to `False`.
* `simplify`: **(optional)** Defines whether data inside the parameter is simplified. Defaults to `False`.
* `flatten`: **(optional)** Defines whether data inside the parameter is flattened. Mutually exclusive with `graft`. Defaults to `False`.
Expand Down
3 changes: 2 additions & 1 deletion componentize_cpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
surface="f4070a37-c822-410f-9057-100d2e22a22d",
subd="20f4ca9c-6c90-4fd6-ba8a-5bf9ca79db08",
brep="2ceb0405-fdfe-403d-a4d6-8786da45fb9d",
pointcloud="d73c9fb0-365d-458f-9fb5-f4141399311f",
geometrybase="c37956f4-d39c-49c7-af71-1e87f8031b26"
)

Expand Down Expand Up @@ -405,4 +406,4 @@ def create_ghuser_component(source, target, version=None, prefix=None):
target = os.path.join(targetdir, d + ".ghuser")
print(" [ ] {}\r".format(d), end="")
create_ghuser_component(source, target, args.version, args.prefix)
print(" [x] {} => {}".format(d, target))
print(" [x] {} => {}".format(d, target))

0 comments on commit 5a57499

Please sign in to comment.