Creating Surfaces from Point Clouds

 

Invoked ByPoint Cloud Design Tool Bar (Part Level)

 

These commands create surfaces that pass through a set of points referred to as a point cloud.  You can create the point cloud using VX point commands or use a point cloud file.  Imported STL data can also be used.  See Tip & Techniques below.  Both patch and cylindrical faces with a shared seam are supported.  The commands function in a similar manner and share many of the same optional inputs.

 

These commands can be used to reverse engineer designs using CMM (Coordinate Measuring Machine) point data to drive VX features.  The References section below contains links to other commands that work with point clouds and CMM data.

 

Point Cloud (30,900 Points)

Point Cloud (30,900 Points)

Resulting Surface (2,808 Control Points)

Surface (2,808 Control Points)

 

 

Trimmed Face from Point Cloud Trimmed Surface from Point Cloud

 

Use this command to create a trimmed face that passes through a set of points or a point block referred to as a point cloud. With this approach you can divide up an overly complex set of point data into separate sections.  Instead of one very large surface, several smaller, tangentially connected patches may be generated. Each patch can be based on a portion of the input point data for which a common projection direction does not exist.

 

This should both speed up the overall process and also enable the processing of "360" degree scan data.  The only required inputs are the input points the face must pass through and the set of boundary curves used to trim the face.  This command can be used on imported STL data.  Refer to the Optional Inputs section below.

 

 

Untrimmed Face from Point Cloud Untrimmed Surface from Point Cloud

 

Use this command to create an untrimmed face that passes through a set of points referred to as a point cloud. The only required input are the points the face must pass through.

 

The optional inputs are numerous. They include defining the U direction, the total number of control points for the face, the U/V ratio and additional FEM settings such as spring constant and bending resistance. You can also modify an existing face to pass through the point cloud.  Refer to the Optional Inputs section below.

 

 

Untrimmed Face from Point Cloud File Untrimmed Surface from Point Cloud File

 

Use this command to create an untrimmed face that passes through a set of points (referred to as a point cloud) read from a point file. The point file should be in ASCII format and adhere to the structure described below.

 

The only required input is the point file. The optional inputs are numerous. They include defining the U direction, the total number of control points for the face, the U/V ratio and additional FEM settings such as spring constant and bending resistance. You can also modify an existing face to pass through the point cloud.

 

 

Point File Format

 

<group_label> and the Z coordinate are optional. When you enter a group label, only points from that group are imported. The file may contain comments preceded by a pound sign (#).

 

#comment

 

<group label>

x,y,z

x,y,z

   .

   .

   .

 

<group label>

x,y,z

x,y,z

   .

   .

   .

 

 

  VX Notes Notes

 

 

Optional Inputs are documented here. Optional Inputs

 

Delimiter

Specify the delimiter format of the imported point cloud file.  Comma and Space are currently supported.

 

Face

Select an untrimmed base face to modify or middle-click to create a new face.  If a face is selected, edges are handled automatically such that the tangency is largely maintained across a seam. The continuity across a seam edge depends on the point data near the edge.

 

FEM Settings

Spring Constant, Bending Resistance

These commands create surfaces based on energy minimization.  Use the slider bars to set the spring constant and bending resistance values.  See Finite Element Methods (FEM) for Surface Creation for more information.

 

Label

Define a label for the feature if desired.

 

Normal - Use this to define the base face direction.  This allows you to re-orient the overall direction of the fitted shape, in case the built-in method does not detect it properly or you wish to use a different direction as a preference. Occasionally, less than ideal scan data can cause such ambiguities.

 

Num point

This option sets the total number of control points for the resulting face. The lower limit and the default value (with no other input) is100. Entering a lower value will be changed to 100. If a less defined face is desired, use the FEM Settings below to make additional adjustments.

 

If you select a set of sample points and then middle-click, a logarithmic scale is used to generate a value based on the total number of points selected.  For example, if 30,900 points are selected (see image above) this value will be 2,808.  This then becomes the new default value but only AFTER the point selection is made. You can accept this value or override it with another either from this Options Form or in the text input field.

 

If you edit this field first BEFORE points are selected, the value you enter will not change even after a point selection is made. This can be used to reduce or increase the number of sample points for the resulting face. Also refer to the Notes section below. See VX Note.

 

Optimize point data

Use this option to optimize the point data.  By default, this option is checked.  If unchecked, the resulting surface is calculated with no optimization.  While this may help improve surface detail, it will take significantly longer to calculate and also limit the amount of point data the commands can handle.  During the Untrimmed Face from Point Cloud File command (see above), this option works in conjunction with the Reduce point set option (see below) based on the specified Tolerance value (see below).

 

Reduce point set

Check this box to reduce the total number of points used from the point cloud file and enter a tolerance value (see below). The total number of points that can be reduced is unlimited.

 

Refit base face

When the Face option (see above) is used, check this box to refit the base face during the command.  This means that more control points can be added to the surface, if necessary, to better fit the point cloud data.

 

If unchecked, you can prevent the command from adding more control points before the surface is fitted through the point data. It will use existing control

points as degrees of freedom and try to fit the data.

 

This will speed up the process and will also keep the same UV surface parameter values for the sample data points throughout multiple surface fitting iterations.  This helps to prevent a "shifting" or "pinching" effect that can arises if slightly different UV parameter values are assigned during each iteration.

 

Reset

Use this option to reset the FEM Settings (see above) sliders to their system default positions.

 

Specify sample density, Density - Use this to set the sample point density.

 

 

 

Tangent at boundary - Check this box to enforce tangent continuity across the resulting surface boundary.

 

Tolerance

This command spatially sorts points and keeps only one point in each tolerance-sized region.  If the tolerance is set to zero or left blank, a guess is made at a reasonable tolerance. Fewer points mean less accuracy but greater system performance.  For lower tolerances, use the Create point block option above.

Also refer to Common Optional Inputs (see below) for options not listed here.

 

U degree, V degree - This is the degree of the resulting surface. Lowering the degree values will generally result in a simpler surface.

 

U-direction, V/U ratio

The U-direction is used in conjunction with the U/V ratio to better distribute the available control points. Once the U-direction is specified, the U/V ratio can be used to control how many points there are per row in the U and V directions. The allowed value range is 0.01-100.

 

For example, the resulting face is to be about 10 times longer in the V direction. Increasing the U/V ratio to 10 will assign more control points to the V direction. The maximum value of 100 will work for even larger ratios since most of the control points will be assigned in the V direction anyway.  Refer to the Notes section below for more information.

 

 

Optional Inputs are documented here. Optional Inputs Matrix

 

 Surface from Point Cloud Commands

Optional

Inputs

Trimmed

Trimmed

Face from Point Cloud

Untrimmed

Face from Point Cloud File

From File

Delimiter

 

 

3788.gif

Face

 

3788.gif

3788.gif

FEM Settings

3788.gif

3788.gif

3788.gif

Label

 

 

3788.gif

Normal Direction

(of the fitted surface)

3788.gif

 

 

Num point

 

3788.gif

3788.gif

Optimize point data

 

3788.gif

3788.gif

Reduce point set

 

 

3788.gif

Refit base face

 

3788.gif

3788.gif

Reset

3788.gif

3788.gif

3788.gif

Specify sample density

(along boundaries)

3788.gif

 

 

Tangent at boundary

3788.gif

 

 

Tolerance

 

 

3788.gif

U degree, V degree

3788.gif

 

 

U-direction

(of the fitted surface)

3788.gif

3788.gif

3788.gif

V/U ratio

 

3788.gif

3788.gif

 

 

Tip & Techniques

 

Tips & Techniques

Point clouds containing 50 million or more points

If you regularly work with point clouds containing 50 million or more points, please contact VX technical support.  They may have solutions that can help process your point clouds more efficiently.

 

Tips & TechniquesYou can create surfaces from imported STL data

An imported STL object can be selected as input for the Face from Point Cloud command.  It is important to note that this is not a general purpose STL to NURBS conversion and/or translation tool.  It can be used to that effect, however, for certain supported cases.

 

The supported cases include those that the Surface from Point Cloud command supports. Base faces can still be used, including ones with seam edges.  You will need to provide a base face in cases where the STL data cannot be projected to a common plane adequately.  See Finite Element Method (FEM) for Surface Creation under the Notes section for more information.

 

 

VX Notes Common Notes

 

Related Topics

Return to VX CAD/CAM Index