MoI discussion forum
MoI discussion forum

Full Version: V4 beta Nov-27-2017 available now

Show messages:  1-12  13-32  33-52  53-64

From: Michael Gibson
1 Dec 2017   [#33] In reply to [#32]
Hi Vladimir, thanks for reporting these bugs.

I can repeat the command button staying stuck on, I should be able to fix that for the next beta.

I can't repeat the Text one though, so the problem is that you get 0 by default for those 2 values? EDIT: it was a locale dependent bug that's why it wasn't happening here.

Thanks, - Michael
From: Michael Gibson
1 Dec 2017   [#34] In reply to [#32]
Hi Vladimir, ok I see why I can't repeat the text one, it's because it was a locale dependent bug. This should be fixed now for the next beta, thanks!

- Michael
From: Unknown user
1 Dec 2017   [#35] In reply to [#33]
Hi Michael. I'm late with the answer and still answer. This error arises from the first beta. If you remember I wrote to you about the script Rebuild so Maksim Smirnov checked it on Mac and Windows and it manifests itself only in Windows.
Vladimir.
From: Michael Gibson
1 Dec 2017   [#36] In reply to [#35]
Thanks Vladimir, now I finally understand about the Rebuild problem too - yes it's this same issue. Since the bug was triggered only if your operating system locale uses commas for the decimal separator it wasn't happening here and I thought you were talking about a different thing then.

It will be fixed for the next beta and should fix the default values for both Rebuild and Text commands and possibly others.

- Michael
From: pixelhouse
1 Dec 2017   [#37]
Hi,

I've try to import a Stp-file from Solid Works to Moi, but it's dosn't work.
The import process is stopped without a message and i get an empty scene.
The file is 192mb big. I try the newest build from Moi 4.0 beta Nov 27.
smaller files are imported witout problems.

The import to Rhino works fine.

Best regards
Jörg
From: Marc (TELLIER)
1 Dec 2017   [#38] In reply to [#30]
Hi Michael,

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





Marc

Image Attachments:
Screen Shot 2017-12-01 at 9.39.52 AM.png 


From: JOOK187 (JAMSOG)
1 Dec 2017   [#39] In reply to [#20]
Hi Michael

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

JO
From: Michael Gibson
1 Dec 2017   [#40] In reply to [#37]
Hi Jörg,

re:
> I've try to import a Stp-file from Solid Works to Moi, but it's dosn't work.

Is it possible for you to send me the file? With a file that large you'd need to use a file sharing service like dropbox or OneDrive and send me a link at moi@moi3d.com . There isn't much I can do without being able to test the file over here, I will keep any file you send me private and confidential.

Thanks, - Michael
From: Michael Gibson
1 Dec 2017   [#41] In reply to [#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
From: Michael Gibson
1 Dec 2017   [#42] In reply to [#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
From: Michael Gibson
1 Dec 2017   [#43] In reply to [#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

Message 8704.44 was deleted


From: mdesign
2 Dec 2017   [#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).

Image Attachments:
tooltips.jpg 


From: pixelhouse
2 Dec 2017   [#46] In reply to [#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 :)
From: Michael Gibson
2 Dec 2017   [#47] In reply to [#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
From: Max Smirnov (SMIRNOV)
2 Dec 2017   [#48] In reply to [#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?
From: mdesign
2 Dec 2017   [#49] In reply to [#47]
Thanks Michael. It may be as you wrote. Maybe it is only lack of tooltips.
From: Michael Gibson
2 Dec 2017   [#50] In reply to [#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
From: bemfarmer
4 Dec 2017   [#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.
From: Michael Gibson
4 Dec 2017   [#52] In reply to [#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

Show messages:  1-12  13-32  33-52  53-64