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

patterns: Added pattern for Blender project files #303

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Hikodroid
Copy link
Contributor

Adds a pattern for Blender project files. The pattern gives a top-level overview of a blend file and is also able to visualize the embedded thumbnail, even if the file is somewhat incomplete. Note that the creation of the thumbnail section is imperfect due to this issue WerWolv/PatternLanguage#130 and the section may be completely zeroed out if the file is truncated exactly after the end of the thumbnail block, but those issues do not seem to be caused by the pattern code.

@Hikodroid
Copy link
Contributor Author

Adding the ref keyword fixes the thumbnail issue entirely. Everything should be good to go now. Thanks @paxcut for the heads up.

@paxcut
Copy link
Contributor

paxcut commented Sep 26, 2024

Just a quick comment. Pattern language is able to decompress zstd compressed files so maybe zstd compressed blender projects could be supported in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants