structure pile import command

Syntax

structure pile import keyword

Primary keywords:

from-file    from-geometry    from-extruder

Create pile elements from an outside source.

from-file s <format keyword> [pileimportoptions]

Create elements from the geometry file s.

The optional format keyword can be used to specify the format of the file. The options are dxf, geom, or stl. [CS: work out what needs to happen here later; formats should have links] If not specified, the format is assumed from the file extension.

from-geometry s [pileimportoptions] <range>

Create elements from the geometry set named s. The range applies to the list of edges in the geometry set.

from-extruder s [pileimportoptions] <range>

Create elements from the extruder set named s. The range applies to the list of edges in the extruder set.


Keyword Block

Any of the following keywords may be optionally supplied for use with the major keywords of structure pile import: from-extruder, from-file and from-geometry.


distinct

Eliminate sharing of nodes among created elements. Every element will create a new set of nodes, even if they are at the same location in space and elements share the same ID number. This option is most commonly used with a later structure node join command to create links connecting nodes at the same location in order to apply custom inter-element behavior.

id i

Specify the ID that will be assigned to all new elements created by this command. If this value is not given, then the next available ID will be used. The ID controls potential joining of the two element end-nodes to an existing element as follows. At each end-node location, a new node is created unless all of the following conditions are fulfilled: 1) the ID is given; 2) an existing node is found “near” the potential new node location; and 3) the found node is part of an element with ID equal to i.

group s <keyword>

Assign the elements created to group s. Use of the group logic is described in Group.

slot s

Assign the group to slot s. If omitted, the group is assigned to the slot named Default.

maximum-length f

Break the element into segments no greater than length f. The segments setting, if provided, is overridden as needed by this setting.

segments i

Break the element into i equal segments, creating new nodes as needed. The default value is 1.

snap <b >

Indicate that the first and last positions of the element(s) created will attempt to “snap” to the location of the nearest structural node (attached to any element type) within a radius of 1/2 the element length. If only one end is snapped in this manner, then the entire line created will be offset by the difference between the original and the snapped position.