npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@warpcad/step23mf

v1.0.0

Published

Command line tool that converts STEP files to 3MF, keeping part colors and names.

Readme

step23mf

Command line tool that converts STEP files to 3MF, keeping part colors and names.

Status: converts parts, per-face colors and assemblies (as groups). Open work is in TODO/ROADMAP.md. Which programs show the colors and names it writes: docs/compatibility.md (partial).

Install

npm i -g @warpcad/step23mf

Or run it without installing: npx @warpcad/step23mf --help.

Quick start

npm i -g @warpcad/step23mf
step23mf assembly.step -o assembly.3mf
# wrote assembly.3mf (18 part(s), 4 color(s))

The output line above is what the converter prints for the example assembly in docs/usage.md.

Without -o, the output goes next to the input with a .3mf extension. An existing output is refused unless you pass -f (--force). Errors print one step23mf: line to stderr and exit 1.

Pages

Command line

The block below is the converter's own --help text. test/docs.spec.js fails if it drifts from the code.

Usage: step23mf <input.step> [-o output.3mf] [-f]

Convert a STEP file to 3MF, keeping part colors and names.

Options:
  -o, --output <file>   Output path (default: input name with .3mf)
  -f, --force           Overwrite the output file if it exists
  -t, --tolerance <mm>  Max distance from the true surface, in millimetres
                        (default: 0.1% of the part size)
  -a, --angle <deg>     Max angle between adjacent facets, in degrees (default: 28.6)
  -h, --help            Show this help
  -v, --version         Show the version

Development

npm install
npm test
npm run typecheck

npm install also installs a pre-push hook that runs the tests and the typecheck before every push. GitHub Actions run only when started by hand.

STEP is read with occt-import-js (OpenCascade compiled to WASM). 3MF is written with fflate. See docs/decisions/ for why.

License

MIT, for the code in this package.

Third-party code

STEP files are read by occt-import-js, which npm installs as a separate dependency. It is OpenCascade compiled to WASM. OpenCascade is licensed under the LGPL-2.1 with the Open CASCADE exception, and its source is at github.com/Open-Cascade-SAS/OCCT. This package does not copy, bundle or modify that code. You can replace the installed occt-import-js with your own build of it. The reasons behind this choice are in docs/decisions/step-reader.md.