-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grouped objects have wrong coordinates #12
Comments
Is this only one group? I cant recreate the problem in a separat test project. |
I had the same problem with other group. |
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. |
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):
![Screenshot_20201229_103256](https://user-images.githubusercontent.com/3670326/103276609-534ff280-49c7-11eb-8d19-a59796c21945.png)
The text was updated successfully, but these errors were encountered: