Single script to select different things
 1-19  20-31

Previous
Next
 From:  Psygorn (DRILLBIT)
11127.20 In reply to 11127.19 
Hi Michael,

With this script one can select loop of edges?

How about edges that are connected to a face?

I should assign a short key to this script, if I want to use it?

- Psygorn
  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
11127.21 In reply to 11127.20 
Hi Psygorn,

re:
> With this script one can select loop of edges?

It looks like it is set to select a boundary loop if you have edges selected before running it.


> How about edges that are connected to a face?

Looks like if you have faces selected it will select the edges of the face.


> I should assign a short key to this script, if I want to use it?

Yes set up a shortcut key under Options > Shortcut keys and copy/paste in the above script for the "command" part of the shortcut key.

- 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:  Psygorn (DRILLBIT)
11127.22 In reply to 11127.21 
Hi Michael,

I did what we usually do to assign a short key to MOI commands/scripts but I get this massive Error!



I want to have the effect you can see here: https://www.youtube.com/watch?v=9DBqE_CX7Zo (after 0:55 of the video you can see my desired effects; How can I have these? )

- Psygorn
  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
11127.23 In reply to 11127.22 
Hi Psygorn, there were a couple of things in there that was preventing it from working when pasted into a single line, try getting it again.

- 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:  Psygorn (DRILLBIT)
11127.24 In reply to 11127.23 
Hi Michael,

I tried getting it again and it works (No Error now)

But I cannot replicate the effect in the YouTube Video I sent to you earlier!

For example when I have a face selected it cannot select edges that are in contact with the selected face!

I am using this script for a long time now it selects edges of a selected face "script: /* Select edges v1.4 */ var gd=moi.geometryDatabase, so=gd.getSelectedObjects(); function ss(o,v){o.setProperty("selected",v)} function sl(o){ for ( var i=0; i<o.length; ++i ) o.item(i).getEdges().invertProperty("selected");} gd.selectLoop(); sl(so.getFaces()); sl(so.getSolids()); sl(so.getOpenBReps()); sl(so.getSingleFaceBReps()); ss(so.getBReps(),0); ss(so.getFaces(),0);"

But I want to have more than that and be able to select edge loops as well as corner edges (like the YouTube video) I appreciate your help in advance :-)

- Psygorn
  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
11127.25 In reply to 11127.24 
Hi Psygorn,

re:
> For example when I have a face selected it cannot select edges that are in contact with the selected face!

That's working ok for me over here. For example when I have this face of a box selected:


When triggering the script it results in this edge selection:



If you're not able to get that result, can you please post your moi.ini file so I can see if you've got the entire script in there? You can find your moi.ini file's location by going to Options > General > "Edit .ini file" button. A dialog will pop up and show you the location of the moi.ini file.

- 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:  Psygorn (DRILLBIT)
11127.26 In reply to 11127.25 
Hi Michael,

I want this effect:



and this one:



In a YouTube video which you can find it here: https://www.youtube.com/watch?v=9DBqE_CX7Zo it is mentioned in MOI V5 there are new features and from 00:55 seconds afterwards the above features are shown!
I saw the video and I thought I would want those features too. So, I reached out to you. :-)

- Psygorn
  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
11127.27 In reply to 11127.26 
Hi Psygorn, what you show there are not new features for MOI v5, they are features of some scripts that the person making those videos has made.

> I saw the video and I thought I would want those features too. So, I reached out to you. :-)

You'll need to reach out to them, those are not built in functions in MoI as of 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:  Psygorn (DRILLBIT)
11127.28 In reply to 11127.27 
Hi Michael,

Oh, Ok :-)

Thank you.

- Psygorn
  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:  Frenchy Pilou (PILOU)
11127.29 In reply to 11127.28 
It's external plugings like the Max Smirnov like! ;)
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  pressure (PEER)
11127.30 In reply to 11127.28 
Hi Psygorn,

The corner edges plugin is here:

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

The tangent propagation shown in the video is probably using "_ExpandSelectionTangecy" from here:

http://moi3d.com/forum/lmessages.php?webtag=MOI&msg=8665.195

- Peer
  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
 From:  Psygorn (DRILLBIT)
11127.31 In reply to 11127.30 
Thanks PEER,

- Psygorn
  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-19  20-31