Jump to content

fsimerey

Members
  • Content count

    94
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    2

fsimerey last won the day on March 13

fsimerey had the most liked content!

Community Reputation

19 Good

About fsimerey

  • Rank
    Peon

Contact Methods

  • Website URL
    http://fsimerey.com

Personal Information

  • Name
    François
  • Location
    Paris
  1. deleting points

    You can simply use a Clean node
  2. Rotation matrix pivot point

    It's like you translate the points at origin with pivot as center (@P - pivot), then rotate (* matrix) and replace at the pivot position (+ pivot)
  3. rotation matrix to degrees

    I don't know if it's what you are looking for exactly, but the instance function create a transformation matrix. You just need to multiply to @P. https://www.sidefx.com/docs/houdini/vex/functions/instance.html Here a simple vex code to rotate all points with an axis and pivot attributes previously defined. // rotate vector scale, postrotation; vector4 orient; float angle = ch("ang"); matrix3 rotm = ident(); rotate(rotm, radians(angle), v@axis); orient = quaternion(rotm); scale = 1; postrotation = 0; matrix xform; xform = instance(v@pivot, @N, scale, postrotation , orient, v@pivot); @P *= xform; EDIT: You can also take a look with quaternion, eulertoquaternion, qrotate, etc.. for rotation
  4. Mplay Command line compare

    I think the problem is dash symbol. I'm pretty sure that interpreted as a minus sign by mplay. To avoid this kind of problem, I'm never use dash, space or accent in my naming.
  5. Mplay Command line compare

    Linux
  6. Mplay Command line compare

    Do you render frames with $F or $F4 ? I think about each system sort file numbers. 0001, 0002..., 0010 or 1,10,2 etc...
  7. Mplay Command line compare

    I tested your command line and it's works fine. Are you sure is not a problem with your path ? /FolderA/*.jpg why do you start with / ? That means your folder is at the root of your file system.
  8. Convert a group into string using Python

    Ok in that case ask for convert a group in string but not 'Convert a group into string using Python'
  9. Convert a group into string using Python

    Ok, I understand but it's not that difficult, even I can do it: node = hou.pwd() geo = node.geometry() edges = geo.findEdgeGroup("group4").edges() mystring= "" last_pt = "" for i in range(len(edges)) : edgestr = edges[i].edgeId() s = edgestr[1:].split("-") start_pt = s[0] end_pt = s[1] if last_pt == start_pt : mystring += "-" + end_pt else: mystring += " p" + start_pt + "-" + end_pt last_pt = end_pt
  10. Convert a group into string using Python

    In 17.5.360 this kind of string doesn't work in an edge group node in 'Base Group' parameter. The best smart is "p-10-11-12-13 p100-101-102-103" and you can check with a variable if the last computed point was the actual minus 1 to replace the result EdgeId()
  11. Convert a group into string using Python

    I'm not a python specialist, but if your goal is to get a basegroup string, I would do this: geo = hou.node("/obj/geo/geowithgroup").geometry() edges = geo.findEdgeGroup("mygroup").edges() for i in range(len(edges)) : mystring += (edges[i].edgeId()) + " "
  12. pcloud en external data

    There is a VEX function to find the closest point > https://www.sidefx.com/docs/houdini/vex/functions/nearpoint.html And for a list of the all the closest points in a geometry https://www.sidefx.com/docs/houdini/vex/functions/nearpoints.html
  13. Question with 'vertexindex' functioin

    I think you misunderstand what is a vertex. See the documentation here : https://www.sidefx.com/docs/houdini/model/attributes.html#geometry-components You can display the vertex number in the display option panel.
  14. Creating alias on command line [linux]

    You must source houdini_setup, then launch houdini. houdini_run () { MAJ=17.0 MIN=352 # edit these to suit your environment HOUDINI_ROOT="/opt/hfs${MAJ}.${MIN}" cd ${HOUDINI_ROOT} source houdini_setup # launch houdini houdini $@ }
  15. VEX: get attribute values into an array

    Do you run this wrangle in Detail Mode ? I'm pretty sure not if you can access to the @ptnum variable...
×