Hello Guest it is May 24, 2024, 04:37:37 PM

### Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

### Messages - rdpdo

Pages: 1 2 »
1
##### Post Processors / Mach3 postprocessor for Mastercam X6
« on: December 21, 2011, 04:32:00 AM »
Hi,

DO you have postprocessor gor mastercam X6 please ?

Thanks !

2
##### General Mach Discussion / Pobleme with G31 and axis compensation using formula
« on: August 02, 2011, 07:40:41 PM »
Ok thanks you I'll send a message to andrew.

3
##### General Mach Discussion / Pobleme with G31 and axis compensation using formula
« on: August 02, 2011, 12:36:01 PM »
Hello,

I am using compensation on XY axis with the formula for squarness compensation :

X = X
Y = Y + (X*0.005)
Z = Z

With this setup, when I do a MDI "G0 Z1", only the Z axis is moving. It's ok...

Unfortenalty, when i do a MDI "G31 Z-0.5 F10" to probe a point, the Z axis AND the Y axis are moving...

When I disable formula, I havent this problem...

Is is normal or a bug ?

Regard.

4
##### General Mach Discussion / Re: Question about XY compensation under mach3 with formula
« on: July 30, 2011, 10:13:32 AM »
Thanks you

5
##### General Mach Discussion / Question about XY compensation under mach3 with formula
« on: July 30, 2011, 09:29:10 AM »
Hi,

I saw somewhere that it is possible to compensate the squarness under mach3 using formula :

Quote
For example, if your Y axis is tilted to the right by 0.003"/inch, you could enter a formula like this:

X = X - (Y * 0.003)
Y = Y

On a "straight" machine, when you tell Mach3 to move from Y0.000 to Y1.000, Y will move 1.000", and X will not move at all.  On this hypothetical crooked machine, that same move will cause Y to move 1.000", but X will also move to the right, off-true, by 0.003", due to the error in the machine.  Entering the above formula un-does this error.  So, now when you command a move from Y0.000 to Y1.000, Mach will actually do a two-axis move, from X0.000, Y0.000 to X-0.003, Y1.000, "un-doing" the error in the machine.

My question is : Does this compensation methode work with all sort of form (circle, ....) or only for rectangular forms ?

Regards.

6
##### General Mach Discussion / AutoProjection of toolphath on a virtual surface under mach3
« on: May 12, 2011, 03:53:41 AM »
hello,

Currently, for milling a non flat surface, I do probing on my non flat surface with a plugin, that give me XYZ file. Then, I import it into Solidworks for creating a surface. Under mastercam, i use the function PROJECT to project the ideal toolpath on my surface created uner solidworks and I use the result to mill the non flat surface under mach3.

That works perfectly.

But is there a way to make mach3 automaticly project a toolpath on the probing result of the non flat surface, that is to say no using solidworks never mastercam project function ?

Thanks you for your help. Regards.

PS : Or perhaps there is a plugin for doing this...

7
##### Mach SDK plugin questions and answers. / Re: Error Trigged when adding Menu in myPostInitControl() function
« on: May 11, 2011, 04:57:04 PM »
Ok, I do this and it works :

UINT ProcessFindMach3(LPVOID param)
{
do {
EnumWindows(EnumWindowsProc2, NULL);
}while(mach3Wnd==NULL);
MachWindowFound = true;
return 0;
}

And I create the Dlg in MyUpdate :

void myUpdate()

{
// DbgMsg(("myUpdate entry"));

if (MachWindowFound == true)
{
MachWindowFound = false;
CreateDlgOutside();
}

// DbgMsg(("myUpdate exit"));
}

void CreateDlgOutside(void)
{
mach3CWnd.Attach(mach3Wnd);
dlg = new CProbeDlg;
dlg->Create(IDD_DIALOG_CONFIG,&mach3CWnd);
{
if (mach3Wnd != NULL)
{

int x = pos;
InsertMenu ( control, -1, MF_BYPOSITION, RangeStart , _T("Probe") );
}
}
}

8
##### Mach SDK plugin questions and answers. / Re: Error Trigged when adding Menu in myPostInitControl() function
« on: May 11, 2011, 04:38:29 PM »
Sorry, it is not correct because we cannot create a Dlg in a thread... So I must create the dlg outside the thread...

THere is no notify when mach3 is completly loaded ??

9
« on: May 11, 2011, 03:37:06 PM »
Resolved

10
##### Mach SDK plugin questions and answers. / Re: Error Trigged when adding Menu in myPostInitControl() function
« on: May 11, 2011, 03:36:06 PM »
Yes ! I got it running

This is what I've done :
On MyInitControl I initialise RangeStar :

void myInitControl()
{
}

void myPostInitControl()
{
}

The code for my thred is :

UINT  ProcessFindMach3(LPVOID param)
{
do {
EnumWindows(EnumWindowsProc2, NULL);
}while(mach3Wnd==NULL);

mach3CWnd.Attach(mach3Wnd);
dlg = new CProbeDlg;
dlg->Create(IDD_DIALOG_CONFIG,&mach3CWnd);

{
if (mach3Wnd != NULL)
{

int x = pos;
InsertMenu ( control, -1, MF_BYPOSITION, RangeStart , _T("Probe") );
}
}
return 1;
}

My Callback routine :

BOOL CALLBACK EnumWindowsProc2(HWND hWnd, LPARAM lParam)
{
char String[255];

if (!hWnd)
return TRUE;      // Not a window
if (!::IsWindowVisible(hWnd))
return TRUE;      // Not visible
if (!SendMessage(hWnd, WM_GETTEXT, sizeof(String), (LPARAM)String))
return TRUE;      // No window title

GetWindowText(hWnd,String,0);
CString toto(String);
if (toto.Find("Mach3 CNC",0) !=-1)
{
mach3Wnd=hWnd;
return 1;
}

return TRUE;
}

And FinWindow :

{

for (int i = 0; i < count; i++)
{
CString str;
return i;
}

return -1;
}

I have also Add the notify routine ion my .cpp:

extern void myNotify(int ID);

extern "C" __declspec(dllexport) void Notify(int ID)

{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
myNotify(ID);

//Called when reset is pressed, at end of actual reset commend in Mach3.
//Check the Engine.Estop variable to see if we have reset or not..
}

And in MyNotify I got the message ID when I click on menu item, so I call My Plugin :

void myNotify(int ID)
{
if (ID == RangeStar)
{
....
}
}

Pages: 1 2 »