Draft Arc

From FreeCAD Documentation
Revision as of 17:09, 31 May 2014 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Draft_Arc

Menyplacering
Draft -> Arc
Arbetsbänkar
Skiss
Standard genväg
Ingen
Introducerad i version
-
Se även
Ingen

Beskrivning

Detta verktyg ritar en cirkelbåge genom att välja fyra punkter: centrum, radien, startvinkel och slutvinkel.

Bruk

  • Markera punkter i ett tomt område i 3d vyn, eller på ett existernade objekt.
  • Cirkelbågsverktyget ärver Cirkelverktygets funktionalitet för de två första stegen, så du kan trycka på ALT för att välja en tangent istället för centrum eller radie.
  • Nedtryckning av CTRL kommer att snäppa din punkt till tillgängliga snäpp-punkter.
  • Nedtryckning av SKIFT kommer att begränsa din nya punkt i relation till föregående punkt.
  • Skriv in siffror för att manuellt mata in en koordinat.
  • Den skapade cirkelbågen kommer att ha nuvarande linjestil.
  • Nedtryckning av ALT när du väljer slutvinkeln kommer att ändra riktningen till moturs.
  • Om du trycker på ESC så avbryts funktionen.

Options

  • The primary use of the arc tool is by picking four points: the centre, a point on the circumference, defining the radius, a third point defining the start of the arc, and a fourth one defining its end.
  • By pressing ALT, you can select a tangent instead of picking point, to define the base circle of the arc. You can therefore construct several types of circles by selecting one, two or three tangents.
  • The direction of the arc depends on the movement you are doing with your mouse. If you start to move clockwise after the third point is entered, your arc will go clockwise. To go counter-clockwise, simply move your mouse back over the third point, until the arc starts drawing in the other direction.
  • 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 check/uncheck the Continue button. If continue mode is on, the Arc tool will restart after you give the fourth point, allowing you to draw another arc without pressing the Arc button again.
  • Press CTRL while drawing to force snapping your point to the nearest snap location, independently of the distance.
  • Press SHIFT while drawing to constrain your point horizontally or vertically in relation to the center.
  • Press ESC or the Cancel button to abort the current Line command.
  • The arc can be turned into a circle after creation, by setting a same value to its first angle and last angle properties.

Properties

  • DataRadius: The radius of the arc
  • DataFirst Angle: The angle of the first point of the arc
  • DataLast Angle: The angle of the last point of the arc

Scripting

The Circle tool can also be used to create arcs in macros and from the python console by using the following function, giving it additional arguments:

 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.

Example:

 import Draft
 myArc = Draft.makeCircle(2,startangle=0,endangle=90)