[fluka-discuss]: bugs to export povray files

From: Zhiyi Liu <zhiyil_at_triumf.ca>
Date: Wed, 31 Jan 2018 17:13:35 +0000

Hi,

I am testing the flair's function to export povray files. So far there may be some bugs there in Povray.py. I am using flair v2.3-0 (April 2017) and Povray 3.7.0.


  * In the function of vec, ',' (comma) should be the delimiter instead of space between 3 components of a vector.
  * In line 462, should convert material name to upper:


        fout.write("\ttexture {mat_%s}\n"%(name(material.sdum())).upper());


  * mat_POLYETHY and mat_WATER should be declared in the *.inc file. But I am not sure where those should be implemented.

I am still very keen in using the function of exporting to openscad, which is a very helpful function whenever viewing 3D FLUKA models using other software. The existing problem for the function (http://www.fluka.org/web_archive/earchive/new-fluka-discuss/10792.html) is that exporting didn't consider properly 'transformation' of geometry bodies.

Thanks,
Zhiyi.


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Jan 31 2018 - 19:38:38 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 31 2018 - 21:03:10 CET