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
While this tool is really amazing for build123d and cq workflows, there is one and only one feature that sometimes forces me to go back into freecad: the "click to center" feature in some of the freecad view modes. That is, you can middle-click on a spot in the view and it re-centers the camera there, which, more importantly, means if I orbit or zoom in, it zooms into the spot I selected. This is critical for inspecting small parts embedded in a larger part.
Right now I can of course pan to wherever I need to be with right-click, but I find that imprecise and awkward to use such that in practice I sometimes have to dump my object and load it in freecad to inspect things. Can a middle-click-to-center feature be added to vscode-ocp-cad-viewer ? (or maybe this belongs better in three-cad-viewer? I confess I don't really understand the boundary of what is where)
The text was updated successfully, but these errors were encountered:
(Note I'm open to "well then make a PR for that!" but I am not really sure where to find the relevant interaction code, so pointers would be helpful on that...)
And something like that can be added to the viewer component, i.e. when doing a -click, then raytracing (already used) will be used to identify the nearest point on the object that this click would point to on an axis from the camera through the click point in the view projection point to the object. And set camera's target to this point.
The code approach above uses the measure/property mode to get the coords and then sets the target of the camera.
While this tool is really amazing for build123d and cq workflows, there is one and only one feature that sometimes forces me to go back into freecad: the "click to center" feature in some of the freecad view modes. That is, you can middle-click on a spot in the view and it re-centers the camera there, which, more importantly, means if I orbit or zoom in, it zooms into the spot I selected. This is critical for inspecting small parts embedded in a larger part.
Right now I can of course pan to wherever I need to be with right-click, but I find that imprecise and awkward to use such that in practice I sometimes have to dump my object and load it in freecad to inspect things. Can a middle-click-to-center feature be added to
vscode-ocp-cad-viewer
? (or maybe this belongs better in three-cad-viewer? I confess I don't really understand the boundary of what is where)The text was updated successfully, but these errors were encountered: