Command Line 6.2.9

You are reading an old version of this user guide. The information contained here has been archived and is presented for reference reasons, but it may not be up to date.

3.77. project command

Description: This command projects points and curves onto surfaces or objects. The original points and curves are not modified.

Inline mode usage:

  • project -h: Displays the help file that summarizes the parameters for this command.
  • project -s <nameToProject1> <nameToProject2> ... –targets <nameSurface1> <nameSurface2> ...: Project the selected points and curves onto the closest points of the target surfaces selection.
  • project -s <nameToProject1> <nameToProject2> ... –targets <nameSurface1> <nameSurface2> ... -dir <startX> <startY> <start> <endX> <endY> <endZ>: Project the selected points and curves onto the target surfaces selection according to the vector defined by the differences <endX-startX> <endY-startY> <endZ-startZ>.

Interactive mode usage:

  • Invocationproject or project -dir
  • Parameters:
    • Objects to project. Selection of points and curves to be projected. They are not modified.
    • Target surfaces. Selection of surfaces and objects where the points and curves are projected.
    • Start point. Origin of the projection direction. This parameter is only required when the option -dir is included in the invocation.
    • End point. End of the projection direction. This parameter is only required when the option -dir is included in the invocation. 

Example:

We’re going to project a circle onto a sphere by using the two different modes. 

The next commands create the objects required for the projection.

command> circle

Center [x y z]: 0 0 0

Radius [double]: 0.1

command> sphere

Select center [x y z]: 0 0 -1

Radius [double]: 2

command> 

If no options is included in the invocation, the project to the closest point is done. This projection may modify the dimensions of the resulting curves.

If the option -dir is included in the invocation, two points are required to define the projection direction.

Results:

project

Project a circle onto a sphere

 

project -dir

Project a circle onto a sphere by direction

We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree