I do get errors "open or closed" from PD Loft when trying to make a circle to a slot shaped part. I did subdivide the circle to match the 4 lines of the slot. The sketched are closed. Still I do get the error. When I use the Part/Loft function it works fine. I made a simple test case,. see...
I haven't seen a way to this without changing the C++ code. The KeyboardEvents even do not work the same for different keys. Letter "v" for example only produces a KEY_UP event but letter "m" a KEY_DOWN and KEY_UP event (because of the shortcuts, I guess). PAGE_UP/DOWN keys do n...
Gui.ActiveDocument # is the same as Gui.activeDocument() Oh, that explaines it. thanks. I don't know what you want to do after all, but I would consider using a Qt window that has the focus and collects the key events. Indeed, things in a window seem to be a lot simpler. Smart to use the vector off...
v = Gui.activeDocument().activeView() An arrow key has the "key" value 'UP_ARROW' for example. Excellent, that workes fine. Strangely I found that my code only works without the inner brackets in the above line, like below. The wiki code also has the brackets. v = Gui.activeDocument.activ...
I have a question based on this WikiExample to get keyboard input from the user from within a python WB script. The function in the example is just this callback which I am calling for "SoKeyboardEvent". class ViewObserver: def logPosition(self, info): bDown = (info["State"] == &...
narrow this down OK, found it This line in commonXR.py is not compatible with my Rift in direct mode with OpenHMD and Monado. #self.swapchain_create_info.usage_flags = xr.SWAPCHAIN_USAGE_TRANSFER_DST_BIT # causes striped images self.swapchain_create_info.usage_flags = xr.SWAPCHAIN_CREATE_PROTECTED_...
will do The version did not change things, but I found that selecting different color formats changes the layout of the slicing. I had a closer look at the xr python examples and got one stop further. The gl_cube example runs nromally, but its build with a very simple predefined object, so there ar...
A keyboard or controller button? This could be done. How the face should be selected? Interesting video. I do not have controllers, and with FreeCAD I rather would use the keyboard anyway. I think the tricky bit is to find a reasonable intuitive way to set a start orientation. The image I posted ha...
Did you delete pycache before testing? Yes, I did. I did an attempt to not use QOpenGLWidget, and use QOffscreenSurface instead, to separate completely HMD from the desktop. Test code is in a new branch : Closing and reopening works fine with Monado in my case (but not with SteamVR due that ancient...