samlpy 0.2.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.
- cadi_saml/__init__.py +57 -0
- cadi_saml/backend/__init__.py +3 -0
- cadi_saml/backend/occt_backend.py +1786 -0
- cadi_saml/core/__init__.py +5 -0
- cadi_saml/core/assembly.py +1648 -0
- cadi_saml/core/ports.py +162 -0
- cadi_saml/core/sketch.py +213 -0
- cadi_saml/core/text_engine.py +203 -0
- cadi_saml/ir/__init__.py +24 -0
- cadi_saml/ir/nodes.py +224 -0
- cadi_saml/ir/parser.py +113 -0
- cadi_saml/reverse/__init__.py +3 -0
- cadi_saml/reverse/step_importer.py +165 -0
- cadi_saml/std_parts/__init__.py +26 -0
- cadi_saml/std_parts/bearings.py +96 -0
- cadi_saml/std_parts/fasteners.py +88 -0
- cadi_saml/std_parts/gears.py +258 -0
- cadi_saml/std_parts/motors.py +170 -0
- cadi_saml/std_parts/motorsport.py +254 -0
- cadi_saml/std_parts/nuts.py +169 -0
- cadi_saml/std_parts/profiles.py +138 -0
- cadi_saml/std_parts/springs.py +249 -0
- cadi_saml/std_parts/washers.py +93 -0
- cadi_saml/validation/__init__.py +3 -0
- cadi_saml/validation/validation_engineer.py +413 -0
- samlpy/__init__.py +77 -0
- samlpy-0.2.0.dist-info/METADATA +207 -0
- samlpy-0.2.0.dist-info/RECORD +30 -0
- samlpy-0.2.0.dist-info/WHEEL +5 -0
- samlpy-0.2.0.dist-info/top_level.txt +2 -0
cadi_saml/__init__.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""
|
|
2
|
+
cadi-saml: Deterministic, LLM-friendly CAD Modeling and Assembly Engine.
|
|
3
|
+
Built natively on OpenCASCADE (OCCT).
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from .core.assembly import Assembly, PartReference, SafeEvaluator, CircularDependencyError
|
|
7
|
+
from .core.ports import PortStatus, StalePortError, OverConstrainedError, ConstraintStatus
|
|
8
|
+
from .core.sketch import Sketch
|
|
9
|
+
from .std_parts.fasteners import Fastener
|
|
10
|
+
from .std_parts.bearings import Bearing
|
|
11
|
+
from .std_parts.nuts import Nut
|
|
12
|
+
from .std_parts.washers import Washer
|
|
13
|
+
from .std_parts.profiles import Profile
|
|
14
|
+
from .std_parts.motors import Motor
|
|
15
|
+
from .std_parts.motorsport import Motorsport
|
|
16
|
+
from .ir.nodes import AssemblyIR, CrossSection, ExportFormat, MateType, PatternType, UnitSystem
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from .ir.parser import SAMLParser
|
|
22
|
+
from .backend.occt_backend import OCCTBackend
|
|
23
|
+
from .reverse.step_importer import STEPReverseEngineer
|
|
24
|
+
from .validation.validation_engineer import ValidationEngineer, ClashReport
|
|
25
|
+
|
|
26
|
+
__version__ = "0.2.0"
|
|
27
|
+
__all__ = [
|
|
28
|
+
"Assembly",
|
|
29
|
+
"PartReference",
|
|
30
|
+
"SafeEvaluator",
|
|
31
|
+
"CircularDependencyError",
|
|
32
|
+
"PortStatus",
|
|
33
|
+
"StalePortError",
|
|
34
|
+
"OverConstrainedError",
|
|
35
|
+
"ConstraintStatus",
|
|
36
|
+
|
|
37
|
+
"Sketch",
|
|
38
|
+
"CrossSection",
|
|
39
|
+
"PatternType",
|
|
40
|
+
"Fastener",
|
|
41
|
+
"Bearing",
|
|
42
|
+
"Nut",
|
|
43
|
+
"Washer",
|
|
44
|
+
"Profile",
|
|
45
|
+
"Motor",
|
|
46
|
+
"Motorsport",
|
|
47
|
+
"AssemblyIR",
|
|
48
|
+
"MateType",
|
|
49
|
+
"UnitSystem",
|
|
50
|
+
"ExportFormat",
|
|
51
|
+
"SAMLParser",
|
|
52
|
+
"OCCTBackend",
|
|
53
|
+
"STEPReverseEngineer",
|
|
54
|
+
"ValidationEngineer",
|
|
55
|
+
"ClashReport",
|
|
56
|
+
]
|
|
57
|
+
|