v2.16.0
What's Changed
Changes
-
pytmc template
, which takes a TwinCAT project and jinja template source code to generate project-specific output, now expects all platforms to use the same delimiter (":"
) for template filename patterns. Examples include:- Read template from
a.template
and write expanded version toa.txt
:
pytmc template my.tsproj --template a.template:a.txt
- Read template from
a.template
and write results to standard output:
pytmc template my.tsproj --template a.template
- Read template from standard input and write results to standard output:
pytmc template my.tsproj --template -
- Read template from standard input and write results to
/path/to/a.txt
:
pytmc template my.tsproj --template -:/path/to/a.txt
- Read template from
-
Extended support for projects not correctly configured in TwinCAT with "Independent Files" for all supported options. Generating EPICS IOCs from such projects that also include NC axes should succeed with a number of loud warnings to the user.
Maintenance
- Fixed old release note syntax.
Pull Requests
- MNT: warn on misconfiguration of TwinCAT IDE/project settings by @klauer in #318
- REF: always use colon delimiter for
pytmc template
by @klauer in #320 - MNT: back-compat for 'pytmc template' delimiter-less filename by @klauer in #321
Full Changelog: v2.15.1...v2.16.0