Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyBIMstab Problem #5

Open
yimumu1314 opened this issue Aug 27, 2023 · 0 comments
Open

pyBIMstab Problem #5

yimumu1314 opened this issue Aug 27, 2023 · 0 comments

Comments

@yimumu1314
Copy link

  • pyBIMstab version:v0.1.4
  • Python version:3.11.4
  • Operating System:Windows11

Description

When running the slices_Slices_example1.py example, the following error is reported, and whenever the Slices function is used, the error occurs, what causes it? I hope the author will reply in his spare time

What I Did

  slices = Slices(
             ^^^^^^^
  File "D:\app\Python\install\Lib\site-packages\pybimstab-0.1.4-py3.11.egg\pybimstab\slices.py", line 416, in __init__
    self.fitCircle()
  File "D:\app\Python\install\Lib\site-packages\pybimstab-0.1.4-py3.11.egg\pybimstab\slices.py", line 476, in fitCircle
    dist1, dist2 = intersections[0].x, intersections[-1].x
                   ~~~~~~~~~~~~~^^^
TypeError: 'MultiPoint' object is not subscriptable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant