WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
I've written some volume and surface area functions dealing with
primitives that I want to make available to MGED. In particular, the
analyze commands from libged/analyze should be able to use these
functions, but i was also thinking that making them available as stand
alone functions could be useful as well. Usage would simply be something
"vol sph1.sph" --> "volume sph1.sph: 4.00 cm^3"
in any case, I've seen that MGED uses function tables to store its
commands. I've seen one example of an actual table in animedit to store
joint commands and function tables being used in mged/cmd.c but I'm
still a bit unclear on how they are used. Could someone please explain
how to make new functions available using these tables?