Topology matching using brepmatching and Femtet.
Project description
BRepMatching-Femtet
About This Library
BRepMatching-Femtet is a library that assigns permanent IDs to the topology of two Parasolid files and estimates their correspondence. This library is derived from BRepMatching (written by deGravity (Ben Jones)) that is the implementation of the paper[1].
Installation
You can install it via pip:
pip install brepmatching-femtet
Please note that a licensed version of Femtet is required for this library to function properly.
License
This library is licensed under the MIT License. It utilizes Eigen 3.4.0, which can be obtained from this site.
Usage
from brepmatching.pyfemtet_scripts import Predictor
from win32com.client import Dispatch
# get Femtet control
Femtet = Dispatch('FemtetMacro.Femtet')
# initialize (create temporary foldere and child process)
predictor = Predictor(Femtet)
# predict
id_map: dict = predictor.predict(
'orig.x_t',
'var.x_t',
)
# finalize (delete temporary folder and terminate child process)
del predictor
Development
The editable mode install is currently not supported.
Please run pip install -U . to apply your code to the environment.
References
[1] B-rep Matching for Collaborating Across CAD Systems,
https://doi.org/10.48550/arXiv.2306.03169
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brepmatching-0.1.10.tar.gz.
File metadata
- Download URL: brepmatching-0.1.10.tar.gz
- Upload date:
- Size: 4.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ec03ba62064395d1e73512a28f38d97a26a149eea068e78634b30837407fb7d
|
|
| MD5 |
dd6416408cbd25cd02b7eaddb97cac3c
|
|
| BLAKE2b-256 |
785d12b261b2829313522ec6c040a9c114eef59cd1133cd779682600963ae4ec
|
File details
Details for the file brepmatching-0.1.10-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: brepmatching-0.1.10-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16a52fd6c0df0a17b3c63bc5263d9ebd0ce800b64aa6ebe68d2a842a39523138
|
|
| MD5 |
d386425215e73ad9dc2a4ae907c3f1a1
|
|
| BLAKE2b-256 |
b04e1e81f153d76025bb81abdd4dc50097c52aca666e50edbb247be928a2192b
|