diff --git a/nhf/tool/light_panel.py b/nhf/tool/light_panel.py index 81c2942..1818b17 100644 --- a/nhf/tool/light_panel.py +++ b/nhf/tool/light_panel.py @@ -52,3 +52,12 @@ class LightPanel(Model): ]) .rect(w0, self.grid_height, mode='s') ) + + +if __name__ == '__main__': + import sys + + p = LightPanel() + if len(sys.argv) == 1: + p.build_all() + sys.exit(0)