Author Topic: Bug? Cube Model  (Read 1525 times)

Offline PaulB

  • Newbie
  • *
  • Posts: 29
    • View Profile
Bug? Cube Model
« on: September 27, 2020, 07:14:21 PM »
I have a cube as follows:
12 Wide, 10 High, 10 Depth.
Model appears correctly in 3-d view.
Arranged as follows:
1st Pixel is the Bottom left, back.
2nd pixel is above the 1st.
10th pixel is at the top
11th pixel is the bottom of the next stack, which is directly in front of the 1st pixel.
So, my matrix is constructed of 12 strands of 100 pixels, arranged in stacks that go from bottom to top & then repeat (peace stakes).

When I create the cube, it displays correctly, but only has 10 strands, regardless of the number I enter for "strings"



Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Bug? Cube Model
« Reply #1 on: September 27, 2020, 08:48:11 PM »
I think it would good if you can share a layout containing that model.

Offline PaulB

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Bug? Cube Model
« Reply #2 on: September 28, 2020, 09:24:51 AM »
Ok. Here's a sample model.

Pixel 1 should be the back left bottom.
Pixel 10 should be the back left top.
Pixel 11 should be at the bottom of the stack in front of pixels 1-10
Pixels 91-100 should be the front, left stack.

Strand #1 is the left-most stacks
Strands #2-12 should go left to right.

The "strings" setting in the model seems to be ignored. 

Offline allknowing2012

  • Sr. Member
  • ****
  • Posts: 386
    • View Profile
Re: Bug? Cube Model
« Reply #3 on: September 28, 2020, 10:45:59 AM »
Strings only mean "how many ports in the controller do you want to use".

Offline PaulB

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Bug? Cube Model
« Reply #4 on: September 28, 2020, 12:54:24 PM »
So, is this a feature request, or a bug?  There doesn't seem to be a way to do peace lights as a cube.  The options are there, but they don't seem to work as expected. 

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Bug? Cube Model
« Reply #5 on: September 28, 2020, 01:04:15 PM »
Did you set the strand style to no zigzag.

That seems to do what you are looking for.

Offline PaulB

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Bug? Cube Model
« Reply #6 on: September 28, 2020, 04:20:27 PM »
I can almost create what I want with the following:

Starting: Front Bottom Left
Direction: Vertical Left/Right
Style: No Zig-Zag

The problem is that the rows continue to zig-zag.   The "no zig-zag" controls the zig-zag with respect to height, not rows or columns.


Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Bug? Cube Model
« Reply #7 on: September 28, 2020, 04:33:45 PM »
Have you selected all layers start in the same place?

Offline PaulB

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Bug? Cube Model
« Reply #8 on: September 29, 2020, 06:38:17 AM »
Ok.  I have put my finger on the core issue.     Resulting number of strands = depth, regardless of the "direction"

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Bug? Cube Model
« Reply #9 on: September 29, 2020, 01:14:11 PM »
I don?t understand.

Offline PaulB

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Bug? Cube Model
« Reply #10 on: October 02, 2020, 05:55:14 PM »
The bug is that # of strands = the depth parameter always, regardless of the "direction" parameter.
Strand length = Width * Height always.

If the direction is "vertical left/right," all works as expected.   A strand corresponds to a fill horizontal row of the cube, with the next row behind it being the next strand.

If the direction is changed to "vertical front/back," then things become broken.  The length of a strand remains the same and the strand count remains the same, so a single strand covers some multiple of a horizontal row.

To see an example:

1.  Create a cube with the following parameters: 
     Starting Location: Front Bottom Left
     Direction: Vertical Left/Right
     Strand Style: No Zig Zag
     Layers All Start in the same place: Unchecked
     Width: 12
     Height : 11
     Depth: 10
2.  Start a new sequence a light up any individual strand to see that a strand = a row of the cube and all works as expected
3. Leave all other parameters the same and change the "direction" to "Vertical Front/Back"
4. Start a new sequence and notice that the cube still has 10 strands, which doesn't make sense, since strands are running a different direction now.
5. Light up each strand, and see that each strand contains overlapping parts of 2 adjacent rows in the cube because the strands have a length that don't correspond to anything in the cube.

The strand length should be width * height for one "direction" setting, but depth * height for the other setting.

I'm guessing that nobody noticed this bug yet, as many people are creating cubes (equal width and depth), rather than a cuboid with differing side lengths.



Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Bug? Cube Model
« Reply #11 on: October 02, 2020, 10:36:15 PM »
So that is a bug. The reason i suspect no one notices is very few sequence at the strand level.

Offline PaulB

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Bug? Cube Model
« Reply #12 on: October 03, 2020, 11:18:39 AM »
Somehow I feel relieved that I wasn't just doing something wrong.   How do we get this to the developers? 

Peace Stakes are starting to become a thing...

Offline jnealand

  • Hero Member
  • *****
  • Posts: 1421
    • View Profile
Re: Bug? Cube Model
« Reply #13 on: October 04, 2020, 10:08:29 AM »
Keith replied to you and he is the main developer so it is done.
Jim Nealand
Kennesaw, GA