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
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. froslie
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    froslie

    @froslie

    0
    Reputation
    14
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    froslie Unfollow Follow

    Latest posts made by froslie

    • RE: Check object (poly) intersect

      Thank you, this works well for the immediate issues. I am happy to learn about signed distance functions.

      FYI, I am trying to make a plugin that will chunk out pieces of the object (sphere) to be used on a CNC mill; the mill is limited in size for the size of material it can work with. Therefore, if this breaks up the surface of the object within these cubes, then it will bool the surface from each one that is intersecting. Those will be milled and then physically recombined. Kind of a long exercise to learn python in c4d.

      If you have other suggestions (I'm sure there are better solutions) -- they would be much appreciated.

      posted in Cinema 4D SDK
      F
      froslie
    • Check object (poly) intersect

      I have a script (python):

      • Adds a sphere
      • Checks the spheres bounding box
      • Determines how many cubes would need to be drawn along X,Y,Z to stack cubes that cover the sphere

      I am trying to figure out how to remove all cubes that do not intersect with the Sphere?

      Thank you for any guidance.

      34cdecd4-ab05-470f-90af-f57416dd8690-image.png

      posted in Cinema 4D SDK python
      F
      froslie