# Camotics ... anybody playing with it?

**URL:** <https://forum.onefinitycnc.com/t/camotics-anybody-playing-with-it/14119>\
**Category:** CAD (General)\
**Created:** [July 13, 2022, 4:18pm UTC](https://forum.onefinitycnc.com/t/camotics-anybody-playing-with-it/14119 "2022-07-13T16:18:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CandL](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@CandL](https://forum.onefinitycnc.com/u/CandL)\
**Post date:** [July 13, 2022, 4:18pm UTC](https://forum.onefinitycnc.com/t/camotics-anybody-playing-with-it/14119/1 "2022-07-13T16:18:52Z")

</div>

So yeah I am one of the FreeCad users, in it’s beta release they talked of Camotics integration. I had to check it it.

On the Camotics web page they say “Buildbotics … Connect Camotics to your CNC” … Hmm sounds interesting especially when under future plans I see: CNC remote control

Could this be the single step operation some folks have been looking for?

---

<div class="post-metadata">

**Author:** ![trpatri](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/trpatri/32/21599_2.png) [@trpatri](https://forum.onefinitycnc.com/u/trpatri)\
**Post date:** [December 29, 2022, 1:01am UTC](https://forum.onefinitycnc.com/t/camotics-anybody-playing-with-it/14119/2 "2022-12-29T01:01:09Z")

</div>

I started playing with it last night. The UI is working OK I guess but the documentation is sparse at best.

What I would like to experiment with is the command line tool `tplang.exe` that came with the CAMotics download. (Documented here: [https://tplang.org/#usage](https://tplang.org/#usage)). I’m new to CNC but have plenty of software engineering experience and I should be able to figure this out.

Right off the bat trying to generate gcode with the example failed. There is no tool table loaded so the the statement:` tool(1)` fails. If I comment that out I can get the gcode to generate.

I see how to export the tool table to JSON in the CAMotics UI, but I can’t seem to find how to load that into the `tplang.exe` process.

I tried to:

```auto
var tools = require('./tools.json');
tool(1);

```

…and even

```auto
tool(tools[0]);

```

…that didn’t throw an error but:

```auto
console.log(tool());

```

…didn’t show a tool selected.

The API doc for `tool()` doesn’t mention how to load the tool table.

I’m losing faith. The documentation is severely lacking. If I could figure out how to get up and running and start learning these tools I would be happy to contribute to the documentation effort. Being that CNC and CNC programming is a new problem domain for me, I’m not smart enough to help much at this point.

I hope you’ve had better luck.

---

<div class="post-metadata">

**Author:** ![CandL](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@CandL](https://forum.onefinitycnc.com/u/CandL)\
**Post date:** [May 29, 2023, 1:50pm UTC](https://forum.onefinitycnc.com/t/camotics-anybody-playing-with-it/14119/3 "2023-05-29T13:50:07Z")

</div>

So I am back. Taking a CNC class at a local community college… learning G code. I see you were trying to use TPL (Javascript like) … I can relate I am a C/C++ guy for 40 years.

What Camotics says it supports is the G98/G99 pair. These are sub programs. Crossing my fingers that it works.
