影音先锋男人资源在线观看,精品国产日韩亚洲一区91,中文字幕日韩国产,2018av男人天堂,青青伊人精品,久久久久久久综合日本亚洲,国产日韩欧美一区二区三区在线

《CATIA知識(shí)工程》PPT課件.ppt

上傳人:za****8 文檔編號(hào):16085857 上傳時(shí)間:2020-09-18 格式:PPT 頁數(shù):56 大?。?.03MB
收藏 版權(quán)申訴 舉報(bào) 下載
《CATIA知識(shí)工程》PPT課件.ppt_第1頁
第1頁 / 共56頁
《CATIA知識(shí)工程》PPT課件.ppt_第2頁
第2頁 / 共56頁
《CATIA知識(shí)工程》PPT課件.ppt_第3頁
第3頁 / 共56頁

下載文檔到電腦,查找使用更方便

14.9 積分

下載資源

還剩頁未讀,繼續(xù)閱讀

資源描述:

《《CATIA知識(shí)工程》PPT課件.ppt》由會(huì)員分享,可在線閱讀,更多相關(guān)《《CATIA知識(shí)工程》PPT課件.ppt(56頁珍藏版)》請(qǐng)?jiān)谘b配圖網(wǎng)上搜索。

1、Copyright DASSAULT SYSTEMES 2002,1,Knowledge Expert,CATIA Training Foils,Version 5 Release 9June 2002 EDU-CAT-E-KWE-FF-V5R9,Copyright DASSAULT SYSTEMES 2002,2,Course Presentation,Objectives of the course In this course you will learn the functionalities of CATIA V5R8 Knowledge Expert : creation and

2、using of expert rules, expert checks, solving of rule bases, generation of check reports. For the creation of rules and check, you will learn how to use the Object Browser of Knowledge Expert. Targeted audience CATIA V5 users. Prerequisites CATIA V5 Basics.,0.5 day,Copyright DASSAULT SYSTEMES 2002,

3、3,Table of Contents (1/2),Workbench presentation. p.5 Accessing the workbench.p.6 User interface.p.7 User settings.p.8 Terminology.p.11 Creating a rule base and a rule set. p.13 Creating a rule base.p.14 Activating / inactivating a rule base.p.15 Creating a rule set.p.16 Activating / inactivating a

4、rule set.p.18 Deleting a rule set.p.19 Creating an expert rule.p.20 Creating an expert rule.p.21 Editing an expert rule.p.24 Activating / inactivating an expert rule.p.25 Deleting an expert rule.p.26 Creating an expert check.p.27 Creating an expert check.p.28 Editing an expert check.p.31 Activating

5、/ inactivating an expert check.p.32 Deleting an expert check.p.33,Copyright DASSAULT SYSTEMES 2002,4,Table of Contents (2/2),Creating Expert Rules or Expert Checks on UDFp.34 Creating the UDF instance type. p.35 Creating Expert Rules or Expert Checks on UDF p.36 6.Navigating the object browser. p.37

6、 Accessing the object browser.p.38 Using the object browser to create or edit expert rules or expert checks.p.39 7.Accessing the Expert Check/Rule in the Check/Rule bodyp.41 Accessing the Expert Check/Rule in the Check/Rule bodyp.42 8.Solving a rule base p.43 Solving a rule basep.44 9.Generating a c

7、heck reportp.45 Setting a Rule Base optionsp.46 Generating a Check report p.48 10. Performing a Global Analysis of Checks p.49 Customizing checks Reports p.50 Running the checks Analysis p.51 Correcting the checks that failedp.52 11.Working with rule bases and catalogs.p.53 Storing a rule base in a

8、catalog.p.54 Retrieving a rule base from a catalog.p.55,Copyright DASSAULT SYSTEMES 2002,5,Workbench Presentation,In this lesson, you will learn about the Knowledge Expert Workbench by Accessing the workbench User interface User settings Terminology,Copyright DASSAULT SYSTEMES 2002,6,Accessing the W

9、orkbench,Anywhere from 1- Start menu or 2- A CATIA document or 3- Workbench Icon,1-,2-,,If the node Relations and the node Rule Base under it exist in the specification tree, double-click on Rule Base node,3-,See Tools + Customize + Start menu for the content of this Welcome box,,,Copyrigh

10、t DASSAULT SYSTEMES 2002,7,User Interface : Knowledge Expert Toolbars and Icons,,Rule Base node under Relations node,,Rule Set node under Rule Base node Here : the Rule Set name is Hole_Checks,,Expert Checks and/or Expert Rules nodes under Rule Set node,,,Expert Rule,Expert Check,Insert Rules,Report

11、,Solve,,Copyright DASSAULT SYSTEMES 2002,8,User Settings (1/3) : Knowledge General Settings,Select the corresponding option if you want the value of the parameter appear in the tree. the formula driving the parameter appear in the tree. to use measures in relations or user functions.,1,2,3,,,,Genera

12、l / Parameters / Knowledge tab,,Copyright DASSAULT SYSTEMES 2002,9,User Settings (2/3) : Knowledge in Part Settings,Select the corresponding option if you want the parameters of the part appear in the tree. the relations of the part appear in the tree.,Mechanical Design / Part Design / Display tab,,

13、1,,2,,Copyright DASSAULT SYSTEMES 2002,10,User Settings (3/3) : Knowledge in Product Settings,Select the corresponding option if you want the parameters of the product appear in the tree. the relations of the product appear in the tree.,Infrastructure/ Product Structure/ Product Structure tab,,2,,,1

14、,Copyright DASSAULT SYSTEMES 2002,11,Terminology (1/2),A Relation is a generic name for knowledge objects : formulas, rules, checks, expert rules and checks and design tables. Relations used in Knowledge Expert workbench are hierarchical. A Rule Base is the object at the top of the hierarchy. It ass

15、embles sets of Rule objects. An empty Rule Base object is created automatically when you access the Knowledge Expert workbench. A Rule Set is an object which assembles a set of Expert Checks and/or Expert Rule. A Rule Set which will contain a check/rule is created during the creation of this check/r

16、ule. An Expert Check verifies for any feature of a given type the satisfaction of a specified condition. Example : for any feature of type Hole, check if the diameter is equal to 10mm. The syntax is the following : H: Hole H.Diameter== 10mm. An Expert Check can be valid (green light) or invalid (red

17、 light). An Expert Rule verifies for any feature of a given type a specified condition and if the condition is satisfied, applies a set of actions on the feature . Example : for any feature of type Hole, check if the diameter is equal to 10mm. If it is, set the diameter to 20 mm. The syntax is the f

18、ollowing : H: Hole if (H.Diameter== 10mm) H.Diameter= 20mm.,,,,,,,Copyright DASSAULT SYSTEMES 2002,12,Terminology (2/2),The Object Browser is a wizard that allows you to access the features, their attributes, operators and units that can be used in an expert rule or an expert check. The objects are

19、displayed in the leftmost window of the Object Browser. Their attributes are displayed in the middle window of the Object Browser. The methods or properties available for the objects are displayed in rightmost window of the Object Browser. The signature (indicating the type of the arguments and the

20、type of the result) of the methods is displayed in the bottom window.,Copyright DASSAULT SYSTEMES 2002,13,Creating a Rule Base and a Rule Set,In this lesson, you will see how to create and manage Rule Base and Rule Set. These are two objects which are at the top of the hierarchy of Knowledge Expert

21、objects . Creating a Rule Base Activating a Rule Base Creating a Rule Set Activating a Rule Set Deleting a Rule Set,Copyright DASSAULT SYSTEMES 2002,14,If there is no rule base in your CATIA document, an empty rule base will be automatically created when you will access the Knowledge Expert workbenc

22、h. You can access the workbench from 1- Start menu or 2- Workbench Icon,1-,2-,See Tools + Customize + Start menu for the content of this Welcome box,,Creating a Rule Base,Copyright DASSAULT SYSTEMES 2002,15,Select the Rule Base node Access the contextual menu (click on right mouse button) Set Activ

23、ate or Inactivate option for the Rule Base object,1,2,3,Activating / Inactivating a Rule Base,Copyright DASSAULT SYSTEMES 2002,16,The rule set creation is included in the expert rule/ check creation task. When you create an expert rule/ check, CATIA prompts you to select either a rule base or a rule

24、 set. Selecting a rule base creates a rule set and adds a rule/ check to this rule set. Selecting an already existing rule set creates a rule/ check in this rule set.,,,,,,Creating a Rule Set (1/2),Copyright DASSAULT SYSTEMES 2002,17,You can create interactively Rule Sets by using the Rule Set funct

25、ion. It allows you to create hierarchy and manage to logically structure the corporate knowledge base.,,,Creating a Rule Set (2/2),,Copyright DASSAULT SYSTEMES 2002,18,Select the Rule Set node (here its default name is CATKWERuleSet.1) Access the contextual menu (click on right mouse button) Set Act

26、ivate or Inactivate option for the RuleSet object,1,2,3,Activating / Inactivating a Rule Set,Copyright DASSAULT SYSTEMES 2002,19,Select the Rule Set node (here its default name is CATKWERuleSet.1) Access the contextual menu (click on right mouse button) Select Delete,1,2,3,Deleting a Rule Set,Copyri

27、ght DASSAULT SYSTEMES 2002,20,Creating an Expert Rule,In this lesson, you will see how to create and manage an Expert Rule. The Expert Rule is located under a Rule Set in the hierarchy of Knowledge Expert objects . Creating an Expert Rule Editing an Expert Rule Activating an Expert Rule Deleting an

28、Expert Rule,,Copyright DASSAULT SYSTEMES 2002,21,1,Select the Rule Base or the Rule Set node,Click on the Expert Rule icon,2,3,A Rule Editor dialog box is displayed. Modify the default rule name and comments if need. Select your language : KWE Language (default language) or Visual Basic Language. Th

29、en Click on OK button,,,Creating an Expert Rule (1/3),Copyright DASSAULT SYSTEMES 2002,22,Creating an Expert Rule (2/3),,4,,In the Rule Editor displayed enter the expert rule. For example, type H:Hole in the first window after the sign . Type if (H.Diameter == 5mm) H.Diameter = 10mm in the second wi

30、ndow. Click on OK button. A rule is added to the rule set in the specification tree. Note : The semantics of your expert rule is the following. For any feature of type Hole in the model, set its diameter to 10mm if the actual diameter is equal to 5mm.,KWE language,Visual Basic Language,4,In the Rule

31、 Editor enter the visual Basic Script in the main window. A rule is added to the rule set in the specification tree. Note : To specify that a check is valid or not, you must set the value attribute of the returnvalue object (1 if the check is valid 0 otherwise),Copyright DASSAULT SYSTEMES 2002,23,,,

32、To avoid syntax errors in the text of the rule we advise you to use Object Browser. Once you are in the second window of the Rule Editor panel, type if (H. Click on the icon to access the Object Browser.,5,Find Hole in Part Design Features List and select Diameter in the list of Hole attributes. C

33、lick on Write icon to insert the attribute in the text of the rule. Type the remaining text of the rule.,,Creating an Expert Rule (3/3),Copyright DASSAULT SYSTEMES 2002,24,Select the node corresponding to the expert rule to edit. Access the contextual menu (click on right mouse button). Select Exper

34、t rule object - Definition in order to display the same panel than in (1).,1-,Double-click in the specification tree on the node corresponding to the expert rule to edit. Edit the rule in the panel which appears.,or,2-,Editing an Expert Rule,Copyright DASSAULT SYSTEMES 2002,25,Select the node corres

35、ponding to the Expert rule to activate/inactivate (here its default name is CATKWERule.1) Access the contextual menu (click on right mouse button) Set Activate or Inactivate option for the CATKWERule.1 object,1,2,3,Activating / Inactivating an Expert Rule,Copyright DASSAULT SYSTEMES 2002,26,Select t

36、he node corresponding to the Expert rule to delete (here its default name is CATKWERule.1) Access the contextual menu (click on right mouse button) Select Delete,1,2,3,Deleting an Expert Rule,Copyright DASSAULT SYSTEMES 2002,27,Creating an Expert Check,In this lesson, you will see how to create and

37、manage an Expert Check. The Expert Check is located under a Rule Set in the hierarchy of Knowledge Expert objects . Creating an Expert Check Editing an Expert Check Activating an Expert Check Deleting an Expert Check,,Copyright DASSAULT SYSTEMES 2002,28,1,Select the Rule Base or the Rule Set node,Cl

38、ick on the Expert Check icon,2,3,A Rule Editor dialog box is displayed. Modify the default check name and comments if need. Select your language : KWE Language (default language) or Visual Basic Language. Then click on OK button,,,Creating an Expert Check (1/3),Copyright DASSAULT SYSTEMES 2002,29,Cr

39、eating an Expert Check (2/3),,KWE language,4,,In the Check Editor displayed enter the expert check. For example, type H:Hole in the first window after the sign . Type H.Diameter = 10mm in the second window. Click on OK button. A check is added to the rule base in the specification tree. Note : The s

40、emantics of your expert check is the following. For any feature of type Hole in the model, verify if its diameter is equal to 10mm.,4,Visual Basic Language,,In the condition Tab enter the visual Basic Script. For example type H:Hole in the first window after the sign . Type Dim diam As Length Set di

41、am = H.Diameter if (diam.Value = 10.0 ) Then returnValue.Value = 1 else returnValue.Value = 0 end if,Note : To specify that a check is valid or not, you must set the value attribute of the returnvalue object (1 if the check is valid 0 otherwise),Copyright DASSAULT SYSTEMES 2002,30,Creating an Expert

42、 Check (3/3),,,To avoid syntax errors in the text of the check we advise you to use Object Browser. Once you are in the second window of the Check Editor panel, type H. Click on the icon to access the Object Browser.,5,Find Hole in Part Design Features List and select Diameter in the list of Hole

43、attributes. Click on Write icon to insert the attribute in the text of the check. Type the remaining text of the check.,,Copyright DASSAULT SYSTEMES 2002,31,Select the node corresponding to the expert check to edit. Access the contextual menu (click on right mouse button). Select Expert check object

44、 - Definition in order to display the same panel than in (1).,1-,Double-click in the specification tree on the node corresponding to the expert check to edit. Edit the check in the panel which appears.,or,2-,Editing an Expert Check,Copyright DASSAULT SYSTEMES 2002,32,Select the node corresponding to

45、 the Expert check to activate/inactivate (here its default name is CATKWECheck.1) Access the contextual menu (click on right mouse button) Set Activate or Inactivate option for the CATKWECheck.1 object,1,2,3,Activating / Inactivating an Expert Check,Copyright DASSAULT SYSTEMES 2002,33,Select the nod

46、e corresponding to the Expert check to delete (here its default name is CATKWECheck.1) Access the contextual menu (click on right mouse button) Select Delete,1,2,3,Deleting an Expert Check,Copyright DASSAULT SYSTEMES 2002,34,Creating Expert Rules or Expert Checks on UDF,In this lesson, you will see

47、how to create and manage Expert Rules and Expert Checks on User Define Feature published elements. Creating the UDF instance type Creating Experts Rules or Expert Checks on UDF,,Copyright DASSAULT SYSTEMES 2002,35,1,When creating the UDF, select the Type tab and in the Instance Type field, enter the

48、 name of the UDF type. To do so, enter a prefix in the first Instance Type field. This prefix should be made of at least 3 characters. It will enable the user to gather UDFs of the same kind by using their names. In the second field, enter the identifier of the UDF. Then the Manage type button is av

49、ailable.,2,Click on the Manage type button. Type is the Instance Type name just created. User Type is the UDF Definition name. Super Type is the type from which the created type will inherit. Package is the workbench in which the created type will be displayed. File corresponds to the CATGscript fil

50、e you want to create and that you will be able to use in your next CATIA session.,See Tools + Options + General + Parameters and Measure tab to enter the path of the .CATGscript.,Creating the UDF Instance Type,Copyright DASSAULT SYSTEMES 2002,36,1,Instantiate the UDF.,2,In the Knowledge Expert workb

51、ench, click the Expert Check icon and select the KWE language. Use the Type (“userfeature1” in this case) that you have just created to perform the Check. You can apply the Check or the Rule only on the UDF published elements (“dist” in this case). Then click OK to validate. If you the Object Browse

52、r, you will see appear in PartDesign this new type.,Creating Expert Rules or Expert Checks on UDF,Copyright DASSAULT SYSTEMES 2002,37,Navigating in the Object Browser,In this lesson, you will see how to access the Object Browser and how to use it to create an Expert Rule or an Expert Check. Accessin

53、g the Object Browser Using the Object Browser to create or edit an Expert Rule or an Expert Check,,,Copyright DASSAULT SYSTEMES 2002,38,1,Double click in the tree on an Expert Rule or an Expert Check node to access its definition,Click on the Object Browser icon,2,3,The Object Browser wizard panel i

54、s displayed.,,Accessing the Object Browser,Copyright DASSAULT SYSTEMES 2002,39,Using the Object Browser to create or edit an Expert Rule or an Expert Check (1/2),In the leftmost window of the Object Browser select the category of the object you are interested in : Part Design or Shape Design feature

55、, an Function or a Unit. In the middle window select the attribute of this feature you want to use. In the rightmost window select (if the window is not empty) the method or the property you want to apply on this attribute Example : Part Design Features - Pocket - EndLimit.,2,1,You can use the follo

56、wing buttons to get more information on the objects you manipulate : to go back or forward in the selection you are performing. to get the type object description. In our example : Diameter object with attribute Double. to get the parent feature and its attributes. In our example : the prototype of

57、Hole feature is Mechanical Feature. to write down in the check or rule editor the method or the attribute you have selected.,Copyright DASSAULT SYSTEMES 2002,40,,Notice that : The signature of functions contains several fields Example : accessing Part Design Features - Pad- HasAttribute() we see the

58、 following syntax in the bottom of the Object Browser. MechanicalFeature :: HasAttribute( AttributeName : String ) : Boolean It means that the function HasAttribute( ) is defined for the class of objects of type MechanicalFeature, it takes one argument of type String and it returns a Boolean. When y

59、ou indicate the attribute of the object, two syntaxes are possible : H.Diameter or HDiameter. When you use several objects in the expert rule or expert check, you must separate the declarations of types by semi-colons Example : H: Hole ; P: Pad ; S: Shell. You can see very often in the description o

60、f the syntax of functions the argument of type Holder. Here Holder is a kind of list. It contains several instances that can be accessed by the index thanks to the method GetInstanceMember(Holder, Index).,Using the Object Browser to create or edit an Expert Rule or an Expert Check (2/2),Copyright DA

61、SSAULT SYSTEMES 2002,41,Accessing the Expert Check/Rule in the Check/Rule body,In this lesson, you will see how to access the check/rule itself in the check/rule body by using the “Thischeck”/”Thisrule” variable Accessing the Expert Check/Rule in the Check/Rule body,,Copyright DASSAULT SYSTEMES 2002

62、,42,1,“Thischeck” and “Thisrule” are variables which enable the user to reference the check or the rule he is working with. You can: Access the parameters located below the rule or the check Compare various elements,Accessing the Expert Check/Rule in the Check/Rule body,Create an Expert Check/Rule,

63、select the KWE language and add a new parameter.,2,Here is an example to check that the diameters of the holes contained in the model are superior the parameter value: : P:Hole PDiameter ThisCheck-GetAttributeReal (“Length.1”),,,Copyright DASSAULT SYSTEMES 2002,43,Solving a Rule Base,In this lesson,

64、 you will see how to solve a Rule Base. Solving a Rule Base means to solve all the active checks and rules contained in the rule sets of the Rule Base. Solving a Rule Base,,Copyright DASSAULT SYSTEMES 2002,44,If the rule base has never been solved: If you are in automatic update mode : Modify a docu

65、ment parameter. All the active rules and checks will be automatically evaluated. If you are in manual update mode : Click on the solve icon. All the active rules and checks will be evaluated.,1-,2-,See Tools + Options + General tab to set the update mode,If the rule base has already been solved: If

66、you are in automatic update mode : Modify a document parameter. Only the active rules and checks relative to the modified parameter will be automatically re-evaluated. If you are in manual update mode : Click on the solve icon. Only the active rules and checks relative to the modified parameter will be re-evaluated.,,Solving a Rule Base,Notice that you have the summary of errors at the rule set level.,,Copyright DASSAULT SYSTEMES 2002,45,Generating a Check Report,In this lesson, you will see how

展開閱讀全文
溫馨提示:
1: 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
2: 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
3.本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
5. 裝配圖網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

相關(guān)資源

更多
正為您匹配相似的精品文檔
關(guān)于我們 - 網(wǎng)站聲明 - 網(wǎng)站地圖 - 資源地圖 - 友情鏈接 - 網(wǎng)站客服 - 聯(lián)系我們

copyright@ 2023-2025  zhuangpeitu.com 裝配圖網(wǎng)版權(quán)所有   聯(lián)系電話:18123376007

備案號(hào):ICP2024067431號(hào)-1 川公網(wǎng)安備51140202000466號(hào)


本站為文檔C2C交易模式,即用戶上傳的文檔直接被用戶下載,本站只是中間服務(wù)平臺(tái),本站所有文檔下載所得的收益歸上傳人(含作者)所有。裝配圖網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)上載內(nèi)容本身不做任何修改或編輯。若文檔所含內(nèi)容侵犯了您的版權(quán)或隱私,請(qǐng)立即通知裝配圖網(wǎng),我們立即給予刪除!