MAGNET Modeler: How to set up a fence rule

How to use the fence rule to transform linework into extruded and textured vertical areas.

Log in or sign up for myTopcon to view this page:

MAGNET Modeler: How to set up a fence rule

Whenever you need a linear, vertical object to usually separate areas from each other, you want to use a fence rule.

As an example, a fence rule can be used for:

  • Fences
  • Walls
  • Noise protection walls
  • Retaining walls
  • Barriers

The fence rule transforms linework into extruded and textured vertical areas.

For fence model creation, MAGNET Modeler supports:

  • Lines
  • Strings
  • Polylines

Lines, strings, and polylines with zero elevation can be easily draped onto a surface. 

Elevated lines, strings, and polylines can be used as well. Check the interpolate attribute for further options.


Fence rule parameters

•  Layer 

Layer where elements that define the fence are.

•  Materials 

Click materials to access the Material Library of MAGNET Modeler. Select an existing material, or insert a new material.

•  Description

Enter a description for the fence rule. This will change the name of the rule within the Modeler Rules window. In case you have several fence rules, this helps to easily identify them.

•  Group

Click group to choose from a list of existing groups/subgroups, or manually enter your group structure. Use the forward slash character (/) to create additional subgroups, for example, Existing/Office/Parking lot.

•  Height

Enter a value for height to control the height of the fence.

•  Texwidth

Enter a value for texwidth to control the width of the texture along the entity. 

•  Info text

Info text allows you to add additional information, such as material, quality requirements, manufacturer, etc. The info text information will be accessible in MAGNET Explorer via the Object Info tool.

•  Info URL

Info URL allows you to add hyperlinks such as a link to a manufacturer's homepage or a design document. The info URL link will be accessible in MAGNET Explorer via the Object Info tool.

•  Interpolate

Interpolate defines whether the line, string, or polyline is interpolated to a reference surface or the elevation is taken from the entity itself. It also controls whether the entity follows the ground or stays planar. See examples below for further details.

•  Position_offset

  • X = Allows a left/right offset from the actual position of the entity.
  • Z = Controls a relative vertical offset.
  • Y = Currently not used.

•  Ending_mode

Ending_mode correlates with ending_interpolate. Define whether the first (selecting start), the last (selecting end), or the start and the end (selecting both) post should be draped to a reference surface to slope the first/last fence segment.

•  Ending_interpolate

Ending_interpolate correlates with ending_mode. Selecting normal will not change the first/last post, while selecting ground will drape it to the surface.

•  Ending_distance

Ending_distance correlates with ending_interpolate and ending_mode. Specify a segment length for the sloped first/last segment.

•  Ending_offset

Ending_offset offsets the first or last fence post to the left/right.

•  Z_rotation

Z_rotation will rotate the Z-axis. Setting the value to 90 will result in the wall-like model lying on the ground.

•  Texture_autofit

  • No = Uses the height and texwidth attributes to define the texture size.
  • Segment = Will override the texwidth and stretch the texture to match the segment length of the polyline or string.
  • Polyline = Will do the same. However, it will use the entire length.

•  Auto_segmentation_distance

Auto_segmentation_distance densifies the line/string/polyline for a smoother interaction with a surface when draped. Usually, interpolate only drapes the vertices of the entity onto the surface.

•  Auto_segmentation_angle

Auto_segmentation_angle divides arcs of a line/string/polyline for a smoother interaction with a surface when draped.