Catia V5 4us

CAA 다쏘 교육내용 정리 중

한스 2007. 6. 16. 22:13

Dialog Design Stpes


P156



P155

GSMTool Features
  • GSMTool feature 는 wireframe 혹은 surface feature의 aggregates다
  • Geometrical Set 과 Ordered Geometrical Set 두 가지 종류가있다.

P154

HybridBody Features
  • HybridBody Features는 solid, surface, wireframe feature를 포함하며 hybrid design을 단순화 한다.

P153

What is a Tool?
  • Tool은 aggregating Feature로 3가지가 있다.
    • HybridBody
    • GSMTool
    • Sketch
  • 여러 툴이 하나의 part에 붙을수 있으나 단 하나만 한번에 activate 될 수 있다
  • MechanicalPart Feature 위에 CATIPrtPart Interface의 SetCurrentFeature() Method를 이용하여 active feature를 변경한다.

P152

MechanicalPart Features
  • CATPart Document의 최상위 수준의 Feature
  • 모든 다른 mechanical feature들이 직접 간접적으로 연결된다.
  • Unique하다
  • CATIPartRequest Interface로 MechanicalPart의 모든 Mechanical Body들을 검색한다

P151

MechanicalRoot Features
  • Mechanical Featuresms "Root" Feature에 aggregate되어 있다.


P148

Main Mechanical Modeler Feature Categories
  • MechanicalRoot 
    • Feature aggregating other Features
  • GeometricalElement 
    • Feature generating a topological body as a result (Line, Pad .....)
  • GeometiricalSubElement 
    • Feature accessing in a stable way to a sub-element of the result of a Geometrical Element.
  • Constraint 
    • Feature defining constraints between features

P146~147

The CATPart Document Structure

P144~145

The CATPart Document Access
  •  CATDocumentServices global methods
    • Save
    • SaveAs
    • Open
    • New
    • NewFrom
    • Remove

CATDocument* pDocument = NULL;

rc = CATDocumentServices::New("Part", pDocument);

if (FAILED(rc) || (NULL == pDocument))

{

cout << "Error .... " << endl;

return 1;

}

else cout << "--> OK" << endl;


  • 모든 Method들은 visualization이 필요하지 않을때 반드시 create, open 혹은 close a document하여 사용되어져야한다

  •  CATIIniInteractiveSession
    • Save
    • SaveAs
    • Open
    • New
    • NewFrom

CATSession* session = CATSession::GetPtrSession();

if (session) {


CATIIniInteractiveSession* spIISession = NULL;

hr = session->QueryInterface(IID_CATIIniInteractiveSession, (void**) &spIISession);

if(SUCCEEDED(hr))

{

CATIEditor* piEditor = NULL;

hr = spIISession->New("Part", &piEdit);

...

}

}

  •  만일 Visualize the document를 원한다면, CATIIniInteractiveSession interface를 사용한다. 이 인터페이스는 InteractiveInterface Framework에 정의되어있다.

P143

Framework Architecture

P139 ~142

CAA V5 Mechanical Modeler Objectives
  • ObjectSpecsModeler(Specifications(data)를 관리)의 Results를 관리하는 Geometric Modeler를 연결(Link) 한다.
  • Mechanical Application을 위한 Infrastructure를 제공한다. 
    • Application은 geometiric results를 생성하는 mechanical specification을 생성한다.
    • Application은 part나 assembly의 BRep을 단순 참조하거나 혹은 geometric 정보를 읽는다.
  •  mechanical feature와 그들에 연관된 interface(그자체로 사용되어지거나 유도된)의 hierarcy(생성순서,과정)를 제공
    • Solid, surface, wireframe feature
    • Datum feature,  spec.이 없는 topology와 geometry로 encapsulates된 poor feature
    • Constraint feature
  • Mechanical Part의 하위 elements에 대한 안정적 접근 지원
  • CATPart document와 그 전용의 workshop(workbench:명령어들의 Set)을 제공
    •  Update with specific error management
    • Delete/Cut/Copy/Paste, Reorder, Activate/Deactivate ....
    • Manage the intermediate states of parts(Smart concept)
    • 3D compass use
  • Part의 Visualization 관리 
    • Visualization strategy
    • Decode

P138

Document architecture and Feature Persistency
  • Document는 Containers의 Set이다.
  • 피쳐가 persistent하기 위해서는 container에서 초기화되어야 한다. 이 컨테이너가 document에 포함된다

 P137

Feature Instance
  • 모든 피쳐는 CATSpecObject의 Instance이다 
    •  피쳐는 여러개의 DS interface를 implement한다.

CATISpecObject - Interface to instantiate a startup, manage attributes, manage update

LifeCycleObject - Interface to remove a feature

CATIExtendable - Instane to extend a feature

CATISpecAttrAccess - Instace to valuates feature's attributes


P136

Feature and Late Typing
  • Feature는 Late type이다 
    •  Feature는 Interface/Implementation 패턴을 따르는 extension mechanism(Object Modeler service)을 통해 기능을 제공한다.
    • 피쳐간의 상속은 허용되어 진다.
  •  새로운 피쳐는 Super Type(DS에서 기본적으로 제공하는 Type)의 behavior와 attribute 모두를 상속 받을 것이다.

P135

Specification and Result Management Example

B-REP ?



단축키
  • ctrl + Q : Swap between .h and . cpp files
  • ctrl + T : 커서가 위치한 키워드에 연관된 .h 파일을 연다
  • ctrl + F1 : API Document를 연다
  • ctrl + Shift +  F : 현재 파일의 전체 경로를 얻는다.

CAA Education.zip 파일

CAA_Education.zip


이 글은 스프링노트에서 작성되었습니다.