Giter VIP home page Giter VIP logo

Comments (4)

Grantim avatar Grantim commented on June 2, 2024

Hello!

Do you import other libraries? We have seen something similar here #1824

from meshlib.

amin-kchaou avatar amin-kchaou commented on June 2, 2024

Thank you for linking the other issue. I was indeed importing something else before the meshlib import. In the event viewer I found this:

image

Seems to be caused by open3d, judging from the dll path: ...\venv\Lib\site-packages\open3d\cpu\pybind.cp311-win_amd64.pyd

However, shuffling the imports around doesn't fix this. Only when I remove my import that meshlib works again. open3d is needed in my application and it will be very difficult to remove. Is there a way around this?

from meshlib.

Grantim avatar Grantim commented on June 2, 2024

Can you please attach minimal example so we can reproduce the issue on our end?

from meshlib.

amin-kchaou avatar amin-kchaou commented on June 2, 2024

This crashes for me:

import meshlib.mrmeshpy as mr
import open3d as o3d
import faulthandler

faulthandler.enable()

mesh = mr.Mesh()

holes = mesh.topology.findHoleRepresentiveEdges()
for hole in holes:
    mr.fillHole(mesh, hole)

However, it seems that importing open3d before meshlib fixes this. I'm not sure if this is a good fix though as there might be some conflict somewhere else that I haven't discovered yet.

from meshlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.