Vape Machine - Recipe Calculator

Status
Not open for further replies.

JimDrock

Senior Member
ECF Veteran
Verified Member
May 7, 2015
199
745
GA
Thanks JimDrock! To be honest that is going to be out of the scope of this application. However, I do believe HotRod's app does something along the lines of calculating the remaining amounts that you have on hand...I am not sure if he has implemented something like that yet or not.

Thats kool, just a thought I had, though I figured it was a function that was not worth the effort since I haven't seen it any where else. :)
 

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
Thats kool, just a thought I had, though I figured it was a function that was not worth the effort since I haven't seen it any where else. :)

I just looked this morning and HotRod has added this functionality to his calculator. Well worth the download if you are looking for something along these lines ;)
 
  • Like
Reactions: JimDrock

KattMamma

Ultra Member
ECF Veteran
Feb 10, 2015
1,733
6,442
DFW Area, Texas
I love the idea of unlimited flavors, but before I install yet another program...

Am I understanding correctly that you have to pick flavors from a built-in list? No way to add your own flavors? I have flavors from TFA, CAP, INW, FW, and more... so I need flexibility!!

I love ejuice me up, but the 10 flavor limit is a problem with a few of my recipes.
 
  • Like
Reactions: JimDrock

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
I love the idea of unlimited flavors, but before I install yet another program...

Am I understanding correctly that you have to pick flavors from a built-in list? No way to add your own flavors? I have flavors from TFA, CAP, INW, FW, and more... so I need flexibility!!

I love ejuice me up, but the 10 flavor limit is a problem with a few of my recipes.

Yes and no. There is a static list of flavors. Right now for testing I only have TFA because that is all I use. But my goal is to have all of the flavors listed from all the manufacturers. I already have this setup so it is easy to sort to display only a specific manufacturer's flavors when setting up the recipe.

In order to add more you will have to edit the flavorings.xml file and copy/paste a whole bunch...that is tedious and no one is going to want to do that. However, once I make sure everything is working for everyone I am going to try and do all of the flavorings myself, then people can just swap out their flavorings.xml file with no impact to their recipes.

I just finished with the gram weights and am still trying to get the print functionality to work properly (right now it is not printing correctly because of the margins). Once that is done and I have the form setup to edit the gram weights and add flavors then this should be ready to go.

I have to say that I use this now for calculating my recipes, but only ask people to test until I have it setup for public use.
 
  • Like
Reactions: JimDrock

JimDrock

Senior Member
ECF Veteran
Verified Member
May 7, 2015
199
745
GA
I just looked this morning and HotRod has added this functionality to his calculator. Well worth the download if you are looking for something along these lines ;)

That sounds great, I'll check it out, thank you. :thumb:

I have a question about your calc, is the flavoring.xml file a text file?
 

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
That sounds great, I'll check it out, thank you. :thumb:

I have a question about your calc, is the flavoring.xml file a text file?
It can be opened in just about any text editor, but I am most partial to using Notepad++ which is free. I just changed the file today though and once I can make sure there are no bugs I will upload in the morning after I create the editor form, which will make it much easier. It contains the grams for everything, with wat info I have on them so far so things can calc weights now.

I still want to try to get a list of all the vendors and flavorings they have so I can put it on the list as well. My goal is to have sharable recipes where the file can be uploaded and used in the calculator. All a recipe contains is the flavoring percentages, the nic values are per user and do not save with the recipe. I did it this way because all of my mixes are 50/50/18, so I can just keep it like that and only change the flavors, not the whole thing.
 

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
Apparently there is a limit on the time where you can edit a post. I have gotten the grams working and have changed the version through Google Drive, so the original post link will still work for downloading.
afeql2.jpg


I must ask though before this is used by the gram weights for the calculations to be tested by people who use this method for their recipes. The values are hard-coded in the settings file and there is no way to change it currently through the application. You have to edit the VapeMachine.exe.config for those settings right now. PgWeight is set at 1.04 and VgWeight is set at 1.26. ALL of the flavorings have been changed to have weight values, and those can be changed through the flavorings.xml file.

Printing can be done by right-clicking a recipe in the list, but it is not working correctly so I have to ask not to use this yet until I can fix it. This is the first application that I am getting printing to work, so please be patient. I am currently working on the editor form but it may not be done today because my wife told me I have plans later on today -_- . I will post when I have it completed though.

Please note, you are not downloading this calculator to use right now, you are downloading to test functionality and if you run into any bugs let me know. Once I get the editor form working, printing recipe cards, sorting recipes, and the flavorings.xml file filled in with all the flavors I can find, then this will likely be a completed app. To keep the application simple I likely will not be implementing a whole bunch of features. Instead I would have to recommend HotRod's app for a more feature-rich calculator.

I may look into making some free forums just for discussing this app, and a place to post just recipes that can be used for it.

I have to thank everyone so far with all the help and suggestions, especially mhertz for the help with the gram calculations.

Edit: It appear when I setup grams the percentage total got thrown off...I will fix this quickly.
 
Last edited:

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
A quick update. I have not had a chance to get much accomplished on this due to family life and other applications I volunteer on. I have tried working on the printing, but fixing this is eluding me.

If I am unable to get everything working by the end of the week I am going to go ahead an open source this on GitHub, so hopefully another .NET developer can jump on and assist with stuff I have not been able to fix or not had time for.
 

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
I wanted to find out if anyone knows which flavors from the manufacturers are not PG based? Also, what other flavors are available aside from what is listed on the WizardLabs website? Also, also...what other manufacturers make flavors that people use?

I do have some household (misc) items listed on there such as water, pga, acv, etc, but wanted to know what else should be included even if you personally don't use it.

Right now I am slowly working through putting in all of the flavors on the XML file. I have Capella's done and moving on to the long list of LorAnn flavors. Everything by default is PG based with a weight of 1g/ml...which I highly doubt is correct, but do not know where to locate this information at.

I have made little progress on the flavoring editor, but I have made some progress. For now I am disabling the print option until I can get a better idea of how to fix it properly. Family stuff has just not allowed me a lot of time to work on this, but I appreciate everyone's interest in using it so far ;)
 
  • Like
Reactions: JimDrock

KattMamma

Ultra Member
ECF Veteran
Feb 10, 2015
1,733
6,442
DFW Area, Texas
There are so many flavor companies... probably the most popular around here are The Flavor Apprentice, Capella's, and LorAnn's.

Looking at my flavors, I also have Flavor West and Flavour Art (both also fairly popular), Inawera, Hangsen (I think they make some of the most popular tobacco flavors, but I'm not into tobacco flavors), Nature's Flavors, and Nude Nicotine.

The only VG flavors I've found so far were Nude Nicotine's flavors. I decided I didn't like them, not because they're bad flavors, but just because they're so much harder to work with and always require a long steep.
 

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
That is perfect KattMamma, thanks! That gives me a good list to acquire of the various manufacturers. Personally I use only TFA, but am probably going to venture out to using other flavors since I'm making stuff for my wife and mother.

The most difficult part is going to be keeping up with new flavors once they are put out. That is why I think if I create a small free forum just for sharing recipes for this app, and people help pointing out when new flavors are added, will make things much easier to just update the xml file.
 
  • Like
Reactions: JimDrock

KattMamma

Ultra Member
ECF Veteran
Feb 10, 2015
1,733
6,442
DFW Area, Texas
I haven't downloaded the app yet, still waiting on another update or two :) but I am pretty comfortable editing xml files so I'm sure I can add whatever I need to. For many others, an easy way to add flavors is probably going to be pretty important, because the flavor company list I gave is nowhere near complete, and as you noted, they add new flavors too.
 

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
I have had some time to work on the flavoring editor and have it at least pulling up the lists from the xml...the same way it is on the recipe editor. Inserting a new manufacturer or flavor is no problem...inserting them in alphabetical order is a bit tricky though since I have never done it. I just like consistency, and it would look better too.

But because there ARE so many companies I am going to probably wait on adding more to the XML file, and just work on the editor instead and upload it. Then I can just add more from each company after that.

Until that time editing the xml is pretty straight forward:
<Manufacturer
Name="CAP">
<Flavoring
Name="(CAP)Amaretto"
Base="PG"
Weight="1.00">​
</Flavoring>
<Flavoring
Name="(CAP)Anise"
Base="PG"
Weight="1.00">​
</Flavoring>​
</Manufacturer>

(It is difficult to format on here...) But flavors are just added in between the manufacturers tags. It is very time-consuming trying to search for the base and the weight for each individual flavoring, which is why I am going to open source this. I think once that is done more developers may use it for their apps to, which would definitely help with some consistency with programs used for calculating.
 

mhertz

Ultra Member
ECF Veteran
Feb 7, 2014
1,234
1,673
Denmark
Ehh, weight is not only for dry meassuring! Every liquid still has a specific density at e.g. 25C, and many labs use meassuring by weight for a reason... The convenience of meassuring every ingredient right into your end bottle without using/cleaning different sized syringes/pipettes I would think most people would be able to see some benefit in that.

However, that many allready are very content with there volume based meassurements and don't wanna change out there routines is of course perfectly understandable and i'm not either saying that one method is better than the other, but there are valid reasons for using weights afterall, just like there's reasons people use volume meassuring e.g. it's what they allways have and learned, and they allready have all the equipment and they don't wanna change up there routines and learn about the specific densities of there ingredients etc.
 

KattMamma

Ultra Member
ECF Veteran
Feb 10, 2015
1,733
6,442
DFW Area, Texas
Ehh, weight is not only for dry meassuring! Every liquid still has a specific density at e.g. 25C, and many labs use meassuring by weight for a reason... The convenience of meassuring every ingredient right into your end bottle without using/cleaning different sized syringes/pipettes I would think most people would be able to see some benefit in that.

However, that many allready are very content with there volume based meassurements and don't wanna change out there routines is of course perfectly understandable and i'm not either saying that one method is better than the other, but there are valid reasons for using weights afterall, just like there's reasons people use volume meassuring e.g. it's what they allways have and learned, and they allready have all the equipment and they don't wanna change up there routines and learn about the specific densities of there ingredients etc.
I understand some people prefer it, and I'm ok with that for them... it's just not for me.

The part that really trips me up is that you would need to have accurate weights for every flavor, otherwise you're just estimating or guessing, so it would seem to defeat the purpose (unless you're doing it just because it's easier?)

I'm sure they exist, but I've yet to see a recipe by weight. In a volume recipe, you'd need to convert, and to do that, you would need the density of all ingredients. Maybe all flavors are similar enough in density to use a certain weight per ml and be "close enough" -- I honestly don't know. If so, I retract my statement above about needing to weigh every flavor.
 
  • Like
Reactions: JimDrock

Taledus

Senior Member
ECF Veteran
Verified Member
Apr 2, 2014
156
91
Tennessee
Well, an update...

When I made this application it was just for me. Then I shared it for others to use. As you can tell it was not really designed for the current direction I am taking it, so I believe before I go any further I need to re-think and redesign how the end product will be. Ultimately it is only worth it if others are going to use this application as well.

I am honestly thinking that it may be better to centralize the xml file into a database file and when people edit items then everyone will have access to the same stuff. Working this over with some other developers now, so I will see how it goes.
 

Capt.shay

Vaping Master
ECF Veteran
Verified Member
May 10, 2013
3,662
8,189
W. Ma. U.S.A.
The part that really trips me up is that you would need to have accurate weights for every flavor, otherwise you're just estimating or guessing, so it would seem to defeat the purpose (unless you're doing it just because it's easier?)

I far as I can tell weights of 99.% of flavors are so close that even with using a constant value, you are still more accurate than you would be using syringes or pipets.

*Edit: One thing to remember is that as long as you use the same number consistently for the ingredient, it is accurately repeatable and adjustable. The only time it would matter if the value was off a tiny amount would be if I was trying to exactly copy some one else s recipe or some one else mine and we were using a different value.

I started mixing by volume and my good friend who started vaping with me looked at my table and said "Where is your scale?". He has a degree in biochem. and worked in the pharmacutical industry with lot of professional lab time. I said "no, all the other folks are using volume and so am I". He just chuckled at me. But then I started to see people on here talking about it and since all I needed to try working by weight other than what I already had was an inexpensive scale, I spent $12 for a E-bay scale and I have never looked back.

Here is a link the middle of a thread where I decided to jump on the weight wagon. Mixing by Weight - Are You ?? | Page 10 | E-Cigarette Forum
 
Last edited:
Status
Not open for further replies.

Users who are viewing this thread