Skip to main content

Python tools for using Exsource files

Project description

ExSource-Tools

An experimental Python library for validating and using the ExSource Specification which is in the early stage of development.

Commands

Make

This packages adds the following command:

exsource-make

This will attempt to process exsource-def.yml to create inputs. The first instance of this proof of principle implementation supports OpenSCAD, FreeCAD, and CadQuery files. Each of these must be installed separately if they are to be used.

FreeCAD
By default FreeCAD exporter will expect there to be a PartDesign Body called Body, it can export this to STEP and/or STL. The body to export can be changed by specifying the label of the object with object-selected as a parameter. For example:

frame:
    name: Main frame
    description: >
        This frame holds the shelf brackets and shelves.
    output-files:
        - output/frame.step
        - output/frame.stl
    source-files:
        - assets/frame.FCStd
    parameters:
        object-selected: "Frame"
    application: freecad

CadQuery
The CardQuery export is performed via cq-cli

Check

You can also use the command:

exsource-check

This will specify what would happen if exsource-make was run.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exsource_tools-0.0.6.tar.gz (29.4 kB view hashes)

Uploaded Source

Built Distribution

exsource_tools-0.0.6-py3-none-any.whl (31.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page