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

Defining The Origin Of Character #5

Open
3Dline opened this issue May 3, 2023 · 5 comments
Open

Defining The Origin Of Character #5

3Dline opened this issue May 3, 2023 · 5 comments

Comments

@3Dline
Copy link

3Dline commented May 3, 2023

As long as I could understand, there is no way to define coordinate origin in Krita. The default position is in the upper left corner of the canvas.
Because of that all the characters exported from Krita, is appear lower right of the Spine origin.
.
If we had a Layer with [Origin] tag in the name, it could be a dot or a small circle in it in custom position on canvas, then Addon could calculate the center of origin layer and apply the transformation to all exported Layer in order to get fixed position each time in Spine.

@3Dline 3Dline changed the title Defining The Trigin Of Character Defining The Origin Of Character May 3, 2023
@3Dline
Copy link
Author

3Dline commented May 4, 2023

I did it on my own fork of this script. it is really useful when you have to do the different style or different assets in different session of exporting.

@bryab
Copy link

bryab commented Aug 16, 2023

Thanks for this! Maybe make it a PR?

@3Dline
Copy link
Author

3Dline commented Aug 20, 2023

what do you mean by PR?
I'm an amator scripter...

@bryab
Copy link

bryab commented Aug 20, 2023 via email

@chartinger
Copy link
Owner

Hi, author here.

Sadly i have very little time to maintain this repo and there are forks that already include features not present here.
(e.g. https://github.com/DanStout/KritaToSpine)

But feel free to open a PR.

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

No branches or pull requests

3 participants