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
Built Distribution
File details
Details for the file exsource_tools-0.0.7.tar.gz
.
File metadata
- Download URL: exsource_tools-0.0.7.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc38ec4309f9961ef5e89c9e808919706428d9a2e163bc3b35333a38cdd89328 |
|
MD5 | 7cedecf914b3b870681c6c23c78079bf |
|
BLAKE2b-256 | 38b3cbb76a13a74c2eddfe8f29e35e4f3a426f72accbf4eeb5d48c2dc01cfa71 |
File details
Details for the file exsource_tools-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: exsource_tools-0.0.7-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33971b75f654abdef405fc7e454421c3ff776c400662d8f9a1ffc4fdf4a1d15c |
|
MD5 | 1619193ad879c9f4263400b4a25b92dc |
|
BLAKE2b-256 | b94e9a0ce82072a994589432e38d4dead711f914d15e16198a9136a576c6148e |