Macro CirclePlus/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "Si une valeur est omise ou inadéquate la touche {{KEY|Ok}} est colorée en rouge.")
(Created page with "==Utilisation==")
Line 10: Line 10:
Si une valeur est omise ou inadéquate la touche {{KEY|Ok}} est colorée en rouge.
Si une valeur est omise ou inadéquate la touche {{KEY|Ok}} est colorée en rouge.


==Use==
==Utilisation==


Copy the code and paste it in the macro directory
Copy the code and paste it in the macro directory

Revision as of 08:59, 14 July 2018

File:Macro CirclePlus Macro CirclePlus

Description
Crée un cercle ou un arc avec différents paramètres.

Version macro : 0.0
Date dernière modification : 2018-07-10
Auteur: mario52
Auteur
mario52
Téléchargement
None
Liens
Version Macro
0.0
Dernière modification
2018-07-10
Version(s) FreeCAD
None
Raccourci clavier
None
Voir aussi
None

Description

Cette petite macro vous permet de créer un cercle en donnant comme argument différents paramètres comme le rayon, le diamètre, la circonférence, la surface, début d'angle, fin d'angle, arc, angle central, corde, flèche, point au centre du cercle, placement de l'Objet au choix.

Le cercle fait toujours face à l'écran (avec la commande getCameraOrientation) (ou donner le placement)

L'activation d'une commande colore la ou les commandes associées en vert si une commande est en option elle sera colorée en orange

Si une valeur est omise ou inadéquate la touche Ok est colorée en rouge.

Utilisation

Copy the code and paste it in the macro directory

  • X Y Z : coordinates of circle if not coordinates the circle is created on point 0,0,0
  • radius : radius of cicle
  • diameter : diameter of circle
  • Reset : reset the coordinate value
  • Equal : copy the X value in Y and Z window
  • CheckBox :
  • Options : other options for create circle
  • Point : if checked the central point is created
  • Info : if checked display the information give in the macro
  • Face : if checked the face is created on circle
  • Sector : if checked the sector is created
  • SpinBox 8 : give the height of text in the macro
  • Quit : quit the macro (this button is coloured in red in case error)
  • Ok : create the circle
  • Options available
  • circumference : circumference of circle
  • area : area of circle
  • startangle : start angle for arc
  • endangle : end angle for arc
  • arc and anglecenter : arc in combination with anglecenter
    • arc = length of arc
    • anglecenter = angle of center circle to extremities of arc
  • cord and arrow : cord in combination with arrow of circle
    • cord : length of cord of circle
    • arrow : length of arrow of circle

Script

Download image positioning on the icon and then drag the mouse right click "save as" (do not change the name)


Memo of circle

Examples codes

examples 1, 2, 3
examples 1, 2, 3
examples
examples

Version

ver 0.0 , 2018-07-10 :

Other languages: