Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Login

    Finding proper offset for a SplineHelp()

    Scheduled Pinned Locked Moved PYTHON Development
    1 Posts 0 Posters 169 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      On 14/11/2013 at 12:50, xxxxxxxx wrote:

      Back again, been stumped on this for three days now.

      This is only the first part of a larger thing I'm trying to build, for the most part it's replicating the functionality of 'Create Outline'.

      It seems to work find on hard edged splines (that only have one segment so far).
      However as soon as I feed it a spline with curves it behaves very oddly.

      In the linked file it works fine with the letter K, but swap the text object to a 'G'. Why doesn't the point count correspond to the spline's points anymore? Thus causing the points flying all oner the place.

      https://www.dropbox.com/s/quuysbguocmwky4/%5B37%5DSplineOutLineNotWorking.c4d

      Perhaps a better question is how do I get the proper 'offset' that Splinehelp() needs to correspond to each point to get the crossnormal?

      Thanks for taking the time to look. Any help would get me out of a three day slump!

      Chris Schmidt

      1 Reply Last reply Reply Quote 0
      • First post
        Last post