CGTalk > Software > Autodesk Maya
Login register
reply share thread « Previous Thread | Next Thread »
 
Thread Tools Search this Thread Display Modes
Old 05-01-2011, 06:36 AM   #1
eikonoklastes
Green
 
eikonoklastes's Avatar
portfolio
eikonoklastes
USA
 
Join Date: Oct 2008
Posts: 552
Split Mesh with Project Curve

Does this work for anyone?

It seems to do absolutely nothing for me. Project Curve on mesh works OK, but the split doesn't.
 
Old 05-01-2011, 02:04 PM   #2
mduvekot
Lord of the posts
 
mduvekot's Avatar
Michiel Duvekot
Owner
THNKR
Toronto, Canada
 
Join Date: Dec 2003
Posts: 1,063
Works for me. Edit Mesh -> Project Curve on Mesh first, then do Edit Mesh -> Split mesh with projected curve, then do Mesh -> Separate.
__________________
Michiel
http://thnkr.com
 
Old 02-17-2012, 06:35 AM   #3
Als
Expert
portfolio
Aleksandar Stiglic
digital artist, 3D
United Kingdom
 
Join Date: Apr 2003
Posts: 1,928
// Error: -projectedCurve flag used but curve not connected to mesh through polyProjectCurve node // // Warning: Can't perform polySplit1 on selection //
on separate:
// Error: pPlane2 has only one piece. Ignored. // // Error: Command polySeparate failed. Open Script Editor for details. //
__________________
"No Bucks, NO Buck Rogers!"

VFX rule no. 387
# Just redo it!

 
Old 02-17-2012, 01:12 PM   #4
hanskloss
Polynator
 
hanskloss's Avatar
portfolio
Przemek Lodej
Poly/Pixel pusher
Detroit, USA
 
Join Date: Aug 2005
Posts: 1,212
Send a message via ICQ to hanskloss
Quote:
Originally Posted by eikonoklastes
Does this work for anyone?

It seems to do absolutely nothing for me. Project Curve on mesh works OK, but the split doesn't.
Same issue since day 1. I have a tessellated fender from Alias. I project a curve, then try to split followed by separate. Nope. I cleaned the mesh, made sure all vertices are merged, still nothing. Another useless tool?
__________________
Happy beebee smile time.....----> My work
 
Old 02-17-2012, 02:13 PM   #5
oglu
Christoph Schädl
 
oglu's Avatar
portfolio
Christoph Schädl
Austria
 
Join Date: Mar 2003
Posts: 3,549
working fine here...
__________________
...
 
Old 02-17-2012, 03:39 PM   #6
eikonoklastes
Green
 
eikonoklastes's Avatar
portfolio
eikonoklastes
USA
 
Join Date: Oct 2008
Posts: 552
Heh, I should probably have updated this post.

It does work, but not like you would expect it to. Maya has a knack of doing that.

Select the mesh and the projected curve and then do the split.

I'm a bit stumped why this extra selection is necessary, considering the node is already attached to the mesh.

They probably figured that you might have multiple curves projected on a single mesh and would want to split only one or a few of them.

Considering that the primary use of the projection is to split the mesh, this seems like an unnecessary precaution. They could have put a "Split only using selected curves" option, but that might have made far too much sense.

Last edited by eikonoklastes : 02-17-2012 at 03:42 PM.
 
Old 02-18-2012, 12:12 AM   #7
Hamburger
Expert
portfolio
Where is it?
Architectural Viz
Australia
 
Join Date: Sep 2004
Posts: 2,082
I've never been able to get this to work on even a basic quad mesh, I get the same error as ALS.

Quote:
Warning: Can't perform polySplit1 on selection //
 
Old 02-19-2012, 09:29 PM   #8
Als
Expert
portfolio
Aleksandar Stiglic
digital artist, 3D
United Kingdom
 
Join Date: Apr 2003
Posts: 1,928
If it's working fine there, can you just create polygon plane, draw a curve, cut, then post the code steps from script editor?

Thanks


Als
__________________
"No Bucks, NO Buck Rogers!"

VFX rule no. 387
# Just redo it!

 
Old 02-19-2012, 09:41 PM   #9
Horganovski
Freelance Animator/Rigger
 
Horganovski's Avatar
portfolio
Brian Horgan
Graphite9
Dublin, Ireland
 
Join Date: Apr 2007
Posts: 4,962
Same thing here too, no joy with a simple sphere (deleted history),

// Warning: line 0: Can't perform polySplit1 on selection //

I've tried selecting the projected curve first, then the mesh and vice versa, but get the same result.

Cheers,
Brian
 
Old 03-21-2012, 07:20 PM   #10
rochre26
Expert
portfolio
Brendan Thompson
Motion Graphics / VFX
USA
 
Join Date: Apr 2009
Posts: 404
Can someone post how the projection node connects to the mesh

I can't get this to work either. I get an error message saying that the curve projection node is not connected to the mesh. Could someone for whom this is working post what attributes are connecting from one node to the other? Odd how it works fine for some but not others.
__________________
and something, something.
 
Old 03-21-2012, 08:37 PM   #11
Kakkoii
Expert
 
Kakkoii's Avatar
portfolio
Mitch Zais
CG Generalist
N/A
Kelowna, Canada
 
Join Date: Jun 2009
Posts: 629
Send a message via MSN to Kakkoii
Quote:
Originally Posted by Als
If it's working fine there, can you just create polygon plane, draw a curve, cut, then post the code steps from script editor?

Thanks


Als

Here you go:
Code:
polyPlane -w 1 -h 1 -sx 10 -sy 10 -ax 0 1 0 -cuv 2 -ch 1; curve -d 3 -p 0.220766 0 0.958633 -p -0.12396 0 0.719061 -p -0.112372 0 0.347825 -p 0.189102 0 0.129899 -p 0.399367 0 -0.0666288 -p 0.0916747 0 -0.479987 -p -0.182702 0 -0.616624 -p -0.298262 0 -1.113251 -p -0.109706 0 -1.376641 -k 0 -k 0 -k 0 -k 1 -k 2 -k 3 -k 4 -k 5 -k 6 -k 6 -k 6 ; move -r 0 0.306054 0 ; select -tgl pPlane1 ; polyProjectCurve -ch true -direction 0 1 0 -pointsOnEdges 0 "curve1" "pPlane1" ; select -tgl pPlane1 ; SplitMeshWithProjectedCurve; performSplitMeshWithProjectedCurve 0; makeCurveSplitConnections polySplit1 pPlaneShape1 {"polyProjectionCurve1_Shape1"};


Created a plane, then CV curve, projected the curve, held down shift and selected by plane, then did the split with curve operation. Easy peasy.
 
Old 03-23-2012, 05:40 AM   #12
rochre26
Expert
portfolio
Brendan Thompson
Motion Graphics / VFX
USA
 
Join Date: Apr 2009
Posts: 404
Can you tell me your connections in the hypergraph?

Still no love here. Can you tell me what attributes are shown as connected for you in the Hypergraph between the plane and projected curve?
__________________
and something, something.
 
Old 03-23-2012, 06:16 AM   #13
Kakkoii
Expert
 
Kakkoii's Avatar
portfolio
Mitch Zais
CG Generalist
N/A
Kelowna, Canada
 
Join Date: Jun 2009
Posts: 629
Send a message via MSN to Kakkoii

And before I split the mesh with it: outMesh & worldMatrix, to inputMesh/inputMatrix.

Last edited by Kakkoii : 03-23-2012 at 06:20 AM.
 
Old 03-23-2012, 03:30 PM   #14
rochre26
Expert
portfolio
Brendan Thompson
Motion Graphics / VFX
USA
 
Join Date: Apr 2009
Posts: 404
Thanks

I'll try again and report back
__________________
and something, something.
 
Old 04-04-2012, 07:06 PM   #15
FBB
Digital Artist
portfolio
Francis Bezooyen
Canada
 
Join Date: Jun 2007
Posts: 52
Came across this thread while looking into these tools. Thought I'd add my findings.

  1. Select the mesh and the curve and run "Project Curve On Mesh"
  2. There are multiple nodes being created with this process that when selected individually will give the appearance that the projected curve in the viewport is selected (open the hypershade to see the nodes). However, only one of these nodes, when selected, will make the following steps work, and it is not the one that gets selected when you select the projected curve in the viewport. Luckily, the correct node is automatically selected for you after running the "Project Curve on Mesh" command, so as long as you don't deselect anything, the following steps will work, otherwise you will have to find the correct node in the hypershade
  3. Shift-Select the mesh (the correct curve node and the mesh should now both be selected)
  4. Now run "Split Mesh with Projected Curve" (open the option box and choose the "Split and detach edges" option)
  5. Select the mesh
  6. Run the "Separate" command
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:36 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.