Closed w0rm closed 3 years ago
Some open questions:
ObjCoordinates
or let encode any coordinate system?ObjCoordinates
.elm-triangular-mesh
or similar) but not totally sure 🤷♂️ Value
type can be a bit constraining (for example you can sometimes parse faster if you know exactly what you're expecting to parse - parsing into a Value
means you have to handle all possible cases)@ianmackenzie thanks for your comments!
Value
type, that is passed down in the decoder as List Group
, I've been thinking about exposing it. This way something can be encoded/decoded without serialising to a string. Or one could keep it around as a catalog of meshes, and because it is already parsed, individual meshes could be pulled on demand quicker.
A support for encoding Obj files might be useful top. For example one could generate geometry using some existing helper functions from TriangularMesh and export it for Blender.
What the API could look like?