Skip to content
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

Open
triessner opened this issue Dec 29, 2020 · 4 comments
Open

grouped objects have wrong coordinates #12

triessner opened this issue Dec 29, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@triessner
Copy link

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_104305 Screenshot_20201229_103256

@tnentwig tnentwig added the bug Something isn't working label Dec 29, 2020
@tnentwig
Copy link
Owner

Is this only one group? I cant recreate the problem in a separat test project.

@Ekristoffe
Copy link
Collaborator

I had the same problem with other group.
I think the group system doesn scale right. maybe we need to redoo the group system ...

@triessner
Copy link
Author

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.

@tnentwig
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants