Network and Planar

Next
 From:  Andrei Samardac
6077.1 
Just combined Network and Planar to one shortcut, works good )
Michael may be it is reason to merge - Network, Planar and nSided in one command?

EDITED: 1 Aug 2013 by ANDREI SAMARDAC

  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:  Andrei Samardac
6077.2 In reply to 6077.1 
Oops sorry, looks like it does not work well, Michael I used this script: moi.command.execCommand( 'network' ); moi.command.execCommand( 'PlanarSrf' );
May be it has to be modified to work well?
  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
6077.3 In reply to 6077.2 
Hi Andrei, right now it's difficult to directly call 2 commands in sequence like that from a script, because when in a script you call moi.command.execCommand(), that begins the startup process for launching that command but the script itself does not wait until the command is finished. And once you start up a new command it will cancel the one that is currently in the startup process.

In the future I want to add an option to execCommand() to wait to make it easier to string together commands like that.

- 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:  Andrei Samardac
6077.4 In reply to 6077.3 
Thanx, but what do you think about this,
May be it is reason to merge - Network, Planar and nSided in one command?

-----------------------------------------
Portfolio: www.samardac.tumblr.com
  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
6077.5 In reply to 6077.4 
Hi Andrei,

> May be it is reason to merge - Network, Planar and nSided in one command?

It tends to be difficult to merge commands that do different things with the same inputs - you can have a planar set of edges for example but running Planar on it generates a trimmed plane, while NSided generates a non-planar tangent covering.

I have thought some though about possibly having a general "Fill" command that might be some combination of things.

- 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:  Andrei Samardac
6077.6 In reply to 6077.5 
I thought this way for example, you run this merged command and it looks: If it can made network it made if not it tried to make planar if impossible than NsiDeded. Something like this. These command can be ran only in certain circumstance. They can not be run all at the same time. Becouse for example planar have to have planar curves, Nsided must have surfaces, Network non planar curves not less then 3 if I'm right)
Just some kind of sorting out the commands.
  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:  Andrei Samardac
6077.7 In reply to 6077.6 
Just thought a bit... nSided and Network can be run at the same conditions only when edges are selected. So may be it is not simple work to merge them together.

EDITED: 1 Aug 2013 by ANDREI SAMARDAC

  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:  Michael Gibson
6077.8 In reply to 6077.6 
Hi Andrei,

> Becouse for example planar have to have planar curves, Nsided must have surfaces, Network
> non planar curves not less then 3 if I'm right)

Network can work on planar curves, and it could be possible that you might want to create a planar network in order to use the resulting surface structure in Flow.

For Planar / NSided, this is the kind of situation that can apply to both:



- Michael
Attachments:

  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