mphkit 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mphkit/__init__.py +23 -0
- mphkit/_comsol.py +719 -0
- mphkit/_expr.py +37 -0
- mphkit/_measure.py +102 -0
- mphkit/_props.py +62 -0
- mphkit/_sel.py +487 -0
- mphkit/errors.py +5 -0
- mphkit/geometry.py +537 -0
- mphkit/py.typed +0 -0
- mphkit/sel.py +37 -0
- mphkit-0.1.0.dist-info/METADATA +174 -0
- mphkit-0.1.0.dist-info/RECORD +14 -0
- mphkit-0.1.0.dist-info/WHEEL +4 -0
- mphkit-0.1.0.dist-info/licenses/LICENSE +21 -0
mphkit/__init__.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""Helpers on top of MPh for building COMSOL geometries and selections."""
|
|
2
|
+
|
|
3
|
+
from . import sel
|
|
4
|
+
from ._measure import bounding_box, measure
|
|
5
|
+
from ._props import set_ as set # not in __all__: keeps builtin set
|
|
6
|
+
from .errors import LicenseError
|
|
7
|
+
from .geometry import (array, block, chamfer, circle, component_of,
|
|
8
|
+
coordinate_system, cylinder, delete, difference,
|
|
9
|
+
extrude, feature, fillet, geometry, import_,
|
|
10
|
+
intersection, interval, line_segment, mirror, move,
|
|
11
|
+
partition, point, polygon, rectangle, revolve,
|
|
12
|
+
rigid_transform, rotate, sphere, square, union,
|
|
13
|
+
workplane)
|
|
14
|
+
|
|
15
|
+
__version__ = '0.1.0'
|
|
16
|
+
|
|
17
|
+
__all__ = ['LicenseError', 'array', 'block', 'bounding_box', 'chamfer',
|
|
18
|
+
'circle', 'component_of', 'coordinate_system', 'cylinder',
|
|
19
|
+
'delete', 'difference', 'extrude', 'feature', 'fillet',
|
|
20
|
+
'geometry', 'import_', 'intersection', 'interval',
|
|
21
|
+
'line_segment', 'measure', 'mirror', 'move', 'partition', 'point',
|
|
22
|
+
'polygon', 'rectangle', 'revolve', 'rigid_transform', 'rotate',
|
|
23
|
+
'sel', 'sphere', 'square', 'union', 'workplane']
|