Skip to main content

LenMark converter

Convert LenMark 3DS EMD 3.0 projects to EMX 3.7, individually or in batches. The converter preserves supported geometry, editable text, model data, and saved processing settings, checks each output, and leaves the original files unchanged.

An unofficial command-line tool for Windows, macOS, and Linux. Requires Python 3.10 or newer and has no runtime dependencies.

Quick start with uv

Install uv once:

Windows (PowerShell)

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

macOS and Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

Open a new terminal after installation, then convert a file:

uvx lenmark-converter convert "design.emd" -o "converted"

uvx (also available as uv tool run) fetches the package from PyPI and runs it in an isolated environment, cached for subsequent runs. uv can download a compatible Python when needed. You do not need to clone the repository or create a virtual environment yourself.

Convert files

These commands work in PowerShell and macOS/Linux shells. Replace the quoted example paths with your files or folders; keep quotes around paths with spaces.

Convert one file and write a JSON report:

uvx lenmark-converter convert "design.emd" -o "converted" --report "reports/result.json"

Convert a folder and its subfolders, preserving relative folders and filenames:

uvx lenmark-converter convert "old-projects" --recursive -o "converted" --report "reports/batch.json"

Translate and check files without saving converted outputs:

uvx lenmark-converter convert "old-projects" --recursive -o "converted" --dry-run

Inspect an EMX file with the independent binary reader:

uvx lenmark-converter verify "converted/design.emx"

Append --help after convert to see all conversion options.

For frequent use, you can install a persistent command with uv:

uv tool install lenmark-converter
lenmark-converter --version

If uv says its executable directory is missing from PATH, run uv tool update-shell and reopen your terminal. With the tool installed, use lenmark-converter directly in place of uvx lenmark-converter above.

Output and reports

  • Source files are opened read-only. Existing outputs are skipped unless you supply --overwrite.
  • Each output is published atomically after verification. A failed conversion produces no partial output and leaves an existing destination unchanged. Other files in the batch continue.
  • Multiple input paths are supported. Ambiguous destination collisions are rejected before conversion starts.
  • JSON reports include per-file status and errors, paths, checksums, geometry fingerprints, counts, and output sizes. Review paths and embedded names before sharing a report publicly.

Exit codes are 0 for success or skipped files, 1 for any per-file failure, and 2 for invalid arguments or batch setup errors.

Supported content

  • Groups, Beziers, Segments, Rectangles, Ellipses, Delay and rotary commands.
  • Pen settings, three Fill slots per entity, cached paths, node flags, IDs, names, and processing order.
  • Native editable text, font references, matrices, glyph geometry, and multiline content.
  • Mapped MPLine geometry and model references.
  • Empty model archives, cones, cylinders, spheres, and STL meshes.
  • Flat bitmap projects, preserving the embedded BMP. LenMark regenerates the scan cache from the image and processing settings.

Only EMD 3.0 to EMX 3.7 conversion is supported. Unknown layouts, unsupported automation, and missing laser settings reject the affected file with a reason. Attached, warped, rotated, or nonuniform bitmap caches are unsupported. Power, frequency, timing units, fonts, and machine calibration are not translated. See the format reference for details and compatibility defaults.

Review in LenMark

Verification checks binary structure and supported coordinates. Open converted files in LenMark and review Preview and processing settings before marking.

Converted projects retain the projected outlines and hatch paths saved by the old version. For designs mapped to curved surfaces, detach and reproject the design onto its 3D model in LenMark3DS, then check Preview. Automatic reprojection is not implemented.

Conversion problems

If a conversion fails or the result looks wrong, open a conversion issue. Describe what you expected, what happened, and how to reproduce it. The form also asks for your converter/LenMark versions and operating system.

If you can share an example, attach a ZIP containing the original .emd and converted .emx (if one was produced), plus screenshots showing the problem. Files and screenshots are optional. GitHub does not accept EMD/EMX attachments directly, so ZIP them first.

Issues and attachments are public. Share only files you are authorized to make public, remove confidential/customer information, and check screenshots and reports for identifying details. A minimal example is preferable.

Contributing

Bug fixes, format research, and reproducible examples are welcome. See CONTRIBUTING.md for development and test instructions, and CHANGELOG.md for release notes.

License

MIT. LenMark converter is an independent project and is not affiliated with or endorsed by LenMark's vendor.

Alternative: install with Python and pip

Install with Python instead

Install Python first. These commands create an isolated environment and install the package from PyPI.

Windows (PowerShell)

py -3 -m venv .venv
.venv/Scripts/python.exe -m pip install lenmark-converter
.venv/Scripts/Activate.ps1
lenmark-converter --version

If PowerShell blocks activation, use .venv/Scripts/lenmark-converter.exe instead of lenmark-converter. Activation is optional. For the examples above, replace uvx lenmark-converter with this installed command.

macOS and Linux

python3 -m venv .venv
.venv/bin/python3 -m pip install lenmark-converter
source .venv/bin/activate
lenmark-converter --version

If your Linux distribution does not include venv, install its Python venv package first (for example, python3-venv on Debian/Ubuntu).

In a new terminal, activate the same environment again or use the executable's full path (.venv/bin/lenmark-converter on macOS/Linux).

Use this installed command in place of uvx lenmark-converter in the examples above.

Alternative: run a downloaded GitHub wheel

Download the wheel from GitHub Releases. From the download folder, run:

uvx --from ./lenmark_converter-0.1.2-py3-none-any.whl lenmark-converter --help

Append the same convert or verify arguments used above instead of --help.

Metadata

Release files for lenmark-converter 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lenmark-converter 0.1.2
File Size Uploaded Provenance Actions
lenmark_converter-0.1.2.tar.gz 50.6 kB With provenance Details for lenmark_converter-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lenmark-converter 0.1.2
File Interpreter ABI Platform Actions
lenmark_converter-0.1.2-py3-none-any.whl Python 3 none any Details for lenmark_converter-0.1.2-py3-none-any.whl

Total release size: 78.4 kB

Release files / lenmark_converter-0.1.2.tar.gz

Download URL lenmark_converter-0.1.2.tar.gz
Size 50.6 kB
Tags Source
SHA-256 checksum
How to use checksums
edf51ca89304e31a5afe318d76c496df06cb24dcb275b370fffc737bf8d6f385
BLAKE2b-256 checksum
How to use checksums
90ce5da0127b7abd1df30af02401963a52dd5861abc43ea738678f82f736d18b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / lenmark_converter-0.1.2-py3-none-any.whl

Download URL lenmark_converter-0.1.2-py3-none-any.whl
Size 27.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b39c50fe410c5ecffc08c1439e4955402e98a7c43fef4f7bc57fc0c69f500dd5
BLAKE2b-256 checksum
How to use checksums
8ad0ae5a5bba64be5cba786c7ead213c8530e714eddf446b1b34b03e05289e54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for lenmark-converter 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lenmark_converter-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page