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 - llaves

Pages: [1] 2 3
Tested this idea on Mach3 and it does just what's needed. Thanks for the tip

Mach 3 requires  lead-in and lead-out moves when using cutter comp (G41, G42). The manual and conventional wisdom say these should be straight moves, not arcs. That rules out the standard lead-in and lead out moves in Cambam. In addition, if I'm adding the G40 (end cutter comp) in a custom footer, the lead-out occurs before the G40 is called.

Is there a good way to generate these automatically, or is it too dependent on the geometry and I should just continue to edit files by hand?

CamBam help (General usage) / Re: Converting units in style file
« on: May 01, 2021, 15:16:21 pm »
A calculator springs to mind, but even if you did a conversion, the resulting tool sizes would in some cases not be available in metric. e.g. the nearest to 1/8 would be 3mm
If you then say you will work with a metric CamBam file but use imperial tools, what would be the point of that ?

Maybe I'm missing something, but what's wrong with cutting a metric part with inch tools? Let's say I'm cutting a profile in a metric design and call for a 1/8" tool, which is exactly 3.175mm. Sure, the G-code looks messy with all those decimal places floating around, but the machine and controller don't care. In the end the precision of the part is limited by the stepper/encoder resolution, so it doesn't matter if the cutter is inches or meters, does it? Of course, this is not true for drills, but that's a different case.

And my inch style library actually contains a number of metric diameter tools because I can readily buy a 6mm solid carbide cutter from AliExpress for a fraction of the price of a ΒΌ" cutter in the US. Same holds for other sizes as well.

CamBam help (General usage) / Converting units in style file
« on: April 30, 2021, 14:58:39 pm »
I generally work in inch units, but occasionally need to work in metric. I have an inch units style library that covers a fair number of tools and operations. Is there a script (or external program) that will convert this to metric units?

Scripts and Plugin Help / Exploring the DLLs
« on: January 05, 2021, 00:34:34 am »
Way back in this post (2008), lazer linked to a tool call AutoDiagrammer which does a great job of showing the structure of classes within a .dll. That tool was later updated to AutoDiagrammer II. I find it a little easier than the VS object explorer. The code is on CodeProject, but it's out of date and requires a few changes to build today. I'm attaching a compiled version in case anyone is interested in using it to explore the CamBam dlls.

Scripts and Plugin Help / Re: enumerating all entities and machining ops
« on: January 04, 2021, 21:59:29 pm »

To write messages in the bottom log window, this is what I mainly use for debug output.
Code: [Select]
CamBam.ThisApplication.AddLogMessage("hello world");

I noticed that AddLogMessage has 4 different signatures. Two of these have a first parameter that is the Diagnostic Level. Do you find yourself using this feature much, or do you just strip out the messages once the plug-in is working correctly (or wrap the messages in an #ifdef DEBUG?)

Scripts and Plugin Help / Re: enumerating all entities and machining ops
« on: January 04, 2021, 21:07:14 pm »
this is exactly where I was headed. Thanks for confirming the approach.
Any particular reason for using an ArrayList over a simple List<>?

Scripts and Plugin Help / enumerating all entities and machining ops
« on: January 04, 2021, 20:42:38 pm »
Are there list of all entities and mops, or should one enumerate all layers, then all entities within layers (and likewise, all parts, then all mops within a part)?

think there's any energy for a community-operated web page/repo?
Github makes it easy to host the pages and of course could be used for a repo for code examples.

CamBam help (General usage) / CamBam + Git
« on: January 03, 2021, 18:23:29 pm »
Is anyone using git to manage their CamBam files? Mainly I'm thinking about .cb file, but style and tool files could be managed as well. I'm interested in hearing if it was worth the effort and if there are an gotcha's lurking there? The files are text-based, so they should work reasonably well with git.

Andy as started a GIT to handle CamBam resources and hopefully He will add a more convenient way to handle the API doc in the future.

Does this repository exist? If so, where?

 I found a Github ID CamBam, but it has no public repos.
Gitlab has a repo but it appears to contain the same info available on the CamBam website.

CamBam help (General usage) / Tab to next field?
« on: January 02, 2021, 16:48:05 pm »
In most windows programs the tab key advances focus to the next entry field in a dialog. This does not seem to occur in CamBam when editing an operation or some geometry. Is this just an implementation choice in CamBam or is there some setting I need to change?
CamBam 1.0 (32 bit)
Win 10, 64 bit


Installation Help / Re: Tranferring settings to new computer
« on: December 31, 2020, 19:04:52 pm »
Yes, I copied the entire directory tree. But telling me that CamBam1.0.config was the key.
In my old installation I had modified the SystemPath (for reasons I no longer remember). Turns out that the config file is stored in the default system path, not the edited one. So when I copied the directory, the config file was not stored there.
This is an interesting quandary. The value of SystemPath is stored in the config file, so how would the program know where to look for the config file if it hasn't read it yet to know the SystemPath value?

Scripts and Plugins / Re: C++ examples?
« on: December 31, 2020, 17:51:36 pm »
Haven't had a chance to try that yet. I'm fighting some installation problems moving CamBam to a new computer
(and I'm fighting an even more bizarre Mach3 problem that's stopping me from running a program I'd like to finish up).

Installation Help / Tranferring settings to new computer
« on: December 31, 2020, 17:48:15 pm »
I moved my license from my old machine to new. This post suggests everything is in the system folder, so I copied the contents of Program Data\CamBam Plus 1.0 to the new computer
Pretty much everything xferred as expected, except for a some interface settings like colors and such.
Is there another file I need to copy?


Pages: [1] 2 3