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

Uneven spacing of points #4582

Closed philspitlerSF closed 4 months ago

philspitlerSF commented 4 months ago

If you look at the model, you will see that the pixels are not evenly spaced on the poly line.

I would expect the pixels to be even if I don't check "individual segments"

The model was created in xLights version 2024.10 on OSX 14.5

Attched screenshot and collect xLights file

Screenshot 2024-05-28 at 10 22 33 AM

xLightsProblem.zip

cybercop23 commented 4 months ago

You have too many pixels defined for those segments as Gil suggested. Click on Individual Segments and expand it and change Segs 8 n& 9 to be 1 or 2 pixels, like the others. You have 5 and 4 respectively whuch is way way way too much compared to the others.

philspitlerSF commented 4 months ago

ahh. I thought if I didn't click individual segments, it would automatically evenly space the pixels based on distance.

I'll try that. Thanks

AzGilrock commented 4 months ago

Yep if the box is not checked it should not be doing this. I'll check it out later if not resolved

AzGilrock commented 4 months ago

Ok there was no bug here. The problem is it looks like you did some playing in 3D. If you expand the Size/Location parameters and look at Z9 you will see it doesn't match the depth of 148.86 that all the other points have so the line distance is longer because its changing in depth. If you change Z9 to 148.86 it fixes everything.

Screenshot 2024-05-28 at 7 27 44 PM
philspitlerSF commented 4 months ago

Thanks @AzGilrock that did fix the issue. In other 3d applications, when I scale a model on the Z axis to zero (or close to zero), it aligns all the points on the same Z plane. It's a really quick way to ensure all points in a spline or on the same plane. in xLights this doesn't seem to work. When I reduce the scale of a model on the z axis, the values are still different.