Jump to content

Hey

please be considerate and disable AD blocker when you are on the C4D Cafe, because it helps us run this forum. We minimalized showing of the AD's all across the forums, so please, be so kind and at least help us by having AD blocker turned off. 


macsurf

New Member
  • Content count

    47
  • Joined

  • Last visited

Community Reputation

3 Poor

Contact Methods

  • Website URL
    http://www.mor.pl

Profile Information

  • First Name
    macsurf
  • Last Name
    mac
  • C4D Ver
    R17.055 Studio
  • Location
    Poland
  1. Quick tutorial how to make holes in polygons, transition from different shapes to circle shape and some other tips for subdivision surface. No triangles/n-gons in topology - only quads. Steel Tube Mounting Subdivision Modeling Enjoy watching
  2. Thanks :) to remove trangles and avoid n-gons need experience I am learning all the time :)
  3. How to model screw with thread for subdivision surface - no triangles/n-gons only quads. Screw Thread Tutorial C4D
  4. This is no problem but I want to move also adjacent points not only edges points then it would too easy :) If I didn`t move adjacent points then model will not looks good in sub-d surface. Maybe is there any plugin ? And in your proposition I have to select each vertical lines separately and the set 0 in Z size. This is only 3 lines but if I have much more then will be a small problem :)
  5. I want to move selected points in that way to create side line perpendicular to bottom base line ? Is there any solution to resolve this problem automatically ? Of course I did it manually move all selected points from each vertical lines and move them to the right place. I tried also rotate but it wasn`t too accuracy for me. So only manually moving of points gave me appropriate accuracy using snap tool also.
  6. This topology is not intended for subdivision surface so there is no need quads for this
  7. Topology is good of course you need to do a few cuts on the planes between points in front of geodesic according to n-gons lines and then the mesh is deprived of n-gons. But this is obvious and no problem in this case.
  8. Some technique how to make rounded shapes on the polygons also with wrapping shepes on several polygons. Useful especially by create rounded entrances, window, holes and etc. Rounding the entrances C4D Tutorial There is also problem solved with axis alignment with edge selection I hope that it will be useful to someone :)
  9. This is tutorial that shows how to create staircase in C4D - quickly and accurately :) Staircase C4D Tutorial There are two ways how to quickly make a stairs also.
  10. Thanks a lot :) If my english would be better then I would do more comments in english to better describe individuals problems :) But I am afraid that I can make any mistake in english in my description heh
  11. Some tips about accuracy modeling and position objects. Snap tool, align to selection, alignment points to refference splines, setting the correct axis for objects, replaces objects to instances, parallel lines, rotate snap itp. Accurate Modeling in C4D
  12. OK I resolve this problem. By application this method with proper second const : doc.SetActiveObject(obj, c4d.SELECTION_SUB) # Deselect Active Object. After that all objects are proper converted. Corrected functions: import c4d bc = c4d.BaseContainer() def recursiveObj(obj, callback): while obj: if(isinstance(obj, (c4d.BaseObject)) == False): print 'This is not instance of BaseObject' return 0 #print obj callback(obj) recursiveObj(obj.GetDown(), callback) obj = obj.GetNext() def experiment(obj): if(obj.GetType() == 1018544): doc.SetActiveObject(obj) #c4d.CallCommand(100004767) # Deselect All c4d.CallCommand(100004768, 100004768) # Select Children c4d.CallCommand(12236) # Make Editable #obj.SetBit(c4d.BIT_ACTIVE) c4d.CallCommand(100004768, 100004768) # Select Children doc.SetActiveObject(obj, c4d.SELECTION_SUB) # Deselect Active Object c4d.CallCommand(16768, 16768) # Connect Objects + Delete c4d.EventAdd()
  13. I wrote some part of script, but I have a problem with recursive iteration because when script will call callback function with c4d.CallCommand(16768, 16768) # Connect Objects + Delete then iterations has been broken. And only one object will have been converted. I tried select all childrens without a parent object but I don`t know how to do it :( then should be everything ok. import c4d bc = c4d.BaseContainer() i = 0 def recursiveObj(obj, callback): global i while obj: if(isinstance(obj, (c4d.BaseObject)) == False): print 'This is not instance of BaseObject' return 0 #print obj i = i+1 print i obj = callback(obj) recursiveObj(obj.GetDown(), callback) obj = obj.GetNext() def experiment(obj): print obj tmp = obj.GetNext() if(obj.GetType() == 1018544): doc.SetActiveObject(obj) #c4d.CallCommand(100004767) # Deselect All c4d.CallCommand(100004768, 100004768) # Select Children c4d.CallCommand(12236) # Make Editable #obj.SetBit(c4d.BIT_ACTIVE) c4d.CallCommand(100004768, 100004768) # Select Children c4d.CallCommand(16768, 16768) # Connect Objects + Delete obj = tmp c4d.EventAdd() return obj def convertToExport(obj): global bc #objList = ['Door Tubes', 'Tubes', 'Screws'] #for o in objList: #doc.SetActiveObject(obj) print 'type of object: ' + str(obj.GetType()) if(obj.GetType() == 1018544): # Only Mograph Object Conversion #doc.SetActiveObject(obj) print 'Convert: ' + obj.GetName() print obj c4d.CallCommand(100004768, 100004768) # Select Children c4d.CallCommand(12236) # Make Editable c4d.CallCommand(100004768, 100004768) # Select Children c4d.CallCommand(16768, 16768) # Connect Objects + Delete if(obj.GetName() == 'Door Tubes'): bc.SetData(c4d.MDATA_OPTIMIZE_TOLERANCE, 1.8) c4d.CallCommand(12139) # Points c4d.CallCommand(13323, 13323) # Select All c4d.CallCommand(14039, 14039) # Optimize... bc.SetData(c4d.MDATA_OPTIMIZE_TOLERANCE, 0.01) return True return False def main(): #obj = doc.SearchObject('Cloner') recursiveObj(doc.GetFirstObject(), experiment) #c4d.CallCommand(60000, 9) # Export Filter return 0 if __name__=='__main__': main()
  14. I can`t find any sample script to select any objects in Python script and to do any operation on it. Maybe someone can write for me sample script to do like these operations: 1. Select appropriate the object by name 2. Make editable selected objects 3. Connect and delete selected objects 4. Optimize with options 1.8cm selected object 5. Delete all objects which are hiddens 6. Export to obj
  15. Scale selected polygons

    Ok no problem :) This is file with that object: Scale selected lines

×