Inkscape.org
Beyond the Basics separating curve into sections basedon their angle
  1. #1
    Lily Lily @LilyLikesPlants

    hey all!

    is there a way to separate a curve into different sections based on their angle/tangent? I'm trying to design embroidery for cutowrk needles and they come in 0, 45, 90 and 135 angle varients, and need to separate the curve into sections to be cut by said needles. Is there an extension/way to do it?

    explanatory-ish images of what i need to do are attached

     

    Cheers! TIA!

    Screenshot From 2021 03 20 20 13 00
    Screenshot From 2021 03 20 20 13 09
    Screenshot From 2021 03 20 20 15 03
  2. #2
    inklinea inklinea @inklinea⛰️

    Can be done manually with these settings : 

    Edit>Preferences>Behaviour>Step set to 45 deg

    Snap enabled, snap to path enabled.

    Holding the Ctrl key whilst drawing with the pen tool with straight line sequence enabled on the command bar.

    This will constrain the lines to 45 deg angle increments.

    In fact, perhaps snap to path is not needed if you are doing it by eye to an imported bitmap.

    Poly45Deg
  3. #3
    Lily Lily @LilyLikesPlants

    Thanks! But im looking to keep the original curve shape, and just cut it at points where their angle changes beyond the 45° limit the dashed lines are just to show what angle the edges are closes to, I'm looking to convert the black path to the colourful pieces.

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Hi Lily.  I think inklinea has the right idea, especially if you combine it with snapping.  Trace your curve with a path constrained to 45° angles.  Then use this path to cut the curve into pieces that can be individually coloured and styled.

  5. #5
    Lily Lily @LilyLikesPlants

    This is exactly what I needed! Thank you so much! 💜

  6. #6
    apksclub apksclub @apksclub

    Thank you so much. I was looking for the solution for same problem and go it. Again thanks to all.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics separating curve into sections basedon their angle