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, CadQuery, and EngScript 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.
EngScript
EngScript export is performed with the engscript cli tool added in EngScript 0.0.2. All files must supply a generate() method.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exsource_tools-0.0.9.tar.gz.
File metadata
- Download URL: exsource_tools-0.0.9.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47269e4b5e89551b7a286df6ccb92b046ee89552e4cc22a60687b2ab6c1b8471
|
|
| MD5 |
ed11fa0a82ad2aadce66f5f02cfb19ad
|
|
| BLAKE2b-256 |
a35f2bddaf9332c1eb4d2921312e9dbd994498477ed30494b25009e42e7fc0a4
|
File details
Details for the file exsource_tools-0.0.9-py3-none-any.whl.
File metadata
- Download URL: exsource_tools-0.0.9-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9098e286308a4822634ebcdb50fb7a2ddf5a7afde266f256948029a3388d7cbb
|
|
| MD5 |
d37f6f9ba809d507171aea67436be833
|
|
| BLAKE2b-256 |
d9e7a1d7f3086e85ff2f184f3454896f4698c8cc0a975319e4c78a1a23c486ac
|