New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

replicad-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replicad-cli

Command line interface for evaluating and exporting replicad models

latest
Source
npmnpm
Version
0.22.1
Version published
Maintainers
1
Created
Source

replicad-cli

Node-based CLI for evaluating replicad models and exporting them to STL, STEP, JSON, or an SVG projection.

Install

Global install:

npm install -g replicad-cli
replicad --help

Run without installing globally:

npx replicad-cli --help

If you use pnpm:

pnpm dlx replicad-cli --help

Usage

replicad [options] <input> [output]

Options

  • -f, --filetype <stl|step|stl-binary|step-assembly|json>
  • -p, --projection
  • --projection-mode <visible|hidden>
  • -h, --help
  • -v, --version

--projection writes a pretty SVG projection of the first built shape. --projection uses the default visible mode, and --projection-mode hidden includes dashed hidden lines.

Manifold-backed mesh outputs are supported by the CLI runtime. If your script returns only MeshShape results, use STL or JSON output instead of --projection, since projection export requires a non-mesh 3D shape.

Examples

replicad examples/box.js
replicad -f step examples/box.js exports/box
replicad -p examples/box.js
replicad --projection-mode hidden examples/box.js

Keywords

cad

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts