supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.05k stars 515 forks source link

OrcaSlicer .3mf file Import - negative volume has wrong dimensions #4093

Closed sboehle closed 5 months ago

sboehle commented 5 months ago

What happened?

At first thank you very much for your great work - even integrating the possibility to import OrcaSlicer project files.

I know the module is buggy, you already wrote on discord.

I only wanted to give you an example of what is not working right now.

The model has 4 negative volumes from the same size. Only one has the correct dimensions. The remaining 3 has wrong dimensions.

Correct: image Dimension of the negative volumes image

Wrong: image Wrong dimensions of 3 negative volumes image

Used SC build: https://github.com/supermerill/SuperSlicer/actions/runs/7680530505

Project file & How to reproduce

orca-sc-import-test.zip

Simply import the project file. You will see negative volumes with different dimensions.

EDIT: Hmm, looks like it has something to do with the scale factor. 100% scale factor is ok (z axis). From 100% to 8% it is a reduction by factor 12.5. From 8% to 0.64% it is also a reduction by factor 12.5. That happens wrongly at 3 of the negative volumes in the direction of x and y. Perhaps this is a hint where to find the buggy code.

Version

latest nightly build from January 27th

Operating system

win 11

Printer model

Voron 2.4

supermerill commented 5 months ago

Thanks for the report There will be this kind of issues poping up until everything is tested. fixed for next nightly.

sboehle commented 5 months ago

Is working now, with the latest nightly build.