@@ -40,125 +40,123 @@ def __repr__(self):
40
40
return f"<{ self .__class__ .__name__ } .{ self .name } >"
41
41
42
42
43
- class Select (Enum ):
44
- """Selector scope - all or last operation """
43
+ class AngularDirection (Enum ):
44
+ """Angular rotation direction """
45
45
46
- ALL = auto ()
47
- LAST = auto ()
46
+ CLOCKWISE = auto ()
47
+ COUNTER_CLOCKWISE = auto ()
48
48
49
49
def __repr__ (self ):
50
50
return f"<{ self .__class__ .__name__ } .{ self .name } >"
51
51
52
52
53
- class Kind (Enum ):
54
- """Offset corner transition """
53
+ class CenterOf (Enum ):
54
+ """Center Options """
55
55
56
- ARC = auto ()
57
- INTERSECTION = auto ()
58
- TANGENT = auto ()
56
+ GEOMETRY = auto ()
57
+ MASS = auto ()
58
+ BOUNDING_BOX = auto ()
59
59
60
60
def __repr__ (self ):
61
61
return f"<{ self .__class__ .__name__ } .{ self .name } >"
62
62
63
63
64
- class Keep (Enum ):
65
- """Split options """
64
+ class Direction (Enum ):
65
+ """Face direction """
66
66
67
- TOP = auto ()
68
- BOTTOM = auto ()
69
- BOTH = auto ()
67
+ ALONG_AXIS = auto ()
68
+ OPPOSITE = auto ()
70
69
71
70
def __repr__ (self ):
72
71
return f"<{ self .__class__ .__name__ } .{ self .name } >"
73
72
74
73
75
- class Mode (Enum ):
76
- """Combination Mode """
74
+ class FrameMethod (Enum ):
75
+ """Moving frame calculation method """
77
76
78
- ADD = auto ()
79
- SUBTRACT = auto ()
80
- INTERSECT = auto ()
81
- REPLACE = auto ()
82
- PRIVATE = auto ()
77
+ FRENET = auto ()
78
+ CORRECTED = auto ()
83
79
84
80
def __repr__ (self ):
85
81
return f"<{ self .__class__ .__name__ } .{ self .name } >"
86
82
87
83
88
- class Transition (Enum ):
89
- """Sweep discontinuity handling option """
84
+ class GeomType (Enum ):
85
+ """CAD geometry object type """
90
86
91
- RIGHT = auto ()
92
- ROUND = auto ()
93
- TRANSFORMED = auto ()
87
+ PLANE = auto ()
88
+ CYLINDER = auto ()
89
+ CONE = auto ()
90
+ SPHERE = auto ()
91
+ TORUS = auto ()
92
+ BEZIER = auto ()
93
+ BSPLINE = auto ()
94
+ REVOLUTION = auto ()
95
+ EXTRUSION = auto ()
96
+ OFFSET = auto ()
97
+ LINE = auto ()
98
+ CIRCLE = auto ()
99
+ ELLIPSE = auto ()
100
+ HYPERBOLA = auto ()
101
+ PARABOLA = auto ()
102
+ OTHER = auto ()
94
103
95
104
def __repr__ (self ):
96
105
return f"<{ self .__class__ .__name__ } .{ self .name } >"
97
106
98
107
99
- class FontStyle (Enum ):
100
- """Text Font Styles """
108
+ class Keep (Enum ):
109
+ """Split options """
101
110
102
- REGULAR = auto ()
103
- BOLD = auto ()
104
- ITALIC = auto ()
111
+ TOP = auto ()
112
+ BOTTOM = auto ()
113
+ BOTH = auto ()
105
114
106
115
def __repr__ (self ):
107
116
return f"<{ self .__class__ .__name__ } .{ self .name } >"
108
117
109
118
110
- class Until (Enum ):
111
- """Extrude limit """
119
+ class Kind (Enum ):
120
+ """Offset corner transition """
112
121
113
- NEXT = auto ()
114
- LAST = auto ()
122
+ ARC = auto ()
123
+ INTERSECTION = auto ()
124
+ TANGENT = auto ()
115
125
116
126
def __repr__ (self ):
117
127
return f"<{ self .__class__ .__name__ } .{ self .name } >"
118
128
119
129
120
- class SortBy (Enum ):
121
- """Sorting criteria """
130
+ class Mode (Enum ):
131
+ """Combination Mode """
122
132
123
- LENGTH = auto ()
124
- RADIUS = auto ()
125
- AREA = auto ()
126
- VOLUME = auto ()
127
- DISTANCE = auto ()
133
+ ADD = auto ()
134
+ SUBTRACT = auto ()
135
+ INTERSECT = auto ()
136
+ REPLACE = auto ()
137
+ PRIVATE = auto ()
128
138
129
139
def __repr__ (self ):
130
140
return f"<{ self .__class__ .__name__ } .{ self .name } >"
131
141
132
142
133
- class GeomType (Enum ):
134
- """CAD geometry object type """
143
+ class FontStyle (Enum ):
144
+ """Text Font Styles """
135
145
136
- PLANE = auto ()
137
- CYLINDER = auto ()
138
- CONE = auto ()
139
- SPHERE = auto ()
140
- TORUS = auto ()
141
- BEZIER = auto ()
142
- BSPLINE = auto ()
143
- REVOLUTION = auto ()
144
- EXTRUSION = auto ()
145
- OFFSET = auto ()
146
- LINE = auto ()
147
- CIRCLE = auto ()
148
- ELLIPSE = auto ()
149
- HYPERBOLA = auto ()
150
- PARABOLA = auto ()
151
- OTHER = auto ()
146
+ REGULAR = auto ()
147
+ BOLD = auto ()
148
+ ITALIC = auto ()
152
149
153
150
def __repr__ (self ):
154
151
return f"<{ self .__class__ .__name__ } .{ self .name } >"
155
152
156
153
157
- class AngularDirection (Enum ):
158
- """Angular rotation direction """
154
+ class LengthMode (Enum ):
155
+ """Method of specifying length along PolarLine """
159
156
160
- CLOCKWISE = auto ()
161
- COUNTER_CLOCKWISE = auto ()
157
+ DIAGONAL = auto ()
158
+ HORIZONTAL = auto ()
159
+ VERTICAL = auto ()
162
160
163
161
def __repr__ (self ):
164
162
return f"<{ self .__class__ .__name__ } .{ self .name } >"
@@ -174,32 +172,45 @@ def __repr__(self):
174
172
return f"<{ self .__class__ .__name__ } .{ self .name } >"
175
173
176
174
177
- class FrameMethod (Enum ):
178
- """Moving frame calculation method """
175
+ class Select (Enum ):
176
+ """Selector scope - all or last operation """
179
177
180
- FRENET = auto ()
181
- CORRECTED = auto ()
178
+ ALL = auto ()
179
+ LAST = auto ()
182
180
183
181
def __repr__ (self ):
184
182
return f"<{ self .__class__ .__name__ } .{ self .name } >"
185
183
186
184
187
- class Direction (Enum ):
188
- """Face direction """
185
+ class SortBy (Enum ):
186
+ """Sorting criteria """
189
187
190
- ALONG_AXIS = auto ()
191
- OPPOSITE = auto ()
188
+ LENGTH = auto ()
189
+ RADIUS = auto ()
190
+ AREA = auto ()
191
+ VOLUME = auto ()
192
+ DISTANCE = auto ()
192
193
193
194
def __repr__ (self ):
194
195
return f"<{ self .__class__ .__name__ } .{ self .name } >"
195
196
196
197
197
- class CenterOf (Enum ):
198
- """Center Options """
198
+ class Transition (Enum ):
199
+ """Sweep discontinuity handling option """
199
200
200
- GEOMETRY = auto ()
201
- MASS = auto ()
202
- BOUNDING_BOX = auto ()
201
+ RIGHT = auto ()
202
+ ROUND = auto ()
203
+ TRANSFORMED = auto ()
204
+
205
+ def __repr__ (self ):
206
+ return f"<{ self .__class__ .__name__ } .{ self .name } >"
207
+
208
+
209
+ class Until (Enum ):
210
+ """Extrude limit"""
211
+
212
+ NEXT = auto ()
213
+ LAST = auto ()
203
214
204
215
def __repr__ (self ):
205
216
return f"<{ self .__class__ .__name__ } .{ self .name } >"
0 commit comments