Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. noseman
    3. Topics
    N
    • Profile
    • Following 0
    • Followers 1
    • Topics 11
    • Posts 29
    • Best 2
    • Controversial 0
    • Groups 0

    Topics created by noseman

    • N

      "Cubic Bias" interpolation...

      Cinema 4D SDK
      • • • noseman
      5
      0
      Votes
      5
      Posts
      922
      Views

      N

      Thanks Ferdinand!

    • N

      How to get a MoGraph Selection using a Python Effector...

      Cinema 4D SDK
      • sdk • • noseman
      1
      0
      Votes
      1
      Posts
      337
      Views

      No one has replied

    • N

      How to make a Python Plugin...

      Cinema 4D SDK
      • python • • noseman
      5
      1
      Votes
      5
      Posts
      1.5k
      Views

      mikeudinM

      @noseman seems that it's needs to be updated
      https://github.com/nrosenstein-c4d/c4d-prototype-converter/issues/52

    • N

      Get Point Positions of Selected N-Gon or Polygon

      General Talk
      • • • noseman
      11
      0
      Votes
      11
      Posts
      2.5k
      Views

      X

      Hi:

      This is a bit of a hassle, but can still be scripted, who CARES about an extra polygon.

      import c4d def main(): polygons = op.GetAllPolygons() points = op.GetAllPoints() point = [c4d.Vector(10000, 10000, 10000),c4d.Vector(9999, 10000,10000), c4d.Vector(9999, 10000, 10001),c4d.Vector(10000, 10000, 10001)] point_indexe = [[len(points) + i ,point[i]] for i in range(len(point))] op.ResizeObject(len(points) + len(point),len(polygons) + 1) set_point = [op.SetPoint(k[0], k[1]) for k in point_indexe] op.Message(c4d.MSG_UPDATE) c4d.EventAdd() if __name__=='__main__': main()
    • N

      iterating on multiple Tmgselection tags

      Cinema 4D SDK
      • • • noseman
      2
      0
      Votes
      2
      Posts
      444
      Views

      N

      Replying to my own question. We need to define it using

      mo.GeGetMoDataSelection(Tag)

      Code that works.

      import c4d from c4d.modules import mograph as mo def main(): Cloner = op.GetObject() md = mo.GeGetMoData(Cloner) AllTags = Cloner.GetTags() for Tag in AllTags: if Tag.GetType() == c4d.Tmgselection: print Tag SelTag = mo.GeGetMoDataSelection(Tag) #This is the new line print SelTag.GetCount()
    • N

      Selecting Different components but in Different modes

      Cinema 4D SDK
      • • • noseman
      14
      0
      Votes
      14
      Posts
      1.9k
      Views

      ManuelM

      hi,
      I can't reproduce that, what version are you using ?

      the only moment where a coordinates could be 0 is if the point and the object's pivot are sharing the same coordinates AND you have the "Enable Axis" enable.
      (or you are in object's rel or abs coordinate and the point is at the same position of the pivot's object.
      As if you were at the same time in object's mode and in point mode. (moving the object's pivot point and the modeling axis at the same time)

      So this look like a bug.

      by the way, what do you call the "default state" ? The last modeling axis position ? the position when you selected the polygon ?

      Cheers,
      Manuel

    • N

      Using Python Node to Traverse Deep Hierarchy... fail

      Cinema 4D SDK
      • python • • noseman
      5
      0
      Votes
      5
      Posts
      792
      Views

      N

      Ah, you probably expect the toroids to also rotate around their own axis

      exactly. Thanks

    • N

      XPRESSO Python Node "Could not find port value for..." Error

      Cinema 4D SDK
      • python • • noseman
      3
      0
      Votes
      3
      Posts
      554
      Views

      N

      @m_magalhaes
      Oh man... thank you so much. Even when I read your reply, I couldn't "see" it in the Node... was staring at it for to long.
      thanks.

    • N

      Tag GetInfo() help

      Cinema 4D SDK
      • • • noseman
      4
      0
      Votes
      4
      Posts
      925
      Views

      N

      @m_adam Great info. Thanks Maxime!

    • N

      Multi threading in Python - Parallelization

      Cinema 4D SDK
      • • • noseman
      3
      0
      Votes
      3
      Posts
      909
      Views

      N

      I have a script that takes 5 hours to do something 🙂
      I wouldn't mind it taking 5 hours / 12

      Thank you for the information. I'll put it to good use... and let you know when I fail!