MtconnectTranspiler is a .NET library for reading the MTConnect standard's SysML/XMI information model and dispatching the deserialized model to one or more transpiler sinks.
Use this package when you want to generate code, schemas, documentation, validation assets, or other artifacts from the MTConnect model instead of hand-maintaining those artifacts as the standard evolves.
The package provides:
- An XMI deserializer that produces a strongly typed
XmiDocument. - A
TranspilerDispatcherthat loads the MTConnect model and sends it to registered sinks. - The
ITranspilerSinkcontract for implementing your own output generator. - Options for loading the model from a local file, GitHub release, or the MTConnect model browser.
Install the package from NuGet:
dotnet add package MtconnectTranspilerOr add a package reference to your project file:
<ItemGroup>
<PackageReference Include="MtconnectTranspiler" Version="2.8.0" />
</ItemGroup>MtconnectTranspiler targets .NET Standard 2.0, so it can be consumed by modern .NET applications and libraries that support that target.
NuGet package: MtconnectTranspiler
For the full NuGet package usage guide, including dispatcher setup, model source options, and ITranspilerSink examples, see MtconnectTranspiler/README.md.
MtconnectTranspiler/- Core NuGet package source.MtconnectTranspiler.Console/- Console utility and examples for loading/deserializing the model.MtconnectTranspiler/Xmi/- Strongly typed XMI and SysML model types.MtconnectTranspiler/Sinks/- Sink abstractions used by the dispatcher.MtconnectTranspiler/XmiOptions/- Built-in model source options.
MtconnectTranspiler is licensed under the Apache License 2.0. See LICENSE.txt.