molde 0.1.12__py3-none-any.whl → 0.1.13__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.
- molde/__init__.py +12 -12
- molde/__main__.py +81 -81
- molde/actors/__init__.py +5 -5
- molde/actors/common_symbols_actor.py +148 -148
- molde/actors/ghost_actor.py +12 -12
- molde/actors/lines_actor.py +31 -31
- molde/actors/round_points_actor.py +7 -7
- molde/actors/square_points_actor.py +32 -32
- molde/colors/__init__.py +1 -1
- molde/colors/color.py +213 -150
- molde/colors/color_names.py +124 -124
- molde/interactor_styles/__init__.py +2 -2
- molde/interactor_styles/arcball_camera_style.py +288 -288
- molde/interactor_styles/box_selection_style.py +87 -87
- molde/main_window.ui +864 -864
- molde/pickers/__init__.py +2 -2
- molde/pickers/cell_area_picker.py +61 -61
- molde/pickers/cell_property_area_picker.py +84 -84
- molde/poly_data/__init__.py +13 -13
- molde/poly_data/lines_data.py +23 -23
- molde/poly_data/vertices_data.py +24 -24
- molde/render_widgets/__init__.py +2 -2
- molde/render_widgets/animated_render_widget.py +164 -164
- molde/render_widgets/common_render_widget.py +429 -429
- molde/stylesheets/__init__.py +122 -122
- molde/stylesheets/common.qss +15 -15
- molde/stylesheets/create_color_page.py +61 -61
- molde/stylesheets/mainwindow.ui +646 -646
- molde/stylesheets/qcheckbox.qss +23 -23
- molde/stylesheets/qinputs.qss +81 -81
- molde/stylesheets/qlayouts.qss +23 -23
- molde/stylesheets/qmenubar.qss +12 -12
- molde/stylesheets/qprogressbar.qss +11 -11
- molde/stylesheets/qpushbutton.qss +89 -89
- molde/stylesheets/qradiobutton.qss +30 -30
- molde/stylesheets/qscrollbar.qss +29 -29
- molde/stylesheets/qslider.qss +61 -61
- molde/stylesheets/qtablewidget.qss +27 -27
- molde/stylesheets/qtabwidget.qss +28 -28
- molde/stylesheets/qtoolbar.qss +63 -63
- molde/stylesheets/qtoolbuttons.qss +14 -14
- molde/stylesheets/qtreewidget.qss +25 -25
- molde/ui_files/messages/new_loading_window.ui +73 -73
- molde/utils/__init__.py +8 -8
- molde/utils/format_sequences.py +44 -44
- molde/utils/poly_data_utils.py +66 -66
- molde/utils/tree_info.py +52 -52
- molde/windows/loading_window.py +189 -189
- {molde-0.1.12.dist-info → molde-0.1.13.dist-info}/METADATA +1 -1
- molde-0.1.13.dist-info/RECORD +68 -0
- {molde-0.1.12.dist-info → molde-0.1.13.dist-info}/WHEEL +1 -1
- molde-0.1.12.dist-info/RECORD +0 -68
molde/colors/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
from .color import Color
|
1
|
+
from .color import Color
|
2
2
|
from .color_names import *
|
molde/colors/color.py
CHANGED
@@ -1,150 +1,213 @@
|
|
1
|
-
import typing
|
2
|
-
from qtpy.QtGui import QColor
|
3
|
-
import numpy as np
|
4
|
-
|
5
|
-
|
6
|
-
class Color:
|
7
|
-
r: int
|
8
|
-
g: int
|
9
|
-
b: int
|
10
|
-
a: int
|
11
|
-
|
12
|
-
@typing.overload
|
13
|
-
def __init__(self, r: int, g: int, b: int, a: int = 255):
|
14
|
-
|
15
|
-
Initialize Colors with RGB or RGBA integer values ranging from 0 to 255.
|
16
|
-
|
17
|
-
|
18
|
-
@typing.overload
|
19
|
-
def __init__(self, r: float, g: float, b: float, a: float = 1.0):
|
20
|
-
|
21
|
-
Initialize Colors with RGB or RGBA floating values ranging from 0.0 to 1.0.
|
22
|
-
|
23
|
-
|
24
|
-
@typing.overload
|
25
|
-
def __init__(self, hexa: str):
|
26
|
-
|
27
|
-
Initialize colors from hex values.
|
28
|
-
The valid formats incluce RGB (#FF0000 for example)
|
29
|
-
and RGBA (#FF0000FF for example)
|
30
|
-
|
31
|
-
|
32
|
-
@typing.overload
|
33
|
-
def __init__(self, qcolor: QColor):
|
34
|
-
|
35
|
-
Initialize the color class with an instance of QColor
|
36
|
-
|
37
|
-
|
38
|
-
@typing.overload
|
39
|
-
def __init__(self, color: "Color"):
|
40
|
-
|
41
|
-
Initialize the color class with an instance it's own class
|
42
|
-
|
43
|
-
|
44
|
-
@typing.overload
|
45
|
-
def __init__(self):
|
46
|
-
|
47
|
-
Initialize an empty black color
|
48
|
-
|
49
|
-
|
50
|
-
def __init__(self, *args):
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
self.
|
81
|
-
self.
|
82
|
-
self.
|
83
|
-
self
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
color
|
99
|
-
|
100
|
-
r, g, b
|
101
|
-
|
102
|
-
|
103
|
-
r, g, b, a
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
def
|
136
|
-
return
|
137
|
-
|
138
|
-
def
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
1
|
+
import typing
|
2
|
+
from qtpy.QtGui import QColor
|
3
|
+
import numpy as np
|
4
|
+
|
5
|
+
|
6
|
+
class Color:
|
7
|
+
r: int
|
8
|
+
g: int
|
9
|
+
b: int
|
10
|
+
a: int
|
11
|
+
|
12
|
+
@typing.overload
|
13
|
+
def __init__(self, r: int, g: int, b: int, a: int = 255):
|
14
|
+
"""
|
15
|
+
Initialize Colors with RGB or RGBA integer values ranging from 0 to 255.
|
16
|
+
"""
|
17
|
+
|
18
|
+
@typing.overload
|
19
|
+
def __init__(self, r: float, g: float, b: float, a: float = 1.0):
|
20
|
+
"""
|
21
|
+
Initialize Colors with RGB or RGBA floating values ranging from 0.0 to 1.0.
|
22
|
+
"""
|
23
|
+
|
24
|
+
@typing.overload
|
25
|
+
def __init__(self, hexa: str):
|
26
|
+
"""
|
27
|
+
Initialize colors from hex values.
|
28
|
+
The valid formats incluce RGB (#FF0000 for example)
|
29
|
+
and RGBA (#FF0000FF for example)
|
30
|
+
"""
|
31
|
+
|
32
|
+
@typing.overload
|
33
|
+
def __init__(self, qcolor: QColor):
|
34
|
+
"""
|
35
|
+
Initialize the color class with an instance of QColor
|
36
|
+
"""
|
37
|
+
|
38
|
+
@typing.overload
|
39
|
+
def __init__(self, color: "Color"):
|
40
|
+
"""
|
41
|
+
Initialize the color class with an instance it's own class
|
42
|
+
"""
|
43
|
+
|
44
|
+
@typing.overload
|
45
|
+
def __init__(self):
|
46
|
+
"""
|
47
|
+
Initialize an empty black color
|
48
|
+
"""
|
49
|
+
|
50
|
+
def __init__(self, *args):
|
51
|
+
all_int = all([isinstance(i, int) for i in args])
|
52
|
+
all_float = all([isinstance(i, float) for i in args])
|
53
|
+
|
54
|
+
if len(args) == 0:
|
55
|
+
self.from_rgba(0, 0, 0, 255)
|
56
|
+
|
57
|
+
elif len(args) == 1 and isinstance(args[0], str):
|
58
|
+
self.from_hex(*args)
|
59
|
+
|
60
|
+
elif len(args) == 1 and isinstance(args[0], QColor):
|
61
|
+
self.from_qcolor(*args)
|
62
|
+
|
63
|
+
elif len(args) == 1 and isinstance(args[0], Color):
|
64
|
+
self.from_color(*args)
|
65
|
+
|
66
|
+
elif len(args) in [3, 4] and all_int:
|
67
|
+
self.from_rgba(*args)
|
68
|
+
|
69
|
+
elif len(args) in [3, 4] and all_float:
|
70
|
+
self.from_rgba_f(*args)
|
71
|
+
|
72
|
+
else:
|
73
|
+
raise ValueError("Invalid input values")
|
74
|
+
|
75
|
+
def from_rgb(self, r: int, g: int, b: int) -> "Color":
|
76
|
+
return self.from_rgba(r, g, b)
|
77
|
+
|
78
|
+
def from_rgba(self, r: int, g: int, b: int, a: int = 255) -> "Color":
|
79
|
+
self.r = round(np.clip(r, 0, 255))
|
80
|
+
self.g = round(np.clip(g, 0, 255))
|
81
|
+
self.b = round(np.clip(b, 0, 255))
|
82
|
+
self.a = round(np.clip(a, 0, 255))
|
83
|
+
return self
|
84
|
+
|
85
|
+
def from_rgb_f(self, r: float, g: float, b: float) -> "Color":
|
86
|
+
return self.from_rgba_f(r, g, b)
|
87
|
+
|
88
|
+
def from_rgba_f(self, r: float, g: float, b: float, a: float = 1) -> "Color":
|
89
|
+
return self.from_rgba(
|
90
|
+
round(r * 255),
|
91
|
+
round(g * 255),
|
92
|
+
round(b * 255),
|
93
|
+
round(a * 255),
|
94
|
+
)
|
95
|
+
|
96
|
+
def from_hex(self, color: str) -> "Color":
|
97
|
+
color = color.lstrip("#")
|
98
|
+
if len(color) == 6:
|
99
|
+
r, g, b = int(color[0:2], 16), int(color[2:4], 16), int(color[4:6], 16)
|
100
|
+
return self.from_rgb(r, g, b)
|
101
|
+
elif len(color) == 8:
|
102
|
+
r, g, b, a = int(color[0:2], 16), int(color[2:4], 16), int(color[4:6], 16), int(color[6:8], 16)
|
103
|
+
return self.from_rgba(r, g, b, a)
|
104
|
+
raise ValueError("Invalid hex color format")
|
105
|
+
|
106
|
+
def from_hsv(self, hue: float, saturation: float, value: float):
|
107
|
+
v = value / 100
|
108
|
+
s = saturation / 100
|
109
|
+
|
110
|
+
c = v * s
|
111
|
+
h = hue / 60
|
112
|
+
x = c * (1 - abs(h % 2 - 1))
|
113
|
+
|
114
|
+
if 0 < h < 1:
|
115
|
+
r, g, b = c, x, 0
|
116
|
+
elif 1 < h < 2:
|
117
|
+
r, g, b = x, c, 0
|
118
|
+
elif 2 < h < 3:
|
119
|
+
r, g, b = 0, c, x
|
120
|
+
elif 3 < h < 4:
|
121
|
+
r, g, b = 0, x, c
|
122
|
+
elif 4 < h < 5:
|
123
|
+
r, g, b = x, 0, c
|
124
|
+
elif 5 < h < 6:
|
125
|
+
r, g, b = c, 0, x
|
126
|
+
else:
|
127
|
+
r, g, b = 0, 0, 0
|
128
|
+
|
129
|
+
return self.from_rgb_f(
|
130
|
+
(r + v - c),
|
131
|
+
(g + v - c),
|
132
|
+
(b + v - c),
|
133
|
+
)
|
134
|
+
|
135
|
+
def from_qcolor(self, color: QColor) -> "Color":
|
136
|
+
return self.from_rgba(color.red(), color.green(), color.blue(), color.alpha())
|
137
|
+
|
138
|
+
def from_color(self, color: "Color"):
|
139
|
+
self.r = color.r
|
140
|
+
self.g = color.g
|
141
|
+
self.b = color.b
|
142
|
+
self.a = color.a
|
143
|
+
return self
|
144
|
+
|
145
|
+
def to_rgb(self) -> tuple[int, int, int]:
|
146
|
+
return (self.r, self.g, self.b)
|
147
|
+
|
148
|
+
def to_rgba(self) -> tuple[int, int, int, int]:
|
149
|
+
return (self.r, self.g, self.b, self.a)
|
150
|
+
|
151
|
+
def to_rgb_f(self) -> tuple[float, float, float]:
|
152
|
+
return ((self.r / 255), (self.g / 255), (self.b / 255))
|
153
|
+
|
154
|
+
def to_rgba_f(self) -> tuple[float, float, float, float]:
|
155
|
+
return ((self.r / 255), (self.g / 255), (self.b / 255), (self.a / 255))
|
156
|
+
|
157
|
+
def to_hex(self) -> str:
|
158
|
+
return f"#{self.r:02X}{self.g:02X}{self.b:02X}"
|
159
|
+
|
160
|
+
def to_hexa(self) -> str:
|
161
|
+
return f"#{self.r:02X}{self.g:02X}{self.b:02X}{self.a:02X}"
|
162
|
+
|
163
|
+
def to_hsv(self) -> tuple[int, int, int]:
|
164
|
+
r, g, b = self.to_rgb_f()
|
165
|
+
min_, mid_, max_ = sorted((r, g, b))
|
166
|
+
delta = max_ - min_
|
167
|
+
|
168
|
+
if max_ == r:
|
169
|
+
hue = (g - b) / delta
|
170
|
+
elif max_ == g:
|
171
|
+
hue = (b - r) / delta + 2
|
172
|
+
elif max_ == b:
|
173
|
+
hue = (r - g) / delta + 4
|
174
|
+
else:
|
175
|
+
hue = 0
|
176
|
+
|
177
|
+
hue = round(60 * hue)
|
178
|
+
value = round(100 * max_)
|
179
|
+
saturation = round(100 * delta / max_) if (max_ != 0) else 0
|
180
|
+
|
181
|
+
return (
|
182
|
+
np.clip(0, 360, hue),
|
183
|
+
np.clip(0, 100, saturation),
|
184
|
+
np.clip(0, 100, value),
|
185
|
+
)
|
186
|
+
|
187
|
+
def to_qt(self) -> QColor:
|
188
|
+
return QColor(self.r, self.g, self.b, self.a)
|
189
|
+
|
190
|
+
def copy(self) -> "Color":
|
191
|
+
return Color(self.r, self.g, self.b, self.a)
|
192
|
+
|
193
|
+
def apply_factor(self, factor: float | int) -> "Color":
|
194
|
+
new_color = self.copy()
|
195
|
+
new_color.r = round(np.clip(self.r * factor, 0, 255))
|
196
|
+
new_color.g = round(np.clip(self.g * factor, 0, 255))
|
197
|
+
new_color.b = round(np.clip(self.b * factor, 0, 255))
|
198
|
+
|
199
|
+
return new_color
|
200
|
+
|
201
|
+
def set_brightness(self, brightness: int) -> "Color":
|
202
|
+
h, s, _ = self.to_hsv()
|
203
|
+
return self.to_hsv(h, s, brightness)
|
204
|
+
|
205
|
+
def set_saturation(self, saturation: int) -> "Color":
|
206
|
+
h, _, v = self.to_hsv()
|
207
|
+
return self.to_hsv(h, saturation, v)
|
208
|
+
|
209
|
+
def __repr__(self):
|
210
|
+
return f"Color(r={self.r}, g={self.g}, b={self.b}, a={self.a})"
|
211
|
+
|
212
|
+
def __eq__(self, other: "Color"):
|
213
|
+
return self.r == other.r and self.g == other.g and self.b == other.b and self.a == other.a
|
molde/colors/color_names.py
CHANGED
@@ -1,125 +1,125 @@
|
|
1
|
-
from .color import Color
|
2
|
-
|
3
|
-
|
4
|
-
WHITE = Color("#FFFFFF")
|
5
|
-
BLACK = Color("#000000")
|
6
|
-
|
7
|
-
RED_9 = Color("#FFECEB")
|
8
|
-
RED_8 = Color("#FFD5D2")
|
9
|
-
RED_7 = Color("#FD9891")
|
10
|
-
RED_6 = Color("#F87168")
|
11
|
-
RED_5 = Color("#F15B50")
|
12
|
-
RED_4 = Color("#E2483D")
|
13
|
-
RED_3 = Color("#C9372C")
|
14
|
-
RED_2 = Color("#AE2E24")
|
15
|
-
RED_1 = Color("#5D1F1A")
|
16
|
-
RED_0 = Color("#42221F")
|
17
|
-
RED = RED_4
|
18
|
-
|
19
|
-
GREEN_9 = Color("#DCFFF1")
|
20
|
-
GREEN_8 = Color("#BAF3DB")
|
21
|
-
GREEN_7 = Color("#7EE2B8")
|
22
|
-
GREEN_6 = Color("#4BCE97")
|
23
|
-
GREEN_5 = Color("#2ABB7F")
|
24
|
-
GREEN_4 = Color("#22A06B")
|
25
|
-
GREEN_3 = Color("#1F845A")
|
26
|
-
GREEN_2 = Color("#216E4E")
|
27
|
-
GREEN_1 = Color("#164B35")
|
28
|
-
GREEN_0 = Color("#1C3329")
|
29
|
-
GREEN = GREEN_4
|
30
|
-
|
31
|
-
BLUE_9 = Color("#ECF0FF")
|
32
|
-
BLUE_8 = Color("#C5D4FF")
|
33
|
-
BLUE_7 = Color("#84AAFF")
|
34
|
-
BLUE_6 = Color("#498FFF")
|
35
|
-
BLUE_5 = Color("#007AF0")
|
36
|
-
BLUE_4 = Color("#0069D0")
|
37
|
-
BLUE_3 = Color("#0051A2")
|
38
|
-
BLUE_2 = Color("#003A79")
|
39
|
-
BLUE_1 = Color("#002451")
|
40
|
-
BLUE_0 = Color("#001429")
|
41
|
-
BLUE = BLUE_4
|
42
|
-
|
43
|
-
GRAY_9 = Color("#F0F0F5")
|
44
|
-
GRAY_8 = Color("#D3D4DD")
|
45
|
-
GRAY_7 = Color("#AAAAB9")
|
46
|
-
GRAY_6 = Color("#8F8FA2")
|
47
|
-
GRAY_5 = Color("#7A7B8E")
|
48
|
-
GRAY_4 = Color("#696979")
|
49
|
-
GRAY_3 = Color("#515162")
|
50
|
-
GRAY_2 = Color("#3A3A47")
|
51
|
-
GRAY_1 = Color("#24252E")
|
52
|
-
GRAY_0 = Color("#1F2028")
|
53
|
-
GRAY = GRAY_4
|
54
|
-
|
55
|
-
ORANGE_9 = Color("#FFF3EB")
|
56
|
-
ORANGE_8 = Color("#FEDEC8")
|
57
|
-
ORANGE_7 = Color("#FEC195")
|
58
|
-
ORANGE_6 = Color("#FEA362")
|
59
|
-
ORANGE_5 = Color("#F38A3F")
|
60
|
-
ORANGE_4 = Color("#E56910")
|
61
|
-
ORANGE_3 = Color("#C25100")
|
62
|
-
ORANGE_2 = Color("#A54800")
|
63
|
-
ORANGE_1 = Color("#702E00")
|
64
|
-
ORANGE_0 = Color("#421A00")
|
65
|
-
ORANGE = ORANGE_4
|
66
|
-
|
67
|
-
PURPLE_9 = Color("#F3F0FF")
|
68
|
-
PURPLE_8 = Color("#DFD8FD")
|
69
|
-
PURPLE_7 = Color("#B8ACF6")
|
70
|
-
PURPLE_6 = Color("#9F8FEF")
|
71
|
-
PURPLE_5 = Color("#8F7EE7")
|
72
|
-
PURPLE_4 = Color("#8270DB")
|
73
|
-
PURPLE_3 = Color("#6E5DC6")
|
74
|
-
PURPLE_2 = Color("#5E4DB2")
|
75
|
-
PURPLE_1 = Color("#352C63")
|
76
|
-
PURPLE_0 = Color("#2B273F")
|
77
|
-
PURPLE = PURPLE_4
|
78
|
-
|
79
|
-
TURQUOISE_9 = Color("#DBF6F2")
|
80
|
-
TURQUOISE_8 = Color("#9BE1D8")
|
81
|
-
TURQUOISE_7 = Color("#50BBAF")
|
82
|
-
TURQUOISE_6 = Color("#36A094")
|
83
|
-
TURQUOISE_5 = Color("#1E8B7F")
|
84
|
-
TURQUOISE_4 = Color("#02786D")
|
85
|
-
TURQUOISE_3 = Color("#005E55")
|
86
|
-
TURQUOISE_2 = Color("#00443D")
|
87
|
-
TURQUOISE_1 = Color("#002B26")
|
88
|
-
TURQUOISE_0 = Color("#002420")
|
89
|
-
TURQUOISE = TURQUOISE_4
|
90
|
-
|
91
|
-
YELLOW_9 = Color("#FFF0D6")
|
92
|
-
YELLOW_8 = Color("#FFE2AF")
|
93
|
-
YELLOW_7 = Color("#FFD387")
|
94
|
-
YELLOW_6 = Color("#FFC460")
|
95
|
-
YELLOW_5 = Color("#FFB432")
|
96
|
-
YELLOW_4 = Color("#E89403")
|
97
|
-
YELLOW_3 = Color("#B87400")
|
98
|
-
YELLOW_2 = Color("#8F5A00")
|
99
|
-
YELLOW_1 = Color("#664100")
|
100
|
-
YELLOW_0 = Color("#3D2700")
|
101
|
-
YELLOW = YELLOW_4
|
102
|
-
|
103
|
-
PINK_9 = Color("#FEECF1")
|
104
|
-
PINK_8 = Color("#FBC7D5")
|
105
|
-
PINK_7 = Color("#F888AE")
|
106
|
-
PINK_6 = Color("#F65495")
|
107
|
-
PINK_5 = Color("#E62881")
|
108
|
-
PINK_4 = Color("#C8206F")
|
109
|
-
PINK_3 = Color("#9D1756")
|
110
|
-
PINK_2 = Color("#74103E")
|
111
|
-
PINK_1 = Color("#4E0627")
|
112
|
-
PINK_0 = Color("#2E0116")
|
113
|
-
PINK = PINK_4
|
114
|
-
|
115
|
-
TEAL_9 = Color("#E7F9FF")
|
116
|
-
TEAL_8 = Color("#C6EDFB")
|
117
|
-
TEAL_7 = Color("#9DD9EE")
|
118
|
-
TEAL_6 = Color("#6CC3E0")
|
119
|
-
TEAL_5 = Color("#42B2D7")
|
120
|
-
TEAL_4 = Color("#2898BD")
|
121
|
-
TEAL_3 = Color("#227D9B")
|
122
|
-
TEAL_2 = Color("#206A83")
|
123
|
-
TEAL_1 = Color("#164555")
|
124
|
-
TEAL_0 = Color("#1E3137")
|
1
|
+
from .color import Color
|
2
|
+
|
3
|
+
|
4
|
+
WHITE = Color("#FFFFFF")
|
5
|
+
BLACK = Color("#000000")
|
6
|
+
|
7
|
+
RED_9 = Color("#FFECEB")
|
8
|
+
RED_8 = Color("#FFD5D2")
|
9
|
+
RED_7 = Color("#FD9891")
|
10
|
+
RED_6 = Color("#F87168")
|
11
|
+
RED_5 = Color("#F15B50")
|
12
|
+
RED_4 = Color("#E2483D")
|
13
|
+
RED_3 = Color("#C9372C")
|
14
|
+
RED_2 = Color("#AE2E24")
|
15
|
+
RED_1 = Color("#5D1F1A")
|
16
|
+
RED_0 = Color("#42221F")
|
17
|
+
RED = RED_4
|
18
|
+
|
19
|
+
GREEN_9 = Color("#DCFFF1")
|
20
|
+
GREEN_8 = Color("#BAF3DB")
|
21
|
+
GREEN_7 = Color("#7EE2B8")
|
22
|
+
GREEN_6 = Color("#4BCE97")
|
23
|
+
GREEN_5 = Color("#2ABB7F")
|
24
|
+
GREEN_4 = Color("#22A06B")
|
25
|
+
GREEN_3 = Color("#1F845A")
|
26
|
+
GREEN_2 = Color("#216E4E")
|
27
|
+
GREEN_1 = Color("#164B35")
|
28
|
+
GREEN_0 = Color("#1C3329")
|
29
|
+
GREEN = GREEN_4
|
30
|
+
|
31
|
+
BLUE_9 = Color("#ECF0FF")
|
32
|
+
BLUE_8 = Color("#C5D4FF")
|
33
|
+
BLUE_7 = Color("#84AAFF")
|
34
|
+
BLUE_6 = Color("#498FFF")
|
35
|
+
BLUE_5 = Color("#007AF0")
|
36
|
+
BLUE_4 = Color("#0069D0")
|
37
|
+
BLUE_3 = Color("#0051A2")
|
38
|
+
BLUE_2 = Color("#003A79")
|
39
|
+
BLUE_1 = Color("#002451")
|
40
|
+
BLUE_0 = Color("#001429")
|
41
|
+
BLUE = BLUE_4
|
42
|
+
|
43
|
+
GRAY_9 = Color("#F0F0F5")
|
44
|
+
GRAY_8 = Color("#D3D4DD")
|
45
|
+
GRAY_7 = Color("#AAAAB9")
|
46
|
+
GRAY_6 = Color("#8F8FA2")
|
47
|
+
GRAY_5 = Color("#7A7B8E")
|
48
|
+
GRAY_4 = Color("#696979")
|
49
|
+
GRAY_3 = Color("#515162")
|
50
|
+
GRAY_2 = Color("#3A3A47")
|
51
|
+
GRAY_1 = Color("#24252E")
|
52
|
+
GRAY_0 = Color("#1F2028")
|
53
|
+
GRAY = GRAY_4
|
54
|
+
|
55
|
+
ORANGE_9 = Color("#FFF3EB")
|
56
|
+
ORANGE_8 = Color("#FEDEC8")
|
57
|
+
ORANGE_7 = Color("#FEC195")
|
58
|
+
ORANGE_6 = Color("#FEA362")
|
59
|
+
ORANGE_5 = Color("#F38A3F")
|
60
|
+
ORANGE_4 = Color("#E56910")
|
61
|
+
ORANGE_3 = Color("#C25100")
|
62
|
+
ORANGE_2 = Color("#A54800")
|
63
|
+
ORANGE_1 = Color("#702E00")
|
64
|
+
ORANGE_0 = Color("#421A00")
|
65
|
+
ORANGE = ORANGE_4
|
66
|
+
|
67
|
+
PURPLE_9 = Color("#F3F0FF")
|
68
|
+
PURPLE_8 = Color("#DFD8FD")
|
69
|
+
PURPLE_7 = Color("#B8ACF6")
|
70
|
+
PURPLE_6 = Color("#9F8FEF")
|
71
|
+
PURPLE_5 = Color("#8F7EE7")
|
72
|
+
PURPLE_4 = Color("#8270DB")
|
73
|
+
PURPLE_3 = Color("#6E5DC6")
|
74
|
+
PURPLE_2 = Color("#5E4DB2")
|
75
|
+
PURPLE_1 = Color("#352C63")
|
76
|
+
PURPLE_0 = Color("#2B273F")
|
77
|
+
PURPLE = PURPLE_4
|
78
|
+
|
79
|
+
TURQUOISE_9 = Color("#DBF6F2")
|
80
|
+
TURQUOISE_8 = Color("#9BE1D8")
|
81
|
+
TURQUOISE_7 = Color("#50BBAF")
|
82
|
+
TURQUOISE_6 = Color("#36A094")
|
83
|
+
TURQUOISE_5 = Color("#1E8B7F")
|
84
|
+
TURQUOISE_4 = Color("#02786D")
|
85
|
+
TURQUOISE_3 = Color("#005E55")
|
86
|
+
TURQUOISE_2 = Color("#00443D")
|
87
|
+
TURQUOISE_1 = Color("#002B26")
|
88
|
+
TURQUOISE_0 = Color("#002420")
|
89
|
+
TURQUOISE = TURQUOISE_4
|
90
|
+
|
91
|
+
YELLOW_9 = Color("#FFF0D6")
|
92
|
+
YELLOW_8 = Color("#FFE2AF")
|
93
|
+
YELLOW_7 = Color("#FFD387")
|
94
|
+
YELLOW_6 = Color("#FFC460")
|
95
|
+
YELLOW_5 = Color("#FFB432")
|
96
|
+
YELLOW_4 = Color("#E89403")
|
97
|
+
YELLOW_3 = Color("#B87400")
|
98
|
+
YELLOW_2 = Color("#8F5A00")
|
99
|
+
YELLOW_1 = Color("#664100")
|
100
|
+
YELLOW_0 = Color("#3D2700")
|
101
|
+
YELLOW = YELLOW_4
|
102
|
+
|
103
|
+
PINK_9 = Color("#FEECF1")
|
104
|
+
PINK_8 = Color("#FBC7D5")
|
105
|
+
PINK_7 = Color("#F888AE")
|
106
|
+
PINK_6 = Color("#F65495")
|
107
|
+
PINK_5 = Color("#E62881")
|
108
|
+
PINK_4 = Color("#C8206F")
|
109
|
+
PINK_3 = Color("#9D1756")
|
110
|
+
PINK_2 = Color("#74103E")
|
111
|
+
PINK_1 = Color("#4E0627")
|
112
|
+
PINK_0 = Color("#2E0116")
|
113
|
+
PINK = PINK_4
|
114
|
+
|
115
|
+
TEAL_9 = Color("#E7F9FF")
|
116
|
+
TEAL_8 = Color("#C6EDFB")
|
117
|
+
TEAL_7 = Color("#9DD9EE")
|
118
|
+
TEAL_6 = Color("#6CC3E0")
|
119
|
+
TEAL_5 = Color("#42B2D7")
|
120
|
+
TEAL_4 = Color("#2898BD")
|
121
|
+
TEAL_3 = Color("#227D9B")
|
122
|
+
TEAL_2 = Color("#206A83")
|
123
|
+
TEAL_1 = Color("#164555")
|
124
|
+
TEAL_0 = Color("#1E3137")
|
125
125
|
TEAL = TEAL_4
|
@@ -1,2 +1,2 @@
|
|
1
|
-
from .arcball_camera_style import ArcballCameraInteractorStyle
|
2
|
-
from .box_selection_style import BoxSelectionInteractorStyle
|
1
|
+
from .arcball_camera_style import ArcballCameraInteractorStyle
|
2
|
+
from .box_selection_style import BoxSelectionInteractorStyle
|