Part Primitives/fr: Difference between revisions

From FreeCAD Documentation
m (FuzzyBot moved page Part CreatePrimitives/fr to Part Primitives/fr without leaving a redirect: Part of translatable page "Part CreatePrimitives")
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
{{Docnav/fr
{{Docnav/fr
|[[Part_Torus/fr|Tore]]
|[[Part_Torus/fr|Tore]]
Line 6: Line 5:
|[[Part_Module/fr|Part]]
|[[Part_Module/fr|Part]]
|IconL=Part_Torus.png|IconC=Workbench_Part.svg|IconR=Part_Shapebuilder.png}}
|IconL=Part_Torus.png|IconC=Workbench_Part.svg|IconR=Part_Shapebuilder.png}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/fr
{{GuiCommand/fr
|Name=Part CreatePrimitives
|Name=Part CreatePrimitives
Line 16: Line 13:
|Workbenches=[[Part_Module/fr|Part_Module]]
|Workbenches=[[Part_Module/fr|Part_Module]]
|SeeAlso=[[Part_Shapebuilder/fr|Utilitaire de création de formes]]}}
|SeeAlso=[[Part_Shapebuilder/fr|Utilitaire de création de formes]]}}
</div>


==Description==
==Description==


<div class="mw-translate-fuzzy">
Outil pour créer différentes primitives géométriques paramétrées.
Outil pour créer différentes primitives géométriques paramétrées.
</div>


[[File:Part_Primitives_example.png|800px]]
[[File:Part_Primitives_example.png|800px]]
{{Caption|Primitive shapes that can be created with the [[Part_Workbench|Part Workbench]].}}
{{Caption|Primitive shapes that can be created with the [[Part_Workbench|Part Workbench]].}}


<div class="mw-translate-fuzzy">
* Actuellement ces outils peuvent être créés paramétriquement.
* Actuellement ces outils peuvent être créés paramétriquement.
**[[Part_Plane/fr|Plan]]
**[[Part_Plane/fr|Plan]]
Line 45: Line 38:
**[[Part_Point/fr|Point (Vertex)]]
**[[Part_Point/fr|Point (Vertex)]]
**[[Part_RegularPolygon/fr|Regular Polygon]] {{Version/fr|0.14}}*:
**[[Part_RegularPolygon/fr|Regular Polygon]] {{Version/fr|0.14}}*:
</div>


Some of the available (parametric) geometric primitives that are possible:
Some of the available (parametric) geometric primitives that are possible:
Line 87: Line 79:
}}
}}


<div class="mw-translate-fuzzy">
{{Docnav/fr
{{Docnav/fr
|[[Part_Torus/fr|Tore]]
|[[Part_Torus/fr|Tore]]
Line 93: Line 84:
|[[Part_Module/fr|Part]]
|[[Part_Module/fr|Part]]
|IconL=Part_Torus.png|IconC=Workbench_Part.svg|IconR=Part_Shapebuilder.png}}
|IconL=Part_Torus.png|IconC=Workbench_Part.svg|IconR=Part_Shapebuilder.png}}
</div>





Revision as of 16:21, 26 February 2020

Création de Primitives

Emplacement du menu
Part → Créer des primitives...
Ateliers
Part_Module
Raccourci par défaut
Aucun
Introduit dans la version
-
Voir aussi
Utilitaire de création de formes

Description

Outil pour créer différentes primitives géométriques paramétrées.

Primitive shapes that can be created with the Part Workbench.

Some of the available (parametric) geometric primitives that are possible:

Plane: inserts a simple parametric plane 10 x 10 mm, with the parameters of position, length, and width.
Box/Cube: inserts a parametric, rectangular cuboid, geometric primitive into the active document.
Cylinder: Inserts a simple parametric cylinder, with position, angle, radius and height parameters in to he active document.
Cone: Inserts a parametric truncated Cone in to the active document.
Sphere: Inserts a parametric sphere, with position, angle1, angle2, angle3 and radius parameters.
Ellipsoid: Inserts a parametric Ellipsoid solid in to the active document.
Torus: Inserts a simple parametric torus, with position, angle1, angle2, angle3, radius1 and radius2 as parameters in to the active document.
Prism: Inserts a solid defined by a regular polygon cross section and a height in to the active document. introduced in version 0.14
Wedge: Inserts a parametric Wedge object in to the active document.
Helix: Inserts a Helix geometric primitive in to the active document. Common usage for Helix is creating threads.
Spiral: Inserts a Spiral geometric primitive in to the active workbench. introduced in version 0.14
Circle: Inserts a circular curved edge in to the active document.
Ellipse: Inserts an elliptical curved edge in to the active document.
Point (Vertex): Inserts a Point (vertex) geometric primitive in to the active document.
Line (Edge): creates a simple line segment delimited by two vertices.
Regular Polygon: Inserts a RegularPolygon geometric primitive in to the active document. introduced in version 0.14

Scripting

See also: Part scripting

Test the creation of the primitives with a script. introduced in version 0.19

This can be run from the Python console.

import parttests.part_test_objects as pto
pto.create_test_file("example_file")

This script is located in the installation directory of the program, and can be examined to see how the basic primitives are built.

$INSTALL_DIR/Mod/Part/parttests/part_test_objects.py

It can be used as input to the program as well.

freecad $INSTALL_DIR/Mod/Part/parttests/part_test_objects.py