Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Current »

The "GridsXAlignH" and "GridsYAlignH" parameters allow you to change the alignment rules of the line definitions specified in "GridLinesX" and "GridLinesY". This is useful when the girders of a kinked bridge do not align with the gridlines.

For example, in the code snippet provided, the "GridLinesY" parameter is defined as "[GridLine1,GridLine4,GridLine3,GridLine2]" and the "GridsYAlignH" parameter is defined as "[Warp,None,None,Warp]". This changes the slope of the inscribed lines by overwriting the "GridsYAlignH" parameter for the "GridLinesY’s line Alignments” definition.

"GridsYAlignH" parameters are defined respectively.
GridLinesY="[GridLine1,GridLine4,GridLine3,GridLine2]"
GridsYAlignH="[Warp,None,None,Warp]"

The "GridsYAlignH" parameter is a parameter of the Alignment object.
The line-slope order of the parameters in parentheses is important. They are paired with each other.

These parameters operate within the context of the Global Coordinate System.

Example:

<O N="FEMeshObject6" T="Project" Category="FEM Objects" TransAlignRule="Right">
    <!-- created by ParamML Examples on 08.02.2023 -->
    <O N="RoadwayAlignment" T="Alignment" Station="0" Azimuth="1.57079632679">
        <O T="Circular" Radius="2400" Length="4800" />
        <O T="CrossSection" Station="0" LeftEdgeToHCL="240">
            <O T="CrossSectionSegment" Width="480" Slope="0" />
        </O>
        <O T="ElevationPoint" Station="0" Elevation="0" />
    </O>
    <P N="GridLine1" V="[[0,0],[600,0]]" />
    <P N="GridLine2" V="[[0,240],[600,240]]" />
    <P N="GridLine3" V="[[0,100],[600,160]]" />
    <P N="GridLine4" V="[[0,60],[600,80]]" />
    <P N="GridLine5" V="[[700,0],[1300,0]]" />
    <P N="GridLine6" V="[[700,240],[1300,240]]" />
    <P N="GridLine7" V="[[700,100],[1300,160]]" />
    <P N="GridLine8" V="[[700,60],[1300,80]]" />
    <O N="FEM1" T="FEMeshSurface" CX="15" CY="60" Alignment="RoadwayAlignment" ConstraintPts="[]" MeshDirection="[[0,0,0],[1,0,0],[1,1,0]]" GridLinesY="[GridLine1,GridLine4,GridLine3,GridLine2]" ConstraintLines="[]" GridsYAlignH="[Warp,None,None,Warp]" Material="@NULL|Material" Surface="@NULL|Surface" CoorSys="@NULL|CoorSys" Group="@NULL|FEGroup" IsConstraint="1">
        <O T="Surface">
            <O T="Point" X="0" Y="0" />
            <O T="Point" X="600" Y="0" />
            <O T="Point" X="600" Y="240" />
            <O T="Point" X="0" Y="240" />
        </O>
    </O>
    <O N="FEM2" T="FEMeshSurface" CX="15" CY="60" Alignment="RoadwayAlignment" ConstraintPts="[]" MeshDirection="[[0,0,0],[1,0,0],[1,1,0]]" GridLinesY="[GridLine5,GridLine8,GridLine7,GridLine6]" ConstraintLines="[]" GridsYAlignH="[Warp,Warp,Warp,Warp]" Material="@NULL|Material" Surface="@NULL|Surface" CoorSys="@NULL|CoorSys" Group="@NULL|FEGroup" IsConstraint="1">
        <O T="Surface" X="700">
            <O T="Point" X="0" Y="0" />
            <O T="Point" X="600" Y="0" />
            <O T="Point" X="600" Y="240" />
            <O T="Point" X="0" Y="240" />
        </O>
    </O>
</O>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=FEM+Objects&obj=objidqabau686i5bf7u26fyvot)

Please proceed to the next page.

  • No labels