Author Topic: New polyline  (Read 5875 times)

Offline meeks

  • Ewok
  • *
  • Posts: 8
    • View Profile
New polyline
« on: October 08, 2025, 15:24:30 pm »
Hi,

just wondering if anyone has seen the same:

Im working on inlays using the great V-Engrave and Inlay calculator plugins. I need four layers for substrate engrave, substrate pocket, inlay engrave and inlay pocket.

When creating a new offset polyline it will always be created to the last layer, not the active one. Then I need to drag it up to the correct layer for making regions.

What’s the catch here? Some setting I’m not aware of?

>m

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 9074
    • View Profile
Re: New polyline
« Reply #1 on: October 08, 2025, 16:57:55 pm »
Any operation to an existing feature that results in a new feature creates that new feature in the existing feature's layer.

That's not a deficiency in the software.  You don't want 'afterthought operations' just landing in some unrelated layer.  If they belong there, move them.  It's as simple as click and drag.  It's not any 'work' to do.  OR, if you wish to create separate features for an item, move a copy of the original feature to a new layer.

Lloyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7564
    • View Profile
    • Cambam V1.0 French Doc
Re: New polyline
« Reply #2 on: October 08, 2025, 21:49:20 pm »
Hello

Quote
Any operation to an existing feature that results in a new feature creates that new feature in the existing feature's layer.

I don't get this result, if I perform an offset on an existing polyline, the result falls on the active layer (the one with the small green arrow on the left side of his name), not on the layer where stand the source polyline and no matter the layer order in the list.

https://cambamcnc.com/doc/1.0/cad/layers.html

have a look on the video

++
David

edit: plugins may works differently, depending of the programmer wishes.


« Last Edit: October 08, 2025, 22:00:56 pm by dh42 »

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7564
    • View Profile
    • Cambam V1.0 French Doc
Re: New polyline
« Reply #3 on: October 08, 2025, 22:05:29 pm »
and when you perform a copy/paste, if a layer is selected when you "paste", the result is pasted in the selected layer, if no layer selected the copy falls on the active one. If more than one layer is selected, the copy falls on the active one too.

++
David

Offline meeks

  • Ewok
  • *
  • Posts: 8
    • View Profile
Re: New polyline
« Reply #4 on: October 08, 2025, 23:34:27 pm »
Correct,
that’s what I expected to happen. I created a new offset poly line from template on a visible layer first I thought it didn’t create anything. Only when I made the last layer at the bottom visible I found the offset poly landed there. So now I keep the bottom layer open and visible so I can immediately drag and drop it where it belongs (for creating a region).

This is a new feature I didn’t have in 0.9.8 or the earlier 34-bit version of 1.0

>m

 
Any operation to an existing feature that results in a new feature creates that new feature in the existing feature's layer.

That's not a deficiency in the software.  You don't want 'afterthought operations' just landing in some unrelated layer.  If they belong there, move them.  It's as simple as click and drag.  It's not any 'work' to do.  OR, if you wish to create separate features for an item, move a copy of the original feature to a new layer.

Lloyd

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7564
    • View Profile
    • Cambam V1.0 French Doc
Re: New polyline
« Reply #5 on: October 09, 2025, 00:00:37 am »
a visible layer and a active layer is not the same. The active layer is the one with the green arrow, it is the last created layer, but you can change that. Select the layer you want as active layer by a right click on his name and select "set as active layer" in the context menu.

Quote
I created a new offset poly line from template on a visible layer first I thought it didn’t create anything. Only when I made the last layer at the bottom visible I found the offset poly landed there

Yep, a layer can be the active one AND also be hidden, and you don't get any warning about the fact that you draw on a hidden layer (and of course, what you drawn is not visible) ... This is a common pitfall with CamBam. ;D

++
David

Offline pixelmaker

  • CNC Jedi
  • *****
  • Posts: 1995
    • View Profile
    • pixelmaker
Re: New polyline
« Reply #6 on: October 09, 2025, 08:54:35 am »
The term “active layer” should be written in bold. I believe that is where the issue lies. An active layer is indicated by a green triangle. When new polylines are created, they are always found on the active layer. When meeks refers to the active layer, it should be clarified that he does not mean the layer on which he selects a polyline, but rather the layer indicated by the green triangle. I can work on a selected layer and it is still not the “active layer.”

The fastest way to move objects from one layer to another is to use “cut and paste.”   


Offline meeks

  • Ewok
  • *
  • Posts: 8
    • View Profile
Re: New polyline
« Reply #7 on: October 09, 2025, 10:44:00 am »
Well,
That is the likely explanation, will check

>m

EDIT: indeed - this is the case. New polylines will land at the end of the list of ACTIVE layer. Copies stay within the source layer.

The term “active layer” should be written in bold. I believe that is where the issue lies. An active layer is indicated by a green triangle. When new polylines are created, they are always found on the active layer. When meeks refers to the active layer, it should be clarified that he does not mean the layer on which he selects a polyline, but rather the layer indicated by the green triangle. I can work on a selected layer and it is still not the “active layer.”

The fastest way to move objects from one layer to another is to use “cut and paste.”   
« Last Edit: October 09, 2025, 12:41:53 pm by meeks »

Offline pixelmaker

  • CNC Jedi
  • *****
  • Posts: 1995
    • View Profile
    • pixelmaker
Re: New polyline
« Reply #8 on: October 09, 2025, 14:31:55 pm »
indeed - this is the case. New polylines will land at the end of the list of ACTIVE layer. Copies stay within the source layer.

You can make any layer the active layer, including the one containing the source objects.
When creating new objects, such as with “Offset,” “Remove Overlaps,” etc., it is often advantageous to have the new polylines on a different layer.
Right-click on the desired layer and select “Set as active layer.”