Supporting the potential need to work with PCB designs in the Zuken® CADSTAR™ format, Altium Designer includes a CADSTAR Importer for translating CADSTAR Schematic, PCB and Library files to equivalent Altium Designer design files. The importer is included in Altium Designer as a platform extension, and the function is presented as an import file type option in the design file Import Wizard.
To access CADSTAR importer in Altium Designer, the Cadstar feature must be enabled for your installation of Altium Designer. This feature is enabled in Altium Designer by default. It can be enabled/disabled after installation.
For more information about changing installed core functionality, refer to the Installing & Managing page (Altium Designer Develop, Altium Designer Agile).
Version Support
The Altium Designer CADSTAR importer nominally supports CADSTAR versions 9 to 2018 when the design files are converted into the ASCII-based CADSTAR archive format – binary CADSTAR file are not supported.
CADSTAR archive files have the extension .cpa or .csa for PCB and Schematic -based files, respectively. In practice, the importer supports the following CADSTAR file types:
Preparing Files for Import
The following table describes the types of CADSTAR file the importer supports with a summary of how to convert the CADSTAR binary file format to an archive file format (where required) and the equivalent Altium Designer output.
CADSTAR File Type
|
Export to CADSTAR Archive
|
Altium Designer Output
|
PCB design (*.pcb)
|
Convert the binary pcb design (*.pcb) to a CADSTAR PCB archive (*.cpa)
|
Altium Design PCB document (*.pcbdoc)
|
Schematic design (*.scm)
|
Convert the binary schematic design (*.scm) to a CADSTAR schematic archive (*.csa)
|
Altium Design schematic document (*.schdoc)
|
PCB Library (*.lib)
|
Convert the binary pcb library (*.lib) to a CADSTAR PCB archive (*.cpa)
|
Altium Designer PCB library (*.pcblib)
|
Parts Library (*.lib) and Schematic Symbol Library (*.lib)
|
The Parts library (*.lib) file should already be in an ASCII file format and does not need conversion. As with the PCB Library, convert the binary symbol library (*.lib) to a CADSTAR schematic archive (*.csa)
|
The importer uses both the Parts library and the symbol schematic archive to output an Altium Designer schematic library (*.schlib)
|
PCB Design
The CADSTAR PCB layout file is equivalent to an Altium Designer PCB document. Given a CADSTAR pcb layout file (*.cpa), Altium Designer's CADSTAR importer will translate this to a native PCB document (*.PcbDoc). If the CADSTAR pcb layout is in binary file format, archive it to a *.cpa file format.
Schematic Designs
To import CADSTAR schematic binary files (*.scm) into Altium Designer, they must first be exported in the archive (*.csa) format.
Schematic Library
The importer needs at least two CADSTAR source files to create an Altium Designer schematic library. The first is the CADSTAR Parts library, a plain text parts listing. Part items in the Parts library are referenced by symbol definitions in a separate Symbol library file, which is the second file required by the importer when creating an Altium Designer schematic library.
The symbol library file must be in the CADSTAR Schematic archive (*.csa) file format.
For example, where a Parts library file called parts.lib uses the symbol definitions in a Symbol library file called symbol.lib, the latter is first converted to an ASCII symbol.csa file using the CADSTAR's archive utility. The importer will then translate the parts.lib and symbol.csa files to an Altium Designer parts.schlib. If the parts.lib file references multiple symbol.csa files. These can be added during the import/conversion process.
In Altium Designer terms, a part item definition in the parts.lib file and the symbol definition in the symbol.csa file are equivalent to an Altium Designer schematic library component definition.
PCB Library
A CADSTAR PCB component is equivalent to an Altium Designer PCB footprint. The CADSTAR PCB Library (*.lib) must first be converted to its archive (ASCII) format (*.cpa) and can then be translated to an Altium Designer PCB library (*.PcbLib) using the CADSTAR Importer.
A CADSTAR Parts library file is not strictly required when importing a CADSTAR pcb library, however if its PCB components are linked to schematic symbols via part definitions, it is good practice to supply the Parts library file during the import process. Doing so will allow Altium Designer's CADSTAR importer to correctly map the pin names from schematic component to pcb footprint by using the pin names in the part definition.
Using the CADSTAR Importer
The CADSTAR design file importer is available through Altium Designer's Import Wizard (File » Import Wizard) by selecting CADSTAR Designs and Libraries on the Wizard's Select Type of Files to Import page. The Wizard provides page options for nominating both design files (schematic and PCB) and library files (parts, symbol and footprint), and also CADSTAR to Altium Designer PCB layer mapping options.
Note that the Import Wizard offers a default Layer Mapping setup, which can be modified and saved as a *.ini file. The mapping is used by the Import Wizard to build the layer mapping for each PCB in the imported design, so during the import of several PCB files, a saved mapping configuration file can be loaded and applied to individual (or all) PCB files.
Where the complete set of CADSTAR files are available (schematic design, PCB design, parts library, and schematic/pcb libraries), it is highly recommended that they are all imported during a single session of Altium Designer's Import Wizard. In this way, the Wizard can generate a complete Altium Designer project and its libraries where the component definitions in the resulting schematic library (*.SchLib) will correctly include both the related symbol and a link to the matching footprint (in the generated *.PcbLib file).
Import Wizard - CADSTAR Designs and Libraries
CADSTAR Designs and Libraries
The Import Wizard supports the following CADSTAR file type:
-
PCB design
-
PCB component library
-
Schematic design
-
Part library and schematic symbol library
The Import Wizard does not support binary CADSTAR file. The binary CADSTAR file must be converted to CADSTAR archive file before importing to Altium Designer. The CADSTAR archive file usually has the extension .cpa or .csa.
Importing CADSTAR Design Files
This page of the Wizard is used to select which CADSTAR design files to import. You can import CADSTAR PCB designs (*.cpa) or CADSTAR schematic designs (*.csa).
Click Add to choose which CADSTAR design files to import. You can delete a selected file by clicking Remove.
Selecting CADSTAR Library Files
This page of the Wizard is used to select which CADSTAR library files to import.
Click Add to choose which CADSTAR library files to import. You can delete a selected file by clicking Remove.
Setting the Reporting Options
Use the Reporting Options page to set up general log reporting options.
Under General Settings, enable the desired options: Log All Errors, Log All Warnings, and Log All Events.
Editing the Layer Mapping
This page of the Wizard is used to review and edit the layer mapping for each CADSTAR PCB design or library. Default mapping is provided by the Wizard to build the layer mapping for each PCB. Layer mapping can be customized for each of your designs to be imported. You may wish to import multiple CADSTAR PCB designs and map the same CADSTAR layer to the same Altium Designer layer. You can set your layer mapping once and use this layer mapping for all of your files to be imported. The advantage of importing in this manner is that batch layer management can save time when importing multiple designs. The disadvantage to using this is that Default Layer Mapping is not always intelligent with differing structures in designs, and therefore, some manual changes may be required.
The CADSTAR Layer Name, Altium Designer Layer, and CADSTAR Layer Type (Sub Type) are listed in the grid region. Use the drop-down arrow on the right-hand side of each region to filter the displayed list of that region.
Use the Menu button to manipulate the layer mappings.
-
Invert Selection – select to invert the items that are selected to not selected, and those that are not selected to selected.
-
Set Selection To – select to access a sub-menu of layer types from which you can choose the desired layer.
-
Load Layer Mapping – select to open the Load Configuration dialog to load the desired mapping files.
-
Save Layer Mapping – select to open the Choose File to Save Layer Mapping dialog and choose the path in which to save the layer mapping.
Right-clicking in the grid region gives access to the same menus and sub-menus as clicking the Menu button.
Specifying the Output Directory
Use this page of the Wizard to review the output project structure and specify the output directory in which to import the files. Use the Browse Folder icon to search for and choose the Output Directory.
A page showing a green progress bar opens and displays the document that is currently being processed with a green bar to show the progress of the import.
Closing the Wizard
The CADSTAR Import Wizard has completed. Click Finish to close the Wizard. The output project/file structure will display in the Altium Designer design space.
CADSTAR files translate as follows:
-
CADSTAR pcb design (layout) archive (
*.cpa) files will be translated to Altium Designer pcb documents (*.pcbdoc).
-
CADSTAR schematic archive (
*.csa) files will be translated to Altium Designer schematic documents (*.schdoc).
-
CADSTAR part library (
*.LIB) and symbol archive (*.csa) files will be translated to Altium Designer Schematic Library files (*.schlib).
-
CADSTAR pcb archive file (
*.cpa) will be translated to Altium Designer PCB Library files (*.pcblib).