Version: 6.3.1
Functions

Boolean Operations

Transforming geometrical objects

Functions

def geompy.MakeBoolean
 Perform one of boolean operations on two given shapes.
def geompy.MakeCommon
 Shortcut to MakeBoolean(s1, s2, 1)
def geompy.MakeCut
 Shortcut to MakeBoolean(s1, s2, 2)
def geompy.MakeFuse
 Shortcut to MakeBoolean(s1, s2, 3)
def geompy.MakeSection
 Shortcut to MakeBoolean(s1, s2, 4)

Function Documentation

def geompy.MakeBoolean (   self,
  theShape1,
  theShape2,
  theOperation 
)
Parameters:
theShape1First argument for boolean operation.
theShape2Second argument for boolean operation.
theOperationIndicates the operation to be done: 1 - Common, 2 - Cut, 3 - Fuse, 4 - Section.
Returns:
New GEOM_Object, containing the result shape.

Example

def geompy.MakeCommon (   self,
  s1,
  s2 
)

Example 1
Example 2

def geompy.MakeCut (   self,
  s1,
  s2 
)

Example 1
Example 2

def geompy.MakeFuse (   self,
  s1,
  s2 
)

Example 1
Example 2

def geompy.MakeSection (   self,
  s1,
  s2 
)

Example 1
Example 2

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS