Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
cfeb55a2
Commit
cfeb55a2
authored
Jan 09, 2011
by
Marco Mattila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clearance problem between zones and edge segments in pcbnew.
parent
9f9e7fd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
zones_convert_brd_items_to_polygons_with_Boost.cpp
pcbnew/zones_convert_brd_items_to_polygons_with_Boost.cpp
+3
-3
zones_convert_brd_items_to_polygons_with_Kbool.cpp
pcbnew/zones_convert_brd_items_to_polygons_with_Kbool.cpp
+3
-3
No files found.
pcbnew/zones_convert_brd_items_to_polygons_with_Boost.cpp
View file @
cfeb55a2
...
...
@@ -280,7 +280,7 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
if
(
item_boundingbox
.
Intersects
(
zone_boundingbox
)
)
{
(
(
EDGE_MODULE
*
)
item
)
->
TransformShapeWithClearanceToPolygon
(
cornerBufferPolysToSubstract
,
m_ZoneC
learance
,
cornerBufferPolysToSubstract
,
zone_c
learance
,
s_CircleToSegmentsCount
,
s_Correction
);
}
}
...
...
@@ -297,7 +297,7 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
case
TYPE_DRAWSEGMENT
:
(
(
DRAWSEGMENT
*
)
item
)
->
TransformShapeWithClearanceToPolygon
(
cornerBufferPolysToSubstract
,
m_ZoneC
learance
,
zone_c
learance
,
s_CircleToSegmentsCount
,
s_Correction
);
break
;
...
...
@@ -306,7 +306,7 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
case
TYPE_TEXTE
:
(
(
TEXTE_PCB
*
)
item
)
->
TransformShapeWithClearanceToPolygon
(
cornerBufferPolysToSubstract
,
m_ZoneC
learance
,
zone_c
learance
,
s_CircleToSegmentsCount
,
s_Correction
);
break
;
...
...
pcbnew/zones_convert_brd_items_to_polygons_with_Kbool.cpp
View file @
cfeb55a2
...
...
@@ -318,7 +318,7 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
if
(
item_boundingbox
.
Intersects
(
zone_boundingbox
)
)
{
(
(
EDGE_MODULE
*
)
item
)
->
TransformShapeWithClearanceToPolygon
(
cornerBufferPolysToSubstract
,
m_ZoneC
learance
,
cornerBufferPolysToSubstract
,
zone_c
learance
,
s_CircleToSegmentsCount
,
s_Correction
);
}
}
...
...
@@ -335,7 +335,7 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
case
TYPE_DRAWSEGMENT
:
(
(
DRAWSEGMENT
*
)
item
)
->
TransformShapeWithClearanceToPolygon
(
cornerBufferPolysToSubstract
,
m_ZoneC
learance
,
zone_c
learance
,
s_CircleToSegmentsCount
,
s_Correction
);
break
;
...
...
@@ -344,7 +344,7 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
case
TYPE_TEXTE
:
(
(
TEXTE_PCB
*
)
item
)
->
TransformShapeWithClearanceToPolygon
(
cornerBufferPolysToSubstract
,
m_ZoneC
learance
,
zone_c
learance
,
s_CircleToSegmentsCount
,
s_Correction
);
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment