## Closed Vectors sharing lines

This section is for useful tips and tricks for Aspire
Marko74
Posts: 16
Joined: Wed Jul 10, 2019 6:59 pm
Model of CNC Machine: Laguna IQ

### Closed Vectors sharing lines

I am trying to do something that at first I thought would be very easy. And now it has become complex. The problem seems to be, to put is simplistically, that a closed vector cannot share a line with another closed vector. Here is a simple example. The drawing below is two squares that happen to overlap. Because of the overlap, it looks as if there are three rectangles. But if I modeled this as two squares, it seems that I cannot cut a pocket from one of those virtual rectangles because they are not closed in and of themselves. The picture below shows the two squares modeled overlapping. The second picture shows how I would like to cut it out on the CNC router leaving simple "dams" between the virtual rectangles. Of course the model I am actually working on is far more complex, but the same problem seems to exist. So, my question is...if a closed vector should overlap another closed vector, can the overlap or intersecting body be recognized as a closed vector in and of itself? The brown color is meant to represent a pocket that has been removed.
By the way, I am using the newest version of Aspire.
Attachments

FixitMike
Vectric Wizard
Posts: 1585
Joined: Sun Apr 17, 2011 5:21 am
Model of CNC Machine: Shark Pro Plus (extensively modified)
Location: Renton, WA USA

### Re: Closed Vectors sharing lines

As far as I can tell, the answer to your question is "No". If part of a closed vector overlays a part of another closed vector, the only thing that the overlay will affect is how any toolpaths will cut. The vectors themselves do not affect other vectors. You can think of it this way: You can put each vector on a separate layer, and that will not change how the toolpaths work. Just because you can observe a "virtual" rectangle, it does not make it a closed vector.

The exceptions for one vector affecting another occur where one vector is used to determine the action, shape or location of another vector: Rails and profiles for the moulding toolplath. Curves defining distortion tool boundaries. Defining curves for text on a curves
Good judgement comes from experience.

newmexico
Vectric Craftsman
Posts: 132
Joined: Thu Dec 10, 2015 1:31 pm
Model of CNC Machine: Shopbot Desktop and Shapeoko
Location: New Mexico
Contact:

### Re: Closed Vectors sharing lines

(Great question)
Overlapping paths must be joined at the point of intersecting for vcarving
Overlapping paths need to be JOINED at the point where they intersect each other for vcarving.

We spend a great deal of our design time making sure...

1. All paths are closed.
2. Paths do not touch each other.
3. Overlapping paths are joined together where they intersect.

IMHO, this is one of the best questions on this forum. Intersecting and overlapping paths are problematic to VCarving. The Frida Kahlo graphic was originally full of intersections and overlaps and took some time to prepare it for vcarving.
FridaKahlo

Vectric Archimage
Posts: 10106
Joined: Thu Nov 23, 2006 2:19 pm
Model of CNC Machine: ShopBot PRS Alpha 96x48
Location: Surrey, UK

### Re: Closed Vectors sharing lines

[quote="Marko74" So, my question is...if a closed vector should overlap another closed vector, can the overlap or intersecting body be recognized as a closed vector in and of itself? The brown color is meant to represent a pocket that has been removed. .[/quote]
If you want the brown areas to be cut out and the white areas to be material then you can't automatically do that without creating additional vectors which I guess isn't an easy option in your real world project. What the human eye sees isn't the same thing that a program sees. There is no rectangle there for it to cut too.

You might want to experiment with the subtract and overlap tools as they can be used to create vectors in situations like that. Be sure to keep a copy of the original ones though as you will need those in conjunction with the new ones created by the tools. Layers are your friend for that sort of thing.

Marko74
Posts: 16
Joined: Wed Jul 10, 2019 6:59 pm
Model of CNC Machine: Laguna IQ

### Re: Closed Vectors sharing lines

Vectric Archimage
Posts: 10106
Joined: Thu Nov 23, 2006 2:19 pm
Model of CNC Machine: ShopBot PRS Alpha 96x48
Location: Surrey, UK

### Re: Closed Vectors sharing lines

I thought the shape would be a lot more complex than that. That one is pretty simple. It's just a matter of duplicating the vectors where needed so each part that you want to cut the inside out of is separated by a closed vector and then having an offset vector to create the piece left between each cut out. Think of it like a stencil.

Doing an auto trace of the dragon fly picture would give you nearly all the vectors you need automatically.

FixitMike
Vectric Wizard
Posts: 1585
Joined: Sun Apr 17, 2011 5:21 am
Model of CNC Machine: Shark Pro Plus (extensively modified)
Location: Renton, WA USA

### Re: Closed Vectors sharing lines

Yes, things are more complicated.

You can think of a vector as one line with one beginning and one end. If the beginning and end are both in the same place, the vector is closed. If you have more ends, you have more than one vector.

In the case of the picture shown, I would move the ends of the dragonfly wings slightly away from the border line. That will simplify things. Each enclosed area will require a separate vector around it if you intend to pocket it

Another way of looking at how to carve a pattern is to draw it out and color the areas you intend to pocket with a single crayon. It will become immediately obvious that you can't pocket adjacent areas and end up with them being separate. Of course, one could pocket them at different depths, which would correspond to using different colors to fill the design.
Good judgement comes from experience.

Vectric Archimage
Posts: 10106
Joined: Thu Nov 23, 2006 2:19 pm
Model of CNC Machine: ShopBot PRS Alpha 96x48
Location: Surrey, UK

### Re: Closed Vectors sharing lines

I think the attached file is what you're describing. It was easy to create with the auto trace. It created all the vectors need automatically (I would clean them up a bit if I was doing it for real). If I misunderstood and it's something different to that then hopefully the technique will give you some ideas.
Attachments
dragonfly.crv

newmexico
Vectric Craftsman
Posts: 132
Joined: Thu Dec 10, 2015 1:31 pm
Model of CNC Machine: Shopbot Desktop and Shapeoko
Location: New Mexico
Contact:

### Re: Closed Vectors sharing lines

We hope the above is helpful and makes sense.

Marko74
Posts: 16
Joined: Wed Jul 10, 2019 6:59 pm
Model of CNC Machine: Laguna IQ

### Re: Closed Vectors sharing lines

All good information. Thanks again. You have given me a lot to study. However, I haven't found any functionality in Aspire called "Auto Trace". This seems to be a function that will automatically create a "boundary" vector around an existing vector. And this seems like just the functionality I need. Where or how do I "auto trace" a vector? Is this, perhaps, a functionality of Vcarve instead of Aspire. While I have breached this subject, answer me this, is there any functionality in Vcarve that is not present in Aspire?

Vectric Archimage
Posts: 10106
Joined: Thu Nov 23, 2006 2:19 pm
Model of CNC Machine: ShopBot PRS Alpha 96x48
Location: Surrey, UK

### Re: Closed Vectors sharing lines

Marko74 wrote:All good information. Thanks again. You have given me a lot to study. However, I haven't found any functionality in Aspire called "Auto Trace". This seems to be a function that will automatically create a "boundary" vector around an existing vector. And this seems like just the functionality I need. Where or how do I "auto trace" a vector? Is this, perhaps, a functionality of Vcarve instead of Aspire. While I have breached this subject, answer me this, is there any functionality in Vcarve that is not present in Aspire?
Auto trace is the bitmap to vector tool. Some people call it the Chicken tool as it looks like a chicken but it's actually a Robin. It's the first icon on the last row in the Create Vectors section of the Drawing tab. I used that tool as you supplied a bitmap picture rather than vectors and it was the quickest way to do it from that point. If you're starting with pure vectors you can use the offset tool, boundary tool, snipping tool and the weld/subtract tools. Many different ways to skin the same cat.

As far as functionality on the 2D side of thing goes there is no difference between VCarve Pro and Aspire. The difference are all on the 3D side.

Marko74
Posts: 16
Joined: Wed Jul 10, 2019 6:59 pm
Model of CNC Machine: Laguna IQ

### Re: Closed Vectors sharing lines

I wanted to post a shout out to all those who were willing to share their time in my education. I have found that it is easier to do the bulk of the drawing in Adobe Illustrator. Then save it as a DFX or Bitmap before bringing it in for further manipulation in Aspire. Not only have I been able to model my project and cut it out successfully on my CNC router, but more importantly I now have a better understanding of the differences between lines and vectors. What I learned was essentially, in a 2-D world, when two lines intersect, they literally intersect! There is a point that both lines share. But vectors are not lines in spite of the fact that they often behave like lines and can be manipulated like lines in Aspire. Seems like a simple concept, but I guess i had to go through this in order to completely embrace it. Cheers.

ger21
Vectric Wizard
Posts: 1526
Joined: Sun Sep 16, 2007 2:59 pm
Model of CNC Machine: Custom DIY
Location: Shelby Township, MI, USA
Contact:

### Re: Closed Vectors sharing lines

In Aspire, there is no difference between a "line" and a vector. Any line would be a vector, as Aspire does not have a "line" entity.
Gerry - http://www.thecncwoodworker.com

newmexico
Vectric Craftsman
Posts: 132
Joined: Thu Dec 10, 2015 1:31 pm
Model of CNC Machine: Shopbot Desktop and Shapeoko
Location: New Mexico
Contact:

### Re: Closed Vectors sharing lines

Suggestion: Think of everything we draw as PATHS. (Why? Because we are drawing up paths for our cutter to follow.)

Is that PATH open or closed?
If it is an open path, then we have three choices: Follow LEFT or RIGHT or CENTER.
If it is a closed path, then our cutter has no choice but to cut inside or outside. (Complicated, huh?)

We, too, use Illustrator for everything around here. It also has Image Trace and Path tools. It won't clean my shop, though.

It is a vector world we live in with CNC. It can be difficult to wrap our brains around that world.
Thank God they chose Vector over Bitmap for our CNC machines. Whoo Boy!

Paths... paths... paths... closed or open... Vectors...

Husband to Wife: "Watch my back, honey... I'm going in deep... I'm gonna draw a PATH."