PDA

View Full Version : Update to Blue-Mel Studio


MaxL
09-11-2003, 09:25 AM
Hi folks!
I just released an important Blue-Mel Studio (BMS) upgrade.
If you don't know BMS, it is a plug-in for Maya, it is a integrated Mel editor disigned to replace the original Maya ScriptEditor.

If you want to tray it, do it please! It is free!

www.maxliani.com/technology/BlueMelStudio_MainEn.html (http://www.maxliani.com/technology/BlueMelStudio_MainEn.html)

Max

tropistic
09-11-2003, 11:42 AM
Blue-Mel Studio is really looking good Max. Thanks!

:beer:

Jay

h0tice
09-12-2003, 08:57 PM
hi there MaxL,

is it possible to have BMS for linux? i have tried it in windows, but here in our work we are using linux.

thanx

CaptainSam
09-13-2003, 04:11 PM
Like Ive said before, this is just goddamn brilliant, man!

I do think that the syntax colouring could use a little more categories though, so that you can set separate colors for flags (any word preceded by a -) and variables (any word preceded by a $).

It would also be good to be able to add custom commands to the syntax colouring definition. I'll usually have a prefix for all the procs I write, for example jfBuildNiceCharacter, jfDoGreatAnimation. By simply adding ** jf to the UltraEdit syntax coloring file, any word that starts with jf will be coloured as a command)

Maybe also auto correcting the case in mel commands. I dont know how many times Ive written setATtr, for example. When I use UltraEdit, it will automatically replace that with setAttr.

And please make it possible to have full syntax colouring in the history window as well. It just makes things a lot more readable.

When you select a word and right click it, in addittion to the quickHelp command, it could be usefuyl to have a whatIs command that will print the path to the script (or even cooler; open the actual script) and a help command that will print the flags for that command.

Another small suggestion: have a setting in the preferences to turn on and off scriptEditorInfo -writeHistory. This is a lifesaver when I managed to kill Maya with an infinite loop or something, and its a nice command that most people probably dont know about.

And finally, even though you can click on the left to select a whole line number, I still find it a little annoying that clicking three times on a line donesnt select it, like it does in pretty much every text editor on the face of the earth.

loked
09-13-2003, 04:32 PM
I'm definitely an avid user of BMS :thumbsup:

Thanks alot MaxL!!

later:wavey:
loked

dunkel3d
09-16-2003, 03:20 AM
Thanks MaxL. I love BMS.

Sarah:thumbsup:

wrend
09-16-2003, 03:58 AM
tidy work! though im sad, 'cuase ill be migrating to linux soon :(

i've noticed a bit of a bug perhaps - when prinitng variables, it seems to knock off the last character ..but it arrives as soon as you put through some more input (blank lines will do).

great work, keep it up!

what would be really funkin is if you could treat certain patterns, arguments as objects, which can be edited w simple little guis. eg, if you can determine that it is colour entry you are making, you could, say, hold control over the entries and a little colour wheel would popup which you could scrub around to find your values that will get dumped back. or a simple capacity to srub values, like virtual sliders (perhaps just with keyboard arrows), mmm, might not be that useful.

Buexe
09-16-2003, 08:11 AM
I love Blue Mel Studio! Please keep up the good work!
Thank you very much & Greetinx
buexe

MaxL
09-16-2003, 02:04 PM
Thank you everibody!

to wrend: I just solved the "prinitng variables" bug, now it works fine.

to CaptanSam: now it's possible to click tree times to select the line. In addittion to the quickHelp command you'll find "Print Flags".

I moved the BMS UI to a multiple document interface: now it's possible to open.edit and menage several documents on the same BMS window.

These new features are under testing. You will be able to download an upgrade in few days. Stay tuned.

For peoples that want BMS for Linux, I installed linux on my PC to start the porting, but it is a very very long way: I never developed for linux before.....

Tanks
Max

CaptainSam
09-16-2003, 04:08 PM
A few more things (sorry, hope I'm not just annoying you with petty complaints)

Make it possible to shift click to select text; i.e. set cursor at top of the script, then click further down while holding down shift. This is such standard behaviour in any text editor that I keep doing it in BMS even though i know it doesnt work.

Make it possible to turn off the auto ident. It's fine for a lot of users, i'm sure, but I find that it's just bugging me constantly since my identing philosophy is slightly different ;-)

Make open and save default to the users script directory rather than the scenes directory. After all, that's where most people keep their scripts. And add a source script command; I keep having to open the scriptEditor just so that i can source something even though Im using BMS the rest of the time

As for porting to other OS'es. How bout open sourcing the whole thing?

MaxL
09-16-2003, 08:31 PM
I'll add the "shift click" as selection tool, it's quite simple to implement...

What is exactely your indent philosophy?? :-)

I'll add the "Source Script" function too.

I don't want to release the BMS source code. Now I'm distributing BMS for free and I plan to keep doing it. I'm working on BMS since january 2003, and I'm not a rich man at all. All the time that I spend developing BMS it's for free, just for you everybody. But I'm also planning to develop a "PRO" release with advanced debugging features.. If I can, I'll try to sell BMS PRO.

Max

tropistic
09-16-2003, 08:41 PM
Originally posted by MaxL
I don't want to release the BMS source code. Now I'm distributing BMS for free and I plan to keep doing it. I'm working on BMS since january 2003, and I'm not a rich man at all. All the time that I spend developing BMS it's for free, just for you everybody. But I'm also planning to develop a "PRO" release with advanced debugging features.. If I can, I'll try to sell BMS PRO.


That sounds both generous and fair Max. Bring on BMS PRO :thumbsup:

Jay

h0tice
09-16-2003, 10:48 PM
thank you max, you're the man.
no comments to add to, they have put it already.

Buexe
09-17-2003, 08:31 PM
Yo I just got this weird issue here using the new version of BMS. It won`t give me the characters [ ] \ by pressing the usual keyboard buttons (alt gr + key). I can copy paste these characters but I don`t get them for free. Am I the only one experiencing this phenomenon?
Anyway great tool MAXL!!
greetinx buexe

PS: Hey you put in the recent file list I suggested, that`s awesome!:buttrock:

galactor
09-17-2003, 08:49 PM
Great work :thumbsup:

I was wondering, when i us brakkets they tend to be placed at the beginning of each line, while i'm used that they are placed ahead one TAB distance. Is this done for a reason and will it be changed??

:: Galactor ::

MaxL
09-18-2003, 09:16 AM
BMS won't give me the characters [ ] \ by pressing the usual keyboard buttons (alt gr + key).

To Buexe: tanks for reporting me this bug, I need to know some details of your system in order to solve your problem easily:
1) OS version and language
2) Keyboard layout (language)
I suggest a temporary workaround till I solved this problem:
Use Alt+91 (from the numeric key pad) for '[' , Alt+93 for ']' and ALt+92 for '\'.
I'm sorry for this kind of problem: I've only an international keyboard, so I cannot test BMS under all internation situations :-(


I was wondering, when i us brakkets they tend to be placed at the beginning of each line, while i'm used that they are placed ahead one TAB distance. Is this done for a reason and will it be changed??

To Galactor: I think I didn't catch exactely what you mean.
Can you put here an example or e-mail it to me ?

Tanks folks!

Max

galactor
09-18-2003, 10:10 AM
When i'm on a new line and indent one tab and try to place a "curly brace", it will automaticly be placed at the beginning of the line.

Now it acts like this:
if (time<5)
{
move 0 5 0;
}

And most editors act like this (i experienced):
if (time<5)
{
move 0 5 0;
}

Hope this was more clear to you, i used the word "BRACKETS" last time (My fault, sorry).

:: Galactor ::

MaxL
09-18-2003, 10:21 AM
:-)

Now it acts like this:
if (time<5)
{
move 0 5 0;
}

And most editors act like this (i experienced):
if (time<5)
{
move 0 5 0;
}

Tabs and indent is not visible in html pages.. send me a mel file through e-mail at info@maxliani.com, please.

Max

Buexe
09-18-2003, 10:59 AM
Hey MaxL,
I use Windows 200 Professional SP 4 german with a german keyboard layout. { and } work properly by the way.
If you need more info just let me know

:beer:
buexe

Jakobud
09-21-2003, 12:13 AM
Is this a good place to report bugs Max? If so I have one that seems very obvious I'm not sure if anyone else has brought it up. Try this:

print "Hello World";

and what does it print? this:

Hello Worl

it's missing the last character. Now it only does it if the print command is the last print command in the script. For example:

print "Hello World";
print "BlueMelStudio";

prints:

Hello WorldBlueMelStudi

but now if you try this:

print "Hello World";
string $nothing;

then you still get:

Hello Worl

so this bug only appears for the last print command of any script apparently. The simple workaround is this:

print "Hello World";
print "\n";

but I just wanted to bring this bug to your attention. Good plugin. I usually use Ultraedit but BlueMel is very nice for quick little things I want to test instead of using the default script editor.

wrend
09-21-2003, 06:12 AM
jakobud - have a look near the top of the thread.

MaxL
09-22-2003, 02:56 PM
Hi folks!

I just released a new BMS upgrde!!
I added the following features:
1) Multiple document interface, now you can open and edit several scripts in a single BMS window.
2) You can skip auto-indent behaviour by using Shift+Enter
3) now you can select using Shift+Left Click (see previous posts)
4) "missing last printed char" is now solved.
5) International keyboard layouts are now supported correctly (tell me if it does't properly work yet)
6) triple click is now supported.

Try the new features an tell me if it works properly, please.

Download here.

www.maxliani.com/technology/BlueMelStudio_MainEn.html (http://www.maxliani.com/technology/BlueMelStudio_MainEn.html)

Max

safakoner
09-22-2003, 03:21 PM
:applause: what can i say ? I need a window about MEL like this .

Buexe
09-22-2003, 04:21 PM
:applause: :applause: :applause:
You are my hero, MaxL!!!

1. keyboard is fixed, I get [] and \
2. Last character is printed in feedback line
3. auto-indent and everything else is molto bene!

Thank you so much, I can`t wait for BMS Pro

:beer:
buexe

CaptainSam
09-22-2003, 08:51 PM
Very cool. This just keeps getting better

CaptainSam
09-22-2003, 09:16 PM
The Control-X shortcut doesnt work any longer

MaxL
09-23-2003, 09:05 AM
The Control-X shortcut doesnt work any longer
Ouch... I'm sorry...

Download BMS again, please. Now it is fixed!
Max

CaptainSam
09-23-2003, 11:37 PM
Thanks a bunch

However, I still have to say that the auto indent is driving me insane; to the point where I'm jumping back to UltraEdit at times. The only use I can see for stuff like this is to atomatically ident the new line as much as the previous one; anything else is taking control away from the user and definitively should be possible to turn off. I'm sure lots of users love it, but not everyone.

Triple clicking and shift-selecting text is really helpful, but I mis the standard behaviour whenb shift clicking where you can then click within the selected text and have the selection change to that.

Also, may I suggest quadruple clicking ;-) When double clicking variables, it would be useful if the first two clicks would only select the text, ot the $ sign, so that you'd have to click once more to select that as well. Also, in the Maya scriptEditor, clicking a word_with_underscores_in_it will only select what's between the two underscores where your mouse is. This can be quite useful, so maybe it would be posible to have two clicks select the word between the underscores, three clicks select the_whole_string and four the whole line.

zachgrachan
10-05-2003, 03:28 PM
I just noticed that you can't break strings up between lines. For instance:


button -label "Do Extrudes"
-command "zgDoExtrudes (`floatSliderGrp -q -value radiusSlider`, \
`floatSliderGrp -q -value scaleSlider`, \
`checkBoxGrp -q -v1 deleteCheck`)"
doExtrudesButton;


will work in the script editor, but gives weird errors in BMS. It seems to be inserting wierd characters (like the boxes that appear in pdf files occasionally on printing) and these give a syntax error. I tried deleting after the \ character, but it just deletes the newline at the same time as the extra characters.

This feature would be really helpful with long argument lists and what not.

MaxL
10-07-2003, 09:16 PM
Hi zachgrachan
this is an unsupported feature.
I'm sorry. You can't use new lines inside strings.
I can try to fix it in a future release.

Try this as workaround:

button -label "Do Extrudes"
-command ("zgDoExtrudes (`floatSliderGrp -q -value radiusSlider`, "+
"`floatSliderGrp -q -value scaleSlider`, "+
"`checkBoxGrp -q -v1 deleteCheck`)")
doExtrudesButton;


Max

zachgrachan
10-08-2003, 03:12 AM
hey sweet, that'll work. I tried using the +'s before, but didn't think to put an extra (" ") around it....DOH!

Thanks.

CaptainSam
10-08-2003, 12:57 PM
Support for breaking lines in strings is very shaky in Maya in any case, so youd be better off avoiding it alltogether

zachgrachan
10-08-2003, 01:19 PM
how 'bout line wrapping then? I'm not at my computer right now, so I can't check - but can BMS do it, or would it be much to implement?

MaxL
10-08-2003, 04:47 PM
how 'bout line wrapping then? can BMS do it, or would it be much to implement?

Hi, BMS don't currently support line wrapping. It seem to be a very simple feature for a text editor, but it isen't so... I'll put a new record in my to do list. But there are already a lot of stuff before, be patient, please.

Max

varomix
10-16-2003, 03:35 PM
I write script only for fun and I'm not really good at it, i tend to make my script from parts of examples and this stuff helps me get by really great.

tenx for the upgrade

Doogie
10-19-2003, 08:32 PM
Excellent work. It's come along since the past few versions, and thanks for making it freely avaliable.

In most applications, when I type shift-Backspace does a normal backspace. In BMS it doesn't do anything. Any change of putting that in? It really helps when I'm alternating caps/lowercase and misTipe something =)


--

Im not sure if this is an error or not, but when i changed the color of History > Text color from black, a about 1/2 the text is still black (I'm not talking about the comments)

3djoe
10-19-2003, 11:19 PM
I just downloaded and installed it looks good. It has been a while for me also I tried this plug in a long while ago and couldnt get it to load so gave up. now I am happy it works.:buttrock:

MaxL
10-20-2003, 07:34 AM
In most applications, when I type shift-Backspace does a normal backspace. In BMS it doesn't do anything. Any change of putting that in?


It's quite simple to solve your problem. I fix it now and you would experience the corect behaviour in the next release.

I'm not sure if this is an error or not, but when i changed the color of History > Text color from black, a about 1/2 the text is still black (I'm not talking about the comments)

I'll try to reproduce the bug and fix it too.

A new beta version would come soon.
Tank you everybody!

Max

Doogie
11-16-2003, 07:38 PM
One more (minor) thing that bothers me in this amazingly helpful plugin

The file open dialogue defaults to the same directory as if you're opening a scene file (sadly, I keep scenefiles and scirpts far apart on my dir tree). In the script editor, when you open, it defaults to the script path.

I hope this is explained well enough and wouldn't be too hard to fix.

MaxL
11-19-2003, 10:30 PM
Hi Doogie,
it's not a good idea to set a default directory, because if you do it, the program will ever propose that folder every time you try to open or save a file...
I added a kind of "favorites places" at the top of Open/Save/Source dialogs, so tha user will able to quickly jump over different favorites locations.

I'm proud to anticipate you that great news are coming:
soon would be available the BMS light version for free, as usual, and the BMS PRO version with a lot of advanced features for a cheap fee.
Stay tuned!

Max

MaxL
11-19-2003, 10:34 PM
Hey!!

PS: there are any guys that want to become official beta tester for the BMS PRO?
If yes, send a e-mail to info@maxliani.com asking me about the beta test program.

Max

olivier georges
11-22-2003, 12:07 PM
hi,
i really like BMS, but one thing i like to see change is the fact that the BMS window is not really attach with the main Maya window, and when i switch between two prog only the BMS window catch the focus and Maya stay iconized, it would be cool to add the "attach to main window" to the BMS win like all the maya windows...

Olivier.

CGTalk Moderation
01-16-2006, 01:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.