pw:: DistributionAutomatic

Automatic distribution function type

Derives From

pw::Object pw::Distribution

Summary
Automatic distribution function type
This action creates a new automatic distribution function object.
This default is the requested minimum edge length of a automatic distribution when created.
This attribute is the maximum normal deviation allowed.
This attribute is the maximum distance deviation allowed.
This attribute is whether global surface curvature will influence the dimension and distribution as specified by the NormalMaximumDeviation and CurveMaximumDeviation attributes.
This attribute is the requested minimum edge length.
This attribute is the requested maximum edge length to impose when calculating connector dimension and distribution from the global size field.
This attribute is the decay factor to use in the size field computed from geometric surface curvature.
This 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

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/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 attribute 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 attribute is a flag that allows the underlying surface of a connector to effect the NormalMaximumDeviation and CurveMaximumDeviation constraints.
pw::GridEntity get/setDefault SizeFieldDecay decay
This default is the size field decay factor of a grid entity when it is created.
pw::GridEntity get/setDefault SizeFieldBackgroundSpacing spacing
This default is the size field background spacing of a grid entity when it is created.