Translations:Topological data scripting/147/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "Malheureusement, il n'y a pas de fonction {{incode|makeArc()}}, mais nous avons la fonction {{incode|Part.Arc()}} pour créer un arc de cercle passant par trois points. Il cr...")
 
No edit summary
 
Line 1: Line 1:
Malheureusement, il n'y a pas de fonction {{incode|makeArc()}}, mais nous avons la fonction {{incode|Part.Arc()}} pour créer un arc de cercle passant par trois points. Il crée un objet arc, joignant le point de départ au point d'arrivée, en passant par le point médian.
Malheureusement, il n'y a pas de fonction {{incode|makeArc()}}, mais nous avons la fonction {{incode|Part.Arc()}} pour créer un arc de cercle passant par trois points. Il crée un objet arc, joignant le point de départ au point d'arrivée, en passant par le point médian. La fonction {{incode|toShape()}} de l'objet arc, doit être appelée pour obtenir un objet filaire, comme lorsque vous utilisez {{incode|Part.LineSegment}} au lieu de {{incode|Part.makeLine}}.
La fonction {{incode|toShape()}} de l'objet arc, doit être appelée pour obtenir un objet filaire, comme lorsque vous utilisez {{incode|Part.LineSegment}} au lieu de {{incode|Part.makeLine}}.

Latest revision as of 12:50, 6 September 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Topological data scripting)
Unfortunately there is no {{incode|makeArc()}} function, but we have the {{incode|Part.Arc()}} function to create an arc through three points. It creates an arc object joining the start point to the end point through the middle point. The arc object's {{incode|toShape()}} function must be called to get an edge object, the same as when using {{incode|Part.LineSegment}} instead of {{incode|Part.makeLine}}.

Malheureusement, il n'y a pas de fonction makeArc(), mais nous avons la fonction Part.Arc() pour créer un arc de cercle passant par trois points. Il crée un objet arc, joignant le point de départ au point d'arrivée, en passant par le point médian. La fonction toShape() de l'objet arc, doit être appelée pour obtenir un objet filaire, comme lorsque vous utilisez Part.LineSegment au lieu de Part.makeLine.