Found 536 posts.
Search results Show results as topic list.
Technical Discussion » Get highlighted components from script
- Alexey Vanzhula
- 538 posts
- Offline
Technical Discussion » Select geometry components from script
- Alexey Vanzhula
- 538 posts
- Offline
So, maybe in H14 we can now select geometry components from python?
With SceneViewer.selectGeometry we give the chance user to select comps interactively.
What about automatically select comps from script? Something like:
selectPrims(“3-10”)
With SceneViewer.selectGeometry we give the chance user to select comps interactively.
What about automatically select comps from script? Something like:
selectPrims(“3-10”)
Technical Discussion » Some Qt questions
- Alexey Vanzhula
- 538 posts
- Offline
Technical Discussion » Some Qt questions
- Alexey Vanzhula
- 538 posts
- Offline
Hi, dear SESI team !!!
Python Panel is very good addition to Houdini, but:
1. How to set main houdini widget as parent of my own widget?
2. I installed eventfilter to main widget for monitoring Qt ui behaviour. And i saw that not all events can catch.
For example, Leave event (when we go to other top level widget). I dont understand why Leave event not generated in this case
3. As I understood, Qt draw Houdini old-style UI system, and we can`t add for example QPushButton to main window. Or maybe this can changed in future releases
—
Also, I think that we need some identification method of main Houdini widget via PySide. For example, in Maya we can filter widget via objectName (QtGui.QWidget.objectName). In HDK I can get it with RE_QtWindow::mainQtWindow()
Thanks for any details about Qt…
—
PS Look at this level of PyQt\PySide intervention
http://youtu.be/Mu_tVZJYYBQ [youtu.be]
What do you think?
Best regards…
Python Panel is very good addition to Houdini, but:
1. How to set main houdini widget as parent of my own widget?
2. I installed eventfilter to main widget for monitoring Qt ui behaviour. And i saw that not all events can catch.
For example, Leave event (when we go to other top level widget). I dont understand why Leave event not generated in this case
3. As I understood, Qt draw Houdini old-style UI system, and we can`t add for example QPushButton to main window. Or maybe this can changed in future releases
—
Also, I think that we need some identification method of main Houdini widget via PySide. For example, in Maya we can filter widget via objectName (QtGui.QWidget.objectName). In HDK I can get it with RE_QtWindow::mainQtWindow()
Thanks for any details about Qt…
—
PS Look at this level of PyQt\PySide intervention
http://youtu.be/Mu_tVZJYYBQ [youtu.be]
What do you think?
Best regards…
Technical Discussion » Houdini 14 Graphic Issue
- Alexey Vanzhula
- 538 posts
- Offline
There are some problems with locale settings + Qt in linux.
So, try to run H14 with something like this:
LC_ALL=C /opt/hfs14*/bin/houdinifx
So, try to run H14 with something like this:
LC_ALL=C /opt/hfs14*/bin/houdinifx
Houdini Lounge » Post your favourite Wrangle SOP presets
- Alexey Vanzhula
- 538 posts
- Offline
Orient piece of geometry by 4 points:
1. src_pt - source point 1
2. dst_pt - destination point 1
3. src_opt - source point 2
4. dst_opt - destination point 2
int src_pt = 10 ;
int dst_pt = 2 ;
int src_opt = 11 ;
int dst_opt = 3 ;
vector4 q = dihedral( point(geoself(), “P”, src_pt)-point(geoself(), “P”, src_opt), point(geoself(), “P”, dst_pt)-point(geoself(), “P”, dst_opt) );
@P = qrotate(q, @P)+point(geoself(), “P”, dst_pt)-qrotate(q, point(geoself(), “P”, src_pt));
1. src_pt - source point 1
2. dst_pt - destination point 1
3. src_opt - source point 2
4. dst_opt - destination point 2
int src_pt = 10 ;
int dst_pt = 2 ;
int src_opt = 11 ;
int dst_opt = 3 ;
vector4 q = dihedral( point(geoself(), “P”, src_pt)-point(geoself(), “P”, src_opt), point(geoself(), “P”, dst_pt)-point(geoself(), “P”, dst_opt) );
@P = qrotate(q, @P)+point(geoself(), “P”, dst_pt)-qrotate(q, point(geoself(), “P”, src_pt));
Houdini Lounge » Sneak peek h14
- Alexey Vanzhula
- 538 posts
- Offline
Technical Discussion » Hiding handles
- Alexey Vanzhula
- 538 posts
- Offline
i cant find any solution for this.
But you can temporary connect\disconnect handles via hscript.
http://www.sidefx.com/docs/houdini13.0/commands/ombind [sidefx.com] - connect
http://www.sidefx.com/docs/houdini13.0/commands/omunbind [sidefx.com] - disconnect
Add FlagChanged event to your node in OnCreate script
In event callback you can check if displayFlag is ON or OFF and respectively bind\unbind manipulator manually
Hope this helps.
But you can temporary connect\disconnect handles via hscript.
http://www.sidefx.com/docs/houdini13.0/commands/ombind [sidefx.com] - connect
http://www.sidefx.com/docs/houdini13.0/commands/omunbind [sidefx.com] - disconnect
Add FlagChanged event to your node in OnCreate script
In event callback you can check if displayFlag is ON or OFF and respectively bind\unbind manipulator manually
Hope this helps.
Houdini Lounge » Quick align viewport view
- Alexey Vanzhula
- 538 posts
- Offline
Houdini Lounge » Quick align viewport view
- Alexey Vanzhula
- 538 posts
- Offline
Houdini Lounge » Houdini 14 Wishlist
- Alexey Vanzhula
- 538 posts
- Offline
It would be good to change tool behaviour to properly work with undo\redo.
At now, you can redo only one last undoed tool. This problem is shown with going to current node manipulator state. Without it you can redo all undoed tools (or manually created nodes with manipulator state activated).
At now, you can redo only one last undoed tool. This problem is shown with going to current node manipulator state. Without it you can redo all undoed tools (or manually created nodes with manipulator state activated).
Houdini Lounge » Houdini 14 Wishlist
- Alexey Vanzhula
- 538 posts
- Offline
DASD
For prevent flat polygons from beveling just use group node before bevel node and play with angle parms
For prevent flat polygons from beveling just use group node before bevel node and play with angle parms
Technical Discussion » Select components in script
- Alexey Vanzhula
- 538 posts
- Offline
grayOlorin
hey vux, I cannot remember as this was a while ago, but doesnt hou.sceneViewer.selectGeometry() takes also a component glob as your selection inline? (if not I will have to dig through some of my old stuff..)
Thanx for answer, but no it doesnt. This is selectGeometry args:
selectGeometry(self, prompt='Select geometry', sel_index=0, allow_drag=False, quick_select=False, use_existing_selection=True, ordered=False, geometry_types), primitive_types), allow_obj_sel=True, icon=None, label=None) →
Technical Discussion » Select components in script
- Alexey Vanzhula
- 538 posts
- Offline
I cant find any solution to select components (points\edges\prims) programmatically.
In Maya, for example, we can select components with something like this cmds.select('pSphere1.vtx')
It is possible to get selection from user with hou.SceneViewer.selectGeometry(), but how to select (highlight) components from my script ?
In Maya, for example, we can select components with something like this cmds.select('pSphere1.vtx')
It is possible to get selection from user with hou.SceneViewer.selectGeometry(), but how to select (highlight) components from my script ?
Technical Discussion » Call HDA Tool from script
- Alexey Vanzhula
- 538 posts
- Offline
I can add tools for my HDA in Type Properties/Tools section.
After than i can use it in shelf anf TAB-menus.
But how to explicitly call this tool script from my custom python functions?
In other words i need to execute Tools/Script (see attached image) section in my functions
After than i can use it in shelf anf TAB-menus.
But how to explicitly call this tool script from my custom python functions?
In other words i need to execute Tools/Script (see attached image) section in my functions
Technical Discussion » Build spline with wrangle
- Alexey Vanzhula
- 538 posts
- Offline
aty84122
http://forums.odforce.net/topic/18953-how-to-approach-this-kind-of-loop/ [forums.odforce.net]
#10 reply
already solved it my self, but thanx
Technical Discussion » Tilda behaviour in assets
- Alexey Vanzhula
- 538 posts
- Offline
The Orbolt Smart 3D Asset Store » Add the list of dependences manually
- Alexey Vanzhula
- 538 posts
- Offline
Hi. Is it possible to manually set dependency nodes?
So my asset use other my orbolt assets that doesn`t exists inside but used in callbacks. For example master asset need to create dependency asset in button parm callback.
I can place dependencies inside, but they are excess.
So my asset use other my orbolt assets that doesn`t exists inside but used in callbacks. For example master asset need to create dependency asset in button parm callback.
I can place dependencies inside, but they are excess.
Technical Discussion » Build spline with wrangle
- Alexey Vanzhula
- 538 posts
- Offline
Hi. I have 4 knot point (red line in picture) and i want to build catmull-rom spline between them (green line) with wrangle sop.
There are many vex functions like spline, kspline etc and i can`t find really useful example.
So what the best way to build this spline in loop? Also i want to use subdivision samples in code to produce equal distances between points in green line.
http://s23.postimg.org/5b3zgx8nt/2014_07_16_141836_1600x900_scrot.png [s23.postimg.org]
There are many vex functions like spline, kspline etc and i can`t find really useful example.
So what the best way to build this spline in loop? Also i want to use subdivision samples in code to produce equal distances between points in green line.
http://s23.postimg.org/5b3zgx8nt/2014_07_16_141836_1600x900_scrot.png [s23.postimg.org]
Houdini Lounge » How about a MODELING module for Houdini?
- Alexey Vanzhula
- 538 posts
- Offline
This is my view of destructive modeling in Houdini.
It is still young (near 2 weeks of development) but, IMO, capable to save a lot of time in classic modeling workflow:
1. http://youtu.be/uK4cFD9sCYU [youtu.be]
2. http://youtu.be/f0ZXvWuh0IM [youtu.be]
3. http://youtu.be/7hP0-u1WwOQ [youtu.be]
4. http://youtu.be/IcE356UkYyc [youtu.be]
5. http://youtu.be/d3uBe1dUe1s [youtu.be]
6. http://youtu.be/-rrfE_2DyGg [youtu.be]
It is still young (near 2 weeks of development) but, IMO, capable to save a lot of time in classic modeling workflow:
1. http://youtu.be/uK4cFD9sCYU [youtu.be]
2. http://youtu.be/f0ZXvWuh0IM [youtu.be]
3. http://youtu.be/7hP0-u1WwOQ [youtu.be]
4. http://youtu.be/IcE356UkYyc [youtu.be]
5. http://youtu.be/d3uBe1dUe1s [youtu.be]
6. http://youtu.be/-rrfE_2DyGg [youtu.be]
-
- Quick Links