Sketcher Workbench를 사용하면 다른 작업대에서 사용할 2D 스케치를 만들 수 있습니다. 2D 스케치는 많은 CAD 모델의 출발점입니다. 일반적으로 3D 형상을 만드는 작업의 프로파일과 경로를 정의합니다. 모델의 최종 형상을 위해 여러 스케치가 필요할 수 있습니다.
부품 작업대(Part Workbench)에서 정의된 불리언 연산과 함께 Sketcher Workbench, 줄여서 "스케처(Sketcher)"는 솔리드를 만드는 구성적 솔리드 기하학(constructive solid geometry) (CSG) 방법의 기초를 형성합니다.
부품설계 작업대(PartDesign Workbench) 작업과 함께 솔리드를 만드는 피처 편집(feature editing) 방법론의 기초도 형성합니다. 하지만 다른 많은 작업대에서도 스케치를 사용합니다.
Sketcher 작업대는 구속 조건(Constraints) 기능을 갖추고 있어 2D 형상이 길이, 각도 및 관계(수평, 수직, 수직도 등)에 대한 정밀한 기하학적 정의를 따르도록 합니다. 구속 조건 솔버는 2D 기하학의 구속된 범위를 계산하고 스케치의 자유도를 대화식으로 탐색할 수 있게 합니다.
스케처(Sketcher)는 2D 청사진을 만드는 용도로는 적합하지 않습니다. 스케치를 사용하여 솔리드 피처를 생성하면 스케치는 자동으로 숨겨지며 구속 조건은 스케치 편집 모드에서만 표시됩니다. 인쇄용 2D 뷰만 만들고 3D 모델을 만들 필요가 없다면 제도 작업대(Draft Workbench)를 참조하세요.
완전히 구속된 스케치
구속 조건은 객체의 자유도를 제한하는 데 사용됩니다. 예를 들어 구속 조건이 없는 선은 4개의 자유도("DoF(Degrees of Freedom)"로 약칭)를 가집니다: 수평 또는 수직으로 이동할 수 있고, 늘릴 수 있으며, 회전할 수 있습니다.
수평 또는 수직 구속 조건이나 각도 구속 조건(다른 선 또는 축 중 하나에 대한 상대적)을 적용하면 회전 능력이 제한되어 3개의 자유도가 남습니다. 원점에 대해 점 중 하나를 고정하면 2개의 자유도가 더 제거됩니다. 그리고 거리 치수를 적용하면 마지막 자유도가 제거됩니다. 그러면 선은 완전히 구속됨(fully constrained)으로 간주됩니다.
객체는 서로에 대해 구속될 수 있습니다. 두 선은 일치 구속 조건을 통해 점 중 하나로 결합될 수 있습니다. 두 선 사이에 각도를 설정하거나 수직으로 설정할 수 있습니다. 선은 호나 원에 접할 수 있으며, 그 외에도 다양한 구속이 가능합니다. 스케치는 여러 가지 해를 가질 수 있으며, 완전히 구속됨(fully constrained)으로 만드는 것은 적용된 구속 조건을 기반으로 가능한 해 중 하나에 도달했음을 의미할 수 있습니다. 참고: 뒤집기(Flipping).
구속 조건에는 두 가지 종류가 있습니다: 기하학적 구속 조건과 치수 구속 조건. 자세한 내용은 아래 도구(Tools) 섹션을 참조하세요.
introduced in 1.1: The label of dimensional constraints in the sketch identifies their state: reference dimensions are enclosed in parentheses, dimensions controlled by an expression have a (ƒ𝑥) suffix, and deactivated dimensions are struck through.
구동 치수 구속 조건(driving dimensional constraint)이 생성될 때 Ask for value after creating a dimensional constraint 환경 설정이 선택된 경우(기본값), 값을 편집하는 대화 상자가 열립니다.
수치 값 또는 표현식(expression)을 입력할 수 있으며, 다른 표현식에서의 사용을 용이하게 하기 위해 구속 조건에 이름을 지정할 수 있습니다. 또한 Reference 체크박스를 선택하여 구속 조건을 참조 모드(reference mode)로 전환할 수 있습니다.
introduced in 26.3: When a dimensional constraint whose value is controlled by an expression, is hovered in the sketch or the Constraints section of the Sketcher Dialog, and no sketcher tool is active, a tooltip displays that expression.
기존 치수 구속 조건의 값을 편집하려면 다음 중 하나를 수행합니다:
치수 구속 조건은 드래그하여 3D 뷰(3D View)에서 위치를 변경할 수 있습니다. 구속 조건 값 위에서 마우스 왼쪽 버튼을 누른 채로 마우스를 이동합니다. 기하학적 구속 조건의 기호는 자동으로 위치가 지정되며 이동할 수 없습니다.
Dimension and constraint tools running in Continue Mode can directly reference edges and vertices outside the sketch. If not yet available, projected external geometry is created automatically, and this is used as the dimension or constraint operand. The external geometry is created as construction geometry. The referenced object(s) must belong to the same geometric parent (for example the same Std Part or PartDesign Body) as the sketch, or sketch and object(s) must all be in the global space.
When a sketch has only one dimension that defines its scale, entering a new numerical value for that dimension can scale the entire sketch about its origin. This preserves the overall proportions when you first size a roughly drawn sketch. For example, changing a rectangle's only length dimension from 10 mm to 20 mm doubles both its width and height. Angle constraints do not count as scale-defining dimensions. The view is adjusted along with the geometry, so the sketch can appear to keep the same size on screen. The Scale upon first constraint preference controls this behavior.
솔리드 생성을 위한 프로파일로 사용할 수 있는 스케치를 만들려면 다음 규칙을 따라야 합니다:
유효하지 않은 스케치:
1. 열린 윤곽선 (스케치 유효성 검사(Validate Sketch) 도구로 강조 표시된 자유 끝점)
2. 교차하는 윤곽선
3. 중복 모서리 (스케치 유효성 검사(Validate Sketch) 도구로 강조 표시된 겹치는 모서리의 끝점)
4. T자형 연결
이 규칙은 편집 모드 외부에서는 표시되지 않는 구성 기하학(기본 색상 파란색)에는 적용되지 않으며, 스케치가 다른 용도로 사용되는 경우에도 적용되지 않습니다. 프로파일 스케치를 사용할 작업대와 도구에 따라 추가적인 제한이 적용될 수 있습니다.
If the 데이터Make Internals property of a sketch is set to true internal faces are generated based on the edges in the sketch. These faces can be selected as closed profiles for operations. Intersecting contours and T-connections are allowed, they just result in additional faces.
스케처(Sketcher) 작업대 도구는 Sketch 메뉴 및/또는 여러 툴바에 있습니다. 거의 모든 스케처(Sketcher) 툴바는 스케치가 편집 모드일 때만 표시됩니다. 유일한 예외는 스케처 툴바(Sketcher toolbar)로, 스케치가 편집 모드가 아닐 때만 표시됩니다.
일부 도구는 스케치가 편집 모드일 때 3D 뷰(3D View) 컨텍스트 메뉴나 스케처 대화 상자(Sketcher Dialog)의 컨텍스트 메뉴에서도 사용할 수 있습니다.
스케치가 편집 모드일 때는 Structure 툴바의 도구를 사용할 수 없으므로 Structure 툴바가 숨겨집니다.
다음은 객체를 만드는 도구들입니다.
아래는 구속을 생성하기 위한 도구입니다. 일부 구속에는 도우미 구속을 사용해야 합니다.
스케치 작업대에는 기하 요소를 생성하고 구속을 적용할 때 도움이 될 수 있는 여러 가지 그리기 보조 도구와 기타 기능이 있습니다.
두 가지 계속 모드가 있습니다: 도형 생성 "계속 모드" 와 구속 생성 "계속 모드". 환경설정에서 이를 선택하면(기본 설정됨) 관련 도구가 생성 완료 후 다시 시작됩니다. 계속되는 도구를 종료하려면 Esc 또는 마우스 오른쪽 버튼을 누르세요. 계속되는 도형 생성 도구가 이미 치수 입력을 받는 상태라면 이 작업을 반복해야 합니다. 다른 도형 또는 구속 생성 도구를 시작하여 계속 모드를 종료할 수도 있습니다. 도구가 활성화되지 않은 경우 Esc를 누르면 스케치 편집 모드가 종료됩니다. 실수로 Esc를 너무 많이 누르는 경우가 많다면 Esc로 스케치 편집 모드를 나갈 수 있음 설정을 선택 취소하세요.
자동 구속이 설정된(기본 설정됨) 스케치에서는 몇 가지 구속이 자동으로 적용됩니다.제안된 자동 구속의 아이콘은 올바르게 배치되면 커서 옆에 표시됩니다. 이 때 마우스 왼쪽 단추를 누르면 해당 구속이 적용됩니다. 이는 스케치 대화상자에서 변경하거나 스케치의 보기자동구속 속성에서 변경할 수 있는 각각의 스케치별 설정입니다.
There is a fine-tuning parameter to control the auto constraint delay when dragging geometry.
To create auto constraints along extended arcs circular helpers can be shown.
Lines are automatically extended with helper lines if the cursor is positioned correctly. This allows creating point-on-object auto constraints along the line.
Using a directional helper line to create a perpendicular auto constraint
If the Show directional autoconstraint helpers preference is selected (default), tangential, or perpendicular and parallel helper lines referencing a target edge can be shown while using the Polyline tool (only when creating line segments) and
Line tool.
Note that straight target edges that are horizontal or vertical are ignored.
스케치에서 그리려는 도형을 격자선과 격자 교차점, 형상의 모서리, 선과 호의 중간점, 특정 각도에 포착하는 것이 가능합니다. 포착 자체로는 구속이 생성되지 않는다는 점을 유의하세요. 예를 들어, 자동 구속이 켜져 있는 경우에만 모서리에 포착하면 선 위의 점 구속이 생성됩니다. 모서의 한 점을 선택해도 동일한 결과를 얻을 수 있습니다.
기본 설정에서 선택한 옵션에 따라 스케치에서 즉석 입력 가능한 치수 매개변수만 활성화하거나 치수 및 위치 매개변수를 모두 활성화할 수 있습니다. 위치 매개변수를 사용하면 원의 중심이나 선의 시작점 등 정확한 좌표를 도형을 그릴 때 바로 입력할 수 있고, 치수 매개변수를 사용하면 원의 반지름, 선의 길이 및 각도 등 정확한 치수를 입력할 수 있습니다. 즉석 매개변수는 모든 도형 생성 도구에 대해서 가능하지는 않습니다.(예를 들면 꺾은선(Polyline) )
위치 매개변수가 활성화로 원의 중심점 결정하기
치수 매개변수 활성화로 원의 반지름 결정하기
값을 입력하고 Enter 또는 Tab을 눌러 확인하면 관련 구속이 자동으로 추가됩니다. 두 개의 매개변수(예: 점의 X 및 Y 좌표)가 동시에 표시되는 경우 한 값을 입력하고 점을 선택하여 다른 값을 정의할 수 있습니다. 객체에 따라 완전히 구속하려면 추가 구속이 필요할 수 있습니다. 즉석 매개변수로 인한 구속은 자동 구속으로 인해 발생할 수 있는 구속보다 우선합니다.
introduced in 26.3 If an OVP input has the focus you can hold down Alt to send key strokes to the 3D View instead.
모든 즉석 매개변수를 입력하여 생성된 호와 그 결과 자동으로 생성된 구속들
편집 중일 때 커서 옆에 좌표를 표시 기본 설정가 선택된 경우(기본값), 현재 도형 생성 도구의 매개변수(좌표, 반지름, 길이 및 각도)가 커서 옆에 표시됩니다. 이것은 즉석 매개변수가 표시되는 동안에는 비활성화됩니다.
스케치가 편집 모드에 있는 동안 다음 선택 방법을 사용할 수 있습니다:
FreeCAD의 다른 곳과 마찬가지로, 한 번의 마우스 왼쪽 클릭으로 3D 보기에서 요소를 선택할 수 있습니다. 그러나 여러 요소를 선택할 때 Ctrl 키를 누르고 있을 필요는 없습니다. 하지만 해당 키를 누르고 있는 것이 가능하며 선택 항목을 잃지 않고 클릭을 놓칠 수 있다는 이점이 있습니다. 모서리, 점 및 구속들을 같은 방식으로 선택할 수 있습니다.
3D 보기의 박스 선택은 표준 박스 선택 또는 표준 박스요소 선택을 사용하지 않고도 작동합니다:
모서리와 점을 박스 선택할 수 있지만 구속은 박스 선택할 수 없습니다.
3D 보기에서 모서리를 두 번 클릭하면 끝점을 통해 해당 모서리와 직접 및 간접적으로 연결된 모든 모서리가 한번에 선택됩니다. 동일 구속을 사용하여 모서리를 연결할 필요가 없으며 끝점에는 동일한 좌표만 있으면 됩니다.
모서리와 점은 스케치 대화상자의 요소 부문에서 선택할 수도 있고 대화상자의 구속 부문에서는 구속을 선택할 수 있습니다.
To select everything within a sketch, use the standard keyboard shortcut Ctrl+A or the Edit → Select All option from the menu.
introduced in 1.1: To drag several elements together, select them using any selection method, hold down the left mouse button over one of the selected elements, move the mouse, then release the button to finish the drag. Existing constraints remain in effect and can limit or prevent the movement. Fully constrained geometry cannot be dragged. Any selected external geometry is excluded from the drag.
선택한 스케치의 도형과 관련된 구속들을 복사하고, 잘라내고, 붙여넣는 데 표준 키보드 단축키, Ctrl+C, Ctrl+X 및 Ctrl+V 를 사용할 수 있습니다. 이러한 도구는 Sketch → Sketcher tools 메뉴에서도 사용할 수도 있습니다. 동일한 스케치 내에서 사용할 수 있지만 다른 스케치나 FreeCAD의 별도 인스턴스 간에도 사용할 수 있습니다. 데이터는 Python 코드 형태로 오림판에 복사되므로 다른 방법으로도 사용할 수 있습니다(예: 포럼에 공유).
Geometry created by External Projection and External Intersection can be used with Offset, Move / Array Transform, Rotate / Polar Transform, Scale and Mirror. Both external construction geometry and external defining geometry are accepted.
If the operation changes or removes the original geometry, its external reference is removed from the sketch. Removing a face reference removes all external edges created from that face. The source object remains unchanged. To retain a reference alongside the result, use a tool option that keeps the originals.
모든 CAD 사용자는 시간이 지남에 따라 자신만의 작업 방식을 개발하지만 따라야 할 몇 가지 유용한 일반 원칙이 있습니다.
The phenomenon that a fully constrained sketch, usually after a major change to one of its dimensions, reaches an unintended new state is known as "flipping". In the example below, changing one dimension completely changes the shape of the sketch. Note that the sketch with the new shape is still fully constrained.
Original sketch (left), and the same sketch after increasing the 20mm value to 1000mm (right)
This is not always practical, but changing dimension values in smaller increments can work.
The LevenbergMarquardt solver, which is not the default solver, is known to be less prone to flipping. See Sketcher Dialog for more information.
Using horizontal and vertical dimensions instead of distance dimensions or equal constraints can prevent flipping. Points constrained by these dimensions will only switch places if the sign of their value is changed. In the image above the added (orange) dimensional constraints are linked to the original dimensions via expressions.
Using angle dimensions instead of horizontal and vertical constraints can also work. The angle between edges constrained by angle dimensions will not change. 180° will not become 0°, 90° will not become 270°, etc. In the image all horizontal and vertical constraints have been replaced, but just replacing two is already effective here.
Sketcher 강의 by chrisb. 스케치에 대한 자세한 매뉴얼 역할을 하는 80쪽이 넘는 PDF 문서입니다. 스케치의 기본 사항을 설명하고 기하학적 모양 생성 및 각각의 구속에 대해 자세히 설명합니다.
스케치 스크립팅 페이지에는 Python 스크립트에서 구속을 생성하는 방법에 대한 예가 포함되어 있습니다.
스케치 도구를 사용하여 얻을 수 있는 작업에 대한 아이디어를 보려면 스케치 예제를 참조하세요.