The tool help suggests that I select the edge of an object to align, then an edge as a reference. So I select an edge from part 1, and holding command (MacOS) select an edge from part 2.
I then click the "Align to Edge" button in Exploded Assembly
The edges were both straight edges on the parts.
What I expected to happen
The two edges would be mated, perhaps without changing the orientation of the parts, since I saw no way to specify the orientation for this.
What actually happens
No objects move.
Nothing is created in the "ExplodedAssembly" object in the tree.
The following error appears:
'Part.Line' object has no attribute 'EndPoint'Running the Python command 'AlignToEdge' failed:
Traceback (most recent call last):
File "/Users/danielstaple/Library/Application Support/FreeCAD/Mod/ExplodedAssembly/EAInit.py", line 386, in Activated
va = (edgeA.Curve.EndPoint - edgeA.Curve.StartPoint).normalize()
This could happen that one of the edges is not a line. As for the function of this tool, it makes the edges face the same orientation but does not place them together.
The tool help suggests that I select the edge of an object to align, then an edge as a reference. So I select an edge from part 1, and holding command (MacOS) select an edge from part 2.
I then click the "Align to Edge" button in Exploded Assembly
The edges were both straight edges on the parts.
What I expected to happen
The two edges would be mated, perhaps without changing the orientation of the parts, since I saw no way to specify the orientation for this.
What actually happens
Console output:
About my FreeCAD
I am running v0.21.1: