diff --git a/docs/_build/gettext/.doctrees/assemblage.doctree b/docs/_build/gettext/.doctrees/assemblage.doctree index ff02d46..5d7cfa9 100644 Binary files a/docs/_build/gettext/.doctrees/assemblage.doctree and b/docs/_build/gettext/.doctrees/assemblage.doctree differ diff --git a/docs/_build/gettext/.doctrees/environment.pickle b/docs/_build/gettext/.doctrees/environment.pickle index 9a4f2f9..1fed5cf 100644 Binary files a/docs/_build/gettext/.doctrees/environment.pickle and b/docs/_build/gettext/.doctrees/environment.pickle differ diff --git a/docs/_build/gettext/assemblage.pot b/docs/_build/gettext/assemblage.pot index 7ab0a5d..caf62a2 100644 --- a/docs/_build/gettext/assemblage.pot +++ b/docs/_build/gettext/assemblage.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: BrailleRap 6.5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-05 18:48+0000\n" +"POT-Creation-Date: 2023-05-06 16:44+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -282,7 +282,6 @@ msgstr "" #: ../../assemblage.rst:178 #: ../../assemblage.rst:423 -#: ../../assemblage.rst:582 msgid "2 vis M3-12" msgstr "" @@ -721,12 +720,20 @@ msgid "Fixation Moteur Y :" msgstr "" #: ../../assemblage.rst:581 -msgid "le moteur Nema 17 monté sur la pièce YMOTOR_support" +msgid "le moteur Nema 17 monté sur la pièce **YMOTOR_support2_200** + **YMOTOR_support2_200_1** + **YMOTOR_support2_200_2**" +msgstr "" + +#: ../../assemblage.rst:582 +#: ../../assemblage.rst:604 +#: ../../assemblage.rst:626 +#: ../../assemblage.rst:1202 +msgid "4 vis M3-14" msgstr "" #: ../../assemblage.rst:583 -#: ../../assemblage.rst:645 -msgid "2 rondelles M3 larges" +#: ../../assemblage.rst:605 +#: ../../assemblage.rst:627 +msgid "4 rondelles M3 larges" msgstr "" #: ../../assemblage.rst:586 @@ -745,17 +752,6 @@ msgstr "" msgid "**Pièce(s) imprimée(s) en 3D** : TOP_AXIS_left préparé avec écrou et vis sans tête (cf Préparation de supports d’axes)" msgstr "" -#: ../../assemblage.rst:604 -#: ../../assemblage.rst:626 -#: ../../assemblage.rst:1202 -msgid "4 vis M3-14" -msgstr "" - -#: ../../assemblage.rst:605 -#: ../../assemblage.rst:627 -msgid "4 rondelles M3 larges" -msgstr "" - #: ../../assemblage.rst:606 #: ../../assemblage.rst:628 msgid "4 écrous NYL M3" @@ -789,6 +785,10 @@ msgstr "" msgid "**Pièce(s) imprimée(s) en 3D** : 2 x DRIVEN_PULLEY_housing" msgstr "" +#: ../../assemblage.rst:645 +msgid "2 rondelles M3 larges" +msgstr "" + #: ../../assemblage.rst:649 msgid "Insérer un écrou M3 NYL dans son logement et fixer les DRIVEN_PULLEY_housing avec une vis M3-20 et une rondelle." msgstr "" diff --git a/docs/assemblage.rst b/docs/assemblage.rst index 8e91bf3..a9f3a41 100644 --- a/docs/assemblage.rst +++ b/docs/assemblage.rst @@ -578,17 +578,17 @@ Fixation Moteur Y : Matériel : - * le moteur Nema 17 monté sur la pièce YMOTOR_support - * 2 vis M3-12 - * 2 rondelles M3 larges + * le moteur Nema 17 monté sur la pièce **YMOTOR_support2_200** + **YMOTOR_support2_200_1** + **YMOTOR_support2_200_2** + * 4 vis M3-14 + * 4 rondelles M3 larges * Introduire les vis et les rondelles par l’extérieur et visser le support sur la caisse afin qu’il puisse encore coulisser dans les trous oblongs. -.. image :: ./IMG/BrailleRAP-V5.06.1.jpg +.. image :: ./IMG/ymotor_support_assembly_8.jpg :align: center -.. image :: ./IMG/BrailleRAP-V5.07.1.jpg +.. image :: ./IMG/ymotor_support_assembly_7.jpg :align: center | @@ -636,7 +636,7 @@ Matériel : :align: center Fixation des tendeurs de courroie ----------------------------------------------- +--------------------------------- Matériel : diff --git a/docs/checkimg.py b/docs/checkimg.py new file mode 100644 index 0000000..b76c103 --- /dev/null +++ b/docs/checkimg.py @@ -0,0 +1,51 @@ +import os +import glob +import fnmatch + +imggext = ["*.jpg", "*.png"] + + + +print (__name__) + +def readfiles (flist): + res = {} + for file in flist: + with open (file) as f: + data = f.readlines () + res[file] = data + return res + +def main (): + images = [] + docfiles = [] + unused = [] + + for ext in imggext: + images += glob.glob ("./IMG/" + ext) + + docfiles = glob.glob ("./*.rst") + doc = readfiles(docfiles) + + print (images) + print (docfiles) + + for img in images: + found = False + for docfile,doctext in doc.items (): + for line in doctext: + if img in line: + print ("{0} found in {1}".format (img, docfile)) + found = True + break + if not found: + unused.append (img) + + print ("Unused files:") + for img in unused: + print ("{0}".format (img)) + + + +if __name__ == "__main__": + main () diff --git a/docs/locale/en/LC_MESSAGES/assemblage.po b/docs/locale/en/LC_MESSAGES/assemblage.po index d4c1bef..c0ca959 100644 --- a/docs/locale/en/LC_MESSAGES/assemblage.po +++ b/docs/locale/en/LC_MESSAGES/assemblage.po @@ -1,5 +1,23 @@ +# Translations template for PROJECT. +# Copyright (C) 2023 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2023. # Stephane , 2018. +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2023-05-06 16:44+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.10.1\n" + + #: ../../assemblage.rst:2 msgid "Manuel de montage BrailleRAP" msgstr "BrailleRAP building manual " @@ -289,7 +307,7 @@ msgstr "" msgid "1 poulie GT2 20 dents bore 5mm" msgstr "1 pulley GT2 20 teeth 5mm bore" -#: ../../assemblage.rst:178 ../../assemblage.rst:423 ../../assemblage.rst:582 +#: ../../assemblage.rst:178 ../../assemblage.rst:423 msgid "2 vis M3-12" msgstr "2 screws M3-12" @@ -341,8 +359,8 @@ msgid "" "Introduire les écrous 4 NYL M3 dans le support moteur. Les maintenir en " "place avec un petit bout de scotch de peintre." msgstr "" -"Insert the 4 NYL M3 nuts into the engine mount. Hold them in place with a " -"small piece of painter's tape." +"Insert the 4 NYL M3 nuts into the engine mount. Hold them in place with a" +" small piece of painter's tape." #: ../../assemblage.rst:227 msgid "Préparation des supports d’axes" @@ -865,12 +883,19 @@ msgid "Fixation Moteur Y :" msgstr "Y Motor Mount:" #: ../../assemblage.rst:581 -msgid "le moteur Nema 17 monté sur la pièce YMOTOR_support" -msgstr "the Nema 17 motor mounted on the YMOTOR_support part" +msgid "" +"le moteur Nema 17 monté sur la pièce **YMOTOR_support2_200** + " +"**YMOTOR_support2_200_1** + **YMOTOR_support2_200_2**" +msgstr "" -#: ../../assemblage.rst:583 ../../assemblage.rst:645 -msgid "2 rondelles M3 larges" -msgstr "2 wide M3 washers" +#: ../../assemblage.rst:582 ../../assemblage.rst:604 ../../assemblage.rst:626 +#: ../../assemblage.rst:1202 +msgid "4 vis M3-14" +msgstr "4 M3-14 screws" + +#: ../../assemblage.rst:583 ../../assemblage.rst:605 ../../assemblage.rst:627 +msgid "4 rondelles M3 larges" +msgstr "4 wide M3 washers" #: ../../assemblage.rst:586 msgid "" @@ -900,14 +925,6 @@ msgstr "" "**3D printed parts**: TOP_AXIS_left prepared with nut and grub screw (see" " Preparation of axle supports)" -#: ../../assemblage.rst:604 ../../assemblage.rst:626 ../../assemblage.rst:1202 -msgid "4 vis M3-14" -msgstr "4 M3-14 screws" - -#: ../../assemblage.rst:605 ../../assemblage.rst:627 -msgid "4 rondelles M3 larges" -msgstr "4 wide M3 washers" - #: ../../assemblage.rst:606 ../../assemblage.rst:628 msgid "4 écrous NYL M3" msgstr "4 M3 NYL nuts" @@ -959,6 +976,10 @@ msgstr "Fastening the belt tensioners" msgid "**Pièce(s) imprimée(s) en 3D** : 2 x DRIVEN_PULLEY_housing" msgstr "**3D printed parts** : 2 x DRIVEN_PULLEY_housing" +#: ../../assemblage.rst:645 +msgid "2 rondelles M3 larges" +msgstr "2 wide M3 washers" + #: ../../assemblage.rst:649 msgid "" "Insérer un écrou M3 NYL dans son logement et fixer les " @@ -1984,3 +2005,6 @@ msgstr "" #~ " a motor support provided for a " #~ "belt of 220mm." +#~ msgid "le moteur Nema 17 monté sur la pièce YMOTOR_support" +#~ msgstr "the Nema 17 motor mounted on the YMOTOR_support part" +