MoI discussion forum
MoI discussion forum

Full Version: Lots of unkown

Show messages:  1-2  3-22  23-42  43-62  63-82  83-102  …  363-372

From: Cemortan_Tudor
9 Dec 2017   [#23]
another script, same as in zbrush
quick snap 3d view to side/top/bottom other angles, if co-working with Iso view - perfect tool for 4 cutting
i'd wish this script in main moi!

there's a glitch .. while i was testing it so often, setting up upDownAngle, leftRightAngle, tiltAngle i still can see 1 extra frame of script execution... here Michael if will have time could help

Attachments:
_viewSideSnap.js


From: Michael Gibson
9 Dec 2017   [#24] In reply to [#23]
Hi Cemortan, I think there's a bug somewhere in setting tilt angles where you may need to set it twice in a row to get it to the full position, you might try setting it twice in your script and see if that helps for now.

- Michael
From: Cemortan_Tudor
17 Dec 2017   [#25] In reply to [#24]
nope, didn't work
as much i don't feel that my computer is slow & it's not handling operations ! as far as i notice JS is doing on the fly, can't control timer or delay of execution.
not too important afterwall
From: Cemortan_Tudor
17 Dec 2017   [#26]
Michael Hi !
It was mentioned before about loop, why not to grab from SpaceClaim the loop
alla(https://youtu.be/-oJ5Xypordo?t=1m47s)
if 1 edge is selected {
check if it's line/curve type ! check for closest surfaces
__if line
_____pick a point from edge of adjustment surface, make a frame from it with first 2 points, check the surface points if are alligned to the frame -> make selection
__if curves
_____can be 1'st, end point and any arbitrary from curve point -> frame & again checks -> make selection
}
// bassicly we are are checking if adjustment surfaces are flat, if not break )) manual selection!
if 2 edges are selected - run the scrit that u've done !

They are Limitations JS and this can be done only in CORE(i'll write about those later)
thanks !
From: Cemortan_Tudor
17 Dec 2017   [#27]
I consider them as BUGS !
1. do the same in moi
https://youtu.be/-QDjJ67b3kA?t=2m35s
2. can make a video if it's needed
draw a rectangle, show points ON
click on a curve and start dragging
my intention is to change the hight/skew of rectangle, instead i obtain weird solutions :)
From: Michael Gibson
17 Dec 2017   [#28] In reply to [#27]
Hi Cemortan, if you have points turned on and you drag on the main curve when it is not selected, it will use a drag mode used for adjusting control points to make the curve move through the point you are dragging, like this:



That method adjusts several control points in one action.

If you want to move the entire curve instead of adjusting control points while still having points on, you can do that by selecting the entire curve before dragging it, like this:



- Michael
From: mkdm
17 Dec 2017   [#29] In reply to [#28]
Hello Michael!

@You "...if you have points turned on and you drag on the main curve when it is not selected, it will use a drag mode used for adjusting control points to make the curve move through the point you are dragging"

Thanks a lot for the tip. Very useful.

I didn't know this behaviour!

Ciao!
From: r2d3
18 Dec 2017   [#30] In reply to [#29]
Indeed... Moi is a never ending box of surprises...

BTW Marco, whats the meaning of this nice wine's name? Or are you also in the wine business? ;-)


Image Attachments:
moi-wine.jpg 


From: mkdm
18 Dec 2017   [#31] In reply to [#30]
Hello Ralf!

LOL :)


Well..."Primitivo di Manduria" is a famous Italian DOP wine from the region "Puglia",
and "Moi", its name, means "Now", "Right now", "immediately".


https://en.wikipedia.org/wiki/Manduria#Primitivo_di_Manduria

http://www.cornalidivino.it/en/112/167/shop/varvaglione-moi-primitivo-di-manduria-dop


Ciao!

Marco (mkdm)
From: Cemortan_Tudor
29 Dec 2017   [#32]
moi.ild converted to Javascript for intellisense/dictionary
most of description was token from http://moi.maxsm.net/api/
VsCode
Sublime

upcoming geometryFactory

Attachments:
moi.js

Image Attachments:
moiJS_Sublime.png  moiJS_VSCode.png 


From: mkdm
29 Dec 2017   [#33] In reply to [#32]
WOW!!!

Amazing job Cemortan_Tudor !!

Very interesting.
Could be a great foundation to speed up script coding.

Keep on!

Ciao.
From: Cemortan_Tudor
3 Jan 2018   [#34]
geometryFactory for intellisense (vsCode)

upcoming HotKeys_Setup

Attachments:
geometry_factory.js

Image Attachments:
geomFactory.png 


From: bemfarmer
3 Jan 2018   [#35]
Result of a quick web search:

"IntelliSense is a general term for a variety of code editing features including: code completion, parameter info, quick info, and member lists. IntelliSense features are sometimes called by other names such as "code completion", "content assist", and "code hinting."."

So if such files were added to the coding/text editors/environments, Visual Studio, or Sublime, they would assist with writing MoI scripts?

- Brian
From: Cemortan_Tudor
3 Jan 2018   [#36] In reply to [#35]
yes, therefore where designed those scripts
-----
VsCode extension TypeSearch
Sublime extension All Autocomplete
---------
On http://moi.maxsm.net/api/ are not all the functionality provided by moi.idl & it's much easier to read JS scripts than IDL's
moi.js
. abstract variables are just for defining
. autocomplete - yes, both !
. JsDoc supported only by VsCode, haven't search deeper for sublime

geometryFactory.js -> created object to view factory inputs, screenshots are self explanatory
From: Cemortan_Tudor
7 Feb 2018   [#37]
perhaps it was such subject
ways to make grid/line array with scaling/rotation option (no node plz)
From: Michael Gibson
7 Feb 2018   [#38] In reply to [#37]
Hi Cemortan,

re:
> ways to make grid/line array with scaling/rotation option (no node plz)

You could try some of these plug-ins here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7574.5

The ScriptArray one is pretty simple code and can be customized.

- Michael
From: Cemortan_Tudor
8 Feb 2018   [#39]
thanks michael, i dont have time to code so i've asked !
From: mkdm
11 Feb 2018   [#40]
Hi Michael.

I'm sorry but i forgot how to reset a .ini setting that I accidentally changed, even if i don't remember :)

Now when I select any big objects and I move it, thnen the edges are not displayed during the move and only when i finish move they're displayed again.

Previously I had this feature turned off because i want to see always the edges when I move something.

What i have to do ?

Thanks.
From: Michael Gibson
11 Feb 2018   [#41] In reply to [#40]
Hi Marco,

re:
> Now when I select any big objects and I move it, thnen the edges are not displayed during the move
> and only when i finish move they're displayed again.
>
> Previously I had this feature turned off because i want to see always the edges when I move something.
>
> What i have to do ?

Please see here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7987.2

- Michael
From: bemfarmer
11 Feb 2018   [#42]
With regular MoI settings, a couple of weeks ago, or so, when I was very very very zoomed in, I noticed a portion of some objects were not shown completely.
When I unzoomed, everything was normal. (I consider it normal behavior with standard settings.)
- Brian

Show messages:  1-2  3-22  23-42  43-62  63-82  83-102  …  363-372