Fix seam allowance bug. Speacial "dart" case.
--HG-- branch : feature
This commit is contained in:
parent
98dad0fb72
commit
cf5afffd60
|
@ -437,11 +437,14 @@ QVector<QPointF> VAbstractPiece::EkvPoint(const VSAPoint &p1Line1, const VSAPoin
|
||||||
QPointF px;
|
QPointF px;
|
||||||
const QLineF::IntersectType type = bigEdge.intersect(line, &px);
|
const QLineF::IntersectType type = bigEdge.intersect(line, &px);
|
||||||
if (type != QLineF::BoundedIntersection)
|
if (type != QLineF::BoundedIntersection)
|
||||||
|
{
|
||||||
|
if (line.length() < QLineF(p2Line1, px).length())
|
||||||
{
|
{
|
||||||
points.append(CrosPoint);
|
points.append(CrosPoint);
|
||||||
return points;
|
return points;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const QLineF bigEdge = ParallelLine(bigLine1.p2(), bigLine2.p1(), localWidth );
|
const QLineF bigEdge = ParallelLine(bigLine1.p2(), bigLine2.p1(), localWidth );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user