For post processor development
A post is finished when the Klartext it emits is the motion you meant. Load that file here. Positioning with L, arcs with CC and CP, and the cycles shop programs actually call are drawn as the tool moves. A flat end mill removes stock on feed moves. Rapids do not cut. Tool diameter comes from the ; #n D= note in the program.
Cycles
Cycle 200 drilling, cycle 203 universal drilling, and cycle 207 rigid tapping are expanded at M99. Contour lead-in and lead-out arcs stay in the plane the CC block names. M140 MB MAX retracts along the tool axis to the ZMAX published for that tool.
A check, not the control
Datum tables, tilted working planes, and radius compensation are not applied. Use the view to see the posted path, then prove the job on the machine.
Posted programs from the shop
Five Klartext files from real manufacturing jobs are already loaded. Use them as fixtures when a post changes, or open one to see how a cycle was written.
- common/drill_7_20.h — one cycle 200 hole with a 7 mm drill.
- pellet/motor_mount_plate/11_holes.h — cycle 200 pecks across a plate.
- print-head/v5/toolboss/pre-all.h — cycle 203 universal drilling and an M140 retract.
- lydia-v4/m8_tap.h — cycle 207 rigid tapping, M8 × 1.25.
- moulds/christine/v2-bottom/socket-contour.h — four contour passes with vertical lead-outs.
Programs stay in this browser
Drop a .h file on the simulator and it is saved in the browser’s private file storage for this site. Nothing from that drop is uploaded to Polymech. The next visit on the same browser still has the file. Another browser, or a private window that blocks that storage, starts again from the five programs above.
Source
The simulator and the sample programs are in the Heidenhain simulator repository on GitHub. That repository is part of Polymech’s open-source work on post processors and manufacturing tools for the sheet presses, injectors, and extruders we build.