Taslak Metin
Metin |
Menü konumu |
---|
Taslak → Metin |
Tezgahlar |
Taslak, Mimari |
Varsayılan kısayol |
T E |
Versiyonda tanıtıldı |
- |
Ayrıca bkz |
Etiket, Şekil dizesi |
Description
Açıklama
Metin aracı, geçerli belgede belirli bir noktaya bir metin parçası ekler. Taslak araç çubuğunda Çizgi stili setini kullanır.
Bir başlık ve ok içeren bir metin etiketi oluşturmak için Etiket öğesini kullanın. Düz metin veya 3D harfler oluşturmak için Şekil dizesi ile Parça Çıkar kullanın.
Usage
See also: Draft Tray and Draft Snap.
Nasıl kullanılır
- Metin düğmesine basın veya T ardından E tuşları.
- 3D görünümünde bir noktaya tıklayın veya bir koordinat yazın ve Nokta ekle düğmesine basın.
- İstediğiniz metni girin, her satırda Enter tuşuna basın.
- İşlemi tamamlamak için Enter tuşuna iki kez basın.
Seçenekler
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).
- 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.
- Metni yerleştirirken, Yakalama noktanızı mesafeden bağımsız olarak en yakın çıtçıt konumuna zorlamak için Ctrl tuşunu basılı tutun.
- Yeni bir metin satırı girmek için Enter veya ↓ Down arrow tuşuna basınız.
- Önceki metin satırını düzenlemek için ↑ Yukarı ok tuşuna basınız.
- Metni düzenlemeyi bitirmek için Enter veya ↓ Aşağı ok tuşuna iki kez basın.
- Geçerli komutu iptal etmek için Esc veya Close düğmesine basınız.
Notes
- A Draft Text can be edited by double-clicking it in the Tree view. introduced in version 0.20
- Draft Texts created or saved with FreeCAD version 0.21 are not backward compatible.
Özellikler
See also: Property editor.
A Draft Text object is derived from an App FeaturePython object and inherits all its properties. The following properties are additional unless otherwise stated.
Data
Base
Veri
- VERİText: Metin bloğunun içeriğini dizelerin bir listesi olarak belirtir; listedeki her öğe, virgülle ayrılmış olarak, yeni bir satır belirtir.
- VERİPosition: metin bloğunun ilk satırının taban noktasını belirtir.
- VERİAngle: metin bloğunun ilk satırının taban çizgisinin dönüşünü belirtir.
- VERİAxis: döndürme için kullanılacak ekseni belirtir.
View
Annotation
- GörünümAnnotation Style (
Enumeration
): specifies the annotation style applied to the text. See Draft AnnotationStyleEditor. - GörünümScale Multiplier (
Float
): specifies the general scaling factor applied to the text.
Display Options
- GörünümDisplay Mode (
Enumeration
): specifies how the text is displayed. If it isWorld
the text will be displayed on a plane defined by its VeriPlacement. If it isScreen
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ümLine Color (
Color
): not used. - GörünümLine Width (
Float
): not used.
Text
Görünüm
- GÖRÜNÜMDisplay Mode: "3D metin" ise, metin başlangıçta XY düzleminde olacak şekilde sahne eksenlerine hizalanır; "2D metin" ise, metin her zaman kameraya dönük olacaktır.
- GÖRÜNÜMFont 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ÜMFont Size: harflerin boyutunu belirtir. Metin nesnesi ağaç görünümünde oluşturulmuşsa, ancak hiçbir metin görünmüyorsa, görünene kadar metnin boyutunu artırın.
- GÖRÜNÜMJustification: metnin sola, sağa veya taban noktasının ortasına hizalanıp hizalanmayacağını belirtir.
- GÖRÜNÜMLine Spacing: metnin satırları arasındaki boşluğu belirtir.
Scripting
Betik
Ayrıca bkz.: Taslak API ve FreeCAD Betik esasları.
text = make_text(string, placement=None, screen=False)
- Bir
Text
nesnesini, birFreeCAD.Vector
ile tanımlanmış birpoint
nesnesinde oluşturur. stringlist
bir dizedir veya bir dize listesidir; eğer bir liste ise, her eleman kendi satırında görüntülenir.screen
True
ise, metin her zaman kamera görüntüleme yönüne bakar, aksi takdirde sahne eksenleriyle aynı hizada olur ve XY düzleminde uzanır.
Text
'in 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()
t1 = "This is a sample text"
p1 = App.Vector(0, 0, 0)
t2 = ["First line", "second line"]
p2 = App.Vector(1000, 1000, 0)
text1 = Draft.make_text(t1, p1)
text2 = Draft.make_text(t2, p2)
text1.ViewObject.FontSize = 200
text2.ViewObject.FontSize = 200
zaxis = App.Vector(0, 0, 1)
t3 = ["Upside", "down"]
p3 = App.Vector(-1000, -500, 0)
place3 = App.Placement(p3, App.Rotation(zaxis, 180))
text3 = Draft.make_text(t3, place3)
text3.ViewObject.FontSize = 200
doc.recompute()
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub