STL file as workpiece blank with BLK FORM FILE

Application

You can integrate 3D models in STL format as workpiece blank and optionally as finished part. This function is particularly convenient in combination with CAM programs, where the required 3D models are available in addition to the NC program.

Requirement

  • Max. 20 000 triangles per STL file in ASCII format
  • Max. 50 000 triangles per STL file in binary format

Description of function

The dimensions of the NC program come from the same source as the dimensions of the 3D model.

Input

NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.

  • Change the following contents as needed:
  • Tools
  • Cutting parameters
  • Feed rates
  • Clearance height or safe position
  • Machine-specific positions, e.g. with M91
  • Paths of program calls

Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.

In addition, test the NC programs using the simulation before the actual program run.

 
Tip

With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.

1 BLK FORM FILE "TNC:\CAD\blank.stl" TARGET "TNC:\CAD\finish.stl"

; STL file as workpiece blank and finished part

The NC function includes the following syntax elements:

Syntax element

Meaning

BLK FORM FILE

Syntax initiator for an STL file as workpiece blank

" "

Path of the STL file

TARGET

STL file as finished part

Optional syntax element

" "

Path of the STL file

Notes

  • In the Simulation workspace you can export the current view of the workpiece as an STL file. This function allows you to create missing 3D models, for example semifinished parts if there are several machining steps.
  • Exporting a simulated workpiece as STL file

  • If you have integrated a workpiece blank and a finished part, you can compare the models in the simulation and easily identify any residual material.
  • Model comparison

  • The control loads STL files in binary format faster than STL files in ASCII format.