Cplane problem/request

 From:  Michael Gibson
2270.8 In reply to 2270.7 
Hi Kevin,

> except that sometimes I also need to draw objects on the cplane
> in the front or side view also (not always top)

For the moment for getting the job done in the current release you can use some different scripts for doing the Front or Right-side views.

For Front use this one:

script:var vp = moi.ui.mainWindow.viewpanel.getViewport('3D'); if ( vp.projection == 'Parallel' ) { vp.projection = 'Perspective'; vp.setAngles( 65, 25, 0 ); } else { vp.projection = 'Parallel'; vp.setAngles( 90, 0, 0 ); }

For the Right-side view, use this one:

script:var vp = moi.ui.mainWindow.viewpanel.getViewport('3D'); if ( vp.projection == 'Parallel' ) { vp.projection = 'Perspective'; vp.setAngles( 65, 25, 0 ); } else { vp.projection = 'Parallel'; vp.setAngles( 90, 90, 0 ); }


I know that is not ideal since you will have 3 keys and you will need to remember which one to use for a particular view, but at least it will let you get the result currently.


> Maybe this request could be a checkbox option in cplane tool
> in the final V2 or next beta as I find I need to do this all the
> time when modelling stuff that is at odd angles over blueprints.

Yeah it seems like something for that is necessary.

So I guess the way that you're talking about there would be a second checkbox called something like "Orient ortho views" that would be under "Apply to all views". It would be checked by default but you could uncheck it for the task that you are talking about here.

I guess the big question that I have is about degenerate "edge-on" views.

Say you unchecked that option and then set a cplane to a 6 degree angle in the Top view like you were talking about.

What would you expect to happen now in the Front and Right-side views? If I literally use that same exact plane you would be looking at it exactly from the edge which is not a good situation, it basically means you can't pick points with the mouse there.

Do you think I should set those ones up to have their standard World-oriented planes if they would otherwise be viewing the cplane edge-on? Or maybe should all views keep their regular world grids unless they are looking right downwards on the new grid (angled or not)?

I'm not quite sure what to do with the other views in this scenario.

- Michael