rcontrib: fatal - duplicate modifier 'M-nor'

Hi all,

Feedback from some off-list communication: after some help from Greg:
  You need to run it again using the -f of obj2rad during your conversion. The issue is that obj2rad inserts textures between the material modifier and the surfaces, which confuses rfluxmtx (and rcontrib). If you add the -f option, it should eliminate the issue.
the script works, rfluxmtx behaviour is back to normal!

Cheers,

Reinier Zeldenrust
Environmental Designer
Atelier Ten
Environmental Design Consultants + Building Services Engineers

CIBSE Building Services Consultancy of the Year 2011
UK-GBC Sustainability Consultant of the Year 2009

···

-----Original Message-----
From: radiance-general-request@radiance-online.org [mailto:radiance-general-request@radiance-online.org]
Sent: 12 March 2015 19:00
To: radiance-general@radiance-online.org
Subject: Radiance-general Digest, Vol 133, Issue 8

Send Radiance-general mailing list submissions to
  radiance-general@radiance-online.org

To subscribe or unsubscribe via the World Wide Web, visit
  http://www.radiance-online.org/mailman/listinfo/radiance-general
or, via email, send a message with subject or body 'help' to
  radiance-general-request@radiance-online.org

You can reach the person managing the list at
  radiance-general-owner@radiance-online.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Radiance-general digest..."

Today's Topics:

   1. Re: rcontrib: fatal - duplicate modifer 'M-nor' (Greg Ward)

----------------------------------------------------------------------

Message: 1
Date: Thu, 12 Mar 2015 14:22:16 -0400
From: Greg Ward <gregoryjward@gmail.com>
To: Radiance general discussion <radiance-general@radiance-online.org>
Subject: Re: [Radiance-general] rcontrib: fatal - duplicate modifer
  'M-nor'
Message-ID: <61DEAF8A-B02D-49F3-8425-45CE2EBDADD8@lmi.net>
Content-Type: text/plain; charset="windows-1252"

Hi Reinier,

Are you being sure to group your same-material surfaces together when passing them to rfluxmtx? The program isn't smart enough to group them for you, and I suppose this requirement needs to be mentioned explicitly in the man page. That was an oversight on my part...

If your receiver surfaces are already grouped by modifier and you are getting this error, send me your files off-list and I will see if I can figure out what's going on.

Cheers,
-Greg

From: Reinier Zeldenrust <reinier.zeldenrust@atelierten.com>
Subject: [Radiance-general] rcontrib: fatal - duplicate modifer 'M-nor'
Date: March 12, 2015 1:38:37 PM EDT

Hi all,

I?m running a three phase method analysis and am running into some funny behaviour. I generated windows using Honeybee msh2rad, converting a Rhino mesh to a radiance geometry file via TurtlePyMesh & obj2rad.

When I generate my view matrix, it works fine for some windows, but not for others ? and there?s no clear difference in geometry between those that work and those that don?t work. My command is:
                Rfluxmtx ?ab 4 ?ad 5000 ?y 81 < ChEast.pts ?
windows_pts/window_04.rad material.rad ChEast.rad > viewpts_04.mtx

And the error I get is:
rcontrib: fatal - duplicate modifer 'M-nor'

My daylight and sky matrices work for fine for all of the windows, so I don?t know what it is. Any idea what can cause this kind of behaviour? Does rfluxmtx need perfectly flat / regularly shaped objects?

Thanks,
Reinier

Here is an excerpt of my window_04.rad file:
#@rfluxmtx h=kf u=Z
void glow windowglow
0
0
4 1 1 1 0
# c:\radiance\bin\obj2rad
C:\ladybug\genBSDFtest\window_03\MSH2RADFiles\window_03.obj
# OBJ file written by TurtlePyMesh

windowglow texfunc M-nor
4 dx dy dz tmesh.cal
0
10 2
    0.00014694 -0.00056977 -0.39197137
   -0.00262064 0.00269441 -1.04630966
    0.00007866 0.00016957 -0.86569177

M-nor polygon object_1.1
0
0
9
          -245.804 137.307 31.8827
          -229.021 137.314 22.0454
          -252.533 117.213 36.8545
[ it continues with more windowglow texfunc M-nor & M-nor polygon
object_x.x lines]

Reinier Zeldenrust
Environmental Designer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20150312/768e3650/attachment-0001.html>

------------------------------

_______________________________________________
Radiance-general mailing list
Radiance-general@radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general

End of Radiance-general Digest, Vol 133, Issue 8
************************************************