Author Topic: ALT+Left Mouse - 3D Scrolling  (Read 3165 times)

Offline electrosteam

  • Ewok
  • *
  • Posts: 21
    • View Profile
ALT+Left Mouse - 3D Scrolling
« on: October 18, 2023, 09:19:37 am »
I run Lubuntu 22.04 LTS.
The ALT+LeftMouse selection for 3D scrolling doesn't work.
This is critical for my projected projects.

Searching reveals it is an old problem, but very little on correction, mitigation or work-around.

It seems to be a difficulty with OpenBox passing through the key bindings to the application (CamBam).

Seeking a path forward.
Thanks in advance,
John.

Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2637
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #1 on: October 18, 2023, 09:52:05 am »
The solution is in Linux settings. I am running Ubuntu Mate but this option should be somewhere in your settings. Disables the default behavior of Alt key freeing it for CB.

Offline electrosteam

  • Ewok
  • *
  • Posts: 21
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #2 on: October 18, 2023, 21:38:45 pm »
I have spent some time investigating options within Lubuntu, without finding any references to ALT key options.

Separately, on Lubuntu Discourse, a contributor got me looking at OpenBox and the configuration file ' rc.xml '.
This could be central to the problem, but my editing of it has only produced error messages.
I have to learn how to successively edit/run configuration files.

This thread was in the hope others had already been down the path and had a packaged solution.

Interestingly, my workshop computer runs Ubuntu Mate, but without CamBam due to poor internet reception.
I will transfer it to house, install CamBam, and examine the options available.

If I can solve the 3D scrolling problem, I will purchase the latest CamBam.
Keep well, John.

Offline electrosteam

  • Ewok
  • *
  • Posts: 21
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #3 on: October 23, 2023, 10:52:38 am »
I considered the possibility that my evaluation copy of CamBam may have 3D scrolling as one of the feature restrictions.

So, in the hope that the 3D scrolling would be resolved, I elected to purchase a licence.

But, 3D scrolling is still not working.

I will do a fresh download/install, but I am not confident that is the solution.

Still researching keybindings and how they pass through to an application.

I am trying to achieve a second machine with Ubuntu Mate to see if that is the solution.

John.

Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2637
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #4 on: October 24, 2023, 10:19:44 am »
No, it's not because of the license.
Every Debian based Linux has this option settable one way or another. The problem is different 'flavours' and desktop managers have it in different places and menus.
Currently I know it is available with Ubuntu Mate and Xubuntu (Xfce desktop manager).
Pity the options in CamBam own settings (left+right mouse or left+middle) do not work. Both under Windows and Linux. Left+Right is interpreted as mouse wheel press = pan the window.
« Last Edit: October 24, 2023, 10:24:48 am by Dragonfly »

Offline electrosteam

  • Ewok
  • *
  • Posts: 21
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #5 on: October 25, 2023, 07:50:28 am »
Is there a way to achieve 3D scrolling other than "Alt+Left+Mouse" ?
It would be a shame to move away from Lubuntu as it has served me well for a number of years.

So far, I have only done a few simple 2D profile jobs derived from dxf files.
The current requirement is for a complex stl using end and ball nose mills.

I have yet to learn how to select a surface and define the tool orientation.
Digging in to the documentation and tutorials will now be the order of the day.

John.



Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2637
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #6 on: October 25, 2023, 10:31:38 am »
I did some searching and it seems that all key bindings are defined in  ~/.config/openbox/lubuntu-rc.xml 
Just out of curiosity can you attach this file to a post here? If it is large better zip it.

Offline electrosteam

  • Ewok
  • *
  • Posts: 21
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #7 on: October 25, 2023, 21:14:52 pm »
I have a thread on this subject running on the Lubuntu Discourse forum.
There, a senior Lubuntu team member advised the "lubuntu-rc.xml' is a remnant and it is "rc.xml" that determines machine operation.
My testing of both versions confirms that.

The un-altered "rc.xml" is attached.

I have loaded into CamBam the sample file "Cube_3d_printing_sample".
Testing using Edit/Transform/Rotation shows promise, but I cannot achieve 3D scrolling.
I need to review the documentation and attempt combination rotations.

John.

Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2637
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #8 on: October 26, 2023, 10:43:43 am »
Quote
Testing using Edit/Transform/Rotation shows promise, but I cannot achieve 3D scrolling.
This for rotating the object itself with regard to the coordinate system - X/Y plane. For rotating in X/Z or Y/Z plane you must use transformation matrix. But the best way to rotate and reposition an object or a selection of objects is to download and use the 'Numerical Move' plugin by David (dh42).
There is a version for Linux on the plugins page maintained by him.
http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/NumMove.html
For the plugin to work you must have the MS Visual Basic library installed for Mono. It usually does not install automatically and requires a manual installation.

Alt+left mouse on the other side rotates the view port (as if you rotate a camera around the object) but the object's position itself is unchanged. Convenient to  view 3D objects. But also view rotation applies to 2D objects too.

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8931
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #9 on: October 26, 2023, 11:37:51 am »
I could not live without the NumMove plugin.  I use it on every drawing.

Lloyd
« Last Edit: October 26, 2023, 16:35:45 pm by lloydsp »
"Pyro for Fun and Profit for More Than Fifty Years"

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3349
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #10 on: October 26, 2023, 15:57:32 pm »
I could not live without the NumMove plugin.  I used it on every drawing.

Lloyd

The same here. Very useful plugin.
Cheers..
My 2ยข

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5241
  • Made in England
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #11 on: October 26, 2023, 19:01:57 pm »
You could always obtain a Space Mouse   ;)
I don't know for sure if the plugin works on Linux but I would like to know.
Filmed in Supermarionation

Offline electrosteam

  • Ewok
  • *
  • Posts: 21
    • View Profile
Re: ALT+Left Mouse - 3D Scrolling
« Reply #12 on: November 10, 2023, 06:48:59 am »
I generated a Linux Mint 21.2 live session USB.
The presentation on the screen, and mouse response, is good - I like it.

Installed CamBam and the same sample stl file previously referenced.
Alt-Left Mouse does not scroll.

So, as Ubuntu 20.04 does provide scrolling, it looks like that is what I will run with.

But, I will explore other avenues as Ubuntu is too much 'in-your-face' for my liking.

Not requesting any further comments/help on this subject as I think I know where I am now.

Keep well,
John