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
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. Caleidos4D
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Caleidos4D

    • RE: GetSplinePoint REVERSE

      Thanks ferdinand
      I will treasure your help. Thank you very much!

      posted in Cinema 4D SDK
      Caleidos4DC
      Caleidos4D
    • GetSplinePoint REVERSE

      Happy Monday, developer friends!
      I would need a way to reverse the GetSplinePoint command,

      I would like, given the position of a null object, to know its value as a percentage on the spline.

      I accept advice and suggestions.
      Thank you

      Immagine 2022-10-03 165148.png

      posted in Cinema 4D SDK python
      Caleidos4DC
      Caleidos4D
    • RE: Bug in Python R20 [c4d.MDATA_EXTRUDE_PRESERVEGROUPS]

      Now Work
      Thanks Andreas

      posted in Cinema 4D SDK
      Caleidos4DC
      Caleidos4D
    • Bug in Python R20 [c4d.MDATA_EXTRUDE_PRESERVEGROUPS]

      Hi!
      sorry for my bad english
      I found this strange behavior in the Extrude tool:

      import c4d
      from c4d import gui, utils
      def main():
      	#Estrusioni
      	settings = c4d.BaseContainer()
      	settings[c4d.MDATA_EXTRUDE_OFFSET] = 20
      	settings[c4d.MDATA_EXTRUDE_CREATECAPS] = False
      	settings[c4d.MDATA_EXTRUDE_SUBDIVISION] = 0
      	settings[c4d.MDATA_EXTRUDE_PRESERVEGROUPS]=True
      	utils.SendModelingCommand(command = c4d.ID_MODELING_EXTRUDE_TOOL,list = [op], mode = c4d.MODELINGCOMMANDMODE_POLYGONSELECTION, bc = settings,doc = doc, flags=c4d.MODELINGCOMMANDFLAGS_CREATEUNDO)
      	c4d.EventAdd()
      if __name__=='__main__':
          main()
      

      [c4d.MDATA_EXTRUDE_PRESERVEGROUPS]=True is always False

      posted in Cinema 4D SDK python r20
      Caleidos4DC
      Caleidos4D