Skip to content

Commit 2a4edb8

Browse files
committed
Fixed AIS
1 parent a5aa4b7 commit 2a4edb8

File tree

2 files changed

+0
-72
lines changed

2 files changed

+0
-72
lines changed

src/SWIG_files/wrapper/AIS.i

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html"
4242
#include<Standard_module.hxx>
4343
#include<NCollection_module.hxx>
4444
#include<SelectMgr_module.hxx>
45-
#include<PrsDim_module.hxx>
4645
#include<Media_module.hxx>
4746
#include<TCollection_module.hxx>
4847
#include<Quantity_module.hxx>
@@ -84,7 +83,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html"
8483
%import Standard.i
8584
%import NCollection.i
8685
%import SelectMgr.i
87-
%import PrsDim.i
8886
%import Media.i
8987
%import TCollection.i
9088
%import Quantity.i
@@ -646,43 +644,20 @@ AIS_DS_None = AIS_DisplayStatus.AIS_DS_None
646644
/* end templates declaration */
647645

648646
/* typedefs */
649-
typedef PrsDim_AngleDimension AIS_AngleDimension;
650647
typedef Media_Timer AIS_AnimationTimer;
651-
typedef PrsDim_Chamf2dDimension AIS_Chamf2dDimension;
652-
typedef PrsDim_Chamf3dDimension AIS_Chamf3dDimension;
653-
typedef PrsDim_ConcentricRelation AIS_ConcentricRelation;
654648
typedef NCollection_DataMap<opencascade::handle<AIS_InteractiveObject>, opencascade::handle<AIS_GlobalStatus>, TColStd_MapTransientHasher>::Iterator AIS_DataMapIteratorOfDataMapOfIOStatus;
655649
typedef NCollection_DataMap<Standard_Integer, AIS_ListOfInteractive, TColStd_MapIntegerHasher>::Iterator AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive;
656650
typedef NCollection_DataMap<opencascade::handle<AIS_InteractiveObject>, opencascade::handle<AIS_GlobalStatus>, TColStd_MapTransientHasher> AIS_DataMapOfIOStatus;
657651
typedef NCollection_DataMap<TopoDS_Shape, opencascade::handle<AIS_ColoredDrawer>, TopTools_ShapeMapHasher> AIS_DataMapOfShapeDrawer;
658652
typedef NCollection_DataMap<Standard_Integer, AIS_ListOfInteractive, TColStd_MapIntegerHasher> AIS_DataMapofIntegerListOfinteractive;
659-
typedef PrsDim_DiameterDimension AIS_DiameterDimension;
660-
typedef PrsDim_Dimension AIS_Dimension;
661-
typedef PrsDim_DimensionOwner AIS_DimensionOwner;
662-
typedef PrsDim_EllipseRadiusDimension AIS_EllipseRadiusDimension;
663-
typedef PrsDim_EqualDistanceRelation AIS_EqualDistanceRelation;
664-
typedef PrsDim_EqualRadiusRelation AIS_EqualRadiusRelation;
665-
typedef PrsDim_FixRelation AIS_FixRelation;
666-
typedef PrsDim_IdenticRelation AIS_IdenticRelation;
667653
typedef NCollection_IndexedDataMap<opencascade::handle<SelectMgr_EntityOwner>, opencascade::handle<Prs3d_Presentation>, TColStd_MapTransientHasher> AIS_IndexedDataMapOfOwnerPrs;
668-
typedef PrsDim_LengthDimension AIS_LengthDimension;
669654
typedef NCollection_List<opencascade::handle<AIS_InteractiveObject>>::Iterator AIS_ListIteratorOfListOfInteractive;
670655
typedef NCollection_List<opencascade::handle<AIS_InteractiveObject>> AIS_ListOfInteractive;
671656
typedef NCollection_Map<opencascade::handle<AIS_InteractiveObject>, TColStd_MapTransientHasher>::Iterator AIS_MapIteratorOfMapOfInteractive;
672657
typedef NCollection_Map<opencascade::handle<AIS_InteractiveObject>, TColStd_MapTransientHasher> AIS_MapOfInteractive;
673-
typedef PrsDim_MaxRadiusDimension AIS_MaxRadiusDimension;
674-
typedef PrsDim_MidPointRelation AIS_MidPointRelation;
675-
typedef PrsDim_MinRadiusDimension AIS_MinRadiusDimension;
676658
typedef NCollection_DataMap<unsigned int, AIS_MouseGesture> AIS_MouseGestureMap;
677659
typedef NCollection_List<opencascade::handle<SelectMgr_EntityOwner>> AIS_NListOfEntityOwner;
678-
typedef PrsDim_OffsetDimension AIS_OffsetDimension;
679-
typedef PrsDim_ParallelRelation AIS_ParallelRelation;
680-
typedef PrsDim_PerpendicularRelation AIS_PerpendicularRelation;
681-
typedef PrsDim_RadiusDimension AIS_RadiusDimension;
682-
typedef PrsDim_Relation AIS_Relation;
683660
typedef NCollection_Sequence<opencascade::handle<AIS_InteractiveObject>> AIS_SequenceOfInteractive;
684-
typedef PrsDim_SymmetricRelation AIS_SymmetricRelation;
685-
typedef PrsDim_TangentRelation AIS_TangentRelation;
686661
/* end typedefs declaration */
687662

688663
/************
@@ -16157,28 +16132,5 @@ float
1615716132
/* hsequence classes */
1615816133
/* class aliases */
1615916134
%pythoncode {
16160-
AIS_AngleDimension=OCC.Core.PrsDim.PrsDim_AngleDimension
1616116135
AIS_AnimationTimer=OCC.Core.Media.Media_Timer
16162-
AIS_Chamf2dDimension=OCC.Core.PrsDim.PrsDim_Chamf2dDimension
16163-
AIS_Chamf3dDimension=OCC.Core.PrsDim.PrsDim_Chamf3dDimension
16164-
AIS_ConcentricRelation=OCC.Core.PrsDim.PrsDim_ConcentricRelation
16165-
AIS_DiameterDimension=OCC.Core.PrsDim.PrsDim_DiameterDimension
16166-
AIS_Dimension=OCC.Core.PrsDim.PrsDim_Dimension
16167-
AIS_DimensionOwner=OCC.Core.PrsDim.PrsDim_DimensionOwner
16168-
AIS_EllipseRadiusDimension=OCC.Core.PrsDim.PrsDim_EllipseRadiusDimension
16169-
AIS_EqualDistanceRelation=OCC.Core.PrsDim.PrsDim_EqualDistanceRelation
16170-
AIS_EqualRadiusRelation=OCC.Core.PrsDim.PrsDim_EqualRadiusRelation
16171-
AIS_FixRelation=OCC.Core.PrsDim.PrsDim_FixRelation
16172-
AIS_IdenticRelation=OCC.Core.PrsDim.PrsDim_IdenticRelation
16173-
AIS_LengthDimension=OCC.Core.PrsDim.PrsDim_LengthDimension
16174-
AIS_MaxRadiusDimension=OCC.Core.PrsDim.PrsDim_MaxRadiusDimension
16175-
AIS_MidPointRelation=OCC.Core.PrsDim.PrsDim_MidPointRelation
16176-
AIS_MinRadiusDimension=OCC.Core.PrsDim.PrsDim_MinRadiusDimension
16177-
AIS_OffsetDimension=OCC.Core.PrsDim.PrsDim_OffsetDimension
16178-
AIS_ParallelRelation=OCC.Core.PrsDim.PrsDim_ParallelRelation
16179-
AIS_PerpendicularRelation=OCC.Core.PrsDim.PrsDim_PerpendicularRelation
16180-
AIS_RadiusDimension=OCC.Core.PrsDim.PrsDim_RadiusDimension
16181-
AIS_Relation=OCC.Core.PrsDim.PrsDim_Relation
16182-
AIS_SymmetricRelation=OCC.Core.PrsDim.PrsDim_SymmetricRelation
16183-
AIS_TangentRelation=OCC.Core.PrsDim.PrsDim_TangentRelation
1618416136
}

src/SWIG_files/wrapper/AIS.pyi

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ from typing import overload, NewType, Optional, Tuple
44
from OCC.Core.Standard import *
55
from OCC.Core.NCollection import *
66
from OCC.Core.SelectMgr import *
7-
from OCC.Core.PrsDim import *
87
from OCC.Core.Media import *
98
from OCC.Core.TCollection import *
109
from OCC.Core.Quantity import *
@@ -26,36 +25,13 @@ from OCC.Core.Select3D import *
2625
from OCC.Core.Poly import *
2726
from OCC.Core.Image import *
2827

29-
AIS_AngleDimension = NewType('AIS_AngleDimension', PrsDim_AngleDimension)
3028
AIS_AnimationTimer = NewType('AIS_AnimationTimer', Media_Timer)
31-
AIS_Chamf2dDimension = NewType('AIS_Chamf2dDimension', PrsDim_Chamf2dDimension)
32-
AIS_Chamf3dDimension = NewType('AIS_Chamf3dDimension', PrsDim_Chamf3dDimension)
33-
AIS_ConcentricRelation = NewType('AIS_ConcentricRelation', PrsDim_ConcentricRelation)
34-
AIS_DiameterDimension = NewType('AIS_DiameterDimension', PrsDim_DiameterDimension)
35-
AIS_Dimension = NewType('AIS_Dimension', PrsDim_Dimension)
36-
AIS_DimensionOwner = NewType('AIS_DimensionOwner', PrsDim_DimensionOwner)
37-
AIS_EllipseRadiusDimension = NewType('AIS_EllipseRadiusDimension', PrsDim_EllipseRadiusDimension)
38-
AIS_EqualDistanceRelation = NewType('AIS_EqualDistanceRelation', PrsDim_EqualDistanceRelation)
39-
AIS_EqualRadiusRelation = NewType('AIS_EqualRadiusRelation', PrsDim_EqualRadiusRelation)
40-
AIS_FixRelation = NewType('AIS_FixRelation', PrsDim_FixRelation)
41-
AIS_IdenticRelation = NewType('AIS_IdenticRelation', PrsDim_IdenticRelation)
4229
#the following typedef cannot be wrapped as is
4330
AIS_IndexedDataMapOfOwnerPrs = NewType('AIS_IndexedDataMapOfOwnerPrs', Any)
44-
AIS_LengthDimension = NewType('AIS_LengthDimension', PrsDim_LengthDimension)
4531
#the following typedef cannot be wrapped as is
4632
AIS_MapIteratorOfMapOfInteractive = NewType('AIS_MapIteratorOfMapOfInteractive', Any)
4733
#the following typedef cannot be wrapped as is
4834
AIS_MapOfInteractive = NewType('AIS_MapOfInteractive', Any)
49-
AIS_MaxRadiusDimension = NewType('AIS_MaxRadiusDimension', PrsDim_MaxRadiusDimension)
50-
AIS_MidPointRelation = NewType('AIS_MidPointRelation', PrsDim_MidPointRelation)
51-
AIS_MinRadiusDimension = NewType('AIS_MinRadiusDimension', PrsDim_MinRadiusDimension)
52-
AIS_OffsetDimension = NewType('AIS_OffsetDimension', PrsDim_OffsetDimension)
53-
AIS_ParallelRelation = NewType('AIS_ParallelRelation', PrsDim_ParallelRelation)
54-
AIS_PerpendicularRelation = NewType('AIS_PerpendicularRelation', PrsDim_PerpendicularRelation)
55-
AIS_RadiusDimension = NewType('AIS_RadiusDimension', PrsDim_RadiusDimension)
56-
AIS_Relation = NewType('AIS_Relation', PrsDim_Relation)
57-
AIS_SymmetricRelation = NewType('AIS_SymmetricRelation', PrsDim_SymmetricRelation)
58-
AIS_TangentRelation = NewType('AIS_TangentRelation', PrsDim_TangentRelation)
5935

6036
class AIS_ListOfInteractive:
6137
def __init__(self) -> None: ...

0 commit comments

Comments
 (0)