Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Closed REQ 5434]: Question on GEomview
Ah, yes, there is not enough documentation for that command. Sorry! The PART-SPEC is the same as the "pick path", which is the "P" in the specification of pick command: (pick COORDSYS GEOMID G V E F P VI EI FI) [...] P = path to picked primitive [0 or more] [...] That still doesn't tell you enough information, though. Here's some new documentation (part of the new "write-comments" command in the unreleased geomview 1.5.1): The pick path (returned in the "pick" command) is a list of integer counters specifying a subpart of a hierarchical OOGL object. Descent into a complex object (LIST or INST) adds a new integer to the path. Traversal of simple objects increments the counter at the current level. So it's a way of replacing a sub-part instead of an entire geometry hierarchy. Here's an example: (geometry foo { INST geom { INST geom { LIST { < octa.off} { < dodec.off} { < cube.off} } } } ) (replace-geometry foo (0 0 2) { < square.quad}) The cube is replaced by the square. Note that the counter starts at 0: the octa pick-path is (0 0 0), the dodec is (0 0 1), the cube is (0 0 2). Hope this helps, Tamara Munzner munzner at geom.umn.edu
|
||
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
site hosted by |