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
540 stars 200 forks source link

Add ability to export a poly line model as a custom model. #4663

Open bloojoop opened 1 month ago

bloojoop commented 1 month ago

currently using 2024.12.

Some xLights model like the matrix model, circle, etc. have the ability to export as a xlights model as well as export as a custom model. The poly line model type only allows export as a standard xlights model and does not allow export as a custom model. Can we add the ability to export as a custom model ? If so, can it maintain the 3d positioning of nodes? When exporting a poly line model type that has been configured in 3d, it flattens the model and does not import with the 3d positioning of the nodes.

derwin12 commented 1 month ago

Just a note that I dont think you want this to come as a custom model because of the render issue. Perhaps the co-ordinates could be embedded into the export as an xlights model though?

bloojoop commented 1 month ago

digging through this a little bit, I discovered that if I import this specific model, it comes in looking very flat. then if I modify the z scale in the rgeffect file from 1 to 383 then the model looks correct. there is no way that I see to modify the z scale value on the poly line model but there is on custom model. If we had a way to set zscale on the poly line model, that would be helpful maybe. ?

On Mon, Jul 22, 2024 at 7:40 PM Daryl @.***> wrote:

Just a note that I dont think you want this to come as a custom model because of the render issue. Perhaps the co-ordinates could be embedded into the export as an xlights model though?

— Reply to this email directly, view it on GitHub https://github.com/xLightsSequencer/xLights/issues/4663#issuecomment-2244044449, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVCLUGC6VNWN4Z2NR4YNZXLZNWQ7ZAVCNFSM6AAAAABLJDBAV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBUGA2DINBUHE . You are receiving this because you authored the thread.Message ID: @.***>