Menu

#6 duplicate path removal

open
nobody
None
5
2010-10-19
2010-10-19
Anonymous
No

when working with large offsets (voronoi style), the coinciding lines are milled two times. while milling twice can be desired in some cases (i've heard of people doing it to enhance their pcb quality), it is generally not desired.

i'd imagine a solution where before a movement it is checked whether the part about to be milled is already milled and in that case pulling up and moving to where it's important to mill again.

Discussion

  • Anonymous

    Anonymous - 2010-10-19

    adding it here because it sounds like in the implementation it would be similar:

    if an outline is specified, lines outside that outline don't need to be engraved; the milling process can stop where the board will be cut out, and the cutting line doesn't have to be engraved either.

     
  • Anonymous

    Anonymous - 2010-11-18

    another way would be to completly dump the component-based path tracing.
    Starting from the grown image, start with a black pixel on a path, follow the path until an intersection. choose the right-most "street" and continue. And dump all the visited points in a std:.vector. When visiting a pixel, also change its color, so that future visits will not consider the already visited path again.
    When stuck in a dead end, scan for a new black pixel in a path, start again, and create a list of all std::vector paths.
    Until there are no more black-pixel paths left.

    Do my simplify-path on any path in the std::list, output path...

    greetings, bernhard

    Maybe do some way optimization of this list.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.