question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Swing window in wrong position

See original GitHub issue

Checklist:

  • [x ] I updated to the latest version available
  • [ x] I cleared the cache of my browser

Release with the issue: 1.0.1 Alfa Last working release (if known):

Browser and Operating System: Any browser windows 10

Description of problem:

          - entity: binary_sensor.sensor_window_1
            type3d: door
            object_id: Window1
            door:
              doortype: swing
              side: right
              direction: outer

Swing window in wrong position for right and outer.

Window

The other 3 combinations work (right/inner, left/outer and left/inner). NB. In my case inner and outer are the other way around inner is outside and outer is inside.

Javascript errors shown in the web inspector (if applicable):


Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
uspasscommented, Aug 23, 2021

If you will generalize the model, bear in mind that there are another 2 ways to open a window (or a a door for that matter).

  1. I don’t know how is it called in English, but we call it a V opening. That is, the upper part is going down by something like 30 degrees in a V shape.
  2. The same as 1 but it rotates around the middle line, not around the bottom line.
0reactions
uspasscommented, Aug 23, 2021

Hi Andy,

It works, I’ve been testing all combinations. Great job!

Thanks PS. After this project you’ll become a three.js expert.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java Swing packs the window wrong - Stack Overflow
I'm drawing a window (JFrame), setting layout to BorderLayout, applying an extended JPanel, and packing the window, but after it has been ...
Read more >
How to fix a stuck tilt and turn window - YouTube
You can buy tools and parts, or things you were going to buy anyway from Amazon through the affiliate program (links below) and...
Read more >
Incorrect position of a popup menu - Swing / AWT / SWT
Hi, My app is displying a popup menu on a right-click but 1) if the frame is at the bottom of the screen...
Read more >
Modal dialog opened in another screen is giving wrong size ...
The dialog opens at a different position/size and with the wrong size. Scenarios seen include opening the dialog too large to fit on...
Read more >
How to Fix a Stuck Tilt and Turn Window - Everest
Tilt and turn windows have a double-opening mechanism that allows you to open the window and to select a tilt position. If they...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found