Draft Point

From FreeCAD Documentation
Revision as of 04:34, 8 November 2018 by Vocx (talk | contribs) (Draft AddPoint button)

Draft Point

Menu location
Draft → Point
Workbenches
Draft, Arch
Default shortcut
P T
Introduced in version
-
See also
Draft Line, Draft Wire

Description

The Point tool creates a simple point in the current work plane, handy to serve as reference for placing lines, wires, or other objects later. It uses the Draft Linestyle (only the color) set on the Draft Tray.

How to use

  1. Press the Draft Point button, or press P then T keys.
  2. Click a point on the 3D view, or type a coordinate and press the add point button.

Options

  • To enter coordinates manually, simply enter the numbers, then press Enter between each X, Y and Z component.
  • Press T or click the checkbox to toggle continue mode. If continue mode is on, the point tool will restart after you place a point, allowing you to place another one without pressing the tool button again.
  • Press Esc or the Close button to abort the current command.

Properties

  • DataX: The X coordinate of the point
  • DataY: The Y coordinate of the point
  • DataZ: The Z coordinate of the point

Scripting

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.

Example:

import Draft
Draft.makePoint(6,4,2)