示例#1
0
	def execute(self, context):
		if len(context.selected_objects)>1:
			utils.polygonBoolean(context,self.boolean_type)
			return {'FINISHED'}
		else:
			self.report({'ERROR'}, 'at least 2 curves must be selected')
			return {'CANCELLED'}
示例#2
0
 def execute(self, context):
     if len(context.selected_objects) > 1:
         utils.polygonBoolean(context, self.boolean_type)
         return {'FINISHED'}
     else:
         self.report({'ERROR'}, 'at least 2 curves must be selected')
         return {'CANCELLED'}
示例#3
0
文件: ops.py 项目: Tob1112/blendercam
 def execute(self, context):
     utils.polygonBoolean(context, self.boolean_type)
     return {"FINISHED"}
示例#4
0
 def execute(self, context):
     utils.polygonBoolean(context, self.boolean_type)
     return {'FINISHED'}