Archived post by mattiasmalmer

here goes…

it creates a subdirectory named backup. saves a copy of your scene there named currentscenename_backup_timestamp.hip

then it does that every ten minutes.

and after it has written ten files it deletes the first one. so you have rolling loop of ten backup files. (to ensure your server is not full of files over night haha)

you can change update interval and number of stored backups really easily by just modifying the py file.

this in my opinion is how auto backup SHOULD work.

now it would be neat if it did not save files if the scene is unmodified. so that it does not make a lot of unneccessary saves. but I can live with that for now.

now this code is written by an idiot and chatGPT so do not blame me if it paperclips your machine

no more stupid overwriting of the original scene file. no broken links to caches from changes in filenames. just a straight backup if shit hits the fan.

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20230112/24/23/456.py

Archived post by mestela

someone shared this in the cgwiki discord, an incredible collection of hips and stuff: https://twitter.com/WhiteDo27114277/status/1726265090117406728

the google doc that explains all the setups is wild, i think half the tricky questions that have been posted here, or interesting papers i’ve seen and thought ‘a houdini implementation would be sexy’, he’s done them all: docs.google.com/document/d/1HBQ6CwiDX0MbK7-nBrLU8hF8H08uPbewZF1z8ybdRw0/edit

Archived post by sniperjake945

yeah i mean the problem itself is slightly underdefined because there are two possible solves, one where you rotate down and one where u rotate up

but it’s actually solved with a quadratic equation so u end up with both points of intersection

here are all the intersections visualized

here’s the file that has all the math for u

and like sure this could all be done with trig but this seemed cooler

šŸ™‚

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20232312/15/23/image.png
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20232312/15/23/Calculate_When_It_Connects_JR.hiplc