Nesting in Carbide Create Pro

We just posted another beta at Carbide Create Beta Downloads

  • (FIX) Crash in Cutter Check command.
  • (FIX) Bad reported bounding box for a customer DXF file.
  • (FIX) Hide boolean box if all buttons are disabled.
  • (FIX) Make sure the active layer is correctly marked int he layer list when loading a C2D file.
  • (NEW) Additional toolpath linking code that can provide additional rapid move reductions of up to 20%.
  • (PRO) Added TIFF support for 3D model import.
  • (PRO) Added Nesting command. Consider this a work in progress for now.

The big one is obviously the Nesting command:

Which can take this:

And turn it into this:

There are a lot of edge cases to work out, and a lot of policies to figure out. But, it works well as-is, from what we can tell, so we wanted to throw it out there before the weekend.

Try it out and let us know what you think.

10 Likes

Oooh. Ahhh. Optimizations! great. Will play.

2 Likes

I’ve only tried a couple of things and I’m not sure what to expect. I was under the impression that nesting would move my objects around and rearrange them in the most efficient (material-wise) arrangement…but my initial results seem random. I’m likely missing something.

I googled “Nesting in CAD” and got some background…so I’m not completely blind…but here’s what I tried and what I got - and I’m not sure why:

Started with a few shapes strewn about:


With all of them highlighted, I click the nesting button
The result is:

What happened? I don’t see any group of objects any closer than any others…or nested, for that matter. Am I missing something?

Post the file and we’ll take a look

I didn’t keep the exact file I just showed you, so I created another one…very similar result.

This is the file before pressing the nesting button:
Nesting Before.c2d (44 KB)
and after
Nesting After.c2d (44 KB)

  • Gary
1 Like

Interesting- it looks to be giving up early, because the vectors already fit. We’ll look into that.

1 Like

Nope, it was a mm/inch problem. We’ll get it fixed.

1 Like

We just posted 841 with a fix to Carbide Create Beta Downloads

2 Likes

CHECK! It works. Thanks for the rapid fix!

So just been testing out the Nesting function - which is really neat & could definitely make it easier for arranging parts across stock. But just wondering about how it’s designed to function…specifically, is it supposed to respect vectors that are grouped together?

It took my manually arranged parts from this:

To this:

So besides the fact that it overlapped closed vectors, it took vectors that were part of the inside of the numbers on the pieces & put them elsewhere even though they were grouped together beforehand.

Open vectors do not get placed unless they overlap a closed vector- under the assumption that they are meant to be some other feature to be machined as part of the closed vector.

We haven’t tried a group of all open vectors, so that might be a failure. If you don’t mind posting the file, we’ll look into it.

1 Like

The vectors are all closed…the Layer colour in the screenshots is just the same/similar one used as Open vectors.

The Nest function doesn’t appear to play well with such curvy/multi-grouped vectors.

SlatShade_Ribs14-23_test.c2d (1.2 MB)

I tried it with the latest release (41) and found:


which looks maybe correct? I’ll try it without keeping the original vectors and see what it looks like

Ehhh…no. It did a completely different job of it and ended up kind of all over the place:

Interesting that running the function with the same file twice yielded very different results. The only difference was not making copies of the objects.

I also ran it a third time and got yet another result — I didn’t save it, but it was jumbled as well,.,…a different way - I’ll try to reproduce that one.

OK…was able to recreate the third instance. Ran it like the first example, did an UNDO to get back to the original file, then ran it again with exactly the same parameters and got:

Yeah… Rerunning the function against the same file (undo-ing each time) yields different results almost every time:

1 Like

Yes, it certainly seems to throw the function off into a fray.
Some letter outlines I was playing with earlier seemed to work quite nicely - but the font was a very square/rectangular style.

That’s an interesting file, which really only seems to have very few solutions. I’m not sure if adding a “Try really hard” option to spend move compute time would find this exact solution. We’ll start a “bad nest” sample directory to test these when the feature stabilizes more.

But as-is, to have a sensible output, you need to have these settings:

  • The inner lettering will be marked as separate vectors to nest, so unchecking “Treat inner vectors as hoes” keeps them together.
  • Since the source vectors are already in the job space, it’s better to uncheck the “Create copies” option so you don’t have the original and new vectors on top of one another.
3 Likes

I think that’s always the polite thing to do, @robgrz . :innocent:

Since I have the mike, I’ll say that I’m not a woodworker, but my first thought upon seeing the nesting was “if I were a woodworker I’d want a checkbox to respect grain orientation” --i.e. translate but not rotate the vectors…

6 Likes

Typos get me again…

You can set the allow rotation to 0 or 180 to keep the grain orientation.

5 Likes

I’ve said it before, predictive typing (or as I call it, auto-misspell) is what will beget the Terminators.

Cool, restricting rotation to 0 or 180 does exactly that…

1 Like

robgrz

I wonder if there is a little EMI between the brain and the fingers :crazy_face: :crazy_face:

2 Likes

I think with complex vectors such as these, it would be handy to just have a function to space them apart by a set amount in either X or Y. The most tedius part of making an arrangement is ensuring a minimum space between the vectors for the endmill diameter. The Alignment function seems to almost has this capability.