Page MenuHome

Allow custom comments in the STL exporter
Needs ReviewPublic

Authored by Philip Holzmann (Foaly) on Oct 22 2020, 10:03 PM.

Details

Reviewers
None
Group Reviewers
Import/Export
Summary

Both the binary and ASCII STL file format allow a custom comment at the beginning of the file.
Currently, this comment is set to "Exported from Blender-$version".

However, such a comment may sometimes seem unprofessional if the file is to be shared.

This patch allows choosing between an empty comment, the Blender version, or a custom comment.
Writing the version is still the default

Diff Detail

Event Timeline

Philip Holzmann (Foaly) requested review of this revision.Oct 22 2020, 10:03 PM
Philip Holzmann (Foaly) created this revision.
Aaron Carlisle (Blendify) added inline comments.
io_mesh_stl/__init__.py
249

Use the word none instead of empty; consistent with other areas

renamed Empty to None

Philip Holzmann (Foaly) marked an inline comment as done.Oct 23 2020, 8:56 AM