Page 1 of 2

QuickThickness

Posted: 05 Aug 2015, 07:30
by eistan
Hi all, i made own QuickThickness with python with blackjack and... so what is the difference from the InteractiveThickness and Thickness on ICE (default XSI, which very very slow):

-multiple selection objects!
-progress bar
-multi inspect parameters
-invert normals if value is negative
-if you run scripts on the objects which already have this effect, then its only inspect parameters
-work without Push Op, which means work with normals correctly
-have parameters Subdiv and Insert

quickThickness_v1.5.xsiaddon

It will add the command to the UI in two places:
1. Model > Modify > Polymesh > QuickThickness
2. On a mesh's context menu (alt-RMB-click)


p.s. origin, if you do not mind, I took a piece of your script name "Quick" =) i think it sounds cool) but if you are against it, I change)

Re: QuickThickness

Posted: 05 Aug 2015, 15:12
by El Burritoh
Ah thanks! This looks great!

Re: QuickThickness

Posted: 05 Aug 2015, 17:04
by Draise
Very nice, you use this in the script editor?

I haven't used python much except in Gear_MC, so.. not sure how to install python script. Pardon my seemingly noobish question, but.. ah.. how can I use it?

Re: QuickThickness

Posted: 05 Aug 2015, 17:09
by eistan
Draise
Yes, this is for Script Editor, its very simply, just drag n drop to script editor, choose Python, and click Run button. And dont forget select object =)

and if you want to add this at panel or toolbar like button, (you need set your layout to Default) select script in script editor and drag n drop to left bottom area in xsi, click Ok, thats it. and if you click on button RMB and choose Customize you see some options to change size button, name, image or script (see the image instruction)

Image
Image

Re: QuickThickness

Posted: 05 Aug 2015, 17:24
by El Burritoh
I'll probably wrap that into a plugin and add it to the UI somewhere for my own use. I'll post the result here.

Re: QuickThickness

Posted: 05 Aug 2015, 17:45
by eistan
El Burritoh
I tried but could not, cuz when you add this script in Command sdk_wizard, it will not work, cuz i use PPG "on-the-fly" and Command get error... later i rewrite script for xsiaddon version

Re: QuickThickness

Posted: 05 Aug 2015, 18:00
by El Burritoh
eistan wrote:El Burritoh
I tried but could not, cuz when you add this script in Command sdk_wizard, it will not work, cuz i use PPG "on-the-fly" and Command get error... later i rewrite script for xsiaddon version

Working fine here, as is (the logic of the PPG, in triple quotes, can't be indented, that might be why it was messing up for you).... Just drop the attached file in your Autodesk/Softimage/Application/Plugins folder... It will add the command to the UI in two places:
1. Model > Modify > Polymesh > QuickThickness
2. On a mesh's context menu (alt-RMB-click)

It would be nice it we could do this to a selection of faces, rather than the entire mesh, but it's still really handy this way too. And I like the options you have there, particularly the automatic normal inversion. Quite useful.

Re: QuickThickness

Posted: 05 Aug 2015, 18:24
by eistan
triple quotes, can't be indented
oh shit =) very thanx! i didnt know that and thanks to you I made an addon. And i optimize some commands and removed boundary edges checking whats accelerated script! Enjoy =)

quickThickness_v1.5.xsiaddon

Re: QuickThickness

Posted: 05 Aug 2015, 21:02
by FXDude
Awesome! : *-:) :ymdaydream:

Re: QuickThickness

Posted: 06 Aug 2015, 01:58
by cristiano.policarpo
Very cool, thanks!

Re: QuickThickness

Posted: 06 Aug 2015, 07:26
by Draise
Wow! An Addon! You guys are legend. This kind of stuff keeps SI alive.

Re: QuickThickness

Posted: 06 Aug 2015, 08:59
by wireframex
Here it doesn't work at all.

I have this message : "OLE Error 0x80020101"

Softimage 2012 x64 SP1

All the best
Phil

Re: QuickThickness

Posted: 06 Aug 2015, 10:34
by eistan
wireframex
when it happen ? when you install addon or run command ?
can you capture the screen with full error?

Re: QuickThickness

Posted: 06 Aug 2015, 11:17
by Hirazi Blue
Did 2012 already "ship" with its own preinstalled Python ? If not you should install Python and pywin32 first... ;)

Re: QuickThickness

Posted: 06 Aug 2015, 12:37
by wireframex
eistan wrote:wireframex
when it happen ? when you install addon or run command ?

When I run command

can you capture the screen with full error?

Here is

Image

All the best
Phil

Re: QuickThickness

Posted: 06 Aug 2015, 12:38
by wireframex
Hirazi Blue wrote:Did 2012 already "ship" with its own preinstalled Python ? If not you should install Python and pywin32 first... ;)
All my Python scripts work perfectly :)