Search found 3671 matches

by Les Newell
Fri May 26, 2006 1:09 pm
Forum: New features
Topic: Calling the plugin API from a thread in the plugin
Replies: 7
Views: 9854

Calling the plugin API from a thread in the plugin

Hi James, First, please look at scLoadJob, it always displays a dialog to pick a job, even if passed a valid path to a valid job. Works for me with both BCB and VC++ in a single threaded dll. It sounds like you are passing a NULL pointer or one that points to an empty string. Second, I need to make ...
by Les Newell
Wed May 24, 2006 7:15 pm
Forum: New features
Topic: plugin DLL project for MS Visual C++ 6
Replies: 5
Views: 12532

plugin DLL project for MS Visual C++ 6

Hi James, Thanks for the files. Yes I will add an scExit() function. I am not convinced it is a good idea to make SheetCam completely hidden. The user should definitely check the toolpaths before post processing. SheetCam won't grab the focus once it has started. I can add something like scMimimize(...
by Les Newell
Tue May 23, 2006 10:24 pm
Forum: New features
Topic: plugin DLL project for MS Visual C++ 6
Replies: 5
Views: 12532

plugin DLL project for MS Visual C++ 6

Thanks James, How did you generate the .lib file? Also does this project put the dll in the SheetCam folder? Thanks, Les jemmyell wrote: Hi Les, Thanks so much for the new plugin SDK. Many developers (such as myself) still use VC++ 6 so here is a set of test project files for your baseline plugin 'd...
by Les Newell
Tue May 23, 2006 7:03 pm
Forum: Announcements
Topic: V3.1.14 released
Replies: 0
Views: 15410

V3.1.14 released

I have just uploaded V3.1.14 to www.sheetcam.com. This version has the following changes: Added: String library to Lua macros Added: Plugin API and SDK Fixed: Installer not starting SheetCam Plugin developers, look in the SDK directory in the SheetCam installation directory. You will find demo proje...
by Les Newell
Tue May 23, 2006 4:12 pm
Forum: New features
Topic: Hace you considered a SheetCAM plugin API?
Replies: 20
Views: 21244

Hace you considered a SheetCAM plugin API?

I downloaded Visual Studio 2005 and did some experiments. VC++ really insists on name mangling, no matter what you do. In the end I have had to resort to referencing functions by ordinal. This arrangement will still make SheetCam backwards compatible with older plugins. Newer plugins trying to use f...
by Les Newell
Mon May 22, 2006 11:14 pm
Forum: New features
Topic: Hace you considered a SheetCAM plugin API?
Replies: 20
Views: 21244

Hace you considered a SheetCAM plugin API?

Hmm, I've done some more research and it looks like VC++ doesn't have implib but it looks like you can generate a .lib from a .def file. Here is an MSDN article <http://support.microsoft.com/kb/q131313/>. From what I can see you need to create a file called SheetCam.def, containing the following tex...
by Les Newell
Mon May 22, 2006 10:40 pm
Forum: New features
Topic: Hace you considered a SheetCAM plugin API?
Replies: 20
Views: 21244

Hace you considered a SheetCAM plugin API?

Hi James, I can't provide you with an library because Borland C++ Builder libs aren't compatible with VC++ libs. However you should be able to use implib to create a .lib. With Borland the command would be implib sheetcam.lib sheetcam.exe. I assume the VC++ version of implib will work in a similar m...
by Les Newell
Mon May 22, 2006 7:35 pm
Forum: New features
Topic: Hace you considered a SheetCAM plugin API?
Replies: 20
Views: 21244

Hace you considered a SheetCAM plugin API?

The attached zip file contains a test version of SheetCam with a demo dll file. The demo dll adds a new main menu with 'load drawing' and 'load job' sub-menus. It demonstrates most of the currently available features. Unzip SheetCam.exe and demo.dll into your SheetCam directory. The other files are ...
by Les Newell
Mon May 22, 2006 5:44 pm
Forum: New features
Topic: Hace you considered a SheetCAM plugin API?
Replies: 20
Views: 21244

Hace you considered a SheetCAM plugin API?

As long as you link via name rather than ordinal you will be OK. If new functions are added an older dll simply won't see them. After doing some experiments I have produced a .def file. You simply link with the .def file and everything should work. As far as I know .def files are universal so it sho...
by Les Newell
Mon May 22, 2006 4:25 pm
Forum: New features
Topic: Hace you considered a SheetCAM plugin API?
Replies: 20
Views: 21244

Hace you considered a SheetCAM plugin API?

Hi James, I have been working on this. SheetCam will look for all dlls in the SheetCam directory. If they export the function scInit() then they are loaded and scInit() is called. SheetCam will look for a number of other callbacks. If they exist they will be called at the appropriate time, otherwise...
by Les Newell
Sat May 20, 2006 8:25 pm
Forum: Problems and questions
Topic: Problem with ramping
Replies: 3
Views: 5239

Problem with ramping

It may be an idea to pass the code on to the writers of cncsimulator. If
they are aware of the problem hopefully they can fix it.
by Les Newell
Sat May 20, 2006 4:23 pm
Forum: Problems and questions
Topic: Problem with ramping
Replies: 3
Views: 5239

Problem with ramping

Hi Neil, I can't see a problem here. If you rotate the view (hold shift and drag with the mouse), do your leadins look like the attached image? What post processor are you using? It could be a post problem. On a minor note I've installed 3.1.13 but help->about shows 3.1.12 Yes - I forgot to update t...
by Les Newell
Fri May 19, 2006 7:49 pm
Forum: New features
Topic: Hace you considered a SheetCAM plugin API?
Replies: 20
Views: 21244

Hace you considered a SheetCAM plugin API?

Sounds good to me. Hooking the import routines shouldn't be a problem. I had originally intended the import filters to be plugins so a lot of the infrastructure is already in place. Export/post processing is also modular and based on C style callbacks so it would be easy to make that available to th...
by Les Newell
Fri May 19, 2006 4:26 pm
Forum: New features
Topic: Hace you considered a SheetCAM plugin API?
Replies: 20
Views: 21244

Hace you considered a SheetCAM plugin API?

That would work but you would have to write a plugin that talks to your macro. As the current problem is finding a good way to talk to your macro, I don't think it would be any real advantage. Would you be interested in writing a plugin if I provided the interface? I am currently investigating COM a...
by Les Newell
Thu May 18, 2006 8:15 am
Forum: Problems and questions
Topic: compatability question
Replies: 3
Views: 5611

compatability question

I think you are right. I'll change the name..
I can see the potential for that, it feels a little crowded already. Maybe it could be combined with another section ie. 'general inc. problems'.