I3DModel¶
- class I3DModel¶
Bases:
I3DObject- Summary:
Represents a 3D model.
- Remarks:
Introduced in Impact 11.0.0.39 Additional properties added in Impact 11.1.1.5 and 12.0.0.127
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property board_settings_name¶
Gets board_settings_name.
- Summary:
Gets the name of the board settings used.
- Remarks:
Introduced in Impact 11.1.1.5 and 12.0.0.127
- Returns:
The value of board_settings_name.
- Return type:
board_settings_name (str)
- property foil_settings_name¶
Gets foil_settings_name.
- Summary:
Gets the name of the foil settings used.
- Remarks:
Introduced in Impact 11.1.1.5 and 12.0.0.127
- Returns:
The value of foil_settings_name.
- Return type:
foil_settings_name (str)
- property fold_ratio¶
Gets fold_ratio.
- Summary:
Gets and sets the board fold ratio of the folding model.
- Remarks:
Introduced in Impact 12.0.0.136
- Returns:
The value of fold_ratio.
- Return type:
fold_ratio (float)
Examples:
- property layer2_d¶
Gets layer2_d.
- Summary:
The 2D design layer used to create this 3D model.
- Remarks:
Introduced in Impact 11.1.1.5 and 12.0.0.132
Examples:
- property layer_guid2_d¶
Gets layer_gui_d2_d.
- Summary:
Gets the GUID of the source 2D layer.
- Remarks:
Introduced in Impact 11.0.0.39
- Returns:
The value of layer_gui_d2_d.
- Return type:
layer_guid2_d (str)
- property layer_name2_d¶
Gets layer_name2_d.
- Summary:
Gets the name of the source 2D layer.
- Remarks:
Introduced in Impact 11.0.0.39
- Returns:
The value of layer_name2_d.
- Return type:
layer_name2_d (str)
- property palette_settings_name¶
Gets palette_settings_name.
- Summary:
Gets the name of the palette settings used.
- Remarks:
Introduced in Impact 11.1.1.5 and 12.0.0.127
- Returns:
The value of palette_settings_name.
- Return type:
palette_settings_name (str)
- property quality¶
Gets Quality.
- Summary:
Gets the texture quality.
- Remarks:
Introduced in Impact 11.1.1.5 and 12.0.0.127
- Returns:
The value of Quality.
- Return type:
- property thickness¶
Gets Thickness.
- Summary:
Gets and sets the board thickness of the folding model.
- Remarks:
Introduced in Impact 12.0.0.136
- Returns:
The value of Thickness.
- Return type:
thickness (float)
Examples:
- property type¶
Gets Type.
- Summary:
Gets the type (enumeration) of the 3D object.
- Remarks:
Introduced in Impact 11.0.0.39
- Returns:
The value of Type.
- Return type:
- property varnish_settings_name¶
Gets varnish_settings_name.
- Summary:
Gets the name of the varnish settings used.
- Remarks:
Introduced in Impact 11.1.1.5 and 12.0.0.127
- Returns:
The value of varnish_settings_name.
- Return type:
varnish_settings_name (str)
- do_update(options)¶
- Summary:
Updates the i3_d_model using the settings from an i3_d_update_model_options object.
- Remarks:
Introduced in Impact 11.0.0.39
- Parameters:
options (i3_d_update_model_options) – Options defining what things are to be updated.
Examples:
- flatten()¶
- Summary:
Flattens the model, setting the fold angle to zero for all crease lines.
- Remarks:
Introduced in Impact 11.0.0.39
Examples:
- fold()¶
- Summary:
Folds the model, setting the assigned face fold angle to all crease lines.
- Remarks:
The global fold angle is used for creases which do not have an assigned angle. See i3_d_create_model_options.fold_angle. Introduced in Impact 11.0.0.39
Examples:
- isNone()¶
Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.