saeranv / pincam

Lightweight Pinhole Camera for visualizing 3D geometries with Matplotlib/GeoPandas
GNU General Public License v3.0
7 stars 1 forks source link

No module named 'pincam.matrix_utils2' #1

Open q-eldar opened 1 year ago

q-eldar commented 1 year ago

Hi! Can you please provide MatrixUtils2 class.

The autoreload extension is already loaded. To reload it, use:
  %reload_ext autoreload

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In [5], line 17
     15 from pincam.utils import *
     16 from pincam import Pincam 
---> 17 from pincam.matrix_utils2 import MatrixUtils2 as mu
     19 from ladybug_geometry.geometry2d.line import LineSegment2D
     21 import matplotlib.pyplot as plt

ModuleNotFoundError: No module named 'pincam.matrix_utils2'
saeranv commented 1 year ago

From which notebook is this code from? This is definitely from an obselete iteration of pincam, if you let me know the notebook, I'll see if I can update the code.

But for immediate correction, the latest pincam has all its matrix utitlies in the pincam.matrix module, so you can try replacing line 17 with:

from pincam import matrix as mu

And see if that works.