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
c39ef78d
Commit
c39ef78d
authored
Jan 15, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes.
parent
3685dbe4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
19 deletions
+20
-19
dialog_copper_zones.cpp
pcbnew/dialog_copper_zones.cpp
+1
-1
graph.cpp
polygon/kbool/src/graph.cpp
+19
-18
No files found.
pcbnew/dialog_copper_zones.cpp
View file @
c39ef78d
...
@@ -282,7 +282,7 @@ bool dialog_copper_zone::AcceptOptions( bool aPromptForErrors, bool aUseExportab
...
@@ -282,7 +282,7 @@ bool dialog_copper_zone::AcceptOptions( bool aPromptForErrors, bool aUseExportab
if
(
m_Zone_Setting
->
m_ZoneMinThickness
<
10
)
if
(
m_Zone_Setting
->
m_ZoneMinThickness
<
10
)
{
{
DisplayError
(
this
,
DisplayError
(
this
,
_
(
"Error :
\n
you must choose a copper min thickness value bigger than 0.001 inch or 0.0
0
254 mm)"
)
);
_
(
"Error :
\n
you must choose a copper min thickness value bigger than 0.001 inch or 0.0254 mm)"
)
);
return
false
;
return
false
;
}
}
...
...
polygon/kbool/src/graph.cpp
View file @
c39ef78d
/*! \file src/graph.cpp
/*! \file src/graph.cpp
\brief Used to Intercect and other process functions
\brief Used to Intercect and other process functions
\author Klaas Holwerda
\author Klaas Holwerda
Copyright: 2001-2004 (C) Klaas Holwerda
Copyright: 2001-2004 (C) Klaas Holwerda
Licence: see kboollicense.txt
Licence: see kboollicense.txt
RCS-ID: $Id: graph.cpp,v 1.3 2008/06/04 21:23:22 titato Exp $
RCS-ID: $Id: graph.cpp,v 1.3 2008/06/04 21:23:22 titato Exp $
*/
*/
...
@@ -1497,9 +1497,9 @@ int Graph::ScanGraph2( SCANTYPE scantype, bool& holes )
...
@@ -1497,9 +1497,9 @@ int Graph::ScanGraph2( SCANTYPE scantype, bool& holes )
/*
/*
// scanbeam->writebeam();
// scanbeam->writebeam();
if (j%100 ==0)
if (j%100 ==0)
{
{
long x;
long x;
...
@@ -1511,33 +1511,33 @@ int Graph::ScanGraph2( SCANTYPE scantype, bool& holes )
...
@@ -1511,33 +1511,33 @@ int Graph::ScanGraph2( SCANTYPE scantype, bool& holes )
_GC->SetState(buf);
_GC->SetState(buf);
scanbeam->writebeam();
scanbeam->writebeam();
}
}
writegraph(false);
writegraph(false);
if (!checksort())
if (!checksort())
{
{
double x=_lowlink->GetBeginNode()->GetX();
double x=_lowlink->GetBeginNode()->GetX();
checksort();
checksort();
}
}
_LI++;
_LI++;
}
}
}
}
delete scanbeam;
delete scanbeam;
return 0;
return 0;
}
}
if (!checksort())
if (!checksort())
{
{
x=_lowlink->GetBeginNode()->GetX();
x=_lowlink->GetBeginNode()->GetX();
checksort();
checksort();
}
}
if (x >= -112200)
if (x >= -112200)
{
{
// writegraph(true);
// writegraph(true);
...
@@ -2555,7 +2555,7 @@ void Graph::WriteKEY( Bool_Engine* GC, FILE* file )
...
@@ -2555,7 +2555,7 @@ void Graph::WriteKEY( Bool_Engine* GC, FILE* file )
void
Graph
::
WriteGraphKEY
(
Bool_Engine
*
GC
)
void
Graph
::
WriteGraphKEY
(
Bool_Engine
*
GC
)
{
{
#if KBOOL_DEBUG == 1
double
scale
=
1.0
/
GC
->
GetGrid
()
/
GC
->
GetGrid
();
double
scale
=
1.0
/
GC
->
GetGrid
()
/
GC
->
GetGrid
();
FILE
*
file
=
fopen
(
"keygraphfile.key"
,
"w"
);
FILE
*
file
=
fopen
(
"keygraphfile.key"
,
"w"
);
...
@@ -2615,6 +2615,7 @@ void Graph::WriteGraphKEY(Bool_Engine* GC)
...
@@ -2615,6 +2615,7 @@ void Graph::WriteGraphKEY(Bool_Engine* GC)
"
);
"
);
fclose
(
file
);
fclose
(
file
);
#endif
}
}
...
...
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