Find Out If A Variable Was In A Formula R CATIA Knowledgeware: Using Geometrical Parameters

You are searching about Find Out If A Variable Was In A Formula R, today we will share with you article about Find Out If A Variable Was In A Formula R was compiled and edited by our team from many sources on the internet. Hope this article on the topic Find Out If A Variable Was In A Formula R is useful to you.

CATIA Knowledgeware: Using Geometrical Parameters

There are times when a part design must be robust enough to handle many variations of features and/or iterations. This will be the case when you build starting parts or master models that give the designer a starting point for a complex design. A master model is important if the parts you design always have the same basic features, but the details of those features vary. The most obvious case would be a plate that has variable length, width and height, as well as possibly some holes whose positions or sizes can change where each value can be driven by global parameters. What happens when you need to change the geometry of a body or feature but don’t want repetitive design features or you want to avoid a complex tree structure? You definitely use a geometric parameter! This article will walk you through the use of these geometric parameters to solve this problem.

Note: Your CATIA package requires the Knowledgeware Advisor (KWA) workspace to recreate this exercise. It will also be an assumption that you know how to easily create geometric sets, parameters, formulas and rules.

The example described is a simple flat head screw that will have different head types or tool slots. It exemplifies flat, phillips, hex, star and random spiral shapes to show the extreme variations that can be created.

To begin with, it assumes that you already have an existing part created, but don’t have the ability to add much variation to that part without a significant amount of design time or manipulation. The first thing you need to add is a variable to trigger the change you want to create. In the example, a string parameter called “PROFILE” was created with multiple values ​​(flat, phillips, hex, torx, and swirl-e-bob). Different values ​​of this parameter will determine which sketch is used to fill the curve parameter, but let’s not get too ahead of ourselves!

Another parameter that needs to be created is the CURVE parameter. This parameter can be found at the end of the parameter list and is surrounded by other geometric parameters including surface, plane, circle, line and point. A geometric parameter is like any other parameter and can be thought of as an empty placeholder for a particular unit. In general, a parameter is not very useful unless a value is specified. In the case of a geometric parameter, the value or unit is a form of geometry; Therefore the value of the curve parameter can be a sketch, spline, polyline or any other form of wireform geometry.

Now that the trigger and placeholder have been created, the values ​​of the curve parameter need to be created. These values ​​will be sketches in the screw example, but can be anything that can be described as a curve. Five sketches were created and each was named according to the profile being created – Straight, Cross, Hexagon, Star and Twist. The naming is done to make profiles easier to identify and I recommend naming them logically, but not necessarily as by default each sketch has its own proprietary name.

After the values ​​are created, the curve parameter needs to be filled with the values ​​(sketches) you created. You need to go to the Knowledgeware Advisor (KWA) workbench and create a rule. In a rule, you need to create a conditional statement that will run the curve parameter. The syntax of a conditional statement in KWA is as follows:

if variable == value

action

else if variable == different value

next task

This can be built into more nested conditions, but for simplicity we will use only one condition and one result. In the example, the rule reads as follows:

if profile == “flat”

Profile Size = Profiles Straight

ELSE IF PROFILE == “philips”

profile size = profile cross

ELSE IF PROFILE == “Hex”

ProfileShape = ProfileHexagon

ELSE IF PROFILE == “Torx”

ProfileSize = ProfileStar

ELSE IF PROFILE == “Swirl-E-Bob”

ProfilesShape = ProfilesSwirl

To break it down, we’ll look at each line of the first condition.

  • “PROFILE” is the name of the string parameter created for the trigger.
  • “==” means “equal to.” “<>” can also be used if you are determining that something is “not equal.”
  • “FLAT” is one of the five multiple values ​​of “PROFILE” that were assigned to determine which sketch will be used to evaluate the curve parameter. shape” is the name of the curve parameter and “profile” is the name of the geometry set. That holds all the geometry, hence the name ProfilesShape.
  • “Straight” is the name of the sketch that corresponds to the “flat” screw head type. It is also in the “profile” geometric set, hence the name profile straight.

Now that the curve parameter is filled in, you’ll see the icon transformed into a formula and ready to be used to construct geometry. In the screw example, it was used as a sketch profile of a pad that was trimmed with a groove feature and those features were inserted into a separate part body, with that body pulled out of the main screw part body. Sounds complicated, right? You can use your curve parameter as a profile for pads, pockets or any part or surface features you need to create. This is just one of many ways that a valued curve parameter can be used.

Using this method, your designs will become more robust as you will be able to create different control points, different sketch planes, parting surfaces, sketch profiles, directional lines or axes or any type of control geometry to initiate complex design changes. Take the information here and build on it to reduce your design and manipulation time, increase productivity and make your design more robust and powerful.

Video about Find Out If A Variable Was In A Formula R

You can see more content about Find Out If A Variable Was In A Formula R on our youtube channel: Click Here

Question about Find Out If A Variable Was In A Formula R

If you have any questions about Find Out If A Variable Was In A Formula R, please let us know, all your questions or suggestions will help us improve in the following articles!

The article Find Out If A Variable Was In A Formula R was compiled by me and my team from many sources. If you find the article Find Out If A Variable Was In A Formula R helpful to you, please support the team Like or Share!

Rate Articles Find Out If A Variable Was In A Formula R

Rate: 4-5 stars
Ratings: 5817
Views: 93365014

Search keywords Find Out If A Variable Was In A Formula R

Find Out If A Variable Was In A Formula R
way Find Out If A Variable Was In A Formula R
tutorial Find Out If A Variable Was In A Formula R
Find Out If A Variable Was In A Formula R free
#CATIA #Knowledgeware #Geometrical #Parameters

Source: https://ezinearticles.com/?CATIA-Knowledgeware:-Using-Geometrical-Parameters&id=7039116