MeshDirection
By default, the direction of the mesh is determined by the surface of the polygon. If the surface is not a rectangle, the mesh lines may not be perpendicular. For example, in the figure, the mesh lines are created parallel to the red arrows.
To control the direction of the mesh lines, the MeshDirection parameter can be used. This parameter requires the definition of three points that represent two lines.
For instance, in the FEM1 object, the MeshDirection parameter is set to "[[0,0,0],[1,0,0],[1,1,0]]", which creates mesh lines that are parallel to the global X and Y axes.
Example:
<br><O N="FEMeshObject3" T="Project" Category="FEM Objects" TransAlignRule="Right"><br> <!-- created by ParamML Examples on 08.02.2023 --><br> <O N="FEM1" T="FEMeshSurface" CX="15" CY="60" ConstraintPts="[]" Material="@NULL|Material" Surface="@NULL|Surface" CoorSys="@NULL|CoorSys" Group="@NULL|FEGroup" IsConstraint="1"><br> <O T="Surface"><br> <O T="Point" X="70" Y="70" /><br> <O T="Point" X="150" Y="0" /><br> <O T="Point" X="200" Y="240" /><br> <O T="Point" X="155" Y="360" /><br> <O T="Point" X="0" Y="240" /><br> </O><br> </O><br> <O N="FEM2" T="FEMeshSurface" CX="15" CY="60" ConstraintPts="[]" MeshDirection="[[0,0,0],[1,0,0],[1,1,0]]" Material="@NULL|Material" Surface="@NULL|Surface" CoorSys="@NULL|CoorSys" Group="@NULL|FEGroup" IsConstraint="1"><br> <O T="Surface" X="300"><br> <O T="Point" X="70" Y="70" /><br> <O T="Point" X="150" Y="0" /><br> <O T="Point" X="200" Y="240" /><br> <O T="Point" X="155" Y="360" /><br> <O T="Point" X="0" Y="240" /><br> </O><br> </O><br> <O N="FEM3" T="FEMeshSurface" CX="15" CY="60" ConstraintPts="[]" MeshDirection="[[1,1,1],[0,0,1],[1,0,1]]" Material="@NULL|Material" Surface="@NULL|Surface" CoorSys="@NULL|CoorSys" Group="@NULL|FEGroup" IsConstraint="1"><br> <O T="Surface" X="600"><br> <O T="Point" X="70" Y="70" /><br> <O T="Point" X="150" Y="0" /><br> <O T="Point" X="200" Y="240" /><br> <O T="Point" X="155" Y="360" /><br> <O T="Point" X="0" Y="240" /><br> </O><br> </O><br></O><br>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objid2x5w4b5d1jh7unbava7gn6&folder=FEM+Objects)
Please proceed to the next page.
Last updated