Adverti horiz upsell

mayaExportSTL 0.1.0 for Maya (maya script)

Export STL from Maya for 3D printing

License
Button download
13,250 Downloads

Compatibility

  • 2011, 2010, 9.x, 2009, 2008, 8.x, 7.x, 6.x

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:05/24/2006
Last Modified:06/18/2008
File Size: 12.2 KB

Feature Request

hello

Status:pending
Date:01/13/2010
Submitted by:NextFab_Studio NextFab_Studio
Hello, This script seems amazing special for what i do. I am having a problem i put it into the script editor and made a shelf button for it. As i have selected my object than hit my shelf button, nothing happens. I followed what you have said through the tutorial. I would love for this to work. If you could let me know maybe whats going wrong, i would really appreciate it. Thank you very much Brandon Boulden | Facility Coordinator brandon.boulden@nextfabstudio.com NextFab Studio nextfabstudio.com

Comments on this feature request:

  • NextFab_Studio

    NextFab_Studio said about 15 years ago:

    It might help if i give the code that it exports after i click the object and than hit the buttton: global proc vector mayaExportSTLVertexPos(string $input_ID, string $input_OBJ) { vector $output_Pos; $output_Pos = `pointPosition -w ($input_OBJ+".vtx["+int($input_ID)+"]")`; return $output_Pos; }; select -r polySurface9 ; autoUpdateAttrEd; listHistory -pdo true -lf false -il 2 "|polySurface9"; listHistory -pdo true -lf false -il 2 -f true "|polySurface9"; listHistory -pdo true -lf false -il 2 "|polySurface9|polySurfaceShape10"; // Result: polyBoolOp9 polyBoolOp8 polyBoolOp7 polyBoolOp6 polyBoolOp5 polyBoolOp4 polyBoolOp3 polyBoolOp2 polyBoolOp1 polyCube1 polyChipOff1 // listHistory -pdo true -lf false -il 2 -f true "|polySurface9|polySurfaceShape10"; // Result: initialShadingGroup // setUITemplate -pst attributeEditorTemplate; // Result: attributeEditorTemplate // setParent MayaWindow|mayaMainWindowForm|formLayout3|formLayout9|formLayout28|formLayout29|formLayout34|AEmenuBarLayout|AErootLayout|AErootLayoutPane|AEbaseFormLayout|AEcontrolFormLayout|AttrEdmeshFormLayout|scrollLayout1|columnLayout2|columnLayout21; // Result: MayaWindow|mayaMainWindowForm|formLayout3|formLayout9|formLayout28|formLayout29|formLayout34|AEmenuBarLayout|AErootLayout|AErootLayoutPane|AEbaseFormLayout|AEcontrolFormLayout|AttrEdmeshFormLayout|scrollLayout1|columnLayout2|columnLayout21 // AEmakeDynRampClothCollisionInteractiveReplace( "polySurfaceShape10.collisionOffsetVelocityMultiplier" ); setParent MayaWindow|mayaMainWindowForm|formLayout3|formLayout9|formLayout28|formLayout29|formLayout34|AEmenuBarLayout|AErootLayout|AErootLayoutPane|AEbaseFormLayout|AEcontrolFormLayout|AttrEdmeshFormLayout|scrollLayout1|columnLayout2|columnLayout22; // Result: MayaWindow|mayaMainWindowForm|formLayout3|formLayout9|formLayout28|formLayout29|formLayout34|AEmenuBarLayout|AErootLayout|AErootLayoutPane|AEbaseFormLayout|AEcontrolFormLayout|AttrEdmeshFormLayout|scrollLayout1|columnLayout2|columnLayout22 // AEmakeDynRampClothCollisionInteractiveReplace( "polySurfaceShape10.collisionDepthVelocityMultiplier" ); setUITemplate -ppt; // Result: NONE // updateAnimLayerEditor("AnimLayerTab"); statusLineUpdateInputField; HfResetScriptJobs; if (`objExists "polySurfaceShape10"`) checkMeshUseMaxSubd "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshUseMinScreen "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshUseMaxUv "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshUseMinEdgeLength "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshUseMaxEdgeLength "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshDisplayVertices "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshDisplayBorder "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshDisplayUVs "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshDisplayNormals "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshDisplayNormals "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshDisplayNormals "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshAllowTopologyMod "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkMeshReuseTrianglesAE "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) SMPcheckUsePreviewForRender "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkDoubleSided "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkGeomAntialiasingOverride "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkGeomShadingSamplesOverride "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkGeomMaxVisSamplesOverride "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) AEmentalrayOverrideObjectSamplesFlagsActive "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) AEmentalrayOverrideFinalGatherFlagsActive "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) AEmentalrayOverrideGlobalIlluminationFlagsActive "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) AEmentalrayOverrideCausticsFlagsActive "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) AEcheckGhostControl "polySurfaceShape10"; if (`objExists "polySurfaceShape10"`) checkDrawEnabled overrideEnabled overrideDisplayType overrideLevelOfDetail overrideShading overrideTexturing overridePlayback overrideVisibility overrideColor "polySurfaceShape10";
  • devon frohne

    devon frohne said about 15 years ago:

    Yep same thing happened for me. as in... nothing happens

Post a comment: