コード例 #1
0
ファイル: ops.py プロジェクト: AndreKravcenko/blendercam
	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
ファイル: ops.py プロジェクト: craig321/myblendercontrib
 def execute(self, context):
     utils.polygonBoolean(context, self.boolean_type)
     return {'FINISHED'}