Difference between revisions of "Draft Circle"
(Redaction. Correct key shortcut.)
(More information for the properties)
|Line 29:||Line 29:|
Revision as of 01:30, 6 November 2018
|Draft → Circle|
|Introduced in version|
The Circle tool creates a circle in the current work plane by entering two points, the center and the radius, or by picking tangents, or any combination of those. It uses the Draft Linestyle set on the Draft Tray. This tool works the same way as the Draft Arc tool, except that it stops after entering the radius.
How to use
- Press the button, or press then keys
- Click a first point on the 3D view, or type a coordinate
- Click a second point on the 3D view, or enter a radius value.
- The primary use of the circle tool is by picking two points, the centre and a point on the circumference, defining the radius.
- By pressing , you can select a tangent instead of picking a point. You can therefore construct several types of circles by selecting one, two or three tangents.
- To enter coordinates manually, simply enter the numbers, then press between each X, Y and Z component.
- Press or click the checkbox to toggle continue mode. If continue mode is on, the Circle tool will restart after you finish the circle, allowing you to draw another one without pressing the tool button again.
- Press DATAMake Face ); if not, the circle will not make a face (DATAMake Face ). or click the checkbox to toggle filled mode. If filled mode is on, a the circle will create a filled face (
- Press snapping your point to the nearest snap location, independently of the distance. while drawing to force
- Press constrain your second point horizontally or vertically in relation to the first one. while drawing to
- Press or the button to abort the current command.
- The circle can be turned into an arc after creation, by setting its first angle and last angle properties to different values.
- Circles, when in "Flat Lines" display mode, can display a hatch pattern, by setting their "Pattern" property below.
A Circle object shares all properties from a Draft Arc.
- DATAFirst Angle: specifies the starting angle of the circle; normally 0°.
- DATALast Angle: specifies the ending angle of the circle; normally 0°.
- DATARadius: specifies the radius of the circle.
- DATAMake Face: specifies if the Circle makes a face or not. If it is a face is created, otherwise only the circumference is considered part of the object. This property only works if the shape is a full circumference.
For it to be a full circle DATAFirst Angle and DATALast Angle should have the same value; otherwise, a Draft Arc is created. The values 0° and 360° aren't considered the same, so if these two values are used, the circle will not form a face.
- VIEWPattern: specifies a Draft Pattern with which to fill the face of the full circle. This property only works if DATAMake Face is .
- VIEWPattern Size: specifies the size of the Draft Pattern.
The Circle tool can by used in macros and from the python console by using the following function:
makeCircle (radius, [placement], [facemode], [startangle], [endangle])
- Creates a circle object with given radius.
- If a placement is given, it is used.
- If facemode is False, the circle is shown as a wireframe, otherwise as a face.
- If startangle AND endangle are given (in degrees), they are used and the object appears as an arc.
- Returns the newly created object.
import Draft myCircle = Draft.makeCircle(2)