MoI discussion forum
MoI discussion forum

Full Version: Align CPlane to Camera...

From: Rich (-RB-)
14 Dec 2015   [#1]
Hi Michael,

Quick one - possibly too hard to implement...I've been playing with several other 'sculpt' programs (3DCoat in particular) and found the ability to utilise the work plane that is projected from the camera ('Camera Workplane' in Cinema, for instance) very rewarding to manipulate massing (particularly while trimming/boolean-ing). Would it be possible to implement this in MoI in any way? Wouldn't need to be dynamic or anything but could enhance my workflow at least.

Cheers,

- Rich
From: Max Smirnov (SMIRNOV)
14 Dec 2015   [#2] In reply to [#1]
http://moi.maxsm.net/item/5
From: Rich (-RB-)
14 Dec 2015   [#3] In reply to [#2]
Great thanks Max ;)

- Rich
From: Rich (-RB-)
14 Dec 2015   [#4]
Soooo gooodddd
From: Max Smirnov (SMIRNOV)
14 Dec 2015   [#5] In reply to [#3]
you're welcome :)
From: Rich (-RB-)
4 Mar   [#6]
Hi - anyone have this Max S. script lyiing around I seem to have lost!

// Rich
From: pressure (PEER)
4 Mar   [#7] In reply to [#6]
Hi Rich,

It's on the Internet Archive:

https://web.archive.org/web/20151229011015/http://moi.maxsm.net/item/5

code:
script: /* Align CPlane with 3D view 1.0 */ var cp=moi.view.getCPlane(), tp=moi.ui.mainWindow.viewpanel.getViewport('3D').targetFrame, tl=moi.VectorMath.pointsWithinTolerance; if (tl(cp.origin,tp.origin) && tl(cp.zaxis,tp.zaxis)) { moi.view.resetCPlane() } else {moi.view.setCPlane(tp, false)}


- Peer
From: Rich (-RB-)
7 Mar   [#8]
Amazing thanks pressure!

// Rich