Taslak Boyut

From FreeCAD Documentation
Revision as of 12:04, 23 January 2019 by Skywalker21 (talk | contribs) (Created page with "Ölçüm çizgisinin konumu, yönlendirme özelliğini değiştirerek oluşturulduktan sonra da değiştirilebilir.")

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

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. Alternatif olarak, Teknik resim Boyut Uzunluğu ve Teknik resim Boyut Yarıçapı gibi boyutları görüntülemek için kendi araçlarına sahiptir; ancak, 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

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 Nokta ekle düğmesine basın. Son nokta, ölçüm çizgisinin konumunu tanımlar.

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.

Ölçüm noktaları, oluşturulduktan sonra başlangıç ​​ve bitiş özellikleri değiştirilebilir.

Ölçüm çizgisinin konumu, yönlendirme özelliğini değiştirerek oluşturulduktan sonra da değiştirilebilir.

Kullanılabilir boyut tipleri

  • Doğrusal boyutlar: ALT tuşuna basarak herhangi bir 2 nokta veya düz bir kenar seçerek.
  • Yatay/dikey boyutlar: ikinci nokta seçiliyken SHIFT tuşuna basarak.
  • Çap boyutları: ALT tuşuna basarak eğri bir kenar seçerek.
  • Yarıçap boyutları: ALT tuşunu kullanarak eğri bir kenar seçerek, ardından SHIFT tuşuna basın.
  • Açısal boyutlar: ALT tuşuna basarak 2 düz kenar seçerek.
  • Linear dimensions: hold the Alt key, or click on the select edge button, and pick a straight edge, then pick a second point to draw the dimension line parallel to that edge.
Note: you can also pre-select the edge before calling the tool.
  • Horizontal and vertical dimensions: pick one point, then pick a second point, then hold the Shift key and move the pointer horizontally or vertically, then pick a third point to draw the dimension line parallel to either the X axis or the Y axis.
Note 1: click and hold Shift and move the pointer in different directions many times until the dimension line aligns to the desired axis. Clicking Shift while the pointer is far from the first point will usually align the dimension to the X axis; if the pointer is close to the first point it will usually align the dimension to the Y axis.
Note 2: instead of picking two points, pick an edge while holding Alt.
  • Diameter dimensions: hold the Alt key and pick a curved edge, then pick a second point to draw the dimension line.
    • Radius dimensions: hold the Alt key and pick a curved edge, then hold the Shift key and pick a second point to draw the dimension line.
  • Angular dimensions: hold the Alt key and then pick two straight edges, then pick a point between the two edges to show the acute or obtuse angle, or elsewhere to show a supplementary or explementary angle.
Note: the displayed angle largely depends on the original position of the selected edges. If you would like to display a particular angle, you may have to add auxiliary Draft Lines that extend from the original edges, and measure these extensions.

Note: by pre-selecting an edge, or by picking it with Alt or select edge, the dimension will become parametric, that is, it will remember which edge it is bound to. If the endpoints of that edge move later on, the dimension will follow them, and adjust the displayed measurement.

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.
  • snapping noktasını mesafeden bağımsız olarak, noktanızı en yakın anlık konuma zorlamak için çizim yaparken CTRL tuşuna basın.
  • SHIFT tuşuna basılması constrain boyutu yatay veya dikey olarak veya dairesel bir kenarda çalışırken çap ve yarıçap modları arasında geçiş yapacaktır.
  • R tuşuna basınız veya Göreceli düğmesini işaretlemek / işaretini kaldırmak için onay kutusuna tıklayınız. Göreceli mod açıksa, bir sonraki noktanın koordinatları da öncekine göredir. Olmazsa, mutlaktırlar, (0,0,0) başlangıç ​​noktasından alınırlar.
  • T tuşuna basınız veya Devam et düğmesini işaretlemek / işaretini kaldırmak için onay kutusuna tıklayınız. Devam modu açıksa, aynı taban çizgisini paylaşan birbiri ardına devam eden boyutlar çizebilirsiniz.
  • Geçerli çizgi komutunu iptal etmek için ESC veya İptal düğmesine basın.
  • ALT ile var olan bir kenarı seçerek, ölçüm noktalarına girmek yerine, boyut parametrik olur ve hangi kenara bağlı olduğunu hatırlar. Bu kenarın uç noktaları daha sonra ilerlerse, boyut onları takip eder.
  • Boyut komutuna başlamadan önce bir kenar seçilirse, oluşturulan boyut parametrik olacaktır.
  • Boyutun yönü "Yön" özelliği değiştirilerek daha sonra değiştirilebilir

Özellikleri

  • Veri Start: Ölçülecek mesafenin başlangıç ​​noktası
  • Veri End: Ölçülecek mesafenin bitiş noktası
  • Veri Dimline: Boyut çizgisinin geçmesi gereken bir nokta
  • Görünüm Display Mode: Metnin boyut çizgileriyle hizalanıp hizalanmayacağını veya her zaman kameraya dönük olup olmadığını belirtir
  • Görünüm Font Size: Harflerin boyutu
  • Görünüm Ext Lines: Genişletme çizgilerinin boyutu (ölçüm noktaları ile ölçü çizgisi arasında)
  • Görünüm Text Position: Metnin belirli bir pozisyonda gösterilmesini sağlamak için kullanılabilir
  • Görünüm Text Spacing: Metin ve boyut çizgisi arasındaki boşluğu belirtir
  • Görünüm Override: Ölçüm yerine görüntülenecek metni belirtir. Ölçüm değerini görüntülemek için bu metnin içine "$ dim" yazın
  • Görünüm Font Name: Metni çizmek için kullanılacak font. "Arial" gibi bir font adı, "sans", "serif" veya "mono" gibi bir varsayılan stil veya "Arial, Helvetica, sans" gibi bir aile veya böyle bir stilde bir isim olabilir. "Arial: Kalın". Belirtilen font sistemde bulunmuyorsa, bunun yerine genel olan kullanılır.
  • Görünüm Arrow Type: Kullanılacak okun türü
  • Görünüm Arrow Size: Okların boyutu
  • Görünüm Decimals: Boyutta gösterilecek ondalık basamak sayısı
  • Görünüm Flip Arrows: Okların yönünü ters çevir
  • Görünüm Unit Override: Verilen birimdeki mesafeyi ifade eder (sistem birimini kullanmak için boş bırakın) 0.17 sürümünde kullanılabilir

Data

  • VeriStart: specifies the start point of the distance to measure.
  • VeriEnd: specified the end point of the distance to measure.
  • VeriDimline: specifies a point through which the dimension line must pass.
  • VeriDistance: (read-only) indicates the measured length.
  • VeriDiameter: if it is true it displays a diameter dimension; otherwise it displays a radius dimension; this property only works if the dimension is attached to a circular arc.

View

  • GörünümExt Lines: specifies the maximum length of the extension lines that go from the measurement points to the dimension line.
  • GörünümExt Overshoot: specifies the additional length of the extension lines beyond the dimension line.
  • GörünümDim Overshoot: specifies the additional length added to the dimension line.
  • GörünümArrow Size: specifies the size of the symbol displayed at the ends of the dimension line.
  • GörünümArrow Type: specifies the type of symbol displayed at the ends of the dimension line, which can be "Dot", "Circle", "Arrow", or "Tick".
  • GörünümFlip Arrows: specifies whether to flip the orientation of the symbols at the ends of the dimension line; it only works if these symbols are arrows.
  • GörünümFont Name: specifies the font to use 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 generic one is used instead.
  • GörünümFont Size: specifies the size of the letters. If the dimension object is created in the tree view but no text is visible, increase the size of the text until it is visible.
  • GörünümFlip Text: specifies whether to flip the orientation of the text indicating the measurement.
  • GörünümText Position: specifies the position of the text in absolute coordinates, referred to the origin (0,0,0); leave this property at its default value (0,0,0) to display the text next to the dimension line.
  • GörünümText Spacing: specifies the space between the text and the dimension line.
  • GörünümOverride: specifies a custom text to display instead of the actual measurement. Use the string $dim inside the text to display the measurement value.
  • GörünümDecimals: specifies the number of decimal places to display on the measurement.
  • GörünümShow Unit: if it is true the unit is displayed next to numerical value of the measurement.
  • GörünümUnit Override: specifies a unit in which to express the measurement, for example, "km", "m", "cm", "mm", "mi", "ft", "in"; leave this property blank to use the default units. introduced in version 0.17

Komut

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

The Dimension tool can be used in macros and from the Python console by using the following function:

Dimension = makeDimension(p1, p2, p3=None, p4=None)

There are various ways to invoke this function, depending on the arguments passed to it:

Dimension = makeDimension(p1, p2, p3=None)
Dimension = makeDimension(object, i1, i2, p4=None)
Dimension = makeDimension(object, i1, mode, p4=None)
  • Boyut çizgisi p3'ten geçen bir Boyut nesnesi oluşturur.
  • Boyut nesnesi, Çizgi stili komut çubuğunda ayarlanmış.
  • Boyut oluşturmanın argümanlarına bağlı olarak boyut oluşturmanın birden fazla yolu vardır:
  1. (p1, p2, p3): p1'den p2'ye standart bir boyut oluşturur.
  2. (object, i1, i2, p3): verilen nesneye bağlı bir boyut oluşturur, i1 ve i2 ile indekslenmiş köşeleri arasındaki mesafeyi ölçer.
  3. (object, i1, mode, p3): verilen nesneye bağlı bir boyut oluşturur, i1 ölçülecek (eğri) kenarın indeksidir ve mod "yarıçap" veya "çap" dır. Yeni oluşturulan nesneyi döndürür.

To create an angular dimension use the following function:

Dimension = makeAngularDimension(center, angles, p3, normal=None)
Dimension = makeAngularDimension(center, [angle1, angle2], p3, normal=None)
  • Verilen merkezlerden, verilen açıların listesiyle p3'ten geçen bir açısal Boyut oluşturur.
  • Yeni oluşturulan nesneyi döndürür.

The view properties of Dimension can be changed by overwriting its attributes; for example, overwrite ViewObject.FontSize with the new size in millimeters.

Örnek:

import math, FreeCAD, Draft

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(1000, 1000, 0)
p3 = FreeCAD.Vector(-2500, 0, 0)
Dimension1 = Draft.makeDimension(p1, p2, p3)
Dimension1.ViewObject.FontSize = 200

Polygon = Draft.makePolygon(3, radius=1000)
p4 = FreeCAD.Vector(-2000, 1500, 0)
Dimension2 = Draft.makeDimension(Polygon, 1, 2, p4)
Dimension2.ViewObject.FontSize = 200

center = FreeCAD.Vector(2000, 0, 0)
p5 = FreeCAD.Vector(3000, 1000, 0)
angle1 = math.radians(45)
angle2 = math.radians(10)
Dimension3 = Draft.makeAngularDimension(center, [angle1, angle2], p5)
Dimension3.ViewObject.FontSize = 200

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