A number of calculations support graphic output of 2D drawings and cooperates with selected CAD programs, including 3D parametric modellers. In such case, the calculation includes a "Graphic output" paragraph (at the end of calculation). This paragraph contains commands for creation of a drawing (.DXF file) or direct insertion of a drawing into the corresponding 2D CAD system. If the calculation also supports 3D CAD systems, the paragraph includes the corresponding button for activation of the insertion dialog.
The button with a 3D picture and title "3D" activates a dialog for insertion of a model or assembly into the 3D CAD system.
The module that connects the calculations and 3D CAD systems is not included in the basic installation of calculations. The corresponding module must be chosen according to the type of CAD system on our web pages, and then downloaded and installed. The module also includes related help.
Principle of operation: The calculation generates the chosen drawing in a temporary file in .DXF format and then inserts this file into the selected 2D CAD system. The solution is open. This means you can define your own drawing based on the calculated values and you can also add another CAD system (in principle, any application that can download .DXF format).
A series of calculations (gearing, springs, etc.) enables entering of the respective table with text information on the calculated object into the drawing. The table can be selected from the respective list (in case the calculation enables more types to be entered). Drawing of the table can be activated by pressing the button “Draw a table”.
Parameters of the drawn tables can be preset on the sheet “DXF“ in par. 9.0.
The tables can be found on the sheet “DXFTabulky - DXFTables“. There text can be modified, rows added/removed, the format changed, and the width or height of the cells modified.
In the generated drawing, you can set up, for example, the type and name of the used lines, names of the used layers, etc. All this can be set up in the sheet called "DXF". At least elementary knowledge of .DXF format (a graphic vector format) is necessary to change the setting.
Generating a .DXF drawing file consists of the following three steps:
Changes in the settings can be executed in the 4.0 DXF Header Definition (ISO, mm) cell - or 5.0 DXF Header Definition (ANSI, Inch) , according to the used unit system. The cell contains the definition of the type of lines and layers used in .DXF format. If you wish to change the names of the layers, you must execute the respective changes in the names of the 3.0 Layer Names layers as well.
As .DXF format allows quite simple entries (ASCII Text), it is possible to easily generate a separate drawing in .DXF format using MS Excel.
The drawing can be plotted in the chosen CAD system (program) using the "Draw User View" button.
|A .DXF entry in the calculation is possible
Communication between the calculation and the CAD system (target program) is executed using a DDE communication and the command "SendKeys", which simulates the pressing of the sequence of keys in the target program. The commands are sent to the target program, where they generate insertion or display of the drawing.
A new CAD system (application) can be added as follows.
|Name of the target program for the selection list
|Command's Table Name
|Name of the table containing the commands that are sent to the target program
|SendKeys App Name
|Name of the target program for sending commands using the "SendKeys" method
|DDE App Name
|Name of the target program for sending commands using the DDE method
|The chain that is sent to the target program for initialization of the communication
In the table you can find a sequence of rows containing, alternately, the name of the communication ("SendKeys" or "DDE"), and the command that will be sent to the target program.
|Sequence of the keys that are sent to the target program
|Command sent to the target program