Trimble SketchUp Feature Representation
In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format also adds format-specific attributes (Format Attributes).
SketchUp entities (features) consist of geometry and geometry attributes. All SketchUp entities have one predefined attribute, sketchup_type, which identifies the type of the geometry. Geometry types are 3D (x,y,z).
All SketchUp geometry traits are optional. SketchUp geometry traits correspond to SketchUp entity attributes. All SketchUp options are output as attributes on every feature.
Attribute Name |
Contents |
---|---|
fme_back_texture_coordinate_u fme_back_texture_coordinate_v fme_back_texture_coordinate_w fme_back_texture_coordinate_q |
Named measures that hold texture coordinates on the vertices of sketchup_face (back side). Type: float Default: Parent back side texture coordinates |
fme_texture_coordinate_u fme_texture_coordinate_v fme_texture_coordinate_w fme_texture_coordinate_q
|
Named measures that hold texture coordinates on the vertices of sketchup_face (front side). Type: float Default: Parent front side texture coordinates |
fme_vertex_normal_x fme_vertex_normal_y fme_vertex_normal_z |
Named measures that hold vertex normals on a sketchup_face. Normals are vectors that enable faces to be shaded. Type: float Range: -1.0..1.0 Default: Parent face normal |
sketchup_entity_id |
This trait holds the unique entity id of the associated geometry. Type: integer |
sketchup_inherit_material |
This trait indicates whether the geometry will inherit its parent’s material. If the geometry has its own material, this value will be false. Otherwise, it will be true. Type: boolean |
sketchup_is_hidden |
This trait indicates whether the hidden flag is enabled for the geometry. Type: boolean Default: false |
sketchup_layer_name |
This trait holds the layer name of the associated geometry. Type: string Default: Layer0 |
sketchup_model_description |
The description of the model. Type: string |
skp_type |
The type of the geometry read from the SketchUp file. Range:
Default: No default |
Attribute Dictionaries
Attribute dictionaries are arbitrary collections of attributes attached to SketchUp entities. These are added onto features as geometry traits in the format [dictionary name].[key].
Dynamic Components
SketchUp Dynamic Components are stored in an attribute dictionary called dynamic_attributes. So, for example, if a dynamic component attribute was added on an attribute called name, it will be read as a geometry trait called dynamic_attributes.name.
For more information about SketchUp dynamic components, see Making a Dynamic Component.