Draft ShapeString/tr: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 4: | Line 4: | ||
|[[Draft_Facebinder|Facebinder]] |
|[[Draft_Facebinder|Facebinder]] |
||
|[[Draft_Text|Text]] |
|[[Draft_Text|Text]] |
||
|[[ |
|[[Draft_Workbench|Draft]] |
||
|IconL=Draft_Facebinder.svg |
|IconL=Draft_Facebinder.svg |
||
|IconR=Draft_Text.svg |
|IconR=Draft_Text.svg |
||
Line 89: | Line 89: | ||
== Özellikler == |
== Özellikler == |
||
See also: [[ |
See also: [[Property_editor|Property editor]]. |
||
A Draft ShapeString object is derived from a [[Part_Part2DObject|Part Part2DObject]] and inherits all its properties. It also has the following additional properties: |
A Draft ShapeString object is derived from a [[Part_Part2DObject|Part Part2DObject]] and inherits all its properties. It also has the following additional properties: |
Revision as of 19:41, 24 August 2021
Şekil dizesi |
Menü konumu |
---|
Taslak → Şekil dizesi |
Tezgahlar |
Taslak, Yapı |
Varsayılan kısayol |
S S |
Versiyonda tanıtıldı |
0.14 |
Ayrıca bkz |
Metin, Parça çıkarma, Macro Fonts Win10 PYMP |
Tanım
Şekil dizesi aracı, bir metin dizesini temsil eden bir bileşik şekil ekler. Metin yüksekliği, ara boşluk ve yazı tipi belirtilebilir. Ortaya çıkan şekil, 3D harfler oluşturmak için Parça çıkarma aracıyla kullanılabilir.
Kapalı bir şekil olmadan daha basit bir metin elemanı eklemek için Taslak Metin kullanın. Bir yönlendirici ve bir ok içeren bir metin etiketi oluşturmak için Taslak Etiket kullanın.
Şekil dizesini konumlandırmak için tek nokta gerekli
Nasıl Kullanılır
- There are several ways to invoke the command:
- Press the Draft ShapeString button.
- Select the Drafting → Shape from text option from the menu.
- Use the keyboard shortcut: S then S.
- The ShapeString task panel opens.
- Click a point in the 3D view, or type coordinates.
- Optionally press the Reset Point button to reset the point to the origin.
- Enter a String.
- Specify the Height.
- To select a font do one of the following:
- Enter a file path in the Font file input box.
- Press the ... button and select a file.
- Press the OK button to finish the command.
Seçenekler
- 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ı eklemek istediğiniz değerlere sahipseniz Nokta ekle düğmesine basabilirsiniz.
- Geçerli komutu iptal etmek için Esc veya Close düğmesine basınız.
Notes
Sınırlamalar
- Çok küçük metin yükseklikleri, ölçeklemede ayrıntı kaybı nedeniyle deforme karakter şekillerine neden olabilir.
- Mevcut sürüm, soldan sağa yazma ile sınırlıdır.
- Dairesel biçimde düzenlenmiş metin oluşturmak için Dairesel Metin makrosunu kullanın.
Kılavuzlar
- Taslak Şekil dizesi kılavuzu: Bir Şekil dizesi'i çıkarın, 3D alanda yerleştirin ve başka bir gövdede bir gravür oluşturun.
- Draft ShapeString tutorial: extrude a ShapeString, position it in 3D space, and create an engraving in another body.
- How to use ShapeStrings in PartDesign
Preferences
See also: Preferences Editor and Draft Preferences.
- The default font file can be changed in the preferences: Edit → Preferences... → Draft → Texts and dimensions → Default ShapeString font file. See Draft Preferences.
Özellikler
See also: Property editor.
A Draft ShapeString object is derived from a Part Part2DObject and inherits all its properties. It also has the following additional properties:
Data
Draft
- Veri Position: bileşik şeklin taban noktasının konumunu belirtir.
- Veri Angle: şeklin taban çizgisinin dönüşünü belirtir.
- Veri Axis: döndürme için kullanılacak ekseni belirtir.
- Veri String: görüntülenecek metin dizesini belirtir; Taslak Metin aracından farklı olarak, Taslak Şekil dizesi yalnızca tek bir satır görüntüleyebilir.
- Veri Size: harflerin genel yüksekliğini belirtir.
- Veri Tracking: dizedeki karakterler arası ek boşluğu belirtir.
- Veri Font File: dizeyi çizmek için kullanılan font dosyasının tam yolunu belirtir.
View
Draft
- GörünümPattern (
Enumeration
): specifies the Draft Pattern with which to fill the faces of the text. This property only works if GörünümDisplay Mode isFlat Lines
. - GörünümPattern Size (
Float
): specifies the size of the Draft Pattern.
Scripting
Betik
Ayrıca bkz.: Taslak API ve FreeCAD Betik esasları.
shapestring = make_shapestring(String, FontFile, Size=100, Tracking=0)
- Belirtilen
String
ve desteklenen birFontFile
tam yolunu kullanarak birShapeString
bileşik şekli oluşturur. Size
sonuçta elde edilen metnin milimetre cinsinden yüksekliğidir.Tracking
milimetre cinsinden karakterler arası ek boşluktır.
Şekil dizesi'in yerleşimi, Placement
özniteliğinin üzerine yazarak veya Placement.Base
ve Placement.Rotation
özniteliklerinin üzerine yazılarak değiştirilebilir.
Örnek:
import FreeCAD as App
import Draft
doc = App.newDocument()
font1 = "/usr/share/fonts/truetype/msttcorefonts/Arial.ttf"
font2 = "/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf"
font3 = "/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf"
S1 = Draft.make_shapestring("This is a sample text", font1, 200)
S2 = Draft.make_shapestring("Inclined text", font2, 200, 10)
zaxis = App.Vector(0, 0, 1)
p2 = App.Vector(-1000, 500, 0)
place2 = App.Placement(p2, App.Rotation(zaxis, 45))
S2.Placement = place2
S3 = Draft.make_shapestring("Upside-down text", font3, 200, 10)
S3.Placement.Base = App.Vector(0, -1000, 0)
S3.Placement.Rotation = App.Rotation(zaxis, 180)
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, Surface, TechDraw, Test Framework
- 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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub