Jump to content

pdeb

Limited Member
  • Posts

    26
  • Joined

  • Last visited

Profile Information

  • First Name
    Peter
  • Last Name
    Debay
  • Location
    Vancouver

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

pdeb's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

3

Reputation

  1. That did the trick. I cleared out all of the hidden files, and voila, no errors. Thanks very much for your assistance.
  2. Hello, I was pleasantly surprised to find that a couple older modeling plugins (AlignToVector, PointCollapse, KyamaSlide) worked with C4D R20+ in OSX using Insydium Bridge. However, when I loaded the plugins onto a Windows 10 system, I got a bad image error when C4D opened. The plugins loaded and were fully functional, just wondering if there's a way to remove those error messages on C4D startup. I tried to installing Visual C++ 2015-2019 as it has been mentioned as a fix, but no luck. Is this a case of the plugins being compiled on OSX? If so, any idea if a recompile for Windows is even possible? thanks for any assistance, pdeb
  3. Hi Claire, I will point you to Niklas Rosenstein's NR Toolbox, which contains both a CSV Effector for MoGraph, as well as a CSV Xpresso node - both can be used to read in values from a CSV file and read out values that can be used to drive other parameters: https://github.com/nrosenstein-c4d/c4d-nr-toolbox You could probably run use the Xpresso node and an Iterator to populate MoText with strings from the CSV. hopefully that gets you going in the right direction, pdeb
  4. Update, I found tapering and then spline wrapping a rectangle spline did the trick, less controllable but works for the time being. If anyone knows of a way to achieve the original request, would kindly appreciate passing it along. thanks, pdeb
  5. Hello all, Was hopeful someone had a suggestion towards a solution for connecting the starts and ends of two splines in order to make a single spline from the result. I have 2 helix splines running alongside each other, and I'd like to procedurally connect them (for animating the helix angles) at the start and end vertices to make a single closed spline to feed into a more complex Spline Mask workflow. I've used xpresso to create 2-point splines at the point positions of the start and end of the helices, but can't get them to merge via Connect or any of the usual suspects (Welter's SplineConnector, Cody Sorgenfrey's Connect Sgements, a couple others) with no luck, I don't know of any way to merge 2 Matrix objects either to feed into a Tracer. Maybe there's a way to use one of the Edge to Spline add-ons to procedurally select the boundary of a Loft, but haven't found a way. Any help appreciated, pdeb
  6. Thanks so much Jed, I'm getting there with my Xpresso setup after Cairyn's trig refresher 🙂 then (not shown) using the tracer and spline mask to combine - the priority even seems to be mostly correct somehow. I'll keep at it, thanks again, P
  7. Brilliant as always Cairyn, thanks very much. I'll put that in the works and see what I come up with. Will post if/when successful. P
  8. Hello Kangddan, I looked for your tutorial above but could not find it - can I find it somewhere else? I would love to learn how to calculate the belt spline's shape from the gears. thank you in advance
  9. Hello all, Wondering if anyone's seen an Xpresso setup to create linear splines tangential to 2 circles as in the attached. I know that someone made a script for Illustrator named Common Tangents: http://shspage.com/aijs/en/#common but wanted to see if there was a C4D solution before I set down the path of learning a little more geometry theory (which would fun in its own right). Maybe dynamics with a very stiff setting or shrinkwarp may work as a solution. Thanks for any help, P
  10. Very late to this, as I was looking for a solution to the same problem, and found this thread to be helpful: https://www.c4dcafe.com/ipb/forums/topic/101524-export-cam-posorientations-to-text-file/ Also, on the topic of CSVs, Niklas Rosenstein created a nifty CSV Effector inside his NR Toolbox which allows you to remap CSV values to clone parameters: https://github.com/NiklasRosenstein/c4d-nr-toolbox/blob/master/docs/README.md
  11. solved it with flipping the X axis rotation value for negative csv values: for u in range(0, nb): if myFloats[u] < 0: marr[u].v1 = c4d.Vector(-1,0,0) marr[u].v2 = c4d.Vector(0,myFloats[u]*100,0) count += 1 else: marr[u].v1 = c4d.Vector(1,0,0) marr[u].v2 = c4d.Vector(0,myFloats[u]*100,0) count += 1
  12. I've created a Python Effector which reads in csv values and scales clones in Y by index. My only issue is that the script doesn't respect negative values from the csv, and instead scales all clones in the positiveY. I thinkthis has something to do with matrices, and have read through matrix section the sdk, but can't seem to find a way have negative csv values translate to negativeY scales. Even when I negate the csv values, the effector still scales the clones in the positiveY. Maybe something simple I'm overlooking, but any help appreciated. import c4d from c4d.modules import mograph as mo import csv #Welcome to the world of Python def main(): csvFile = op[c4d.ID_USERDATA,1] csvColName = op[c4d.ID_USERDATA,2] count = 0 myValues = [] with open(csvFile) as csvfileIn: reader = csv.DictReader(csvfileIn) for row in reader: csvVals = (row[csvColName]) myValues.append(csvVals) count += 1 myRevList = myValues[::-1] #reverses the order of the list myFloats = [float(i) for i in myRevList] rangeLow = min(myFloats) rangeHigh = max(myFloats) md = mo.GeGetMoData(op) if md is None: return False marr = md.GetArray(c4d.MODATA_MATRIX) fall = md.GetFalloffs() nb = md.GetCount() for u in range(0, nb): marr[u].v2 = c4d.Vector(0,myFloats[u]*100,0) md.SetArray(c4d.MODATA_MATRIX, marr, True) return True if __name__=='__main__': main()
  13. Thanks Jed. Until I get my python chops I decided to go a different route, albeit hacky. I used a python script to export the runner's Y-position values to a CSV, then used Niklas Rosenstein's CSV effector to give each of my clones (as each appears on its own frame) the Y-value from the CSV. It works fine. it just means spitting out values to the CSV if I decide to change the path. But for now it will do the trick, thanks for your help, p
×
×
  • Create New...

Copyright Core 4D © 2023 Powered by Invision Community