|
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 |
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
See also: Draft Tray, Draft Snap and Draft Constrain.
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 1.0).
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.
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:
Dimension
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
Vector
): specifies the direction of the measurement.Length
): (read-only) specifies the value of the measurement.VectorDistance
): specifies the end point of the measurement.VectorDistance
): specifies the start point of the measurement.Radial dimension
Bool
): specifies if a radial dimension is displayed as a diameter dimension. Not used for linear dimensions.Angular dimension
Angle
): (read-only) specifies the value of the measurement.VectorDistance
): specifies the center of the measurement.Angle
): specifies the start angle of the measurement.Angle
): specifies the end angle of the measurement.Dimension
VectorDistance
): specifies the point through which the dimension arc passes.LinkSubList
): not used.Vector
): specifies the normal of the plane of the dimension.Link
): not used.Annotation
Enumeration
): specifies the annotation style applied to the dimension. See Draft AnnotationStyleEditor.Float
): specifies the general scaling factor applied to the dimension.Display Options
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 Arrow Size: boyut çizgisinin sonunda görüntülenen sembolün boyutunu belirtir.
$ dim
dizesini kullanın.true
ise, birim ölçümün sayısal değerinin yanında görüntülenir.Text
Bool
): specifies whether to flip the orientation of the text.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.Length
): specifies the size of the letters. The text can be invisible in the 3D view if this value is very small.String
): specifies a custom text to display instead of the actual measurement. Use the string $dim
inside the text to include the measurement.Color
): specifies the color of the text. introduced in version 0.21VectorDistance
): 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.Length
): specifies the space between the text and the dimension line or arc.Units
Integer
): specifies the number of decimal places to display for the measurement.Bool
): specifies whether to display the unit next to the numerical value of the measurement. Not used for angular dimensions.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.Ayrıca bkz.: Taslak API ve FreeCAD Betik esasları.
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"
.
p3
ve diğer ikisinde de p4
, boyut çizgisinin geçmesi gereken isteğe bağlı bir nokta belirtin. 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)
center
noktasından, iki öğeli angles
listesinden ve arkasından gelen p3
noktasından açısal bir Dimension
oluşturur. gitmelisin.
angle1> angle2
ise, görüntülenen açı angle1 - angle2
farkıdır; Aksi halde, ek açı gösterilir 360 - (angle2 - angle1)
. 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()