Search found 3649 matches

by Les Newell
Wed Dec 20, 2023 1:37 pm
Forum: Contributed plugins, tools and posts
Topic: GRBL Plasma w THC, Torch Touchoff, and Rotary
Replies: 35
Views: 87337

Re: GRBL Plasma w THC, Torch Touchoff, and Rotary

Due to the way SheetCam stores values internally, sc.unitBoolean results in a numeric value that is 1 for true or 0 for false. This works fine in C++ but unfortunately Lua regards anything that is not boolean or nil as true.
To be safe you need to do a comparison:

Code: Select all

   if LdcThcEnable == 1 then
by Les Newell
Fri Dec 15, 2023 12:04 pm
Forum: Contributed plugins, tools and posts
Topic: postprocessor for Grbl +4th axis, THC & touch-off
Replies: 12
Views: 56997

Re: postprocessor for Grbl +4th axis, THC & touch-off

The flat sheet option will make the rotary post just use X,Y,Z. It is a bit more CPU intensive than using a dedicated post but you probably won't notice a difference unless you are doing a lot of very complex artwork with thousands of moves. It only affects the time it takes to run the post processo...
by Les Newell
Fri Dec 15, 2023 11:16 am
Forum: Problems and questions
Topic: Scnaything - failed to build server
Replies: 3
Views: 13937

Re: Scnaything - failed to build server

Why did you need to comment out line 46?

Do you have a run-in-place LinuxCNC installation? At a guess you have more than one LinuxCNC installation and the CNCRemote make file is getting confused as to which version is being used. Try running Scanything from within a RIP environment.
by Les Newell
Fri Dec 01, 2023 10:33 am
Forum: Contributed plugins, tools and posts
Topic: RoratyPlasma - Feedrate
Replies: 1
Views: 14316

Re: RoratyPlasma - Feedrate

Sorry, I missed this question. The post takes care of cutting speed and diameter compensation.
In my experience, Mach3's path planner works better if the rotary axis is set to 1 unit per revolution rather than 360. If you change this in Mach you also need to change it in the post.
by Les Newell
Wed Nov 15, 2023 11:12 am
Forum: Problems and questions
Topic: add parent menu item
Replies: 2
Views: 14572

Re: add parent menu item

The simplest way to add a menu is to use: app:AddMenu("/&My menu") or: app:SetMenuPath("/") app:AddMenu("&My menu") This will create a new menu on the menu bar somewhere between Options and Help. Exactly where it appears depends on what other plugins are loaded....
by Les Newell
Mon Nov 13, 2023 8:38 am
Forum: Problems and questions
Topic: plasma THC define custom tool parameter for THC set volts
Replies: 9
Views: 40473

Re: plasma THC define custom tool parameter for THC set volts

As long as you have SheetCam TNG then yes, your license will work with the latest version.
by Les Newell
Fri Nov 10, 2023 8:08 am
Forum: Problems and questions
Topic: plasma THC define custom tool parameter for THC set volts
Replies: 9
Views: 40473

Re: plasma THC define custom tool parameter for THC set volts

I just tried your post here and it worked. What version of SheetCam are you using?
by Les Newell
Thu Nov 09, 2023 12:55 pm
Forum: Problems and questions
Topic: part file names
Replies: 1
Views: 13411

Re: part file names

Parts don't always include the drawing file name (e.g a copy won't) but something like this should work: function LoadFile(fileName) local parts = sc.Parts:Get() for idx=0, parts:GetCount() -1 do local part = parts:op_index(idx) if fileName == part:GetFileName() and not part:IsDuplicate() then parts...
by Les Newell
Thu Nov 09, 2023 12:36 pm
Forum: Problems and questions
Topic: Evaluation Limit Reached
Replies: 8
Views: 30608

Re: Evaluation Limit Reached

I just had a look though my records and can't find a license under your email. However if your license was supplied by a reseller they may not have put your email on the license. I think the first thing to do is to contact the supplier of the machine to clarify if they were supposed to supply a lice...
by Les Newell
Thu Nov 09, 2023 12:31 pm
Forum: Problems and questions
Topic: plasma THC define custom tool parameter for THC set volts
Replies: 9
Views: 40473

Re: plasma THC define custom tool parameter for THC set volts

DefineCustomToolParam should be outside of any functions. Code that is outside of a function will execute immediately when the post is selected in machine options, or when an edited post is saved. Having said that, even if you do have that code inside a function you should not get that error. I just...
by Les Newell
Wed Nov 08, 2023 10:56 am
Forum: Problems and questions
Topic: Autoload plugin not working
Replies: 4
Views: 17015

Re: Autoload plugin not working

Taking another look at the code I think you are right. However it has always worked in the past. I'll update the plugin for future releases.
by Les Newell
Tue Nov 07, 2023 4:57 pm
Forum: Problems and questions
Topic: Autoload plugin not working
Replies: 4
Views: 17015

Re: Autoload plugin not working

Try disabling the plugin then look at the log again. Do you still get a warning like this:
Assert failure in function wxDir::GetFirst (C:\wx-3.0\wxWidgets\src\msw\dir.cpp:409). must wxDir::Open() first ("IsOpened()")

Does it work if you choose a directory on your C drive?
by Les Newell
Sat Oct 28, 2023 8:24 am
Forum: Problems and questions
Topic: Adding Options to Plasma Tool dialog - not enigh screen space
Replies: 6
Views: 5919

Re: Adding Options to Plasma Tool dialog - not enigh screen space

Unfortunately that would be quite hard to implement.
by Les Newell
Fri Oct 27, 2023 5:21 pm
Forum: Problems and questions
Topic: Adding Options to Plasma Tool dialog - not enigh screen space
Replies: 6
Views: 5919

Re: Adding Options to Plasma Tool dialog - not enigh screen space

I'm afraid there isn't much I can do about it in the short term. I'll add scrolling to the to-do list.
by Les Newell
Wed Oct 25, 2023 3:28 pm
Forum: Problems and questions
Topic: Adding Options to Plasma Tool dialog - not enigh screen space
Replies: 6
Views: 5919

Re: Adding Options to Plasma Tool dialog - not enigh screen space

1080p should be plenty. The plasma tool dialog should fit on a 720p display. Are you running a post processor that adds a lot of extra options?