Add an operator to set origin to bottom
Set origin to object bottom
Considered optional and super low priority
Having the origin at the bottom of the GP object can to define where the ground would be when (re)placed.
User usually don't want to set origin it after object is animated, so would need a warning popup when there is object animation, as it can be easily lead to mistakes.
Basic case : just put origin at the bottom of the current bounding box. (Would be the first milestone if done) Could be more complex by defining alignment with lower points.
Alternatively the placement option could concern only 3D cursor Then user would do whatever he needs after native "set origin" operator
Refers to #64 : origin placement is important for a 3D workflow
Also refers to #17 : it would allow to better prepare object for ground action, could even just use origin for the ground action.
AFAIR, this line of code does that: https://github.com/tin2tin/2D_Asset_Generator/blob/88680c1b27b9cd92db665867c8f99713fe53f27d/init.py#L1092
I'm familiar with this operator. But the purpose here is a bit different though, since I want to place the origin at the bottom, not at cursor location (and don't worry, I know exactly how to do it)
Unless stated otherwise, the GitHub issues I create here are intended first as a planning tool, to remind me of ideas and tasks details + set priorities, (my todo list in short ^^) The second purpose is to use the issues as a platform to discuss the utility and usability of the features themselves. On the coding aspect, I usually have a rather precise idea on how to resolve theses.
Just wanted to clarify this, because I don't want to waste your time finding solutions for me, unless you know and existing solution that fit perfectly the purpose of course !
Thanks for taking the time to check and comment, I appreciate it.
No worries, just my LEGO brick brain thinking, that I used a brick recently, you were missing.