Jump to content

Christmas gift, arc through 3 points


mabad

Recommended Posts

A good while back, a member of the Cafe asked for a solution to have an arc always pass through three points.

At the time I wrote a COFFEE script, which was quite hairy, but did the job (in most cases :wackywink:)

After the release of C4D R20 COFFEE did not work anymore and decided to give a go to that script using Python.

To get better equations on how to locate the arc, I got to this page, which had the math to get it always working.

So I coded the script, and today as a gift for the C4D community, I want to make it available for you all.

Just open the file and move the points A, B and C around. The arc will follow the points. Point B is always the middle point.

 

Have fun with it. If you find the script useful, please let me know.

ThreePointArc_R20_python.c4d

Link to post
  • 5 weeks later...

I find the concept that any 3 points always lie on a circle a bit mind-blowing.

 

Sounds like the kind of theorem someone in ancient Greece would spend their whole life trying to prove (or disprove).

Link to post
  • 2 weeks later...

Hey @jed, very interesting idea.

 

I suppose that making the circles in 3D, instead of 2D, and letting the 4th circle pass through the 3 points would be so crazy, that the effect you got there would not be so smooth. I like it.

The concept of an arc/circle passing through three points is similar to the one that says that through 2 points can only pass a line, but with a twist :wackywink:

 

@Eterea, you gave me the idea of building this one. Thanks for using it in your clip, it was probably for much less than a second, but the result was very good. I loved that video.

Link to post
11 hours ago, mabad said:

@Eterea, you gave me the idea of building this one. Thanks for using it in your clip, it was probably for much less than a second, but the result was very good. I loved that video.

Yeah! Your script was fantastic to create the solar arcs for my Lux Aeterna animation.

 

Thank you so much for this, Mabad! :-)

 

makingof_03.thumb.png.324a13ef2c515df9a659ff43c7137680.png

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

ABOUT US

We are dedicated Cinema 4D Community of friendly and passionate artists, hobbyists and developers. Feel free to join us to share your knowledge, your art and anything that might help Community to grow. We are providing guidance, free plugins and files, feedback, sponsorships and various discounts for our Contributors and much more. :cowboypistol:

×
×
  • Create New...

Copyright C4D Cafe © 2021 Powered by Invision Community