[Radiance-general] How to parse room dimensions from .rad model ?

Christopher Rush Christopher.Rush at arup.com
Fri Feb 7 09:41:21 PST 2014


Crossing over to the general list...

If you can create an octree from your model, try the command and option getinfo -d

That will return the dimensional information for your full scene though, so if there are objects included outside of your area of interest, it becomes more tricky.


From: Vaib [mailto:vaibhavjain.co at gmail.com]
Sent: Friday, February 07, 2014 12:12 PM
To: radiance-dev
Subject: [Radiance-dev] How to parse room dimensions from .rad model ?

Hello everyone,

It is a kind of weird question but thought to hear your views.

Let's say, someone gave me a .rad file which is a model of a rectangle room. This model has many polygons for surfaces such as walls, windows, luminaire, furniture etc.

How shall I develop a method/function that can parse this .rad file and return me back the room dimensions. I have no additional information, like walls' name variable etc.

I want to make a simple java method for that. I am not using any CAD API.

Is it possible? Please don't bash me for my stupid question.. :P

Best regards,
Vaib


____________________________________________________________
Electronic mail messages entering and leaving Arup  business
systems are scanned for acceptability of content and viruses
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140207/3482b5da/attachment-0001.html>


More information about the Radiance-general mailing list