Lattice2 icon indicating copy to clipboard operation
Lattice2 copied to clipboard

No Lattice Update/Recompute?

Open dtcomp opened this issue 7 years ago • 7 comments

It seems sometimes my PolarArray gets "stuck" - varying parameters, etc. result in no change to Lattice objects or display... The way to effect a change is to delete my Lattice and re-create.

dtcomp avatar Sep 02 '18 21:09 dtcomp

No idea. Can you share a project (if the state survives through save-load, of course)?

DeepSOIC avatar Sep 02 '18 21:09 DeepSOIC

Also, do you get any messages in report view? Does it have a checkmark or exclamation mark overlaid on the icon in tree view?

DeepSOIC avatar Sep 02 '18 21:09 DeepSOIC

https://github.com/dtcomp/L2test It seems to survive on 3 platforms here, including windows... Nothing shows in report view and no warning icons treeview.

dtcomp avatar Sep 03 '18 06:09 dtcomp

It could be that I just don't know how to use FreeCad, just starting!

dtcomp avatar Sep 03 '18 06:09 dtcomp

I do see a console message (starting from terminal) : Populate: Placment is not a placement or an array of placements. Results may be unexpected.

And, i do notice that changes to "Placement:Attachment Offset" appear immediately.

dtcomp avatar Sep 03 '18 10:09 dtcomp

OK, I see that your project has some broken Lattice2 objects. They somehow lost their python proxies (a python-powered feature is a C++ object with a python object "proxy" bound to it. Proxy contains the actual Lattice code).

I don't know how did it happen. The only possible way I can think this might have happened is if you opened this file in a FreeCAD that has no Lattice2 installed (or the installation was broken), and saved it.

DeepSOIC avatar Sep 03 '18 16:09 DeepSOIC

commits 3ada01e557a22b66e1aa515c5bd35a540bf93fb1 and e045481c95ae8ede2aeb8acee898d59566b70a9d to save information to make it possible to recover damaged objects. Recovery tool is to come later.

DeepSOIC avatar Sep 05 '18 22:09 DeepSOIC