I too use that for clean cloning, I just wanted to save some time...
Anyway, I think the "bad" build actually is OK, and here is what I found so far:
When you create a Part:FeaturePython, it is assigned a default provider (to .VeiwObject), and has a 'Proxy' attr that gets the Python ViewProvider class.
If you do the same for PartDesign:FeaturePython the ViewObject is Null. Hence no proxy to set. Perhaps I should do it differently?
Clean build on the way. Just in case....
Yes!!!!!!
Everything seems to work perfectly now!
Thanks a lot for all you support.
For anyone who wants to test, please download Branch V0.17 from https://github.com/shaise/FreeCAD_SheetMetal/tree/V0.17
It should work both inside and outside PartDesign. It is also backward compatible with freecad 0.16.
As soon as the next v0.17 pre build including DeepSOIC's changes will go out, I will merge it to master.
Thank you DeepSOIC for adding this functionality, and congrats Shai for being the very first module developer to use it!
I'm eager to test the new 0.17-compliant SheetMetal but I need to restrain myself, I've got some stuff to take care of first and it will never happen if I continue sticking around the forum...