Fix export to DXF-AAMA. Don't "draw" a main path if seam allowance is built-in.
--HG-- branch : develop
This commit is contained in:
parent
188de5aa17
commit
6fa7be60e4
|
@ -677,7 +677,7 @@ void VDxfEngine::ExportAAMAOutline(dx_ifaceBlock *detailBlock, const VLayoutPiec
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VDxfEngine::ExportAAMADraw(dx_ifaceBlock *detailBlock, const VLayoutPiece &detail)
|
void VDxfEngine::ExportAAMADraw(dx_ifaceBlock *detailBlock, const VLayoutPiece &detail)
|
||||||
{
|
{
|
||||||
if (not detail.IsHideMainPath())
|
if (not detail.IsHideMainPath() && not detail.IsSeamAllowanceBuiltIn())
|
||||||
{
|
{
|
||||||
QVector<QPointF> poly = detail.GetContourPoints();
|
QVector<QPointF> poly = detail.GetContourPoints();
|
||||||
if (DRW_Entity *e = AAMAPolygon(poly, QChar('8'), true))
|
if (DRW_Entity *e = AAMAPolygon(poly, QChar('8'), true))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user