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
76d4054d
Commit
76d4054d
authored
Mar 03, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cvpcb doc update. others updates and minor bugs fixes.
parent
d03d8815
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
3 deletions
+19
-3
3d_draw.cpp
3d-viewer/3d_draw.cpp
+7
-0
build_version.h
include/build_version.h
+1
-1
dialog_copper_zones.cpp
pcbnew/dialog_copper_zones.cpp
+9
-0
kicad.pro
template/kicad.pro
+1
-1
version.txt
version.txt
+1
-1
No files found.
3d-viewer/3d_draw.cpp
View file @
76d4054d
...
...
@@ -108,8 +108,15 @@ GLuint Pcb3D_GLCanvas::CreateDrawGL_List()
g_Parm_3D_Visu
.
m_BoardPos
=
pcb
->
m_BoundaryBox
.
Centre
();
g_Parm_3D_Visu
.
m_BoardPos
.
y
=
-
g_Parm_3D_Visu
.
m_BoardPos
.
y
;
g_Parm_3D_Visu
.
m_Layers
=
pcb
->
m_BoardSettings
->
m_CopperLayerCount
;
// Ensure the board has 2 sides for 3D views, because it is hard to find a *really* single side board in the true life...
if
(
g_Parm_3D_Visu
.
m_Layers
<
2
)
g_Parm_3D_Visu
.
m_Layers
=
2
;
g_Parm_3D_Visu
.
m_BoardScale
=
2.0
/
MAX
(
g_Parm_3D_Visu
.
m_BoardSize
.
x
,
g_Parm_3D_Visu
.
m_BoardSize
.
y
);
// @TODO: epoxy_width (board thickness) must be set by user,
// because all boards thickness no not match with this setup:
double
epoxy_width
=
1.6
;
// epoxy width in mm
g_Parm_3D_Visu
.
m_Epoxy_Width
=
epoxy_width
/
2.54
*
1000
*
g_Parm_3D_Visu
.
m_BoardScale
;
...
...
include/build_version.h
View file @
76d4054d
...
...
@@ -3,7 +3,7 @@
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION
#define BUILD_VERSION wxT("(20090216-RC
3
)")
#define BUILD_VERSION wxT("(20090216-RC
4
)")
COMMON_GLOBL
wxString
g_BuildVersion
#ifdef EDA_BASE
...
...
pcbnew/dialog_copper_zones.cpp
View file @
76d4054d
...
...
@@ -269,6 +269,15 @@ bool dialog_copper_zone::AcceptOptions( bool aPromptForErrors, bool aUseExportab
m_Zone_Setting
->
m_ZoneClearance
=
ReturnValueFromString
(
g_UnitMetric
,
txtvalue
,
m_Parent
->
m_InternalUnits
);
// Test if this is a reasonnable value for this parameter
// A too large value can hang pcbnew
#define CLEARANCE_MAX_VALUE 5000 // in 1/10000 inch
if
(
m_Zone_Setting
->
m_ZoneClearance
>
CLEARANCE_MAX_VALUE
)
{
DisplayError
(
this
,
_
(
"Error : Zone clearance is set to an unreasonnable value"
)
);
return
false
;
}
txtvalue
=
m_ZoneMinThicknessCtrl
->
GetValue
();
m_Zone_Setting
->
m_ZoneMinThickness
=
ReturnValueFromString
(
g_UnitMetric
,
txtvalue
,
m_Parent
->
m_InternalUnits
);
...
...
template/kicad.pro
View file @
76d4054d
...
...
@@ -117,7 +117,7 @@ LabSize=60
[
eeschema
/
libraries
]
LibName1
=
power
LibName2
=
device
LibName3
=
transistor
LibName3
=
transistor
s
LibName4
=
conn
LibName5
=
linear
LibName6
=
regul
...
...
version.txt
View file @
76d4054d
release version:
16 feb 2009
files (.zip,.tgz):
kicad-2009-02-16-RC
3
kicad-2009-02-16-RC
4
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