project a curve on a surface using the current 3D view

Next
 From:  hadri1
11861.1 
hi,

Is it possible to project a curve on a surface using the current user view direction (in the 3D view) as the direction of projection.
I assume that it would need a script that compute the Cplane associated with the current 3D view position.

Hadri1
  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
11861.2 In reply to 11861.1 
Hi Hadri1, try this script here:

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

Once the cplane is set then inside the Project command click the "Use CPlane" button in the command options area.

To restore the cplane back to world coordinates you can use View > CPlane > "Reset CPlane" button, or right click View > CPlane, or set up a shortcut key with this:
script: moi.view.resetCPlane();

- 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
 From:  hadri1
11861.3 In reply to 11861.2 
hi Michael,
Thanks a lot.
it works just fine.


to gain some time during selection of the projection axis.
i suggest to define the start and end points using the keyboard.
0 as the coordinates for the start point et 0,0,1 for the end points.
it is way faster than changing the view to seection the z axis.
  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