Rysunek Techniczny: Wstaw obiekt środowiska Rysunek Roboczy

From FreeCAD Documentation
Revision as of 17:24, 18 July 2023 by Kaktus (talk | contribs)

Rysunek Techniczny: Wstaw obiekt środowiska Rysunek Roboczy

Lokalizacja w menu
Rysunek Techniczny → Wstaw obiekt środowiska Rysunek Roboczy
Środowisko pracy
Rysunek Techniczny, Rysunek Roboczy
Domyślny skrót
brak
Wprowadzono w wersji
-
Zobacz także
Wstaw obiekt środowiska Architektura

Opis

Narzędzie Wstaw obiekt środowiska Rysunek Roboczy wstawia widok wybranego obiektu opartego na obiekcie Część lub grupy do strony rysunku. W przeciwieństwie do standardowego widoku, widoki utworzone za pomocą tego narzędzia są obsługiwane przez środowisko Rysunek Roboczy i specjalnie zaprojektowane do wyświetlania obiektów 2D. Zobacz uwagi.

Elementy szkicu, takie jak okręgi i szyki, importowane do strony Rysunku Technicznego.

Użycie

  1. Wybierz obiekt szkicu w widoku 3D lub w drzewie.
  2. Jeśli w dokumencie znajduje się wiele stron rysunku, należy wybrać żądaną stronę w drzewie.
  3. Naciśnij przycisk Wstaw obiekt środowiska Rysunek Roboczy.
  4. Na stronie pojawi się widok szkicu obiektu.

Opcje

  • Creating a DraftView of a layer will recursively handle all objects found in that layer. The View is updated automatically when the contents of the layer changes
  • There is no hidden line removal. Each face found in the handled object(s) will simply be projected along the Direction vector, no specific action is taken when faces overlap
  • The Draft View also supports all Draft objects that are not Part-based, such as dimensions and texts
  • Color, line width and line pattern can be specified in the properties. Line patterns can be fine-tuned by directly giving a stroke-dasharray value, such as 3,5
  • Projected faces are filled with the face color

Properties

See also TechDraw View.

Data

Draft view

  • DANESource (Link): The Draft object to be displayed.
  • DANELine Width (Float): The width of the lines, independently of the scale.
  • DANEFont Size (Float): The size of all texts appearing in this view (texts and dimensions).
  • DANEDirection (Vector): The projection direction to use.
  • DANEColor (Color): The color of lines.
  • DANELine Style (String): A line style to use for this view. Can be Solid, Dashed, Dashdot, Dot or an SVG line pattern like 0.20,0.20.
  • DANELine Spacing (Float): The spacing to use between lines of texts for multiline texts.
  • DANEOverride Style (Bool): If true, line color, width and style of this view will override those of the rendered object.

Notes

The DraftView is rendered within the Draft Workbench, therefore TechDraw has limited control over its appearance. You may need to make changes within Draft to get the representation you want.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

The New Draft tool can be used in macros and from the Python console by using the following functions:

dv = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewDraft','TestDraft')
dv.Source = myDraftbject
rc = page.addView(dv)