Export to an AeroScript or AeroBasic Program

  1. On the File menu, select Export.
    • If you have not configured the project settings, the Project Settings dialog comes into view. Go to step 2 of this procedure.
    • If you previously configured the project settings, the Export Program dialog comes into view. Go to step 4 of this procedure.
    • NOTE: You can review and configure project settings at any time. In the Project ribbon, click Project Settings. The Project Settings dialog comes into view.

  2. In the Project Settings dialog, make sure that the axis names, type of motion between shapes, and process speeds are set for the configuration and process of your machine.
  3. Table:     Project Settings Dialog

    Project Setting Description

    Axes, Horizontal and Vertical

    For the horizontal and the vertical axes, specify the Axis Name, Type, and Precision that are used in the AeroScript or AeroBasic motion program. You can also select to Invert the direction of motion relative to the direction of the axis on the canvas.

    Coordinated Motion Feedrate

     

    Shape

    Specify the speed of the axes when they are moving to create a shape geometry.

    Transition

    If the Shape Transition Type is Linear (G1), Skywriting (Single Bezier), or Skywriting (Dual Bezier), specify the speed of the axes when they are moving between shapes.

    Bitmap Marking

    Specify the speed of the axes when they are moving to mark bitmaps. Bitmap feedrates must be literal values. You cannot use an AeroBasic variable or defined target word.

    NOTE: This does not apply when exporting a project to AeroScript.

    Shape Transition

    Specify the type of motion to use for the transition moves between shapes. You can select Rapid (G0), Linear (G1), Skywriting (Single Bezier), or Skywriting (Dual Bezier). If you select Skywriting (Single Bezier) or Skywriting (Dual Bezier), you can also specify the default Control Point Offset and Break Angle options. Refer to Skywriting.

    Units

    Specify the units of distance and time that are configured in the AeroScript or AeroBasic motion program.

    Tools

    Specify the Default Tool to use for all shapes in the project. Shapes and Groups can override the default tool.

    Beziers/Splines

    Specify the Tolerance that you want to use with the BEZIER QUAD or BEZIER CUBIC AeroBasic commands. This is also the tolerance used to approximate other splines to lines and arcs in AeroBasic.

    If you select the Approximate All box, all splines in your project are approximated when you export to AeroBasic. This includes splines that would output the BEZIER command if you did not select this box. Select this option if your AeroBasic program cannot use the BEZIER command.

    When you export to AeroScript, all Bezier curves and splines are approximated with lines and arcs. The Approximate All box is selected automatically and cannot be unselected.

    Program Initialization

    Configure the AeroScript or AeroBasic code that executes before the AeroScript or AeroBasic output from the CADFusion project. You can specify this code directly or you can select the AeroScript or AeroBasic program file where the code is stored.

    Program Termination

    Configure the AeroScript or AeroBasic code that executes after the AeroScript or AeroBasic output from the CADFusion project. You can specify this code directly or you can select the program file where the code is stored.

    Prefer G-code commands

    Select this option if you want to use G-code commands in the AeroScript or AeroBasic motion program when it is possible.

    G16 K Axis Name

    If you select the Prefer G-code commands option, specify the name of the third axis to use to define the IJK coordinate system required by G2 and G3 circular motion commands. For more information on the G2, G3, or G16 commands, see Automation1 or A3200 Help.

    Use #define statement for feedrate commands

    Select this option if you want to replace the numeric values on each feedrate specification with a #define preprocessor directive.

    Output AeroScript or AeroBasic comments for groups, shapes, and tools

    Select this option if you want to output AeroScript or AeroBasic comments.

  4. After you configure the project settings, click OK. The Export Program dialog comes into view.
  5. In the Export Program dialog, click Save As.
  6. In the Save As dialog, browse the network or your PC and specify where you want to save the program. Click Save. You can see the status and the results of the export in the operation log.

Basic Steps to Create a CADFusion Project

  1. Start a Project
  2. Set the Coordinates
  3. Create Shapes
  4. Optimize the Drawing
  5. Change the Order of Execution
  6. Add Lead Moves
  7. Add Skywriting
  8. Add Tools
  9. Add Outputs
  10. Export to an AeroBasic Program
  11. Save and Close Projects