tag:blogger.com,1999:blog-80096885660760403622024-03-13T13:05:45.583+01:00CATIA V5TIPS & TRICKS | TUTORIALS | GOOD PRACTICESmateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comBlogger39125tag:blogger.com,1999:blog-8009688566076040362.post-44944276211819936202018-02-12T11:49:00.001+01:002018-02-12T11:49:55.565+01:00Importing IGES surfaces into CATIA<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-o50Lsfhe6xA/WoFwuREXaJI/AAAAAAAASjE/RISsAS76Ah8r3R07yRTe0GwQB9OZBXWQwCLcBGAs/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="215" data-original-width="400" src="https://2.bp.blogspot.com/-o50Lsfhe6xA/WoFwuREXaJI/AAAAAAAASjE/RISsAS76Ah8r3R07yRTe0GwQB9OZBXWQwCLcBGAs/s1600/tit.PNG" /></a></div>
<br />
How to automatically join surfaces imported from an IGES file.<br />
<br />
<a name='more'></a>To automatically join surfaces during importing geometry from an IGES file go to Tools > Options... > General > Compatibility, in the IGES tab turn on the option Join surfaces of the model.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-aASpZPzRZ9k/WoFw_33cWeI/AAAAAAAASjI/AhQbO1MWYYkLI-LIVyegZAOF1p3Er0zOQCLcBGAs/s1600/01.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="315" data-original-width="627" src="https://2.bp.blogspot.com/-aASpZPzRZ9k/WoFw_33cWeI/AAAAAAAASjI/AhQbO1MWYYkLI-LIVyegZAOF1p3Er0zOQCLcBGAs/s1600/01.PNG" /></a></div>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-35556548872028560712017-12-11T11:42:00.001+01:002017-12-11T12:15:14.620+01:00Randomly generated snowflakes<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-xYBpt_s_56E/Wi5gEIWpANI/AAAAAAAASio/A3SkZjlvq4or13m4Fszq5FKIif7OWFYagCLcBGAs/s1600/tit.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="181" data-original-width="630" src="https://4.bp.blogspot.com/-xYBpt_s_56E/Wi5gEIWpANI/AAAAAAAASio/A3SkZjlvq4or13m4Fszq5FKIif7OWFYagCLcBGAs/s1600/tit.png" /></a></div>
Introduction to random parameters.<br />
<br />
<a name='more'></a>Winter has just begun. At least for me, on the Northen Hemisphere. With the winter came the first snow and with the first snow came my idea to intoduce to you a random-value-parameter.<br />
I will present it to you using an example of a snow flake. As you probably know, each snow flake is unique, I will use parameters with random values to automaticlly create some random snow flakes in Catia.<br />
<br />
Let's start with the main attraction - function Rand().<br />
Create new parameter - Length.1 (Type - Length) and add following formula (Fig.1):<br />
<br />
Rand()*10mm<br />
<br />
With this formula value of the Length.1 will be a random number between 0mm and 10mm (Rand() generates random numer between 0 and 1).<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-E44FnMJM8tU/Wi5NguEj4TI/AAAAAAAAShY/LuBJanBD3ogJu6kokqyfZ14dGmjJDGmLwCLcBGAs/s1600/01.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="133" data-original-width="306" src="https://3.bp.blogspot.com/-E44FnMJM8tU/Wi5NguEj4TI/AAAAAAAAShY/LuBJanBD3ogJu6kokqyfZ14dGmjJDGmLwCLcBGAs/s1600/01.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
In the Geometrical Set.1 a geometry of snow flake has been created (Fig.2).<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-wccoKqdzdgU/Wi5Pr16R2hI/AAAAAAAAShk/tuYikeQNO1YBRyHDIoOoM4iWQHJzqhAXwCLcBGAs/s1600/02.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="882" data-original-width="543" src="https://2.bp.blogspot.com/-wccoKqdzdgU/Wi5Pr16R2hI/AAAAAAAAShk/tuYikeQNO1YBRyHDIoOoM4iWQHJzqhAXwCLcBGAs/s1600/02.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
Point.1 is the center point, it is created on yz plane, Formula.3 and Formula.4 drive the coordintaes of the point.<br />
Point.2 is created in a similar way, but the reference point is Point.1.<br />
Line.1 connects Point.1 and Point.2, it is a reference direction.<br />
Parameter N is an Integer, it is defined by Formula.13 ((round(Rand()*3))+5) which generates random number between 5 and 8. The N will be number of the arms.<br />
Paramter R is a Length, it will be the radius of the snowflake, it is driven by Formula.16 which generates random values between 3mm and 5mm.<br />
Line.2 is an Axis, it starts on the Point.1 and it is normal to the yz plane.<br />
Line.3 is the main arm, it starts on the Point.1, reference direction is Line.1 and length is connected to the R.<br />
Rotate.1 is a bisector of the arms, it is driven by the Formula.21 (360deg/(`Geometrical Set.1\N` *2))<br />
Point.3 and Point.4 are Ratio of the curve length points, reference curve is Line.3, value of the ratio is random (Formula.22 and Formula.24).<br />
Point.5 is the endpoint of the Line.3 (Ratio of the curve length=1, reference point is Point.1).<br />
Line.4 is a short line at the end of the arm - Fig.3. Length and angle are constant.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-uxZG-thChpM/Wi5WWoqoQ6I/AAAAAAAASh0/sprEFZx93AYQQK_ngXKg76xVg-uW4n1vwCLcBGAs/s1600/03.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="509" data-original-width="290" src="https://1.bp.blogspot.com/-uxZG-thChpM/Wi5WWoqoQ6I/AAAAAAAASh0/sprEFZx93AYQQK_ngXKg76xVg-uW4n1vwCLcBGAs/s1600/03.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
Line.4 is multiplicated with RectPattern.1. Reference direction for the pattern is Line.3, pattern type is Instance(s) & Spacing. Number of instances is connected to the Formula.28 and Spacing is connected to the Formula.29.<br />
Line.4, RectPattern.1, Line.3, Point.4, Point.3 are mirrored, reference is Rotate.1. Result should be similar to the Fig.4 (depends on the values of the random parameters).<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-PbiiRnPPN20/Wi5Ym3w2_hI/AAAAAAAASiA/t3ZIPkpS2-4w3Os9fbXt2r9_h7on45exQCLcBGAs/s1600/04.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="273" data-original-width="233" src="https://3.bp.blogspot.com/-PbiiRnPPN20/Wi5Ym3w2_hI/AAAAAAAASiA/t3ZIPkpS2-4w3Os9fbXt2r9_h7on45exQCLcBGAs/s1600/04.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.4</td></tr>
</tbody></table>
Point.6 is a random point on Rotate.1.<br />
Polyline.1 connects Point.4, Point.6 and symmetry of Point.4.<br />
Line.5 connects Point.3 and symmetry of Point.3.<br />
Join.1 is shown on the Fig.5.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-1f-huIxHJjo/Wi5aV1NwraI/AAAAAAAASiM/4Iy9weuW0yQbPtEZ0G4LpZtmeaXmtjnFACLcBGAs/s1600/05.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="674" data-original-width="405" src="https://3.bp.blogspot.com/-1f-huIxHJjo/Wi5aV1NwraI/AAAAAAAASiM/4Iy9weuW0yQbPtEZ0G4LpZtmeaXmtjnFACLcBGAs/s1600/05.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.5</td></tr>
</tbody></table>
CircPattern.1 is a pattern of the Join.1, type is Complete crown, reference element is Line.2, number of istances is N.<br />
All the reference elements and points can be hidden now, the snow flake is ready. It can be duplicated with the Duplicate Geometrical Features Set tool (Insert > Advanced Replication Tools). In the window Insert Object (Fig.6) make sure that the Reference is Geometrical Set.1, the Destination is After, the input is yz plane (can be diffrent) and Repeat mode is on. A new, random snowflake will be created everytime you click OK button.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-qZ4ZkUeb6Xw/Wi5dsGdZGzI/AAAAAAAASic/P8nlFMtE45AVDCahrlUHI1l8C3OKY8HXwCLcBGAs/s1600/07.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="491" data-original-width="348" src="https://3.bp.blogspot.com/-qZ4ZkUeb6Xw/Wi5dsGdZGzI/AAAAAAAASic/P8nlFMtE45AVDCahrlUHI1l8C3OKY8HXwCLcBGAs/s1600/07.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.6</td></tr>
</tbody></table>
See below some examples of my snowflakes.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-uxux0BPM-Bg/Wi5db8H2rYI/AAAAAAAASiY/jWhl3ID4eWcdoQkPXgP_48S70c2hZ_G0gCLcBGAs/s1600/06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="864" data-original-width="221" src="https://4.bp.blogspot.com/-uxux0BPM-Bg/Wi5db8H2rYI/AAAAAAAASiY/jWhl3ID4eWcdoQkPXgP_48S70c2hZ_G0gCLcBGAs/s1600/06.png" /></a></div>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-48707587950971169412017-12-02T08:31:00.002+01:002017-12-05T07:10:04.225+01:00Replacing features in error<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-XLibWZekSIM/WiJQ7COkwiI/AAAAAAAASgk/u9V9Cc3uVF0DGrzjEFPFqD3VUVjKt0RiwCLcBGAs/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="292" data-original-width="291" src="https://4.bp.blogspot.com/-XLibWZekSIM/WiJQ7COkwiI/AAAAAAAASgk/u9V9Cc3uVF0DGrzjEFPFqD3VUVjKt0RiwCLcBGAs/s1600/tit.PNG" /></a></div>
How to replace a feature which has an error status.<br />
<br />
<a name='more'></a>CATIA does not allow to replace features which cannot be updated - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-Uz14TrmEwmw/WiJSAEN9pNI/AAAAAAAASgs/4q0OINazgtMhRyP_GSPZ7ps9O82mk991gCLcBGAs/s1600/001.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="171" data-original-width="403" src="https://2.bp.blogspot.com/-Uz14TrmEwmw/WiJSAEN9pNI/AAAAAAAASgs/4q0OINazgtMhRyP_GSPZ7ps9O82mk991gCLcBGAs/s1600/001.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
To avoid this issue user can find all the children of the not-updated feature and choose a new parent feautre for each one. However this may consume a lot of time, if the error-feature has many children. To do it in more efficent way, use the trick which is shown below.<br />
<br />
1. Let's consider picture shown on the Fig.2. Split.1 is the feature in error, Split.2 is the feature which suppose to replace it, Fillet.1 is a children of the Split.1 and it waits for update. Replacing Split.1 returns an error message shown on Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-seXdr7hZEE8/WiJSZB5wU3I/AAAAAAAASgw/BE9IaszekzE5an1wa7pcJKFhAHQ7tVBVQCLcBGAs/s1600/002.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="298" data-original-width="306" src="https://2.bp.blogspot.com/-seXdr7hZEE8/WiJSZB5wU3I/AAAAAAAASgw/BE9IaszekzE5an1wa7pcJKFhAHQ7tVBVQCLcBGAs/s1600/002.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
2. Deactivate Split.1. Click RMB on it, go to Split.1 object and select Deactive. Make sure that children will not be deactivated - Fig.3 (inactive Split.1 cannot be replaced yet, it returns the same error).<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-GuGdjdRcLaA/WiJUZqyq2yI/AAAAAAAASg8/FmZ3KLFWidA8Qwoj_GIV-RCjUSIGtER4gCLcBGAs/s1600/003.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="151" data-original-width="249" src="https://1.bp.blogspot.com/-GuGdjdRcLaA/WiJUZqyq2yI/AAAAAAAASg8/FmZ3KLFWidA8Qwoj_GIV-RCjUSIGtER4gCLcBGAs/s1600/003.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
3. Once the Split.1 is not active, click RMB on it again and update it (RMB > Local Update).<br />
<div>
4. After the update, Split.1 can be replaced - Fig.4.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-pkMVG_bTItY/WiJV3Z_5H9I/AAAAAAAAShI/MNsDoSeVavEfEmVpF20ODfVYratn6ia-wCLcBGAs/s1600/004.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="261" data-original-width="436" src="https://3.bp.blogspot.com/-pkMVG_bTItY/WiJV3Z_5H9I/AAAAAAAAShI/MNsDoSeVavEfEmVpF20ODfVYratn6ia-wCLcBGAs/s1600/004.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.4</td></tr>
</tbody></table>
<br /></div>
mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-42784438731821179632017-10-29T12:08:00.000+01:002017-10-29T12:08:05.518+01:00Changing language in CATIA V5<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-8_GQrvvAh48/WfW2UfMYIJI/AAAAAAAASgM/ppr6DILPyzsExHKf9QdH833E2AhWkCqpwCLcBGAs/s1600/123123.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="286" data-original-width="281" src="https://4.bp.blogspot.com/-8_GQrvvAh48/WfW2UfMYIJI/AAAAAAAASgM/ppr6DILPyzsExHKf9QdH833E2AhWkCqpwCLcBGAs/s1600/123123.PNG" /></a></div>
To change the intraface language in CATIA go to Tools > Customize..., go to tab Options and choose the User Interface Language.mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-40225099953146939362017-10-08T11:00:00.001+02:002017-10-08T19:44:38.021+02:00Extrusion of a self intersecting/open profile<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-jMlhI1Ge1cM/Wdno2XiQ7sI/AAAAAAAASfo/KyxMtvEfhrs4GJx6_8LoKY9-UX-QldlZwCLcBGAs/s1600/tit2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="219" data-original-width="304" src="https://4.bp.blogspot.com/-jMlhI1Ge1cM/Wdno2XiQ7sI/AAAAAAAASfo/KyxMtvEfhrs4GJx6_8LoKY9-UX-QldlZwCLcBGAs/s1600/tit2.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Normally CATIA does not allow user to extrude an open or self intersecting profile. It is not possible to extrude such profile unless you define a thickness of the extrusion.<br />
<a name='more'></a>Follow these steps to extrude an open and/or self intersecting sketch.<br />
1. Create a sketch with an open and/or self intersecting profile - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-qkl22TnJJ6Q/WdngXaQWPdI/AAAAAAAASew/oH6qYn97PNgRzAB-JCkKwpfLyH3dR7zewCLcBGAs/s1600/01.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="397" data-original-width="384" src="https://2.bp.blogspot.com/-qkl22TnJJ6Q/WdngXaQWPdI/AAAAAAAASew/oH6qYn97PNgRzAB-JCkKwpfLyH3dR7zewCLcBGAs/s1600/01.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
2. Use this sketch to create a Pad, in the Feature Definition Error window click on Yes - Fig.2<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-qWpMNUSsRfY/WdngsccC49I/AAAAAAAASe4/25SfatuoBiod3VputJLXMeOdECIM5QJTQCLcBGAs/s1600/02.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="98" data-original-width="423" src="https://4.bp.blogspot.com/-qWpMNUSsRfY/WdngsccC49I/AAAAAAAASe4/25SfatuoBiod3VputJLXMeOdECIM5QJTQCLcBGAs/s1600/02.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
3. In the Pad Definition, in Profile/Surface section check the option Thick - Fig.3. Click on More to expand the Pad Definition window.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-qd5vziNiIYw/WdnhUFMSffI/AAAAAAAASfA/QDv9wzhOw7MIp3Tbgc-nPvr6dy-ZkONawCLcBGAs/s1600/Bez%25C2%25A0tytu%25C5%2582u.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="360" data-original-width="260" src="https://4.bp.blogspot.com/-qd5vziNiIYw/WdnhUFMSffI/AAAAAAAASfA/QDv9wzhOw7MIp3Tbgc-nPvr6dy-ZkONawCLcBGAs/s1600/Bez%25C2%25A0tytu%25C5%2582u.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
4. Define thickness or thicknesses of the extrusion in the Thin Pad - Fig.4. And click on OK.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-9pPIpEfow0U/Wdnhvp_Z2lI/AAAAAAAASfE/xjkM9YtvX8grFLIGF-JYFfXHcvryL5ddwCLcBGAs/s1600/04.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="360" data-original-width="468" src="https://4.bp.blogspot.com/-9pPIpEfow0U/Wdnhvp_Z2lI/AAAAAAAASfE/xjkM9YtvX8grFLIGF-JYFfXHcvryL5ddwCLcBGAs/s1600/04.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.4</td></tr>
</tbody></table>
5. An extrusion of a self intersection and open profile has been created - Fig.5.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-6CJyjyEpcmA/WdniO8dGBkI/AAAAAAAASfM/kv2KTmukmgs2XDMPnYrU-Xlc948-SeITgCLcBGAs/s1600/05.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="303" data-original-width="428" src="https://3.bp.blogspot.com/-6CJyjyEpcmA/WdniO8dGBkI/AAAAAAAASfM/kv2KTmukmgs2XDMPnYrU-Xlc948-SeITgCLcBGAs/s1600/05.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.5</td></tr>
</tbody></table>
<br />
Related posts:<br />
<a href="https://catia-tnt.blogspot.com/2017/02/how-to-make-all-these-corners-in-one.html" target="_blank">How to make all these corners with only one command?</a><br />
<div class="separator" style="clear: both; text-align: left;">
<a href="https://catia-tnt.blogspot.com/2017/02/how-to-make-all-these-corners-in-one.html" target="_blank"><img border="0" data-original-height="222" data-original-width="616" height="113" src="https://2.bp.blogspot.com/-cJWRYnMXB24/WKF5cwdePDI/AAAAAAAARuY/RKM0pjeqnr4x0KffMlklJpHBejA075MZgCPcBGAYYCw/s320/tit.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://catia-tnt.blogspot.com/2017/03/make-your-sketch-green.html" target="_blank">Make your sketch green</a></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://catia-tnt.blogspot.com/2017/03/make-your-sketch-green.html" target="_blank"><img border="0" data-original-height="294" data-original-width="396" height="237" src="https://3.bp.blogspot.com/-Coo_c09jwdA/WK7rNNFv3SI/AAAAAAAAR00/fKuBTfrCKNA5s-HEKr4c80K4qnBUgLBmQCPcBGAYYCw/s320/tit.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br />
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-693885945647477042017-10-01T18:01:00.002+02:002017-10-02T08:52:52.267+02:00Polygon UDF<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-lBQihxJOv_s/WKdV3c4XsZI/AAAAAAAARxc/c-T8rudg_IYdj8-Y74z0K2Qh3Y0An2LJgCPcBGAYYCw/s1600/TUTORIALS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://2.bp.blogspot.com/-lBQihxJOv_s/WKdV3c4XsZI/AAAAAAAARxc/c-T8rudg_IYdj8-Y74z0K2Qh3Y0An2LJgCPcBGAYYCw/s1600/TUTORIALS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-PJCdd1EflPE/WdERVl5NSMI/AAAAAAAASeg/USGuyyTiRnELugnXt4HirtZjUgN9QdFeACLcBGAs/s1600/TIT.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="222" data-original-width="630" src="https://1.bp.blogspot.com/-PJCdd1EflPE/WdERVl5NSMI/AAAAAAAASeg/USGuyyTiRnELugnXt4HirtZjUgN9QdFeACLcBGAs/s1600/TIT.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
The goal is to create an UDF to generate polygons. The inputs are point (center point), plane and a line (which controls orientation). The UDF allows user to change number of sides, radius of reference circle and to switch between inscribed and circumscribed polygon.<br />
<br />
Follow these steps to create a Polygon UDF.<br />
1. Create a new .CATPart, name it Polygon UDF, create two geometrical sets - Inputs and Polygon.<br />
2. In Inputs geometrical set create isolated point, plane and line.<br />
3. Create three parametres - Number of sides (type - Integer), Circle radius (type - Length), Switch (type - Integer). Drag and drop these parameters into Polygon GeoSet - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-_X4412r-b0M/WbOlv2useMI/AAAAAAAASbY/nPOG-Vv7tP46AuBkH4Ble5_fYPMKyiw0gCLcBGAs/s1600/001.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="385" data-original-width="330" src="https://1.bp.blogspot.com/-_X4412r-b0M/WbOlv2useMI/AAAAAAAASbY/nPOG-Vv7tP46AuBkH4Ble5_fYPMKyiw0gCLcBGAs/s1600/001.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />
4. Add range to the Number of sides parameter. Click RMB on it, go to ...object > Definition, in new window Edit Parameter click RMB on the value box and select Add Range..., assign minimum value - 3, maximum value for the number of sides can be also assigned - Fig.2.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-QWULUOODucc/WbOnfeYYOJI/AAAAAAAASbo/X-KY2FIdWC89um56YmJOvQr4E3fgLNIEgCLcBGAs/s1600/002.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="439" data-original-width="531" src="https://4.bp.blogspot.com/-QWULUOODucc/WbOnfeYYOJI/AAAAAAAASbo/X-KY2FIdWC89um56YmJOvQr4E3fgLNIEgCLcBGAs/s1600/002.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
5. Add Range also to the Circle radius parameter. Minimum value is 0mm, but 0 is not included.<br />
6. Add Multiple Values to the Switch parameter, multiple values are -1 and 1 - Fig.3. To add multiple values click RMB on the parameter, go to ...object > Definition, in new window Edit Parameter click RMB on the value box and select Add Multiple Values.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-rF8djX0bfr0/WbO1JOEBpsI/AAAAAAAASb4/bMwoGTdAfcwopFTS3vcoFoI9iuCOdocewCLcBGAs/s1600/003.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="303" data-original-width="253" src="https://4.bp.blogspot.com/-rF8djX0bfr0/WbO1JOEBpsI/AAAAAAAASb4/bMwoGTdAfcwopFTS3vcoFoI9iuCOdocewCLcBGAs/s1600/003.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
7. Start creating geometry in the Polygon GeoSet. Project the reference point (Point.1) on reference plane (Plane.1), name it REF PT.<br />
8. Use it as a center point to create a circle, use Plane 1 as a support, use the parameter Circle radius as a radius value - Fig.4. Name the circle REF CIRCLE.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-KDRIrJqBxhM/WdD4GlRrxRI/AAAAAAAAScI/tVN1otwpYI0ZccGcelGF7hG-yVSHtCwDACLcBGAs/s1600/004.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="342" data-original-width="471" src="https://1.bp.blogspot.com/-KDRIrJqBxhM/WdD4GlRrxRI/AAAAAAAAScI/tVN1otwpYI0ZccGcelGF7hG-yVSHtCwDACLcBGAs/s1600/004.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.4</td></tr>
</tbody></table>
9. Create a line, type Angle/Normal to curve, select Line.1 from the Inputs as a Curve, Plane.1 as a Support and REF PT from the Polygon GeoSet as a Point. Make Angle value 0deg and Start 0mm, in Length Type select Infinite End Point - Fig.5. Name the line DIRECTION.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-nqIIh8bwzeE/WdD5N2rwCwI/AAAAAAAAScQ/MBM0WYe2Q9ISo3qIdXuFKwLy-y73bEcygCLcBGAs/s1600/005.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="494" data-original-width="260" src="https://1.bp.blogspot.com/-nqIIh8bwzeE/WdD5N2rwCwI/AAAAAAAAScQ/MBM0WYe2Q9ISo3qIdXuFKwLy-y73bEcygCLcBGAs/s1600/005.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.5</td></tr>
</tbody></table>
10. Create an intersection between REF CIRCLE and DIRECTION, name it INS PT 1.<br />
11. Create a point on curve, name it INS PT 2. Curve is REF CIRCLE and Reference Point is INS PT 1, as a Distance to reference set Ratio of curve length, use following formula as Ratio (more details on Fig.6):<br />
<br />
1/`Polygon\Number of sides`<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-k2FPTcyNTao/WdD68KMss6I/AAAAAAAAScc/P9AUjgIedwUDHEqu3cxUh5Ja0rZOx_o2QCLcBGAs/s1600/006.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="433" data-original-width="622" src="https://2.bp.blogspot.com/-k2FPTcyNTao/WdD68KMss6I/AAAAAAAAScc/P9AUjgIedwUDHEqu3cxUh5Ja0rZOx_o2QCLcBGAs/s1600/006.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.6</td></tr>
</tbody></table>
12. Create a line between INS PT 1 and INS PT 2, name it INS SIDE.<br />
13. Create a middle point on INS SIDE, name it MID PT.<br />
14. Create a line on Plane.1 which is perpendicular to the INS SIDE, goes through MID PT and is infinite. Name it LINE NORMAL (Fig.7)<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-mr7fNGsd4FA/WdD7_4rYzZI/AAAAAAAASck/swvuvAFtdkclG_s-nSMghuHQrH1sad5tgCLcBGAs/s1600/007.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="503" data-original-width="584" src="https://4.bp.blogspot.com/-mr7fNGsd4FA/WdD7_4rYzZI/AAAAAAAASck/swvuvAFtdkclG_s-nSMghuHQrH1sad5tgCLcBGAs/s1600/007.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.7</td></tr>
</tbody></table>
15. Between LINE NORMAL and REF CIRCLE create an intersection. It is a multiple element, extract the near element, Reference Element is MID PT. Name it CIRCUM REF PT. See more details on Fig.8.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-S3w8w8bOMRQ/WdD98fNq5pI/AAAAAAAAScw/guvkH6Q_FSEQUH86O13AeHNprUJ86e0awCLcBGAs/s1600/008.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="337" data-original-width="449" height="240" src="https://1.bp.blogspot.com/-S3w8w8bOMRQ/WdD98fNq5pI/AAAAAAAAScw/guvkH6Q_FSEQUH86O13AeHNprUJ86e0awCLcBGAs/s320/008.PNG" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.8</td></tr>
</tbody></table>
16. Create an infinite line, Point-Direction type, Point is REF PT and Direction is Plane.1, name it ROTATION AXIS.<br />
17. Use the ROTATION AXIS as a reference for the complete crown circular pattern. Object to Pattern is the INS SIDE line, number of the instances is the Number of sides parameter - Fig.9. Name it INS PATT.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-bkXLGdLfWUQ/WdD-5w2brtI/AAAAAAAASc4/ZP8ij-2TlBsbe2LITN_qqFbMsInb65OPwCLcBGAs/s1600/009.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="397" data-original-width="386" src="https://1.bp.blogspot.com/-bkXLGdLfWUQ/WdD-5w2brtI/AAAAAAAASc4/ZP8ij-2TlBsbe2LITN_qqFbMsInb65OPwCLcBGAs/s1600/009.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.9</td></tr>
</tbody></table>
<br />
18. Join the INS SIDE and INS PATT, name the join POL INS.<br />
19. Use the POL INS to create a parallel curve. Plane.1 is the support, use the CIRCUM REF PT as a reference point, make sure that corners type is sharp (Fig.10). Name the feature POL CIRCUM.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-_GF3woA1WeE/WdEA_s_qd9I/AAAAAAAASdE/xya6iMtd5QMXHxvzNZBbNR1jSGIghvRgwCLcBGAs/s1600/010.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="414" data-original-width="599" src="https://4.bp.blogspot.com/-_GF3woA1WeE/WdEA_s_qd9I/AAAAAAAASdE/xya6iMtd5QMXHxvzNZBbNR1jSGIghvRgwCLcBGAs/s1600/010.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.10</td></tr>
</tbody></table>
20. Create a point on curve, use INS PT 1 and DIRECTION as references, name it NEAR PT and use following formula as Length:<br />
<br />
`Polygon\Switch` * `Polygon\Circle radius`<br />
<br />
21. Join POL INS and POL CIRCUM, make sure that the Check connexity option is turned off - Fig.11. Name it POL JOIN.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-8q8cqu940fk/WdECgzMXzEI/AAAAAAAASdQ/Lxl__fP-X9YgZrN7V01DG_Flu7g4jvmMgCLcBGAs/s1600/011.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="398" data-original-width="613" src="https://3.bp.blogspot.com/-8q8cqu940fk/WdECgzMXzEI/AAAAAAAASdQ/Lxl__fP-X9YgZrN7V01DG_Flu7g4jvmMgCLcBGAs/s1600/011.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.11</td></tr>
</tbody></table>
22. Create a Near feature, use POL JOIN as a Multiple Element and NEAR PT as a Reference Element. Name it POLYGON.<br />
23. Drag and drop all the formulas to the Polygon GeoSet (Fig.12), hide all geometry except REF CIRCLE and POLYGON.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-IOkR0Wybe7g/WdEEzVojCxI/AAAAAAAASdc/Ej7e7k9zcpkgOwGAVkT8FJywqDXJcgPxgCLcBGAs/s1600/012.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="260" data-original-width="455" src="https://3.bp.blogspot.com/-IOkR0Wybe7g/WdEEzVojCxI/AAAAAAAASdc/Ej7e7k9zcpkgOwGAVkT8FJywqDXJcgPxgCLcBGAs/s1600/012.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.12</td></tr>
</tbody></table>
24. Check if all parameters work correctly. It should be possible to use only integers >= 3 as the Number of sides and length >0mm as the Circle radius, changing Switch between 1 and -1 should switch the POLYGON feature between inscribed and circumscribed polygon - Fig.13.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-H2JMCbMWLOs/WdEHgVRN0BI/AAAAAAAASdo/gSyZH6jSm4kvKWTlIBBsQnEjVRmlTqEtgCLcBGAs/s1600/013.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="337" data-original-width="516" src="https://4.bp.blogspot.com/-H2JMCbMWLOs/WdEHgVRN0BI/AAAAAAAASdo/gSyZH6jSm4kvKWTlIBBsQnEjVRmlTqEtgCLcBGAs/s1600/013.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.13</td></tr>
</tbody></table>
25. To create an UDF g<span lang="EN-US">o to Insert </span><span lang="EN-US" style="font-family: "symbol"; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Symbol;">®</span><span lang="EN-US"> Knowledge Templates </span><span lang="EN-US" style="font-family: "symbol"; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Symbol;">®</span><span lang="EN-US"> User Feature...</span><br />
<div class="MsoNormal">
26. In Userfeature Definition window (Fig.14) enter a name and select Polygon Geometrical Set. Polygon should appear in Selected components and all three inputs (not more) should appear in Inputs of components.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-LW4phdca33s/WdEI1pi88ZI/AAAAAAAASd0/KoAQrYA7gWsbuxvCVDIbUk2LjFf6KijZQCLcBGAs/s1600/014.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="376" data-original-width="556" src="https://2.bp.blogspot.com/-LW4phdca33s/WdEI1pi88ZI/AAAAAAAASd0/KoAQrYA7gWsbuxvCVDIbUk2LjFf6KijZQCLcBGAs/s1600/014.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.14</td></tr>
</tbody></table>
27. Go to the tab Parameters and publish the parameters (Number of sides, Circle radius, Switch). Optionally you can go to tab Properties to a chose new icon.<br />
28. Go to Outputs tab and set POLYGON (Near Feature created in step #22) as a Main result and optionally REF CIRCLE as a second output - Fig.15. Click on OK.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-9nhfGTMAbkM/WdEK1C6yt8I/AAAAAAAASeA/u74-l5ioJc0bd7xQMULBPHyEfVODMX3MgCLcBGAs/s1600/015.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="334" data-original-width="587" src="https://2.bp.blogspot.com/-9nhfGTMAbkM/WdEK1C6yt8I/AAAAAAAASeA/u74-l5ioJc0bd7xQMULBPHyEfVODMX3MgCLcBGAs/s1600/015.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.15</td></tr>
</tbody></table>
29. Save the file and close it. The UDF can be used now.<br />
<br />
Related posts:<br />
<div style="text-align: left;">
<a href="https://catia-tnt.blogspot.com/2017/02/thequestion-is-how-to-extrapolate.html" target="_blank">How to extrapolate this is one step</a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://catia-tnt.blogspot.com/2017/02/thequestion-is-how-to-extrapolate.html" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" target="_blank"><img border="0" data-original-height="261" data-original-width="630" height="131" src="https://2.bp.blogspot.com/-A86c4jjaB1U/WJySX1SbODI/AAAAAAAARps/6gZ_RUAFYegnrR5PJuw-qwg97m_dhLOcwCPcBGAYYCw/s320/tit.PNG" width="320" /></a></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br />
<a href="https://catia-tnt.blogspot.com/2017/04/measuring-bend-radius.html" target="_blank">Measuring bend radius</a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://catia-tnt.blogspot.com/2017/04/measuring-bend-radius.html" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" target="_blank"><img border="0" data-original-height="229" data-original-width="397" height="184" src="https://2.bp.blogspot.com/-VLEgsqD77pM/WLGut8L1oqI/AAAAAAAAR1s/yFgzz-qiYOop2SgREPXXJVMPMuY00uYDACPcBGAYYCw/s320/Przechwytywanie.PNG" width="320" /></a></div>
<div style="text-align: left;">
<br /></div>
</div>
mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-82226461744319723032017-08-20T16:41:00.003+02:002017-08-20T16:41:43.824+02:0011 373 076 to 1<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-_s4-gv7DrM4/WKHhNASIjOI/AAAAAAAARvk/hkMU8a4ID8UQR2z8Y4oud7eCU9vIJEgCwCPcBGAYYCw/s1600/OFFTOPIC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-_s4-gv7DrM4/WKHhNASIjOI/AAAAAAAARvk/hkMU8a4ID8UQR2z8Y4oud7eCU9vIJEgCwCPcBGAYYCw/s1600/OFFTOPIC.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/kYmUJVE6Vo0/0.jpg" src="https://www.youtube.com/embed/kYmUJVE6Vo0?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-60566493664232551102017-08-12T12:34:00.002+02:002017-09-12T08:52:34.537+02:00Customizing assembly structure nodes<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-49pcw9lYq9I/WY6oW5090bI/AAAAAAAASZM/wMimGIIKtYgwRY3-nTVvB3RW6tGxdfUGwCLcBGAs/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="110" data-original-width="630" src="https://2.bp.blogspot.com/-49pcw9lYq9I/WY6oW5090bI/AAAAAAAASZM/wMimGIIKtYgwRY3-nTVvB3RW6tGxdfUGwCLcBGAs/s1600/tit.PNG" /></a></div>
<br />
<a name='more'></a>By default CATIA display product instances as:<br />
<br />
Part Number (Instance Name)<br />
<br />
and products as:<br />
<br />
Part Number<br />
<br />
To dispaly other properties and customize the nodes follow these steps:<br />
<br />
1. Go to Tools>Options>Infrastructure>Product Structure>Nodes Customization<br />
2. Check the Customized display option [1] and go to Configure... [2] - Fig.1<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-6QpwVYITSiE/WY6-Vcn6rBI/AAAAAAAASZw/fvYDP11C2wsO2LkFlYPbCpitPQQ0d9haQCLcBGAs/s1600/01.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="331" data-original-width="600" src="https://3.bp.blogspot.com/-6QpwVYITSiE/WY6-Vcn6rBI/AAAAAAAASZw/fvYDP11C2wsO2LkFlYPbCpitPQQ0d9haQCLcBGAs/s1600/01.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: left;">
3. In the new window Configure customized display you can choose between the default properties and add your own text, like in the example on Fig.2</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-zpR4YS4AJcM/WY6_j8-TkZI/AAAAAAAASZ8/Ug9yS-vbcQA6iFmA7YkxVk2oxHqaGKKiQCLcBGAs/s1600/02.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="380" data-original-width="324" src="https://4.bp.blogspot.com/-zpR4YS4AJcM/WY6_j8-TkZI/AAAAAAAASZ8/Ug9yS-vbcQA6iFmA7YkxVk2oxHqaGKKiQCLcBGAs/s1600/02.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
4. Applying these settings will change node name as shown on Fig.3<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-gyipVH2reTw/WY7DtfqtXOI/AAAAAAAASaI/Exx6FRw4xdkJKfxLirFGsWhQNXSOgztFgCLcBGAs/s1600/03.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="97" data-original-width="620" src="https://2.bp.blogspot.com/-gyipVH2reTw/WY7DtfqtXOI/AAAAAAAASaI/Exx6FRw4xdkJKfxLirFGsWhQNXSOgztFgCLcBGAs/s1600/03.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
<br />
<div>
It is also possible to define other properties of the product and display them. To define new properties do following:</div>
<div>
<br /></div>
<div>
1. Open a part in a new window and open its properties. In the Product tab click on Define other properties... - Fig.4</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-RvmfBtbPb00/WY7PTqg2hPI/AAAAAAAASaY/JZAm0QRAPiIaDknFyMhTAqfadwxO3N3dACLcBGAs/s1600/04.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="544" data-original-width="576" src="https://2.bp.blogspot.com/-RvmfBtbPb00/WY7PTqg2hPI/AAAAAAAASaY/JZAm0QRAPiIaDknFyMhTAqfadwxO3N3dACLcBGAs/s1600/04.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.4</td></tr>
</tbody></table>
<div>
2. In the new window - Fig.5 - choose a type of the parameter[1], create it [2], assign name [3] and value [4].</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-qXkaUu98Seo/WY7QbW9pO2I/AAAAAAAASag/WhTmBO5-HBUmnkmzb-KhXDHWRmG1sH_SwCLcBGAs/s1600/05.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="369" data-original-width="482" src="https://4.bp.blogspot.com/-qXkaUu98Seo/WY7QbW9pO2I/AAAAAAAASag/WhTmBO5-HBUmnkmzb-KhXDHWRmG1sH_SwCLcBGAs/s1600/05.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.5</td></tr>
</tbody></table>
3. Go back to the assembly and open the options again (Fig.1)<br />
<div>
4. The new created parameter will not appear in the Configure customized display window, to display the new property type:</div>
<div>
<br /></div>
<div>
#@PARAMETER_NAME@#</div>
<div>
<br /></div>
<div>
as shown on the example - Fig.6</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-cv2JgkIsdzQ/WY7SmwNeKkI/AAAAAAAASas/m9YJcphRCEsWQhiYh_xOVyqzIqbvSsszACLcBGAs/s1600/06.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="380" data-original-width="324" src="https://2.bp.blogspot.com/-cv2JgkIsdzQ/WY7SmwNeKkI/AAAAAAAASas/m9YJcphRCEsWQhiYh_xOVyqzIqbvSsszACLcBGAs/s1600/06.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.6</td></tr>
</tbody></table>
<div>
5. Value of the user defined property has been displayed - Fig.7</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-MuXOJk0hKFg/WY7TDomThII/AAAAAAAASaw/yh56qlr57uoJ4E7qPB8C-Zz3pQ_luL0ywCLcBGAs/s1600/07.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="97" data-original-width="371" src="https://3.bp.blogspot.com/-MuXOJk0hKFg/WY7TDomThII/AAAAAAAASaw/yh56qlr57uoJ4E7qPB8C-Zz3pQ_luL0ywCLcBGAs/s1600/07.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.7</td></tr>
</tbody></table>
<br />
<br />
It is also possible to set a character limit for the tree items, to avoid displaying too long names.<br />
<div>
<br /></div>
<div>
1. Go to Tools>Options>General>Display>Tree Appearance and set the limit.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-RyNCc63qBDM/WY7XxCvKphI/AAAAAAAASbA/rQtFC7LdFyYmx13mSMpxsghNXadp6lVXQCLcBGAs/s1600/075.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="286" data-original-width="595" src="https://3.bp.blogspot.com/-RyNCc63qBDM/WY7XxCvKphI/AAAAAAAASbA/rQtFC7LdFyYmx13mSMpxsghNXadp6lVXQCLcBGAs/s1600/075.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.8</td></tr>
</tbody></table>
2. Names of the tee items have been reduce - Fig.9<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-oO71DmKT72M/WY7YKWOMrTI/AAAAAAAASbI/64TaSFwyUXMo8cWBoRWOJnJWk_sZRDV1ACLcBGAs/s1600/08.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="257" data-original-width="560" src="https://3.bp.blogspot.com/-oO71DmKT72M/WY7YKWOMrTI/AAAAAAAASbI/64TaSFwyUXMo8cWBoRWOJnJWk_sZRDV1ACLcBGAs/s1600/08.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.9</td></tr>
</tbody></table>
<div>
<div>
<br /></div>
</div>
mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-25229589555003993592017-08-09T08:59:00.000+02:002017-09-12T08:53:19.760+02:00Hiding planes in assembly<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-iRYe_AbjAlw/WYqsKA0yZ3I/AAAAAAAASY0/usMtFMAt52cVbIffrY1g1MA-J5seYfMCgCLcBGAs/s1600/tit778.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="299" data-original-width="630" src="https://1.bp.blogspot.com/-iRYe_AbjAlw/WYqsKA0yZ3I/AAAAAAAASY0/usMtFMAt52cVbIffrY1g1MA-J5seYfMCgCLcBGAs/s1600/tit778.PNG" /></a></div>
<br />
<br />
<a name='more'></a>Hiding planes, axis systems and other elements is really easy on a part design level. To show or hide this elements go to Tools>Show or Tools>Hide and select type of geometry to be shown or hidden. <br />
<br />
Unfortunately this command is not supported on an assembly level.<br />
To show or hide different types of geometry on an assembly level do the following steps:<br />
<br />
1. Select the elements to show/hide - type in a power input field:<br />
<br />
t:XXX,all<br />
<br />
where XXX is a type of the element you want to select.<br />
Examples:<br />
<br />
t:plane,all<br />
t:point,all<br />
t:axis system,all (Fig.1)<br />
<br />
To select only this elements which are visible add " & vis:visible", example:<br />
<br />
t:plane & vis:visible,all<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-_OdeHH97NPg/WYqsRAXRN1I/AAAAAAAASY4/yykfUagI4Y4Vm52Bm6M_lLFD0X11xb9HQCLcBGAs/s1600/001.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="397" data-original-width="457" src="https://1.bp.blogspot.com/-_OdeHH97NPg/WYqsRAXRN1I/AAAAAAAASY4/yykfUagI4Y4Vm52Bm6M_lLFD0X11xb9HQCLcBGAs/s1600/001.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />
2. Elements to be shown/hidden are selected, you can use a Hide/Show command or a customized Hide/Shown Button (<a href="https://catia-tnt.blogspot.com/2017/02/blog-post.html" target="_blank">Learn more here</a>).<br />
<br />
3. Selected elements have been hidden - Fig 2.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-e5CX3wXgh90/WYqsX3P3cJI/AAAAAAAASY8/aBWu_VJE-qkzNwNdlu6yyErd3GcMDBxiQCLcBGAs/s1600/002.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="315" data-original-width="425" src="https://2.bp.blogspot.com/-e5CX3wXgh90/WYqsX3P3cJI/AAAAAAAASY8/aBWu_VJE-qkzNwNdlu6yyErd3GcMDBxiQCLcBGAs/s1600/002.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
<br />
<br />
<br />
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-14453260749518749712017-06-16T14:25:00.000+02:002017-06-16T14:25:22.760+02:00Default views with one click<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMjQFW8UOWfQoVXSH-2VFuZwCPcBGAYYCw/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-qLsSjRsjJsg/WUPMiwgB9FI/AAAAAAAASFw/aEXQuL67F98y1h00FoYok5h1iB7VZeEFQCLcBGAs/s1600/tit2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="200" data-original-width="630" src="https://2.bp.blogspot.com/-qLsSjRsjJsg/WUPMiwgB9FI/AAAAAAAASFw/aEXQuL67F98y1h00FoYok5h1iB7VZeEFQCLcBGAs/s1600/tit2.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
You can set a view normal to the compass direction by clicking on one of the axis name.mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-33041283051613582112017-06-05T22:57:00.002+02:002017-06-07T12:58:15.385+02:00Reordering bodies<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-ZjeCvSF2QgA/WP2r1nx2vDI/AAAAAAAASDI/Wp7eEJfh5n8mmmUXhMnzvDlEmYSxp6JxwCLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-ZjeCvSF2QgA/WP2r1nx2vDI/AAAAAAAASDI/Wp7eEJfh5n8mmmUXhMnzvDlEmYSxp6JxwCLcB/s1600/tit.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
How to reorder bodies in a specification tree.</div>
<div>
<a name='more'></a></div>
To reorder bodies (or any other element on a first level) in a specification tree follow these steps:<br />
<div>
1. Click RMB on the top element of the three, expand the ...object tab - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-aY6iQKok3V8/WPhAak-fAOI/AAAAAAAASC0/Y8nGWl8j2zo6GTXCZKHs9IJgjGHxhSyXgCLcB/s1600/fig1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/-aY6iQKok3V8/WPhAak-fAOI/AAAAAAAASC0/Y8nGWl8j2zo6GTXCZKHs9IJgjGHxhSyXgCLcB/s1600/fig1.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br /></div>
<div>
2. Select Reorder Children.</div>
<div>
3. In the new window - Reorder Children - use the arrows to organize the tree - Fig.2.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-3fqc_AcqoC0/WPhAjAdCfRI/AAAAAAAASC4/IDQPBwus044D-xzj0S6TjxEU4sj-dFwxACLcB/s1600/fig2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-3fqc_AcqoC0/WPhAjAdCfRI/AAAAAAAASC4/IDQPBwus044D-xzj0S6TjxEU4sj-dFwxACLcB/s1600/fig2.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
<br /></div>
mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-63044840337045680262017-06-01T08:00:00.000+02:002017-10-16T10:25:04.703+02:00Extracting geometry from CGR<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="17" data-original-width="630" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-eyKJVvRt_fA/WSqb8ldWJRI/AAAAAAAASFc/7Tw2QDH5zRAkFLrlfFdqUmMrvEJK3uaxgCLcB/s1600/tit3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="190" data-original-width="630" src="https://3.bp.blogspot.com/-eyKJVvRt_fA/WSqb8ldWJRI/AAAAAAAASFc/7Tw2QDH5zRAkFLrlfFdqUmMrvEJK3uaxgCLcB/s1600/tit3.png" /></a></div>
<br />
<a name='more'></a><br />
The acronym CGR stands for Catia Graphics Representation, it is a tessellated file format similar to .stl, which you are probably more familiar with. Data in this format cannot be simply read by CATIA in a way, that allows user to extract, measure* or export a geometry.<br />
To do so, you have to use a dedicated tools or a "trick". In this post I will try to present some of these tricks.<br />
(*measure exact values)<br />
<br />
<b>I. Extracting geometry from .cgr using Measure Item</b><br />
<br />
This is the simplest way, but also the least powerful (only points and lines can be extracted). Assembly Design workbench is required.<br />
<br />
1. Create a new CATProduct or use existing one.<br />
2. Insert to this product an existing file in .cgr format - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-mgJwXmILwjE/WSgnJte4xgI/AAAAAAAASEc/HKd0T8zJf6AqntDh2prSLONe5BUCJIvhACLcB/s1600/01.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="188" data-original-width="287" src="https://3.bp.blogspot.com/-mgJwXmILwjE/WSgnJte4xgI/AAAAAAAASEc/HKd0T8zJf6AqntDh2prSLONe5BUCJIvhACLcB/s1600/01.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
3. Use Measure Item tool from Measure toolbar, select Exact else approximate as a Calculation mode - Fig.2.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-0ur4h9seo9M/WSgnJ83N_4I/AAAAAAAASEg/1OxtaQu7LB44sruKEu2ixIZoHUeUXB2ngCEw/s1600/02.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="305" data-original-width="376" src="https://4.bp.blogspot.com/-0ur4h9seo9M/WSgnJ83N_4I/AAAAAAAASEg/1OxtaQu7LB44sruKEu2ixIZoHUeUXB2ngCEw/s1600/02.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
4. Now you can measure any curve and extract its end points.<br />
5. To extract points click on Create geometry button in Measure Item window.<br />
6. In the new window - Geometry Creation - you can create a new CATPart or select existing one to insert the geometry - Fig.3. To create a new Part just click on OK.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-6449Ycjv4DM/WSgnJp_B6MI/AAAAAAAASEw/-nbiK3iUcXgl6Nz5YIgrS2HJr7aRzPKtQCEw/s1600/03.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="146" data-original-width="324" src="https://1.bp.blogspot.com/-6449Ycjv4DM/WSgnJp_B6MI/AAAAAAAASEw/-nbiK3iUcXgl6Nz5YIgrS2HJr7aRzPKtQCEw/s1600/03.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
7. Select first point or/and second point and click OK - Fig.4.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-LHin9JjtU2M/WSgnKPmgQTI/AAAAAAAASEk/Ork88UZsZ9kFvlwdHaKYAqLlphRRIpPWwCEw/s1600/04.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="154" data-original-width="334" src="https://4.bp.blogspot.com/-LHin9JjtU2M/WSgnKPmgQTI/AAAAAAAASEk/Ork88UZsZ9kFvlwdHaKYAqLlphRRIpPWwCEw/s1600/04.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.4</td></tr>
</tbody></table>
8. Points have been extracted from a CGR file - Fig.5.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-Bc7ORGQL2ks/WSgnKb8qBOI/AAAAAAAASEo/IT68p_mvGIshKhlVthSveaMJrsxNH0xKACEw/s1600/05.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="247" data-original-width="302" src="https://4.bp.blogspot.com/-Bc7ORGQL2ks/WSgnKb8qBOI/AAAAAAAASEo/IT68p_mvGIshKhlVthSveaMJrsxNH0xKACEw/s1600/05.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.5</td></tr>
</tbody></table>
<br />
<b>II. Extracting geometry from .cgr using DMU Optimizer tools</b><br />
<br />
With this method a .cgr file is saved as a surface model, DMU Optimizer workbench is required.<br />
<br />
1. Insert a .cgr file into CATProduct - Fig.1.<br />
2. Open DMU Optimizer workbench and look for a DMU Optimizer toolbar shown on Fig.6.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-fP24rLRhHrQ/WSgnK5exEWI/AAAAAAAASEs/5UPyCx0ZMGYmdFWM13Vh8wA9D8npoQi0QCEw/s1600/06.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="66" data-original-width="309" src="https://2.bp.blogspot.com/-fP24rLRhHrQ/WSgnK5exEWI/AAAAAAAASEs/5UPyCx0ZMGYmdFWM13Vh8wA9D8npoQi0QCEw/s1600/06.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.6</td></tr>
</tbody></table>
3. Either command Silhouette or Offset can be used. Silhouette offers a simplification option and accuracy parameter, in case of Offset, an offset value should be 0mm. Use one of this tool and select a .cgr model from the tree - Fig.7. Click on the Save button.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-fkmrcSIIfQA/WSgnLKFXPpI/AAAAAAAASE0/gtrv_tnlpuwSCGegbU7ccQIWvHdXekuVACEw/s1600/07.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="284" data-original-width="575" src="https://4.bp.blogspot.com/-fkmrcSIIfQA/WSgnLKFXPpI/AAAAAAAASE0/gtrv_tnlpuwSCGegbU7ccQIWvHdXekuVACEw/s1600/07.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.7</td></tr>
</tbody></table>
4. Choose a destination and save as type: model (*.model) - Fig.8.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-chjdKnii59A/WSgnLbj9_eI/AAAAAAAASE8/tdx7vIRXlmUbX4FDJI4_B07rsmwhO5lygCEw/s1600/08.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="121" data-original-width="568" src="https://2.bp.blogspot.com/-chjdKnii59A/WSgnLbj9_eI/AAAAAAAASE8/tdx7vIRXlmUbX4FDJI4_B07rsmwhO5lygCEw/s1600/08.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.8</td></tr>
</tbody></table>
5. Open in CATIA the .model file from the previous step.<br />
6. Double click on *Master and copy *SET1 - Fig.9.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-p04YfQFIFHI/WSgnLq54ZDI/AAAAAAAASFI/lQkNbZW6Eu04IukD4q_kQbEdE5iugY0cACEw/s1600/09.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="447" data-original-width="301" src="https://2.bp.blogspot.com/-p04YfQFIFHI/WSgnLq54ZDI/AAAAAAAASFI/lQkNbZW6Eu04IukD4q_kQbEdE5iugY0cACEw/s1600/09.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.9</td></tr>
</tbody></table>
7. Open a new CATPart and paste special the copied set as a CATIA_RESULT into geometrical set - Fig.10.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-d0T_Bpc4lqs/WSgnLz20knI/AAAAAAAASFI/6Z76dMMLWXskG7Uwpt_QsZTHmP_JiJccwCEw/s1600/10.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="186" data-original-width="301" src="https://1.bp.blogspot.com/-d0T_Bpc4lqs/WSgnLz20knI/AAAAAAAASFI/6Z76dMMLWXskG7Uwpt_QsZTHmP_JiJccwCEw/s1600/10.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.10</td></tr>
</tbody></table>
8. Surfaces have been extracted from a CGR file - Fig.11.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-juuot-E5CKc/WSgnMKjmhZI/AAAAAAAASFI/XSXIqH26mdwLWZOUbahpBoziy2WvtM7kQCEw/s1600/11.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="472" data-original-width="621" height="304" src="https://3.bp.blogspot.com/-juuot-E5CKc/WSgnMKjmhZI/AAAAAAAASFI/XSXIqH26mdwLWZOUbahpBoziy2WvtM7kQCEw/s400/11.PNG" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.11</td></tr>
</tbody></table>
<br />
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-67114752100183358262017-05-25T10:20:00.002+02:002017-05-31T08:51:06.442+02:00Parameters on Drawing<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-UhMFqiD3TmU/WSaTU7nzxQI/AAAAAAAASEE/SfOzar9_qXwEJlJfU2sTuNHA2clkQnLSACLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="249" data-original-width="629" src="https://4.bp.blogspot.com/-UhMFqiD3TmU/WSaTU7nzxQI/AAAAAAAASEE/SfOzar9_qXwEJlJfU2sTuNHA2clkQnLSACLcB/s1600/tit.PNG" /></a></div>
How to create a text annotations linked to the parameters.<br />
<a name='more'></a><br />
To link a parameter from CATPart with a text annotation on CATDrawing follow these steps.<br />
1. Create a part and a drawing from it.<br />
2. Create a parameter in the part - in this case it is a measured mass value - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-omVFegcTVgw/WSaP2uUqQxI/AAAAAAAASD0/LhiHns3EiV0rAQ3IUIrTqHFv-Z8aFYhOQCLcB/s1600/001.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="248" data-original-width="209" src="https://3.bp.blogspot.com/-omVFegcTVgw/WSaP2uUqQxI/AAAAAAAASD0/LhiHns3EiV0rAQ3IUIrTqHFv-Z8aFYhOQCLcB/s1600/001.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />
3. Go to the drawing and create a text box (Insert>Annotations>Text>Text). Keep the text editor open, click with a RMB on that text box and select from the context menu Attribute link - Fig.2.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-ilYd5qX_i14/WSaP2tMLezI/AAAAAAAASDw/Q32XJqvshY8wG-klZYSqb6TnkZKy2cJVwCEw/s1600/002.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="353" data-original-width="424" src="https://2.bp.blogspot.com/-ilYd5qX_i14/WSaP2tMLezI/AAAAAAAASDw/Q32XJqvshY8wG-klZYSqb6TnkZKy2cJVwCEw/s1600/002.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
<br />
4. Switch to the part and select a paramter.<br />
5. A new window - Attribute Link Panel - should appear, select the parameter and click OK - Fig.3.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-lQzjJW9a3w8/WSaP2lrc8oI/AAAAAAAASDs/thSWdggE1HgLSoRTPAWoVSOgTHbv4mQRwCEw/s1600/003.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="226" data-original-width="416" src="https://3.bp.blogspot.com/-lQzjJW9a3w8/WSaP2lrc8oI/AAAAAAAASDs/thSWdggE1HgLSoRTPAWoVSOgTHbv4mQRwCEw/s1600/003.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
<br />
6. An assocative note on the drawing has been created, parametr from the text is linked to the parameter in part - Fig.4.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-SA1KvhiCo_A/WSaP3ACM-QI/AAAAAAAASD4/6JSvuywC94w3-ZAPGQ-XYHB_Y6lGz7HXACEw/s1600/004.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="503" data-original-width="546" src="https://1.bp.blogspot.com/-SA1KvhiCo_A/WSaP3ACM-QI/AAAAAAAASD4/6JSvuywC94w3-ZAPGQ-XYHB_Y6lGz7HXACEw/s1600/004.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.4</td></tr>
</tbody></table>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-9822152338860673582017-05-10T07:01:00.000+02:002017-05-10T07:01:34.621+02:00A hole in a hole in a hole<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-_s4-gv7DrM4/WKHhNASIjOI/AAAAAAAARvk/hkMU8a4ID8UIjzQLZJk0gmdG93hPdo0wQCPcB/s1600/OFFTOPIC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-_s4-gv7DrM4/WKHhNASIjOI/AAAAAAAARvk/hkMU8a4ID8UIjzQLZJk0gmdG93hPdo0wQCPcB/s1600/OFFTOPIC.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-HNXP_p_GL9U/WK_Vwdh5jPI/AAAAAAAAR1Q/7_TkKf0Mv_sBVFeLkyrJ4IuJYO5Sc8eUgCLcB/s1600/tit.PNG.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://4.bp.blogspot.com/-HNXP_p_GL9U/WK_Vwdh5jPI/AAAAAAAAR1Q/7_TkKf0Mv_sBVFeLkyrJ4IuJYO5Sc8eUgCLcB/s1600/tit.PNG.bmp" /></a></div>
<br />
What does it mean in terms of topology? Is that possible?<br />
<br />
<a name='more'></a>Watch the attached video to learn more.<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/k8Rxep2Mkp8/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/k8Rxep2Mkp8?feature=player_embedded" width="320"></iframe></div>
<br />
Let's take a look inside - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-AAwVeJfZR80/WK_WDYnvmBI/AAAAAAAAR1U/QZhNFTaOnW0LMw8q9WzDNXilKtb0LdQ7gCLcB/s1600/fig1.bmp" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-AAwVeJfZR80/WK_WDYnvmBI/AAAAAAAAR1U/QZhNFTaOnW0LMw8q9WzDNXilKtb0LdQ7gCLcB/s1600/fig1.bmp" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-403144362709422692017-05-02T06:35:00.000+02:002017-05-02T06:35:57.200+02:00Entering values in any unit<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-BxtItBimsSA/WQCLe9zfDrI/AAAAAAAASDY/24CDx7VodwsvOKY6p8LVwt1qsJsAkZTqgCLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-BxtItBimsSA/WQCLe9zfDrI/AAAAAAAASDY/24CDx7VodwsvOKY6p8LVwt1qsJsAkZTqgCLcB/s1600/tit.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
CATIA allows user to enter values in units other than default ones. Values will be converted automatically.mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-19818201543286652462017-04-24T06:56:00.000+02:002017-04-26T14:45:59.166+02:00Naming Constrains in Sketch<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-6M1rs0Go1gY/WJ3l8BNQB9I/AAAAAAAARrw/pcjtmw4VuOc7rBQmdqfF2eXHUGBNhkPHwCPcB/s1600/GOODPRACTICES.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-6M1rs0Go1gY/WJ3l8BNQB9I/AAAAAAAARrw/pcjtmw4VuOc7rBQmdqfF2eXHUGBNhkPHwCPcB/s1600/GOODPRACTICES.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-97UpCWm0MAs/WOiqFWw2x_I/AAAAAAAASB4/ncsYA70tytEJYZy-HXlpJ3xcaDZfVfRwwCLcB/s1600/455.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://4.bp.blogspot.com/-97UpCWm0MAs/WOiqFWw2x_I/AAAAAAAASB4/ncsYA70tytEJYZy-HXlpJ3xcaDZfVfRwwCLcB/s1600/455.bmp" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<a name='more'></a>It is always a good practice to name the features to make them easier to find, recognize and understand, at least the most important features and parameters.</div>
<div>
<br /></div>
<div>
Sometimes it might be also preferred to name the constraints within a sketch, especially in case of very complex sketches. To modify and display a name of any dimension follow these steps.</div>
<div>
<br /></div>
<div>
1. Create a constrain and go to it's properties - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-e1OUnInnNlg/WNz1fNN4WAI/AAAAAAAASAQ/lE-L3KVNnPowJXOi9a0Oudoqs4cJzzisgCLcB/s1600/000001.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-e1OUnInnNlg/WNz1fNN4WAI/AAAAAAAASAQ/lE-L3KVNnPowJXOi9a0Oudoqs4cJzzisgCLcB/s1600/000001.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
2. Change the Feature Name in the Feature Properties tab - Fig.2.</div>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-278RUSZZo4I/WNz1nGGaE5I/AAAAAAAASAU/ey3bSPwHwBwZYeEZ_FwBDkXOPJ86iLJvACLcB/s1600/000002.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/-278RUSZZo4I/WNz1nGGaE5I/AAAAAAAASAU/ey3bSPwHwBwZYeEZ_FwBDkXOPJ86iLJvACLcB/s1600/000002.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
<div>
3. To display the name click RMB on the constrain, open the ... object tab and choose Name/Value Display. Three settings are available - Name Display, Value Display and Name/Value Display.</div>
<div>
4. The name and the value of a constrain have been shown - Fig.3.</div>
<br /><table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-SUD0wd40FoA/WNz1spBppOI/AAAAAAAASAY/5w0HnOEslek4lEPhDIk8qMHmynGqmoecwCLcB/s1600/000003.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-SUD0wd40FoA/WNz1spBppOI/AAAAAAAASAY/5w0HnOEslek4lEPhDIk8qMHmynGqmoecwCLcB/s1600/000003.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-82186030096231039662017-04-20T07:56:00.000+02:002017-04-20T07:56:16.466+02:00Chordal Fillet<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-6M1rs0Go1gY/WJ3l8BNQB9I/AAAAAAAARrw/pcjtmw4VuOc7rBQmdqfF2eXHUGBNhkPHwCPcB/s1600/GOODPRACTICES.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-6M1rs0Go1gY/WJ3l8BNQB9I/AAAAAAAARrw/pcjtmw4VuOc7rBQmdqfF2eXHUGBNhkPHwCPcB/s1600/GOODPRACTICES.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-iklAMo_tPZo/WOPGLIq9PwI/AAAAAAAASA8/GJ2Rsvk9lK07fYOg7SQWvOnDglvEOQhigCLcB/s1600/TIT.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-iklAMo_tPZo/WOPGLIq9PwI/AAAAAAAASA8/GJ2Rsvk9lK07fYOg7SQWvOnDglvEOQhigCLcB/s1600/TIT.PNG" /></a></div>
<br />
<a name='more'></a><br />
In case of a geometry (e.g. depressions) where one of the faces has much bigger angle than the others it is worth to consider using a chordal fillet.<br />
When a regular Edge Fillet or Shape Fillet is created, a constant radius value is propagated - Fig.1. A Chordal Fillet creates a geometry with a constant chord length - Fig.2. In first case, the surface created between the base surface and the depression becomes very small, because of the large angle. Therefore using chordal fillet might give more aesthetic result in some cases.<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-IS2TfHVv7v4/WOPGLBkVTMI/AAAAAAAASBI/RyrU_gmD8rQF-NHLwfp3X5DrD8fZayjEQCEw/s1600/01.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-IS2TfHVv7v4/WOPGLBkVTMI/AAAAAAAASBI/RyrU_gmD8rQF-NHLwfp3X5DrD8fZayjEQCEw/s1600/01.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-DAMPcOgEmv8/WOPIO30wtJI/AAAAAAAASBQ/HDm6_ogxMAM7pXXVvJeBH_TVO9xWxGUOACEw/s1600/02.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-DAMPcOgEmv8/WOPIO30wtJI/AAAAAAAASBQ/HDm6_ogxMAM7pXXVvJeBH_TVO9xWxGUOACEw/s1600/02.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-57296802561140382052017-04-12T07:46:00.000+02:002017-04-12T07:46:45.552+02:00Graphic Performance Test<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-NeNZu5ihulU/WOjEPYGBJ5I/AAAAAAAASCg/fu-ED8NTjGwNEFsO8MnNZFd6nF_zXRuWgCLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-NeNZu5ihulU/WOjEPYGBJ5I/AAAAAAAASCg/fu-ED8NTjGwNEFsO8MnNZFd6nF_zXRuWgCLcB/s1600/tit.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
To perform a graphic (rotation) performance test in CATIA paste the following command into command line (Fig.1):<br />
c:testvisuperfodraw<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-U3AYtmVXOII/WOi6x1fs5JI/AAAAAAAASCI/jbzTxbOQFfMK7DmbEhSuweBV8KgtvHRbACLcB/s1600/fig1.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-U3AYtmVXOII/WOi6x1fs5JI/AAAAAAAASCI/jbzTxbOQFfMK7DmbEhSuweBV8KgtvHRbACLcB/s1600/fig1.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />
In the new window - Rotation Performance - you can choose the rotation axis, enter parameters and choose between static and dynamic mode (Fig.2). The output is the visualization time. You can compare this value for different settings.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-GKqH7KIn2xI/WOi6x9g2EtI/AAAAAAAASCQ/6fzioYmMId0oFdcZQQXNviWTMOV6sJpKgCEw/s1600/fig2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-GKqH7KIn2xI/WOi6x9g2EtI/AAAAAAAASCQ/6fzioYmMId0oFdcZQQXNviWTMOV6sJpKgCEw/s1600/fig2.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
Example (Fig.3).<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-RHH-fyjnrx0/WOi6xyiYIwI/AAAAAAAASCM/UlahXg_h7No4YyvT23p44jCzVwL5RmcyQCEw/s1600/fig3.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/-RHH-fyjnrx0/WOi6xyiYIwI/AAAAAAAASCM/UlahXg_h7No4YyvT23p44jCzVwL5RmcyQCEw/s1600/fig3.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
<br />
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-10124750075675924162017-04-08T10:36:00.003+02:002017-04-08T10:36:55.122+02:00K-dron<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-RYYTFj6R06M/WKHhFBnMlcI/AAAAAAAARvk/HAHJx9qM5o8baUse7XMBsh43cvcfndnqQCPcB/s1600/OFFTOPIC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-RYYTFj6R06M/WKHhFBnMlcI/AAAAAAAARvk/HAHJx9qM5o8baUse7XMBsh43cvcfndnqQCPcB/s1600/OFFTOPIC.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-qDiKaIV6sHc/WOig-uUvoII/AAAAAAAASBg/uWDHA7Yk20w-BjfdzM2m-jkTkNZwhoUpgCLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-qDiKaIV6sHc/WOig-uUvoII/AAAAAAAASBg/uWDHA7Yk20w-BjfdzM2m-jkTkNZwhoUpgCLcB/s1600/tit.PNG" /></a></div>
An eleven-sided spatial form with unique optical, acoustical and structural properties, discovered by Janusz Kapusta.<br />
<br />
<a name='more'></a>Visit <a href="http://www.k-dron.com/" target="_blank">the K-dron website</a> and watch the attached video to learn more about this unique shape.<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/LYzesU84nDc/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/LYzesU84nDc?feature=player_embedded" width="320"></iframe></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-23912630504679063882017-04-04T17:31:00.002+02:002017-04-04T17:33:05.117+02:00Measuring a bend radius<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-r37ba6gMV1c/WJySX_Hii9I/AAAAAAAARps/h0uBMvTuI1wf73s2dpwfzd8846YrkmgYQCPcB/s1600/tutor.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-r37ba6gMV1c/WJySX_Hii9I/AAAAAAAARps/h0uBMvTuI1wf73s2dpwfzd8846YrkmgYQCPcB/s1600/tutor.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-VLEgsqD77pM/WLGut8L1oqI/AAAAAAAAR1o/FmyG0tweHo8iwkMNcq84h9UsNKFlhfSGACLcB/s1600/Przechwytywanie.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-VLEgsqD77pM/WLGut8L1oqI/AAAAAAAAR1o/FmyG0tweHo8iwkMNcq84h9UsNKFlhfSGACLcB/s1600/Przechwytywanie.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
How to measure a tube's bend radius on an isolated body.</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
If you have ever worked with an imported geometry of a tube, you probably know, that CATIA doesn't provide any tool to measure a bend radius. If there is no centerline, measuring a bend radius or centerline radius requires an extra geometry.<br />
Our target is to create an UDF, which can be used for measuring bend radius, center line radius and bend angle of a dead geometry of a tube.<br />
<br />
1. Let's start with a new CATPart, name it Bend Radius. Create 3 GeoSets, name them Tube, Inputs and Bend Radius Measuring.<br />
<br />
2. In the Tube GeoSet define 3 points at any reasonable coordinates. Using these three points create a polyline and assign a radius - Fig.1.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-ArKE3dtnCHk/WLKPGFcg5QI/AAAAAAAAR14/l-qw8fxkzMIrfjVaIlCL6TbS8pC0DsTsQCLcB/s1600/fig.1.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/-ArKE3dtnCHk/WLKPGFcg5QI/AAAAAAAAR14/l-qw8fxkzMIrfjVaIlCL6TbS8pC0DsTsQCLcB/s1600/fig.1.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
3. Now create a swept surface along the polyline. Profile type - Circle, Subtype - Center and radius, assign any reasonable radius, in my case it is 10mm.<br />
<br />
4. Go to Input GeoSet and Extract two edges of the surface like it is shown on the Fig.2.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-N3J8ZonVsPQ/WLKS3vBEm6I/AAAAAAAAR2I/vLerd9dOO-Uw_de0KsopyQU8kIam0GpRwCLcB/s1600/fig.2.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-N3J8ZonVsPQ/WLKS3vBEm6I/AAAAAAAAR2I/vLerd9dOO-Uw_de0KsopyQU8kIam0GpRwCLcB/s1600/fig.2.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
5. Isolate the two extracted edges. Now the Inputs GeoSet should contain two isolated circles. The problem is that sometimes CATIA may not recognize these edges as circles on imported geometry, therefore it is better to use any curve as an imput. To turn the two circle into curves use Curve Smooth command (Insert>Operations) - Fig.3. Isolate both curves and delete the circles, now the Inputs should contain two isolated curves.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-p_Wcc48Qy6w/WLKWVUwcyWI/AAAAAAAAR2U/caOZP-fiVRAjTJnW7dVeUo0iUShXBSirACLcB/s1600/Fig.3.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-p_Wcc48Qy6w/WLKWVUwcyWI/AAAAAAAAR2U/caOZP-fiVRAjTJnW7dVeUo0iUShXBSirACLcB/s1600/Fig.3.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
6. Now go to the Bend Radius Measuring and create a new GeoSet in it, name it Curve 1. Using one of the input, create a point on curve, see more details on Fig.4.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-Vs7kv-9Madg/WLLpUdxcxjI/AAAAAAAAR2o/kW_v6EvjEiERow1g2Hav5K-WTwdsl7BBACLcB/s1600/fig.4.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-Vs7kv-9Madg/WLLpUdxcxjI/AAAAAAAAR2o/kW_v6EvjEiERow1g2Hav5K-WTwdsl7BBACLcB/s1600/fig.4.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.4</td></tr>
</tbody></table>
7. Create two more points on the same curve. As a reference use the point from the previous step. Ratio values for these two points are 0.333 and 0.666. Three equispaced points have been created on the curve. Use these points to create a circle, type - three points, circle should be closed. Using this circle as a reference, create another point, type Circle / Sphere / Elypse center, to get the center point of the circle.<br />
<br />
8. Create a plane using three equispaced points - Fig.5.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-5w50ngjVvoo/WLLtCZ0lW8I/AAAAAAAAR24/dSJjN5ehdT04bfUTHbdf294OQ_c31rQiQCLcB/s1600/fig.5.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-5w50ngjVvoo/WLLtCZ0lW8I/AAAAAAAAR24/dSJjN5ehdT04bfUTHbdf294OQ_c31rQiQCLcB/s1600/fig.5.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.5</td></tr>
</tbody></table>
9. Use this plane and the center point of the circle to create a new line - Fig.6.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-iFHNNZjvJ2I/WLLtd8_ZVWI/AAAAAAAAR28/eb-MZbnku6sJ4wUjRgW-dKjBMA7ug4R9gCLcB/s1600/fig.6.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-iFHNNZjvJ2I/WLLtd8_ZVWI/AAAAAAAAR28/eb-MZbnku6sJ4wUjRgW-dKjBMA7ug4R9gCLcB/s1600/fig.6.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.6</td></tr>
</tbody></table>
10. Curve 1 GeoSet is ready to duplicate it (Fig.7). To duplicate a GeoSet select it [1], use command Duplicate Geometrical Set [2], in the new window choose the destination [3], then select the second curve from the Inputs GeoSet, click OK. Name the new GeoSet - Curve 2.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-x3yDgRa0cgU/WLLwlMTNwiI/AAAAAAAAR3Q/kuUHyNIRyt8wSPWtlNGfLhxEoI22ezsxQCLcB/s1600/fig.7.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-x3yDgRa0cgU/WLLwlMTNwiI/AAAAAAAAR3Q/kuUHyNIRyt8wSPWtlNGfLhxEoI22ezsxQCLcB/s1600/fig.7.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.7</td></tr>
</tbody></table>
11. Using the two lines create a plane - Fig.8.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/--jtHAMYcSJs/WLLz9VRMViI/AAAAAAAAR3k/GpxRWH0oTi8kdGe5EM2JsqP02BUnq2T9wCLcB/s1600/fig.8.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/--jtHAMYcSJs/WLLz9VRMViI/AAAAAAAAR3k/GpxRWH0oTi8kdGe5EM2JsqP02BUnq2T9wCLcB/s1600/fig.8.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.8</td></tr>
</tbody></table>
12. Use this plane, center point and line from Curve 1 GeoSet to create another line - Fig.9. It has to be normal to the line form Curve 1 GeoSet. Create a line in the same way for the second curve.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-LzD79YIe1Ws/WLL1klmlTqI/AAAAAAAAR30/NIRZmLk8a7wxUfk5akQgeeHo-UWsTcYrwCLcB/s1600/fig.9.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-LzD79YIe1Ws/WLL1klmlTqI/AAAAAAAAR30/NIRZmLk8a7wxUfk5akQgeeHo-UWsTcYrwCLcB/s1600/fig.9.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.9</td></tr>
</tbody></table>
13. Intersection of these two lines is the center point of the bend radius (yellow). Name this point - Center Point - Fig.10.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-mXzY8bmLYic/WLL3tXsy3oI/AAAAAAAAR4A/c9OlhrspbloHiuodkfy0giQ2_UTxW05EgCLcB/s1600/fig.10.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/-mXzY8bmLYic/WLL3tXsy3oI/AAAAAAAAR4A/c9OlhrspbloHiuodkfy0giQ2_UTxW05EgCLcB/s1600/fig.10.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.10</td></tr>
</tbody></table>
14. Create another intersection, like it is shown on Fig.11. Result of this intersection is a multiple result, it means it has more than one solution. In Multi-Result Management window select option - keep only one sub-element using a Near. As a reference element use the Center Point.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-yYJqmeiMv1w/WLL6rPah22I/AAAAAAAAR4Q/01fnTderUokc_3JMQ5kQOohG8v9ijwmCACLcB/s1600/Fig.11.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-yYJqmeiMv1w/WLL6rPah22I/AAAAAAAAR4Q/01fnTderUokc_3JMQ5kQOohG8v9ijwmCACLcB/s1600/Fig.11.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.11</td></tr>
</tbody></table>
15. It was the last geometry we need. Now create three parameters - two length type and one angle. Drag&drop them to the Bend Radius Measuring Geo Set - Fig.12.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-Xl8uvPIkd2I/WLL9ogyJtzI/AAAAAAAAR4g/gWL9b4kCsFUX17NBKJOV1mYaGbQMfmF6gCLcB/s1600/fig.12.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-Xl8uvPIkd2I/WLL9ogyJtzI/AAAAAAAAR4g/gWL9b4kCsFUX17NBKJOV1mYaGbQMfmF6gCLcB/s1600/fig.12.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.12</td></tr>
</tbody></table>
16. Edit their properties and change their local names - Fig.13.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-XTQ2DUtpEFY/WLL-dorADNI/AAAAAAAAR4s/W8D6Wet8f30kW0f7fQfBN0t4ThJq2iqbQCLcB/s1600/fig.13.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-XTQ2DUtpEFY/WLL-dorADNI/AAAAAAAAR4s/W8D6Wet8f30kW0f7fQfBN0t4ThJq2iqbQCLcB/s1600/fig.13.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.13</td></tr>
</tbody></table>
17. Next step is to create formluas for these parameters. Add a formula to the Bend Angle parameter (Fig.14). The formula measures the angle between two lines. Line.3 and Line.4 are the yellow lines created in step number 12.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-EdXPs1TboIM/WLMAJXPhI3I/AAAAAAAAR48/0cDKh2bTmzQNzjQNkld3dG8n19hEtcl3ACLcB/s1600/fig.14.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-EdXPs1TboIM/WLMAJXPhI3I/AAAAAAAAR48/0cDKh2bTmzQNzjQNkld3dG8n19hEtcl3ACLcB/s1600/fig.14.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.14</td></tr>
</tbody></table>
18. Formula of the Bend Radius parameter is shown of Fig.15.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-YIEL6Ml6qC8/WLMCVmL_chI/AAAAAAAAR5M/iPn7gDhG3Zw1LbDERd8V48_ilc8Hs9ZaACLcB/s1600/fig.15.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-YIEL6Ml6qC8/WLMCVmL_chI/AAAAAAAAR5M/iPn7gDhG3Zw1LbDERd8V48_ilc8Hs9ZaACLcB/s1600/fig.15.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.15</td></tr>
</tbody></table>
<div>
19. Smilar formula has to be created for the last parameter, use the Center Point and one of the center points of the input curves - Fig.16.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-QAsr38n0t6Q/WLMEQvzIS9I/AAAAAAAAR5c/PYY3ax_mBpIh7WRAIFyuZvs84sUo1mU2QCLcB/s1600/fig.16.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-QAsr38n0t6Q/WLMEQvzIS9I/AAAAAAAAR5c/PYY3ax_mBpIh7WRAIFyuZvs84sUo1mU2QCLcB/s1600/fig.16.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.16</td></tr>
</tbody></table>
<div>
20. New formulas have been created, drag&drop them to the Bend Radius Measuring Geo Set - Fig.17.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-8nNcr0oSLq8/WLMFV-4XNQI/AAAAAAAAR5k/Jb8GWQAnddYlsGAwrGs7ui5eJw6ewv6FwCLcB/s1600/fig.17.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-8nNcr0oSLq8/WLMFV-4XNQI/AAAAAAAAR5k/Jb8GWQAnddYlsGAwrGs7ui5eJw6ewv6FwCLcB/s1600/fig.17.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.17</td></tr>
</tbody></table>
<div>
21. Hide all the geometry and show only Center Point, Inputs and surface of the tube - Fig.18.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-cIPAUFxqG0E/WLMGHTOfKEI/AAAAAAAAR5s/QF9obZ6-reIaqzf3mGJRkgL4jro6_ZD9wCLcB/s1600/fig.18.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/-cIPAUFxqG0E/WLMGHTOfKEI/AAAAAAAAR5s/QF9obZ6-reIaqzf3mGJRkgL4jro6_ZD9wCLcB/s1600/fig.18.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.18</td></tr>
</tbody></table>
22. In this step an UDF will be created, go to <span lang="EN-US">Insert > </span><span lang="EN-US">Knowledge Templates > </span><span lang="EN-US">User Feature. Select the </span>Bend Radius Measuring Geo Set, curve.1 and curve.2 should appear in Inputs of components - Fig.19.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-4J6oKRI9bv8/WLMHmJ0KWMI/AAAAAAAAR54/Dvh_H47oHSoI7MA7uTDy-2P9rsMYZSnDACLcB/s1600/fig.19.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-4J6oKRI9bv8/WLMHmJ0KWMI/AAAAAAAAR54/Dvh_H47oHSoI7MA7uTDy-2P9rsMYZSnDACLcB/s1600/fig.19.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.19</td></tr>
</tbody></table>
23. Go to the Parameters Tab and the three parameters created in step number 15. Publish these parameters and modify their names - Fig.20.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-oeEglHYnxtc/WLMIUDE7-zI/AAAAAAAAR58/xtji9d04xaITODqMAwuTlNQgeFzyUfbjACLcB/s1600/fig.20.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-oeEglHYnxtc/WLMIUDE7-zI/AAAAAAAAR58/xtji9d04xaITODqMAwuTlNQgeFzyUfbjACLcB/s1600/fig.20.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.20</td></tr>
</tbody></table>
<div>
24.Go to the tab Outputs and make sure that the main result is the Center Point, if it is not, replace the main result with it - Fig.21. You can also go to the Properties tab to change the icon of this UDF. Click OK.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-6tGcaIxP4-I/WLMJJ9FpbVI/AAAAAAAAR6E/IO5DRW6Ux9MNiFuH0lweiyNxcR4AgOJtQCLcB/s1600/fig.21.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-6tGcaIxP4-I/WLMJJ9FpbVI/AAAAAAAAR6E/IO5DRW6Ux9MNiFuH0lweiyNxcR4AgOJtQCLcB/s1600/fig.21.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.21</td></tr>
</tbody></table>
<div>
25. Save the file and close it.<br />
26. <span lang="EN-US">To use the UDF create a new file and another tube in it. Go to Insert</span><span lang="EN-US" style="font-family: "symbol"; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Symbol;">®</span><span lang="EN-US">Instantiate From Document and select the CATPart from previous point. In Insert Object window choose a destination and as an input select two curves - Fig.22.</span><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-6_Zn4bUHztE/WOO7ky-9iEI/AAAAAAAASAo/iF8FZdNWsEURpnlN4Zzbob5iAJwPb7VKQCLcB/s1600/fig.22.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/-6_Zn4bUHztE/WOO7ky-9iEI/AAAAAAAASAo/iF8FZdNWsEURpnlN4Zzbob5iAJwPb7VKQCLcB/s1600/fig.22.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.22</td></tr>
</tbody></table>
27. The bend has been measured and the parameters have been created - Fig.23.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-fKRCTHLFXhQ/WOO7qKjyFuI/AAAAAAAASAs/SEpvyCLcaFA_rp-NPidU7EhCLS6y8QV5gCLcB/s1600/Fig.23.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-fKRCTHLFXhQ/WOO7qKjyFuI/AAAAAAAASAs/SEpvyCLcaFA_rp-NPidU7EhCLS6y8QV5gCLcB/s1600/Fig.23.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.23</td></tr>
</tbody></table>
<br /></div>
<div>
<br /></div>
mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-24152982744393429322017-04-02T12:39:00.000+02:002017-04-02T12:39:31.374+02:00Copy Body<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-6M1rs0Go1gY/WJ3l8BNQB9I/AAAAAAAARrw/pcjtmw4VuOc7rBQmdqfF2eXHUGBNhkPHwCPcB/s1600/GOODPRACTICES.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-6M1rs0Go1gY/WJ3l8BNQB9I/AAAAAAAARrw/pcjtmw4VuOc7rBQmdqfF2eXHUGBNhkPHwCPcB/s1600/GOODPRACTICES.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-Du-lz_QieSY/WNyVVXZ0kDI/AAAAAAAAR_U/N7MZwfShSOwhUl5Nd8s-yG59pJxdQH3PgCLcB/s1600/21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-Du-lz_QieSY/WNyVVXZ0kDI/AAAAAAAAR_U/N7MZwfShSOwhUl5Nd8s-yG59pJxdQH3PgCLcB/s1600/21.png" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
How to work with a copied bodies.</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a>Whenever you work with a copied body, doesn't matter is it linked or not, always use an Add command. You should never add new features directly to the copied solid. The reason is that CATIA does not allow user to replace solids, in this case only the whole body can be replaced. If the features have been added directly to the solid and the solid has to be replaced, these features will be lost.<br />
<br />
Find more details in the picture below - Fig.1.<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-Fd_EkeoX3Jc/WNyU3I7v9sI/AAAAAAAAR_Q/U7iIg--pR3IPZsH98f29t_t_75vcga90wCLcB/s1600/457.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-Fd_EkeoX3Jc/WNyU3I7v9sI/AAAAAAAAR_Q/U7iIg--pR3IPZsH98f29t_t_75vcga90wCLcB/s1600/457.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-27478053324250708962017-03-20T10:19:00.000+01:002017-03-22T09:16:46.012+01:00Boosting CATIA<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-q-U3FkS1c5A/WKtFe54td7I/AAAAAAAARzs/hPlAwujNp7wpL1luMq87iiOZhrZ1qdt0ACLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-q-U3FkS1c5A/WKtFe54td7I/AAAAAAAARzs/hPlAwujNp7wpL1luMq87iiOZhrZ1qdt0ACLcB/s1600/tit.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
How to make CATIA to start faster?</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
Every time you open CATIA it opens automaticly also the Assembly Design module. It takes some extra time to open it, even if you don't need it. Turning off this option will make CATIA faster to start.<br />
<br />
To do it, you have to add a new environment variable. To add a new environment variable go to:<br />
1. Start Menu and right click on Computer. Select Properties. (Windows 7) or right click on the Start Menu and select System (Windows 10)<br />
2. Select Advanced system settings<br />
3. In the Advanced tab, go to Environment Variables<br />
4. Select New<br />
5. Create a new variable as shown on Fig.1<br />
Variable name is: CATNoStartDocument<br />
Variable value is: 1<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://1.bp.blogspot.com/-7_nr354_8wU/WL21RkwIi9I/AAAAAAAAR9A/uem80cWWMvQRJVN24WjDpEo7uZ_6szuNQCLcB/s1600/02.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://1.bp.blogspot.com/-7_nr354_8wU/WL21RkwIi9I/AAAAAAAAR9A/uem80cWWMvQRJVN24WjDpEo7uZ_6szuNQCLcB/s1600/02.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
<br />
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-77181440538497018592017-03-15T06:38:00.000+01:002017-03-15T06:38:12.942+01:00Dragon curve<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-_s4-gv7DrM4/WKHhNASIjOI/AAAAAAAARvk/hkMU8a4ID8UIjzQLZJk0gmdG93hPdo0wQCPcB/s1600/OFFTOPIC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-_s4-gv7DrM4/WKHhNASIjOI/AAAAAAAARvk/hkMU8a4ID8UIjzQLZJk0gmdG93hPdo0wQCPcB/s1600/OFFTOPIC.png" /></a></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-NnSVcvv2ykY/WK6h_z_ZnzI/AAAAAAAAR0g/87Om0uywcS8KyibVyMm1YxUZWW_BmvViwCLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-NnSVcvv2ykY/WK6h_z_ZnzI/AAAAAAAAR0g/87Om0uywcS8KyibVyMm1YxUZWW_BmvViwCLcB/s1600/tit.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Dragon curve created with CATIA V5 macro</td></tr>
</tbody></table>
<br />
<a name='more'></a><br />
Watch this video, to learn more about Dragon Curves:<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/wCyC-K_PnRY/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/wCyC-K_PnRY?feature=player_embedded" width="320"></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Dragon Curve iterations:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-RJCqTnomONA/WMbvJIsU-OI/AAAAAAAAR9g/JLMfrUXftCg1nvPJQ8E9CW2qWwkE2pFHQCLcB/s1600/1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://4.bp.blogspot.com/-RJCqTnomONA/WMbvJIsU-OI/AAAAAAAAR9g/JLMfrUXftCg1nvPJQ8E9CW2qWwkE2pFHQCLcB/s1600/1.bmp" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-YF9xp8-emrw/WMbvJR7_0pI/AAAAAAAAR9Y/eHQNdnckEdImEOiFdJN0QVOEtlonYunrACLcB/s1600/2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-YF9xp8-emrw/WMbvJR7_0pI/AAAAAAAAR9Y/eHQNdnckEdImEOiFdJN0QVOEtlonYunrACLcB/s1600/2.bmp" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-TXc2lojTNgk/WMbvJpnJ03I/AAAAAAAAR9k/7QIFFmLAr0oKVjNkwLxstzYndNyPt_n1gCLcB/s1600/4.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://4.bp.blogspot.com/-TXc2lojTNgk/WMbvJpnJ03I/AAAAAAAAR9k/7QIFFmLAr0oKVjNkwLxstzYndNyPt_n1gCLcB/s1600/4.bmp" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-dW-7b5eApxY/WMbvJraVH9I/AAAAAAAAR9o/obhNmsDk0kMJ-4P9vHjHPrn0nFnkfRaKwCLcB/s1600/5.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-dW-7b5eApxY/WMbvJraVH9I/AAAAAAAAR9o/obhNmsDk0kMJ-4P9vHjHPrn0nFnkfRaKwCLcB/s1600/5.bmp" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-e7J3QYVnyxI/WMbvJvAdG8I/AAAAAAAAR9s/93gyoz7-YzQ9R31O25eia6MQCjw-cWgYgCLcB/s1600/6.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://4.bp.blogspot.com/-e7J3QYVnyxI/WMbvJvAdG8I/AAAAAAAAR9s/93gyoz7-YzQ9R31O25eia6MQCjw-cWgYgCLcB/s1600/6.bmp" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-QmFR7O7pQPI/WMbvJwjZgqI/AAAAAAAAR9w/dd6v2wlr_fg5rznaBlyucruqGwIBXCuMQCLcB/s1600/7.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-QmFR7O7pQPI/WMbvJwjZgqI/AAAAAAAAR9w/dd6v2wlr_fg5rznaBlyucruqGwIBXCuMQCLcB/s1600/7.bmp" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-6DTTwW5us4E/WMbvKLIWRHI/AAAAAAAAR90/TUarj_xhQ-ogUABEbZVgbccvE5MESV4bgCLcB/s1600/8.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-6DTTwW5us4E/WMbvKLIWRHI/AAAAAAAAR90/TUarj_xhQ-ogUABEbZVgbccvE5MESV4bgCLcB/s1600/8.bmp" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-5l9BO2xjBTY/WMbvKNK0t4I/AAAAAAAAR94/1iSbX4m6ME4UEIAFL-zuxjip3x1MMIAYgCLcB/s1600/9.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-5l9BO2xjBTY/WMbvKNK0t4I/AAAAAAAAR94/1iSbX4m6ME4UEIAFL-zuxjip3x1MMIAYgCLcB/s1600/9.bmp" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-rh4058ZN9zk/WMbvJRxzfzI/AAAAAAAAR9c/8FOUFDqYaocnk7ss64FKNnL8pdJvu6YsgCLcB/s1600/10.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-rh4058ZN9zk/WMbvJRxzfzI/AAAAAAAAR9c/8FOUFDqYaocnk7ss64FKNnL8pdJvu6YsgCLcB/s1600/10.bmp" /></a></div>
<br />
<div style="text-align: center;">
<br /></div>
mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-78557916287329428772017-03-10T12:14:00.000+01:002017-03-10T12:14:44.660+01:00Text in CATIA<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-8i4GVZ8yxGY/WJysREpc9XI/AAAAAAAARqI/V4uZHkMCuVMR-lYidc0_zFVrUNcSDonMgCPcB/s1600/TIPSANDTRICKS.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-aRTpbumCZq4/WLkZDJi_7II/AAAAAAAAR68/7BHBuLZ-KHgTrxB3bAfYHebG1Rjuxw2lgCLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://4.bp.blogspot.com/-aRTpbumCZq4/WLkZDJi_7II/AAAAAAAAR68/7BHBuLZ-KHgTrxB3bAfYHebG1Rjuxw2lgCLcB/s1600/tit.PNG" /></a></div>
How to create a text in CATIA?<br />
<br />
<a name='more'></a>To create a text in CATIA follow these steps:<br />
<br />
1. Go to the Drafting and create a text - Fig.1.<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://3.bp.blogspot.com/-1zbrQwczSJ0/WL2q-g_ZXDI/AAAAAAAAR8o/uUqCwhn-KJ8PCOC1aV3Oq_qUsEeBStbZwCLcB/s1600/01.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://3.bp.blogspot.com/-1zbrQwczSJ0/WL2q-g_ZXDI/AAAAAAAAR8o/uUqCwhn-KJ8PCOC1aV3Oq_qUsEeBStbZwCLcB/s1600/01.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
2. Save the drawing as a .dwg format.<br />
3. Open the .dwg file in CATIA. A text has been transformed into curves.<br />
4. Create a new CATPart and a sketch in it.<br />
5. Open the sketch and paste the copied text. You can use Translate and Scaling (or other) commands to adjust the text - Fig.2.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-ZYEksTWwYFE/WL2uyYLyMUI/AAAAAAAAR8w/YNbbWR8QZQEXuXz0FgNZsib7jPApfIuXACLcB/s1600/02.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-ZYEksTWwYFE/WL2uyYLyMUI/AAAAAAAAR8w/YNbbWR8QZQEXuXz0FgNZsib7jPApfIuXACLcB/s1600/02.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
6. A text has been created as a sketch - Fig.3.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-eAjqrUqeiuk/WL2vZmYA9LI/AAAAAAAAR80/9q7tIueN_V8nclFzX4UpdlK3SymiaY4BQCLcB/s1600/03.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-eAjqrUqeiuk/WL2vZmYA9LI/AAAAAAAAR80/9q7tIueN_V8nclFzX4UpdlK3SymiaY4BQCLcB/s1600/03.PNG" /></a></div>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.comtag:blogger.com,1999:blog-8009688566076040362.post-71044513564871207972017-03-07T06:34:00.001+01:002017-03-07T06:34:32.710+01:00Make your sketch green<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-6M1rs0Go1gY/WJ3l8BNQB9I/AAAAAAAARrw/pcjtmw4VuOc7rBQmdqfF2eXHUGBNhkPHwCPcB/s1600/GOODPRACTICES.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-6M1rs0Go1gY/WJ3l8BNQB9I/AAAAAAAARrw/pcjtmw4VuOc7rBQmdqfF2eXHUGBNhkPHwCPcB/s1600/GOODPRACTICES.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-Coo_c09jwdA/WK7rNNFv3SI/AAAAAAAAR0w/wYEf3n2AHxgdF1_kEEUUiEGuE-Kf9-B2QCLcB/s1600/tit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://4.bp.blogspot.com/-Coo_c09jwdA/WK7rNNFv3SI/AAAAAAAAR0w/wYEf3n2AHxgdF1_kEEUUiEGuE-Kf9-B2QCLcB/s1600/tit.PNG" /></a></div>
<br />
How to do it, how to analyse it and how to search for it.<br />
<br />
<a name='more'></a><br />
It is always a good practice to full-constrain a sketch. A constrained, positioned sketch provides a solid fundament for the further design.<br />
<br />
Let me show you how to:<br />
1. Find sketches which are not constrained<br />
2. Analyse them<br />
3. Constrain them<br />
<br />
1. To find sketches which are not constrained go to Tools>Parameterization Analysis and filter for Under-constrained Sketches (Fig.1).<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-B5lTOYhR-xY/WL2JA4MsVQI/AAAAAAAAR8I/YGNQyqOcHHg3bBHRGDWj626j4zzOT4baQCLcB/s1600/fig.1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-B5lTOYhR-xY/WL2JA4MsVQI/AAAAAAAAR8I/YGNQyqOcHHg3bBHRGDWj626j4zzOT4baQCLcB/s1600/fig.1.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.1</td></tr>
</tbody></table>
2. Once you find a sketch, which is not fully constrained, you can analyse it, to see what constrains are missing. To diagnose a sketch, open it and go to Tools>Sketch Analysis. In a new window, Sketch Analysis, go to tab Diagnostic. In the column Status you can find geometry which is not constrained - Fig.2.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://2.bp.blogspot.com/-9vCa9slTPqM/WL2JsQCXHhI/AAAAAAAAR8M/H3RZDtytuu4XxFdMjxXT_I2wY-P0eIRjQCLcB/s1600/fig.1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://2.bp.blogspot.com/-9vCa9slTPqM/WL2JsQCXHhI/AAAAAAAAR8M/H3RZDtytuu4XxFdMjxXT_I2wY-P0eIRjQCLcB/s1600/fig.1.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.2</td></tr>
</tbody></table>
3. To constrain geometry use dimensional or geometrical constrains (Fig.3). Constrained geometry will be marked with green color.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://4.bp.blogspot.com/-XaCjI4fXJ3Q/WL2KSuRhSHI/AAAAAAAAR8Q/emOoBbuCiagU-WQsbRePKU6QVysgsXVIQCLcB/s1600/fig.3.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://4.bp.blogspot.com/-XaCjI4fXJ3Q/WL2KSuRhSHI/AAAAAAAAR8Q/emOoBbuCiagU-WQsbRePKU6QVysgsXVIQCLcB/s1600/fig.3.PNG" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Fig.3</td></tr>
</tbody></table>
<br />mateuszkliber@gmail.comhttp://www.blogger.com/profile/11956664598971398487noreply@blogger.com