Conversational Wizards

Discuss the creation and usage of Wizards

Re: Conversational Wizards

Postby Dan911 » Fri Jan 05, 2018 7:47 pm

dezsoe wrote:Dan,

You can use this class to read/write ini files. It works fine for me. To access the Plugins folder without fixing "C:\UCCNC" (where I never had UCCNC :)) use this:

Code: Select all
IniFile myIni = new IniFile();
string myIniFile = Application.StartupPath + @"\Plugins\yourfilename.ini";


That's great Dezsoe! Thankyou.
Dan911
 
Posts: 386
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Conversational Wizards

Postby dezsoe » Fri Jan 05, 2018 7:51 pm

What do I do wrong? I cannot (don't know) how to start your plugin. (I created c:\uccnc\plugins and copied the .txt file into it.)
dezsoe
 
Posts: 516
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Conversational Wizards

Postby Dan911 » Fri Jan 05, 2018 7:57 pm

dezsoe wrote:What do I do wrong? I cannot (don't know) how to start your plugin. (I created c:\uccnc\plugins and copied the .txt file into it.)


You need to create a button 6333

The text file in folder like you described
Dan911
 
Posts: 386
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Conversational Wizards

Postby dezsoe » Fri Jan 05, 2018 8:23 pm

Thank you, now it works.

(Some hours ago I read the new posts on this thread and got inspired. :) Some pieces of the puzzle got connected in my head and I started to build a "framework", something like the Mach wizards. I don't know where will I get with it, but now I have some ideas to try. I don't promise anything, but I will keep that... :))
dezsoe
 
Posts: 516
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Conversational Wizards

Postby Vmax549 » Fri Jan 05, 2018 8:32 pm

You can build a menu by reading in teh filenames from teh Plugins directory. Then you need to check IF they have been enabled.

Next list teh names in a box and add a load button . Select teh filename and press teh load button OR build it to double click on teh filename selected.

I have an example here somewhere if I can find it again (;-). If I can find it I will post it.

You can also build NICE wizards as a macro. BUT the code is not compiled.

(;-) TP
Vmax549
 
Posts: 1188
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Conversational Wizards

Postby Vmax549 » Fri Jan 05, 2018 8:46 pm

Here is an example of a Bolt Circle Wizard. Enter in teh data and press teh post Gcode button and it writes teh gcode then loads it ready for you to run. This was built as a Macro Wiz and it looks exactly like teh Plugin version.

(;-) TP
Attachments
BoltCircleWiz.jpg
Vmax549
 
Posts: 1188
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Conversational Wizards

Postby Dan911 » Fri Jan 05, 2018 9:04 pm

That looks great Terry, do you plan on sharing? If so going to delete what I just started working on in my VS project folder...LOL

I sure it will work better once the canned cycles are fixed in UCCNC.
Dan911
 
Posts: 386
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Conversational Wizards

Postby Vmax549 » Fri Jan 05, 2018 9:12 pm

HIYA Dan yes I plan to share. Here is one that takes Thread data and write teh Gcode for threading.

As you can see you are only limited by your imagination. You are off to a good start don't quit now. I have just been at it a bit longer

(;-) TP
Attachments
ThreadWiz001.jpg
Vmax549
 
Posts: 1188
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Conversational Wizards

Postby Vmax549 » Fri Jan 05, 2018 9:22 pm

One last example for teh Plasma Guys it is a shape generator. This one was built as a plugin.

(;-) TP
Attachments
PlasmaShapes001.jpg
Vmax549
 
Posts: 1188
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Conversational Wizards

Postby Vmax549 » Fri Jan 05, 2018 9:50 pm

OK maybe one more for teh thread millers out there. I also have one for NPT tapered threading

(;-) TP
Attachments
ThreadMilling0234.jpg
Vmax549
 
Posts: 1188
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

PreviousNext

Return to Conversational Wizards

Who is online

Users browsing this forum: No registered users and 1 guest