ArbitraryProfile

ArbitraryProfile

Przegląd

ArbitraryProfile jest klasą w Aspose.3D FOSS dla Python. Dziedziczy po: Profile.

Ta klasa umożliwia skonstruowanie profilu 2D bezpośrednio z dowolnej krzywej.

Ta klasa deklaruje 8 metod dla obiektów ArbitraryProfile w programach Python. Dostępne metody to: __init__, add_hole, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property. Wszystkie publiczne elementy są dostępne dla dowolnej aplikacji Python po zainstalowaniu pakietu Aspose.3D FOSS dla Python. Właściwości: curve, excluded, holes, name, parent_node, parent_nodes oraz 2 dodatkowe.

Właściwości

NazwaTypDostępOpis
curve'Curve'Odczyt/zapisPobiera lub ustawia krzywą.
holesList['Curve']OdczytPobiera otwory.
parent_nodesList['Node']OdczytPobiera węzły nadrzędne.
parent_nodeOptional['Node']Odczyt/zapisPobiera lub ustawia węzeł nadrzędny.
excludedboolOdczyt/zapisPobiera lub ustawia wykluczone.
scene``Odczyt/zapisPobiera lub ustawia scenę.
namestrOdczyt/zapisPobiera lub ustawia nazwę.
propertiesPropertyCollectionOdczytPobiera właściwości.

Metody

SygnaturaOpis
__init__(name: str)Calls init(name) na tej instancji ArbitraryProfile.
add_hole(hole: 'Curve')Wywołuje add_hole(hole) na tej instancji ArbitraryProfile.
get_entity_renderer_key()Zwraca klucz renderera encji.
get_bounding_box() → BoundingBoxNie zaimplementowano w edycji FOSS — rzuca w czasie wykonywania. Zwraca ramkę ograniczającą.
find_property(property_name: str)Wywołuje find_property(property_name) na tej instancji ArbitraryProfile.
get_property(property: str)Wywołuje get_property(property) na tej instancji ArbitraryProfile.
set_property(property: str, value)Ustawia wartość właściwości.
remove_property(property)Wywołuje remove_property(property) na tej instancji ArbitraryProfile.

Zobacz także

 Polski