libigl-python-bindings icon indicating copy to clipboard operation
libigl-python-bindings copied to clipboard

module 'igl' has no attribute 'face_components' under pip install

Open RuoyanMeng opened this issue 3 years ago • 4 comments

Hi, I tried to use igl.face_components, but python gave me an error message "module 'igl' has no attribute 'face_components'". However, there is a function called "facet_components", which I believe its original name should be "face_components". Maybe this is a typo?

RuoyanMeng avatar Feb 20 '23 17:02 RuoyanMeng

https://github.com/libigl/libigl-python-bindings/pull/66 --> this is where the switch happened and in my opinion the rename to facet_components makes sense.

kishoreVen avatar Mar 01 '23 14:03 kishoreVen

@RuoyanMeng is face_components still mentioned in the docs/tutorial?

alecjacobson avatar Mar 08 '23 16:03 alecjacobson

@RuoyanMeng is face_components still mentioned in the docs/tutorial?

Yes, it's still face_components in the docs face_components

RuoyanMeng avatar Mar 09 '23 09:03 RuoyanMeng

Related to #187 . Would be great to fix the docs to address and any other name changes.

alecjacobson avatar Mar 10 '23 17:03 alecjacobson