# How do you modify X Carve PP code?

**URL:** <https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625>\
**Category:** X-Carve\
**Created:** [December 15, 2018, 7:43pm UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625 "2018-12-15T19:43:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnthonyKim](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/anthonykim/32/34640_2.png) [@AnthonyKim](https://community.inventables.com/u/AnthonyKim)\
**Post date:** [December 15, 2018, 7:43pm UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/1 "2018-12-15T19:43:53Z")

</div>

Hi there.  
I was wondering if anyone knows how to modify the xcarve pp code. I want to change the default z height at the start and end of cycle cuz it keeps hitting the limit switch. I’ve been changing the gcode files but it’s getting really tiresome ;(  
THanks guys!

---

<div class="post-metadata">

**Author:** ![MartinW.Mcclary](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/martinw.mcclary/32/63385_2.png) [@MartinW.Mcclary](https://community.inventables.com/u/MartinW.Mcclary)\
**Post date:** [December 15, 2018, 8:39pm UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/3 "2018-12-15T20:39:48Z")

</div>

deleted

---

<div class="post-metadata">

**Author:** ![NeilFerreri1](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/neilferreri1/32/84403_2.png) [@NeilFerreri1](https://community.inventables.com/u/NeilFerreri1)\
**Post date:** [December 15, 2018, 9:12pm UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/4 "2018-12-15T21:12:45Z")

</div>

What software are you using to generate gcode?

---

<div class="post-metadata">

**Author:** ![AnthonyKim](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/anthonykim/32/34640_2.png) [@AnthonyKim](https://community.inventables.com/u/AnthonyKim)\
**Post date:** [December 15, 2018, 10:22pm UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/5 "2018-12-15T22:22:29Z")

</div>

I’m using vcarve. I don’t need to do anything drastic. The default z travel at the start and end of the code is set beyond the limit switch so I get an error unless I manually change the lines.

---

<div class="post-metadata">

**Author:** ![NeilFerreri1](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/neilferreri1/32/84403_2.png) [@NeilFerreri1](https://community.inventables.com/u/NeilFerreri1)\
**Post date:** [December 15, 2018, 11:55pm UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/6 "2018-12-15T23:55:29Z")

</div>

That should be in the settings…“z Gap above material” maybe?

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [December 16, 2018, 12:11am UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/7 "2018-12-16T00:11:28Z")

</div>

> [@AnthonyKim](#):
>
> The default z travel at the start and end of the code is set beyond the limit switch so I get an error unless I manually change the lines

If this is happening to you in Vcarve you have an error in the job setup. Changing the post processor would just make all of your jobs wrong instead of making this one right.

---

<div class="post-metadata">

**Author:** ![NeilFerreri1](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/neilferreri1/32/84403_2.png) [@NeilFerreri1](https://community.inventables.com/u/NeilFerreri1)\
**Post date:** [December 16, 2018, 12:26am UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/8 "2018-12-16T00:26:34Z")

</div>

I don’t think vectric posts have the option to change that height. It pulls the parameter from your z gap setting.

---

<div class="post-metadata">

**Author:** ![AnthonyKim](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/anthonykim/32/34640_2.png) [@AnthonyKim](https://community.inventables.com/u/AnthonyKim)\
**Post date:** [December 16, 2018, 12:41am UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/9 "2018-12-16T00:41:26Z")

</div>

Thanks for the suggestions guys 😉

---

<div class="post-metadata">

**Author:** ![MarkA.Bachman](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@MarkA.Bachman](https://community.inventables.com/u/MarkA.Bachman)\
**Post date:** [December 17, 2018, 1:42am UTC](https://community.inventables.com/t/how-do-you-modify-x-carve-pp-code/65625/10 "2018-12-17T01:42:54Z")

</div>

I have found that when Easel is used to send code it seems to place it’s own safety height. I can watch it go up to the height I set in Vectric and the v go back down to the safety height in Easel.  
Also the default in Easel is only .15 when you start a new project. You have to change it to met your needs.
