Module fmeobjects :: Class FMEExtrusion
[hide private]
[frames] | no frames]

Class FMEExtrusion


init(MultipleInvocations)

Create an instance of an Extrusion geometry object.

init()

Default FMEExtrusion constructor.

Returns: FMEExtrusion

init(extrusion)

Create a copy of the passed in Extrusion geometry object.

Parameters

Returns: FMEExtrusion

Instance Methods [hide private]
 
__init__(MultipleInvocations)
x.__init__(...) initializes x; see help(type(x)) for signature
FMEBRepSolid
getAsBRepSolid()
Returns a boundary-representation solid of this extrusion.
FMEFace
getBaseAsFace()
Gets the base of this extrusion solid as a face.
FMEFace
getEndCapAsFace()
Returns the face that results from extruding the base of this extrusion solid.
tuple of floats
getExtrusionVectorXYZ()
Gets the extrusion vector of this extrusion solid.
None
setBase(base)
Sets the base of this extrusion solid as the specified face.
None
setExtrusionVectorXYZ(x, y, z)
Sets the extrusion vector of this extrusion solid.

Inherited from FMESolid: getAppearanceReference, getAsWireFrame, offset, reverse, rotate2D, scale, setAppearanceReference

Inherited from FMEGeometry: __getObject__, __new__, boundingBox, boundingCube, bounds, clearMeasures, copyAttributesFromFeature, copyNameFromGeometry, copyTraitsFromGeometry, copyTraitsToFeature, deleteName, force2D, force3D, getArea, getMeasureNames, getName, getTrait, getTraitNames, getTraitNullMissingAndType, getTraitType, hasMeasures, hasName, is3D, isCollection, measureExists, removeMeasure, removeTraits, renameMeasure, setName, setTrait, setTraitNullWithType

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(MultipleInvocations)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

getAsBRepSolid()

 

Returns a boundary-representation solid of this extrusion.

Returns: FMEBRepSolid
The BRepSolid of this extrusion.

getBaseAsFace()

 

Gets the base of this extrusion solid as a face.

Returns: FMEFace
The base of the extrusion as a face

getEndCapAsFace()

 

Returns the face that results from extruding the base of this extrusion solid.

Returns: FMEFace
The end cap of the extrusion as a face

getExtrusionVectorXYZ()

 

Gets the extrusion vector of this extrusion solid.

Returns: tuple of floats
An immutable list of the extsuion vectors's x, y and z coordinates.

setBase(base)

 

Sets the base of this extrusion solid as the specified face. Any existing base that exists in this solid will be replaced. By setting the base, the surface normals automatically adjust so that all normals are pointing away from the extrusion. If None is passed in, an error will result.

Parameters:
  • base (FMEFace) - The base of the FMEExtrusion as a face.
Returns: None
Raises:
  • FMEException - An exception is raised if an error occurred.

setExtrusionVectorXYZ(x, y, z)

 

Sets the extrusion vector of this extrusion solid. By setting the extrusion vector, the surface normals automatically adjust so that all normals are pointing away from the extrusion.

Parameters:
  • x (float) - The x coordinate.
  • y (float) - The y coordinate.
  • z (float) - The z coordinate.
Returns: None