JBrickBuilder connection model
2015-01-22, 15:37 (This post was last modified: 2015-02-22, 23:55 by Steffen.)
2015-01-22, 15:37 (This post was last modified: 2015-02-22, 23:55 by Steffen.)
Hi all.
After a (really good) ideas exchange with Ben Supnik (thanks Ben!), I partially redesign my program connection model and strategy.
I think it can be useful to other programmers/coders that works with LDraw library, so I wrote a brief manual that explain how model works.
Now, adding a connection type and an autodetect strategy using LDraw primitives don't requires to change program code, but only a configuration file.
Manual is here (PDF, english).
Here you can download the latest connection database (as a zip file).
To edit connection I built a sketchy editor, really basic:
- connection editor as a "portable" package
- connection editor source code
Feel free to comment/use this work.
I released free to LDraw community.
Mario
After a (really good) ideas exchange with Ben Supnik (thanks Ben!), I partially redesign my program connection model and strategy.
I think it can be useful to other programmers/coders that works with LDraw library, so I wrote a brief manual that explain how model works.
Now, adding a connection type and an autodetect strategy using LDraw primitives don't requires to change program code, but only a configuration file.
Manual is here (PDF, english).
Here you can download the latest connection database (as a zip file).
To edit connection I built a sketchy editor, really basic:
- connection editor as a "portable" package
- connection editor source code
Feel free to comment/use this work.
I released free to LDraw community.
Mario