Giter Site home page Giter Site logo

aurelius-nero / fdm_materials-v2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ultimaker/fdm_materials

0.0 0.0 0.0 1.7 MB

FDM Material database

License: Creative Commons Zero v1.0 Universal

Shell 47.02% Python 42.66% CMake 8.06% Dockerfile 2.26%

fdm_materials-v2's Introduction

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

System Requirements

Windows

  • Python 3.6 or higher

MacOs

  • Python 3.6 or higher

Linux

  • Python 3.6 or higher

How To Build

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

1. Configure Conan

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

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

Ultimaker developers need to request an account for our JFrog Artifactory server at IT

conan remote remove cura

2. Clone fdm_materials

git clone https://github.com/Ultimaker/fdm_materials.git
cd fdm_materials

Creating a new fdm_materials Conan package

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

conan create . fdm_materials/<version>@<username>/<channel> --build=missing --update

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 and Uranium by adding it as a requirement in the conanfile.py or in conandata.yml.

Note: Make sure that the used <version> is present in the conandata.yml in the fdm_materials root

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>

Developing fdm_materials In Editable Mode

You can use your local development repository downsteam by adding it as an editable mode package. This means you can test this in a consuming project without creating a new package for this project every time.

    conan editable add . fdm_materials/<version>@<username>/<channel>

Then in your downsteam projects (Cura) root directory override the package with your editable mode package.

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

fdm_materials-v2's People

Contributors

ghostkeeper avatar maukcc avatar nallath avatar lipufei avatar koubemt avatar rijkvanmanen avatar jellespijker avatar abutler31 avatar pkuiper-ultimaker avatar diegopradogesto avatar jbatong avatar volumic avatar heed818 avatar jackha avatar atrebelo avatar bajosoto avatar stijnarntz avatar konskarm avatar bryanfoley avatar x40-community avatar daid avatar rburema avatar robinmdh avatar kimer2002 avatar dapostol73 avatar theijmans avatar fieldofview avatar krios-fabteam avatar filipgoc avatar daniel-kurth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.