FBNurbs Class Reference

#include <mobu-python-api.h>

Class Description

Nurbs class.

+ Inheritance diagram for FBNurbs:

Public Member Functions

 __reduce__ ()
 
 __init__ (object arg1, str arg2)
 Constructor. More...
 
 ControlPointsBegin (FBNurbs arg1)
 Begin NURBS control points edition. More...
 
 ControlPointsEnd (FBNurbs arg1)
 End NURBS control points edition. More...
 
float GetControlKnotValue (FBNurbs arg1, object arg2, object arg3)
 Get knot vector value of control point. More...
 
int GetControlMultiplicity (FBNurbs arg1, object arg2, object arg3)
 Get multiplicity (number of "instances") of control point. More...
 
float GetControlWeight (FBNurbs arg1, object arg2)
 Get weight of control point. More...
 
int GetKnotCount (FBNurbs arg1, object arg2)
 Number of knot vectors. More...
 
 SetControlKnotValue (FBNurbs arg1, object arg2, object arg3, object arg4)
 Set knot vector value of control point. More...
 
 SetControlMultiplicity (FBNurbs arg1, object arg2, object arg3, object arg4)
 Set multiplicity (number of "instances") of control point. More...
 
 SetControlWeight (FBNurbs arg1, object arg2, object arg3)
 Set weight of control point. More...
 
 SurfaceBegin (FBNurbs arg1)
 Begin NURBS definition. More...
 
 SurfaceEditBegin (FBNurbs arg1)
 Begin NURBS surface edition. More...
 
 SurfaceEditEnd (FBNurbs arg1)
 End NURBS surface edition. More...
 
 SurfaceEnd (FBNurbs arg1)
 End NURBS definition. More...
 
- Public Member Functions inherited from FBSurface
 __reduce__ ()
 
 ControlPointsEnd (FBSurface arg1)
 
 ControlPointsBegin (FBSurface arg1)
 
 GetControlPoint (FBSurface arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
 
bool GetSurfaceCapped (FBSurface arg1, object arg2, object arg3)
 
 SetControlPoint (FBSurface arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
 
 SurfaceBegin (FBSurface arg1)
 
 SurfaceEditBegin (FBSurface arg1)
 
 SurfaceEditEnd (FBSurface arg1)
 
 SurfaceEnd (FBSurface arg1)
 
bool VertexGetSelected (FBSurface arg1, object arg2, object arg3)
 Get the selected state of a vertex. More...
 
bool VertexGetTransformable (FBSurface arg1, object arg2, object arg3)
 Get the Transformable state of a vertex. More...
 
bool VertexGetVisible (FBSurface arg1, object arg2, object arg3)
 Get the visible state of a vertex. More...
 
bool VertexSetSelected (FBSurface arg1, object arg2, object arg3, object arg4)
 Set the selected state of a vertex. More...
 
bool VertexSetVisible (FBSurface arg1, object arg2, object arg3, object arg4)
 Set the visible state of a vertex. More...
 
 __init__ (...)
 Constructor. More...
 
- Public Member Functions inherited from FBGeometry
 __reduce__ ()
 
FBStringList GetUVSets (FBGeometry arg1)
 Get available UVSet name. More...
 
FBUV VertexUVGet (FBGeometry arg1, object arg2)
 Get a UV coordinate. More...
 
FBColorAndAlpha VertexColorGet (FBGeometry arg1, object arg2)
 Get a Vertex Color. More...
 
FBNormal VertexNormalGet (FBGeometry arg1, object arg2)
 Get a normal at a vertex. More...
 
FBVertex VertexGet (FBGeometry arg1, object arg2)
 Get a vertex. More...
 
bool GeometryEnd (FBGeometry arg1)
 End geometry editing. More...
 
bool GeometryBegin (FBGeometry arg1)
 Begin geometry editing. More...
 
 VertexAdd (...)
 
bool VertexClear (FBGeometry arg1)
 Clear all Vertex arrays. More...
 
bool VertexArrayClear (FBGeometry arg1)
 Clear all geometry vertex arrays. More...
 
int VertexCount (FBGeometry arg1)
 Get the number of vertices in the geometry. More...
 
bool VertexGetSelected (FBGeometry arg1, object arg2)
 Get the selected state of a vertex. More...
 
bool VertexGetTransformable (FBGeometry arg1, object arg2)
 Get the Transformable state of a vertex. More...
 
bool VertexGetVisible (FBGeometry arg1, object arg2)
 Get the visible state of a vertex. More...
 
 VertexInit (FBGeometry arg1, object arg2, object arg3, object arg4, object arg5)
 Resize or Reserve vertex, normal and UV array for performance. More...
 
bool VertexArrayInit (FBGeometry arg1, object arg2, object arg3, int arg4)
 Init geometry vertex arrays. More...
 
 VertexNormalSet (...)
 
 VertexColorSet (...)
 
 VertexSet (...)
 
bool VertexSetSelected (FBGeometry arg1, object arg2, object arg3)
 Set the selected state of a vertex. More...
 
bool VertexSetVisible (FBGeometry arg1, object arg2, object arg3)
 Set the visible state of a vertex. More...
 
 VertexUVSet (...)
 
list GetPositionsArray (FBGeometry arg1)
 Get a pointer to the position array. More...
 
bool SetPositionsArray (FBGeometry arg1, list arg2)
 
list GetNormalsDirectArray (FBGeometry arg1)
 Get a pointer to the direct array of normals. More...
 
bool SetNormalsDirectArray (FBGeometry arg1, list arg2)
 
list GetNormalsIndexArray (FBGeometry arg1)
 Get a pointer to the index array of normals. More...
 
bool SetNormalsIndexArray (FBGeometry arg1, list arg2)
 
list GetTangentsDirectArray (FBGeometry arg1)
 Get a pointer to the direct array of tangents. More...
 
bool SetTangentsDirectArray (FBGeometry arg1, list arg2)
 
list GetTangentsIndexArray (FBGeometry arg1)
 Get a pointer to the index array of tangents. More...
 
bool SetTangentsIndexArray (FBGeometry arg1, list arg2)
 
list GetBinormalsDirectArray (FBGeometry arg1)
 Get a pointer to the direct array of binormals. More...
 
bool SetBinormalsDirectArray (FBGeometry arg1, list arg2)
 
list GetBinormalsIndexArray (FBGeometry arg1)
 Get a pointer to the index array of binormals. More...
 
bool SetBinormalsIndexArray (FBGeometry arg1, list arg2)
 
list GetVertexColorsDirectArray (FBGeometry arg1)
 Get a pointer to the direct array of vertex color. More...
 
bool SetVertexColorsDirectArray (FBGeometry arg1, list arg2)
 
list GetVertexColorsIndexArray (FBGeometry arg1)
 Get a pointer to the index array of vertex color. More...
 
bool SetVertexColorsIndexArray (FBGeometry arg1, list arg2)
 
list GetUVSetDirectArray (FBGeometry arg1, str arg2)
 Get a pointer to the direct array of UVset Modify array value will be only effective when geometry editing is enabled. More...
 
bool SetUVSetDirectArray (FBGeometry arg1, list arg2, str arg3)
 
list GetUVSetIndexArray (FBGeometry arg1, str arg2)
 Get a pointer to the index array of UVset. More...
 
bool SetUVSetIndexArray (FBGeometry arg1, list arg2, str arg3)
 
list GetMaterialIndexArray (FBGeometry arg1)
 Get a pointer to the index array of Material. More...
 
bool SetMaterialIndexArray (FBGeometry arg1, list arg2)
 
int ShapeGetCount (FBGeometry arg1)
 Get Shape Count. More...
 
str ShapeGetName (FBGeometry arg1, object arg2)
 Return the shape Name. More...
 
int ShapeAdd (FBGeometry arg1, str arg2)
 Add new shape. More...
 
 ShapeClearAll (FBGeometry arg1)
 Clears all the shapes. More...
 
 ShapeInit (FBGeometry arg1, object arg2, object arg3, object arg4)
 Init the shape. More...
 
bool ShapeSetDiffPoint (FBGeometry arg1, object arg2, object arg3, object arg4, FBVertex arg5, FBNormal arg6)
 
bool ShapeGetDiffPoint (FBGeometry arg1, object arg2, object arg3, object arg4, FBVertex arg5, FBNormal arg6)
 
bool ShapeGetDiffPointAsList (FBGeometry arg1, object arg2, object arg3, list arg4, FBVertex arg5, FBNormal arg6)
 
FBGeometryMappingMode GetUVSetMappingMode (FBGeometry arg1, str arg2)
 Get UVSet mapping mode. More...
 
FBGeometryReferenceMode GetUVSetReferenceMode (FBGeometry arg1, str arg2)
 Get UVSet reference mode. More...
 
 __init__ (...)
 Constructor. More...
 
- Public Member Functions inherited from FBComponent
 __reduce__ ()
 
FBPropertyList PropertyGetModifiedList (FBComponent arg1, FBPlugModificationFlag arg2)
 Get list of properties which have been modified since last loading. More...
 
str ClassName (FBComponent arg1)
 Get the class name. More...
 
 DisableObjectFlags (FBComponent arg1, FBObjectFlag arg2)
 Disable a specific Object Flags. More...
 
 EnableObjectFlags (FBComponent arg1, FBObjectFlag arg2)
 Enable a specific Object Flags. More...
 
bool FBCreate (FBComponent arg1)
 Open Reality Creation function. More...
 
 FBDelete (FBComponent arg1)
 Open Reality deletion function. More...
 
 FBDestroy (FBComponent arg1)
 Open Reality destruction function. More...
 
FBObjectFlag GetObjectFlags (FBComponent arg1)
 Get all Object Flags (concatenated). More...
 
bool GetObjectStatus (FBComponent arg1, FBObjectStatus arg2)
 Check to see if an object status is enabled. More...
 
bool HasObjectFlags (FBComponent arg1, FBObjectFlag arg2)
 Check whether a specific object flag is enabled. More...
 
bool Is (FBComponent arg1, object arg2)
 Returns true if object is of type TypeId. More...
 
bool ProcessNamespaceHierarchy (FBComponent arg1, FBNamespaceAction arg2, str arg3, str arg4, object arg5)
 ProcessNamespaceHierarchy. More...
 
bool ProcessObjectNamespace (FBComponent arg1, FBNamespaceAction arg2, str arg3, str arg4, object arg5)
 ProcessObjectNamespace. More...
 
int PropertyAdd (FBComponent arg1, FBProperty arg2)
 Add a property to the component's property manager. More...
 
bool PropertyAddReferenceProperty (FBComponent arg1, FBProperty arg2)
 Add a reference property to the component's property manager. More...
 
object PropertyCreate (FBComponent arg1, str arg2, FBPropertyType arg3, str arg4, object arg5, object arg6, FBProperty arg7)
 Create user or dynamic property. More...
 
 PropertyRemove (FBComponent arg1, FBProperty arg2)
 Remove a Property from the component's Property manager. More...
 
 SetObjectFlags (FBComponent arg1, FBObjectFlag arg2)
 SetObjectFlags. More...
 
 SetObjectStatus (FBComponent arg1, FBObjectStatus arg2, object arg3)
 Enable/Disable a specific Object Status. More...
 
 HardSelect (FBComponent arg1)
 HardSelect. More...
 
object GetOwnerFileReference (FBComponent arg1)
 Get the owner FileReference object. More...
 
 __init__ (...)
 Constructor. More...
 
- Public Member Functions inherited from FBPlug
 __reduce__ ()
 
bool BeginChange (FBPlug arg1)
 Begins a change on multiple plugs. More...
 
str ClassName (FBPlug arg1)
 internal System vars. More...
 
bool ConnectDst (FBPlug arg1, FBPlug arg2, FBConnectionType arg3)
 Add a destination connection. More...
 
bool ConnectDstAt (FBPlug arg1, object arg2, FBPlug arg3, FBConnectionType arg4)
 Add a destination connection. More...
 
bool ConnectSrc (FBPlug arg1, FBPlug arg2, FBConnectionType arg3)
 Add a source connection. More...
 
bool ConnectSrcAt (FBPlug arg1, object arg2, FBPlug arg3, FBConnectionType arg4)
 Add a source connection. More...
 
 DisconnectAllDst (FBPlug arg1)
 Remove all destination connections. More...
 
 DisconnectAllSrc (FBPlug arg1)
 Remove all source connections. More...
 
bool DisconnectDst (FBPlug arg1, FBPlug arg2)
 Remove a destination connection. More...
 
bool DisconnectDstAt (FBPlug arg1, object arg2)
 Remove a destination connection at a specified index. More...
 
bool DisconnectSrc (FBPlug arg1, FBPlug arg2)
 Remove a source connection. More...
 
bool DisconnectSrcAt (FBPlug arg1, object arg2)
 Remove a source connection at a specified index. More...
 
 EndChange (FBPlug arg1)
 Ends a change on multiple plugs. More...
 
object GetDst (FBPlug arg1, object arg2)
 Get a destination connection's plug at specified index. More...
 
int GetDstCount (FBPlug arg1)
 Get destination connection count. More...
 
FBConnectionType GetDstType (FBPlug arg1, object arg2)
 Get a destination connection's type at specified index. More...
 
object GetOwned (FBPlug arg1, object arg2)
 Get the owned plug at specified index. More...
 
int GetOwnedCount (FBPlug arg1)
 Get the owned plug count. More...
 
object GetOwner (FBPlug arg1)
 Get the owner of this plug. More...
 
object GetSrc (FBPlug arg1, object arg2)
 Get a source connection's plug at specified index. More...
 
int GetSrcCount (FBPlug arg1)
 Get source connection count. More...
 
FBConnectionType GetSrcType (FBPlug arg1, object arg2)
 Get a source connection's type at specified index. More...
 
bool Is (FBPlug arg1, object arg2)
 Is( int pTypeId ) More...
 
bool IsSDKComponent (FBPlug arg1)
 Return whether or not item is an SDK component. More...
 
 MoveSrcAt (...)
 
bool ReplaceDstAt (FBPlug arg1, object arg2, FBPlug arg3)
 Replace a destination connection at a specified index. More...
 
bool ReplaceSrcAt (FBPlug arg1, object arg2, FBPlug arg3)
 Replace a source connection at a specified index. More...
 
bool SwapSrc (FBPlug arg1, object arg2, object arg3)
 Swap source connection at index A with source connection at index B. More...
 
 SetSelfModified (FBPlug arg1, FBPlugModificationFlag arg2, object arg3)
 Set the plug's self modification flag. More...
 
bool GetSelfModified (FBPlug arg1, FBPlugModificationFlag arg2)
 Tell if the plug's self has changed. More...
 
 SetContentModified (FBPlug arg1, FBPlugModificationFlag arg2, object arg3)
 Set the plug's owned property/object's modification flag. More...
 
bool GetContentModified (FBPlug arg1, FBPlugModificationFlag arg2)
 Tell if the plug's content has changed. More...
 
int GetPlugConnectionModifiedList (FBPlug arg1, FBPlugList arg2, FBPlugModificationFlag arg3, object arg4)
 Get plug's modified src/dst property/object connection added/removed List. More...
 
bool RevertModification (FBPlug arg1, FBPlugModificationFlag arg2)
 Revert the plug's modification to original status. More...
 
 __init__ (...)
 
method staticmethod (function)
 
- Public Member Functions inherited from FBPythonWrapper
 __reduce__ ()
 
 __init__ (...)
 

Public Attributes

FBPropertyInt UOrder
 Read Write Property: Nurbs U order. More...
 
FBPropertyInt VOrder
 Read Write Property: Nurbs V order. More...
 
FBPropertyNurbType UNurbType
 Read Write Property: Nurbs Type for U direction. More...
 
FBPropertyNurbType VNurbType
 Read Write Property: Nurbs Type for V direction. More...
 
- Public Attributes inherited from FBSurface
FBPropertyInt USize
 Read Write Property: Size in U directions. More...
 
FBPropertyInt VSize
 Read Write Property: Size in V directions. More...
 
FBPropertyInt UStep
 Read Write Property: Step in U directions. More...
 
FBPropertyInt VStep
 Read Write Property: Step in V directions. More...
 
FBPropertyBool UClosed
 Read Write Property: U Closed. More...
 
FBPropertyBool VClosed
 Read Write Property: V Closed More...
 
FBPropertySurfaceMode SurfaceMode
 Read Write Property: Surface mode. More...
 
- Public Attributes inherited from FBGeometry
FBPropertyGeometryMappingMode MaterialMappingMode
 Read Property: Material mapping mode. More...
 
FBPropertyGeometryMappingMode NormalMappingMode
 Read Only Property: Normal mapping mode. More...
 
FBPropertyGeometryReferenceMode NormalReferenceMode
 Read Only Property: Normal reference mode. More...
 
FBPropertyGeometryMappingMode TangentMappingMode
 Read Only Property: Tangent mapping mode. More...
 
FBPropertyGeometryReferenceMode TangentReferenceMode
 Read Only Property: Tangent reference mode. More...
 
FBPropertyGeometryMappingMode BinormalMappingMode
 Read Only Property: Binormal mapping mode. More...
 
FBPropertyGeometryReferenceMode BinormalReferenceMode
 Read Only Property: Binormal reference mode. More...
 
FBPropertyGeometryMappingMode VertexColorMappingMode
 Read Only Property: Vertex Color mapping mode. More...
 
FBPropertyGeometryReferenceMode VertexColorReferenceMode
 Read Only Property: Vertex Color reference mode. More...
 
- Public Attributes inherited from FBComponent
object OwnerNamespace
 
ORSDK2018::FBPropertyListComponent Components
 List: List of components. More...
 
ORSDK2018::FBPropertyString Name
 Read Write Property: Unique name of object. More...
 
ORSDK2018::FBPropertyString LongName
 Read Write Property: Name and namespace for object. More...
 
object FullName
 
ORSDK2018::FBPropertyListComponent Parents
 List: Parents. More...
 
ORSDK2018::FBPropertyManager PropertyList
 Read Only Property: Manages all of the properties for the component. More...
 
FBPropertyBool Selected
 Read Write Property: Selected property. More...
 
- Public Attributes inherited from FBPythonWrapper
object OnUnbind
 

Member Function Documentation

__init__ ( object  arg1,
str  arg2 
)

Constructor.

Python Docstring:

__init__( (object)arg1, (str)arg2) -> None 

C++ Signature:

 FBNurbs(const char * pName, HIObject pObject = ((void *) 0)) 
Parameters
pNameName of Nurbs.
pObjectFor internal use only(default=NULL).
__reduce__ ( )
ControlPointsBegin ( FBNurbs  arg1)

Begin NURBS control points edition.

Python Docstring:

ControlPointsBegin( (FBNurbs)arg1) -> None 

C++ Signature:

void ControlPointsBegin() 
ControlPointsEnd ( FBNurbs  arg1)

End NURBS control points edition.

Python Docstring:

ControlPointsEnd( (FBNurbs)arg1) -> None 

C++ Signature:

void ControlPointsEnd() 
float GetControlKnotValue ( FBNurbs  arg1,
object  arg2,
object  arg3 
)

Get knot vector value of control point.

Python Docstring:

GetControlKnotValue( (FBNurbs)arg1, (object)arg2, (object)arg3) -> float 

C++ Signature:

double GetControlKnotValue(int pUorV, int pIndex) 
Parameters
pUorV1 if V knot vector, 0 if U knot vector.
pIndexIndex of control point to set knot value for.
int GetControlMultiplicity ( FBNurbs  arg1,
object  arg2,
object  arg3 
)

Get multiplicity (number of "instances") of control point.

Python Docstring:

GetControlMultiplicity( (FBNurbs)arg1, (object)arg2, (object)arg3) -> int 

C++ Signature:

int GetControlMultiplicity(int pUorV, int pIndex) 
Parameters
pUorV1 if V multiplicity, 0 if U multlipicity.
pIndexIndex of control point to get multiplicity for.
float GetControlWeight ( FBNurbs  arg1,
object  arg2 
)

Get weight of control point.

Python Docstring:

GetControlWeight( (FBNurbs)arg1, (object)arg2) -> float 

C++ Signature:

double GetControlWeight(int pIndex) 
Parameters
pIndexIndex of control point to get weight from.
Returns
Weight of control point at index pIndex.
int GetKnotCount ( FBNurbs  arg1,
object  arg2 
)

Number of knot vectors.

Python Docstring:

GetKnotCount( (FBNurbs)arg1, (object)arg2) -> int 

C++ Signature:

int GetKnotCount(int pUorV) 
Parameters
pUorV1 if V knot vector, 0 if U knot vector.
Returns
Number of knot vectors on NURBS surface
SetControlKnotValue ( FBNurbs  arg1,
object  arg2,
object  arg3,
object  arg4 
)

Set knot vector value of control point.

Python Docstring:

SetControlKnotValue( (FBNurbs)arg1, (object)arg2, (object)arg3, (object)arg4) -> None 

C++ Signature:

void SetControlKnotValue(int pUorV, int pIndex, double pKnotValue) 
Parameters
pUorV1 if V knot vector, 0 if U knot vector.
pIndexIndex of control point to set knot value for.
pKnotValueKnot value for control point at pIndex.
SetControlMultiplicity ( FBNurbs  arg1,
object  arg2,
object  arg3,
object  arg4 
)

Set multiplicity (number of "instances") of control point.

Python Docstring:

SetControlMultiplicity( (FBNurbs)arg1, (object)arg2, (object)arg3, (object)arg4) -> None 

C++ Signature:

void SetControlMultiplicity(int pUorV, int pIndex, int pMultiplicity) 
Parameters
pUorV1 if V multiplicity, 0 if U multlipicity.
pIndexIndex of control point to set multiplicity for.
pMultiplicityMultiplicity value for control point at pIndex.
SetControlWeight ( FBNurbs  arg1,
object  arg2,
object  arg3 
)

Set weight of control point.

Python Docstring:

SetControlWeight( (FBNurbs)arg1, (object)arg2, (object)arg3) -> None 

C++ Signature:

void SetControlWeight(int pIndex, double pWeight) 
Parameters
pIndexIndex of control point to set weight at.
pWeightWeight of control point.
SurfaceBegin ( FBNurbs  arg1)

Begin NURBS definition.

Python Docstring:

SurfaceBegin( (FBNurbs)arg1) -> None 

C++ Signature:

void SurfaceBegin() 
SurfaceEditBegin ( FBNurbs  arg1)

Begin NURBS surface edition.

Python Docstring:

SurfaceEditBegin( (FBNurbs)arg1) -> None 

C++ Signature:

void SurfaceEditBegin() 
SurfaceEditEnd ( FBNurbs  arg1)

End NURBS surface edition.

Python Docstring:

SurfaceEditEnd( (FBNurbs)arg1) -> None 

C++ Signature:

void SurfaceEditEnd() 
SurfaceEnd ( FBNurbs  arg1)

End NURBS definition.

Python Docstring:

SurfaceEnd( (FBNurbs)arg1) -> None 

C++ Signature:

void SurfaceEnd() 

Member Data Documentation

FBPropertyNurbType UNurbType

Read Write Property: Nurbs Type for U direction.

FBPropertyInt UOrder

Read Write Property: Nurbs U order.

FBPropertyNurbType VNurbType

Read Write Property: Nurbs Type for V direction.

FBPropertyInt VOrder

Read Write Property: Nurbs V order.