Split Construct and Transform Panels
 1-5  6-25  26-28

Previous
Next
 From:  AlexPolo
8064.6 
Hi Michael,

Migrating to MOIV4 and tried this SIDEPane change but get this weird split I assume another setup is required for V4. If you could advise would be great.

thanks again Alex.



EDITED: 26 Jan 2020 by ALEXPOLO

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8064.7 In reply to 8064.6 
Hi Alex, yes the UI structure is slightly different from V3 to V4, which means that you can't just copy the V3 version of SidePane.htm into V4. Instead you need to edit the V4 file. But the structure is similar enough that using the same directions described above for how to edit the V3 file (http://moi3d.com/forum/index.php?webtag=MOI&msg=8064.2) will also work for V4.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
8064.8 In reply to 8064.6 
Hi Alex,

You can use my sidepane mod as example. In my opinion it's a better way than editing sidepane.htm directly.
Copy it to appdata/startup directory

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Marbleman
8064.9 In reply to 8064.8 
Thanks Max,

A great help!

And thanks for all of your scripts.

Regards,

James E
www.jameselliott.co.uk
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8064.10 In reply to 8064.8 
Thank you very much Max!

Very interesting approach as usual.

One of the things I much like of your programming style is that first of all you give to your business logic a solid foundation (classes, workflow, data structures), where later it's easy to put the hands on.

Thanks a lot.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  moritzbock (MORITZ)
8064.11 In reply to 8064.8 
Hi Max,
very helpful - thank you
-moritz
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8064.12 In reply to 8064.8 
Hi Max, it's a good idea but one pretty big downside is that it will be easy for this script to break things if the default UI changes in structure, either in the ordering of palettes or for any new things added to Draw curve or Construct.

And with it running automatically it will be pretty easy for someone to forget they installed it and they will get confused why some new version's UI is missing things.

The content and ordering of the side pane palettes has not changed for a long time, but at some point it will when new areas like dimensioning are added.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
8064.13 In reply to 8064.12 
Hi Michael,

yes, you're right. I wrote this script for myself, so I didn't think about this.
I updated the script. Now it checks a length of SidePane.htm body tag.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8064.14 In reply to 8064.13 
Hi max.

Hmmm...Michael as pointed out the right thing...as usual.
I didn't realize that issue. But for me your setup is a good starting point.
I really like "all things in less panel" :)

@You : "...I updated the script..."

Where's the updated version ? Thanks.


@You : "...Now it checks a length of SidePane.htm body tag..."

Could you please be more precise ? What's the thing you are checking ?

Thanks a lot.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
8064.15 In reply to 8064.14 
Hi Marco,

>>Where's the updated version ?
download the script again.
http://moi3d.com/forum/index.php?webtag=MOI&msg=8064.8

>>What's the thing you are checking ?
I added a line:
code:
if (doc.getElementsByTagName("body")[0].innerHTML.length === 19454) ... 
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8064.16 In reply to 8064.15 
Thanks Max, that will prevent some future confusion I'm sure.

When that does change it shouldn't be difficult to update this script as well at that point.

Thanks, - Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8064.17 In reply to 8064.15 
Thanks a lot Max!

@You : "...I added a line:..."

A neat trick :)

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
8064.18 
Hi Max,

Many thanks in advance - unfortunately I have copied into this location and I cant get it to work.

C:\Users\lapkad\AppData\Roaming\Moi\startup

using win10 and MOI FEB release.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8064.19 In reply to 8064.18 
Hi Alex.

@You : "...C:\Users\lapkad\AppData\Roaming\Moi\startup..."

Very strange...for me works flawlessly.

Ciao.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8064.20 In reply to 8064.18 
Hi Alex, are you launching MoI by double clicking on a file or just launching it all by itself?

@Max - when MoI is launched and given a file to open, the file will be opened before startup scripts run and the pieces of the sidepane that holds the current filename will be different and so will yield a different length. So maybe get the length of the id="MiddleBody" element that won't include the current filename, or look at the SidePane.htm file directly instead of the dynamic HTML content...

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Finema
8064.21 In reply to 8064.20 
Hi Michael
it's the same for me on Mac
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8064.22 
On Windows 7, using taskbar icon to start MoI4betaFeb2018, or double clicking on a .3dm file, the Feb 27_2018 version does not work, although the initial version did work, and the newer version works with the if line commented out.

On regular monitor, the two menus overlap, and must be alternately selected. Both or either can be minimized.

On my 4K monitor, both Draw/Edit and Construct/Transform menus show up in full, one above the other.
(I have Scene browser placed "adjacent")
There could be room for more icons on the 4K monitor...

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
8064.23 
Hi Michael,

As bemfarmer reported starting new doc using startup icon or opening existing file same outcome.

Thanks
Alex.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8064.24 In reply to 8064.23 
Hi Alex, try editing the MiniSidepane.js file and removing that line that starts with "if" (the 2nd line in the file).

That should then work for the moment until an update can be done.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
8064.25 
Hi Michael,

Thanks for response between you and Max - make MOI the golden arrow in CAD. Have to say that layout mode is much more inline with modern screen resolutions and having the need to switch between pallets. The ol'mouse finger aint what it used be..

Awesome
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-5  6-25  26-28