Zaffin_D
Verified Members-
Posts
374 -
Joined
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Everything posted by Zaffin_D
-
I actually updated the repo to do just that. It now has a G1 button that will change the NCI file name an post the selected configuration. I still have some cleanup to do, but it is working.
-
I'm not a programmer, but I'm happy to provide an example. In regards to the ghosting, you are correct; It would be better to select and post the operations rather than ghost them.
-
MC 2019 SHS scallop equal .err report
Zaffin_D replied to Fred @ Slate Industries's topic in Industrial Forum
This is not something I would expect migration to handle. Looks like that string select table needs to be expanded, parameter 12628 includes; 15 = Project 16 = Equal Scallop 17 = Blend- 2 replies
-
- 1
-
- 16th toolpath
- only 15 in post(s)
-
(and 1 more)
Tagged with:
-
That makes perfect sense, thanks. For fun, I created a rudimentary Net-Hook that uses a flag in the operation comment to track different configurations. It's pretty simple, you add operations to a configuration number through the 'Add' section of the dialog. Any operations that don't have a configuration added to them are always posted. Once you have all the operations added, you select a configuration number from the 'Set' section of the dialog. Hit the green check and all the ops not matching the selected configuration number will be ghosted. I've tested it very minimally, but you can grab the source on my GitHub.
-
You do not need to go back that far, X9's Update Post C-Hook can update posts from V4.
-
If I understand correctly you want to select a revision and have it post all the operations to make the selected revision?
-
Language Written in .pst file ??
Zaffin_D replied to YaheyaKhan007's topic in Post Processor Development Forum
Absolutely! Both Bitbucket and Gitlab offer free private repositories, so there's no reason not to use source control. -
Language Written in .pst file ??
Zaffin_D replied to YaheyaKhan007's topic in Post Processor Development Forum
I agree to a point. It can only be so wrong if it works right? But if you don't understand some MP concepts you can really muck things up. Implied arrays are a big one, because adding a variable to the post between variable initializations (or in some cases format assignments) breaks the array. Then there's the pop and push functions, where depending on the mode, the return value is written to an implied array. -
Language Written in .pst file ??
Zaffin_D replied to YaheyaKhan007's topic in Post Processor Development Forum
The post contains two languages in Matercam 2018 and later, MP and XML. MP is a language created by CNC Software, and handles the translation from the NCI to your NC file. If you want to learn more about MP contact your reseller, they can provide you with the documentation. The XML is used to store the post text, and shouldn't be edited in the post. The control definition will write the XML for you. Jeff -
Why not just calculate the values in the post?
-
ttblend$ seems like it was built for what you are trying to do. It would allow you to stage tool 2 at the last tool change while your last operation was cutting. It's boolean, so using it is pretty simple. if ttblend$, "T2"
-
Try changing you default printer to Microsoft XPS Document Writer.
-
‘Blended’ spline pattern, how to achieve?
Zaffin_D replied to Carbonwerkes's topic in Industrial Forum
Draw your two outer splines, then create a lofted surface between them. With that done, create a curve flowline; that should give you what your after. -
Same link as above, under the NET-Hook Documentation section.
-
Were you able to access the example files? Among the example files is the API Reference for NETHook V3 that's very helpful. At what point are you banging your bare toes against the curb? Did you create a solution and get the hook to run? Is it that you can't determine how to do something? Have you contacted your reseller?
-
This problem interested me and I had some time tonight, so I made a NET-Hook that should create the pattern you want. How do you want to define the difference between the arcs? Right now I have it working off a percentage; if you enter 110 in the radius change textbox, each circle will be 10% larger than the last. If you enter 90, each circle will be 10% smaller than the last.
-
Did you click the link? That should have asked you to login, then sent you to a page to select the version of Mastercam you'd like examples for. The example NET-Hooks will be much more helpful than anything I can provide, but below is an example NET-hook that updates all of the selected contour operations' cutter comp parameters. public override MCamReturn Run(int param) { var contourOperations = SearchManager.GetOperations(OperationType.Contour); if (contourOperations.Any()) { var compensationParameters = new CutterCompParams { ToTip = true, Optimize = true, RollCorners = CutterCompRoll.CutterCompRollSharp, Direction = CutterCompDir.CutterCompLeft, Type = CutterCompType.CutterCompComputer }; foreach (var operation in contourOperations) { if (operation.Selected) { var contourOperation = operation as ContourOperation; contourOperation.CutterComp = compensationParameters; contourOperation.Commit(); contourOperation.Regenerate(); } } return MCamReturn.NoErrors; } else { DialogManager.Error("No contour operations found.", "No Contour Operations"); return MCamReturn.ErrorOccurred; } }
-
There are several NET-Hook examples on Mastercam's website. Have you download them?
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.