Lines Matching refs:n

45 		trace ("Error: " + $msg + "\n");
134 //trace ("save load scene setting: " + `optionVar -q nw4cExpDialog_SaveLoadSceneSetting` + "\n");
144 + ($version / 10) + "." + ($version % 10) + ")\n");
237 print ("disable settings: " + $node + "\n");
240 print "(locked)\n";
249 print ("delete settings: " + $node + "\n");
266 $cmd += "global int $nw4cExpDialog_SettingVer = " + $nw4cExpDialog_SettingLatestVer + ";\n";
271 + `optionVar -q nw4cExport_Options` + "\";\n";
276 + "nw4cExpDialog_SettingNodeFunc();\n";
305 createNode script -n $node;
313 print "NW4C export settings node is locked\n";
757 fprint($fid, "# NW4C_Export settings\r\n");
758 fprint($fid, "SettingsVersion=\"" + $nw4cExpDialog_c3esLatestVer + "\"\r\n");
759 fprint($fid, "GeneratorName=\"Maya " + `about -v` + " NW4C_Export\"\r\n");
760 fprint($fid, "GeneratorVersion=\"" + $generatorVersion + "\"\r\n");
761 fprint($fid, "Date=\"" + $date + "T" + $time + "\"\r\n");
762 fprint($fid, "\r\n");
766 fprint($fid, "# Output Options\r\n");
767 fprint($fid, "ProcessMode=\"" + $processMode + "\"\r\n");
768 fprint($fid, "ExportTarget=\"" + $exportTarget + "\"\r\n");
769 fprint($fid, "OutputFileName=\"" + $outputFileName + "\"\r\n");
770 fprint($fid, "OutputMode=\"" + $outputMode + "\"\r\n");
771 fprint($fid, "OutputFolder=\"" + $outputFolder + "\"\r\n");
772 fprint($fid, "MergeCmdl=\"" + $boolNames[$mergeCmdl] + "\"\r\n");
773 fprint($fid, "MergeCmdlPath=\"" + $mergeCmdlPath + "\"\r\n");
774 fprint($fid, "CopyRelatedFiles=\"" + $boolNames[$copyRelatedFiles] + "\"\r\n");
775 //fprint($fid, "MergeCmdlAuto=\"" + $boolNames[$mergeCmdlAuto] + "\"\r\n");
776 fprint($fid, "\r\n");
780 fprint($fid, "# General Options\r\n");
781 fprint($fid, "Magnify=\"" + GetFloatStringForSettingFile($magnify) + "\"\r\n");
782 fprint($fid, "FrameRange=\"" + $frameRange + "\"\r\n");
783 fprint($fid, "StartFrame=\"" + $startFrame + "\"\r\n");
784 fprint($fid, "EndFrame=\"" + $endFrame + "\"\r\n");
785 //fprint($fid, "TexMatrixMode=\"" + $texMatrixMode + "\"\r\n");
786 fprint($fid, "RemoveNamespace=\"" + $boolNames[$removeNamespace] + "\"\r\n");
787 fprint($fid, "\r\n");
791 fprint($fid, "# Output File Selection\r\n");
792 fprint($fid, "OutputCmdl=\"" + $boolNames[$outputCmdl] + "\"\r\n");
793 fprint($fid, "OutputCtex=\"" + $boolNames[$outputCtex] + "\"\r\n");
794 fprint($fid, "OutputCmdla=\"" + $boolNames[$outputCmdla] + "\"\r\n");
795 fprint($fid, "OutputCskla=\"" + $boolNames[$outputCskla] + "\"\r\n");
796 fprint($fid, "OutputCmata=\"" + $boolNames[$outputCmata] + "\"\r\n");
797 fprint($fid, "OutputCmcla=\"" + $boolNames[$outputCmcla] + "\"\r\n");
798 fprint($fid, "OutputCmtpa=\"" + $boolNames[$outputCmtpa] + "\"\r\n");
799 fprint($fid, "OutputCmtsa=\"" + $boolNames[$outputCmtsa] + "\"\r\n");
800 fprint($fid, "OutputCcam=\"" + $boolNames[$outputCcam] + "\"\r\n");
801 fprint($fid, "OutputClgt=\"" + $boolNames[$outputClgt] + "\"\r\n");
802 fprint($fid, "OutputCenv=\"" + $boolNames[$outputCenv] + "\"\r\n");
803 fprint($fid, "\r\n");
807 fprint($fid, "# Optimization Options\r\n");
808 fprint($fid, "CompressNode=\"" + $compressNode + "\"\r\n");
809 //fprint($fid, "CombinePolygon=\"" + $boolNames[$combinePolygon] + "\"\r\n");
810 fprint($fid, "CompressMaterial=\"" + $boolNames[$compressMaterial] + "\"\r\n");
811 fprint($fid, "OptimizePrimitive=\"" + $boolNames[$optimizePrimitive] + "\"\r\n");
812 fprint($fid, "ConvertToModel=\"" + $boolNames[$convertToModel] + "\"\r\n");
813 //fprint($fid, "DelUselessVtxData=\"" + $boolNames[$delUselessVtxData] + "\"\r\n");
814 fprint($fid, "\r\n");
818 fprint($fid, "# Quantization Options\r\n");
819 fprint($fid, "QuantizePos=\"" + $quantizePos + "\"\r\n");
820 fprint($fid, "QuantizeNrm=\"" + $quantizeNrm + "\"\r\n");
821 fprint($fid, "QuantizeTex=\"" + $quantizeTex + "\"\r\n");
822 fprint($fid, "\r\n");
826 fprint($fid, "# Model Options\r\n");
827 fprint($fid, "AdjustSkinning=\"" + $adjustSkinning + "\"\r\n");
828 fprint($fid, "MeshVisibilityMode=\"" + $meshVisibilityMode + "\"\r\n");
831 fprint($fid, "NonUniformScale=\"" + $boolNames[$nonUniformScale] + "\"\r\n");
833 fprint($fid, "MaxReservedUniformRegisters=\"" + $maxReservedUniformRegisters + "\"\r\n");
836 fprint($fid, "\r\n");
840 fprint($fid, "# Animation Options\r\n");
841 fprint($fid, "BakeAllAnim=\"" + $boolNames[$bakeAllAnim] + "\"\r\n");
842 fprint($fid, "FramePrecision=\"" + GetFloatStringForSettingFile($framePrecision) + "\"\r\n");
843 fprint($fid, "LoopAnim=\"" + $boolNames[$loopAnim] + "\"\r\n");
844 fprint($fid, "FrameFormat=\"" + $boolNames[$frameFormat] + "\"\r\n");
845 fprint($fid, "ScaleQuantizeQuality=\"" + $scaleQuantizeQuality + "\"\r\n");
846 fprint($fid, "RotateQuantizeQuality=\"" + $rotateQuantizeQuality + "\"\r\n");
847 fprint($fid, "TranslateQuantizeQuality=\"" + $translateQuantizeQuality + "\"\r\n");
848 fprint($fid, "\r\n");
852 fprint($fid, "# Tolerance Options\r\n");
853 fprint($fid, "ToleranceScale=\"" + GetFloatStringForSettingFile($toleranceScale) + "\"\r\n");
854 fprint($fid, "ToleranceRotate=\"" + GetFloatStringForSettingFile($toleranceRotate) + "\"\r\n");
855 …fprint($fid, "ToleranceTranslate=\"" + GetFloatStringForSettingFile($toleranceTranslate) + "\"\r\n
856 fprint($fid, "ToleranceTexScale=\"" + GetFloatStringForSettingFile($toleranceTexScale) + "\"\r\n");
857 …fprint($fid, "ToleranceTexRotate=\"" + GetFloatStringForSettingFile($toleranceTexRotate) + "\"\r\n
858 …fid, "ToleranceTexTranslate=\"" + GetFloatStringForSettingFile($toleranceTexTranslate) + "\"\r\n");
859 fprint($fid, "ToleranceColor=\"" + GetFloatStringForSettingFile($toleranceColor) + "\"\r\n");
860 fprint($fid, "\r\n");
868 print ("Saved to " + $filePath + "\n");
1011 $line = substitute("\r*\n$", $line, ""); // cut [CR+LF] or [LF]
1028 //print ($tag + ": " + $val + "\n");
1398 print ("Loaded from " + $filePath + "\n");
2704 print "NW4C export settings node is referenced\n";
2770 return (`attributeQuery -n $node -ex "nw4cNoCompressNode"`) ?
2843 return `attributeQuery -n $node -ex "nw4c_AnimRangeEnable"`;
2898 //print ("remove by parent: " + $xform + " (" + $noOutput + ")\n");
2969 //print ("ixna: " + $xform + ", " + $depth + "\n");
3022 //print "tar:\n"; print $targets;
3029 for ($n in $list)
3031 if (IsXformNodeAnimated($n, $depth + 1))
3100 //print "pole tar:\n"; print $targets;
3107 for ($n in $list)
3109 if (IsXformNodeAnimated($n, 0))
3256 if (!`attributeQuery -n $mat -ex $attr`)
3450 //print "-- xforms --\n"; print $xforms;
3493 GetFileNodeForAttr($files, $mat + ".n"); // for nrm map