import_idf#

Icepak.import_idf(board_path, library_path=None, control_path=None, filter_cap=False, filter_ind=False, filter_res=False, filter_height_under=None, filter_height_exclude_2d=False, power_under=None, create_filtered_as_non_model=False, high_surface_thick='0.07mm', low_surface_thick='0.07mm', internal_thick='0.07mm', internal_layer_number=2, high_surface_coverage=30, low_surface_coverage=30, internal_layer_coverage=30, trace_material='Cu-Pure', substrate_material='FR-4', create_board=True, model_board_as_rect=False, model_device_as_rect=True, cutoff_height='5mm', component_lib='')[source]#

Import an IDF file into an Icepak design.

Parameters:
board_pathstr

Full path to the EMN/BDF file.

library_pathstr

Full path to the EMP/LDF file. The default is None, in which case a search for an EMP/LDF file with the same name as the EMN/BDF file is performed in the folder with the EMN/BDF file.

control_pathstr

Full path to the XML file. The default is None, in which case a search for an XML file with the same name as the EMN/BDF file is performed in the folder with the EMN/BDF file.

filter_capbool, optional

Whether to filter capacitors from the IDF file. The default is False.

filter_indbool, optional

Whether to filter inductors from the IDF file. The default is False.

filter_resbool, optional

Whether to filter resistors from the IDF file. The default is False.

filter_height_underfloat or str, optional

Filter components under a given height. The default is None, in which case no components are filtered based on height.

filter_height_exclude_2dbool, optional

Whether to filter 2D components from the IDF file. The default is False.

power_underfloat or str, optional

Filter components with power under a given mW. The default is None, in which case no components are filtered based on power.

create_filtered_as_non_modelbool, optional

Whether to set imported filtered components as Non-Model. The default is False.

high_surface_thickfloat or str optional

High surface thickness. The default is "0.07mm".

low_surface_thickfloat or str, optional

Low surface thickness. The default is "0.07mm".

internal_thickfloat or str, optional

Internal layer thickness. The default is "0.07mm".

internal_layer_numberint, optional

Number of internal layers. The default is 2.

high_surface_coveragefloat, optional

High surface material coverage. The default is 30.

low_surface_coveragefloat, optional

Low surface material coverage. The default is 30.

internal_layer_coveragefloat, optional

Internal layer material coverage. The default is 30.

trace_materialstr, optional

Trace material. The default is "Cu-Pure".

substrate_materialstr, optional

Substrate material. The default is "FR-4".

create_boardbool, optional

Whether to create the board. The default is True.

model_board_as_rectbool, optional

Whether to create the board as a rectangle. The default is False.

model_device_as_rectbool, optional

Whether to create the components as rectangles. The default is True.

cutoff_heightstr or float, optional

Cutoff height. The default is None.

component_libstr, optional

Full path to the component library.

Returns:
bool

True when successful, False when failed.

References

>>> oDesign.ImportIDF