Echo All Commands in Script Log
On 16/10/2017 at 20:55, xxxxxxxx wrote:
I'm not a power-user of scripting as such I rely on the Script Log to automate. There are, however, instances that some commands do not appear in the script log such as execute on the Axis Center Dialog Box. (For this example, I was trying to create a script to move the axis center of any object at -100% immediately).
I also asked this question not too long ago but it only involves tag.
Thank you for your time.
On 17/10/2017 at 00:58, xxxxxxxx wrote:
Sadly there is no way for using the Axis Center Dialog tool in python or even in C++. Which would be a good features request :p So you have to do it yourself.
Some good read Matrix Fundamentals, Modify Axis
Anyway I have done this plugin which do exactly what you want (and a litlle bit more since it's support spline, and some extra object like null, extrude, sweep and so on).
Not that the orientation is set by the current world rotation. So by selecting a polygon then use Align Work plane, apply my plugin will result to have the object in the same rotation of the polygon selection ;)
The code is not the cleaner one, since it's one of my first plugin, but if you missunderstand anything do not hesitate to tell me.
Anyway welcome here and I hope it's help.
On 17/10/2017 at 01:26, xxxxxxxx wrote:
Hi gr4ph0s! Thanks for the help! Your plug-in works as expected :)
On 17/10/2017 at 07:25, xxxxxxxx wrote:
welcome to the Plugin Café forums
Currently only certain commands get reflected in the Script Log. Unfortunately that's how it is. There are no configuration options and there's nothing a plugin could do about it. Sorry.