Select a Face and run the create command to create a workplane, Only works with single face selections for now
If you have something selected the tools axis will lock to the workplane direction.
If nothing selected the workplane grid will become Live, meaning you can create objects over the grid.
Heres another example of the script doing its work:
Stuff I want to implement:
-Add support to create the workplane from other selections, more than one face, object pivots, edges and vert selections.
-Add a menu, so you can store workplanes and load them and use the commands from there.
-Ability to edit the workplane you are using.
- Fix some issues
Replies
Sure! Sounds like a cool suggestion, will see if I can implement it this weekend.
Thanks for the comment guys! I should have an update after this weekend
Awesome stuff so far dude, hope you release it soon
Vick.
Looks very promising! I have 3 ideas on this script:
1) Rotate plane to make specific edge horizontal (say, X-axis) or point axis to some vertex or so.
2) Aling camera to workplane and make it orthogonal
3) The primitives are created with local axes matching the axes of the plane. One of your gifs show the cub created with subtle rotation.
http://cganimator.com/csworkplane-1-0/
I agree with Vickgaza though: would be really handy to have the orthographic views conforming (= adapting) to the workplane positioning, as it happens in Modo.
Btw nicely done so far: keep up the good work.
The script has 2 functions, the workplaneon and workplane off commands. Basically select a face, run the create workplane command and use it. When you no longer need it you need to run the workplane off command, which destroys it. So make sure to assign WorkplaneOff() and WorkplaneOn() to some hotkeys or something.
This was developed in maya 2016.5, it should work on older versions but it has not been tested
Gonna try it in LT 2017 and pray it works
Looks super useful.
In Maya 2016 error:
# Error: TypeError: file C:\Program Files\Autodesk\Maya2016\Python\lib\site-packages\pymel\internal\pmcmds.py line 133: Invalid flag 'oo' #
Thx for the script. Im use 2016.