LoftOptionsBuilder Class

This class is used to build loft options.
Inheritance Hierarchy
SystemObject
  Teigha.DatabaseServicesLoftOptionsBuilder

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public class LoftOptionsBuilder

The LoftOptionsBuilder type exposes the following members.

Constructors
  Name Description
Public method LoftOptionsBuilder Default constructor for the LoftOptionsBuilder class.
Public method LoftOptionsBuilder(LoftOptions) Constructor for the LoftOptionsBuilder class. Creates an object from an existing LoftOptions object.
Top
Properties
  Name Description
Public property AlignDirection Property that indicates whether the direction alignment flag is set. The direction alignment flag is used to orient each of the cross sections so that the normal vector of each cross section points towards the next cross section. If the cross sections are not all oriented in the same direction, this flag should be used to avoid creating a twisted or self-intersecting surface.
Public property ArcLengthParam Property that indicates whether arc length parameterization is applied.
Public property Closed Property that indicates whether the closed flag is set. If the closed flag is set to true, the created surface starts and ends at the first cross section (i.e., the surface is closed). If all of the cross sections are closed, the resulting surface is a torus-like shape. If the closed flag is set to false, the surface is opened or capped with a planar surface at the first and last cross sections. If the flag is set, there must be at least three cross sections.
Public property DraftEnd Property that represents the end draft angle in radians. This value relates to the surface take-off direction at the last cross-section. The default value is 0; no draft angle is applied and the optimum angle is calculated at the last cross-section.
Public property DraftEndMag Property that represents the end draft magnitude. This value relates to the magnitude of the surface tangent vector at the last cross section. The default value is 0; the optimum magnitude is calculated at the last cross section.
Public property DraftStart Property that represents the start draft angle in radians. This value relates to the surface take-off direction at the first cross section. The default value is 0; no draft angle is applied and the optimum angle is calculated at the first cross section.
Public property DraftStartMag Property that represents the start draft magnitude. This value relates to the magnitude of the surface tangent vector at the first cross section. The default value is 0; the optimum magnitude is calculated at the last cross section.
Public property NormalOption Property that represents plane normal lofting options.
Public property NoTwist Property that indicates whether the noTwist flag is set. This flag can be used to minimize the amount of twist in the surface when the cross sections are all closed. The default value is true; the start point of each closed cross section is aligned with the other cross sections to minimize the twist.
Public property Ruled Property that indicates whether the ruled flag is set. If the flag is set to true, a ruled surface is created between each pair of cross sections, which leads to a coarser surface. If the flag is set to false, a single smooth surface is created. The default value is false.
Public property Simplify Property that indicates whether the simplify flag is set. If the simplify flag is set to true, simple surface types (such as a plane, cylinder, cone, sphere and torus) are created whenever all of the cross sections lie on such a surface. If the simplify flag is set to false, a general surface type is created. The default value is true.
Public property VirtualGuide Property that indicates whether the virtual guide option is used for creating loft surfaces or solids.
Top
Methods
  Name Description
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method SetOptionsFromSysvars Sets loft options according to the values of system variables in the specified database.
Public method ToLoftOptions Returns this object converted to a LoftOptions object.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
See Also

©  Bricsys NV. All rights reserved.