Jump to content
3D Coat Forums
ajz3d

[SCRIPT] Multi smooth pose/freeze selection

Recommended Posts

Multi smooth pose/freeze selection

Description: The script applies n-steps of smoothing to pose or freeze selection.

 

Installation:

Windows Vista/7/8:

3D Coat v4.0.16 and newer: Copy ajz_multiSmoothFPSelection.txt and ajz_multiSmoothFPSelection.xml files to "%USERPROFILE\Documents\3D-CoatV4\Scripts\ExtraMenuItems\" path (if "\Scripts\ExtraMenuItems\" directory doesn't exist, create it). Alternatively, unpack the ajz_multiSmoothFPSelection.txt file to temporary directory and run it with Scripts->Run Script.

Both actions will place the script in Voxels menu (3D Coat restart is required).

3D Coat v4.0.15A and older: Because InstallToMenu function is buggy in those versions, you'll need to run the script with Scripts->Run Script and access it through the recent scripts list.

Macintosh/Linux:

3D Coat v4.0.16 and newer: Unpack the ajz_multiSmoothFPSelection.txt file to temporary directory and run it with Scripts->Run Script. This should place the script in Voxels menu (3D Coat restart is required).

3D Coat v4.0.15A and older: Because InstallToMenu function is buggy in those versions, you'll need to run the script with Scripts->Run Script and access it through the recent scripts list.

ajz_multiSmoothFPSelection.7z

Edited by ajz3d
  • Like 1

Share this post


Link to post
Share on other sites

Important!
For 3D Coat versions 4.0.16 and older, in order for script to work, you'll need to comment out line 58. Just add // before AddTranslation, like this:

//AddTranslation("steps", "Smoothing steps:");

AddTranslation function was added in 16A.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks, I'm going to try this out!

Share this post


Link to post
Share on other sites

It works great!, I wonder if you could keep the dialogue open, and possibly add in a way to undo a certain number of smooth iterations the same way that you put them in.  Either way, I think it's already a great help!

Share this post


Link to post
Share on other sites

Yeah, I can make the dialog to remain open and throw in a button that would smooth the selection according to values set by the slider. The trade off is that while the dialog is open, you'll be unable to access menus, key shortcuts and any other windows (but the pose tool settings window).

About undoing iterations, all I can do here is to insert a button that would call undo command multiple times. This includes every action you performed after applying smooth iterations or even before it (if you set the steps slider to greater values). It could be dangerous if one's not careful

Edited by ajz3d
  • Like 1

Share this post


Link to post
Share on other sites

I'm happy you like it Phil.

Gbball, about the improvements that you asked for, I tested it and noticed that if I keep the dialog open, make selections with Freeze/Pose tool and click dialog buttons in the process, it can lead to 3D Coat instability and the program may crash. Probably dialog windows weren't supposed to be used this way. So, unfortunately I think I better not implement this.

Edited by ajz3d

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×