Skip to content

Commit

Permalink
Changes (#21)
Browse files Browse the repository at this point in the history
This includes additional changes to file locations, names and demo files.
  • Loading branch information
johnpierson authored Dec 7, 2018
1 parent 5d535ef commit 889a936
Show file tree
Hide file tree
Showing 21 changed files with 1,885 additions and 23 deletions.
4 changes: 2 additions & 2 deletions public/data/Dynamo_Nodes_Revit.json
Original file line number Diff line number Diff line change
Expand Up @@ -2082,10 +2082,10 @@
"inDepth": "Levels contains a drop-down menu with every level available in a document."
}, {
"Name": "Select Divided Surface Families",
"imageFile": ["Select Divided Surface Families"],
"imageFile": ["Select Divided Surface Families.gif"],
"dynFile": ["Select Divided Surface Families"],
"folderPath": "Revit/Selection/Action",
"inDepth": "Select a divided surface and get its family instances."
"inDepth": "Select a divided surface and get its family instances. This node is to be used in the massing/adaptive family environment."
}, {
"Name": "Select Edge",
"imageFile": ["Select Edge"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
"Uuid": "a7144dee-0c0a-413f-9e6f-983d44b38ffd",
"IsCustomNode": false,
"Description": "",
"Description": null,
"Name": "IsEqualTo",
"ElementResolver": {
"ResolutionMap": {}
Expand All @@ -13,10 +13,10 @@
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Autodesk.DesignScript.Geometry.CoordinateSystem.IsEqualTo@Autodesk.DesignScript.Geometry.CoordinateSystem",
"Id": "f7de2ac131474d58b604b8ef48ad29c1",
"Id": "44ed1fe326e14589802a330ec43b29c2",
"Inputs": [
{
"Id": "666f4b810ecd4a2eb007483dbc1bfade",
"Id": "e512f6a9f9ff4925a724292cb981f716",
"Name": "coordinateSystem",
"Description": "Autodesk.DesignScript.Geometry.CoordinateSystem",
"UsingDefaultValue": false,
Expand All @@ -25,7 +25,7 @@
"KeepListStructure": false
},
{
"Id": "e4ac9078aae446bcbbcd2563ef2d2244",
"Id": "b44ebf87664640609005471cc0c15a23",
"Name": "other",
"Description": "CoordinateSystem",
"UsingDefaultValue": false,
Expand All @@ -36,7 +36,7 @@
],
"Outputs": [
{
"Id": "d35820d4def249f6aba247733c056dbe",
"Id": "95e6f1b73fec4162a5ea94a89668a4d8",
"Name": "bool",
"Description": "bool",
"UsingDefaultValue": false,
Expand All @@ -47,9 +47,98 @@
],
"Replication": "Auto",
"Description": "Determine if two CoordinateSystems are equal\n\nCoordinateSystem.IsEqualTo (other: CoordinateSystem): bool"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Autodesk.DesignScript.Geometry.CoordinateSystem.ByOrigin@double,double",
"Id": "988a790a0b104938b49cb9a925475bc7",
"Inputs": [
{
"Id": "c9dea4757c834a5fb3873757b8782dbc",
"Name": "x",
"Description": "double\nDefault value : 0",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "fceceaa4af624ef79e8f9987f926a566",
"Name": "y",
"Description": "double\nDefault value : 0",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "b2e06125c1d44f0b89017a2dbc8b512f",
"Name": "CoordinateSystem",
"Description": "CoordinateSystem",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Create a CoordinateSystem with origin at X and Y locations, with X and Y Axes set as WCS X and Y Axes. Z defaults to 0.\n\nCoordinateSystem.ByOrigin (x: double = 0, y: double = 0): CoordinateSystem"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Autodesk.DesignScript.Geometry.CoordinateSystem.ByOrigin@double,double",
"Id": "cdf01edec2204ac794797250ad9b2964",
"Inputs": [
{
"Id": "f79913950703464c931b6011b3c8efea",
"Name": "x",
"Description": "double\nDefault value : 0",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "9d7522a2b5b2400f94d6d518a28fe61e",
"Name": "y",
"Description": "double\nDefault value : 0",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "8ed821a1d77c401dbf5032779d23bb0f",
"Name": "CoordinateSystem",
"Description": "CoordinateSystem",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Create a CoordinateSystem with origin at X and Y locations, with X and Y Axes set as WCS X and Y Axes. Z defaults to 0.\n\nCoordinateSystem.ByOrigin (x: double = 0, y: double = 0): CoordinateSystem"
}
],
"Connectors": [
{
"Start": "b2e06125c1d44f0b89017a2dbc8b512f",
"End": "e512f6a9f9ff4925a724292cb981f716",
"Id": "6302d76f692f4185b5e4f78e394c6462"
},
{
"Start": "8ed821a1d77c401dbf5032779d23bb0f",
"End": "b44ebf87664640609005471cc0c15a23",
"Id": "2bd4fa12af2e4fc8a450b3fc80646e6b"
}
],
"Connectors": [],
"Dependencies": [],
"Bindings": [],
"View": {
Expand Down Expand Up @@ -77,12 +166,32 @@
{
"ShowGeometry": true,
"Name": "CoordinateSystem.IsEqualTo",
"Id": "f7de2ac131474d58b604b8ef48ad29c1",
"Id": "44ed1fe326e14589802a330ec43b29c2",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 370.0,
"Y": 276.0
},
{
"ShowGeometry": true,
"Name": "CoordinateSystem.ByOrigin",
"Id": "988a790a0b104938b49cb9a925475bc7",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 83.0,
"Y": 216.0
},
{
"ShowGeometry": true,
"Name": "CoordinateSystem.ByOrigin",
"Id": "cdf01edec2204ac794797250ad9b2964",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 592.0,
"Y": 302.0
"X": 84.0,
"Y": 331.0
}
],
"Annotations": [],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
197 changes: 197 additions & 0 deletions public/data/EXAMPLES/List/Match/Action/dyn/CartesianProduct.dyn
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
{
"Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
"IsCustomNode": false,
"Description": "",
"Name": "CartesianProduct",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "1..5;",
"Id": "932235efc635433497bdb360a8831611",
"Inputs": [],
"Outputs": [
{
"Id": "fa38f48e3221409eb0762d6c8ac36d7c",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Allows for DesignScript code to be authored directly"
},
{
"ConcreteType": "CoreNodeModels.HigherOrder.CartesianProduct, CoreNodeModels",
"VariableInputPorts": true,
"NodeType": "ExtensionNode",
"Id": "8fc027716e8541debcc14dbfba123b01",
"Inputs": [
{
"Id": "232a56ba04d44b409eb4fcb4a581f1b2",
"Name": "comb",
"Description": "Combinator",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "9377a417b431464a90555bd9204b2cca",
"Name": "list1",
"Description": "List #1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "ee8506cc37f148e9be5e0fe9f09b36d3",
"Name": "list2",
"Description": "List #2",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "e65338eeb7b544f28a7c5389f71b0484",
"Name": "combined",
"Description": "Combined lists",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Applies a combinator to each pair in the cartesian product of two sequences"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "+@var[]..[],var[]..[]",
"Id": "abcf67be169a47ff857e22c61831ff02",
"Inputs": [
{
"Id": "bfdb1c4aa9a44f6499e0b34a3836c023",
"Name": "x",
"Description": "x value.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "155a081618eb4cf385b2d1261479f002",
"Name": "y",
"Description": "y value.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "1e60e06a8764408184738daea230c269",
"Name": "var[]..[]",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Adds x to y.\n\n+ (x: var[]..[], y: var[]..[]): var[]..[]"
}
],
"Connectors": [
{
"Start": "fa38f48e3221409eb0762d6c8ac36d7c",
"End": "9377a417b431464a90555bd9204b2cca",
"Id": "8a6f73a83175434aae4c9c2753714c05"
},
{
"Start": "fa38f48e3221409eb0762d6c8ac36d7c",
"End": "ee8506cc37f148e9be5e0fe9f09b36d3",
"Id": "94a279e23bad4a62890e585873f418f9"
},
{
"Start": "1e60e06a8764408184738daea230c269",
"End": "232a56ba04d44b409eb4fcb4a581f1b2",
"Id": "e504f389c0ee4a0db05437e93abac13e"
}
],
"Dependencies": [],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.2.6826",
"RunType": "Manual",
"RunPeriod": "1000"
},
"Camera": {
"Name": "Background Preview",
"EyeX": -17.0,
"EyeY": 24.0,
"EyeZ": 50.0,
"LookX": 12.0,
"LookY": -13.0,
"LookZ": -58.0,
"UpX": 0.0,
"UpY": 1.0,
"UpZ": 0.0
},
"NodeViews": [
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "932235efc635433497bdb360a8831611",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 687.0,
"Y": 264.0
},
{
"ShowGeometry": true,
"Name": "List.CartesianProduct",
"Id": "8fc027716e8541debcc14dbfba123b01",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1029.7300154148579,
"Y": 103.42113755835899
},
{
"ShowGeometry": true,
"Name": "+",
"Id": "abcf67be169a47ff857e22c61831ff02",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 748.70224369747393,
"Y": 73.026471917578576
}
],
"Annotations": [],
"X": -69.664047953591648,
"Y": 2.4185881744339213,
"Zoom": 1.130842140625
}
}
Loading

0 comments on commit 889a936

Please sign in to comment.