connect2Surfaces

Generates a new surface to join the two selected ones (if they are not in contact).

Inline mode usage

connect2Surfaces -n name -p nameSurface1 nameSurface2 Connects the two surfaces named "nameSurface1" and "nameSurface2" by creating a new surface that joins them. The name of the joining surfaces will be "name".

Interactive mode usage:

Invocation
connect2Surfaces
Parameters
  • -n name: name of the new generated surface
  • -p name:Surface1 nameSurface2: name of the surfaces to connect

Example:

Suppose we have created two hemispherical surfaces, as shown in the next figure:

Figure 1. Two separated hemispheres


Let's also suppose we want to connect them to end up with a capsule-shaped object. To achieve this, the connect2Surfaces command can be used the following way:

command> connect2Surfaces
Select the first surface (Press enter when done or Esc to Cancel): (Select one of the hemispheres)
Select the second surface (Press enter when done or Esc to Cancel) (Select the other hemisphere)
Please Wait...
command>

Or even, if we are dealing with named surfaces, and the hemispheres are named "hemisphere1" and "hemisphere2":

command> connect2Surfaces
 -p hemisphere1 hemisphere2
Please Wait...
command>

The final result after the execution of this command is shown in the next figure:

Figure 2. Result of the execution of the connect2Surfaces command