View Issue Details

IDProjectCategoryView StatusLast Update
0000543FreeCADBugpublic2011-12-16 20:05
Reporterdanielfalck Assigned Toyorik  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
Fixed in Version0.13 
Summary0000543: objects that don't have a shape prevent Draft functions from working
DescriptionI ran across this while playing with my own Point class and then found it also happens when using the Draft wb to create objects.
1. with the Draft wb, create some text on the screen
2. try to create a line or rectangle- sometimes it only happens after trying to create more than one object- try creating several rectangles.
3. at some point the snap tracker or snapping seems to give up and it's not possible to create geometry any more.
4. This code appears in the terminal:
<type 'exceptions.AttributeError'>
Traceback (most recent call last):
  File "/home/danfalck/cadcam/freecad/Mod/Draft/DraftTools.py", line 756, in action
    point,ctrlPoint = getPoint(self,arg,mobile=True)
  File "/home/danfalck/cadcam/freecad/Mod/Draft/DraftTools.py", line 123, in getPoint
    point = snapPoint(target,point,args["Position"],hasMod(args,MODSNAP))
  File "/home/danfalck/cadcam/freecad/Mod/Draft/DraftSnap.py", line 601, in snapPoint
    edges = ob.Shape.Edges
AttributeError: 'App.DocumentObject' object has no attribute 'Shape'





I can't create any more geometry until I delete all text objects
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2011-12-16 20:05

administrator   ~0001486

fixed in r5309

Issue History

Date Modified Username Field Change
2011-12-16 15:06 danielfalck New Issue
2011-12-16 16:43 yorik Status new => assigned
2011-12-16 16:43 yorik Assigned To => yorik
2011-12-16 20:05 yorik Note Added: 0001486
2011-12-16 20:05 yorik Status assigned => closed
2011-12-16 20:05 yorik Resolution open => fixed
2011-12-16 20:05 yorik Fixed in Version => 0.13