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.


Topics - billo

Pages: [1]
1
CamBam help (General usage) / Horizontal 3D incomplete
« on: September 05, 2023, 13:38:02 pm »
I'm using Horizontal Roughing to pocket an area in a 3D slab. I'm showing a simple part here to demonstrate the problem (my parts are more complex than this).

Horizontal (and Vertical) do not pocket the entire area. (Although Waterline Rough works well for this part, it does not work well for my more complex parts.)

I've used a large bit and Horizontal Finish to better visualize the problem, Rough does exactly the same thing.

The toolpath is leaving 45mm of material, 40mm of which should have been cut (if my calculations are correct).

Is there some setting I'm missing?

Thanks,
Bill

The .cb is attached


2
CamBam help (General usage) / "Open poly skipped" on Surface
« on: August 28, 2023, 14:32:49 pm »
I'm getting multiple "Open poly skipped (offset=nn)" warnings on a surface imported from .stl.

In the attached CB file, the toolpath at the corresponding depth appears to be skipped entirely. I have other examples where the toolpath is just wrong and cuts into the surface of the shape.

The .stl was originally exported from Rhino (from a closed polysurface). I've run the file through an analyzer (FormWare) and into various viewers. And re-imported into Rhino and done edge analysis there. I don't see any problems anywhere except in CamBam.

I would love to get suggestions as to how to analyze/fix this file for CamBam.

Thanks,
Bill


3
CamBam help (General usage) / Unusual 3D waterline toolpath
« on: May 23, 2023, 21:03:31 pm »
I'm trying to create a waterline toolpath for a series of parts I have. I'm testing with a simple disk shape with sides of varying steepness. I think I have the rough path working (using "Region Fill Style: Outside Offsets" instead of the default).

It seems like this should be pretty simple, but I can't get a finish toolpath that works. Here is what I have.

Attached is a 3D view of part, and the top and side views of the toolpath.

I would expect for a waterline to see "concentric" ovals, but instead I get crossing (or connecting) paths.

Is there some obvious option I'm missing?

Thanks,
Bill

4
I am exporting multiple individual objects from Rhino to an .stl file. When I open it in CamBam, the objects are not individually selectable. That is all Rhino objects are combined into one object in the .stl.

I typically have up to 50 such objects that need to be cut on multiple sheets of stock, so it is important that I create toolpaths accordingly.

I have read that .stl does not support multiple objects in a single file.

I see a number of different possibilities:

* Try to break up the objects from within CamBam.
* Export to 50 individual .stl files from Rhino, then write a script to import them all into a single CamBam document.
* Export to .3mf, which is apparently an stl-like format that support multiple objects. Then figure out how to import this into CamBam.

Can anyone suggest additional options?

tia, Bill


5
Scripts and Plugin Help / Get Directory of opened file
« on: January 28, 2023, 17:20:07 pm »
In my process I want to open a .dfx file and then automatically produce gcode into the Directory than contains that .dfx. Everything works nicely, except that I can't seem to find the name of the Directory from which the .dfx was loaded.

I see that it is actually stored in "CamBam 1.0.config" in "<DefaultDrawingDirectory>C:\MyLocalFiles\CamBamTemp</DefaultDrawingDirectory>" (I suppose I could open the .config and scan directly, but ugh).

I've tried the enticing CamBamConfig.DefaultDrawingDirectory, but that returns a "getset_descriptor". Is there a way to evaluate that to the actual property value?

Or, is there another way to get what I need?

tia, Bill

6
Scripts and Plugin Help / Avoid filename prompts in GenerateGCodeOutput
« on: January 23, 2023, 16:54:00 pm »
I'm looping over Parts and calling CAMUtils.GenerateGCodeOutput to produce a separate .nc file for each Part.

This puts up a file prompt dialog for each part. That works fine, but I have a large number of Parts and would like to provide a filename in script to avoid the file prompts.

Is this possible?

Bill

7
Scripts and Plugin Help / Access XData in .dfx
« on: January 17, 2023, 22:36:14 pm »
I've exported a .dfx from Rhino that contains one XData field that I would like to access from a script (along with LayerName). In browsing the Entity object in an Object Browser I don't see anything that looks promising.

I'm guessing this is not possible. If someone knows how to do this please share.

(My best workaround might be to encode data into the Layer property in Rhino and then decode in CamBam, but that gets ugly in a hurry.)

Bill

8
Scripts and Plugin Help / How to loop over all styles in script
« on: January 10, 2023, 19:44:35 pm »
I'm trying to loop over all available styles (using a python script). Documentation for CamBamUI says I am able to do that using CAMStyles.

CamBamUI.CAMStyles returns a CAMStyleManager, but I do not see how to get from the CAMStyleManager object to an iterable list of styles.

Any advice?

Tia
Bill

9
Scripts and Plugin Help / Getting started with plugins in Win10
« on: January 09, 2023, 15:13:56 pm »
I'm trying to create a plugin for CamBam Plus 1.0 in VS2019. I'm using the code from the tutorial: http://www.cambam.info/doc/api/CreatingAPlugin.htm

As recommended, I used the link in: http://www.cambam.info/downloads/ to install Framework 4.

That installs .Net Core 3.1, which supposedly contains many legacy frameworks, such as Framework 4.

Now when starting a new Project in VS2019, the Target Frameworks presented as options include: .Net Standard 2.0, and .Net Core 3.1. I chose .Net Core 3.1.

My first compile complained that System.Drawing.Common is not available. Reading online I see that adding that package with NuGet is the solution. The oldest version available was 4.5. I downloaded that and added it as a reference.

Now it compiles without errors or warnings.

I copied my plugin .dll and System.Drawing.Common to the plugins folder.

Upon starting CamBam I get the message: Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, ...

I've used VS for 2 decades, but never with a mix of older components like this; so I am unfamiliar with assembly redirects and such.

Does anyone have advice on how to proceed?

Tia,
Bill

Pages: [1]