evanrudefx Posted January 29, 2021 Share Posted January 29, 2021 (edited) Wow, I have been using houdini for so long but I never did curve editing. How do I add points to an existing curve? 1. No, I can't go back and add points on a original curve sop. I mean post that operation, or if the curve was made in maya or I have edits after my initial curve sop, so I can't just go back add points to the original curve sop. 2. Resample is not what I am looking for, I just need to add a few points in specific locations. 3. The best thing I have found so far is to use poly split, but the problem with that is it connects every point I place, so I can only place a few points then I have to make another one so my points dont connect and make a face. surely there is a way to do this, right? Edited January 29, 2021 by ejr32123 Quote Link to comment Share on other sites More sharing options...
ryew Posted January 29, 2021 Share Posted January 29, 2021 You're not kidding, I thought I remembered it being straightforward, but wow it's been awhile. I found the refine SOP will let you create a new point along the curve without changing the shape by dragging an indicator in viewport or using the U position similar to carve 1 Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted January 30, 2021 Author Share Posted January 30, 2021 Thanks, I saw someone else recommend that too, I just know there has to be another way to quickly add multiple points Quote Link to comment Share on other sites More sharing options...
bobc4d Posted January 30, 2021 Share Posted January 30, 2021 have you tried SHIFT + LMB at location you want point? Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted January 30, 2021 Author Share Posted January 30, 2021 You can't just shift lmb on any node and add points to a curve. That only works on a curve sop. Quote Link to comment Share on other sites More sharing options...
ftaswin Posted January 31, 2021 Share Posted January 31, 2021 (edited) The simplest answer I can think of is to rebuild the input curve and turn it into a single curve node (very easy to do with python). From there, do whatever you want. node = hou.node('/obj/geo1/alembic_curves_unpacked') parent = node.parent() pos = node.position() geo = node.geometry() prims = geo.prims() for prim in prims : crvnode = parent.createNode("curve") pts = prim.points() tmppos = "" for pt in pts : tmppos += ",".join([str(x) for x in pt.position()]) + " " crvnode.parm("coords").set(tmppos) crvnode.setPosition(pos) crvnode.move([0,-1]) pos = crvnode.position() Edited February 1, 2021 by ftaswin 2 Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted February 1, 2021 Author Share Posted February 1, 2021 I cant believe there is no easy way to do this Quote Link to comment Share on other sites More sharing options...
ftaswin Posted February 1, 2021 Share Posted February 1, 2021 There is also vex version, but yes, no easy way Quote Link to comment Share on other sites More sharing options...
Librarian Posted February 1, 2021 Share Posted February 1, 2021 @ejr32123 FunInTersectione.hiplc 1 Quote Link to comment Share on other sites More sharing options...
zarti Posted February 1, 2021 Share Posted February 1, 2021 On 1/29/2021 at 6:12 PM, ejr32123 said: Wow, I have been using houdini for so long but I never did curve editing. How do I add points to an existing curve? 1. No, I can't go back and add points on a original curve sop. I mean post that operation, or if the curve was made in maya or I have edits after my initial curve sop, so I can't just go back add points to the original curve sop. 2. Resample is not what I am looking for, I just need to add a few points in specific locations. 3. The best thing I have found so far is to use poly split, but the problem with that is it connects every point I place, so I can only place a few points then I have to make another one so my points dont connect and make a face. surely there is a way to do this, right? yes .. here it is a 10-years-old thread usage description there sounds long but usage is easy . just drop the otl . turn on points .. helpThatCurve_001_py.otl should be easy . hope that helps .cheers 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.