This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** MEL Skript pro vytvoření NURBS koule ze tří NURBS kružnic | |
* | |
* @author Tomáš Jankó / http://jankosh.com | |
* | |
*/ | |
proc string createNurbsCircleForSphere( int $x, int $y, int $z ) { | |
string $circle[] = `circle -c 0 0 0 -nr $x $y $z -sw 360 -r 1 -d 3 -ut 0 -tol 0.01 -s 8 -ch 1`; | |
return $circle[0]; | |
} | |
proc string reparentNurbsCircle( string $parent, string $child ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--------------------------------------------------------------------------------- | |
// Zdroj: https://digituts.cz | |
// Průchod vybranými objekty a zobrazení pivotu každého objektu | |
// Autor: Tomáš Jankó, http://jankosh.com | |
// Datum: 2018-01-08 | |
// | |
// Popis: MEL Skript pro hromadné zobrazení pivotu všech vybraných objektů. | |
// Výsledkem příkazu ls (list) s parametrem -sl je pole s názvy označených objektů. | |
// 1. vytvoříme pole typu string, do kterého načteme vybrané objekty |