From 1e84a4e29701a080e832e4c3f06ef518e446ddf0 Mon Sep 17 00:00:00 2001 From: Andreas Dieckmann Date: Sun, 23 Jun 2024 08:19:11 +0200 Subject: [PATCH] #424 3.x node --- nodes/3.x/AlmostZero.dyf | 116 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 nodes/3.x/AlmostZero.dyf diff --git a/nodes/3.x/AlmostZero.dyf b/nodes/3.x/AlmostZero.dyf new file mode 100644 index 00000000..f3c86efd --- /dev/null +++ b/nodes/3.x/AlmostZero.dyf @@ -0,0 +1,116 @@ +{ + "Uuid": "7203b34a-da51-4672-8993-3591ebf9537d", + "IsCustomNode": true, + "Category": "Clockwork.Math.Functions.Create", + "Description": "Returns a feasable computational tolerance to zero (1.0e-9 or a billionth of 1) for use in calculations. More background info: https://github.com/DynamoDS/Dynamo/issues/879", + "Name": "AlmostZero", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", + "ElementResolver": null, + "Symbol": "1.0e-9", + "Id": "f63b8696909e4cf68e7435eb6d8e2a6d", + "NodeType": "OutputNode", + "Inputs": [ + { + "Id": "fc41bc5a4284484785e4ac5b4e4072fe", + "Name": "", + "Description": "", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [], + "Replication": "Disabled", + "Description": "A function output, use with custom nodes" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "00e0b34394eb47ea868f53fadd1fe6b7", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "f99cacea853945d6b204d50e5691b689", + "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", + "Code": "1/1000000000;" + } + ], + "Connectors": [ + { + "Start": "f99cacea853945d6b204d50e5691b689", + "End": "fc41bc5a4284484785e4ac5b4e4072fe", + "Id": "2fe5aa8ef792459cab3259280a0cd559", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Author": "None provided", + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": false, + "IsVisibleInDynamoLibrary": true, + "Version": "3.0.3.7597", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "f63b8696909e4cf68e7435eb6d8e2a6d", + "Name": "Output", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 166.7355686386186, + "Y": 2.4346185932213444 + }, + { + "Id": "00e0b34394eb47ea868f53fadd1fe6b7", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -111.66443136138139, + "Y": 2.262118593221359 + } + ], + "Annotations": [], + "X": 403.1644048610384, + "Y": 225.13654926218624, + "Zoom": 0.7799990913667714 + } +} \ No newline at end of file