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
1e9a65f5
Commit
1e9a65f5
authored
Aug 18, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew bug solved: Horizontal Oblong pads holes have a bad T Code size in the drill file
parent
f3230893
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
71 additions
and
32 deletions
+71
-32
3d_draw.cpp
3d-viewer/3d_draw.cpp
+4
-6
3d_toolbar.cpp
3d-viewer/3d_toolbar.cpp
+1
-1
makefile.include
bitmaps/makefile.include
+1
-0
shape_3d.xpm
bitmaps/shape_3d.xpm
+33
-0
change_log.txt
change_log.txt
+8
-2
bitmaps.h
include/bitmaps.h
+1
-0
build_version.h
include/build_version.h
+1
-1
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+19
-19
class_pad.cpp
pcbnew/class_pad.cpp
+2
-2
gen_holes_and_tools_lists_for_drill.cpp
pcbnew/gen_holes_and_tools_lists_for_drill.cpp
+1
-1
No files found.
3d-viewer/3d_draw.cpp
View file @
1e9a65f5
...
...
@@ -125,7 +125,6 @@ GLuint Pcb3D_GLCanvas::CreateDrawGL_List()
g_Parm_3D_Visu
.
m_LayerZcoord
[
ii
]
=
g_Parm_3D_Visu
.
m_Epoxy_Width
;
}
//GLfloat zpos_cu = 500 * g_Parm_3D_Visu.m_BoardScale;
GLfloat
zpos_cu
=
10
*
g_Parm_3D_Visu
.
m_BoardScale
;
GLfloat
zpos_cmp
=
g_Parm_3D_Visu
.
m_Epoxy_Width
+
zpos_cu
;
g_Parm_3D_Visu
.
m_LayerZcoord
[
ADHESIVE_N_CU
]
=
-
zpos_cu
*
2
;
...
...
@@ -406,7 +405,8 @@ void Pcb3D_GLCanvas::Draw3D_DrawText( TEXTE_PCB* text )
double
x
,
y
,
xf
,
yf
;
double
zpos
,
w
;
int
color
=
g_Parm_3D_Visu
.
m_BoardSettings
->
m_LayerColor
[
layer
];
int
coord
[
104
];
#define BUFFSIZE 50
int
coord
[(
BUFFSIZE
+
2
)
*
2
];
int
ii
,
jj
,
kk
,
ll
,
nbpoints
;
...
...
@@ -415,13 +415,12 @@ void Pcb3D_GLCanvas::Draw3D_DrawText( TEXTE_PCB* text )
zpos
=
g_Parm_3D_Visu
.
m_LayerZcoord
[
layer
];
glNormal3f
(
0.0
,
0.0
,
Get3DLayerSide
(
layer
)
);
text
->
CreateDrawData
();
jj
=
5
;
ii
=
jj
+
1
;
while
(
ii
<
text
->
m_TextDrawingsSize
)
{
nbpoints
=
text
->
m_TextDrawings
[
jj
];
if
(
nbpoints
>
50
)
nbpoints
=
50
;
if
(
nbpoints
>
BUFFSIZE
)
nbpoints
=
BUFFSIZE
;
for
(
kk
=
0
,
ll
=
0
;
(
kk
<
nbpoints
)
&&
(
ii
<
text
->
m_TextDrawingsSize
);
kk
++
)
{
...
...
@@ -440,7 +439,6 @@ void Pcb3D_GLCanvas::Draw3D_DrawText( TEXTE_PCB* text )
xf
=
coord
[
ll
+
2
]
*
g_Parm_3D_Visu
.
m_BoardScale
;
yf
=
coord
[
ll
+
3
]
*
g_Parm_3D_Visu
.
m_BoardScale
;
//printf("text koordinata x=%d, y=%d, x2=%d, y2=%d\n",x,y,xf,yf);
Draw3D_FilledSegment
(
x
,
-
y
,
xf
,
-
yf
,
w
,
zpos
);
}
}
...
...
3d-viewer/3d_toolbar.cpp
View file @
1e9a65f5
...
...
@@ -132,7 +132,7 @@ bool full_options = true;
if
(
full_options
)
{
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_MODULE_ONOFF
,
_
(
"3D Footprints Shapes On/Off"
),
add_component
_xpm
);
_
(
"3D Footprints Shapes On/Off"
),
shape_3d
_xpm
);
#if 0
ADD_MENUITEM( referencesMenu, ID_MENU3D_PLACE_ONOFF,
...
...
bitmaps/makefile.include
View file @
1e9a65f5
...
...
@@ -249,6 +249,7 @@ OBJECTS = \
showtrack.o
\
Show_Zone.o
\
Swap_Layer.o
\
shape_3d.o
\
Text_Sketch.o
\
tool_ratsnet.o
\
tools.o
\
...
...
bitmaps/shape_3d.xpm
0 → 100644
View file @
1e9a65f5
/* XPM */
const char *shape_3d_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 11 1",
" c none",
"$ c #ACAEAC",
"% c #3C3E3C",
"+ c #535553",
"X c #B40204",
"@ c #2C2A2C",
"# c #CCCECC",
"& c #044A04",
". c #6B6A6B",
"o c #6C6E6C",
"O c #353335",
/* pixels */
" .X ",
" ..o..o.. X ",
" O..oo......o. ",
" O..........o...",
" .o.O.......o...",
" o..O...oo.o.oo.",
" ...Oo..oo.o.oo.",
" .+++...oo.o.oo.",
" ....o......o...",
" .......oo......",
" @@@@o........o.",
" ### ###@+##@@",
" $$$ $$$ $$$ ",
" ++$ O$$ %$$ ",
" &XX &X %X ",
" "
};
change_log.txt
View file @
1e9a65f5
...
...
@@ -5,11 +5,17 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2008-Aug-18 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+pcbnew:
bug solved: Horizontal Oblong pads holes have a bad T Code size.
2008-Aug-15 UPDATE Jerry Jacobs <jerkejacobs@gmail.com>
================================================================================
+About dialog
+About dialog
modified: (common.cpp) GetAboutBuildVersion() is a custom build version for the about dialog
(config.h.cmake)
(config.h.cmake)
(CreateSVNVersionHeader.cmake) KICAD_ABOUT_VERSION macro added
added: (about_dialog.cpp) InitKiCadAbout() initalise the about dialog
...
...
include/bitmaps.h
View file @
1e9a65f5
...
...
@@ -7,6 +7,7 @@
// Please keep list sorted alphabetically, ignoring case.
extern
const
char
*
shape_3d_xpm
[];
extern
const
char
*
add_arc_xpm
[];
extern
const
char
*
add_bus2bus_xpm
[];
extern
const
char
*
add_bus_xpm
[];
...
...
include/build_version.h
View file @
1e9a65f5
...
...
@@ -9,7 +9,7 @@ COMMON_GLOBL wxString g_BuildVersion
# include "config.h"
(
wxT
(
KICAD_SVN_VERSION
))
# else
(
wxT
(
"(2008081
1.r1188
)"
))
(
wxT
(
"(2008081
8.r1197
)"
))
# endif
#endif
;
...
...
internat/fr/kicad.mo
View file @
1e9a65f5
No preview for this file type
internat/fr/kicad.po
View file @
1e9a65f5
...
...
@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-08-17 18:59+0100\n"
"PO-Revision-Date: 2008-08-17
19:02
+0100\n"
"PO-Revision-Date: 2008-08-17
21:41
+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -2591,7 +2591,7 @@ msgstr "Selection couleurs et affichage des éléments du C.I."
#: pcbnew/menubarpcb.cpp:184
msgid "&General Options"
msgstr "Options &
g
énérales"
msgstr "Options &
G
énérales"
#: pcbnew/menubarpcb.cpp:185
msgid "Select general options for pcbnew"
...
...
@@ -3658,7 +3658,7 @@ msgstr "Tracé en Negatif"
#: pcbnew/pcbplot.cpp:276
msgid "Save Options"
msgstr "Sauver
o
ptions"
msgstr "Sauver
O
ptions"
#: pcbnew/pcbplot.cpp:280
msgid "Create Drill File"
...
...
@@ -3738,7 +3738,7 @@ msgstr "Perçage réel"
#: pcbnew/pcbplot.cpp:399
msgid "Pads Drill Opt"
msgstr "Options
perçage
"
msgstr "Options
Perçage Pads
"
#: pcbnew/pcbplot.cpp:406
msgid "Auto scale"
...
...
@@ -5484,7 +5484,7 @@ msgstr "Parts par omposant"
#: eeschema/dialog_create_component.cpp:246
msgid "Draw options"
msgstr "Options
affichage
"
msgstr "Options
de Tracé
"
#: eeschema/dialog_create_component.cpp:250
msgid "Show Pin Number"
...
...
@@ -5891,7 +5891,7 @@ msgstr "Incrément Y"
#: eeschema/dialog_options.cpp:227
msgid "Draw Options:"
msgstr "Options de
t
racé:"
msgstr "Options de
T
racé:"
#: eeschema/dialog_options.cpp:231
msgid "Show grid"
...
...
@@ -6497,7 +6497,7 @@ msgstr "Déplacer arc"
#: eeschema/libedit_onrightclick.cpp:81
msgid "Arc Options"
msgstr "Options"
msgstr "Options
pour l'Arc
"
#: eeschema/libedit_onrightclick.cpp:84
msgid "Delete Arc "
...
...
@@ -6509,7 +6509,7 @@ msgstr "Déplacer Cercle"
#: eeschema/libedit_onrightclick.cpp:96
msgid "Circle Options"
msgstr "Options"
msgstr "Options
pour le Cercle
"
#: eeschema/libedit_onrightclick.cpp:99
msgid "Delete Circle "
...
...
@@ -6521,7 +6521,7 @@ msgstr "Déplacer Rect"
#: eeschema/libedit_onrightclick.cpp:111
msgid "Rect Options"
msgstr "Options"
msgstr "Options
pour le Rectangle
"
#: eeschema/libedit_onrightclick.cpp:114
msgid "Delete Rect "
...
...
@@ -6662,7 +6662,7 @@ msgstr "Addition de \"pins\""
#: eeschema/libframe.cpp:483
msgid "Set Pin Options"
msgstr "Choix Options des
p
ins"
msgstr "Choix Options des
P
ins"
#: eeschema/libframe.cpp:505
msgid "Add Rectangle"
...
...
@@ -7089,7 +7089,7 @@ msgstr "Utiliser numéro de net"
#: eeschema/netlist_control.cpp:245
msgid "Netlist Options:"
msgstr "Options de
n
etliste:"
msgstr "Options de
N
etliste:"
#: eeschema/netlist_control.cpp:254
msgid "Simulator command:"
...
...
@@ -7490,7 +7490,7 @@ msgstr "Format de la feuille:"
#: eeschema/plotps.cpp:209
msgid "Plot Options:"
msgstr "Options de
t
racé:"
msgstr "Options de
T
racé:"
#: eeschema/plotps.cpp:218
msgid "B/W"
...
...
@@ -7655,7 +7655,7 @@ msgstr "Taille:"
#: eeschema/symbtext.cpp:158
msgid " Text Options : "
msgstr "Options du
texte:
"
msgstr "Options du
Texte:
"
#: eeschema/tool_lib.cpp:45
msgid "deselect current tool"
...
...
@@ -7993,7 +7993,7 @@ msgstr "Num de la pin :"
#: eeschema/pinedit-dialog.cpp:174
msgid " Pin Options :"
msgstr "Options
p
in :"
msgstr "Options
P
in :"
#: eeschema/pinedit-dialog.cpp:190
msgid "Pin Lenght"
...
...
@@ -8170,7 +8170,7 @@ msgstr "Cvpcb est est cours d'exécution. Continuer ?"
#: cvpcb/displayframe.cpp:118
msgid "Display Options"
msgstr "Options d'
a
ffichage"
msgstr "Options d'
A
ffichage"
#: cvpcb/genorcad.cpp:134
#, c-format
...
...
@@ -8953,7 +8953,7 @@ msgstr "Format 3.4"
#: gerbview/options.cpp:273
msgid "Gerbview Draw Options"
msgstr "Options d'
a
ffichage"
msgstr "Options d'
A
ffichage"
#: gerbview/options.cpp:299
msgid "Lines:"
...
...
@@ -9979,7 +9979,7 @@ msgstr "grille user"
#: pcbnew/cleaningoptions_dialog.h:48
msgid "Cleaning options"
msgstr "Options de
n
ettoyage"
msgstr "Options de
N
ettoyage"
#: pcbnew/dialog_drc.h:63
msgid "DRC Control"
...
...
@@ -9995,7 +9995,7 @@ msgstr "dialog_freeroute_exchange"
#: pcbnew/dialog_general_options.h:60
msgid "General Options"
msgstr "Options
g
énérales"
msgstr "Options
G
énérales"
#: pcbnew/dialog_initpcb.h:38
msgid "Global Delete"
...
...
@@ -10019,7 +10019,7 @@ msgstr "Dims Pistes et Vias"
#: pcbnew/dialog_zones_by_polygon.h:53
msgid "Fill Zones Options"
msgstr "Options de
r
emplissage de Zone"
msgstr "Options de
R
emplissage de Zone"
#: pcbnew/drc_stuff.h:147
#, c-format
...
...
pcbnew/class_pad.cpp
View file @
1e9a65f5
...
...
@@ -1019,8 +1019,8 @@ void D_PAD::Display_Infos( WinEDA_DrawFrame* frame )
{
valeur_param
(
(
unsigned
)
m_Drill
.
x
,
Line
);
wxString
msg
;
valeur_param
(
(
unsigned
)
m_Drill
.
x
,
msg
);
Line
+=
wxT
(
" "
)
+
msg
;
valeur_param
(
(
unsigned
)
m_Drill
.
y
,
msg
);
Line
+=
wxT
(
"
/
"
)
+
msg
;
Affiche_1_Parametre
(
frame
,
pos
,
_
(
"Drill X / Y"
),
Line
,
RED
);
}
...
...
pcbnew/gen_holes_and_tools_lists_for_drill.cpp
View file @
1e9a65f5
...
...
@@ -109,7 +109,7 @@ void Build_Holes_List( BOARD* aPcb,
new_hole
.
m_Tool_Reference
=
-
1
;
// Flag is: Not initialized
new_hole
.
m_Hole_Orient
=
pad
->
m_Orient
;
new_hole
.
m_Hole_Shape
=
0
;
// hole shape: round
new_hole
.
m_Hole_Diameter
=
min
(
pad
->
m_Drill
.
x
,
pad
->
m_Drill
.
x
);
new_hole
.
m_Hole_Diameter
=
min
(
pad
->
m_Drill
.
x
,
pad
->
m_Drill
.
y
);
new_hole
.
m_Hole_SizeX
=
new_hole
.
m_Hole_SizeY
=
new_hole
.
m_Hole_Diameter
;
if
(
pad
->
m_DrillShape
!=
PAD_CIRCLE
)
new_hole
.
m_Hole_Shape
=
1
;
// oval flag set
...
...
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