glotzerlab / glotzerlab/coxeter
Improve IO module
Open
@josephburkhart is already working on this.
Since Aug 19, 2025.
- Dominant language
- Python
- Stars
- 25
- Forks
- 5
- Avg merge
- 9m
- Merged PRs (30d)
- 3
Description
The io module could use the following improvements:
- The module's name suggests it is for both importing and exporting geometries, but currently it only supports exporting. We should allow users to import geometries from the same file formats, within reason.
- The module currently only supports exporting from instances of
Polyhedronand its children. It would be nice to extend this functionality toSphereandConvexSpheropolyhedron. Additionally, we should consider whether it would be useful to extend this functionality to 2D, perhaps by adding support for barebones rendering to SVG.
It makes sense to work on item 2 only after completing #273 , since extending export functionality to rounded shapes requires implementing some kind of tessellation algorithm.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.