Welcome, Guest. Please login or register.
Did you miss your activation email?
January 28, 2015, 05:12:36 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
  Show Posts
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 »
1  Mach Discussion / Mach4 General Discussion / Re: GSim Mach4 Material Removal Simulator on: January 26, 2015, 11:16:32 AM
Sweet Job Art, thanks for fixing the issue I found.

Now this is a functional Plugin/wizard  Grin

2  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: January 25, 2015, 06:23:43 AM
Based on that your working with the Industrial Version, looks like your committed to learn mach4 and Lua  Cheesy

I'd posted a sorting routine I created, thou I think you will have to sort the whole tool table data, so your not just sorting one field but an associated multi fielded array. And also check for the field value above zero or all you data will be at the bottom of the table based on smallest to largest diameter.
3  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: January 24, 2015, 10:43:21 PM
I create a header block that has most of the variables, I can then change them all together without searching

local frameCaption = "Wire EDM Cutting Data Chart"
local framePosition = wx.wxPoint(0, 25)
local frameSize = wx.wxSize(1100, 520)
local frameMinSize = wx.wxSize(1190, 920)
local frameMaxSize = wx.wxSize(-1, 1200)

local frameAbout = "About Wire EDM Cutting Data Chart"
local frameQuit = "Quit the program"
local frameStay = "Stay on top toggle"
local frameSetStatusText = "Welcome to Wire EDM Cutting Data Chart Wizard."
local frameMessageBox = " Wire EDM Cutting Data Chart Wizard \n\n"..
                        wxlua.wxLUA_VERSION_STRING.." built with "..wx.wxVERSION_STRING.."\n\n"..
                        "Author: Ya-Nvr-No\nDate created: 12/26/2014\nDate modified: 01/18/2015\n\n"..
                        "Reads & Writes to an excel.csv file"

local CSVFilename = "C://Mach4Hobby//Wizards//CSV//wire_edm_cutting_data.csv"
4  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: January 24, 2015, 10:09:29 PM
--set the font size
    UI.ToolTableDialog:SetFont(wx.wxFont(12,0,0,0)) --changes the font to 12
5  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: January 24, 2015, 08:51:02 PM
This worked for me, tell it where to start and how big

MyDialog = wx.wxDialog (wx.NULL, wx.wxID_ANY, "", wx.wxPoint( 0,0 ), wx.wxSize( 1366,768 ), wx.wxDEFAULT_DIALOG_STYLE )
   MyDialog:SetSizeHints( wx.wxDefaultSize, wx.wxDefaultSize )

MyDialog:Show()


Spend a few hours with formbuilder and you start seeing what is needed to create popups.

6  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: January 24, 2015, 10:27:16 AM
Came across a great resource to help in creating Lua forms, takes a while to grasp, but once you get the idea you start understanding its abilities.

http://sourceforge.net/projects/wxformbuilder/
7  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: January 14, 2015, 09:55:50 AM
The finished wizard having both Imperial and Metric Capabilities.
8  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: January 13, 2015, 11:09:35 AM
This original spread sheet was written by Gerald Dorrington of Mechtronics back in 2008 (Thank You)  Smiley

No idea where or when I came across it, but here is an example of how to take information provided and help create a Lua wizard.
By using the calculations from the spread sheet, helps to develop the Lua calculations. Gives instant feed back and troubleshooting capabilities.

Here I am passing the axis number to a function to calculate the correct column. And all based off the example lua.mcs file I'd provided earlier. Just with more functionality. Its not hard, just tedious and a process of test, test, test.
9  General CNC Chat / Show"N"Tell ( What you have made with your CNC machine.) / Re: I'm in Hog Heaven on: January 12, 2015, 07:48:31 PM
Thanks, Yep I like gang tooling machines, programmed them for years, just never had one with live tooling. A few turrets machine I programmed had live tooling.

Forgot to mention, this will handle 9.5" inch diameter 36" long piece for turning and milling or a 20" diameter piece in the table gap. And the milling head can be manually rotated 90 degrees to machine in line with the lathe spindle axis. Tried to make it as versatile as I could with the components I found available.
10  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: January 11, 2015, 01:38:03 PM
Here is a quick grid style spreadsheet layout wizard I made this morning to help me in calculating sheave selection based on tooth & ratios desired.
Uses the timer to auto calc, but this also gives you a good template to play with and learn from.
Relatively small and hopefully all can use.  Wink

basically you change the values in green and it updates the results
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!