Part Cylinder: Difference between revisions
m (Docnav) |
(Marked this version for translation) |
||
(39 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<translate> |
<translate> |
||
{{Docnav|[[Part_Cone|Cone]]|[[Part_Sphere|Sphere]]|[[Part_Module|Part]]|IconL=Part_Cone.png|IconC=Workbench_Part.svg|IconR=Part_Sphere.png}} |
|||
<!--T:13--> |
|||
{{Docnav |
|||
|[[Part_Box|Box]] |
|||
|[[Part_Sphere|Sphere]] |
|||
|[[Part_Workbench|Part]] |
|||
|IconL=Part_Box.svg |
|||
|IconR=Part_Sphere.svg |
|||
|IconC=Workbench_Part.svg |
|||
}} |
|||
<!--T:1--> |
<!--T:1--> |
||
{{GuiCommand |
|||
{{GuiCommand|Name=Part Cylinder|MenuLocation=Part → Cylinder||Workbenches=[[Part Module|Part]], Complete|SeeAlso=[[Part CreatePrimitives|Part CreatePrimitives]]}} |
|||
|Name=Part Cylinder |
|||
|MenuLocation=Part → Primitives → Cylinder |
|||
|Workbenches=[[Part_Workbench|Part]] |
|||
|SeeAlso=[[Part_Primitives|Part Primitives]] |
|||
}} |
|||
== |
==Description== <!--T:21--> |
||
<!--T:9--> |
|||
Creates a simple parametric cylinder, with position, angle, radius and height parameters. |
Creates a simple parametric cylinder, with position, angle, radius and height parameters. |
||
== |
==Usage== <!--T:10--> |
||
In the workbench [[Part_Workbench|Part]] click on the cube icon [[Image:Part_Cylinder.png|32px]]. The default is for a full cylinder to be positioned, the centre of one circular face coincident with the global origin (point 0,0,0), with a radius of 2mm and height of 10mm. |
|||
<!--T:17--> |
|||
# Switch to the [[Image:Workbench_Part.svg|16px]] [[Part_Workbench|Part Workbench]] |
|||
The properties can later be edited in the data tab for the cylinder: |
|||
# There are several ways to invoke the command: |
|||
#* Press the {{Button|[[Image:Part_Cylinder.svg|16px]] Cylinder}} button in the toolbar. |
|||
#* Select {{MenuCommand|Part → Primitives → [[Image:Part_Cylinder.svg|16px]] Cylinder}} entry from the top menu |
|||
<!--T:18--> |
|||
'''Result:''' The default result is a full cylinder with a radius of 2 mm and height of 10 mm, centered along the global z-axis and attached to the global xy-plane. |
|||
<!--T:19--> |
|||
The cylinder properties can later be edited, either in the [[Property_editor|Property editor]] or by double-clicking the cylinder in the [[Tree_view|Tree view]]. |
|||
<!--T:8--> |
<!--T:8--> |
||
[[File:cylinder.png|650px|a cylinder created with the Cylinder tool]] |
[[File:cylinder.png|650px|a cylinder created with the Cylinder tool]] |
||
== Properties == <!--T:11--> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
<!--T:20--> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* {{PropertyData|First Angle}}: Angle in first direction. {{Version|0.20}} |
|||
* {{PropertyData|Second Angle}}: Angle in second direction. {{Version|0.20}} |
|||
== Scripting == <!--T:22--> |
|||
<!--T:23--> |
|||
A Part Cylinder can be created using the following function: |
|||
</translate> |
|||
{{Code|code= |
|||
cylinder = FreeCAD.ActiveDocument.addObject("Part::Cylinder", "myCylinder") |
|||
}} |
|||
<translate> |
|||
<!--T:24--> |
|||
{{Docnav|[[Part_Cone|Cone]]|[[Part_Sphere|Sphere]]|[[Part_Module|Part]]|IconL=Part_Cone.png|IconC=Workbench_Part.svg|IconR=Part_Sphere.png}} |
|||
* Where {{Incode|"myCylinder"}} is the name for the object. |
|||
* The function returns the newly created object. |
|||
⚫ | |||
<!--T:14--> |
|||
⚫ | |||
{{Docnav |
|||
|[[Part_Box|Box]] |
|||
|[[Part_Sphere|Sphere]] |
|||
|[[Part_Workbench|Part]] |
|||
|IconL=Part_Box.svg |
|||
|IconR=Part_Sphere.svg |
|||
|IconC=Workbench_Part.svg |
|||
}} |
|||
</translate> |
</translate> |
||
⚫ | |||
{{clear}} |
|||
⚫ |
Revision as of 14:02, 8 January 2022
Part Cylinder |
Menu location |
---|
Part → Primitives → Cylinder |
Workbenches |
Part |
Default shortcut |
None |
Introduced in version |
- |
See also |
Part Primitives |
Description
Creates a simple parametric cylinder, with position, angle, radius and height parameters.
Usage
- Switch to the Part Workbench
- There are several ways to invoke the command:
Result: The default result is a full cylinder with a radius of 2 mm and height of 10 mm, centered along the global z-axis and attached to the global xy-plane.
The cylinder properties can later be edited, either in the Property editor or by double-clicking the cylinder in the Tree view.
Properties
- DataAngle: This is the rotation angle that permits the creation of a portion of cylinder (it is set to 360° by default)
- DataHeight: The height is the distance in the z-axis
- DataRadius: The radius defines a plane in x-y.
- DataFirst Angle: Angle in first direction. introduced in version 0.20
- DataSecond Angle: Angle in second direction. introduced in version 0.20
Scripting
A Part Cylinder can be created using the following function:
cylinder = FreeCAD.ActiveDocument.addObject("Part::Cylinder", "myCylinder")
- Where
"myCylinder"
is the name for the object. - The function returns the newly created object.
Part
- Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Create primitives, Shape builder
- Creation and modification: Extrude, Revolve, Mirror, Fillet, Chamfer, Make face from wires, Ruled Surface, Loft, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Thickness, Projection on surface, Attachment
- Boolean: Make compound, Explode Compound, Compound Filter, Boolean, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- Measure: Measure Linear, Measure Angular, Measure Refresh, Clear All, Toggle All, Toggle 3D, Toggle Delta
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub