JustinSDK / openscad_inliner

An OpenSCAD tool - inline all included files in an entry file

Home Page:https://openhome.cc/Gossip/OpenSCAD/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openscad_inliner

There are many modules and functions located in separated .scad file in my dotSCAD. The Thingiverse customize, however, requires all code in a single file. This tool avoids copying and pasting manually if I create something from my library and want to upload it to Thingiverse.

It requires Python 3.6.

usage: inline.py [-h] [-op OPENSCADPATH] src dest

positional arguments:
  src                   the source
  dest                  the destination

optional arguments:
  -h, --help            show this help message and exit
  -op OPENSCADPATH, --openscadpath OPENSCADPATH
                        specify where to find user scad files

About

An OpenSCAD tool - inline all included files in an entry file

https://openhome.cc/Gossip/OpenSCAD/

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%