MoIV2 Beta Nov-21-2008 Questions

 From:  Michael Gibson
2168.30 In reply to 2168.27 
Hi Nick,

> Observation: MoI objects 'name' does not transfer to Rhino's
> 'name', which I'm only pointing out because I thought
> opennurbs was a structured file format (and therefore
> 'a' is 'a').

Yeah I haven't quite gotten to doing the object property data transfer to Rhino yet.

MoI doesn't use the standard Rhino name property for holding the name because Rhino's names can only be applied to top-level objects and not to any sub-objects such as faces or edges.

In MoI sub objects are "first class objects" and can have their own individual properties assigned to them. So to support this MoI stores object properties in a custom chunk of data in the 3dm file, since there is no standard mechanism for it.

I expect to translate properties over to Rhino-visible ones when possible, like I will be setting the regular name property of the top-level object so that Rhino will be able to see the stuff that it supports. But I'll probably be worrying about that more all in one batch after I've got the properties that I want to have set up in MoI all set up first.

- Michael