path_replicator

Used for path replicator operations.


xshade
shape
path_replicator

List of Properties

count Count
front_direction_type The front direction type
limit Limit
mode Mode
preview Preview
random_replication Randomly replicates the object
random_rotation Random rotation
random_scale Random scale
random_seed Random seed
random_translation Random translation
random_translation_mode Random translation mode
random_uniscale Random uniscale
range Range
reference_point The reference point
replication The replication value
show_directions Display the directions
skip_head Skip (Head)
skip_tail Skip (Tail)
step The step
step_rounding_type The rounding process type
upper_direction_type The up direction type
use_direction_control Whether to apply Direction Control
use_forward_direction_path If there is a forward direction path, whether to use it
use_upper_direction_path If there is an forward direction path, whether to use it




Gets the path replicator object using shape.path_replicator if the path replicator target object is a shape.

Property Details

count

Count.

  • Get
  • Set

Type :
  int

#Output the path replicator count of the selected object
print xshade.scene().active_shape().path_replicator.count

front_direction_type

The front direction type.

  • Get
  • Set

Type :
  int

0 : tangent
1 : tail

#Output the path replicator front direction type of the selected object
print xshade.scene().active_shape().path_replicator.front_direction_type

limit

The limits. The minimum and maximum range of the replicator.

  • Get
  • Set

Type :
  vec2

#Output the path replicator limits of the selected object
print xshade.scene().active_shape().path_replicator.limit

mode

Mode.

  • Get
  • Set

Type :
  int

0 : specify count
1 : specify step

#Output the path replicator mode of the selected object
print xshade.scene().active_shape().path_replicator.mode

preview

The type of preview.

  • Get
  • Set

Type :
  int

0 : None
1 : Draft Display
2 : Display

#Output the path replicator preview type of the selected object
print xshade.scene().active_shape().path_replicator.preview

random_replication

Whether to randomly replicate the object.

  • Get
  • Set

Type :
  bool

#Output the path replicator Random Replication on/off value of the selected object
print xshade.scene().active_shape().path_replicator.random_replication

random_rotation

The random rotation value.

  • Get
  • Set

Type :
  vec3

Specifies the rotation value along each XYZ axis in radians (180 degrees with π=3.141592)

#Output the path replicator random rotation value of the selected object
print xshade.scene().active_shape().path_replicator.random_rotation

random_scale

Random scale.

  • Get
  • Set

Type :
  vec3

#Output the path replicator random scale value of the selected object
print xshade.scene().active_shape().path_replicator.random_scale

random_seed

The random seed value.

  • Get
  • Set

Type :
  int

#Output the path replicator random seed value of the selected object
print xshade.scene().active_shape().path_replicator.random_seed

random_translation

Random translation.

  • Get
  • Set

Type :
  vec3

#Output the path replicator random translation value of the selected object
print xshade.scene().active_shape().path_replicator.random_translation

random_translation_mode

Random translation mode.

  • Get
  • Set

Type :
  int

0 : offset
1 : displacement

#Output the path replicator random translation mode of the selected object
print xshade.scene().active_shape().path_replicator.random_translation_mode

random_uniscale

Random uniscale.

  • Get
  • Set

Type :
  bool

#Output the path replicator random uniscale on/off value of the selected object
print xshade.scene().active_shape().path_replicator.random_uniscale

range

The replicator range.

  • Get
  • Set

Type :
  bool

#Output the path replicator Range on/off value of the selected object
print xshade.scene().active_shape().path_replicator.range

reference_point

The reference point type.

  • Get
  • Set

Type :
  int

0 : Local Origin
1 : First Control Point of Path

#Output the path replicator reference point type of the selected object
print xshade.scene().active_shape().path_replicator.reference_point

replication

The replication value.

  • Get
  • Set

Type :
  float

#Output the path replicator replication value of the selected object
print xshade.scene().active_shape().path_replicator.replication

show_directions

Display the directions.

  • Get
  • Set

Type :
  bool

#Output the path replicator Show Direction on/off value of the selected object
print xshade.scene().active_shape().path_replicator.show_directions

skip_head

Skip (Head).

  • Get
  • Set

Type :
  bool

#Output the path replicator Skip (Head) on/off value of the selected object
print xshade.scene().active_shape().path_replicator.skip_head

skip_tail

Skip (Tail).

  • Get
  • Set

Type :
  bool

#Output the path replicator Skip (Tail) on/off value of the selected object
print xshade.scene().active_shape().path_replicator.skip_tail

step

The interval value when the mode is set to "Step."

  • Get
  • Set

Type :
  float

#Output the path replicator Step value of the selected object
print xshade.scene().active_shape().path_replicator.step

step_rounding_type

The rounding process type when the mode is set to "Step."

  • Get
  • Set

Type :
  int

0 : None
1 : Round Down (equalize)
2 : Round Up (equalize)
3 : Extend

#Output the path replicator rounding process type of the selected object
print xshade.scene().active_shape().path_replicator.step_rounding_type

upper_direction_type

The up direction type.

  • Get
  • Set

Type :
  int

0 : X
1 : Y
2 : Z
3 : Auto Roll

#Output the path replicator up direction type of the selected object
print xshade.scene().active_shape().path_replicator.upper_direction_type

use_direction_control

Whether to apply Direction Control.

  • Get
  • Set

Type :
  bool

#Output the path replicator Direction Control on/off value of the selected object
print xshade.scene().active_shape().path_replicator.use_direction_control

use_forward_direction_path

If there is a forward direction path, whether to use it.

  • Get
  • Set

Type :
  bool

#Output the path replicator "Use Forward Direction Path If Available" on/off value of the selected object
print xshade.scene().active_shape().path_replicator.use_forward_direction_path

use_upper_direction_path

If there is an up direction path, whether to use it.

  • Get
  • Set

Type :
  bool

#Output the path replicator "Use Up Direction Path If Available" on/off value of the selected object
print xshade.scene().active_shape().path_replicator.use_upper_direction_path