Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_Ribbon.py   PipelineConstructionSet(Download)
                iter.next()
            if curve.isValid():
                curveFn = OM.MFnNurbsCurve(curve)
                self.setResult(self.__divisionsArg / curveFn.length())
            else:
        pathToCurve = OM.MDagPath()
        curve = OM.MObject()
        curveFn = OM.MFnNurbsCurve()
        shapeFn = OM.MFnDagNode()
        pathToShape = OM.MDagPath()
                        iter.next()
                    if pathToCurve.isValid():
                        curveFn = OM.MFnNurbsCurve(pathToCurve)
                    else:
                        curveFn = False
            pointsOnCurve = OM.MPointArray()
            tangentsOnCurve = OM.MVectorArray()
            curveFn = OM.MFnNurbsCurve(curve)
            maxParam = curveFn.findParamFromLength(curveFn.length())
            paramStep = maxParam / divisions

src/g/l/glTools-HEAD/utils/component.py   glTools(Download)
			# Curve
			elif selPath.apiType() == OpenMaya.MFn.kNurbsCurve:
				curveFn = OpenMaya.MFnNurbsCurve(selPath.node())
				componentSelList.add(objName+'.cv[0:'+str(curveFn.numCVs()-1)+']')
			# Surface

src/g/l/glTools-HEAD/common/componentUtilities.py   glTools(Download)
				# Curve
				elif selPath.apiType() == OpenMaya.MFn.kNurbsCurve:
					curveFn = OpenMaya.MFnNurbsCurve(selPath.node())
					cvCount = curveFn.numCVs()
					mc.select(objName+'.cv[0:'+str(cvCount-1)+']')

src/g/l/glTools-HEAD/utils/base.py   glTools(Download)
		meshFn.getPoints(pointList,mSpace)
	if shapeType == 'nurbsCurve':
		curveFn = OpenMaya.MFnNurbsCurve(shapeObj)
		curveFn.getCVs(pointList,mSpace)
	if shapeType == 'nurbsSurface':

src/g/l/glTools-HEAD/utils/curve.py   glTools(Download)
	curvePath = OpenMaya.MDagPath()
	curveSel.getDagPath(0,curvePath)
	curveFn = OpenMaya.MFnNurbsCurve(curvePath)
 
	# Return result

src/p/i/PipelineConstructionSet-HEAD/python/maya/site-packages/pymel-1.0.3/tests/test_mayaBugs.py   PipelineConstructionSet(Download)
        selList.getDependNode(0, node)
 
        mnc = om.MFnNurbsCurve()
        self.assertTrue(mnc.hasObj(node))
        try: