fstwn / cockatoo

Cockatoo is a prototypical open-source software toolkit for generating (3d-)knitting patterns from NURBS surface and mesh geometry directly inside Grasshopper.

Home Page:https://fstwn.github.io/cockatoo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

implement 'stage' attribute for the network types

fstwn opened this issue · comments

Implement an attribute that prevents calling certain methods on the network at the wrong time...?
Is there an alternative how this can be handled?

Currently it seems unnecessary to introduce this. While it would prevent the user from getting a bunch of garbage when incorrectly wiring components, it seems to paternalising to me.
The better way seems to be finding another metric for checking the correctness of the network before essential algorithms. Efforts towards this have already been taken by introducing the quite differentiated error system.