ezrec / uv3dp

Tools for UV Resin based 3D Printers (in Go)
MIT License
58 stars 14 forks source link

SL1 Files do not read bedsize and resolution from prusa slicer.ini #113

Closed uwwint closed 3 years ago

uwwint commented 4 years ago

Create an SL1 file with prusa slicer with modified bed size, like the one attached (made for a 134.40x75.60 bed with 3840x 2160 pixels). uv3dp does not correctly reflect the resolution and bed size parameters of slicer.ini packed into the SL1 file.

uv3dp -v -p 3DBenchy.sl1 info

<1>[3DBenchy.sl1 info] <1>[info] Layers: 216, **1440x2560** slices, **68.04 x 120.96** x 10.80 mm bed required Total time: 1h29m12s (31m35s exposure, 57m37s motion) Exposure: 7.5s on, 0.0047s off Bottom: 35s on, 0.0047s off (10 layers) Lift: 4 mm, 60 mm/min Retract: 4 mm, 60 mm/min Whilst the bed size it is exported with is 134.40x75.60 and resolution is 3840x 2160 < Attached 3DBenchy.sl1 as 3DBenchy.zip because of githubs file restriction [3DBenchy.zip](https://github.com/ezrec/uv3dp/files/5374270/3DBenchy.zip) Side note: I would have fixed it myself and sent you a PR if I could figure out how to build the binary locally from a clone of the repository. I would suggest adding something to the readme, to help us build it locally from source :).