Author Topic: 'Simulate with CAMotics' plugin  (Read 148207 times)

Offline jk

  • Wookie
  • ****
  • Posts: 265
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #90 on: April 20, 2017, 10:51:15 am »
Ok, I'll try to reproduce it.

Continue after the cancel is intentional to allow Camotics launch if nc file is already
generated (and user think it is up to date).

Offline Momboz

  • Ewok
  • *
  • Posts: 11
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #91 on: April 26, 2017, 12:39:38 pm »
This plugin works fine with the Cambam plus [0.9] Rel 8P. I like it... However, will also be available for CamBam plus [1.0] Rel 12?

Of course, you would tell me I have to be patient and I would agree :)

Hi !

Had some free time and rewrote my 'CAMotics export' python script as a plugin.
It will add a new entry to the Tools top menu. Single click on a 'Simulate with CAMotics' will regenerate G-code file,
create CAMotics xml project with embedded tools and stock definitions and (re)open it in CAMotics.

Source on github:
https://github.com/jkmnt/cb2cm

Feedback is welcome )

---
Version 1.5.1 - mop-specified tools are allowed now
Version 1.4 - fix for the diameter of conical tools
Version 1.3 - fix calculation of length for the conical tools, added warnings for tool diameter conflicts
Version 1.2 - fix for spaces in file path
Version 1.1 - changed nc paths in xml to relative

Offline jk

  • Wookie
  • ****
  • Posts: 265
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #92 on: April 26, 2017, 13:50:16 pm »
It works with CB 1.0 rel12 just fine.
Think I've addressed your problem here: http://www.cambam.co.uk/forum/index.php?topic=6557.0

Offline tau

  • Storm Trooper
  • ***
  • Posts: 178
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #93 on: May 19, 2017, 10:01:50 am »
Dear All,

i have a similar issue as mentioned by Ralf on pg 1 of this thread, but then by reading onwards it seems that mine is related somehow different.

First of all, if i install CAMotics 1.1.1 per default to my C: drive everything is just fine and CB is possible to call CAMotics with no problems at all passing on the file to be simulated. So far, great!

But when i manually move the CAMotics install to another drive (e.g. E:\ - which the installer of CAMotics does NOT seem to provide to be installed to), CB is not able to find CAMotics to pass on the simulation gcode.

So even trying to add a path to cb2cm.config seems impossible, since it will be deleted from there by the plgin i assume, nor the hint that pops up to start CAMotics before starting CG so it will locate CAMotics, seems to work.

Because if i start CAMotics before starting CB, the plugin entry does NOT show up in CB!??

So it is actually two things that interfere here with my setup,

a) CAMotics not accounting for for installation to different drives and
b) after manually moving CAMotics to a different drive, being able to use the plugin.

Any advice on how to resolve this are highly appreciated!

Thanks for your attention and hoping to get closer to a solution.  ;)

Regards,  Tunc

P.S.: Using here CB 0.9.8P and plugin v1.5.1
« Last Edit: May 19, 2017, 10:06:16 am by tau »

Offline jk

  • Wookie
  • ****
  • Posts: 265
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #94 on: May 19, 2017, 11:48:49 am »
Hello.

Just tried the following actions, works for me:

1) close cambam
2) delete cb2cm.config
3) run cambam and exit (plugin will create default cb2cm.config on load)
4) put path into the cb2cm.config manually with the text editor. I place camotics on a different drive too,
so my entry is:
<camotics_path>D:\winp\app\camotics\camotics.exe</camotics_path>
5) run cambam. everything should work now
 

Offline tau

  • Storm Trooper
  • ***
  • Posts: 178
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #95 on: May 19, 2017, 14:48:34 pm »
jk,

thanks a bunch for your quick answer & the great help!

Once added the correctly formatted ( ::)) path to Camotics, the plugin didn't erase this entry and all goes well now!

I must admit i'm really proud to be a member of such a great forum!  ;D


Now if CAMotics only could handle a 3D mouse input the same way EddyCurrents plugin does, i guess that would make a great addition to the work flow.

Regards,  Tunc

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 4591
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: 'Simulate with CAMotics' plugin
« Reply #96 on: May 19, 2017, 15:47:24 pm »
The creator of CAMotics responds well to people who donate and sometimes to people who participate in his projects site.  I've done both. 
Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3383
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #97 on: May 19, 2017, 20:52:56 pm »
The creator of CAMotics responds well to people who donate and sometimes to people who participate in his projects site.  I've done both. 


+1 ;) ;D
My 2¢

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

Offline tau

  • Storm Trooper
  • ***
  • Posts: 178
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #98 on: May 19, 2017, 20:59:56 pm »
The creator of CAMotics responds well to people who donate and sometimes to people who participate in his projects site.  I've done both. 

Bob, i guess you've made a good point about that!  ;)

Thx,

Tunc

Offline Lou van Wijhe

  • Ewok
  • *
  • Posts: 45
    • View Profile
    • Lou's Homepage
Re: 'Simulate with CAMotics' plugin
« Reply #99 on: November 11, 2017, 16:54:15 pm »
I have 2 questions about this very handy plugin, which I like a lot:

1. The plugin creates a CAMotics project named after the CamBam file name. Today I needed to split a project into 2 parts, with different out file names. Would it be possible for the plugin to create CAMotics projects named after the out file name of parts?

2. Where can I find a donate button for this plugin?

Lou
« Last Edit: November 11, 2017, 16:55:58 pm by Lou van Wijhe »

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3383
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #100 on: November 12, 2017, 00:04:08 am »
Don't know how to help with question 1.

2. I don't think there is a way to donate for the plugin itself, but CAMotics accept support/donations. I'm for one supporting this project by donating.

 http://camotics.org/#donations
My 2¢

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

Offline Lou van Wijhe

  • Ewok
  • *
  • Posts: 45
    • View Profile
    • Lou's Homepage
Re: 'Simulate with CAMotics' plugin
« Reply #101 on: November 12, 2017, 15:22:58 pm »
Thanks for responding, Bubba. I did donate to CAMotics but I assumed I could donate to the maker of the plugin as well. I like the plugin, it's very convenient.

Lou

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5333
  • Made in England
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #102 on: November 12, 2017, 15:34:34 pm »
For the PART only idea, try this update to the plugin.

Edit: it's had a further update.

Please see here; http://www.cambam.co.uk/forum/index.php?topic=6041.msg56679#msg56679
for v1.5.3

Lou, you should know that "donate" is looked upon as a bad word in this forum  ;D



« Last Edit: November 14, 2017, 10:53:40 am by EddyCurrent »
Filmed in Supermarionation

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5333
  • Made in England
    • View Profile
Re: 'Simulate with CAMotics' plugin
« Reply #103 on: November 12, 2017, 21:23:43 pm »
Update.

It looks like you may have to generate gcode for the whole CamBam file first, before going onto the Part only.
I think it depends upon the setting you have in cb2cm.config for; <regen_gfile_before_post>true</regen_gfile_before_post>

If set to "true" you may be okay, further testing I think. 
« Last Edit: November 12, 2017, 21:27:38 pm by EddyCurrent »
Filmed in Supermarionation

Offline Lou van Wijhe

  • Ewok
  • *
  • Posts: 45
    • View Profile
    • Lou's Homepage
Re: 'Simulate with CAMotics' plugin
« Reply #104 on: November 12, 2017, 22:10:58 pm »
Thanks very much for this, Eddy. I do have <regen_gfile_before_post>true</regen_gfile_before_post> in cb2cm.config.

I'll test the update tomorrow and come back to you. At the moment it's close to midnight in Holland and old people like me should go to bed now. Zzzzz...

Lou