# Kiri:Moto as a CLI CAM software

**URL:** <https://forum.grid.space/t/kiri-moto-as-a-cli-cam-software/363>\
**Category:** Kiri:Moto\
**Created:** [August 10, 2021, 1:55pm UTC](https://forum.grid.space/t/kiri-moto-as-a-cli-cam-software/363 "2021-08-10T13:55:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrice](https://forum.grid.space/letter_avatar_proxy/v4/letter/p/e274bd/32.png) [@patrice](https://forum.grid.space/u/patrice)\
**Post date:** [August 10, 2021, 1:55pm UTC](https://forum.grid.space/t/kiri-moto-as-a-cli-cam-software/363/1 "2021-08-10T13:55:24Z")

</div>

Hi all,

I’m working on a project which implies the generation of tens of SCAD files, from 30 to 60+ files. I automated the conversion of those SCADs to STL files with the CLI options of OpenSCAD, but for the moment I’m still converting those STLs to Gcode files with Kiri:Moto GUI. As this task has to be performed quite often (daily ?), I’d like to automate it.  
Here comes my question : is there any CLI for Kiri:Moto ? I suppose the GUI is just a presentation layer on some sort of a slicing engine, is it possible to call this engine directly ? Or at the expense of some code and the passing of parameters to define the environment for setting the CNC, tabs/stock/limits/… rough/drill/contour/… ?

Thanks  
Patrice

---

<div class="post-metadata">

**Author:** ![stewart](https://forum.grid.space/user_avatar/forum.grid.space/stewart/32/21_2.png) [@stewart](https://forum.grid.space/u/stewart)\
**Post date:** [August 11, 2021, 1:06am UTC](https://forum.grid.space/t/kiri-moto-as-a-cli-cam-software/363/2 "2021-08-11T01:06:19Z")

</div>

Yes! As a result of this recently posted feature request, I checked in a CLI sample. You should be able to use it as a starting point to auto-generate gcode in CAM mode.

> <https://github.com/GridSpace/grid-apps/issues/179>
>
> I like to use the slicer on the command line (without the browser), something like
> % KiriMotoSlicer cube.stl -o cube.gcode
> I have a...

It’s very new, so it’s not documented in [https://docs.grid.space](https://docs.grid.space) yet

---

<div class="post-metadata">

**Author:** ![patrice](https://forum.grid.space/letter_avatar_proxy/v4/letter/p/e274bd/32.png) [@patrice](https://forum.grid.space/u/patrice)\
**Post date:** [August 12, 2021, 7:48am UTC](https://forum.grid.space/t/kiri-moto-as-a-cli-cam-software/363/3 "2021-08-12T07:48:17Z")

</div>

Thanks Stewart, I’ll have a look at this.
