External

Model ElementThe External element allows you to represent a geometric figure using an external file. Supported file types are .x_t (Parasolid) or .fem

Class Name

External

Attribute Summary

Name Property Modifiable by command? Designable?
rm Reference(Marker) No Yes
file FileName()  
element String()  
refinement_level Int()  
material_inside Bool()  
color String()  
hidden Bool() No

Usage

External(rm = cart_marker, file = CWD+r"/slotted_link.x_t",element = ['Link','Pin'])

Attributes

rm
Reference(Marker)The marker is used as a coordinate system for the external graphic.
file
FileName()
The path and file name for the external file. The file name can be expressed as an absolute or relative path.
element
String()
A string indicating the element of the external file that is being graphically generated. Typically, a Parasolid file contains multiple entities; the element string allows you to select the entity being generated.
refinement_level
Int()
Specifies the level of detail of the sphere entity. Default is 10.
material_inside
Bool()
Specifies if the graphic has material inside or outside. is_material_inside is a Boolean flag (True/False).
True means the geometry is solid. In other words, it is filled with material and its exterior is devoid of material. Consequently, the surface normals of the geometry point outward.
False means the converse: The exterior of the geometry is filled with material and the interior is devoid of material. In this case, the surface normals of the geometry point inward.
This flag is useful for reversing the surface normals of a geometry for contact simulations
color
String()
The color of the graphic for H3D animation. Specified as RGB (Red : Green : Blue).
hidden
Boolean
Specifies weather the graphics is being written to the H3D file or not.
  • True implies that the graphic is hidden and is not written to the H3D file.
  • False implies that the graphic is not hidden and is written to the H3D file.
This attribute is optional. When not specified, it defaults to False.

Comments

  1. See Properties for an explanation about what properties are, why they are used, and how you can extend these.