Create tk interface as part of brl-cad script?

Help
Andy
2014-02-16
2014-10-29
  • Andy

    Andy - 2014-02-16

    I am working on a tcl script, which builds some complex geometry. The script now works well, but it would be even nicer with a little gui interface to input some parameters. This would be trivial to add via tk ... but when I try to load a script that initiates a tk window, nothing seems to happen. Help!

     
    • Sean Morrison

      Sean Morrison - 2014-10-29

      On Feb 15, 2014, at 5:44 PM, Andy awakephd@users.sf.net wrote:
      I am working on a tcl script, which builds some complex geometry. The script now works well, but it would be even nicer with a little gui interface to input some parameters. This would be trivial to add via tk ... but when I try to load a script that initiates a tk window, nothing seems to happen. Help!

      This is doable, but would need more info to help you with your particular situation. See the geometree.tcl file for an example of tcl script that will run standalone or from within mged. If you want a GUI that works with our archer tool, things are a little bit different but we have examples of those too.

      Cheers!
      Sean

       

Log in to post a comment.