Hi,
I’m creating some geometries (2D faces) with the SDK.
I’m struggling on how to assign a color to each of those faces but no success so far.
The only module i’ve found to do that is:
Hi @chris,
I’m trying hard but the colors are still not working.
If you can, and want, check the attached file.
I’m outputting various possibilities: Surfaces, Meshes and invalid meshes (don’t get why). The code defines the colors on lines 50-53 as different types (Ladybug, Color and list). Lines 57 and 58 define the meshes, one without color and the other with. The last one, when uncommented, gives an error about the color type.
Line 62 defines a mesh from a face. The result is an “Invalid mesh”. Don’t get why?