Draft Dimension/tr: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(47 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Draft_Text|Text]]
|[[Draft_Label|Label]]
|[[Draft_Workbench|Draft]]
|IconL=Draft_Text.svg
|IconR=Draft_Label.svg
|IconC=Workbench_Draft.svg
}}

<div class="mw-translate-fuzzy">
{{GuiCommand/tr
{{GuiCommand/tr
|Name=Draft Dimension
|Name=Draft Dimension
|Name/tr=Boyut
|Name/tr=Boyut|Workbenches=[[Draft Module/tr|Taslak]], [[Arch Module/tr|Mimari]]
|MenuLocation=Taslak → Boyut
|MenuLocation=Taslak → Boyut
|Workbenches=[[Draft_Workbench/tr|Taslak]], [[Arch_Workbench/tr|Mimari]]
|Shortcut=D I
|Shortcut={{KEY|D}} {{KEY|I}}
|SeeAlso=[[Draft FlipDimension/tr|FlipDimension]],[[TechDraw Workbench/tr|Teknik resim]]
|Version=0.18
|Version=0.18
|SeeAlso=[[Draft FlipDimension/tr|FlipDimension]],[[TechDraw Workbench/tr|Teknik resim]]
}}
}}
</div>


==Description==

<div class="mw-translate-fuzzy">
== Açıklama ==
== 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.
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.
</div>


<div class="mw-translate-fuzzy">
Araç, doğrudan katı gövdelere tutturulmuş kenarları veya çizgileri ölçebilir; Gövde değişirse, boyut kendini günceller. Araç ayrıca [[Draft Arc/tr|Yay]] veya [[art Fillet/tr|Doldur]], [[Sketcher CreateFillet/tr|Eskiz Dolgu oluştur]] ve [[PartDesign Fillet/tr|Prça tasarım Dolgu]] işlemleri ile üretilenler gibi eğrilik çapını veya yarıçapını da ölçebilir.
Araç, doğrudan katı gövdelere tutturulmuş kenarları veya çizgileri ölçebilir; Gövde değişirse, boyut kendini günceller. Araç ayrıca [[Draft Arc/tr|Yay]] veya [[Part Fillet/tr|Doldur]], [[Sketcher CreateFillet/tr|Eskiz Dolgu oluştur]] ve [[PartDesign Fillet/tr|Prça tasarım Dolgu]] işlemleri ile üretilenler gibi eğrilik çapını veya yarıçapını da ölçebilir.
</div>


<div class="mw-translate-fuzzy">
Ortaya çıkan boyut 3D görünümüne yerleştirilir ve bir Taslak nesnesi olarak kabul edilir. Bu nesne, [[TechDraw NewDraft/tr|Teknik resim Yeni Eskiz]] veya [[TechDraw NewArch/tr|Teknik resim Yeni Yay]] araçlarını kullanarak [[TechDraw Workbench/tr|Teknik resim tezgahı]] sayfasında görüntülenebilir. Alternatif olarak, [[TechDraw Dimension Length/tr|Teknik resim Boyut Uzunluğu]] ve [[TechDraw Dimension Radius/tr|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.
Ortaya çıkan boyut 3D görünümüne yerleştirilir ve bir Taslak nesnesi olarak kabul edilir. Bu nesne, [[TechDraw_DraftView/tr|Teknik resim Yeni Eskiz]] veya [[TechDraw_ArchView/tr|Teknik resim Yeni Yay]] araçlarını kullanarak [[TechDraw Workbench/tr|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.
</div>


[[Image:Screenshot_Draft_Dimension.jpg|400px]]
[[Image:Screenshot_Draft_Dimension.jpg|400px]]
<div class="mw-translate-fuzzy">
{{Caption | Üç nokta tarafından tanımlanan boyut}}
{{Caption | Üç nokta tarafından tanımlanan boyut}}
</div>

== Create ==

See also: [[Draft_Tray|Draft Tray]], [[Draft_Snap|Draft Snap]] and [[Draft_Constrain|Draft Constrain]].

=== Usage linear dimension ===


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
== Nasıl kullanılır ==
== Nasıl kullanılır ==
# {{KEY | [[Image: Draft Dimension.png | 16px]] [[Draft Dimension/tr|Boyut]]}} düğmesine basın veya {{KEY | D}} ardından {{KEY | I}} tuşlarına basın
# {{Button | [[Image: Draft Dimension.png | 16px]] Taslak Boyut}} düğmesine basın veya {{KEY | D}} ardından {{KEY | I}} tuşları.
# 3D görünümünde bir noktaya tıklayın veya bir [[Draft_Coordinates/tr|Koordinat]] yazın
# 3D görünümünde bir noktaya tıklayın veya bir koordinat yazın ve {{Button | [[Image: Draft_AddPoint.svg | 16px]] Nokta ekle}} düğmesine basın.
# 3D görünümünde ikinci bir noktaya tıklayın veya bir [[Draft_Coordinates/tr|Koordinat]] yazın
# 3D görünümünde ikinci bir noktaya tıklayın veya bir koordinat yazın ve {{Button | [[Image: Draft_AddPoint.svg | 16px]] Nokta ekle}} düğmesine basın. İlk iki nokta ölçülen mesafeyi tanımlar.
# 3D görünümünde üçüncü bir noktayı tıklayın veya bir [[Draft_Coordinates/tr | Koordinat]] yazın
# 3D görünümünde üçte birini tıklayın veya bir koordinat yazın ve {{Button | [[Image: Draft_AddPoint.svg | 16px]] |Nokta ekle}} düğmesine basın. Son nokta, ölçüm çizgisinin konumunu tanımlar.
</div>
</div>


=== Usage radial dimension ===
The dimension can be edited by double clicking on the element in the tree view, or by pressing the {{Button|[[Image:Draft Edit.svg|16px]] [[Draft Edit]]}} button. Then you can move the points to a new position.

# Optionally select a circular edge in the [[3D_view|3D view]].
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Draft_Dimension.svg|16px]] [[Draft_Dimension|Draft Dimension]]}} button.
#* Select the {{MenuCommand|Annotation → [[Image:Draft_Dimension.svg|16px]] Dimension}} option from the menu.
#* Use the keyboard shortcut: {{KEY|D}} then {{KEY|I}}.
# The {{MenuCommand|Dimension}} task panel opens. See [[#Options|Options]] for more information.
# If you have not yet selected an edge do one of the following:
#* Press {{KEY|E}} or the {{Button|[[Image:view-select.svg|16px]] Select edge}} button and select a circular edge in the [[3D_view|3D view]].
#* Hold down the {{KEY|Alt}} key, select a circular edge in the [[3D_view|3D view]] and release the {{KEY|Alt}} key.
# To position the dimension line do one of the following:
#* For a diameter dimension:
#** Pick a point in the [[3D_view|3D view]], or type coordinates and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button.
#* For a radial dimension:
#** Hold down the {{KEY|Shift}} key and pick a point in the [[3D_view|3D view]].

=== Usage angular dimension ===

# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Draft_Dimension.svg|16px]] [[Draft_Dimension|Draft Dimension]]}} button.
#* Select the {{MenuCommand|Annotation → [[Image:Draft_Dimension.svg|16px]] Dimension}} option from the menu.
#* Use the keyboard shortcut: {{KEY|D}} then {{KEY|I}}.
# The {{MenuCommand|Dimension}} task panel opens. See [[#Options|Options]] for more information.
# Do one of the following:
#* Press {{KEY|E}} or the {{Button|[[Image:view-select.svg|16px]] Select edge}} button and select a first straight edge in the [[3D_view|3D view]]. Repeat this to select a second straight edge.
#* Hold down the {{KEY|Alt}} key, select two straight edges in the [[3D_view|3D view]] and release the {{KEY|Alt}} key.
# To position the dimension arc pick a point in the [[3D_view|3D view]].
# The displayed angle depends on the edges and the picked point.


=== Options ===
The measuring points can be changed after creation by changing the start and end properties.


The single character keyboard shortcuts available in the task panel can be changed. See [[Draft_Preferences|Draft Preferences]]. The shortcuts mentioned here are the default shortcuts (for version 0.22).
The position of the measurement line can also be changed after creation by changing its direction property.


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
== Seçenekler ==
== Kullanılabilir boyut tipleri ==
* Verilen eksendeki bir sonraki noktayı sınırlamak için bir noktadan sonra {{KEY | X}}, {{KEY | Y}} veya {{KEY | Z}} tuşlarına basın.
* '''Doğrusal boyutlar''': {{KEY | ALT}} tuşuna basarak herhangi bir 2 nokta veya düz bir kenar seçerek.
* Koordinatları manuel olarak girmek için sayıları girin, ardından her bir X, Y ve Z bileşeni arasında {{KEY | Enter}} tuşuna basın. Noktayı yerleştirmek istediğiniz değerleri aldığınızda {{Button | [[Image: Draft_AddPoint.svg | 16px]] Nokta ekle}} düğmesine basabilirsiniz.
* '''Yatay/dikey boyutlar''': ikinci nokta seçiliyken {{KEY | SHIFT}} tuşuna basarak.
* '''Göreceli''' moduna geçmek için {{KEY | 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).
* '''Çap boyutları''': {{KEY | ALT}} tuşuna basarak eğri bir kenar seçerek.
* '''Devam''' moduna geçmek için {{KEY | 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.
* '''Yarıçap boyutları''': {{KEY | ALT}} tuşunu kullanarak eğri bir kenar seçerek, ardından {{KEY | SHIFT}} tuşuna basın.
* [[Draft_Snap/tr | Yakalama]] noktanızı mesafeden bağımsız olarak, en yakın çeki konumuna yönlendirmek için çizim yaparken {{KEY | Ctrl}} tuşunu basılı tutun.
* '''Açısal boyutlar''': {{KEY | ALT}} tuşuna basarak 2 düz kenar seçerek.
* Bir önceki noktaya göre [[Draft_Constrain/tr | 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 {{KEY | Shift}} tuşunu basılı tutun.
* Geçerli komutu iptal etmek için {{KEY | Esc}} veya {{Button | Close}} düğmesine basın ve '''devam''' boyutlarını bitirin; önceden yerleştirilmiş boyutlar kalacaktır.
</div>
</div>


== Convert ==
* Linear dimensions: hold the {{KEY|Alt}} key, or click on the {{Button|[[Image:view-select.svg|16px]] select edge}} button, and pick a straight edge, then pick a second point to draw the dimension line parallel to that edge.
:{{emphasis|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 {{KEY|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.
:{{emphasis|Note 1:}} click and hold {{KEY|Shift}} and move the pointer in different directions many times until the dimension line aligns to the desired axis. Clicking {{KEY|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.
:{{emphasis|Note 2:}} instead of picking two points, pick an edge while holding {{KEY|Alt}}.
* Diameter dimensions: hold the {{KEY|Alt}} key and pick a curved edge, then pick a second point to draw the dimension line.
** Radius dimensions: hold the {{KEY|Alt}} key and pick a curved edge, then hold the {{KEY|Shift}} key and pick a second point to draw the dimension line.
* Angular dimensions: hold the {{KEY|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.
:{{Emphasis|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 Line]]s that extend from the original edges, and measure these extensions.


=== Usage ===
{{Emphasis|Note:}} by pre-selecting an edge, or by picking it with {{KEY|Alt}} or {{Button|[[Image:view-select.svg|16px]] select edge}}, the dimension will become {{emphasis|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.

# Select one or more [[Std_MeasureDistance|Std MeasureDistance]] objects.
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Draft_Dimension.svg|16px]] [[Draft_Dimension|Draft Dimension]]}} button.
#* Select the {{MenuCommand|Annotation → [[Image:Draft_Dimension.svg|16px]] Dimension}} option from the menu.
#* Use the keyboard shortcut: {{KEY|D}} then {{KEY|I}}.
# Each selected object is replaced by a non-parametric linear Draft Dimension.

==Notes==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Boyut, ağaç görünümündeki öğeye çift tıklayarak veya {{Button | [[Image: Draft Edit.svg | 16px]] [[Draft Edit/tr|Taslak Düzenle]]}} düğmesine basarak düzenlenebilir. Ardından noktaları yeni bir konuma getirebilirsiniz.
== Seçenekler ==
* Verilen eksendeki bir sonraki noktayı sınırlamak için bir noktadan sonra {{KEY | X}}, {{KEY | Y}} veya {{KEY | 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 {{KEY | ENTER}} tuşuna basın.
* [[Draft_Snap/tr| snapping]] noktasını mesafeden bağımsız olarak, noktanızı en yakın anlık konuma zorlamak için çizim yaparken {{KEY | CTRL}} tuşuna basın.
* {{KEY | SHIFT}} tuşuna basılması [[Draft_Constrain/tr| constrain]] boyutu yatay veya dikey olarak veya dairesel bir kenarda çalışırken çap ve yarıçap modları arasında geçiş yapacaktır.
* {{KEY | R}} tuşuna basınız veya {{KEY | '''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.
* {{KEY | T}} tuşuna basınız veya {{KEY | '''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 {{KEY|ESC}} veya {{KEY|'''İptal'''}} düğmesine basın.
* {{KEY|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
</div>
</div>

<span id="Properties"></span>
== Özellikler ==

See also: [[Property_editor|Property editor]].

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

=== Data linear and radial dimension ===

{{TitleProperty|Dimension}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
== Özellikleri ==
=== Veri ===
* {{PropertyData | Start}}: Ölçülecek mesafenin başlangıç ​​noktası
* {{PropertyData | Start}}: ölçülecek mesafenin başlangıç noktasını belirtir.
* {{PropertyData | End}}: Ölçülecek mesafenin bitiş noktası
* {{PropertyData | End}}: ölçülecek mesafenin bitiş noktasını belirtir.
* {{PropertyData | Dimline}}: Boyut çizgisinin geçmesi gereken bir nokta
* {{PropertyData | Dimline}}: boyut çizgisinin geçmesi gereken bir noktayı belirtir.
* {{PropertyData | Distance}}: (salt okunur) ölçülen uzunluğu belirtir.
* {{PropertyView | Display Mode}}: Metnin boyut çizgileriyle hizalanıp hizalanmayacağını veya her zaman kameraya dönük olup olmadığını belirtir
* {{PropertyData | 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.
* {{PropertyView | Font Size}}: Harflerin boyutu
* {{PropertyView | Ext Lines}}: Genişletme çizgilerinin boyutu (ölçüm noktaları ile ölçü çizgisi arasında)
* {{PropertyView | Text Position}}: Metnin belirli bir pozisyonda gösterilmesini sağlamak için kullanılabilir
* {{PropertyView | Text Spacing}}: Metin ve boyut çizgisi arasındaki boşluğu belirtir
* {{PropertyView | 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
* {{PropertyView | 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.
* {{PropertyView | Arrow Type}}: Kullanılacak okun türü
* {{PropertyView | Arrow Size}}: Okların boyutu
* {{PropertyView | Decimals}}: Boyutta gösterilecek ondalık basamak sayısı
* {{PropertyView | Flip Arrows}}: Okların yönünü ters çevir
* {{PropertyView | Unit Override}}: Verilen birimdeki mesafeyi ifade eder (sistem birimini kullanmak için boş bırakın) {{Version/tr | 0.17}}
</div>
</div>


{{TitleProperty|Linear/radial dimension}}
=== Data ===

* {{PropertyData|Start}}: specifies the start point of the distance to measure.
* {{PropertyData|End}}: specified the end point of the distance to measure.
* {{PropertyData|Direction|Vector}}: specifies the direction of the measurement.
* {{PropertyData|Dimline}}: specifies a point through which the dimension line must pass.
* {{PropertyData|Distance|Length}}: (read-only) specifies the value of the measurement.
* {{PropertyData|Distance}}: (read-only) indicates the measured length.
* {{PropertyData|End|VectorDistance}}: specifies the end point of the measurement.
* {{PropertyData|Start|VectorDistance}}: specifies the start point of the measurement.
* {{PropertyData|Diameter}}: 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.

{{TitleProperty|Radial dimension}}

* {{PropertyData|Diameter|Bool}}: specifies if a radial dimension is displayed as a diameter dimension. Not used for linear dimensions.

=== Data angular dimension ===

{{TitleProperty|Angular dimension}}

* {{PropertyData|Angle|Angle}}: (read-only) specifies the value of the measurement.
* {{PropertyData|Center|VectorDistance}}: specifies the center of the measurement.
* {{PropertyData|First Angle|Angle}}: specifies the start angle of the measurement.
* {{PropertyData|Last Angle|Angle}}: specifies the end angle of the measurement.

{{TitleProperty|Dimension}}

* {{PropertyData|Dimline|VectorDistance}}: specifies the point through which the dimension arc passes.
* {{PropertyData|Linked Geometry|LinkSubList|hidden}}: not used.
* {{PropertyData|Normal|Vector|hidden}}: specifies the normal of the plane of the dimension.
* {{PropertyData|Support|Link|hidden}}: not used.


=== View ===
=== View ===

* {{PropertyView|Ext Lines}}: specifies the maximum length of the extension lines that go from the measurement points to the dimension line.
{{TitleProperty|Annotation}}
* {{PropertyView|Ext Overshoot}}: specifies the additional length of the extension lines beyond the dimension line.

* {{PropertyView|Dim Overshoot}}: specifies the additional length added to the dimension line.
* {{PropertyView|Arrow Size}}: specifies the size of the symbol displayed at the ends of the dimension line.
* {{PropertyView|Annotation Style|Enumeration}}: specifies the annotation style applied to the dimension. See [[Draft_AnnotationStyleEditor|Draft AnnotationStyleEditor]].
* {{PropertyView|Arrow Type}}: specifies the type of symbol displayed at the ends of the dimension line, which can be "Dot", "Circle", "Arrow", or "Tick".
* {{PropertyView|Scale Multiplier|Float}}: specifies the general scaling factor applied to the dimension.

* {{PropertyView|Flip 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.
{{TitleProperty|Display Options}}
* {{PropertyView|Font 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.

* {{PropertyView|Font 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.
* {{PropertyView|Display Mode|Enumeration}}: specifies how the text is displayed. If it is {{value|World}} the text will be displayed on a plane defined by the {{PropertyData|Normal}} of the measurement. If it is {{value|Screen}} the text will always face the screen. This is an inherited property. The mentioned options are the renamed options ({{Version|0.21}}).
* {{PropertyView|Flip Text}}: specifies whether to flip the orientation of the text indicating the measurement.

* {{PropertyView|Text 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.
{{TitleProperty|Graphics}}
* {{PropertyView|Text Spacing}}: specifies the space between the text and the dimension line.
* {{PropertyView|Override}}: specifies a custom text to display instead of the actual measurement. Use the string {{incode|$dim}} inside the text to display the measurement value.
* {{PropertyView|Decimals}}: specifies the number of decimal places to display on the measurement.
* {{PropertyView|Show Unit}}: if it is {{TRUE}} the unit is displayed next to numerical value of the measurement.
* {{PropertyView|Unit 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. {{Version|0.17}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
== Komut ==
=== Görünüm ===
* {{PropertyView | Ext Lines}}: Ölçüm noktalarından boyut çizgisine giden uzatma hatlarının maksimum uzunluğunu belirtir.
Boyut aracı, aşağıdaki işlevleri kullanarak [[makrolar]] ve python konsolundan kullanılabilir:
* {{PropertyView | Ext Overshoot}}: uzantı çizgilerinin boyut çizgisinin ötesindeki ek uzunluğunu belirtir.
* {{PropertyView | Dim Overshoot}}: boyut çizgisine eklenen ilave uzunluğu belirtir.
* {{PropertyView | Arrow Size}}: boyut çizgisinin sonunda görüntülenen sembolün boyutunu belirtir.
* {{PropertyView | Arrow Type}}: "Çizgi", "Daire", "Ok" veya "Tik" olabilen, boyut çizgisinin sonunda görüntülenen sembolün türünü belirtir.
* {{PropertyView | Flip Arrows}}: sembollerin boyut çizgisinin uçlarında çevrilip çevrilmeyeceğini belirtir; sadece bu semboller ok ise işe yarar.
* {{PropertyView | 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.
* {{PropertyView | 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.
* {{PropertyView | Flip Text}}: ölçümü gösteren metnin yönünün çevrilip çevrilmeyeceğini belirtir.
* {{PropertyView | 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.
* {{PropertyView | Text Spacing}}: Metin ve boyut çizgisi arasındaki boşluğu belirtir.
* {{PropertyView | 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 {{incode | $ dim}} dizesini kullanın.
* {{PropertyView | Decimals}}: ölçümde görüntülenecek ondalık basamak sayısını belirtir.
* {{PropertyView | Show Unit}}: {{TRUE}} ise, birim ölçümün sayısal değerinin yanında görüntülenir.
* {{PropertyView | 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. {{Version/tr | 0.17}}
</div>

{{TitleProperty|Text}}

* {{PropertyView|Flip Text|Bool}}: specifies whether to flip the orientation of the text.
* {{PropertyView|Font Name|Font}}: specifies the font used to draw the text. It can be a font name, such as {{value|Arial}}, a default style such as {{value|sans}}, {{value|serif}} or {{value|mono}}, a family such as {{value|Arial,Helvetica,sans}}, or a name with a style such as {{value|Arial:Bold}}. If the given font is not found on the system, a default font is used instead.
* {{PropertyView|Font Size|Length}}: specifies the size of the letters. The text can be invisible in the [[3D_view|3D view]] if this value is very small.
* {{PropertyView|Override|String}}: specifies a custom text to display instead of the actual measurement. Use the string {{value|$dim}} inside the text to include the measurement.
* {{PropertyView|Text Color|Color}}: specifies the color of the text. {{Version|0.21}}
* {{PropertyView|Text Position|VectorDistance}}: specifies the position of the text in absolute coordinates. {{Value|[0, 0, 0]}} will display the text in its default position near the dimension line or arc.
* {{PropertyView|Text Spacing|Length}}: specifies the space between the text and the dimension line or arc.

{{TitleProperty|Units}}

* {{PropertyView|Decimals|Integer}}: specifies the number of decimal places to display for the measurement.
* {{PropertyView|Show Unit|Bool}}: specifies whether to display the unit next to the numerical value of the measurement. Not used for angular dimensions.
* {{PropertyView|Unit Override|String}}: specifies the unit in which to express the measurement, for example, {{value|km}}, {{value|m}}, {{value|cm}}, {{value|mm}}, {{value|mi}}, {{value|ft}}, {{value|in}} or {{value|arch}} for arch units. Leave this blank to use the default unit. Not used for angular dimensions.

==Scripting==

<div class="mw-translate-fuzzy">
== Betik ==
{{Emphasis|Ayrıca bkz.:}} [[Draft API/tr|Taslak API]] ve [[FreeCAD Scripting Basics/tr|FreeCAD Betik esasları]].
</div>

<div class="mw-translate-fuzzy">
Boyut aracı, aşağıdaki işlevi kullanarak [[macros/tr|makrolar]] ve [[Python/tr|Python]] konsolundan kullanılabilir:
</div>
</div>


The Dimension tool can be used in [[macros]] and from the [[Python]] console by using the following function:
{{Code|code=
{{Code|code=
Dimension = makeDimension(p1, p2, p3=None, p4=None)}}
dimension = make_dimension(p1, p2, p3=None, p4=None)}}

There are various ways to invoke this function, depending on the arguments passed to it:
<div class="mw-translate-fuzzy">
Kendisine iletilen argümanlara bağlı olarak, bu işlevi çağırmanın çeşitli yolları vardır:
</div>

{{Code|code=
{{Code|code=
Dimension = makeDimension(p1, p2, p3=None)
dimension = make_dimension(p1, p2, p3=None)
Dimension = makeDimension(object, i1, i2, p4=None)
dimension = make_dimension(object, i1, i2, p4=None)
Dimension = makeDimension(object, i1, mode, p4=None)
dimension = make_dimension(object, i1, mode, p4=None)
}}
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
* {{incode | p1}} ve {{incode | p2}} noktaları arasındaki mesafeyi ölçerek doğrusal bir {{incode | Dimension}} oluşturur.
* Boyut çizgisi p3'ten geçen bir Boyut nesnesi oluşturur.
* {{incode | object}} 'a bağlı, {{incode | i1}} ve {{incode | i2}} endeksli köşeleri arasındaki mesafeyi ölçen doğrusal bir {{incode | Dimension}} oluşturur.
* Boyut nesnesi, [[Draft Linestyle/tr | Çizgi stili]] komut çubuğunda ayarlanmış.
* {{incode | object}} 'a bağlı, {{incode | i1}}, ölçülecek eğri kenarının dizini ve {{incode | mode}} ya { Boyut türünü belirtmek için {incode | "radius"}} veya {{incode | "çap"}}.
* Boyut oluşturmanın argümanlarına bağlı olarak boyut oluşturmanın birden fazla yolu vardır:
** İlk aramada {{incode | p3}} ve diğer ikisinde de {{incode | p4}}, boyut çizgisinin geçmesi gereken isteğe bağlı bir nokta belirtin.
# (p1, p2, p3): p1'den p2'ye standart bir boyut oluşturur.
** Tüm noktalar {{incode | FreeCAD.Vector}} ile tanımlanır.
# (object, i1, i2, p3): verilen nesneye bağlı bir boyut oluşturur, i1 ve i2 ile indekslenmiş köşeleri arasındaki mesafeyi ölçer.
</div>
# (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.

<div class="mw-translate-fuzzy">
Açısal bir boyut oluşturmak için aşağıdaki işlevi kullanın:
</div>
</div>


To create an angular dimension use the following function:
{{Code|code=
{{Code|code=
Dimension = makeAngularDimension(center, angles, p3, normal=None)
dimension = make_angular_dimension(center, angles, p3, normal=None)
Dimension = makeAngularDimension(center, [angle1, angle2], p3, normal=None)
dimension = make_angular_dimension(center, [angle1, angle2], p3, normal=None)
}}
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
* Verilen {{incode | center}} noktasından, iki öğeli {{incode | angles}} listesinden ve arkasından gelen {{incode | p3}} noktasından açısal bir {{incode | Dimension}} oluşturur. gitmelisin.
* Verilen merkezlerden, verilen açıların listesiyle p3'ten geçen bir açısal Boyut oluşturur.
** Eğer {{incode | angle1> angle2}} ise, görüntülenen açı {{incode | angle1 - angle2}} farkıdır; Aksi halde, ek açı gösterilir {{incode | 360 - (angle2 - angle1)}}.
* Yeni oluşturulan nesneyi döndürür.
** Açıları radyan cinsinden verilmelidir; {{incode | math.radians ()}} işlevi, derece olarak verilen açıları dönüştürmek için kullanılabilir.
</div>
</div>


<div class="mw-translate-fuzzy">
The view properties of {{incode|Dimension}} can be changed by overwriting its attributes; for example, overwrite {{incode|ViewObject.FontSize}} with the new size in millimeters.
{{incode | Dimension}} görünüm özellikleri niteliklerinin üzerine yazılarak değiştirilebilir; örneğin, {{incode | ViewObject.FontSize}} üzerine, yeni boyutun milimetre cinsinden üzerine yazın.
</div>


Örnek:
Örnek:

{{Code|code=
{{Code|code=
import math, FreeCAD, Draft
import FreeCAD as App
import Draft


doc = App.newDocument()
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


p1 = App.Vector(0, 0, 0)
Polygon = Draft.makePolygon(3, radius=1000)
p4 = FreeCAD.Vector(-2000, 1500, 0)
p2 = App.Vector(1000, 1000, 0)
p3 = App.Vector(-2500, 0, 0)
Dimension2 = Draft.makeDimension(Polygon, 1, 2, p4)
dimension1 = Draft.make_dimension(p1, p2, p3)
Dimension2.ViewObject.FontSize = 200
dimension1.ViewObject.FontSize = 200


polygon = Draft.make_polygon(3, radius=1000)
center = FreeCAD.Vector(2000, 0, 0)
doc.recompute()
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


p4 = App.Vector(-2000, 1500, 0)
Dimension4 = Draft.makeAngularDimension(center, [angle2, angle1], p5*1.2)
dimension2 = Draft.make_dimension(polygon, 1, 2, p4)
Dimension4.ViewObject.FontSize = 200
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()
}}
}}



<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Draft Tools navi/tr}}
==Linkler==
{{Userdocnavi/tr}}
* Kılavuz: [http://www.youtube.com/watch?v=nxNT0KychcY Projecting dimensions on a Drawing Page]
</div>
</div>


{{Draft Tools navi}}
{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 04:58, 9 January 2024

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()