Skip to main content

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

Release files for brepmatching 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brepmatching 0.1.10
File Size Uploaded
brepmatching-0.1.10.tar.gz 4.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for brepmatching 0.1.10
File Interpreter ABI Platform
brepmatching-0.1.10-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details

Total release size: 9.6 MB

Release files / brepmatching-0.1.10.tar.gz

Download URL brepmatching-0.1.10.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
1ec03ba62064395d1e73512a28f38d97a26a149eea068e78634b30837407fb7d
BLAKE2b-256 checksum
How to use checksums
785d12b261b2829313522ec6c040a9c114eef59cd1133cd779682600963ae4ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / brepmatching-0.1.10-cp312-cp312-win_amd64.whl

Download URL brepmatching-0.1.10-cp312-cp312-win_amd64.whl
Size 5.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
16a52fd6c0df0a17b3c63bc5263d9ebd0ce800b64aa6ebe68d2a842a39523138
BLAKE2b-256 checksum
How to use checksums
b04e1e81f153d76025bb81abdd4dc50097c52aca666e50edbb247be928a2192b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.9

2 release files

0.1.8

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page