Jump to content

petz

Members
  • Content count

    363
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    43

petz last won the day on August 15

petz had the most liked content!

Community Reputation

382 Excellent

About petz

  • Rank
    Illusionist

Personal Information

  • Name
    petz

Recent Profile Visitors

12,697 profile views
  1. xyzdist function check

    did you have a look at the file i've attached above? it doesn't use loops but ad hoc groups in the xyzdist() function as well as a max search radius to speed up the search. even though xyzdist() is slower when using groups it shouldn't take ages for 100000 lines ...
  2. xyzdist function check

    you can exclude the current prim in the xyzdist() function by using groups. i've attached an example. hth. petz xyzdist_1.hipnc
  3. it's easy, just reference the original geo. split_curve1.hipnc hth. petz
  4. here's another one: split_curve.hipnc
  5. Fitting a mesh between curves / Bilinear interpolation?

    the attached file shoud do the trick. hth. petz blerp_1.hiplc
  6. Find nearest point once

    not sure if that's what you're after but take a look at the attached file ... connect_points_unique.hipnc
  7. "Make circle" SOP?

    please take a look at the attached file. i've slightly modified the old example and now it should work without problems. hth, petz human1.hiplc
  8. Python: Loop delete geometry

    there are a number of different ways how you could do this. for high polycount meshes, however, python might be fairly slow ... please take a look at the attached file. hth. petz landscape_slice_export_1.hiplc
  9. Heightfield Isolines?

    here's another one which might be faster by avoiding the foreachLoop. hth. petz isolines.hipnc
  10. water drops on bottle

    1) the chopnet is used to procedurally adjust the “flowing” speed of the animated point (droplet). on flatter areas it simply gets slowed down. 2a) the curve (following the animated point) uses pscale as an attribute for fading out the size of droplets towards the tail of the curve. 2b) it’s used to delete all points which distance to the curve is above a given threshold 2c) xyzdist() returns the closest position on the prim in parametric coordinates (primuv). in our case it’s a curve and so it returns just one useful value which is u. in other words, it’s the position along the curve. hth. petz
  11. Recompute topology after projection on a plane

    please take a look at the attached file. hth. petz geo_flatten.hipnc
  12. Curvature field

    not exactly sure what you're after but if you want to calculate the gradient of curvature there is no better and easier way than what toadstorm already mentioned ... curv_gradient.hipnc
  13. Recompute topology after projection on a plane

    can't you use triangulate2d for this?
  14. calculating the edge vector is not a problem but you can't store it on edges since houdini doesn't support edges as regular geometry elements. what you could do instead is to use convertLine and do all the computations on prims which you could then lookup by points from the actual mesh. or you could just write all the edge vectors into a detail array. please take a look at the attached file. hth. petz edge_vec.hipnc
  15. due to the use of "remove shared edges" in the divideSop you got always two coincident polygons for every section. you need to delete duplicates and then make sure the normals of remaining prims are pointing into the same direction. instead, you could also set the output of the booleanSop to "seam" and check the curve direction based on point neighbours ... hth. petz
×