Error when rotating Roof assembly

A forum dedicated to the Draft, Arch and BIM workbenches development.
JLB85FR
Posts: 76
Joined: Fri Jan 15, 2016 7:08 pm
Location: Vendée - France

Error when rotating Roof assembly

Postby JLB85FR » Sat Mar 26, 2016 1:14 pm

Hello,
In the attached design, when I try to rotate the roof assembly (2 roofs added under ARCH with the '+' button) by selecting just the base elements, I get an error on 'roof_terrasse' (necessary to recompute afer rotation).
And the roofs do not move, while the base elements move.

I have reported the error below.
And second issue: It is impossible to edit the 'roof_terrasse' assembly to remove the child 'roof_garage', since when double-clicking on the roof, the edit window is just for editing the roof, not the assembly.
How can I edit that kind of object ? I thought maybe that in removing the child, it could fix the issue ???

Code: Select all

Failed to TuneWindowsGestures. Error: DLL entry point for SetGestureConfig not found in user32.dll. Could not tune Windows gestures.
Arch workbench activated
Pick rotation center:
Pick base angle:
Pick rotation angle:
Traceback (most recent call last):
  File "D:\Programmes Portables\FreeCAD_0.16.6651_x86_dev_win\Mod\Arch\ArchRoof.py", line 535, in execute
    self.getRoofPaneProject(i)
  File "D:\Programmes Portables\FreeCAD_0.16.6651_x86_dev_win\Mod\Arch\ArchRoof.py", line 444, in getRoofPaneProject
    self.nextPignon(i)
  File "D:\Programmes Portables\FreeCAD_0.16.6651_x86_dev_win\Mod\Arch\ArchRoof.py", line 298, in nextPignon
    point = DraftGeomUtils.findIntersection(rampantCurrent,rampantNext2,infinite1=True,infinite2=True,)
  File "D:\Programmes Portables\FreeCAD_0.16.6651_x86_dev_win\Mod\Draft\DraftGeomUtils.py", line 447, in findIntersection
    print("DraftGeomUtils: Unsupported curve type: (" + str(edge1.Curve) + ", " + str(edge2.Curve) + ")")
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Curve'
OS: Windows XP
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.16.6651 (Git)
Build type: Release
Branch: master
Hash: a69ee20f0c2acf146c935633ff43f933a8b14316
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Attachments
roof rotate.FCStd
(22.98 KiB) Downloaded 23 times
JLB85FR
Posts: 76
Joined: Fri Jan 15, 2016 7:08 pm
Location: Vendée - France

Re: Error when rotating Roof assembly

Postby JLB85FR » Sat Mar 26, 2016 1:43 pm

it seems that this occurs when rotating a roof with only one pane (3 others with 90° angle).
With 2 panes, the roof rotates, but trying to reset the third pane to 90° after rotation gives the same error.
'NoneType' object has no attribute 'Curve'