nrosenstein-c4d / c4d-prototype-converter

A Cinema 4D plugin to convert plugin prototypes to actual Python plugins.
MIT License
26 stars 4 forks source link

Duplicate / Conflicting IDs with "X+" "X-" Parameters #35

Closed donovankeith closed 6 years ago

donovankeith commented 6 years ago

I hate to add special cases, but it seems that

Are fairly common cycle options. At the moment, they generate overlapping IDs:

UserData:

0;X+
3;X-
1;Y+
4;Y-
2;Z+
5;Z-

Ocvline.res

            CYCLE {
                CV_LINE_AXIS_X;
                CV_LINE_AXIS_X;
                CV_LINE_AXIS_Y;
                CV_LINE_AXIS_Y;
                CV_LINE_AXIS_Z;
                CV_LINE_AXIS_Z;
            }

cv-line spline.zip

donovankeith commented 6 years ago

Maxon seems to replace + with P and - with N

enum
{
    PRIM_AXIS                                   = 1300, // LONG    - Direction [0:+X; 1:-X; 2:+Y; 3:-Y; 4:+Z; 5:-Z]
        PRIM_AXIS_XP                            = 0,
        PRIM_AXIS_XN                            = 1,
        PRIM_AXIS_YP                            = 2,
        PRIM_AXIS_YN                            = 3,
        PRIM_AXIS_ZP                            = 4,
        PRIM_AXIS_ZN                            = 5
};