Menu
Logged-In As
ACCOUNTNot Logged In
Add MGED key-binding to reopen the command windowBRL-CAD
Status: ClosedTime to complete:
72 hrs
Mentors: Sean
BRL-CAD has an interactive geometry editor called MGED. It's often the starting point for beginners and allows creation and manipulation of models using commands. When MGED is invoked, it creates 2 windows: a text-console command window and an interactive graphics window. If the user closes the text-console command window, they are left with the interactive graphics window. There is presently no way (correct us if we're wrong) to get the text-console back without restarting mged. A good way to test this is to run in classic mode and run the 'gui' command:
sushi:~ morrison$ mged -c test.g BRL-CAD Release 7.22.0 Geometry Editor (MGED) Fri, 24 Aug 2012 00:02:42 -0400, Compilation 6 morrison@sushi.local:/usr/brlcad/rel-7.22.0 attach (nu|X|ogl)[nu]? mged gui
This task involves adding some mechanism, perhaps a simple key binding, to the graphics window so that you can get the command window back on-demand.
Code:
- src/mged/mged.c
- src/tclscripts/mged/openw.tcl
Uploaded Work
File name/URL | File size | Date submitted | |
---|---|---|---|
reopen_command.txt | 127 bytes | December 01 2013 15:02 UTC | |
reopen_command_rev2.txt | 229 bytes | December 02 2013 22:20 UTC | |
reopen_command.diff | 569 bytes | December 02 2013 22:21 UTC |
I would like to work on this task.
This task has been assigned to Andromeda Galaxy. You have 72 hours to complete this task, good luck!
The claim on this task has been removed, someone else can claim it now.
I would like to work on this task.
This task has been assigned to Andromeda Galaxy. You have 72 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
Andromeda, the objective is the addition of a key binding for the graphics window. If you run mged and draw something, there are a variety of key bindings like "t" for a top display or "z" to spin an object about the z-axis ('0' to stop it). We need a key binding to (re-)open the command window if it was closed/hidden. Should be a binding line similar to 't' or 'z' and it can even use the same call as the menu option (the menu option name should be updated to reflect the binding, see View menu for examples). Make sense?
Should probably be like one or two lines of code.
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
The work on this task is ready to be reviewed.
Thanks for the clarification, didn't realize that a key binding had in fact already been added! Far too many tasks to review/confirm them all beforehand, but thanks for the patch that clarifies the binding.
Congratulations, this task has been completed successfully.