Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andydandy74 committed Oct 10, 2024
1 parent a4ea8cb commit a456f0d
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 193 deletions.
17 changes: 10 additions & 7 deletions nodes/3.x/FileSystem.FileCreated.dyf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
"NodeType": "PythonScriptNode",
"Code": "import clr\r\n\r\ndef FileCreated(file):\r\n\tif hasattr(file,\"CreationTime\"): return file.CreationTime\r\n\telse: return None\r\n\r\nif isinstance(IN[0], list): OUT = [FileCreated(x) for x in IN[0]]\r\nelse: OUT = FileCreated(IN[0])",
"Engine": "CPython3",
"VariableInputPorts": true,
"Id": "8a708e0188d44c87a1e59e3cf31c7440",
"Inputs": [
Expand All @@ -48,7 +49,7 @@
}
],
"Replication": "Disabled",
"Description": "Runs an embedded IronPython script."
"Description": "Führt ein eingebettetes Python-Skript aus."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -74,7 +75,7 @@
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
"Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
Expand All @@ -95,7 +96,7 @@
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
"Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken"
}
],
"Connectors": [
Expand All @@ -111,18 +112,20 @@
}
],
"Dependencies": [],
"NodeLibraryDependencies": [],
"Author": "None provided",
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.3.8810",
"Version": "2.12.1.8246",
"RunType": "Manual",
"RunPeriod": "1000"
},
"Camera": {
"Name": "Background Preview",
"Name": "Hintergrundvorschau",
"EyeX": -17.0,
"EyeY": 24.0,
"EyeZ": 50.0,
Expand Down Expand Up @@ -166,8 +169,8 @@
}
],
"Annotations": [],
"X": 219.089711464969,
"Y": 206.93145193315,
"X": -48.910288535031043,
"Y": 181.33145193314996,
"Zoom": 1.59077689706107
}
}
7 changes: 5 additions & 2 deletions nodes/3.x/FileSystem.FileLastAccessed.dyf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
"NodeType": "PythonScriptNode",
"Code": "import clr\r\n\r\ndef FileLastAccessed(file):\r\n\tif hasattr(file,\"LastAccessTime\"): return file.LastAccessTime\r\n\telse: return None\r\n\r\nif isinstance(IN[0], list): OUT = [FileLastAccessed(x) for x in IN[0]]\r\nelse: OUT = FileLastAccessed(IN[0])",
"Engine": "CPython3",
"VariableInputPorts": true,
"Id": "8a708e0188d44c87a1e59e3cf31c7440",
"Inputs": [
Expand All @@ -48,7 +49,7 @@
}
],
"Replication": "Disabled",
"Description": "Führt ein eingebettetes IronPython-Skript aus."
"Description": "Führt ein eingebettetes Python-Skript aus."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand Down Expand Up @@ -111,13 +112,15 @@
}
],
"Dependencies": [],
"NodeLibraryDependencies": [],
"Author": "None provided",
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.3.8810",
"Version": "2.12.1.8246",
"RunType": "Manual",
"RunPeriod": "1000"
},
Expand Down
13 changes: 8 additions & 5 deletions nodes/3.x/FileSystem.FileLastModified.dyf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
"NodeType": "PythonScriptNode",
"Code": "import clr\r\n\r\ndef FileLastModified(file):\r\n\tif hasattr(file,\"LastWriteTime\"): return file.LastWriteTime\r\n\telse: return None\r\n\r\nif isinstance(IN[0], list): OUT = [FileLastModified(x) for x in IN[0]]\r\nelse: OUT = FileLastModified(IN[0])",
"Engine": "CPython3",
"VariableInputPorts": true,
"Id": "8a708e0188d44c87a1e59e3cf31c7440",
"Inputs": [
Expand All @@ -48,7 +49,7 @@
}
],
"Replication": "Disabled",
"Description": "Runs an embedded IronPython script."
"Description": "Führt ein eingebettetes Python-Skript aus."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -74,7 +75,7 @@
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
"Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
Expand All @@ -95,7 +96,7 @@
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
"Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken"
}
],
"Connectors": [
Expand All @@ -111,18 +112,20 @@
}
],
"Dependencies": [],
"NodeLibraryDependencies": [],
"Author": "None provided",
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.3.8810",
"Version": "2.12.1.8246",
"RunType": "Manual",
"RunPeriod": "1000"
},
"Camera": {
"Name": "Background Preview",
"Name": "Hintergrundvorschau",
"EyeX": -17.0,
"EyeY": 24.0,
"EyeZ": 50.0,
Expand Down
28 changes: 15 additions & 13 deletions nodes/3.x/FileSystem.FileSize.dyf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
{
"ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
"NodeType": "PythonScriptNode",
"Code": "import clr\r\nimport System.IO.FileInfo\r\n\r\ndef GetFileSize(file):\r\n\tif str(file.GetType()) == \"System.IO.FileInfo\":\r\n\t\tsize = file.Length\r\n\t\treturn size, float(size)/1024, float(size)/1048576\r\n\telse: return None, None, None\r\n\r\nfiles = IN[0]\r\n\r\nif isinstance(IN[0], list): OUT = map(list, zip(*[GetFileSize(x) for x in files]))\r\nelse: OUT = GetFileSize(files)",
"Code": "import clr\r\nimport System.IO\r\n\r\ndef GetFileSize(file):\r\n\tif str(file.GetType()) == \"System.IO.FileInfo\":\r\n\t\tsize = file.Length\r\n\t\treturn size, float(size)/1024, float(size)/1048576\r\n\telse: return None, None, None\r\n\r\nfiles = IN[0]\r\n\r\nif isinstance(IN[0], list): OUT = map(list, zip(*[GetFileSize(x) for x in files]))\r\nelse: OUT = GetFileSize(files)",
"Engine": "CPython3",
"VariableInputPorts": true,
"Id": "f0d91542ff554e9fa2eab400cc38a1e4",
"Inputs": [
Expand All @@ -52,7 +53,7 @@
}
],
"Replication": "Disabled",
"Description": "Runs an embedded IronPython script."
"Description": "Führt ein eingebettetes Python-Skript aus."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -78,7 +79,7 @@
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
"Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
Expand All @@ -99,7 +100,7 @@
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
"Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
Expand All @@ -121,7 +122,7 @@
{
"Id": "925cdf7154b14fe19e2ef22f1efbbf2d",
"Name": "",
"Description": "Value of expression at line 1",
"Description": "Wert des Ausdrucks in Zeile 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand All @@ -130,7 +131,7 @@
{
"Id": "32e147773cde486fa651dcd23c6c2114",
"Name": "",
"Description": "Value of expression at line 2",
"Description": "Wert des Ausdrucks in Zeile 2",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand All @@ -139,15 +140,15 @@
{
"Id": "c490c86d329f4cf2a635b2b1d92a2606",
"Name": "",
"Description": "Value of expression at line 3",
"Description": "Wert des Ausdrucks in Zeile 3",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Allows for DesignScript code to be authored directly"
"Description": "Ermöglicht die direkte Erstellung von DesignScript-Code."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
Expand All @@ -168,7 +169,7 @@
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
"Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
Expand All @@ -189,7 +190,7 @@
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
"Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken"
}
],
"Connectors": [
Expand Down Expand Up @@ -221,18 +222,19 @@
],
"Dependencies": [],
"NodeLibraryDependencies": [],
"Author": "None provided",
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"IsVisibleInDynamoLibrary": true,
"Version": "2.6.1.8786",
"Version": "2.12.1.8246",
"RunType": "Manual",
"RunPeriod": "1000"
},
"Camera": {
"Name": "Background Preview",
"Name": "Hintergrundvorschau",
"EyeX": -17.0,
"EyeY": 24.0,
"EyeZ": 50.0,
Expand All @@ -251,7 +253,7 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 468.268853102889,
"X": 470.11221884209328,
"Y": 126.92666666666668
},
{
Expand Down
Loading

0 comments on commit a456f0d

Please sign in to comment.