You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have version 3.0.8 of the ocp_tesselate library, and it has a return type of Tuple[OcpGroup, List[Any]] and the call to show_all fails understandably with 'tuple' object has no attribute 'name' on line 891 above.
With this change visual debugging starts working. The sketch objects are in the hierarchy and seem to be displayed correctly.
I'm a complete noobie with these libraries, only about 2 hours of playing with them to get an CADQuery environment stood up. It appears to be the same return type through the 3.0.x versions of ocp_tessellate.
I thought I would at least bring it up in case someone else is having issues getting visual debug up and running.
The text was updated successfully, but these errors were encountered:
I love the plugin, but I was having issues getting Visual Debug working, and I tracked it down to this line of code:
vscode-ocp-cad-viewer/ocp_vscode/show.py
Lines 890 to 893 in f7df751
I have version 3.0.8 of the
ocp_tesselate
library, and it has a return type ofTuple[OcpGroup, List[Any]]
and the call toshow_all
fails understandably with'tuple' object has no attribute 'name'
on line 891 above.Changing it to:
With this change visual debugging starts working. The sketch objects are in the hierarchy and seem to be displayed correctly.
I'm a complete noobie with these libraries, only about 2 hours of playing with them to get an CADQuery environment stood up. It appears to be the same return type through the
3.0.x
versions ofocp_tessellate
.I thought I would at least bring it up in case someone else is having issues getting visual debug up and running.
The text was updated successfully, but these errors were encountered: