MoI discussion forum
MoI discussion forum

Full Version: ping - Max Smirnov

Show messages:  1-7  8-27  28-47  48-67  68-87

From: Max Smirnov (SMIRNOV)
22 Nov 2017   [#28] In reply to [#25]
Hi Marco

>>ERROR : Cloth.v.0.96.2014.02.23.zip (Mon Nov 3 23:56:24 2014)
Thank you, I know about this script error. I'll check it this weekend.

>>Maybe you could find interesting this conversation..
OK, I'll read it right now
From: bemfarmer
22 Nov 2017   [#29] In reply to [#27]
Hi Max,
Upon further testing: If there is a space following the final U, then the UV mode pops up, the first time only.
(I was picking up a trailing space when highlighting for Ctrl_C, Ctrl_V) (silly error)
:-)
From: Max Smirnov (SMIRNOV)
22 Nov 2017   [#30] In reply to [#29]
:))
I added a command which removes all spaces from script parameters.
You can download new version of the script from my file archive.
http://moi.maxsm.net/files
From: Metin Seven (METINSEVEN)
23 Nov 2017   [#31]
Hi Max,

I just nticed that cMorph doesn't work in the MoI beta. I get this error message:

———————

SyntaxError: Expected an identifier but found 'var' instead

cMorph.js line 47

43: curvesF.setInput( 0, objectpicker.objects );
44: curvesF.setInput( 1, 'Refit' );
45: curvesF.setInput( 2, 0.001 );
46: var curves = curvesF.calculate(),
47: >> var closedCurves = curves.item(0).isClosed && curves.item(1).isClosed;
48:
49: moi.ui.beginUIUpdate();
50: moi.ui.hideUI( 'SelectionPrompt' );
51: moi.ui.showUI( 'MorphOptions' );

———————

Many thanks in advance for updating it.
From: r2d3
23 Nov 2017   [#32] In reply to [#31]
46: var curves = curvesF.calculate(),


there is a , instead a ; at the end of the line
Perhaps it helps if you change it...

Ralf
From: Metin Seven (METINSEVEN)
23 Nov 2017   [#33] In reply to [#32]
Yep, that turned out to be the culprit, thanks!

Here's the corrected version:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8682.79
From: Max Smirnov (SMIRNOV)
23 Nov 2017   [#34] In reply to [#33]
Hi Metin,

thank you! :)
I uploaded fixed version to my file archive
From: mkdm
23 Nov 2017   [#35] In reply to [#34]
@You : "I uploaded fixed version to my file archive"

Perfect Max! Thanks.
From: James (JFH)
23 Nov 2017   [#36] In reply to [#19]
Hi Max

I updated my post with new error message

http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.757

James
From: James (JFH)
24 Nov 2017   [#37] In reply to [#17]
Hi Max

Excepting the bug "Invalid function argument 1 line0" I get when running pentakisDodeca&TruncIcosa.nod (see http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.757), all other .nod files run perfectly.

However generally I have the following error intermittently when trackpad navigating & resizing within NE interface. It appears to be triggered by 2 finger gestures (pan & zoom)



TypeError: undefined is not a constructor (evaluating 'this.getCanvasWindow()')

moi://ui/nodeeditor/core/main.js line 4509

4505: case "touchend": type="mouseup"; break;
4506: default: return;
4507: }
4508:
4509: >> var window = this.getCanvasWindow();
4510: var document = window.document;
4511:
4512: var simulatedEvent = document.createEvent("MouseEvent");
4513: simulatedEvent.initMouseEvent(type, true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY, false, false, false, false, 0/*left*/, null);



Thank you for your great work
James
From: James (JFH)
24 Nov 2017   [#38] In reply to [#37]
Hi Max

I spoke too soon. Attached is an example that runs v3 but not v4.

James
From: Metin Seven (METINSEVEN)
24 Nov 2017   [#39] In reply to [#34]
Hi Max,

I feel like a real coder now, having changed a "," into a ";". :D

Thank you too!
From: Frenchy Pilou (PILOU)
24 Nov 2017   [#40] In reply to [#39]
Yes you just understand that the world's stability depends only on "'" , ",", ":" and sometime ";" without speak about "{" or "}" :)

And alas surely miss some important ones! For exaple the "." :D
From: Metin Seven (METINSEVEN)
24 Nov 2017   [#41] In reply to [#40]
@ Frenchy: :D
From: mkdm
24 Nov 2017   [#42] In reply to [#28]
Hello Max.

I've assembled another (I hope) useful model to test your SubDiv scripts and its results.

You can find it at :

http://moi3d.com/forum/index.php?webtag=MOI&msg=8667.47

Ciao ;)

Marco (mkdm)
From: Max Smirnov (SMIRNOV)
24 Nov 2017   [#43]
James
>>I updated my post with new error message
Lets wait the next MoI v4 beta

>>However generally I have the following error intermittently when trackpad navigating & resizing within NE interface.
Sorry, I don't use trackpad, so I can't find a solution of this problem right now.
But few weeks ago I made some changes in functions which affects on getCanvasWindow. I will release a new NE version soon.

Metin
>> I feel like a real coder now, having changed a "," into a ";". :D
Thank you :) It was just a typo.

Marco
Thank you
But I have no plans to continue development of the Subd script this year.
From: mkdm
24 Nov 2017   [#44] In reply to [#43]
Hi Max.

@You : “Lets wait the next MoI v4 beta”

Wise decision!

@You : “But I have no plans to continue development of the Subd script this year.”

No problem Max. I can understand.
You already did a wanderul job (and also for free!)

Ciao.
From: James (JFH)
25 Nov 2017   [#45] In reply to [#43]
Hi Max

Thanks for the update v.0.98.

FYI

>> I made some changes in functions which affects on getCanvasWindow.<<

Despite the changes, the error perists with2 finger trackpad gestures.



TypeError: undefined is not a constructor (evaluating 'this.getCanvasWindow()')

moi://ui/nodeeditor/core/main.js line 4508

4504: case "touchend": type="mouseup"; break;
4505: default: return;
4506: }
4507:
4508: >> var window = this.getCanvasWindow();
4509: var document = window.document;
4510:
4511: var simulatedEvent = document.createEvent("MouseEvent");
4512: simulatedEvent.initMouseEvent(type, true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY, false, false, false, false, 0/*left*/, null);



I understand that without a MacBook Pro or trackpad periphery device you can't test & find solution, but am reporting it so you are aware.

Thanks
James
From: Max Smirnov (SMIRNOV)
26 Nov 2017   [#46] In reply to [#45]
Hi James,
thank you for this bugreport

I made some changes to main.js
http://moi.maxsm.net/nodeeditor/main.js
Try it
From: James (JFH)
26 Nov 2017   [#47] In reply to [#46]
Hi Max

Thank you for main.js
It fixed the error message, however there is still some anomalous behaviour with zoom (2 fingers up & down)
Sometime it works, while other time it draws a selection box. This is also true for panning: works intermittently.

Also control clicking on a node does not create a copy of the node.
This is a particularly useful feature, but I think it may have been absent prior to new main.js

Thanks for looking at this. At least now it is possible now to work with NE in v4

Regards
James

Show messages:  1-7  8-27  28-47  48-67  68-87