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:
Hello guys
I fixed a bug in Ai_arcedit.dll,
(I did not updated the endpoints of arcs..)
If you have alreay downloaded/installed the v1.1,
please check the file below. Thanks!
http://ai-sols.sytes.net/download/Ai_arcedit.zip
I have also updated the install program above.
and thank you Roger from CNC Software!
Rickster
although I have not yet figured out why it does not work with your PC at work,
can you try this file?
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) (this is a copy from my HDD)
http://ai-sols.sytes.net/download/vcredist_x86.exe
Rickster
I think you have to install this file.
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/details...4d-389c36f85647
HTH
X2MR1 and X2MR2 come with it, but X2SP1 does not.
Rakesh
It may be a part of this utility.
http://www.emastercam.com/ubb/ultimatebb.p...ic;f=1;t=027797
http://ai-sols.sytes.net/download/img/Shellex.JPG
Hi Thad,
sorry, I didn't see this thread.
anyway I made it work for MR2.
I've also added some new functions to it.
X2MR2
http://ai-sols.sytes.net/download/AI_Utili...2MR2_1_1_en.exe
X2MR1
http://ai-sols.sytes.net/download/AI_Utili...2MR1_1_1_en.exe
X2
http://ai-sols.sytes.net/download/AI_Utility_X2_1_1_en.exe
Please let me know if you have suggestions or find a bug..
Add this line in you code if you use C#.
using Mastercam.BasicGeometry;
And these NetHook2.0 Example files will help you.
NetHook2ExampleNetHook2Example5 - Simple Geometry5.2 - The LineGeometry Class.cs
NetHook2ExampleNetHook2Example8 - Support8.1 - The SearchManager Class.cs
if you are using the Express Edition, it can still compile the code.
but it lacks some good features in the Pro/Standard Edition.
Hi
You can select a line or just get all lines with SearchManager, then you will get the endpoints from LineGeometry.
Line.Data.Point1.x
Line.Data.Point1.y
Line.Data.Point1.z
Line.Data.Point2.x
code:
GeometryMask Mask = new GeometryMask(false);
Mask.Lines = true;
LineGeometry SelectedLine = (LineGeometry)SelectionManager.AskForGeometry("Please select one line from the screen.", Mask);
if (SelectedLine != null)
{
string str = SelectedLine.Data.Point1.x.ToString();
DialogManager.OK(str, "");
}
DialogManager.OK("Search all lines!", "");
Geometry[] FoundGeo = SearchManager.GetGeometry(Mask);
foreach (LineGeometry Line in FoundGeo)
{
string str = Line.Data.Point1.x.ToString();
DialogManager.OK(str, "");
}
I have not tried this yet..
code:
/**
* @par Purpose:
* Determine if a surface is planar (flat)
* @return TRUE = planar
* @param[out] plane_norm if planar, this is the vector perpendicular to the plane
* @param[out] plane_pt if planar, this is a point on the plane
*/
DllImpExp MC_BOOL is_surf_planar(surf_type *psf, p_3d plane_norm, p_3d plane_pt);
Hello,
quote:
Takashi does not 'version' his DLLs ;( So all you can do is go by the date on the DLL.
Roger, that's why I saved all versions.
Sorry, I'm lazy..
I have changed the version number.(version 1, 0, 0, 2, dated:06-22-2007).
and I have found/added this variable, and it is not in the chook sdk headers..
code:
extern DllImpExp MC_BOOL repaint_toolpath;
then, I looked for where repaint_toolpath was changed,
code:
//repaint_toolpath == FALSE
chain_manager_info cmi;
memset (&cmi, 0, sizeof (chain_manager_info));
cmi.op_idn = op.op_idn;
cmi.mode = CHNMGR_ADD;
cmi.chns=chains;
chain_manager (&cmi, TP_CHN_ALL, &succf);
//repaint_toolpath == TRUE; wh?????
when I called the chain_manager function, the variable repaint_toolpath was changed to TRUE.
so I changed it back.
version 1,0,0,2..
http://ai-sols.sytes.net/download/Ai_Freehand_Contour.zip
Hi Thad,
I looked at this issue. but I cant figure out the cause so far. so I just run the FT command "Mastercam OnHideToolpath"...
extern DllImpExp MC_BOOL display_toolpath; ///< TRUE if the toolpath is to be displayed
I think this is the variable for the toolpath display settings, but I didn't touch it in freehand contour chook.
anyway, temporary fix will work as you wish.
http://ai-sols.sytes.net/download/Ai_Freehand_Contour.zip
This one is to pass the lines/chain to a contour operation.
( first you have to select the machine you use. and you have to add a tool for the operation.)
http://ai-sols.sytes.net/download/Ai_Freehand_Contour.zip
Sorry again, I fixed a small bug regarding .ft file.
http://ai-sols.sytes.net/download/Ai_Freehand.zip
P.S.
Should I create a contour toolpath with the chain of lines?
OK, I have added .FT file.
http://ai-sols.sytes.net/download/Ai_Freehand.zip
(the previous version is supposed to be used by alc+c....)
but, I'm lazy and have not created the icon for the chook yet..
there is a program for editing resource data,
so you can swap/add the icons/tooltip..
http://www.angusj.com/resourcehacker/
HTH
woot I noticed MouseMchVX_X2_MR1 does the same thing..
http://www.camaix.net/c-hook_downloads_v10.html
anyway I have updated it..
http://ai-sols.sytes.net/download/Ai_Freehand.zip
Press backspace key to undo..
Press Enter/Escape to end it.
I just made this chook.
http://ai-sols.sytes.net/download/img/freehand.jpg
http://ai-sols.sytes.net/download/Ai_Freehand.zip
you have to use Cplane=TOP and OpenGL graphics..
edit:
Input the Tool dia and select point to move to, and hit escape to create lines..
[ 06-13-2007, 09:58 PM: Message edited by: Takashi Sato from Ai Solutions. ]
hi,
code:
Do you have one for XMR2?
Kevin,
Here it is.
http://ai-sols.sytes.net/download/AI_Utility_1_09_en.exe
and some information about this chook.
http://www.emastercam.com/ubb/ultimatebb.p...2663;p=2#000044
http://www.emastercam.com/ubb/ultimatebb.p...2357;p=1#000005
Rakesh,
It is a part of my chooks now.
http://ai-sols.sytes.net/download/AI_Utili...MR1_1_09_en.exe
http://ai-sols.sytes.net/download/AI_Utility_X2_1_09_en.exe
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.