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

Support STL inscriptions #1492

Merged
merged 2 commits into from
Feb 4, 2023
Merged

Support STL inscriptions #1492

merged 2 commits into from
Feb 4, 2023

Conversation

casey
Copy link
Collaborator

@casey casey commented Feb 3, 2023

Add model/stl with extension .stl to Media::TABLE with type Media::Unknown. This will allow using.stl files with ord wallet inscribe. However, they will not have any preview, since the media type is still unknown.

A follow-up PR can add some kind of rendering/preview support.

@rot13maxi
Copy link
Contributor

woah. That's gonna open some doors

Copy link
Contributor

@rot13maxi rot13maxi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks sane

@casey
Copy link
Collaborator Author

casey commented Feb 4, 2023

Nice, thanks for the review!

@casey casey merged commit b112ba4 into master Feb 4, 2023
@casey casey deleted the support-stl-inscriptions branch February 4, 2023 04:59
@joe-rodgers
Copy link

I uploaded a .stl inscription and the content download outputs a .bin file, not a .stl. I am regarded and it took me all day to figure out to change the file name to .stl in windows explorer and it worked like a charm. (thanks Goodwin for the idea).

Not sure if it would be possible to append the .stl filetype to the file name or something like that so it is more intuitive.

https://ordinals.com/inscription/423b8403b8250bf226dec3d2ed342d971491ca8aaeaaab9d5d628d7dc744e2adi0

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.

3 participants