Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.16k stars 2.07k forks source link

Filament Cost #10235

Closed nissenhj closed 3 years ago

nissenhj commented 3 years ago

Application Version

4.10.0

Platform

Windows 10

Printer

Sovol-SV01

Reproduction steps

When you enter a price under "Filament Cost", the price changes for all filaments that are in that group! This can not be r Skärmbild 2021-08-05 074744 ight as it does not correspond to reality.

Actual results

The price changes for all filaments in the group Skärmbild 2021-08-05 074745

Expected results

The price should only be changed for the filament I am in and change

Checklist of files to include

Additional information & file uploads

has no more files Skärmbild 2021-08-05 074745 Skärmbild 2021-08-05 074744

fvrmr commented 3 years ago

Hi @nissenhj you can unlink your materials if you duplicate a material from another material. Screenshot (229)

Let me know if that works for you!

nissenhj commented 3 years ago

Hi @nissenhj you can unlink your materials if you duplicate a material from another material. Screenshot (229)

Let me know if that works for you! Hi

I have not such a button?

Skärmbild 2021-08-06 211642

fvrmr commented 3 years ago

Could you try to duplicate one and see if the button is there after you clicked duplicate?

nissenhj commented 3 years ago

Hi I have tried to duplicate one but no button appeared I am running Cura 4.10.0

fvrmr commented 3 years ago

Can you share your material files with me? You can find them here: C:\Users\<your username>\AppData\Roaming\cura\4.10\materials

nissenhj commented 3 years ago

Cura_4_10_0_materials.zip So! I made a zip file of it

Ghostkeeper commented 3 years ago

The materials in question all have the same GUID so they are indeed linked and it is correct that they share their cost. They are meant to denote different profiles for the same spool of material.

However it is then incorrect that it doesn't display the button to unlink them.

It's not displaying the button due to this error, which shows up in the log:

MaterialsView.qml:34:5: Unable to assign QStringList to QString

I've fixed that error now. The unlink button should properly show up again.

As a workaround for the meanwhile, you can create the materials from scratch instead ("Create" instead of "Duplicate"). Or you could open those material files with a text editor and change the GUIDs to a different hexadecimal.

nissenhj commented 3 years ago

Thanks for any help!