Search found 3665 matches

by Les Newell
Tue Jun 06, 2006 10:37 am
Forum: New features
Topic: No Debug window, no scLoadDrawing
Replies: 7
Views: 9152

No Debug window, no scLoadDrawing

Hi James, I have just found why your drawing won't load. It was an incorrect enum in PluginAPI.h. The attached header file should fix the problem. Les #ifndef PLUGINAPI_H_INCLUDED #define PLUGINAPI_H_INCLUDED #define scAPI_VER (1) enum {scMENU_CHECKED =1, scMENU_ENABLED =2, scMENU_SHOWN =4}; #ifdef ...
by Les Newell
Tue Jun 06, 2006 7:50 am
Forum: New features
Topic: No Debug window, no scLoadDrawing
Replies: 7
Views: 9152

No Debug window, no scLoadDrawing

Hi James, I just tried your ini file here and the debug window shows. It is a separate window and should appear on the left of the screen. Check it isn't just hidden by SheetCam's main window. I'll have another look at scLoadDrawing and see if I can spot any problems. Les I'm starting to feel dumb, ...
by Les Newell
Mon Jun 05, 2006 4:59 pm
Forum: Announcements
Topic: V3.1.16 released
Replies: 0
Views: 15131

V3.1.16 released

Hi all,

I have just uploaded V3.1.16 to www.sheetcam.com. This version has the following changes:

Added: debug messages for plugin functions
Added: -q command line switch. Does not show splash screen and minimizes main window.

Really this release will only be of interest to James.

les
by Les Newell
Mon Jun 05, 2006 3:49 pm
Forum: New features
Topic: Problem with scLoadDrawing
Replies: 2
Views: 4836

Problem with scLoadDrawing

Hi James, As far as I can tell your app isn't calling scLoadDrawing at all. When I run SheetCAMVBInterfaceTest.exe, SheetCam starts up then after a couple of minutes I get a message box saying SheetCAMVBInterfaceTest can't find SheetCam. Try rebuilding the library file. The next release will include...
by Les Newell
Sun Jun 04, 2006 8:41 am
Forum: New features
Topic: My Plugin is fully operational
Replies: 2
Views: 4890

My Plugin is fully operational

Hi James, That is good news. I'll add those extra functions when I do my next batch of fixes. Sorry I haven't got back to you about the job file format but I have been very short of time recently. I'll see what I can do on Monday. By the way, I don't know if is of any use to you but SheetCam MyJob.j...
by Les Newell
Fri May 26, 2006 8:35 pm
Forum: New features
Topic: Calling the plugin API from a thread in the plugin
Replies: 7
Views: 9831

Calling the plugin API from a thread in the plugin

Hi James, I'll see what I can do about the job file format. Hopefully most of it should be fairly self-explanatory. Some of the process and tool values have different uses depending on waht process or tool they refer to. I'll dig out the information next week. I'll also add a command line switch to ...
by Les Newell
Fri May 26, 2006 8:23 pm
Forum: New features
Topic: Calling the plugin API from a thread in the plugin
Replies: 7
Views: 9831

Calling the plugin API from a thread in the plugin

Hi James,
Did I get scExit in this version so I can finally close TaskManager again? :)
No.


You got scOnClose() instead :-)
by Les Newell
Fri May 26, 2006 6:47 pm
Forum: Announcements
Topic: V3.1.15 released
Replies: 0
Views: 15823

V3.1.15 released

Hi all,

I have just uploaded V3.1.15 to www.sheetcam.com. This release has the following changes:

Added: scOnClose(), scMinimize(), scShow() to plugin API
Fixed: Spindle starting at the end of rigid tapping
Fixed: Locking up if API called from a different thread.

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

Calling the plugin API from a thread in the plugin

Hi James, I have your MT example successfully loading a job. Borland components really don't like being accessed from an external thread, even if the thread is synchronised with the main thread. I have ended up using a rather untidy message based arrangement which should however be totally safe, eve...
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: 9831

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: 12513

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: 12513

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: 14910

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: 21210

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: 21210

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...