Exporting materials¶
The list of materials loaded in Jevero Cost can be exported to a single file that can be shared and imported on other machines/installations.
To export the materials, just click the Export... button at the bottom-right of the Material setup page: you will be asked the location and name of the file to generate and the final material archive will be saved in the *.jcm format (Jevero Cost Materials).
Importing materials¶
Materials can be imported by clicking on the Import... button, at the bottom-right of the Material setup page. Two kinds of source file can be selected to load materials:
- a *.jcm file previously exported from Jevero Cost (see Exporting materials)
- a *.csv (Comma Separated Values) exported from other softwares.
Importing from *.jcm¶
To import from Jevero Cost Materials format, just select the *.jcm file and all the materials will be added to the material list.
Importing from *.csv¶
Since the exported *.csv can have fewer or additional data fields, which also can have names that Jevero Cost does not recognize directly, the importing procedure requires the user to manually assign the CSV fields to the material properties that Jevero Cost can handle.
After clicking the Import... button and selecting a *.csv file, the following dialog is shown:
The data field parsed from the CSV file are displayed on the first row of the table, for example:
ID | Description | W | H | Distance | W unit | H unit | Allowance unit |
Class | Cost per sheet | Cost per unit | Cost unit | Format
The second row contains combo boxes where the user can select the corresponding property that will be filled in Jevero Cost. In our example we applied the following mapping:
CSV data field | Jevero Cost material property |
---|---|
ID | Code |
Description | Name |
W | Width |
H | Height |
Distance | [SKIP] (by selecting [SKIP] you tell Jevero Cost to ignore this field) |
W unit | Width unit |
H unit | Height unit |
Allowance unit | Material allowance unit |
Class | Category |
Cost per sheet | Cost per sheet |
Cost per unit | Cost per unit |
Cost unit | Cost unit |
Format | Shape |
All the following rows contain the values parsed from the CSV file, that will be used to create the new materials.
In addition, you can provide some options, such as:
- the text encoding to use when reading the CSV data (the default encoding is ISO-8859-1)
- some default values to use for the data fields that do not contain any value (in our example, all imported materials will be assigned the "My default category" category, since the Class input field is empty for all rows)
When you are satisfied with the property mapping and the default values to apply, just click OK and the materials will be imported.
When importing materials having a name or code that already exists in the current material list, the new materials will be renamed or assigned a different code (e.g. if the name "Material ABC" already exists, it will be imported as "Material ABC (1)")
This ensures that existing materials are NEVER overwritten.