Full Version: CustomUI

From: Denis (SPACELAND) [#10]
 8 Feb 2014
To: ALL

Thank Max, very useful added feature.

Reply


From: ed (EDDYF) [#11]
 8 Feb 2014
To: ALL

.

Reply


From: Michael Gibson [#12]
 8 Feb 2014
To: ALL

> > "... it is almost impossible to keep track of the fantastic scripts people come up with and have them
> > integrated easily and visually fitting. I personally don't think going hunting for internal scripting tricks
> > to find even relatively basic things like open edges etc. is a good "UI" "
>
> I agree.

I agree too!

But a good UI is one that is developed carefully and not rushed... There are only really a small handful of scripts that are useful to a wide range of users, most of them are pretty specialized things and so optimizing MoI for presenting those just hasn't been a major priority as of yet. It is something that I expect to get to eventually though!

- Michael

Reply


From: hep [#13]
 8 Feb 2014
To: ALL

Hi, that was quick of the Mac version :-)

It works pretty good. I just found 2 small issues.
the list of external scripts is is overlapped by the taskbar at the bottom of the screen and it dont change size even if i resize the "Moi window" - Iworks oki if i just move or hide the bottom taskbar :-)
I use this black/orange layout for moi, so i need to change the color of the background so i can see the icons. On the picture below the "snapshot" icon is hoovered byt the mouse and the "lighetning" icon is not



Image Attachments:
Skærmbillede 2014-02-08 kl. 19.45.55.png 

Reply


From: BurrMan [#14]
 8 Feb 2014
To: ALL

""""""""""... it is almost impossible to keep track of the fantastic scripts people come up with and have them integrated easily and visually fitting. I personally don't think going hunting for internal scripting tricks to find even relatively basic things like open edges etc. is a good "UI" """""""""""

I agree with the theory but not in this case.

There is no hunting. They are all in one place on the resources page of the MoI website. Anything that is not in there is just a "custom experience" script Michael made for someone who asked in the forum.

I guess you have to ask yourself if you like the Rhino UI?

I like Max's plug. It's exactly (though a little different) like something I wanted to do (although Max did it better). But, There's no long term thought and planning in it. For a plug, that's ok, because he can change it later with no great affects. But for the main app? You cant just cram things in, then make sweeping changes 3 years from now when what you crammed in doesn't work.

Reply


From: BurrMan [#15]
 8 Feb 2014
To: ALL

Oh Yeah,

Very cool Max!!! Great work...

Reply


From: bemfarmer [#16]
 8 Feb 2014
To: ALL

When I just click on the download, I am getting a "partial download, file may have moved error". This has never happened before.
(Windows7 PC)
But using "save target as", I was able to download Mac and Windows version.

(Superb praise message still in preparation :-)

- Brian

Reply


From: Max Smirnov (SMIRNOV) [#17]
 8 Feb 2014
To: ALL

hep,
open ExtScripts.menu.htm as text file, and change "maxlines" value to 30.

Reply


From: BurrMan [#18]
 8 Feb 2014
To: ALL

So on my win7, with the filesystem writing, I have to set "run as administrator" on MoI, or the object library wont work.

Is there any way the scripting could be changed to avoid this? Any way to set the privileges from within Max's environment?

Reply


From: hep [#19]
 8 Feb 2014
To: ALL

Hi Max
30 works perfect ;-)

Reply


From: Tommy (THOMASHELZLE) [#20]
 8 Feb 2014
To: ALL

Rhino really isn't the alternative I'm looking at. It has a relatively bad GUI (as most CAD tools seem to enjoy).
But I'm working with many 3D applications and there are IMO several well working solutions to this kind of problem.

Having a dropdown menu with all installed plugins wouldn't directly lead to GUI-mageddon. ;-)

It could be very simple with sub-menus created from file system subfolders, so you could have folders for Points/Curves/Solids/etc. put the respective scripts in there and have them show up in equally named submenus.
Just an example though.

I personally enjoy MoI 10 times more now with Max' script installed :-)

And I have totally zero problem if it will change somehow in 3 years...

Cheers,

Tom

Reply


From: Max Smirnov (SMIRNOV) [#21]
 8 Feb 2014
To: ALL

BurrMan,
it's very strange. I use MoI on win7 x64 with UAC on. And I always use it without administrator rights. Right now I started MoI+ObjLib in a sandbox environment with all administrator rights blocked. Everything is ok. I can create and delete objects. Maybe something wrong with your filesystem rights?
Did you noticed this issue with ObjLib only?

Reply


From: BurrMan [#22]
 8 Feb 2014
To: ALL

"""Did you noticed this issue with ObjLib only?""""""""""

I havnt tested the while thing yet. But since you said it should do that, then let me do some further tests. It could just be something in the method I copied things over.

It shouldn't be anything with my filesystem. But, I use MoI standalone, and HAVE copied/moved/copied the install folder around, which may have reset some of the default permissions on the folder.

I'll take a deeper look at it in a bit Max. Thanks for the heads up.

Reply


From: mattj (MATTJENN) [#23]
 8 Feb 2014
To: ALL

I tried to install on a mac running latest OS and all I get is a white MOI window with nothing in it. I dragged the 3 folders from the zip file into the drive_c/moi folder . . . . is there something i missed . . .

Reply


From: Max Smirnov (SMIRNOV) [#24]
 8 Feb 2014
To: ALL

Hi mattj,

Try this ways (step by step):
1. disable all modules in moi/ui/customui/ directory. run MoI.
2. disable moi/ui/customui/CustomInit.js (just rename it). run MoI
3. restore original /ui/CommandBar.htm, erase moi/ui/customui, moi/objects, moi/snapshots directories. wait for more information. :)

Reply


From: bemfarmer [#25]
 8 Feb 2014
To: ALL

A couple of remarks on installation and setup Windows7 pc, based upon my attempts at installation :-)
1. Placing the zip file in the MoI directory did not permit unzipping there. (Administrator privilege not yet invoked.)
2. Copying the unzipped files from elsewhere may work?, but see item 4.
3. Running 7zip on the zip file from a download directory, and selecting the MoI directory in C:\programfiles(x86)\MoI3.0betaNov-19-2013 did
permit extraction of the files, but, see item 4.
4. It was necessary to right click on MoI.exe and select "run as administrator," in order for the customUI folder to be found.
---Success---. It is not necessary to select "run as administrator" again.

- Brian

Reply


From: Max Smirnov (SMIRNOV) [#26]
 8 Feb 2014
To: ALL

Great!
Yes, at the first start CustomUI tries to determine absolute path of moi directory. If successful it stores the path in moi.ini.
So, if MoI has been installed to disk C, this script tries to access C:\
Of course this action will be blocked by UAC

Reply


From: Michael Gibson [#27]
 8 Feb 2014
To: ALL

Hi Tommy,

> I personally enjoy MoI 10 times more now with Max' script installed :-)

It's cool that it has made things so much better for you!

Are there some particular plug-ins that you are using very frequently for your work? Which ones are they?

- Michael

Reply


From: Michael Gibson [#28]
 8 Feb 2014
To: ALL

Hi Max,

> it's very strange. I use MoI on win7 x64 with UAC on.

Is this having something to do with using the Windows ActiveX Scripting.FileSystemObject ?

One reason why I put in built in methods for some of that stuff was not only for Mac support but also since Vista the built in FileSystemObject seemed to be locked down often...

So what is it that you are missing from the built in stuff, was it just a "directory exists" function in addition to fileExists or was it other stuff as well?

You can probably use the moi.filesystem.getFiles() method as a way to check for a directory being present, as long as you are expecting it to have at least one file inside of it. Something like:

var files = moi.filesystem.getFiles( 'c:\\somedir', '*' );

if ( files.length == 0 )
..... no files found in that directory.

- Michael

Reply


From: DannyT (DANTAS) [#29]
 8 Feb 2014
To: ALL

The object library is a nice touch! a great feature for the Mechanical Engineer who does assemblies with common standard parts.

Thanks Max!

-

Reply


Show messages:  1-9  10-29  30-49  50-69  70-89  …  230-240

Reply to All

Back to thread list | Login

© 2017 Project Beehive Forum