Skip to content

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

TextureDefinition property writable

TextureDefinition: TextureDefinition

Get the texture definition

TextureMapping property writable

TextureMapping: TextureMappingProperties

Get the texture mapping

TransformationList property writable

TransformationList: list

Get transformation list

GetTextureDefinition

GetTextureDefinition() -> TextureDefinition

Get the texture definition

Returns:

GetTextureMapping

GetTextureMapping() -> TextureMapping

Get the texture mapping

Returns:

GetTransformationList

GetTransformationList() -> list

Get transformation list

Returns:

  • list

    List with the transformations

IsValidateGeometry

IsValidateGeometry() -> bool

Get the validate geometry state

Returns:

  • bool

    Validate the geometry state

SetTextureDefinition

SetTextureDefinition(textureDefinition: TextureDefinition)

Set the texture definition

Parameters:

SetTextureMapping

SetTextureMapping(textureMapping: TextureMapping)

Set the texture mapping

Parameters:

SetTransformationList

SetTransformationList(transformationList: list)

Set the transformation list

Parameters:

  • transformationList (list) –

    List with the transformations

SetValidateGeometry

SetValidateGeometry(validateGeometry: bool)

Set the validate geometry state

Parameters:

  • validateGeometry (bool) –

    Validate the geometry

__init__ overloaded

__init__()

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)

Copy constructor

Parameters:

__repr__

__repr__() -> str

Convert to string

Placeholder