TechDraw GeometricHatch/ru: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 44: | Line 44: | ||
==Примечания== |
==Примечания== |
||
* For a solid color fill use [[TechDraw_Hatch|TechDraw Hatch]] instead and select {{FileName|solid.svg}} as the '''Pattern File'''. |
|||
* Hatching objects are vulnerable to the "[[Topological_naming_problem|topological naming problem]]". See [[TechDraw_LengthDimension|TechDraw LengthDimension]] for more information. It is recommended that hatching be one of the last steps in your drawing process. |
* Hatching objects are vulnerable to the "[[Topological_naming_problem|topological naming problem]]". See [[TechDraw_LengthDimension|TechDraw LengthDimension]] for more information. It is recommended that hatching be one of the last steps in your drawing process. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
$INSTALL_DIR/data/Mod/TechDraw/PAT/FCPAT.pat |
$INSTALL_DIR/data/Mod/TechDraw/PAT/FCPAT.pat |
||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
/usr/share/freecad/data/Mod/TechDraw/PAT/FCPAT.pat |
/usr/share/freecad/data/Mod/TechDraw/PAT/FCPAT.pat |
||
}} |
}} |
Latest revision as of 07:58, 1 August 2023
Применить геометрическую штриховку к грани |
Системное название |
---|
TechDraw_GeometricHatch |
Расположение в меню |
TechDraw → Применить геометрическую штриховку к грани |
Верстаки |
TechDraw |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Штриховать грань, используя файл изображения, Штриховка |
Описание
Инструмент GeometricHatch заполняет замкнутый регион внутри вида шаблоном, базирующимся на спецификации AutoDesk PAT hatching. В качестве альтернативы, инструмент Hatch использует качестве рисунка штриховки файл в формате SVG или растровый, подробности см. в Hatching.
Геометрический узор штриховки на грани
Применение
- Select a closed region in a View.
- There are several ways to invoke the tool:
- Press the TechDraw GeometricHatch button.
- Select the TechDraw → Hatching → Apply Geometric Hatch to Face option from the menu.
- The Apply Geometric Hatch to Face task panel opens.
- Optionally change the Pattern File, the Pattern Name, the Pattern Scale, the Line Weight and the Line Color.
- Press the OK button.
Примечания
- For a solid color fill use TechDraw Hatch instead and select solid.svg as the Pattern File.
- Hatching objects are vulnerable to the "topological naming problem". See TechDraw LengthDimension for more information. It is recommended that hatching be one of the last steps in your drawing process.
- A small set of sample patterns are available in:
$INSTALL_DIR/data/Mod/TechDraw/PAT/FCPAT.pat
- Where
$INSTALL_DIR
is the directory where FreeCAD was installed, for example: /usr/share/freecad/data/Mod/TechDraw/PAT/FCPAT.pat
Свойства
- ДанныеSource: The View and Face to receive the hatch pattern.
- ДанныеFile Pattern: The location of the PAT file to use.
- ДанныеName Pattern: The name of the PAT specification within File Pattern.
- ДанныеScale Pattern: The scale to be applied to the pattern (must be > 0.0).
- ВидWeight Pattern: The thickness of the pattern lines.
- ВидColor Pattern: The color for the pattern lines.
Программирование
См. так же: TechDraw API и Основы составления скриптов FreeCAD.
A GeometricHatch can be created with macros and from the Python console by using the following functions:
hatch = FreeCAD.ActiveDocument.addObject("TechDraw::DrawGeomHatch", "GeomHatch")
hatch.Source = (view1, ["Face0"])
hatch.FilePattern = "path/to/myPATfile.pat"
hatch.NamePattern = "Diamond"
page.addView(hatch)
It is also possible to use TechDraw's geometric hatch engine to produce a compound object in the 3D space. One must take care that the base face lies on the XY plane, as the algorithm is not tailored yet for other cases:
import TechDraw
face = Part.makePlane(10, 10)
patfile = "path/to/myPATfile.pat"
pattern = "Diamond"
scale = 10
hatch = TechDraw.makeGeomHatch(face, scale, pattern, patfile)
Part.show(hatch)
TechDraw
- Pages: Insert Default Page, Insert Page using Template, Redraw Page, Print All Pages
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Complex Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View, Insert Clip Group, Share View, Project Shape
- Stacking: Move view to top of stack, Move view to bottom of stack, Move view up one level, Move view down one level
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Dimensions: Insert Length Dimension, Insert Horizontal Dimension, Insert Vertical Dimension, Insert Radius Dimension, Insert Diameter Dimension, Insert Angle Dimension, Insert 3-Point Angle Dimension, Insert Horizontal Extent Dimension, Insert Vertical Extent Dimension, Link Dimension to 3D Geometry, Insert Balloon Annotation, Insert Axonometric Length Dimension, Insert Landmark Dimension, Adjust Geometric References of Dimension
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Faces, Add Centerline between 2 Lines, Add Centerline between 2 Points, Add Cosmetic Line Through 2 points, Add Cosmetic Circle, Change Appearance of Lines, Show/Hide Invisible Edges, Add Welding Information to Leader, Add Surface Finish Symbol, Add Hole or Shaft Tolerances
- Extensions:
- Attributes and modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Lock/Unlock View, Position Section View, Position Horizontal Chain Dimensions, Position Vertical Chain Dimensions, Position Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Calculate the area of selected faces, Calculate the arc length of selected edges, Customize format label
- Centerlines and threading: Add Circle Centerlines, Add Bolt Circle Centerlines, Add Cosmetic Thread Hole Side View, Add Cosmetic Thread Hole Bottom View, Add Cosmetic Thread Bolt Side View, Add Cosmetic Thread Bolt Bottom View, Add Cosmetic Intersection Vertex(es), Add an offset vertex, Add Cosmetic Circle, Add Cosmetic Arc, Add Cosmetic Circle 3 Points, Add Cosmetic Parallel Line, Add Cosmetic Perpendicular Line
- Dimensions: Create Horizontal Chain Dimensions, Create Vertical Chain Dimensions, Create Oblique Chain Dimensions, Create Horizontal Coordinate Dimensions, Create Vertical Coordinate Dimensions, Create Oblique Coordinate Dimensions, Create Horizontal Chamfer Dimension, Create Vertical Chamfer Dimension, Create Arc Length Dimension, Insert '⌀' Prefix, Insert '〼' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Export: Export Page as SVG, Export Page as DXF
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
Документация пользователя
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework