Jump to content

SolarPH

Regular Member
  • Content Count

    162
  • Joined

  • Last visited

  • Days Won

    1

SolarPH last won the day on August 8 2016

SolarPH had the most liked content!

Community Reputation

9 Noble Beginner

About SolarPH

  • Rank
    Cafe Junior
  • Birthday 06/28/1999

Profile Information

  • First Name
    Marc John
  • Last Name
    Benamera
  • Location
    Philippines
  • Website URL
    sellfy.com/SolarPH.MC

Hardware | Software Information

  • C4D
    14 Studio
  • OS
    Windows10
  • GPU
    NVidia GEFORCE(1) | Intel Core i3 8th Gen(2)

Recent Profile Visitors

1,546 profile views
  1. Hi C4Dcafe! I had a bit of a problem right now. I actually planned on developing a tool to minimize the time working on meshes which requires resizing each polygon UV scale to 0,0 per polygon. Resizing the whole UV map using the Scale modifier while all polygons is selected just makes it resize and gather to the most center of the selection, and I don't want that. I want each center of individual polygons to stay where the individual centers is. What i need that I find difficult to find is: 1. A way to count polygon count of the polygon object 2. A way to select each po
  2. Might be lifting a fog, you can follow my question on MAXON's Plugin cafe here: https://plugincafe.MAXON.net/topic/12481/python-nodes-shouldn-t-really-they-can-change-the-scene It seems like it really depends on the format on how you modify your scene. The sure thing is if it was ran via Execute method, it will affect the stability.
  3. So far, modification of heirarchy was successful, also the swapping of objects using a python node. It's just the thing that MergeDocuments doesn't have a way to be undone using an AddUndo command I also tried placing the AddUndo between a StartUndo and EndUndo scope Also, if you mean by limiting the run is the Ground Outputs, that's because the node itself won't make changes with the scene file, so I need to make a ground connection that goes into an unused/useless Link-type input. Or if you mean by that one was the boolean switch, I also do it mostly on some switches like auto
  4. Hey C4DCafe! I just started to work on an Import-Type Rig Assembly Wizard, which extracts relevant rig parts from my rig's preset folder to the object manager (since my rig was built as individual pieces and being linked by Python nodes) I have some problems in terms of getting the AddUndo work with MergeDocument. Here's my code: import c4d #Welcome to the world of Python def main(): global Output1 if Input1 != None and Input2 == 1: doc.AddUndo(c4d.UNDOTYPE_CHANGE,doc,True) c4d.documents.MergeDocument(doc,Input1,c4d.SCENEFILTER_MERGESCE
  5. Hello c4dCafe! I have a problem on my scene file wherein I need to constraint an object to not move unless I move the parent of that object. I have 2 objects, ABS, which gets referenced, and REL, which references ABS's global coordinates into relative coordinates. ABS has a master parent named PAR, I need PAR to be the root of Global Coords of ABS. I have found a code that can translate Angle and Distance to X and Y on a plane. The thing is I have implemented it on 3D space. I was kind of successful, but there was something wrong. If I rotate it only on one axis, it act
  6. Actually, nevermind. I just got it solved by my own. But since it's here already, I'll share how to get days only to print in the string. You can also use some parts of it for logic script building. import c4d import datetime #Welcome to the world of Python def main(): global Output1 starttrial = datetime.date.today() # Date on your computer endtrial = datetime.date(2019,9,1) # Date on when it expires TimeComparison = endtrial - starttrial # Date comparison Output1 = "You only have " + (str(TimeComparison.days)) + " days before this rig expires..."
  7. Good Day! So, I do search some raw python codes, but there are so many, but I can't find one that is specifically made for Cinema4D R14. Do anyone know how to get the current device date and time and compare it with a time that I have set? I do want to use it in making a Demo Version of a rig I was making, but since majority of it's parts do work under Python Scripts inside Xpresso tags, I think I can use that certain part of code to disable the main module that connects the parts to make the rig work at all. Also, is there any way to print how many days remai
×
×
  • Create New...