Q.086 - Why does Sphere kill my latest object ?

Category: S.086 - object

The question was:

"Quite often I use the combination 'c_xyz x y z sphere radius end' for different purposes. This combination (probably the 'sphere' part) creates an object with the name of the most recently created object, thus erasing the former object, which is not what you would like to see happening. Is there a way around this problem in the current O version ?"

Simply insert an "obj name" before the Sphere command. The easiest way is to define a symbol, for example:

  symbol
  mysph
  object qqq sphere ; end

Put this on your menu: "menu $mysph on" or use it from the keyboard: "cen_xyz xx yy zz $mysph". Personally, I have redefined the F4 key of my keyboard to mean "obj sph sph ; end". See Q.904 and Q.905 on how to redefine keys.