Part Plane/en: Difference between revisions
(从外部源导入一个新的版本) |
(Updating to match new version of source page) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
{{GuiCommand|Name=Part_CreatePrimitives|Workbenches=[[Part Module|Part]], [[OpenSCAD_Module|OpenSCAD]]|MenuLocation=[[Part_Module|Part]] → [[Part_CreatePrimitives|Create Primitives]] → Plane| |
|||
SeeAlso=[[Part_CreatePrimitives|Create Primitives]]}} |
|||
{{Docnav |
|||
Create a simple parametric plane 10 x 10 mm, with the parameters of position, length, and width. |
|||
|[[Part_Primitives|Primitives]] |
|||
<br>By default, the plane is positioned at the origin (0,0,0). |
|||
|[[Part_Ellipsoid|Ellipsoid]] |
|||
|[[Part_Workbench|Part]] |
|||
|IconL=Part_Primitives.svg |
|||
|IconR=Part_Ellipsoid.svg |
|||
|IconC=Workbench_Part.svg |
|||
}} |
|||
{{GuiCommand |
|||
[[File:PartPlane.png|left]] |
|||
|Name=Part Plane |
|||
{{clear}} |
|||
|MenuLocation=Part → [[Part_Primitives|Create primitives]] → Plane |
|||
|Workbenches=[[Part_Workbench|Part]], [[OpenSCAD_Workbench|OpenSCAD]] |
|||
|SeeAlso=[[Part_Primitives|Part Primitives]] |
|||
}} |
|||
== |
==Description== |
||
The standard plane is created with its lower left corner at the origin point 0,0,0. |
|||
To change these parameters, open the Location section and enter the desired values in the respective input fields, or click on the 3D view and select a point, the point coordinates are taken from the fields. |
|||
In the Direction menu you can also define a standard vector (X, Y or Z) normal to the plane, or click User Defined ... to open the dialog box that allows you to set a different carrier (eg direction 1.0 , -1 creates a plane inclined 45 ° with respect to X and Z). |
|||
A [[Image:Part_Plane.svg|24px]] '''Part Plane''' is a parametric rectangular plane that can be created with the [[Image:Part_Primitives.svg|24px]] [[Part_Primitives|Part Primitives]] command. In the coordinate system defined by its {{PropertyData|Placement}} property, the plane lies on the XY plane with its front left corner at the origin, and its front edge parallel to the X axis. |
|||
The properties can be changed later in the '''Combined View → Data''', after selecting the item. |
|||
[[Image:Part_Plane_Example.png|400px]] |
|||
=== Properties === |
|||
{| |
|||
| [[File:PartPlaneProperty.png]] |
|||
| |
|||
==== View ==== |
|||
You have the standard properties view. |
|||
==== Data ==== |
|||
{{KEY/it|Base}} - Object placement data <br> |
|||
* {{PropertyData|Label}} : String name of the object, defaults to 'Plane'. User may rename it. |
|||
* {{PropertyData|Placement}}: Placement of feature is defined by below angle, axis and position. |
|||
*{{PropertyData|Angle}} : Angle of rotation relative to the below axis. |
|||
*{{PropertyData|Axis}} : Defines the axis of rotation plane: X, Y, or Z. Defaults to Z axis, Z = 1 |
|||
*{{PropertyData|Position}} : Position X, Y, Z, relative to the origin 0, 0, 0. |
|||
{{KEY/it|Plane}} - Plane Specific Parameters <br> |
|||
* {{PropertyData|Length}} : Length is the dimension along the X axis The default value is 10 mm |
|||
* {{PropertyData|Width}} : Width is the size of the Y-axis The default value is 10 mm |
|||
|} |
|||
== Usage == |
|||
{{clear}} |
|||
<languages/> |
|||
See [[Part_Primitives#Usage|Part Primitives]]. |
|||
== Example == |
|||
[[Image:Part_Plane_Scripting_Example.png|thumb|Part Plane from the scripting example]] |
|||
A Part Plane object created with the [[#Scripting|scripting example]] below is shown here. |
|||
== Properties == |
|||
See also: [[Property_editor|Property editor]]. |
|||
A Part Plane object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties. It also has the following additional properties: |
|||
=== Data === |
|||
{{TitleProperty|Attachment}} |
|||
The object has the same attachment properties as a [[Part_Part2DObject#Data|Part Part2DObject]]. |
|||
{{TitleProperty|Plane}} |
|||
* {{PropertyData|Length|Length}}: The length of the plane. This is the dimension in its X direction. The default is {{Value|10mm}}. |
|||
* {{PropertyData|Width|Length}}: The width of the plane. This is the dimension in its Y direction. The default is {{Value|10mm}}. |
|||
== Scripting == |
|||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation], [[Part_scripting|Part scripting]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
A Part Plane can be created with the {{Incode|addObject()}} method of the document: |
|||
{{Code|code= |
|||
plane = FreeCAD.ActiveDocument.addObject("Part::Plane", "myPlane") |
|||
}} |
|||
* Where {{Incode|"myPlane"}} is the name for the object. |
|||
* The function returns the newly created object. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
doc = App.activeDocument() |
|||
plane = doc.addObject("Part::Plane", "myPlane") |
|||
plane.Length = 4 |
|||
plane.Width = 8 |
|||
plane.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(20, 75, 60)) |
|||
doc.recompute() |
|||
}} |
|||
{{Docnav |
|||
|[[Part_Primitives|Primitives]] |
|||
|[[Part_Ellipsoid|Ellipsoid]] |
|||
|[[Part_Workbench|Part]] |
|||
|IconL=Part_Primitives.svg |
|||
|IconR=Part_Ellipsoid.svg |
|||
|IconC=Workbench_Part.svg |
|||
}} |
|||
{{Part_Tools_navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 10:03, 3 March 2022
Part Plane |
Menu location |
---|
Part → Create primitives → Plane |
Workbenches |
Part, OpenSCAD |
Default shortcut |
None |
Introduced in version |
- |
See also |
Part Primitives |
Description
A Part Plane is a parametric rectangular plane that can be created with the Part Primitives command. In the coordinate system defined by its DataPlacement property, the plane lies on the XY plane with its front left corner at the origin, and its front edge parallel to the X axis.
Usage
See Part Primitives.
Example
A Part Plane object created with the scripting example below is shown here.
Properties
See also: Property editor.
A Part Plane object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:
Data
Attachment
The object has the same attachment properties as a Part Part2DObject.
Plane
- DataLength (
Length
): The length of the plane. This is the dimension in its X direction. The default is10mm
. - DataWidth (
Length
): The width of the plane. This is the dimension in its Y direction. The default is10mm
.
Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
A Part Plane can be created with the addObject()
method of the document:
plane = FreeCAD.ActiveDocument.addObject("Part::Plane", "myPlane")
- Where
"myPlane"
is the name for the object. - The function returns the newly created object.
Example:
import FreeCAD as App
doc = App.activeDocument()
plane = doc.addObject("Part::Plane", "myPlane")
plane.Length = 4
plane.Width = 8
plane.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(20, 75, 60))
doc.recompute()
- 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
- 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