Author Topic: Numerical Move for Linux  (Read 4020 times)

Offline onekk

  • CNC Jedi
  • *****
  • Posts: 512
    • View Profile
Numerical Move for Linux
« on: October 07, 2016, 07:20:44 am »
Hi  I have developed with the invaluable help of jk a replacement for the "Numerical Move" plugin that works on Linux.

I attach also the source code, as my compiling on Linux may or may not work for other people.

In the past someone (Eddycurrent or LoydSpy if i didn't go wrong) compile my for windows, could I ask for the same favor this time.

Regards and many thanks

Update

- New version 1.2a with some polishing of the code and more robust command parsing.
 
« Last Edit: October 21, 2016, 09:36:41 am by onekk »
Carlo D. (onekk)

eShapeoko #343 750x1000 mm + GRBL + bCNC + CamBam

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4565
    • View Profile
Re: Numerical Move for Linux
« Reply #1 on: October 07, 2016, 08:22:00 am »
Windows compiled dll attached along with Vusual Studio project file.

Carlo, your version gave this error on Windows 7

Error loading plugin C:\Program Files (x86)\CamBam plus 0.9.8\plugins\NumMoveL.dll
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (Exception from HRESULT: 0x80131018)

Also there is confusion between this version and the one David created, you should consider renaming the menu titles to something like, "Numerical Move Linux" or "Numerical Move 2", or "Numerical Translate", or something else.
« Last Edit: October 07, 2016, 08:42:53 am by EddyCurrent »
Made in England

Offline onekk

  • CNC Jedi
  • *****
  • Posts: 512
    • View Profile
Re: Numerical Move for Linux
« Reply #2 on: October 07, 2016, 09:50:57 am »
Thanks Eddy.

The version you compiled is working?

Yes maybe if we talk with David we can agree in something like:

1) Leave the name as it is as in Linux David Version don't work.
2) Rename my version as you told me (Every name is good for me)

But now I'm working in a version that supports command, say M 10 10 10 or  M 10,10,10 to Translate (Move) the object selected

R 10 10 0 or R 10,10,0  to Rotate the object and maybe P 10,10 120 10 10 2 to Polar rotate the object selected with 10,10 as center and 120 10 10 as rotation operation and 2 as the number of copies

A sort of console for transforming the objects using command line.

Regards
Carlo D. (onekk)

eShapeoko #343 750x1000 mm + GRBL + bCNC + CamBam

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4565
    • View Profile
Re: Numerical Move for Linux
« Reply #3 on: October 07, 2016, 13:05:03 pm »
Thanks Eddy.

The version you compiled is working?


Yes, on Windows 7 64bit in my case.
Made in England

Offline onekk

  • CNC Jedi
  • *****
  • Posts: 512
    • View Profile
Re: Numerical Move for Linux
« Reply #4 on: October 07, 2016, 14:41:44 pm »
Quote
Error loading plugin C:\Program Files (x86)\CamBam plus 0.9.8\plugins\NumMoveL.dll
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (Exception from HRESULT: 0x80131018)

Maybe it is compiled with NET 4.5, I will check che compiler options of MONO.

Carlo D. (onekk)

eShapeoko #343 750x1000 mm + GRBL + bCNC + CamBam

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4565
    • View Profile
Re: Numerical Move for Linux
« Reply #5 on: October 07, 2016, 15:01:32 pm »
That's most likely the problem, I used v3.5
Made in England

Offline onekk

  • CNC Jedi
  • *****
  • Posts: 512
    • View Profile
Re: Numerical Move for Linux
« Reply #6 on: October 07, 2016, 16:07:37 pm »
In Linux I tend to use the most recent mono version as i think there is less bug and incompatibility with windows.

I will remain with 4.0 for now
 
Carlo D. (onekk)

eShapeoko #343 750x1000 mm + GRBL + bCNC + CamBam

Online dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6210
    • View Profile
    • Cambam V1.0 French Doc
Re: Numerical Move for Linux
« Reply #7 on: October 07, 2016, 16:32:22 pm »

Offline newlinuxuser

  • Droid
  • **
  • Posts: 82
    • View Profile
Re: Numerical Move for Linux
« Reply #8 on: October 11, 2016, 22:00:00 pm »
Thank you Carlo!  :D