Trimble SketchUp Feature Representation
In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Attributes), this format adds the format-specific attributes described in this section.
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 |
---|---|
sketchup_type |
The type of the geometry read from the SketchUp file. Range: sketchup_surface sketchup_line sketchup_model sketchup_model_metadata Default: No default |
sketchup_model_description |
The description of the model. Type: string |
FME Geometry attributes supported These are the attributes that map to the FME Geometry Model |
|
fme_texture_coordinate_u fme_texture_coordinate_v fme_texture_coordinate_w fme_texture_coordinate_q
|
These are named measures that hold texture coordinates on the vertices of sketchup_face. (front side). Type: float Default: Parent front side texture coordinates |
fme_back_texture_coordinate_u fme_back_texture_coordinate_v fme_back_texture_coordinate_w fme_back_texture_coordinate_q |
These are named measures that hold texture coordinates on the vertices of sketchup_face. (back side) Type: float Default: Parent back side texture coordinates |
fme_vertex_normal_x fme_vertex_normal_y fme_vertex_normal_z |
These are 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_layer_name |
This trait holds the layer name of the associated geometry. Type: string Default: Layer0 |
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 |