FR: Command Line Interface (CLI)
See original GitHub issueI like to use the slicer on the command line (without the browser), something like
% KiriMotoSlicer cube.stl -o cube.gcode
I have a model -> slice -> gcode pipeline supporting multiple slicers (slic3r, prusa-slicer, cura, etc) and I like to use KiriMoto as well as alternative.
Is anyone working on it currently or has it been done (and I didn’t find it)?
What would be the best way:
- create pure NodeJS version from browser JS code (I tried, but I ran quickly into browser-JS vs Node-JS module incompatibilities)
- extend app-server to slice and execute with STL file as single argument (+ config), slice and exit again
- create a small wrapper sending STL to (locally running) app-server (which slices too) and get .gcode back and save it as a file - thereby create server API and scalable slicing framework
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
What is a command-line interface (CLI)? - TechTarget
A command-line interface (CLI) is a text-based user interface (UI) used to run programs, manage computer files and interact with the computer.
Read more >What is CLI?[A Guide on Command Line Interface] - MonoVM
CLI is a powerful tool that runs with the help of commands. You put commands from your keyboard to tell the system what...
Read more >How to use the Command Line Interface (CLI) | The Startup
The command line interface is a program on your computer that allows you to create and delete files, run programs, and navigate through...
Read more >Command Line Interface - CLI - Dell Technologies Info Hub
The CLI is a basic command-line interpreter with command-line completion, inline syntax help, and prior command recall. The CLI can be accessed from...
Read more >Command-line interface - IBM
You can use the command-line interface (CLI) to enter commands that enable you to manage the system. Syntax diagrams. A syntax diagram uses...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
sample that can be expanded https://github.com/GridSpace/grid-apps/commit/cb17b786689c9bbb9f889eee7af7980030da95c1
There is a way to run the slicer from the command line using node and without requiring the app server. It requires wrapping some of the dependent libs to fake a browser environment. I will check in an example soon.