Archived post by mattiasmalmer

one step forward two steps back kindof algo 🙂

nice enough result so i will hold on to it.

now back to doing the thing i was actually trying to get done…

i did not like the arbitrariness so I made a better one myself…

“` vector poslist[];
vector p0=point(0,”P”,pts[0]); vector p1=point(0,”P”,pts[1]); vector p2=point(0,”P”,pts[2]);
vector n = normalize(p1 – p0); vector v = p2 – (p0+p1)*.5; vector proj = dot(v, n) * n; vector g = p2 – 2* proj;
append(poslist,g);
for (int i=0; i

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20252006/20/25/houdini_upLMp3SOem.mp4

Archived post by ogvfx

(discord.com/channels/270023348623376395/881711343567269909/1358875336498217222) Referring from this topic here
For anyone interested in making your own ui color in Houdini I made a python panel that will load a hcs file so you can pick colors and then all you need to do is reload the color theme in Houdini, and here’s my blue theme I shared a screen shot of in.#hou-usd It should show up if you put this in your houdini documents folder / config. There’s some parts of the ui I still want to fix. This is just some insanity stuff I’m doing while trying to find work.

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20251904/08/25/ogHouUIColor.pypanel
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20251904/08/25/OGBlueTheme.hcs
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20251904/08/25/houdini_5Ai2HaeYOU.png

Archived post by tackyflea

K found out how to make a basic signal, hours of finding the right function leading to only few lines of code woo(?)
How to do a basic Signal in python compatible with Houdini: “`python from PySide2.QtCore import QObject, Signal class ECoolEventSignal(QObject): string_event = Signal(str)
cool_event_instance = ECoolEventSignal()
# sender cool_event_instance.string_event.emit(“Passing da string”) # reciever cool_event_instance.string_event.connect(self.listeningFunction) “` (You can also hook to the event functions via doc.qt.io/qt-5/qcoreapplication.html#sendEvent but it was overkill in my need)

now time for a drink and do something with this tommorow 😂

Archived post by cdordelly

`# Force Houdini’s style sheet self.setProperty(“houdiniStyle”, True) sh = hou.ui.qtStyleSheet() self.setStyleSheet(sh)`

also when you call the dialog, make sure to set the houdini qt window as parent too:

`# Create and show the dialog dialog = OSLManagerDlg(parent=hou.ui.mainQtWindow()) dialog.exec_()`

in this case, this dlg looks like this

I guess it will be similar for a python panel, have no idea <:kill_me:419295639348838400>

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20241207/06/24/image.png

Archived post by kiran_irugalbandara

@David Torno I got fed-up of writing that code to the shell . you can make your own MainMenuCommon.xml file which will give you a section on the top menu bar. Then you can add a custom button to that which runs a script which handles this reload. so much easier. atleast imo.

this is what my code , looks like. It just reloads all my modules in my scripts folder

“`xml
help_menu
“`

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20245806/05/24/image.png

Archived post by jefflmnt

@David Torno

with a bit of help about binary string lookup from a good friend of mine

it’ll spit out a CSV file with this

took a tad longer than I thought – but I think there might be a better way to do this lol

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20245503/10/24/get_versions.hiplc
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20245503/10/24/image.png