This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com
Helper class for guides/hair.
BaseList2D
Gets the number of guides.
| Return type: | int |
|---|---|
| Returns: | Guide count. |
Gets the number of segments per guide (number of points is one more than this).
| Return type: | int |
|---|---|
| Returns: | Number of segments per guide. |
Gets the number of points per guide. (One more than segments.)
| Return type: | int |
|---|---|
| Returns: | Number of points per guide. |
Gets the number of points per segment.
| Return type: | int |
|---|---|
| Returns: | Number of points per segment. |
Gets a list of points for the guides.
| Return type: | list of Vector |
|---|---|
| Returns: | Point list. |
Gets a list of points for the guides.
| Return type: | list of Vector |
|---|---|
| Returns: | Point list. |
Gets a list of points for the guides.
| Parameters: |
|
|---|---|
| Raises IndexError: | |
Raise if point index is out of range. |
|
Gets the corresponding hair object.
| Return type: | HairObject |
|---|---|
| Returns: | Hair object. |
Gets the selection state.
| Parameter: | mode (int) – Selection mode:
|
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Return type: | BaseSelect | ||||||||||||||
| Returns: | The selection or None. |
Sets the selection state.
| Parameters: |
|
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Return type: | bool |
||||||||||||||
| Returns: | True if successful, otherwise False. |
Converts the selection state.
| Parameters: |
|
|---|
Copies the guide data from src to this instance.
| Parameter: | src (BaseSelect) – Source. |
|---|---|
| Return type: | bool |
| Returns: | True if successful, otherwise False. |
Gets the tangend of guide at segment and t.
| Parameters: |
|
|---|
Create splines from the guides.
| Return type: | SplineObject |
|---|---|
| Returns: | Created splines. |
Gets the root UV at index.
| Parameter: | index (int) – Guide index. |
|---|---|
| Return type: | Vector |
Gets the transformation matrix list.
| Return type: | list of Matrix |
|---|---|
| Returns: | The transformation matrix list. |
Gets the flags.
| Return type: | int |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns: | Flags:
|
Sets the flags.
| Parameter: | flags (int) – New flags:
|
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Return type: | int | ||||||||||
| Returns: | Old flags. |