Coder Social home page Coder Social logo

corse's Introduction

Corsica + Breizh

screenshot

Synopsis

Outils pour établir un contour d'une image et calculer les longueurs et angles de découpe.

Usage

Tracer, créer le contour

usage: corseqt6.py [-h] [-i IMAGE] [-p POINTS]

Tracé d'un contour

options:
  -h, --help                  show this help message and exit
  -i IMAGE, --image IMAGE     image
  -p POINTS, --points POINTS  fichier des points

Actions:

  • E : bascule mode Edition
    • cercle bleu: déplace un sommet
    • cercle jaune: ajoute un segment
    • : supprime le sommet bleu sélectionné
  • S : sauvegarde le contour
  • L : charge un contour
  • R : réinitialise le contour avec les valeurs initiales
  • Q ou : quitte le programme

Afficher, imprimer

usage: corsetex.py [-h] [-c] [-r] [-p POINTS] [-o OUTPUT] [taille] [épaisseur]

Calcule les angles et longueurs du contour de <épaisseur> mm pour une longueur totale de <taille> cm

positional arguments:
  taille                      taille du modèle en cm
  épaisseur                   épaisseur profilé en mm

options:
  -h, --help                  show this help message and exit
  -c, --contour               affiche le contour uniqument
  -r, --recto                 affiche le recto (verso par défaut)
  -p POINTS, --points POINTS  fichier de points
  -o OUTPUT, --output OUTPUT  fichier PDF généré

Afficher (ancienne version)

usage: corsepng.py [-h] [-m] [-o OUTPUT] [échelle] [épaisseur]

Calcule les angles et longueurs du contour de <épaisseur> mm pour une longueur totale de <échelle> cm

positional arguments:
  échelle                     hauteur du modèle en cm
  épaisseur                   épaisseur profilé en mm

options:
  -h, --help                  show this help message and exit
  -m, --model                 affiche le modèle en fond
  -o OUTPUT, --output OUTPUT  fichier PNG généré

Utilisation de Docker

corsetex.py peut être lancé depuis un conteneur Docker avec le Dockerfile suivant:

FROM texlive/texlive:latest
RUN apt-get update && apt-get install -y python3-numpy
COPY corsetex.py /
WORKDIR /out
ENTRYPOINT ["/corsetex.py"]

Prérequis

LaTeX, Pillow, numpy, PySide6

corse's People

Contributors

rene-d avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.