texlive[72615] Master/texmf-dist: trivialpursuit (21oct24)
commits+karl at tug.org
commits+karl at tug.org
Mon Oct 21 22:25:34 CEST 2024
Revision: 72615
https://tug.org/svn/texlive?view=revision&revision=72615
Author: karl
Date: 2024-10-21 22:25:34 +0200 (Mon, 21 Oct 2024)
Log Message:
-----------
trivialpursuit (21oct24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-en.pdf
trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-en.tex
trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-fr.pdf
trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-fr.tex
trunk/Master/texmf-dist/tex/latex/trivialpursuit/TrivialPursuit.sty
Modified: trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-en.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-en.tex 2024-10-21 20:25:25 UTC (rev 72614)
+++ trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-en.tex 2024-10-21 20:25:34 UTC (rev 72615)
@@ -21,8 +21,8 @@
\hypersetup{pdfborder=0 0 0}
\usepackage[margin=2cm]{geometry}
\setlength{\parindent}{0pt}
-\def\TPversion{0.1.1}
-\def\TPdate{26/11/2023}
+\def\TPversion{0.1.2}
+\def\TPdate{21/10/2024}
\usepackage{tcolorbox}
\tcbuselibrary{skins,hooks,listingsutf8}
\usepackage{soul}
@@ -135,6 +135,7 @@
\begin{quote}
\begin{verbatim}
+0.1.2 : Key [ShortVersion] in order to reduce number of border cells
0.1.1 : Adding two schemes of colors
0.1.0 : Initial version
\end{verbatim}
@@ -160,7 +161,9 @@
%
\BoardTrivialPursuit[Radius=4,BorderHeight=1.25] %beware of the rendering...
-\BoardTrivialPursuit[Unit=0.33] %'optimal' rendering
+\BoardTrivialPursuit[Unit=0.33]
+%
+\BoardTrivialPursuit[Unit=0.33,ShortVersion]
\end{tcblisting}
\pagebreak
@@ -188,7 +191,8 @@
\item \MontreCode{Blank} := boolean for an empty board, and \MontreCode{false} by default ;
\item \MontreCode{Unit} := to precis an unit (better than a scale !), and \MontreCode{1} by default ;
\item \MontreCode{Thickness} := thickness of the borders, and \MontreCode{0.8pt} by default ;
- \item \MontreCode{Rotation} := possible rotation of the board, and \MontreCode{0} by default.
+ \item \MontreCode{Rotation} := possible rotation of the board, and \MontreCode{0} by default ;
+ \item \MontreCode{ShortVersion} := use 5 cells instead 6 between 'big cells', and \MontreCode{false} by default.
\end{itemize}
\begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
Modified: trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-fr.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-fr.tex 2024-10-21 20:25:25 UTC (rev 72614)
+++ trunk/Master/texmf-dist/doc/latex/trivialpursuit/TrivialPursuit-doc-fr.tex 2024-10-21 20:25:34 UTC (rev 72615)
@@ -21,8 +21,8 @@
\hypersetup{pdfborder=0 0 0}
\usepackage[margin=2cm]{geometry}
\setlength{\parindent}{0pt}
-\def\TPversion{0.1.1}
-\def\TPdate{26 novembre 2023}
+\def\TPversion{0.1.2}
+\def\TPdate{21 octobre 2024}
\usepackage{tcolorbox}
\tcbuselibrary{skins,hooks,listingsutf8}
\usepackage{soul}
@@ -135,6 +135,7 @@
\begin{quote}
\begin{verbatim}
+0.1.2 : Ajout d'une clé [VersionCourte] pour diminuer le nombre de cases
0.1.1 : Ajout de palettes de couleurs prédéfinies
0.1.0 : Version initiale
\end{verbatim}
@@ -160,7 +161,9 @@
%
\PlateauTrivialPursuit[Rayon=4,HauteurCases=1.25] %attention au rendu...
-\PlateauTrivialPursuit[Unite=0.33] %le rendu est 'optimal'
+\PlateauTrivialPursuit[Unite=0.33]
+%
+\PlateauTrivialPursuit[Unite=0.33,VersionCourte]
\end{tcblisting}
\pagebreak
@@ -188,7 +191,8 @@
\item \MontreCode{Vide} := booléen pour afficher le plateau vide, et valant \MontreCode{false} par défaut ;
\item \MontreCode{Unite} := pour préciser l'unité (et gérer un facteur d'échelle), et valant \MontreCode{1} par défaut ;
\item \MontreCode{Epaisseur} := épaisseur des tracés, et valant \MontreCode{0.8pt} par défaut ;
- \item \MontreCode{Rotation} := rotation éventuelle du plateau, et valant \MontreCode{0} par défaut.
+ \item \MontreCode{Rotation} := rotation éventuelle du plateau, et valant \MontreCode{0} par défaut ;
+ \item \MontreCode{VersionCourte} := utiliser 5 cases au lieu de 6 entre les camemberts, et valant \MontreCode{false} par défaut.
\end{itemize}
\begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
Modified: trunk/Master/texmf-dist/tex/latex/trivialpursuit/TrivialPursuit.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/trivialpursuit/TrivialPursuit.sty 2024-10-21 20:25:25 UTC (rev 72614)
+++ trunk/Master/texmf-dist/tex/latex/trivialpursuit/TrivialPursuit.sty 2024-10-21 20:25:34 UTC (rev 72615)
@@ -4,7 +4,8 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{TrivialPursuit}[2023/11/26 0.1.1 Present a Trivial Pursuit Board]
+\ProvidesPackage{TrivialPursuit}[2024/10/21 0.1.2 Present a Trivial Pursuit Board]
+% 0.1.2 'Short' version
% 0.1.1 Adding schemes of colors
% 0.1.0 Initial version
@@ -62,7 +63,8 @@
Epaisseur=0.8pt,%
Rotation=0,%
Jokers=true,%
- IconeJoker={\faDice}
+ IconeJoker={\faDice},%
+ VersionCourte=false
}
%====INTERN COMMANDS
@@ -113,17 +115,17 @@
\ifboolKV[TrivPurs]{Couleurs}%
{%
%Couleur du 1er camembert
- \filldraw[{\triv at purs@lstcol[1]}] (PB-47)--(GB-47) arc ({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-1) arc ({\triv at purs@anglecases}:{-\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-47)--(GB-47) arc ({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-1) arc ({\triv at purs@anglecases}:{-\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 2ème
- \filldraw[{\triv at purs@lstcol[2]}] (PB-7)--(GB-7) arc ({7*\triv at purs@anglecases}:{9*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-9) arc ({9*\triv at purs@anglecases}:{7*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-7)--(GB-7) arc ({7*\triv at purs@anglecases}:{9*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-9) arc ({9*\triv at purs@anglecases}:{7*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 3ème
- \filldraw[{\triv at purs@lstcol[3]}] (PB-15)--(GB-15) arc ({15*\triv at purs@anglecases}:{17*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-17) arc ({17*\triv at purs@anglecases}:{15*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-15)--(GB-15) arc ({15*\triv at purs@anglecases}:{17*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-17) arc ({17*\triv at purs@anglecases}:{15*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 4ème
- \filldraw[{\triv at purs@lstcol[4]}] (PB-23)--(GB-23) arc ({23*\triv at purs@anglecases}:{25*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-25) arc ({25*\triv at purs@anglecases}:{23*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-23)--(GB-23) arc ({23*\triv at purs@anglecases}:{25*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-25) arc ({25*\triv at purs@anglecases}:{23*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 5ème
- \filldraw[{\triv at purs@lstcol[5]}] (PB-31)--(GB-31) arc ({31*\triv at purs@anglecases}:{33*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-33) arc ({33*\triv at purs@anglecases}:{31*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-31)--(GB-31) arc ({31*\triv at purs@anglecases}:{33*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-33) arc ({33*\triv at purs@anglecases}:{31*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 6ème
- \filldraw[{\triv at purs@lstcol[6]}] (PB-39)--(GB-39) arc ({39*\triv at purs@anglecases}:{41*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-41) arc ({41*\triv at purs@anglecases}:{39*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-39)--(GB-39) arc ({39*\triv at purs@anglecases}:{41*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-41) arc ({41*\triv at purs@anglecases}:{39*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
}%
{}%
%si on affiche les icones
@@ -141,7 +143,7 @@
\NewDocumentCommand\RemplirCaseTrivial{ m m m }{%deb + fin + numcouleur
\ifboolKV[TrivPurs]{Couleurs}%
{%
- \filldraw[{\triv at purs@lstcol[#3]}] (PB-#1)--(GB-#1) arc ({#1*\triv at purs@anglecases}:{#2*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-#2) arc ({#2*\triv at purs@anglecases}:{#1*\triv at purs@anglecases}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (PB-#1)--(GB-#1) arc ({#1*\triv at purs@anglecases}:{#2*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-#2) arc ({#2*\triv at purs@anglecases}:{#1*\triv at purs@anglecases}:{\triv at purs@rayonint});
}%
{}%
\ifboolKV[TrivPurs]{Icones}%
@@ -160,7 +162,7 @@
\xdef\tmpcaseap{\xinteval{#2+1}}%
\xintifboolexpr{#2 > 1 'and' #2 < 5}%
{%
- \filldraw[{\triv at purs@lstcol[#3]}] (C-#1-\tmpcase)--(D-#1-\tmpcase)--(D-#1-#2)--(C-#1-#2)--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (C-#1-\tmpcase)--(D-#1-\tmpcase)--(D-#1-#2)--(C-#1-#2)--cycle ;
}%
{}%
\xintifboolexpr{#2 == 5}%
@@ -178,12 +180,12 @@
{%
\xintifboolexpr{#1 == 1}%
{%
- \filldraw[{\triv at purs@lstcol[#3]}] (C-1-1)--(PB-\triv at purs@numcasavant) arc({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-1-1)--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (C-1-1)--(PB-\triv at purs@numcasavant) arc({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-1-1)--cycle ;
}%
{%
\xdef\tmp at ii{\xinteval{(-1+8*(#1-1))}}%
\xdef\tmp at jj{\xinteval{(\tmp at ii+2)}}%
- \filldraw[{\triv at purs@lstcol[#3]}] (C-#1-1)--(PB-\tmp at ii) arc({\tmp at ii*\triv at purs@anglecases}:{\tmp at jj*\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-#1-1)--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (C-#1-1)--(PB-\tmp at ii) arc({\tmp at ii*\triv at purs@anglecases}:{\tmp at jj*\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-#1-1)--cycle ;
}%
}%
{}%
@@ -398,6 +400,361 @@
\end{scope}
}
+%courte
+\NewDocumentCommand\CreationNoeudsTrivialCourt{}{%OK !!!!!!!!!!!!!!
+ %création des nœuds grand bord petit bord GB-i (et PB-i)
+ \coordinate (GB-1) at ({7.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-1) at ({7.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-2) at ({7.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-2) at ({7.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-3) at ({7.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-3) at ({7.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-4) at ({7.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-4) at ({7.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-5) at ({7.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-5) at ({7.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-6) at ({7.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-6) at ({7.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-7) at ({67.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-7) at ({67.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-8) at ({67.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-8) at ({67.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-9) at ({67.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-9) at ({67.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-10) at ({67.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-10) at ({67.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-11) at ({67.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-11) at ({67.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-12) at ({67.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-12) at ({67.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-13) at ({127.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-13) at ({127.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-14) at ({127.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-14) at ({127.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-15) at ({127.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-15) at ({127.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-16) at ({127.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-16) at ({127.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-17) at ({127.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-17) at ({127.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-18) at ({127.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-18) at ({127.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-19) at ({187.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-19) at ({187.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-20) at ({187.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-20) at ({187.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-21) at ({187.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-21) at ({187.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-22) at ({187.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-22) at ({187.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-23) at ({187.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-23) at ({187.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-24) at ({187.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-24) at ({187.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-25) at ({247.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-25) at ({247.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-26) at ({247.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-26) at ({247.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-27) at ({247.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-27) at ({247.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-28) at ({247.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-28) at ({247.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-29) at ({247.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-29) at ({247.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-30) at ({247.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-30) at ({247.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-31) at ({307.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-31) at ({307.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-32) at ({307.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-32) at ({307.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-33) at ({307.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-33) at ({307.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-34) at ({307.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-34) at ({307.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-35) at ({307.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-35) at ({307.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-36) at ({307.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-36) at ({307.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ %tests ?!?!
+% \foreach \i in {1,...,36}{%OK
+% \filldraw[teal] (GB-\i) circle[radius=1.75pt] node[font=\tiny\ttfamily] {GB-\i};
+% \filldraw[purple] (PB-\i) circle[radius=1.75pt] node[font=\tiny\ttfamily] {PB-\i};
+% }
+ %création des nœuds pour la figure centrale, boucle pour les 1ers + le dernier
+ \foreach \i in {1,...,\triv at purs@nbcat}{%
+ \coordinate (OM-\i) at ({30+(\i-1)*60}:{\triv at purs@rayonhexag}) ;
+ %\filldraw[orange] (OM-\i) circle[radius=1.75pt] node[font=\tiny\ttfamily] {OM-\i};
+ }%
+ %les nœuds des cases verticales
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-1-\j) at ($(PB-1)!\tmp at coeff!(OM-1)$) ;
+ %\filldraw[yellow] (D-1-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-1-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-2-\j) at ($(PB-6)!\tmp at coeff!(OM-1)$) ;
+ %\filldraw[yellow] (D-2-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-2-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-3-\j) at ($(PB-7)!\tmp at coeff!(OM-2)$) ;
+ %\filldraw[yellow] (D-3-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-3-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-4-\j) at ($(PB-12)!\tmp at coeff!(OM-2)$) ;
+ %\filldraw[yellow] (D-4-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-4-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-5-\j) at ($(PB-13)!\tmp at coeff!(OM-3)$) ;
+ %\filldraw[yellow] (D-5-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-5-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-6-\j) at ($(PB-18)!\tmp at coeff!(OM-3)$) ;
+ %\filldraw[yellow] (D-6-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-5-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-7-\j) at ($(PB-19)!\tmp at coeff!(OM-4)$) ;
+ %\filldraw[yellow] (D-7-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-7-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-8-\j) at ($(PB-24)!\tmp at coeff!(OM-4)$) ;
+ %\filldraw[yellow] (D-8-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-8-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-9-\j) at ($(PB-25)!\tmp at coeff!(OM-5)$) ;
+ %\filldraw[yellow] (D-9-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-9-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-10-\j) at ($(PB-30)!\tmp at coeff!(OM-5)$) ;
+ %\filldraw[yellow] (D-10-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-10-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-11-\j) at ($(PB-31)!\tmp at coeff!(OM-6)$) ;
+ %\filldraw[yellow] (D-11-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-11-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-12-\j) at ($(PB-36)!\tmp at coeff!(OM-6)$) ;
+ %\filldraw[yellow] (D-12-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-12-\j};
+ }%
+}
+
+\NewDocumentCommand\RemplirCasesTourCourt{}{%
+ %-------Vertical
+ %niveau 1 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (OM-6)--(OM-1)--(D-1-4)--(D-12-4)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-6)!0.5!(D-1-4)$) {\triv at purs@lsticons[2]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (D-12-4)--(D-1-4)--(D-1-3)--(D-12-3)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-12-4)!0.5!(D-1-3)$) {\triv at purs@lsticons[6]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (D-12-3)--(D-1-3)--(D-1-2)--(D-12-2)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-12-3)!0.5!(D-1-2)$) {\triv at purs@lsticons[5]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (D-12-2)--(D-1-2)--(D-1-1)--(D-12-1)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-12-2)!0.5!(D-1-1)$) {\triv at purs@lsticons[3]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (D-1-1)--(PB-1) arc({\triv at purs@anglecases}:{-\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-12-1)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-12-1)!0.5!(PB-1)$) {\triv at purs@lsticons[4]} ;
+ %niveau 2 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (OM-1)--(OM-2)--(D-3-4)--(D-2-4)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-1)!0.5!(D-3-4)$) {\triv at purs@lsticons[3]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (D-2-4)--(D-3-4)--(D-3-3)--(D-2-3)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-2-4)!0.5!(D-3-3)$) {\triv at purs@lsticons[1]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (D-2-3)--(D-3-3)--(D-3-2)--(D-2-2)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-2-3)!0.5!(D-3-2)$) {\triv at purs@lsticons[6]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (D-2-2)--(D-3-2)--(D-3-1)--(D-2-1)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-2-2)!0.5!(D-3-1)$) {\triv at purs@lsticons[4]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (D-3-1)--(PB-7) arc({67.5}:{52.5}:{\triv at purs@rayonint}) --(D-2-1)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-2-1)!0.5!(PB-7)$) {\triv at purs@lsticons[5]} ;
+ %niveau 3 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (OM-2)--(OM-3)--(D-5-4)--(D-4-4)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-2)!0.5!(D-5-4)$) {\triv at purs@lsticons[4]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (D-4-4)--(D-5-4)--(D-5-3)--(D-4-3)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-4-4)!0.5!(D-5-3)$) {\triv at purs@lsticons[2]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (D-4-3)--(D-5-3)--(D-5-2)--(D-4-2)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-4-3)!0.5!(D-5-2)$) {\triv at purs@lsticons[1]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (D-4-2)--(D-5-2)--(D-5-1)--(D-4-1)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-4-2)!0.5!(D-5-1)$) {\triv at purs@lsticons[5]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (D-5-1)--(PB-13) arc({127.5}:{112.5}:{\triv at purs@rayonint}) --(D-4-1)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-4-1)!0.5!(PB-13)$) {\triv at purs@lsticons[6]} ;
+ %niveau 4 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (OM-3)--(OM-4)--(D-7-4)--(D-6-4)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-3)!0.5!(D-7-4)$) {\triv at purs@lsticons[5]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (D-6-4)--(D-7-4)--(D-7-3)--(D-6-3)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-6-4)!0.5!(D-7-3)$) {\triv at purs@lsticons[3]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (D-6-3)--(D-7-3)--(D-7-2)--(D-6-2)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-6-3)!0.5!(D-7-2)$) {\triv at purs@lsticons[2]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (D-6-2)--(D-7-2)--(D-7-1)--(D-6-1)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-6-2)!0.5!(D-7-1)$) {\triv at purs@lsticons[6]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (D-7-1)--(PB-19) arc({187.5}:{172.5}:{\triv at purs@rayonint}) --(D-6-1)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-6-1)!0.5!(PB-19)$) {\triv at purs@lsticons[1]} ;
+ %niveau 5 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (OM-4)--(OM-5)--(D-9-4)--(D-8-4)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-4)!0.5!(D-9-4)$) {\triv at purs@lsticons[6]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (D-8-4)--(D-9-4)--(D-9-3)--(D-8-3)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-8-4)!0.5!(D-9-3)$) {\triv at purs@lsticons[4]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (D-8-3)--(D-9-3)--(D-9-2)--(D-8-2)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-8-3)!0.5!(D-9-2)$) {\triv at purs@lsticons[3]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (D-8-2)--(D-9-2)--(D-9-1)--(D-8-1)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-8-2)!0.5!(D-9-1)$) {\triv at purs@lsticons[1]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (D-9-1)--(PB-25) arc({247.5}:{232.5}:{\triv at purs@rayonint}) --(D-8-1)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-8-1)!0.5!(PB-25)$) {\triv at purs@lsticons[2]} ;
+ %niveau 6 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (OM-5)--(OM-6)--(D-11-4)--(D-10-4)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-5)!0.5!(D-11-4)$) {\triv at purs@lsticons[1]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (D-10-4)--(D-11-4)--(D-11-3)--(D-10-3)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-10-4)!0.5!(D-11-3)$) {\triv at purs@lsticons[5]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (D-10-3)--(D-11-3)--(D-11-2)--(D-10-2)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-10-3)!0.5!(D-11-2)$) {\triv at purs@lsticons[4]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (D-10-2)--(D-11-2)--(D-11-1)--(D-10-1)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-10-2)!0.5!(D-11-1)$) {\triv at purs@lsticons[2]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (D-11-1)--(PB-31) arc({307.5}:{292.5}:{\triv at purs@rayonint}) --(D-10-1)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-10-1)!0.5!(PB-31)$) {\triv at purs@lsticons[3]} ;
+ %--------BORDS !!!
+ \ifboolKV[TrivPurs]{Couleurs}%
+ {%
+ %Secteur1
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-1)--(GB-1) arc ({7.5+0*9}:{7.5+1*9}:{\triv at purs@rayon})--(PB-2) arc ({7.5+1*9}:{7.5+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-2)--(GB-2) arc ({7.5+1*9}:{7.5+2*9}:{\triv at purs@rayon})--(PB-3) arc ({7.5+2*9}:{7.5+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-4)--(GB-4) arc ({7.5+3*9}:{7.5+4*9}:{\triv at purs@rayon})--(PB-5) arc ({7.5+4*9}:{7.5+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-5)--(GB-5) arc ({7.5+4*9}:{7.5+5*9}:{\triv at purs@rayon})--(PB-6) arc ({7.5+5*9}:{7.5+4*9}:{\triv at purs@rayonint});
+ %Secteur2
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-7)--(GB-7) arc ({7.5+60+0*9}:{7.5+60+1*9}:{\triv at purs@rayon})--(PB-8) arc ({7.5+60+1*9}:{7.5+60+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-8)--(GB-8) arc ({7.5+60+1*9}:{7.5+60+2*9}:{\triv at purs@rayon})--(PB-9) arc ({7.5+60+2*9}:{7.5+60+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-10)--(GB-10) arc ({7.5+60+3*9}:{7.5+60+4*9}:{\triv at purs@rayon})--(PB-11) arc ({7.5+60+4*9}:{7.5+60+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-11)--(GB-11) arc ({7.5+60+4*9}:{7.5+60+5*9}:{\triv at purs@rayon})--(PB-12) arc ({7.5+60+5*9}:{7.5+60+4*9}:{\triv at purs@rayonint});
+ %Secteur3
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-13)--(GB-13) arc ({7.5+120+0*9}:{7.5+120+1*9}:{\triv at purs@rayon})--(PB-14) arc ({7.5+120+1*9}:{7.5+120+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-14)--(GB-14) arc ({7.5+120+1*9}:{7.5+120+2*9}:{\triv at purs@rayon})--(PB-15) arc ({7.5+120+2*9}:{7.5+120+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-16)--(GB-16) arc ({7.5+120+3*9}:{7.5+120+4*9}:{\triv at purs@rayon})--(PB-17) arc ({7.5+120+4*9}:{7.5+120+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-17)--(GB-17) arc ({7.5+120+4*9}:{7.5+120+5*9}:{\triv at purs@rayon})--(PB-18) arc ({7.5+120+5*9}:{7.5+120+4*9}:{\triv at purs@rayonint});
+ %Secteur4
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-19)--(GB-19) arc ({7.5+180+0*9}:{7.5+180+1*9}:{\triv at purs@rayon})--(PB-20) arc ({7.5+180+1*9}:{7.5+180+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-20)--(GB-20) arc ({7.5+180+1*9}:{7.5+180+2*9}:{\triv at purs@rayon})--(PB-21) arc ({7.5+180+2*9}:{7.5+180+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-22)--(GB-22) arc ({7.5+180+3*9}:{7.5+180+4*9}:{\triv at purs@rayon})--(PB-23) arc ({7.5+180+4*9}:{7.5+180+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-23)--(GB-23) arc ({7.5+180+4*9}:{7.5+180+5*9}:{\triv at purs@rayon})--(PB-24) arc ({7.5+180+5*9}:{7.5+180+4*9}:{\triv at purs@rayonint});
+ %Secteur5
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-25)--(GB-25) arc ({7.5+240+0*9}:{7.5+240+1*9}:{\triv at purs@rayon})--(PB-26) arc ({7.5+240+1*9}:{7.5+240+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-26)--(GB-26) arc ({7.5+240+1*9}:{7.5+240+2*9}:{\triv at purs@rayon})--(PB-27) arc ({7.5+240+2*9}:{7.5+240+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-28)--(GB-28) arc ({7.5+240+3*9}:{7.5+240+4*9}:{\triv at purs@rayon})--(PB-29) arc ({7.5+240+4*9}:{7.5+240+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-29)--(GB-29) arc ({7.5+240+4*9}:{7.5+240+5*9}:{\triv at purs@rayon})--(PB-30) arc ({7.5+240+5*9}:{7.5+240+4*9}:{\triv at purs@rayonint});
+ %Secteur6
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-31)--(GB-31) arc ({7.5+300+0*9}:{7.5+300+1*9}:{\triv at purs@rayon})--(PB-32) arc ({7.5+300+1*9}:{7.5+300+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-32)--(GB-32) arc ({7.5+300+1*9}:{7.5+300+2*9}:{\triv at purs@rayon})--(PB-33) arc ({7.5+300+2*9}:{7.5+300+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-34)--(GB-34) arc ({7.5+300+3*9}:{7.5+300+4*9}:{\triv at purs@rayon})--(PB-35) arc ({7.5+300+4*9}:{7.5+300+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-35)--(GB-35) arc ({7.5+300+4*9}:{7.5+300+5*9}:{\triv at purs@rayon})--(PB-36) arc ({7.5+300+5*9}:{7.5+300+4*9}:{\triv at purs@rayonint});
+ }%
+ {}%
+ \ifboolKV[TrivPurs]{Icones}%
+ {%
+ %secteur1
+ \node[rotate={90+0.5*(7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ \node[rotate={90+0.5*(7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ \node[rotate={90+0.5*(7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ \node[rotate={90+0.5*(7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ %secteur2
+ \node[rotate={90+0.5*(2*60+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*60+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ \node[rotate={90+0.5*(2*60+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*60+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ \node[rotate={90+0.5*(2*60+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*60+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ \node[rotate={90+0.5*(2*60+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*60+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ %secteur3
+ \node[rotate={90+0.5*(2*120+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*120+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ \node[rotate={90+0.5*(2*120+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*120+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ \node[rotate={90+0.5*(2*120+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*120+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ \node[rotate={90+0.5*(2*120+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*120+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ %secteur4
+ \node[rotate={90+0.5*(2*180+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*180+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ \node[rotate={90+0.5*(2*180+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*180+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ \node[rotate={90+0.5*(2*180+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*180+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ \node[rotate={90+0.5*(2*180+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*180+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ %secteur5
+ \node[rotate={90+0.5*(2*240+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*240+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ \node[rotate={90+0.5*(2*240+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*240+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ \node[rotate={90+0.5*(2*240+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*240+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ \node[rotate={90+0.5*(2*240+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*240+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ %secteur6
+ \node[rotate={90+0.5*(2*300+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*300+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ \node[rotate={90+0.5*(2*300+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*300+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ \node[rotate={90+0.5*(2*300+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*300+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ \node[rotate={90+0.5*(2*300+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*300+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ }%
+ {}%
+
+ %les jokers
+ \ifboolKV[TrivPurs]{Icones}%
+ {%
+ \ifboolKV[TrivPurs]{Jokers}%
+ {%
+ \node[rotate=30,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({30}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=90,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({90}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=150,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({150}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=210,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({210}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=270,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({270}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=330,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({330}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ }%
+ {}%
+ }%
+ {}%
+}
+\NewDocumentCommand\TraceBorduresTrivialCourt{ }{%OK Court
+ %les tracés des cases
+ \draw[EpTraits] (0,0) circle[radius=\triv at purs@rayon] ;
+ \draw[EpTraits] (0,0) circle[radius={\triv at purs@rayon-\triv at purs@hautcases}] ;
+ \foreach \i in {1,...,36}{%
+ \draw[EpTraits] (PB-\i)--(GB-\i) ;
+ }
+ \draw[EpTraits] (PB-1)--(OM-1)--(OM-6)--(PB-36) ;
+ \draw[EpTraits] (PB-6)--(OM-1)--(OM-2)--(PB-7) ;
+ \draw[EpTraits] (PB-12)--(OM-2)--(OM-3)--(PB-13) ;
+ \draw[EpTraits] (PB-18)--(OM-3)--(OM-4)--(PB-19) ;
+ \draw[EpTraits] (PB-24)--(OM-4)--(OM-5)--(PB-25) ;
+ \draw[EpTraits] (PB-30)--(OM-5)--(OM-6)--(PB-31) ;
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \draw[EpTraits] (D-2-\j)--(D-3-\j) ;
+ \draw[EpTraits] (D-4-\j)--(D-5-\j) ;
+ \draw[EpTraits] (D-6-\j)--(D-7-\j) ;
+ \draw[EpTraits] (D-8-\j)--(D-9-\j) ;
+ \draw[EpTraits] (D-10-\j)--(D-11-\j) ;
+ \draw[EpTraits] (D-12-\j)--(D-1-\j) ;
+ }%
+}
+
+\NewDocumentCommand\RemplirCamembertsTrivialCourt{ }{%numéro des camemberts, en partant de la droite
+ \ifboolKV[TrivPurs]{Couleurs}%
+ {%
+ %Couleur du 1er camembert
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-36)--(GB-36) arc ({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-1) arc ({\triv at purs@anglecases}:{-\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 2ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-6)--(GB-6) arc ({7*\triv at purs@anglecases}:{9*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-7) arc ({9*\triv at purs@anglecases}:{7*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 3ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-12)--(GB-12) arc ({15*\triv at purs@anglecases}:{17*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-13) arc ({17*\triv at purs@anglecases}:{15*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 4ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-18)--(GB-18) arc ({23*\triv at purs@anglecases}:{25*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-19) arc ({25*\triv at purs@anglecases}:{23*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 5ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-24)--(GB-24) arc ({31*\triv at purs@anglecases}:{33*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-25) arc ({33*\triv at purs@anglecases}:{31*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 6ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-30)--(GB-30) arc ({39*\triv at purs@anglecases}:{41*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-31) arc ({41*\triv at purs@anglecases}:{39*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ }%
+ {}%
+ %si on affiche les icones
+ \ifboolKV[TrivPurs]{Icones}%
+ {%
+ \node[rotate={90+0*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ \node[rotate={90+8*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({8*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ \node[rotate={90+16*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({16*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ \node[rotate={90+24*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({24*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ \node[rotate={90+32*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({32*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ \node[rotate={90+40*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({40*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ }%
+ {}%
+}
+
%====CREATION
\NewDocumentCommand\PlateauTrivialPursuit{ O{} D<>{} }{%
\restoreKV[TrivPurs]% revenir au valeurs par défaut
@@ -433,18 +790,35 @@
\useasboundingbox (0,0) circle[radius={\triv at purs@rayon}] ;
%création
\begin{scope}[rotate=\triv at purs@rotate]
- %les nœuds OK
- \CreationNoeudsTrivial
- %test avec centre OK
- \ifboolKV[TrivPurs]{Centre}{\RemplirCentreTrivial}{}
- %camemberts OK
- \RemplirCamembertsTrivial
- %cases OK
- \RemplirCasesTour
- %bordures
- \TraceBorduresTrivial
- %logo central
- \ifboolKV[TrivPurs]{Logo}{\LogoTrivialPursuit}{}
+ \ifboolKV[TrivPurs]{VersionCourte}%
+ {%
+ %les nœuds OK
+ \CreationNoeudsTrivialCourt
+ %test avec centre OK
+ \ifboolKV[TrivPurs]{Centre}{\RemplirCentreTrivial}{}
+ %camemberts OK
+ \RemplirCamembertsTrivialCourt
+ %cases OK
+ \RemplirCasesTourCourt
+ %bordures
+ \TraceBorduresTrivialCourt
+ %logo central
+ \ifboolKV[TrivPurs]{Logo}{\LogoTrivialPursuit}{}
+ }%
+ {%
+ %les nœuds OK
+ \CreationNoeudsTrivial
+ %test avec centre OK
+ \ifboolKV[TrivPurs]{Centre}{\RemplirCentreTrivial}{}
+ %camemberts OK
+ \RemplirCamembertsTrivial
+ %cases OK
+ \RemplirCasesTour
+ %bordures
+ \TraceBorduresTrivial
+ %logo central
+ \ifboolKV[TrivPurs]{Logo}{\LogoTrivialPursuit}{}
+ }%
\end{scope}
\end{tikzpicture}%
}
@@ -477,7 +851,8 @@
Thickness=0.8pt,%
Rotation=0,%
Jokers=true,%
- IconJoker={\faDice}
+ IconJoker={\faDice},%
+ ShortVersion=false
}
%====INTERN COMMANDS
@@ -528,17 +903,17 @@
\ifboolKV[TrivPursEN]{Colors}%
{%
%Couleur du 1er camembert
- \filldraw[{\triv at purs@lstcol[1]}] (PB-47)--(GB-47) arc ({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-1) arc ({\triv at purs@anglecases}:{-\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-47)--(GB-47) arc ({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-1) arc ({\triv at purs@anglecases}:{-\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 2ème
- \filldraw[{\triv at purs@lstcol[2]}] (PB-7)--(GB-7) arc ({7*\triv at purs@anglecases}:{9*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-9) arc ({9*\triv at purs@anglecases}:{7*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-7)--(GB-7) arc ({7*\triv at purs@anglecases}:{9*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-9) arc ({9*\triv at purs@anglecases}:{7*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 3ème
- \filldraw[{\triv at purs@lstcol[3]}] (PB-15)--(GB-15) arc ({15*\triv at purs@anglecases}:{17*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-17) arc ({17*\triv at purs@anglecases}:{15*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-15)--(GB-15) arc ({15*\triv at purs@anglecases}:{17*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-17) arc ({17*\triv at purs@anglecases}:{15*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 4ème
- \filldraw[{\triv at purs@lstcol[4]}] (PB-23)--(GB-23) arc ({23*\triv at purs@anglecases}:{25*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-25) arc ({25*\triv at purs@anglecases}:{23*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-23)--(GB-23) arc ({23*\triv at purs@anglecases}:{25*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-25) arc ({25*\triv at purs@anglecases}:{23*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 5ème
- \filldraw[{\triv at purs@lstcol[5]}] (PB-31)--(GB-31) arc ({31*\triv at purs@anglecases}:{33*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-33) arc ({33*\triv at purs@anglecases}:{31*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-31)--(GB-31) arc ({31*\triv at purs@anglecases}:{33*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-33) arc ({33*\triv at purs@anglecases}:{31*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
%Couleur du 6ème
- \filldraw[{\triv at purs@lstcol[6]}] (PB-39)--(GB-39) arc ({39*\triv at purs@anglecases}:{41*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-41) arc ({41*\triv at purs@anglecases}:{39*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-39)--(GB-39) arc ({39*\triv at purs@anglecases}:{41*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-41) arc ({41*\triv at purs@anglecases}:{39*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
}%
{}%
%si on affiche les icones
@@ -556,7 +931,7 @@
\NewDocumentCommand\FillCellTrivial{ m m m }{%deb + fin + numcouleur
\ifboolKV[TrivPursEN]{Colors}%
{%
- \filldraw[{\triv at purs@lstcol[#3]}] (PB-#1)--(GB-#1) arc ({#1*\triv at purs@anglecases}:{#2*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-#2) arc ({#2*\triv at purs@anglecases}:{#1*\triv at purs@anglecases}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (PB-#1)--(GB-#1) arc ({#1*\triv at purs@anglecases}:{#2*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-#2) arc ({#2*\triv at purs@anglecases}:{#1*\triv at purs@anglecases}:{\triv at purs@rayonint});
}%
{}%
\ifboolKV[TrivPursEN]{Icons}%
@@ -575,7 +950,7 @@
\xdef\tmpcaseap{\xinteval{#2+1}}%
\xintifboolexpr{#2 > 1 'and' #2 < 5}%
{%
- \filldraw[{\triv at purs@lstcol[#3]}] (C-#1-\tmpcase)--(D-#1-\tmpcase)--(D-#1-#2)--(C-#1-#2)--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (C-#1-\tmpcase)--(D-#1-\tmpcase)--(D-#1-#2)--(C-#1-#2)--cycle ;
}%
{}%
\xintifboolexpr{#2 == 5}%
@@ -582,10 +957,10 @@
{%
\xintifboolexpr{#1 == 1}%
{%
- \filldraw[{\triv at purs@lstcol[#3]}] (C-#1-\tmpcase)--(D-#1-\tmpcase)--(OM-#1)--(OM-6)--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (C-#1-\tmpcase)--(D-#1-\tmpcase)--(OM-#1)--(OM-6)--cycle ;
}%
{%
- \filldraw[{\triv at purs@lstcol[#3]}] (C-#1-\tmpcase)--(D-#1-\tmpcase)--(OM-#1)--(OM-\tmpnivav)--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (C-#1-\tmpcase)--(D-#1-\tmpcase)--(OM-#1)--(OM-\tmpnivav)--cycle ;
}%
}%
{}%
@@ -593,12 +968,12 @@
{%
\xintifboolexpr{#1 == 1}%
{%
- \filldraw[{\triv at purs@lstcol[#3]}] (C-1-1)--(PB-\triv at purs@numcasavant) arc({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-1-1)--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (C-1-1)--(PB-\triv at purs@numcasavant) arc({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-1-1)--cycle ;
}%
{%
\xdef\tmp at ii{\xinteval{(-1+8*(#1-1))}}%
\xdef\tmp at jj{\xinteval{(\tmp at ii+2)}}%
- \filldraw[{\triv at purs@lstcol[#3]}] (C-#1-1)--(PB-\tmp at ii) arc({\tmp at ii*\triv at purs@anglecases}:{\tmp at jj*\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-#1-1)--cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[#3]}] (C-#1-1)--(PB-\tmp at ii) arc({\tmp at ii*\triv at purs@anglecases}:{\tmp at jj*\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-#1-1)--cycle ;
}%
}%
{}%
@@ -766,7 +1141,7 @@
\begin{scope}[shift={(0:{0.15*\triv at purs@lgcamemb})}]
\ifboolKV[TrivPursEN]{Colors}%
{%
- \filldraw[{\triv at purs@lstcol[1]}] (0,0)--({-30}:{0.765*\triv at purs@lgcamemb}) arc (-30:30:{0.765*\triv at purs@lgcamemb}) -- cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (0,0)--({-30}:{0.765*\triv at purs@lgcamemb}) arc (-30:30:{0.765*\triv at purs@lgcamemb}) -- cycle ;
}%
{}%
\draw[EpTraitsPlus] (0,0)--({-30}:{0.765*\triv at purs@lgcamemb}) arc (-30:30:{0.765*\triv at purs@lgcamemb}) -- cycle ;
@@ -774,7 +1149,7 @@
\begin{scope}[shift={(60:{0.15*\triv at purs@lgcamemb})}]
\ifboolKV[TrivPursEN]{Colors}%
{%
- \filldraw[{\triv at purs@lstcol[2]}] (0,0)--({30}:{0.765*\triv at purs@lgcamemb}) arc (30:90:{0.765*\triv at purs@lgcamemb}) -- cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (0,0)--({30}:{0.765*\triv at purs@lgcamemb}) arc (30:90:{0.765*\triv at purs@lgcamemb}) -- cycle ;
}%
{}%
\draw[EpTraitsPlus] (0,0)--({30}:{0.765*\triv at purs@lgcamemb}) arc (30:90:{0.765*\triv at purs@lgcamemb}) -- cycle ;
@@ -782,7 +1157,7 @@
\begin{scope}[shift={(120:{0.15*\triv at purs@lgcamemb})}]
\ifboolKV[TrivPursEN]{Colors}%
{%
- \filldraw[{\triv at purs@lstcol[3]}] (0,0)--({90}:{0.765*\triv at purs@lgcamemb}) arc (90:150:{0.765*\triv at purs@lgcamemb}) -- cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (0,0)--({90}:{0.765*\triv at purs@lgcamemb}) arc (90:150:{0.765*\triv at purs@lgcamemb}) -- cycle ;
}%
{}%
\draw[EpTraitsPlus] (0,0)--({90}:{0.765*\triv at purs@lgcamemb}) arc (90:150:{0.765*\triv at purs@lgcamemb}) -- cycle ;
@@ -790,7 +1165,7 @@
\begin{scope}[shift={(180:{0.15*\triv at purs@lgcamemb})}]
\ifboolKV[TrivPursEN]{Colors}%
{%
- \filldraw[{\triv at purs@lstcol[4]}] (0,0)--({150}:{0.765*\triv at purs@lgcamemb}) arc (150:210:{0.765*\triv at purs@lgcamemb}) -- cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (0,0)--({150}:{0.765*\triv at purs@lgcamemb}) arc (150:210:{0.765*\triv at purs@lgcamemb}) -- cycle ;
}%
{}%
\draw[EpTraitsPlus] (0,0)--({150}:{0.765*\triv at purs@lgcamemb}) arc (150:210:{0.765*\triv at purs@lgcamemb}) -- cycle ;
@@ -798,7 +1173,7 @@
\begin{scope}[shift={(240:{0.15*\triv at purs@lgcamemb})}]
\ifboolKV[TrivPursEN]{Colors}%
{%
- \filldraw[{\triv at purs@lstcol[5]}] (0,0)--({210}:{0.765*\triv at purs@lgcamemb}) arc (210:270:{0.765*\triv at purs@lgcamemb}) -- cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (0,0)--({210}:{0.765*\triv at purs@lgcamemb}) arc (210:270:{0.765*\triv at purs@lgcamemb}) -- cycle ;
}%
{}%
\draw[EpTraitsPlus] (0,0)--({210}:{0.765*\triv at purs@lgcamemb}) arc (210:270:{0.765*\triv at purs@lgcamemb}) -- cycle ;
@@ -806,7 +1181,7 @@
\begin{scope}[shift={(300:{0.15*\triv at purs@lgcamemb})}]
\ifboolKV[TrivPursEN]{Colors}%
{%
- \filldraw[{\triv at purs@lstcol[6]}] (0,0)--({270}:{0.765*\triv at purs@lgcamemb}) arc (270:330:{0.765*\triv at purs@lgcamemb}) -- cycle ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (0,0)--({270}:{0.765*\triv at purs@lgcamemb}) arc (270:330:{0.765*\triv at purs@lgcamemb}) -- cycle ;
}%
{}%
\draw[EpTraitsPlus] (0,0)--({270}:{0.765*\triv at purs@lgcamemb}) arc (270:330:{0.765*\triv at purs@lgcamemb}) -- cycle ;
@@ -813,6 +1188,361 @@
\end{scope}
}
+%courte
+\NewDocumentCommand\CreationNodesTrivialShort{}{%OK !!!!!!!!!!!!!!
+ %création des nœuds grand bord petit bord GB-i (et PB-i)
+ \coordinate (GB-1) at ({7.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-1) at ({7.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-2) at ({7.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-2) at ({7.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-3) at ({7.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-3) at ({7.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-4) at ({7.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-4) at ({7.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-5) at ({7.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-5) at ({7.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-6) at ({7.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-6) at ({7.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-7) at ({67.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-7) at ({67.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-8) at ({67.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-8) at ({67.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-9) at ({67.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-9) at ({67.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-10) at ({67.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-10) at ({67.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-11) at ({67.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-11) at ({67.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-12) at ({67.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-12) at ({67.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-13) at ({127.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-13) at ({127.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-14) at ({127.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-14) at ({127.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-15) at ({127.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-15) at ({127.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-16) at ({127.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-16) at ({127.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-17) at ({127.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-17) at ({127.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-18) at ({127.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-18) at ({127.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-19) at ({187.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-19) at ({187.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-20) at ({187.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-20) at ({187.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-21) at ({187.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-21) at ({187.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-22) at ({187.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-22) at ({187.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-23) at ({187.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-23) at ({187.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-24) at ({187.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-24) at ({187.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-25) at ({247.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-25) at ({247.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-26) at ({247.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-26) at ({247.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-27) at ({247.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-27) at ({247.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-28) at ({247.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-28) at ({247.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-29) at ({247.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-29) at ({247.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-30) at ({247.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-30) at ({247.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-31) at ({307.5}:{\triv at purs@rayon}) ;
+ \coordinate (PB-31) at ({307.5}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-32) at ({307.5+9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-32) at ({307.5+9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-33) at ({307.5+2*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-33) at ({307.5+2*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-34) at ({307.5+3*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-34) at ({307.5+3*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-35) at ({307.5+4*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-35) at ({307.5+4*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ \coordinate (GB-36) at ({307.5+5*9}:{\triv at purs@rayon}) ;
+ \coordinate (PB-36) at ({307.5+5*9}:{\triv at purs@rayon-\triv at purs@hautcases}) ;
+ %tests ?!?!
+% \foreach \i in {1,...,36}{%OK
+% \draw[EpTraits,fill=teal] (GB-\i) circle[radius=1.75pt] node[font=\tiny\ttfamily] {GB-\i};
+% \draw[EpTraits,fill=purple] (PB-\i) circle[radius=1.75pt] node[font=\tiny\ttfamily] {PB-\i};
+% }
+ %création des nœuds pour la figure centrale, boucle pour les 1ers + le dernier
+ \foreach \i in {1,...,\triv at purs@nbcat}{%
+ \coordinate (OM-\i) at ({30+(\i-1)*60}:{\triv at purs@rayonhexag}) ;
+ %\draw[EpTraits,fill=orange] (OM-\i) circle[radius=1.75pt] node[font=\tiny\ttfamily] {OM-\i};
+ }%
+ %les nœuds des cases verticales
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-1-\j) at ($(PB-1)!\tmp at coeff!(OM-1)$) ;
+ %\draw[EpTraits,fill=yellow] (D-1-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-1-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-2-\j) at ($(PB-6)!\tmp at coeff!(OM-1)$) ;
+ %\draw[EpTraits,fill=yellow] (D-2-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-2-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-3-\j) at ($(PB-7)!\tmp at coeff!(OM-2)$) ;
+ %\draw[EpTraits,fill=yellow] (D-3-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-3-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-4-\j) at ($(PB-12)!\tmp at coeff!(OM-2)$) ;
+ %\draw[EpTraits,fill=yellow] (D-4-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-4-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-5-\j) at ($(PB-13)!\tmp at coeff!(OM-3)$) ;
+ %\draw[EpTraits,fill=yellow] (D-5-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-5-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-6-\j) at ($(PB-18)!\tmp at coeff!(OM-3)$) ;
+ %\draw[EpTraits,fill=yellow] (D-6-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-5-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-7-\j) at ($(PB-19)!\tmp at coeff!(OM-4)$) ;
+ %\draw[EpTraits,fill=yellow] (D-7-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-7-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-8-\j) at ($(PB-24)!\tmp at coeff!(OM-4)$) ;
+ %\draw[EpTraits,fill=yellow] (D-8-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-8-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-9-\j) at ($(PB-25)!\tmp at coeff!(OM-5)$) ;
+ %\draw[EpTraits,fill=yellow] (D-9-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-9-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-10-\j) at ($(PB-30)!\tmp at coeff!(OM-5)$) ;
+ %\draw[EpTraits,fill=yellow] (D-10-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-10-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-11-\j) at ($(PB-31)!\tmp at coeff!(OM-6)$) ;
+ %\draw[EpTraits,fill=yellow] (D-11-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-11-\j};
+ }%
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \xdef\tmp at coeff{\xintfloateval{\j/(\triv at purs@nbcat-1)}}%
+ \coordinate (D-12-\j) at ($(PB-36)!\tmp at coeff!(OM-6)$) ;
+ %\draw[EpTraits,fill=yellow] (D-12-\j) circle[radius=1.75pt] node[font=\tiny\ttfamily] {D-12-\j};
+ }%
+}
+
+\NewDocumentCommand\FillCellsBorderShort{}{%
+ %-------Vertical
+ %niveau 1 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (OM-6)--(OM-1)--(D-1-4)--(D-12-4)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-6)!0.5!(D-1-4)$) {\triv at purs@lsticons[2]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (D-12-4)--(D-1-4)--(D-1-3)--(D-12-3)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-12-4)!0.5!(D-1-3)$) {\triv at purs@lsticons[6]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (D-12-3)--(D-1-3)--(D-1-2)--(D-12-2)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-12-3)!0.5!(D-1-2)$) {\triv at purs@lsticons[5]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (D-12-2)--(D-1-2)--(D-1-1)--(D-12-1)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-12-2)!0.5!(D-1-1)$) {\triv at purs@lsticons[3]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (D-1-1)--(PB-1) arc({\triv at purs@anglecases}:{-\triv at purs@anglecases}:{\triv at purs@rayonint}) --(D-12-1)--cycle ;
+ \node[rotate={90},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-12-1)!0.5!(PB-1)$) {\triv at purs@lsticons[4]} ;
+ %niveau 2 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (OM-1)--(OM-2)--(D-3-4)--(D-2-4)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-1)!0.5!(D-3-4)$) {\triv at purs@lsticons[3]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (D-2-4)--(D-3-4)--(D-3-3)--(D-2-3)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-2-4)!0.5!(D-3-3)$) {\triv at purs@lsticons[1]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (D-2-3)--(D-3-3)--(D-3-2)--(D-2-2)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-2-3)!0.5!(D-3-2)$) {\triv at purs@lsticons[6]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (D-2-2)--(D-3-2)--(D-3-1)--(D-2-1)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-2-2)!0.5!(D-3-1)$) {\triv at purs@lsticons[4]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (D-3-1)--(PB-7) arc({67.5}:{52.5}:{\triv at purs@rayonint}) --(D-2-1)--cycle ;
+ \node[rotate={90+(8)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-2-1)!0.5!(PB-7)$) {\triv at purs@lsticons[5]} ;
+ %niveau 3 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (OM-2)--(OM-3)--(D-5-4)--(D-4-4)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-2)!0.5!(D-5-4)$) {\triv at purs@lsticons[4]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (D-4-4)--(D-5-4)--(D-5-3)--(D-4-3)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-4-4)!0.5!(D-5-3)$) {\triv at purs@lsticons[2]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (D-4-3)--(D-5-3)--(D-5-2)--(D-4-2)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-4-3)!0.5!(D-5-2)$) {\triv at purs@lsticons[1]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (D-4-2)--(D-5-2)--(D-5-1)--(D-4-1)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-4-2)!0.5!(D-5-1)$) {\triv at purs@lsticons[5]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (D-5-1)--(PB-13) arc({127.5}:{112.5}:{\triv at purs@rayonint}) --(D-4-1)--cycle ;
+ \node[rotate={90+(16)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-4-1)!0.5!(PB-13)$) {\triv at purs@lsticons[6]} ;
+ %niveau 4 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (OM-3)--(OM-4)--(D-7-4)--(D-6-4)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-3)!0.5!(D-7-4)$) {\triv at purs@lsticons[5]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (D-6-4)--(D-7-4)--(D-7-3)--(D-6-3)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-6-4)!0.5!(D-7-3)$) {\triv at purs@lsticons[3]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (D-6-3)--(D-7-3)--(D-7-2)--(D-6-2)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-6-3)!0.5!(D-7-2)$) {\triv at purs@lsticons[2]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (D-6-2)--(D-7-2)--(D-7-1)--(D-6-1)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-6-2)!0.5!(D-7-1)$) {\triv at purs@lsticons[6]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (D-7-1)--(PB-19) arc({187.5}:{172.5}:{\triv at purs@rayonint}) --(D-6-1)--cycle ;
+ \node[rotate={90+(24)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-6-1)!0.5!(PB-19)$) {\triv at purs@lsticons[1]} ;
+ %niveau 5 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (OM-4)--(OM-5)--(D-9-4)--(D-8-4)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-4)!0.5!(D-9-4)$) {\triv at purs@lsticons[6]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (D-8-4)--(D-9-4)--(D-9-3)--(D-8-3)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-8-4)!0.5!(D-9-3)$) {\triv at purs@lsticons[4]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (D-8-3)--(D-9-3)--(D-9-2)--(D-8-2)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-8-3)!0.5!(D-9-2)$) {\triv at purs@lsticons[3]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (D-8-2)--(D-9-2)--(D-9-1)--(D-8-1)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-8-2)!0.5!(D-9-1)$) {\triv at purs@lsticons[1]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (D-9-1)--(PB-25) arc({247.5}:{232.5}:{\triv at purs@rayonint}) --(D-8-1)--cycle ;
+ \node[rotate={90+(32)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-8-1)!0.5!(PB-25)$) {\triv at purs@lsticons[2]} ;
+ %niveau 6 vertical
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (OM-5)--(OM-6)--(D-11-4)--(D-10-4)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(OM-5)!0.5!(D-11-4)$) {\triv at purs@lsticons[1]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (D-10-4)--(D-11-4)--(D-11-3)--(D-10-3)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-10-4)!0.5!(D-11-3)$) {\triv at purs@lsticons[5]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (D-10-3)--(D-11-3)--(D-11-2)--(D-10-2)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-10-3)!0.5!(D-11-2)$) {\triv at purs@lsticons[4]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (D-10-2)--(D-11-2)--(D-11-1)--(D-10-1)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-10-2)!0.5!(D-11-1)$) {\triv at purs@lsticons[2]} ;
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (D-11-1)--(PB-31) arc({307.5}:{292.5}:{\triv at purs@rayonint}) --(D-10-1)--cycle ;
+ \node[rotate={90+(40)*\triv at purs@anglecases},scale={0.75*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ($(D-10-1)!0.5!(PB-31)$) {\triv at purs@lsticons[3]} ;
+ %--------BORDS !!!
+ \ifboolKV[TrivPursEN]{Colors}%
+ {%
+ %Secteur1
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-1)--(GB-1) arc ({7.5+0*9}:{7.5+1*9}:{\triv at purs@rayon})--(PB-2) arc ({7.5+1*9}:{7.5+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-2)--(GB-2) arc ({7.5+1*9}:{7.5+2*9}:{\triv at purs@rayon})--(PB-3) arc ({7.5+2*9}:{7.5+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-4)--(GB-4) arc ({7.5+3*9}:{7.5+4*9}:{\triv at purs@rayon})--(PB-5) arc ({7.5+4*9}:{7.5+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-5)--(GB-5) arc ({7.5+4*9}:{7.5+5*9}:{\triv at purs@rayon})--(PB-6) arc ({7.5+5*9}:{7.5+4*9}:{\triv at purs@rayonint});
+ %Secteur2
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-7)--(GB-7) arc ({7.5+60+0*9}:{7.5+60+1*9}:{\triv at purs@rayon})--(PB-8) arc ({7.5+60+1*9}:{7.5+60+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-8)--(GB-8) arc ({7.5+60+1*9}:{7.5+60+2*9}:{\triv at purs@rayon})--(PB-9) arc ({7.5+60+2*9}:{7.5+60+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-10)--(GB-10) arc ({7.5+60+3*9}:{7.5+60+4*9}:{\triv at purs@rayon})--(PB-11) arc ({7.5+60+4*9}:{7.5+60+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-11)--(GB-11) arc ({7.5+60+4*9}:{7.5+60+5*9}:{\triv at purs@rayon})--(PB-12) arc ({7.5+60+5*9}:{7.5+60+4*9}:{\triv at purs@rayonint});
+ %Secteur3
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-13)--(GB-13) arc ({7.5+120+0*9}:{7.5+120+1*9}:{\triv at purs@rayon})--(PB-14) arc ({7.5+120+1*9}:{7.5+120+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-14)--(GB-14) arc ({7.5+120+1*9}:{7.5+120+2*9}:{\triv at purs@rayon})--(PB-15) arc ({7.5+120+2*9}:{7.5+120+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-16)--(GB-16) arc ({7.5+120+3*9}:{7.5+120+4*9}:{\triv at purs@rayon})--(PB-17) arc ({7.5+120+4*9}:{7.5+120+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-17)--(GB-17) arc ({7.5+120+4*9}:{7.5+120+5*9}:{\triv at purs@rayon})--(PB-18) arc ({7.5+120+5*9}:{7.5+120+4*9}:{\triv at purs@rayonint});
+ %Secteur4
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-19)--(GB-19) arc ({7.5+180+0*9}:{7.5+180+1*9}:{\triv at purs@rayon})--(PB-20) arc ({7.5+180+1*9}:{7.5+180+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-20)--(GB-20) arc ({7.5+180+1*9}:{7.5+180+2*9}:{\triv at purs@rayon})--(PB-21) arc ({7.5+180+2*9}:{7.5+180+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-22)--(GB-22) arc ({7.5+180+3*9}:{7.5+180+4*9}:{\triv at purs@rayon})--(PB-23) arc ({7.5+180+4*9}:{7.5+180+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-23)--(GB-23) arc ({7.5+180+4*9}:{7.5+180+5*9}:{\triv at purs@rayon})--(PB-24) arc ({7.5+180+5*9}:{7.5+180+4*9}:{\triv at purs@rayonint});
+ %Secteur5
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-25)--(GB-25) arc ({7.5+240+0*9}:{7.5+240+1*9}:{\triv at purs@rayon})--(PB-26) arc ({7.5+240+1*9}:{7.5+240+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-26)--(GB-26) arc ({7.5+240+1*9}:{7.5+240+2*9}:{\triv at purs@rayon})--(PB-27) arc ({7.5+240+2*9}:{7.5+240+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-28)--(GB-28) arc ({7.5+240+3*9}:{7.5+240+4*9}:{\triv at purs@rayon})--(PB-29) arc ({7.5+240+4*9}:{7.5+240+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-29)--(GB-29) arc ({7.5+240+4*9}:{7.5+240+5*9}:{\triv at purs@rayon})--(PB-30) arc ({7.5+240+5*9}:{7.5+240+4*9}:{\triv at purs@rayonint});
+ %Secteur6
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-31)--(GB-31) arc ({7.5+300+0*9}:{7.5+300+1*9}:{\triv at purs@rayon})--(PB-32) arc ({7.5+300+1*9}:{7.5+300+0*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-32)--(GB-32) arc ({7.5+300+1*9}:{7.5+300+2*9}:{\triv at purs@rayon})--(PB-33) arc ({7.5+300+2*9}:{7.5+300+1*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-34)--(GB-34) arc ({7.5+300+3*9}:{7.5+300+4*9}:{\triv at purs@rayon})--(PB-35) arc ({7.5+300+4*9}:{7.5+300+3*9}:{\triv at purs@rayonint});
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-35)--(GB-35) arc ({7.5+300+4*9}:{7.5+300+5*9}:{\triv at purs@rayon})--(PB-36) arc ({7.5+300+5*9}:{7.5+300+4*9}:{\triv at purs@rayonint});
+ }%
+ {}%
+ \ifboolKV[TrivPursEN]{Icons}%
+ {%
+ %secteur1
+ \node[rotate={90+0.5*(7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ \node[rotate={90+0.5*(7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ \node[rotate={90+0.5*(7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ \node[rotate={90+0.5*(7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ %secteur2
+ \node[rotate={90+0.5*(2*60+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*60+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ \node[rotate={90+0.5*(2*60+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*60+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ \node[rotate={90+0.5*(2*60+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*60+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ \node[rotate={90+0.5*(2*60+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*60+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ %secteur3
+ \node[rotate={90+0.5*(2*120+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*120+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ \node[rotate={90+0.5*(2*120+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*120+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ \node[rotate={90+0.5*(2*120+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*120+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ \node[rotate={90+0.5*(2*120+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*120+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ %secteur4
+ \node[rotate={90+0.5*(2*180+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*180+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ \node[rotate={90+0.5*(2*180+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*180+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ \node[rotate={90+0.5*(2*180+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*180+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ \node[rotate={90+0.5*(2*180+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*180+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ %secteur5
+ \node[rotate={90+0.5*(2*240+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*240+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ \node[rotate={90+0.5*(2*240+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*240+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ \node[rotate={90+0.5*(2*240+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*240+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ \node[rotate={90+0.5*(2*240+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*240+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ %secteur6
+ \node[rotate={90+0.5*(2*300+7.5+0*9+7.5+1*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*300+7.5+7.5+1*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ \node[rotate={90+0.5*(2*300+7.5+1*9+7.5+2*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*300+7.5+1*9+7.5+2*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ \node[rotate={90+0.5*(2*300+7.5+3*9+7.5+4*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*300+7.5+3*9+7.5+4*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ \node[rotate={90+0.5*(2*300+7.5+5*9+7.5+5*9)},scale={\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0.5*(2*300+7.5+4*9+7.5+5*9)}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ }%
+ {}%
+
+ %les jokers
+ \ifboolKV[TrivPursEN]{Icons}%
+ {%
+ \ifboolKV[TrivPursEN]{Jokers}%
+ {%
+ \node[rotate=30,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({30}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=90,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({90}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=150,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({150}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=210,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({210}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=270,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({270}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ \node[rotate=330,scale={\triv at purs@scaleicons*\triv at purs@hautcases}] at ({330}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@iconjok} ;
+ }%
+ {}%
+ }%
+ {}%
+}
+\NewDocumentCommand\DrawBordersTrivialShort{ }{%OK Court
+ %les tracés des cases
+ \draw[EpTraits] (0,0) circle[radius=\triv at purs@rayon] ;
+ \draw[EpTraits] (0,0) circle[radius={\triv at purs@rayon-\triv at purs@hautcases}] ;
+ \foreach \i in {1,...,36}{%
+ \draw[EpTraits] (PB-\i)--(GB-\i) ;
+ }
+ \draw[EpTraits] (PB-1)--(OM-1)--(OM-6)--(PB-36) ;
+ \draw[EpTraits] (PB-6)--(OM-1)--(OM-2)--(PB-7) ;
+ \draw[EpTraits] (PB-12)--(OM-2)--(OM-3)--(PB-13) ;
+ \draw[EpTraits] (PB-18)--(OM-3)--(OM-4)--(PB-19) ;
+ \draw[EpTraits] (PB-24)--(OM-4)--(OM-5)--(PB-25) ;
+ \draw[EpTraits] (PB-30)--(OM-5)--(OM-6)--(PB-31) ;
+ \foreach \j in {1,...,\xinteval{\triv at purs@nbcat-2}}{%
+ \draw[EpTraits] (D-2-\j)--(D-3-\j) ;
+ \draw[EpTraits] (D-4-\j)--(D-5-\j) ;
+ \draw[EpTraits] (D-6-\j)--(D-7-\j) ;
+ \draw[EpTraits] (D-8-\j)--(D-9-\j) ;
+ \draw[EpTraits] (D-10-\j)--(D-11-\j) ;
+ \draw[EpTraits] (D-12-\j)--(D-1-\j) ;
+ }%
+}
+
+\NewDocumentCommand\FillCamembersTrivialShort{ }{%numéro des camemberts, en partant de la droite
+ \ifboolKV[TrivPursEN]{Colors}%
+ {%
+ %Couleur du 1er camembert
+ \draw[EpTraits,fill={\triv at purs@lstcol[1]}] (PB-36)--(GB-36) arc ({-\triv at purs@anglecases}:{\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-1) arc ({\triv at purs@anglecases}:{-\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 2ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[2]}] (PB-6)--(GB-6) arc ({7*\triv at purs@anglecases}:{9*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-7) arc ({9*\triv at purs@anglecases}:{7*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 3ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[3]}] (PB-12)--(GB-12) arc ({15*\triv at purs@anglecases}:{17*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-13) arc ({17*\triv at purs@anglecases}:{15*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 4ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[4]}] (PB-18)--(GB-18) arc ({23*\triv at purs@anglecases}:{25*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-19) arc ({25*\triv at purs@anglecases}:{23*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 5ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[5]}] (PB-24)--(GB-24) arc ({31*\triv at purs@anglecases}:{33*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-25) arc ({33*\triv at purs@anglecases}:{31*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ %Couleur du 6ème
+ \draw[EpTraits,fill={\triv at purs@lstcol[6]}] (PB-30)--(GB-30) arc ({39*\triv at purs@anglecases}:{41*\triv at purs@anglecases}:{\triv at purs@rayon})--(PB-31) arc ({41*\triv at purs@anglecases}:{39*\triv at purs@anglecases}:{\triv at purs@rayonint})--cycle ;
+ }%
+ {}%
+ %si on affiche les icones
+ \ifboolKV[TrivPursEN]{Icons}%
+ {%
+ \node[rotate={90+0*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({0}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[1]} ;
+ \node[rotate={90+8*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({8*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[2]} ;
+ \node[rotate={90+16*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({16*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[3]} ;
+ \node[rotate={90+24*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({24*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[4]} ;
+ \node[rotate={90+32*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({32*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[5]} ;
+ \node[rotate={90+40*\triv at purs@anglecases},scale={1.5*\triv at purs@scaleicons*\triv at purs@hautcases},anchor=center] at ({40*\triv at purs@anglecases}:{\triv at purs@rayon-0.5*\triv at purs@hautcases}) {\triv at purs@lsticons[6]} ;
+ }%
+ {}%
+}
+
%====CREATION
\NewDocumentCommand\BoardTrivialPursuit{ O{} D<>{} }{%
\restoreKV[TrivPursEN]% revenir au valeurs par défaut
@@ -848,18 +1578,35 @@
\useasboundingbox (0,0) circle[radius={\triv at purs@rayon}] ;
%création
\begin{scope}[rotate=\triv at purs@rotate]
- %les nœuds OK
- \CreationNodesTrivial
- %test avec centre OK
- \ifboolKV[TrivPursEN]{Center}{\FillCenterTrivial}{}
- %camemberts OK
- \FillCamembersTrivial
- %cases OK
- \FillCellsBorder
- %bordures
- \DrawBordersTrivial
- %logo central
- \ifboolKV[TrivPursEN]{Logo}{\LogoCenterTrivialPursuit}{}
+ \ifboolKV[TrivPursEN]{ShortVersion}%
+ {%
+ %les nœuds OK
+ \CreationNodesTrivialShort
+ %test avec centre OK
+ \ifboolKV[TrivPursEN]{Center}{\FillCenterTrivial}{}
+ %camemberts OK
+ \FillCamembersTrivialShort
+ %cases OK
+ \FillCellsBorderShort
+ %bordures
+ \DrawBordersTrivialShort
+ %logo central
+ \ifboolKV[TrivPursEN]{Logo}{\LogoCenterTrivialPursuit}{}
+ }%
+ {%
+ %les nœuds OK
+ \CreationNodesTrivial
+ %test avec centre OK
+ \ifboolKV[TrivPursEN]{Center}{\FillCenterTrivial}{}
+ %camemberts OK
+ \FillCamembersTrivial
+ %cases OK
+ \FillCellsBorder
+ %bordures
+ \DrawBordersTrivial
+ %logo central
+ \ifboolKV[TrivPursEN]{Logo}{\LogoCenterTrivialPursuit}{}
+ }%
\end{scope}
\end{tikzpicture}%
}
More information about the tex-live-commits
mailing list.