weaving-space icon indicating copy to clipboard operation
weaving-space copied to clipboard

Improve the API for modding tiles using Topology

Open DOSull opened this issue 1 year ago • 0 comments

The API for modding tiles is clunky and probably should be redesigned.

Currently it depends on specifying if an applied transform should make a new topology or not, and if it should generate tiles or not. See:

https://dosull.github.io/weaving-space/doc/weavingspace/topology.html#weavingspace.topology.Topology.transform_geometry

It may be that this can be circumvented entirely by making access to topology modding via a website app (see #16), so that the underlying API is not exposed. On the other hand, maybe the API should be nicer anyway. Or perhaps the code should be smarter about gracefully managing topological errors induced by changes to tiles.

DOSull avatar Feb 08 '25 01:02 DOSull