Function Conversion List

Here are a list of all the functions in AztecMain. On the right column is the name of the new function. If it is empty, then it hasn't been done yet.

Old Function Name in AztecMain New Function name in Aztec2
Scene.showRenderOptions
Scene.doRender
Scene.GraphMergeSelectedKeys Scene.graphMergeSelectedKeys();
Scene.GraphInsertKeyTool Scene.toolSetCurrent('graphView', 'GraphMoveTool').

Perhaps this should be wrapped in an easier named javascript function.

Scene.GraphMoveTool Scene.toolSetCurrent('graphView', 'GraphMoveTool').

Perhaps this should be wrapped in an easier named javascript function.

Scene.GraphSelectTool Scene.toolSetCurrent('graphView', 'GraphSelectTool').

Perhaps this should be wrapped in an easier named javascript function.

Scene.toolPolylineAddPoints Scene.toolSetCurrent('3D', 'toolPolylineAddPoints').

Perhaps this should be wrapped in an easier named javascript function.

Scene.createSquare
Scene.ikBoneTool Scene.toolSetCurrent('3D', 'toolIKBone').

Perhaps this should be wrapped in an easier named javascript function.

Scene.KAnimAddConstraintAim
Scene.KAnimZoomToTimeSegment
Scene.KAnimRemoveObjectFromTimeSegment
Scene.KAnimAddObjectToTimeSegment
Scene.KAnimCreateTimeSegment
Scene.KAnimSetScaleKey Scene.animateKeySelected('Scale');
Scene.KAnimSetRotateKey Scene.animateKeySelected('Rotate');
Scene.KAnimSetTranslateKey Scene.animateKeySelected('Translate');
Scene.KAnimToggleAnimate
Scene.flattenComponents Scene.flattenComponentsToPlane();
Scene.separateMeshes Scene.separateMeshFacets();
Scene.combineMeshes Scene.combineMeshes();
Scene.KMeshEditCreateSubdivSurface Scene.createSubdividedSurface();
Scene.KMeshCollapseToMesh Scene.convertToMesh();
Scene.KMeshCollapseEdges Not implemented in AztecMain, so not converted.
Scene.KMeshFacesDetach Scene.detachFaces();
Scene.KMeshFacesCollapse Not implemented in AztecMain, so not converted.
Scene.KMeshVerticesDeleteIsolated Not implemented in AztecMain, so not converted.
Scene.KMeshVerticesSelectConnected Scene.selectComponentsConnected();
Scene.KMeshVerticesSelectIsolated Not implemented in AztecMain, so not converted.
Scene.KMeshVerticesWeld Scene.weldMeshVertices();
Scene.KMeshGrabUVs Scene.grabFaceUVs();
Scene.KMeshFlipNormals Scene.flipNormals();
Scene.KUVEditCollapseVertices
Scene.KUVEditWeldVertices
Scene.KUVEditDetachFaces
Scene.KWindowRenderView
Scene.KWindowImageViewer Scene.viewCreateNew('image');
Scene.KWindowParameterView
Scene.KWindowGraphView Scene.viewCreateNew('graph');
Scene.KWindowSegmentEdit
Scene.KWindowUVEdit Scene.viewCreateNew('uv');
Scene.KWindowSceneOutline
Scene.KToolsConsoleWindow
Scene.KControlShowAll Scene.showAll
Scene.KControlShowUnSelected Scene.showUnselected
Scene.KControlShowSelected Scene.showSelected
Scene.KControlHideAll Scene.hideAll
Scene.KControlHideUnSelected Scene.hideUnselected
Scene.KControlHideSelected Scene.hideSelected
Scene.KControlPlayCamera Scene.timePlay
Scene.KControlPrevFrame Scene.timeFrameNext
Scene.KControlNextFrame Scene.timeFrameNext
Scene.KEditPurgeUndoLists
Scene.KToolCycle
Scene.KHelpAbout
Scene.KHelpKeyword
Scene.KHelpContents
Scene.KOptionsConfigure
Scene.KEditSelectChildren Scene.selectAllChildren and Scene.selectObjectAllChildren
Scene.KEditSelectInverse Scene.selectInverse and Scene.selectObjectInverse
Scene.KEditSelectNone Scene.selectNone and Scene.selectObjectNone
Scene.KEditSelectAll Scene.selectAll and Scene.selectObjectAll
Scene.KEditRedo
Scene.KEditUndo
Scene.KFileExit Scene.quit
Scene.KFileExport Scene.sceneExport
Scene.KFileImport Scene.sceneImport
Scene.KFileMerge
Scene.KFileSaveAs Scene.sceneSaveAs
Scene.KFileSave Scene.sceneSave
Scene.KFileOpen Scene.sceneOpen
Scene.KFileNew Scene.sceneNew
Scene.KSegmentViewZoomOut
Scene.KSegmentViewZoomIn
Scene.KViewportToggleGrid Scene.scene3DViewToggleGrid();
Scene.KViewportFullScreen
Scene.KViewportRedrawAll Scene.redraw();
Scene.KViewportDecreaseIconSize
Scene.KViewportIncreaseIconSize
Scene.KViewportZoomOut Scene.viewZoomOut
Scene.KViewportZoomIn Scene.viewZoomIn
Scene.KViewportFrameSelected Scene.viewZoomToFitSelected
Scene.KViewportFrameAll Scene.viewZoomToFitAll
Scene.KViewportMakeCopy Scene.viewCreateCopy();
Scene.KViewportRenderView
Scene.KViewportImageView Scene.viewChangeCurrent('image')
Scene.KViewportParameterView
Scene.KViewportGraphView Scene.viewChangeCurrent('graph')
Scene.KViewportUVEdit Scene.viewChangeCurrent('uv')
Scene.KViewportSegmentEditor
Scene.KViewportSceneOutline
Scene.KViewportPerspective Scene.viewChangeCurrent('perspective')
Scene.KViewportLeft Scene.viewChangeCurrent('left');
Scene.KViewportBack Scene.viewChangeCurrent('back');
Scene.KViewportBottom Scene.viewChangeCurrent('bottom');
Scene.KViewportRight Scene.viewChangeCurrent('right');
Scene.KViewportFront Scene.viewChangeCurrent('front');
Scene.KViewportTop Scene.viewChangeCurrent('top');
Scene.toolExtrude Scene.toolSetCurrent('3D', 'toolExtrude').

Perhaps this should be wrapped in an easier named javascript function.

Scene.KToolMovePivot Scene.toolSetCurrent('3D', 'toolMovePivot').

Perhaps this should be wrapped in an easier named javascript function.

Scene.toolEdgeDivide Scene.toolSetCurrent('3D', 'toolEdgeDivide').

Perhaps this should be wrapped in an easier named javascript function.

Scene.toolEdgeTurn Scene.toolSetCurrent('3D', 'toolEdgeTurn').

Perhaps this should be wrapped in an easier named javascript function.

Scene.KToolScale Scene.toolSetCurrent('3D', 'toolScale').

Perhaps this should be wrapped in an easier named javascript function.

Scene.KToolRotate Scene.toolSetCurrent('3D', 'toolRotate').

Perhaps this should be wrapped in an easier named javascript function.

Scene.KToolMove Scene.toolSetCurrent('3D', 'toolMove').

Perhaps this should be wrapped in an easier named javascript function.

Scene.KToolSelect Scene.toolSetCurrent('3D', 'toolSelect').

Perhaps this should be wrapped in an easier named javascript function.

Scene.cancelTool Scene.toolCancel
Scene.finishTool Scene.toolFinish
Scene.KAssignMaterialToSelection
Scene.KUnparentSelection
Scene.KParentSelection Scene.reparentSelection(); This command takes all the selected objects, and places them as a child of the most recently selected object.
Scene.KSelectNextSibling Scene.selectSiblingNext and Scene.selectObjectSiblingNext
Scene.KSelectPrevSibling Scene.selectSiblingPrev and Scene.selectObjectSiblingPrev
Scene.KSelectChild Scene.selectChild and Scene.selectObjectChild
Scene.KSelectParent Scene.selectParent and Scene.selectObjectParent
Scene.KDeformAssignClusterWeight
Scene.KDeformAttachBones
Scene.KDeformCreateCluster
Scene.KPrimitiveCreateBone createObject('bone') or createObject('bone', 'name'). See the createObject notes explaining why there is no Scene. before it.
Scene.KPrimitiveCreateMaterial
Scene.KPrimitiveCreateCamera
Scene.KPrimitiveCreateLight createObject('light') or createObject('light', 'name'). See the createObject notes explaining why there is no Scene. before it.
Scene.KPrimitiveCreateTransform createObject('group') or createObject('group', 'name'). See the createObject notes explaining why there is no Scene. before it.
Scene.KObjectCentrePivot
Scene.KObjectDeleteSelected Scene.editDelete() for deleting based on the current view, or Scene.editObjectDelete() to delete the current 3d object.
Scene.KObjectDuplicateSelected
Scene.separateAxisModeToggle
Scene.KModeCycle Scene.componentModeCycle();
Scene.KModeEdge Scene.componentModeSet('edge');
Scene.KModeFace Scene.componentModeSet('facet');
Scene.KModePoint Scene.componentModeSet('point');
Scene.KModeObject Scene.componentModeSet('object');

Notes

createObject

This function is defined in resource/scripts/createObject.js and is loaded in via init.js. There also exists a Scene.createObject() function, but this merely creates the object, and does not select it, and does not deselect any other objects. This is why a new function in JavaScript was made.