Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 27 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
27
Dung lượng
386,62 KB
Nội dung
Editing Surfaces and Wireframe Geometry Generative Shape Design provides powerful tools for editing surfaces and wireframe geometry. Edit definitions: double-click on the element in the tree and modify its parameters Select using a filter: select an object, and use the Selection Filter toolbar to manage element types and modes. Replace elements: select the element to be replaced, choose the Replace contextual command, then select the replacing element. Create elements from an external file: key in space coordinates of elements into an Excel file containing macros, then run the macro. Select implicit elements: press and hold the Shift key while clicking the element to which the implicit element belongs. Manage the orientation of geometry: double- click a line or a plane in the specification tree, and change the Angle value. Move elements from a geometrical set: select the element, use the Change Body contextual menu, select the element before which it should be inserted Copy and paste: select the element(s) to be copied, click the Copy icon, select the target geometrical set, then click the Paste icon. Delete geometry: select the element, choose the Delete command, set the deletion options Deactivate elements: select the element to be deactivated, choose the Deactivate contextual menu and choose to deactivate its children as well, if needed. Isolate geometric elements: select the element to be isolated, choose the xxx object -> Isolate contextual menu. Edit parameters: click Preview while creating the element, or, if the element is already created, select it and choose the xxx object -> Edit Parameters contextual menu. Upgrade features: select the elements to be upgraded, choose the xxx object -> Upgrade contextual menu. 335 Page Generative Shape Design & Optimizer Version 5 Release 14 Editing Surface and Wireframe Definitions This task shows how to edit the definition of an already created geometric element. 1. Activate the Definition dialog box of the element that you want to edit in one of the following ways: ● Select the element then choose the xxx.object -> Definition menu item from the contextual menu ● Select the element then choose the Edit -> xxx.object -> Definition command ● Double-click the element identifier in the specification tree 2. Modify the definition of the element by selecting new reference elements or by entering new values. 3. Click OK to save the new definition. 336 Page Generative Shape Design & Optimizer Version 5 Release 14 Replacing Elements This task shows how to replace a geometric element by another. This may be useful when a modification occurs late in the design as the whole geometry based onto the element that is replaced is updated according to the new specifications coming from the replacing elements. Open the Replace1.CATPart document. 1. Right-click the pink curve (Profile.1) and choose the Replace contextual menu. The Replace dialog box appears. 2. Click the With field and select the blue curve in the geometry. The Replace dialog box is updated accordingly and the geometry displays the curves orientation. You can check the Delete replaced elements and exclusive parents if you do not need these elements for later operations. A warning message is issued if the element to replace is a published element. ● Click Yes to replace the published element ● Click No to cancel the operation and close the Replace dialog box. In our example, we published Profile 1. 337 Page Generative Shape Design & Optimizer Version 5 Release 14 3. Click OK to validate the replacement. The geometry is updated accordingly. 338 Page Generative Shape Design & Optimizer Version 5 Release 14 Creating Elements From An External File You can create points, curves, and multi-sections surfaces from a Microsoft Excel spreadsheet containing macros, and in which you define: ● the points space coordinates ● the points through which the curves pass ● the curves used as profiles for the multi-sections surface. Only Excel sheets created with Excel 97 and subsequent versions are supported. Therefore this capability is available with Windows TM only. Open any .CATPart document containing a Geometrical Set or an Ordered Geometrical Set. 1. Open the ElementsFromExcel.xls file from the Samples directory into Excel, and enable the macros. The document looks like this: 339 Page Generative Shape Design & Optimizer Version 5 Release 14 It contains: ● instructions, such as StartMulti-SectionsSurface and EndMulti-SectionsSurface, StartCurve and EndCurve between which other instructions or numerical data are given. ● numerical data that are point space coordinates: X, Y, Z respectively from the left to the right ● a final End instruction In the above example, a multi-sections surface is to be created based on three curves. The first and second curve pass through four points, and the third curve passes through five points. The elements will be created from top to bottom, i.e. the four points of the first curve will be created, then the curve itself, then the points making up the second curve and the latter itself, and so forth. You can add rows to create more elements or delete rows to edit elements or delete them (point), then save the spreadsheet. 2. From Excel, select the Tools -> Macro -> Macros menu item. The Macro dialog box is displayed. 3. Select the Feuil1.Main macro and click Run. 340 Page Generative Shape Design & Optimizer Version 5 Release 14 The User Info dialog box is displayed. 4. Key in the type of element to be generated: ● 1: to generate only the point(s) ● 2: to generate the points and the curve(s) ● 3: to generate the points, curves and multi-sections surface(s) 5. Click OK. The elements (points, curves, and multi- sections surface) are created in the geometry. The specification tree is updated accordingly. ● The Generative Shape Design or Wireframe and Surface workbench needs not to be loaded, provided a CATIA session is running and a .CATPart document is loaded. ● The curve definition is limited to 500 points, and the multi-sections surface definition to 50 splines, with the delivered macro. This can be modified using the Excel macro edition capabilities. 341 Page Generative Shape Design & Optimizer Version 5 Release 14 Selecting Implicit Elements There are many ways of selecting geometrical elements either in the geometry as described in the CATIA Infrastructure User's Guide, Selecting Objects section, or in the specification tree. However, specific to wireframe and surface elements are some implicit elements, such as the axis of a cylinder, or the vertex of a cone for instance, participating in the creation of a feature yet not directly selectable as a separate element. This task shows how to select these implicit elements. Open the Cylinder1.CATPart document. 1. Click the Spline icon and successively select the four points. The Spline Definition dialog box looks like this: 2. Select Point.3 from the list, to impose a tangency constraint on this point. Note that you cannot select the cylinder's surface. 342 Page Generative Shape Design & Optimizer Version 5 Release 14 3. Press and hold the Shift key, then move the pointer over the cylinder. The cylinder's axis is automatically detected as a selectable element to indicate a direction, and displayed. 4. Click anywhere on the cylinder's surface, still holding the Shift key pressed down. The tangency constraint direction, based on the cylinder's axis, is displayed at the selected point. 5. Click OK to create the spline tangent to the cylinder at the selected point. 343 Page Generative Shape Design & Optimizer Version 5 Release 14 Managing the Orientation of Geometry This task shows you how to manage the orientation of modified geometry. This capability is only available with the Line and Plane functionalities. Open the Orientation1.CATPart document. 1. Double-click Line.2 in the specification tree. The Line dialog box is displayed. 2. Change the Angle value from 180deg to 90deg. 3. Click OK to validate the modification. The Orientation Management dialog box is displayed. ● Click Yes to align the modified geometry with the original orientation. An inverse element is created that replaces the original line or plane (here Line.2). The inversion is proposed according to the following criteria: the normal vectors to the planes or the tangent vectors to the lines, before and after edition, have a null or negative scalar product. ● Click No to align the modified geometry with new orientation. Refer to '' Inverting the Orientation of Geometry'' to have further information about the Inverse functionality. 344 Page Generative Shape Design & Optimizer Version 5 Release 14 [...]... Features" in the Part Design User's Guide Generative Shape Design & Optimizer Version 5 Release 14 Page 350 Deleting Useless Elements This command is only available with the Generative Shape Design 2 product This task shows how to delete all un-referenced elements, i.e not participating in the creation of other geometrical elements Please note that the command would delete all the elements of the part, if... select it in the specification tree, rightclick xxx.1object -> Edit Parameters from the contextual menu q If you want the parameters to be kept permanently, check the Parameters of features and constraints option in Tools -> Options -> Infrastructure -> Part Infrastructure > Display Generative Shape Design & Optimizer Version 5 Release 14 Page 361 Upgrading Features This task aims at improving the upgrade... would therefore be impossible q q To re-activate the elements, right-click their name in the specification tree and choose the XXX object -> Activate contextual command Multi-selection is available, i.e you can select several elements to be deactivated at a time In this case the Deactivate dialog box will show a list of the selected elements Generative Shape Design & Optimizer Version 5 Release 14 Page... Geometrical_Set.1 See also Managing Geometrical Sets Page 347 Generative Shape Design & Optimizer Version 5 Release 14 Page 348 Copying and Pasting This task shows how to copy and paste geometrical set entities in your part design 1 Select the elements that you want to copy either directly in the part geometry or in the specification tree 2 Select the Edit -> Copy command 3 Click the Geometrical Set entity in... the plane, note that if you edit the offset value .you can obtain this kind of result: Generative Shape Design & Optimizer Version 5 Release 14 Page 3 56 2 Right-click the plane as the element you want to isolate The element you can isolate can be: r a plane r a line r a point r a circle 3 Select the xxx object -> Isolate command from the contextual menu The geometrical link between the plane and the... Limit Type Extrude Length 1, Limit 1 Length 2, Limit 2 Helix Taper Angle, Starting Angle Length: Pitch Length: Height Line Angle/Normal to Curve Point-Point Angle Generative Shape Design & Optimizer Page 358 Version 5 Release 14 Point-Direction Angle-Normal to Curve Tangent to Curve Normal to Surface Length : Start, End Infinite Start Point: End Infinite End Point: Start Infinite: / Bisecting Offset... Sets or PartBodies located directly below the main Part are not displayed in the list, as when creating a new document, they are necessarily empty of geometric elements, and it does not make sense to delete them Generative Shape Design & Optimizer Version 5 Release 14 Page 352 Deactivating Elements This task shows how to inactivate a geometric element This may be useful when, in a complex part, a... Destination Body for the selected element Here we selected Geometrical_Set.3 You can do so by selecting the Body in the specification tree, or using the drop-down list from the dialog box Generative Shape Design & Optimizer Version 5 Release 14 Page 3 46 3 Select the element above which the one you already selected is to be inserted You can directly select this positioning element In this case the Destination.. .Generative Shape Design & Optimizer Version 5 Release 14 Page 345 Moving Elements From a Geometrical Set This task shows how to move any element from a Geometrical Set to another location within another body (Hybrid Body or Geometrical Set) Open any CATPart document containing several geometrical elements You can also open the GeometricalSets2.CATPart document 1 From the specification... Angle Shape Fillet Bi-Tangent Fillet Sphere Radius Parallel Start Angle, Parallel End Angle, Meridian Start Angle, Meridian End Angle Radius, Radius Spiral End Angle Angle and Radius Length: Start Radius Length: End Radius Angle and Pitch Length: Start Radius Length: Pitch Radius and Pitch Length: Start Radius Length: End Radius Length: Pitch Page 359 Version 5 Release 14 Generative Shape Design & Optimizer . 1. 337 Page Generative Shape Design & Optimizer Version 5 Release 14 3. Click OK to validate the replacement. The geometry is updated accordingly. 338 Page Generative Shape Design & Optimizer. the Tools -& gt; Macro -& gt; Macros menu item. The Macro dialog box is displayed. 3. Select the Feuil1.Main macro and click Run. 340 Page Generative Shape Design & Optimizer. orientation. Refer to '' Inverting the Orientation of Geometry'' to have further information about the Inverse functionality. 344 Page Generative Shape Design & Optimizer Version