Getting Started
How-to's
API
PruneZ0Mixin
PruneZ0Mixin.prune_z_0()
Links
Classes:
PruneZ0Mixin()
Bases: object
object
Methods:
prune_z_0()
prune_z_0
Drop third dimension (z) coordinates if present and all values are equal to 0 (within tolerance).
For compatibility, sometimes a column with zeroes is added, for example when exporting to gmsh2.2 format. This method drops that column.