|
|
hi clipka,
On 16/03/2016 23:50, clipka wrote:
thanks for swift response. this approach led to a different problem
(see below). the macro is stored in its own file and meant to be
general purpose (to trace the outline of whichever object was passed via
ObjId), and I need both the object's name (for feedback and to populate
a field in the output), and the object to trace. I'm now thinking,
given the below, it might be easier/better to supply both the name and
the identifier as separate arguments, do you concur?
jr.
#declare Tobj = torus { ... };
object { Tobj }
mymacro("Tobj")
#debug concat("id: ", ObjId)
Parse_String(ObjId)
#local bbox_min = min_extent(ObjId)
POV now fails on the min_extent since I'm passing it a string..
Post a reply to this message
|
|