Jump to content

Hrvoje

Admin
  • Posts

    13,438
  • Joined

  • Last visited

  • Days Won

    186

Everything posted by Hrvoje

  1. Everything is possible, but this requires a bit of digging in python SDK... https://developers.maxon.net/docs/Cinema4DPythonSDK/html/index.html
  2. Simply copy what is echoed in script log - this creates a tag on the object with all you need and only target object has to be loaded. import c4d from c4d import documents, plugins #Welcome to the world of Python def main(): def tool(): return plugins.FindPlugin(doc.GetAction(), c4d.PLUGINTYPE_TOOL) def object(): return doc.GetActiveObject() def tag(): return doc.GetActiveTag() def renderdata(): return doc.GetActiveRenderData() def prefs(id): return plugins.FindPlugin(id, c4d.PLUGINTYPE_PREFS) c4d.CallCommand(100004788, 50032) # New Tag tag()[c4d.ID_CA_CONSTRAINT_TAG_CLAMP] = True tag()[50004,9] = 0 tag()[50004,1] = 4 tag()[50004,10] = True if __name__=='__main__': main() c4d.EventAdd()
  3. Maybe I am missing something, but why aren't you using cloner and effectors to your advantage? :) There is no need for multiple objects and multiple animation tracks etc. Here is an example: Clone_delay.c4d
  4. Hrvoje

    Rigging Test

    Very good for first rig, especially without using builder!
  5. Took a stab at it as I think I get what you are after. I believe that instead of using super complex multiple objects it is better to bake the "morphed" object which is source for splinewrap (made by matrix and inheritance trickery). This way you can simply clone the resulting mesh and offset the time with effectors. There is original setup from which I baked the input mesh and simple cloned grid with time offset in step effector. Hope that this is good enough to get you going :) Knit_test.c4d
  6. Folks, bonus lesson is in the works and will be available next week. For ones that are new to this concept, it simply means free additional lesson for this training which comes out periodically. This add extra value to training set :)
  7. Which OS and machine you have? Can you reproduce from scratch? Also, can you please be more specific on what is "buggy"? - thanks :)
  8. Please attach a scene file, will be easier to help. Have you tried with iteration list?
  9. Hi Your scene is very complex and this throws off people from helping you out. Additionally I am not sure what exactly you are after? It would be best to reduce your scene as much as possible and state the goal of what should happen so we can offer solutions...
  10. Hrvoje

    Roll expression

    V3 Works much smoother on slopes now and supports parametric objects as input :P Roll_V3.c4d
  11. Hrvoje

    Roll expression

    Version 2 :) Added ground detection on Y so it follows terrain. Hope this helps R20 people who need roll functionality. To use, simply load a ground and roll object in top null in object manager Rolllllll.c4d
  12. Hrvoje

    Roll expression

    That's my little daughter and yes, she get the looks from her Mom Re wheels: Yes, that would be nice to have... @jed Hope the plugin gets updated soon, seems people use it a lot. This is patched up and has some issues with undo and resetting...
  13. Hrvoje

    Roll expression

    Second request for rolling this week. I built this and works only on XZ plane but it seems right.... Currently it uses a simple sphere. Select the sphere itself and transform to automatically roll it. You can change the roll object in null user data link but then you will have to change iteration values for points of loaded object (best to do on frame 0 with all reset) or automate that too. There is an issue with undo or resetting but that can be solved also and I am low on time :) EDIT: I edited the first post, was asked via pm for this roll_0006.c4d
  14. Well you should see us after few drinks in pub - that would certainly change your impression :P
  15. Hi Please attach a scene file or if you want you can send it to me via pm and I'll treat it confidentially. Cheers
  16. That is certainly true. I rarely came across so diversified bunch than in MAXON...
  17. import c4d from c4d import gui def main(): c4d.CallCommand(5126) # Instance # Execute main() if __name__=='__main__': main() This doesn't work for you? :)
  18. for your kind words, makes me genuinely happy if I managed to help you learn a thing or two! OpenVDB is in works, however it could take some time to release it due to very busy schedule ahead of me now. Sometime in November seems reasonable...
  19. Ah, so you want the angle between shear start and end - I thought you want rotation angle value of deformed plane :)
  20. Hm, maybe something got misunderstood then :) The result node shows the exact angle by which plane is deformed in relation to world 0. That is exactly what you were looking for...?
  21. There is numeric value in Xpresso result node in degress. Uncoverted is in radians...
  22. Ah, just recalled that MoGraph can solve this - here is a quickie :) Shear.c4d
  23. There is an example in docs how to use dot product to calculate angle :) https://help.maxon.net/us/#GVDOT
  24. Hrvoje

    Cell WIP

    It's a little to clean for prison cell ;)
  25. Thank you very much, I really do put a lot of effort in trainings and want to create fluid experience for people. Aaaaan I am not Russian although I am Slavic (Croatian) but your presumption is usual for people in the US :) Never had the chance to meet Scott but I recall overhearing his name few times in relation to Houdini. As far as I know, there were additional nodes added very late at cycle so the documentation didn't make it in time for translation. I am pretty sure it is a matter of days since German docs are already out.
×
×
  • Create New...