How do I move individual parts of a clipped region?

Post questions on how to use or achieve an effect in Inkscape.
lazyLaser
Posts: 3
Joined: Wed May 25, 2016 4:24 am

How do I move individual parts of a clipped region?

Postby lazyLaser » Wed May 25, 2016 4:33 am

I have a layer of shapes and a layer of paths that I am using as the source for laser cutting some objects. My goal is to clip the paths to the outline of the shapes, then move the resulting paths and shapes close together to prevent material waste when cutting. So far, I have done the clipping portion as follows:
  • Separate shapes and paths into two layers
  • Duplicate shapes layer and rename "Shapes - clipping" and hide original shapes layer
  • Group all shapes together (click and drag around them, then object->group)
  • Move clipping layer to be above paths
  • select all shapes from the clipping layer and all paths by using the pointer tool to shift+click and drag a box around everything
  • Objects->clip->set
  • Unhide original shapes layer
Which causes the image to be clipped as I expect:
stackexchangeMerge1.PNG
stackexchangeMerge1.PNG (137.02 KiB) Viewed 1636 times


What I can't figure out now is how to independently move each of these shapes. If I try to alt click and drag across the paths, and adding a single circle to the selection, it ends up selecting all the paths and moving them as one. How do I instead move just the paths clipped by a single circle? Is it possible to separate the paths based on the shape so that they are no longer connected "underneath" the clipped layer? My goal (pardon the MSPaint mockup) is to change the move behavior after clipping to behave as follows:
stackexchangeMerge2.PNG
stackexchangeMerge2.PNG (129.19 KiB) Viewed 1636 times


Thanks!

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: How do I move individual parts of a clipped region?

Postby tylerdurden » Wed May 25, 2016 7:08 am

I would avoid the layers and make duplicates or clones of the object to be clipped and clip those with the clipping path(s).
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

lazyLaser
Posts: 3
Joined: Wed May 25, 2016 4:24 am

Re: How do I move individual parts of a clipped region?

Postby lazyLaser » Wed May 25, 2016 12:30 pm

I thought of that as a possibility, but am hoping to avoid that route. This is a simplified example of the real case I am trying to do, which is to etch road data onto a topographical map. The actual design I'm etching has something like 50 shapes that will be used to clip the (very intricate, large and time consuming to copy) path layer, which would end up being a huge amount of copying and pasting if I were to have a separate copy of the path layer for each of those 50+ shapes.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: How do I move individual parts of a clipped region?

Postby Moini » Wed May 25, 2016 10:08 pm

Just a really silly question I've always wanted to ask:

Do clips (instead of real Boolean cuts) actually work when you send the data to your laser engraver? I'm asking because clipping only hides parts of the path, they are still there. So the transformation to the data format for the engraving machine would need to turn the clip into a Boolean operation, as the engraver will only follow paths. Does it do that?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

lazyLaser
Posts: 3
Joined: Wed May 25, 2016 4:24 am

Re: How do I move individual parts of a clipped region?

Postby lazyLaser » Thu May 26, 2016 5:08 am

I'm actually not sure about that one... normally when etching, I switch the cutter into raster mode. I'm normally etching something grayscale, which I don't know how to do with a vector image, as I don't know how to get the laser cutter to do variable power to get variable cut depths with a vector.

Much more interestingly, though, is that I think you might have pointed me in the right direction for what I need to be doing. I was unaware of the cut paths tool, and I think this might be what I need. So if I combine my paths into a single path, then use the cut path function after selecting the shapes and lines layers, I end up with paths that have breaks where they intersected the shapes. Is it possible then to automatically select everything outside of the objects in the shapes layer for a mass delete? Or am I stuck alt+click and dragging to individually select the cut portions of the path for deletion?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: How do I move individual parts of a clipped region?

Postby Moini » Thu May 26, 2016 7:48 am

Maybe you're looking for 'Invert selection'? See https://inkscape.org/en/doc/keys091.html#d0e2399 (! or Alt+!)

Didn't know you would be using a raster representation - but for etching, that makes sense :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: How do I move individual parts of a clipped region?

Postby tylerdurden » Thu May 26, 2016 9:21 pm

Some lasers cutters will etch/engrave everything except lines that are stroked to "hairline" or less than .003". So any filled object will engrave and any path with a stroke wider than hairline will engrave too. The engraved areas don't usually need to be converted to raster in the graphic... the laser software should handle that, in the sense that it will zip back and forth across the area firing the laser in a line array process like a CRT scan.

Similarly, the laser software should have a mode to interpret greyscale fills as engrave power; lighter often being less power and darker being more power (and therefore engraved deeper). Another mode should allow mapping specific colors to preset engraving power levels.

What make/model laser cutter?
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: How do I move individual parts of a clipped region?

Postby tylerdurden » Thu May 26, 2016 9:24 pm

I don't see dozens of copies being a big issue... scores or hundreds might need a more elaborate approach.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “Help with using Inkscape”