Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

DrawHelper

 Post Reply Post Reply
Author
Message
NiklasR View Drop Down
Member
Member


Joined: 2010 Dec 13
Location: Germany
Online Status: Offline
Posts: 2550
Post Options Post Options   Quote NiklasR Quote  Post ReplyReply Direct Link To This Post Topic: DrawHelper
    Posted: 2011 Jun 02 at 3:56pm

User Information:

Cinema 4D Version:   R 12 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s):     C++  ;   PYTHON  ; 

---------

Hi there,

I quickly wrote a (Python) Plugin that makes it possible to test BaseDraw Draws with immidiate Feedback.
And I thought the C++'ers would be interested, too.



How to use it:

The Code in the Object's A.M. will be executed in the ObjectData's Draw-Method.
The global variables are:
raw:        represents the ObjectData instance
op:         represents the ObjectData's BaseObject instance
drawpass:   represents the Drawpass
bd:         represents the BaseDraw instance
bh:         represents the BaseDrawHelper instance

You can edit the Initial Sourcecode in the file "{Plugin Directory}\Initial Source.py".
An example is given.

Download PyDrawHelper

Have fun with it and train your BaseDraw skills !

Cheers,
Niklas

Note:  Having this Object in the document makes Cinema 4D unstable, there may appear runtime errors when closing Cinema 4D. !
Do not use this Plugin when having important data open in Cinema 4D !
Use the plugin at your own risk.


Edited by nux95 - 2011 Jun 03 at 1:41am
Back to Top
hgcafe View Drop Down
Member
Member


Joined: 2011 Oct 26
Online Status: Offline
Posts: 60
Post Options Post Options   Quote hgcafe Quote  Post ReplyReply Direct Link To This Post Posted: 2014 Mar 06 at 4:07am

Hi Nik.

Thanks for this useful little helper, it's a lot easier to test things this way.

Do you think you could update it to work with the R15 release?

Cheers

Phil

Back to Top
Mike Udin View Drop Down
Member
Member
Avatar

Joined: 2016 Jan 25
Location: Spain
Online Status: Offline
Posts: 15
Post Options Post Options   Quote Mike Udin Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Jun 29 at 5:03am
Do you think you could update it to work with the R15 release?
Yes! Have a same question!
Back to Top
NiklasR View Drop Down
Member
Member


Joined: 2010 Dec 13
Location: Germany
Online Status: Offline
Posts: 2550
Post Options Post Options   Quote NiklasR Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Jun 29 at 11:26am
Hi! Sorry I did not see the reply from 2014!

The DrawHelper is now part of C4DDev. You can download it from GitHub.

Cheers,
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.125 seconds.