onnodb / fdm_materials

FDM Material database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fdm_materials

FDM material database, used in Cura.

License

License
fdm_materials is released under terms of the CC0-1.0 License. Terms of the license can be found in the LICENSE file. Or at https://creativecommons.org/publicdomain/zero/1.0/

But in general it boils down to:
We waive all rights to the extend of the law. You can copy, modify, distribute as you like, even for commercial purposes

How to set up a development environment

FIXME: Add fdm_material specific instructions here.

Note:
We are currently in the process of switch our builds and pipelines to an approach which uses Conan and pip to manage our dependencies, which are stored on our JFrog Artifactory server and in the pypi.org. At the moment not everything is fully ported yet, so bare with us.

If you want to develop Cura with fdm_materials see the Cura Wiki: Running Cura from source

If you have never used Conan read their documentation which is quite extensive and well maintained. Conan is a Python program and can be installed using pip

pip install conan --upgrade
conan config install https://github.com/ultimaker/conan-config.git
conan profile new default --detect

Community developers would have to remove the Conan cura repository because that one requires credentials.

conan remote remove cura

Creating a new fdm_materials Conan package

To create a new fdm_materials Conan package such that it can be used in Cura, run the following command:

conan export-pkg . uranium/<version>@<username>/<channel>

This package will be stored in the local Conan cache (~/.conan/data or C:\Users\username\.conan\data ) and can be used in downstream projects, such as Cura, by adding it as a requirement in the conanfile.py or in conandata.yml if that project is set up in such a way. You can also specify the override at the commandline, to use the newly created package, when you execute the conan install command in the root of the consuming project, with:

conan install . -build=missing --update --require-override=fdm_materials/<version>@<username>/<channel>

About

FDM Material database

License:Creative Commons Zero v1.0 Universal


Languages

Language:Shell 47.6%Language:Python 41.9%Language:CMake 8.2%Language:Dockerfile 2.3%