Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
I have the similar problem with some files..
I opened a dwg file with X2MR1 and save it as mcx, then re-open it,
I get two message boxes.
but after I save it again, the problem is gone anyway..
-------------------------------
Draft Message..
-------------------------------
! Error loading TrueType® font
[OK]
-------------------------------
-------------------------------
Memory Table Message..
-------------------------------
! Memory table item not found.
(3922)
[OK]
-------------------------------
Greg
I have not got X2MR1 SDK yet,
so please wait for a while.
this is a quick fixed version for X2MR1(temporary fix)
http://ai-sols.sytes.net/download/AI_Utility_X2_1_08_en.exe
It seems some sdk functions look different between X2 and XR1,
and after I get the newest SDK, I will post at my chook thread..
you have to use DllImpExp, because..
//this is for exporting the function from your chook dll
DllExport MC_BYTE show_part_info = 0;
//use the exported function from external dll or exe...
DllImpExp MC_BYTE show_part_info;
code:
if(show_part_info)
{
show_part_info=0;
//you have to repaint
repaint_graphics();
}
or,,
if(show_part_info)
{
post_FT_command ("Mastercam","OnDisplayInfo");
//Run a Message Pump if you need it immidialtely...
}
it just works form me.
This code exports the selected entities with the tolerance.
code:
FILE *fp=fopen("c:test.stl","wb");
if(fp)
{
wr_stl(0.02, fp, "", -1, FALSE, TRUE);
fclose(fp);
}
Hi,
We have also bought Vista and NVIDIA Quadro FX card and installed X2MR1.
And we are having problems then tried..
1. Vista default theme(Aero glass enabled) ====> messed up with flickering
2. Windows classic theme(Aero glass disabled) ====> looks better but it does not draw the Viewport XYZ axes and texts like "Gview:TOP WCS:TOP..".
3. copying old opengl32.dll and glu32.dll(from Windows NT?) to the X2 root folder... ====> maybe good?? but not much tested..
Does MastercamX use "Mixed GDI and OpenGL rendering" when displaying Viewport XYZ axes?
when I read the latest driver release note from NVIDIA, it says "Mixed GDI and OpenGL rendering does not work."
http://us.download.nvidia.com/Windows/100....lease_Notes.pdf
Sorry Titus, I didnt answer your mail..
I did not have any idea of calling fseek().
I thought it would write the data at the position..
nci_manager (0, NCIMGR_WR, &nci_line, &fpos_prevpos, &succf);
Thanks Pete!!!12
hi
if there in not a function like nci_to_bnci() function,
you may have to try methods like below..
http://www.emastercam.com/ubb/ultimatebb.p...c;f=13;t=000376
http://www.emastercam.com/ubb/ultimatebb.p...0327;p=1#000005
Thanks Pete,
that cleared vague things in my head.
Alex,
I'm coding by myself anyway,
in the sdk only some low-level functions are exposed, CArc,MCSurface.. claases are not avalable for chookers.
So we have to make our own wrapper class library for low-level functions in the sdk for now..
hi
I made a chook for switching cpus used by mastercam process.
I dont sure if there is an adavantage from using it though..
http://ai-sols.sytes.net/download/ProcessPriority.zip
red icon is to set the current process priority above normal, and set the other mastercam processs idle.
green icon is to set all mastercam processes normal priority.
0 is CPU0,1 is CPU1 ,2 is CPU2 and 3 is CPU3,, if you have 4 cores.
currently I only have 2 core PC, so I have not checked 3rd and 4th cores..
good
from help document..
Analyze- Solid (volume) properties dialog box
Use this dialog box to view:
1. Solid volume and mass relative to a defined density
2. Center of gravity
3. Moment of inertia relative to a selected axis line
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.