NXCAM-Project-Template
Following content will only treat project related stuff. General explenations for general technical backgrounds like custom Machines and Controllers, Debugging are shown in the Wiki.
Modding a Machinen Controller
Prerequirements (for debugging machine controllers):
- Python (NX Python compability recommendation), take the latest patch/bugfix version should also work (mostly even better).
Recomendations (for development):
- NX Machine Configurator AddOn
- Visual Studio (for Simulation Service, NX Open)
- PyCharm 2019 (for CSE customization)
- Visual Studio Code (for the rest of the stuff, especialy documentation)
Setup the Python
The virtual python eviroment should be automatically initialized through runnning the setup script. The virtual enviroment is primary used to manage module dependecies. It is likely that the Python distribution provided by NX must be replaced, take a look into "Wiki->Custom Controllers->Replacing the NX Python distribution" for details.
Starting customized NX
Whan you start NX through the "startnx.bat" Batchfile, it will set all necessary enviroment variabes to use the virtual Python enviroment, the library with the custom machines and will start the "Remoting Server" so the Simualtion Service can control the NX session.
Customization & Dev
Take a look into the docs for further informations about CAM customization and hints for development.