Polygon yz basis bug

Hello group,

There might be a bug in the model.polygon composite surface. I am trying to create a polygon like the following:

It creates a rhombus tube along the designated axis depending on the basis parameter. This works well when basis=xy or xz, as shown below:


Basis=‘xy’. xy plot. Colored by cell.

Basis=‘xy’. xz plot. Colored by cell.

Basis=‘xy’. yz plot. Colored by cell.


Basis=‘xz’. xy plot. Colored by cell.

Basis=‘xz’. xz plot. Colored by cell.

Basis=‘xz’. yz plot. Colored by cell.

However, it does not work when basis=xz. As shown below.


Basis=‘yz’. xy plot. Colored by cell.

Basis=‘yz’. xz plot. Colored by cell.

Basis=‘yz’. yz plot. Colored by cell.

Does anyone have any idea about it? I’ve attached my script.
Polygon_yz_bug.py (2.8 KB)

Thanks for pointing this out @wxinyan - this has just been fixed in PR #3259

1 Like