smartavionics / RawMouse

Cura Plugin that lets you use a HID mouse to pan/rotate/zoom the view
94 stars 7 forks source link

Not smooth movement #6

Closed eried closed 4 years ago

eried commented 4 years ago

Hi, thanks for the plugin. I was trying to find why the movement is not fully smooth like in inventor. It seems that Cura tries to adjust the zoom on some rotations:

cura

Side to side is all ok, and also zoom, but movements with more components there is a clear "stepped" zoom in/out.

In your code I have already tried:

  1. With the config.json (setting the values to high/low) and the (cura automatic) zoom step is the same
  2. Removed zoom completely commenting: image

There is no zoom as result, but cura adds that stepped zoom anyways

  1. Making _getScalingDueToZoom to answer always 1.0, also not a fix.

Any hint what could be generate that stepped zoom?

smartavionics commented 4 years ago

Hi. Sorry, no, I don't know what is causing that. On Linux, I don't see a stepped zoom, all movements are reasonably smooth. Is it the same for both perspective and orthographic view modes?

smartavionics commented 4 years ago

Does it also behave like this if you disable the 3dconnextion driver?

smartavionics commented 4 years ago

You don't say what system you are using but I'm guessing Windows. On my Windows 10 laptop which is very slow and in every way under-performing, the movement in all axes is a little jittery but the zoom is no worse than the other axes.

eried commented 4 years ago

The movement is silky smooth with 3dxWare off :)

eried commented 4 years ago

Actually, if I open the settings in 3dxware and remove all functions on "cura.exe" then it is smooth everywhere keeping it on! :D

image

smartavionics commented 4 years ago

OK, thanks for the update. Cheers!