CNC Simulator Italia
发布时间:2026-10-17 | 浏览:1
Welcome to the CNC Simulator Pro User Guide , a comprehensive CNC simulator and CAD/CAM software suite.
What is CNC Simulator Pro?
CNC Simulator Pro was designed to provide the CNC community with a contemporary CNC simulator containing the most common CNC machine types as virtual machines. The goal is to allow operators and students to safely test code in a 3D simulation before running it on real machines.
Important Note: The simulator in its standard configuration is not machine or controller specific. Due to the variety of CNC controllers with different G-code dialects, it will not be 100% compatible with your machine. Users are responsible for verifying code before running it on real machines.
Beyond Simulation
The software functions as much more than just a simulator - it includes:
Contemporary CAD/CAM system (SimCam)
Advanced CNC programming editor
3D model milling software (3D Maker)
Gear creator (Gear Maker)
And much more...
Sections in this Introduction
About CNC Simulator Pro - Detailed software overview
What is Needed? - System requirements and prerequisites
About Versions and Updates - Version information and how to update
CNC Simulator Pro is a comprehensive CNC simulator designed to provide the CNC community with a virtual environment for testing and learning CNC programming.
Software Overview
CNC Simulator Pro was developed to allow CNC operators, students, and enthusiasts to safely test G-code in a realistic 3D simulation before running it on real machines.
Realistic 3D simulation - Visualize machining operations in real-time
Multiple virtual machines - Mills, lathes, multi-axis machines
Advanced CNC editor - Syntax highlighting, programming help
SimCam CAD/CAM - Integrated CAD/CAM system
3D Maker - 3D model milling
Gear Maker - Gear creation
Important Note: The simulator in its standard configuration is not machine or controller specific. Users are responsible for verifying code before running it on real machines.
This section describes the system requirements and prerequisites for running CNC Simulator Pro .
System Requirements
Microsoft .NET Framework 4.7.2 or later
Visual C++ Redistributable for Visual Studio 2019
Updated graphics drivers for OpenGL
Information about CNC Simulator Pro versions and how to keep the software up to date.
Current Version
CNC Simulator Pro version 4.x is the latest major version of the software, with numerous improvements and new features.
Version History
Version 4.x - Current version with improved SimCam, new 3D Maker
Version 3.x - Introduction of SimCam and multi-language support
Version 2.x - Added lathe simulation and multi-axis machines
Version 1.x - Initial version with basic milling simulation
To update CNC Simulator Pro:
Visit the official website
Download the latest version from the Download section
Run the installation program
Existing settings and files will be preserved
This online guide will teach you how to use CNC Simulator Pro . It is assumed that you already have experience in CNC programming.
Chapter Overview
In this chapter you will learn:
1.1 How to Control the 3D View - Navigation and control of the three-dimensional view
1.2 Controlling the Simulation - How to start, stop, and control simulations
1.3 Virtual Machines - The different types of virtual CNC machines available
1.4 File Browsers - How to navigate and manage CNC files
1.5 Sample Demo CNC Files - Sample files to get started right away
1.6 View Buttons - Controls to customize the view
Tip: If you are new to CNC programming, we recommend following this section in the order presented to build a solid knowledge foundation.
Learn to navigate and control the 3D view in CNC Simulator Pro .
Use number keys for quick views:
3 - Left side view
4 - Right side view
6 - Bottom view
7 - Isometric view
Learn to control CNC simulation: start, pause, speed, and debug.
Simulation Controls
Use the simulation toolbar or keyboard shortcuts:
Simulation Modes
Normal - Simulate with visible material removal
Fast - Simulate quickly without detailed graphics
Debug - Step-by-step execution for analysis
Virtual Machines
CNC Simulator Pro includes a vast library of virtual machines that simulate different CNC machining center configurations.
Virtual machine files use the .cmachine extension and contain all the graphics and logic for the machine.
Loading a Machine
Go to File → Load Machine
Or click the "Open machine" button in the toolbar
Browse through available machine folders
Select the desired machine
Available Machine Types
Unlimited Machines
For applications requiring extended ranges, special machines without 3D graphics are available:
UnlimitedMill - Mill with ±50,000 units range
UnlimitedLathe - Lathe with ±50,000 units range
HeidenUnlimited - Heidenhain controller with extended range
UnlimitedCutter - Cutting machine with extended range
Note: "Unlimited" machines have no 3D graphical representation but allow simulating programs with very large coordinates.
Machine Settings
Each machine has configurable parameters in Settings → Machine :
Spindle configuration
📖 Virtual Machines - Documentation
⬅️ Previous section: User Interface
➡️ Next section: File Browsers
File browsers are specialized dialog windows for opening CNC files, machines, and SimCam files. They include preview capabilities to help identify files before opening them.
When you want to open a CNC file, you can click on it to see a simplified preview of the tool paths. This allows you to visualize the content before actually opening the file.
Favorite Folders
The star button allows you to bookmark frequently accessed folders, streamlining navigation through the file system.
Information Panel
Below the preview, a panel displays relevant details about the selected item, such as machine specifications when browsing machines.
CNC Simulator Pro includes numerous demo files for learning:
Go to File → Open CNC Program → Demo Program
Select a demo file
Click Play to start the simulation
Demo programs demonstrate:
Sub-program calls
Macro programming
Tool radius compensation
Special simulator commands
Tip: Reviewing demo programs and their comments is an excellent way to get to know the simulator and understand its features, as well as learning the fundamentals of CNC programming.
📖 File Browsers - Documentation
⬅️ Previous section: Virtual Machines
➡️ Next section: Quick Start Guide
CNC Simulator Pro includes numerous sample CNC files to help you get started.
Where to Find Demo Files
Sample files are located in the Samples folder within the program installation directory.
Demo File Categories
Milling - 2D and 3D milling examples
Turning - Turning examples
Multi-axis - Examples for 4 and 5 axis machines
Macro - Macro programming examples
How to Open a Demo File
Go to File → Open or press Ctrl+O
Navigate to the Samples folder
Select a .cnc file and click Open
Press F5 to start simulation
View buttons allow you to customize the 3D view and control what is displayed.
Rendering Options
Wireframe - Show only model edges
Solid - Solid rendering with shading
Transparent - Semi-transparent rendering
The CNC Editor is the heart of CNC Simulator Pro, where you write, edit, and manage your G-code programs.
Chapter Overview
The editor offers numerous features to make CNC programming more efficient:
Code Coloring - Syntax highlighting for G-codes, M-codes, and parameters
Programming Help - Informative pop-ups while writing code
Code Regions - Organize code into collapsible sections
Pause Points - Set breakpoints for debugging
Find and Replace - Advanced code search
Block Numbering - Automatic line numbering
Comments - Add notes and documentation to code
CNC Headers - Create standard program headers
Undo/Redo - Complete edit history
Convert - Convert between different formats and dialects
Runtime Mode - View program execution
Tip: Use keyboard shortcuts to speed up your work. Press F1 to see context help on any G or M code.
The CNC Editor is the primary interface for writing and modifying CNC code in CNC Simulator Pro.
The CNC editor includes built-in functions to assist you while coding. Recognized CNC codes will be colored, and pop-up lists will help you with useful information while writing.
Editor Features
Code coloring - Automatic syntax highlighting for G-codes, M-codes, and special commands
Programming help pop-ups - Contextual suggestions while typing
Code regions - Organize code into collapsible sections
Pause points - Set breakpoints for simulation debugging
Find and replace - Quickly search and modify code
Automatic block numbering - Automatically number code lines
Comments in code - Add notes and documentation
CNC headers - Create standardized program headers
Undo and redo - Complete edit history management
Convert - Convert between metric and imperial units
Runtime mode - View status during simulation
Tip: The editor automatically recognizes valid CNC codes and highlights them with different colors to facilitate reading and writing your program.
Code coloring is an editor feature that automatically highlights different types of CNC commands with distinct colors.
The CNC editor uses color coding to distinguish various program elements:
Performance Considerations
Note: Very large programs, such as those used for 3D Printing, will not be colored as it would slow down the editor.
Automatic coloring helps to:
Quickly identify different command types
Spot syntax errors
Improve program readability
Distinguish between code and comments
Related Sections
2.3 Programming Help Pop-ups - Learn about contextual help while coding
2.8 Comments in Code - How to add comments (shown in green)
Programming help pop-ups provide intelligent assistance while you write CNC code in the editor.
The editor displays intelligent pop-ups while you write to facilitate the programming process:
When typing specific characters, the editor displays relevant lists. For example, typing " G " shows a list of available G-codes.
When entering a recognized G-code, it will show a help tooltip window explaining the code.
Navigation Methods
Arrow keys - Navigate up and down lists
Mouse - Click to select codes and preview tooltips
Enter or Tab - Inserts selected codes into the editor
Supported Code Types
The pop-up system works with:
$-codes (special commands)
Special commands like $AddRegPart and $AddEmbeddedRegPart
Workpiece Offset Assistance
When using codes G54-G59 , the editor will help you by showing the workpieces offset values after the code.
Hover Information
Showing the tooltips while the mouse hovers over a recognized code provides additional context without active selection.
Purpose: The intelligent editor aims to help the user quickly find the codes they want to use.
Code regions are special editor features that enable collapsible sections within CNC code.
The special editor codes #region and #endregion are used to create collapsible regions in the text.
Collapsing Regions
You can click the minus ( - ) symbol adjacent to the #region command to hide the section.
Expanding Regions
Clicking the plus ( + ) sign next to three dots will reveal a collapsed region.
Preview Feature
Hovering the mouse cursor over the three dots displays a preview of the hidden content without fully expanding it.
Practical Application
Note: SimCam automatically generates these commands for initial simulator settings, so that they can be easily hidden during a simulation.
Code regions are useful for:
Organizing long programs into logical sections
Hiding initial configurations during simulation
Improving code readability
Grouping related operations
Pause points are small green dots in the editor margin that allow you to pause the simulation at specific points in the program.
Pause points are small green dots in the editor margin that are used to make a pause during the simulation.
Setting Pause Points
You can add or remove pause points through a simple clicking mechanism. The process involves clicking on the margin area next to the code block where you want the simulation to pause.
Resuming Simulation
Once the simulation reaches a pause point, you have three options to continue:
Play button - Click the play button to resume simulation
Fast forward button - Click to advance quickly
Single-step button - Click to execute one instruction at a time
Using Pause Points
Pause points are useful for:
Debugging CNC programs
Verifying tool position at specific points
Step-by-step analysis of complex operations
Training and demonstration
Tip: The visual indicator (green dots in the margin) makes pause points easy to identify within the editor interface during CNC code development and testing.
The Find and Replace function allows you to quickly search and modify text in your CNC program.
2.6.1 Access Methods
The Find and Replace dialog can be opened via:
Keyboard shortcut: CTRL + F
Menu navigation: Edit → Find and Replace
2.6.2 Find Features
Users can search for text by entering it in the "Find what" textbox and clicking Find Next . The search includes three optional parameters:
2.6.3 Replace Features
The Replace tab allows users to perform text substitution:
Replace - Replace individual instances by clicking Find Next followed by Replace
Replace All - Replace all occurrences using the Replace All button
Tip: Use "Replace All" with caution, especially when modifying G or M codes, as it might affect unintended parts of the program.
Related Sections:
⬅️ 2.5 Pause Points
➡️ 2.7 Block Numbering
Automatic block numbering allows you to automatically add or renumber block numbers in your CNC program.
2.7.1 Accessing the Feature
To use automatic block numbering:
Or navigate to Edit → Block Numbers in the menu
2.7.2 Basic Functionality
The feature allows users to add (or renumber) block numbers to your program by enabling the Block Numbers option and specifying parameters.
2.7.3 Configuration Options
Users must enter:
After setting these values, click OK to apply the numbering.
2.7.4 Managing Block Numbers
Adding/Renumbering - Repeat the process if blocks are deleted or added to the program
Removing - Open the Block Numbers dialog, deselect the Block Numbers checkbox, and click OK
2.7.5 Advanced Formatting
The dialog includes a format option for customizing number appearance. While the default format typically suffices, users can enter "formatting codes" to adjust the display style.
Example: With Start Number = 10 and Increment = 10, blocks will be numbered N10, N20, N30, N40, etc.
Related Sections:
⬅️ 2.6 Find and Replace
➡️ 2.8 Comments in Code
Comments in code allow you to add notes and documentation to your CNC program without affecting the simulation.
2.8.1 Two Comment Methods
Parentheses Comments
The primary approach involves placing comments within parentheses. CNC codes inside the parentheses will be ignored by the CNC Simulator Pro interpreter.
Note: CNC Simulator Pro-specific $-commands will still be processed even when inside parentheses.
Semicolon Comments
An alternative method uses semicolons, which is commonly used to comment out whole sections of blocks.
2.8.2 Selecting and Managing Comments
To comment out multiple blocks:
Select them in the editor using Shift + Arrow keys or mouse dragging
Selected blocks display in blue
Access the Edit menu and choose Comment out selection
To restore commented code:
Select the blocks and use Uncomment selection from the Edit menu.
Usage: This feature allows developers to efficiently disable sections of CNC code without deleting them, facilitating testing and code organization.
Related Sections:
⬅️ 2.7 Block Numbering
➡️ 2.9 CNC Headers
The Create CNC Header function allows you to automatically generate standardized headers for CNC programs.
CNC Simulator Pro includes a "Create CNC Header" function that allows users to automatically generate headers for their CNC programs.
2.9.2 How to Create Headers
To access this feature, users should navigate to Tools → Create CNC Header from the main menu. This opens a dialog box where users can input their desired information.
Open the dialog from Tools → Create CNC Header
Fill out the fields with the information you want in the header
The header will be automatically created for you
2.9.4 Typical Header Fields
Author / Programmer
Part description
Revision number
Additional notes
Benefits: The tool streamlines the header creation process by automating generation based on user-provided details, eliminating the need for manual coding of this standard program component.
Related Sections:
⬅️ 2.8 Comments in Code
➡️ 2.10 Undo and Redo
The Undo and Redo functions allow you to manage the edit history in the CNC editor.
2.10.1 Keyboard Shortcuts
2.10.2 Overview
If you do an edit by mistake, like erasing a big part of the program, you can always undo the change by pressing CTRL + Z on the keyboard.
In addition to reversing edits, users have the ability to restore previously undone actions through the redo function using CTRL + Y .
2.10.3 Menu Access
Both undo and redo operations are accessible through the Edit menu in the application interface, providing an alternative to keyboard shortcuts for users who prefer menu-based navigation.
Tip: The undo history is unlimited during the current session. You can undo all changes made since opening the file.
Related Sections:
⬅️ 2.9 CNC Headers
➡️ 2.11 Convert
The Convert function allows you to convert numbers between inches and millimeters and vice versa.
2.11.1 Functionality
The feature enables users to convert numbers from inches to millimeters and vice versa. To use it, you must first select the number you wish to convert in the editor, then access the Convert menu option.
2.11.2 Available Conversions
2.11.3 How to Use
Select the number in the editor you want to convert
Navigate to Edit → Convert
Choose the conversion direction
The selected number will be replaced with the converted value
Tip: Remember to also change the G20/G21 code when converting an entire program between unit systems. See G20-G21 Unit Selection .
Related Sections:
⬅️ 2.10 Undo and Redo
➡️ 2.12 Runtime Mode
Runtime mode is the editor state during simulation execution, with specific visual indicators.
2.12.1 What It Is
Runtime mode is activated when you start a simulation in the CNC editor. The interface shifts to a read-only state during simulation execution, preventing program modifications.
2.12.2 Visual Indicators
During Simulation
During runtime (simulation is running), the background color of the editor changes slightly to indicate that it is in runtime mode. A gray line marks the current block being processed.
If the interpreter detects an error, you will see an alarm message and the editor will go back to normal mode, allowing edits. The problematic block receives a red wavy line so you can easily find it and correct the error.
Interrupted Execution
If you stop the execution (simulation) of a CNC program before it is done, a yellow square symbol indicates the last executed block.
2.12.3 State Summary
Note: In runtime mode, the editor becomes read-only - you cannot make edits while simulation is active. Only errors force the system back to normal editing mode.
Related Sections:
⬅️ 2.11 Convert
📚 2.5 Pause Points - For controlling execution
The Simulation Tutorials will guide you step by step through creating and simulating CNC programs for milling, turning, and multi-axis machining.
Available Tutorials
Milling Tutorial - Learn the basics of CNC milling with practical examples
Turning Tutorial - Discover how to program turning operations
Multi-axis Tutorial - Advanced techniques for 4 and 5 axis machining
Tip: Complete the tutorials in the suggested order to progressively build your skills.
This tutorial will guide you through creating your first CNC milling program in CNC Simulator Pro.
Before starting, make sure to:
Select a milling machine from the inventory browser
Set up an appropriate workpiece
Configure the necessary tools
Step 1: Open a New Program
Create a new CNC file and start with the program header:
Step 2: Set Up the Tool
Select the tool and set the spindle speed:
Step 3: Machining Movements
Execute cutting movements to create a simple pocket:
Step 4: Run the Simulation
Press the Play button to start the simulation and observe the tool path in the 3D view.
Tip: Use the speed control buttons to slow down the simulation and better observe the movements.
After completing this basic tutorial, explore:
Circular interpolations G02/G03
Drilling cycles G81-G89
Tool radius compensation
This tutorial will guide you through creating your first CNC turning program .
Before starting:
Select a lathe from the inventory browser
Set up a cylindrical workpiece
Configure the turning tools
Lathe Coordinate System
X = diameter (or radius, depending on configuration)
Z = longitudinal axis (workpiece length)
Example: Facing and Roughing
G70-G76 cycles simplify common operations:
G70: Finishing cycle
G71: Longitudinal roughing cycle
G72: Face roughing cycle
G73: Pattern repeat cycle
G76: Threading cycle
Tip: Use G96 for Constant Surface Speed (CSS) which maintains uniform surface velocity.
This tutorial introduces multi-axis machining techniques (4 and 5 axes) in CNC Simulator Pro.
Axis Configuration
In addition to the three linear axes (X, Y, Z), multi-axis machines include:
4th Axis (A or B): Rotation around X or Y
5th Axis (C): Rotation around Z
Example: 4th Axis Machining
Simultaneous 5-Axis Machining
In simultaneous 5-axis machining, all axes move together to maintain optimal tool orientation relative to the surface.
Access to complex geometries
Better surface finish
Shorter tools = greater rigidity
Warning: Multi-axis programming requires special attention to collisions. Always use simulation before running on real machines.
The Inventory Browser allows you to manage all available resources: machines, tools, and workpieces.
Inventory Sections
Inventory Overview - General introduction to the inventory system
Machines Inventory - All available virtual machines
Tools Inventory - Complete tool library
Workpieces Inventory - Workpiece definitions
Tip: You can create custom tools and save them in your library for future reuse.
The Tools tab in the Inventory Browser contains the complete library of cutting tools for milling and turning.
Tool Categories
End Mills - For contouring, facing, and grooving
Ball Nose Mills - For 3D surfaces and fillets
Flat End Mills - For pockets and flat surfaces
Bull Nose Mills - For fillets and corner rounding
Center Drills - For centering before drilling
Twist Drills - For standard holes
Taps - For internal threads
Reamers - For precision holes
External Tools - For cylindrical turning and facing
Boring Bars - For internal machining
Grooving Tools - For grooves and parting
Threading Tools - For external and internal threads
Parting Tools - For cut-off operations
Open the Inventory Browser ( F4 )
Select the "Tools" tab
Browse categories or use search
Double-click a tool to add it to the turret
Specify the slot number (T1, T2, etc.)
Tool Parameters
Each tool has configurable parameters:
Diameter - Tool diameter
Length - Total length or stick-out
Corner Radius - For bull nose mills or inserts
Number of Flutes - For feed rate calculations
Point Angle - For drills and turning tools
Tip: You can create custom tools with specific dimensions and save them to your personal library for reuse in future projects.
Mill Workpieces
Lathe Workpieces
Milling Tutorial
Turning Tutorial
Mill Workpieces define the shape and dimensions of raw material for milling operations.
Available Shapes
Rectangular Block
The most common shape for milling. Defined by three dimensions:
Width (X) - Dimension along the X axis
Depth (Y) - Dimension along the Y axis
Height (Z) - Dimension along the Z axis
For round parts to be machined on milling machines:
Diameter - Outer diameter of the cylinder
Height - Length of the cylinder
A cylinder with reduced height, ideal for:
Flanges and circular plates
Gears and sprockets
Covers and lids
Workpiece Setup
Open the Inventory Browser ( F4 )
Expand the "Mill Workpieces" section
Select the desired shape
Enter dimensions in the properties panel
Double-click to load the workpiece
Tip: Always set the raw stock slightly larger than the finished part for machining allowance.
Origin Positioning
The workpiece origin determines the program zero point:
Top center - Origin at center of top face (most common)
Corner - Origin at a workpiece corner
Geometric center - Origin at volume center
Lathe Workpieces
Milling Tutorial
Lathe Workpieces define the shape and dimensions of raw material for turning operations.
Available Shapes
Cylindrical Bar
The standard shape for turning. Defined by:
Diameter - Outer diameter of the bar
Length - Total length of the workpiece
Hollow cylinder for tubular parts:
Outer diameter - OD of the tube
Inner diameter - ID of the tube (bore)
Length - Total length
Predefined Profile
Shapes with pre-defined external profile:
Pre-roughed parts
Castings or forgings
Semi-finished parts
Workpiece Setup
Open the Inventory Browser ( F4 )
Expand the "Lathe Workpieces" section
Select the desired shape
Enter dimensions (diameter, length)
Double-click to load
Coordinate System
On the lathe, the origin is typically:
X - Radial axis (diameter or radius)
Z - Longitudinal axis (length)
Z origin - On the front face of the workpiece
X origin - On the center of rotation (spindle axis)
Tip: Always leave stock allowance on diameter and length for facing and finishing.
Mill Workpieces
Turning Tutorial
The Materials section allows you to assign material properties to your workpieces for more realistic simulation.
Available Materials
Aluminum - Light gray, soft, easy to machine
Steel - Dark gray, durable
Stainless Steel - Silver, corrosion resistant
Brass - Golden yellow, good machinability
Copper - Reddish, high conductivity
Titanium - Metallic gray, lightweight and strong
ABS - Black or white, impact resistant
Nylon - Cream white, self-lubricating
Delrin/POM - White, high precision
Polycarbonate - Transparent, durable
PTFE - White, low friction
Other Materials
Wood - Brown with grain
Graphite - Black, for electrodes
Foam - For models and prototypes
Assigning a Material
Select the workpiece in the 3D view
Open the Inventory Browser ( F4 )
Go to the "Materials" section
Double-click the desired material
Simulation Effects
The assigned material affects:
Visual appearance - Color and reflection in 3D view
Chip removal - Realistic machining visualization
Parameter suggestions - Recommended speeds and feeds
Note: Material selection is primarily for visualization. Cutting parameters should be verified with tool manufacturer specifications.
Mill Workpieces
Lathe Workpieces
Zero Points define the coordinate system origins for the CNC program, allowing you to correctly position the workpiece relative to the machine.
Fundamental Concepts
Machine Coordinate System
The Machine Coordinate System (MCS) is the absolute reference of the CNC machine:
Machine origin - Fixed point defined by manufacturer
Home position - Reference position after homing
Absolute coordinates - Measured from machine origin
Workpiece Coordinate System
The Workpiece Coordinate System (WCS) is the programming reference:
G54-G59 - Standard work offsets (up to 6)
G54.1 Pxx - Extended offsets (up to 99 or more)
Offset - Distance between machine origin and work origin
Setting Zero Points
In the Inventory Browser
Open the Inventory Browser ( F4 )
Go to the "Zero Points" section
Select the coordinate system (G54, G55, etc.)
Set the X, Y, Z coordinates
Confirm with double-click
Typical Positioning
Important: Ensure the program origin matches the origin set on the real machine before machining.
Tool Offset and Zero
Zero points work together with tool offsets:
Length offset (H) - Compensates tool length
Radius offset (D) - Compensates tool radius
Wear - Compensations for tool wear
G Codes - G54-G59
Mill Workpieces
Settings allow you to customize CNC Simulator Pro according to your preferences and needs.
Settings Categories
General Settings - Language, units of measurement, application behavior
Machine Settings - Virtual machine configuration
Display Settings - Graphics appearance and 3D visualization
Simulation Settings - Simulation parameters and speed
Tip: Settings are automatically saved and maintained between sessions.
General Settings
Configuration of CNC Simulator Pro general settings.
Accessing Settings
Menu Edit → Settings or F10
CNC Simulator Pro supports multiple languages:
And many more...
Units of Measure
Automatic Backup
Enable/disable automatic backup
Backup interval (minutes)
Destination folder
Maximum number of backups
Automatic update check
Update channel (stable/beta)
Machine Settings
Configuration of virtual machine parameters.
Machine Selection
CNC Simulator Pro includes various virtual machines:
Lathe with C-axis
Machining Center
Laser/Plasma Cutter
Controller Configuration
Select the G-code dialect compatible with your controller:
Note: Machine settings affect program validation and simulation behavior.
Display Settings
Customization of visualization and graphical interface.
Customize colors for:
Viewport background
Rapid path (G0)
Work path (G1/G2/G3)
Coordinate axes
Visible Elements
Grid - Show/hide reference grid
Axes - Show/hide XYZ axes
Toolpath - Path trace
Tool - 3D tool visualization
Spindle - Spindle visualization
Table - Work surface
Interface Theme
Tip: Reduce render quality on less powerful computers to improve performance.
Simulation Settings
Content coming soon.
Codes and Commands are the fundamental language of CNC programming. This section covers all supported G and M codes.
Chapter Contents
G-Codes Overview - General overview of preparatory codes
G00-G03 - Basic movements (rapid, linear, arcs)
G17-G19 - Work plane selection
G40-G42 - Tool radius compensation
G54-G59 - Work coordinate systems
G70-G76 - Turning cycles
G80-G89 - Drilling cycles
M-Codes - Auxiliary functions (spindle, coolant, etc.)
Note: Codes may vary slightly between different CNC controllers. Always verify compatibility with your actual machine.
G-Codes Overview
Content coming soon.
G00-G03 Basic Movements
Content coming soon.
G17-G19 Plane Selection
Content coming soon.
G40-G42 Tool Radius Compensation
Content coming soon.
G54-G59 Work Coordinate Systems
Content coming soon.
G70-G76 Turning Cycles
Content coming soon.
G80-G89 Drilling Cycles
Content coming soon.
Content coming soon.
The Tools section covers everything about tool management in CNC Simulator Pro.
Tools Overview - Introduction to tool management
Milling Tools - End mills, drills, special tools
Turning Tools - Inserts, boring bars, parting tools
Tool Library - How to create and organize your library
Tool Offsets - Tool compensation configuration
Content coming soon.
Content coming soon.
Content coming soon.
Content coming soon.
Content coming soon.
Serial Communication allows you to connect CNC Simulator Pro to real CNC machines for program transfer.
Serial Overview - Introduction to serial communication
Connection Setup - Setting up communication parameters
Data Transfer - Sending and receiving CNC programs
Warning: Always verify communication parameters with your CNC machine manual before making transfers.
Serial Overview
Content coming soon.
Connection Setup
Content coming soon.
Content coming soon.
Helpers are integrated utilities that facilitate calculations and common operations in CNC programming.
Available Tools
Arc Calculator - Calculate parameters for G02/G03 circular interpolations
Speed/Feed Calculator - Optimize cutting parameters
Thread Calculator - Parameters for threading cycles
Gear Maker - Generate programs for gears
3D Maker - Create toolpaths from 3D models
Tip: Calculators automatically insert the generated code into the CNC editor.
Content coming soon.
Speed/Feed Calculator
Content coming soon.
Thread Calculator
Content coming soon.
Content coming soon.
Content coming soon.
Custom Macro (Macro B) extends CNC programming capabilities with variables, operators, and control structures.
Macro Introduction - What is parametric programming
Variables - Local (#1-#33), common (#100-#199), and system variables
Operators - Arithmetic, logical operators and mathematical functions
Control Flow - IF/THEN/ELSE, WHILE/DO, GOTO
Practical Examples - Commented example programs
Tip: Macros allow you to create flexible and reusable programs for families of similar parts.
Introduction to Custom Macros
📖 Programming Reference (EN)
➡️ Macro Variables
📚 Practical Examples
Custom Macros (also called Macro B or parametric programming) allow creating flexible CNC programs using variables, mathematical operations, and control structures.
Benefits of Parametric Programming
Reusable programs with variable dimensions
Reduced programming errors
Part families with a single program
Automatic calculations
Macro syntax varies between controllers (Fanuc, Haas, Siemens). CNC Simulator Pro primarily supports Fanuc syntax.
Macro Variables
Variables are fundamental elements of parametric programming and allow storing and manipulating numerical values.
Common System Variables
Using Variables
Empty Variable (#0)
Variable #0 is always empty and can be used to:
Check if an argument was passed
Skip optional parameters
Note: Variable ranges may vary between controllers. Always check your specific controller manual.
Macro Operators
Operators allow mathematical calculations, logical comparisons, and data manipulations in macros.
Arithmetic Operators
Mathematical Functions
Comparison Operators
Logical Operators
AND: Logical AND
XOR: Exclusive OR
Control Structures
Control structures allow creating programs with decisions and repetitions.
IF...THEN...ELSE
Conditional execution:
Unconditional jump to a sequence number:
WHILE...DO...END
Loop with condition at start:
Example: Circular Hole Pattern
Subprogram Call with Arguments
Warning: Nested loops must use different DO numbers (DO1, DO2, DO3). Never nest the same number.
Practical Macro Examples
Collection of practical examples to better understand parametric programming.
1. Parametric Rectangular Pocket
2. Grid Hole Pattern
Tip: Always test macros at reduced speed before production use.
The Miscellaneous section contains additional information useful for using CNC Simulator Pro.
Keyboard Shortcuts - Complete list of key combinations
License Activation - How to activate and manage your license
Troubleshooting - Solutions to common problems
Support: For technical assistance, visit cncsimulator.com/support
Keyboard Shortcuts
Content coming soon.
License Activation
Content coming soon.
Troubleshooting
Content coming soon.
SimCam is the CAD/CAM module integrated into CNC Simulator Pro that allows you to draw geometries and generate toolpaths.
SimCam Features
SimCam Introduction - Overview of the CAD/CAM module
SimCam Interface - Getting familiar with the drawing environment
Drawing in SimCam - Creating 2D and 3D geometries
Toolpaths - Generating machining operations
Postprocessor - Converting to G-code for your machine
Tip: SimCam can import DXF files and automatically generate toolpaths.
Introduction to SimCam
SimCam is the integrated CAD/CAM module in CNC Simulator Pro that allows creating 2D drawings and automatically generating toolpaths.
2D vector drawing
DXF file import
Automatic G-code generation
Contouring, pocketing, drilling paths
Customizable post-processor
Typical Workflow
Drawing: Create or import geometry
Define operations: Contour, pocket, holes
Set parameters: Tools, depths, feeds
Generate path: Create toolpath
Post-process: Generate G-code
Simulate: Verify program
SimCam is ideal for 2.5D parts. For complex 3D machining, import toolpaths from dedicated CAM software.
SimCam Interface
The SimCam interface is designed to be intuitive and allows you to create 2D drawings and generate toolpaths efficiently.
Navigation Tools
Zoom: Mouse wheel or +/-
Pan: Middle click + drag
Zoom Window: Z + area selection
Zoom All: Double click wheel or Home
Selection Modes
Single: Click on object
Multiple: Ctrl + Click
Window: Drag left to right (only fully enclosed objects)
Crossing: Drag right to left (also partially enclosed objects)
The grid helps with precise alignment:
F7: Show/Hide grid
F9: Toggle grid snap
F3: Object snap (endpoint, midpoint, center, intersection)
Tip: Use F3 for object snap for precise positioning without manually entering coordinates.
Drawing in SimCam
📖 SimCam Documentation (EN)
⬅️ SimCam Interface
SimCam provides comprehensive tools for creating 2D drawings that will be converted into toolpaths.
Basic Drawing Tools
Coordinate Input
Methods for entering precise coordinates:
Absolute: X,Y (e.g.: 50,30)
Relative: @X,Y (e.g.: @10,20 - 10mm in X and 20mm in Y from previous point)
Polar: @distance<angle (e.g.: @50<45 - 50mm at 45°)
Organize drawings on separate layers:
Layer for external contours
Layer for internal pockets
Layer for holes
Layer for engravings
Important: Ensure profiles are closed before generating toolpaths for pockets and contours.
📖 SimCam Documentation (EN)
⬅️ SimCam Drawing
➡️ Postprocessor
SimCam automatically generates optimized toolpaths from 2D geometries.
Operation Types
Main Parameters
Pocket Strategies
Zig-zag: Alternating linear path (fast)
Spiral out: From center to edge
Spiral in: From edge to center
Concentric offset: Concentric contours
Lead-in and Lead-out
Configure how the tool enters and exits the material:
Ramp: Gradual descent while moving
Helical: Spiral descent
Vertical: Direct plunge (soft materials only)
Tangent arc: Arc entry for better finish
Tip: For deep pockets, use helical entry to reduce tool stress.
📖 SimCam Documentation (EN)
🏠 SimCam Introduction
The postprocessor converts toolpaths into G-code specific to your machine's controller.
Supported Controllers
Block numbering: N10, N20... or none
Increment: Numbering step (5, 10, etc.)
Decimals: Coordinate precision (3-6 digits)
Line ending: CR, LF, or CR+LF
File extension: .nc, .cnc, .tap, .gcode
Header and Footer
Customize opening and closing code:
Code Generation
Complete toolpath creation
Go to CAM → Generate G-Code
Select appropriate postprocessor
Configure output options
Specify save path
Warning: Always verify generated code in simulation before running on a real machine.
SimCloud is the CNC Simulator Pro cloud service that allows you to store, sync, and share your projects.
SimCloud Features
SimCloud Introduction - Overview of the cloud service
SimCloud Account - Creating and managing your account
File Sharing - Sharing projects with colleagues and students
Benefit: SimCloud automatically syncs your projects across all connected devices.
SimCloud Introduction
Content coming soon.
SimCloud Account
Content coming soon.
Content coming soon.
This section contains essential information for system management and maintenance , including automated backups, restore procedures, and best practices for data security.
🔧 System Administration
Tools and procedures to ensure operational continuity and data security for the CNC Simulator Italia e-commerce system.
💾 Automated Backups
• Database every 6 hours
• Daily full backup
• 7-day retention
• Email notifications
🔄 Quick Restore
• Step-by-step guided procedures
• Automated scripts
• Partial restore available
• Post-restore verification
Chapter Contents
1. Backup System
Configuration and usage of the automated backup system based on Spatie Laravel Backup. Includes available commands, scheduling, monitoring, and troubleshooting.
2. Restore Procedures
Complete guide to restore the system from a backup, with step-by-step procedures for database, files, and configurations. Includes automated scripts and best practices.
The system uses Spatie Laravel Backup to create automatic backups of database and files, ensuring data security and recovery capabilities when needed.
📦 Backup Configuration
Backup folder: /home/achille616/backups/cnc-ecommerce
Database backup frequency: Every 6 hours (00:00, 06:00, 12:00, 18:00)
Full backup frequency: Daily at 02:00
Automatic cleanup: Daily at 03:00
Retention: Keeps all backups for 7 days
Notifications: Email to info@cncsimulator.it for success/errors
Available Commands
Create a Manual Backup
List Available Backups
Clean Old Backups
Monitor Backup Status
⚡ Manual Backup Before Critical Operations
Before important updates or database changes, always run a manual backup:
This guide provides detailed instructions on how to restore the system from a backup in case of issues or data loss.
Before proceeding with a restore, make sure you have:
✓ SSH access to the server
✓ Administrator permissions
✓ A valid backup to restore from
✓ Sufficient time to complete the operation
Step 1: Identify the Backup to Restore
Step 2: Extract the Backup
Step 3A: Database Restore
Step 3B: Files Restore
End of documentation
You have reached the end of the CNCSimulator Pro documentation.