CompositeCurve

CompositeCurve

Overview

CompositeCurve is a class in Aspose.3D FOSS for Python. Inherits from: Curve.

A CompositeCurve is consisting of several curve segments.

This class declares 9 methods for CompositeCurve objects in Python programs. Available methods include: __init__, add_segment, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: color, excluded, name, parent_node, parent_nodes, properties, and 2 more.

Properties

NameTypeAccessDescription
segments``ReadThe segments of the curve.
color'Vector3'Read/WriteGets or sets the color.
parent_nodesList['Node']ReadGets the parent nodes.
parent_nodeOptional['Node']Read/WriteGets or sets the parent node.
excludedboolRead/WriteGets or sets the excluded.
scene``Read/WriteGets or sets the scene.
namestrRead/WriteGets or sets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
__init__()Constructor of CompositeCurve.
add_segment(curve, same_direction: bool)Add a new segment to current curve.
__init__(name: str)Calls init(name) on this CompositeCurve instance.
get_bounding_box()BoundingBoxNot implemented in the FOSS edition — throws at runtime. Returns the bounding box.
get_entity_renderer_key()Not implemented in the FOSS edition — throws at runtime. Returns the entity renderer key.
find_property(property_name: str)Calls find_property(property_name) on this CompositeCurve instance.
get_property(property: str)Calls get_property(property) on this CompositeCurve instance.
set_property(property: str, value)Sets the property value.
remove_property(property)Calls remove_property(property) on this CompositeCurve instance.

See Also