diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents.dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents.dyn index e6d1995df62..3597764d96c 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents.dyn +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents.dyn @@ -1,81 +1,621 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +{ + "Uuid": "139aa0df-4b26-45f7-b486-f11ec05fb55f", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents", + "ElementResolver": { + "ResolutionMap": { + "Vector": { + "Key": "Autodesk.DesignScript.Geometry.Vector", + "Value": "ProtoGeometry.dll" + } + } + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "e65b8d5c43f6410da92f5c71a1e08e97", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "9dedbd1eb7b44c049138d793fdfe18b1", + "Name": "points", + "Description": "Point[][]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "df3780ef5f4740978dcdabc99f9c0dc5", + "Name": "startUTangents", + "Description": "Vector[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "424b9a0c69a84d7e8d38ce5322b8015a", + "Name": "endUTangents", + "Description": "Vector[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "c7cc031741394b919ba8c12deb6db88e", + "Name": "startVTangents", + "Description": "Vector[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "631b9050cd414403b3d69616b9b4d5ed", + "Name": "endVTangents", + "Description": "Vector[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "06d69a7ef4c94603aacb36dae14b952b", + "Name": "NurbsSurface", + "Description": "NurbsSurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents@Autodesk.DesignScript.Geometry.Point[][],Autodesk.DesignScript.Geometry.Vector[],Autodesk.DesignScript.Geometry.Vector[],Autodesk.DesignScript.Geometry.Vector[],Autodesk.DesignScript.Geometry.Vector[]", + "Replication": "Auto", + "Description": "Creates a NurbsSurface with specified interpolated points and U and V degrees. The resultant surface will pass through all of the points. The number of tangents must match the number of points in the corresponding direction. The resultant surface will be degree 3 in both the U and V direction.\n\nNurbsSurface.ByPointsTangents (points: Point[][], startUTangents: Vector[], endUTangents: Vector[], startVTangents: Vector[], endVTangents: Vector[]): NurbsSurface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "1073f72361d841178f067c91f46f106f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "8d4cff0f6d564e0fb68e027f0107c606", + "Name": "x", + "Description": "X coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8817b6e2f80b4705b50a10de8b405038", + "Name": "y", + "Description": "Y coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "852e62b88f0f46808abbed7e76918806", + "Name": "z", + "Description": "Z coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c2f0f95cf86b43aeb644b5cc537f97cf", + "Name": "Point", + "Description": "Point created by coordinates", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.ByCoordinates@double,double,double", + "Replication": "CrossProduct", + "Description": "Form a Point given 3 cartesian coordinates\n\nPoint.ByCoordinates (x: double = 0, y: double = 0, z: double = 0): Point" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "226bc7a252134fdc9cbb0bfc06747b03", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "d53af992a87142ca816dfde94064362e", + "Name": "", + "Description": "xPoints", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d22a1accec614d7fba5de3e2f92d2a45", + "Name": "", + "Description": "yPoints", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "xPoints = [-10,0,10];\nyPoints = [-10,0];" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "9647dfaa7b0641b8b05d66894647f218", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "ae1012df66144c56860eeccde70475e4", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "352044ad6b5c4ef89f7f3a929e2017d8", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "90618cc70cc4432abe4493bcc6238cb5", + "Name": "", + "Description": "Value of expression at line 3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "31e337fead2647c9ac653051434a4e57", + "Name": "", + "Description": "Value of expression at line 4", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Vector.ByCoordinates(1, 0, 1);\nVector.ByCoordinates(1, 0, -1);\nVector.ByCoordinates(0, 1, 1);\nVector.ByCoordinates(0, 1, -1);" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "Id": "6e2ec52e9d8241c4b88d8356a2d7c3cb", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "c7bdf57e4dd9461c9ab6a95576cdff53", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6428b68adfb8445ba38ddd8604399f3e", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ba44f097731b4c00aaba97247285be87", + "Name": "list", + "Description": "A list (type: var[]..[])", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list from the given inputs" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "Id": "abb8a1efddf44b5ca424e3954d0a4664", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "9e8760f3086a41c6897b7ae64abd943a", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "a88edb46265f449484fdc7e993ba5cfd", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8a7a1f44f0c14117bc73c82eb3a85ae2", + "Name": "item2", + "Description": "Item Index #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4ebe7ef90ffd4fb0bb169f868cef0631", + "Name": "list", + "Description": "A list (type: var[]..[])", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list from the given inputs" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "Id": "1eb53eae24f64958972f730df928de1b", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "c3c0d73bb2ed45c0b14484166c104e2c", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9aa4292ce82c4d4fbcb836d56b834e1e", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "19fef117ae814a85988620d1566bc4b2", + "Name": "list", + "Description": "A list (type: var[]..[])", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list from the given inputs" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "Id": "461b7caa5e784739abe593a24fde85ed", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "c19a1613bf8344a8a4dcd09b757bde5a", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7c93c2f80a404bb5a5050abfd115030c", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "814e8dedd3994739a2e6a18153c074da", + "Name": "item2", + "Description": "Item Index #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "876df1e6312d407f92646289ad36a148", + "Name": "list", + "Description": "A list (type: var[]..[])", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list from the given inputs" + } + ], + "Connectors": [ + { + "Start": "c2f0f95cf86b43aeb644b5cc537f97cf", + "End": "9dedbd1eb7b44c049138d793fdfe18b1", + "Id": "6d1b60e119104583beb799367abc7af7", + "IsHidden": "False" + }, + { + "Start": "d53af992a87142ca816dfde94064362e", + "End": "8d4cff0f6d564e0fb68e027f0107c606", + "Id": "d0a392345dbc4bcb8b6efaf2abaec453", + "IsHidden": "False" + }, + { + "Start": "d22a1accec614d7fba5de3e2f92d2a45", + "End": "8817b6e2f80b4705b50a10de8b405038", + "Id": "470b0767a7884d20a4a22a3c76900a46", + "IsHidden": "False" + }, + { + "Start": "ae1012df66144c56860eeccde70475e4", + "End": "c3c0d73bb2ed45c0b14484166c104e2c", + "Id": "d9a516a3edc14e878a4744ae8103b01a", + "IsHidden": "False" + }, + { + "Start": "ae1012df66144c56860eeccde70475e4", + "End": "9aa4292ce82c4d4fbcb836d56b834e1e", + "Id": "47f5df2494474924ad2f35522e6dd84c", + "IsHidden": "False" + }, + { + "Start": "352044ad6b5c4ef89f7f3a929e2017d8", + "End": "c7bdf57e4dd9461c9ab6a95576cdff53", + "Id": "7267382642fb438588798273ff461d1c", + "IsHidden": "False" + }, + { + "Start": "352044ad6b5c4ef89f7f3a929e2017d8", + "End": "6428b68adfb8445ba38ddd8604399f3e", + "Id": "754c9109ee2041b4b3da4a2bf07834fe", + "IsHidden": "False" + }, + { + "Start": "90618cc70cc4432abe4493bcc6238cb5", + "End": "9e8760f3086a41c6897b7ae64abd943a", + "Id": "871da3db24fc491cb5aedfc9fceecf5b", + "IsHidden": "False" + }, + { + "Start": "90618cc70cc4432abe4493bcc6238cb5", + "End": "8a7a1f44f0c14117bc73c82eb3a85ae2", + "Id": "5ee0186231a744f981daa4928f3f03fb", + "IsHidden": "False" + }, + { + "Start": "90618cc70cc4432abe4493bcc6238cb5", + "End": "c19a1613bf8344a8a4dcd09b757bde5a", + "Id": "7787c6ac2f28404c8a89dc815d21c364", + "IsHidden": "False" + }, + { + "Start": "90618cc70cc4432abe4493bcc6238cb5", + "End": "7c93c2f80a404bb5a5050abfd115030c", + "Id": "ffb9f4aaf678487f96ca417cb59946f3", + "IsHidden": "False" + }, + { + "Start": "90618cc70cc4432abe4493bcc6238cb5", + "End": "814e8dedd3994739a2e6a18153c074da", + "Id": "8dcd7f1fa786460cb23344c71088706e", + "IsHidden": "False" + }, + { + "Start": "31e337fead2647c9ac653051434a4e57", + "End": "a88edb46265f449484fdc7e993ba5cfd", + "Id": "81e8b5ac920f45baa55d224b633cce95", + "IsHidden": "False" + }, + { + "Start": "ba44f097731b4c00aaba97247285be87", + "End": "631b9050cd414403b3d69616b9b4d5ed", + "Id": "8c656e8a9cdc4b82affbb11cea5700ce", + "IsHidden": "False" + }, + { + "Start": "4ebe7ef90ffd4fb0bb169f868cef0631", + "End": "df3780ef5f4740978dcdabc99f9c0dc5", + "Id": "a3ed56e73ab94153bcb00563193f79e3", + "IsHidden": "False" + }, + { + "Start": "19fef117ae814a85988620d1566bc4b2", + "End": "c7cc031741394b919ba8c12deb6db88e", + "Id": "af295549bc544298b6bcac00e6e3438a", + "IsHidden": "False" + }, + { + "Start": "876df1e6312d407f92646289ad36a148", + "End": "424b9a0c69a84d7e8d38ce5322b8015a", + "Id": "50c4a445f50e4d8d82f0e860e286efbe", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.0", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "1.2", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -24.607419967651367, + "EyeY": 18.742544174194336, + "EyeZ": 24.380161285400391, + "LookX": 12.4334716796875, + "LookY": -22.468406677246094, + "LookZ": -29.738014221191406, + "UpX": 0.14761900901794434, + "UpY": 0.92387807369232178, + "UpZ": -0.35306951403617859 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "e65b8d5c43f6410da92f5c71a1e08e97", + "Name": "NurbsSurface.ByPointsTangents", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 642.46989114363782, + "Y": 642.07014983825218 + }, + { + "Id": "1073f72361d841178f067c91f46f106f", + "Name": "Point.ByCoordinates", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 254.23717479918491, + "Y": 361.60201788790584 + }, + { + "Id": "226bc7a252134fdc9cbb0bfc06747b03", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -141.91207690459345, + "Y": 373.4394804730947 + }, + { + "Id": "9647dfaa7b0641b8b05d66894647f218", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -241.02660259946924, + "Y": 663.31007029105763 + }, + { + "Id": "6e2ec52e9d8241c4b88d8356a2d7c3cb", + "Name": "List Create", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 307.47385082604796, + "Y": 726.91581222865761 + }, + { + "Id": "abb8a1efddf44b5ca424e3954d0a4664", + "Name": "List Create", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 307.44183174349894, + "Y": 888.00466968781313 + }, + { + "Id": "1eb53eae24f64958972f730df928de1b", + "Name": "List Create", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 304.78385020161238, + "Y": 573.43189852076284 + }, + { + "Id": "461b7caa5e784739abe593a24fde85ed", + "Name": "List Create", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 314.43060565733447, + "Y": 1092.9848485927082 + } + ], + "Annotations": [], + "X": 226.36047026720104, + "Y": -113.7022393531912, + "Zoom": 0.639847040084828 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents.md index c403311c8af..2361698c780 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents.md @@ -1,7 +1,9 @@ ## In Depth -Creates a NurbsSurface with specified interpolated points and U and V degrees. The resultant surface will pass through all of the points. The number of tangents must match the number of points in the corresponding direction. The resultant surface will be degree 3 in both the U and V direction. -___ -## Example File +`NurbsSurface.ByPointsTangents` creates a smooth surface that passes through each of a grid (list of lists) of points. Specify tangent vectors to control the surface direction at the edges. The number of tangents must match the number of points in the corresponding direction (U - number of lists, V - number of points in each list). +In the example below, a NurbsSurface is created from given points and U and V tangents. +___ +## Example File +![NurbsSurface.ByPointsTangents](./Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents_img.jpg index 98a233e9d12..a9a07510c9b 100644 Binary files a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents_img.jpg and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.NurbsSurface.ByPointsTangents_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.ByJoinedSurfaces.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.ByJoinedSurfaces.md index c26289925bb..9c92444e1e7 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.ByJoinedSurfaces.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.ByJoinedSurfaces.md @@ -1,5 +1,8 @@ ## In Depth -Solid by Joined Surfaces takes a list of surfaces as an input and will return a single solid defined by the surfaces. The surfaces must define a closed surface. In the example below, we start with a circle as a base geometry. The circle is patched to create a surface, and that surface is translated in the z-direction. We then extrude the circle to produce the sides. List.Create is used to make a list consisting of the base, side, and top surfaces, and then we use ByJoinedSurfaces to turn the list into a single closed solid. +`PolySurface.ByJoinedSurfaces` returns a new PolySurface joined from a list of surfaces. + +In the example below, two surface patches and an extrusion are joined into a PolySurface resembling a cylinder. + ___ ## Example File diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.ByLoft(crossSections).md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.ByLoft(crossSections).md index 5d77064a18e..4345f2c7254 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.ByLoft(crossSections).md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.ByLoft(crossSections).md @@ -1,5 +1,8 @@ ## In Depth -Surface ByLoft with cross sections takes a list of curves as an input. It will produce a surface by lofting between the list of curves in order. In the example below we create two curves, a line and a sine curve. We use List.Create to combine these two curves into a list, which we use as an input for Surface ByLoft. The result is a surface that is lofted between a sine curve on one side, and a line on the other. +`PolySurface.ByLoft (crossSections)` returns a new PolySurface by lofting between curves in a list. + +In the example below, a PolySurface is returned from lofting between two circles. + ___ ## Example File diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep.dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep.dyn new file mode 100644 index 00000000000..cbe5761591b --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep.dyn @@ -0,0 +1,476 @@ +{ + "Uuid": "1e9207cc-2f7a-4768-aed4-f3edb74f0de4", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.PolySurface.BySweep", + "ElementResolver": { + "ResolutionMap": { + "Point.Origin": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + }, + "Vector.ZAxis": { + "Key": "Autodesk.DesignScript.Geometry.Vector", + "Value": "ProtoGeometry.dll" + }, + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + } + } + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "9702af921dba4a4ab35f6f0a73e59b3f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "f55e8fdc041149d5a228d8f4332ab547", + "Name": "center", + "Description": "Center point of arc\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0) (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e83772784a3f4969bf236ce9cfd821a8", + "Name": "radius", + "Description": "Radius of the arc\n\ndouble\nDefault value : 1 (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e5d4b4a0ff46494288feb174eac52e41", + "Name": "startAngle", + "Description": "Start angle in degrees\n\ndouble\nDefault value : 0 (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "5277d73a935b4b8686b00b5c1c7f3f6f", + "Name": "endAngle", + "Description": "End angle in degrees\n\ndouble\nDefault value : 90 (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d66d6a5331f6462e8c10f80ddbe29fcf", + "Name": "normal", + "Description": "A vector defining the normal of the arc\n\nVector\nDefault value : Autodesk.DesignScript.Geometry.Vector.ByCoordinates(0, 0, 1) (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "858655dc7e944fc881f4ae4b44c3fbfa", + "Name": "Arc", + "Description": "Arc created by center point, radius, and angle", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Arc.ByCenterPointRadiusAngle@Autodesk.DesignScript.Geometry.Point,double,double,double,Autodesk.DesignScript.Geometry.Vector", + "Replication": "Auto", + "Description": "Create an arc by providing it's center point, radius, angle sweep, and normal vector\n\nArc.ByCenterPointRadiusAngle (center: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1, startAngle: double = 0, endAngle: double = 90, normal: Vector = Autodesk.DesignScript.Geometry.Vector.ByCoordinates(0, 0, 1)): Arc" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "256ba66635fa484c843ef722de60bb71", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "4f18f3f762b64aa6aeb274115d77dd32", + "Name": "Point", + "Description": "Origin point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.Origin", + "Replication": "Auto", + "Description": "Get the Origin point (0,0,0)\n\nPoint.Origin ( ): Point" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "2d0da3d9ceb2491c85dbd424e835b9aa", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "7f51ff68513d4d359fe24e3c3fd5ba9f", + "Name": "Vector", + "Description": "Vector", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Vector.ZAxis", + "Replication": "Auto", + "Description": "Get the canonical Z axis Vector (0,0,1)\n\nVector.ZAxis ( ): Vector" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "35530a1991d146b48295ddcb678ef1b2", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "9f4a201f967541debad7f30c9662c79b", + "Name": "centerPoint", + "Description": "Center point of arc\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0) (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e418e4f3731b41d6b73001dc8820c803", + "Name": "startPoint", + "Description": "Start point of arc\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 0, 0) (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ab6c8d4120214964b1ce32c0e97a71bf", + "Name": "endPoint", + "Description": "End point of arc\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 1, 0) (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "12c3f584fcfe42418e0a465edb6557b1", + "Name": "Arc", + "Description": "Arc created with center point, start point, and end point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Arc.ByCenterPointStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Create an arc by providing it's center point, start point, and end point\n\nArc.ByCenterPointStartPointEndPoint (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), startPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 0, 0), endPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 1, 0)): Arc" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "05df4541cb514087aa863f31885b7a05", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "3610a5b87aea4017983c3fb66fa31ce2", + "Name": "rail", + "Description": "Curve to sweep along\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "c4bc17757dc4447e8e9f89e6b69019b1", + "Name": "crossSection", + "Description": "Sweep profile\n\nCurve[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8b24e3aa3933428e9cc447be7abdd6f5", + "Name": "PolySurface", + "Description": "PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.BySweep@Autodesk.DesignScript.Geometry.Curve,Autodesk.DesignScript.Geometry.Curve[]", + "Replication": "Auto", + "Description": "Make Polysurface by sweeping curves along rail.\n\nPolySurface.BySweep (rail: Curve, crossSection: Curve[]): PolySurface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "c91db8ef52614b5c9aafcd0f66ea98a2", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "ce8d5be7c00d40d09b698601ffcef2e9", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "df2ebd917f784a728c46683465304dc2", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "48cd66c5b60548e4aa2db4c11238939f", + "Name": "", + "Description": "Value of expression at line 3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "4;\n0;\n120;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "e8912cda3ad3444b97318e8e4e3de0e5", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "3ebde811022a49eabde102a19ce5fa17", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "efd819ee849b4439adf511f6934b5ad1", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "4727e1ec34e240e4a98a13edd0474cc9", + "Name": "", + "Description": "Value of expression at line 3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(2, 0, 4);\nPoint.ByCoordinates(4, 0, 0);\nPoint.ByCoordinates(4, 0, 8);" + } + ], + "Connectors": [ + { + "Start": "858655dc7e944fc881f4ae4b44c3fbfa", + "End": "c4bc17757dc4447e8e9f89e6b69019b1", + "Id": "a96d6a0a926d40a9b02dca6b5453a855", + "IsHidden": "False" + }, + { + "Start": "4f18f3f762b64aa6aeb274115d77dd32", + "End": "f55e8fdc041149d5a228d8f4332ab547", + "Id": "e9af132a90f74a5ca5552a3ee17580e3", + "IsHidden": "False" + }, + { + "Start": "7f51ff68513d4d359fe24e3c3fd5ba9f", + "End": "d66d6a5331f6462e8c10f80ddbe29fcf", + "Id": "27c3ba26b55f4c3b8ae4c2391eb49487", + "IsHidden": "False" + }, + { + "Start": "12c3f584fcfe42418e0a465edb6557b1", + "End": "3610a5b87aea4017983c3fb66fa31ce2", + "Id": "cc0915e35ae342579648a4b8fbe79fc6", + "IsHidden": "False" + }, + { + "Start": "ce8d5be7c00d40d09b698601ffcef2e9", + "End": "e83772784a3f4969bf236ce9cfd821a8", + "Id": "9ef9584aea00424b8f5dfcb487e7d4e2", + "IsHidden": "False" + }, + { + "Start": "df2ebd917f784a728c46683465304dc2", + "End": "e5d4b4a0ff46494288feb174eac52e41", + "Id": "107cfc00a4714a839651392e697e70a6", + "IsHidden": "False" + }, + { + "Start": "48cd66c5b60548e4aa2db4c11238939f", + "End": "5277d73a935b4b8686b00b5c1c7f3f6f", + "Id": "8dc5572e84d7404dbce0fbc476a25cb5", + "IsHidden": "False" + }, + { + "Start": "3ebde811022a49eabde102a19ce5fa17", + "End": "9f4a201f967541debad7f30c9662c79b", + "Id": "120ec69f08ec46b18f24b7754ab5b48e", + "IsHidden": "False" + }, + { + "Start": "efd819ee849b4439adf511f6934b5ad1", + "End": "e418e4f3731b41d6b73001dc8820c803", + "Id": "4566a0d293814a35ba30d0a40c24931d", + "IsHidden": "False" + }, + { + "Start": "4727e1ec34e240e4a98a13edd0474cc9", + "End": "ab6c8d4120214964b1ce32c0e97a71bf", + "Id": "365772a8eea0426c99f91a3d8be03a68", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": 5.1350412368774414, + "EyeY": 18.239358901977539, + "EyeZ": -27.682285308837891, + "LookX": 7.8001508712768555, + "LookY": -19.142274856567383, + "LookZ": 30.915164947509766, + "UpX": 0.078032352030277252, + "UpY": 0.947767972946167, + "UpZ": 0.30926841497421265 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "9702af921dba4a4ab35f6f0a73e59b3f", + "Name": "Arc.ByCenterPointRadiusAngle", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1827.7218801032991, + "Y": 3592.3876187759988 + }, + { + "Id": "256ba66635fa484c843ef722de60bb71", + "Name": "Point.Origin", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1417.2218801032991, + "Y": 3515.1721020131963 + }, + { + "Id": "2d0da3d9ceb2491c85dbd424e835b9aa", + "Name": "Vector.ZAxis", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1417.2218801032991, + "Y": 3837.1721020131963 + }, + { + "Id": "35530a1991d146b48295ddcb678ef1b2", + "Name": "Arc.ByCenterPointStartPointEndPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1827.7218801032991, + "Y": 3342.8701187759989 + }, + { + "Id": "05df4541cb514087aa863f31885b7a05", + "Name": "PolySurface.BySweep", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2280.2218801032991, + "Y": 3341.6546020131964 + }, + { + "Id": "c91db8ef52614b5c9aafcd0f66ea98a2", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1417.2218801032991, + "Y": 3663.6546020131964 + }, + { + "Id": "e8912cda3ad3444b97318e8e4e3de0e5", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1417.2218801032991, + "Y": 3341.6546020131964 + } + ], + "Annotations": [], + "X": -1122.715081641478, + "Y": -2508.8590880447637, + "Zoom": 0.822695359375 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep.md index a681a5749db..83778397d4e 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep.md @@ -1,7 +1,10 @@ ## In Depth -Surface by Sweep will create a surface by sweeping an input curve along a specfied path. In the example below, we use a sine curve in the y-direction as the profile curve. We rotate this curve by -90 degrees around the world z-axis to use as a path curve. Surface BySweep moves the profile curve along the path curve creating a surface. -___ -## Example File +`PolySurface.BySweep (rail, crossSection)` returns a PolySurface by sweeping a list of connected, non-intersecting lines along a rail. The `crossSection` input can receive a list of connected curves that must meet at a start or end point, or the node will not return a PolySurface. This node is similar to `PolySurface.BySweep (rail, profile)` with the only difference being that the `crossSection` input takes a list of curves while `profile` only takes one curve. + +In the example below, a PolySurface is created by sweeping along an arc. +___ +## Example File +![PolySurface.BySweep](./Autodesk.DesignScript.Geometry.PolySurface.BySweep_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep_img.jpg new file mode 100644 index 00000000000..8389c93a14d Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.BySweep_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer.dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer.dyn new file mode 100644 index 00000000000..76d8b6c5483 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer.dyn @@ -0,0 +1,490 @@ +{ + "Uuid": "2028d521-9ac9-45ee-9b7c-7952abcc1a4c", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.PolySurface.Chamfer", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "f1a8cc0b6efb4e0b8a980a769e819143", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "54f4321d782346feba59a9cf91c311df", + "Name": "Point", + "Description": "Origin point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.Origin", + "Replication": "Auto", + "Description": "Get the Origin point (0,0,0)\n\nPoint.Origin ( ): Point" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "8ec862a38f4142ba9b92445953e5d47f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "22ed5c428481471292eb5a78cede57b1", + "Name": "centerPoint", + "Description": "Center point of circle\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "a9848cfcd7a34aa992b7961ce302a5d5", + "Name": "radius", + "Description": "Radius\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "146f991abb23401e991688e295dc5d77", + "Name": "Circle", + "Description": "Circle created with center point and radius", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Circle.ByCenterPointRadius@Autodesk.DesignScript.Geometry.Point,double", + "Replication": "Auto", + "Description": "Creates a Circle with input center Point and radius in the world XY plane, with world Z as normal.\n\nCircle.ByCenterPointRadius (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1): Circle" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "1248e73f513843fd9908d6a1bcc26e09", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "7833ce1104d54219a99f8e8030a0b18b", + "Name": "polySurface", + "Description": "Autodesk.DesignScript.Geometry.PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "dd6791aaa00a4ea9bb917beab6c2730e", + "Name": "edges", + "Description": "Edge[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "431e402e3d014cebb8b803d90f7747d3", + "Name": "offset", + "Description": "double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "bceb369f79db4ea5b7de54dbb204dc61", + "Name": "PolySurface", + "Description": "PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.Chamfer@Autodesk.DesignScript.Geometry.Edge[],double", + "Replication": "Auto", + "Description": "Chamfers a PolySurface along input Edges with a given offset from the edge corner.\n\nPolySurface.Chamfer (edges: Edge[], offset: double): PolySurface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "61c7139acf3f45b998a8e5dc95f3bc9b", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "01a78340907840ab84d97bcee031fde0", + "Name": "curve", + "Description": "Autodesk.DesignScript.Geometry.Curve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "064767fa517e461bb21a294b3f15680a", + "Name": "distance", + "Description": "Distance to extrude\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8f0b953932c042388dd764693516a95f", + "Name": "Solid", + "Description": "The extruded Solid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Curve.ExtrudeAsSolid@double", + "Replication": "Auto", + "Description": "Extrudes a Curve in the Normal direction by the specified distance. Curve must be closed.\n\nCurve.ExtrudeAsSolid (distance: double = 1): Solid" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "08aa111c87074bc5b5bd2b2075189c19", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "719e7d0837c648eba55f206d16ff321c", + "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": "4;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "97444bb44b1f44d3aaff32612ff1e05f", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "83cf7f5c26064a5ea531f7a9bc90e48b", + "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": "0.5;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "6d29d6f9bfa64db0879935ce88a7d720", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4fb6e2a2358c457bbe75e74853d8c948", + "Name": "topology", + "Description": "Autodesk.DesignScript.Geometry.Topology", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "65cccd93470741988f9448257a05da53", + "Name": "Edge[]", + "Description": "Edge[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Topology.Edges", + "Replication": "Auto", + "Description": "The Edges of the Topology\n\nTopology.Edges: Edge[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "30e881f9ce40432aa228cd4755c6640f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "07aefa3efbb742d5a9a19f329b8d0aaf", + "Name": "geometry", + "Description": "Autodesk.DesignScript.Geometry.Geometry", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d75073adf91c43d2b814a9d2b7f4013b", + "Name": "Geometry[]", + "Description": "Geometry[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Geometry.Explode", + "Replication": "Auto", + "Description": "Separates compound or non-separated elements into their component parts.\n\nGeometry.Explode ( ): Geometry[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "45042abf60674769a0a2fdfd616993b3", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "bd91f588950b4170b8ece3d1ca072f96", + "Name": "surfaces", + "Description": "Surfaces to join into polysurface\n\nSurface[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "0c4fb81dc3de4fba8b87229b53f1d678", + "Name": "PolySurface", + "Description": "PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.ByJoinedSurfaces@Autodesk.DesignScript.Geometry.Surface[]", + "Replication": "Auto", + "Description": "Make Polysurface by joining surfaces.\n\nPolySurface.ByJoinedSurfaces (surfaces: Surface[]): PolySurface" + } + ], + "Connectors": [ + { + "Start": "54f4321d782346feba59a9cf91c311df", + "End": "22ed5c428481471292eb5a78cede57b1", + "Id": "87b9c38db56840e990250b40fee5fc7f", + "IsHidden": "False" + }, + { + "Start": "146f991abb23401e991688e295dc5d77", + "End": "01a78340907840ab84d97bcee031fde0", + "Id": "97e20aafcd3f463a888c60a64b23bc9c", + "IsHidden": "False" + }, + { + "Start": "8f0b953932c042388dd764693516a95f", + "End": "4fb6e2a2358c457bbe75e74853d8c948", + "Id": "c47dbfb688634a50854a69a81b7d6536", + "IsHidden": "False" + }, + { + "Start": "8f0b953932c042388dd764693516a95f", + "End": "07aefa3efbb742d5a9a19f329b8d0aaf", + "Id": "3027c23fed25458aad0d8b4d9d9ebd54", + "IsHidden": "False" + }, + { + "Start": "719e7d0837c648eba55f206d16ff321c", + "End": "064767fa517e461bb21a294b3f15680a", + "Id": "da32c1d4964243f59f1b727ee431142c", + "IsHidden": "False" + }, + { + "Start": "719e7d0837c648eba55f206d16ff321c", + "End": "a9848cfcd7a34aa992b7961ce302a5d5", + "Id": "f0f31fa0a26e4a82a4a4e1200bfa4ff4", + "IsHidden": "False" + }, + { + "Start": "83cf7f5c26064a5ea531f7a9bc90e48b", + "End": "431e402e3d014cebb8b803d90f7747d3", + "Id": "d163a255db6e496e89c4fe81899efb80", + "IsHidden": "False" + }, + { + "Start": "65cccd93470741988f9448257a05da53", + "End": "dd6791aaa00a4ea9bb917beab6c2730e", + "Id": "0d8d8da0c6814f85a9cf405418573ad9", + "IsHidden": "False" + }, + { + "Start": "d75073adf91c43d2b814a9d2b7f4013b", + "End": "bd91f588950b4170b8ece3d1ca072f96", + "Id": "72d1701f321c45e08474428ece10f5b1", + "IsHidden": "False" + }, + { + "Start": "0c4fb81dc3de4fba8b87229b53f1d678", + "End": "7833ce1104d54219a99f8e8030a0b18b", + "Id": "10b9ebe6cdeb4c638f54c0b76056b452", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -8.3436689376831055, + "EyeY": 6.9886860847473145, + "EyeZ": 8.8846864700317383, + "LookX": 12.983955383300781, + "LookY": -5.8967127799987793, + "LookZ": -15.98281192779541, + "UpX": 0.039591424167156219, + "UpY": 0.99802666902542114, + "UpZ": -0.04873570054769516 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "f1a8cc0b6efb4e0b8a980a769e819143", + "Name": "Point.Origin", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -598.36946681259155, + "Y": 93.332310710060781 + }, + { + "Id": "8ec862a38f4142ba9b92445953e5d47f", + "Name": "Circle.ByCenterPointRadius", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": -336.36946681259155, + "Y": 150.33231071006077 + }, + { + "Id": "1248e73f513843fd9908d6a1bcc26e09", + "Name": "PolySurface.Chamfer", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1126.6305331874084, + "Y": 196.3323107100608 + }, + { + "Id": "61c7139acf3f45b998a8e5dc95f3bc9b", + "Name": "Curve.ExtrudeAsSolid", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 40.130533187408446, + "Y": 150.33231071006077 + }, + { + "Id": "08aa111c87074bc5b5bd2b2075189c19", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -598.36946681259155, + "Y": 241.15981071006081 + }, + { + "Id": "97444bb44b1f44d3aaff32612ff1e05f", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 726.13053318740845, + "Y": 390.15981071006075 + }, + { + "Id": "6d29d6f9bfa64db0879935ce88a7d720", + "Name": "Topology.Edges", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 726.13053318740845, + "Y": 230.33231071006077 + }, + { + "Id": "30e881f9ce40432aa228cd4755c6640f", + "Name": "Geometry.Explode", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 373.63053318740845, + "Y": 70.332310710060767 + }, + { + "Id": "45042abf60674769a0a2fdfd616993b3", + "Name": "PolySurface.ByJoinedSurfaces", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 726.13053318740845, + "Y": 70.332310710060824 + } + ], + "Annotations": [], + "X": 339.45311027464072, + "Y": 283.88853177132938, + "Zoom": 0.533456488110603 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer.md index 1d8fa195336..a9aacf1340c 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer.md @@ -1,7 +1,9 @@ ## In Depth -Chamfer will return a new solid with chamfered edges. The edges input specifies which edges to chamfer, while the offset input determines the extent of the chamfer. In the example below, we start with a cube using the default inputs. To get the appropriate edges of the cube, we first explode the cube to get the faces as a list of surfaces. We then use a Face.Edges node to extract the edges of the cube. We extract the first edge of each face with GetItemAtIndex. A number slider controls the offset distance for the chamfer. -___ -## Example File +`PolySurface.Chamfer` returns a new PolySurface with chamfered edges defined by the `offset` input. +In the example below, a new PolySurface is returned by chamfering the top and bottom edges of a cylinder by a 0.5 offset. The offset input must be small enough to fit on the PolySurface. This node is similar to `PolySurface.Fillet`, but it returns a PolySurface with new edges. +___ +## Example File +![PolySurface.Chamfer](./Autodesk.DesignScript.Geometry.PolySurface.Chamfer_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer_img.jpg new file mode 100644 index 00000000000..bb1933440f5 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Chamfer_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine.dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine.dyn new file mode 100644 index 00000000000..dab0c0d5881 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine.dyn @@ -0,0 +1,692 @@ +{ + "Uuid": "d433bf67-a079-460c-b27a-e9053763a394", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine", + "ElementResolver": { + "ResolutionMap": { + "Color": { + "Key": "DSCore.Color", + "Value": "DSCoreNodes.dll" + }, + "Display": { + "Key": "Display.Display", + "Value": "Display.dll" + }, + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + }, + "Vector": { + "Key": "Autodesk.DesignScript.Geometry.Vector", + "Value": "ProtoGeometry.dll" + } + } + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "5335df623fb34e2389e2a75a06a4a374", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "c70e3b3e9e1c4bf9aaeaf33ac7ccdf98", + "Name": "circle", + "Description": "Circle", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "be6e731892c74c30a3ebc9089a7d894c", + "Name": "numberSides", + "Description": "int\nDefault value : 5", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8e7023db597f408cb0371dfa7aabf86b", + "Name": "Polygon", + "Description": "Polygon", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Polygon.RegularPolygon@Autodesk.DesignScript.Geometry.Circle,int", + "Replication": "Auto", + "Description": "Construct an inscribed Polygon Curve within a circle.\n\nPolygon.RegularPolygon (circle: Circle, numberSides: int = 5): Polygon" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "41292b5670ed4b039979e2440f38368f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "76986b667c0a48feaf55a010f81fdfd6", + "Name": "centerPoint", + "Description": "Center point of circle\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8a5c3310146a4f198601197afa30cdfa", + "Name": "radius", + "Description": "Radius\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4165ea29ebe7494e962b5598719d45d5", + "Name": "Circle", + "Description": "Circle created with center point and radius", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Circle.ByCenterPointRadius@Autodesk.DesignScript.Geometry.Point,double", + "Replication": "Auto", + "Description": "Creates a Circle with input center Point and radius in the world XY plane, with world Z as normal.\n\nCircle.ByCenterPointRadius (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1): Circle" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "cc5766a5aaeb4a90a85ecb7abfb271a5", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "8eb1117998ef4b9f94ad697143c29abc", + "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": "6;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "7fa20a53fdbc42458ecfb3b9a077203d", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "11a1ad80ffe64af9b8efb3fa175cf52f", + "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": "3;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "1994817a228b4d43a3654b75f3fbed87", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "73457e6e328a4ae8b42c031bbdc74b57", + "Name": "curve", + "Description": "Autodesk.DesignScript.Geometry.Curve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8040be8c345a4c74ba830798e20cf62b", + "Name": "distance", + "Description": "Distance to extrude\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "f659bb8a4fd84e2f86af9e849464e5ba", + "Name": "Solid", + "Description": "The extruded Solid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Curve.ExtrudeAsSolid@double", + "Replication": "Auto", + "Description": "Extrudes a Curve in the Normal direction by the specified distance. Curve must be closed.\n\nCurve.ExtrudeAsSolid (distance: double = 1): Solid" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "4defb0da28244b379d7f5cc562a90b24", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "dba692c9273b44d0ba1f5d91a632bb51", + "Name": "solid", + "Description": "Solid which surfaces to use\n\nSolid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4f7874f7e54645b589af7a1f38d6e8fc", + "Name": "PolySurface", + "Description": "PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.BySolid@Autodesk.DesignScript.Geometry.Solid", + "Replication": "Auto", + "Description": "Make Polysurface by surfaces of Solid.\n\nPolySurface.BySolid (solid: Solid): PolySurface" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "WatchWidth": 200.0, + "WatchHeight": 200.0, + "Id": "2e3a2203810c4873978076774444f826", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "584839803cdd4be9ac8d8034ff79ced6", + "Name": "", + "Description": "Node to show output from", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ec3f5c5433154695992c9034339d6cbf", + "Name": "", + "Description": "Node output", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualizes a node's output" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "ea0e2f1c57d64b58b1cf6a7fece599e5", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "e9ea342e97e34df38449ea533ad64a73", + "Name": "polySurface", + "Description": "Autodesk.DesignScript.Geometry.PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "330bb8b9e7d24834a9060a16e7c57889", + "Name": "line", + "Description": "Line", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e49b6b494b5c431eb410ac941ed96bbe", + "Name": "Surface[]", + "Description": "Surface[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine@Autodesk.DesignScript.Geometry.Line", + "Replication": "Auto", + "Description": "Locate Surfaces by Line. Takes all surfaces hit by line.\n\nPolySurface.LocateSurfacesByLine (line: Line): Surface[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "00d5772aba6e48ac9c1e291e32e94da1", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "e4c340f95eec4d55b7152cb945977524", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "66932d262f8f4292a69ee05d98c299cf", + "Name": "direction", + "Description": "Direction vector\n\nVector", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "df4ff10ca431496e91a763a31942b7f5", + "Name": "length", + "Description": "Length of line\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e5d705fb1e684ef9b1a8c470b5aa6a5a", + "Name": "Line", + "Description": "Line from start direction and length", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointDirectionLength@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Vector,double", + "Replication": "Auto", + "Description": "Create a straight Line starting at start Point, extending in Vector direction by specified length.\n\nLine.ByStartPointDirectionLength (startPoint: Point, direction: Vector, length: double = 1): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "d14f7dd4492548cf9db42798b6397fd6", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "a9cd28169e2149b0ba8534b30ac7c833", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "88610f3f6c364193a799d19d8a75504e", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d436f88450d94b908fd0851ffe620e7e", + "Name": "", + "Description": "Value of expression at line 3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(6,-6,3);\nVector.ByCoordinates(-6,6,0);\n20;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "d8d755c4bd0a4506bf7bcc836cc00db7", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "160e08de96604ea5a675fed18ef24dab", + "Name": "geometry", + "Description": "The geometry to which you would like to apply color.\n\nGeometry", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "2e75f785a03a4faf8c7e8369c0697199", + "Name": "color", + "Description": "The color.\n\nColor", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "52e7ec45173940a794f7f5f567003a09", + "Name": "GeometryColor", + "Description": "A Display object.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Modifiers.GeometryColor.ByGeometryColor@Autodesk.DesignScript.Geometry.Geometry,DSCore.Color", + "Replication": "Auto", + "Description": "Display geometry using a color.\n\nGeometryColor.ByGeometryColor (geometry: Geometry, color: Color): GeometryColor" + }, + { + "ConcreteType": "CoreNodeModels.Input.ColorPalette, CoreNodeModels", + "InputValue": { + "R": 161, + "G": 196, + "B": 208, + "A": 255 + }, + "Id": "747bc3e75bcc46ccb21f971279deb65b", + "NodeType": "ColorInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "b660def6a84848d78cb578348573b418", + "Name": "Color", + "Description": "Selected Color.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Select a Color from the palette" + } + ], + "Connectors": [ + { + "Start": "8e7023db597f408cb0371dfa7aabf86b", + "End": "73457e6e328a4ae8b42c031bbdc74b57", + "Id": "86ea44b1ef764105b33b9743a79c83e5", + "IsHidden": "False" + }, + { + "Start": "4165ea29ebe7494e962b5598719d45d5", + "End": "c70e3b3e9e1c4bf9aaeaf33ac7ccdf98", + "Id": "737266716f624635be36d17d8792b737", + "IsHidden": "False" + }, + { + "Start": "8eb1117998ef4b9f94ad697143c29abc", + "End": "be6e731892c74c30a3ebc9089a7d894c", + "Id": "238a4cafa7c2403cb0f83e6fea1b54f6", + "IsHidden": "False" + }, + { + "Start": "8eb1117998ef4b9f94ad697143c29abc", + "End": "8040be8c345a4c74ba830798e20cf62b", + "Id": "58bda78034224a598ccc1c67ac8730ee", + "IsHidden": "False" + }, + { + "Start": "11a1ad80ffe64af9b8efb3fa175cf52f", + "End": "8a5c3310146a4f198601197afa30cdfa", + "Id": "32fa8b08a1734b54a381b3c1c8d7ad1a", + "IsHidden": "False" + }, + { + "Start": "f659bb8a4fd84e2f86af9e849464e5ba", + "End": "dba692c9273b44d0ba1f5d91a632bb51", + "Id": "ad08573869d14c468908ad486855be3e", + "IsHidden": "False" + }, + { + "Start": "4f7874f7e54645b589af7a1f38d6e8fc", + "End": "e9ea342e97e34df38449ea533ad64a73", + "Id": "f4e89d7924ba408aa0bd5de78d949b3a", + "IsHidden": "False" + }, + { + "Start": "4f7874f7e54645b589af7a1f38d6e8fc", + "End": "160e08de96604ea5a675fed18ef24dab", + "Id": "3c24e8d1333a45529ad65252d1106781", + "IsHidden": "False" + }, + { + "Start": "e49b6b494b5c431eb410ac941ed96bbe", + "End": "584839803cdd4be9ac8d8034ff79ced6", + "Id": "c3b553649756401a8c2e241d98a633f9", + "IsHidden": "False" + }, + { + "Start": "e5d705fb1e684ef9b1a8c470b5aa6a5a", + "End": "330bb8b9e7d24834a9060a16e7c57889", + "Id": "8c8d4bdec4e04bf0a9b6c10bd75327fb", + "IsHidden": "False" + }, + { + "Start": "a9cd28169e2149b0ba8534b30ac7c833", + "End": "e4c340f95eec4d55b7152cb945977524", + "Id": "acdd90456aed477ba1bd18a9ab743870", + "IsHidden": "False" + }, + { + "Start": "88610f3f6c364193a799d19d8a75504e", + "End": "66932d262f8f4292a69ee05d98c299cf", + "Id": "1c9c43d564b94245aa14078cd87e2154", + "IsHidden": "False" + }, + { + "Start": "d436f88450d94b908fd0851ffe620e7e", + "End": "df4ff10ca431496e91a763a31942b7f5", + "Id": "5ea9a2969a32476981fd43a47b50a4d0", + "IsHidden": "False" + }, + { + "Start": "b660def6a84848d78cb578348573b418", + "End": "2e75f785a03a4faf8c7e8369c0697199", + "Id": "50191ec37c0e4adca47550db48889a2e", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": 11.591912269592285, + "EyeY": 11.734637260437012, + "EyeZ": -1.7373466491699219, + "LookX": -17.052577972412109, + "LookY": -10.119429588317871, + "LookZ": 5.44566011428833, + "UpX": -0.28010433912277222, + "UpY": 0.95579308271408081, + "UpZ": 0.089450061321258545 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "5335df623fb34e2389e2a75a06a4a374", + "Name": "Polygon.RegularPolygon", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1080.074274633665, + "Y": 3228.3836730245202 + }, + { + "Id": "41292b5670ed4b039979e2440f38368f", + "Name": "Circle.ByCenterPointRadius", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 704.074274633665, + "Y": 3150.3836730245202 + }, + { + "Id": "cc5766a5aaeb4a90a85ecb7abfb271a5", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 704.074274633665, + "Y": 3340.21117302452 + }, + { + "Id": "7fa20a53fdbc42458ecfb3b9a077203d", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 450.074274633665, + "Y": 3184.21117302452 + }, + { + "Id": "1994817a228b4d43a3654b75f3fbed87", + "Name": "Curve.ExtrudeAsSolid", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1436.074274633665, + "Y": 3228.3836730245202 + }, + { + "Id": "4defb0da28244b379d7f5cc562a90b24", + "Name": "PolySurface.BySolid", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1847.074274633665, + "Y": 3235.3836730245202 + }, + { + "Id": "2e3a2203810c4873978076774444f826", + "Name": "Watch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2701.074274633665, + "Y": 3340.3836730245202 + }, + { + "Id": "ea0e2f1c57d64b58b1cf6a7fece599e5", + "Name": "PolySurface.LocateSurfacesByLine", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2271.074274633665, + "Y": 3340.3836730245202 + }, + { + "Id": "00d5772aba6e48ac9c1e291e32e94da1", + "Name": "Line.ByStartPointDirectionLength", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1847.074274633665, + "Y": 3394.3836730245202 + }, + { + "Id": "d14f7dd4492548cf9db42798b6397fd6", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1436.074274633665, + "Y": 3418.8661730245203 + }, + { + "Id": "d8d755c4bd0a4506bf7bcc836cc00db7", + "Name": "GeometryColor.ByGeometryColor", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2661.3520936663367, + "Y": 2908.5314957599953 + }, + { + "Id": "747bc3e75bcc46ccb21f971279deb65b", + "Name": "Color Palette", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2403.0432328117213, + "Y": 3017.962883065522 + } + ], + "Annotations": [], + "X": -193.90336514270064, + "Y": -1148.3909416366, + "Zoom": 0.47965456062916917 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine.md index 9048379483b..a16f5bfe74e 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine.md @@ -1,7 +1,9 @@ ## In Depth -LocateSurfacesByLine will return all Surface(s) that a Line intersects. In the example below, a line is found to pass through an extruded hexagon at two places and returns two Surfaces. -___ -## Example File +`PolySurface.LocateSurfacesByLine` returns all surfaces that a line intersects. +In the example below, a line is found to pass through an extruded hexagon at two places and returns two surfaces. +___ +## Example File +![PolySurface.LocateSurfacesByLine](./Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine_img.jpg new file mode 100644 index 00000000000..277158725a7 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByLine_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint.dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint.dyn new file mode 100644 index 00000000000..88b38b826df --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint.dyn @@ -0,0 +1,692 @@ +{ + "Uuid": "d66689a6-9314-4f3a-9376-bc79a0c66100", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint", + "ElementResolver": { + "ResolutionMap": { + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + }, + "Vector": { + "Key": "Autodesk.DesignScript.Geometry.Vector", + "Value": "ProtoGeometry.dll" + }, + "Color": { + "Key": "DSCore.Color", + "Value": "DSCoreNodes.dll" + }, + "Display": { + "Key": "Display.Display", + "Value": "Display.dll" + } + } + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "a71afaef304c4e0192c6931eb1d3a131", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "1100005e120449439d7d294062b020f7", + "Name": "circle", + "Description": "Circle", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8bd91dd253534ef89441a37dad2f4ab4", + "Name": "numberSides", + "Description": "int\nDefault value : 5", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "0b2ba41df6bd40279915fd7a4dcafee8", + "Name": "Polygon", + "Description": "Polygon", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Polygon.RegularPolygon@Autodesk.DesignScript.Geometry.Circle,int", + "Replication": "Auto", + "Description": "Construct an inscribed Polygon Curve within a circle.\n\nPolygon.RegularPolygon (circle: Circle, numberSides: int = 5): Polygon" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "2dd79e9a8094462b8d9472b2fc2285c2", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "57042e2021e54a63bcc9be150d9afeef", + "Name": "centerPoint", + "Description": "Center point of circle\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e7d046013cf547c182ade71edc901125", + "Name": "radius", + "Description": "Radius\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "fcd6ed369ce14b14b82f33876d97fefd", + "Name": "Circle", + "Description": "Circle created with center point and radius", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Circle.ByCenterPointRadius@Autodesk.DesignScript.Geometry.Point,double", + "Replication": "Auto", + "Description": "Creates a Circle with input center Point and radius in the world XY plane, with world Z as normal.\n\nCircle.ByCenterPointRadius (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1): Circle" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "d1fe1311b7e9430887a0043ee034c85f", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "066bc9d53fc944dc91de3d987b15e8e5", + "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": "6;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "63b93ddc25e5437a87a96688ec933e8b", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "edb613e1215249928ab1b7f520ad09b9", + "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": "3;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "c9ab3c343c2a4b6d9c018d8ebc3d77d9", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "ff8908ae35cb42e2a0cc554b3b3b4f6e", + "Name": "curve", + "Description": "Autodesk.DesignScript.Geometry.Curve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "c4af169027d842c980ee2c866c13c44e", + "Name": "distance", + "Description": "Distance to extrude\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "09f15ca4b775415e997b0fe757ba49b5", + "Name": "Solid", + "Description": "The extruded Solid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Curve.ExtrudeAsSolid@double", + "Replication": "Auto", + "Description": "Extrudes a Curve in the Normal direction by the specified distance. Curve must be closed.\n\nCurve.ExtrudeAsSolid (distance: double = 1): Solid" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "960562ff9d5546bb94d206e3b27d862a", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4d1a9ad2b9bb4a2e97e02ce1842d1a4e", + "Name": "solid", + "Description": "Solid which surfaces to use\n\nSolid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b7c833c61bfb4573bbc19fbacf7995cd", + "Name": "PolySurface", + "Description": "PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.BySolid@Autodesk.DesignScript.Geometry.Solid", + "Replication": "Auto", + "Description": "Make Polysurface by surfaces of Solid.\n\nPolySurface.BySolid (solid: Solid): PolySurface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "3591bd2cd97643c5a60caca73979b09b", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "6abb96aa7c0c4605be19c413b59b59fd", + "Name": "polySurface", + "Description": "Autodesk.DesignScript.Geometry.PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "aefd1966d5c943aea34abc0978186140", + "Name": "point", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "4463fffad47b4e40af037900976c34fc", + "Name": "direction", + "Description": "Vector", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "69173906d6ff45858c8a24b49fbf19eb", + "Name": "Surface[]", + "Description": "Surface[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Vector", + "Replication": "Auto", + "Description": "Locate Surfaces by point. Takes first intersection in forward direction. Returns one surface if hit surface interior, two if hit edge interior, and many if hit vertex\n\nPolySurface.LocateSurfacesByPoint (point: Point, direction: Vector): Surface[]" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "WatchWidth": 200.0, + "WatchHeight": 200.0, + "Id": "f94559a906b643e79cd533f0a93402ad", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "7688bac2071b454cad2294ae5fc17eca", + "Name": "", + "Description": "Node to show output from", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "2aed917932ec430e857462a7ab79fe7d", + "Name": "", + "Description": "Node output", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualizes a node's output" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "d51ab135d91744c79f49ce3481fbeb09", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4810e459919e439a8b0acea822f3ebc3", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "f319dd2ce797434c9377f361f12fd8ec", + "Name": "direction", + "Description": "Direction vector\n\nVector", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7467542c6e0440e4b7531b632abbb67a", + "Name": "length", + "Description": "Length of line\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "641ad24f28da4c25a00f451da5be4eef", + "Name": "Line", + "Description": "Line from start direction and length", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointDirectionLength@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Vector,double", + "Replication": "Auto", + "Description": "Create a straight Line starting at start Point, extending in Vector direction by specified length.\n\nLine.ByStartPointDirectionLength (startPoint: Point, direction: Vector, length: double = 1): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "91c38d2d91264a3b894215fe8e7ece48", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "54c8634404a746609f8ca34f5d609571", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "2a3b0483cb1643eb8d21f875d2bfb165", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(-6,1,1);\nVector.ByCoordinates(1,0,0.5);" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "f7f5615f8a5e45a4a961bbc6fa8654a1", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "b30f09f51e60413a8f13df402a100ea6", + "Name": "geometry", + "Description": "The geometry to which you would like to apply color.\n\nGeometry", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8af67dd3fc37485c816cec145edd4759", + "Name": "color", + "Description": "The color.\n\nColor", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "3dca525a714945a8a0d00731687bce81", + "Name": "GeometryColor", + "Description": "A Display object.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Modifiers.GeometryColor.ByGeometryColor@Autodesk.DesignScript.Geometry.Geometry,DSCore.Color", + "Replication": "Auto", + "Description": "Display geometry using a color.\n\nGeometryColor.ByGeometryColor (geometry: Geometry, color: Color): GeometryColor" + }, + { + "ConcreteType": "CoreNodeModels.Input.ColorPalette, CoreNodeModels", + "InputValue": { + "R": 143, + "G": 189, + "B": 204, + "A": 255 + }, + "Id": "dcaa1b79179146cbba45e020711ef936", + "NodeType": "ColorInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "d7d3493d3c254cc08b635d96faf7bf98", + "Name": "Color", + "Description": "Selected Color.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Select a Color from the palette" + } + ], + "Connectors": [ + { + "Start": "0b2ba41df6bd40279915fd7a4dcafee8", + "End": "ff8908ae35cb42e2a0cc554b3b3b4f6e", + "Id": "c766f060a9d44b2ab5ebe2156a5d88a1", + "IsHidden": "False" + }, + { + "Start": "fcd6ed369ce14b14b82f33876d97fefd", + "End": "1100005e120449439d7d294062b020f7", + "Id": "5a1ff4bf509b44dc9c3e84ed1335b731", + "IsHidden": "False" + }, + { + "Start": "066bc9d53fc944dc91de3d987b15e8e5", + "End": "8bd91dd253534ef89441a37dad2f4ab4", + "Id": "5aa84ac7cff043358a081b29cf57f646", + "IsHidden": "False" + }, + { + "Start": "066bc9d53fc944dc91de3d987b15e8e5", + "End": "c4af169027d842c980ee2c866c13c44e", + "Id": "2cd4b38c10f1498ba7085f80fd9a2559", + "IsHidden": "False" + }, + { + "Start": "edb613e1215249928ab1b7f520ad09b9", + "End": "e7d046013cf547c182ade71edc901125", + "Id": "8ca995ae5f3243e0b04be1ede5f99ea0", + "IsHidden": "False" + }, + { + "Start": "09f15ca4b775415e997b0fe757ba49b5", + "End": "4d1a9ad2b9bb4a2e97e02ce1842d1a4e", + "Id": "1a89cd14c2954a80ab3deb959d6b8841", + "IsHidden": "False" + }, + { + "Start": "b7c833c61bfb4573bbc19fbacf7995cd", + "End": "6abb96aa7c0c4605be19c413b59b59fd", + "Id": "27a8d4a1815e42cca23e85b96fd837c0", + "IsHidden": "False" + }, + { + "Start": "b7c833c61bfb4573bbc19fbacf7995cd", + "End": "b30f09f51e60413a8f13df402a100ea6", + "Id": "a9ac3a8bc4ac4db0bf380e6f3913693e", + "IsHidden": "False" + }, + { + "Start": "69173906d6ff45858c8a24b49fbf19eb", + "End": "7688bac2071b454cad2294ae5fc17eca", + "Id": "b456132a4cc444fca41a30db5db9417d", + "IsHidden": "False" + }, + { + "Start": "54c8634404a746609f8ca34f5d609571", + "End": "4810e459919e439a8b0acea822f3ebc3", + "Id": "f3e6836373e44d88b6a9c3b1a525c68b", + "IsHidden": "False" + }, + { + "Start": "54c8634404a746609f8ca34f5d609571", + "End": "aefd1966d5c943aea34abc0978186140", + "Id": "59c79e241fc449e3b8cd4cbafe2f2aeb", + "IsHidden": "False" + }, + { + "Start": "2a3b0483cb1643eb8d21f875d2bfb165", + "End": "f319dd2ce797434c9377f361f12fd8ec", + "Id": "02e55776750e405baa25d20c23f34f0d", + "IsHidden": "False" + }, + { + "Start": "2a3b0483cb1643eb8d21f875d2bfb165", + "End": "4463fffad47b4e40af037900976c34fc", + "Id": "4163fc677b32457896d4875bfadaf0fb", + "IsHidden": "False" + }, + { + "Start": "d7d3493d3c254cc08b635d96faf7bf98", + "End": "8af67dd3fc37485c816cec145edd4759", + "Id": "2a4bc2a5f75e4afc99bc8bd3433ab254", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -6.256777286529541, + "EyeY": 10.278606414794922, + "EyeZ": -12.108186721801758, + "LookX": 9.7447071075439453, + "LookY": -8.45804500579834, + "LookZ": 14.550629615783691, + "UpX": 0.12895606458187103, + "UpY": 0.97277587652206421, + "UpZ": 0.19255498051643372 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "a71afaef304c4e0192c6931eb1d3a131", + "Name": "Polygon.RegularPolygon", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1117.074274633665, + "Y": 3142.74270204608 + }, + { + "Id": "2dd79e9a8094462b8d9472b2fc2285c2", + "Name": "Circle.ByCenterPointRadius", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 741.074274633665, + "Y": 3064.74270204608 + }, + { + "Id": "d1fe1311b7e9430887a0043ee034c85f", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 741.074274633665, + "Y": 3254.57020204608 + }, + { + "Id": "63b93ddc25e5437a87a96688ec933e8b", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 487.074274633665, + "Y": 3098.57020204608 + }, + { + "Id": "c9ab3c343c2a4b6d9c018d8ebc3d77d9", + "Name": "Curve.ExtrudeAsSolid", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1473.074274633665, + "Y": 3142.74270204608 + }, + { + "Id": "960562ff9d5546bb94d206e3b27d862a", + "Name": "PolySurface.BySolid", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1806.074274633665, + "Y": 3142.74270204608 + }, + { + "Id": "3591bd2cd97643c5a60caca73979b09b", + "Name": "PolySurface.LocateSurfacesByPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2225.074274633665, + "Y": 3227.24270204608 + }, + { + "Id": "f94559a906b643e79cd533f0a93402ad", + "Name": "Watch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2664.074274633665, + "Y": 3227.24270204608 + }, + { + "Id": "d51ab135d91744c79f49ce3481fbeb09", + "Name": "Line.ByStartPointDirectionLength", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2664.074274633665, + "Y": 3540.24270204608 + }, + { + "Id": "91c38d2d91264a3b894215fe8e7ece48", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1806.074274633665, + "Y": 3409.3977020460798 + }, + { + "Id": "f7f5615f8a5e45a4a961bbc6fa8654a1", + "Name": "GeometryColor.ByGeometryColor", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2658.2904725554044, + "Y": 3031.5251282687964 + }, + { + "Id": "dcaa1b79179146cbba45e020711ef936", + "Name": "Color Palette", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2407.2757327953873, + "Y": 3074.2087869097486 + } + ], + "Annotations": [], + "X": -220.41616148556534, + "Y": -1271.3069419068095, + "Zoom": 0.52666234791436761 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint.md index 6cb8c180843..c0a1f718f9d 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint.md @@ -1,7 +1,9 @@ ## In Depth -LocateSurfacesByPoint will return the first Surface intersected in the forward direction as defined by a Vector. In the example below, the Surface returned is intersected by a Vector originating at the Point. The Vector is represented as a Line. -___ -## Example File +`PolySurface.LocateSurfacesByPoint` returns the first surface intersected in the forward direction as defined by a vector. +In the example below, the surface returned is intersected by a vector originating at the point. The vector is represented as a line. +___ +## Example File +![PolySurface.LocateSurfacesByPoint](./Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint_img.jpg new file mode 100644 index 00000000000..3ed527fbee9 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.LocateSurfacesByPoint_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces.dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces.dyn new file mode 100644 index 00000000000..5a24dc80707 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces.dyn @@ -0,0 +1,592 @@ +{ + "Uuid": "6a6df533-57ca-4e20-88ec-b90d7f39e593", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.PolySurface.Surfaces", + "ElementResolver": { + "ResolutionMap": { + "Color": { + "Key": "DSCore.Color", + "Value": "DSCoreNodes.dll" + }, + "Display": { + "Key": "Display.Display", + "Value": "Display.dll" + } + } + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "cb068ce429054800b0fc72af4b71f879", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "52c4e030ca644980b6b64cee6afa24d5", + "Name": "circle", + "Description": "Circle", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7a1d806bde1649a5b85419bcd9a3cd61", + "Name": "numberSides", + "Description": "int\nDefault value : 5", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "031985c93fde4d618be5dd5dba843bb4", + "Name": "Polygon", + "Description": "Polygon", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Polygon.RegularPolygon@Autodesk.DesignScript.Geometry.Circle,int", + "Replication": "Auto", + "Description": "Construct an inscribed Polygon Curve within a circle.\n\nPolygon.RegularPolygon (circle: Circle, numberSides: int = 5): Polygon" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "7dd1362175734f219261038e41d94790", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "eac60ad220ae45808141bb47e351c638", + "Name": "centerPoint", + "Description": "Center point of circle\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "deb74cdcdb894811be2c17584badac6a", + "Name": "radius", + "Description": "Radius\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "6b2464a4388b4f278be49815c7897e09", + "Name": "Circle", + "Description": "Circle created with center point and radius", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Circle.ByCenterPointRadius@Autodesk.DesignScript.Geometry.Point,double", + "Replication": "Auto", + "Description": "Creates a Circle with input center Point and radius in the world XY plane, with world Z as normal.\n\nCircle.ByCenterPointRadius (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1): Circle" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "7ef2629a81f6405ab6f8b7ca5da27f4f", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "dd8caf51d56e46ecbfe7c487def82c1c", + "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": "6;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "d7c8839768bf4dfca48f40cf271b653d", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "8cca2107979e43598619d6f9c9891821", + "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": "3;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "51620966c86f45f08ad64ac8305b5002", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "aabbeff9dec047c5a456b63461e48f51", + "Name": "curve", + "Description": "Autodesk.DesignScript.Geometry.Curve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "15daff9dda884cfaba6ccd8b185f362b", + "Name": "distance", + "Description": "Distance to extrude\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a04761d373af40e3990edc5d7fb39310", + "Name": "Solid", + "Description": "The extruded Solid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Curve.ExtrudeAsSolid@double", + "Replication": "Auto", + "Description": "Extrudes a Curve in the Normal direction by the specified distance. Curve must be closed.\n\nCurve.ExtrudeAsSolid (distance: double = 1): Solid" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "bba4a1bc63f744b89866dab039d8a47f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "699f28397aad47de94b674323f405925", + "Name": "solid", + "Description": "Solid which surfaces to use\n\nSolid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4d29ee5fb9824547ad3c8c2ef10278c2", + "Name": "PolySurface", + "Description": "PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.BySolid@Autodesk.DesignScript.Geometry.Solid", + "Replication": "Auto", + "Description": "Make Polysurface by surfaces of Solid.\n\nPolySurface.BySolid (solid: Solid): PolySurface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "7ee931228bc24f469b57e4d0e939a852", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "8093d08c4165464f837e28956852287a", + "Name": "polySurface", + "Description": "Autodesk.DesignScript.Geometry.PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "2cd35e9b7b8b436cb1e6b30246065bed", + "Name": "Surface[]", + "Description": "Surface[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.Surfaces", + "Replication": "Auto", + "Description": "Return new Surfaces representing the underlying Surfaces.\n\nPolySurface.Surfaces ( ): Surface[]" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "WatchWidth": 200.0, + "WatchHeight": 200.0, + "Id": "626d671a4c3f41129cea8d7e5352becf", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "f46282b2e09443ffbf65455a50ded4a3", + "Name": "", + "Description": "Node to show output from", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4260bb17fe294a79844520face83d848", + "Name": "", + "Description": "Node output", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualizes a node's output" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "WatchWidth": 102.0, + "WatchHeight": 38.0, + "Id": "615e7eb1192248a58069d2d7ad20db68", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "3b7e46a2b5a742be94d75dcc47ec89c2", + "Name": "", + "Description": "Node to show output from", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "04c47b41cc5943cf97c29bd1954cd78d", + "Name": "", + "Description": "Node output", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualizes a node's output" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "4786808a41ce45a2871bbeef7b87b1ad", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "d3c0612a1663482293e7e7166f6a12dd", + "Name": "geometry", + "Description": "The geometry to which you would like to apply color.\n\nGeometry", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "943f14b43cc743db876f66c65a10d1d4", + "Name": "color", + "Description": "The color.\n\nColor", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8f703b83d4774eb698a5ec87227d1525", + "Name": "GeometryColor", + "Description": "A Display object.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Modifiers.GeometryColor.ByGeometryColor@Autodesk.DesignScript.Geometry.Geometry,DSCore.Color", + "Replication": "Auto", + "Description": "Display geometry using a color.\n\nGeometryColor.ByGeometryColor (geometry: Geometry, color: Color): GeometryColor" + }, + { + "ConcreteType": "CoreNodeModels.Input.ColorPalette, CoreNodeModels", + "InputValue": { + "R": 178, + "G": 234, + "B": 234, + "A": 255 + }, + "Id": "d1b5d31b1634469b8e53555b118a372b", + "NodeType": "ColorInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "d4701e2b08c6413a931e45c1d4dcf2e4", + "Name": "Color", + "Description": "Selected Color.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Select a Color from the palette" + } + ], + "Connectors": [ + { + "Start": "031985c93fde4d618be5dd5dba843bb4", + "End": "aabbeff9dec047c5a456b63461e48f51", + "Id": "347977d4c90e446ab4f9ebaff0461c1c", + "IsHidden": "False" + }, + { + "Start": "6b2464a4388b4f278be49815c7897e09", + "End": "52c4e030ca644980b6b64cee6afa24d5", + "Id": "7cec545d27534016916d11d3b4d6df1b", + "IsHidden": "False" + }, + { + "Start": "dd8caf51d56e46ecbfe7c487def82c1c", + "End": "7a1d806bde1649a5b85419bcd9a3cd61", + "Id": "fb035ee718cc492f84a8856baa9a339a", + "IsHidden": "False" + }, + { + "Start": "dd8caf51d56e46ecbfe7c487def82c1c", + "End": "15daff9dda884cfaba6ccd8b185f362b", + "Id": "2e23710bf0c3451c93e6a8819ff12925", + "IsHidden": "False" + }, + { + "Start": "8cca2107979e43598619d6f9c9891821", + "End": "deb74cdcdb894811be2c17584badac6a", + "Id": "4a0c1abd262c4d2ca7d97f10b7b44c7e", + "IsHidden": "False" + }, + { + "Start": "a04761d373af40e3990edc5d7fb39310", + "End": "699f28397aad47de94b674323f405925", + "Id": "4c8e8190b07c434ca7aee01c3fc07e0d", + "IsHidden": "False" + }, + { + "Start": "4d29ee5fb9824547ad3c8c2ef10278c2", + "End": "8093d08c4165464f837e28956852287a", + "Id": "65fd0270d48e4d3d90c887e45b204384", + "IsHidden": "False" + }, + { + "Start": "4d29ee5fb9824547ad3c8c2ef10278c2", + "End": "3b7e46a2b5a742be94d75dcc47ec89c2", + "Id": "4caf272f727b46fab85447f3427b04e0", + "IsHidden": "False" + }, + { + "Start": "2cd35e9b7b8b436cb1e6b30246065bed", + "End": "f46282b2e09443ffbf65455a50ded4a3", + "Id": "dded824faf83444989ea347cf7d8b33a", + "IsHidden": "False" + }, + { + "Start": "2cd35e9b7b8b436cb1e6b30246065bed", + "End": "d3c0612a1663482293e7e7166f6a12dd", + "Id": "42fe2b7c56484e4090f5ae6ccbbab88f", + "IsHidden": "False" + }, + { + "Start": "d4701e2b08c6413a931e45c1d4dcf2e4", + "End": "943f14b43cc743db876f66c65a10d1d4", + "Id": "c0a0779882854399a93d1f40a3591b28", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -9.1837615966796875, + "EyeY": 9.0076513290405273, + "EyeZ": 10.286493301391602, + "LookX": 11.37481689453125, + "LookY": -8.0109405517578125, + "LookZ": -15.547768592834473, + "UpX": 0.1045607328414917, + "UpY": 0.98419559001922607, + "UpZ": -0.14291974902153015 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "cb068ce429054800b0fc72af4b71f879", + "Name": "Polygon.RegularPolygon", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1259.5661320546551, + "Y": 3353.272419171105 + }, + { + "Id": "7dd1362175734f219261038e41d94790", + "Name": "Circle.ByCenterPointRadius", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 883.5661320546551, + "Y": 3275.272419171105 + }, + { + "Id": "7ef2629a81f6405ab6f8b7ca5da27f4f", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 883.5661320546551, + "Y": 3465.0999191711048 + }, + { + "Id": "d7c8839768bf4dfca48f40cf271b653d", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 629.5661320546551, + "Y": 3309.0999191711048 + }, + { + "Id": "51620966c86f45f08ad64ac8305b5002", + "Name": "Curve.ExtrudeAsSolid", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1615.5661320546551, + "Y": 3353.272419171105 + }, + { + "Id": "bba4a1bc63f744b89866dab039d8a47f", + "Name": "PolySurface.BySolid", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1948.5661320546551, + "Y": 3353.272419171105 + }, + { + "Id": "7ee931228bc24f469b57e4d0e939a852", + "Name": "PolySurface.Surfaces", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 2275.5661320546551, + "Y": 3154.522419171105 + }, + { + "Id": "626d671a4c3f41129cea8d7e5352becf", + "Name": "Watch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2627.5661320546551, + "Y": 3239.022419171105 + }, + { + "Id": "615e7eb1192248a58069d2d7ad20db68", + "Name": "Watch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2627.5661320546551, + "Y": 3552.022419171105 + }, + { + "Id": "4786808a41ce45a2871bbeef7b87b1ad", + "Name": "GeometryColor.ByGeometryColor", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2671.1365412596056, + "Y": 3038.3546410502381 + }, + { + "Id": "d1b5d31b1634469b8e53555b118a372b", + "Name": "Color Palette", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2395.3380072207665, + "Y": 2980.8587504964962 + } + ], + "Annotations": [], + "X": -288.54023861404369, + "Y": -1482.3956829957538, + "Zoom": 0.54330014759681033 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces.md index 44f142b2014..8e6c0cdda1a 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces.md @@ -1,7 +1,10 @@ ## In Depth -Surfaces will return the Surfaces that make up a PolySurface. In the example below, a extruded hexagon will return eight individual Surfaces. -___ -## Example File +`PolySurface.Surfaces` returns the surfaces that make up a PolySurface. + +In the example below, `PolySurface.Surfaces` is used to return eight individual surfaces from an extruded hexagon. +___ +## Example File +![PolySurface.Surfaces](./Autodesk.DesignScript.Geometry.PolySurface.Surfaces_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces_img.jpg new file mode 100644 index 00000000000..ebe2e7aaa87 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.Surfaces_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries.dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries.dyn new file mode 100644 index 00000000000..024bae6d110 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries.dyn @@ -0,0 +1,547 @@ +{ + "Uuid": "87f3a4c6-c03d-4e6c-88c1-28030772aa65", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries", + "ElementResolver": { + "ResolutionMap": { + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + }, + "Color": { + "Key": "DSCore.Color", + "Value": "DSCoreNodes.dll" + }, + "Display": { + "Key": "Display.Display", + "Value": "Display.dll" + } + } + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "d0a9548be6aa465abb29d0c8d8b45260", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "0f1fcbb2c1334405b3d65b7dff64e3fc", + "Name": "circle", + "Description": "Circle", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "5fd8f59575484f9785eef885313d9e77", + "Name": "numberSides", + "Description": "int\nDefault value : 5", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c29f19b15aaa43778480f2d563e3d930", + "Name": "Polygon", + "Description": "Polygon", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Polygon.RegularPolygon@Autodesk.DesignScript.Geometry.Circle,int", + "Replication": "Auto", + "Description": "Construct an inscribed Polygon Curve within a circle.\n\nPolygon.RegularPolygon (circle: Circle, numberSides: int = 5): Polygon" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "a68671bcde6c4cd8b74cbaac07cb5311", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "cede60e09fe740e6aeb4d3ac440eaa28", + "Name": "centerPoint", + "Description": "Center point of circle\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "0392998c14104bad8bb0f80cd0e37f9c", + "Name": "radius", + "Description": "Radius\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9db90dedabdc4791a138fb0dee245044", + "Name": "Circle", + "Description": "Circle created with center point and radius", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Circle.ByCenterPointRadius@Autodesk.DesignScript.Geometry.Point,double", + "Replication": "Auto", + "Description": "Creates a Circle with input center Point and radius in the world XY plane, with world Z as normal.\n\nCircle.ByCenterPointRadius (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1): Circle" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "08399a9a761c429d9fb95129344fb49c", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "51265b35206f4191a27f34ba88c7c872", + "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": "6;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "dbd7b28f086f48c394b99aa52286f4c7", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "af555b609a8a4583a244fec04d766efc", + "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": "3;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "ef4d29195f3b49319e4b8a51523dbd8e", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "435897fd8cc74394b4472d412f3e48a9", + "Name": "crossSections", + "Description": "Curves to loft through.\n\nCurve[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7e9e3e50ccb14df1a4032ddedac93ba2", + "Name": "PolySurface", + "Description": "PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.ByLoft@Autodesk.DesignScript.Geometry.Curve[]", + "Replication": "Auto", + "Description": "Makes PolySurface by Loft through Curves.\n\nPolySurface.ByLoft (crossSections: Curve[]): PolySurface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "f5bb0869de3c4e0088f581df0404f88f", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "4643feff88214ccabdccd1e3031bfaad", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1559e2108ad8442caa9cc5cfc278bebc", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0,0,0);\nPoint.ByCoordinates(0,0,6);" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "Id": "9f9d338753dd4157bceaa499aa57b09b", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "5ff41c41bc9f483b8dd0b8dcec72319d", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "51866128a80244cf8ae6d0982d24eaf6", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e0550089edd243a4be4c14d1e7157e21", + "Name": "list", + "Description": "A list (type: var[]..[])", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list from the given inputs" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "3f5864d3ebf94409a5b54d985ef7b1b5", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4f5fa667f09147c7bc5a55fd5fda82e2", + "Name": "polySurface", + "Description": "Autodesk.DesignScript.Geometry.PolySurface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e0d0c6e2691147daa90dab18048c9253", + "Name": "PolyCurve[]", + "Description": "PolyCurve[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries", + "Replication": "Auto", + "Description": "Compute 2d cell boundaries which are not connected to other Surfaces\n\nPolySurface.UnconnectedBoundaries ( ): PolyCurve[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b8d196cec13941c294f92b3afd67aa54", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "ec13b82ceebc4933951c362e853f2618", + "Name": "geometry", + "Description": "The geometry to which you would like to apply color.\n\nGeometry", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "24be7dd6984a48f285eddb80a52cccb1", + "Name": "color", + "Description": "The color.\n\nColor", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e1e0133e4b4a40fb92e41576a8ecf4c1", + "Name": "GeometryColor", + "Description": "A Display object.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Modifiers.GeometryColor.ByGeometryColor@Autodesk.DesignScript.Geometry.Geometry,DSCore.Color", + "Replication": "Auto", + "Description": "Display geometry using a color.\n\nGeometryColor.ByGeometryColor (geometry: Geometry, color: Color): GeometryColor" + }, + { + "ConcreteType": "CoreNodeModels.Input.ColorPalette, CoreNodeModels", + "InputValue": { + "R": 179, + "G": 223, + "B": 238, + "A": 255 + }, + "Id": "c62bf36e98834d19b2d4bd1ba95cd42c", + "NodeType": "ColorInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "28fbf24b79de40e1a689fdcef380d213", + "Name": "Color", + "Description": "Selected Color.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Select a Color from the palette" + } + ], + "Connectors": [ + { + "Start": "c29f19b15aaa43778480f2d563e3d930", + "End": "435897fd8cc74394b4472d412f3e48a9", + "Id": "d6cccdb2361d48f596641fbd7534c249", + "IsHidden": "False" + }, + { + "Start": "9db90dedabdc4791a138fb0dee245044", + "End": "0f1fcbb2c1334405b3d65b7dff64e3fc", + "Id": "a0caef9f7de945b29df1592ba605fc44", + "IsHidden": "False" + }, + { + "Start": "51265b35206f4191a27f34ba88c7c872", + "End": "5fd8f59575484f9785eef885313d9e77", + "Id": "34e5bcba9735481ba61653fa3daa2d6a", + "IsHidden": "False" + }, + { + "Start": "af555b609a8a4583a244fec04d766efc", + "End": "0392998c14104bad8bb0f80cd0e37f9c", + "Id": "b393775885044c01a43bd55e9743ec4e", + "IsHidden": "False" + }, + { + "Start": "7e9e3e50ccb14df1a4032ddedac93ba2", + "End": "4f5fa667f09147c7bc5a55fd5fda82e2", + "Id": "146f03e8b1e345aaa4ffc018b1ee9ec1", + "IsHidden": "False" + }, + { + "Start": "7e9e3e50ccb14df1a4032ddedac93ba2", + "End": "ec13b82ceebc4933951c362e853f2618", + "Id": "323609f88fe1478592b81bbf16b73c2a", + "IsHidden": "False" + }, + { + "Start": "4643feff88214ccabdccd1e3031bfaad", + "End": "5ff41c41bc9f483b8dd0b8dcec72319d", + "Id": "a24d8235051f4e1d8c5370ef639798b3", + "IsHidden": "False" + }, + { + "Start": "1559e2108ad8442caa9cc5cfc278bebc", + "End": "51866128a80244cf8ae6d0982d24eaf6", + "Id": "b050e7cb717b4bf5b520bb04356f339e", + "IsHidden": "False" + }, + { + "Start": "e0550089edd243a4be4c14d1e7157e21", + "End": "cede60e09fe740e6aeb4d3ac440eaa28", + "Id": "c75f46a4be234199a96651f879a31f9d", + "IsHidden": "False" + }, + { + "Start": "28fbf24b79de40e1a689fdcef380d213", + "End": "24be7dd6984a48f285eddb80a52cccb1", + "Id": "c4af922bd63f49019fa06310b450544f", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -9.8797941207885742, + "EyeY": 12.201346397399902, + "EyeZ": 6.7003574371337891, + "LookX": 11.1499605178833, + "LookY": -12.615135192871094, + "LookZ": -12.831369400024414, + "UpX": 0.26887628436088562, + "UpY": 0.91212010383605957, + "UpZ": -0.30942273139953613 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "d0a9548be6aa465abb29d0c8d8b45260", + "Name": "Polygon.RegularPolygon", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1457.0365903825871, + "Y": 3307.4141078189205 + }, + { + "Id": "a68671bcde6c4cd8b74cbaac07cb5311", + "Name": "Circle.ByCenterPointRadius", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1081.0365903825871, + "Y": 3229.4141078189205 + }, + { + "Id": "08399a9a761c429d9fb95129344fb49c", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1081.0365903825871, + "Y": 3419.2416078189203 + }, + { + "Id": "dbd7b28f086f48c394b99aa52286f4c7", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 821.03659038258706, + "Y": 3341.2416078189203 + }, + { + "Id": "ef4d29195f3b49319e4b8a51523dbd8e", + "Name": "PolySurface.ByLoft", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1813.0365903825871, + "Y": 3307.4141078189205 + }, + { + "Id": "f5bb0869de3c4e0088f581df0404f88f", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 425.03659038258706, + "Y": 3160.06910781892 + }, + { + "Id": "9f9d338753dd4157bceaa499aa57b09b", + "Name": "List.Create", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 821.03659038258706, + "Y": 3151.4141078189205 + }, + { + "Id": "3f5864d3ebf94409a5b54d985ef7b1b5", + "Name": "PolySurface.UnconnectedBoundaries", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2191.0365903825868, + "Y": 3392.4141078189205 + }, + { + "Id": "b8d196cec13941c294f92b3afd67aa54", + "Name": "GeometryColor.ByGeometryColor", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2233.8261365109624, + "Y": 3143.6105685740645 + }, + { + "Id": "c62bf36e98834d19b2d4bd1ba95cd42c", + "Name": "Color Palette", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1979.7478510391356, + "Y": 3114.710668804757 + } + ], + "Annotations": [], + "X": -281.85950330884407, + "Y": -1783.2248993967348, + "Zoom": 0.64903243119860643 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries.md index 46da39b8bc9..e6254715957 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries.md @@ -1,7 +1,9 @@ ## In Depth -UnconnectedBoundaries will return PolyCurves that represent open boundaries. In the example below, an extruded hexagon returns it's top and bottom boundaries as PolyCurves since they are unconnected. -___ -## Example File +`PolySurface.UnconnectedBoundaries` returns PolyCurves that represent open boundaries. +In the example below, `PolySurface.UnconnectedBoundaries` returns the top and bottom boundaries of an extruded hexagon as PolyCurves since they are unconnected. +___ +## Example File +![PolySurface.UnconnectedBoundaries](./Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries_img.jpg new file mode 100644 index 00000000000..14d3fec3055 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.PolySurface.UnconnectedBoundaries_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Area.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Area.md index a460c53f97f..3e779c62890 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Area.md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Area.md @@ -1,5 +1,8 @@ ## In Depth -Room area is returned as a double. +`Surface.Area` returns the area of a given surface. + +In the example below, we create a surface by filling in a NurbsCurve. We then use `Surface.Area` to find the total area of this surface. + ___ ## Example File diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves).dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves).dyn new file mode 100644 index 00000000000..1c582850c75 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves).dyn @@ -0,0 +1,904 @@ +{ + "Uuid": "1a95efd8-9b4d-4d46-8062-58c33543aa41", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.Surface.ByLoft", + "ElementResolver": { + "ResolutionMap": { + "Math": { + "Key": "DSCore.Math", + "Value": "DSCoreNodes.dll" + }, + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + } + } + }, + "Inputs": [ + { + "Id": "551c02cd02f2489d8ee299a953523fdc", + "Name": "Number Slider", + "Type": "number", + "Type2": "number", + "Value": "2.9", + "MaximumValue": 100.0, + "MinimumValue": 0.0, + "StepValue": 0.1, + "NumberType": "Double", + "Description": "Produces numeric values", + "SelectedIndex": 0 + }, + { + "Id": "f4ab7d87f0994bee846928b36cc5e65a", + "Name": "Number Slider", + "Type": "number", + "Type2": "number", + "Value": "5.9", + "MaximumValue": 10.0, + "MinimumValue": 0.0, + "StepValue": 0.1, + "NumberType": "Double", + "Description": "Produces numeric values", + "SelectedIndex": 0 + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "6f860554040d4f1d92215b4793174c61", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "d4c759b9ebc147d0b68f6056377c3614", + "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": "0..10..1;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "e7e34ff533f1474eaba02b85dc4a5db2", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "2b8ac9911c1f4c90bcf519c505b25394", + "Name": "x", + "Description": "X coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "c69b031ea8584076918679c80fa5e109", + "Name": "y", + "Description": "Y coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8871d3da23a4494dbfc48352d740b5af", + "Name": "z", + "Description": "Z coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8530a99d3f8f4f758edfaaf70cdfa676", + "Name": "Point", + "Description": "Point created by coordinates", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.ByCoordinates@double,double,double", + "Replication": "Auto", + "Description": "Form a Point given 3 cartesian coordinates\n\nPoint.ByCoordinates (x: double = 0, y: double = 0, z: double = 0): Point" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "66ebc58d24a14e37ba4ffba2cd5bd2f2", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "594e7d785738494e97748ebbbe540483", + "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": "0..360..36;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "23d02c95b5ae4f80a908c1ba53ee60ca", + "NodeType": "CodeBlockNode", + "Inputs": [ + { + "Id": "08e2632346114c8082224fdc9ab29bb5", + "Name": "a", + "Description": "a", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d52bc593ae6b4efaa8f20cbe12e985b7", + "Name": "x", + "Description": "x", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d27dd588722c4bcab59de225bf0a7df7", + "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": "a*Math.Sin(x);" + }, + { + "ConcreteType": "CoreNodeModels.Input.DoubleSlider, CoreNodeModels", + "NumberType": "Double", + "MaximumValue": 100.0, + "MinimumValue": 0.0, + "StepValue": 0.1, + "Id": "551c02cd02f2489d8ee299a953523fdc", + "NodeType": "NumberInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "261f54d1a8394e4c82a87bb201bf0c20", + "Name": "", + "Description": "Double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Produces numeric values", + "InputValue": 2.9 + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "c4eac7b3bbc84efebedf7b25343dabbd", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "963e68777e5948a8b91cab273b069abf", + "Name": "points", + "Description": "Points for nurbs curve\n\nPoint[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9818ff680c2541589f396355cdae13f3", + "Name": "NurbsCurve", + "Description": "Nurbscurve created from points", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.NurbsCurve.ByPoints@Autodesk.DesignScript.Geometry.Point[]", + "Replication": "Auto", + "Description": "Create a BSplineCurve by interpolating between points.\n\nNurbsCurve.ByPoints (points: Point[]): NurbsCurve" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "99ed6956869f4bafbd492921381ff6e6", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "1fba7a7cf4cf4aeaae918ee8e804ddb3", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "fd5e882ee82f47a08d3601129205ca86", + "Name": "endPoint", + "Description": "Line end point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "f74beda5f04645ac939dd4c3686ca250", + "Name": "Line", + "Description": "Line from start and end point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Creates a straight Line between two input Points.\n\nLine.ByStartPointEndPoint (startPoint: Point, endPoint: Point): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "5e828b5f5b944133addc9f813be740e0", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "1c4641dc65c1467a8bd0eaede5f5bc54", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "95b789fa47b2448a9fefa63687f4c32e", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0, 10, 0);\nPoint.ByCoordinates(10, 10, 0);" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "Id": "9089cd8f9cc74a2789f009a955917c8d", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "6e7d357b98984e6ea571a1cb6e7f1b80", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "06648fdb6bf44d4eb8be2d9bab5d0eda", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "fe2e88b36be34ad9b2efd40c2998e1e8", + "Name": "list", + "Description": "A list (type: var[]..[])", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list from the given inputs" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "370f74cf91044a8596a16e26db637ef7", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "0f7801eec49f4e17912317cc76a464dd", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "2d57914daebe48dbba4ccc436973fc29", + "Name": "endPoint", + "Description": "Line end point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "0c000719819a4041a87dbfd0d653a526", + "Name": "Line", + "Description": "Line from start and end point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Creates a straight Line between two input Points.\n\nLine.ByStartPointEndPoint (startPoint: Point, endPoint: Point): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "9412092622074a988e7ea1578fe51ec6", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "5bf32d1e442341c4a94b3bc4fe789a7a", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "11f067a5e59d4b429bc329f17dda7642", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0, 0, 0);\nPoint.ByCoordinates(10, 0, 0);" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "78a01b00b1e049e6b300bbd9c02e28e8", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "42cc93af4d5f4da0a6aa467907dd1f5f", + "Name": "crossSections", + "Description": "Curves to loft through\n\nCurve[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "fedca907015740ec99c97c94b714debc", + "Name": "guideCurves", + "Description": "Curve[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d9de9c321a8246638f237f12fc114cf9", + "Name": "Surface", + "Description": "Surface created by loft", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.ByLoft@Autodesk.DesignScript.Geometry.Curve[],Autodesk.DesignScript.Geometry.Curve[]", + "Replication": "Auto", + "Description": "Create a Surface by lofting between input cross section Curves.\n\nSurface.ByLoft (crossSections: Curve[], guideCurves: Curve[]): Surface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "4101d4bc40fa4340965ff1558b10b656", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "0a7295010cf84b0692cd8ef07a0112a6", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "620fed5a0ce94040bba7a14db6bf7e9c", + "Name": "endPoint", + "Description": "Line end point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ee3a04a49ddf4e3ab81ec8691e123f60", + "Name": "Line", + "Description": "Line from start and end point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Creates a straight Line between two input Points.\n\nLine.ByStartPointEndPoint (startPoint: Point, endPoint: Point): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "7aa3242ffda043ba884032423c92d8dc", + "NodeType": "CodeBlockNode", + "Inputs": [ + { + "Id": "2f356d855b534065818b543165faa544", + "Name": "a", + "Description": "a", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "54e685d454cb4edeac067aacf136cf4a", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "bb234aaf006f4506a8d7d0e3f4660ac0", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(a, 0, 0);\nPoint.ByCoordinates(a, 10, 0);" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "Id": "a37c4b43eaa74db69011f0694febe89e", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "51beb7ba4ca648789cb26c6586805a78", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1ca159147e1e45938e52a6489f9810a9", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ec89b15315c04d198e0538549840fbf6", + "Name": "list", + "Description": "A list (type: var[]..[])", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list from the given inputs" + }, + { + "ConcreteType": "CoreNodeModels.Input.DoubleSlider, CoreNodeModels", + "NumberType": "Double", + "MaximumValue": 10.0, + "MinimumValue": 0.0, + "StepValue": 0.1, + "Id": "f4ab7d87f0994bee846928b36cc5e65a", + "NodeType": "NumberInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "7812fbd8cbbc44c59d2795bde9a1eae2", + "Name": "", + "Description": "Double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Produces numeric values", + "InputValue": 5.9 + } + ], + "Connectors": [ + { + "Start": "d4c759b9ebc147d0b68f6056377c3614", + "End": "c69b031ea8584076918679c80fa5e109", + "Id": "ab505d9d528e4f349872b0fcbf6fcd8b", + "IsHidden": "False" + }, + { + "Start": "8530a99d3f8f4f758edfaaf70cdfa676", + "End": "963e68777e5948a8b91cab273b069abf", + "Id": "d5d6085e412e479f8d18659d58325107", + "IsHidden": "False" + }, + { + "Start": "594e7d785738494e97748ebbbe540483", + "End": "d52bc593ae6b4efaa8f20cbe12e985b7", + "Id": "696c5980d4024e92b5e75b5b9292c289", + "IsHidden": "False" + }, + { + "Start": "d27dd588722c4bcab59de225bf0a7df7", + "End": "8871d3da23a4494dbfc48352d740b5af", + "Id": "fdfc50a796954233b11377f221005152", + "IsHidden": "False" + }, + { + "Start": "261f54d1a8394e4c82a87bb201bf0c20", + "End": "08e2632346114c8082224fdc9ab29bb5", + "Id": "516ab621d5944e5f86c7998d6d072f46", + "IsHidden": "False" + }, + { + "Start": "9818ff680c2541589f396355cdae13f3", + "End": "1ca159147e1e45938e52a6489f9810a9", + "Id": "e359aeba9ac44e3caabcd21eb300ab20", + "IsHidden": "False" + }, + { + "Start": "f74beda5f04645ac939dd4c3686ca250", + "End": "6e7d357b98984e6ea571a1cb6e7f1b80", + "Id": "6fb0a8e9816e404db9c4a9e5ad692454", + "IsHidden": "False" + }, + { + "Start": "1c4641dc65c1467a8bd0eaede5f5bc54", + "End": "1fba7a7cf4cf4aeaae918ee8e804ddb3", + "Id": "64e2f32abafe430f876a237b30e34402", + "IsHidden": "False" + }, + { + "Start": "95b789fa47b2448a9fefa63687f4c32e", + "End": "fd5e882ee82f47a08d3601129205ca86", + "Id": "1737aacf2c904560940d333e6a618946", + "IsHidden": "False" + }, + { + "Start": "fe2e88b36be34ad9b2efd40c2998e1e8", + "End": "42cc93af4d5f4da0a6aa467907dd1f5f", + "Id": "b89caa040cca482b9a90581d79922ae8", + "IsHidden": "False" + }, + { + "Start": "0c000719819a4041a87dbfd0d653a526", + "End": "06648fdb6bf44d4eb8be2d9bab5d0eda", + "Id": "a92c075e51b94c81a6ed7827bb834c18", + "IsHidden": "False" + }, + { + "Start": "5bf32d1e442341c4a94b3bc4fe789a7a", + "End": "0f7801eec49f4e17912317cc76a464dd", + "Id": "fa3ffdb0acee469ea3cb358008d6b7ad", + "IsHidden": "False" + }, + { + "Start": "11f067a5e59d4b429bc329f17dda7642", + "End": "2d57914daebe48dbba4ccc436973fc29", + "Id": "8be3ae36d59d48b7b4723bcd2f6cecd8", + "IsHidden": "False" + }, + { + "Start": "ee3a04a49ddf4e3ab81ec8691e123f60", + "End": "51beb7ba4ca648789cb26c6586805a78", + "Id": "ebcc13a70a6c4a52be1bcf6cdc60980d", + "IsHidden": "False" + }, + { + "Start": "54e685d454cb4edeac067aacf136cf4a", + "End": "0a7295010cf84b0692cd8ef07a0112a6", + "Id": "44cf8c2ed20b4f7ca865389864628f16", + "IsHidden": "False" + }, + { + "Start": "bb234aaf006f4506a8d7d0e3f4660ac0", + "End": "620fed5a0ce94040bba7a14db6bf7e9c", + "Id": "ddaf98ac8d3a475c93137bf9d027a956", + "IsHidden": "False" + }, + { + "Start": "ec89b15315c04d198e0538549840fbf6", + "End": "fedca907015740ec99c97c94b714debc", + "Id": "4ecce1c165ed4da3afc1e1a6e9d71421", + "IsHidden": "False" + }, + { + "Start": "7812fbd8cbbc44c59d2795bde9a1eae2", + "End": "2f356d855b534065818b543165faa544", + "Id": "f1a7baabc3974c71b8e2111950a82a5a", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -17.110317230224609, + "EyeY": 10.710041046142578, + "EyeZ": 8.3238821029663086, + "LookX": 16.732326507568359, + "LookY": -4.6189045906066895, + "LookZ": -21.657403945922852, + "UpX": -0.029865782707929611, + "UpY": 0.99880611896514893, + "UpZ": 0.038656629621982574 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "6f860554040d4f1d92215b4793174c61", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -170.09728324938442, + "Y": 312.31791865093749 + }, + { + "Id": "e7e34ff533f1474eaba02b85dc4a5db2", + "Name": "Point.ByCoordinates", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 277.90271675061558, + "Y": 335.4904186509375 + }, + { + "Id": "66ebc58d24a14e37ba4ffba2cd5bd2f2", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -618.09728324938442, + "Y": 551.14541865093747 + }, + { + "Id": "23d02c95b5ae4f80a908c1ba53ee60ca", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -170.09728324938442, + "Y": 460.3179186509376 + }, + { + "Id": "551c02cd02f2489d8ee299a953523fdc", + "Name": "Number Slider", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -618.09728324938442, + "Y": 403.3179186509376 + }, + { + "Id": "c4eac7b3bbc84efebedf7b25343dabbd", + "Name": "NurbsCurve.ByPoints", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 725.90271675061558, + "Y": 334.4904186509375 + }, + { + "Id": "99ed6956869f4bafbd492921381ff6e6", + "Name": "Line.ByStartPointEndPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 725.90271675061558, + "Y": -197.50958134906247 + }, + { + "Id": "5e828b5f5b944133addc9f813be740e0", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 277.90271675061558, + "Y": -188.85458134906244 + }, + { + "Id": "9089cd8f9cc74a2789f009a955917c8d", + "Name": "List.Create", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1096.9027167506156, + "Y": -37.509581349062472 + }, + { + "Id": "370f74cf91044a8596a16e26db637ef7", + "Name": "Line.ByStartPointEndPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 725.90271675061558, + "Y": -20.509581349062472 + }, + { + "Id": "9412092622074a988e7ea1578fe51ec6", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 277.90271675061558, + "Y": -11.8545813490625 + }, + { + "Id": "78a01b00b1e049e6b300bbd9c02e28e8", + "Name": "Surface.ByLoft", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1356.9027167506156, + "Y": 34.490418650937528 + }, + { + "Id": "4101d4bc40fa4340965ff1558b10b656", + "Name": "Line.ByStartPointEndPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 725.90271675061558, + "Y": 157.49041865093753 + }, + { + "Id": "7aa3242ffda043ba884032423c92d8dc", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 277.90271675061558, + "Y": 165.1454186509375 + }, + { + "Id": "a37c4b43eaa74db69011f0694febe89e", + "Name": "List.Create", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1096.9027167506156, + "Y": 140.49041865093753 + }, + { + "Id": "f4ab7d87f0994bee846928b36cc5e65a", + "Name": "Number Slider", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -170.09728324938442, + "Y": 165.1454186509375 + } + ], + "Annotations": [], + "X": 410.3531956566851, + "Y": 171.152389631812, + "Zoom": 0.52486542792448354 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves).md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves).md index 6df7c2328af..352eb57cb31 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves).md +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves).md @@ -1,7 +1,9 @@ ## In Depth -Surface by Loft with cross sections and guide curves takes a list of cross sections to loft between, and a separate list of guide curves to determine the profile of the loft. In the example below, we use two straight lines as the input cross sections. For the guide curves, we create one sine curve and one straight line. A number slider controls the distance between the sine curve and the straight line. The resulting loft interpolates between the sine curve and the straight line. -___ -## Example File +`Surface.ByLoft (crossSections, guideCurves)` takes a list of cross sections to loft between, and a separate list of guide curves to determine the profile of the loft. +In the example below, we use two straight lines as the input cross sections. For the guide curves, we create one sine curve and one straight line. A number slider controls the distance between the sine curve and the straight line. The resulting loft interpolates between the sine curve and the straight line. +___ +## Example File +![Surface.ByLoft](./Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections,%20guideCurves)_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves)_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves)_img.jpg new file mode 100644 index 00000000000..7ef975da318 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ByLoft(crossSections, guideCurves)_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff).dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff).dyn new file mode 100644 index 00000000000..e6f5fb3f9d7 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff).dyn @@ -0,0 +1,546 @@ +{ + "Uuid": "adebc203-078f-4e62-9938-2edda8d244ee", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.Surface.BySweep", + "ElementResolver": { + "ResolutionMap": { + "Math": { + "Key": "DSCore.Math", + "Value": "DSCoreNodes.dll" + }, + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + } + } + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "e165226a11b348d0ada633517a0ea2ab", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "27e8e9bd809047eeb117072d9735fbaf", + "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": "0..10..1;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "cb378d260fb64cbb8aa954233ce749ee", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "8c85891f98b7446db7a9907a670c59cf", + "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": "0..360..36;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "1daa3dffaa2a4f46b68ac7a49bd23eea", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "55e9a55fb7f2467ea21cef2da0caa53b", + "Name": "angle", + "Description": "Angle in degrees to take the sine of.\n\ndouble", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "dc2cfbde44b3495f911b83526e7f513f", + "Name": "double", + "Description": "Sine of the angle.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "DSCore.Math.Sin@double", + "Replication": "Auto", + "Description": "Finds the sine of an angle.\n\nMath.Sin (angle: double): double" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "016ddadbd94a4469abb650e0b8ffa2b1", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "d34c4a8b00a543a8ba8fda0738a232b3", + "Name": "x", + "Description": "X coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "26af34ebcbf44284a70a8cd1d14963ad", + "Name": "y", + "Description": "Y coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "116ae947b29c4537aaf1419470648b9b", + "Name": "z", + "Description": "Z coordinate\n\ndouble\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "301e2cf3bf6e4c4fbc68d7813b517d8e", + "Name": "Point", + "Description": "Point created by coordinates", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.ByCoordinates@double,double,double", + "Replication": "Auto", + "Description": "Form a Point given 3 cartesian coordinates\n\nPoint.ByCoordinates (x: double = 0, y: double = 0, z: double = 0): Point" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "ffaa060cba4045c586c1f0cc9b809c30", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "6ad1a21eee8d41049bb3b24bde538f3a", + "Name": "points", + "Description": "Points for nurbs curve\n\nPoint[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "dcc52cbd8d7c44fc9dea039521e500e1", + "Name": "NurbsCurve", + "Description": "Nurbscurve created from points", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.NurbsCurve.ByPoints@Autodesk.DesignScript.Geometry.Point[]", + "Replication": "Auto", + "Description": "Create a BSplineCurve by interpolating between points.\n\nNurbsCurve.ByPoints (points: Point[]): NurbsCurve" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "e7a7f6b0e654436080a8b9bb653e2a8f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4a82678308904173ae1f34f8682da2e4", + "Name": "geometry", + "Description": "Autodesk.DesignScript.Geometry.Geometry", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "747a9ba1908641409563d747632089ab", + "Name": "origin", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ded356198bf944b59ef664340dfe3f31", + "Name": "axis", + "Description": "Vector", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "5dd9c3c373864baba0ed3cf5db60f556", + "Name": "degrees", + "Description": "double\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "30125b4a0362448a8df32f40f7aa7810", + "Name": "Geometry", + "Description": "Geometry", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Geometry.Rotate@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Vector,double", + "Replication": "Auto", + "Description": "Rotates an object around an origin and an axis by a specified degree\n\nGeometry.Rotate (origin: Point, axis: Vector, degrees: double = 0): Geometry" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "af76b1ce20684422bacff094c96f3a9f", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "669a0c529c48448f8dabb0cd59e5347f", + "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": "-90;" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "3335ba36cda641f5b9cc578c4f427375", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "4aaafac64c4e45c7b2f8c05665a39c6c", + "Name": "Point", + "Description": "Origin point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.Origin", + "Replication": "Auto", + "Description": "Get the Origin point (0,0,0)\n\nPoint.Origin ( ): Point" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "1e5f5ae90ee64b37b4e9a09428dadc9e", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "95afe843791c47828f132d074d7797d6", + "Name": "Vector", + "Description": "Vector", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Vector.ZAxis", + "Replication": "Auto", + "Description": "Get the canonical Z axis Vector (0,0,1)\n\nVector.ZAxis ( ): Vector" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "dba36c740beb4342bbfd33c62a89461b", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "aa386a592db74e5fa20ec5222c5e4ca3", + "Name": "profile", + "Description": "Curve to sweep\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "48863d185d0a452aab748743d22d09e1", + "Name": "path", + "Description": "Path curve used to sweep along\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "76e7682e263e431ebb588acc59602b60", + "Name": "cutEndOff", + "Description": "Cut the end of the sweep and make it normal to the path\n\nbool\nDefault value : false", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "23829cad5f414292b93ac92af773c711", + "Name": "Surface", + "Description": "Surface created by sweeping profile along path", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.BySweep@Autodesk.DesignScript.Geometry.Curve,Autodesk.DesignScript.Geometry.Curve,bool", + "Replication": "Auto", + "Description": "Create a Surface by sweeping a profile Curve along a path.\n\nSurface.BySweep (profile: Curve, path: Curve, cutEndOff: bool = false): Surface" + } + ], + "Connectors": [ + { + "Start": "27e8e9bd809047eeb117072d9735fbaf", + "End": "26af34ebcbf44284a70a8cd1d14963ad", + "Id": "59eef013af794bd09a73ca87981e2588", + "IsHidden": "False" + }, + { + "Start": "8c85891f98b7446db7a9907a670c59cf", + "End": "55e9a55fb7f2467ea21cef2da0caa53b", + "Id": "62038d07282c446a9db35403990912b0", + "IsHidden": "False" + }, + { + "Start": "dc2cfbde44b3495f911b83526e7f513f", + "End": "116ae947b29c4537aaf1419470648b9b", + "Id": "06cc9335645d46ba936d838a2ae2bc1d", + "IsHidden": "False" + }, + { + "Start": "301e2cf3bf6e4c4fbc68d7813b517d8e", + "End": "6ad1a21eee8d41049bb3b24bde538f3a", + "Id": "d622e075b687407899642f77e6a50b07", + "IsHidden": "False" + }, + { + "Start": "dcc52cbd8d7c44fc9dea039521e500e1", + "End": "4a82678308904173ae1f34f8682da2e4", + "Id": "b1e89e329767445c8e8346c954a3206b", + "IsHidden": "False" + }, + { + "Start": "dcc52cbd8d7c44fc9dea039521e500e1", + "End": "aa386a592db74e5fa20ec5222c5e4ca3", + "Id": "2b3ed20a6da643fca920cd31bda2cb80", + "IsHidden": "False" + }, + { + "Start": "30125b4a0362448a8df32f40f7aa7810", + "End": "48863d185d0a452aab748743d22d09e1", + "Id": "e359c52560784e8fbdbf0f6680aa96ae", + "IsHidden": "False" + }, + { + "Start": "669a0c529c48448f8dabb0cd59e5347f", + "End": "5dd9c3c373864baba0ed3cf5db60f556", + "Id": "4d21b1e24b4947caa6c7bb35e52a8db3", + "IsHidden": "False" + }, + { + "Start": "4aaafac64c4e45c7b2f8c05665a39c6c", + "End": "747a9ba1908641409563d747632089ab", + "Id": "e46c558396fd4836bcb523cfcba31776", + "IsHidden": "False" + }, + { + "Start": "95afe843791c47828f132d074d7797d6", + "End": "ded356198bf944b59ef664340dfe3f31", + "Id": "7a7d2c49af9b46cc8bbf5dbbf82e890f", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -12.151876449584961, + "EyeY": 10.257155418395996, + "EyeZ": 4.30262565612793, + "LookX": 16.018514633178711, + "LookY": -5.6682891845703125, + "LookZ": -8.9196844100952148, + "UpX": 0.073107823729515076, + "UpY": 0.996492862701416, + "UpZ": -0.040709063410758972 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "e165226a11b348d0ada633517a0ea2ab", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -32.770273301801126, + "Y": -166.01259982636884 + }, + { + "Id": "cb378d260fb64cbb8aa954233ce749ee", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -303.77027330180113, + "Y": -18.012599826368813 + }, + { + "Id": "1daa3dffaa2a4f46b68ac7a49bd23eea", + "Name": "Math.Sin", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -32.770273301801126, + "Y": -17.840099826368828 + }, + { + "Id": "016ddadbd94a4469abb650e0b8ffa2b1", + "Name": "Point.ByCoordinates", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 270.22972669819887, + "Y": -142.84009982636883 + }, + { + "Id": "ffaa060cba4045c586c1f0cc9b809c30", + "Name": "NurbsCurve.ByPoints", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 595.22972669819887, + "Y": -142.84009982636883 + }, + { + "Id": "e7a7f6b0e654436080a8b9bb653e2a8f", + "Name": "Geometry.Rotate", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 930.22972669819887, + "Y": 31.159900173631172 + }, + { + "Id": "af76b1ce20684422bacff094c96f3a9f", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 595.22972669819887, + "Y": 298.98740017363122 + }, + { + "Id": "3335ba36cda641f5b9cc578c4f427375", + "Name": "Point.Origin", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 595.22972669819887, + "Y": 4.159900173631172 + }, + { + "Id": "1e5f5ae90ee64b37b4e9a09428dadc9e", + "Name": "Vector.ZAxis", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 595.22972669819887, + "Y": 151.15990017363117 + }, + { + "Id": "dba36c740beb4342bbfd33c62a89461b", + "Name": "Surface.BySweep", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1263.7028101069766, + "Y": -25.783407418411684 + } + ], + "Annotations": [], + "X": 246.6123195350774, + "Y": 410.41720037883647, + "Zoom": 0.62740812659763423 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff).md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff).md new file mode 100644 index 00000000000..661d715bd13 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff).md @@ -0,0 +1,10 @@ +## In Depth +`Surface.BySweep (profile, path, cutEndOff)` creates a surface by sweeping an input curve along a specified path. The `cutEndOff` input controls whether to cut the end of the sweep and make it normal to the path. + +In the example below, we use a sine curve in the y-direction as the profile curve. We rotate this curve by -90 degrees around the world z-axis to use as a path curve. Surface BySweep moves the profile curve along the path curve creating a surface. + + +___ +## Example File + +![Surface.BySweep](./Autodesk.DesignScript.Geometry.Surface.BySweep(profile,%20path,%20cutEndOff)_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff)_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff)_img.jpg new file mode 100644 index 00000000000..cf338e35dbc Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.BySweep(profile, path, cutEndOff)_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness).dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness).dyn new file mode 100644 index 00000000000..c208bcb9e12 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness).dyn @@ -0,0 +1,582 @@ +{ + "Uuid": "4cadb0ed-635c-44ed-b83e-bb9642d9601e", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.Surface.Thicken", + "ElementResolver": { + "ResolutionMap": { + "Math": { + "Key": "DSCore.Math", + "Value": "DSCoreNodes.dll" + }, + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + } + } + }, + "Inputs": [ + { + "Id": "9b8d8a483fc244cc869903e0298f7c79", + "Name": "Number Slider", + "Type": "number", + "Type2": "number", + "Value": "0.8", + "MaximumValue": 20.0, + "MinimumValue": 0.0, + "StepValue": 0.1, + "NumberType": "Double", + "Description": "Produces numeric values", + "SelectedIndex": 0 + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "46f950b5fe6145b8b18e8376297a4add", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "23643f2fb52d47e7a1802214bae0a5e2", + "Name": "path", + "Description": "The input path to sweep along.\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "c2fed4d4ae8348e987029affd1e590b9", + "Name": "guideRail", + "Description": "A rail to guide the orientation of the sweep.\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "f6d2430732944b38aa904a6c7e3827f7", + "Name": "profile", + "Description": "The profile curve to sweep along the path.\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "f40f4141953e417d99c879c9fd972ce9", + "Name": "Surface", + "Description": "Surface created by sweeping two rails", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.BySweep2Rails@Autodesk.DesignScript.Geometry.Curve,Autodesk.DesignScript.Geometry.Curve,Autodesk.DesignScript.Geometry.Curve", + "Replication": "Auto", + "Description": "Sweep the cross section curve along a path guided by a two rails\n\nSurface.BySweep2Rails (path: Curve, guideRail: Curve, profile: Curve): Surface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "c602bcf62d04417780faf5ab8d1c8754", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "18a3c1ef337a46e3b48eb577eaf4bb2b", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "4fa39a2ba5344769898e406d18247e04", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0,1,0);\nPoint.ByCoordinates(10,6,0);" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "465066644bdc4ad8b381cdb43bef4659", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "d20c3425065a49b7949403fc27d24dd7", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "095aa4fcc1294a4894c3f53b9b27e704", + "Name": "endPoint", + "Description": "Line end point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ee6f82ec6fea4132b197751367f012c3", + "Name": "Line", + "Description": "Line from start and end point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Creates a straight Line between two input Points.\n\nLine.ByStartPointEndPoint (startPoint: Point, endPoint: Point): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "47bf6e834e034077a11820b48f2fd328", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "1c102cdf6ee5424d90b0a8726f3dcfc5", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "0033296a528e47bbb6361295f9a257a6", + "Name": "endPoint", + "Description": "Line end point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "79487042973e437495fa93c6921b519e", + "Name": "Line", + "Description": "Line from start and end point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Creates a straight Line between two input Points.\n\nLine.ByStartPointEndPoint (startPoint: Point, endPoint: Point): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "472340e7974847ec8f7dd34f399ab060", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "2102d649d2da4cb2963b2dc448a04c74", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "82c27e9da7c84301a816dbd95c8c3f73", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0,-1,0);\nPoint.ByCoordinates(10,-1,0);" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "8071412212ac46f9856121fd80444f1c", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "d7601527c1c94240bd059a01b60862fa", + "Name": "firstPoint", + "Description": "1st point of arc\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "c8be23c7687c4c219bdf6bc5ea258f60", + "Name": "secondPoint", + "Description": "2nd point of arc\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "51cdbff78aaa4e30a9f4412cb5b43eb7", + "Name": "thirdPoint", + "Description": "3rd point of arc\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "1e2d52d0abd94a8e90b9ca1518b73c09", + "Name": "Arc", + "Description": "Arc created from three points", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Arc.ByThreePoints@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Create an arc by providing three sequential points along its circumference.\n\nArc.ByThreePoints (firstPoint: Point, secondPoint: Point, thirdPoint: Point): Arc" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "ee8b86682e4d4a35bbe3af2667838194", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "1da36deb96364d7a9ab07a764c4b799d", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8e6dc679451b45568eaabff72d89f6a6", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "4d5f77ef90424b118792821e77ce221f", + "Name": "", + "Description": "Value of expression at line 3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0,-1,0);\nPoint.ByCoordinates(0,0,1);\nPoint.ByCoordinates(0,1,0);" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "0c6b81740bc24e55a4ea6e82f5a877c1", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "57693d85f262470982f4d5d7cc52b302", + "Name": "surface", + "Description": "Autodesk.DesignScript.Geometry.Surface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "61543a55614f4c4e80502de355d55644", + "Name": "thickness", + "Description": "Amount to thicken\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "249f43528931434d9ea95d0227ce29d5", + "Name": "Solid", + "Description": "Thickened surface as solid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.Thicken@double", + "Replication": "Auto", + "Description": "Thicken Surface into a Solid, extruding in the direction of Surface normals on both sides of the Surface.\n\nSurface.Thicken (thickness: double = 1): Solid" + }, + { + "ConcreteType": "CoreNodeModels.Input.DoubleSlider, CoreNodeModels", + "NumberType": "Double", + "MaximumValue": 20.0, + "MinimumValue": 0.0, + "StepValue": 0.1, + "Id": "9b8d8a483fc244cc869903e0298f7c79", + "NodeType": "NumberInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "6ffaf0673a234eca90a6813868da119f", + "Name": "", + "Description": "Double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Produces numeric values", + "InputValue": 0.8 + } + ], + "Connectors": [ + { + "Start": "f40f4141953e417d99c879c9fd972ce9", + "End": "57693d85f262470982f4d5d7cc52b302", + "Id": "9e51575eecc34496a64894a9593644c0", + "IsHidden": "False" + }, + { + "Start": "18a3c1ef337a46e3b48eb577eaf4bb2b", + "End": "d20c3425065a49b7949403fc27d24dd7", + "Id": "f9ed649192fe4a588b7ac5f01d4601a2", + "IsHidden": "False" + }, + { + "Start": "4fa39a2ba5344769898e406d18247e04", + "End": "095aa4fcc1294a4894c3f53b9b27e704", + "Id": "99297dd41daf4ef28f67bdcc0279e54c", + "IsHidden": "False" + }, + { + "Start": "ee6f82ec6fea4132b197751367f012c3", + "End": "c2fed4d4ae8348e987029affd1e590b9", + "Id": "b480761a39d3480ea2d570cc495a2eb4", + "IsHidden": "False" + }, + { + "Start": "79487042973e437495fa93c6921b519e", + "End": "23643f2fb52d47e7a1802214bae0a5e2", + "Id": "ec92295d3c7a47169ea88df73f0a411b", + "IsHidden": "False" + }, + { + "Start": "2102d649d2da4cb2963b2dc448a04c74", + "End": "1c102cdf6ee5424d90b0a8726f3dcfc5", + "Id": "deeeae543ed4439484395502846f8935", + "IsHidden": "False" + }, + { + "Start": "82c27e9da7c84301a816dbd95c8c3f73", + "End": "0033296a528e47bbb6361295f9a257a6", + "Id": "cf8ee4ab1a9d42f3b30b7ac706136fcb", + "IsHidden": "False" + }, + { + "Start": "1e2d52d0abd94a8e90b9ca1518b73c09", + "End": "f6d2430732944b38aa904a6c7e3827f7", + "Id": "5201857263cd419f98a6cb0d9faab284", + "IsHidden": "False" + }, + { + "Start": "1da36deb96364d7a9ab07a764c4b799d", + "End": "d7601527c1c94240bd059a01b60862fa", + "Id": "1c6db565ea6a466cb4d54336a2050f4b", + "IsHidden": "False" + }, + { + "Start": "8e6dc679451b45568eaabff72d89f6a6", + "End": "c8be23c7687c4c219bdf6bc5ea258f60", + "Id": "d317afeb396e484b9b2a044d7cabd902", + "IsHidden": "False" + }, + { + "Start": "4d5f77ef90424b118792821e77ce221f", + "End": "51cdbff78aaa4e30a9f4412cb5b43eb7", + "Id": "b51b41d7498e4085ad5860ff72059232", + "IsHidden": "False" + }, + { + "Start": "6ffaf0673a234eca90a6813868da119f", + "End": "61543a55614f4c4e80502de355d55644", + "Id": "a7e73532fe3e435eaf7a5d24b09ff292", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -12.151876449584961, + "EyeY": 10.257155418395996, + "EyeZ": 4.30262565612793, + "LookX": 16.018514633178711, + "LookY": -5.6682891845703125, + "LookZ": -8.9196844100952148, + "UpX": 0.073107823729515076, + "UpY": 0.996492862701416, + "UpZ": -0.040709063410758972 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "46f950b5fe6145b8b18e8376297a4add", + "Name": "Surface.BySweep2Rails", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 616.06536709016132, + "Y": -9.73849970432562 + }, + { + "Id": "c602bcf62d04417780faf5ab8d1c8754", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -165.93463290983868, + "Y": 32.916500295674382 + }, + { + "Id": "465066644bdc4ad8b381cdb43bef4659", + "Name": "Line.ByStartPointEndPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 245.06536709016132, + "Y": 24.261500295674381 + }, + { + "Id": "47bf6e834e034077a11820b48f2fd328", + "Name": "Line.ByStartPointEndPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 245.06536709016132, + "Y": -152.73849970432562 + }, + { + "Id": "472340e7974847ec8f7dd34f399ab060", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -165.93463290983868, + "Y": -144.08349970432559 + }, + { + "Id": "8071412212ac46f9856121fd80444f1c", + "Name": "Arc.ByThreePoints", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 245.06536709016132, + "Y": 201.26150029567438 + }, + { + "Id": "ee8b86682e4d4a35bbe3af2667838194", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -165.93463290983868, + "Y": 218.7440002956744 + }, + { + "Id": "0c6b81740bc24e55a4ea6e82f5a877c1", + "Name": "Surface.Thicken", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1064.0653670901613, + "Y": 79.261500295674381 + }, + { + "Id": "9b8d8a483fc244cc869903e0298f7c79", + "Name": "Number Slider", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 616.06536709016132, + "Y": 202.26150029567438 + } + ], + "Annotations": [], + "X": 144.48276377952061, + "Y": 274.18425344347753, + "Zoom": 0.62740812659763423 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness).md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness).md new file mode 100644 index 00000000000..2d8760b0b92 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness).md @@ -0,0 +1,10 @@ +## In Depth +`Surface.Thicken` creates a solid by offsetting a surface according to the thickness input, capping the ends to close the solid. + +In the example below, we first create a surface by using a `Surface.BySweep2Rails`. We then create a solid by using a number slider to determine the thickness input of a `Surface.Thicken` node. + + +___ +## Example File + +![Surface.Thicken](./Autodesk.DesignScript.Geometry.Surface.Thicken(surface,%20thickness)_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness)_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness)_img.jpg new file mode 100644 index 00000000000..820353c76f3 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness)_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides).dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides).dyn new file mode 100644 index 00000000000..2b187d6f706 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides).dyn @@ -0,0 +1,636 @@ +{ + "Uuid": "33bd972a-0d56-4b8b-beaf-78f68f1458eb", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.Surface.Thicken", + "ElementResolver": { + "ResolutionMap": { + "Math": { + "Key": "DSCore.Math", + "Value": "DSCoreNodes.dll" + }, + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + } + } + }, + "Inputs": [ + { + "Id": "6b938f6412874a88a9f9cbce39b4659e", + "Name": "Number Slider", + "Type": "number", + "Type2": "number", + "Value": "0.8", + "MaximumValue": 20.0, + "MinimumValue": 0.0, + "StepValue": 0.1, + "NumberType": "Double", + "Description": "Produces numeric values", + "SelectedIndex": 0 + }, + { + "Id": "6c13743477774b739a2d4c15c7f2485e", + "Name": "Boolean", + "Type": "boolean", + "Type2": "boolean", + "Value": "true", + "Description": "Enables selection between True and False", + "SelectedIndex": 0 + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "0b37921be50f4b44b9acf040806751a6", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "774f754ef974414e8215798920bffe98", + "Name": "path", + "Description": "The input path to sweep along.\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9f6d0e1602c04a00a57c9911dc392df5", + "Name": "guideRail", + "Description": "A rail to guide the orientation of the sweep.\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1646f3d541044e07b4aa2dde28381dc4", + "Name": "profile", + "Description": "The profile curve to sweep along the path.\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "2a40c877769c488e833ffd8f2f3ce333", + "Name": "Surface", + "Description": "Surface created by sweeping two rails", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.BySweep2Rails@Autodesk.DesignScript.Geometry.Curve,Autodesk.DesignScript.Geometry.Curve,Autodesk.DesignScript.Geometry.Curve", + "Replication": "Auto", + "Description": "Sweep the cross section curve along a path guided by a two rails\n\nSurface.BySweep2Rails (path: Curve, guideRail: Curve, profile: Curve): Surface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "e45204ff0fd847c38e917d1786e7ae00", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "ad2494e7e88748f0b74cec91f3384ee2", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "de7bd5c3c84e4a18a46abd8d4cb40ff4", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0,1,0);\nPoint.ByCoordinates(10,6,0);" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "6f2ecab363e24aeb817f0a03f8ccb990", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "55b1414f0e2d4d09b72acb43b4e9b0dc", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6ebfe84fa5aa4ebab92303ef01099567", + "Name": "endPoint", + "Description": "Line end point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a377bc54e32a43dab3463ad369da2303", + "Name": "Line", + "Description": "Line from start and end point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Creates a straight Line between two input Points.\n\nLine.ByStartPointEndPoint (startPoint: Point, endPoint: Point): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "7a69c3d67aa84f42b750d03bdbd33027", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "89bb47379bc44287ab2114d957ca68ff", + "Name": "startPoint", + "Description": "Line start point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "daa6031d17974499b44652e8ed79e9b6", + "Name": "endPoint", + "Description": "Line end point\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b491462085e844e0a23cd02875b955c6", + "Name": "Line", + "Description": "Line from start and end point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Line.ByStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Creates a straight Line between two input Points.\n\nLine.ByStartPointEndPoint (startPoint: Point, endPoint: Point): Line" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "a1b10149239f4fab843c567cc89b3f77", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "e7b29d194ef5443c8db865bc9f6728ff", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ec1e9fc4b914448f90f362b0db189115", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0,-1,0);\nPoint.ByCoordinates(10,-1,0);" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "0577b79ffb894a06999e1c9eb5586e36", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "deee18ba534c48e7af1195ab305f5597", + "Name": "firstPoint", + "Description": "1st point of arc\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ed2c9dd8651e444887465990ba2d9b41", + "Name": "secondPoint", + "Description": "2nd point of arc\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6971e0a94f2d4c678ed1d9472332db05", + "Name": "thirdPoint", + "Description": "3rd point of arc\n\nPoint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b873c08aee344e30af98f599c0216ee8", + "Name": "Arc", + "Description": "Arc created from three points", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Arc.ByThreePoints@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point", + "Replication": "Auto", + "Description": "Create an arc by providing three sequential points along its circumference.\n\nArc.ByThreePoints (firstPoint: Point, secondPoint: Point, thirdPoint: Point): Arc" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "9672236780264b6f977b885b5511fe95", + "NodeType": "CodeBlockNode", + "Inputs": [], + "Outputs": [ + { + "Id": "8142e26075ac4f51a215408705ba9453", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "f88331d2eed3498e9eb0328beeea460c", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "94543f4a30c74691a855efbb16fa3023", + "Name": "", + "Description": "Value of expression at line 3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "Point.ByCoordinates(0,-1,0);\nPoint.ByCoordinates(0,0,1);\nPoint.ByCoordinates(0,1,0);" + }, + { + "ConcreteType": "CoreNodeModels.Input.DoubleSlider, CoreNodeModels", + "NumberType": "Double", + "MaximumValue": 20.0, + "MinimumValue": 0.0, + "StepValue": 0.1, + "Id": "6b938f6412874a88a9f9cbce39b4659e", + "NodeType": "NumberInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "e6d8ec96f76e4ec6b4ec24b4afaa1080", + "Name": "", + "Description": "Double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Produces numeric values", + "InputValue": 0.8 + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "df916e36aa08400cb18713f2e3f38ab9", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "e825ea2586f3448e8260344fc830aa79", + "Name": "surface", + "Description": "Autodesk.DesignScript.Geometry.Surface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8e4d387ba06f4565a91e7d7d3f34d89d", + "Name": "thickness", + "Description": "Amount to thicken\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "93e1ec717e7946a0b185706395291c03", + "Name": "both_sides", + "Description": "True to thicken on both sides, false to thicken on one side\n\nbool\nDefault value : true", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "1bb97561ff354232931cefbec08aee9d", + "Name": "Solid", + "Description": "Thickened surface as solid", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.Thicken@double,bool", + "Replication": "Auto", + "Description": "Thicken Surface into a Solid, extruding in the direction of Surface normals. If both_sides parameter is true, surface is thickened on both sides.\n\nSurface.Thicken (thickness: double = 1, both_sides: bool = true): Solid" + }, + { + "ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels", + "Id": "6c13743477774b739a2d4c15c7f2485e", + "NodeType": "BooleanInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "eac8f8382e204a138c0ad6f770b9ee58", + "Name": "", + "Description": "Boolean", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Enables selection between True and False", + "InputValue": true + } + ], + "Connectors": [ + { + "Start": "2a40c877769c488e833ffd8f2f3ce333", + "End": "e825ea2586f3448e8260344fc830aa79", + "Id": "a8fe20c6dbf64976b66b95e687cc908c", + "IsHidden": "False" + }, + { + "Start": "ad2494e7e88748f0b74cec91f3384ee2", + "End": "55b1414f0e2d4d09b72acb43b4e9b0dc", + "Id": "a6985f13c09d4b7c9f21958d900753b6", + "IsHidden": "False" + }, + { + "Start": "de7bd5c3c84e4a18a46abd8d4cb40ff4", + "End": "6ebfe84fa5aa4ebab92303ef01099567", + "Id": "1ea14680920d4f23956d856f8a5e198b", + "IsHidden": "False" + }, + { + "Start": "a377bc54e32a43dab3463ad369da2303", + "End": "9f6d0e1602c04a00a57c9911dc392df5", + "Id": "7879bbd64f4b4dd08d5a870925ea1a73", + "IsHidden": "False" + }, + { + "Start": "b491462085e844e0a23cd02875b955c6", + "End": "774f754ef974414e8215798920bffe98", + "Id": "9a6303341c474059b6cfc2cfb4c3e5a3", + "IsHidden": "False" + }, + { + "Start": "e7b29d194ef5443c8db865bc9f6728ff", + "End": "89bb47379bc44287ab2114d957ca68ff", + "Id": "d1b1ee199347491dabf6cea4f75090e2", + "IsHidden": "False" + }, + { + "Start": "ec1e9fc4b914448f90f362b0db189115", + "End": "daa6031d17974499b44652e8ed79e9b6", + "Id": "027894ac62284bdc9145c9c171cf3c76", + "IsHidden": "False" + }, + { + "Start": "b873c08aee344e30af98f599c0216ee8", + "End": "1646f3d541044e07b4aa2dde28381dc4", + "Id": "3b26e6b5cc4a4fd3bf7cef9d531cd018", + "IsHidden": "False" + }, + { + "Start": "8142e26075ac4f51a215408705ba9453", + "End": "deee18ba534c48e7af1195ab305f5597", + "Id": "52ba2a0ebea5495da7303399683ce95b", + "IsHidden": "False" + }, + { + "Start": "f88331d2eed3498e9eb0328beeea460c", + "End": "ed2c9dd8651e444887465990ba2d9b41", + "Id": "b232ec8ea5cf4095921e336a831f8a16", + "IsHidden": "False" + }, + { + "Start": "94543f4a30c74691a855efbb16fa3023", + "End": "6971e0a94f2d4c678ed1d9472332db05", + "Id": "08f7732899ec4b6a96cb76da5dca4cb7", + "IsHidden": "False" + }, + { + "Start": "e6d8ec96f76e4ec6b4ec24b4afaa1080", + "End": "8e4d387ba06f4565a91e7d7d3f34d89d", + "Id": "8299d9e32afc408fb9ab871449895372", + "IsHidden": "False" + }, + { + "Start": "eac8f8382e204a138c0ad6f770b9ee58", + "End": "93e1ec717e7946a0b185706395291c03", + "Id": "b3cf61dcb1da490c9a08d31a030ce31b", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": -12.151876449584961, + "EyeY": 10.257155418395996, + "EyeZ": 4.30262565612793, + "LookX": 16.018514633178711, + "LookY": -5.6682891845703125, + "LookZ": -8.9196844100952148, + "UpX": 0.073107823729515076, + "UpY": 0.996492862701416, + "UpZ": -0.040709063410758972 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "0b37921be50f4b44b9acf040806751a6", + "Name": "Surface.BySweep2Rails", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 616.06536709016132, + "Y": -51.738499704325619 + }, + { + "Id": "e45204ff0fd847c38e917d1786e7ae00", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -165.93463290983868, + "Y": -9.083499704325618 + }, + { + "Id": "6f2ecab363e24aeb817f0a03f8ccb990", + "Name": "Line.ByStartPointEndPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 245.06536709016132, + "Y": -17.738499704325619 + }, + { + "Id": "7a69c3d67aa84f42b750d03bdbd33027", + "Name": "Line.ByStartPointEndPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 245.06536709016132, + "Y": -194.73849970432562 + }, + { + "Id": "a1b10149239f4fab843c567cc89b3f77", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -165.93463290983868, + "Y": -186.08349970432559 + }, + { + "Id": "0577b79ffb894a06999e1c9eb5586e36", + "Name": "Arc.ByThreePoints", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 245.06536709016132, + "Y": 159.26150029567438 + }, + { + "Id": "9672236780264b6f977b885b5511fe95", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -165.93463290983868, + "Y": 176.7440002956744 + }, + { + "Id": "6b938f6412874a88a9f9cbce39b4659e", + "Name": "Number Slider", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 616.06536709016132, + "Y": 161.26150029567438 + }, + { + "Id": "df916e36aa08400cb18713f2e3f38ab9", + "Name": "Surface.Thicken", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1064.0653670901613, + "Y": 105.26150029567438 + }, + { + "Id": "6c13743477774b739a2d4c15c7f2485e", + "Name": "Boolean", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 616.06536709016132, + "Y": 308.26150029567441 + } + ], + "Annotations": [], + "X": 236.82282238548305, + "Y": 186.70255741877492, + "Zoom": 0.8476185719982261 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides).md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides).md new file mode 100644 index 00000000000..696e833afc3 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides).md @@ -0,0 +1,9 @@ +## In Depth +`Surface.Thicken (surface, thickness, both_sides)` creates a solid by offsetting a surface according to the `thickness` input and by capping the ends to close the solid. This node has an extra input to specify whether or not to thicken on both sides. The `both_sides` input takes a Boolean value: True to thicken on both sides, and False to thicken on one side. Note that the `thickness` parameter determines the total thickness of the final solid, so if `both_sides` is set to True, the result will be offset from the original surface by half the input thickness on both sides. + +In the example below, we first create a surface by using a `Surface.BySweep2Rails`. We then create a solid by using a number slider to determine the `thickness` input of a `Surface.Thicken` node. A Boolean toggle controls whether to thicken on both sides or just one. + +___ +## Example File + +![Surface.Thicken](./Autodesk.DesignScript.Geometry.Surface.Thicken(surface,%20thickness,%20both_sides)_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides)_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides)_img.jpg new file mode 100644 index 00000000000..27ad54a9f36 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.Thicken(surface, thickness, both_sides)_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface.dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface).dyn similarity index 69% rename from doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface.dyn rename to doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface).dyn index 6bcc9c040a8..955be9c9ab8 100644 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface.dyn +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface).dyn @@ -1,5 +1,5 @@ { - "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "Uuid": "f621dfe0-6bbb-4146-891e-c0e97be5ab33", "IsCustomNode": false, "Description": "", "Name": "Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface", @@ -8,11 +8,11 @@ }, "Inputs": [ { - "Id": "4fd25c7abb42406eb64183323b390da8", + "Id": "d1d2bf4c35824acf9947d4e22f00d964", "Name": "Number Slider", "Type": "number", "Type2": "number", - "Value": "5", + "Value": "6", "MaximumValue": 10.0, "MinimumValue": 3.0, "StepValue": 1.0, @@ -21,7 +21,7 @@ "SelectedIndex": 0 }, { - "Id": "5b4d90107c974168b1d6053bc480a259", + "Id": "382ccf0846064287b785f182cd44ac1b", "Name": "Boolean", "Type": "boolean", "Type2": "boolean", @@ -34,12 +34,11 @@ "Nodes": [ { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "c781287922f34a0b929fd8eefb4c8513", "NodeType": "FunctionNode", - "FunctionSignature": "DSCore.Math.RandomList@int", - "Id": "7d7435f4dcd14a1bb0693f701ecda485", "Inputs": [ { - "Id": "b28dc369bd84427888a5c22efe281c8b", + "Id": "0533fc834568477c9a33015b07f4cf6e", "Name": "amount", "Description": "Amount of random numbers the result list will contain.\n\nint", "UsingDefaultValue": false, @@ -50,7 +49,7 @@ ], "Outputs": [ { - "Id": "fa1407d53f3843909fe092e7554be8ed", + "Id": "5e1ee44909c24b26a980307dc25306cb", "Name": "number", "Description": "List of random numbers between 0 and 1.", "UsingDefaultValue": false, @@ -59,22 +58,22 @@ "KeepListStructure": false } ], + "FunctionSignature": "DSCore.Math.RandomList@int", "Replication": "Auto", "Description": "Produces a list containing the given amount of random doubles in the range of [0, 1).\n\nMath.RandomList (amount: int): var[]..[]" }, { "ConcreteType": "CoreNodeModels.Input.DoubleSlider, CoreNodeModels", - "NodeType": "NumberInputNode", "NumberType": "Double", "MaximumValue": 10.0, "MinimumValue": 3.0, "StepValue": 1.0, - "InputValue": 5.0, - "Id": "4fd25c7abb42406eb64183323b390da8", + "Id": "d1d2bf4c35824acf9947d4e22f00d964", + "NodeType": "NumberInputNode", "Inputs": [], "Outputs": [ { - "Id": "4066f07b08774a64914edc66635e14ff", + "Id": "2ee4f82e99484ee98a69f87f90e97f42", "Name": "", "Description": "Double", "UsingDefaultValue": false, @@ -84,16 +83,16 @@ } ], "Replication": "Disabled", - "Description": "Produces numeric values" + "Description": "Produces numeric values", + "InputValue": 6.0 }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "16c02f1f6e31445aa5f7ee52bd3a882f", "NodeType": "FunctionNode", - "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.ByCylindricalCoordinates@Autodesk.DesignScript.Geometry.CoordinateSystem,double,double,double", - "Id": "11d18d7068564c249a8beb42837e0216", "Inputs": [ { - "Id": "edbcf0ef0f764de2b5bcfa343b9f2a09", + "Id": "89912ac557a649c3b630fcb56f1ad6ff", "Name": "coordinateSystem", "Description": "Coordinate system to build the point in\n\nCoordinateSystem\nDefault value : Autodesk.DesignScript.Geometry.CoordinateSystem.ByOrigin(0, 0, 0)", "UsingDefaultValue": true, @@ -102,7 +101,7 @@ "KeepListStructure": false }, { - "Id": "547ff2e1368946cda31be9b2ccd41aac", + "Id": "b6b392b117a7463e85eb259ea4fce6f4", "Name": "angle", "Description": "The angle is the rotation from the X axis in the coordinate system around the Z axis in degrees\n\ndouble\nDefault value : 0", "UsingDefaultValue": true, @@ -111,7 +110,7 @@ "KeepListStructure": false }, { - "Id": "42af7131f08b415db916928fbff5f480", + "Id": "daa4ecc3389c4253a65be752d94ec4e4", "Name": "elevation", "Description": "The elevation of the point above the XY plane\n\ndouble\nDefault value : 0", "UsingDefaultValue": true, @@ -120,7 +119,7 @@ "KeepListStructure": false }, { - "Id": "655bd93715d64c11bab8c7897492806e", + "Id": "b281453570e946d5ad30d1b90c8a9544", "Name": "radius", "Description": "The distance from the origin of the coordinate system\n\ndouble\nDefault value : 1", "UsingDefaultValue": true, @@ -131,7 +130,7 @@ ], "Outputs": [ { - "Id": "794cdf2e847a4ca39527a9adf0aa71cc", + "Id": "9bd5847774494f36824a4ab0276b3e18", "Name": "Point", "Description": "Point at cylindrical coordinates", "UsingDefaultValue": false, @@ -140,17 +139,17 @@ "KeepListStructure": false } ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.ByCylindricalCoordinates@Autodesk.DesignScript.Geometry.CoordinateSystem,double,double,double", "Replication": "Auto", "Description": "Form a Point in the given coordinate system given its position in cylindrical coordinates.\n\nPoint.ByCylindricalCoordinates (coordinateSystem: CoordinateSystem = Autodesk.DesignScript.Geometry.CoordinateSystem.ByOrigin(0, 0, 0), angle: double = 0, elevation: double = 0, radius: double = 1): Point" }, { "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "9c56292549904150b06194441f061605", "NodeType": "CodeBlockNode", - "Code": "x*5;", - "Id": "7ba7b96cdf3e43f2a51ba6620e80f8e9", "Inputs": [ { - "Id": "090b5f7032f946998b1c4f0b20f3a24d", + "Id": "102408db56734b47bd8b3f90d2be3746", "Name": "x", "Description": "x", "UsingDefaultValue": false, @@ -161,7 +160,7 @@ ], "Outputs": [ { - "Id": "e3ae108edfc447c1a104a33f4ccc4e36", + "Id": "65fb96051eea4e67a9987c4a2c996b3d", "Name": "", "Description": "Value of expression at line 1", "UsingDefaultValue": false, @@ -171,16 +170,16 @@ } ], "Replication": "Disabled", - "Description": "Allows for DesignScript code to be authored directly" + "Description": "Allows for DesignScript code to be authored directly", + "Code": "x*5;" }, { "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "9fe1d9b4b2c0486e938e1399f3d0015b", "NodeType": "CodeBlockNode", - "Code": "0..360..360/(a-1);", - "Id": "2946ae2a7ef446f2bdb3bc8fb1fdd096", "Inputs": [ { - "Id": "ebcb66900c86485f9780730e6be4c0f2", + "Id": "536cc8dc23c74c3d918d68974c736dd8", "Name": "a", "Description": "a", "UsingDefaultValue": false, @@ -191,7 +190,7 @@ ], "Outputs": [ { - "Id": "5e86218e2afc42f9839a79dc2a239993", + "Id": "5976b8d22ac248b7b66bdacbb199127b", "Name": "", "Description": "Value of expression at line 1", "UsingDefaultValue": false, @@ -201,16 +200,16 @@ } ], "Replication": "Disabled", - "Description": "Allows for DesignScript code to be authored directly" + "Description": "Allows for DesignScript code to be authored directly", + "Code": "0..360..360/(a-1);" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b3d6af9fc1f84f9880be0049af1ec521", "NodeType": "FunctionNode", - "FunctionSignature": "DSCore.Math.RandomList@int", - "Id": "1d2c81b61c9f4392a480c371469110ff", "Inputs": [ { - "Id": "43a70262e54645e6a41c227fe634e7c8", + "Id": "be9d5046bee94081a087f08234b73734", "Name": "amount", "Description": "Amount of random numbers the result list will contain.\n\nint", "UsingDefaultValue": false, @@ -221,7 +220,7 @@ ], "Outputs": [ { - "Id": "dac0ef9f74e447f7b7a1863cca5e2425", + "Id": "b120c30ce3644d2a8fc3bbbef95d73f0", "Name": "number", "Description": "List of random numbers between 0 and 1.", "UsingDefaultValue": false, @@ -230,17 +229,17 @@ "KeepListStructure": false } ], + "FunctionSignature": "DSCore.Math.RandomList@int", "Replication": "Auto", "Description": "Produces a list containing the given amount of random doubles in the range of [0, 1).\n\nMath.RandomList (amount: int): var[]..[]" }, { "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "3a2cadb4acbd435f85c1d486613bae6d", "NodeType": "CodeBlockNode", - "Code": "x*5;", - "Id": "403c70ad0cb443cc82e7c920b8c41695", "Inputs": [ { - "Id": "513931cf64db4d269530fea1ac32d5fd", + "Id": "84343fe528ed4551a0174d078763ea11", "Name": "x", "Description": "x", "UsingDefaultValue": false, @@ -251,7 +250,7 @@ ], "Outputs": [ { - "Id": "20800cd5e4ac4ace81ca2f5d1e18019f", + "Id": "a4b32aaa4c134cb7a4bf2a6dcf216e65", "Name": "", "Description": "Value of expression at line 1", "UsingDefaultValue": false, @@ -261,16 +260,16 @@ } ], "Replication": "Disabled", - "Description": "Allows for DesignScript code to be authored directly" + "Description": "Allows for DesignScript code to be authored directly", + "Code": "x*5;" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "3ded9baff0be4e85ba0169dedc1798b4", "NodeType": "FunctionNode", - "FunctionSignature": "Autodesk.DesignScript.Geometry.NurbsCurve.ByPoints@Autodesk.DesignScript.Geometry.Point[],bool", - "Id": "ca5657b3d8fa40a4a4a1338d2cb535f4", "Inputs": [ { - "Id": "ba392ae15bb74d55a7f2bf7a2b9faa5b", + "Id": "0a429f1d4447463288f412580a1ef58b", "Name": "points", "Description": "Points for nurbs curve\n\nPoint[]", "UsingDefaultValue": false, @@ -279,7 +278,7 @@ "KeepListStructure": false }, { - "Id": "53039927e34f4de8b98ad4baae769a08", + "Id": "1d58306723484bfb8f3bdadf1f66854e", "Name": "closeCurve", "Description": "bool\nDefault value : false", "UsingDefaultValue": true, @@ -290,7 +289,7 @@ ], "Outputs": [ { - "Id": "3be7b51b397a49dda079f15098d7274c", + "Id": "27797976ccd24c4ebc075afec72124fc", "Name": "NurbsCurve", "Description": "Nurbscurve created from points", "UsingDefaultValue": false, @@ -299,18 +298,18 @@ "KeepListStructure": false } ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.NurbsCurve.ByPoints@Autodesk.DesignScript.Geometry.Point[],bool", "Replication": "Auto", "Description": "Create a BSplineCurve by interpolating between points.\n\nNurbsCurve.ByPoints (points: Point[], closeCurve: bool = false): NurbsCurve" }, { "ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels", + "Id": "382ccf0846064287b785f182cd44ac1b", "NodeType": "BooleanInputNode", - "InputValue": true, - "Id": "5b4d90107c974168b1d6053bc480a259", "Inputs": [], "Outputs": [ { - "Id": "4f96e7892f7c47ff8edd8f83d732b151", + "Id": "7cdfd647bb6d477ead949a8a5a38ba29", "Name": "", "Description": "Boolean", "UsingDefaultValue": false, @@ -320,16 +319,16 @@ } ], "Replication": "Disabled", - "Description": "Enables selection between True and False" + "Description": "Enables selection between True and False", + "InputValue": true }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b30ee66b733e46eb99a0f60ff95d89de", "NodeType": "FunctionNode", - "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.ByPatch@Autodesk.DesignScript.Geometry.Curve", - "Id": "1cc850ca1a66404c947b2896bb67bebf", "Inputs": [ { - "Id": "f1ff786499dc4e43b4b6458b8e808d30", + "Id": "487a40daaa41474fb2c416afbe0ce6e7", "Name": "closedCurve", "Description": "Closed curve used as surface boundary\n\nCurve", "UsingDefaultValue": false, @@ -340,7 +339,7 @@ ], "Outputs": [ { - "Id": "91231d9225354053aad7bff1b9afb078", + "Id": "4e6ec47e29174823a82328674fcbf194", "Name": "Surface", "Description": "Surface created by patch", "UsingDefaultValue": false, @@ -349,28 +348,37 @@ "KeepListStructure": false } ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.ByPatch@Autodesk.DesignScript.Geometry.Curve", "Replication": "Auto", "Description": "Create a Surface by filling in the interior of a closed boundary defined by input Curves.\n\nSurface.ByPatch (closedCurve: Curve): Surface" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "bee86d53b4724bb6b25e69d7217de3a5", "NodeType": "FunctionNode", - "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface", - "Id": "bb20643ccb7647b7845ef733b2d07775", "Inputs": [ { - "Id": "d019a03a701246fd8ad0352c9ebdce21", + "Id": "f8f9fc4218b2483a972fe3e562db3b46", "Name": "surface", "Description": "Autodesk.DesignScript.Geometry.Surface", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false + }, + { + "Id": "8b9a4e44b87e434695d4cac8c3fd38c7", + "Name": "limitSurface", + "Description": "Determines if the surface should be restored to its original parameter range before conversion. An example of when the parameter range of a surface is limited is after a Trim operation.\n\nbool\nDefault value : true", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false } ], "Outputs": [ { - "Id": "3118591e618d42988b3729f014b06418", + "Id": "ce3703fb27fc41059641f3a167ce2231", "Name": "NurbsSurface", "Description": "NurbsSurface", "UsingDefaultValue": false, @@ -379,93 +387,94 @@ "KeepListStructure": false } ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface@bool", "Replication": "Auto", - "Description": "Gets a Nurbs representation of the Surface. This method may approximate Surface in certain circumstances.\n\nSurface.ToNurbsSurface ( ): NurbsSurface" + "Description": "Gets a Nurbs representation of the Surface. This method may approximate Surface in certain circumstances.\n\nSurface.ToNurbsSurface (limitSurface: bool = true): NurbsSurface" } ], "Connectors": [ { - "Start": "fa1407d53f3843909fe092e7554be8ed", - "End": "090b5f7032f946998b1c4f0b20f3a24d", - "Id": "40b469824f12471283933d0e1bfbb018", + "Start": "5e1ee44909c24b26a980307dc25306cb", + "End": "102408db56734b47bd8b3f90d2be3746", + "Id": "dd0103f322ae4383bc35ead9a85d9d49", "IsHidden": "False" }, { - "Start": "4066f07b08774a64914edc66635e14ff", - "End": "b28dc369bd84427888a5c22efe281c8b", - "Id": "595d9b4bd6d64644be6adf541c5c8247", + "Start": "2ee4f82e99484ee98a69f87f90e97f42", + "End": "0533fc834568477c9a33015b07f4cf6e", + "Id": "9d26d31c3f1b4c90acec10f8cc65ea1f", "IsHidden": "False" }, { - "Start": "4066f07b08774a64914edc66635e14ff", - "End": "ebcb66900c86485f9780730e6be4c0f2", - "Id": "c4be3dd584f94a3b9d51a94c3e3ed802", + "Start": "2ee4f82e99484ee98a69f87f90e97f42", + "End": "536cc8dc23c74c3d918d68974c736dd8", + "Id": "e1c7ec3d87a345a5ab7debc9652a9b19", "IsHidden": "False" }, { - "Start": "4066f07b08774a64914edc66635e14ff", - "End": "43a70262e54645e6a41c227fe634e7c8", - "Id": "25a2ea2c8d3e4a42ab36153fca9ee390", + "Start": "2ee4f82e99484ee98a69f87f90e97f42", + "End": "be9d5046bee94081a087f08234b73734", + "Id": "2a2ad47be80c4ae68c6fdee8480773b1", "IsHidden": "False" }, { - "Start": "794cdf2e847a4ca39527a9adf0aa71cc", - "End": "ba392ae15bb74d55a7f2bf7a2b9faa5b", - "Id": "9a2dbcd4489d4d35a5fd70df42863089", + "Start": "9bd5847774494f36824a4ab0276b3e18", + "End": "0a429f1d4447463288f412580a1ef58b", + "Id": "8ed5a45363c947d78cf9cae1fbda239e", "IsHidden": "False" }, { - "Start": "e3ae108edfc447c1a104a33f4ccc4e36", - "End": "655bd93715d64c11bab8c7897492806e", - "Id": "ac011453409344a29f184c84f19fa733", + "Start": "65fb96051eea4e67a9987c4a2c996b3d", + "End": "b281453570e946d5ad30d1b90c8a9544", + "Id": "b7f7f89faaef4f9492efe944d25f24c3", "IsHidden": "False" }, { - "Start": "5e86218e2afc42f9839a79dc2a239993", - "End": "547ff2e1368946cda31be9b2ccd41aac", - "Id": "323e135552b54454bfbf94d450ddc8d4", + "Start": "5976b8d22ac248b7b66bdacbb199127b", + "End": "b6b392b117a7463e85eb259ea4fce6f4", + "Id": "026ab32044054574bb702963033de2c2", "IsHidden": "False" }, { - "Start": "dac0ef9f74e447f7b7a1863cca5e2425", - "End": "513931cf64db4d269530fea1ac32d5fd", - "Id": "6e26902e923544b38c2551999962cbf1", + "Start": "b120c30ce3644d2a8fc3bbbef95d73f0", + "End": "84343fe528ed4551a0174d078763ea11", + "Id": "5b82244b1b064918b56cf9a6f68f4deb", "IsHidden": "False" }, { - "Start": "20800cd5e4ac4ace81ca2f5d1e18019f", - "End": "42af7131f08b415db916928fbff5f480", - "Id": "df6dfb12a0234163810cce27e0eba00b", + "Start": "a4b32aaa4c134cb7a4bf2a6dcf216e65", + "End": "daa4ecc3389c4253a65be752d94ec4e4", + "Id": "ff928df78e094c448125d1bcf67179a9", "IsHidden": "False" }, { - "Start": "3be7b51b397a49dda079f15098d7274c", - "End": "f1ff786499dc4e43b4b6458b8e808d30", - "Id": "2ce774abb7ad4a30968b7ad7e948368d", + "Start": "27797976ccd24c4ebc075afec72124fc", + "End": "487a40daaa41474fb2c416afbe0ce6e7", + "Id": "7717f42044a94271a7eee53e02213221", "IsHidden": "False" }, { - "Start": "4f96e7892f7c47ff8edd8f83d732b151", - "End": "53039927e34f4de8b98ad4baae769a08", - "Id": "63468dcace7248d5a86747240edefae1", + "Start": "7cdfd647bb6d477ead949a8a5a38ba29", + "End": "1d58306723484bfb8f3bdadf1f66854e", + "Id": "52e8bc27c2ca4250bda93b4ee3dbb804", "IsHidden": "False" }, { - "Start": "91231d9225354053aad7bff1b9afb078", - "End": "d019a03a701246fd8ad0352c9ebdce21", - "Id": "ea14ff73de784a4199183b6a2577a3cf", + "Start": "4e6ec47e29174823a82328674fcbf194", + "End": "f8f9fc4218b2483a972fe3e562db3b46", + "Id": "cff6fa438515448aac95944dd762f073", "IsHidden": "False" } ], "Dependencies": [], "NodeLibraryDependencies": [], - "Thumbnail": null, + "Thumbnail": "", "GraphDocumentationURL": null, "ExtensionWorkspaceData": [ { "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", "Name": "Properties", - "Version": "2.17", + "Version": "2.19", "Data": {} } ], @@ -482,15 +491,15 @@ "ScaleFactor": 1.0, "HasRunWithoutCrash": true, "IsVisibleInDynamoLibrary": true, - "Version": "2.17.0.3255", - "RunType": "Manual", + "Version": "2.19.4.6632", + "RunType": "Automatic", "RunPeriod": "1000" }, "Camera": { "Name": "_Background Preview", - "EyeX": -6.5809869766235352, - "EyeY": 11.254499435424805, - "EyeZ": 11.339029312133789, + "EyeX": -5.4902410507202148, + "EyeY": 15.053728103637695, + "EyeZ": 8.7998876571655273, "LookX": 8.7498655319213867, "LookY": -14.094080924987793, "LookZ": -17.329778671264648, @@ -501,119 +510,119 @@ "ConnectorPins": [], "NodeViews": [ { + "Id": "c781287922f34a0b929fd8eefb4c8513", "Name": "Math.RandomList", - "ShowGeometry": true, - "Id": "7d7435f4dcd14a1bb0693f701ecda485", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": -578.5030953668745, - "Y": 307.55904850481738 + "ShowGeometry": true, + "X": -579.30309536687446, + "Y": 299.337465921565 }, { + "Id": "d1d2bf4c35824acf9947d4e22f00d964", "Name": "Number Slider", - "ShowGeometry": true, - "Id": "4fd25c7abb42406eb64183323b390da8", "IsSetAsInput": true, "IsSetAsOutput": false, "Excluded": false, + "ShowGeometry": true, "X": -1027.3030953668745, - "Y": 160.55904850481735 + "Y": 152.337465921565 }, { + "Id": "16c02f1f6e31445aa5f7ee52bd3a882f", "Name": "Point.ByCylindricalCoordinates", - "ShowGeometry": true, - "Id": "11d18d7068564c249a8beb42837e0216", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": 95.096904633125632, - "Y": 92.731548504817368 + "ShowGeometry": true, + "X": 95.696904633125541, + "Y": 84.509965921565026 }, { + "Id": "9c56292549904150b06194441f061605", "Name": "Code Block", - "ShowGeometry": true, - "Id": "7ba7b96cdf3e43f2a51ba6620e80f8e9", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": -257.70309536687444, - "Y": 307.55904850481738 + "ShowGeometry": true, + "X": -258.30309536687446, + "Y": 299.337465921565 }, { + "Id": "9fe1d9b4b2c0486e938e1399f3d0015b", "Name": "Code Block", - "ShowGeometry": true, - "Id": "2946ae2a7ef446f2bdb3bc8fb1fdd096", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": -257.70309536687444, - "Y": 13.559048504817383 + "ShowGeometry": true, + "X": -258.30309536687446, + "Y": 5.3374659215650126 }, { + "Id": "b3d6af9fc1f84f9880be0049af1ec521", "Name": "Math.RandomList", - "ShowGeometry": true, - "Id": "1d2c81b61c9f4392a480c371469110ff", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": -578.5030953668745, - "Y": 160.55904850481735 + "ShowGeometry": true, + "X": -579.30309536687446, + "Y": 152.337465921565 }, { + "Id": "3a2cadb4acbd435f85c1d486613bae6d", "Name": "Code Block", - "ShowGeometry": true, - "Id": "403c70ad0cb443cc82e7c920b8c41695", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": -257.70309536687444, - "Y": 160.55904850481735 + "ShowGeometry": true, + "X": -258.30309536687446, + "Y": 152.337465921565 }, { + "Id": "3ded9baff0be4e85ba0169dedc1798b4", "Name": "NurbsCurve.ByPoints", - "ShowGeometry": true, - "Id": "ca5657b3d8fa40a4a4a1338d2cb535f4", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": 499.09690463312563, - "Y": 199.73154850481734 + "ShowGeometry": true, + "X": 499.69690463312554, + "Y": 191.50996592156503 }, { + "Id": "382ccf0846064287b785f182cd44ac1b", "Name": "Boolean", - "ShowGeometry": true, - "Id": "5b4d90107c974168b1d6053bc480a259", "IsSetAsInput": true, "IsSetAsOutput": false, "Excluded": false, - "X": 93.975966004966722, - "Y": 338.48967124849963 + "ShowGeometry": true, + "X": 95.696904633125541, + "Y": 332.509965921565 }, { + "Id": "b30ee66b733e46eb99a0f60ff95d89de", "Name": "Surface.ByPatch", - "ShowGeometry": true, - "Id": "1cc850ca1a66404c947b2896bb67bebf", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": 859.89690463312559, - "Y": 199.73154850481734 + "ShowGeometry": true, + "X": 859.69690463312554, + "Y": 191.50996592156503 }, { + "Id": "bee86d53b4724bb6b25e69d7217de3a5", "Name": "Surface.ToNurbsSurface", - "ShowGeometry": true, - "Id": "bb20643ccb7647b7845ef733b2d07775", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": 1204.6969046331255, - "Y": 199.73154850481734 + "ShowGeometry": true, + "X": 1214.3061051508912, + "Y": 175.91481092450368 } ], "Annotations": [], - "X": 758.3734812666645, - "Y": 298.69424106709329, - "Zoom": 0.7136876006441224 + "X": 577.54028474958955, + "Y": 125.09092957339169, + "Zoom": 0.55877561722545954 } } \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface).md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface).md new file mode 100644 index 00000000000..78e9389ff3e --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface).md @@ -0,0 +1,10 @@ +## In Depth +`Surface.ToNurbsSurface` takes a surface as input and returns a NurbsSurface that approximates the input surface. The `limitSurface` input determines if the surface should be restored to its original parameter range before conversion, for example, when the parameter range of a surface is limited is after a Trim operation. + +In the example below, we create a surface using a `Surface.ByPatch` node with a closed NurbsCurve as an input. Note that when we use this surface as the input for a `Surface.ToNurbsSurface` node, the result is an untrimmed NurbsSurface with four sides. + + +___ +## Example File + +![Surface.ToNurbsSurface](./Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface,%20limitSurface)_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface)_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface)_img.jpg new file mode 100644 index 00000000000..a1b03e0c293 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface(surface, limitSurface)_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface.md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface.md deleted file mode 100644 index 0e1ef6db5e6..00000000000 --- a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface.md +++ /dev/null @@ -1,7 +0,0 @@ -## In Depth -Surface To Nurbs Surface takes a surface as input and returns a Nurbs Surface that approximates the input surface. In the example below, we create a surface using a ByPatch node with a close Nurbs Curve as an input. Note that when we use this surface as the input for a ToNurbsSurface node, the result is an untrimmed Nurbs Surface with four sides. -___ -## Example File - -![ToNurbsSurface](./Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface_img.jpg) - diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface_img.jpg deleted file mode 100644 index 2de207a2f38..00000000000 Binary files a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.ToNurbsSurface_img.jpg and /dev/null differ diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance).dyn b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance).dyn new file mode 100644 index 00000000000..54ded366c8d --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance).dyn @@ -0,0 +1,628 @@ +{ + "Uuid": "c3900289-e7fe-4db3-bccb-6dd7385d9e5c", + "IsCustomNode": false, + "Description": "", + "Name": "Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops", + "ElementResolver": { + "ResolutionMap": { + "Point": { + "Key": "Autodesk.DesignScript.Geometry.Point", + "Value": "ProtoGeometry.dll" + }, + "Vector.XAxis": { + "Key": "Autodesk.DesignScript.Geometry.Vector", + "Value": "ProtoGeometry.dll" + }, + "Vector": { + "Key": "Autodesk.DesignScript.Geometry.Vector", + "Value": "ProtoGeometry.dll" + }, + "Math": { + "Key": "DSCore.Math", + "Value": "DSCoreNodes.dll" + }, + "PolyCurve": { + "Key": "Autodesk.DesignScript.Geometry.PolyCurve", + "Value": "ProtoGeometry.dll" + }, + "Color": { + "Key": "DSCore.Color", + "Value": "DSCoreNodes.dll" + }, + "Display": { + "Key": "Display.Display", + "Value": "Display.dll" + } + } + }, + "Inputs": [ + { + "Id": "e706c795414a46db8ea50bb5c34dee5c", + "Name": "Trimmed Surface Geometry", + "Type": "number", + "Type2": "number", + "Value": "0.3", + "MaximumValue": 1.0, + "MinimumValue": -4.0, + "StepValue": 0.1, + "NumberType": "Double", + "Description": "Produces numeric values", + "SelectedIndex": 0 + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "7d29d965759c4a6091d44c155f12517c", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "7c489496f7844a17af38f90b590ab6ea", + "Name": "closedCurve", + "Description": "Closed curve used as surface boundary\n\nCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5f3c2dc5f8f546918930935551b487fb", + "Name": "Surface", + "Description": "Surface created by patch", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.ByPatch@Autodesk.DesignScript.Geometry.Curve", + "Replication": "Auto", + "Description": "Create a Surface by filling in the interior of a closed boundary defined by input Curves.\n\nSurface.ByPatch (closedCurve: Curve): Surface" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "dc345f78f0f54322b4a856a206da145b", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "cce21458240f4331b3aa706e80c81508", + "Name": "centerPoint", + "Description": "Center point of circle\n\nPoint\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "81f7aa6dd0984ebcad54f842f9f23955", + "Name": "radius", + "Description": "Radius\n\ndouble\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "bbc590775ec94fa1bd03c5bb28696d89", + "Name": "normal", + "Description": "Normal direction vector\n\nVector\nDefault value : Autodesk.DesignScript.Geometry.Vector.ByCoordinates(0, 0, 1)", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "261909961e504ed2a92b26a2c599f6a9", + "Name": "Circle", + "Description": "Circle created with center point radius and normal", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Circle.ByCenterPointRadiusNormal@Autodesk.DesignScript.Geometry.Point,double,Autodesk.DesignScript.Geometry.Vector", + "Replication": "Auto", + "Description": "Creates a Circle with specified center Point, radius, and normal direction.\n\nCircle.ByCenterPointRadiusNormal (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1, normal: Vector = Autodesk.DesignScript.Geometry.Vector.ByCoordinates(0, 0, 1)): Circle" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "Id": "4116bb8fc536488a8c21dc6d835dcf44", + "NodeType": "CodeBlockNode", + "Inputs": [ + { + "Id": "11155c04d6bf41139e61c27de3994557", + "Name": "x", + "Description": "x", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ea5fa713620c46a08b5b27f3050fe4ea", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8cf18e761d814f39a62f65722774e73d", + "Name": "", + "Description": "Value of expression at line 3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d606f18a142b4997b1f35b8acebfd0e4", + "Name": "", + "Description": "Value of expression at line 4", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7637989616b745bb85b9a9a34fd6ee93", + "Name": "", + "Description": "pt1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "49818a91e5e54229acc7dee4b0300641", + "Name": "", + "Description": "pt2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "329ad89fdfa944cea6dfb73821335cbf", + "Name": "", + "Description": "pt3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d151d01487734d0fbb073739cbf30d8b", + "Name": "", + "Description": "pt4", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "27c6ba5803ee4e8dabdd72ccd0ce5499", + "Name": "", + "Description": "pts", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "21ac8901ae704924a8345ba77d59e785", + "Name": "", + "Description": "pCurve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ba200c6d9d0c4decb538c612ba0a1855", + "Name": "", + "Description": "pFillet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6803f07fc9054897969db2a438e9179f", + "Name": "", + "Description": "pt5", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1bc004eda98c443999886c4caf6829ac", + "Name": "", + "Description": "pt6", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "5d9ba9971da44486b5dac665d86045fa", + "Name": "", + "Description": "pt7", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9988ca56d2af4d58989f21a74913948d", + "Name": "", + "Description": "pt8", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ba149d71e7bf4ed9abd7a4e0fade3597", + "Name": "", + "Description": "pts2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "360606f3a2cf4551a20792848cda688d", + "Name": "", + "Description": "pCurve2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9aa0455e19834b07a1abe7ced9af5f8a", + "Name": "", + "Description": "pFillet2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e4230cc32bfc41bc87cb83be11976cee", + "Name": "", + "Description": "loops", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly", + "Code": "//Surface to trim\nPoint.ByCoordinates(0,0,0);\n6;\nVector.XAxis();\n\n//Inner loop 1\npt1 = Point.ByCoordinates(0,3,4);\npt2 = Point.ByCoordinates(0,2,4);\npt3 = Point.ByCoordinates(0,x*-1,-2);\npt4 = Point.ByCoordinates(0,5,2);\npts = [pt1, pt2, pt3, pt4];\npCurve = PolyCurve.ByPoints(pts, true);\npFillet = PolyCurve.Fillet(pCurve, 0.25);\n\n//Inner loop 2\npt5 = Point.ByCoordinates(0,-3,-4);\npt6 = Point.ByCoordinates(0,-2,-4);\npt7 = Point.ByCoordinates(0,x,2);\npt8 = Point.ByCoordinates(0,-5,-2);\npts2 = [pt5, pt6, pt7, pt8];\npCurve2 = PolyCurve.ByPoints(pts2, true);\npFillet2 = PolyCurve.Fillet(pCurve2, 0.25);\n\n//Inner loops\nloops = [pFillet, pFillet2];" + }, + { + "ConcreteType": "CoreNodeModels.Input.DoubleSlider, CoreNodeModels", + "NumberType": "Double", + "MaximumValue": 1.0, + "MinimumValue": -4.0, + "StepValue": 0.1, + "Id": "e706c795414a46db8ea50bb5c34dee5c", + "NodeType": "NumberInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "299d11a0c4d84d619d0dc052f4090a80", + "Name": "", + "Description": "Double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Produces numeric values", + "InputValue": 0.3 + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "a99d309dd7c24588acd4545b29294280", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "3c52be18b7f84f749519d6c2e128205b", + "Name": "geometry", + "Description": "The geometry to which you would like to apply color.\n\nGeometry", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "bcb7fbbc0911444abd0e95f166974a3f", + "Name": "color", + "Description": "The color.\n\nColor", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4c3ff321a10f42b28d7c98e1f964d3e9", + "Name": "GeometryColor", + "Description": "A Display object.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Modifiers.GeometryColor.ByGeometryColor@Autodesk.DesignScript.Geometry.Geometry,DSCore.Color", + "Replication": "Auto", + "Description": "Display geometry using a color.\n\nGeometryColor.ByGeometryColor (geometry: Geometry, color: Color): GeometryColor" + }, + { + "ConcreteType": "CoreNodeModels.Input.ColorPalette, CoreNodeModels", + "InputValue": { + "R": 151, + "G": 192, + "B": 206, + "A": 255 + }, + "Id": "44fa8aa9dc814f18aef4568aa15ebc8b", + "NodeType": "ColorInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "fdffe1a8836f4159ae8022ccc1858d71", + "Name": "Color", + "Description": "Selected Color.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Select a Color from the palette" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "96ce02d60663460cb451c4e86e2841d5", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "b78a3c80d74f4ff5bb316a6044483462", + "Name": "surface", + "Description": "Autodesk.DesignScript.Geometry.Surface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "3560abe90c7f41dbbd79885f31563cd6", + "Name": "loops", + "Description": "PolyCurve[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d5b6bf1e136a4609843b1f0087f21897", + "Name": "tolerance", + "Description": "double\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "bca94bfb84c14695b399779105091ef9", + "Name": "Surface", + "Description": "Surface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops@Autodesk.DesignScript.Geometry.PolyCurve[],double", + "Replication": "Auto", + "Description": "Trims the surface with a collection of one or more closed PolyCurves. One of the loops needs to be the boundary loop of the input surface. In addition, one or more inner loops need to be added for holes.\n\nSurface.TrimWithEdgeLoops (loops: PolyCurve[], tolerance: double = 0): Surface" + } + ], + "Connectors": [ + { + "Start": "5f3c2dc5f8f546918930935551b487fb", + "End": "3c52be18b7f84f749519d6c2e128205b", + "Id": "0add38d0a9fe4d1dbc52055a1c41202e", + "IsHidden": "False" + }, + { + "Start": "5f3c2dc5f8f546918930935551b487fb", + "End": "b78a3c80d74f4ff5bb316a6044483462", + "Id": "a0da163225db41408766a2d8ce65771f", + "IsHidden": "False" + }, + { + "Start": "261909961e504ed2a92b26a2c599f6a9", + "End": "7c489496f7844a17af38f90b590ab6ea", + "Id": "ad47aa4c38f34ad6a617f68440cddcef", + "IsHidden": "False" + }, + { + "Start": "ea5fa713620c46a08b5b27f3050fe4ea", + "End": "cce21458240f4331b3aa706e80c81508", + "Id": "c8c4c5748ad647a6a35a9cbaa58c4534", + "IsHidden": "False" + }, + { + "Start": "8cf18e761d814f39a62f65722774e73d", + "End": "81f7aa6dd0984ebcad54f842f9f23955", + "Id": "77eb39cf77a84271969f9b8a3dc9f80e", + "IsHidden": "False" + }, + { + "Start": "d606f18a142b4997b1f35b8acebfd0e4", + "End": "bbc590775ec94fa1bd03c5bb28696d89", + "Id": "a9248efa88864566abd90077a5959148", + "IsHidden": "False" + }, + { + "Start": "e4230cc32bfc41bc87cb83be11976cee", + "End": "3560abe90c7f41dbbd79885f31563cd6", + "Id": "ae9f7baa8ec0426cb68e60f7779accfb", + "IsHidden": "False" + }, + { + "Start": "299d11a0c4d84d619d0dc052f4090a80", + "End": "11155c04d6bf41139e61c27de3994557", + "Id": "c31904759b254d71b92f0232216ec000", + "IsHidden": "False" + }, + { + "Start": "fdffe1a8836f4159ae8022ccc1858d71", + "End": "bcb7fbbc0911444abd0e95f166974a3f", + "Id": "78148ded9e7c430cb46461cef3d805ad", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "2.19", + "Data": {} + } + ], + "Author": "None provided", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.4.6632", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Background Preview", + "EyeX": 15.819687843322754, + "EyeY": 5.5620708465576172, + "EyeZ": -6.5477018356323242, + "LookX": -16.385435104370117, + "LookY": -4.33048152923584, + "LookZ": 7.60958194732666, + "UpX": -0.017411366105079651, + "UpY": 0.99981570243835449, + "UpZ": 0.00808618776500225 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "7d29d965759c4a6091d44c155f12517c", + "Name": "Surface.ByPatch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 2105.2558996906128, + "Y": 3805.2979507192154 + }, + { + "Id": "dc345f78f0f54322b4a856a206da145b", + "Name": "Circle.ByCenterPointRadiusNormal", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1673.2558996906125, + "Y": 3805.2979507192154 + }, + { + "Id": "4116bb8fc536488a8c21dc6d835dcf44", + "Name": "Code Block", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 1125.2558996906125, + "Y": 3815.262950719215 + }, + { + "Id": "e706c795414a46db8ea50bb5c34dee5c", + "Name": "Trimmed Surface Geometry", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 677.25589969061252, + "Y": 3815.262950719215 + }, + { + "Id": "a99d309dd7c24588acd4545b29294280", + "Name": "GeometryColor.ByGeometryColor", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2481.1448132811338, + "Y": 3573.3965829988888 + }, + { + "Id": "44fa8aa9dc814f18aef4568aa15ebc8b", + "Name": "Color Palette", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2207.3384737522993, + "Y": 3613.7780935049386 + }, + { + "Id": "96ce02d60663460cb451c4e86e2841d5", + "Name": "Surface.TrimWithEdgeLoops", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2477.12769391776, + "Y": 3823.865280155384 + } + ], + "Annotations": [], + "X": -454.04766337765545, + "Y": -2191.8190491059809, + "Zoom": 0.63737993559788708 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance).md b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance).md new file mode 100644 index 00000000000..3d8e92a0b60 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance).md @@ -0,0 +1,11 @@ +## In Depth +`Surface.TrimWithEdgeLoops` trims the surface with a collection of one or more closed PolyCurves that must all lie on the surface within the specified tolerance. If one or more holes need to be trimmed from the input surface, there must be one outer loop specified for the boundary of the surface and one inner loop for each hole. If the region between the surface boundary and the hole(s) needs to be trimmed, only the loop for each hole should be provided. For a periodic surface with no outer loop such as a spherical surface, the trimmed region can be controlled by reversing the direction of the loop curve. + +The tolerance is the tolerance used when deciding whether curve ends are coincident and whether a curve and surface are coincident. The supplied tolerance cannot be smaller than any of the tolerances used in the creation of the input PolyCurves. The default value of 0.0 means that the largest tolerance used in the creation of the input PolyCurves will be used. + +In the example below, two loops are trimmed out of a surface, returning two new surfaces highlighted in blue. The number slider adjusts the shape of the new surfaces. + +___ +## Example File + +![Surface.TrimWithEdgeLoops](./Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface,%20loops,%20tolerance)_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance)_img.jpg b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance)_img.jpg new file mode 100644 index 00000000000..726ddd7de98 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Autodesk.DesignScript.Geometry.Surface.TrimWithEdgeLoops(surface, loops, tolerance)_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Tessellation.ConvexHull.ByPoints.md b/doc/distrib/NodeHelpFiles/Tessellation.ConvexHull.ByPoints.md index 4e928212ef0..1bcf6af2c58 100644 --- a/doc/distrib/NodeHelpFiles/Tessellation.ConvexHull.ByPoints.md +++ b/doc/distrib/NodeHelpFiles/Tessellation.ConvexHull.ByPoints.md @@ -1,5 +1,8 @@ ## In Depth -Revit will generate and contour a mesh from a list of supplied points. The points cannot be collinear. +`ConvexHull.ByPoints` returns a list of curves that represent the convex hull of a set of points. + +In the example below, a list of points randomly placed in 3D returns a list of curves representing their convex hull. + ___ ## Example File diff --git a/doc/distrib/NodeHelpFiles/Tessellation.Delaunay.ByParametersOnSurface.md b/doc/distrib/NodeHelpFiles/Tessellation.Delaunay.ByParametersOnSurface.md index 0e96944d147..a908997a665 100644 --- a/doc/distrib/NodeHelpFiles/Tessellation.Delaunay.ByParametersOnSurface.md +++ b/doc/distrib/NodeHelpFiles/Tessellation.Delaunay.ByParametersOnSurface.md @@ -1,5 +1,8 @@ ## In Depth -ByParametersOnSurface will return a Voronoi representation of a surface's UV as a list of curves. In the example below, a Voronoi representation is created on a surface using a UV system of 50 random values. In order for the Voronoi to stop at the edges of the surface, the returned curves must be intersected with the surface. +`Delaunay.ByParametersOnSurface` returns a Delaunay triangulation of an input surface. + +In the example below, a Delaunay triangulation of a NurbsSurface is returned with a UV count of 400. Increasing the UV count will create a better approximation of the underlying surface but with more triangles. + ___ ## Example File diff --git a/doc/distrib/NodeHelpFiles/Tessellation.Delaunay.ByPoints.md b/doc/distrib/NodeHelpFiles/Tessellation.Delaunay.ByPoints.md index 4af97856230..f374176ded2 100644 --- a/doc/distrib/NodeHelpFiles/Tessellation.Delaunay.ByPoints.md +++ b/doc/distrib/NodeHelpFiles/Tessellation.Delaunay.ByPoints.md @@ -1,5 +1,8 @@ ## In Depth -Revit will generate and contour a mesh from a list of supplied points. The points cannot be collinear. +`Delaunay.ByPoints` returns a list of curves that represent the Delaunay triangulation of a set of points. + +In the example below, a list of points randomly placed in 3D returns a list of curves representing their Delaunay triangulation. + ___ ## Example File