Warp by Law

Available in TurboCAD Pro Platinum only

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 a the 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:

Delete source object: If this option is selected the original source object is deleted.

 

To create a law:

  1. Type the desired formulas into the formula fields.
  2. Press the + (plus) button.
     
  3. 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.

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

Demo Video: