Swept Object Style Editor

Lets you create parametric Swept Objects.

You can use swept objects in many ways, but most often they are for creating objects that parallel roads or railways: features such as bridges, tunnels, embankments, and ditches.

image

Parent shapes provide a path for the swept object, which can have one or more parent shapes. Multiple parent shapes let you create of additional spanning and closing surfaces to span the gap between parent shapes.

A swept object definition can be saved to a text-based Swept Object Style (SOS). Each style contains a set of elements. Each element represents a single surface within the swept object. Each element features adjustable (and variable) horizontal and vertical offsets and an independent material channel definition. By default, swept objects use the CivilViewSurfaces material.

Interface

image

[SOS element list]

image

Lists the contents of the current swept object style. Each line shows an individual element in the list. Highlighting an element displays its details in the remaining controls on the editor.

image Start New Style

Click to create a new Swept Object Style.

image Open Style

Click to open a previously created Swept Object Style.

image Save Style

Click to save the current Swept Object Style.

image Add new element

Click to add a new element to the current Swept Object Style.

image Delete selected element

Click to delete the selected element from the current Swept Object Style.

image Move selected element up

Click to move the selected element up by one position in the element list.

image Move selected element down

Click to move the selected element down by one position in the element list.

image Cut Element

Click to cut the selected element from the style, saving it to the Clipboard.

image Copy Element

Click to copy the selected element and save it to the Clipboard.

image Paste Element

Click to paste a cut or copied element.

You can paste a Cut element to a different location in the current style, and you can paste a Cut or Copied element to a different SOS.

Build Profile From Shape

To base a swept object style on one that is already present in the scene, click this button to turn it on, then click in a viewport to select a shape. Civil View creates a new SOS with the same parameters as the one associated with the shape, provided the shape you click has an SOS.

This feature is particularly useful if cross-section drawings already exist of the object that you are creating. In this case, an existing polyline from the cross section drawing can be imported into the swept object style in order to form the basis of the profile.

If the selected shape object contains material ID assignments at the segment level, these are also carried across into the resulting swept object style.

image Change Material Assignment

Click to display a dialog that lets you change the material assigned to swept objects.

image

image Reset Swept Object

Click to delete the swept object you are currently creating in this SOS Editor session.

Pick Parent Shape

image

Click to turn on, then click in a viewport to select a parent shape.

Create Multi-Spline Parent Shape

Click to open a Build New Parent Shape dialog that lets you construct a parent shape that includes more than one spline.

Swept Object Styles can be applied to either single or multiple shapes. Each parent shape can consist of one or more splines. If a swept object style is applied to multiple parent shapes, parameter instancing is automatically applied to help make sure that a single set of parameters is shared across all resulting swept objects.

[parent shape list]

Displays the names of the parent shapes you have chosen.

Longitudinal Complexity group

image

Segment Count

Affects the complexity of the resulting swept object. Higher values result in more complex object geometry.

It is best to use the lowest possible value in this spinner, but the precise value to be used depends on the geometry of the parent shapes.

Direction and Type group

image

Invert Horizontal Offsets?

When on, reverses the direction of all horizontal offsets in the swept object profile. Default=off.

Skew (degrees)

When set to a nonzero value, skews the swept object profiles. Default=0.0.

When equal to 0.0, profiles are offset at a normal from the direction of the parent shape. Nonzero values are useful for objects such as asymmetrical bridge decks.

Spanning Surface group

A spanning surface is an optional surface "draped" across the gap between the parent splines. This can be useful for creating an asphalt surface over a bridge deck.

Not available if you have chosen Left or Right in the Profile Direction And Type group (see above).

image

On

When on, builds the spanning surface.

[sub-material drop-down list]

Chooses a material channel for the spanning surface.

Flip Spanning Surface?

When on, flips the surface normals of the spanning surface.

Closing Surface group

A closing surface is an optional surface "draped" across the gap between the final surfaces of the swept object. This is useful for creating the underside of a bridge deck.

Available only if there is more than one parent shape, and the parent shapes are arranged in a way that permits Civil View to construct the closing surface. See Build New Parent Shape Dialog.

Not available if you have chosen Left or Right in the Profile Direction And Type group (see above).

Not available if the chosen construction method is Separated Geometry Mode (see above).

image

On

When on, builds the closing surface.

[sub-material drop-down list]

Chooses a material channel for the closing surface.

Flip Spanning Surface?

When on, flips the surface normals of the closing surface.

Capping Surface group

A capping surface closes or caps the open ends of the swept object.

Not available if you have chosen Left or Right in the Profile Direction And Type group (see above).

Not available if the chosen construction method is Separated Spline Geometry (see above).

image

On

When on, builds the capping surface.

[sub-material drop-down list]

Chooses a material channel for the capping surface.

Flip Spanning Surface?

When on, flips the surface normals of the capping surface.

Edit Style Element group

image

Edits the settings of the element currently highlighted in the SOS element list. Each element represents a single surface in the swept object, and features a horizontal and vertical offset, along with an independent material channel selection.

Note: The values of these controls are dynamically linked so that changing one value affects another. This lets you choose, for example, whether to specify vertical offset by Offset or Crossfall while being able to see both values. If you know the required crossfall, set that value first, then change the Horizontal Offset to watch the Vertical Offset value update accordingly.

Start Horiz[ontal] Offset / End Horiz[ontal] Offset

Adjust the horizontal offset of the SOS element.

Start Vert[ical] Offset / End Vert[ical] Offset

Adjust the vertical offset of the SOS element.

Start Crossfall / End Crossfall

Adjust the crossfall of the swept object.

Material group

Use Inherited Material

When on, the material from the preceding profile element is applied to this element, along with the preceding element's mapping parameters.

Turning this on disables the other settings in the Material group, except for Smoothing Group.

On

When off, no material is applied to the element, making it a gap element. Default=on.

Gap elements create an invisible offset between the parent shape and the first surface in the swept object. Gap elements are displayed as "[Gap]" in the Swept Object Style element list.

[sub-material drop-down list]

Chooses a material channel for the swept object element. Swept elements use the CivilViewSurfaces material.

Flip Surface?

When on, flips the surface normals of the element.

Length Repeat

Sets the distance over which the selected material is repeated along the element. Default = 10.0 world units.

This option is valid only for tileable texture maps, and is ignored when used with procedural texture maps.

Width Tiling

Sets the number of times the selected material is repeated across the width of the element. Default = 1.

This option is valid only for tileable texture maps, and is ignored when used with procedural texture maps.

Map Rotation

Sets a rotation to apply to mapping on the element.

This option is valid only for tileable texture maps, and is ignored when used with procedural texture maps.

Smooth[ing] Group

Sets the smoothing group ID used by the element. By default, the smoothing group is incremented by one when you add a new element to the profile.

Valid smoothing group IDs are values between 1 and 32. A value of 0 can also be specified: This prevents any longitudinal smoothing to be applied to any single profile element.

"R" buttons

For each of the previous controls, click "R" to reset the value to its default.

Global UV Mapping group

image

These settings affect material mapping on spanning surfaces and closing surfaces.

Length Repeat, Width Repeat, and Map Rotation behave as they do for elements.

Overrides Element Mapping

When on, the global UV mapping settings affect the element, and override the mapping parameters stored at the profile element level. Default=off.