OCC.Core.TPrsStd module¶
TPrsStd module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tprsstd.html
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
property
thisown
¶ The membership flag
-
value
()¶
-
-
class
TPrsStd_AxisDriver
(*args)¶ Bases:
OCC.Core.TPrsStd.TPrsStd_Driver
- Constructs an empty axis driver.
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
TPrsStd_ConstraintDriver
(*args)¶ Bases:
OCC.Core.TPrsStd.TPrsStd_Driver
- Constructs an empty constraint driver.
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
TPrsStd_ConstraintTools
¶ Bases:
object
-
static
ComputeAngle
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeAngleForOneFace
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeCoincident
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeConcentric
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeDiameter
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeDistance
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeEqualDistance
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeEqualRadius
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeFix
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeMaxRadius
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeMidPoint
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeMinRadius
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeOffset
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeOthers
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeParallel
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputePerpendicular
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputePlacement
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeRadius
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeRound
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeSymmetry
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeTangent
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
static
ComputeTextAndValue
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param aValue
- type aValue
float
- param aText
- type aText
TCollection_ExtendedString
- param anIsAngle
- type anIsAngle
bool
- rtype
void
-
static
UpdateOnlyValue
()¶ - Parameters
aConst –
- type aConst
TDataXtd_Constraint
- param anAIS
- type anAIS
AIS_InteractiveObject
- rtype
void
-
property
thisown
¶ The membership flag
-
static
-
class
TPrsStd_DataMapOfGUIDDriver
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
TPrsStd_Driver
(*args, **kwargs)¶ Bases:
OCC.Core.Standard.Standard_Transient
Empty constructor
- Return type
None* Copy constructor – does nothing
- Parameters
& (Standard_Transient) –
- Return type
-
static
DownCast
(t)¶
-
Update
()¶ - Updates the interactive object ais with information found on the attributes associated with the label L.
- param L
- type L
TDF_Label
- param ais
- type ais
AIS_InteractiveObject
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
TPrsStd_DriverTable
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Default constructor
- rtype
None
-
AddDriver
()¶ - Returns true if the driver has been added successfully to the driver table.
- param guid
- type guid
Standard_GUID
- param driver
- type driver
TPrsStd_Driver
- rtype
bool
-
Clear
()¶ - Removes all drivers. Returns true if the driver has been removed successfully. If this method is used, the InitStandardDrivers method should be called to fill the table with standard drivers.
- rtype
None
-
static
DownCast
(t)¶
-
FindDriver
()¶ - Returns true if the driver was found.
- param guid
- type guid
Standard_GUID
- param driver
- type driver
TPrsStd_Driver
- rtype
bool
-
static
Get
()¶ - Returns the static table. If it does not exist, creates it and fills it with standard drivers.
- rtype
opencascade::handle<TPrsStd_DriverTable>
-
InitStandardDrivers
()¶ - Fills the table with standard drivers
- rtype
None
-
RemoveDriver
()¶ - Removes a driver with the given GUID. Returns true if the driver has been removed successfully.
- param guid
- type guid
Standard_GUID
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
TPrsStd_GeometryDriver
(*args)¶ Bases:
OCC.Core.TPrsStd.TPrsStd_Driver
- Constructs an empty geometry driver.
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
TPrsStd_NamedShapeDriver
(*args)¶ Bases:
OCC.Core.TPrsStd.TPrsStd_Driver
- Constructs an empty named shape driver.
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
TPrsStd_PlaneDriver
(*args)¶ Bases:
OCC.Core.TPrsStd.TPrsStd_Driver
- Constructs an empty plane driver.
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
TPrsStd_PointDriver
(*args)¶ Bases:
OCC.Core.TPrsStd.TPrsStd_Driver
- Constructs an empty point driver.
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag