ModelElement3D
Canonical path: NemAll_Python_BasisElements.ModelElement3D
Bases: BasisElement
, AllplanElement
Representation of a general three-dimensional model element, such as 3D curve, surface or solid
GetTextureDefinition
GetTextureDefinition() -> TextureDefinition
GetTextureMapping
GetTextureMapping() -> TextureMapping
GetTransformationList
Get transformation list
Returns:
-
list
–List with the transformations
IsValidateGeometry
Get the validate geometry state
Returns:
-
bool
–Validate the geometry state
SetTextureDefinition
SetTextureDefinition(textureDefinition: TextureDefinition)
Set the texture definition
Parameters:
-
textureDefinition
(TextureDefinition
) –Texture definition (surface filename)
SetTextureMapping
SetTextureMapping(textureMapping: TextureMapping)
SetTransformationList
Set the transformation list
Parameters:
-
transformationList
(list
) –List with the transformations
SetValidateGeometry
Set the validate geometry state
Parameters:
-
validateGeometry
(bool
) –Validate the geometry
__init__
overloaded
Initialize
__init__(commonProp: CommonProperties, geometryObject: object)
Constructor
Parameters:
-
commonProp
(CommonProperties
) –Common properties
-
geometryObject
(object
) –Geometry element
__init__(
commonProp: CommonProperties,
BrepIsoLinesU: int,
BrepIsoLinesV: int,
geometryObject: object,
)
Constructor
Parameters:
-
commonProp
(CommonProperties
) –Common properties
-
BrepIsoLinesU
(int
) –Count of Isolines U for a Berep
-
BrepIsoLinesV
(int
) –Count of Isolines V for a Berep
-
geometryObject
(object
) –Geometry element
__init__(
commonProp: CommonProperties,
textureDefinition: TextureDefinition,
geometryObject: object,
)
Constructor
Parameters:
-
commonProp
(CommonProperties
) –Common properties
-
textureDefinition
(TextureDefinition
) –Texture definition (surface filename)
-
geometryObject
(object
) –Geometry element
__init__(
commonProp: CommonProperties,
textureDefinition: TextureDefinition,
BrepIsoLinesU: int,
BrepIsoLinesV: int,
geometryObject: object,
)
Constructor
Parameters:
-
commonProp
(CommonProperties
) –Common properties
-
textureDefinition
(TextureDefinition
) –Texture definition (surface filename)
-
BrepIsoLinesU
(int
) –Count of Isolines U for a Berep
-
BrepIsoLinesV
(int
) –Count of Isolines V for a Berep
-
geometryObject
(object
) –Geometry element
__init__(
commonProp: CommonProperties,
textureDefinition: TextureDefinition,
textureMapping: TextureMapping,
geometryObject: object,
)
Constructor
Parameters:
-
commonProp
(CommonProperties
) –Common properties
-
textureDefinition
(TextureDefinition
) –Texture definition (surface filename)
-
textureMapping
(TextureMapping
) –Texture mapping properties
-
geometryObject
(object
) –Geometry element
__init__(
commonProp: CommonProperties,
textureDefinition: TextureDefinition,
textureMapping: TextureMapping,
BrepIsoLinesU: int,
BrepIsoLinesV: int,
geometryObject: object,
)
Constructor
Parameters:
-
commonProp
(CommonProperties
) –Common properties
-
textureDefinition
(TextureDefinition
) –Texture definition (surface filename)
-
textureMapping
(TextureMapping
) –Texture mapping properties
-
BrepIsoLinesU
(int
) –Count of Isolines U for a Berep
-
BrepIsoLinesV
(int
) –Count of Isolines V for a Berep
-
geometryObject
(object
) –Geometry element
__init__(element: ModelElement3D)