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
e8778199
Commit
e8778199
authored
Jun 18, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: Added: Option to show the via area while creating a new track. Better code.
parent
360eda0f
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
482 additions
and
452 deletions
+482
-452
CHANGELOG.txt
CHANGELOG.txt
+1
-1
gerberframe.cpp
gerbview/gerberframe.cpp
+1
-1
gerbview_config.cpp
gerbview/gerbview_config.cpp
+1
-1
lay2plot.cpp
gerbview/lay2plot.cpp
+1
-1
options.cpp
gerbview/options.cpp
+1
-1
tool_gerber.cpp
gerbview/tool_gerber.cpp
+1
-1
tracepcb.cpp
gerbview/tracepcb.cpp
+1
-1
pcbstruct.h
include/pcbstruct.h
+20
-4
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+356
-330
class_track.cpp
pcbnew/class_track.cpp
+2
-2
classpcb.cpp
pcbnew/classpcb.cpp
+4
-4
dialog_display_options.cpp
pcbnew/dialog_display_options.cpp
+22
-17
editrack.cpp
pcbnew/editrack.cpp
+63
-66
pcbcfg.h
pcbnew/pcbcfg.h
+5
-13
pcbnew.cpp
pcbnew/pcbnew.cpp
+0
-1
pcbnew.h
pcbnew/pcbnew.h
+0
-6
print_board_functions.cpp
pcbnew/print_board_functions.cpp
+3
-2
No files found.
CHANGELOG.txt
View file @
e8778199
...
...
@@ -9,7 +9,7 @@ email address.
++Pcbnew:
Added: in DRC tests: tests for vias min size and tracks min width.
Added: Option to show the via area while creating a new track.
Useful in compact designs to know ho
s
to place a via during track creation.
Useful in compact designs to know ho
w
to place a via during track creation.
2009-june-11 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
...
...
gerbview/gerberframe.cpp
View file @
e8778199
...
...
@@ -59,7 +59,7 @@ BEGIN_EVENT_TABLE( WinEDA_GerberFrame, WinEDA_BasePcbFrame )
EVT_MENU
(
ID_COLORS_SETUP
,
WinEDA_GerberFrame
::
Process_Config
)
EVT_MENU
(
ID_OPTIONS_SETUP
,
WinEDA_GerberFrame
::
Process_Config
)
EVT_MENU
(
ID_PCB_
LOOK
_SETUP
,
WinEDA_GerberFrame
::
Process_Config
)
EVT_MENU
(
ID_PCB_
DISPLAY_OPTIONS
_SETUP
,
WinEDA_GerberFrame
::
Process_Config
)
EVT_MENU_RANGE
(
ID_LANGUAGE_CHOICE
,
ID_LANGUAGE_CHOICE_END
,
WinEDA_DrawFrame
::
SetLanguage
)
...
...
gerbview/gerbview_config.cpp
View file @
e8778199
...
...
@@ -51,7 +51,7 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event )
}
case
ID_PCB_TRACK_SIZE_SETUP
:
case
ID_PCB_
LOOK
_SETUP
:
case
ID_PCB_
DISPLAY_OPTIONS
_SETUP
:
case
ID_OPTIONS_SETUP
:
InstallPcbOptionsFrame
(
pos
,
id
);
break
;
...
...
gerbview/lay2plot.cpp
View file @
e8778199
...
...
@@ -28,7 +28,7 @@ void Print_PcbItems(BOARD * Pcb, wxDC *DC, int drawmode, int printmasklayer)
DisplayOpt
.
DisplayPadNoConn
=
0
;
DisplayOpt
.
DisplayPadIsol
=
0
;
DisplayOpt
.
DisplayPcbTrackFill
=
FILLED
;
DisplayOpt
.
DisplayTrackIsol
=
0
;
DisplayOpt
.
ShowTrackClearanceMode
=
DO_NOT_SHOW_CLEARANCE
;
DisplayOpt
.
DisplayDrawItems
=
FILLED
;
DisplayOpt
.
DisplayZonesMode
=
0
;
...
...
gerbview/options.cpp
View file @
e8778199
...
...
@@ -390,7 +390,7 @@ void WinEDA_GerberFrame::InstallPcbOptionsFrame( const wxPoint& pos, int id )
{
switch
(
id
)
{
case
ID_PCB_
LOOK
_SETUP
:
case
ID_PCB_
DISPLAY_OPTIONS
_SETUP
:
{
WinEDA_LookFrame
*
OptionsFrame
=
new
WinEDA_LookFrame
(
this
,
pos
);
...
...
gerbview/tool_gerber.cpp
View file @
e8778199
...
...
@@ -87,7 +87,7 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
ADD_MENUITEM_WITH_HELP
(
configmenu
,
ID_OPTIONS_SETUP
,
_
(
"&Options"
),
_
(
" Select general options"
),
preference_xpm
);
ADD_MENUITEM_WITH_HELP
(
configmenu
,
ID_PCB_
LOOK
_SETUP
,
_
(
"Display"
),
ADD_MENUITEM_WITH_HELP
(
configmenu
,
ID_PCB_
DISPLAY_OPTIONS
_SETUP
,
_
(
"Display"
),
_
(
" Select how items are displayed"
),
display_options_xpm
);
...
...
gerbview/tracepcb.cpp
View file @
e8778199
...
...
@@ -43,7 +43,7 @@ void WinEDA_DrawPanel::PrintPage( wxDC* DC, bool Print_Sheet_Ref, int printmaskl
DisplayOpt
.
DisplayModEdge
=
FILLED
;
DisplayOpt
.
DisplayModText
=
FILLED
;
DisplayOpt
.
DisplayPcbTrackFill
=
FILLED
;
DisplayOpt
.
DisplayTrackIsol
=
0
;
DisplayOpt
.
ShowTrackClearanceMode
=
DO_NOT_SHOW_CLEARANCE
;
DisplayOpt
.
DisplayDrawItems
=
FILLED
;
DisplayOpt
.
DisplayZonesMode
=
0
;
DisplayPolygonsModeImg
=
g_DisplayPolygonsModeSketch
;
...
...
include/pcbstruct.h
View file @
e8778199
...
...
@@ -268,6 +268,17 @@ public:
#include "class_marker.h"
#include "class_zone.h"
/* Values for DISPLAY_OPTIONS.ShowTrackClearanceMode parameter option
* This parameter controls how to show tracks and vias clerance area
*/
enum
ShowTrackClearanceModeList
{
DO_NOT_SHOW_CLEARANCE
=
0
,
// Do not show clearance areas
SHOW_CLEARANCE_NEW_TRACKS
,
// Show clearance areas only for new track during track creation
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS
,
/* Show clrearance areas only for new track during track creation,
* and shows a via clearnce area at end of current new segment (guide to place a nev via
*/
SHOW_CLEARANCE_ALWAYS
// Show Always clearance areas for track and vias
};
class
DISPLAY_OPTIONS
{
...
...
@@ -279,10 +290,15 @@ public:
int
DisplayModEdge
;
int
DisplayModText
;
bool
DisplayPcbTrackFill
;
/* FALSE = sketch , TRUE = filled */
bool
DisplayTrackIsol
;
int
m_DisplayViaMode
;
/* 0 do not show via hole,
bool
DisplayPcbTrackFill
;
/* FALSE = sketch , TRUE = filled */
int
ShowTrackClearanceMode
;
/* = 0 , 1 or 2
* 0 = do not show clearance
* 1 = show track clearance
* 2 = show clearance + via area
* (useful to know what clearance area is neede if we want to put a via on terminal track point)
*/
int
m_DisplayViaMode
;
/* 0 do not show via hole,
* 1 show via hole for non default value
* 2 show all via hole */
...
...
internat/fr/kicad.mo
View file @
e8778199
No preview for this file type
internat/fr/kicad.po
View file @
e8778199
...
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-06-1
1 14:39
+0100\n"
"PO-Revision-Date: 2009-06-1
1 14:40
+0100\n"
"POT-Creation-Date: 2009-06-1
8 20:32
+0100\n"
"PO-Revision-Date: 2009-06-1
8 20:35
+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -366,7 +366,6 @@ msgid "Layer"
msgstr "Couche"
#: pcbnew/class_pcb_text.cpp:242
#: pcbnew/cotation.cpp:109
msgid "Mirror"
msgstr "Miroir"
...
...
@@ -383,7 +382,6 @@ msgid "Orient"
msgstr "Orient"
#: pcbnew/class_pcb_text.cpp:252
#: pcbnew/cotation.cpp:125
msgid "Width"
msgstr "Epaisseur"
...
...
@@ -404,14 +402,19 @@ msgid "Dimension properties"
msgstr "Propriétés des Cotes"
#: pcbnew/cotation.cpp:103
#: pcbnew/muonde.cpp:865
#: pcbnew/dialog_gendrill.cpp:291
msgid "OK"
msgstr "OK"
#: pcbnew/cotation.cpp:106
#: pcbnew/muonde.cpp:868
#: pcbnew/dialog_gendrill.cpp:295
msgid "Cancel"
msgstr "Annuler"
#: pcbnew/cotation.cpp:109
#: pcbnew/muonde.cpp:874
msgid "Normal"
msgstr "Normal"
...
...
@@ -420,6 +423,7 @@ msgid "Display"
msgstr "Affichage"
#: pcbnew/cotation.cpp:121
#: pcbnew/muonde.cpp:881
msgid "Size"
msgstr "Taille "
...
...
@@ -607,99 +611,99 @@ msgstr "Fichiers rapport de perçage (.rpt)*.rpt"
msgid "Save Drill Report File"
msgstr "Sauver Fichier Rapport de Perçage"
#: pcbnew/pcbframe.cpp:30
3
#: pcbnew/pcbframe.cpp:30
4
msgid "Board modified, Save before exit ?"
msgstr "Circuit Imprimé modifié, Sauver avant de quitter ?"
#: pcbnew/pcbframe.cpp:30
4
#: pcbnew/pcbframe.cpp:30
5
msgid "Confirmation"
msgstr "Confirmation"
#: pcbnew/pcbframe.cpp:4
09
#: pcbnew/pcbframe.cpp:4
10
msgid "DRC Off (Disable !!!), Currently: DRC is active"
msgstr "DRC off (désactivée !!!), actuellement DRC active"
#: pcbnew/pcbframe.cpp:41
0
#: pcbnew/pcbframe.cpp:41
1
msgid "DRC On (Currently: DRC is inactive !!!)"
msgstr "DRC On (Actuellement, DRC désactivée !!!)"
#: pcbnew/pcbframe.cpp:42
1
#: pcbnew/pcbframe.cpp:42
2
msgid "Polar Coords not show"
msgstr "Coord Polaires non affichées"
#: pcbnew/pcbframe.cpp:42
2
#: pcbnew/pcbframe.cpp:42
3
msgid "Display Polar Coords"
msgstr "Affichage coord Polaires"
#: pcbnew/pcbframe.cpp:42
7
#: pcbnew/pcbframe.cpp:42
8
msgid "Grid not show"
msgstr "Grille non montrée"
#: pcbnew/pcbframe.cpp:42
7
#: pcbnew/pcbframe.cpp:42
8
msgid "Show Grid"
msgstr "Afficher grille"
#: pcbnew/pcbframe.cpp:43
6
#: pcbnew/pcbframe.cpp:43
7
msgid "Hide General ratsnest"
msgstr "Ne pas afficher le chevelu général"
#: pcbnew/pcbframe.cpp:43
7
#: pcbnew/pcbframe.cpp:43
8
msgid "Show General ratsnest"
msgstr "Afficher le chevelu général"
#: pcbnew/pcbframe.cpp:44
3
#: pcbnew/pcbframe.cpp:44
4
msgid "Hide Module ratsnest"
msgstr "Ne pas montrer le chevelu du module"
#: pcbnew/pcbframe.cpp:44
4
#: pcbnew/pcbframe.cpp:44
5
msgid "Show Module ratsnest"
msgstr "Montrer le chevelu du module"
#: pcbnew/pcbframe.cpp:45
1
#: pcbnew/pcbframe.cpp:45
2
msgid "Disable Auto Delete old Track"
msgstr "Ne pas Autoriser l'effacement automatique des pistes"
#: pcbnew/pcbframe.cpp:45
2
#: pcbnew/pcbframe.cpp:45
3
msgid "Enable Auto Delete old Track"
msgstr "Autoriser l'effacement automatique des pistes"
#: pcbnew/pcbframe.cpp:4
59
#: pcbnew/pcbframe.cpp:4
60
msgid "Show Pads Sketch mode"
msgstr "Afficher pastilles en contour"
#: pcbnew/pcbframe.cpp:46
0
#: pcbnew/pcbframe.cpp:46
1
msgid "Show pads filled mode"
msgstr "Afficher pastilles en mode plein"
#: pcbnew/pcbframe.cpp:46
6
#: pcbnew/pcbframe.cpp:46
7
msgid "Show Tracks Sketch mode"
msgstr "Afficher pistes en contour"
#: pcbnew/pcbframe.cpp:46
7
#: pcbnew/pcbframe.cpp:46
8
msgid "Show Tracks filled mode"
msgstr "Afficher pistes en mode plein"
#: pcbnew/pcbframe.cpp:47
3
#: pcbnew/pcbframe.cpp:47
4
msgid "Normal Contrast Mode Display"
msgstr "Mode d'affichage Contraste normal"
#: pcbnew/pcbframe.cpp:47
4
#: pcbnew/pcbframe.cpp:47
5
msgid "Hight Contrast Mode Display"
msgstr "Mode d'affichage Haut Contraste"
#: pcbnew/pcbframe.cpp:48
7
#: pcbnew/pcbframe.cpp:48
8
msgid "Track"
msgstr "Piste"
#: pcbnew/pcbframe.cpp:5
19
#: pcbnew/pcbframe.cpp:5
20
msgid "Via"
msgstr "Via"
#: pcbnew/pcbframe.cpp:59
1
#: pcbnew/pcbframe.cpp:59
2
msgid "3D Frame already opened"
msgstr "Fenêtre 3D déjà ouverte"
#: pcbnew/pcbframe.cpp:59
5
#: pcbnew/pcbframe.cpp:59
6
msgid "3D Viewer"
msgstr "Visu 3D"
...
...
@@ -836,6 +840,18 @@ msgstr "Trou près d'un pad"
msgid "Hole near track"
msgstr "Trou près d'une piste"
#: pcbnew/class_drc_item.cpp:81
msgid "Too small track width"
msgstr "Trop petite épaisseur de piste"
#: pcbnew/class_drc_item.cpp:83
msgid "Too small via size"
msgstr "Trop petite dimension de via"
#: pcbnew/class_drc_item.cpp:85
msgid "Too small micro via size"
msgstr "Trop petite dimension de microvia"
#: pcbnew/class_module.cpp:931
msgid "Last Change"
msgstr "Last Change"
...
...
@@ -2434,35 +2450,35 @@ msgstr "Fusion"
msgid "0"
msgstr "0"
#: pcbnew/clean.cpp:52
3
#: pcbnew/clean.cpp:52
2
msgid "Merge: "
msgstr "Fusionner: "
#: pcbnew/clean.cpp:75
3
#: pcbnew/clean.cpp:75
2
msgid "DRC Control:"
msgstr "Contrôle DRC:"
#: pcbnew/clean.cpp:75
8
#: pcbnew/clean.cpp:75
7
msgid "NetCtr"
msgstr "NetCtr"
#: pcbnew/clean.cpp:110
3
#: pcbnew/clean.cpp:110
2
msgid "Centre"
msgstr "Centre"
#: pcbnew/clean.cpp:110
3
#: pcbnew/clean.cpp:110
2
msgid "0 "
msgstr "0"
#: pcbnew/clean.cpp:111
4
#: pcbnew/clean.cpp:111
3
msgid "Pads: "
msgstr "Pastilles: "
#: pcbnew/clean.cpp:111
8
#: pcbnew/clean.cpp:111
7
msgid "Max"
msgstr "Max"
#: pcbnew/clean.cpp:112
1
#: pcbnew/clean.cpp:112
0
msgid "Segm"
msgstr "Segm"
...
...
@@ -2695,16 +2711,16 @@ msgstr "Surbrillance des équipotentielles"
msgid "Local Ratsnest"
msgstr "Montrer le chevelu général"
#: pcbnew/pcbcfg.cpp:7
4
#: pcbnew/pcbcfg.cpp:7
3
msgid "Read Project File"
msgstr "Lire Fichier Projet"
#: pcbnew/pcbcfg.cpp:8
4
#: pcbnew/pcbcfg.cpp:8
3
#, c-format
msgid "File %s not found"
msgstr "Fichier %s non trouvé"
#: pcbnew/pcbcfg.cpp:22
9
#: pcbnew/pcbcfg.cpp:22
3
msgid "Save Project File"
msgstr "Sauver Fichier Projet"
...
...
@@ -2810,6 +2826,127 @@ msgstr "Mire"
msgid "size"
msgstr "dimension"
#: pcbnew/dialog_drc_base.cpp:25
msgid "Options"
msgstr "Options"
#: pcbnew/dialog_drc_base.cpp:35
#: pcbnew/dialog_track_options_base.cpp:106
msgid "Clearance"
msgstr "Isolation"
#: pcbnew/dialog_drc_base.cpp:40
#: pcbnew/dialog_drc_base.cpp:49
#: pcbnew/dialog_drc_base.cpp:61
#: pcbnew/dialog_drc_base.cpp:70
msgid "In the clearance units, enter the clearance distance"
msgstr "Entrée l'isolation"
#: pcbnew/dialog_drc_base.cpp:44
msgid "Via Min Size"
msgstr "Via Taille Min"
#: pcbnew/dialog_drc_base.cpp:54
msgid "Track Min Width"
msgstr "Epais.Mini Piste"
#: pcbnew/dialog_drc_base.cpp:65
msgid "MicroVia Min Size"
msgstr "Diam. Mini MicroVia"
#: pcbnew/dialog_drc_base.cpp:77
msgid "Create Report File"
msgstr "Créer fichier rapport "
#: pcbnew/dialog_drc_base.cpp:81
msgid "Enable writing report to this file"
msgstr "Autoriser l'écriture du rapport dans ce fichier"
#: pcbnew/dialog_drc_base.cpp:86
msgid "Enter the report filename"
msgstr "Entrer le nom du fichier rapport "
#: pcbnew/dialog_drc_base.cpp:91
msgid "..."
msgstr "..."
#: pcbnew/dialog_drc_base.cpp:99
msgid "Include Tests For:"
msgstr "Inclure Tests Pour:"
#: pcbnew/dialog_drc_base.cpp:101
msgid "Pad to pad"
msgstr "Pad à pad"
#: pcbnew/dialog_drc_base.cpp:104
#: pcbnew/dialog_drc_base.cpp:105
msgid "Include tests for clearances between pad to pads"
msgstr "Inclure test de l'isolation entre pads"
#: pcbnew/dialog_drc_base.cpp:109
msgid "Zones"
msgstr "Zones"
#: pcbnew/dialog_drc_base.cpp:111
msgid "Include zones in clearance or unconnected tests"
msgstr "Inclure zones dans les test d'isolation et tests de nonconnexion"
#: pcbnew/dialog_drc_base.cpp:118
msgid "Find unconnected pads"
msgstr "Trouver pads non connectés"
#: pcbnew/dialog_drc_base.cpp:129
msgid "Start DRC"
msgstr "Démarrer DRC"
#: pcbnew/dialog_drc_base.cpp:131
msgid "Start the Design Rule Checker"
msgstr "Démarrer le Contrôle des Règles de Conception (DRC)"
#: pcbnew/dialog_drc_base.cpp:135
msgid "List Unconnected"
msgstr "Liste Non Conn."
#: pcbnew/dialog_drc_base.cpp:136
msgid "List unconnected pads or tracks"
msgstr "Lister pads ou pistes non connectées"
#: pcbnew/dialog_drc_base.cpp:140
msgid "Delete All Markers"
msgstr "Effacer tous les Marqueurs"
#: pcbnew/dialog_drc_base.cpp:141
msgid "Delete every marker"
msgstr "Effacer Chaque Marqueur"
#: pcbnew/dialog_drc_base.cpp:145
msgid "Delete Current Marker"
msgstr "Effacer Marqueur Courant"
#: pcbnew/dialog_drc_base.cpp:146
msgid "Delete the marker selected in the listBox below"
msgstr "Supprimer le marqueur sélectionné dans la liste ci dessous"
#: pcbnew/dialog_drc_base.cpp:154
msgid "Error Messages:"
msgstr "Messages d'Erreur:"
#: pcbnew/dialog_drc_base.cpp:164
msgid "MARKERs, double click any to go there in PCB, right click for popup menu"
msgstr "MARQUEURS, double clic pour aller sur le PCB, clic droit pour ouvrir menu"
#: pcbnew/dialog_drc_base.cpp:172
msgid "Distance Problem Markers"
msgstr "Marqueurs de problèmes de distance"
#: pcbnew/dialog_drc_base.cpp:178
msgid "A list of unconnected pads, right click for popup menu"
msgstr "Pour une liste de pads non connecté, clic droit pour ouvrir un menu"
#: pcbnew/dialog_drc_base.cpp:185
msgid "Unconnected"
msgstr "Non connecté"
#: pcbnew/dialog_track_options_base.cpp:27
msgid "Vias:"
msgstr "Vias:"
...
...
@@ -2898,10 +3035,6 @@ msgstr "Epais. Piste"
msgid "Enter the current track width"
msgstr "Entrer la largeur de piste courante"
#: pcbnew/dialog_track_options_base.cpp:106
msgid "Clearance"
msgstr "Isolation"
#: pcbnew/dialog_track_options_base.cpp:111
msgid "This is the clearance between tracks, vias and pads for DRC."
msgstr "Ceci est l'isolation entre pistes, vias et pads pour le calcul DRC."
...
...
@@ -2993,126 +3126,22 @@ msgstr "Le composant avec valeur \"%s\" a une référence vide."
msgid "Multiple components have identical reference IDs of \"%s\"."
msgstr "Multiple composants ont une reference identique \"%s\"."
#: pcbnew/dialog_drc.cpp:430
msgid "Options"
msgstr "Options"
#: pcbnew/dialog_drc.cpp:445
msgid "In the clearance units, enter the clearance distance"
msgstr "Entrée l'isolation"
#: pcbnew/dialog_drc.cpp:448
msgid "Create Report File"
msgstr "Créer fichier rapport "
#: pcbnew/dialog_drc.cpp:455
msgid "Enable writing report to this file"
msgstr "Autoriser l'écriture du rapport dans ce fichier"
#: pcbnew/dialog_drc.cpp:460
msgid "Enter the report filename"
msgstr "Entrer le nom du fichier rapport "
#: pcbnew/dialog_drc.cpp:463
msgid "..."
msgstr "..."
#: pcbnew/dialog_drc.cpp:465
msgid "Pick a filename interactively"
msgstr "Choisir un nom de fichier interactivement"
#: pcbnew/dialog_drc.cpp:468
msgid "Include Tests For:"
msgstr "Inclure Tests Pour:"
#: pcbnew/dialog_drc.cpp:472
msgid "Pad to pad"
msgstr "Pad à pad"
#: pcbnew/dialog_drc.cpp:475
msgid "Include tests for clearances between pad to pads"
msgstr "Inclure test de l'isolation entre pads"
#: pcbnew/dialog_drc.cpp:478
msgid "Zones"
msgstr "Zones"
#: pcbnew/dialog_drc.cpp:481
msgid "Include zones in clearance or unconnected tests"
msgstr "Inclure zones dans les test d'isolation et tests de nonconnexion"
#: pcbnew/dialog_drc.cpp:487
msgid "Find unconnected pads"
msgstr "Trouver pads non connectés"
#: pcbnew/dialog_drc.cpp:493
msgid "Start DRC"
msgstr "Démarrer DRC"
#: pcbnew/dialog_drc.cpp:495
msgid "Start the Design Rule Checker"
msgstr "Démarrer le Contrôle des Règles de Conception (DRC)"
#: pcbnew/dialog_drc.cpp:498
msgid "List Unconnected"
msgstr "Liste Non Conn."
#: pcbnew/dialog_drc.cpp:500
msgid "List unconnected pads or tracks"
msgstr "Lister pads ou pistes non connectées"
#: pcbnew/dialog_drc.cpp:503
msgid "Delete All Markers"
msgstr "Effacer tous les Marqueurs"
#: pcbnew/dialog_drc.cpp:505
msgid "Delete every marker"
msgstr "Effacer Chaque Marqueur"
#: pcbnew/dialog_drc.cpp:508
msgid "Delete Current Marker"
msgstr "Effacer Marqueur Courant"
#: pcbnew/dialog_drc.cpp:510
msgid "Delete the marker selected in the listBox below"
msgstr "Supprimer le marqueur sélectionné dans la liste ci dessous"
#: pcbnew/dialog_drc.cpp:514
msgid "Error Messages:"
msgstr "Messages d'Erreur:"
#: pcbnew/dialog_drc.cpp:524
msgid "MARKERs, double click any to go there in PCB, right click for popup menu"
msgstr "MARQUEURS, double clic pour aller sur le PCB, clic droit pour ouvrir menu"
#: pcbnew/dialog_drc.cpp:526
msgid "Distance Problem Markers"
msgstr "Marqueurs de problèmes de distance"
#: pcbnew/dialog_drc.cpp:530
msgid "A list of unconnected pads, right click for popup menu"
msgstr "Pour une liste de pads non connecté, clic droit pour ouvrir un menu"
#: pcbnew/dialog_drc.cpp:532
msgid "Unconnected"
msgstr "Non connecté"
#: pcbnew/dialog_drc.cpp:655
#: pcbnew/dialog_drc.cpp:733
#: pcbnew/dialog_drc.cpp:118
#: pcbnew/dialog_drc.cpp:198
#, c-format
msgid "Report file \"%s\" created"
msgstr "Fichier rapport \"%s\" créé"
#: pcbnew/dialog_drc.cpp:
657
#: pcbnew/dialog_drc.cpp:
735
#: pcbnew/dialog_drc.cpp:
120
#: pcbnew/dialog_drc.cpp:
199
msgid "Disk File Report Completed"
msgstr "Fichier rapport terminé"
#: pcbnew/dialog_drc.cpp:
756
#: pcbnew/dialog_drc.cpp:
218
msgid "DRC report files (.rpt)|*.rpt"
msgstr "Fichier rapport DRC (.rpt)|*.rpt"
#: pcbnew/dialog_drc.cpp:
762
#: pcbnew/dialog_drc.cpp:
224
msgid "Save DRC Report File"
msgstr "Sauver Fichier Rapport DRC:"
...
...
@@ -4258,32 +4287,6 @@ msgstr "Le fichier Session a une 'reference' à un composant non existant \"%s\"
msgid "A wire_via references a missing padstack \"%s\""
msgstr "Une piste ou via a une référence vers un pad \"%s\" manquant"
#: pcbnew/class_track.cpp:913
#: pcbnew/dialog_pad_properties_base.cpp:80
msgid "Standard"
msgstr "Standard"
#: pcbnew/class_track.cpp:921
msgid "Flags"
msgstr "Flags"
#: pcbnew/class_track.cpp:959
msgid "Diam"
msgstr "Diam"
#: pcbnew/class_track.cpp:967
#: pcbnew/class_pad.cpp:578
msgid "Drill"
msgstr "Perçage"
#: pcbnew/class_track.cpp:971
msgid "(Specific)"
msgstr "(Specifique)"
#: pcbnew/class_track.cpp:973
msgid "(Default)"
msgstr "(Défaut)"
#: pcbnew/dialog_copper_zones_base.cpp:32
msgid "Zone Setup:"
msgstr "Options Zone:"
...
...
@@ -4520,6 +4523,10 @@ msgstr "Orient pad:"
msgid "Pad Orient (0.1 deg)"
msgstr "Orient. Pad (0.1 deg)"
#: pcbnew/dialog_pad_properties_base.cpp:80
msgid "Standard"
msgstr "Standard"
#: pcbnew/dialog_pad_properties_base.cpp:80
msgid "SMD"
msgstr "CMS"
...
...
@@ -4600,6 +4607,10 @@ msgstr "RefP"
msgid "Net"
msgstr "Net"
#: pcbnew/class_pad.cpp:578
msgid "Drill"
msgstr "Perçage"
#: pcbnew/class_pad.cpp:586
msgid "Drill X / Y"
msgstr "Perçage X/Y"
...
...
@@ -5246,6 +5257,22 @@ msgstr "Recalculer le chevelu complet ( utile après une édition manuelle de no
msgid "Netlist File:"
msgstr "Fichier Netliste:"
#: pcbnew/class_track.cpp:924
msgid "Flags"
msgstr "Flags"
#: pcbnew/class_track.cpp:962
msgid "Diam"
msgstr "Diam"
#: pcbnew/class_track.cpp:974
msgid "(Specific)"
msgstr "(Specifique)"
#: pcbnew/class_track.cpp:976
msgid "(Default)"
msgstr "(Défaut)"
#: pcbnew/class_board.cpp:532
msgid "Nodes"
msgstr "Nodes"
...
...
@@ -5282,6 +5309,10 @@ msgstr "Sélectionner comment les pistes sont affichées"
msgid "New track"
msgstr "Nouvelle piste"
#: pcbnew/dialog_display_options_base.cpp:30
msgid "New track with via area"
msgstr "Nouvelle piste avec via"
#: pcbnew/dialog_display_options_base.cpp:32
msgid "Show Tracks Clearance:"
msgstr "Montrer Isolation Piste:"
...
...
@@ -6302,22 +6333,6 @@ msgstr "Force affichage des pins invisibles"
msgid "HV orientation for Wires and Bus"
msgstr "Force direction H, V et X pour les fils et bus"
#: eeschema/libfield.cpp:250
msgid "Edit field"
msgstr "Editer Champ"
#: eeschema/libfield.cpp:267
msgid ""
"This name is an existing alias of the component\n"
"Aborting"
msgstr ""
"Ce nom est celui d'un alias existant du composant\n"
"Abandon."
#: eeschema/libfield.cpp:287
msgid "No new text: no change"
msgstr "Pas de nouveau texte: pas de changements"
#: eeschema/schframe.cpp:316
msgid "Schematic modified, Save before exit ?"
msgstr "Schématique modifiée, Sauver avant de quitter ?"
...
...
@@ -6350,7 +6365,7 @@ msgstr "Afficher grille"
msgid "Schematic"
msgstr "Schématique"
#: eeschema/symbdraw.cpp:
801
#: eeschema/symbdraw.cpp:
798
#, c-format
msgid "Arc %.1f deg"
msgstr "Arc %.1f deg"
...
...
@@ -7321,55 +7336,58 @@ msgstr "Exporter le symbole"
msgid "Save Symbol in [%s]"
msgstr "Symbole sauvé en [%s]"
#: eeschema/class_pin.cpp:
29
#: eeschema/class_pin.cpp:
45
msgid "Pin"
msgstr "Pin"
#: eeschema/class_pin.cpp:
991
#: eeschema/class_pin.cpp:
1047
msgid "PinName"
msgstr "Nom Pin"
#: eeschema/class_pin.cpp:10
00
#: eeschema/class_pin.cpp:10
56
msgid "PinNum"
msgstr "Num Pin"
#: eeschema/class_pin.cpp:10
04
#: eeschema/class_pin.cpp:10
60
msgid "PinType"
msgstr "Type Pin"
#: eeschema/class_pin.cpp:10
10
#: eeschema/class_pin.cpp:10
66
msgid "no"
msgstr "non"
#: eeschema/class_pin.cpp:10
12
#: eeschema/class_pin.cpp:10
68
msgid "yes"
msgstr "oui"
#: eeschema/class_pin.cpp:10
24
#: eeschema/class_pin.cpp:10
80
msgid "Up"
msgstr "Haut"
#: eeschema/class_pin.cpp:10
28
#: eeschema/class_pin.cpp:10
84
msgid "Down"
msgstr "Bas"
#: eeschema/class_pin.cpp:10
32
#: eeschema/class_pin.cpp:10
88
msgid "Left"
msgstr "Gauche"
#: eeschema/class_pin.cpp:10
36
#: eeschema/class_pin.cpp:10
92
msgid "Right"
msgstr "Droite"
#: eeschema/plotps.cpp:177
#: eeschema/plothpgl.cpp:210
msgid "Page Size A4"
msgstr "Feuille A4"
#: eeschema/plotps.cpp:178
#: eeschema/plothpgl.cpp:215
msgid "Page Size A"
msgstr "Feuille A"
#: eeschema/plotps.cpp:179
#: eeschema/plothpgl.cpp:220
msgid "Plot page size:"
msgstr "Format de la feuille:"
...
...
@@ -7390,10 +7408,12 @@ msgid "Print Sheet Ref"
msgstr "Imprimer cartouche"
#: eeschema/plotps.cpp:205
#: eeschema/plothpgl.cpp:270
msgid "&Plot Page"
msgstr "&Tracer Page"
#: eeschema/plotps.cpp:209
#: eeschema/plothpgl.cpp:274
msgid "Plot A&LL"
msgstr "&Tout Tracer"
...
...
@@ -7536,7 +7556,6 @@ msgstr ""
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:79
#: eeschema/dialog_create_component.cpp:178
#: eeschema/dialog_edit_component_in_lib.cpp:160
msgid "Parts are locked"
msgstr "Les parts sont verrouillées"
...
...
@@ -7794,7 +7813,6 @@ msgid "As Convert"
msgstr "A une forme \"convertie\""
#: eeschema/dialog_create_component.cpp:174
#: eeschema/dialog_edit_component_in_lib.cpp:156
msgid "Power Symbol"
msgstr "Symbole d'Alimentation"
...
...
@@ -7923,7 +7941,6 @@ msgid "Pin Name Inside"
msgstr "Nom de pin à l'intérieur"
#: eeschema/dialog_create_component.cpp:247
#: eeschema/dialog_edit_component_in_lib.cpp:150
msgid "Skew:"
msgstr "Décalage:"
...
...
@@ -8062,114 +8079,81 @@ msgstr "&Accepter Offset"
msgid "Plot "
msgstr "Trace "
#: eeschema/classes_body_items.cpp:
48
#: eeschema/classes_body_items.cpp:
34
msgid "Undefined"
msgstr "Non Défini"
#: eeschema/classes_body_items.cpp:
69
#: eeschema/classes_body_items.cpp:
75
#: eeschema/classes_body_items.cpp:
55
#: eeschema/classes_body_items.cpp:
61
msgid "All"
msgstr "Tout"
#: eeschema/classes_body_items.cpp:1
32
#: eeschema/classes_body_items.cpp:1
23
#, c-format
msgid "arc only had %d parameters of the required 8"
msgstr "l'arc a seulement %d paramètres sur les 8 requis"
#: eeschema/classes_body_items.cpp:332
#: eeschema/classes_body_items.cpp:455
#: eeschema/classes_body_items.cpp:675
#: eeschema/classes_body_items.cpp:785
#: eeschema/classes_body_items.cpp:870
#: eeschema/classes_body_items.cpp:1107
#: eeschema/classes_body_items.cpp:378
#: eeschema/classes_body_items.cpp:543
#: eeschema/classes_body_items.cpp:663
#: eeschema/classes_body_items.cpp:812
#: eeschema/classes_body_items.cpp:1100
msgid "Line width"
msgstr "Epaisseur ligne"
#: eeschema/classes_body_items.cpp:3
37
#: eeschema/classes_body_items.cpp:
464
#: eeschema/classes_body_items.cpp:8
75
#: eeschema/classes_body_items.cpp:11
12
#: eeschema/classes_body_items.cpp:3
83
#: eeschema/classes_body_items.cpp:
552
#: eeschema/classes_body_items.cpp:8
17
#: eeschema/classes_body_items.cpp:11
05
msgid "Bounding box"
msgstr "Rectange dencadrement"
#: eeschema/classes_body_items.cpp:
367
#: eeschema/classes_body_items.cpp:
418
#, c-format
msgid "circle only had %d parameters of the required 6"
msgstr "le cercle a seulement %d paramètres sur les 6 requis"
#: eeschema/classes_body_items.cpp:
459
#: eeschema/classes_body_items.cpp:
547
msgid "Radius"
msgstr "Rayon"
#: eeschema/classes_body_items.cpp:529
#, c-format
msgid "text only had %d parameters of the required 8"
msgstr "le texte a seulement %d paramètres sur les 8 requis"
#: eeschema/classes_body_items.cpp:687
#: eeschema/classes_body_items.cpp:565
msgid "Rectangle"
msgstr "Rectangle"
#: eeschema/classes_body_items.cpp:
710
#: eeschema/classes_body_items.cpp:
588
#, c-format
msgid "rectangle only had %d parameters of the required 7"
msgstr "le rectangle a seulement %d paramètres sur les 7 requis"
#: eeschema/classes_body_items.cpp:8
84
#: eeschema/classes_body_items.cpp:8
62
msgid "PolyLine"
msgstr "PolyLigne"
#: eeschema/classes_body_items.cpp:
916
#: eeschema/classes_body_items.cpp:
894
#, c-format
msgid "polyline only had %d parameters of the required 4"
msgstr "la polyligne a seulement %d paramètres sur les 4 requis"
#: eeschema/classes_body_items.cpp:
921
#: eeschema/classes_body_items.cpp:
899
#, c-format
msgid "polyline count parameter %d is invalid"
msgstr "le nombre de paramètes (%d) de la polyligne est mauvais"
#: eeschema/classes_body_items.cpp:9
37
#: eeschema/classes_body_items.cpp:9
15
#, c-format
msgid "polyline point %d X position not defined"
msgstr "la position X du point %d de la polyligne n'est pas définie"
#: eeschema/classes_body_items.cpp:9
44
#: eeschema/classes_body_items.cpp:9
22
#, c-format
msgid "polyline point %d Y position not defined"
msgstr "la position Y du point %d de la polyligne n'est pas définie"
#: eeschema/dialog_edit_component_in_lib.cpp:134
msgid "General :"
msgstr "Général :"
#: eeschema/dialog_edit_component_in_lib.cpp:142
msgid "Number of Units:"
msgstr "Nombre de Parts:"
#: eeschema/dialog_edit_component_in_lib.cpp:170
msgid "Doc:"
msgstr "Doc:"
#: eeschema/dialog_edit_component_in_lib.cpp:176
msgid "Keywords:"
msgstr "Mots Clés:"
#: eeschema/dialog_edit_component_in_lib.cpp:182
msgid "DocFileName:"
msgstr "Fichier de Doc:"
#: eeschema/dialog_edit_component_in_lib.cpp:190
msgid "Copy Doc"
msgstr "Copie Doc"
#: eeschema/dialog_edit_component_in_lib.cpp:193
msgid "Browse DocFiles"
msgstr "Examen Fichiers de Doc"
#: eeschema/dialog_edit_component_in_lib.cpp:200
msgid "Alias"
msgstr "Alias"
#: eeschema/class_BodyItem_Text.cpp:83
#, c-format
msgid "text only had %d parameters of the required 8"
msgstr "le texte a seulement %d paramètres sur les 8 requis"
#: eeschema/dialog_options.cpp:140
#: eeschema/dialog_options.cpp:287
...
...
@@ -8339,6 +8323,22 @@ msgstr "Erreur. Vous devez entrer une ligne de commande"
msgid "Error. You must provide a Title"
msgstr "Erreur. Vous devez entrer un titre"
#: eeschema/libfield.cpp:250
msgid "Edit field"
msgstr "Editer Champ"
#: eeschema/libfield.cpp:267
msgid ""
"This name is an existing alias of the component\n"
"Aborting"
msgstr ""
"Ce nom est celui d'un alias existant du composant\n"
"Abandon."
#: eeschema/libfield.cpp:287
msgid "No new text: no change"
msgstr "Pas de nouveau texte: pas de changements"
#: eeschema/files-io.cpp:74
msgid "Clear Schematic Hierarchy (modified!)?"
msgstr "Effacer la hiérarchie schématique (modifiée!)?"
...
...
@@ -8400,6 +8400,10 @@ msgstr "Propriétés pour "
msgid "(alias of "
msgstr "(alias de "
#: eeschema/edit_component_in_lib.cpp:105
msgid "Alias"
msgstr "Alias"
#: eeschema/edit_component_in_lib.cpp:131
#: eeschema/edit_component_in_lib.cpp:208
msgid "Delete All"
...
...
@@ -8490,7 +8494,7 @@ msgstr ""
msgid "User defined search path"
msgstr "Chemin de recherche défini par l'utilisateur"
#: eeschema/class_libentry_fields.cpp:3
25
#: eeschema/class_libentry_fields.cpp:3
58
msgid "Datasheet"
msgstr "Documentation"
...
...
@@ -8563,39 +8567,31 @@ msgid "Text Shape:"
msgstr "Aspect Texte:"
#: eeschema/dialog_bodygraphictext_properties_base.cpp:82
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:54
msgid "Align left"
msgstr "Alignement à gauche"
#: eeschema/dialog_bodygraphictext_properties_base.cpp:82
#: eeschema/dialog_bodygraphictext_properties_base.cpp:88
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:54
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:67
msgid "Align center"
msgstr "Alignement au centre"
#: eeschema/dialog_bodygraphictext_properties_base.cpp:82
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:54
msgid "Align right"
msgstr "Alignement à droite"
#: eeschema/dialog_bodygraphictext_properties_base.cpp:84
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:56
msgid "Horiz. Justify"
msgstr "Justification Horiz."
#: eeschema/dialog_bodygraphictext_properties_base.cpp:88
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:67
msgid "Align bottom"
msgstr "Alignement en bas"
#: eeschema/dialog_bodygraphictext_properties_base.cpp:88
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:67
msgid "Align top"
msgstr "Alignement au sommet"
#: eeschema/dialog_bodygraphictext_properties_base.cpp:90
#: eeschema/dialog_edit_libentry_fields_in_lib_base.cpp:69
msgid "Vert. Justify"
msgstr "Vert. Justifié"
...
...
@@ -8819,23 +8815,23 @@ msgstr ""
"\n"
"Cette opération supprimera l'annotation existante et ne peut être annulée."
#: eeschema/component_class.cpp:107
5
#: eeschema/component_class.cpp:107
4
msgid "Ref"
msgstr "Ref"
#: eeschema/component_class.cpp:10
80
#: eeschema/component_class.cpp:10
79
msgid "Pwr Symb"
msgstr "Symb Alim"
#: eeschema/component_class.cpp:108
2
#: eeschema/component_class.cpp:108
1
msgid "Val"
msgstr "Val"
#: eeschema/component_class.cpp:108
6
#: eeschema/component_class.cpp:108
5
msgid "RefLib"
msgstr "RefLib"
#: eeschema/component_class.cpp:108
9
#: eeschema/component_class.cpp:108
8
msgid "Lib"
msgstr "Lib"
...
...
@@ -8897,6 +8893,38 @@ msgstr "Placer composant en schématique"
msgid "Current"
msgstr "Courant"
#: eeschema/dialog_edit_component_in_lib.cpp:134
msgid "General :"
msgstr "Général :"
#: eeschema/dialog_edit_component_in_lib.cpp:142
msgid "Number of Units:"
msgstr "Nombre de Parts:"
#: eeschema/dialog_edit_component_in_lib.cpp:170
msgid "Description:"
msgstr "Description:"
#: eeschema/dialog_edit_component_in_lib.cpp:176
msgid "Keywords:"
msgstr "Mots Clés:"
#: eeschema/dialog_edit_component_in_lib.cpp:182
msgid "DocFileName:"
msgstr "Fichier de Doc:"
#: eeschema/dialog_edit_component_in_lib.cpp:190
msgid "Copy Doc"
msgstr "Copie Doc"
#: eeschema/dialog_edit_component_in_lib.cpp:193
msgid "Browse DocFiles"
msgstr "Examen Fichiers de Doc"
#: eeschema/dialog_edit_component_in_lib.cpp:196
msgid "Description"
msgstr "Description"
#: eeschema/dialog_edit_label.cpp:68
msgid "Global Label Properties"
msgstr "Propriétés du Label Global"
...
...
@@ -9168,7 +9196,6 @@ msgid "Active Low Output"
msgstr "Sortie Active Bas"
#: cvpcb/tool_cvpcb.cpp:31
#: cvpcb/menucfg.cpp:39
msgid "Open a NetList file"
msgstr "Lire un Fichier Netliste"
...
...
@@ -9281,11 +9308,13 @@ msgid "Project File Error"
msgstr "Erreur en Fichier Projet"
#: cvpcb/listlib.cpp:73
#: cvpcb/loadcmp.cpp:50
#, c-format
msgid "PCB foot print library file <%s> could not be found in the default search paths."
msgstr "Le fichier librairie de modules PCB <%s> n'a pas pu être trouvé dans les chemins de recherche par défaut."
#: cvpcb/listlib.cpp:84
#: cvpcb/loadcmp.cpp:61
#, c-format
msgid "Could not open PCB foot print library file <%s>."
msgstr "Ne peut ouvrir le fichier librairie de modules PCB <%s>."
...
...
@@ -9971,14 +10000,11 @@ msgid "%d errors while reading Gerber file [%s]"
msgstr "%d erreurs pendant lecture fichier gerber [%s]"
#: gerbview/readgerb.cpp:274
#: gerbview/files.cpp:208
#: gerbview/files.cpp:243
#, c-format
msgid "Gerber DCODE files (%s)|*.%s"
msgstr "Fichiers Gerber DCODE (%s)|*.%s"
#: gerbview/readgerb.cpp:278
#: gerbview/files.cpp:213
msgid "Load GERBER DCODE File"
msgstr "Charger Fichier de DCodes"
...
...
@@ -10446,131 +10472,131 @@ msgstr "Fichiers \"Portable document format\" (*.pdf)|*.pdf"
msgid "All files (*)|*"
msgstr "Tous les fichiers (*)|*"
#: common/common.cpp:24
5
#: common/common.cpp:24
4
msgid " (\"):"
msgstr " (\"):"
#: common/common.cpp:33
5
#: common/common.cpp:33
4
msgid " \""
msgstr " \""
#: common/common.cpp:33
9
#: common/common.cpp:33
8
msgid " mm"
msgstr " mm"
#: common/common.cpp:58
4
#: common/common.cpp:58
8
msgid "Copper "
msgstr "Cuivre "
#: common/common.cpp:58
4
#: common/common.cpp:58
8
msgid "Inner L1 "
msgstr "Interne 1"
#: common/common.cpp:58
4
#: common/common.cpp:58
8
msgid "Inner L2 "
msgstr "Interne 2"
#: common/common.cpp:58
4
#: common/common.cpp:58
8
msgid "Inner L3 "
msgstr "Interne 3"
#: common/common.cpp:58
5
#: common/common.cpp:58
9
msgid "Inner L4 "
msgstr "Interne 4"
#: common/common.cpp:58
5
#: common/common.cpp:58
9
msgid "Inner L5 "
msgstr "Interne 5"
#: common/common.cpp:58
5
#: common/common.cpp:58
9
msgid "Inner L6 "
msgstr "Interne 6"
#: common/common.cpp:58
5
#: common/common.cpp:58
9
msgid "Inner L7 "
msgstr "Interne 7"
#: common/common.cpp:5
86
#: common/common.cpp:5
90
msgid "Inner L8 "
msgstr "Interne 8"
#: common/common.cpp:5
86
#: common/common.cpp:5
90
msgid "Inner L9 "
msgstr "Interne 9"
#: common/common.cpp:5
86
#: common/common.cpp:5
90
msgid "Inner L10"
msgstr "Interne 10"
#: common/common.cpp:5
86
#: common/common.cpp:5
90
msgid "Inner L11"
msgstr "Interne 11"
#: common/common.cpp:5
87
#: common/common.cpp:5
91
msgid "Inner L12"
msgstr "Interne 12"
#: common/common.cpp:5
87
#: common/common.cpp:5
91
msgid "Inner L13"
msgstr "Interne 13"
#: common/common.cpp:5
87
#: common/common.cpp:5
91
msgid "Inner L14"
msgstr "Interne 14"
#: common/common.cpp:5
88
#: common/common.cpp:5
92
msgid "Adhes Cop"
msgstr "Adhes Cu "
#: common/common.cpp:5
88
#: common/common.cpp:5
92
msgid "Adhes Cmp"
msgstr "Adhes Cmp"
#: common/common.cpp:5
88
#: common/common.cpp:5
92
msgid "SoldP Cop"
msgstr "SoldP Cu "
#: common/common.cpp:5
88
#: common/common.cpp:5
92
msgid "SoldP Cmp"
msgstr "SoldP Cmp"
#: common/common.cpp:5
89
#: common/common.cpp:5
93
msgid "SilkS Cop"
msgstr "Sérigr Cu "
#: common/common.cpp:5
89
#: common/common.cpp:5
93
msgid "SilkS Cmp"
msgstr "Sérigr Cmp"
#: common/common.cpp:5
89
#: common/common.cpp:5
93
msgid "Mask Cop "
msgstr "Masque Cu "
#: common/common.cpp:5
89
#: common/common.cpp:5
93
msgid "Mask Cmp "
msgstr "Masque Cmp"
#: common/common.cpp:59
0
#: common/common.cpp:59
4
msgid "Drawings "
msgstr "Drawings "
#: common/common.cpp:59
0
#: common/common.cpp:59
4
msgid "Comments "
msgstr "Commentaires "
#: common/common.cpp:59
0
#: common/common.cpp:59
4
msgid "Eco1 "
msgstr "Eco1 "
#: common/common.cpp:59
0
#: common/common.cpp:59
4
msgid "Eco2 "
msgstr "Eco2 "
#: common/common.cpp:59
1
#: common/common.cpp:59
5
msgid "Edges Pcb"
msgstr "Contour Pcb"
#: common/common.cpp:59
1
#: common/common.cpp:59
5
msgid "BAD INDEX"
msgstr "BAD INDEX"
...
...
@@ -10663,11 +10689,11 @@ msgstr "Catalan"
msgid "Dutch"
msgstr "Hollandais"
#: common/edaappl.cpp:
804
#: common/edaappl.cpp:
792
msgid "Language"
msgstr "Langue"
#: common/edaappl.cpp:
805
#: common/edaappl.cpp:
793
msgid "Select application language (only for testing!)"
msgstr "Choisir la langue (seulement pour tests!)"
...
...
@@ -10883,22 +10909,18 @@ msgid "Back View"
msgstr "Vue arrière"
#: 3d-viewer/3d_canvas.cpp:368
#: 3d-viewer/3d_toolbar.cpp:85
msgid "Move left <-"
msgstr "Vers la gauche <-"
#: 3d-viewer/3d_canvas.cpp:373
#: 3d-viewer/3d_toolbar.cpp:88
msgid "Move right ->"
msgstr "Vers la droite ->"
#: 3d-viewer/3d_canvas.cpp:378
#: 3d-viewer/3d_toolbar.cpp:91
msgid "Move Up ^"
msgstr "Vers le haut ^"
#: 3d-viewer/3d_canvas.cpp:383
#: 3d-viewer/3d_toolbar.cpp:94
msgid "Move Down"
msgstr "Vers le bas"
...
...
@@ -11099,10 +11121,6 @@ msgstr "Propriétés du Texte sur Module"
msgid "dialog_freeroute_exchange"
msgstr "dialog_freeroute_exchange"
#: pcbnew/dialog_drc.h:63
msgid "DRC Control"
msgstr "Contrôle DRC"
#: pcbnew/dialog_initpcb.h:38
msgid "Global Delete"
msgstr "Effacements Généraux"
...
...
@@ -11111,6 +11129,10 @@ msgstr "Effacements Généraux"
msgid "Footprints Orientation"
msgstr "Orientation des Modules"
#: pcbnew/dialog_drc_base.h:98
msgid "DRC Control"
msgstr "Contrôle DRC"
#: pcbnew/dialog_track_options_base.h:76
msgid "Tracks and Vias Sizes"
msgstr "Dims Pistes et Vias"
...
...
@@ -11123,12 +11145,12 @@ msgstr "Dialogue Netliste"
msgid "Create SVG file"
msgstr "Créer Fichier SVG"
#: pcbnew/drc_stuff.h:1
49
#: pcbnew/drc_stuff.h:1
52
#, c-format
msgid "ErrType(%d): <b>%s</b><ul><li> %s: %s </li><li> %s: %s </li></ul>"
msgstr "Type Err(%d): <b>%s</b><ul><li> %s: %s </li><li> %s: %s </li></ul>"
#: pcbnew/drc_stuff.h:1
57
#: pcbnew/drc_stuff.h:1
60
#, c-format
msgid "ErrType(%d): <b>%s</b><ul><li> %s: %s </li></ul>"
msgstr "Type Err (%d): <b>%s</b><ul><li> %s: %s </li></ul>"
...
...
@@ -11505,6 +11527,10 @@ msgstr "DCodes id."
msgid "Page Settings"
msgstr "Ajustage opt Page"
#~ msgid "Pick a filename interactively"
#~ msgstr "Choisir un nom de fichier interactivement"
#~ msgid "Doc:"
#~ msgstr "Doc:"
#~ msgid "Size:"
#~ msgstr "Taille:"
pcbnew/class_track.cpp
View file @
e8778199
...
...
@@ -49,7 +49,7 @@ static bool ShowClearance( const TRACK* aTrack )
{
// maybe return true for tracks and vias, not for zone segments
return
!
(
aTrack
->
m_Flags
&
DRAW_ERASED
)
&&
DisplayOpt
.
DisplayTrackIsol
&&
DisplayOpt
.
ShowTrackClearanceMode
==
SHOW_CLEARANCE_ALWAYS
&&
aTrack
->
GetLayer
()
<=
LAST_COPPER_LAYER
&&
(
aTrack
->
Type
()
==
TYPE_TRACK
||
aTrack
->
Type
()
==
TYPE_VIA
);
}
...
...
@@ -764,7 +764,7 @@ void SEGVIA::Draw( WinEDA_DrawPanel* panel, wxDC* DC, int draw_mode, const wxPoi
}
}
if
(
DisplayOpt
.
DisplayTrackIsol
)
if
(
DisplayOpt
.
ShowTrackClearanceMode
==
SHOW_CLEARANCE_ALWAYS
)
GRCircle
(
&
panel
->
m_ClipBox
,
DC
,
m_Start
.
x
,
m_Start
.
y
,
rayon
+
g_DesignSettings
.
m_TrackClearence
,
color
);
...
...
pcbnew/classpcb.cpp
View file @
e8778199
...
...
@@ -143,12 +143,12 @@ DISPLAY_OPTIONS::DISPLAY_OPTIONS()
DisplayModEdge
=
true
;
DisplayModText
=
true
;
DisplayPcbTrackFill
=
true
;
/* false = sketch , true = rempli
*/
DisplayTrackIsol
=
false
;
m_DisplayViaMode
=
VIA_HOLE_NOT_SHOW
;
DisplayPcbTrackFill
=
true
;
/* false = sketch , true = filled
*/
ShowTrackClearanceMode
=
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS
;
m_DisplayViaMode
=
VIA_HOLE_NOT_SHOW
;
DisplayPolarCood
=
false
;
/* false = display absolute coordinates,
* true = display polar cordinates */
* true = display polar cordinates */
DisplayZonesMode
=
0
;
/* 0 = Show filled areas outlines in zones,
* 1 = do not show filled areas outlines
* 2 = show outlines of filled areas */
...
...
pcbnew/dialog_display_options.cpp
View file @
e8778199
...
...
@@ -60,13 +60,22 @@ void Dialog_Display_Options::init()
if
(
DisplayOpt
.
DisplayPcbTrackFill
)
m_OptDisplayTracks
->
SetSelection
(
1
);
if
(
DisplayOpt
.
DisplayTrackIsol
)
m_OptDisplayTracksClearance
->
SetSelection
(
3
);
else
if
(
g_ShowClearanceWhenTrackCreation
==
1
)
m_OptDisplayTracksClearance
->
SetSelection
(
1
);
else
if
(
g_ShowClearanceWhenTrackCreation
==
2
)
m_OptDisplayTracksClearance
->
SetSelection
(
2
);
else
m_OptDisplayTracksClearance
->
SetSelection
(
0
);
switch
(
DisplayOpt
.
ShowTrackClearanceMode
)
{
case
DO_NOT_SHOW_CLEARANCE
:
m_OptDisplayTracksClearance
->
SetSelection
(
0
);
break
;
case
SHOW_CLEARANCE_NEW_TRACKS
:
m_OptDisplayTracksClearance
->
SetSelection
(
1
);
break
;
default
:
case
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS
:
m_OptDisplayTracksClearance
->
SetSelection
(
2
);
break
;
case
SHOW_CLEARANCE_ALWAYS
:
m_OptDisplayTracksClearance
->
SetSelection
(
3
);
break
;
}
if
(
DisplayOpt
.
DisplayPadFill
)
m_OptDisplayPads
->
SetSelection
(
1
);
...
...
@@ -115,21 +124,17 @@ void Dialog_Display_Options::OnOkClick(wxCommandEvent& event)
switch
(
m_OptDisplayTracksClearance
->
GetSelection
()
)
{
case
3
:
DisplayOpt
.
DisplayTrackIsol
=
TRUE
;
g_ShowClearanceWhenTrackCreation
=
1
;
case
0
:
DisplayOpt
.
ShowTrackClearanceMode
=
DO_NOT_SHOW_CLEARANCE
;
break
;
case
1
:
DisplayOpt
.
DisplayTrackIsol
=
FALSE
;
g_ShowClearanceWhenTrackCreation
=
1
;
DisplayOpt
.
ShowTrackClearanceMode
=
SHOW_CLEARANCE_NEW_TRACKS
;
break
;
case
2
:
DisplayOpt
.
DisplayTrackIsol
=
FALSE
;
g_ShowClearanceWhenTrackCreation
=
2
;
DisplayOpt
.
ShowTrackClearanceMode
=
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS
;
break
;
case
0
:
DisplayOpt
.
DisplayTrackIsol
=
FALSE
;
g_ShowClearanceWhenTrackCreation
=
0
;
case
3
:
DisplayOpt
.
ShowTrackClearanceMode
=
SHOW_CLEARANCE_ALWAYS
;
break
;
}
...
...
pcbnew/editrack.cpp
View file @
e8778199
...
...
@@ -16,15 +16,14 @@
#include "trigo.h"
/* Routines Locales */
static
void
Exit_Editrack
(
WinEDA_DrawPanel
*
panel
,
wxDC
*
DC
);
void
ShowNewTrackWhenMovingCursor
(
WinEDA_DrawPanel
*
panel
,
wxDC
*
DC
,
bool
erase
);
static
void
ComputeBreakPoint
(
TRACK
*
track
,
int
n
,
wxPoint
end
);
static
void
DeleteNullTrackSegments
(
BOARD
*
pcb
,
DLIST
<
TRACK
>&
aTrackList
);
static
void
Exit_Editrack
(
WinEDA_DrawPanel
*
panel
,
wxDC
*
DC
);
void
ShowNewTrackWhenMovingCursor
(
WinEDA_DrawPanel
*
panel
,
wxDC
*
DC
,
bool
erase
);
static
void
ComputeBreakPoint
(
TRACK
*
track
,
int
n
,
wxPoint
end
);
static
void
DeleteNullTrackSegments
(
BOARD
*
pcb
,
DLIST
<
TRACK
>&
aTrackList
);
static
void
EnsureEndTrackOnPad
(
D_PAD
*
Pad
);
static
void
EnsureEndTrackOnPad
(
D_PAD
*
Pad
);
/* variables locales */
static
int
OldNetCodeSurbrillance
;
...
...
@@ -83,14 +82,14 @@ TRACK* WinEDA_PcbFrame::Begin_Route( TRACK* aTrack, wxDC* DC )
* - si DRC OK : addition d'un nouveau point piste
*/
{
D_PAD
*
pt_pad
=
NULL
;
TRACK
*
TrackOnStartPoint
=
NULL
;
int
masquelayer
=
g_TabOneLayerMask
[((
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
];
BOARD_ITEM
*
LockPoint
;
wxPoint
pos
=
GetScreen
()
->
m_Curseur
;
D_PAD
*
pt_pad
=
NULL
;
TRACK
*
TrackOnStartPoint
=
NULL
;
int
masquelayer
=
g_TabOneLayerMask
[(
(
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
];
BOARD_ITEM
*
LockPoint
;
wxPoint
pos
=
GetScreen
()
->
m_Curseur
;
static
int
InitialTrackWidthValue
;
/* first track segment width.
* used when we are in the auto tack width mode */
static
int
InitialTrackWidthValue
;
/* first track segment width.
* used when we are in the auto tack width mode */
DrawPanel
->
ManageCurseur
=
ShowNewTrackWhenMovingCursor
;
DrawPanel
->
ForceCloseManageCurseur
=
Exit_Editrack
;
...
...
@@ -131,10 +130,11 @@ TRACK* WinEDA_PcbFrame::Begin_Route( TRACK* aTrack, wxDC* DC )
CreateLockPoint
(
&
pos
.
x
,
&
pos
.
y
,
TrackOnStartPoint
,
NULL
);
}
}
else
// no starting point, but a filled zone area can exist. This is also a good starting point.
{
ZONE_CONTAINER
*
zone
=
GetBoard
()
->
HitTestForAnyFilledArea
(
pos
,
GetScreen
()
->
m_Active_Layer
);
ZONE_CONTAINER
*
zone
=
GetBoard
()
->
HitTestForAnyFilledArea
(
pos
,
GetScreen
()
->
m_Active_Layer
);
if
(
zone
)
g_HightLigth_NetCode
=
zone
->
GetNet
();
}
...
...
@@ -147,7 +147,7 @@ TRACK* WinEDA_PcbFrame::Begin_Route( TRACK* aTrack, wxDC* DC )
Hight_Light
(
DC
);
g_CurrentTrackSegment
->
SetLayer
(
(
(
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
);
g_CurrentTrackSegment
->
SetLayer
(
(
(
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
);
g_CurrentTrackSegment
->
m_Width
=
g_DesignSettings
.
m_CurrentTrackWidth
;
if
(
g_DesignSettings
.
m_UseConnectedTrackWidth
)
...
...
@@ -259,7 +259,7 @@ TRACK* WinEDA_PcbFrame::Begin_Route( TRACK* aTrack, wxDC* DC )
newTrack
->
m_Start
=
newTrack
->
m_End
;
newTrack
->
SetLayer
(
(
(
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
);
newTrack
->
SetLayer
(
(
(
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
);
if
(
!
g_DesignSettings
.
m_UseConnectedTrackWidth
)
{
...
...
@@ -294,8 +294,8 @@ bool WinEDA_PcbFrame::Add_45_degrees_Segment( wxDC* DC )
* 0 si impossible
*/
{
int
pas_45
;
int
dx0
,
dy0
,
dx1
,
dy1
;
int
pas_45
;
int
dx0
,
dy0
,
dx1
,
dy1
;
if
(
g_CurrentTrackList
.
GetCount
()
<
2
)
return
false
;
/* il faut au moins 2 segments */
...
...
@@ -309,9 +309,9 @@ bool WinEDA_PcbFrame::Add_45_degrees_Segment( wxDC* DC )
return
false
;
}
pas_45
=
(
int
)
GetScreen
()
->
GetGrid
().
x
/
2
;
pas_45
=
(
int
)
GetScreen
()
->
GetGrid
().
x
/
2
;
if
(
pas_45
<
curTrack
->
m_Width
)
pas_45
=
(
int
)
GetScreen
()
->
GetGrid
().
x
;
pas_45
=
(
int
)
GetScreen
()
->
GetGrid
().
x
;
while
(
pas_45
<
curTrack
->
m_Width
)
pas_45
*=
2
;
...
...
@@ -420,7 +420,7 @@ void WinEDA_PcbFrame::End_Route( TRACK* aTrack, wxDC* DC )
* Routine de fin de trace d'une piste (succession de segments)
*/
{
int
masquelayer
=
g_TabOneLayerMask
[(
(
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
];
int
masquelayer
=
g_TabOneLayerMask
[(
(
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
];
if
(
aTrack
==
NULL
)
return
;
...
...
@@ -441,12 +441,12 @@ void WinEDA_PcbFrame::End_Route( TRACK* aTrack, wxDC* DC )
trace_ratsnest_pad
(
DC
);
/* efface trace chevelu*/
/* cleanup
if( g_CurrentTrackSegment->Next() != NULL )
{
delete g_CurrentTrackSegment->Next();
g_CurrentTrackSegment->SetNext( NULL );
}
*/
*
if( g_CurrentTrackSegment->Next() != NULL )
*
{
*
delete g_CurrentTrackSegment->Next();
*
g_CurrentTrackSegment->SetNext( NULL );
*
}
*/
D
(
g_CurrentTrackList
.
VerifyListIntegrity
();
);
...
...
@@ -485,14 +485,14 @@ void WinEDA_PcbFrame::End_Route( TRACK* aTrack, wxDC* DC )
// Insert new segments if they exist. This can be NULL on a double click on the start point
if
(
g_FirstTrackSegment
!=
NULL
)
{
int
netcode
=
g_FirstTrackSegment
->
GetNet
();
TRACK
*
firstTrack
=
g_FirstTrackSegment
;
int
newCount
=
g_CurrentTrackList
.
GetCount
();
int
netcode
=
g_FirstTrackSegment
->
GetNet
();
TRACK
*
firstTrack
=
g_FirstTrackSegment
;
int
newCount
=
g_CurrentTrackList
.
GetCount
();
// Put entire new current segment list in BOARD
TRACK
*
track
;
TRACK
*
insertBeforeMe
=
g_CurrentTrackSegment
->
GetBestInsertPoint
(
GetBoard
()
);
while
(
(
track
=
g_CurrentTrackList
.
PopFront
()
)
!=
NULL
)
while
(
(
track
=
g_CurrentTrackList
.
PopFront
()
)
!=
NULL
)
{
GetBoard
()
->
m_Track
.
Insert
(
track
,
insertBeforeMe
);
}
...
...
@@ -502,7 +502,7 @@ void WinEDA_PcbFrame::End_Route( TRACK* aTrack, wxDC* DC )
Trace_Une_Piste
(
DrawPanel
,
DC
,
firstTrack
,
newCount
,
GR_OR
);
int
i
=
0
;
for
(
track
=
firstTrack
;
track
&&
i
<
newCount
;
++
i
,
track
=
track
->
Next
()
)
for
(
track
=
firstTrack
;
track
&&
i
<
newCount
;
++
i
,
track
=
track
->
Next
()
)
{
track
->
m_Flags
=
0
;
track
->
SetState
(
BUSY
,
OFF
);
...
...
@@ -560,10 +560,10 @@ TRACK* LocateIntrusion( TRACK* start, int net, int width )
continue
;
/* TRACK::HitTest */
int
dist
=
width
/
2
+
track
->
m_Width
/
2
+
g_DesignSettings
.
m_TrackClearence
;
int
dist
=
width
/
2
+
track
->
m_Width
/
2
+
g_DesignSettings
.
m_TrackClearence
;
wxPoint
pos
=
ref
-
track
->
m_Start
;
wxPoint
vec
=
track
->
m_End
-
track
->
m_Start
;
wxPoint
pos
=
ref
-
track
->
m_Start
;
wxPoint
vec
=
track
->
m_End
-
track
->
m_Start
;
if
(
!
DistanceTest
(
dist
,
vec
.
x
,
vec
.
y
,
pos
.
x
,
pos
.
y
)
)
continue
;
...
...
@@ -599,7 +599,7 @@ TRACK* LocateIntrusion( TRACK* start, int net, int width )
*/
static
void
PushTrack
(
WinEDA_DrawPanel
*
panel
)
{
BOARD
*
pcb
=
(
(
WinEDA_BasePcbFrame
*
)
(
panel
->
m_Parent
)
)
->
GetBoard
();
BOARD
*
pcb
=
(
(
WinEDA_BasePcbFrame
*
)(
panel
->
m_Parent
)
)
->
GetBoard
();
wxPoint
cursor
=
ActiveScreen
->
m_Curseur
;
wxPoint
cv
,
vec
,
n
;
TRACK
*
track
=
g_CurrentTrackSegment
;
...
...
@@ -666,29 +666,27 @@ void ShowNewTrackWhenMovingCursor( WinEDA_DrawPanel* panel, wxDC* DC, bool erase
{
D
(
g_CurrentTrackList
.
VerifyListIntegrity
();
);
int
IsolTmp
;
bool
Track_fill_copy
;
PCB_SCREEN
*
screen
=
(
PCB_SCREEN
*
)
panel
->
GetScreen
();
Track_fill_copy
=
DisplayOpt
.
DisplayPcbTrackFill
;
bool
Track_fill_copy
=
DisplayOpt
.
DisplayPcbTrackFill
;
DisplayOpt
.
DisplayPcbTrackFill
=
true
;
IsolTmp
=
DisplayOpt
.
DisplayTrackIsol
;
int
showTrackClearanceMode
=
DisplayOpt
.
ShowTrackClearanceMode
;
if
(
g_ShowClearanceWhenTrackCreation
)
DisplayOpt
.
DisplayTrackIsol
=
TRUE
;
if
(
showTrackClearanceMode
!=
DO_NOT_SHOW_CLEARANCE
)
DisplayOpt
.
ShowTrackClearanceMode
=
SHOW_CLEARANCE_ALWAYS
;
/* efface ancienne position si elle a ete deja dessinee */
if
(
erase
)
{
Trace_Une_Piste
(
panel
,
DC
,
g_FirstTrackSegment
,
g_CurrentTrackList
.
GetCount
(),
GR_XOR
);
(
(
WinEDA_BasePcbFrame
*
)
(
panel
->
m_Parent
)
)
->
trace_ratsnest_pad
(
DC
);
if
(
g_ShowClearanceWhenTrackCreation
>
1
)
// Show the via area
(
(
WinEDA_BasePcbFrame
*
)(
panel
->
m_Parent
)
)
->
trace_ratsnest_pad
(
DC
);
if
(
showTrackClearanceMode
>=
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS
)
// Show the via area
{
int
color
=
g_DesignSettings
.
m_LayerColor
[
g_CurrentTrackSegment
->
GetLayer
()];
GRCircle
(
&
panel
->
m_ClipBox
,
DC
,
g_CurrentTrackSegment
->
m_End
.
x
,
g_CurrentTrackSegment
->
m_End
.
y
,
(
g_DesignSettings
.
m_CurrentViaSize
/
2
)
+
g_DesignSettings
.
m_TrackClearence
,
color
);
g_CurrentTrackSegment
->
m_End
.
y
,
(
g_DesignSettings
.
m_CurrentViaSize
/
2
)
+
g_DesignSettings
.
m_TrackClearence
,
color
);
}
}
...
...
@@ -698,7 +696,7 @@ void ShowNewTrackWhenMovingCursor( WinEDA_DrawPanel* panel, wxDC* DC, bool erase
/* dessin de la nouvelle piste : mise a jour du point d'arrivee */
g_CurrentTrackSegment
->
SetLayer
(
screen
->
m_Active_Layer
);
if
(
!
g_DesignSettings
.
m_UseConnectedTrackWidth
)
if
(
!
g_DesignSettings
.
m_UseConnectedTrackWidth
)
g_CurrentTrackSegment
->
m_Width
=
g_DesignSettings
.
m_CurrentTrackWidth
;
if
(
g_TwoSegmentTrackBuild
)
...
...
@@ -707,7 +705,7 @@ void ShowNewTrackWhenMovingCursor( WinEDA_DrawPanel* panel, wxDC* DC, bool erase
if
(
previous_track
&&
previous_track
->
Type
()
==
TYPE_TRACK
)
{
previous_track
->
SetLayer
(
screen
->
m_Active_Layer
);
if
(
!
g_DesignSettings
.
m_UseConnectedTrackWidth
)
if
(
!
g_DesignSettings
.
m_UseConnectedTrackWidth
)
previous_track
->
m_Width
=
g_DesignSettings
.
m_CurrentTrackWidth
;
}
}
...
...
@@ -719,10 +717,10 @@ void ShowNewTrackWhenMovingCursor( WinEDA_DrawPanel* panel, wxDC* DC, bool erase
g_CurrentTrackSegment
->
m_End
=
ActiveScreen
->
m_Curseur
;
if
(
Drc_On
)
PushTrack
(
panel
);
PushTrack
(
panel
);
ComputeBreakPoint
(
g_CurrentTrackSegment
,
g_CurrentTrackList
.
GetCount
(),
g_CurrentTrackSegment
->
m_End
);
g_CurrentTrackSegment
->
m_End
);
}
else
{
...
...
@@ -742,22 +740,22 @@ void ShowNewTrackWhenMovingCursor( WinEDA_DrawPanel* panel, wxDC* DC, bool erase
D
(
g_CurrentTrackList
.
VerifyListIntegrity
();
);
Trace_Une_Piste
(
panel
,
DC
,
g_FirstTrackSegment
,
g_CurrentTrackList
.
GetCount
(),
GR_XOR
);
if
(
g_ShowClearanceWhenTrackCreation
>
1
)
// Show the via area
if
(
showTrackClearanceMode
>=
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS
)
// Show the via area
{
int
color
=
g_DesignSettings
.
m_LayerColor
[
g_CurrentTrackSegment
->
GetLayer
()];
GRCircle
(
&
panel
->
m_ClipBox
,
DC
,
g_CurrentTrackSegment
->
m_End
.
x
,
g_CurrentTrackSegment
->
m_End
.
y
,
(
g_DesignSettings
.
m_CurrentViaSize
/
2
)
+
g_DesignSettings
.
m_TrackClearence
,
color
);
g_CurrentTrackSegment
->
m_End
.
y
,
(
g_DesignSettings
.
m_CurrentViaSize
/
2
)
+
g_DesignSettings
.
m_TrackClearence
,
color
);
}
DisplayOpt
.
DisplayTrackIsol
=
IsolTmp
;
DisplayOpt
.
DisplayPcbTrackFill
=
Track_fill_copy
;
DisplayOpt
.
ShowTrackClearanceMode
=
showTrackClearanceMode
;
DisplayOpt
.
DisplayPcbTrackFill
=
Track_fill_copy
;
(
(
WinEDA_BasePcbFrame
*
)
(
panel
->
m_Parent
)
)
->
(
(
WinEDA_BasePcbFrame
*
)(
panel
->
m_Parent
)
)
->
build_ratsnest_pad
(
NULL
,
g_CurrentTrackSegment
->
m_End
,
FALSE
);
(
(
WinEDA_BasePcbFrame
*
)
(
panel
->
m_Parent
)
)
->
trace_ratsnest_pad
(
DC
);
(
(
WinEDA_BasePcbFrame
*
)(
panel
->
m_Parent
)
)
->
trace_ratsnest_pad
(
DC
);
}
...
...
@@ -778,7 +776,7 @@ void Calcule_Coord_Extremite_45( int ox, int oy, int* fx, int* fy )
/* calcul de l'angle preferentiel : 0, 45 , 90 degre */
deltax
=
abs
(
deltax
);
deltay
=
abs
(
deltay
);
angle
=
45
;
angle
=
45
;
if
(
deltax
>=
deltay
)
{
...
...
@@ -859,7 +857,7 @@ void ComputeBreakPoint( TRACK* track, int SegmentCount, wxPoint end )
if
(
lastTrack
)
{
if
(
(
lastTrack
->
m_End
.
x
==
lastTrack
->
m_Start
.
x
)
||
(
lastTrack
->
m_End
.
y
==
lastTrack
->
m_Start
.
y
)
)
||
(
lastTrack
->
m_End
.
y
==
lastTrack
->
m_Start
.
y
)
)
{
iAngle
=
45
;
}
...
...
@@ -964,8 +962,8 @@ void DeleteNullTrackSegments( BOARD* pcb, DLIST<TRACK>& aTrackList )
firsttrack
->
start
=
NULL
;
while
(
track
!=
NULL
)
{
oldtrack
=
track
;
track
=
track
->
Next
();
oldtrack
=
track
;
track
=
track
->
Next
();
oldtrack
->
end
=
track
;
if
(
track
)
...
...
@@ -1029,4 +1027,3 @@ void EnsureEndTrackOnPad( D_PAD* Pad )
g_CurrentTrackSegment
->
end
=
Pad
;
g_CurrentTrackSegment
->
SetState
(
END_ONPAD
,
ON
);
}
pcbnew/pcbcfg.h
View file @
e8778199
...
...
@@ -194,20 +194,13 @@ static PARAM_CFG_BOOL SegmFillCfg
TRUE
/* Default value */
);
static
PARAM_CFG_INT
NewTrackAfficheGardeCfg
(
INSETUP
,
wxT
(
"NewAffG"
),
/* Keyword */
&
g_ShowClearanceWhenTrackCreation
,
/* Parameter address */
1
/* Default value */
);
static
PARAM_CFG_
BOOL
TrackAfficheGard
eCfg
static
PARAM_CFG_
INT
TrackDisplayClearanc
eCfg
(
INSETUP
,
wxT
(
"
SegAffG"
),
/* Keyword */
&
DisplayOpt
.
DisplayTrackIsol
,
/* Parameter address */
FALSE
/* Default value */
wxT
(
"
TrackDisplayClearance"
),
/* Keyword */
&
DisplayOpt
.
ShowTrackClearanceMode
,
/* Parameter address */
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS
/* Default value */
);
static
PARAM_CFG_BOOL
PadFillCfg
...
...
@@ -816,8 +809,7 @@ PARAM_CFG_BASE* ParamCfgList[] =
&
Raccord45Cfg
,
&
UnitCfg
,
&
SegmFillCfg
,
&
TrackAfficheGardeCfg
,
&
NewTrackAfficheGardeCfg
,
&
TrackDisplayClearanceCfg
,
&
PadFillCfg
,
&
PadAfficheGardeCfg
,
&
PadShowNumCfg
,
...
...
pcbnew/pcbnew.cpp
View file @
e8778199
...
...
@@ -33,7 +33,6 @@ bool g_Show_Ratsnest;
bool
g_Show_Module_Ratsnest
;
bool
g_Show_Pads_Module_in_Move
=
TRUE
;
bool
g_Raccord_45_Auto
=
TRUE
;
int
g_ShowClearanceWhenTrackCreation
=
1
;
bool
Track_45_Only
;
bool
Segments_45_Only
;
bool
g_TwoSegmentTrackBuild
=
TRUE
;
...
...
pcbnew/pcbnew.h
View file @
e8778199
...
...
@@ -54,12 +54,6 @@ extern bool g_Show_Ratsnest;
extern
bool
g_Show_Module_Ratsnest
;
extern
bool
g_Show_Pads_Module_in_Move
;
extern
bool
g_Raccord_45_Auto
;
extern
int
g_ShowClearanceWhenTrackCreation
;
/* = 0 , 1 or 2
* 0 = do not show clearance
* 1 = show track clearance
* 2 = show clearance + via area
* (useful to know what clearance area is neede if we want to put a via on terminal track point)
*/
extern
const
wxString
g_FootprintLibFileWildcard
;
// Wildcard for footprint libraries filesnames
...
...
pcbnew/print_board_functions.cpp
View file @
e8778199
...
...
@@ -45,12 +45,13 @@ void WinEDA_DrawPanel::PrintPage( wxDC* aDC, bool aPrint_Sheet_Ref, int aPrintMa
DisplayOpt
.
DisplayModEdge
=
FILLED
;
DisplayOpt
.
DisplayModText
=
FILLED
;
frame
->
m_DisplayPcbTrackFill
=
DisplayOpt
.
DisplayPcbTrackFill
=
FILLED
;
DisplayOpt
.
DisplayTrackIsol
=
false
;
DisplayOpt
.
ShowTrackClearanceMode
=
DO_NOT_SHOW_CLEARANCE
;
DisplayOpt
.
DisplayDrawItems
=
FILLED
;
DisplayOpt
.
DisplayZonesMode
=
0
;
DisplayOpt
.
DisplayNetNamesMode
=
0
;
m_PrintIsMirrored
=
aPrintMirrorMode
;
// The OR mode is used in color mode, but be aware the backgroud *must be BLACK.
// In print page dialog, we first plrint in BLACK, and after reprint in color,
// on the black "local" backgroud, in OR mode
...
...
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