vilemduha / blendercam

Automatically exported from code.google.com/p/blendercam
GNU General Public License v3.0
473 stars 119 forks source link

Autogenerate bridges fails on blender 4.0 #251

Closed greggjaskiewicz closed 9 months ago

greggjaskiewicz commented 10 months ago

Python: Traceback (most recent call last): File "/opt/blender/blendercam/scripts/addons/cam/ops.py", line 748, in execute bridges.addAutoBridges(o) File "/opt/blender/blendercam/scripts/addons/cam/bridges.py", line 76, in addAutoBridges for c in curve.geoms: AttributeError: 'list' object has no attribute 'geoms'

Seems similar to this: https://stackoverflow.com/questions/52131547/attributeerror-geoseries-object-has-no-attribute-geom

pppalain commented 10 months ago

I can confirm that bridges work on blender 4.0

greggjaskiewicz commented 10 months ago

Looks like the issue was on my part, well - partially. Picking wrong item in the object selector shouldn't result in an exception. I should get a dialog telling me off, or I shouldn't be able to pick wrong item in the first place - I think!

pppalain commented 9 months ago

not an issue. user mistake. Training wheels and sanity checks may be needed.

phlplowe9 commented 9 months ago

So which object do I need to select?

Steps to reproduce: open blender->general Renderer->Cam Interface->advanced Select Default cube->cam operations->+ resize the cube to fit into the workspace. Click auto generate bridges->error click the default cube->auto generate bridges->error click the machine wireframe->auto generate bridges->error There's not a whole lot I can select and everything seems to generate the same error

abosafia commented 9 months ago

Try bridges with a curve not mesh. We should fix that.