Tim Flater
Senior Designer
Enkei America, Inc.
www.enkei.com RE: cast & machined parts best practice gieter (Materials)31 May 06 10:35My philosophy on 3D is to design as it is made. This means you first model the casting "as cast" and wave link it to make the machined part by removing material. The problem ofcoarse is that you don't know what the casting will be like before you draw the functional (read machined) part.
What we do is as follows: we design the functional part and retain the machined outline (in sketches or intersection lines) or in extracted surfaces if it's realy complex. This functional part is shaped into a casting by applying machine stock, draft, blending and, if necessary, some simplification. The result is the actual shape of the casting.
This solid is wave linked into another part file, together with all sketches, intersection lines or surfaces needed to reconstruct solids of the material to be removed by machining. This is substracted from the casting solid and the result is a machined casting. If designed intelligently the machined part can be fully parameter driven from the part file of the casting. RE: cast & machined parts best practice pinetti (Mechanical)(OP)31 May 06 10:35Thanks Tim,
Not using WAVE sounds good to me. I've been told it can fail and cause problems when using UG within Teamcenter!! RE: cast & machined parts best practice pinetti (Mechanical)(OP)31 May 06 11:07Thanks Gieter,
I quite agree with your philosophy, but as I said before we don't like using WAVE within Teamcenter. But you might prove us wrong
Do you have any experience with Teamcenter, or you only use native UG? RE: cast & machined parts best practice gieter (Materials)31 May 06 11:53We're just a poor foundry, so we only use native UG ;o) googletag.cmd.push(function() googletag.display('div-gpt-ad-1406030293255-2'); ); Red Flag This PostPlease let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.
CancelRed Flag SubmittedThank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.
The UGS NX CAST software by BugStomper is a powerful tool designed for professionals in the foundry and casting industries. This software offers a range of advanced features that enable its users to create highly accurate models and simulations for castings, molds, and patterns.
With UGS NX CAST, users can perform comprehensive simulations of the entire casting process, from pouring and filling to solidification and cooling. The software can also analyze and optimize designs to ensure that castings are produced with minimal defects or distortions.
Whether you are new to the foundry industry or an experienced professional, UGS NX CAST by BugStomper Software is an essential tool that can help you create better castings and improve your overall productivity.
Enumerated data is data that is restrictedto a finite set of values. An enumerated data type isa MATLAB class that defines a set of enumerated values.Each enumerated value consists of an enumerated name andan underlying integer which the software usesinternally and in generated code.
For code generation, every underlying integer value must be representable as an integer on the target hardware, which may impose different limits. See Configure a System Target File (Simulink Coder) for more information.
For more information on superclasses, see Convert to Superclass Value.For information on how enumeration classes are handled when thereis more than one name for an underlying value, see How to Alias Enumeration Names.
About Simulink Enumeration Customizations. You can customize a Simulink enumeration by implementingspecific static methods in the class definition. If you define thesemethods using the appropriate syntax, you can change the behaviorof the class during simulation and in generated code.
Specify a Default Enumerated Value. Simulink and related generated code use an enumeration'sdefault value for ground-value initialization of enumerated data whenyou provide no other initial value. For example, an enumerated signalinside a conditionally executed subsystem that has not yet executedhas the enumeration's default value. Generated code uses an enumeration'sdefault value if a safe cast fails, as described in Type Casting for Enumerations (Simulink Coder).
Unless you specify otherwise, the default value for an enumerationis the first value in the enumeration class definition. To specifya different default value, add your own getDefaultValue methodto the methods section. The following code showsa shell for the getDefaultValue method:
This example defines the default as BasicColors.Blue.If this method does not appear, the default value would be BasicColors.Red,because that is the first value listed in the enumerated class definition.
The seemingly redundant specification of ThisClass insidethe definition of that same class is necessary because getDefaultValue returnsan instance of the default enumerated value, not just the name ofthe value. The method, therefore, needs a complete specification ofwhat to instantiate. See Instantiate Enumerations for more information.
The name of the definition file must match the name of the enumeration exactly, including case. For example, the definition of enumeration BasicColors must reside in a file named BasicColors.m. Otherwise, MATLAB will not find the definition.
You can change the definition of an enumeration by editing andsaving the file that contains the definition. You do not need to inform MATLAB thata class definition has changed. MATLAB automatically reads themodified definition when you save the file. However, the class definitionchanges do not take full effect if any class instances (enumeratedvalues) exist that reflect the previous class definition. Such instancesmight exist in the base workspace or might be cached.
Similarly, if you defined an enumeration class by using Simulink.defineIntEnumType, you can redefine that class, using the same function, even if instances exist. However, you cannot change StorageType for the class while instances exist.
If a MATLAB Function block in your model uses the enumerated type, configure the model configuration parameters to include (#include) the type definition from your external header file. See Control Imported Bus and Enumeration Type Definitions.
Whether you define an enumeration by using a class file or byusing the function Simulink.defineIntEnumType,you can permanently store the enumeration definition in a Simulink datadictionary. Models that are linked to the dictionary can use the enumeration.For more information, see Enumerations in Data Dictionary.
Once this class definition is known to MATLAB, you canuse the enumeration in Simulink and Stateflow models. Informationspecific to enumerations in Stateflow appears in Enumerated Data (Stateflow).The following Simulink model uses the enumeration defined above:
The Data Type Conversion block OrigToInt specifies an Output data type of int32 and Integer rounding mode: Floor, so the block converts the Sine Wave block output, which appears in the top graph of the Scope display, to a cycle of integers: 1, 2, 1, 0, 1, 2, 1. The Data Type Conversion block IntToColor uses these values to select colors from the enumerated type BasicColors by referencing their underlying integers.
The result is a cycle of colors: Yellow, Blue, Yellow, Red, Yellow, Blue, Yellow, as shown in the middle graph. The Enumerated Constant block EnumConst outputs Yellow, which appears in the second graph as a straight line. The Relational Operator block compares the constant Yellow to each value in the cycle of colors. It outputs 1 (true) when Yellow is less than the current color, and 0 (false) otherwise, as shown in the third graph.
The sort order used by the comparison is the numeric order ofthe underlying integers of the compared values, not thelexical order in which the enumerated values appear in the enumeratedclass definition. In this example the two orders are the same, butthey need not be. See Specify Enumerations as Data Types and Enumerated Values in Computation for more information.
Once you define an enumeration, you can use it much like anyother data type. Because an enumeration is a class rather than aninstance, you must use the prefix ? or Enum: whenspecifying the enumeration as a data type. You must use the prefix ? inthe MATLAB Command Window. However, you can use either prefixin a Simulink model. Enum: has the same effectas the ? prefix, but Enum: ispreferred because it is more self-explanatory in the context of agraphical user interface.
To use the Data Type Assistant, set the Mode to Enumerated, then enter the name of the enumeration. For example, in the previous model, the Data Type Conversion block IntToColor, which outputs a signal of type BasicColors, has the following output signal specification:
You cannot set a minimum or maximum value for a signal definedas an enumeration, because the concepts of minimum and maximum arenot relevant to the purpose of enumerations. If you change the minimumor maximum for a signal of an enumeration from the default value of [],an error occurs when you update the model. See Enumerated Values in Computation for more information.
More than one value in an enumeration can have the same underlyinginteger value, as described in Specify Enumerations as Data Types. When this occurs, the value onan axis of Scope block output or in Display blockoutput always is the first value listed in the enumerated class definitionthat has the shared underlying integer. For example:
Although the Enumerated Constant blockoutputs True, both On and True havethe same underlying integer, and On is definedfirst in the class definition enumeration section.Therefore, the Display block shows On.Similarly, a Scope axis would showonly On, never True, no matterwhich of the two values is input to the Scope block.
795a8134c1