SpaceClaim Online Help
You are here: Inserting > Bodies > Equation Surfaces

Geometry from Equations

 

You can select from a number of preset 3D equations or write custom equations in the tool.

The image below shows a Helicoid surface.

 

 

The equation is constructed in the Options panelClosed. The image below shows the equation for the Helicoid shown above.

 

 

You can enter an equation in the input fields for X, Y, and Z is for 3D equations.

Clicking the icon to the right of the X, Y, or Z input fields opens an editor for more complex equations.

Use the Show UV gridClosed option to display a grid on the surface and adjust the grid density using the dropdown slider. The grid helps visualize the surface contours.

 

Use the Equation tool in the DesignClosed tab to create 2D curves based on mathematical equations.

To create a preset equation

  1. Click the Equation tool in the Insert tab
  2. (Optional) Click the Select OriginClosed tool guide and select an equation origin
  3. Choose an equation from the CurveClosed Types dropdown list in the Options panel
  4. Edit the equation as needed in the Options panel
  5. Click Complete to create the equation surface

To create a custom equation

  1. Click the Equation tool in the Design tab
  2. (Optional) Click the Select Origin tool guide and select an equation origin
  3. Choose Custom in the Curve Types dropdown list in the Options panel
  4. Enter the equation in the input panels
  5. To create a Parameter to use in the equation enter it in square brackets "[ ]"
  6. Click Complete to create the equation surface

To save a custom equation

The Save Custom Equation button next to the Curve Types dropdown menu allows you to save your custom equations. They are saved to an XML file in the following location:

 

%APPDATA%\Roaming\SpaceClaim\SurfaceEquationCustoms.xml

 

Saved equations are added to the Curve Types dropdown menu and can be used in other documents and across multiple sessions. If you do not see a newly saved equation in the list. open/create a new document or close and re-open the current document.

To edit an equation

  1. Click the Equation tool in the Design tab
  2. The Select BodyClosed tool guide is active
  3. Select the body to edit it's equation
  4. (Optional) Click the Select Origin tool guide and select a different origin
  5. Edit the equation as needed in the Options panel
  6. Click Complete to create the equation surface

To scale an equation surface

Use the ScaleClosed parameter and slider in the Options panel to scale an equation surface.

3D scaling with the Pull tool also works on equation surfaces.

Syntax and predefined functions

Name Description
Abs Returns the absolute value of a specified number
Acos Returns the angle whose cosine is the specified number
Asin Returns the angle whose sine is the specified number
Atan Returns the angle whose tangent is the specified number
Cos Returns the cosine of the specified angle
Sin Returns the sine of the specified angle
Sqrt Returns the square root of the specified number
Tan Returns the tangent of the specified angle

Preset curve examples

The preset equations include those shown in the following table.

 

Catenoid One Sheet Hyperboloid

 

(Two sheets consists of separate top and bottom Hyperboloid surfaces, and can be made with two equations with inverted ranges)

Helicoid Paraboloid
Hyperbolic Paraboloid

Radial Wave

 

 

 

 

 

 

 


Copyright © 2004-2017 ANSYS, Inc. All Rights Reserved. SpaceClaim is a registered trademark of ANSYS, Inc.