V4 beta Nov-27-2017 available now
 1-20  21-40  41-60  61-64

Previous
Next
 From:  Michael Gibson
8704.41 In reply to 8704.38 
Hi Marc,

> Conrcerning the memory limit on Mac, there might be a hint there :
> https://stackoverflow.com/questions/12268925/limit-memory-allocation-to-a-process-in-mac-os-x-10-8
>
> It's the "Answer" commen

I've also seen a lot of people saying that ulimit is not working as it's supposed to on Mac as well though. I guess I can give it a try though.

- 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:  Michael Gibson
8704.42 In reply to 8704.39 
Hi JO,

> Have you any idea how i can bypass my virus scanning to enable me to install v4.0 beta?
>
> Avast says its a virus and will get back to me

Sorry I'm not familiar with Avast so I don't know what you do specifically but usually there is some way in the Anti-Virus program's UI to allow overrides to enable specific programs to run.

- 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:  Michael Gibson
8704.43 In reply to 8704.38 
Hi Marc,

> Conrcerning the memory limit on Mac, there might be a hint there :
> https://stackoverflow.com/questions/12268925/limit-memory-allocation-to-a-process-in-mac-os-x-10-8
>
> It's the "Answer" comment

So unfortunately that's running ulimit from the shell, not using the version that's callable from inside of a program.

See here:
https://stackoverflow.com/questions/3274385/how-to-limit-memory-of-a-os-x-program-ulimit-v-neither-m-are-working

And here:
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man3/ulimit.3.html

"The ulimit() function will get and set process limits. Currently, this is limited to the maximum file size."

It appears that it may be possible to limit max process memory size for all processes by setting some system initialization settings, since that's a system wide thing it doesn't really make sense for MoI to try and alter that on its own.

So as far as I can tell there isn't any way set up on the Mac for an individual process to limit the amount of memory that the OS will give it.

- 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

Message 8704.44 deleted 2 Dec 2017 by BEMFARMER

Previous
Next
 From:  mdesign
8704.45 
I`ve found that Object Snap "on surface" doesn`t work in 3d window. There is no tooltip also as it is in v3 on other snaps in 3d window (which show what snap is it - please look on attachment).

EDITED: 2 Dec 2017 by MDESIGN

Image Attachments:
Size: 148.3 KB, Downloaded: 58 times, Dimensions: 1255x559px
  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:  pixelhouse
8704.46 In reply to 8704.40 
Hi Michael,

I will send you a file on monday, when I'm back in our office.

I've send it to you via Wetransfer :)

EDITED: 4 Dec 2017 by PIXELHOUSE

  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
8704.47 In reply to 8704.45 
Hi Bartosh,

> I`ve found that Object Snap "on surface" doesn`t work in 3d window. There is no tooltip also as it is in
> v3 on other snaps in 3d window (which show what snap is it - please look on attachment).

Yes text display inside of viewports has not been implemented quite yet, I'll be working on that after getting the bug fix list pared down first.

I can't repeat the "on surface" problem over here, is it possibly just confusing at the moment without any labels being shown yet?

- 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)
8704.48 In reply to 8704.1 
Hi Michael,

Thank you!

>>moi.filesystem.openFileStream - switch to use QTextStream
I tested it with nodeeditor - everything is OK now.

>>moi://appdata/ - add support for moi://appdata/ URLs so you can load HTML resources like images from the MoI app data directory
Great!
I rewrote customui and nodeeditor, now both this projects can be moved to appdata dir. I think it's a best place for all MoI extensions.
Everything works good, but I noticed that moi.filesystem.getAppDataDir (windows version) always returns path "C:\Users\<...>\AppData\Roaming\Moi\" even if I use MoI in portable mode.
I think it should return ProcessDir path in this case. Or maybe you can give me an advice how can I check the run mode?
  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:  mdesign
8704.49 In reply to 8704.47 
Thanks Michael. It may be as you wrote. Maybe it is only lack of tooltips.
  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
8704.50 In reply to 8704.48 
Hi Max,

> I rewrote customui and nodeeditor, now both this projects can be moved to appdata dir.
> I think it's a best place for all MoI extensions.

Yes, I think so too. The one area of concern I have is how to support extensions that require a particular version of MoI. For example in MoI v5 there will be some new function added and an extension will want to use it, that means that particular extension won't work with v4. So that may be a problem if MoI just tries to load all extensions it finds in appdata.


> I use MoI in portable mode.
> I think it should return ProcessDir path in this case. Or maybe you can give me an advice how can I check the run mode?

Well, there isn't really a distinct mode for portable, it's just inherently portable because it has all its dependencies packaged with it in the same directory and doesn't require anything external to be set up in order to run.

What about if you could customize the appdata directory by an entry in moi.ini ? Maybe with a keyword of "ProcessDir" being recognized since if you're running from a USB drive you might not want to hard code the drive letter?

- 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:  bemfarmer
8704.51 
The "Nudge" shortcut key scripts do not seem to be working. (?)
- Brian
EDIT: correction, Nudge works fine, if the .js is in the command directory.

EDITED: 4 Dec 2017 by BEMFARMER

  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
8704.52 In reply to 8704.51 
Hi Brian,

re:
> The "Nudge" shortcut key scripts do not seem to be working. (?)

It seems to be working ok for me over here. There are a few different versions of Nudge though, can you please post the one you're using that doesn't work, and also your shortcut keys setup for calling it?

- 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:  bemfarmer
8704.53 In reply to 8704.52 
The error is mine :-)

I did NOT copy the Nudge.js file over to MoI4beta. I guess that Nudge is not a standard MoI command...

I did copy _Nudge.js over, which is a waste of a line in Max's customUI, given that my shortcut keys are for example,

Key: DownArrow command:Nudge Down
Key: LeftArrow command:Nudge Left

Key: PageDown

(Well part of this post disappeared.)
Nudge works fine.
My install method, at the office anyway, was faulty.
I need to check for other missing non _ scripts.

- Brian

EDITED: 4 Dec 2017 by BEMFARMER

  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:  val2
8704.54 
here is a video showing what I was talking about, I'm using win10. I can't get the the text area to respond when I am exporting.
cheers,
Val
I finally figured it out. A person has to hit "enter" inside the text box to get it to respond. I was hitting "enter " ouside of the box and it would export Funny how one does something everyday and then suddenly can't work out the simplist thing.

EDITED: 14 Jul 2021 by VAL2

  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
8704.55 In reply to 8704.54 
Hi Val, thanks - yeah I can repeat the "text field requires enter" problem over here too. I'll be working on that in the next couple of days to fix it for the next beta.

- 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:  scott (SSHWARTS)
8704.56 In reply to 8704.43 
If I'm not mistaken, with QT (at least previous versions), you can set the stack size of an individual thread. The default it's set to the same size as the main thread. I don't know if you're architecture is such that controlling the thread size in a process would help.
  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:  OGAR (OGAROGAR)
8704.57 
Dose anyone know how to get the Custom UI working in V4 BETTA?
  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
8704.58 In reply to 8704.56 
Hi scott - it's not stack size that I was looking to set, it's a limit on the total amount of committed virtual memory pages for the entire process. There does not seem to be any mechanism on Mac to set this particular kind of limit. The UNIX function to do it, setrlimit, does not do anything for certain areas that are handled by the Mach part of the kernel instead of the BSD part of it, see here: https://lists.apple.com/archives/unix-porting/2005/Jun/msg00115.html and note that RLIMIT_DATA is not enforced.

But it's not really a big problem though, it's not something that you should need to mess with normally.

- 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:  Michael Gibson
8704.59 In reply to 8704.57 
Hi ogarogar,

> Dose anyone know how to get the Custom UI working in V4 BETTA?

I think Max has said that he's planning on making an updated version of it.

- 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:  bemfarmer
8704.60 In reply to 8704.57 
For Windows7:
With the exception of object library, the customui works pretty good in V4Beta, with maximized MoI window.
64 bit MoI4beta located at c:\program files\yourMoi4betaDirectoryName (\ui).


In the MoI4 ui folder, the Command bar must be modified a little bit, as previously described in November posts.
http://moi3d.com/forum/index.php?webtag=MOI&msg=8675.40

Copy over the customUI for MoI3, to ui folder, and scripts with a _ prefix to MoI's commands folder.
I think that will do it... (?)

Disclaimer, use at your own risk, and make backups...IMHO it is not particularly dangerous.
Or wait for Max's upgrades...

- Brian

Edit, deleted last paragraph.

EDITED: 10 Dec 2017 by BEMFARMER

  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-20  21-40  41-60  61-64