bbakersmith/solid_state

CLI for rendering

bbakersmith opened this issue · 0 comments

CLI tool that renders a state or sub state. takes state selector and scad output path. if state is a decorated function, allow argument overrides.

will probably require a global state dictionary. may be easier to require that only decorated functions may be targeted (otherwise lack of uniqueness in state names will be a problem).

solid_state render --module models. thing ".top-panel"  build/top-panel. scad

solid_state render --module models. thing --arg height=20 --arg width=40 ".top-panel .thing cylinder" build/top-panel-cylinder. scad