ArbitraryProfile

ArbitraryProfile

Overview

ArbitraryProfile is a class in Aspose.3D FOSS for Python. Inherits from: Profile.

This class allows you to construct a 2D profile directly from arbitrary curve.

This class declares 8 methods for ArbitraryProfile objects in Python programs. Available methods include: __init__, add_hole, 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: curve, excluded, holes, name, parent_node, parent_nodes, and 2 more.

Properties

NameTypeAccessDescription
curve'Curve'Read/WriteGets or sets the curve.
holesList['Curve']ReadGets the holes.
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__(name: str)Calls init(name) on this ArbitraryProfile instance.
add_hole(hole: 'Curve')Calls add_hole(hole) on this ArbitraryProfile instance.
get_entity_renderer_key()Returns the entity renderer key.
get_bounding_box()BoundingBoxNot implemented in the FOSS edition — throws at runtime. Returns the bounding box.
find_property(property_name: str)Calls find_property(property_name) on this ArbitraryProfile instance.
get_property(property: str)Calls get_property(property) on this ArbitraryProfile instance.
set_property(property: str, value)Sets the property value.
remove_property(property)Calls remove_property(property) on this ArbitraryProfile instance.

See Also