obiscad
obiscad copied to clipboard
Libraries contain top level objects
The libraries contain top level objects. You have to clean the libraries before using them, making syncing them with Git a pain.
Libraries should not contain top level objects. There is an examples folder for examples.
You can include them using the keyword "use" instead of "include", in that case only the modules and functions are imported. But I support the principal point, there is an examples folder for that, and the library itself should not contain any top-level code.
Oh... fail on my part there, thanks!