|
Menu location |
---|
기술도면 → 기술도면 보기 → 보기 삽입 |
Workbenches |
기술도면 작업대 |
Default shortcut |
None |
Introduced in version |
- |
See also |
기술도면 투상 모둠, 기술도면 스프레드시트 보기, TechDraw ArchView, TechDraw Symbol, TechDraw Image |
기술도면 보기 도구는 하나 이상의 대상체의 재현을 도면 페이지에 추가합니다. 1.0 버전부터 도입: 투상 모둠 항목(단일 보기), 투상 모둠, 스프레드시트 보기, 아치 뷰, 기호 또는 이미지 보기. 를 생성할 수 있습니다.
0.21 and below에서는 도구가 부품 보기만 생성할 수 있으며 이는 투상 모둠 항목과 매우 유사합니다.
숨은 선이 있는 고체 상자의 보기(View)
페이지
, 자동
또는 사용자 지정
을 선택합니다. 마지막 옵션이 선택된 경우: 분자와 분모를 입력합니다.부품 보기(Part View) 작업 패널
See also: Property editor.
A Part View, formally a TechDraw::DrawViewPart
object, has the following properties:
Base
Distance
): The view's horizontal position on the page. (1)Distance
): The view's vertical position on the page. (1)Bool
): Prevents Views from being dragged in the Gui when true
. The View can still be moved by changing X,Y properties. (1)Angle
): Counterclockwise rotation of the View on the page in degrees. (1)Enumeration
): The scale type. Options: (1)
Page
: Use the Page's scale setting.Automatic
: Fit the view to the page.Custom
: Use the scale defined by 데이터Scale.FloatConstant
): The view will be rendered on the page in Scale:1 ratio to the Source. (1)String
): Optional short text caption. (1)Cosmetics
TechDraw::PropertyCosmeticVertexList
)TechDraw::PropertyCosmeticEdgeList
)TechDraw::PropertyCenterLineList
)TechDraw::PropertyGeomFormatList
)HLR Parameters
Bool
): If true
, TechDraw will use a polygon approximation to calculate drawing geometry. If false
, TechDraw will use a precision algorithm. CoarseView can be much faster for complex models. The quality of the drawing is reduced, since every curve is approximated as a series of short line segments. Vertices are not displayed in CoarseView since each short segment would result in two new Vertices and the display becomes cluttered. Linear Dimensions can be added to a CoarseView, but are unlikely to be useful.Bool
): Visible Smooth lines on/off.Bool
): Visible Seam lines on/off.Bool
): Visible Isometric(u,v) lines on/off.Bool
): Hidden lines on/off.Bool
): Hidden Smooth lines on/off.Bool
): Hidden Seam lines on/off.Bool
): Hidden Isometric(u,v) lines on/off.Integer
): Number of Isometric(u,v) lines to draw on each face.Integer
): The number of times FreeCAD should try to clean the HLR result. introduced in 0.21Projection
LinkList
): Links to the drawable objects to be depicted.XLinkList
): Links to the drawable objects in an external file.Vector
): This vector controls the direction from which you are viewing the object. +X is right, -X is left, +Y is rear, -Y is front (looking into the screen), +Z is up and -Z is down. So a Front view is (0,-1,0) and an isometric view is (1,-1,1).Vector
): This vector controls the rotation of the view around the Direction.Bool
): true
for perspective projection, false
for orthogonal projection.Distance
): Distance from camera to projection plane for perspective projections. Needs to be adjusted to fit the object. Too far and the perspective is lost, too close and the object is distorted.Base
Bool
): Always show view label if true
. (1)Integer
): Over or under lap relative to other views. (1) introduced in 0.21Broken View
Enumeration
): Set break line style if applicable. introduced in 1.0Enumeration
): Adjusts the type of break line depiction on broken views if applicable: None
, ZigZag
or Simple
. introduced in 1.0Decoration
Bool
): Circular arc center marks on/off.Float
): Circular arc center mark size adjustment, if enabled.Bool
): Show a horizontal centerline through the view.Bool
): Temporarily show invisible lines.Bool
): Show a vertical centerline through the view.Faces
Color
): Set color of faces. introduced in 1.0Percent
): Set transparency of faces. introduced in 1.0Highlight
Float
): Adjust the rotation of the Detail highlight if applicable.Color
): Set the highlight line color if applicable.Enumeration
): Set the highlight line style if applicable.Lines
Length
): Not implemented yet.Length
): The thickness of hidden lines, if enabled.Length
): The thickness of isometric(u,v) surface lines and Dimension lines.Length
): The thickness of visible lines. See Line Groups.Section Line
Bool
): Show/hide section cut line if applicable. introduced in 1.0Color
): Set the section line color if applicable.Bool
): Show/hide marks at direction changes for Complex Section if applicable. introduced in 0.21Enumeration
): Set the section line style if applicable.Bool
): Show/hide the section line if applicable.(1) these properties are common to all View types.
See also: Property editor.
A Projection Group Item, formally a TechDraw::DrawProjGroupItem
object, is derived from a Part View, formally a TechDraw::DrawViewPart
object, and inherits all its properties. It also has the following additional properties:
Base
Enumeration
): The view type (Front
, Left
, etc.).Vector
): Deprecated use 데이터XDirection instead.See TechDraw ArchView.
See TechDraw Symbol.
See TechDraw Image.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
A Part View can be created with macros and from the Python console by using the following functions:
import FreeCAD as App
doc = App.ActiveDocument
box = doc.addObject("Part::Box", "Box")
page = doc.addObject("TechDraw::DrawPage", "Page")
template = doc.addObject("TechDraw::DrawSVGTemplate", "Template")
template.Template = App.getResourceDir() + "Mod/TechDraw/Templates/A4_LandscapeTD.svg"
page.Template = template
# Toggle the visibility of the page to ensure its width and height are updated (hack):
page.Visibility = False
page.Visibility = True
view = doc.addObject("TechDraw::DrawViewPart", "View")
page.addView(view)
view.Source = [box]
view.Direction = (0, 0, 1)
view.X = page.PageWidth / 2
view.Y = page.PageHeight / 2
doc.recompute()