From 01a497b8ba3df3e358220115012be2750cd731ce Mon Sep 17 00:00:00 2001 From: infeeeee Date: Fri, 12 Feb 2021 19:03:08 +0100 Subject: [PATCH] Added Grid3DTo2D --- Grid3DTo2D/Grid3DTo2D.dyn | 87 +++++++++++++++++++++++++++++++++++++++ README.md | 11 +++++ 2 files changed, 98 insertions(+) create mode 100644 Grid3DTo2D/Grid3DTo2D.dyn diff --git a/Grid3DTo2D/Grid3DTo2D.dyn b/Grid3DTo2D/Grid3DTo2D.dyn new file mode 100644 index 0000000..f6d578c --- /dev/null +++ b/Grid3DTo2D/Grid3DTo2D.dyn @@ -0,0 +1,87 @@ +{ + "Uuid": "ed4d7bda-cd5b-434c-8295-ad77286807ad", + "IsCustomNode": false, + "Description": null, + "Name": "Grid3DTo2D", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "94b7eec7-7046-4cef-a3ed-49a58b8a76c0", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "be415fbb074a4638850c7ab8d47c9931", + "Inputs": [], + "Outputs": [ + { + "Id": "55783cd72bc74b43995f459539a7ae97", + "Name": "elements", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Sets all grids in the active view from 3D to 2D." + } + ], + "Connectors": [], + "Dependencies": [ + "94b7eec7-7046-4cef-a3ed-49a58b8a76c0" + ], + "NodeLibraryDependencies": [ + { + "Name": "OpenStrc", + "Version": "2019.9.4", + "ReferenceType": "Package", + "Nodes": [ + "be415fbb074a4638850c7ab8d47c9931" + ] + } + ], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.6.1.8786", + "RunType": "Automatic", + "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": "OpenStrc.Element.Grid3DTo2D", + "Id": "be415fbb074a4638850c7ab8d47c9931", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 425.72326753694625, + "Y": 738.56621414537028 + } + ], + "Annotations": [], + "X": -391.90306107630681, + "Y": -385.47880909729929, + "Zoom": 1.3775833525586683 + } +} \ No newline at end of file diff --git a/README.md b/README.md index 4b9f8a4..c8630f1 100644 --- a/README.md +++ b/README.md @@ -192,6 +192,17 @@ Places all floor types in the project +### Grid3DTo2Dāœ… + +Change all grids in the current view to 2D extents. + +
+ Required packages + +- OpenStrc + +
+ ### ImportDwgBatch āœ… 🚧 State: same as importobj, just with dwg