Skip to content

Commit 5a57499

Browse files
authored
Merge pull request #14 from ibois-epfl/main
Adding pointcloud datatype to cpy gh-componentizer
2 parents dfec7e4 + 2d0ac10 commit 5a57499

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Supports a small set of templated variables that can be used in code:
184184
string values (their respective Guids are not listed here for readability):
185185
`none`, `ghdoc`, `float`, `bool`, `int`, `complex`, `str`, `datetime`, `guid`,
186186
`color`, `point`, `vector`, `plane`, `interval`, `uvinterval`, `box`, `transform`,
187-
`line`, `circle`, `arc`, `polyline`, `rectangle`, `curve`, `mesh`, `surface`, `subd`, `brep`, `geometrybase`.
187+
`line`, `circle`, `arc`, `polyline`, `rectangle`, `curve`, `mesh`, `surface`, `subd`, `brep`, `pointcloud`, `geometrybase`.
188188
* `reverse`: **(optional)** Defines whether data inside the parameter is reversed. Defaults to `False`.
189189
* `simplify`: **(optional)** Defines whether data inside the parameter is simplified. Defaults to `False`.
190190
* `flatten`: **(optional)** Defines whether data inside the parameter is flattened. Mutually exclusive with `graft`. Defaults to `False`.

componentize_cpy.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
surface="f4070a37-c822-410f-9057-100d2e22a22d",
4949
subd="20f4ca9c-6c90-4fd6-ba8a-5bf9ca79db08",
5050
brep="2ceb0405-fdfe-403d-a4d6-8786da45fb9d",
51+
pointcloud="d73c9fb0-365d-458f-9fb5-f4141399311f",
5152
geometrybase="c37956f4-d39c-49c7-af71-1e87f8031b26"
5253
)
5354

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

0 commit comments

Comments
 (0)