Another FreeCAD Gadget: Physical macro pad

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
mnesarco
Posts: 472
Joined: Thu Mar 26, 2020 8:52 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by mnesarco »

Auto-Assigned Macro Icons seems to work well. Now I have to deal with the fact that many macros have very long names.

screenshot_14.png
screenshot_14.png (99.22 KiB) Viewed 2103 times

Not a problem with Workbenches

screenshot_15.png
screenshot_15.png (97.82 KiB) Viewed 2103 times

I think i will sacrify real state, in favor of readability:
screenshot_16.png
screenshot_16.png (103.89 KiB) Viewed 2091 times
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by HakanSeven12 »

Last pic looks nice. I think variable sizes looks better
User avatar
mnesarco
Posts: 472
Joined: Thu Mar 26, 2020 8:52 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by mnesarco »

HakanSeven12 wrote: Thu Feb 11, 2021 4:12 am Last pic looks nice. I think variable sizes looks better
Yes, and in my tablet looks awesome, i will take some screenshots of the tablet tomorrow, by now this is on my phone:
  • screenshot_18.png
    screenshot_18.png (84.14 KiB) Viewed 2043 times
  • screenshot_19.png
    screenshot_19.png (104.01 KiB) Viewed 2043 times
  • screenshot_20.png
    screenshot_20.png (105.26 KiB) Viewed 2043 times
  • screenshot_21.png
    screenshot_21.png (134.13 KiB) Viewed 2043 times
User avatar
mnesarco
Posts: 472
Joined: Thu Mar 26, 2020 8:52 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by mnesarco »

Using my old tablet:

phpBB [video]


The video was truncated at the end, I touched the phone screen accidentally. It is very hard to record with a phone in one hand and manipulate two other screens plus a controller with the other one :mrgreen: but you get the idea.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by HakanSeven12 »

Nice :)
User avatar
mnesarco
Posts: 472
Joined: Thu Mar 26, 2020 8:52 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by mnesarco »

Hi Friends,

The initial version is available now:

https://github.com/mnesarco/FreeCAD_Utils

screenshot_22.png
screenshot_22.png (60.1 KiB) Viewed 1924 times
screenshot_23.png
screenshot_23.png (16.58 KiB) Viewed 1924 times

Enjoy it.
User avatar
Mikeosaurus
Posts: 37
Joined: Sat Jan 23, 2021 7:12 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by Mikeosaurus »

Nice.

Just been playing with Macro Deck (free but android+windows only) tonight on an old tablet and found your post after wondering if anybody else has added something so awesome, but looks like you beat me to it :).

I've only been at it for 30 mins playing around (most of which was converting the FreeCad svg artwork to png and adding the Shortcuts Add-on)... but this video should give the general gist.

phpBB [video]
User avatar
mnesarco
Posts: 472
Joined: Thu Mar 26, 2020 8:52 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by mnesarco »

Mikeosaurus wrote: Tue Mar 02, 2021 9:09 pm Nice.

Just been playing with Macro Deck (free but android+windows only) tonight on an old tablet and found your post after wondering if anybody else has added something so awesome, but looks like you beat me to it :).

I've only been at it for 30 mins playing around (most of which was converting the FreeCad svg artwork to png and adding the Shortcuts Add-on)... but this video should give the general gist.
Looks good.
wieszak17
Posts: 250
Joined: Fri Jan 10, 2014 7:59 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by wieszak17 »

mnesarco wrote: Tue Feb 09, 2021 12:03 pm I am considering sending updates with a timer but checking actions status all the time can be a performace problem, so I am open to ideas here.
Maybe try this: send a request for status change info an a constant loop - without delay. But on server side when you got that request do not answer imidiately with 'no change' but instead wait up to say 10-20s for possible change and report status when there is change or time is up. Limit is required to avoid connection timeout. This way you get info about status whenever there is a change at the moment of change, and you are sending few small requests for minute what should not create a performance problem.
User avatar
doul
Posts: 70
Joined: Fri Dec 25, 2020 4:14 pm

Re: Another FreeCAD Gadget: Physical macro pad

Post by doul »

Cool design, unfortunately I don't have any pad to try this :(

Okay, so you got right hand on mouse, left hand on pad and third hand on keyb ...

whoops we got a problem here ...

Code: Select all

Error in DNA/RNA.py:
Traceback (most recent call last):
File "/home/doul/body.py", line 279, in set_third_arm
	return part.body.getElement(third_hand) 
<class 'HumanBody'>: no member third hand
FreeCAD is cool 8-)
Post Reply