Automatic Hard Edges in Maya - Free Script

  Рет қаралды 38,399

Play Creative

Play Creative

5 жыл бұрын

www.playcreative.io
See the blog article for more information: www.playcreative.io/blog/auto...
This is a quick video showing how to automatically find Hard Edges in Maya - with a free script for you to use!
See how it can dramatically speed up your workflow by using Selection Constraints!
Visit www.playcreative.io for more!

Пікірлер: 113
@chriswong225
@chriswong225 5 жыл бұрын
maya had the same buildin function on select>use constaints, properties> smoothing can choose hard edge but sure your script is much faster because of 1 click, thank you
@stevebell7535
@stevebell7535 3 жыл бұрын
This script is the business, massively sped up my workflow on a tight turnaround job. Cheers!
@MoustafaShaheen
@MoustafaShaheen 5 жыл бұрын
Can't believe that i won't do this manually anymore, As simple this script is, It saves a lot of time, Thanks :)
@amitdalvi1491
@amitdalvi1491 4 жыл бұрын
you are a genius brother....that saves hell lot of time... I have been doing hard surface modeling and always gets afraid while sharpening the edges.... you just made life easy.... Best wishes to you channel :)
@CGITutorials
@CGITutorials 4 жыл бұрын
This script is life changing. I will be making sure that all my students have this on their shelf! Thank you!
@ahsanulhasanturzo8015
@ahsanulhasanturzo8015 11 ай бұрын
& Blender had This lifechanging feature built-in
@lootmaster1337
@lootmaster1337 2 жыл бұрын
Thanks, really liked the extra part after the script where you explained how it even does it so make my own changes if needed.
@devjitpaul1191
@devjitpaul1191 4 жыл бұрын
i can't work with maya without this priceless script, thanks i can't live without it
@henk.design6504
@henk.design6504 5 жыл бұрын
Hands Down! as a Maya generalist this SOOO Great!
@WebBOXchannel
@WebBOXchannel 5 жыл бұрын
Very useful script! I told all my colleagues about your channel
@VertexMachina
@VertexMachina 2 жыл бұрын
Super helpful. Thank you! Really appreciate the explanation at the end, too.
@arifulislamsunny2992
@arifulislamsunny2992 5 жыл бұрын
This is one of the best script ever...
@MustafaBerkeGureltol
@MustafaBerkeGureltol Жыл бұрын
Script prevented me from spending hours on a model. Much appreciated.
@jameelachallawala5577
@jameelachallawala5577 5 жыл бұрын
Thanks for the script...this is great..... Please keep uploading more such useful videos
@k-vandan4289
@k-vandan4289 3 жыл бұрын
UV - Autoseams - select cut along hardedges this is what i have been using but good to have Icon in shelf for the purpose thank you
@Rajuuken
@Rajuuken 5 жыл бұрын
Thank you very much ! I was looking for this kind of tool!
@litote9
@litote9 4 жыл бұрын
Thanks, much simpler than messing about with Maya menus.
@62Tob
@62Tob 4 жыл бұрын
Oh thanks man, very helpful!! And free. Pretty rare in these days. You gain a sub.
@ElRixSape
@ElRixSape 3 жыл бұрын
thanks for the script, im new with maya and this kind of things help me to speed up!
@btaalaibekov9565
@btaalaibekov9565 5 жыл бұрын
Thanks!!! Waiting for more videos.
@adamdargan_pf
@adamdargan_pf 5 жыл бұрын
Hey, thanks for sharing! This is a really great tool!
@Irrelavant__
@Irrelavant__ 5 жыл бұрын
Oh wow, this is very helpful, thank you!
@mitchelvanduuren2312
@mitchelvanduuren2312 4 жыл бұрын
Thanks man, this will be very helpful!
@rulazestaenlinea7652
@rulazestaenlinea7652 5 жыл бұрын
Thanks! BTW this is the first video i see on my life that doesn't have a downvote. Kudos
@playcreative5523
@playcreative5523 5 жыл бұрын
Hah Thanks! (...don't jinx it :) )
@sadichchhaparulekar691
@sadichchhaparulekar691 2 жыл бұрын
this video is so helpful …really helped rookie like me a lot :D
@deehmendes4499
@deehmendes4499 5 жыл бұрын
Pleeease post more videos, you’re awesome
@G655
@G655 Жыл бұрын
Appreciate the script mate. Wish you were still doing videos
@DigitalArtcast
@DigitalArtcast 5 жыл бұрын
Dude these are great please make more
@playcreative5523
@playcreative5523 5 жыл бұрын
Thanks mate - more coming!
@philipbristow8243
@philipbristow8243 4 жыл бұрын
to change where you want the shelf icons to be is easy you just middle mouse button and drag the icon no need to go to the shelf editor just need to save shelf afterwards.
@AceiteAxilar
@AceiteAxilar 4 жыл бұрын
You save my life! Thank you so much!
@phoenixconnor1508
@phoenixconnor1508 4 жыл бұрын
Thanks! Very useful script.
@alexbobyr8076
@alexbobyr8076 3 жыл бұрын
Thank You for the great script
@daniilzagoryanskyi7090
@daniilzagoryanskyi7090 3 жыл бұрын
so much of a thanksgiving
@brylian4966
@brylian4966 4 жыл бұрын
THANK YOU. You are the best.... i have subscribed to your channel : D
@Barneschild
@Barneschild 3 жыл бұрын
Bang Tidy me old mucker, this is 10000000% useful. Thanks for the excellent script, great work!!
@igorgutan6202
@igorgutan6202 Жыл бұрын
thx man. that was very helpful
@averypiwi106
@averypiwi106 5 жыл бұрын
A big thank you !
@DanielLuna7
@DanielLuna7 5 жыл бұрын
great script!!!! and nice tutorials
@artbybruno1734
@artbybruno1734 3 жыл бұрын
Hi there! First of all, thanks for the script! Just found out about this and installed it. Exactly what I was looking for. But there is an issue with it... I noticed that after I run the script on a object, my Target Weld tool stops working - tested it a couple of times and it is indeed because of using this script.. Wondering if there is a fix or an update for it...!? (using Maya 2020) Thanks so much!
@bsko3D
@bsko3D 6 ай бұрын
Thank you, mister!
@snafubar
@snafubar 5 жыл бұрын
love it, thanks!
@AmitKolay
@AmitKolay 4 жыл бұрын
amazing! thank you very much.
@JoshAntonio
@JoshAntonio 5 жыл бұрын
Thanks for this! :)
@novalfahreza1743
@novalfahreza1743 2 жыл бұрын
BIG THANKSSSSSS!!!
@angustobiancusto6623
@angustobiancusto6623 2 жыл бұрын
THANK YOU.
@santodkewl
@santodkewl 3 жыл бұрын
thank you soooo much lots of love to you...
@vishnuvrokzz833
@vishnuvrokzz833 3 жыл бұрын
its also uslful for uv cuts wowowowowo thanks man
@splootcrate
@splootcrate 3 жыл бұрын
Legendary!
@liuzzivfx9413
@liuzzivfx9413 2 жыл бұрын
Anyone have an idea of how to get this to iterate on multiple objects? tried the usual create list/ throwing it into a for loop but it only seems to keep the selections from the first object
@pranabsen7481
@pranabsen7481 4 жыл бұрын
Thnx so much for the script :-)
@tomasla9345
@tomasla9345 3 жыл бұрын
very helpful, thanks for sharing.!!!!. .. how could i edit the script so after the selection it does automatically does the bevel and/or pop up the bevel tool menu -????
@playcreative5523
@playcreative5523 3 жыл бұрын
Hi Tomas, you can add a new line to the end: polyBevel3;
@tomasla9345
@tomasla9345 3 жыл бұрын
@@playcreative5523 thanks a lot, it works great! =)
@poojasharma256
@poojasharma256 3 жыл бұрын
can you please share how to save selected edges on shelf
@InstrumentMania
@InstrumentMania 5 жыл бұрын
thanks a lot..........today is my best day,,,,,,,,,,,wowo
@cithans7501
@cithans7501 4 жыл бұрын
super and trhank you
@charlied1420
@charlied1420 4 жыл бұрын
This script was awesome. As was mentioned before though, for some of us Target Weld doesn't work after using the script. I figured out that when you run the script, it leaves the constrain for Vertices on "Current and Next" instead of "Nothing." Any way to add to the mel script to switch the vertice mode back to "Nothing" after it's run? Thanks again!
@charlied1420
@charlied1420 4 жыл бұрын
Nm. I edited the last section and got it to work. Here it is for anyone who wants it(not a coder, so hopefully it doesn't break anything else): //////////////////////////////////////////////////////////////// //SELECT HARD EDGES //Author : www.playcreative.io //Date : 01/05/18 //Version : 1.1 /////////////////////////////////////////////////////////////// source dagMenuProc; int $lowAngle = 30; int $highAngle = 150; //Change the object back to object mode, just in case it wasn’t already toggleSelMode; changeSelectMode -object; //Store the object that is selected string $curSel[] = `ls -sl`; //Select all edges and store in an Array list doMenuComponentSelectionExt($curSel[0], "edge", 0); int $edgecount[] = `polyEvaluate -e $curSel[0]`; select ($curSel[0] +".e [0:" + ($edgecount[0] - 1) + "]"); //Constrain that selection to only edges of a certain Angle polySelectConstraint -m 3 -a on -t 0x8000 -ab $lowAngle $highAngle; //Remove the selection constraint so everything back to normal //Edited to set Vert constraint to nothing polySelectConstraint -m 0 -t 0x0001 -a off; print ("Hard edges between " + $lowAngle + " and " + $highAngle + " degrees have been selected"); ////////////////////////////////////////////////////////////////
@GamingDrifterGD
@GamingDrifterGD 4 жыл бұрын
@@charlied1420 Your a life saver! I just started using the script with maya 2020. I initially thought it was a Maya glitch but then realized it started to happening everytiem I used the script. I just changed the script to reflect your edit and it works! Thanks a lot!
@mattferris3767
@mattferris3767 3 жыл бұрын
You're a hero
@henryfive8862
@henryfive8862 2 жыл бұрын
@@charlied1420 Works perfectly, thanks
@pavelgre7072
@pavelgre7072 4 жыл бұрын
Thanks man
@lempiyaka
@lempiyaka 4 жыл бұрын
Omg - omg this is so cool
@BannedIP
@BannedIP 11 ай бұрын
Hey Dude! Is a good script, thanks! THE PROBLEM is a huge ERROR preventing TARGET WELD tool to be used. I cant use Target weld bcs this script has wrritten in it "change selection". It switches to that.
@playcreative5523
@playcreative5523 11 ай бұрын
There is a comment chain lower down from @matsuikohiroka7875 with an edited script that will prevent this error. I thought I had updated the script on the webpage but looks like I hadn't!
@NinusMaximus
@NinusMaximus 3 жыл бұрын
for some reason my target weld stopped working after i installed the script, had to remove it :(
@sauronthedarklordofmordor2990
@sauronthedarklordofmordor2990 4 жыл бұрын
I am studying Digital Animation, and when I am in class, my teacher says that we should not reinforce the edges with the Bevel tool because it leaves triangles in some parts that are not manageable figures for Maya and that there are other fast and safe ways to reinforce the edges that are not manually (of which I no longer remember very well XD), I would like someone to explain this to me please.
@imcaionahas
@imcaionahas 4 жыл бұрын
He is right. You need to maintain the correct edge flow in the mesh. If possible keep everything in quad. But there are cases where you just need this mesh in lowpoly and another version in highpoly to add some details in ZBrush for example and then use it in Substance Painter to bake. In this case it would not be so necessary to maintain the integrity of the mesh.
@bboyframly
@bboyframly 4 жыл бұрын
Thank you for that!!. and how draw mouse like 1:22-1:24 to smooth edge?
@CGITutorials
@CGITutorials 4 жыл бұрын
I think he just hit '3' on the keyboard for soft select (hit 1 to go back to normal)
@poojasharma256
@poojasharma256 3 жыл бұрын
saved almost 1 hr
@KumarSambhhav
@KumarSambhhav 3 жыл бұрын
wooaaw , Why have you stopped uploading more videos, Your videos are a class apart !!
@ranjeetlodhi2830
@ranjeetlodhi2830 2 жыл бұрын
👍👍👍👍
@matsuikohiroka7875
@matsuikohiroka7875 5 жыл бұрын
just to inform you there is a bug , after executing the script try to use the target weld tool , it doesnt work anymore in order to fix it i need to restart maya ( using maya 2019.1 )
@charlied1420
@charlied1420 4 жыл бұрын
I'm having this same issue as well. Any Idea if there's any way to fix this yet?
@charlied1420
@charlied1420 4 жыл бұрын
I figured out a work around fix for this. After using the script on an object: Open Selection Constraint (Select > Use Constraints...). Activate Target Weld(Mesh Tools > Target Weld). In the Polygon Selection Constraint window, click on "Nothing" under Constrain. Target Weld should work now. I've been leaving the Polygon Selection Constraint window open while using this script. You can also click "Close and Reset" if you aren't using the script again in a while, and Maya will remember.
@charlied1420
@charlied1420 4 жыл бұрын
Played around with the mel and got it to work. Not a coder, so hopefully it doesn't break anything else. But here it is if you're interested: //////////////////////////////////////////////////////////////// //SELECT HARD EDGES //Author : www.playcreative.io //Date : 01/05/18 //Version : 1.1 /////////////////////////////////////////////////////////////// source dagMenuProc; int $lowAngle = 30; int $highAngle = 150; //Change the object back to object mode, just in case it wasn’t already toggleSelMode; changeSelectMode -object; //Store the object that is selected string $curSel[] = `ls -sl`; //Select all edges and store in an Array list doMenuComponentSelectionExt($curSel[0], "edge", 0); int $edgecount[] = `polyEvaluate -e $curSel[0]`; select ($curSel[0] +".e [0:" + ($edgecount[0] - 1) + "]"); //Constrain that selection to only edges of a certain Angle polySelectConstraint -m 3 -a on -t 0x8000 -ab $lowAngle $highAngle; //Remove the selection constraint so everything back to normal //Edited to set Vert constraint to nothing polySelectConstraint -m 0 -t 0x0001 -a off; print ("Hard edges between " + $lowAngle + " and " + $highAngle + " degrees have been selected"); ////////////////////////////////////////////////////////////////
@ciecle1000
@ciecle1000 3 жыл бұрын
dont work for me ERROR SYNTAX help plz
@squary3d
@squary3d Жыл бұрын
The script is great but it breaks my target weld tool, and I'm guessing some others too which I haven't found yet. Every time I use it I have to reopen the Maya project so target weld works again. Do you know why this is happening and any solutions?
@playcreative5523
@playcreative5523 Жыл бұрын
Hey Sam, this appears to be a known issue with the selection change options in the script. I will look into it and get back to you.
@playcreative5523
@playcreative5523 Жыл бұрын
Hey Sam, I've found a fix by changing the following line in the script, from: polySelectConstraint -m 0; to: polySelectConstraint -m 0 -a off; Hope that helps.
@BannedIP
@BannedIP 11 ай бұрын
This helped thanks@@playcreative5523
@MW-fx9nb
@MW-fx9nb 4 жыл бұрын
//Error: Line 26.0: Syntax error here in Maya 2020
@leonidassavvides2558
@leonidassavvides2558 4 жыл бұрын
// Error: line 16: Cannot find procedure "doMenuComponentSelectionExt". // Maya 2016
@3daefimov
@3daefimov 5 жыл бұрын
// Error: line 19: Cannot find procedure "doMenuComponentSelectionExt".
@playcreative5523
@playcreative5523 5 жыл бұрын
I believe it only works in later versions of Maya, perhaps 2017/18 onwards
@3daefimov
@3daefimov 5 жыл бұрын
@@playcreative5523 Thanks, I solve one - thanks, it's working :) I had to show the edges and then run script.
@demihan14
@demihan14 5 жыл бұрын
This script works on maya 2016?
@playcreative5523
@playcreative5523 5 жыл бұрын
I believe it might have difficulty in 2016 sorry - you might have to do the manual way of using 'selection constraints'.
@InstrumentMania
@InstrumentMania 5 жыл бұрын
I opened your channel and expecting more videos to learn but my bad luck...... you only uploaded two videos.............
@chilledgamer5585
@chilledgamer5585 5 жыл бұрын
He should make more vids right
@snap-n-shoot
@snap-n-shoot 2 жыл бұрын
Handy script but still creates Ngons at times so you need to check everything
@73maxmau
@73maxmau 5 жыл бұрын
It doesn't seem to be working on Maya 2018.6 I get this error " ////////////////////////////////////////////////////////////////; // Error: ? // // Error: Line 13.1: Syntax error // // Error: ? // // Error: Line 21.1: Syntax error // "
@playcreative5523
@playcreative5523 5 жыл бұрын
It's likely you pasted it into the MEL tab incorrectly - try copy it fresh again and see if that works. Also, often the quotation marks (" and ") can copy over strangely depending on what browser/text-editor you use. If you can't get it to work replace over the quotation marks in the text with new ones. Hope that helps.
@i20010
@i20010 5 жыл бұрын
@@playcreative5523 ive tried 4 different browsers, retyped all " singns, its still erroring: // Error: line 18: Cannot find procedure "doMenuComponentSelectionExt". //
@73maxmau
@73maxmau 5 жыл бұрын
@@playcreative5523 I tried, like you said, to copy from different browsers, same error. I then tried to replace the " in the text, still no luck. then I tried also in Maya 2019, but nothing seems to work. One thing, when I try to run it, the first time, after giving the error, in the text shows the ?, where the was an empty line, exactly in those lines.
@73maxmau
@73maxmau 5 жыл бұрын
@@playcreative5523 If instead of copy the text, I do the dowload txt as file, and then copy it, I get I different error, instead. // Warning: string $curSel[] = `ls -sl`; // // Warning: Line 16.28 : Redeclaration of variable "$curSel" shadows previous declaration at line 15. Previous value will be overwritten by explicit initializer. // // Warning: int $edgecount[] = `polyEvaluate -e $curSel[0]`; // // Warning: Line 20.48 : Redeclaration of variable "$edgecount" shadows previous declaration at line 19. Previous value will be overwritten by explicit initializer. // hilite pCylinder1 ; hilite -u pCylinder1 ; select -r pCylinder1 ; // Error: line 19: Cannot find procedure "doMenuComponentSelectionExt". //
@73maxmau
@73maxmau 5 жыл бұрын
When copy paste = /////////////////////////////////////////////////////////////// //SELECT HARD EDGES //Author : www.playcreative.io //Date : 01/05/18 //Version : 1.1 /////////////////////////////////////////////////////////////// int $lowAngle = 30; int $highAngle = 150; //Change the object back to object mode, just in case it wasn’t already toggleSelMode; changeSelectMode -object; ‍ //Store the object that is selected string $curSel[] = `ls -sl`; //Select all edges and store in an Array list doMenuComponentSelectionExt($curSel[0], "edge", 0); int $edgecount[] = `polyEvaluate -e $curSel[0]`; select ($curSel[0] +".e [0:" + ($edgecount[0] - 1) + "]"); ‍ //Constrain that selection to only edges of a certain Angle polySelectConstraint -m 3 -a on -t 0x8000 -ab $lowAngle $highAngle; //Remove the selection constraint so everything back to normal polySelectConstraint -m 0; print ("Hard edges between " + $lowAngle + " and " + $highAngle + " degrees have been selected"); ////////////////////////////////////////////////////////////////
@Lyco0n
@Lyco0n Жыл бұрын
This is terrible from Maya in Blender it is literally a 1 sec thing to do
Auto Retopology Comes to Maya
11:35
Play Creative
Рет қаралды 280 М.
5 Topology Tips That Will  Get You HIRED
34:02
JL Mussi
Рет қаралды 1 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 5 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 4,9 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 32 МЛН
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 1,6 МЛН
Automatic UVs Script using Hard Edges in Maya
3:30
Josh Antonio
Рет қаралды 6 М.
Maya Hard Surface Modeling - How to Fix Bad Surfaces
28:59
On Mars 3D
Рет қаралды 130 М.
Extrude Inward without Overlap in Maya
9:41
malcolm341
Рет қаралды 33 М.
Hard Surface Modeling Essentials: Curved Surfaces
18:24
FlippedNormals
Рет қаралды 108 М.
Maya Hard Surface Modeling for Beginners
21:59
JL Mussi
Рет қаралды 58 М.
FREE Auto UV script + Tutorial
13:16
Omar Hesham
Рет қаралды 13 М.
Maya Pro Tries 3D Modeling in Blender
43:52
JL Mussi
Рет қаралды 152 М.
Adobe is horrible. So I tried the alternative
25:30
Bog
Рет қаралды 654 М.
Top Maya Plugins for fast Production
17:34
InspirationTuts
Рет қаралды 44 М.
Maya 2020 Fix Hard Surfaces - Automatic Remesh and Retopo
4:13
Snaplaunch
Рет қаралды 17 М.
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 5 МЛН