Copyright (c) 2024
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Compatibility
-
2013
History
Created: | 11/22/2011 |
Last Modified: | 04/19/2016 |
File Size: | 1.99 KB |
Keywords
Reviews Love it? Or maybe you want to share some creative ways you're putting this item to use.
-
Qu!ck said over 6 years ago:
// Fill Selection Tool for Maya - 2016 (2017, 2018) version
// Author: Daniel Brkovic, Tom Ferstl
// Special Thanks to: Tom Ferstl, Karsten Wagenknecht, David Kirchner, Kyra Buschor
// Date: 27-03-2018global string $fsProject[], $fsUVCut[];
global proc fillSelection()
{
selectionFillStart;
scriptJob -ro 1 -e "SelectionChanged" selectionFillFinish;
}global proc selectionFillStart()
{
global string $fsProject[], $fsUVCut[];
string $edgeSelection[] = `ls -sl`;
string $objectSelection[] = `ls -sl -o`;
// UV Projection to create a shell for the selection
string $fsProject[] = `polyProjection -type Planar -ibd on -cm on -uvSetName selectionFill -md x ($objectSelection[0] + ".f[*]")`;
polyUVSet -currentUVSet -uvSet "selectionFill" $objectSelection[0];
string $fsUVCut[] = `polyMapCut $edgeSelection`;
SelectFacetMask;
}global proc selectionFillFinish()
{
global string $fsProject[], $fsUV[], $fsUVCut[];
ConvertSelectionToUVShell;
polyUVSet -d -uvSet "selectionFill";
// get history before deleteUV command
string $historyIntersector;
$historyIntersector = `stringArrayIntersector`;
string $initialArray[] = `listHistory`;
stringArrayIntersector -edit -intersect $initialArray $historyIntersector;
// get current history nodes for intersector after
stringArrayIntersector -edit -intersect `listHistory` $historyIntersector;
string $result[] = `stringArrayIntersector -query $historyIntersector`;
// get difference history nodes
string $diff[] = stringArrayRemoveExact($result, `listHistory`);
// delete intersector and difference history nodes
deleteUI $historyIntersector;
delete $diff;
delete $fsUVCut;
delete $fsProject;
} -
D Kasper said over 7 years ago:
Hi Daniel, thank you for putting together an awesome script. -
MKote said almost 9 years ago:
same situation(( -
Daniel Brkovic said about 10 years ago:
Hi. Thanks for the feedback! I experience the same problem here. Although it sometimes still works. I'll have a look. -
szmatefy said about 10 years ago:
On Maya 2015 I select an edge loop, and running the script switches to face selection mode, and clicking results in all faces selected situation... -
evadceivorus said over 12 years ago:
Does the job, but it took me a while to figure out that a button click is needed to finish the script job. Could use a better step by step, a speed pass and most importantly, it needs to be able to preserve the users state of Maya (i.e. respecting the component selection mode I am currently in) -
HEO MANHONG said about 13 years ago:
Hi. First of all, I'm poor at English. Please understand this I was needed something like this!!! but How can i use this script? If possible, Can you explain a little more detail this script? I tried, as described below. I've put the fillSelection file on the scriptfold. C:\Users\******\Documents\maya\scripts Then, I was slected edge loops that i want to place, I ran the script. The end, Thank you for developing a good script. ps. Now the script is running well. Thank you very much. I am so happy because this script!! -
Julinoleum said about 13 years ago:
Awesome!!!
Post a review:
Related Items:
-
Rename, Colorize - Organize 0.0.1 for Maya (maya script)
$35.00 (USD) -
Quick Selection Tool 1.2.0 for Maya (maya script)
$20.00 (USD) -
1 Click Procedural Rock Generator (Now with retopology!) for Maya 1.2.0 (maya script)
$20.00 (USD) -
FULL - 130 scripts for Modeling,UV + video tutorials for each 1.1.0 for Maya (maya script)
$40.00 (USD) -
TTools - Pro - Professional Tools 7.0.0 for Maya (maya script)
$29.99 (USD) -
Nightshade Blockout Pro for Maya 1.1.0 (maya script)
$20.00 (USD)