NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4645 most downloaded on PyPI
I/O for many mesh formats
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 1.9 years
Rarely documented
notes for 3 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
213 releases · first in 2015
Nothing published for this version
Nothing published for this version
Nothing published for this version
mesh.cells used to be a dictionary of the form
mesh.cells used to be a dictionary of the form
{
"triangle": [[0, 1, 2], [0, 2, 3]],
"quad": [[0, 7, 1, 10], ...]
}
From 4.0.0 on, mesh.cells is a list of tuples,
[
("triangle", [[0, 1, 2], [0, 2, 3]]),
("quad", [[0, 7, 1, 10], ...])
]
This has the advantage that multiple blocks of the same cell type can be accounted for. Also, cell ordering can be preserved.
You can now use the method mesh.get_cells_type("triangle") to get all cells of
"triangle" type, or use mesh.cells_dict to build the old dictionary structure.
mesh.cell_data used to be a dictionary of the form
{
"triangle": {"a": [0.5, 1.3], "b": [2.17, 41.3]},
"quad": {"a": [1.1, -0.3, ...], "b": [3.14, 1.61, ...]},
}
From 4.0.0 on, mesh.cell_data is a dictionary of lists,
{
"a": [[0.5, 1.3], [1.1, -0.3, ...]],
"b": [[2.17, 41.3], [3.14, 1.61, ...]],
}
Each data list, e.g., mesh.cell_data["a"], can be zipped with mesh.cells.
An old-style cell_data dictionary can be retrieved via mesh.cell_data_dict.
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
some VTK fixes and simplifications
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
some VTK fixes and simplifications
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →