Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Add VLR file support for files from Vlare Slicer #513

Open
nquam opened this issue Jul 16, 2022 · 25 comments
Open

[FEATURE REQUEST] Add VLR file support for files from Vlare Slicer #513

nquam opened this issue Jul 16, 2022 · 25 comments
Assignees
Labels
enhancement New feature or request

Comments

@nquam
Copy link

nquam commented Jul 16, 2022

My new Peopoly Forge makes use of a Vlare control board which primarily uses Vlare slicer and produces VLR files. Looks like there's no support in here for that. Being a new market printer with a pretty new slicer software I've been having issues with my slices and would like to analyze these files. I expect to see this board used more in the future and being one of the only open source slicers it may gain traction pretty quickly.

Vlare says the file format is open and unencrypted so hopefully this is an easy add. The slicer is free so it shouldn't be difficult to create your own test files.

Here's the Peopoly provided test file for the Forge.

Worth noting this printer does say it has the ability to run Lychee and Voxeldance Tango files but as of yet they have no configuration for the printer.

@nquam nquam added the enhancement New feature or request label Jul 16, 2022
@sn4k3
Copy link
Owner

sn4k3 commented Aug 17, 2022

VLR is the closed format.
OSF is the open format which is now compatible with UVtools v3.6.0+

Check if your printer accept OSF instead by slice a sample with vlare

@tseven
Copy link

tseven commented Sep 5, 2022

First off, thanks @sn4k3 for creating UV Tools, I'm new to resin printing and can already see the value in your app.

If UV tools cannot read .vlr files, how can we import a sliced file to import the settings of our printer? Is there another way to get these settings into UV tools?

I do not see a way to export an OSF from Vlare slicer.

@tseven
Copy link

tseven commented Sep 5, 2022

Here is the printer profile Peoply provides for their Forge printer. It has a surprise hidden at the top of the file (not my doing).
Phenom Forge.zip

@sn4k3
Copy link
Owner

sn4k3 commented Sep 5, 2022

I asked vlare if they want to have vlr support in UVtools and if so to send me the format documentation, but got no direct anwser and they only talked about osf so i guess is a no?
try osf by selecting on slicer:

image

@nquam
Copy link
Author

nquam commented Sep 5, 2022

I saw the OSF option and it does work but I'm concerned that maybe somehow the VLR file, should I use it to print, could have issues that go unseen whereas the OSF might not. I haven't printed with an OSF and I don't actually know what file formats my Peopoly Forge will print from but in their software paired with the Forge there were major bugs with the slicer result files and we were instructed to use VLR. I assume an OSF is compatible if it's in Vlare but I'll have to check.

Obviously we could export to OSF, check the print results, then export as VLR if necessary. It's possible for there to be software discrepancies in the slicer but I absolutely need to use this tool until slicers are better at pointing out problems. I wish slicers got better at pointing out possible failures. This tool is extremely useful so whatever I have to do to check my file I'll do.

Not surprised the makers of Vlare haven't gotten back to you. Never heard back from my reports of various bugs and issues. The only way I get feedback is if I go directly to Peopoly and they talk to Vlare.

@sn4k3
Copy link
Owner

sn4k3 commented Sep 5, 2022

VLR is OSF with exception of a extra unknown field (maybe encrypt key) and different layer image encoding (maybe encrypted). Both do exactly the same functions and have exact same header. In the end VLR is just to give the impression of a premium format customized for OEM that only Vlare slicer can slice, but so far it's none of that. In fact this formats are lacking and you will find some functions of UVtools can't be used due that.

I wish slicers got better at pointing out possible failures.

Me too, in fact UVtools should be an useless tool.

@nquam
Copy link
Author

nquam commented Sep 5, 2022

VLR is OSF with exception of a extra unknown field

Well, not surprised but that's really lame since it's still software in beta.

I wish slicers got better at pointing out possible failures.

Me too, in fact UVtools should be an useless tool.

I've only been resin printing for a couple months and this is both the saddest and most useful thing I've learned. That along with automatic supports are terrible. Can't wait for Lychee to add support for Forge. It has to be better. I guess we can close this if you agree. So long as OSF is an export option then that's the solution.

@sn4k3
Copy link
Owner

sn4k3 commented Sep 5, 2022

Well, not surprised but that's really lame since it's still software in beta.

Voxeldance Tango also supports OSF
PrusaSlicer with my printers also supports OSF via UVtools

Can't wait for Lychee to add support for Forge

Why wait? You can do your custom printer, export and convert with UVtools to OSF. Or export to STL with supports and use anyslicer.

I guess we can close this if you agree.

Yes, i will implement vlr if i got the data from vlare to

@nquam
Copy link
Author

nquam commented Sep 5, 2022

Voxeldance is extremely pricey unless you want limitations. I don't see anywhere in Lychee that allows a custom printer unless it's named something unexpected. Pro version is required to alter a lot of the settings including screen size. I could try a trial and check but since I don't see the option I wouldn't want to waste a trial knowing they're putting it in there eventually.

@sn4k3
Copy link
Owner

sn4k3 commented Sep 5, 2022

Pro version is required to alter a lot of the settings including screen size.

Just find a printer that have same specs as your, use it and export, convert in UVtools.

Otherwise use PrusaSlicer

@nquam
Copy link
Author

nquam commented Sep 27, 2022

The latest version of Vlare actually has a checkbox under slice settings Advanced for "UVTools Conversion" where you can define a place to output a converted file compatible with UVTools in different extension formats. So problem solved?

Yeah looks like my OSF file would sometimes error when loading in UVTools but I was able to output to CTB format and it loaded in just fine. It took a lot longer to save the conversion but it worked. There are a bunch of file formats though. Is there one that would be "best" for accuracy or speed of loading?

@sn4k3
Copy link
Owner

sn4k3 commented Sep 27, 2022

The latest version of Vlare actually has a checkbox under slice settings Advanced for "UVTools Conversion" where you can define a place to output a converted file compatible with UVTools in different extension formats. So problem solved?

I think it will always output to the same folder as where you saved your slice (osf).
You must ask Vlare.

Yeah looks like my OSF file would sometimes error when loading in UVTools but I was able to output to CTB format and it loaded in just fine. It took a lot longer to save the conversion but it worked. There are a bunch of file formats though. Is there one that would be "best" for accuracy or speed of loading?

Why are you converting to other file? Isn't your printer compatible with OSF? If so you don't need conversion and you spare that cycle.

@nquam
Copy link
Author

nquam commented Sep 27, 2022

I think it will always output to the same folder as where you saved your slice (osf).
You must ask Vlare.

Yeah you point to the UVTools exe for some reason. I got that wrong. Weirdly it's not to automatically open it.

Why are you converting to other file? Isn't your printer compatible with OSF? If so you don't need conversion and you spare that cycle.

It's not about the printer it's being able to open it in UVTools. Because some of my OSF files would error in UVTools this was necessary to open a fully compatible version. I'm not sure why this is necessary but it was in some slices.

@sn4k3
Copy link
Owner

sn4k3 commented Sep 28, 2022

Weirdly it's not to automatically open it.

Is just to auto convert. But no open.

Because some of my OSF files would error in UVTools

Thats strange, which error are you getting? Latest version of UVtools?

@hotwheels581
Copy link

I just converted an Anycubic M3 Max to a Vlare control board so have been discussing a few things with Daniel at Vlare/Duobond. I suggested he work with you to bring vlr capability to Uvtools and he sounded very open to it so perhaps contacting them again may be helpful.

I've found him to be pretty responsive through messaging on Alibaba. Just do a search for the Vlare control board and use the contact manufacturer function.

Currently it has the same flaw the CTBv4 boards have in that it doesn't follow the wait time on the first layer. I've let them know about this but no timeline on if/when it will be updated. I use the "blank" first layer in UVtools on my Mighty 8ks but can't do it on the Vlare/M3Max right now. (I use variable layer heights and when using this function the UVtools export is not available).

@sn4k3
Copy link
Owner

sn4k3 commented Feb 2, 2023

You can use OSF with your board, for user it gives same features as VLR.

but can't do it on the Vlare/M3Max right now.

And you never will if they don't change the file format, currently they don't have per layer data, which means you are locked to global settings. In that aspect vlare is more limited than anycubic format.

@hotwheels581
Copy link

I'd think that it has to have per layer data as it has variable layer height available with separate exposure/lift heights/lift speeds for each layer height option you use on a print or am I missing something? (I am decidedly not a programmer) When using that option it is only savable in the VLR format. It will not save it in OSF or export to UVtools. If you activate variable lift height the export to UVtools option disappears.

I've also used the "extra support exposure" function and one can see it active on the touchscreen with different portions of the of the layer having different exposure times.

Am I missing something with the per layer data comment?

@sn4k3
Copy link
Owner

sn4k3 commented Feb 2, 2023

as it has variable layer height available with separate exposure/lift heights/lift speeds for each layer height option you use on a print

Where do you saw that? If you can prepare a file out of slicer with that information you can send it to me. Last time I checked VLR format is same as OSF with only 12 more bytes.

I've also used the "extra support exposure" function and one can see it active on the touchscreen with different portions of the of the layer having different exposure times.

That time is set on the global table, not per layer. Which means you can only a common time per supports and per model.

You can read the spec here: https://github.com/vlare3d/OSF

@hotwheels581
Copy link

vlr test file with .1 and .01 layer heights will be sent once I find how. Should I zip it?

@hotwheels581
Copy link

btw-Variable lift height is accessed in advance functions in the slice settings.
advancedfunction-var-speed

@hotwheels581
Copy link

hotwheels581 commented Feb 2, 2023

Let me know when you have downloaded it and I will delete. It's nothing complete or all that important but would still rather take it down. Thanks for looking into this.

@sn4k3
Copy link
Owner

sn4k3 commented Feb 2, 2023

I donwloaded but I also need to know the settings you used for that variable height. And also do same file but without variable height marked

@hotwheels581
Copy link

Base settings
base-slice-setting-forvariable

Variable height setting screen. You manually enter the heights. Can have more than the two shown in this example.
advancedfunction-var-speedselectionscreen

Setting for the layers from 0mm to 38.4mm height. 100um
advancedfunction-var-speed100umsetting1

advancedfunction-var-speed100umsetting2
Setting for remainder of print at 10um.
advancedfunction-var-speed10umsetting1

advancedfunction-var-speed10umsetting2

@hotwheels581
Copy link

hotwheels581 commented Feb 2, 2023

Same print sliced at 100um with no variable;
https://drive.google.com/file/d/1APa5v6FgFgqeqXVp7pjpYMHBrCFl0w8l/view?usp=sharing

If you need to settings for lift heights/speeds as well let me know and I can screenshot them as well.

@sn4k3
Copy link
Owner

sn4k3 commented Feb 4, 2023

I can see that they are using a table per height to define those. While i can see that, there are some fields I can't tell what are for. Also image compression is different. If they are interested now (in the past they were not) in having VLR into UVtools please tell them to contact me or document the VLR format like they did with OSF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants