File formats/3D Objects/Maya

From Jmol
Revision as of 19:54, 21 February 2021 by AngelHerraez (talk | contribs) (Jmol support details and Molecular Maya)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Jmol support

Jmol can export to mayaAscii format (.ma files). Specifically, Jmol version 14.31.29 (Jan. 2021) exports as version 8.5 of Maya scenes.

Overview of Maya ascii format

The content below was originally here[1] and has been recovered as the Jan. 2015 version from Internet Archive - Wayback Machine[2]

Maya scene files define the geometry, lighting, animation, rendering, and other properties of a scene.

Maya scenes can be saved as binary or ASCII files. A Maya ASCII file can be easily edited.

If you have written a script using Maya's MEL programming language, you are already familiar with the Maya ASCII file format. A Maya ASCII file uses a tiny subset of the MEL language—in fact, of the hundreds of commands available in MEL, only eleven are used:*

  • file
  • requires
  • createNode
  • setAttr
  • addAttr
  • parent
  • connectAttr
  • disconnectAttr
  • select
  • currentUnit
  • fileInfo

These MEL commands are the only MEL commands that can be safely used in a Maya ASCII file.

If you are not familiar with MEL, you may want to look at the MEL documentation before continuing. See MEL Overview in the MEL and Expressions book for details.

A statement in MEL consists of a keyword, followed by a series of options and arguments, and ends in a semicolon. A statement can span any number of lines in the file.

  • A keyword is always the first word in a statement.
  • An option provides more specific information to the statement.
  • An argument further defines each option.

For the examples in this chapter, the following typefaces designate the keywords, options, and arguments:

Keywords and options are in bold-face type, such as bump or -s. The option is always preceded by a dash.

Arguments are in non-bold italic, such as u or file.txb. The names of the arguments are arbitrary labels. In your files, use the actual value or string.

A more extensive description of the Maya ascii format

This content was originally here[3] but it is no longer available.

You can see an archived version from Internet Archive - Wayback Machine[4]

Related tools

Molecular Maya eases the generation of molecular 3D models for Maya. It is a free plugin for Autodesk Maya that lets users import, model and animate molecular structures.

Example file

This is a Maya ascii file exported from Jmol for ethanol:

//  Maya ASCII 8.5 scene
//  Name: ball_stripped.ma
//  Last modified: Thu, Jul 5, 2007 10:25:55 PM
//  Codeset: UTF-8
requires maya "8.5";
currentUnit -l centimeter -a degree -t film;
fileInfo "application" "maya";
fileInfo "product" "Maya Unlimited 8.5";
fileInfo "version" "8.5";
fileInfo "cutIdentifier" "200612170012-692032";
fileInfo "osv" "Mac OS X 10.4.9";  
createNode transform -n "nurbsSphere1";
 setAttr ".t" -type "double3" 0.737 -0.0147 -0.0;
createNode nurbsSurface -n "nurbsSphereShape1" -p "nurbsSphere1";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere1";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.391;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere1.os" "nurbsSphereShape1.cr";
connectAttr "nurbsSphereShape1.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere2";
 setAttr ".t" -type "double3" -0.6896 0.067700006 -0.0;
createNode nurbsSurface -n "nurbsSphereShape2" -p "nurbsSphere2";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere2";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.3495;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere2.os" "nurbsSphereShape2.cr";
connectAttr "nurbsSphereShape2.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere3";
 setAttr ".t" -type "double3" 1.0701 -0.5487 0.89;
createNode nurbsSurface -n "nurbsSphereShape3" -p "nurbsSphere3";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere3";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.253;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere3.os" "nurbsSphereShape3.cr";
connectAttr "nurbsSphereShape3.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere4";
 setAttr ".t" -type "double3" 1.0701 -0.5487 -0.89;
createNode nurbsSurface -n "nurbsSphereShape4" -p "nurbsSphere4";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere4";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.253;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere4.os" "nurbsSphereShape4.cr";
connectAttr "nurbsSphereShape4.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere5";
 setAttr ".t" -type "double3" 1.159 0.9902 -0.0;
createNode nurbsSurface -n "nurbsSphereShape5" -p "nurbsSphere5";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere5";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.253;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere5.os" "nurbsSphereShape5.cr";
connectAttr "nurbsSphereShape5.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere6";
 setAttr ".t" -type "double3" -1.1333 -0.7916 0.0;
createNode nurbsSurface -n "nurbsSphereShape6" -p "nurbsSphere6";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere6";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.253;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere6.os" "nurbsSphereShape6.cr";
connectAttr "nurbsSphereShape6.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder1";
 setAttr ".t" -type "double3" -0.80052495 -0.14712499 0.0;
 setAttr ".r" -type "double3" 27.309591 90.0 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape1" -p "nurbsCylinder1";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder1";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 3.2236383;
 connectAttr "makenurbsCylinder1.os" "nurbsCylinderShape1.cr";
connectAttr "nurbsCylinderShape1.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder2";
 setAttr ".t" -type "double3" -1.022375 -0.57677495 0.0;
 setAttr ".r" -type "double3" 332.69043 -90.0 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape2" -p "nurbsCylinder2";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder2";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 3.2236385;
 connectAttr "makenurbsCylinder2.os" "nurbsCylinderShape2.cr";
connectAttr "nurbsCylinderShape2.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere7";
 setAttr ".t" -type "double3" -0.6896 0.067700006 -0.0;
createNode nurbsSurface -n "nurbsSphereShape7" -p "nurbsSphere7";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere7";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere7.os" "nurbsSphereShape7.cr";
connectAttr "nurbsSphereShape7.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere8";
 setAttr ".t" -type "double3" -1.1333 -0.7916 0.0;
createNode nurbsSurface -n "nurbsSphereShape8" -p "nurbsSphere8";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere8";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere8.os" "nurbsSphereShape8.cr";
connectAttr "nurbsSphereShape8.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder3";
 setAttr ".t" -type "double3" 0.8425 0.236525 -0.0;
 setAttr ".r" -type "double3" 337.2204 -90.0 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape3" -p "nurbsCylinder3";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder3";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 3.6330397;
 connectAttr "makenurbsCylinder3.os" "nurbsCylinderShape3.cr";
connectAttr "nurbsCylinderShape3.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder4";
 setAttr ".t" -type "double3" 1.0535 0.738975 -0.0;
 setAttr ".r" -type "double3" 22.779602 90.0 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape4" -p "nurbsCylinder4";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder4";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 3.6330397;
 connectAttr "makenurbsCylinder4.os" "nurbsCylinderShape4.cr";
connectAttr "nurbsCylinderShape4.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere9";
 setAttr ".t" -type "double3" 0.737 -0.0147 -0.0;
createNode nurbsSurface -n "nurbsSphereShape9" -p "nurbsSphere9";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere9";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere9.os" "nurbsSphereShape9.cr";
connectAttr "nurbsSphereShape9.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere10";
 setAttr ".t" -type "double3" 1.159 0.9902 -0.0;
createNode nurbsSurface -n "nurbsSphereShape10" -p "nurbsSphere10";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere10";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere10.os" "nurbsSphereShape10.cr";
connectAttr "nurbsSphereShape10.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder5";
 setAttr ".t" -type "double3" 0.82027495 -0.14819999 -0.2225;
 setAttr ".r" -type "double3" 240.66696 -20.519356 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape5" -p "nurbsCylinder5";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder5";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 3.6335037;
 connectAttr "makenurbsCylinder5.os" "nurbsCylinderShape5.cr";
connectAttr "nurbsCylinderShape5.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder6";
 setAttr ".t" -type "double3" 0.986825 -0.4152 -0.6675;
 setAttr ".r" -type "double3" 119.33304 159.48064 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape6" -p "nurbsCylinder6";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder6";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 3.6335037;
 connectAttr "makenurbsCylinder6.os" "nurbsCylinderShape6.cr";
connectAttr "nurbsCylinderShape6.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere11";
 setAttr ".t" -type "double3" 0.737 -0.0147 -0.0;
createNode nurbsSurface -n "nurbsSphereShape11" -p "nurbsSphere11";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere11";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere11.os" "nurbsSphereShape11.cr";
connectAttr "nurbsSphereShape11.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere12";
 setAttr ".t" -type "double3" 1.0701 -0.5487 -0.89;
createNode nurbsSurface -n "nurbsSphereShape12" -p "nurbsSphere12";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere12";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere12.os" "nurbsSphereShape12.cr";
connectAttr "nurbsSphereShape12.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder7";
 setAttr ".t" -type "double3" 0.82027495 -0.14819999 0.2225;
 setAttr ".r" -type "double3" 240.66696 -159.48064 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape7" -p "nurbsCylinder7";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder7";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 3.6335037;
 connectAttr "makenurbsCylinder7.os" "nurbsCylinderShape7.cr";
connectAttr "nurbsCylinderShape7.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder8";
 setAttr ".t" -type "double3" 0.986825 -0.4152 0.6675;
 setAttr ".r" -type "double3" 119.33304 20.519354 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape8" -p "nurbsCylinder8";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder8";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 3.6335037;
 connectAttr "makenurbsCylinder8.os" "nurbsCylinderShape8.cr";
connectAttr "nurbsCylinderShape8.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere13";
 setAttr ".t" -type "double3" 0.737 -0.0147 -0.0;
createNode nurbsSurface -n "nurbsSphereShape13" -p "nurbsSphere13";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere13";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere13.os" "nurbsSphereShape13.cr";
connectAttr "nurbsSphereShape13.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere14";
 setAttr ".t" -type "double3" 1.0701 -0.5487 0.89;
createNode nurbsSurface -n "nurbsSphereShape14" -p "nurbsSphere14";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere14";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere14.os" "nurbsSphereShape14.cr";
connectAttr "nurbsSphereShape14.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder9";
 setAttr ".t" -type "double3" 0.38035 0.0059000016 -0.0;
 setAttr ".r" -type "double3" 93.30572 90.0 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape9" -p "nurbsCylinder9";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder9";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 4.7632585;
 connectAttr "makenurbsCylinder9.os" "nurbsCylinderShape9.cr";
connectAttr "nurbsCylinderShape9.iog" ":initialShadingGroup.dsm" -na;
 createNode transform -n "nurbsCylinder10";
 setAttr ".t" -type "double3" -0.33295 0.047100004 -0.0;
 setAttr ".r" -type "double3" 266.69427 -90.0 0.0;
 createNode nurbsSurface -n "nurbsCylinderShape10" -p "nurbsCylinder10";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbCylinder -n "makenurbsCylinder10";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.15;
 setAttr ".s" 4;
 setAttr ".hr" 4.7632585;
 connectAttr "makenurbsCylinder10.os" "nurbsCylinderShape10.cr";
connectAttr "nurbsCylinderShape10.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere15";
 setAttr ".t" -type "double3" 0.737 -0.0147 -0.0;
createNode nurbsSurface -n "nurbsSphereShape15" -p "nurbsSphere15";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere15";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere15.os" "nurbsSphereShape15.cr";
connectAttr "nurbsSphereShape15.iog" ":initialShadingGroup.dsm" -na;
createNode transform -n "nurbsSphere16";
 setAttr ".t" -type "double3" -0.6896 0.067700006 -0.0;
createNode nurbsSurface -n "nurbsSphereShape16" -p "nurbsSphere16";
 setAttr -k off ".v";
 setAttr ".vir" yes;
 setAttr ".vif" yes;
 setAttr ".tw" yes;
 setAttr ".covm[0]"  0 1 1;
 setAttr ".cdvm[0]"  0 1 1;
createNode makeNurbSphere -n "makenurbsSphere16";
 setAttr ".ax" -type "double3" 0 1 0;
 setAttr ".r" 0.1515;
 setAttr ".s" 4;
 setAttr ".nsp" 3;
 connectAttr "makenurbsSphere16.os" "nurbsSphereShape16.cr";
connectAttr "nurbsSphereShape16.iog" ":initialShadingGroup.dsm" -na;

References

Contributors

AngelHerraez