Topographical shade export from gem file

Hi all,

Topographical shades from gem format seems to be not supported when importing to Rhino plug-in.

Thanks,
Levent

Hi @hlkocalioglu,

Thank you for sharing this. Can you share a minimum sample file with us to recreate this issue?

Hi @mostapha - Here is the sample file.

Topographical_Shade.gem (51.0 KB)

Thanks,
Levent

2 Likes

Hi @hlkocalioglu,

Thank you for providing the example file. I added the initial support for topographical shades to the library. It should be available in the next public release of the Rhino plugin.

topo.hbjson (422.4 KB)

Meanwhile, from what I see in the documentation, there are additional types for Trees and PV panels.

Do you have an example GEM file that includes those types? I’m thinking to add the initial support to export all of them as shade until we add support for PVs to our schema.

Hi @mostapha.

Thanks for the quick update.

Here are the shading types for PVs and Trees. Also, IES v2023 supports translucent types for shading elements. (It has been removed from IES v2022 earlier)

Translucent Shade.gem (4.4 KB)
Tree.gem (4.2 KB)
PV.gem (4.2 KB)

Thanks,
Levent

Thank you for sharing the examples, @hlkocalioglu.

For Tree, and PV the definition is different from the other 3D geometry. It is based on a rectangular shape. I have to think about the best approach to provide better support. I think for now I might just ignore them.

For reference, here is the definition of a PV. The information is origin-x origin-y origin-z x-scale y-scale xy-rotation xz-rotation.

LAYER
1
COLOUR
0
CATEGORY
3
TYPE
202
SUBTYPE
0
COLOURRGB
32767
PVP PV Panel [PV000000]
12.414864 -32.835499 8.540000 1.000000 1.000000 0.000000 0.000000

For trees it is similar but it allows scale values for x, y, and z. origin-x origin-y origin-z x-scale y-scale z-scale xy-rotation xz-rotation

LAYER
65
COLOUR
0
CATEGORY
1
TYPE
3
SUBTYPE
0
COLOURRGB
2399294
LAN Tree [TR000000]
2D Tree 1
71.548947 -56.771548 0.000000 1.000000 1.000000 1.000000 0.000000 0.000000

Translucent shades will be easier to support as they are basically the same type as normal shades with a different subtype.

LAYER
64
COLOUR
0
CATEGORY
1
TYPE
1
SUBTYPE
2102
COLOURRGB
0
IES Ground Floor [GR000000]
4 1
    0.031500    -0.018900     8.540000
    9.175500    -0.018900     8.540000
    9.175500     3.007600     8.540000
    0.031500     3.007600     8.540000
4 4 3 2 1 
0
1 Like

Rhino v1.38.0 and newer will support importing GEM files with topographic shades, translucent shades, trees and PVs.

The will also be translated back to GEM.

P.S. There is a minor bug when importing trees that create two objects with duplicate ID which will be fixed in the next release.

4 Likes