error on arch example

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

error on arch example

Post by bernd »

- start FreeCAD
- change to start wb
- load arch example (ArchDetail.fcstd)

Code: Select all

Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.16.6348_x64_dev_bin\Mod\Draft\Draft.py", line 4404, in updateData
    v1.normalize()
<class 'Base.FreeCADError'>: Cannot normalize null vector
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6348 (Git)
Build type: Release
Branch: master
Hash: 5fbdd4ac6624e32ba3a3e5523a31d56fe3ba7ae6
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Renato Rebelo
Posts: 255
Joined: Mon May 19, 2014 1:14 pm
Location: Vouzela - Portugal

Re: error on arch example

Post by Renato Rebelo »

+1
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: error on arch example

Post by yorik »

User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: error on arch example

Post by bernd »

wow fast ...
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: error on arch example

Post by bernd »

- start FreeCAD
- change to start wb
- load arch example (ArchDetail.fcstd)

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8796 (Git)
Build type: Release
Branch: master
Hash: e5045f72e954ec295318f5271e9ffddd95b73847
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0

Code: Select all

Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Part::Part2DObjectPython: Overread data for property Support of type App::PropertyLinkSubList, expected type is App::PropertyLinkSub
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 539, in onChanged
    if obj.Role not in ["Slab"]:
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 539, in onChanged
    if obj.Role not in ["Slab"]:
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 548, in onChanged
    if obj.Nodes and (prop != "ResetNodes"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Nodes'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 539, in onChanged
    if obj.Role not in ["Slab"]:
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 539, in onChanged
    if obj.Role not in ["Slab"]:
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 539, in onChanged
    if obj.Role not in ["Slab"]:
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 539, in onChanged
    if obj.Role not in ["Slab"]:
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 539, in onChanged
    if obj.Role not in ["Slab"]:
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 539, in onChanged
    if obj.Role not in ["Slab"]:
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 535, in onChanged
    extdata = self.getExtrusionData(obj)
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 500, in getExtrusionData
    if (length > height) and (obj.Role != "Slab"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Role'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 548, in onChanged
    if obj.Nodes and (prop != "ResetNodes"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Nodes'
Traceback (most recent call last):
  File "C:\Daten\FreeCAD_0.17.8796_x64_dev_win\Mod\Arch\ArchStructure.py", line 548, in onChanged
    if obj.Nodes and (prop != "ResetNodes"):
<type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'Nodes'
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance

User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: error on arch example

Post by yorik »

Ah good catch. With the last recode, I removed a lot of things in Arch/Draft that were there only for compatibility with old files... I think I'll adapt the example file.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: error on arch example

Post by bernd »

I was playing with Arch Section. You may have some tip for me too. Check the pdf file in german topic: viewtopic.php?f=13&t=18220#p142825 I needed to do some visualization of Concrete volume calculation for a customer. I may need to do such nice documents quite often in the future. That is why I was looking for some smarter way creating them.

It was done with screen shoots. I changed the colors and transparency in FreeCAD, made a screen shot, pasted it into LibreOffice, changed color and transparency in FreeCAD made the next screen shot pasted it into LibreOffice and so on. There was a tip in German forum I could use Arch Section for this to do it inside FreeCAD. I just need to take care to not recompute all section views.
Post Reply