Best approach to effectively clip paths within an area

Home Evil Mad Scientist Forums AxiDraw Best approach to effectively clip paths within an area

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30354
    LittleEndian
    Participant

    Hi AxiDrawers,

    I’m quite new to the field (plotting and vector graphics) and I’ve just received my SE/A3. I’ve written a program that basically draws a set of paths and an outer rectangular frame. I want to make sure that all the paths are within the frame, but although I’ve made sure that no control point gets generated outside of the frame, some paths still excurse out of the frame because of their Bezier-ness. Here’s a screenshot showing what I mean: https://imgur.com/a/Escw9DS.

    Even if I clip all paths withing the frame in Inkscape, the AxiDraw will still draw them fully. I assume AxiDraw operates based on the control points and don’t honor any clipping as a result.

    What would be the best way to achieve this? I guess the cleanest would be to generate paths that don’t excurse out of the frame but I haven’t found a way to test for these excursions programmatically (yet – using VectSharp in C#).

    Thanks in advance for helping an AxiNoob!

    #30560
    Windell Oskay
    Keymaster

    There’s no support for clipping paths in the AxiDraw software at present, though it is a planned feature (work is underway, but has been for a while).

    That said, the AxiDraw software does treat the document bounds as a (rectangular only) clipping path. If you can arrange your document bounds such that they appear exactly at your intended clipping bounds, that will work just fine in practice.

    #30561
    LittleEndian
    Participant

    Noted, will try that, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.