self._SecondPoint = self._feature.data().selection("SecondPoint")
self._CylindricalFace = self._feature.data().selection("CylindricalFace")
+ assert(self._CreationMethod)
+ assert(self._FirstPoint)
+ assert(self._SecondPoint)
+ assert(self._CylindricalFace)
+
if not args:
return
self._c = self._feature.data().real("C")
self._d = self._feature.data().real("D")
+ assert(self._CreationMethod)
+ assert(self._plane_face)
+ assert(self._distance)
+ assert(self._a)
+ assert(self._b)
+ assert(self._c)
+ assert(self._d)
+
if not args:
return
self._y = self._feature.data().real("y")
self._z = self._feature.data().real("z")
+ assert(self._x)
+ assert(self._y)
+ assert(self._z)
+
if not args:
return
self._file_path = self._feature.data().string("file_path")
+ assert(self._file_path)
+
if not args:
return
self._file_format = self._feature.data().string("file_format")
self._objects = self._feature.data().selectionList("selection_list")
+ assert(self._file_path)
+ assert(self._file_format)
+ assert(self._objects)
+
if not args:
return
self._from_object = self._feature.data().selection("from_object")
self._from_offset = self._feature.data().real("from_offset")
+ assert(self._CreationMethod)
+ assert(self._to_size)
+ assert(self._from_size)
+ assert(self._to_object)
+ assert(self._to_offset)
+ assert(self._from_object)
+ assert(self._from_offset)
+
if not args:
return
self._from_object = self._feature.data().selection("from_object")
self._from_offset = self._feature.data().real("from_offset")
+ assert(self._CreationMethod)
+ assert(self._to_size)
+ assert(self._from_size)
+ assert(self._to_object)
+ assert(self._to_offset)
+ assert(self._from_object)
+ assert(self._from_offset)
+
if not args:
return
self._group_list = self._feature.data().selectionList("group_list")
+ assert(self._group_list)
+
assert(len(args) == 1)
self.setGroupList(args[0])
pass
self._tool_objects = self._feature.data().selectionList("tool_objects")
self._partition_combine = self._feature.data().boolean("partition_combine")
+ assert(self._main_objects)
+ assert(self._tool_objects)
+ assert(self._partition_combine)
+
if main_objects is None:
return
self._reverse_direction = self._feature.data().boolean("placement_reverse_direction")
self._centering = self._feature.data().boolean("placement_centering")
+ assert(self._objects_list)
+ assert(self._start_shape)
+ assert(self._end_shape)
+ assert(self._reverse_direction)
+ assert(self._centering)
+
assert(len(args) == 5)
self.setObjectList(args[0])
self.setStartShape(args[1])
self._from_object = self._feature.data().selection("from_object")
self._from_offset = self._feature.data().real("from_offset")
+ assert(self._base)
+ assert(self._axis_object)
+ assert(self._CreationMethod)
+ assert(self._to_angle)
+ assert(self._from_angle)
+ assert(self._to_object)
+ assert(self._to_offset)
+ assert(self._from_object)
+ assert(self._from_offset)
+
if base is None:
return
self._from_object = self._feature.data().selection("from_object")
self._from_offset = self._feature.data().real("from_offset")
+ assert(self._axis_object)
+ assert(self._CreationMethod)
+ assert(self._to_angle)
+ assert(self._from_angle)
+ assert(self._to_object)
+ assert(self._to_offset)
+ assert(self._from_object)
+ assert(self._from_offset)
+
if not args:
return
self._from_object = self._feature.data().selection("from_object")
self._from_offset = self._feature.data().real("from_offset")
+ assert(self._axis_object)
+ assert(self._CreationMethod)
+ assert(self._to_angle)
+ assert(self._from_angle)
+ assert(self._to_object)
+ assert(self._to_offset)
+ assert(self._from_object)
+ assert(self._from_offset)
+
if not args:
return
self._axis_object = self._feature.data().selection("axis_object")
self._angle = self._feature.data().real("angle")
+ assert(self._main_objects)
+ assert(self._axis_object)
+ assert(self._angle)
+
assert(len(args) == 3)
self.setMainObjects(args[0])
self.setAxisObject(args[1])
self._axis_object = self._feature.data().selection("axis_object")
self._distance = self._feature.data().real("distance")
+ assert(self._main_objects)
+ assert(self._axis_object)
+ assert(self._distance)
+
assert(len(args) == 3)
self.setMainObjects(args[0])
self.setAxisObject(args[1])
Interface.__init__(self, feature)
assert(self._feature.getKind() == "Parameter")
- self._CreationMethod = self._feature.data().string("CreationMethod")
self._variable = self._feature.data().selection("variable")
self._expression = self._feature.data().real("expression")
+ assert(self._variable)
+ assert(self._expression)
+
if not args:
return