What metadata is there on stl and step, what process removes it?
Ngl I thought this might be a post warning people to remove metadata from their photos. PSA: Remove metadata from your build pics before you upload them! Esp if you’re in a country unfriendly to fosscad. Stay safe & spread the signal
Always a good idea to strip EXIF. Fwiw, our image uploader strips tags for you, but it’s best not to depend on the remote end for this type of thing.
i did this originally on reddit, i’d set all my dates of my photos to 8:46am on 9/11/01.
Based.
Yep, download an exif editor and use it before uploading or sending files.
STEP file metadata is in the “FILE_NAME” field within the “HEADER” section. It can include: name, time_stamp, author (name and address), organization, preprocessor_version, originating_system, and authorization (name and mailing address of the person who authorized the file). Most of those are rarely populated. Since STEP files are ASCII, you can open them in a text editor and set any of those fields to an empty string.
Binary STL files contain an 80 byte header that could contain metadata. There’s no specification for header contents, so apps can write anything they wish to that section. Nothing in the header is required, so to scrub the file, you could simply zero that section. You could do it manually using a hex editor, or automate it with a simple script. The following Python code will do that:
with open('mygat.stl', 'r+b') as f: f.write(bytes(80))STLs can be plaintext or binary. Avoid plaintext STLs (you can re-render them using Blender if you find them, they’re rare) and null the first 80B of binary ones. GUMM13’s doing research on the format.
For STEPs, they’re all plaintext. I think you can null whitespace and maybe all comments, but I’m not sure.
Might need to make a post and pin it for everyone to see
Whoa…! I don’t post many pics but, I never thought of that one. Good looking out!





