Skip to content

Commit 23a7315

Browse files
committed
move brep out of geometry
1 parent 84c8b22 commit 23a7315

File tree

10 files changed

+34
-29
lines changed

10 files changed

+34
-29
lines changed

src/compas/brep/__init__.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
from __future__ import absolute_import
2+
3+
from .errors import (
4+
BrepError,
5+
BrepInvalidError,
6+
BrepTrimmingError,
7+
)
8+
9+
from .brep import Brep
10+
from .brep import BrepOrientation
11+
from .brep import BrepType
12+
from .edge import BrepEdge
13+
from .loop import BrepLoop
14+
from .face import BrepFace
15+
from .vertex import BrepVertex
16+
from .trim import BrepTrim
17+
from .trim import BrepTrimIsoStatus
18+
19+
20+
__all__ = [
21+
"Brep",
22+
"BrepLoop",
23+
"BrepEdge",
24+
"BrepVertex",
25+
"BrepFace",
26+
"BrepTrim",
27+
"BrepTrimIsoStatus",
28+
"BrepType",
29+
"BrepOrientation",
30+
"BrepError",
31+
"BrepInvalidError",
32+
"BrepTrimmingError",
33+
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/compas/datastructures/assembly/part.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
from __future__ import division
44

55
from compas.geometry import Frame
6-
from compas.geometry import Brep
76
from compas.geometry import Polyhedron
7+
from compas.brep import Brep
88
from compas.datastructures import Datastructure
99
from compas.data import Data
1010

src/compas/geometry/__init__.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -375,22 +375,6 @@
375375
from .polygon import Polygon
376376
from .polyhedron import Polyhedron
377377

378-
from .brep import (
379-
BrepError,
380-
BrepInvalidError,
381-
BrepTrimmingError,
382-
)
383-
384-
from .brep.brep import Brep
385-
from .brep.brep import BrepOrientation
386-
from .brep.brep import BrepType
387-
from .brep.edge import BrepEdge
388-
from .brep.loop import BrepLoop
389-
from .brep.face import BrepFace
390-
from .brep.vertex import BrepVertex
391-
from .brep.trim import BrepTrim
392-
from .brep.trim import BrepTrimIsoStatus
393-
394378

395379
__all__ = [
396380
"close",
@@ -717,18 +701,6 @@
717701
"ConicalSurface",
718702
"PlanarSurface",
719703
"NurbsSurface",
720-
"Brep",
721-
"BrepLoop",
722-
"BrepEdge",
723-
"BrepVertex",
724-
"BrepFace",
725-
"BrepTrim",
726-
"BrepTrimIsoStatus",
727-
"BrepType",
728-
"BrepOrientation",
729-
"BrepError",
730-
"BrepInvalidError",
731-
"BrepTrimmingError",
732704
]
733705

734706
if not compas.IPY:

0 commit comments

Comments
 (0)