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.
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 |
To navigate to this function:
Insert NC function All functions Special functions Program defaults Workpiece blank definition (BLK FORM) BLK FORM FILE
The NC function includes the following syntax elements:
Syntax element | Meaning |
---|---|
BLK FORM FILE | Syntax initiator for an STL file as workpiece blank |
File or QS | Path of the STL file |
TARGET | STL file as finished part Optional syntax element |
File or QS | Path of the STL file Fixed or variable path |
Notes
- In the Simulation workspace you can export the current workpiece view as an STL file. This function allows you to create missing 3D models, for example semifinished parts if there are several machining steps.
- After integrating a workpiece blank and a finished part, you can compare the models in the simulation and easily identify residual material.
- The control loads binary-format STL files quicker than ASCII-format STL files.
- Even if the inch unit of measure is active in the control or NC program, the control will interpret dimensions of 3D files in mm.