geometry import command

Syntax

geometry import s <keyword> <position|offset v >

Primary keywords:

format    group    merge    set

Import geometric data. s is the file name. <position v>, if supplied, provides the position of the imported geometry nodes. <offset v>, if supplied, provides the translational offset (shift) vector for the imported geometry nodes.

format keyword

The importer will attempt to infer the proper format from the contents of the file, but the format keyword can be used to force it to interpret the file as a given format. The following formats are available:

dxf

DXF file (.dxf). This is a partial implementation of the format as of AutoCAD version 12. Layer names are assigned to group slot 1.

geometry

Itasca geometry file format geometry file (.geom). Binary or text version is determined automatically (described in Geometry File Format.

stl

STL file (.stl). Solid names are assigned to group slot 1. Binary or text version is determined automatically.

group s <keyword>

Specify group names to imported geometry objects. Use of the group logic is described in Group.

add

Assign s to the next available slot.

slot slot

Set group slot slot to s. By default, slot Default is used.

merge b

By default, the STL format will search for and merge nodes and edges that are in the same location in space, within a default tolerance. Using this keyword will stop this process, speeding up the import but increasing the amount of data imported.

set s

By default, the imported geometry is assigned to a set with a name that is identical to the imported file name without extension. This can be overridden with the set keyword.