Draft Point/ro: Difference between revisions
(Created page with "== Scripturi ==") |
(Created page with "Exempluː") |
||
Line 32: | Line 32: | ||
* makes a point at the given coordinates. If no X, Y and Z coordinates are given, the point is created at (0,0,0). Returns the newly created object. |
* makes a point at the given coordinates. If no X, Y and Z coordinates are given, the point is created at (0,0,0). Returns the newly created object. |
||
Exempluː |
|||
Example: |
|||
{{Code|code= |
{{Code|code= |
||
import Draft |
import Draft |
Revision as of 11:09, 7 August 2018
Draft Point |
Menu location |
---|
Draft → Point |
Workbenches |
Draft, Arch |
Default shortcut |
P T |
Introduced in version |
- |
See also |
None |
Descriere
The Point tool creates a simple point in the current work plane, handy to serve as reference for placing other objects later. It takes the color previously set on the Tasks tab.
Cum se folosește
- Press the Draft Point button, or press P then T keys
- Click a point on the 3D view, or type a coordinate
Opţiuni
- To enter coordinates manually, simply enter the numbers, then press ENTER between each X, Y and Z component.
- Press ESC or the Cancel button to abort the current Line command.
Proprietăți
- DateX: The X coordinate of the point
- DateY: The Y coordinate of the point
- DateZ: The Z coordinate of the point
Scripturi
The Point tool can by used in macros and from the python console by using the following function:
makePoint([x],[y],[z])
- makes a point at the given coordinates. If no X, Y and Z coordinates are given, the point is created at (0,0,0). Returns the newly created object.
Exempluː
import Draft
Draft.makePoint(6,4,2)