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
6ae1471e
Commit
6ae1471e
authored
Nov 24, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more about zones
parent
4539c8c4
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8300 additions
and
5494 deletions
+8300
-5494
build_version.h
include/build_version.h
+2
-2
kicad.mo
internat/es/kicad.mo
+0
-0
kicad.po
internat/es/kicad.po
+8168
-5402
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+56
-36
dialog_copper_zones.cpp
pcbnew/dialog_copper_zones.cpp
+8
-7
dialog_pad_properties_base.cpp
pcbnew/dialog_pad_properties_base.cpp
+1
-1
edit.cpp
pcbnew/edit.cpp
+1
-0
zones_by_polygon.cpp
pcbnew/zones_by_polygon.cpp
+5
-4
zones_convert_brd_items_to_polygons.cpp
pcbnew/zones_convert_brd_items_to_polygons.cpp
+59
-42
No files found.
include/build_version.h
View file @
6ae1471e
...
...
@@ -9,7 +9,7 @@ COMMON_GLOBL wxString g_BuildVersion
# include "config.h"
(
wxT
(
KICAD_SVN_VERSION
))
# else
(
wxT
(
"(200811
1
4-unstable)"
))
/* main program version */
(
wxT
(
"(200811
2
4-unstable)"
))
/* main program version */
# endif
#endif
;
...
...
@@ -20,7 +20,7 @@ COMMON_GLOBL wxString g_BuildAboutVersion
# include "config.h"
(
wxT
(
KICAD_ABOUT_VERSION
))
# else
(
wxT
(
"(200811
1
4-unstable)"
))
/* svn date & rev (normally overridden) */
(
wxT
(
"(200811
2
4-unstable)"
))
/* svn date & rev (normally overridden) */
# endif
#endif
;
...
...
internat/es/kicad.mo
View file @
6ae1471e
No preview for this file type
internat/es/kicad.po
View file @
6ae1471e
This diff is collapsed.
Click to expand it.
internat/fr/kicad.mo
View file @
6ae1471e
No preview for this file type
internat/fr/kicad.po
View file @
6ae1471e
...
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-11-2
2 11:36
+0100\n"
"PO-Revision-Date: 2008-11-2
2 11:37
+0100\n"
"POT-Creation-Date: 2008-11-2
4 21:41
+0100\n"
"PO-Revision-Date: 2008-11-2
4 21:44
+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -287,7 +287,7 @@ msgstr "dimension"
#: pcbnew/class_marker.cpp:133
#: pcbnew/class_text_mod.cpp:503
#: pcbnew/class_track.cpp:850
#: pcbnew/class_zone.cpp:
789
#: pcbnew/class_zone.cpp:
821
msgid "Type"
msgstr "Type"
...
...
@@ -310,7 +310,7 @@ msgstr "Segment"
#: pcbnew/class_pcb_text.cpp:190
#: pcbnew/class_text_mod.cpp:516
#: pcbnew/class_track.cpp:907
#: pcbnew/class_zone.cpp:8
23
#: pcbnew/class_zone.cpp:8
55
msgid "Layer"
msgstr "Couche"
...
...
@@ -511,12 +511,12 @@ msgid "Display"
msgstr "Affichage"
#: pcbnew/class_track.cpp:866
#: pcbnew/class_zone.cpp:8
11
#: pcbnew/class_zone.cpp:8
43
msgid "NetName"
msgstr "NetName"
#: pcbnew/class_track.cpp:871
#: pcbnew/class_zone.cpp:8
19
#: pcbnew/class_zone.cpp:8
51
msgid "NetCode"
msgstr "NetCode"
...
...
@@ -528,27 +528,27 @@ msgstr "Standard"
msgid "Diam"
msgstr "Diam"
#: pcbnew/class_zone.cpp:8
14
#: pcbnew/class_zone.cpp:8
46
msgid "Non Copper Zone"
msgstr "Zone non Cuivre"
#: pcbnew/class_zone.cpp:8
27
#: pcbnew/class_zone.cpp:8
59
msgid "Corners"
msgstr "Sommets"
#: pcbnew/class_zone.cpp:8
33
#: pcbnew/class_zone.cpp:8
65
msgid "No Grid"
msgstr "Pas de Grille"
#: pcbnew/class_zone.cpp:8
34
#: pcbnew/class_zone.cpp:8
66
msgid "Fill Grid"
msgstr "Grille de Remplissage"
#: pcbnew/class_zone.cpp:8
39
#: pcbnew/class_zone.cpp:8
71
msgid "Hatch lines"
msgstr "Lignes de Hachure"
#: pcbnew/class_zone.cpp:8
45
#: pcbnew/class_zone.cpp:8
77
msgid "Corners in DrawList"
msgstr "Sommets en Liste de dessin"
...
...
@@ -2085,7 +2085,7 @@ msgstr "Surbrillance des équipotentielles"
msgid "Local Ratsnest"
msgstr "Montrer le chevelu général"
#: pcbnew/edit.cpp:58
4
#: pcbnew/edit.cpp:58
5
msgid "Delete item"
msgstr "Suppression d'éléments"
...
...
@@ -2702,7 +2702,7 @@ msgstr "Impossible de créer fichier "
msgid "File"
msgstr "Fichier"
#: pcbnew/plotgerb.cpp:8
41
#: pcbnew/plotgerb.cpp:8
65
#, c-format
msgid "unable to reopen file <%s>"
msgstr "Ne peut pas réouvrir fichier <%s>"
...
...
@@ -3010,19 +3010,19 @@ msgstr " chargé"
msgid "Modules [%d items]"
msgstr "Modules [%d éléments]"
#: pcbnew/dialog_copper_zones.cpp:
67
msgid "
Zone clearance value:
"
msgstr "Valeur isolation zone:
"
#: pcbnew/dialog_copper_zones.cpp:70
msgid "Grid :
"
msgstr "Grille:
"
#: pcbnew/dialog_copper_zones.cpp:
350
msgid ""
"Error :\n
"
"you must choose a copper bridge value for thermal reliefs bigger than the min zone thickness"
msgstr ""
"Erreur :\n
"
"vous devez choisir une valeur pour l'épaisseur de cuivre dans les freins thermiques plus grande que l'épaisseur de cuivre minimum des zones
"
#: pcbnew/dialog_copper_zones.cpp:3
55
#: pcbnew/dialog_copper_zones.cpp:3
62
msgid "Error : you must choose a layer"
msgstr "Erreur. Vous devez choisir une couche"
#: pcbnew/dialog_copper_zones.cpp:3
67
#: pcbnew/dialog_copper_zones.cpp:3
74
msgid "Error : you must choose a net name"
msgstr "Erreur. Vous devez choisir une équipotentielle"
...
...
@@ -4432,8 +4432,8 @@ msgid "No grid (For tests only!)"
msgstr "Pas de grille (pour tests)"
#: pcbnew/dialog_copper_zones_base.cpp:42
msgid "Grid Size for Filling
:
"
msgstr "Taille de Grille pour Remplissage
:
"
msgid "Grid Size for Filling"
msgstr "Taille de Grille pour Remplissage"
#: pcbnew/dialog_copper_zones_base.cpp:46
msgid "Include pads"
...
...
@@ -4546,34 +4546,42 @@ msgstr ""
"Si désactivé, les surfaces remplies dans cette zone seront affichées comme des surfaces \"solides\"."
#: pcbnew/dialog_copper_zones_base.cpp:122
msgid "Zone clearance value (mm):"
msgstr "Valeur isolation zone (mm):"
msgid "Zone clearance value"
msgstr "Valeur isolation zone"
#: pcbnew/dialog_copper_zones_base.cpp:129
msgid "Zone min thickness value"
msgstr "Valeur épaisseur min pour zone"
#: pcbnew/dialog_copper_zones_base.cpp:134
msgid "Value of minimun thickness of filled areas"
msgstr "Valeur de l'épaisseur minimum des zones remplies"
#: pcbnew/dialog_copper_zones_base.cpp:1
33
#: pcbnew/dialog_copper_zones_base.cpp:1
42
msgid "Export to others zones"
msgstr "Exporter vers autres zones"
#: pcbnew/dialog_copper_zones_base.cpp:1
34
#: pcbnew/dialog_copper_zones_base.cpp:1
43
msgid "Export this zone setup to all others copper zones"
msgstr "Exporter ces options vers les autres zones de cuivre"
#: pcbnew/dialog_copper_zones_base.cpp:1
61
#: pcbnew/dialog_copper_zones_base.cpp:1
70
msgid "Nets Display Options:"
msgstr "Options d'Affichage des Nets"
#: pcbnew/dialog_copper_zones_base.cpp:1
63
#: pcbnew/dialog_copper_zones_base.cpp:1
72
msgid "Alphabetic"
msgstr "Alphabetique"
#: pcbnew/dialog_copper_zones_base.cpp:1
63
#: pcbnew/dialog_copper_zones_base.cpp:1
72
msgid "Advanced"
msgstr "Avancé"
#: pcbnew/dialog_copper_zones_base.cpp:1
65
#: pcbnew/dialog_copper_zones_base.cpp:1
74
msgid "Net sorting:"
msgstr "Tri des Equipotentielles:"
#: pcbnew/dialog_copper_zones_base.cpp:1
67
#: pcbnew/dialog_copper_zones_base.cpp:1
76
msgid ""
"Nets can be sorted:\n"
"By alphabetic order\n"
...
...
@@ -4583,10 +4591,18 @@ msgstr ""
"Paur ordre alphabétique\n"
"Par nombre de pads dans les équipotentielles (avancé)"
#: pcbnew/dialog_copper_zones_base.cpp:1
71
#: pcbnew/dialog_copper_zones_base.cpp:1
80
msgid "Filter"
msgstr "Filtre"
#: pcbnew/dialog_copper_zones_base.cpp:185
msgid ""
"Pattern in advanced mode, to filter net names in list\n"
"Net names matching this pattern are not displayed"
msgstr ""
"Modèle en mode avancé, pour filtrer les noms de net en liste\n"
"Les noms de net correspondant à ce modèle ne sont pas listés"
#: pcbnew/globaleditpad.cpp:74
msgid "Edit Pads Global"
msgstr "Pads: Edition globale"
...
...
@@ -10426,7 +10442,7 @@ msgstr "Afficher Modules Cmp"
msgid "Show Modules Cu"
msgstr "Afficher Modules Cu"
#: pcbnew/dialog_copper_zones_base.h:
99
#: pcbnew/dialog_copper_zones_base.h:
101
msgid "Fill Zones Options"
msgstr "Options de Remplissage de Zone"
...
...
@@ -10750,6 +10766,10 @@ msgstr "Imprimer"
msgid "Create SVG file"
msgstr "Créer Fichier SVG"
#~ msgid "Grid :"
#~ msgstr "Grille:"
#~ msgid "Zone clearance value (mm):"
#~ msgstr "Valeur isolation zone (mm):"
#~ msgid "Comp layer"
#~ msgstr "Couche Cmp"
#~ msgid "New schematic sheet"
...
...
pcbnew/dialog_copper_zones.cpp
View file @
6ae1471e
...
...
@@ -42,7 +42,7 @@ dialog_copper_zone::dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* z
m_Parent
=
parent
;
m_Config
=
m_Parent
->
m_Parent
->
m_EDA_Config
;
m_Zone_Setting
=
zone_setting
;
m_NetSorting
=
1
;
// 0 = alphabetic sort, 1 = pad count sort
m_NetSorting
=
1
;
// 0 = alphabetic sort, 1 = pad count sort
, and filtering net names
if
(
m_Config
)
{
m_NetSorting
=
m_Config
->
Read
(
ZONE_NET_SORT_OPTION_KEY
,
1l
);
...
...
@@ -315,10 +315,6 @@ bool dialog_copper_zone::AcceptOptions( bool aPromptForErrors, bool aUseExportab
case
4
:
m_Zone_Setting
->
m_GridFillValue
=
0
;
#if 0 // I hope this feature works fine ( JP Charras)
DisplayInfo( this, wxT(
"You are using No grid for filling zones\nThis is currently in development and for tests only.\n Do not use for production" ) );
#endif
break
;
}
...
...
@@ -347,8 +343,13 @@ bool dialog_copper_zone::AcceptOptions( bool aPromptForErrors, bool aUseExportab
(
long
)
m_Zone_Setting
->
m_ThermalReliefGapValue
);
m_Config
->
Write
(
ZONE_THERMAL_RELIEF_COPPER_WIDTH_STRING_KEY
,
(
long
)
m_Zone_Setting
->
m_ThermalReliefCopperBridgeValue
);
(
long
)
m_Zone_Setting
->
m_ThermalReliefCopperBridgeValue
);
if
(
m_Zone_Setting
->
m_ThermalReliefCopperBridgeValue
<=
m_Zone_Setting
->
m_ZoneMinThickness
)
{
DisplayError
(
this
,
_
(
"Error :
\n
you must choose a copper bridge value for thermal reliefs bigger than the min zone thickness"
)
);
return
false
;
}
// If we use only exportable to others zones parameters, exit here:
if
(
aUseExportableSetupOnly
)
...
...
pcbnew/dialog_pad_properties_base.cpp
View file @
6ae1471e
...
...
@@ -53,7 +53,7 @@ DialogPadPropertiesBase::DialogPadPropertiesBase( wxWindow* parent, wxWindowID i
wxString
m_DrillShapeCtrlChoices
[]
=
{
_
(
"Circle"
),
_
(
"Oval"
)
};
int
m_DrillShapeCtrlNChoices
=
sizeof
(
m_DrillShapeCtrlChoices
)
/
sizeof
(
wxString
);
m_DrillShapeCtrl
=
new
wxRadioBox
(
this
,
ID_RADIOBOX_DRILL_SHAPE
,
_
(
"Drill Shape:"
),
wxDefaultPosition
,
wxDefaultSize
,
m_DrillShapeCtrlNChoices
,
m_DrillShapeCtrlChoices
,
1
,
wxRA_SPECIFY_COLS
);
m_DrillShapeCtrl
->
SetSelection
(
1
);
m_DrillShapeCtrl
->
SetSelection
(
0
);
m_DrillShapeBoxSizer
->
Add
(
m_DrillShapeCtrl
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_MainSizer
->
Add
(
m_DrillShapeBoxSizer
,
1
,
wxBOTTOM
,
5
);
...
...
pcbnew/edit.cpp
View file @
6ae1471e
...
...
@@ -569,6 +569,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
zone_container
->
m_FilledPolysList
.
clear
();;
}
test_connexions
(
NULL
);
Tst_Ratsnest
(
NULL
,
0
);
// Recalculate the active ratsnest, i.e. the unconnected links */
GetScreen
()
->
SetModify
();
DrawPanel
->
Refresh
();
break
;
...
...
pcbnew/zones_by_polygon.cpp
View file @
6ae1471e
...
...
@@ -856,7 +856,7 @@ int WinEDA_PcbFrame::Fill_Zone( wxDC* DC, ZONE_CONTAINER* zone_container, bool v
* Calculate the zone filling for the outline zone_container
* The zone outline is a frontier, and can be complex (with holes)
* The filling starts from starting points like pads, tracks.
* If exists the old filling is removed
* If exists
,
the old filling is removed
* @param DC = current Device Context
* @param zone_container = zone to fill
* @param verbose = true to show error messages
...
...
@@ -873,11 +873,11 @@ int WinEDA_PcbFrame::Fill_Zone( wxDC* DC, ZONE_CONTAINER* zone_container, bool v
return
-
1
;
}
/* Show the Net */
/* Show
s
the Net */
g_Zone_Default_Setting
.
m_NetcodeSelection
=
zone_container
->
GetNet
();
if
(
g_HightLigt_Status
&&
(
g_HightLigth_NetCode
!=
g_Zone_Default_Setting
.
m_NetcodeSelection
)
&&
DC
)
{
Hight_Light
(
DC
);
// Remove old high
t
light selection
Hight_Light
(
DC
);
// Remove old highlight selection
}
g_HightLigth_NetCode
=
g_Zone_Default_Setting
.
m_NetcodeSelection
;
...
...
@@ -956,7 +956,8 @@ int WinEDA_PcbFrame::Fill_All_Zones( wxDC* DC, bool verbose )
if
(
error_level
&&
!
verbose
)
break
;
}
m_Pcb
->
Test_Connections_To_Copper_Areas
(
);
test_connexions
(
NULL
);
Tst_Ratsnest
(
NULL
,
0
);
// Recalculate the active ratsnest, i.e. the unconnected links */
DrawPanel
->
Refresh
(
true
);
return
error_level
;
}
...
...
pcbnew/zones_convert_brd_items_to_polygons.cpp
View file @
6ae1471e
This diff is collapsed.
Click to expand it.
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