DipsScripting 9.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dips/AnchorPointVal.py +103 -0
- dips/AngleDataVal.py +62 -0
- dips/AnnotativeTools2DVal.py +273 -0
- dips/ApplicationManager.py +89 -0
- dips/ArrowToolEntityInfoRef.py +43 -0
- dips/ArrowToolEntityInfoVal.py +155 -0
- dips/AutomaticClusterAnalysisSettingsVal.py +161 -0
- dips/BuiltInDataDescriptors.py +81 -0
- dips/BuiltInDataFormatters.py +81 -0
- dips/CircularWindowVal.py +103 -0
- dips/ClusterWindowVal.py +190 -0
- dips/ColorSurrogateVal.py +95 -0
- dips/ConeToolEntityInfoRef.py +43 -0
- dips/ConeToolEntityInfoVal.py +114 -0
- dips/ConeVal.py +92 -0
- dips/ContourEntityVisibilityVal.py +132 -0
- dips/ContourOptionsVal.py +193 -0
- dips/CumulativeChartViewRef.py +42 -0
- dips/CumulativeChartViewVal.py +100 -0
- dips/CumulativePlotSettingsVal.py +94 -0
- dips/CurvedWindowVal.py +102 -0
- dips/CustomColumnCollectionVal.py +69 -0
- dips/CustomHistogramOptionsVal.py +103 -0
- dips/CustomRangeVal.py +84 -0
- dips/CustomRowRawDataVal.py +74 -0
- dips/DataDescriptorVal.py +83 -0
- dips/DataFilterRef.py +23 -0
- dips/DataFilterVal.py +73 -0
- dips/DataFormatterVal.py +62 -0
- dips/DataIdentifierVal.py +62 -0
- dips/DipsAPI_pb2.py +817 -0
- dips/DipsAPI_pb2_grpc.py +12363 -0
- dips/DipsApp.py +81 -0
- dips/DiscontinuityDataVal.py +164 -0
- dips/EllipseToolEntityInfoRef.py +43 -0
- dips/EllipseToolEntityInfoVal.py +153 -0
- dips/FillFormatVal.py +83 -0
- dips/FoldEntityInfoRef.py +23 -0
- dips/FoldEntityInfoVal.py +103 -0
- dips/FoldEntityOptionsVal.py +106 -0
- dips/FoldEntityVisibilityRef.py +38 -0
- dips/FoldEntityVisibilityVal.py +100 -0
- dips/FoldWindowEntityInfoVal.py +92 -0
- dips/FoldWindowEntityVisibilityRef.py +29 -0
- dips/FoldWindowEntityVisibilityVal.py +80 -0
- dips/FreehandWindowVal.py +80 -0
- dips/FullDataFormatVal.py +92 -0
- dips/GlobalPlaneEntityVisibilityVal.py +103 -0
- dips/HistogramChartViewRef.py +42 -0
- dips/HistogramChartViewVal.py +100 -0
- dips/HistogramPlotSettingsVal.py +136 -0
- dips/IntersectionEntityVisibilityVal.py +83 -0
- dips/IntersectionOptionsVal.py +83 -0
- dips/IntervalVal.py +102 -0
- dips/JointFrequencyAnalysisSettingsVal.py +102 -0
- dips/JointFrequencyChartViewRef.py +42 -0
- dips/JointFrequencyChartViewVal.py +100 -0
- dips/JointSpacingAnalysisSettingsVal.py +138 -0
- dips/JointSpacingChartViewRef.py +42 -0
- dips/JointSpacingChartViewVal.py +100 -0
- dips/KinematicAnalysisEntityVisibilityVal.py +73 -0
- dips/KinematicAnalysisSettingsVal.py +140 -0
- dips/LatLongVal.py +84 -0
- dips/LengthDataVal.py +83 -0
- dips/LineFormatVal.py +83 -0
- dips/LineIntersectionCalculatorToolEntityInfoRef.py +43 -0
- dips/LineIntersectionCalculatorToolEntityInfoVal.py +133 -0
- dips/LineToolEntityInfoRef.py +43 -0
- dips/LineToolEntityInfoVal.py +133 -0
- dips/LineationVal.py +83 -0
- dips/MeasureAngleToolEntityInfoRef.py +43 -0
- dips/MeasureAngleToolEntityInfoVal.py +133 -0
- dips/OrientationDataSetRef.py +23 -0
- dips/OrientationDataSetVal.py +453 -0
- dips/PitchGridToolEntityInfoRef.py +43 -0
- dips/PitchGridToolEntityInfoVal.py +114 -0
- dips/PlaneEntityInfoRef.py +23 -0
- dips/PlaneEntityInfoVal.py +92 -0
- dips/PlaneEntityVisibilityRef.py +38 -0
- dips/PlaneEntityVisibilityVal.py +100 -0
- dips/PlaneIntersectionCalculatorToolEntityInfoRef.py +43 -0
- dips/PlaneIntersectionCalculatorToolEntityInfoVal.py +133 -0
- dips/PlaneOptionsVal.py +117 -0
- dips/PlaneVal.py +105 -0
- dips/PoleEntityOptionsVal.py +84 -0
- dips/PoleEntityVisibilityVal.py +83 -0
- dips/PolygonToolEntityInfoRef.py +43 -0
- dips/PolygonToolEntityInfoVal.py +131 -0
- dips/PolylineToolEntityInfoRef.py +43 -0
- dips/PolylineToolEntityInfoVal.py +111 -0
- dips/ProcessedDataVal.py +94 -0
- dips/ProjStubRef.py +388 -0
- dips/ProjStubVal.py +52 -0
- dips/ProtobufCollectionWrappers.py +108 -0
- dips/QualitativeQuantitativeAnalysisSettingsVal.py +151 -0
- dips/QualitativeQuantitativeChartViewRef.py +42 -0
- dips/QualitativeQuantitativeChartViewVal.py +111 -0
- dips/QuantitativeContourSettingsVal.py +103 -0
- dips/RQDAnalysisChartViewRef.py +42 -0
- dips/RQDAnalysisChartViewVal.py +100 -0
- dips/RQDAnalysisSettingsVal.py +111 -0
- dips/RectangleToolEntityInfoRef.py +43 -0
- dips/RectangleToolEntityInfoVal.py +153 -0
- dips/ReportingConventionResultVal.py +62 -0
- dips/RosettePresetOptionsVal.py +227 -0
- dips/RosetteSettingsVal.py +174 -0
- dips/RosetteViewRef.py +296 -0
- dips/RosetteViewVal.py +177 -0
- dips/ScatterChartViewRef.py +42 -0
- dips/ScatterChartViewVal.py +100 -0
- dips/ScatterPlotSettingsVal.py +113 -0
- dips/SetEntityInfoRef.py +23 -0
- dips/SetEntityInfoVal.py +103 -0
- dips/SetEntityOptionsVal.py +133 -0
- dips/SetEntityVisibilityRef.py +38 -0
- dips/SetEntityVisibilityVal.py +100 -0
- dips/SetStatisticsSettingsVal.py +106 -0
- dips/SetVersusSetVal.py +82 -0
- dips/SetWindowEntityInfoVal.py +183 -0
- dips/SetWindowEntityVisibilityRef.py +29 -0
- dips/SetWindowEntityVisibilityVal.py +80 -0
- dips/StatisticalDistributionFilterVal.py +128 -0
- dips/Stereonet2DPresetOptionsVal.py +488 -0
- dips/Stereonet2DViewRef.py +612 -0
- dips/Stereonet2DViewVal.py +363 -0
- dips/Stereonet3DPresetOptionsVal.py +281 -0
- dips/Stereonet3DViewRef.py +440 -0
- dips/Stereonet3DViewVal.py +303 -0
- dips/StereonetOverlayEntityVisibilityVal.py +83 -0
- dips/StereonetOverlaySettingsVal.py +103 -0
- dips/StereonetProjectionModeVal.py +73 -0
- dips/SurveyDataVal.py +103 -0
- dips/SymbolDisplaySettingVal.py +124 -0
- dips/SymbolicSettingsVal.py +89 -0
- dips/TextFormatVal.py +105 -0
- dips/TextToolEntityInfoRef.py +43 -0
- dips/TextToolEntityInfoVal.py +176 -0
- dips/TraverseEntityOptionsVal.py +84 -0
- dips/TraverseEntityVisibilityRef.py +38 -0
- dips/TraverseEntityVisibilityVal.py +100 -0
- dips/TrendLineToolEntityInfoRef.py +43 -0
- dips/TrendLineToolEntityInfoVal.py +114 -0
- dips/TrendPlungeVal.py +91 -0
- dips/UnitSystemResultVal.py +62 -0
- dips/UserPlaneEntityOptionsVal.py +100 -0
- dips/ValidatableResultVal.py +69 -0
- dips/ValidatableResult_ProtoReference_ArrowToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_ConeToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_EllipseToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_FoldEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_LineToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_MeasureAngleToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_OrientationDataSetVal.py +86 -0
- dips/ValidatableResult_ProtoReference_PitchGridToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_PlaneEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_PlaneIntersectionCalculatorToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_PolygonToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_PolylineToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_RectangleToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_SetEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_TextToolEntityInfoVal.py +86 -0
- dips/ValidatableResult_ProtoReference_TrendLineToolEntityInfoVal.py +86 -0
- dips/ValidationErrorVal.py +73 -0
- dips/Vector2DVal.py +73 -0
- dips/Vector3Val.py +84 -0
- dips/VectorDensityContourSettingsVal.py +73 -0
- dips/WeightingSettingsVal.py +83 -0
- dips/WrappedFreehandWindowVal.py +102 -0
- dips/__init__.py +29 -0
- dipsscripting-9.1.0.dist-info/METADATA +29 -0
- dipsscripting-9.1.0.dist-info/RECORD +175 -0
- dipsscripting-9.1.0.dist-info/WHEEL +5 -0
- dipsscripting-9.1.0.dist-info/licenses/License.txt +20 -0
- dipsscripting-9.1.0.dist-info/top_level.txt +1 -0
dips/SetVersusSetVal.py
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"""Generated wrapper for SetVersusSet protobuf message."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Optional, List, Dict
|
|
4
|
+
from . import DipsAPI_pb2
|
|
5
|
+
|
|
6
|
+
from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
|
|
7
|
+
|
|
8
|
+
from .SetEntityInfoRef import SetEntityInfoRef
|
|
9
|
+
|
|
10
|
+
class SetVersusSetVal:
|
|
11
|
+
"""Simple wrapper for SetVersusSet with Pythonic getters and setters."""
|
|
12
|
+
|
|
13
|
+
_proto_class = DipsAPI_pb2.SetVersusSet
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def __init__(self, set_a: Optional[SetEntityInfoRef] = None, set_b: Optional[SetEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
|
|
17
|
+
"""Initialize the SetVersusSet wrapper."""
|
|
18
|
+
# Initialize the protobuf message
|
|
19
|
+
if proto_message is not None:
|
|
20
|
+
self._proto_message = proto_message
|
|
21
|
+
else:
|
|
22
|
+
self._proto_message = self._proto_class()
|
|
23
|
+
|
|
24
|
+
# Store channel for reference types
|
|
25
|
+
self.__channelToConnectOn = channel_to_connect_on
|
|
26
|
+
|
|
27
|
+
if set_a is not None:
|
|
28
|
+
self.set_a = set_a
|
|
29
|
+
if set_b is not None:
|
|
30
|
+
self.set_b = set_b
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# Properties
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
def set_a(self) -> SetEntityInfoRef:
|
|
37
|
+
"""Get the SetA field as a reference."""
|
|
38
|
+
return SetEntityInfoRef(self.__channelToConnectOn, self._proto_message.SetA)
|
|
39
|
+
|
|
40
|
+
@set_a.setter
|
|
41
|
+
def set_a(self, value: SetEntityInfoRef) -> None:
|
|
42
|
+
"""Set the SetA field to a reference."""
|
|
43
|
+
self._proto_message.SetA.CopyFrom(value.get_model_ref())
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
def set_b(self) -> SetEntityInfoRef:
|
|
48
|
+
"""Get the SetB field as a reference."""
|
|
49
|
+
return SetEntityInfoRef(self.__channelToConnectOn, self._proto_message.SetB)
|
|
50
|
+
|
|
51
|
+
@set_b.setter
|
|
52
|
+
def set_b(self, value: SetEntityInfoRef) -> None:
|
|
53
|
+
"""Set the SetB field to a reference."""
|
|
54
|
+
self._proto_message.SetB.CopyFrom(value.get_model_ref())
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
# Utility methods
|
|
58
|
+
|
|
59
|
+
def to_proto(self):
|
|
60
|
+
"""Get the underlying protobuf message."""
|
|
61
|
+
return self._proto_message
|
|
62
|
+
|
|
63
|
+
@classmethod
|
|
64
|
+
def from_proto(cls, proto_message):
|
|
65
|
+
"""Create wrapper from existing protobuf message."""
|
|
66
|
+
wrapper = cls()
|
|
67
|
+
wrapper._proto_message.CopyFrom(proto_message)
|
|
68
|
+
return wrapper
|
|
69
|
+
|
|
70
|
+
def copy(self):
|
|
71
|
+
"""Create a copy of this wrapper."""
|
|
72
|
+
new_wrapper = self.__class__()
|
|
73
|
+
new_wrapper._proto_message.CopyFrom(self._proto_message)
|
|
74
|
+
return new_wrapper
|
|
75
|
+
|
|
76
|
+
def __str__(self) -> str:
|
|
77
|
+
"""String representation."""
|
|
78
|
+
return f"{self.__class__.__name__}({self._proto_message})"
|
|
79
|
+
|
|
80
|
+
def __repr__(self) -> str:
|
|
81
|
+
"""Detailed string representation."""
|
|
82
|
+
return f"{self.__class__.__name__}({self._proto_message})"
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"""Generated wrapper for SetWindowEntityInfo protobuf message."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Optional, List, Dict
|
|
4
|
+
from . import DipsAPI_pb2
|
|
5
|
+
|
|
6
|
+
from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
|
|
7
|
+
|
|
8
|
+
from .CircularWindowVal import CircularWindowVal
|
|
9
|
+
from .ClusterWindowVal import ClusterWindowVal
|
|
10
|
+
from .ColorSurrogateVal import ColorSurrogateVal
|
|
11
|
+
from .CurvedWindowVal import CurvedWindowVal
|
|
12
|
+
from .SetStatisticsSettingsVal import SetStatisticsSettingsVal
|
|
13
|
+
from .WrappedFreehandWindowVal import WrappedFreehandWindowVal
|
|
14
|
+
|
|
15
|
+
class SetWindowEntityInfoVal:
|
|
16
|
+
"""Simple wrapper for SetWindowEntityInfo with Pythonic getters and setters."""
|
|
17
|
+
|
|
18
|
+
_proto_class = DipsAPI_pb2.SetWindowEntityInfo
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def __init__(self, color: Optional[ColorSurrogateVal] = None, statistics_settings: Optional[SetStatisticsSettingsVal] = None, circular_set_window: Optional[CircularWindowVal] = None, curved_set_window: Optional[CurvedWindowVal] = None, wrapped_freehand_set_window: Optional[WrappedFreehandWindowVal] = None, cluster_set_window: Optional[ClusterWindowVal] = None, proto_message: Optional[Any] = None):
|
|
22
|
+
"""Initialize the SetWindowEntityInfo wrapper."""
|
|
23
|
+
# Initialize the protobuf message
|
|
24
|
+
if proto_message is not None:
|
|
25
|
+
self._proto_message = proto_message
|
|
26
|
+
else:
|
|
27
|
+
self._proto_message = self._proto_class()
|
|
28
|
+
|
|
29
|
+
if color is not None:
|
|
30
|
+
self._proto_message.Color.CopyFrom(color.to_proto())
|
|
31
|
+
self._color_wrapper = color
|
|
32
|
+
if statistics_settings is not None:
|
|
33
|
+
self._proto_message.StatisticsSettings.CopyFrom(statistics_settings.to_proto())
|
|
34
|
+
self._statistics_settings_wrapper = statistics_settings
|
|
35
|
+
if circular_set_window is not None:
|
|
36
|
+
self._proto_message.CircularSetWindow.CopyFrom(circular_set_window.to_proto())
|
|
37
|
+
self._circular_set_window_wrapper = circular_set_window
|
|
38
|
+
if curved_set_window is not None:
|
|
39
|
+
self._proto_message.CurvedSetWindow.CopyFrom(curved_set_window.to_proto())
|
|
40
|
+
self._curved_set_window_wrapper = curved_set_window
|
|
41
|
+
if wrapped_freehand_set_window is not None:
|
|
42
|
+
self._proto_message.WrappedFreehandSetWindow.CopyFrom(wrapped_freehand_set_window.to_proto())
|
|
43
|
+
self._wrapped_freehand_set_window_wrapper = wrapped_freehand_set_window
|
|
44
|
+
if cluster_set_window is not None:
|
|
45
|
+
self._proto_message.ClusterSetWindow.CopyFrom(cluster_set_window.to_proto())
|
|
46
|
+
self._cluster_set_window_wrapper = cluster_set_window
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# Properties
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
def color(self) -> ColorSurrogateVal:
|
|
53
|
+
"""Get the Color field as a wrapper."""
|
|
54
|
+
if not hasattr(self, '_color_wrapper'):
|
|
55
|
+
self._color_wrapper = ColorSurrogateVal(proto_message=self._proto_message.Color)
|
|
56
|
+
return self._color_wrapper
|
|
57
|
+
|
|
58
|
+
@color.setter
|
|
59
|
+
def color(self, value: ColorSurrogateVal) -> None:
|
|
60
|
+
"""Set the Color field to a wrapper."""
|
|
61
|
+
self._proto_message.Color.CopyFrom(value.to_proto())
|
|
62
|
+
# Update the cached wrapper if it exists
|
|
63
|
+
if hasattr(self, '_color_wrapper'):
|
|
64
|
+
self._color_wrapper._proto_message.CopyFrom(self._proto_message.Color)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def set_window_type(self) -> Any:
|
|
69
|
+
"""Get the SetWindowType field value."""
|
|
70
|
+
return self._proto_message.SetWindowType
|
|
71
|
+
|
|
72
|
+
@set_window_type.setter
|
|
73
|
+
def set_window_type(self, value: Any) -> None:
|
|
74
|
+
"""Set the SetWindowType field value."""
|
|
75
|
+
self._proto_message.SetWindowType = value
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def statistics_settings(self) -> SetStatisticsSettingsVal:
|
|
80
|
+
"""Get the StatisticsSettings field as a wrapper."""
|
|
81
|
+
if not hasattr(self, '_statistics_settings_wrapper'):
|
|
82
|
+
self._statistics_settings_wrapper = SetStatisticsSettingsVal(proto_message=self._proto_message.StatisticsSettings)
|
|
83
|
+
return self._statistics_settings_wrapper
|
|
84
|
+
|
|
85
|
+
@statistics_settings.setter
|
|
86
|
+
def statistics_settings(self, value: SetStatisticsSettingsVal) -> None:
|
|
87
|
+
"""Set the StatisticsSettings field to a wrapper."""
|
|
88
|
+
self._proto_message.StatisticsSettings.CopyFrom(value.to_proto())
|
|
89
|
+
# Update the cached wrapper if it exists
|
|
90
|
+
if hasattr(self, '_statistics_settings_wrapper'):
|
|
91
|
+
self._statistics_settings_wrapper._proto_message.CopyFrom(self._proto_message.StatisticsSettings)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def circular_set_window(self) -> CircularWindowVal:
|
|
96
|
+
"""Get the CircularSetWindow field as a wrapper."""
|
|
97
|
+
if not hasattr(self, '_circular_set_window_wrapper'):
|
|
98
|
+
self._circular_set_window_wrapper = CircularWindowVal(proto_message=self._proto_message.CircularSetWindow)
|
|
99
|
+
return self._circular_set_window_wrapper
|
|
100
|
+
|
|
101
|
+
@circular_set_window.setter
|
|
102
|
+
def circular_set_window(self, value: CircularWindowVal) -> None:
|
|
103
|
+
"""Set the CircularSetWindow field to a wrapper."""
|
|
104
|
+
self._proto_message.CircularSetWindow.CopyFrom(value.to_proto())
|
|
105
|
+
# Update the cached wrapper if it exists
|
|
106
|
+
if hasattr(self, '_circular_set_window_wrapper'):
|
|
107
|
+
self._circular_set_window_wrapper._proto_message.CopyFrom(self._proto_message.CircularSetWindow)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def curved_set_window(self) -> CurvedWindowVal:
|
|
112
|
+
"""Get the CurvedSetWindow field as a wrapper."""
|
|
113
|
+
if not hasattr(self, '_curved_set_window_wrapper'):
|
|
114
|
+
self._curved_set_window_wrapper = CurvedWindowVal(proto_message=self._proto_message.CurvedSetWindow)
|
|
115
|
+
return self._curved_set_window_wrapper
|
|
116
|
+
|
|
117
|
+
@curved_set_window.setter
|
|
118
|
+
def curved_set_window(self, value: CurvedWindowVal) -> None:
|
|
119
|
+
"""Set the CurvedSetWindow field to a wrapper."""
|
|
120
|
+
self._proto_message.CurvedSetWindow.CopyFrom(value.to_proto())
|
|
121
|
+
# Update the cached wrapper if it exists
|
|
122
|
+
if hasattr(self, '_curved_set_window_wrapper'):
|
|
123
|
+
self._curved_set_window_wrapper._proto_message.CopyFrom(self._proto_message.CurvedSetWindow)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
def wrapped_freehand_set_window(self) -> WrappedFreehandWindowVal:
|
|
128
|
+
"""Get the WrappedFreehandSetWindow field as a wrapper."""
|
|
129
|
+
if not hasattr(self, '_wrapped_freehand_set_window_wrapper'):
|
|
130
|
+
self._wrapped_freehand_set_window_wrapper = WrappedFreehandWindowVal(proto_message=self._proto_message.WrappedFreehandSetWindow)
|
|
131
|
+
return self._wrapped_freehand_set_window_wrapper
|
|
132
|
+
|
|
133
|
+
@wrapped_freehand_set_window.setter
|
|
134
|
+
def wrapped_freehand_set_window(self, value: WrappedFreehandWindowVal) -> None:
|
|
135
|
+
"""Set the WrappedFreehandSetWindow field to a wrapper."""
|
|
136
|
+
self._proto_message.WrappedFreehandSetWindow.CopyFrom(value.to_proto())
|
|
137
|
+
# Update the cached wrapper if it exists
|
|
138
|
+
if hasattr(self, '_wrapped_freehand_set_window_wrapper'):
|
|
139
|
+
self._wrapped_freehand_set_window_wrapper._proto_message.CopyFrom(self._proto_message.WrappedFreehandSetWindow)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def cluster_set_window(self) -> ClusterWindowVal:
|
|
144
|
+
"""Get the ClusterSetWindow field as a wrapper."""
|
|
145
|
+
if not hasattr(self, '_cluster_set_window_wrapper'):
|
|
146
|
+
self._cluster_set_window_wrapper = ClusterWindowVal(proto_message=self._proto_message.ClusterSetWindow)
|
|
147
|
+
return self._cluster_set_window_wrapper
|
|
148
|
+
|
|
149
|
+
@cluster_set_window.setter
|
|
150
|
+
def cluster_set_window(self, value: ClusterWindowVal) -> None:
|
|
151
|
+
"""Set the ClusterSetWindow field to a wrapper."""
|
|
152
|
+
self._proto_message.ClusterSetWindow.CopyFrom(value.to_proto())
|
|
153
|
+
# Update the cached wrapper if it exists
|
|
154
|
+
if hasattr(self, '_cluster_set_window_wrapper'):
|
|
155
|
+
self._cluster_set_window_wrapper._proto_message.CopyFrom(self._proto_message.ClusterSetWindow)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
# Utility methods
|
|
159
|
+
|
|
160
|
+
def to_proto(self):
|
|
161
|
+
"""Get the underlying protobuf message."""
|
|
162
|
+
return self._proto_message
|
|
163
|
+
|
|
164
|
+
@classmethod
|
|
165
|
+
def from_proto(cls, proto_message):
|
|
166
|
+
"""Create wrapper from existing protobuf message."""
|
|
167
|
+
wrapper = cls()
|
|
168
|
+
wrapper._proto_message.CopyFrom(proto_message)
|
|
169
|
+
return wrapper
|
|
170
|
+
|
|
171
|
+
def copy(self):
|
|
172
|
+
"""Create a copy of this wrapper."""
|
|
173
|
+
new_wrapper = self.__class__()
|
|
174
|
+
new_wrapper._proto_message.CopyFrom(self._proto_message)
|
|
175
|
+
return new_wrapper
|
|
176
|
+
|
|
177
|
+
def __str__(self) -> str:
|
|
178
|
+
"""String representation."""
|
|
179
|
+
return f"{self.__class__.__name__}({self._proto_message})"
|
|
180
|
+
|
|
181
|
+
def __repr__(self) -> str:
|
|
182
|
+
"""Detailed string representation."""
|
|
183
|
+
return f"{self.__class__.__name__}({self._proto_message})"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
from . import DipsAPI_pb2_grpc
|
|
3
|
+
from . import DipsAPI_pb2
|
|
4
|
+
from .SetWindowEntityVisibilityVal import SetWindowEntityVisibilityVal
|
|
5
|
+
|
|
6
|
+
class SetWindowEntityVisibilityRef:
|
|
7
|
+
def __init__(self, channelToConnectOn, ref: DipsAPI_pb2.ProtoReference_SetWindowEntityVisibility):
|
|
8
|
+
self.__modelRef = ref
|
|
9
|
+
self.__refManagerStub = DipsAPI_pb2_grpc.nSameModuleReferenceAccessorStub(channelToConnectOn)
|
|
10
|
+
self.__channelToConnectOn = channelToConnectOn
|
|
11
|
+
self.__EntityServicesStubLocal = DipsAPI_pb2_grpc.EntityServicesStub(channelToConnectOn)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def GetValue(self) -> SetWindowEntityVisibilityVal:
|
|
15
|
+
bytes = self.__refManagerStub.GetValue(self.__modelRef.ID)
|
|
16
|
+
ret = DipsAPI_pb2.SetWindowEntityVisibility()
|
|
17
|
+
ret.MergeFromString(bytes.data)
|
|
18
|
+
return SetWindowEntityVisibilityVal.from_proto(ret)
|
|
19
|
+
|
|
20
|
+
def get_model_ref(self):
|
|
21
|
+
"""Get the underlying model reference for direct protobuf operations."""
|
|
22
|
+
return self.__modelRef
|
|
23
|
+
|
|
24
|
+
def SetSetWindowEntityVisibility(self, Boolean: bool):
|
|
25
|
+
functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_SetWindowEntityVisibility_Boolean(This=self.__modelRef, Input1=Boolean)
|
|
26
|
+
ret = self.__EntityServicesStubLocal.SetSetWindowEntityVisibility(functionParam)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"""Generated wrapper for SetWindowEntityVisibility protobuf message."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Optional, List, Dict
|
|
4
|
+
from . import DipsAPI_pb2
|
|
5
|
+
|
|
6
|
+
from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
|
|
7
|
+
|
|
8
|
+
from .SetEntityInfoRef import SetEntityInfoRef
|
|
9
|
+
|
|
10
|
+
class SetWindowEntityVisibilityVal:
|
|
11
|
+
"""Simple wrapper for SetWindowEntityVisibility with Pythonic getters and setters."""
|
|
12
|
+
|
|
13
|
+
_proto_class = DipsAPI_pb2.SetWindowEntityVisibility
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def __init__(self, set_entity_reference: Optional[SetEntityInfoRef] = None, proto_message: Optional[Any] = None, channel_to_connect_on: Optional[Any] = None):
|
|
17
|
+
"""Initialize the SetWindowEntityVisibility wrapper."""
|
|
18
|
+
# Initialize the protobuf message
|
|
19
|
+
if proto_message is not None:
|
|
20
|
+
self._proto_message = proto_message
|
|
21
|
+
else:
|
|
22
|
+
self._proto_message = self._proto_class()
|
|
23
|
+
|
|
24
|
+
# Store channel for reference types
|
|
25
|
+
self.__channelToConnectOn = channel_to_connect_on
|
|
26
|
+
|
|
27
|
+
if set_entity_reference is not None:
|
|
28
|
+
self.set_entity_reference = set_entity_reference
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# Properties
|
|
32
|
+
|
|
33
|
+
@property
|
|
34
|
+
def is_visible(self) -> bool:
|
|
35
|
+
"""Get the IsVisible field value."""
|
|
36
|
+
return self._proto_message.IsVisible
|
|
37
|
+
|
|
38
|
+
@is_visible.setter
|
|
39
|
+
def is_visible(self, value: bool) -> None:
|
|
40
|
+
"""Set the IsVisible field value."""
|
|
41
|
+
self._proto_message.IsVisible = value
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def set_entity_reference(self) -> SetEntityInfoRef:
|
|
46
|
+
"""Get the SetEntityReference field as a reference."""
|
|
47
|
+
return SetEntityInfoRef(self.__channelToConnectOn, self._proto_message.SetEntityReference)
|
|
48
|
+
|
|
49
|
+
@set_entity_reference.setter
|
|
50
|
+
def set_entity_reference(self, value: SetEntityInfoRef) -> None:
|
|
51
|
+
"""Set the SetEntityReference field to a reference."""
|
|
52
|
+
self._proto_message.SetEntityReference.CopyFrom(value.get_model_ref())
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# Utility methods
|
|
56
|
+
|
|
57
|
+
def to_proto(self):
|
|
58
|
+
"""Get the underlying protobuf message."""
|
|
59
|
+
return self._proto_message
|
|
60
|
+
|
|
61
|
+
@classmethod
|
|
62
|
+
def from_proto(cls, proto_message):
|
|
63
|
+
"""Create wrapper from existing protobuf message."""
|
|
64
|
+
wrapper = cls()
|
|
65
|
+
wrapper._proto_message.CopyFrom(proto_message)
|
|
66
|
+
return wrapper
|
|
67
|
+
|
|
68
|
+
def copy(self):
|
|
69
|
+
"""Create a copy of this wrapper."""
|
|
70
|
+
new_wrapper = self.__class__()
|
|
71
|
+
new_wrapper._proto_message.CopyFrom(self._proto_message)
|
|
72
|
+
return new_wrapper
|
|
73
|
+
|
|
74
|
+
def __str__(self) -> str:
|
|
75
|
+
"""String representation."""
|
|
76
|
+
return f"{self.__class__.__name__}({self._proto_message})"
|
|
77
|
+
|
|
78
|
+
def __repr__(self) -> str:
|
|
79
|
+
"""Detailed string representation."""
|
|
80
|
+
return f"{self.__class__.__name__}({self._proto_message})"
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"""Generated wrapper for StatisticalDistributionFilter protobuf message."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Optional, List, Dict
|
|
4
|
+
from . import DipsAPI_pb2
|
|
5
|
+
|
|
6
|
+
from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
|
|
7
|
+
|
|
8
|
+
class StatisticalDistributionFilterVal:
|
|
9
|
+
"""Simple wrapper for StatisticalDistributionFilter with Pythonic getters and setters."""
|
|
10
|
+
|
|
11
|
+
_proto_class = DipsAPI_pb2.StatisticalDistributionFilter
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def __init__(self, proto_message: Optional[Any] = None):
|
|
15
|
+
"""Initialize the StatisticalDistributionFilter wrapper."""
|
|
16
|
+
# Initialize the protobuf message
|
|
17
|
+
if proto_message is not None:
|
|
18
|
+
self._proto_message = proto_message
|
|
19
|
+
else:
|
|
20
|
+
self._proto_message = self._proto_class()
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# Properties
|
|
25
|
+
|
|
26
|
+
@property
|
|
27
|
+
def normal_distribution(self) -> bool:
|
|
28
|
+
"""Get the NormalDistribution field value."""
|
|
29
|
+
return self._proto_message.NormalDistribution
|
|
30
|
+
|
|
31
|
+
@normal_distribution.setter
|
|
32
|
+
def normal_distribution(self, value: bool) -> None:
|
|
33
|
+
"""Set the NormalDistribution field value."""
|
|
34
|
+
self._proto_message.NormalDistribution = value
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
@property
|
|
38
|
+
def uniform_distribution(self) -> bool:
|
|
39
|
+
"""Get the UniformDistribution field value."""
|
|
40
|
+
return self._proto_message.UniformDistribution
|
|
41
|
+
|
|
42
|
+
@uniform_distribution.setter
|
|
43
|
+
def uniform_distribution(self, value: bool) -> None:
|
|
44
|
+
"""Set the UniformDistribution field value."""
|
|
45
|
+
self._proto_message.UniformDistribution = value
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def triangular_distribution(self) -> bool:
|
|
50
|
+
"""Get the TriangularDistribution field value."""
|
|
51
|
+
return self._proto_message.TriangularDistribution
|
|
52
|
+
|
|
53
|
+
@triangular_distribution.setter
|
|
54
|
+
def triangular_distribution(self, value: bool) -> None:
|
|
55
|
+
"""Set the TriangularDistribution field value."""
|
|
56
|
+
self._proto_message.TriangularDistribution = value
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def beta_distribution(self) -> bool:
|
|
61
|
+
"""Get the BetaDistribution field value."""
|
|
62
|
+
return self._proto_message.BetaDistribution
|
|
63
|
+
|
|
64
|
+
@beta_distribution.setter
|
|
65
|
+
def beta_distribution(self, value: bool) -> None:
|
|
66
|
+
"""Set the BetaDistribution field value."""
|
|
67
|
+
self._proto_message.BetaDistribution = value
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def exponential_distribution(self) -> bool:
|
|
72
|
+
"""Get the ExponentialDistribution field value."""
|
|
73
|
+
return self._proto_message.ExponentialDistribution
|
|
74
|
+
|
|
75
|
+
@exponential_distribution.setter
|
|
76
|
+
def exponential_distribution(self, value: bool) -> None:
|
|
77
|
+
"""Set the ExponentialDistribution field value."""
|
|
78
|
+
self._proto_message.ExponentialDistribution = value
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def lognormal_distribution(self) -> bool:
|
|
83
|
+
"""Get the LognormalDistribution field value."""
|
|
84
|
+
return self._proto_message.LognormalDistribution
|
|
85
|
+
|
|
86
|
+
@lognormal_distribution.setter
|
|
87
|
+
def lognormal_distribution(self, value: bool) -> None:
|
|
88
|
+
"""Set the LognormalDistribution field value."""
|
|
89
|
+
self._proto_message.LognormalDistribution = value
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def gamma_distribution(self) -> bool:
|
|
94
|
+
"""Get the GammaDistribution field value."""
|
|
95
|
+
return self._proto_message.GammaDistribution
|
|
96
|
+
|
|
97
|
+
@gamma_distribution.setter
|
|
98
|
+
def gamma_distribution(self, value: bool) -> None:
|
|
99
|
+
"""Set the GammaDistribution field value."""
|
|
100
|
+
self._proto_message.GammaDistribution = value
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
# Utility methods
|
|
104
|
+
|
|
105
|
+
def to_proto(self):
|
|
106
|
+
"""Get the underlying protobuf message."""
|
|
107
|
+
return self._proto_message
|
|
108
|
+
|
|
109
|
+
@classmethod
|
|
110
|
+
def from_proto(cls, proto_message):
|
|
111
|
+
"""Create wrapper from existing protobuf message."""
|
|
112
|
+
wrapper = cls()
|
|
113
|
+
wrapper._proto_message.CopyFrom(proto_message)
|
|
114
|
+
return wrapper
|
|
115
|
+
|
|
116
|
+
def copy(self):
|
|
117
|
+
"""Create a copy of this wrapper."""
|
|
118
|
+
new_wrapper = self.__class__()
|
|
119
|
+
new_wrapper._proto_message.CopyFrom(self._proto_message)
|
|
120
|
+
return new_wrapper
|
|
121
|
+
|
|
122
|
+
def __str__(self) -> str:
|
|
123
|
+
"""String representation."""
|
|
124
|
+
return f"{self.__class__.__name__}({self._proto_message})"
|
|
125
|
+
|
|
126
|
+
def __repr__(self) -> str:
|
|
127
|
+
"""Detailed string representation."""
|
|
128
|
+
return f"{self.__class__.__name__}({self._proto_message})"
|