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

IDEA: Add Line Break before Group IDs in `res()` #44

Open donovankeith opened 6 years ago

donovankeith commented 6 years ago

Current Behavior:

    CV_PS_RANGE_GROUP = 1045
    CV_PS_RANGE_GROUP1 = 1046
    CV_PS_FROM1 = 1047
    CV_PS_TO1 = 1048
    CV_PS_EVERY = 1049
    CV_PS_OFFSET1 = 1050
    CV_PS_BOUNDS_GROUP = 1051
    CV_PS_MINMAX_GROUP = 1052
    CV_PS_X = 1053
    CV_PS_X1 = 1054
    CV_PS_Y = 1055
    CV_PS_Y1 = 1056
    CV_PS_Z = 1057
    CV_PS_Z1 = 1058
    CV_PS_POLY_TYPE_GROUP = 1059
    CV_PS_POLY_TYPE_TRIANGLES = 1060
    CV_PS_POLY_TYPE_QUADRANGLES = 1061
    CV_PS_POLY_TYPE_NNGONS = 1062
    CV_PS_CIRCUMFERENCE_GROUP = 1063
    CV_PS_CIRCUMFERENCE_MIN = 1064
    CV_PS_CIRCUMFERENCE_MAX = 1065
    CV_PS_DISTANCE_GROUP = 1066
    CV_PS_DISTANCE_TARGETS = 1067
    CV_PS_DISTANCE_MAX_DISTANCE = 1068

Ideal Behavior:

    CV_PS_RANGE_GROUP = 1045

    CV_PS_RANGE_GROUP1 = 1046
    CV_PS_FROM1 = 1047
    CV_PS_TO1 = 1048
    CV_PS_EVERY = 1049
    CV_PS_OFFSET1 = 1050

    CV_PS_BOUNDS_GROUP = 1051

    CV_PS_MINMAX_GROUP = 1052
    CV_PS_X = 1053
    CV_PS_X1 = 1054
    CV_PS_Y = 1055
    CV_PS_Y1 = 1056
    CV_PS_Z = 1057
    CV_PS_Z1 = 1058

    CV_PS_POLY_TYPE_GROUP = 1059
    CV_PS_POLY_TYPE_TRIANGLES = 1060
    CV_PS_POLY_TYPE_QUADRANGLES = 1061
    CV_PS_POLY_TYPE_NNGONS = 1062

    CV_PS_CIRCUMFERENCE_GROUP = 1063
    CV_PS_CIRCUMFERENCE_MIN = 1064
    CV_PS_CIRCUMFERENCE_MAX = 1065

    CV_PS_DISTANCE_GROUP = 1066
    CV_PS_DISTANCE_TARGETS = 1067
    CV_PS_DISTANCE_MAX_DISTANCE = 1068

This would make it quite a bit easier to scan a big block of ids.

NiklasRosenstein commented 6 years ago

That's not very trivial to implement at this moment.

donovankeith commented 6 years ago

No worries.