so I really want to make a nice GUI to control some aspects of my
parametric Python scripting for BRL-CAD... but I am not sure how to
approach it
https://github.com/nmz787/python-brlcad-tcl

basically I want the GUI for 2 things:
  * controls to create new segments of Python code (i.e. for a sphere
or other primitives)
  * view/refresh the Python-generated BRLCAD database objects
    * control the elements on-screen, rotate, zoom, hide certain objects

currently my hack is to use mged to produce a png... then display that
png file in a GUI image widget in Python/tkinter... but obviously I
could probably /somehow/ use the actual C++ GUI stuff BRL-CAD already
has

I'm just not sure where the path of least resistance is... I can code
in C/C++ (and do so for work) but I really am much much more
productive in Python.... so I'd like to keep as much of the GUI view
stuff in Python as possible, since it's obviously less important than
the actual critical rendering code, and people will want to customize
the GUI much much more than the backend.

But yeah, my PNG file hack is pretty slow to i.e. rotate a part
on-screen... not intolerable, but it reminds me of scenes from movies
from the 1980s where they are doing CAD on some ancient PC


Any ideas/advice/pointers/guidance would be appreciated,
thanks,
-Nathan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Users mailing list
brlcad-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to