Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent naming for nodes #747

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

NotArme
Copy link
Contributor

@NotArme NotArme commented Jan 31, 2025

As previously discussed both on the oficial discord and on the Issue 460, some nodes have inconsistent spelling (ie using the british "grey", as opposed to the american english used everywhere else) and formatting (ie using camelCase or others, instead of the Title Case being used by the majority of nodes).

This PR goes through every node available, changing the name on library and on the nodes themselves to Title Case, and changing existing instances of "Grey" to "Gray"

Changed library names:

Before After
Simple/Uniform/Greyscale Simple/Uniform/Grayscale
Simple/PolyCurve Simple/Poly Curve
Simple/EasySDF Simple/Easy SDF
Pattern/Bricks/BasketWeave Pattern/Bricks/Basket Weave
Pattern/Bricks/HerringBone Pattern/Bricks/Herringbone
Pattern/Bricks/SpanishBond Pattern/Bricks/Spanish Bond
Pattern/Bricks/ArcPavement Pattern/Arc Pavement
Noise/Value/Warp1 Noise/Value/Warp 1
Noise/Value/Warp2 Noise/Value/Warp 2
Filter/AdjustHSV Filter/Adjust HSV
Filter/AlterHSV Filter/Alter HSV
Filter/Greyscale Filter/Grayscale
Filter/SwapChannels Filter/Swap Channels
Filter/Normal map Filter/Normal Map
Filter/Edge detect Filter/Edge Detect
Filter/Edge detect/Axis aligned Filter/Edge Detect/Axis Aligned
Filter/Fill/To random grey Filter/Fill/To Random Gray
Filter/Fill/To random color Filter/Fill/To Random Color
Filter/MakeTileable Filter/Make Tileable
Filter/SmoothCurvature Filter/Smooth Curvature
Filter/SmoothCurvature2 Filter/Smooth Curvature 2
Transform/CircleMap Transform/Circle Map
Transform/CustomUV Transform/Custom UV
Transform/Tile2x2 Transform/Tile 2x2
Trans../Tiler/Adv../HeightToAngle Trans../Tiler/Adv../Height to Angle
Trans../Tiler/Adv../HeightToOffset Trans../Tiler/Adv../Height to Offset
Transform/WarpDilation Transform/Warp Dilation
Transform/CircleSplatter Transform/Circle Splatter
Workflow/CreateMap Workflow/Create Map
Workflow/MixMap Workflow/Mix Maps
Workflow/ApplyMap Workflow/Apply Map
Workflow/Paint1 Workflow/Paint 1
Workflow/Paint2 Workflow/Paint 2

Display names

Were changed to match the library names formatting when possible, and abbreviated in some cases, to avoid overly long nodes (ie Edge Detect 2 was changed to AA Edge Detect, to match the library name of Axis Aligned Edge Detect).

Other Changes

Parameter list on the Bricks node was changed to match the new library names

Before After
Running bond Running Bond
Running bond (2) Running Bond 2
Running bond (3) Running Bond 3
HerringBone Herringbone
Basket weave Basket Weave
Spanish bond Spanish Bond

The Curved star parameter on the Shape node was changed to Curved Star

On the FBM node, the Cellular2 through Cellular6 parameter was changed to Cellular 2 ~ Cellular 6

Aliases

Default aliases were added for the british spelling on nodes that uses the word Gray ( > Grey) and Color ( > Colour)

Important to note

The SDF nodes and 3D nodes were not changed in this PR due to the still not discussed inconsistency in their naming
Some of them have sd or TEX3D as a prefix, some do not. some have the prefix both on the library name and the node display name, some will have it only on one of the two.
It's required that we decide what will be the preferred default naming scheme for those nodes before changing them.

@NotArme NotArme marked this pull request as ready for review February 1, 2025 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant