Hello everybody,
hope your are well,
so this morning I just finished to implement my first method to call generic methods with Reflexion.
I'm still a junior C# developer so this is really cool.
(I'm almost done with my training in ASP .Net C#.)
This is a little soft in WinForms to encrypt text string with TripleDES, AESManaged and RijndaelManaged.
The generic methods to encrypt and decrypt :
And the method to call the generics methods :
Showing posts with label Scripts. Show all posts
Showing posts with label Scripts. Show all posts
Thursday, 9 October 2014
Monday, 31 March 2014
Another Maya Mel Script
This time it is a little Mel script to convert degrees to radians or radians to degrees.
Of course maya have a embed procedure for that but it is much more efficient to have a mini interface to do the math and past result in the clipboard.
[Download]
Of course maya have a embed procedure for that but it is much more efficient to have a mini interface to do the math and past result in the clipboard.
[Download]
Saturday, 16 November 2013
My first Mel (Maya) script UPDATE(2/1/2014)
Hello everybody,
since a few days I've started to learn mel script for Maya,
and I would like to share my work in progress from my first script with the interface.
This is a script for exporting FBX for Unity, with some little options.
1.1) Select All(Geom) = select all geometry in the scene.
1.2) Clear selection = clear all selection in the scene.
2.1 and 2.2) Export selected and export all, are working with the bottom list.
3.1) Export objects centred to 0,0,0.
3.2) Export objects in separate files.
4.0) Add or remove items to the list, and clear all the list.
the script is still wip but the main functions behind buttons are almost finished.
I also think it's a very good start to learn an unknown programming language.
thanks for your support.
Update with some more buttons.
One to select object(s) in the scene from a selection on the bottom list,
two prefix and suffix export name options, and a refresh button to refresh list if you delete an object in the scene.
First final version. [Download].
It must be place in "C:\Users\UserName\Documents\maya\scripts"
This version save FBX(s) on the C drive.
To change that, change the line 230 : FBXExport -f ("c:/" + $vPrefix + $o + $vSuffix + ".fbx") -s;
For any problem, bug report, or implementation ideas, contact me by mail or just leave a comment.
lefebvrejonathan.pro@gmail.com
Happy new years.
since a few days I've started to learn mel script for Maya,
and I would like to share my work in progress from my first script with the interface.
This is a script for exporting FBX for Unity, with some little options.
1.1) Select All(Geom) = select all geometry in the scene.
1.2) Clear selection = clear all selection in the scene.
2.1 and 2.2) Export selected and export all, are working with the bottom list.
3.1) Export objects centred to 0,0,0.
3.2) Export objects in separate files.
4.0) Add or remove items to the list, and clear all the list.
the script is still wip but the main functions behind buttons are almost finished.
I also think it's a very good start to learn an unknown programming language.
thanks for your support.
Update with some more buttons.
One to select object(s) in the scene from a selection on the bottom list,
two prefix and suffix export name options, and a refresh button to refresh list if you delete an object in the scene.
First final version. [Download].
It must be place in "C:\Users\UserName\Documents\maya\scripts"
This version save FBX(s) on the C drive.
To change that, change the line 230 : FBXExport -f ("c:/" + $vPrefix + $o + $vSuffix + ".fbx") -s;
For any problem, bug report, or implementation ideas, contact me by mail or just leave a comment.
lefebvrejonathan.pro@gmail.com
Happy new years.
Subscribe to:
Posts (Atom)

