View Issue Details

IDProjectCategoryView StatusLast Update
0002201ArchBugpublic2015-09-13 14:13
Reportermore11 Assigned Toyorik  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionnot fixable 
PlatformDell XPSOSWindows 7OS Versionx64
Fixed in Version0.16 
Summary0002201: Crash when adding to wall sketch
DescriptionAdding "pillar" to existing wall sketch. Exception thrown:

Traceback (most recent call last):
  File "C:\Users\more10.HOLISTICODE\Downloads\FreeCAD_0.16.5231_x64_dev_bin\Mod\Arch\ArchWall.py", line 449, in execute
    profiles = self.getProfiles(obj)
  File "C:\Users\more10.HOLISTICODE\Downloads\FreeCAD_0.16.5231_x64_dev_bin\Mod\Arch\ArchComponent.py", line 416, in getProfiles
    dvec.normalize()
<class 'Base.FreeCADError'>: Cannot normalize null vector
Steps To ReproduceOpen drawing https://dl.dropboxusercontent.com/u/106944188/FreeCAD/illegal-sketch/plan22.FCStd

Execute macro https://dl.dropboxusercontent.com/u/106944188/FreeCAD/illegal-sketch/exception.FCMacro

Additional InformationOS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5231 (Git)
Build type: Release
Branch: master
Hash: 945638c405766faca0e5f4c1611c00151c88a2ff
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
TagsNo tags attached.
FreeCAD Information

Activities

more11

2015-07-29 11:41

reporter   ~0006261

I have been using the Ubuntu version in order to copy windows. I have been editing the file with this version :

OS: Ubuntu 14.04.2 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.16.5278 (Git)
Build type: None
Branch: master
Hash: cc7fa5b28c0d068b0d9ed029ee7ee205328b6940
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

more11

2015-07-29 11:42

reporter   ~0006262

As long as the pillars dimension is a bit larget than wall thickness it works. There are other pillars in the drawing.

yorik

2015-08-05 02:18

administrator   ~0006269

Hm it is very hard to know what is wrong here, probably you produced a sketch that cannot be offsetted anymore, for some reason. The sketcher "decides" itself which edges become a wire, and in sketches with a lot of intersections, this can lead to unwanted results.

A workaround is to create different walls, each based on a different sketch/draft, and merge them together by adding them as Additions to another wall.

more11

2015-08-05 11:47

reporter   ~0006279

I am adding to a sketch which is the base for the "corrupted" sketch. The corruption has happened earlier silently.

If this cannot be corrected I will have to redo the whole thing one more time.

Everything looks just fine in FreeCAD, all objects are exactly where they should be.

yorik

2015-09-13 14:13

administrator   ~0006407

I'm afraid there is not much we can do here, the problems seems to me an unfortunate combination that OCC doesn't like...

I'll close this issue because I see no action that we can do on our part... Feel free to reopen if needed.

Issue History

Date Modified Username Field Change
2015-07-29 11:39 more11 New Issue
2015-07-29 11:41 more11 Note Added: 0006261
2015-07-29 11:42 more11 Note Added: 0006262
2015-08-05 02:18 yorik Note Added: 0006269
2015-08-05 02:23 yorik Status new => feedback
2015-08-05 11:47 more11 Note Added: 0006279
2015-08-05 11:47 more11 Status feedback => new
2015-09-12 14:39 wmayer Project FreeCAD => Arch
2015-09-13 14:13 yorik Note Added: 0006407
2015-09-13 14:13 yorik Status new => closed
2015-09-13 14:13 yorik Assigned To => yorik
2015-09-13 14:13 yorik Resolution open => not fixable
2015-09-13 14:13 yorik Fixed in Version => 0.16