xLightsSequencer / xLights

xLights is a sequencer for Lights. xLights has usb and E1.31 drivers. You can create sequences in this object oriented program. You can create playlists, schedule them, test your hardware, convert between different sequencers.
GNU General Public License v3.0
549 stars 208 forks source link

Import custom model overlay #4569

Closed Strawberry1997 closed 4 months ago

Strawberry1997 commented 4 months ago

When importing a custom model onto a matrix, the main Custom model transfers properly but the submodels of the Custom transfer is skewed. This is the custom model on the matrix

Screenshot 2024-05-18 at 3 17 16 PM

This is a submodel of the custom model imported onto a matrix. <img width="339" alt="Screenshot 2024-05-18 at 3 17 31 PM" <img width="314" alt="Screenshot 2024-05-18 at 3 17 40 PM" src="https://github.com/xLightsSequencer/xLights/assets/78796480/723d3e53-987e-4cc1-8d5d-8afbbedf6e60">

Screenshot 2024-05-18 at 3 17 31 PM

using xlights 2024.10

cybercop23 commented 4 months ago

Please provide the xmodel used to import the overlay. Also, what possition did you import the overlay on, default middle? Looks like you may have moved to to lower left corner.... if so, try center(default)

Strawberry1997 commented 4 months ago

squares.xmodel.zip I did import to the center with the same results. These are the pics from the bottom left.

cybercop23 commented 4 months ago

Seems okay on both Mac & Windows on a large VM, 108x192. What size matrix are you importing on? image

Strawberry1997 commented 4 months ago

The import works perfect if there is only 1 strand per string. Try a matrix with 2 strands per string. This is the matrix I'm working with.

Screenshot 2024-05-18 at 7 05 03 PM

cybercop23 commented 4 months ago

Okay.. I see it on a matrix as you have it defined. What sort of matrix is this? Is it really almost 18K pixels?

cybercop23 commented 4 months ago

I see the issue, but I also question what this matrix really is. @ 17,952 hard to believe it is a pixel matrix. Also the way you have you set up, currently, it is only 66 tall vs what you think you have of 68. That's causing part of the problem. Need to understnad what this "thing" really is and make sure it is setup correctly, before we make any changes.

Strawberry1997 commented 4 months ago

My numbers are a bit off. This is a matrix going on the side of a building. Once the matrix is built these submodels will be added. I tried it on a small matrix with 1 strand per string and it works great, the issue is when the strand per string is greater than 1.

Strawberry1997 commented 4 months ago

The import does not calculate properly. I made a new custom model and made a few submodels. The custom model is proper when imported. The submodels don't import properly. Heres a quick model I made with submodels. Test traingle.xmodel.zip

Strawberry1997 commented 4 months ago

I'm using the latest Testflight version.

cybercop23 commented 4 months ago

Does it work with the original model you were using?

Strawberry1997 commented 4 months ago

This fixed the model that was originally in the matrix. But when I went to add it to another matrix it was messed up, so I made a new model to insert into the matrix and it didn't transfer correctly.