Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 03:24:06 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  Works in progress
| | | |-+  Throwing together a simple Router Screen
Pages: « 1 2 3 »   Go Down
Print
Author Topic: Throwing together a simple Router Screen  (Read 2105 times)
0 Members and 1 Guest are viewing this topic.
ger21
Global Moderator
*
Online Online

Posts: 427



View Profile
« Reply #10 on: July 03, 2008, 10:47:07 PM »

While waiting for the new Flash docs, I figured I'd try to throw this together in Screen4. Here's the start running in Mach3.


* test1.jpg (116.65 KB, 800x640 - viewed 137 times.)
Logged

Gerry
ger21
Global Moderator
*
Online Online

Posts: 427



View Profile
« Reply #11 on: July 03, 2008, 11:28:03 PM »

OK, ran into a problem. The buttons don't want to work right. They either look right, but go behind the background after clicking them, or I can get them to stay in front, but they don't look right. I believe I know the workaround, though. I'll find out if it works in the morning.
Logged

Gerry
ger21
Global Moderator
*
Online Online

Posts: 427



View Profile
« Reply #12 on: July 05, 2008, 10:34:40 AM »

OK, after banging my head against the wall for a few hours, I figured out something. My laptop, running without the driver installed, is not the best place to test the screens I'm building, as not everything works correctly. I wasted a lot of time trying to figure out what was going on, but when I tried the screen on my desktop, everything seems to work as expected, with one exception. The triangular LED on my start buttom is a two color .png, and it works intermittenly. sometines it displays red instead of green, and vice versa. But everything else that I have done seems to work correctly so far. The Load Programs screen is complete, the Run screen works, but everything to the right of the DRO's is not implemented yet, but the jog controls work. And nothing works on the Settings screen except the buttons to switch back to the other screens. But it's pretty cool so far. Anyone want to do some beta testing??


* Load1.jpg (136.34 KB, 800x640 - viewed 117 times.)

* Run1.jpg (179.44 KB, 800x640 - viewed 117 times.)

* Settings1.jpg (124.38 KB, 800x640 - viewed 116 times.)
Logged

Gerry
Chaoticone
South Carolina, US
Administrator
*
Online Online

Posts: 2,810


Precision Chaos



View Profile WWW
« Reply #13 on: July 05, 2008, 02:02:56 PM »

Looking real nice Gerry, great work.  Smiley

Brett
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
ger21
Global Moderator
*
Online Online

Posts: 427



View Profile
« Reply #14 on: July 06, 2008, 07:45:21 AM »

If I hide the menu bar using my buttons (or using general config), the screen moves up, but doesn't fill the bottom. Is there a fix for this, other than making the screen bigger? I wish I'd have known this, because I don't have the time to go back and move everything.

EDIT: I was thinking I needed to redo the whole thing in RealDraw Pro, but I think I can just in increase the size in Screen4. Since I'm using a single background image with invisible button images, I'll just need to move or stretch the button images a little.

On another note, in the next few days I'll relabel the buttons and create a more generic screen without the two Z axis, which would probably work better for 99% of the users out there. I'll release that one when it's ready.

Any feature requests should be made now, before I do it. I'll be changing about 5 buttons on the Run screen, and can add 1 or two (three?) more. And I can add some stuff to the settings screen if anyone needs anything else.
« Last Edit: July 06, 2008, 07:53:31 AM by ger21 » Logged

Gerry
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Online Online

Posts: 770


Briceville, TN, USA



View Profile WWW
« Reply #15 on: July 06, 2008, 08:13:49 AM »

when you hide your menu buttons then goto
Under General, tick or untick the "Auto Screen Enlarge"
close Mach, and reopen see what happens

scott
Logged

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
ger21
Global Moderator
*
Online Online

Posts: 427



View Profile
« Reply #16 on: July 06, 2008, 08:31:36 AM »

when you hide your menu buttons then goto
Under General, tick or untick the "Auto Screen Enlarge"


scott

You can't, it's hidden. Smiley It is checked, though. The only thing I can do, is turn on the menu, go to config, turn off auto enlarge. Restart Mach, go to config. Turn off menu, turn on auto enlarge. Restart. Menu is gone, but space on the bottom is there.
Logged

Gerry
ger21
Global Moderator
*
Online Online

Posts: 427



View Profile
« Reply #17 on: July 06, 2008, 08:57:41 AM »

Tried inreasing the height of the background in screen4, and it doesn't change anything. Although if different screens have different size background images, the locations are all based on the largest ones. I have my images sized to 1024x768 (they're 1280x1024 .pngs) in Sceen4. I changed one to 1024x800, and the smaller ones had a larger gap at the bottom, but the 1024 x 800 still had the same gap at the bottom.

So unless this can be fixed, turning off the menu doesn't gain anything, other than maybe some security.
Logged

Gerry
penmaker1
Active Member

Offline Offline

Posts: 21


View Profile
« Reply #18 on: July 06, 2008, 11:03:41 AM »

gerry,

What I did was add two buttons on the diagnostics page, or where ever you like, to hide or unhide the menu.  On my lathe screens they are hidden buttons right next to the reset button.  They don't show through the bitmap but they are there and they work nicely to hide or unhide the menus.  That way I can have Mach3 configured to hide the menus but when I need them I can turn them back on with a single mouse click or touch of the styles on the screen.

John Guenther
'Ye Olde Men Penmaker'
Sterling, Virginia
Logged
ger21
Global Moderator
*
Online Online

Posts: 427



View Profile
« Reply #19 on: July 06, 2008, 11:29:27 AM »

I added some stuff to the Settings page. I think I need to add an MPG axis select button and LED's, but that should be it. I'll need to tuck them in there somewhere.

You can see the space I'm getting at the bottom with the menu off.


* Settings2.jpg (180.2 KB, 800x640 - viewed 101 times.)
Logged

Gerry
Pages: « 1 2 3 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!