OCC.STEPEdit module

-Purpose : Provides tools to exploit and edit a set of STEP data :editors, selections ..

class Handle_STEPEdit_EditContext(*args)

Bases: OCC.IFSelect.Handle_IFSelect_Editor

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_STEPEdit_EditSDR(*args)

Bases: OCC.IFSelect.Handle_IFSelect_Editor

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class STEPEdit_EditContext(*args)

Bases: OCC.IFSelect.IFSelect_Editor

Return type:None
GetHandle()
thisown

The membership flag

class STEPEdit_EditSDR(*args)

Bases: OCC.IFSelect.IFSelect_Editor

Return type:None
GetHandle()
thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()
new_instancemethod(func, inst, cls)
register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases

class stepedit

Bases: object

static NewModel()
  • Returns a new empty StepModel fit for STEP i.e. with its header determined from Protocol
Return type:Handle_StepData_StepModel
static NewSelectPlacedItem()
  • Creates a Selection for Placed Items, i.e. MappedItem or ContextDependentShapeRepresentation, which itself refers to a RepresentationRelationship with possible subtypes (Shape… and/or …WithTransformation) By default in the whole StepModel
Return type:Handle_IFSelect_SelectSignature
static NewSelectSDR()
  • Creates a Selection for ShapeDefinitionRepresentation By default searches among root entities
Return type:Handle_IFSelect_SelectSignature
static NewSelectShapeRepr()
  • Creates a Selection for ShapeRepresentation and its sub-types, plus ContextDependentShapeRepresentation (which is not a sub-type of ShapeRepresentation) By default in the whole StepModel
Return type:Handle_IFSelect_SelectSignature
static Protocol()
  • Returns a Protocol fit for STEP (creates the first time)
Return type:Handle_Interface_Protocol
static SignType()
  • Returns a SignType fit for STEP (creates the first time)
Return type:Handle_IFSelect_Signature
thisown

The membership flag

stepedit_NewModel()
  • Returns a new empty StepModel fit for STEP i.e. with its header determined from Protocol
Return type:Handle_StepData_StepModel
stepedit_NewSelectPlacedItem()
  • Creates a Selection for Placed Items, i.e. MappedItem or ContextDependentShapeRepresentation, which itself refers to a RepresentationRelationship with possible subtypes (Shape… and/or …WithTransformation) By default in the whole StepModel
Return type:Handle_IFSelect_SelectSignature
stepedit_NewSelectSDR()
  • Creates a Selection for ShapeDefinitionRepresentation By default searches among root entities
Return type:Handle_IFSelect_SelectSignature
stepedit_NewSelectShapeRepr()
  • Creates a Selection for ShapeRepresentation and its sub-types, plus ContextDependentShapeRepresentation (which is not a sub-type of ShapeRepresentation) By default in the whole StepModel
Return type:Handle_IFSelect_SelectSignature
stepedit_Protocol()
  • Returns a Protocol fit for STEP (creates the first time)
Return type:Handle_Interface_Protocol
stepedit_SignType()
  • Returns a SignType fit for STEP (creates the first time)
Return type:Handle_IFSelect_Signature