# Warp by Law

(Available only in Platinum)

Default UI Menu: Modify/Modify 3D Objects/Bending/Warp Entity by Law

With this tool a Solid entity can be warped using Laws. The result is ACIS Solid. 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 use Warp by Law tool:

1. Select the tool. The Laws Editor opens.
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.
3. Click on the object to be warped.

Options:

Leave source copy: If this option is selected the tool leaves the original source object in place and creates wrap by law object.

To create a law:

1. Type the desired formulas into the formula fields.

1. Press the + (plus) button.

1. Type in a titke for the law and press OK. The new law will appear in the Laws table

To Delete a law:

1. Open the Laws Editor.

2. Click on the Law in the Laws table to select it.

3. Right click and select Delete, or press the - (minus) button.

Laws cannot be edited but double click a law will load it into the Formula fields where it can be altered and then a new altered law added.

To Delete all laws:

1. Open the Laws Editor.

2. Click on the Law in the Laws table to select it.

3. Right click and select Clear List.

To Export laws:

1. Open the Laws Editor.
2. Click Export.
3. Type a file name and click Save.

To Import laws:

1. Open the Laws Editor.
2. Click Import.
3. Select a file and click Open.

x(u,v) y(u,v) z(u,v)

In the Offset tool the function are defined as a function of U and V. Where U is the distance along the x-axis of the object and V is the distance along the y-axis of the object.

Examples:

All of the follwowing examples start with this base: Setting x(u,v)=u y(u,v)=v z(u,v)=z+sin(u) Setting x(u,v)=u y(u,v)=v z(u,v)=z+sin(u)*sin(v) Setting: x(u)=u y(u)=v+sin(u) z(u)=z Setting x(u,v)=u y(u,v)=v+sin(u) z(u,v)=z+sin(u) Setting x(u,v)=u y(u,v)=v z(u,v)=z+(u^2)/5 x(u,v)=u y(u,v)=v z(u,v)=z+(u^2)/10+(v^2)/5