Curtis

Curtis' Plugin Pack (Update for 3.5.4)

Recommended Posts

Ash    9
I was planning on writing an equations plugin. Now I don't have to :D

You don't have to, but You should ;)

(The one that can affect the image...that is) :D

Share this post


Link to post
Share on other sites
pyrochild    297
just as long as he does not call it Math Lab (math can be missread as...) :D

Because there is already a Mathlab :D , actually it's called Matlab, and it's for that exactly, to 'experiment' with mathematics

It's a reaaally powrful tool to work with matrixes, it's amazing

Totally not what he meant.

Share this post


Link to post
Share on other sites
Curtis    3
You know, writing a recursive-descent parser and building up a System.Linq.Expressions.Expression tree wouldn't be that difficult. I highly recommend it -- using string.Replace() is not a very good way to go about this. You'll learn a lot, too. Parsers are good stuff to learn.

I couldn't agree more.

I wrote a recursive-descent parser in compiler design class when I was in college. Of course, you'll need to start by writing a tokenizer... and come up with a language definition... but, after that, it's easy!

OK, so I have been searching around the web for quite a while now but can't seem to find a good explanation on how to start making one of these, probably because I don't know exactly what I'm looking for, do you know of any good webpages that explain this well? or at least give me a good starting point.

Share this post


Link to post
Share on other sites
pyrochild    297

Hey man, for the equations plugin, can you like make it not case-sensitive and whatnot? Having to differentiate between Sin() and sin() really irks me ...

:D

Share this post


Link to post
Share on other sites
pyrochild    297
Would you rather he just make you type Math.Sin and Math.PI?

Hey! I'm only obliged to one compliment before making feature requests. And I already complimented Curtis on these plugins. So you shush. :P

Share this post


Link to post
Share on other sites
Curtis    3
Hey man, for the equations plugin, can you like make it not case-sensitive and whatnot? Having to differentiate between Sin() and sin() really irks me ...

:D

Yep, working on that, it will be in the next update. I have a simple fix now, but I would really like to try out what Rick and BoltBait suggested, but can't seem to work out where to start with it.

Share this post


Link to post
Share on other sites
MadJik    153

Bug report:

Windows XP sp2 french...

Can't use Equation, and can't copy/paste the text of error message (can't even see it entirely).

Internal Error: System.NullReferenceException: Object reference...

Also y=x doesn't work!

Share this post


Link to post
Share on other sites
just as long as he does not call it Math Lab (math can be missread as...) :D

Because there is already a Mathlab :D , actually it's called Matlab, and it's for that exactly, to 'experiment' with mathematics

It's a reaaally powrful tool to work with matrixes, it's amazing

Totally not what he meant.

I know :D

But yeps Equations is really cool waiting for updates

Share this post


Link to post
Share on other sites
Andrew D    0

Some feature requests here for Equations....

1. We need x=y

2. Any way to have simulatenous equations? Like 2x+1=y and x=y-2?

3. Maybe have the list of working equations in the Help menu?

Share this post


Link to post
Share on other sites
vista?    1

3. Maybe have the list of working equations in the Help menu?

That's a pretty good idea coz otherwise you'll be having to refer to this thread all time.

Share this post


Link to post
Share on other sites
MadJik    153

Equation isn't working for me. I've tested it on two different PC.

I wonder if the french system XP is not supported by the "language interpreter" or something like this...

@Curtis: Could you have a look at it or provide some source if you want me to?...

Share this post


Link to post
Share on other sites
Curtis    3
Some feature requests here for Equations....

1. We need x=y

2. Any way to have simulatenous equations? Like 2x+1=y and x=y-2?

3. Maybe have the list of working equations in the Help menu?

Simultaneous equations would be to hard to do, and for equations like those, they would only produce a point on the graph, not anything that people would be able to use in images, like cool looking waves or anything. Having a list of equations somewhere in the help menu would be a good idea, I will get on to that.

Equation isn't working for me. I've tested it on two different PC.

I wonder if the french system XP is not supported by the "language interpreter" or something like this...

@Curtis: Could you have a look at it or provide some source if you want me to?...

I have been trying to work out why its doing that, I have tested it on my Vista comp and an XP comp and don't get that error. I don't think its because you have a French XP, because if you can use CodeLab, you should be able to use this. That error is from the plugin not being able to use the code that is compiled with the equation in it. The only thing I can think of, and this is the only way I can reproduce that error, is if I rename the dll file. I don't know if you renamed the dll, but if you did, renaming it back should solve the problem.

Share this post


Link to post
Share on other sites
Curtis    3

Ok, so I have been making a lot of changes to the Equations plugin, but am still unable to reproduce that error myself, so if you are getting that error and you wouldn't mind giving me a bit more info on it, I have attached an updated version, which has a resizable dialog so you can see the full message. If you still get that error, would you mind posting the full error message in the error box, it would be really helpful.

Note, this file is only for people who are getting the above error, for everyone else, a proper update is not far away. Also, all these plugins are now in one dll file, so you will have to delete the four original files from your effects folder before copying this new one in.

Attachment removed, check main post for most recent version.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now