BRL-CAD
Merge two modeling commands, push and xpush, into one
BRL-CAD's geometry editors (mged and archer) have lots of commands that you can run on geometry. Two are the xpush and push commands, which you can read about (e.g., man push) and run on geometry.
For this task, your objective is to merge them together with xpush turning into an option of push (i.e., xpush becomes push -x). Check out their sources in libged:
- src/libged/push.c
- src/libged/xpush.c
You shouldn't need to change either of them much, if at all, but still be sure to test that both push and push -x work as they did before.
SUBMIT a patch with your changes (https://brlcad.org/wiki/Patches).
Task tags
Students who completed this task
Jeff Sieu