• 0 Votes
    2 Posts
    60 Views
    ferdinandF
    Hey @CJtheTiger, Thank you for reaching out to us. That seems to be part of what the Cinversity team did before I joined Maxon. This was never a project of the SDK team. And more over, this seems to have been a private project of Niklas Rosenstein, an ex Maxon employe, because the link points to his GitHub. Niklas is still on GitHub, maybe you can send him a message if he still has his old code? But this looks like an R25 or even older project, so this will for sure require some update work. There are also the Cinversity legacy downloads on Maxon's downloads page, but it does not seem to contain it either. Cheers, Ferdinand
  • String to Spline (cast)

    General Talk programming
    2
    0 Votes
    2 Posts
    270 Views
    ferdinandF
    Hey @Kantronin, Thank you for reaching out to us. Unfortunately, I do not understand your question. The print out you provided, <c4d.SplineObject object ..., already indicates that the object is a c4d.SplineObject. So, I do not really understand what you mean with 'get a spline-type variable'. To get the underlying editable spline object for a spline generator, e.g., get a spline with editable vertices and tangents for a Flower Spline generator, you should use BaseObject.GetRealSpline. But that is only necessary when you have a BaseObject which under the hood represents a spline. It does not apply when you already have a SplineObject as you do. Cheers, Ferdinand
  • 0 Votes
    2 Posts
    684 Views
    ferdinandF
    Hey @RTF, Thank you for reaching out to us. There is no fully automatic way to do this, as it is up to third parties to expose their APIs to Python. When a vendor does not offer a Python API, you can do two things: Simply define the symbols yourself in your Python code, they are just integer values after all. With mxutils.ImportSymbols you can import symbols from a resource, e.g., a symbols.h file. It is (a part of) the very mechanism we use to automatically expose the symbols from the native Cinema 4D C++ API to the Python API. Cheers, Ferdinand
  • Select objets by point number

    Moved Cinema 4D SDK programming plugin-information
    3
    0 Votes
    3 Posts
    607 Views
    P
    Thanks you for your help
  • Center Axis with Python

    General Talk programming
    5
    1
    0 Votes
    5 Posts
    1k Views
    i_mazlovI
    Hi @Kantronin, Instead of creating multiple consequent postings please consolidate them in a single one. I've also noticed that you've added "programming" tag but haven't mentioned the language you're talking about (is it c++ or python?). Regarding your questions. Transforming the axis of a PointObject effectively means transforming the point values. There're some helping commands that I've shown you in my previous message, but what they effectively do is just transforming the points. Please have a look into the operation_transfer_axis_s26.py example, which demonstrates how to perform axis translation. As for the rotation part, I'd need to point you once again to our Matrix Manual, which actually contains the answer to your question. Namely, the chapter "Constructing and Combining Transforms" explains the usage of functions c4d.utils.MatrixRotX(), c4d.utils.MatrixRotY() and c4d.utils.MatrixRotZ(). I will not copy & paste the same code snippet from our manual, so please check it youself. Combining these with the example above should do the trick for you, unless you don't have the initial transformation of your ring splines. If that's the case, then your task turns into a way more complex form of the optimization problem. Please also note, that you can only do the object axis transformations on PointObject (and on PolygonObject since it's inherited from PointObject). This effectively means that if you're using the Osplinecircle instead of an ordinary Ospline, this wouldn't work, as it doesn't store any points inside. In this case you'd need to convert to Ospline. If that's not an option for you, you can check the Geometry Axis and Geometry Orientation scene nodes, as they allow you to transform the axis "on-the-fly", so this would work even with non-point objects. Cheers, Ilia
  • Is there anyway to get/set the Place tool?

    Moved Cinema 4D SDK programming
    2
    1
    0 Votes
    2 Posts
    414 Views
    M
    Hi sadly this is not possible. I've reached to responsible team to make them aware about it. Cheers, Maxime.
  • Add Title Items (not packable) to Custom Menu

    General Talk programming
    4
    0 Votes
    4 Posts
    931 Views
    ferdinandF
    Well, my answer answers that, check out the posting I linked to. You must insert a MENURESOURCE_SUBTITLE: menu.InsData(c4d.MENURESOURCE_SUBTITLE, "My Heading")
  • Easy Way to Set and Get parameter Values

    Moved Cinema 4D SDK programming
    5
    2
    0 Votes
    5 Posts
    749 Views
    G
    Thanks for your answer.
  • Customize Palettes by Python ( add Buttons )

    General Talk programming
    5
    1
    0 Votes
    5 Posts
    1k Views
    G
    Thanks for the answer
  • 0 Votes
    4 Posts
    1k Views
    G
    I just simply add a plugin to C4D which creates a user menu into C4D all in one pack without adding any script into the user C4D preferences folder ( library / scripts ) . Menu and script embedded solution all in one plugin inside.
  • 0 Votes
    4 Posts
    1k Views
    ferdinandF
    Okay, we are going to end this thread here, as this discussion leads nowhere. Please contact end user support about this.
  • What's your favourite tree/vegetation generator?

    General Talk programming
    2
    0 Votes
    2 Posts
    703 Views
    ferdinandF
    Hey @Livat1984, There are currently four commercial third party solutions for your task (that I am aware of): Forrester is a full blown plugin suite for vegetation generation. Taio is also a vegetation solution which integrates nicely into the Insydium toolkit. Laubwerk is more an asset library with an optional surface distribution plugin. Poliigon also offers bindings for its asset library to Cinema 4D, including a vegetation library. With Cinema's own Mograph (Cloner, Fields, and MoSpline) system, Scene Nodes, and our asset library you can also get pretty far. [image: 1728469619465-91d029d5-d9b0-49c9-9528-0cd69b35c60e-image-resized.png] Fig. I: Cinema's own asset library comes with substantial content in the Plants section (all the content does not even fit on my screen, there is more). Finally, a while ago a user posted here a free plant generator, but I am not sure if it is being maintained. Cheers, Ferdinand
  • 0 Votes
    2 Posts
    605 Views
    i_mazlovI
    Hi @jasonwalker, Welcome to the Maxon developers forum and its community, it is great to have you with us! Getting Started Before creating your next postings, we would recommend making yourself accustomed with our forum and support procedures. You did not do anything wrong, we point all new users to these rules. Forum Overview: Provides a broad overview of the fundamental structure and rules of this forum, such as the purpose of the different sub-forums or the fact that we will ban users who engage in hate speech or harassment. Support Procedures: Provides a more in detail overview of how we provide technical support for APIs here. This topic will tell you how to ask good questions and limits of our technical support. Forum Features: Provides an overview of the technical features of this forum, such as Markdown markup or file uploads. It is strongly recommended to read the first two topics carefully, especially the section Support Procedures: Asking Questions. About your First Question Please note that this developers forum is for the public APIs of Maxon products related topics. We unfortunately cannot help with the end user issues. Please ask your end user questions in our Support Center. This and also other important considerations are mentioned in the Scope of Support part of our Support Procedures. If your question is actually development-related (as you've attached "Programming" tag to your posting), then please elaborate on your question from the technical point of view, namely, what specifically are you trying to achieve and by what means? Cheers, Ilia
  • 0 Votes
    8 Posts
    2k Views
    G
    The extension is different. So the file name too. [image: 1731073048659-06886d91-7c0a-42a3-ba9f-0304f23c8315-image.png]
  • 0 Votes
    2 Posts
    541 Views
    ferdinandF
    Hello @treezw, Welcome to the Maxon developers forum and its community, it is great to have you with us! Getting Started Before creating your next postings, we would recommend making yourself accustomed with our forum and support procedures. You did not do anything wrong, we point all new users to these rules. Forum Overview: Provides a broad overview of the fundamental structure and rules of this forum, such as the purpose of the different sub-forums or the fact that we will ban users who engage in hate speech or harassment. Support Procedures: Provides a more in detail overview of how we provide technical support for APIs here. This topic will tell you how to ask good questions and limits of our technical support. Forum Features: Provides an overview of the technical features of this forum, such as Markdown markup or file uploads. It is strongly recommended to read the first two topics carefully, especially the section Support Procedures: Asking Questions. About your First Question Please have a look at our forum guidelines. You must accompany your postings by a reasonable description of what you want. We cannot start deciphering screenshots. I understand that language can be a barrier but your title does not offer much meaning either. I can read here between the lines but we expect you to provide a meaningful problem description in future postings. I assumed that your question is 'how to set the priority value of a Python programming tag?' You must use the parameter access syntax myNode[ID_SOME_PARAM] = value. To discover parameter values, you can use parameter drag and drop in the console. A little hurdle is here the data type of the parameter you want to write, c4d.PriorityData, which is a bit of an oddball. PS: You also posted in the wrong forum, this must go into Cinema 4D SDK since this is a question about this SDK. I have moved your topic. Cheers, Ferdinand import c4d from mxutils import CheckType doc: c4d.documents.BaseDocument # The active document. op: c4d.BaseObject | None # The active object, can be `None`. def main(): """ """ # Allocate a cloner. Object allocation can fail in the C++ backend when you run out of memory. # The constructor will return `None` in that case. One way to handle this is to ensure with # a `CheckType` call that the object is not `None`. cloner: c4d.BaseObject = CheckType(c4d.BaseObject(c4d.Omgcloner)) # Create a Python tag, insert it into the cloner and check for success in one line. tag: c4d.BaseTag = CheckType(cloner.MakeTag(c4d.Tpython)) # Get the priority data of the Python tag, change its value and write it back. Priority data # bundle up three values, the mode, the priority and the camera dependency which are all written # with the method `SetPriorityValue`. priority: c4d.PriorityData = tag[c4d.EXPRESSION_PRIORITY] priority.SetPriorityValue(c4d.PRIORITYVALUE_MODE, c4d.CYCLE_GENERATORS) priority.SetPriorityValue(c4d.PRIORITYVALUE_PRIORITY, -100) tag[c4d.EXPRESSION_PRIORITY] = priority # Insert the cloner into the document and invoke an update. doc.InsertObject(cloner) c4d.EventAdd() if __name__ == '__main__': main()
  • 0 Votes
    5 Posts
    1k Views
    i_mazlovI
    Hi @filsdegraphiste, The links under the youtube video from Donnovan have been broken after updating Cineversity. I've contacted the Web team, they are working on it. As of today it looks like the links have been fixed (e.g. here is the link to the CV-Parametric selection tag tutorial on the Cineversity portal). However, it also looks like the project files are still broken. It might take the Web team some time to recover them completely. The CV Toolbox in turn is available on downloads page under "Cineversity Legacy Downloads" section. Cheers, Ilia
  • 0 Votes
    13 Posts
    3k Views
    KantroninK
    @ferdinand I'm showing an example with a curved surface composed of 8 zones. Each zone is the union of several polygons with normals oriented in the same direction (represented by an arrow). I think C4D should be able to identify this type of tiling and colorize these areas to highlight them. Depending on the case, this tiling could be important, but most often, creators assemble the faces logically. A window could then offer the option to select each tiling, in order to invert the normals with a single click. A plugin could also do this kind of work, which would save creators time. [image: 1751317789481-surface.jpg]
  • 0 Votes
    2 Posts
    698 Views
    M
    Hi just in case for Cinema 4D, there is already Move by Maxon. With that's said it's always nice to have new plugins in Cinema 4D. I have to admit I struggle a bit to understand if you ask for someone to help you to solve your issue or take over the Cinema 4D development of this plugin. If this is the second one I would encourage you to be a bit more clear in order to maybe convince someone to take over. In any case good luck and if you have any technical question related to Cinema 4D, feel free to ask in the Cinema 4D category. Cheers, Maxime.
  • Maxon 365 is it one of your projects

    General Talk programming
    2
    0 Votes
    2 Posts
    788 Views
    i_mazlovI
    Hi @DodgyOneCanobe, Welcome to the Maxon developers forum and its community, it is great to have you with us! Getting Started Before creating your next postings, we would recommend making yourself accustomed with our forum and support procedures. You did not do anything wrong, we point all new users to these rules. Forum Overview: Provides a broad overview of the fundamental structure and rules of this forum, such as the purpose of the different sub-forums or the fact that we will ban users who engage in hate speech or harassment. Support Procedures: Provides a more in detail overview of how we provide technical support for APIs here. This topic will tell you how to ask good questions and limits of our technical support. Forum Features: Provides an overview of the technical features of this forum, such as Markdown markup or file uploads. It is strongly recommended to read the first two topics carefully, especially the section Support Procedures: Asking Questions. About your First Question There's no such Maxon product we're aware of. For the end user questions about Maxon products please refer to our Support Center. Cheers, Ilia
  • 0 Votes
    7 Posts
    2k Views
    ferdinandF
    We removed it because it was just extra work for us to close all the threads where people never bothered to mark them as solved. But I am happy that you seem to have found your solution.