3D macros can be created as follows:
- Manually by saving selected objects from a layout space
- Manually or automatically from imported STEP files (*.ema only)
- Manually or automatically from a macro project.
Create a 3D macro by saving selected objects
Precondition:
You have opened a project. A layout space is open. The layout space contains 3D part placements or objects that have been loaded via Layout space > Import (3D graphic).
- Select the menu item Edit > Create window macro / symbol macro.
- Draw a border around the objects that should belong to the macro.
- In the Save as dialog, enter an identifying name and optionally a description text for the 3D macro.
In the Representation type field, the entry "3D mounting layout" is displayed, which cannot be modified. - From the Variant field select the required variant for the macro.
"Variant A" is the default setting. You can generate further variants by rotating the macro geometry, or by changing the handle and saving the 3D macro under the same name, but as a different variant. - Click [OK].
- Select the Edit > Device logic > Handle menu items.
The cursor will be surrounded by a square, that you can set to 3D snap points on the geometry, to define the handle. Once the handle is placed, the Save as dialog reappears. The defined handle is always projected onto the placement area. - Click [OK].
The 3D macro is saved to the set directory. It can then be called up for placement.
Create a 3D macro from an imported 3D graphic
3D graphic files can be imported in STEP format. You can generate files of this type with a 3D CAD system, or obtain them from the storage mediums of various manufacturers. After importing the original position of the graphic can be influenced by defining and rotating a placement area so that the desired areas are always rotated to the placement position when the macro is placed as a window macro and as a device.
Precondition:
You have opened a project. A layout space is open.
- Select the menu items Layout space > Import (3D graphic).
- In
the Open dialog, select a directory and in this, select a file containing the 3D graphic in STEP format to be imported, and click [Open].
The 3D graphic from the STEP file is loaded in the layout space and displayed as a 3D object. - Depending on the quality of the source data, the 3D graphic may have to be edited, before it can be saved as a 3D macro. In order to achieve uniform behavior when placing a macro that contains rotated graphics, select the menu items Edit > Device logic > Placement area > Define and Edit > Device logic > Placement area > Rotate.
- Irrespective of the placement position you can use Edit > Graphic > Unite to combine all the items of the layout space so that a 3D macro is handled like one item when used.
- Save the 3D macro via the Edit > Create window macro / symbol macro menu items.
Note:
The uniting of 3D bodies is not suited to reduce the amount of data in the macro to be generated. If the imported STEP file contains several identical and very detailed parts, this may lead to an increase of the amount of data after uniting. This directly influences the size of the macro files since macros cannot be compressed due to the system's way of operation.
To reach an acceptable size of the macro file you should thus refrain from uniting imported common parts and generate the macro with the imported single parts.
Generate a 3D macro from 3D files
This function works in the same way as Generating Macros from DXF / DWG Files.
- Select Utilities > Generate macros > From 3D files.
3D window macros (*.ema) are generated directly from single or multiple STEP files, without being loaded into a layout space and edited before saving.
Generate a 3D macro from a macro project
In the same way as 2D macros, 3D macros can be generated automatically from macro projects.
- Select the menu items Project data > Macros > Generate automatically.
All 3D macros or each individually selected one are saved from the macro project layout spaces as *.ema or *.ems files.
See also