Lines Matching refs:n

46 		trace ("Error: " + $msg + "\n");
93 //trace ("save load scene setting: " + `optionVar -q nw4cExpDialog_SaveLoadSceneSetting` + "\n");
103 + ($version / 10) + "." + ($version % 10) + ")\n");
196 print ("disable settings: " + $node + "\n");
199 print "(locked)\n";
208 print ("delete settings: " + $node + "\n");
225 $cmd += "global int $nw4cExpDialog_SettingVer = " + $nw4cExpDialog_SettingLatestVer + ";\n";
230 + `optionVar -q nw4cExport_Options` + "\";\n";
235 + "nw4cExpDialog_SettingNodeFunc();\n";
264 createNode script -n $node;
272 print "NW4C export settings node is locked\n";
714 fprint($fid, "# NW4C_Export settings\r\n");
715 fprint($fid, "SettingsVersion=\"" + $nw4cExpDialog_c3esLatestVer + "\"\r\n");
716 fprint($fid, "GeneratorName=\"Maya " + `about -v` + " NW4C_Export\"\r\n");
717 fprint($fid, "GeneratorVersion=\"" + $generatorVersion + "\"\r\n");
718 fprint($fid, "Date=\"" + $date + "T" + $time + "\"\r\n");
719 fprint($fid, "\r\n");
723 fprint($fid, "# Output Options\r\n");
724 fprint($fid, "ProcessMode=\"" + $processMode + "\"\r\n");
725 fprint($fid, "ExportTarget=\"" + $exportTarget + "\"\r\n");
726 fprint($fid, "OutputFileName=\"" + $outputFileName + "\"\r\n");
727 fprint($fid, "OutputMode=\"" + $outputMode + "\"\r\n");
728 fprint($fid, "OutputFolder=\"" + $outputFolder + "\"\r\n");
729 fprint($fid, "MergeCmdl=\"" + $boolNames[$mergeCmdl] + "\"\r\n");
730 fprint($fid, "MergeCmdlPath=\"" + $mergeCmdlPath + "\"\r\n");
731 //fprint($fid, "MergeCmdlAuto=\"" + $boolNames[$mergeCmdlAuto] + "\"\r\n");
732 fprint($fid, "\r\n");
736 fprint($fid, "# General Options\r\n");
737 fprint($fid, "Magnify=\"" + GetFloatStringForSettingFile($magnify) + "\"\r\n");
738 fprint($fid, "FrameRange=\"" + $frameRange + "\"\r\n");
739 fprint($fid, "StartFrame=\"" + $startFrame + "\"\r\n");
740 fprint($fid, "EndFrame=\"" + $endFrame + "\"\r\n");
741 //fprint($fid, "TexMatrixMode=\"" + $texMatrixMode + "\"\r\n");
742 fprint($fid, "RemoveNamespace=\"" + $boolNames[$removeNamespace] + "\"\r\n");
743 fprint($fid, "\r\n");
747 fprint($fid, "# Output File Selection\r\n");
748 fprint($fid, "OutputCmdl=\"" + $boolNames[$outputCmdl] + "\"\r\n");
749 fprint($fid, "OutputCtex=\"" + $boolNames[$outputCtex] + "\"\r\n");
750 fprint($fid, "OutputCmdla=\"" + $boolNames[$outputCmdla] + "\"\r\n");
751 fprint($fid, "OutputCskla=\"" + $boolNames[$outputCskla] + "\"\r\n");
752 fprint($fid, "OutputCmata=\"" + $boolNames[$outputCmata] + "\"\r\n");
753 fprint($fid, "OutputCmcla=\"" + $boolNames[$outputCmcla] + "\"\r\n");
754 fprint($fid, "OutputCmtpa=\"" + $boolNames[$outputCmtpa] + "\"\r\n");
755 fprint($fid, "OutputCmtsa=\"" + $boolNames[$outputCmtsa] + "\"\r\n");
756 fprint($fid, "OutputCcam=\"" + $boolNames[$outputCcam] + "\"\r\n");
757 fprint($fid, "OutputClgt=\"" + $boolNames[$outputClgt] + "\"\r\n");
758 fprint($fid, "OutputCenv=\"" + $boolNames[$outputCenv] + "\"\r\n");
759 fprint($fid, "\r\n");
763 fprint($fid, "# Optimization Options\r\n");
764 fprint($fid, "CompressNode=\"" + $compressNode + "\"\r\n");
765 //fprint($fid, "CombinePolygon=\"" + $boolNames[$combinePolygon] + "\"\r\n");
766 fprint($fid, "CompressMaterial=\"" + $boolNames[$compressMaterial] + "\"\r\n");
767 fprint($fid, "OptimizePrimitive=\"" + $boolNames[$optimizePrimitive] + "\"\r\n");
768 fprint($fid, "ConvertToModel=\"" + $boolNames[$convertToModel] + "\"\r\n");
769 //fprint($fid, "DelUselessVtxData=\"" + $boolNames[$delUselessVtxData] + "\"\r\n");
770 fprint($fid, "\r\n");
774 fprint($fid, "# Quantization Options\r\n");
775 fprint($fid, "QuantizePos=\"" + $quantizePos + "\"\r\n");
776 fprint($fid, "QuantizeNrm=\"" + $quantizeNrm + "\"\r\n");
777 fprint($fid, "QuantizeTex=\"" + $quantizeTex + "\"\r\n");
778 fprint($fid, "\r\n");
782 fprint($fid, "# Model Options\r\n");
783 fprint($fid, "AdjustSkinning=\"" + $adjustSkinning + "\"\r\n");
784 fprint($fid, "MeshVisibilityMode=\"" + $meshVisibilityMode + "\"\r\n");
785 fprint($fid, "NonUniformScale=\"" + $boolNames[$nonUniformScale] + "\"\r\n");
786 fprint($fid, "MaxReservedUniformRegisters=\"" + $maxReservedUniformRegisters + "\"\r\n");
789 fprint($fid, "\r\n");
793 fprint($fid, "# Animation Options\r\n");
794 fprint($fid, "BakeAllAnim=\"" + $boolNames[$bakeAllAnim] + "\"\r\n");
795 fprint($fid, "FramePrecision=\"" + GetFloatStringForSettingFile($framePrecision) + "\"\r\n");
796 fprint($fid, "LoopAnim=\"" + $boolNames[$loopAnim] + "\"\r\n");
797 fprint($fid, "FrameFormat=\"" + $boolNames[$frameFormat] + "\"\r\n");
798 // fprint($fid, "KeepAtLeastOneKey=\"" + $boolNames[$keepAtLeastOneKey] + "\"\r\n");
799 fprint($fid, "ScaleQuantizeQuality=\"" + $scaleQuantizeQuality + "\"\r\n");
800 fprint($fid, "RotateQuantizeQuality=\"" + $rotateQuantizeQuality + "\"\r\n");
801 fprint($fid, "TranslateQuantizeQuality=\"" + $translateQuantizeQuality + "\"\r\n");
802 fprint($fid, "\r\n");
806 fprint($fid, "# Tolerance Options\r\n");
807 fprint($fid, "ToleranceScale=\"" + GetFloatStringForSettingFile($toleranceScale) + "\"\r\n");
808 fprint($fid, "ToleranceRotate=\"" + GetFloatStringForSettingFile($toleranceRotate) + "\"\r\n");
809 …fprint($fid, "ToleranceTranslate=\"" + GetFloatStringForSettingFile($toleranceTranslate) + "\"\r\n
810 fprint($fid, "ToleranceTexScale=\"" + GetFloatStringForSettingFile($toleranceTexScale) + "\"\r\n");
811 …fprint($fid, "ToleranceTexRotate=\"" + GetFloatStringForSettingFile($toleranceTexRotate) + "\"\r\n
812 …fid, "ToleranceTexTranslate=\"" + GetFloatStringForSettingFile($toleranceTexTranslate) + "\"\r\n");
813 fprint($fid, "ToleranceColor=\"" + GetFloatStringForSettingFile($toleranceColor) + "\"\r\n");
814 fprint($fid, "\r\n");
822 print ("Saved to " + $filePath + "\n");
952 $line = substitute("\r*\n$", $line, ""); // cut [CR+LF] or [LF]
969 //print ($tag + ": " + $val + "\n");
1331 print ("Loaded from " + $filePath + "\n");
2589 print "NW4C export settings node is referenced\n";
2655 return (`attributeQuery -n $node -ex "nw4cNoCompressNode"`) ?
2728 return `attributeQuery -n $node -ex "nw4c_AnimRangeEnable"`;
2783 //print ("remove by parent: " + $xform + " (" + $noOutput + ")\n");
2854 //print ("ixna: " + $xform + ", " + $depth + "\n");
2907 //print "tar:\n"; print $targets;
2914 for ($n in $list)
2916 if (IsXformNodeAnimated($n, $depth + 1))
2985 //print "pole tar:\n"; print $targets;
2992 for ($n in $list)
2994 if (IsXformNodeAnimated($n, 0))
3141 if (!`attributeQuery -n $mat -ex $attr`)
3335 //print "-- xforms --\n"; print $xforms;
3378 GetFileNodeForAttr($files, $mat + ".n"); // for nrm map