Space Design - Area of SU Materials/Colours/Textures in SD

Dear Al,

I would like to ask you if you are able to extract from SU (using SD) information about Area of Materials/Colours/Textures used for example:

- the area of different finishes as below.

Regards

Gregory

Views: 258

Reply to This

Replies to This Discussion

You might me able to do this with a little effort.

We have a special attribute $material which returns the name of a material, but only the name of the material assigned to an entire component or group. So, in the example above, you would have to create your cube out of six rectangular components, and assign the material color to the component.

Them you could get a report showing the material name, and the area for each sub-component.

Special $ Attributes

These can be used as desired, but cannot be modified

  • $area - return the area of the component in sq-inches (also, $area_sqft, $area_sqm, $area_sqcm)
  • $count - a count of identical components - grouped into a single line.
  • $comp_desc - the description stored on the component definition.
  • $dname - returns the definition name.
  • $iname - returns the instance name, or blank if not set.
  • $layer - the layer of the component.
  • $level - return the sub-component level when drilling tinto sub-components. (0 is the top level)
  • $material - returns the Material Name on the Component Instance or Group
  • $name - returns the Instance name if set, if not the definition name. (Up to any # sign.)
  • $path - return the drill path of Component names or group names

Al,

Thank you for the info.

Now I can use the _SD_AREA - it works fine with all, single face objects (I will have to play more with the SD $ plus Filters).

Have a look the Ruby from TAK2HATA - New version(2012.04.08)solid_quatify2.rb

http://forums.sketchucation.com/viewtopic.php?t=41120

He is able to extract some embedded info directly from the SU Groups and Components drawn by me.

The Length, Height and Depth is wrong when the object is rotated but the interesting element is the Area of the Materials Assigned.

1. The Area of the Materials Assigned is not affected by the 45 degree rotation - amazing information !

2. SU Default Colour is ignored in the summary calculation - even better !

It seems like the information can be accessed using Ruby.

Sample:

Regards

Gregory

Al,

It seems like the Web Dialog Area of the Materials Assigned is calculated correctly only for orthogonal objects.

Regards

Gregory

Reply to Discussion

RSS

About

Render Plus created this Ning Network.

Search


Enter a phrase here to search the entire Render Plus web site:

Loading

Translate

Latest Activity

Rudi Schwarz posted photos
Mar 11
Chi Lau posted photos
Mar 5
Marilyn West commented on Marilyn West's photo
Feb 28
Marilyn West posted photos
Feb 28

© 2024   Created by Render Plus.   Powered by

Badges  |  Report an Issue  |  Terms of Service