# Updates for 2022

**URL:** <https://forums.maslowcnc.com/t/updates-for-2022/17864>\
**Category:** Feature Request / Development\
**Created:** [March 24, 2022, 2:14pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864 "2022-03-24T14:14:50Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [April 5, 2022, 2:09pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/61 "2022-04-05T14:09:06Z")

</div>

Have you tried looking at webcontrol from your phone? The main pages are different, but some of the sub pages are the same. The calibration sub pages will need to be totally redone and likely done twice for this layout. I’m not opposed to that, but it will take a lot of time.

---

<div class="post-metadata">

**Author:** ![hangtentex](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@hangtentex](https://forums.maslowcnc.com/u/hangtentex)\
**Post date:** [April 5, 2022, 3:06pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/62 "2022-04-05T15:06:07Z")

</div>

I again apologize for not knowing enough about Maslow CNC and WebControl. And before I forget…Dude, Awesome job! Really. Yes, I see some things that could be tweaked, but this is an app that I am using daily, and very rarely do I cuss at it! HPI (High Praise Indeed). Anyway…I don’t know how to connect the machine and WebControl to my phone. I suppose I should look at the documentation again. Does the controller board have Bluetooth? Or…wi-fi? I connect to it with a laptop using a USB cord, and launch Webcontrol via a commandline script icon installed on the desktop. I had never even considered that a smart phone was an option.

---

<div class="post-metadata">

**Author:** ![TimS](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/tims/32/17329_2.png) [@TimS](https://forums.maslowcnc.com/u/TimS)\
**Post date:** [April 5, 2022, 3:24pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/63 "2022-04-05T15:24:37Z")

</div>

I asked this question earlier. Here is the post.

[https://forums.maslowcnc.com/t/can-i-control-maslow-through-my-phone-via-laptop/17872/7](https://forums.maslowcnc.com/t/can-i-control-maslow-through-my-phone-via-laptop/17872/7)

You comp running webcontrol and phone must be connected to the same internet/wifi router. Then type in you comps IP address (not the webcontrol one) and add :5000 at the end into your address bar. Might have to hit refresh a few times.

Something like this:

[http://193.123.0.11:5000](http://193.123.0.11:5000)

-Tim

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [April 5, 2022, 5:03pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/64 "2022-04-05T17:03:42Z")

</div>

Thanks @TimS for the instructions.

@hangtentex don’t worry about lack of familiarity. We need that for the feedback before you get too familiar. I can’t take credit for any of this webcontrol goodness since the changes are just minor edits and readability changes while trying not to break it. If it looks good when I’m done, that is a bonus and that is why you are needed. I haven’t finished the html code course yet, so what you ask may not yet be in my toolbox, but someone knows how to do it.

Side note on webcontrol under the hood: I commented but didn’t remove any of the optical calibration and camera features to eliminate the need for opencv, scipy and numpy that are painful on the rpi to install. I’m hoping this will also free up processor use as well and streamline the operations a bit. Are there any who care about the optical webcontrol features?

---

<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 5, 2022, 5:35pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/65 "2022-04-05T17:35:03Z")

</div>

the nice thing about projects managed in git is that if you completely delete  
the code, it’s a simple thing for anyone to pull it back at any time in the  
future.

I agree with pulling it out for now. I really like the idea of that sort of  
calibration correction, but the equipment (and pattern to look at) is  
prohibitive so far, so pulling it out of the general packaging is the right  
thing to do. It may make sense at some point to have a second set of packages  
that has it enabled for those wanting to experiment.

Thinking about the problem, if we get a wide-view camera that can see the entire  
visible backing, then we may be able to do something where we don’t depend on a  
perfect grid across the entire base. Instead we could possibly do some sort of  
calibration with a small grid (just a bit bigger than the opening in the sled)  
to calibrate what pixels on the camera map to what physical distances (which  
will be different at different parts of the image due to the lenses), and after  
that map out the workspace with any backing that has enough high-contrast  
pattern on it, wihtout relying on the precision of that large-format background

I could see the calibration step being a 6" machinist rule that you just move  
horizontally and vertically across the base, and move it end-to-end to let the  
camera validate that all the marks really are the same distance apart for  
example.

David Lang

---

<div class="post-metadata">

**Author:** ![TimS](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/tims/32/17329_2.png) [@TimS](https://forums.maslowcnc.com/u/TimS)\
**Post date:** [April 6, 2022, 12:40am UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/66 "2022-04-06T00:40:16Z")

</div>

> [@Orob](#):
>
> I commented but didn’t remove any of the optical calibration and camera features to eliminate the need for opencv, scipy and numpy that are painful on the rpi to install. I’m hoping this will also free up processor use as well and streamline the operations a bit. Are there any who care about the optical webcontrol features?

Is it possible for a disable function, to get the same effect. That way we don’t isolate any users that do use it and still keep that type of calibration as an option. (Unless it’s broke) I’m sure that there are 100s of users that have the maslow and don’t use the forum. Knowing who uses what calibration and how many is just a shot in the dark. Just an open thought.

-Tim

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [April 6, 2022, 12:52am UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/67 "2022-04-06T00:52:04Z")

</div>

The optical calibration button in the action menu is disabled if you don’t have the optical firmware on the mega (greyed out) as is holey if you run 1.xx or triangular if you run holey firmare, but it is running camera routines in the background and requires building more libraries for support. As @dlang mentioned, it is on GitHub so can be put back in if desired. I didn’t delete it, just commented the code. I’m not supporting or encouraging it’s use. Optical involves another version of firmware to modify and include as well. If someone wants to revive it, no problem, they can branch and merge from the GitHub repository,. I’m trying to add features and streamline if possible.

---

<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 6, 2022, 1:06am UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/68 "2022-04-06T01:06:51Z")

</div>

Optical calibration requires setting up a camera in the place of the router bit,  
and getting a grid printed the size of your workpiece, connecting the camera to  
the pi, and going through almost undocumented steps (completely undocumented  
except here on the forum) to use it.

So anyone who is using it is going to be very aware of the forum and knows they  
are doing highly experimental things.

just disabling the option won’t stop the need to install and load the large  
libraries on the pi.

That’s why I mentioned that at some point it may make sense to have a second  
version of the packages.

David Lang

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [April 6, 2022, 2:48am UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/69 "2022-04-06T02:48:38Z")

</div>

I commented out the dependency imports and removed them from the requirements, so the libraries won’t be there. They may need to be removed from the virtual environment as well.

---

<div class="post-metadata">

**Author:** ![hangtentex](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@hangtentex](https://forums.maslowcnc.com/u/hangtentex)\
**Post date:** [April 6, 2022, 2:10pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/70 "2022-04-06T14:10:36Z")

</div>

May I suggest adding a description to the Set Sprockets form to help beginners understand what they are doing.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/3X/f/6/f60ba7ed3466311334602bf3ad63ec1d0b3ebd48.png)

---

<div class="post-metadata">

**Author:** ![hangtentex](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@hangtentex](https://forums.maslowcnc.com/u/hangtentex)\
**Post date:** [April 6, 2022, 2:27pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/71 "2022-04-06T14:27:09Z")

</div>

I forgot, it might be helpful to add the manual button on this page, and delete the reset chains button on the actions form. I know that it took me a while to understand how the two related to each other. Of course, now that I do think I know, I wonder why it was ever confusing. But…it was. I think in the beginning, there is so much stuff coming at you at once, that anything that helps is…well, helpful. JEH

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/3X/d/7/d7a63cb4d0d822342fac9205c4cc53c5fbf177ae.png)

---

<div class="post-metadata">

**Author:** ![hangtentex](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@hangtentex](https://forums.maslowcnc.com/u/hangtentex)\
**Post date:** [April 6, 2022, 2:35pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/72 "2022-04-06T14:35:19Z")

</div>

One more, and I will leave you alone for a while. Consider rearranging the Actions menu so that the items most commonly used by beginners are easier to recognize. For my part, I think I have only ever used three, wait…four of these buttons. I have no clue what the others do, though I am sure I will find out in time. JEH

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/3X/3/a/3a1c31b369047c390b6108f429301266ea9e4397.png)

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [April 6, 2022, 5:09pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/73 "2022-04-06T17:09:34Z")

</div>

Great feedback. I’ll see what I can do. Most of these are very easy changes and will help make the program more intuitive.

Does anyone else have any suggestions or want to discuss not making these changes?

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [April 7, 2022, 12:13am UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/74 "2022-04-07T00:13:19Z")

</div>

> I forgot, it might be helpful to add the manual button on this page, and delete the reset chains button on the actions form.

If you scroll down, the reset chains button is on there: manually Set Chains at 1651 mm. That is the same thing as the reset chains button in the actions menu.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/3X/8/2/827e9f3ea8b8f2c82430ca67676f7f2b6121135c.png)

EDIT: not sure what automatic does… so now it looks like this:

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/3X/0/6/06fa87ea7c36cd31ff9960631d565a881377f5a2.png)

---

<div class="post-metadata">

**Author:** ![mooselake](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/mooselake/32/6218_2.png) [@mooselake](https://forums.maslowcnc.com/u/mooselake)\
**Post date:** [April 7, 2022, 2:29pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/75 "2022-04-07T14:29:07Z")

</div>

OT, but if you’re poking around in GCodeClean could you add a file not found error instead of a traceback. It would help out my fumbling fingers.

---

<div class="post-metadata">

**Author:** ![hangtentex](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@hangtentex](https://forums.maslowcnc.com/u/hangtentex)\
**Post date:** [April 7, 2022, 3:53pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/76 "2022-04-07T15:53:32Z")

</div>

I think I must have an outdated version, since mine does not include the reset chains feature on this page. I will make sure to update! Thanks!

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [April 7, 2022, 5:33pm UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/77 "2022-04-07T17:33:06Z")

</div>

> [@md8n](#):
>
> > [@Orob](#):
> >
> > - Linux: Python 3.8 and all requirements are the newest version for ubuntu.
> > 
> > > - RPI: Raspberry pi was built on Buster with Python 3.7.
> 
> If you can push up to Python 3.10 then the option opens up to use pyjion. Which is a drop in JIT compiler for Python that pretty much doubles its speed.
> 
> Python is a memory and processor hog, so anything that helps its performance is a win.

ok this this one is “_the_” biggest hurdle that I’ve looked at to date. It requires a complete rebuild of the virtual environment and python doesn’t like 3.10 version of pip, so nothing will install with it. pip 22 is too new and needs 20.x.x, so there went a couple hours chasing that one… with 3.10 as the default, the linux system terminal refuses to launch, but I think I’ve learned how to get around that one now. This request is going to get pushed for this round, but I’ll put it on the repo request list for a future release.

As summer approaches, there are other demands, so I am trying to get a bow on this and get it posted as an official release once we get feedback that testing was successful for each of the features that have been changed or added.

---

<div class="post-metadata">

**Author:** ![md8n](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/md8n/32/28197_2.png) [@md8n](https://forums.maslowcnc.com/u/md8n)\
**Post date:** [April 8, 2022, 1:03am UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/78 "2022-04-08T01:03:36Z")

</div>

It is truly a big PUSH to get up to Python 3.10  
For my commercial work I’m currently on 3.9, just haven’t had the time to take it to the next step.

One of the reasons for my suggestion of pyjion is that it transpiles Python into .net byte code and then runs it with .net 6, which is also what GCodeClean uses.

---

<div class="post-metadata">

**Author:** ![md8n](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/md8n/32/28197_2.png) [@md8n](https://forums.maslowcnc.com/u/md8n)\
**Post date:** [April 8, 2022, 1:04am UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/79 "2022-04-08T01:04:13Z")

</div>

> [@mooselake](#):
>
> if you’re poking around in GCodeClean could you add a file not found error instead of a traceback. It would help out my fumbling fingers.

I’ll look into it, a change like that shouldn’t be too hard.

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [April 8, 2022, 2:29am UTC](https://forums.maslowcnc.com/t/updates-for-2022/17864/80 "2022-04-08T02:29:55Z")

</div>

Installed python 3.10 and now pip stopped working, so it can’t install any dependencies in a new virtual environment. Super frustrating and a huge time-suck, so probably won’t have a release update for people to try this weekend. Not really interested in reimaging the rpi for 3.10, but 3.7 on the pi wont work now either… this is the tuition I pay to learn.

[Previous page](https://forums.maslowcnc.com/t/updates-for-2022/17864.md?page=3)

[Next page](https://forums.maslowcnc.com/t/updates-for-2022/17864.md?page=5)
