UShape

Overview

UShape is a class in Aspose.3D FOSS for Python. Inherits from: ParameterizedProfile.

IFC compatible U-shape defined by parameters.

This class declares 8 methods for UShape objects in Python programs. Available methods include: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_extent, 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: depth, edge_radius, excluded, fillet_radius, flange_thickness, flange_width, and 6 more.

Properties

NameTypeAccessDescription
depthfloatRead/WriteGets or sets the depth.
flange_widthfloatRead/WriteGets or sets the flange width.
flange_thicknessfloatRead/WriteGets or sets the flange thickness.
web_thicknessfloatRead/WriteGets or sets the web thickness.
fillet_radiusfloatRead/WriteGets or sets the fillet radius.
edge_radiusfloatRead/WriteGets or sets the edge radius.
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 UShape instance.
get_extent()'Vector2'Gets the extent in x and y dimension.
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 UShape instance.
get_property(property: str)Calls get_property(property) on this UShape instance.
set_property(property: str, value)Sets the property value.
remove_property(property)Calls remove_property(property) on this UShape instance.

See Also