-
Notifications
You must be signed in to change notification settings - Fork 635
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
Dynamo core annotations 1-10 #11103
Dynamo core annotations 1-10 #11103
Conversation
**NODE: String from Object** -CHANGES: Rename str to string, obj to object, Output description: String representation of the object. -NOT APPLICABLE: Name has spaces, does not have DS Syntax -FUTURE EDITS: Retain Existing -> Pending explanation from Sol
**NODE: String from Array** -CHANGES: Rename str to string, arr to array -NOT APPLICABLE: Name has spaces, does not have DS Syntax -FUTURE EDITS: Retain Existing -> Pending explanation from Sol
**NODE: Function Apply** -CHANGES: Rename func to function, arg1 to argument1 func(args) to result, Description: Returns the result of a function with supplied arguments. Ex: arguments of a point and vector are applied to a translate function returning a translated point. -NOT APPLICABLE: Name has spaces, does not have DS Syntax, items is not zero indexed, doesnt pass object-type
**NODE: Function Compose** -CHANGES: Rename func0 to function0, fun to function Description: Returns a single function from multiple functions. Ex: the modulus and divide functions are composed into a single function to apply to a list. -NOT APPLICABLE: Name has spaces, does not have DS Syntax
**NODES: List.LaceShortest List.LaceLongest List.Combine** -CHANGES: Rename comb to combinator, list1 to list0, combined to list Input Description: function to use as combinator
**NODE: List.GroupByFunction** -CHANGES: Rename func to groupFunction, var[]..[] to list Description: Returns a new list grouped by a function. Description Inputs: groupFunction = function for grouping list groupedList = Grouped list
Tooltip FormulaPortDataResultToolTip was being used for String from Object output description
All indexes should start at 0
Eliminate groupByfunction search option as it is name of node and is not needed for search.
List.GroupByFunction output description updated to reflect type: type: var[]..[] (list of arbitrary rank/levels)
JIRA task for LibG improvements added here: https://jira.autodesk.com/browse/DYN-3145 |
@martinstacey please update the following: |
Some review comments are yet to be addressed.
@martinstacey aside from @Amoursol's comments about changing |
…uct update input name combinator -> combineFunction
addressed in d5ab208 |
>type: var[]..[] (list of arbitrary rank/levels) to List of arbitrary rank/levels (type: var[]..[])
Purpose
The following PR addresses nodes' names and descriptions to make them more descriptive for beginners. This is the first PR of the series. More PRs will come subsequently.
1) NODE: String from Object
-CHANGES: Rename str to string, obj to object, Output description: String representation of the object.
2) NODE: String from Array
-CHANGES: Rename str to string, arr to array
3) NODE: Output
-Autodesk will take care of making this node not appear on library
4) NODE: Function Apply
-CHANGES: Rename func to function, arg1 to argument0 func(args) to result,
Description: Returns the result of a function with supplied arguments. Ex: arguments of a point and vector are applied to a translate function returning a translated point.
5) NODE: CoordinateSystem.ByMatrix
-Autodesk will deprecate this node.
6) NODE: Function Compose
-CHANGES: Rename func0 to function0, fun to function
Description: Returns a single function from multiple functions. Ex: the modulus and divide functions are composed into a single function to apply to a list.
7) NODE: Function Compose
-CHANGES: Rename func0 to function0, fun to function
Description: Returns a single function from multiple functions. Ex: the modulus and divide functions are composed into a single function to apply to a list.
8) NODE: List.LaceShortest
-CHANGES: Rename comb to combinator, list1 to list0, combined to list
Input Description: function to use as combinator
9) NODE: List.LaceLongest
-CHANGES: Rename comb to combinator, list1 to list0, combined to list
Input Description: function to use as combinator
10) NODE: List.Combine
-CHANGES: Rename comb to combinator, list1 to list0, combined to list
Input Description: function to use as combinator
11) NODE: List.CartesianProduct (changed automatically by addressing nodes 8-10)
-CHANGES: Rename comb to combinator, list1 to list0, combined to list
Input Description: function to use as combinator
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@SHKnudsen
@Amoursol
@QilongTang
FYIs
-Autodesk should take care of making node Output not appear on library search and deprecate CoordinateSystem.ByMatrix
-Sol confirmed not renaming nodes that do not have DS syntax and starting all lists with 0 indexes.
-String from Object output was fixed to use appropriate tooltip