Create a Field For Implicit Modeling
Create a field to define geometry or control the parameters of an existing geometry at every location within the bounds of the field.
A field can be thought of as a 3D grid, and each grid point contains a signed scalar value. An illustrative example would be to create a field based on the signed distance to a plane or line, and then rescale these distances into density values. This field can then be used to control the relative density of another geometry, such as a lattice, at each location in space.
You can construct a field from a source that is not yet described in a field format and remap field values to different ranges.
-
On the Implicit Modeling ribbon, select the
Field tool.
Tip: To find and open a tool, press Ctrl+F. For more information, see Find and Search for Tools. - Optional: For Visualization Quality, select from Low to Very High quality, which corresponds to a low to very high density of elements. A higher quality produces sharper geometry features but is more computationally intensive. When creating a complicated function, it’s recommended to work using a lower quality and then switch to a higher quality after the function is complete.
-
Select a driving object.
Note: The driving object can be an implicit body; reference geometry such as points, planes, and axes; or a selection of BRep geometry types such as vertices, straight edges, arcs, and planar and cylindrical faces. Information that is already in a field format can be used, such as simulation data (e.g., stress fields), which includes data in the form of a point cloud if interpolation is used.The driving object is converted into the correct field format. For geometry, this creates a 3D grid of coordinates and then creates a scalar value for each coordinate. In almost all cases, this will be the signed distance to the object from the point of view of that coordinate. For an existing field, it will look up and/or interpolate the existing field values to place them into the newly created 3D grid of coordinates and corresponding scalar values.
- Optional:
To map the distance field to a new output range, turn on
Rescale.
An illustrative example is to control the relative density of a lattice based on the signed distance values. Here, signed distance values will be rescaled into the desired relative density range. For example, if you want a relative density of 25% at zero distance to the driving geometry and a relative density of 75% at 50 mm away from the object, the inputs to the rescale will be as follows:
Min Distance: 0.0 mm
Max Distance: 50.0 mm
Min Density: 25.0
Max Density: 75.0
-
Define the Input Range, which can be constant or
variable driven.
- Min Value: The lowest numerical value of interest in the input field, which might come from driving geometry such as distance to an implicit body, distance to construction geometry (point, axis, and plane), or select BRep features (vertex, line segment, arc, planar surface, cylindrical surface). Please note that this is not the value that is closest to zero, it is the smallest value on a number line. For example, -25.3 is smaller than -0.1.
- Max Value: The highest numerical value of interest in the input field, which might come from driving geometry such as distance to an implicit body, distance to construction geometry (point, axis, and plane), or select BRep features (vertex, line segment, arc, planar surface, cylindrical surface). Please note that this is not the value that is closest to zero; it is the largest value on a number line. For example, -0.1 is larger than -25.3.
-
Define the Output Range, which can be constant or
variable driven.
- Units: The units associated with the output field, which can either be Length, Unitless, or Percentage. Percentage is used for applications, such as the Relative Density of a lattice, which is expressed as being between 0% (empty space) and 100% (completely solid). Another example is the Morph Amount in the Morph context. Unitless is the correct choice for applications that are represented as a count, without any units. An example of this is specifying lattice unit cell sizes based on a count across one of the dimensions of an object (e.g., "give me 20 repetitions of the lattice unit cell in the x-direction").
- Min Value: The value that the Min Value from the input field should map to in the newly created output field (e.g., a density value of 25% or a distance such as 0.0 mm).
- Max Value: The value that the Max Value value from the input field should map to in the newly created output field (e.g., a density value of 75% or a distance such as 50.0 mm).
- Optional: To prevent values going below or above the Min and Max values, respectively, turn on Clamp.
- Click OK.
The field is saved automatically and can be used to drive certain implicit parameters.