Trouble using the multiply constraint feature
kevenwyld opened this issue · 0 comments
kevenwyld commented
In this project (zipped with multiple files) amplifier_box.zip I am unable to use the multiply constraint feature on the set of M3x8 screws which attach the lid. I am however able to use it on the m3x12 screws which attach the fan. These operations seem basically identical although they apply to different parts.
I receive the following error in the console:
Traceback (most recent call last):
File "<string>", line 627, in report
File "/home/<username>/snap/freecad-realthunder/common/.FreeCAD/Mod/Assembly3/freecad/asm3/assembly.py", line 3092, in makeMultiply
elementLink.Proxy.setLink(
File "/home/<username>/snap/freecad-realthunder/common/.FreeCAD/Mod/Assembly3/freecad/asm3/assembly.py", line 2100, in setLink
utils.getElementCircular(edge,True),radius):
File "/home/<username>/snap/freecad-realthunder/common/.FreeCAD/Mod/Assembly3/freecad/asm3/utils.py", line 570, in getElementCircular
return arc[0].Radius
TypeError: 'Part.ArcOfCircle' object is not subscriptable
See this screen capture showing the issue.
freecad_multiply_constraint_possible_bug-2022-10-16_02.00.13_smaller.mp4
EDIT: oops, shorter screws should have gone to the lid. Doesn't matter for this bug report though, seems to happen either way.
Thanks as always for all your work on this project!
EDIT2: Here's the freecad version info
OS: Ubuntu Core 20 (i3/i3)
Word size of FreeCAD: 64-bit
Version: 2022.1016.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2022.10.16-2-edge)
Hash: 0a9e2bbf71086f54d67319b0879ba73bd1c9380b
Python version: 3.8.10
Qt version: 5.15.5
Coin version: 4.0.1
OCC version: 7.6.3
Locale: English/United States (en_US)