pw::DistributionAutomatic

Automatic distribution function type

Derives From

pw::Object pw::Distribution

Summary
pw::DistributionAutomaticAutomatic distribution function type
Static Actions
createThis action creates a new automatic distribution function object.
Static Defaults
EdgeMinimumLength (Default)This default is the requested minimum edge length of a automatic distribution when created.
Instance Attributes
NormalMaximumDeviationThis attribute is the maximum normal deviation allowed.
CurveMaximumDeviationThis attribute is the maximum distance deviation allowed.
SurfaceCurvatureInfluenceThis attribute is whether global surface curvature will influence the dimension and distribution as specified by the NormalMaximumDeviation and CurveMaximumDeviation attributes.
EdgeMinimumLengthThis attribute is the requested minimum edge length.
EdgeMaximumLengthThis attribute is the requested maximum edge length to impose when calculating connector dimension and distribution from the global size field.
SizeFieldDecayThis attribute is the decay factor to use in the size field computed from geometric surface curvature.
SizeFieldBackgroundSpacingThis attribute is the requested background size.

Static Actions

create

pw::DistributionAutomatic create

This action creates a new automatic distribution function object.

Parameters

None

Returns

This action returns a new pw::DistributionAutomatic object.

Static Defaults

EdgeMinimumLength (Default)

pw::DistributionAutomatic get/setDefault EdgeMinimumLength edgeLen

This default is the requested minimum edge length of a automatic distribution when created.

Type

This default is a float with the range [0, infinity).

Default

The default for this attribute is 0.0.

Instance Attributes

NormalMaximumDeviation

$dist get/setNormalMaximumDeviation maxAngle

This attribute is the maximum normal deviation allowed.  This is used as a sizing parameter from the curvature of the connectoer and optionally the geometric surfaces in proxmity to the connector.

Type

This attribute is a float with the range [0, 180).  0 means this limit should not be applied.

Default

The default for this attribute is the current setting of the connector maximum normal deviation pw::Connector.NormalMaximumDeviation.

CurveMaximumDeviation

$dist get/setCurveMaximumDeviation distance

This attribute is the maximum distance deviation allowed.  This is used as a sizing parameter from the curvature of the connectoer and optionally the geometric surfaces in proxmity to the connector.

Type

This attribute is a float with the range [0, infinity).  0 means this limit should not be applied.

Default

The default for this attribute is the current setting of the connector maximum distance deviation pw::Connector.CurveMaximumDeviation.

SurfaceCurvatureInfluence

$dist get/setSurfaceCurvatureInfluence use

This attribute is whether global surface curvature will influence the dimension and distribution as specified by the NormalMaximumDeviation and CurveMaximumDeviation attributes.

Type

This attribute is a <bool> where true indicates that curvature from surrounding geometric surfaces will influence the connector dimension and distribution.

Default

The default for this attribute is the current setting of the connector surface curvature attribute pw::Connector.SurfaceCurvatureInfluence.

EdgeMinimumLength

$dist get/setEdgeMinimumLength edgeLen

This attribute is the requested minimum edge length.

Type

This attribute is the requested maximum edge length to impose when calculating connector dimension and distribution from the global size field.

Default

The default for this attribute is current setting of the EdgeMinimumLength default.

EdgeMaximumLength

This attribute is the requested maximum edge length to impose when calculating connector dimension and distribution from the global size field.

Type

This attribute is a float with the range [0, infinity) where 0 means that no maximum edge length will be used to override the edge length computed from the global size field.

Default

The default for this attribute is 0.

SizeFieldDecay

$dist get/setSizeFieldDecay factor

This attribute is the decay factor to use in the size field computed from geometric surface curvature.

Type

This attribute is a float with the range [0, 1] where 0 means that the influence of curvature at a given location has maximum effect for the greatest possible distance, and 1 means that the effect dissipates as quickly as possible toward the background size.

Default

The default for this attribute is the current setting of the global size field settings pw::GridEntity.SizeFieldDecay.

SizeFieldBackgroundSpacing

$dist get/setSizeFieldBackgroundSpacing size

This attribute is the requested background size.

Type

This attribute is a float with the range [0, infinity) where 0 means that there will be no default edge length used when calculating connector dimension and distribution from the global size field.

Default

The default for this attribute is the current setting of the global size field settings pw::GridEntity.SizeFieldBackgroundSpacing.

pw::DistributionAutomatic create
This action creates a new automatic distribution function object.
pw::DistributionAutomatic get/setDefault EdgeMinimumLength edgeLen
This default is the requested minimum edge length of a automatic distribution when created.
$dist get/setNormalMaximumDeviation maxAngle
This attribute is the maximum normal deviation allowed.
$dist get/setCurveMaximumDeviation distance
This attribute is the maximum distance deviation allowed.
$dist get/setSurfaceCurvatureInfluence use
This attribute is whether global surface curvature will influence the dimension and distribution as specified by the NormalMaximumDeviation and CurveMaximumDeviation attributes.
$dist get/setEdgeMinimumLength edgeLen
This attribute is the requested minimum edge length.
$dist get/setSizeFieldDecay factor
This attribute is the decay factor to use in the size field computed from geometric surface curvature.
$dist get/setSizeFieldBackgroundSpacing size
This attribute is the requested background size.
Base type for all glyph types
Base class for distribution types
Automatic distribution function type
A float is a fractional number.
pw::Connector get/setNormalMaximumDeviation angle
This default is the maximum turning angle allowed between successive grid points.
pw::Connector get/setCurveMaximumDeviation distance
This attribute is the maximum distance allowed between the analytic and discrete shape of a connector.
pw::Connector get/setSurfaceCurvatureInfluence influence
This default is a flag that allows the underlying surface of a connector to affect the NormalMaximumDeviation and CurveMaximumDeviation constraints.
$entity get/setSizeFieldDecay decay
This attribute is the size field decay factor used as the decay when a size field is generated for this entity.
$entity get/setSizeFieldBackgroundSpacing spacing
This attribute is the size background spacing when a size field is generated for this entity.
Close