grouped objects have wrong coordinates
Opened this issue · 4 comments
In my visualisation I have special heat-exchangers consisting of several elements (a blue rectangle for the liquid in the exchanger, a black polyline as frame, a black polyline as pipe in the liquid and a red filled rectangle as warning for low liquid-level which is normally invisible). All these elements are grouped together as I use several heat-exchangers in my visu and just copy this group. In the javascript visu the blue and red rectangles are slightly shifted against the black frame. Below left is the original in codesys, right the javascript visu (you can see a white stripe at the bottom and a blue stripe right of the black frame):
Is this only one group? I cant recreate the problem in a separat test project.
I had the same problem with other group.
I think the group system doesn scale right. maybe we need to redoo the group system ...
I'm not quite sure whether it is only with groups. If you want I can ungroup one group in the visu an test it again.
Ah okay, I get a wrong representation when the group itself contains group elements. Maybe this is also the case with your heat-exchanger?
When I only use normal elements I can't recreate the problem.