Jump to content
3DCoat Forums

[SCRIPT] Multi smooth pose/freeze selection


ajz3d
 Share

Recommended Posts

  • Contributor

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

----------------------------------------------------

//edit

19 minutes ago, ajz3d said:

Scripts from GitHub are much more up to date than those uploaded here.

I just checked this particular one and it works. At least in 3DC 4.9.15, which I currently have installed.

 

  • Like 1
Link to comment
Share on other sites

  • Contributor

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
Link to comment
Share on other sites

  • Advanced Member

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!

Link to comment
Share on other sites

  • Contributor

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
Link to comment
Share on other sites

  • Contributor

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
Link to comment
Share on other sites

  • 5 years later...
  • 1 year later...

3DCoat v2021: Copy the ajz_multiSmoothFPSelection_2021.txt file to temporary directory and run it with Scripts->Run Script.

This should place the script in Freeze menu (3DCoat restart is required).

ajz_multiSmoothFPSelection_2021.script.txt

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...