Touching Input object which has input [SOLVED]


    On 24/09/2012 at 09:26, xxxxxxxx wrote:

    Ilya, I don't think you have understood my question, or I just missunderstand you. :) But the
    conversion is not the problem, it's the touching so that the input-objects are hidden (when you put a
    cube into a HyperNURBS, you don't see the cube any-more, but its smoothed version).


    Thanks in advance,

  • On 22/11/2016 at 15:50, xxxxxxxx wrote:

    @NiklasR were you ever able to resolve this issue?

  • On 28/11/2016 at 02:04, xxxxxxxx wrote:

    A general solution to a similar topic has been posted on this thread with a plugin example provided here.

  • On 28/11/2016 at 12:05, xxxxxxxx wrote:

    Hello knickknack,

    I am sorry but I don't see this example showing how to solve the problem mentioned here.

    • It supports only "raw" spline objects, no procedural splines as inputs
    • Even the first input input child is visible, not speaking of the initial problem where children of input objects are still visible

    @Donovan: unfortunately I have not been able to find a solution for this yet.

    Kind regards,

  • On 28/11/2016 at 21:42, xxxxxxxx wrote:

    Thanks for responding @Niklas!

  • On 02/12/2016 at 09:30, xxxxxxxx wrote:

    Thanks Niklas, for spotting out the issue.

    In the last days I've been able to work on a solution that supports both procedural spline generators and hiding input object are properly working now.

    The code will be available beginning next week after some other corner cases will be verified.

    Best, Riccardo

  • On 15/12/2016 at 13:12, xxxxxxxx wrote:

    Hi Niklas, I apologize for getting late here but  here you can find a new updated code which should fix the issue you've reported above.

    Let me know if/how the example fits with your needs.

    Best, Riccardo

  • On 15/12/2016 at 17:45, xxxxxxxx wrote:

    Hi knickknack, thanks for the example. It would be nice if you could include all the resource files as well so
    we don't have to write them down manually before testing the plugin :)

    Your example seems to work well, fixing the above mentioned points. I'm not sure exactly how  though. Is
    it the use of  GetHierarchyClone()  or  GetAndCheckHierarchyClone()? Or is it important at what point to call
    Touch()  on the input child object?


    Kind regards


    PS: Just for reference so some1 else doesn't have to skim through the other thread first, here's the link
    to the code: -- And here in this Gist I put the resource files as well.

  • On 15/12/2016 at 21:13, xxxxxxxx wrote:

    @Niklas, thanks for making the resource files. Makes it much easier to test!

    Also, for those using Niklas example. You'll need the following directory structure.

    - OffsetSpline
    ----- offsetspline.pyp (<- NOTE: This needs to be *.pyp not *.py as in the gist)
    ----- res
    ----------- c4d_symbols.h
    ----------- description
    ------------------ OoffsetYspline.h
    ------------------ OoffsetYSpline.res
    ----------- strings_us
    ------------------- description
    ------------------------- OoffsetYspline.str

  • On 16/12/2016 at 11:49, xxxxxxxx wrote:

    Uups, yes it needs to be .pyp. My mistake :)

Log in to reply