Taslak Boyut

From FreeCAD Documentation
This page is a translated version of the page Draft Dimension and the translation is 5% complete.
Outdated translations are marked like this.

Boyut

Menü konumu
Taslak → Boyut
Tezgahlar
Taslak, Mimari
Varsayılan kısayol
D I
Versiyonda tanıtıldı
0.18
Ayrıca bkz
FlipDimension,Teknik resim

Description

Açıklama

Boyut aracı, iki nokta arasındaki mesafeyi ölçen ve görüntüleyen bir nesne oluşturur; üçüncü bir nokta, boyut çizgisinin konumunu belirtir.

Araç, doğrudan katı gövdelere tutturulmuş kenarları veya çizgileri ölçebilir; Gövde değişirse, boyut kendini günceller. Araç ayrıca Yay veya Doldur, Eskiz Dolgu oluştur ve Prça tasarım Dolgu işlemleri ile üretilenler gibi eğrilik çapını veya yarıçapını da ölçebilir.

Ortaya çıkan boyut 3D görünümüne yerleştirilir ve bir Taslak nesnesi olarak kabul edilir. Bu nesne, Teknik resim Yeni Eskiz veya Teknik resim Yeni Yay araçlarını kullanarak Teknik resim tezgahı sayfasında görüntülenebilir. Bu araçlar teknik çizimler hazırlamak içindir, bu yüzden boyutları 3D çizimde değil, sadece çizim sayfasında oluştururlar.

Üç nokta tarafından tanımlanan boyut

Create

See also: Draft Tray, Draft Snap and Draft Constrain.

Usage linear dimension

Nasıl kullanılır

  1. Taslak Boyut düğmesine basın veya D ardından I tuşları.
  2. 3D görünümünde bir noktaya tıklayın veya bir koordinat yazın ve Nokta ekle düğmesine basın.
  3. 3D görünümünde ikinci bir noktaya tıklayın veya bir koordinat yazın ve Nokta ekle düğmesine basın. İlk iki nokta ölçülen mesafeyi tanımlar.
  4. 3D görünümünde üçte birini tıklayın veya bir koordinat yazın ve düğmesine basın. Son nokta, ölçüm çizgisinin konumunu tanımlar.

Usage radial dimension

  1. Optionally select a circular edge in the 3D view.
  2. There are several ways to invoke the command:
    • Press the Draft Dimension button.
    • Select the Annotation → Dimension option from the menu.
    • Use the keyboard shortcut: D then I.
  3. The Dimension task panel opens. See Options for more information.
  4. If you have not yet selected an edge do one of the following:
    • Press E or the Select edge button and select a circular edge in the 3D view.
    • Hold down the Alt key, select a circular edge in the 3D view and release the Alt key.
  5. To position the dimension line do one of the following:
    • For a diameter dimension:
      • Pick a point in the 3D view, or type coordinates and press the Enter point button.
    • For a radial dimension:
      • Hold down the Shift key and pick a point in the 3D view.

Usage angular dimension

  1. There are several ways to invoke the command:
    • Press the Draft Dimension button.
    • Select the Annotation → Dimension option from the menu.
    • Use the keyboard shortcut: D then I.
  2. The Dimension task panel opens. See Options for more information.
  3. Do one of the following:
    • Press E or the Select edge button and select a first straight edge in the 3D view. Repeat this to select a second straight edge.
    • Hold down the Alt key, select two straight edges in the 3D view and release the Alt key.
  4. To position the dimension arc pick a point in the 3D view.
  5. The displayed angle depends on the edges and the picked point.

Options

The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 0.22).

Seçenekler

  • Verilen eksendeki bir sonraki noktayı sınırlamak için bir noktadan sonra X, Y veya Z tuşlarına basın.
  • Koordinatları manuel olarak girmek için sayıları girin, ardından her bir X, Y ve Z bileşeni arasında Enter tuşuna basın. Noktayı yerleştirmek istediğiniz değerleri aldığınızda Nokta ekle düğmesine basabilirsiniz.
  • Göreceli moduna geçmek için R tuşuna basın veya onay kutusunu tıklayın. Göreceli mod açıksa, bir sonraki noktanın koordinatları bir öncekine göredir; değilse, kesindir, Eksenden alınır (0,0,0).
  • Devam moduna geçmek için T tuşuna basın veya onay kutusunu tıklayın. Devam modu açıksa, son noktayı verdikten sonra Boyut aracı yeniden başlatılır ve araç düğmesine tekrar basmadan başka bir boyut çizmenize izin verilir; Aşağıdaki boyutlar önceki boyutun son noktasından başlayacak ve aynı temel çizgiyi paylaşacaktır.
  • Yakalama noktanızı mesafeden bağımsız olarak, en yakın çeki konumuna yönlendirmek için çizim yaparken Ctrl tuşunu basılı tutun.
  • Bir önceki noktaya göre Kısıtlama bir sonraki noktanızı yatay veya dikey olarak çizerken ve çap ve yarıçap modları arasında geçiş yapmak için Shift tuşunu basılı tutun.
  • Geçerli komutu iptal etmek için Esc veya Close düğmesine basın ve devam boyutlarını bitirin; önceden yerleştirilmiş boyutlar kalacaktır.

Convert

Usage

  1. Select one or more Std MeasureDistance objects.
  2. There are several ways to invoke the command:
    • Press the Draft Dimension button.
    • Select the Annotation → Dimension option from the menu.
    • Use the keyboard shortcut: D then I.
  3. Each selected object is replaced by a non-parametric linear Draft Dimension.

Notes

Boyut, ağaç görünümündeki öğeye çift tıklayarak veya Taslak Düzenle düğmesine basarak düzenlenebilir. Ardından noktaları yeni bir konuma getirebilirsiniz.

Özellikler

See also: Property editor.

A Draft Dimension object is derived from an App FeaturePython object and inherits all its properties. The following properties are additional unless otherwise stated:

Data linear and radial dimension

Dimension

Veri

  • Veri Start: ölçülecek mesafenin başlangıç noktasını belirtir.
  • Veri End: ölçülecek mesafenin bitiş noktasını belirtir.
  • Veri Dimline: boyut çizgisinin geçmesi gereken bir noktayı belirtir.
  • Veri Distance: (salt okunur) ölçülen uzunluğu belirtir.
  • Veri Diameter: true ise, bir çap boyutu görüntüler; aksi takdirde bir yarıçap boyutu görüntüler; Bu özellik yalnızca boyut dairesel bir yaya bağlıysa çalışır.

Linear/radial dimension

  • VeriDirection (Vector): specifies the direction of the measurement.
  • VeriDistance (Length): (read-only) specifies the value of the measurement.
  • VeriEnd (VectorDistance): specifies the end point of the measurement.
  • VeriStart (VectorDistance): specifies the start point of the measurement.

Radial dimension

  • VeriDiameter (Bool): specifies if a radial dimension is displayed as a diameter dimension. Not used for linear dimensions.

Data angular dimension

Angular dimension

  • VeriAngle (Angle): (read-only) specifies the value of the measurement.
  • VeriCenter (VectorDistance): specifies the center of the measurement.
  • VeriFirst Angle (Angle): specifies the start angle of the measurement.
  • VeriLast Angle (Angle): specifies the end angle of the measurement.

Dimension

  • VeriDimline (VectorDistance): specifies the point through which the dimension arc passes.
  • Veri (hidden)Linked Geometry (LinkSubList): not used.
  • Veri (hidden)Normal (Vector): specifies the normal of the plane of the dimension.
  • Veri (hidden)Support (Link): not used.

View

Annotation

  • GörünümAnnotation Style (Enumeration): specifies the annotation style applied to the dimension. See Draft AnnotationStyleEditor.
  • GörünümScale Multiplier (Float): specifies the general scaling factor applied to the dimension.

Display Options

  • GörünümDisplay Mode (Enumeration): specifies how the text is displayed. If it is World the text will be displayed on a plane defined by the VeriNormal of the measurement. If it is Screen the text will always face the screen. This is an inherited property. The mentioned options are the renamed options (introduced in version 0.21).

Graphics

Görünüm

  • Görünüm Ext Lines: Ölçüm noktalarından boyut çizgisine giden uzatma hatlarının maksimum uzunluğunu belirtir.
  • Görünüm Ext Overshoot: uzantı çizgilerinin boyut çizgisinin ötesindeki ek uzunluğunu belirtir.
  • Görünüm Dim Overshoot: boyut çizgisine eklenen ilave uzunluğu belirtir.
* Görünüm Arrow Size: boyut çizgisinin sonunda görüntülenen sembolün boyutunu belirtir. 
  • Görünüm Arrow Type: "Çizgi", "Daire", "Ok" veya "Tik" olabilen, boyut çizgisinin sonunda görüntülenen sembolün türünü belirtir.
  • Görünüm Flip Arrows: sembollerin boyut çizgisinin uçlarında çevrilip çevrilmeyeceğini belirtir; sadece bu semboller ok ise işe yarar.
  • Görünüm Font Name: metni çizmek için kullanılacak fontu belirtir. "Arial" gibi bir font adı, "sans", "serif" veya "mono" gibi bir varsayılan stil, "Arial, Helvetica, sans" gibi bir aile veya "gibi bir stil içeren bir ad olabilir. Arial: "Kalın. Belirtilen font sistemde bulunmuyorsa, bunun yerine genel olan kullanılır.
  • Görünüm Font Size: harflerin boyutunu belirtir. Boyut nesnesi ağaç görünümünde oluşturulmuşsa ancak metin görünmüyorsa, görünene kadar metnin boyutunu artırın.
  • Görünüm Flip Text: ölçümü gösteren metnin yönünün çevrilip çevrilmeyeceğini belirtir.
  • Görünüm Text Position: orijine (0,0,0) atıfta bulunulan metnin mutlak koordinatlardaki konumunu belirtir; metni boyut çizgisinin yanında görüntülemek için bu özelliği varsayılan değerinde (0,0,0) bırakın.
  • Görünüm Text Spacing: Metin ve boyut çizgisi arasındaki boşluğu belirtir.
  • Görünüm Override: gerçek ölçüm yerine görüntülenecek özel bir metin belirtir. Ölçüm değerini görüntülemek için metnin içindeki $ dim dizesini kullanın.
  • Görünüm Decimals: ölçümde görüntülenecek ondalık basamak sayısını belirtir.
  • Görünüm Show Unit: true ise, birim ölçümün sayısal değerinin yanında görüntülenir.
  • Görünüm Unit Override: ölçümü "örneğin" km "," m "," cm "," mm "," mi "," ft "," in "olarak ifade edeceği bir birim belirtir. ; varsayılan birimleri kullanmak için bu özelliği boş bırakın. 0.17 sürümünde kullanılabilir

Text

  • GörünümFlip Text (Bool): specifies whether to flip the orientation of the text.
  • GörünümFont Name (Font): specifies the font used to draw the text. It can be a font name, such as Arial, a default style such as sans, serif or mono, a family such as Arial,Helvetica,sans, or a name with a style such as Arial:Bold. If the given font is not found on the system, a default font is used instead.
  • GörünümFont Size (Length): specifies the size of the letters. The text can be invisible in the 3D view if this value is very small.
  • GörünümOverride (String): specifies a custom text to display instead of the actual measurement. Use the string $dim inside the text to include the measurement.
  • GörünümText Color (Color): specifies the color of the text. introduced in version 0.21
  • GörünümText Position (VectorDistance): specifies the position of the text in absolute coordinates. [0, 0, 0] will display the text in its default position near the dimension line or arc.
  • GörünümText Spacing (Length): specifies the space between the text and the dimension line or arc.

Units

  • GörünümDecimals (Integer): specifies the number of decimal places to display for the measurement.
  • GörünümShow Unit (Bool): specifies whether to display the unit next to the numerical value of the measurement. Not used for angular dimensions.
  • GörünümUnit Override (String): specifies the unit in which to express the measurement, for example, km, m, cm, mm, mi, ft, in or arch for arch units. Leave this blank to use the default unit. Not used for angular dimensions.

Scripting

Betik

Ayrıca bkz.: Taslak API ve FreeCAD Betik esasları.

Boyut aracı, aşağıdaki işlevi kullanarak makrolar ve Python konsolundan kullanılabilir:

dimension = make_dimension(p1, p2, p3=None, p4=None)

Kendisine iletilen argümanlara bağlı olarak, bu işlevi çağırmanın çeşitli yolları vardır:

dimension = make_dimension(p1, p2, p3=None)
dimension = make_dimension(object, i1, i2, p4=None)
dimension = make_dimension(object, i1, mode, p4=None)
  • p1 ve p2 noktaları arasındaki mesafeyi ölçerek doğrusal bir Dimension oluşturur.
  • object 'a bağlı, i1 ve i2 endeksli köşeleri arasındaki mesafeyi ölçen doğrusal bir Dimension oluşturur.
  • object 'a bağlı, i1, ölçülecek eğri kenarının dizini ve mode ya { Boyut türünü belirtmek için {incode | "radius"}} veya "çap".
    • İlk aramada p3 ve diğer ikisinde de p4, boyut çizgisinin geçmesi gereken isteğe bağlı bir nokta belirtin.
    • Tüm noktalar FreeCAD.Vector ile tanımlanır.

Açısal bir boyut oluşturmak için aşağıdaki işlevi kullanın:

dimension = make_angular_dimension(center, angles, p3, normal=None)
dimension = make_angular_dimension(center, [angle1, angle2], p3, normal=None)
  • Verilen center noktasından, iki öğeli angles listesinden ve arkasından gelen p3 noktasından açısal bir Dimension oluşturur. gitmelisin.
    • Eğer angle1> angle2 ise, görüntülenen açı angle1 - angle2 farkıdır; Aksi halde, ek açı gösterilir 360 - (angle2 - angle1).
    • Açıları radyan cinsinden verilmelidir; math.radians () işlevi, derece olarak verilen açıları dönüştürmek için kullanılabilir.

Dimension görünüm özellikleri niteliklerinin üzerine yazılarak değiştirilebilir; örneğin, ViewObject.FontSize üzerine, yeni boyutun milimetre cinsinden üzerine yazın.

Örnek:

import FreeCAD as App
import Draft

doc = App.newDocument()

p1 = App.Vector(0, 0, 0)
p2 = App.Vector(1000, 1000, 0)
p3 = App.Vector(-2500, 0, 0)
dimension1 = Draft.make_dimension(p1, p2, p3)
dimension1.ViewObject.FontSize = 200

polygon = Draft.make_polygon(3, radius=1000)
doc.recompute()

p4 = App.Vector(-2000, 1500, 0)
dimension2 = Draft.make_dimension(polygon, 1, 2, p4)
dimension2.ViewObject.FontSize = 200

center = App.Vector(2000, 0, 0)
p5 = App.Vector(3000, 1000, 0)
angle1 = 45
angle2 = 10
dimension3 = Draft.make_angular_dimension(center, [angle1, angle2], p5)
dimension3.ViewObject.FontSize = 200

dimension4 = Draft.make_angular_dimension(center, [angle2, angle1], p5*1.2)
dimension4.ViewObject.FontSize = 200

doc.recompute()