• Home
  • Downloads
  • Forum
  • Contact Us
  • Buy CamBam
    • News
    • Documentation
    • Videos
    • Screenshots
    • Gallery
    • Reviews
    • Support
    Contents
    • Basics
      • User Interface
      • Drawing and System tabs
      • Rotating and Panning
      • Selecting Objects
      • Toolpaths and Gcode
      • Drawing Units
      • File Menu
      • View Menu
      • Tools Menu
      • Simple Example
      • Keyboard Shortcuts
    • Machining (CAM)
      • Machining Basics
      • Profile
      • Pocket
      • Drill
      • Engrave
      • 3D Profile
      • Lathe
      • Creating GCode
      • Machining Options
      • Edit Gcode
      • CAM Part
      • CAM Styles
      • Lead Moves
      • Holding Tabs
      • Side Profiles
      • Post Processor
      • Nesting
      • Back Plotting
      • Tool Libraries
      • Speeds and Feeds Calculator
    • Drawing (CAD)
      • Entities
      • Script Object
      • Bitmaps
      • Layers
      • Transformations
      • Operations
      • Edit Polyline
      • Edit Surface
      • Edit Points
      • Creating Surfaces
      • Region Fill
    • Tutorials
      • Profile
      • Pocketing
      • Drilling
      • Bitmap Heightmaps
      • Text Engraving
      • 3D Profile
      • 3D Profile - Back face
    • Automation
    • Configuration
    • Appendix
      • What's New?

    Viewing and editing gcode

    CamBam can be used to view and edit the output gcode. It is also possible to specify an external gcode editor for this purpose.

    To invoke the gcode editor, use the Machining - Edit gcode menu option, or from the context menu presented when right clicking the machining folder in the drawing tree.

    Edit gcode currently only edits the top level Machining gcode file. To edit gcode created from Parts or individual machining operations it is necessary to open these manually.

    To find the location of the created gcode file, Browse gcode folder from the Machining context menu can be used. This will open Windows Explorer to the gcode folder location.

    The tool used to open gcode files can be set in the GCode Editor property of the system configuration settings.

    In the following example, Windows notepad has been defined as the gcode editor.

    Gcode files can also be view and their toolpaths displayed (or back plotted) using the NC File. Double clicking the NC File object in the drawing tree will invoke the gcode editor on the source gcode of the NC File operation.

    See the Back Plotting section for more information.

    Copyright 2020 HexRay Ltd