Unable to determine raw material (Error 1002): Here is how to fix.

Unable to determine raw material (Error 1002): Here is how to fix.






This error usually means the software can't correctly define the raw stock boundary for the contour operation It’s a quick fix once you adjust a few things.


What Causes Error 1002?


This error typically appears when:

  1. The machining area isn't clearly defined
  2. The cutting shape (Step / Pocket / Step+Pocket) doesn’t match the part geometry
  3. The raw material (stock) is missing or misaligned



Let’s walk through how to fix it.


Step-by-Step Fixes


1. Set the Correct Cutting Shape (VERY IMPORTANT)


Navigate to:

Advanced Settings → Cutting Motions tab


Under Shape of Machined Area, choose the correct option based on your part’s profile:

  1. Step – For straight faces or stepped features
  2. Pocket – For internal cut-outs or cavities
  3. Step+Pocket – When your part includes both types

If you're getting Error 1002, try switching from Pocket to Step or Step+Pocket.




2. Reselect the Machining Area Properly


Now go to:

Advanced Settings → Machining Area tab

Here, define how the part connects to the blank stock:


  1. At Contour Start and Contour End:
1.Select Draw line to blank
2.Try switching between Horizontally and Vertically


2.Use the Preview window on the right:


  1. If the purple/magenta lines aren’t connecting your part to the stock, CAPSTurn can't determine the machining area.
  2. Try toggling the draw directions until the connection is visibly correct.
  3. Click Zoom In to double-check that there’s no gap.


3. Verify Raw Material (Blank) Is Defined


Go back to your project setup and confirm:


  1. The blank stock is properly defined and visible as it should be.
  2. It must overlap or surrounds the part geometry
  3. It’s properly aligned in both size and position


If no blank is present or it doesn’t encompass the part, the software can’t simulate the operation, resulting in Error 1002.



Final Thoughts

CAPSturn's error 1002 usually results from mismatched settings between the cutting operation, part geometry, and raw material. The Cutting Motions and Machining Area tabs are the key places to focus.


    • Related Articles

    • How to Add a New Workpiece Material in CAPSturn

      Properties of workpiece material in CAPSturn are crucial for accurate machining calculations, especially when working with custom or specialized materials. Follow these steps to easily add a new material to the system. Step 1: Access Tool & FS Data ...
    • Contour turn VS Contour turn along operation in CAPSturn

      Contour Turn in CAPSturn: It is commonly used for machining cylindrical stock or when only a single contour needs to be shaped. In this process, material removal occurs in a single direction, specifically along the diameter. The end result is a step ...
    • Tool Selection in CAPSturn

      In CNC machining, precision and planning are everything — and it all starts with the right tool. CAPSturn offers a well-structured tool selection interface that ensures machine programmers can configure tools accurately, matching both the machining ...
    • Worksetup Configuration in CAPSturn

      In CNC programming, precision and safety are determined long before the cutting tool meets the workpiece. One of the most important steps in ensuring successful machining is configuring the Worksetup correctly. CAPSturn provides a dedicated Worksetup ...