 # fsimerey

Members

94

• #### Days Won

2

fsimerey had the most liked content!

19 Good

• Rank
Peon

## Contact Methods

• Website URL
http://fsimerey.com

## Personal Information

• Name
François
• Location
Paris
1. You can simply use a Clean node
2. 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 replies
• 1
• 3. 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
• 5 replies
• 1
• 4. 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. Linux
6. Do you render frames with \$F or \$F4 ? I think about each system sort file numbers. 0001, 0002..., 0010 or 1,10,2 etc...
• 10 replies
• 1
• 7. 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.
• 10 replies
• 1
• 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 end_pt = s 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. 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
• 4 replies
• 1
• 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...
×
• Donations