Open Neon22 opened 8 years ago
someone else mentioned this to me too. I think it's do-able but not necessarily a trivial change, the 2 co-linear parts would have to be split into 3.
I'll add it to the todo list : ]
ahh - no - ideally reduces to one...
Right, I mean that instead of 2 closed paths we'd end up with 3 open paths in the output.
Currently the output is simply the input svg paths with some transforms applied. Implementing this feature would require an extra post-processor before export.
Then implement post-processors. Nuff said. You know what your talking about. (unless of course you have a better idea, then screw that and implement that intead :)
Great work !. I suggest an optimisation which could be added as an option.
If two edges are coincident and one lies enirely within the length of the other, then eliminate the shorter edge.
This will optimise out the duplication of cuts in a way that does not chop an edge into a number of shorter cuts - which frequently generates bumps in a physically cut result. Further types of reuction could be looked at as well but the direction and order of each cut is an ordering problem within the SVG and a tricky one to calculate.