draw lines

draw lines

draw lines enables you to create both 2D and 3D lines interactively with the mouse.

The mouse gesture for line creation is: hold the Ctrl key and click the left mouse button in the viewer. The first click establishes the beginning point of the line and each subsequent click adds the next point. The Probe Action setting controls whether a probe adds a new point to the current line or repositions the selected point.

draw lines allows adding points that are outside the model extents. Unlike most modules, which create mesh data from upstream inputs, draw lines receives its input from the viewer and passes the resulting line data on to other modules. Because the lines are saved with your application, they are recreated exactly when the application is loaded.

There are two drawing styles:

  1. Top View Mode creates lines at the elevation given by Z Top. The viewer must be in a Top View to draw in this mode, but you may pick points anywhere in the viewer.
  2. Object Mode creates 3D lines by probing objects in your model. The viewer can be in any orientation, but points can only be created where an object is probed.

Ports

DirectionNameTypeDescription
OutputOutput FieldFieldA field containing the created lines.
OutputOutput GlyphsFieldA field containing the created glyphs.
OutputSampleDataRenderableA renderable object displaying the lines.

Properties

PropertyTypeDescription
Probe ActionChoice: None, Reset Position, Add PointAllows for the changing of the current line coordinates or for adding new coordinates at the probed location.
Drawing StyleChoice: Top View Mode, Object ModeSelects how coordinates are picked. In Top View Mode, the viewer must be in Top View, any point in the viewer can be selected, and the Z coordinate is the Z Top value. In Object Mode, the viewer can be in any rotation, and only probing on objects will give coordinates.
Z TopDoubleThe Z value used when creating lines in Top View Mode.
Coordinate UnitsStringThe coordinate units of the lines. This control behaves differently than other linked controls: the first time a point is created the control unlinks and checks the coordinate units of additional points against the set units.
Display LinesBooleanTurns visibility of the created lines on or off.
Display GlyphsBooleanTurns visibility of the created glyphs on or off.
Line ListLine ListThe list of lines and their coordinates created so far. Selecting the Closed toggle creates a line segment from the last point added to the first point.
Current LineLineThe line selected from the Line List, showing its coordinates for editing.
ELF File NameFileWrites the created lines to an ELF file.

Glyph Settings

PropertyTypeDescription
Generated GlyphChoice: Sphere, Cube, Cone, Cylinder, Polygon, Disk, PointThe type of glyph that is automatically generated at each point.
Glyph SizeDoubleScales the glyphs in all directions. The default is automatically computed based on your input data.
Sphere SubdivisionsIntegerThe number of subdivisions to use for spheres. Larger numbers create more detailed sphere representations.
Glyph ResolutionIntegerThe resolution for generated cone, polygon, cylinder, and disk glyphs.
Primary Axis FactorDoubleThe scale factor for the primary axis of the glyph.
Secondary Axis FactorDoubleThe scale factor for the secondary axis of the glyph.
Heading DipHeading/DipThe heading and dip values used to align the glyphs to a constant orientation.
RollDoubleThe roll of the glyph along its primary axis.
Include Center DataBooleanIncludes the center point of each glyph as a cell data component. This allows you to probe onto the glyph and return its center instead of the position on the outside of the glyph.