playing with trimesh (+ shapely) #228
villares
started this conversation in
Show and tell
Replies: 2 comments 3 replies
-
No, this is possible! I can do something like this: isinstance(foo, types.GeneratorType) to test if something is a generator. Using that code, I can convert a generator to a list, and then pass that list to Java. |
Beta Was this translation helpful? Give feedback.
0 replies
-
More experiments... https://github.com/villares/sketch-a-day/blob/main/2023/sketch_2023_02_03/sketch_2023_02_03.py |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@hx2A, would it be too hard to make
vertices()
accept a generator so we could avoid building that list?Beta Was this translation helpful? Give feedback.
All reactions