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

Add functionality to edit additional Project metadata #8105

Open
1 task done
kfbest opened this issue Jan 19, 2025 · 1 comment
Open
1 task done

Add functionality to edit additional Project metadata #8105

kfbest opened this issue Jan 19, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@kfbest
Copy link

kfbest commented Jan 19, 2025

Is there an existing issue for this feature request?

  • I have searched the existing issues

(similar to #3754, just adding more functionality)

Is your feature request related to a problem?

Some files that I purchased from Patreon had metadata for some of the creator's other projects posted onto MakerWorld. Both he and I tried to figure out how to edit them without much success.

I then remembered reading that 3MF is basically a zip file, so I went poking around and found how to make the edits outside of a slicer. However, it is a multi-step process that would be greatly simplified if it were baked into the slicer.

Which printers will be beneficial to this feature?

All

Describe the solution you'd like

It should be able to edit all of the basic / default metadata fields.

Ideally, rich text editing would be possible, but I do not know what is required for that since the 3MF doesn't behave like traditional XML formatting.

At a minimum, should support "new line" characters. I found that the character string for New Line is

<br>

which looks like it is the XML equivalent of HTML's

Describe alternatives you've considered

Existing workflow.

  1. Open the 3mf with a zip editor (MacZip on Mac or 7-Zip on Windows both work).
  2. Go to \3d\3dmodel.model and open it up in a text editor (preferably one with syntax highlighting like Notepad++ or Sublime Text).
  3. Remove or edit the value in the " . " section
  4. If you want a "new line" in your descriptions, you can append
  5. <br>
  6. after each line to have it create line breaks.
  7. Save file to desktop.
  8. Drag file from Desktop into the zip editor and tell it to overwrite the 3dmodel.model file.

Bonus - if you want to embed the pictures, add them to a folder called "Auxilleries\Model Pictures". Note - if you are on a Mac, make sure you delete the .DS_Store files or your slicer will crash when trying to display the project info.

Additional context

Image
@kfbest kfbest added the enhancement New feature or request label Jan 19, 2025
@kfbest
Copy link
Author

kfbest commented Jan 19, 2025

Embedded the filament swap instructions from a Hueforge as shown below

Image

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

1 participant