# Change to open source firmware

**URL:** <https://forum.onefinitycnc.com/t/change-to-open-source-firmware/23347>\
**Category:** Firmware (BB Buildbotics) (Discontinued)\
**Created:** [November 14, 2023, 4:14am UTC](https://forum.onefinitycnc.com/t/change-to-open-source-firmware/23347 "2023-11-14T04:14:05Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [November 15, 2023, 12:00pm UTC](https://forum.onefinitycnc.com/t/change-to-open-source-firmware/23347/12 "2023-11-15T12:00:54Z")

</div>

Hey Lars,

> [@lars](#):
>
> I have tried to add some issue to the github page for small web UI updates to make the xyz-probe to consider tool width but it doesn’t looks like anyone tracks that one.

do you mean [Issue #85](https://github.com/OneFinityCNC/onefinity-firmware/issues/85) on onefinity-firmware?

Note that if you want to contribute code, it is best to provide it in [unified diff format](https://en.wikipedia.org/wiki/Diff#Unified_format):

```diff
--- lars1.txt<->2023-11-15 12:51:03.782044763 +0100
+++ lars2.txt<->2023-11-15 12:51:25.438099881 +0100
@@ -1,15 +1,18 @@
+const xSafeProbeOffset = 20 + cutterDiameterMetric / 2.0;
+const ySafeProbeOffset = 20 + cutterDiameterMetric / 2.0;
+
 G91 G0 Z ${zLift}
-G91 G0 X 20
+G91 G0 X ${xSafeProbeOffset}
 G91 G0 Z ${-plunge}
-G38.2 X -20 F${fastSeek}
+G38.2 X -${xSafeProbeOffset} F${fastSeek}
 G91 G1 X 1
 G38.2 X -2 F${slowSeek}
 G92 X ${xOffset}
.
 G91 G0 X 1
-G91 G0 Y 20
-G91 G0 X -20
-G38.2 Y -20 F${fastSeek}
+G91 G0 Y ${ySafeProbeOffset}
+G91 G0 X -${xSafeProbeOffset}
+G38.2 Y -${ySafeProbeOffset} F${fastSeek}
 G91 G1 Y 1
 G38.2 Y -2 F${slowSeek}
 G92 Y ${yOffset}

```

The reason is that such a **diff** file can be applied to the source code with [patch](https://en.wikipedia.org/wiki/Patch_(Unix)) directly.

Also you’ll have to mention the **file name** in the source to which your proposed change should apply. In unified diff format, it is added automatically, I used “lars1.txt” and “lars2.txt” because you did not give any filename.

Also I believe OnefinityCNC expects bug reports or enhancement propositions rather under [Firmware (Buildbotics)](https://forum.onefinitycnc.com/c/firmware/108) in the forum, than on [onefinity-firmware/issues](https://github.com/OneFinityCNC/onefinity-firmware/issues/) on their [github.com](http://github.com) repository. At least the few number of filed issues there leads to that impression.

This is of course different if you want to contribute to upstream [buildbotics/bbctrl-firmware](https://github.com/buildbotics/bbctrl-firmware), where [buildbotics/bbctrl-firmware/issues](https://github.com/buildbotics/bbctrl-firmware/issues) is the right place. They also [have a forum](https://forum.buildbotics.com/) though. [See here](https://forum.buildbotics.com/viewtopic.php?f=6&t=295#p900) for the main developer on building buildbotics from the sources.

By the way, are you referring to probing with a surfacing bit? Using the [Three-axis Touch Plate](https://www.onefinitycnc.com/product-page/onefinity-3-axis-touch-probe) and the ‘Probe XYZ’ algorithm on Jog Pane with a large surfacing bit or a V-bit is not possible. [See here](https://forum.onefinitycnc.com/t/cutter-head-size/19785/6).

> [@Surfacing the Wasteboard (QCW Secure from Beneath - Woodworker X50)](https://forum.onefinitycnc.com/t/surfacing-the-wasteboard-qcw-secure-from-beneath-woodworker-x50/20482/2):
>
> Also you have to know that you cannot probe XYZ with a surfacing bit. But you can use the method explained in the video instead:
> 
> > [@Cutter head size](https://forum.onefinitycnc.com/t/cutter-head-size/19785/6):
> >
> > [![Onefinity_Support_Video__Bits_compatible_with_XYZ_Probing](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/4/e/4e72f3df534e3caac251deb793d26becfdaefb25.png)  
> > ](https://www.youtube.com/watch?v=5mhpzL1sAwo&list=PLlCbxVoOUWYVsInAIXHKKvWGEqJqoELFD&index=34)Bits compatible with XYZ Probing  
> > [Video](https://www.youtube.com/watch?v=5mhpzL1sAwo&list=PLlCbxVoOUWYVsInAIXHKKvWGEqJqoELFD&index=34)
> 
> Be sure that before you flatten your wasteboard that your machine is [checked for rectangularity and coplanarity](https://forum.onefinitycnc.com/t/what-do-i-do-first/18349/6), because if it is _twisted_ or a _parallelogram_, flattening the worksurface will not help.

Besides of that, taking into account the bit diameter to adjust probe offset makes the procedure smarter 🙂

---

_[View the full topic](https://forum.onefinitycnc.com/t/change-to-open-source-firmware/23347)._
