Jump to content

Welcome to eMastercam

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:

greg7

Members
  • Posts

    5
  • Joined

  • Last visited

greg7's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello together, did you check out to modify the program number by using nethook in the meantime. I would like to know how to do by nethook or by chook? Kind Regards Greg7
  2. Hello, in detail I want to set the tplane only. In NEThook (nethook2_0.dll) it was not possible until now, in VBScript it is doing well. So if you can support me in setting/modifying the tplane somehow, I am very grateful for a example piece of code.
  3. Hi together, I am searching for running a Mastercam-Visual Basic Script (for setup tplane) out of a VB.NET (NETHook2_0.dll). Please can you give me a hint how to call the VBscript and how to prepare the function. Can I use the scriptlinker for coding the VBscript? Any help in this matter, I am grateful for!!
  4. Hello, I have a simple question regarding T/CPlane-modify with VB.NET in X2-mr1,sp1: code: Dim MyDrill = New DrillOperation myDrill.ToolPlane = New Point3D(1.0,1.0,1.0) mydrill.DrillPoints.Add(New DrillPoint( New Point3D(0.0, 0.0, 0.0))) Dim DrillOpArray() As Mastercam.Database.Operation = {MyDrill} MyDrill.commit() MyDrill.Regenerate() The result-operation is always drilling form TOP-Plane (default) or last changed T/CPlane. Is there something missing in my code or is it simply a BUG?? Grateful for any help in that matter greg7
  5. Hi together, does anyone have experinance with the command SetPlaneNormal (Real, Real, Real)? This command has no affect on my Drilling-operation. it always drills from the last modified tplane by interactive use of Mastercam. Call ClearParameters() Call InitParameters() Call SetClearancePlane(True, True,50) Call SetRetractPlane(True, True,50) Call SetPlaneNormal(1,0,0) Call ZeroPts() Call AddDrillPointToDepth (0, 0, 10, 25) intOperationID = MakeDrill (...) Thanks for any hint!

Join us!

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.

Follow us

×
×
  • Create New...