NopSCADlib/scripts
2019-07-21 18:58:38 +01:00
..
blurb.py Various bug fixed from moving printed parts. 2019-06-12 11:21:53 +01:00
bom.py Printed parts, dxfs and subassemblies now listed alphabetically. 2019-06-18 11:21:14 +01:00
c14n_stl.py Added documentation for the Python scripts. 2019-06-11 15:33:13 +01:00
deps.py No excludes target.scad from dependencies. 2019-06-17 16:31:58 +01:00
doc_scripts.py Various bug fixed from moving printed parts. 2019-06-12 11:21:53 +01:00
dxfs.py Added documentation for the Python scripts. 2019-06-11 15:33:13 +01:00
exports.py Various bug fixed from moving printed parts. 2019-06-12 11:21:53 +01:00
gallery.py Various bug fixed from moving printed parts. 2019-06-12 11:21:53 +01:00
make_all.py Added documentation for the Python scripts. 2019-06-11 15:33:13 +01:00
openscad.py Added source code 2019-06-08 22:10:47 +01:00
readme.md Various bug fixed from moving printed parts. 2019-06-12 11:21:53 +01:00
render.py Added missing init() for coloured text. 2019-06-17 14:29:35 +01:00
set_config.py Added documentation for the Python scripts. 2019-06-11 15:33:13 +01:00
stls.py Added documentation for the Python scripts. 2019-06-11 15:33:13 +01:00
svgs.py Added documentation for the Python scripts. 2019-06-11 15:33:13 +01:00
tests.py Fixed bug in tests.py when only one test is run. 2019-06-13 19:47:02 +01:00
times.py Tweaks to the example. 2019-06-10 15:50:05 +01:00
views.py Now shows the CNC routed parts in the master BOM and total parts count. 2019-07-21 18:58:38 +01:00

Python scripts

These are located in the scripts subdirectory, which needs to be added to the program search path.

They should work with both Python 2 and Python 3.

Script Function
bom.py Generates BOM files for the project.
c14n_stl.py OpenSCAD produces randomly ordered STL files. This script re-orders them consistently so that GIT can tell if they have changed or not.
doc_scripts.py Makes this document and doc/usage.md.
dxfs.py Generates DXF files for all the routed parts listed on the BOM or a specified list.
gallery.py Finds projects and adds them to the gallery.
make_all.py Generates all the files for a project by running bom.py, stls.py, dxfs.py, render.py and views.py.
render.py Renders STL and DXF files to PNG for inclusion in the build instructions.
set_config.py Sets the target configuration for multi-target projects that have variable configurations.
stls.py Generates STL files for all the printed parts listed on the BOM or a specified list.
svgs.py Generates SVG files for all the routed parts listed on the BOM or a specified list.
tests.py Runs all the tests in the tests directory and makes the readme file with a catalog of the results.
views.py Generates exploded and unexploded assembly views and scrapes build instructions to make readme.md, readme.html and printme.html files for the project.