How can I copy and paste crv files while retaining layers?

This forum is for general discussion regarding VCarve Pro

How can I copy and paste crv files while retaining layers?

Postby barskey » Fri Apr 20, 2012 4:24 am

I have many VCarve files (.crv), each one is a part. Using a template I have created the same layers in each file, and assigned vectors to specific layers. Then I group the vectors and save the file.

I want to comine the files into one so I can nest them. So I created a new file, used the template to put the layers in the new file, and then save it without any vectors in it. I thought I should be able to open each part, copy the group, then open the new file and paste them in. But when I do, the entire group gets pasted to the currently active layer. When I ungroup them in this new file (selecting the option to ungroup onto their original layers), all the vectors get ungrouped onto the currently selected layer.

Is there something I am doing wrong with my workflow? Or is there another (better) way to combine multiple .crv files into one for nesting?

If there isn't functionality to do this already, I would consider creating a gadget to do so. Is there any info on creating gadgets?

I am using VCarve Pro v6.504. Thanks in advance.

Steve
barskey
 
Posts: 6
Joined: Fri Apr 08, 2011 6:12 pm
Model of CNC Machine: Home-made BYOCNC

Re: How can I copy and paste crv files while retaining layers?

Postby tmerrill » Fri Apr 20, 2012 11:27 am

Hi Steve,

If you select your vectors and export them as a .dxf file using File>Export>Selected vectors as DXF when you import them into another project they will retain the layer information.

The copy/paste function will not preserve layer information.

Tim
tmerrill
Vectric Archimage
 
Posts: 4794
Joined: Thu May 18, 2006 3:24 pm
Location: North Carolina
Model of CNC Machine: ShopBot

Re: How can I copy and paste crv files while retaining layers?

Postby tmerrill » Fri Apr 20, 2012 12:03 pm

If you try this approach Steve, be sure to label the layer names in all caps.

The export process will convert layer names to all caps and when you import it will create a new layer if it cannot find the existing layer named in all caps.

In other words, if you create a layer called 'Holes' and them import a .dxf file with holes it will create a new layer called 'HOLES'. However if you initially name the layer HOLES, then the import will place the vectors on this layer.

Tim
tmerrill
Vectric Archimage
 
Posts: 4794
Joined: Thu May 18, 2006 3:24 pm
Location: North Carolina
Model of CNC Machine: ShopBot

Re: How can I copy and paste crv files while retaining layers?

Postby barskey » Fri Apr 20, 2012 4:08 pm

OK, I will try this approach. Thanks for the information.

Is there an API, or other information I could review to decide if it would be possible to create a gadget to help automate this process?
barskey
 
Posts: 6
Joined: Fri Apr 08, 2011 6:12 pm
Model of CNC Machine: Home-made BYOCNC

Re: How can I copy and paste crv files while retaining layer

Postby Chelmite » Sun Oct 29, 2017 3:12 am

If you edit the DXF file in a text editor, you can fix the text case.

Look for LAYER lines in the DXF file:
Code: Select all
  0
LAYER
  2
DEF-TITLE

Change the case for the layer name:
Code: Select all
  0
LAYER
  2
Def-Title


Save the DXF file and Import Vectors. The imported layers will retain the case.

Unfortunately, the Text Objects are converted to vectors, which means you can't edit them as text objects. You have to re-create them. :cry:
Chelmite
 
Posts: 17
Joined: Tue Nov 06, 2012 4:47 am
Location: Los Altos Hills, CA
Model of CNC Machine: ShopBot Desktop, Epilog Laser, Mendlemax

Re: How can I copy and paste crv files while retaining layer

Postby Adrian » Sun Oct 29, 2017 10:31 am

The original question is over 5 years old now. The handling of copied vectors is different in the current versions and layers are preserved. It is also possible to drag and drop directly from explorer windows as well now.
User avatar
Adrian
Vectric Archimage
 
Posts: 7423
Joined: Thu Nov 23, 2006 2:19 pm
Location: Surrey, UK
Model of CNC Machine: ShopBot PRS Alpha 96x48

Re: How can I copy and paste crv files while retaining layer

Postby Bobtail Farm » Wed Nov 01, 2017 11:12 am

thanks for the drag and drop tip.
Bobtail Farm
Vectric Apprentice
 
Posts: 56
Joined: Mon Dec 01, 2014 3:53 pm
Model of CNC Machine: Homemade


Return to VCarve - General

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 20 guests