NopSCADlib/scripts
2021-02-10 10:22:38 +00:00
..
blurb.py Better use of Python regex facilities. 2020-12-30 09:48:46 +00:00
bom.py Set ngb parameter of assembly() to remove it from the global BOM and merge 2021-02-03 06:21:17 +00:00
c14n_stl.py Added usage messages to all the scripts and documented multiple configuration 2020-03-11 23:09:03 +00:00
deps.py Now shows what changed to trigger an openscad invocation in cyan. 2021-02-09 23:32:53 +00:00
doc_scripts.py Documented project description blurb and openscad.py. 2020-12-29 12:20:32 +00:00
dxfs.py Set execute attributes on scripts for Linux. 2019-08-18 14:29:15 +01:00
exports.py Now shows what changed to trigger an openscad invocation in cyan. 2021-02-09 23:32:53 +00:00
gallery.py Updated gallery.py for new page break format. 2021-02-09 23:44:03 +00:00
make_all.py Single backtick now used for all code quotes. 2020-12-24 16:04:59 +00:00
openscad.py openscad.py now quits if there are errors or warnings in the log. 2021-02-08 16:03:59 +00:00
options.py Now shows what changed to trigger an openscad invocation in cyan. 2021-02-09 23:32:53 +00:00
panels.py Single backtick now used for all code quotes. 2020-12-24 16:04:59 +00:00
plateup.py Added colorama.init() to plateup.py to handle new coloured changed messages. 2021-02-10 10:22:38 +00:00
platters.py Single backtick now used for all code quotes. 2020-12-24 16:04:59 +00:00
readme.md Documented project description blurb and openscad.py. 2020-12-29 12:20:32 +00:00
render.py Temporary files used during make_all and tests now in tmp dir. 2021-02-09 09:52:26 +00:00
set_config.py Fixed platters and panels not working in the GUI, a regression. 2021-02-10 10:17:03 +00:00
stls.py Set execute attributes on scripts for Linux. 2019-08-18 14:29:15 +01:00
svgs.py Added documentation for the Python scripts. 2019-06-11 15:33:13 +01:00
tests.py Temporary files used during make_all and tests now in tmp dir. 2021-02-09 09:52:26 +00:00
times.py Now shows what changed to trigger an openscad invocation in cyan. 2021-02-09 23:32:53 +00:00
tmpdir.py Temporary files used during make_all and tests now in tmp dir. 2021-02-09 09:52:26 +00:00
views.py Temporary files used during make_all and tests now in tmp dir. 2021-02-09 09:52:26 +00: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.
openscad.py Run openscad.exe and capture stdout and stderr in openscad.log as well as printing to the console.
panels.py Panelises DXF files so they can be routed together by running scad files found in the panels directory.
platters.py Generates build plates of STL files for efficient printing by running scad files found in the platters directory.
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.