Does not work means I select an object and click on the icon and nothing works, just dims screen, all work bench go grey.
Especially because you open a ticket, could you please determine a clear step-by-step process to reproduce the problem ?
Easier said than done.openBrain wrote: ↑Sun Sep 08, 2019 11:42 amEspecially because you open a ticket, could you please determine a clear step-by-step process to reproduce the problem ?
I have same setup as yours and can't reproduce.
Also could you precise what is a null shape ? A box isn't one... Also if nothing is selected, the "Analyze geometry" icon is greyed out.
Sure. But only you chosen to open a ticket.
This isn't clear. You're using a non-stock FC with some lamous custom code in it, right ?I hit the issue when trying to develop code. Because my code is not correct I get an error reported on an Object.
'null' doesn't exist in Python AFAIK, this is 'None'.If I try and use the check geometry tool on the object and it has null shape the system locks out.
When I added code to check if the Shape was null i.e print(obj.Shape.isNull() it prints out True
What is needed is that the check geometry tool performs a check by calling isNull before reporting
on the geometry. or informing the Shape is null.
I cannot save the state in a FreeCAD file as when I try subsequently to open the file the Object does not appear as it was saved with a null Shape
and the reloaded file whilst it does not contain a valid Shape it has been reset and no longer null.
I cannot create an Object with a null Shape in the console because if try obj.Shape = null it barfs
Code: Select all
>>> App.ActiveDocument.addObject("Part::Feature") <Part::PartFeature> >>> App.ActiveDocument.Part__Feature.Shape.isNull() True >>> App.ActiveDocument.Part__Feature.Shape <Shape object at 0x7fda3000ab00> >>> App.ActiveDocument.Part__Feature.Shape.check(True) >>>