Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Laws are mathematical functions in the form of a formula. They are used to define how resulting objects are modified.
They are composed and selected in the Laws Editor which is specific to each tool that uses laws and can be opened from that tool.

To open Laws Editor: 

1. Select Offset tool from Modify menu.

2. Select Use law from local menu or inspector bar.

Image Added

3. Now select Edit law.

Image Added

Laws Editor will open. 


To use a law:

  1. Open the Laws Editor.
  2. Select the desired law in the Laws table by double-clicking and press OK. The law that is applied is what is in the formula field.  

To create a law:

1. Type the desired formula into the formula field.

...

Setting f(u) = u

Setting f(u) = 2

Setting f(u) = cos(u)

Setting f(u) = u

Notice that the distance between the start and end of the resulting spiral is ~Pi since the diameter of the original circle is 1.0.

Import and Export laws:

The laws created can also be saved by using the export button in the laws editor. After creating a law, press export and enter the name you want give to the file then press save. 

You can also import laws. Open laws editor, and select import then choose the desired file and press open. The laws will be loaded from file and displayed in the laws editor.