You can create an Engineering Rules Capture law, which is a relation in which a parameter is
defined with respect to another. Both parameters involved in a law are formal
parameters.
Formal parameters and laws are specifically designed for creating parallel curves.
You can use a Generative Shape Design law in an Engineering Rules Capture law. Laws only specify a relation between one
parameter and another parameter.
Before you begin: Create a line.
Context: This task shows you how to create an Engineering Rules Capture law, and then use a combination of a Generative Shape Design law and a Engineering Rules Capture law in the same relation.
From the secondary area of the Knowledge Essentials section of the action bar, clickLaw.
Create the law.
Enter a descriptive Name of Law and, optionally,
a Description.
Click Destination and select a node or an object
in the tree under which you want the law to appear.
Click OK.
The law appears under the selected node or object. Its name is
Law.n, where n increments automatically depending on
the number of existing laws.
In the Law Editor, click New Parameter of
type and create two real type parameters FormalReal.1 and
FormalReal.2.
For example, enter the law below into the editor: FormalReal.1 =
5*sin(5*PI*1rad*FormalReal.2)+ 10.
Note:
You can use the following keyboard
shortcuts in the editor:
Ctrl+Z: Undo. Lets you delete the last word you
entered.
Ctrl+Y: Redo.
Ctrl+F: Search in text.
Ctrl+A: Select all.
Click OK to add the law to the document.
Select your document root feature and reaccess the Generative
ShapeDesignapp.
Click Parallel Curve to create a curve
parallel to the line created at the beginning of the scenario.
In the Parallel Curve Definition dialog box, select the
line that you previously created as the reference Curve.
Important:
Only positive laws that is with positive values only can
be used when creating parallel curves (positive is to be understood as
"strictly positive").
Click .
Click the Advanced Law type, click Law.1 in the tree and click Close.
Click OK.
A curve parallel to the selected one is created, taking the law into
account.