CrealityOfficial / CrealityPrint

GNU Affero General Public License v3.0
217 stars 31 forks source link

Problems with Save Project #154

Open raycardillo opened 5 months ago

raycardillo commented 5 months ago

Saving as .cxprj does not work the same as saving as .3mf. When I take the time to get a print setup exactly the way I like it for those objects and materials, I need to save that configuration and be able to open it up and print it in the future exactly the same way. However, currently, when you save as .cxprj, there are a few things wrong:

  1. Saving as .cxprj only seems to save the objects and settings, not the orientation (position and rotation of object). So I have to set this up again every time I open the project. Later, I discovered that saving as .3mf does actually save the orientation, but then my original imported file is now the project file.
  2. When a saved project is opened, it re-imports the preset settings, and I end up with duplicates. One for every time I open the project. This is horrible. It makes sense to store the presets with the project for the reason I previously stated (to be able to quickly print in the future). However, it makes no sense to re-import the settings every time and end up with duplicates. Perhaps you can do a CRC or SHA hash on the presets and see if it matches something that is already in the user settings, and don't import it again.