extrude

extrude

The extrude module accepts any mesh and adds one to the dimensionality of the input by extruding the mesh in the Z direction. The interface enables changing the height scale for extruded cells and extruding by a constant, any nodal or cell data component. This module is often used with the import vector gis module to convert polygonal shapefiles into extruded volumetric cells.

When Node Data Component is chosen, the output cells will be extruded by the Scale Factor times the value of whichever nodal data component is selected. With nodal data extrusion you must select “Positive Extrusions Only” or “Negative Extrusions Only”. Since each node of a triangle or quadrilateral can have different values, it is possible for a single cell to have both positive and negative data values at its nodes. If this type of cell is extruded both directions, the cell topology can become tangled.

For this reason, nodal data extrusions must be limited to one direction. To extrude in both directions, merely use two extrude modules in parallel, one set to positive and the other to negative.

Ports

DirectionNameTypeDescription
InputScale FactorNumberThe value used for subsetting.
InputInput FieldFieldA field containing nodes or cells to be extruded.
InputInput Z ScaleNumberThe factor for vertical scaling.
OutputOutput FieldFieldThe extruded field.
OutputOutput ObjectRenderableA renderable object displaying the extruded data.
OutputOutput Z ScaleNumberThe factor for vertical scaling.

Properties

PropertyTypeDescription
Allow RunBooleanDetermines whether the module is allowed to execute.
ExecuteButtonAccept all values and perform extrusion.
Extrude ByChoice: Constant, Cell Data Component, Node Data ComponentThe Extrude By control allows the user to handle the method of extrusion.
Constant ValueDoubleIf the Extrude By selection is set to Constant the Constant Value will be the height of each cell.
Cell Data ComponentChoiceIf the Extrude By selection is set to Cell Data Component, the data component of interest can be selected using this control.
Node Data ComponentChoiceIf the Extrude By selection is set to Node Data Component, the data component of interest can be selected using this control.
Limit ExtrusionChoice: Positive Extrusions, Negative Extrusions, No LimitIf the Extrude By selection is set to Node Data Component or Cell Data Component, this setting allows to limit the data values to extrude by to either strictly positive or negative values. Values limited by this option are considered zero.
SubdivisionsIntegerThe Subdivisions field determines how many cells vertically to create.
Scale FactorDoubleThe Scale Factor is multiplied by the selected Extrude By value to determine the extrude height.
Z ScaleDoubleThe Z Scale is required to assure that extrusion is conformal to scaled input data.
Heading Dip ValueDoubleThe Heading and Dip values are used to align the extruded points.