# A quick introduction video to generating gcode directly in OnShape using Kiri:Moto

**URL:** <https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201>\
**Category:** OnShape\
**Created:** [April 8, 2018, 1:10am UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201 "2018-04-08T01:10:21Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [April 8, 2018, 1:10am UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/1 "2018-04-08T01:10:21Z")

</div>

I’ve been playing around with the Kiri:Moto app in OnShape to generate gcode.

My first impression is that it is a really quick way to generate gcode, although the gcode it generates isn’t the best.

I made a quick video about what I’ve learned so far:

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [April 8, 2018, 5:56am UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/2 "2018-04-08T05:56:51Z")

</div>

you say that the g-code that it produces isn’t the best, how does it compare with makercam?

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [April 8, 2018, 4:08pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/3 "2018-04-08T16:08:19Z")

</div>

Kiri:Moto adds a lot of extra zaxis moves and a TON of lines of Gcode in the corners which slow the cut down. I would say that Gcode from Kiri:Moto probably takes almost twice as long to cut as Gcode from MakerCAM, but it’s much much faster to generate Gcode in Kiri:Moto

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [April 8, 2018, 5:57pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/4 "2018-04-08T17:57:29Z")

</div>

Isn’t there a Gcode optimizer program mentioned somewhere in the past few months? I wonder if post processing the Gcode could give us a clean solution?

Thank you

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [April 8, 2018, 6:53pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/5 "2018-04-08T18:53:08Z")

</div>

In bCNC I use the up and down arrows in the editor to put cuts (called blocks) in a more logical order

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/6/66d49597970842977f416878ef660fdb87cc5814.png)

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [April 8, 2018, 7:12pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/6 "2018-04-08T19:12:06Z")

</div>

> [@Gero](#):
>
> bCNC I use the up and down arrows in the editor to put cuts (called blocks) in a more logical order

That’s a great tool! The editor is just the thing for addressing @Bar’s observation about the order of cuts.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [April 8, 2018, 10:28pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/7 "2018-04-08T22:28:57Z")

</div>

could you make a sample g-code and post it as a bug to the kiri:moto forums?  
That will give them something to work with to troubleshoot the problem.

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [April 8, 2018, 10:51pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/8 "2018-04-08T22:51:15Z")

</div>

I think they are working on it so I would expect it change soon. They have a bug open for it here:

> <https://github.com/GridSpace/grid-apps/issues/18>

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [April 8, 2018, 11:04pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/9 "2018-04-08T23:04:09Z")

</div>

when you said it was very slow in the corners, and takes about twice as long to  
cut, that sounded like a lot more than just the tab cutting.

Was I misunderstanding you?

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [April 8, 2018, 11:22pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/10 "2018-04-08T23:22:28Z")

</div>

No, you are right that is an issue also. The tabs one is a bug on their end, I’m going to treat the slow down in the corners as a bug on our end and focus on speeding up the rate at which gcode is processed.

It’s silly that they give us 200 lines of code to cut a half circle, but if we process them quickly enough it shouldn’t matter.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [April 8, 2018, 11:42pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/11 "2018-04-08T23:42:06Z")

</div>

there should be an option at their end to set the resolution of a circle to  
avoid tiny movements. So I still think you should file a ticket with sample  
g-code.

That said, you are correct, a lot of things generate lots of tiny movements, and  
we should handle it better.

I think this should be part of truncation of digits, if truncating the digits  
makes the start and end of a move be the same, that move should be skipped (with  
the special case of arcs as has been discussed in the past.

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [April 12, 2018, 9:18pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/12 "2018-04-12T21:18:39Z")

</div>

Here’s a follow up after using Kiri:Moto for a little while.

There is an issue with the way the tabs are done where if you happen to have a T shaped cutout right where the tab is the t isn’t cut 🙄

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/f/f008dad292469fffb5bf1ca2707c922f049481a0.jpg)

Also, all my slots came out too wide for the parts which are supposed to fit into them, probably an issue on my end with setting up the pockets, but still an issue.

I have however found a new way to use kirimoto which I really like so far which is to use the laser cutter mode to generate a .svg file right from OnShape. Once I have a .svg file it’s easy to generate gcode in MakerCAM (or easel if you prefer it)

Here are the settings I used to generate a good looking .SVG file which I opened in MakerCAM

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/2/275e8b8bf2d937b0adff492a076c8baeb216d46c.jpg)

The settings are:

**Width:** Bed width  
**Height:** Bed height  
**Cut Offset:** The program will offset the cut slightly from the edges of your part to correct for the laser beam width. We don’t want this because the CAM program will take care of the bit width later so use 0  
**Layer Height:** The program will automatically try to split your part into multiple layers which you would stack to make the final thing. It’s a cool feature to know about, but if we just want one copy of the part choose a number just a little less than the thickness of your part  
**Spacing:** This is the amount of space left between each part. There needs to be at least space for the bit to pass through between parts  
**Scaling:** Scales up or down the drawing. 1 leaves it normal size  
**Power:** No idea what this does, ignore it  
**Speed:** No idea what this does, ignore it

---

<div class="post-metadata">

**Author:** ![Michael\_Chan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/michael_chan/32/13259_2.png) [@Michael\_Chan](https://forums.maslowcnc.com/u/Michael_Chan)\
**Post date:** [July 23, 2018, 6:06pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/13 "2018-07-23T18:06:19Z")

</div>

Hey Bar you mentioned setting up pockets. Were you ever able to get that to work in Kiri?

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [July 23, 2018, 6:20pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/14 "2018-07-23T18:20:17Z")

</div>

I haven’t played with it too much more since then, I’ve gone back to using makercam

---

<div class="post-metadata">

**Author:** ![fajay](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@fajay](https://forums.maslowcnc.com/u/fajay)\
**Post date:** [September 4, 2018, 2:09pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/15 "2018-09-04T14:09:26Z")

</div>

What programs do you guys use to create your designs? Also, which would be a good free one for a beginner to learn on?

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [September 4, 2018, 5:57pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/16 "2018-09-04T17:57:38Z")

</div>

I like OnShape and think it’s a pretty good place to start

---

<div class="post-metadata">

**Author:** ![Dag83](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dag83/32/2603_2.png) [@Dag83](https://forums.maslowcnc.com/u/Dag83)\
**Post date:** [September 5, 2018, 6:35pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/17 "2018-09-05T18:35:36Z")

</div>

Fusion 360 is a lot like onshape and has built in cam. It’s also free for non commercial use.

---

<div class="post-metadata">

**Author:** ![fajay](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@fajay](https://forums.maslowcnc.com/u/fajay)\
**Post date:** [September 6, 2018, 12:37pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/18 "2018-09-06T12:37:26Z")

</div>

thanks , i will look at both those.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [August 12, 2024, 7:59pm UTC](https://forums.maslowcnc.com/t/a-quick-introduction-video-to-generating-gcode-directly-in-onshape-using-kiri-moto/3201/19 "2024-08-12T19:59:37Z")

</div>

here is a new video introducing how to use kiri:moto  
It looks like there has been a lot of progress since I last looked at it.

[![](https://img.youtube.com/vi/nQUvXOjDib4/maxresdefault.jpg "Guide: Open source free CNC CAM - Kiri:Moto") ](https://www.youtube.com/watch?v=nQUvXOjDib4)
