Workspace 6.21.5
|
Takes a 2D MeshModel (i.e. a MeshModel which varies its node positions in only two of its possible 3 dimensions) and extrudes it in a specified direction. This can be useful for generating 3D representations of 2D objects (e.g. cylinders from circles).
Inputs: | |||
---|---|---|---|
2d mesh | CSIRO::Mesh::MeshModel | ||
Length | double | The desired length of the 3D object in model space. | |
Direction | CSIRO::Mesh::Vector3dGroup | The desired direction (in model space) of the extrusion operation. | |
Centre at origin | bool | Whether or not the output model is to be moved so it is centred at the origin (0,0,0) after extrusion, or left as-is. | |
Outputs: | |||
3d mesh | CSIRO::Mesh::MeshModel |