Author Topic: Some help on Python Scripts  (Read 12243 times)

Offline tau

  • Storm Trooper
  • ***
  • Posts: 164
    • View Profile
Re: Some help on Python Scripts
« Reply #15 on: January 04, 2016, 12:57:23 pm »
Carlo,

Quote
Sorry for the generated confusion
No, no at all and since we are constantly learning i'm just trying to catch up with you.

But now i think i've understood better what you're aiming at.

Unfortunately i haven't dug through the Cambam API yet to fully understand where to find the right functions for just 'modifying the values of a point in place'.

Seems a function/method like the one you need would come in handy right now (e.g. EditPoint3F...).

Let's see if we can find a way out.

Regards,

Tunc

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1790
    • View Profile
Re: Some help on Python Scripts
« Reply #16 on: January 04, 2016, 22:49:59 pm »
Hi Guys
I've come to the party a bit late, but are you aware of <ILSpy> which will help demystify the API for you.
Dave

Offline onekk

  • CNC Jedi
  • *****
  • Posts: 525
    • View Profile
Re: Some help on Python Scripts
« Reply #17 on: January 05, 2016, 08:03:24 am »
Dave Thanks, but on Linux it is not feasible.

I'm trying to install all the mono develepment packages and try to compile some plugin, maybe I have more luck.

Regards
Carlo D. (onekk)

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

Offline tau

  • Storm Trooper
  • ***
  • Posts: 164
    • View Profile
Re: Some help on Python Scripts
« Reply #18 on: January 05, 2016, 09:37:51 am »
Dave,

thx for the hint! Had it already on my hard drive and installed, but the lack of time made me forget about it..

Now it's time to do some research!  ;)

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1790
    • View Profile
Re: Some help on Python Scripts
« Reply #19 on: January 05, 2016, 12:11:29 pm »
HI Guys
Here are some links that might be of interest.
Running ILSpy from within VS  --->Works a treat with most versions of VS.
https://visualstudiogallery.msdn.microsoft.com/8ef1d688-f80c-4380-8004-2ec7f814e7de

Running ILSpy on linix.
http://stackoverflow.com/questions/1563649/net-reflector-for-mono

scripting in C#  anyone!  Quite interesting for VS2015 users
https://msdn.microsoft.com/en-US/magazine/mt614271
Dave

Offline onekk

  • CNC Jedi
  • *****
  • Posts: 525
    • View Profile
Re: Some help on Python Scripts
« Reply #20 on: January 05, 2016, 16:24:43 pm »
ILSpy don't seem to be usable on Linux, without much work, I've figured out how to use the Monodevelop suite to compile some plugin on Linux.

At a first glance it seems quite usable, now I'm learning some C# trying to modify some existing code.

Maybe I open a new post on the forum about this topic "Compiling plugin on Linux" which is more appropriate as the focus is now not on Python.

Regards

carlo D.
Carlo D. (onekk)

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