Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
recherche:residence_polygones:mesh2svg2paper [2025/11/09 22:53]
emoc [Autres trucs intéressants à essayer]
recherche:residence_polygones:mesh2svg2paper [2025/11/11 16:31] (Version actuelle)
emoc [Utiliser vpype]
Ligne 469: Ligne 469:
 ===== Blender Export Paper Model ===== ===== Blender Export Paper Model =====
  
-Un add-on pour Blender permet de «déplier» un objet 3D : Export Paper Model+Un add-on pour Blender permet de «déplier» un objet 3D : [[recherche:​residence_polygones:​blender_export_paper_model|Export Paper Model]] 
 + 
 + 
 +===== Utiliser vpype ===== 
 + 
 +Sur Linux Debian 12, en suivant les indications de https://​vpype.readthedocs.io/​en/​latest/​install.html#​linux 
 + 
 +  sudo apt-get install pipx 
 +  pipx ensurepath 
 +  pipx install "​vpype[all]"​ 
 +  vpype --version ​            # vpype 1.15.0 
 +  vpype random show           # ooooooooooooooooooh ! 
 + 
 +J'​ajoute **deduplicate**,​ plugin vpype pour enlever les lignes en doublon dans un fichier svg https://​github.com/​LoicGoulefert/​deduplicate 
 +  pipx inject vpype deduplicate 
 +  vpype --help ​                  # pour confirmer que l'​installation s'est bien passée : deduplicate apparaît dans la partie Plugins 
 +Ainsi que **occult**, plugin vpype pour masquer les faces cachées d'un fichier svg https://​github.com/​LoicGoulefert/​occult 
 +  pipx inject vpype vpype-occult 
 +  vpype --help ​                  # pour confirmer que l'​installation s'est bien passée : occult apparaît dans la partie Plugins 
 + 
 +Exemple d'​utilisation 
 +  ~/​go/​bin/​simplify -f 0.5 teapot.stl teapot-0.5.stl ​                            # simplification de l'​objet 3D 
 +  ctmconv teapot-0.5.stl teapot-0.5.obj ​                                         # conversion au format OBJ 
 +  ~/​go/​bin/​obj2svg teapot-0.5.obj ​                                               # création de 2 fichiers PNG et SVG 
 +   vpype read teapot-0.5.obj.svg deduplicate write teapot-0.5.obj_dedup.svg ​  # déduplication des arêtes en double dans le fichier SVG 
 + 
 + 
  
 ===== Autres trucs intéressants à essayer ===== ===== Autres trucs intéressants à essayer =====
Ligne 475: Ligne 502:
 **removeduplicatelines** : une extension inkscape qui enlève les segments dupliqués : https://​cutlings.datafil.no/​inkscape-extension-removeduplicatelines/​ \\ **removeduplicatelines** : une extension inkscape qui enlève les segments dupliqués : https://​cutlings.datafil.no/​inkscape-extension-removeduplicatelines/​ \\
  
-**deduplicate** plugin vpype pour enlever les lignes en doublon dans un fichier svg https://​github.com/​LoicGoulefert/​deduplicate 
  
-**occult** plugin vpype pour masquer les faces cachées d'un fichier svg https://​github.com/​LoicGoulefert/​occult 
  
 **vpype** «vpype is an extensible CLI pipeline utility which aims to be the Swiss Army knife for creating, modifying and/or optimizing plotter-ready vector graphics» https://​vpype.readthedocs.io/​en/​latest/​install.html#​linux **vpype** «vpype is an extensible CLI pipeline utility which aims to be the Swiss Army knife for creating, modifying and/or optimizing plotter-ready vector graphics» https://​vpype.readthedocs.io/​en/​latest/​install.html#​linux
  • recherche/residence_polygones/mesh2svg2paper.1762725224.txt.gz
  • Dernière modification: 2025/11/09 22:53
  • par emoc