diff --git a/extern/Helix3D/NET40/HelixToolkit.Wpf.SharpDX.dll b/extern/Helix3D/NET40/HelixToolkit.Wpf.SharpDX.dll
index 7edd6203b49..c83f5facb22 100644
Binary files a/extern/Helix3D/NET40/HelixToolkit.Wpf.SharpDX.dll and b/extern/Helix3D/NET40/HelixToolkit.Wpf.SharpDX.dll differ
diff --git a/extern/Helix3D/NET40/HelixToolkit.Wpf.dll b/extern/Helix3D/NET40/HelixToolkit.Wpf.dll
index 6f3c600afbf..125328958c0 100644
Binary files a/extern/Helix3D/NET40/HelixToolkit.Wpf.dll and b/extern/Helix3D/NET40/HelixToolkit.Wpf.dll differ
diff --git a/extern/Helix3D/NET40/HelixToolkit.dll b/extern/Helix3D/NET40/HelixToolkit.dll
index b7a769318ca..737673cb86d 100644
Binary files a/extern/Helix3D/NET40/HelixToolkit.dll and b/extern/Helix3D/NET40/HelixToolkit.dll differ
diff --git a/extern/LibG_219/LibG.AsmPreloader.Managed.dll b/extern/LibG_219/LibG.AsmPreloader.Managed.dll
index 11d48207b86..ad2977ed9f5 100644
Binary files a/extern/LibG_219/LibG.AsmPreloader.Managed.dll and b/extern/LibG_219/LibG.AsmPreloader.Managed.dll differ
diff --git a/extern/LibG_219/LibG.AsmPreloader.Unmanaged.dll b/extern/LibG_219/LibG.AsmPreloader.Unmanaged.dll
index 9fae204b944..ac085294167 100644
Binary files a/extern/LibG_219/LibG.AsmPreloader.Unmanaged.dll and b/extern/LibG_219/LibG.AsmPreloader.Unmanaged.dll differ
diff --git a/extern/LibG_219/LibG.Managed.dll b/extern/LibG_219/LibG.Managed.dll
index 9c2052f34ae..e2b0e200097 100644
Binary files a/extern/LibG_219/LibG.Managed.dll and b/extern/LibG_219/LibG.Managed.dll differ
diff --git a/extern/LibG_219/LibG.ProtoInterface.dll b/extern/LibG_219/LibG.ProtoInterface.dll
index 652101ab78a..61ce9221100 100644
Binary files a/extern/LibG_219/LibG.ProtoInterface.dll and b/extern/LibG_219/LibG.ProtoInterface.dll differ
diff --git a/extern/LibG_219/LibG.dll b/extern/LibG_219/LibG.dll
index 80e43073aed..9f3367b3e7d 100644
Binary files a/extern/LibG_219/LibG.dll and b/extern/LibG_219/LibG.dll differ
diff --git a/extern/LibG_219/LibGCore.dll b/extern/LibG_219/LibGCore.dll
index b72406d6587..2bfed0e8857 100644
Binary files a/extern/LibG_219/LibGCore.dll and b/extern/LibG_219/LibGCore.dll differ
diff --git a/extern/LibG_220/LibG.AsmPreloader.Managed.dll b/extern/LibG_220/LibG.AsmPreloader.Managed.dll
index 7b064a78cec..ad2977ed9f5 100644
Binary files a/extern/LibG_220/LibG.AsmPreloader.Managed.dll and b/extern/LibG_220/LibG.AsmPreloader.Managed.dll differ
diff --git a/extern/LibG_220/LibG.AsmPreloader.Unmanaged.dll b/extern/LibG_220/LibG.AsmPreloader.Unmanaged.dll
index d9dd3a86047..e85f07b352c 100644
Binary files a/extern/LibG_220/LibG.AsmPreloader.Unmanaged.dll and b/extern/LibG_220/LibG.AsmPreloader.Unmanaged.dll differ
diff --git a/extern/LibG_220/LibG.Managed.dll b/extern/LibG_220/LibG.Managed.dll
index db15c305583..b34feffb5db 100644
Binary files a/extern/LibG_220/LibG.Managed.dll and b/extern/LibG_220/LibG.Managed.dll differ
diff --git a/extern/LibG_220/LibG.ProtoInterface.dll b/extern/LibG_220/LibG.ProtoInterface.dll
index 98fd1b545c3..6d741018877 100644
Binary files a/extern/LibG_220/LibG.ProtoInterface.dll and b/extern/LibG_220/LibG.ProtoInterface.dll differ
diff --git a/extern/LibG_220/LibG.dll b/extern/LibG_220/LibG.dll
index 739ac451bbb..7f003321480 100644
Binary files a/extern/LibG_220/LibG.dll and b/extern/LibG_220/LibG.dll differ
diff --git a/extern/LibG_220/LibGCore.dll b/extern/LibG_220/LibGCore.dll
index db59d199238..b4bea2ac398 100644
Binary files a/extern/LibG_220/LibGCore.dll and b/extern/LibG_220/LibGCore.dll differ
diff --git a/extern/LibG_221/LibG.AsmPreloader.Managed.dll b/extern/LibG_221/LibG.AsmPreloader.Managed.dll
index 7b064a78cec..ad2977ed9f5 100644
Binary files a/extern/LibG_221/LibG.AsmPreloader.Managed.dll and b/extern/LibG_221/LibG.AsmPreloader.Managed.dll differ
diff --git a/extern/LibG_221/LibG.AsmPreloader.Unmanaged.dll b/extern/LibG_221/LibG.AsmPreloader.Unmanaged.dll
index 2bd9e2c8509..1cee605a90b 100644
Binary files a/extern/LibG_221/LibG.AsmPreloader.Unmanaged.dll and b/extern/LibG_221/LibG.AsmPreloader.Unmanaged.dll differ
diff --git a/extern/LibG_221/LibG.Managed.dll b/extern/LibG_221/LibG.Managed.dll
index da14f1950c0..31aa72b8321 100644
Binary files a/extern/LibG_221/LibG.Managed.dll and b/extern/LibG_221/LibG.Managed.dll differ
diff --git a/extern/LibG_221/LibG.ProtoInterface.dll b/extern/LibG_221/LibG.ProtoInterface.dll
index 2c23c8039a5..b6d0af81152 100644
Binary files a/extern/LibG_221/LibG.ProtoInterface.dll and b/extern/LibG_221/LibG.ProtoInterface.dll differ
diff --git a/extern/LibG_221/LibG.dll b/extern/LibG_221/LibG.dll
index 436617ce6c9..e9494834160 100644
Binary files a/extern/LibG_221/LibG.dll and b/extern/LibG_221/LibG.dll differ
diff --git a/extern/LibG_221/LibGCore.dll b/extern/LibG_221/LibGCore.dll
index 876ef793e61..ab5f5179380 100644
Binary files a/extern/LibG_221/LibGCore.dll and b/extern/LibG_221/LibGCore.dll differ
diff --git a/extern/ProtoGeometry/ProtoGeometry.XML b/extern/ProtoGeometry/ProtoGeometry.XML
index eee743c4b85..64685f0fe12 100644
--- a/extern/ProtoGeometry/ProtoGeometry.XML
+++ b/extern/ProtoGeometry/ProtoGeometry.XML
@@ -334,19 +334,19 @@
true
-
+
true
true
-
+
true
true
-
+
true
@@ -557,20 +557,19 @@
-
- Exports the specified geometry to the given SAT file path
-
- The name of the file to export the geometry to
-
- WARNING: non-ascii characters are not supported in file nams.
+
+ Exports the specified geometry to the given SAT file path
+
+ The name of the file to export the geometry to
+
-
- Exports the specified geometry to the given SAT file path
-
- The name of the file to export the geometry to
-
- WARNING: non-ascii characters are not supported in file nams.
+
+ Exports the specified geometry to the given SAT file path
+
+ The name of the file to export the geometry to
+ The units to use
+
diff --git a/extern/ProtoGeometry/ProtoGeometry.dll b/extern/ProtoGeometry/ProtoGeometry.dll
index 140d30102e9..b4fd564beef 100644
Binary files a/extern/ProtoGeometry/ProtoGeometry.dll and b/extern/ProtoGeometry/ProtoGeometry.dll differ
diff --git a/extern/ProtoGeometry/ProtoInterface.dll b/extern/ProtoGeometry/ProtoInterface.dll
index 92b1625510c..406326ef3f5 100644
Binary files a/extern/ProtoGeometry/ProtoInterface.dll and b/extern/ProtoGeometry/ProtoInterface.dll differ
diff --git a/extern/ProtoGeometry/en-US/ProtoGeometry.resources.dll b/extern/ProtoGeometry/en-US/ProtoGeometry.resources.dll
index 1084cd71e06..0accd6678ab 100644
Binary files a/extern/ProtoGeometry/en-US/ProtoGeometry.resources.dll and b/extern/ProtoGeometry/en-US/ProtoGeometry.resources.dll differ
diff --git a/src/Dynamo.All.2013.sln b/src/Dynamo.All.2013.sln
index 560b7c4050f..7ead5849a17 100644
--- a/src/Dynamo.All.2013.sln
+++ b/src/Dynamo.All.2013.sln
@@ -180,11 +180,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleLibraryZeroTouch", "L
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleLibraryUI", "Libraries\Samples\SampleLibraryUI\SampleLibraryUI.csproj", "{0A4B4EEA-8FAB-4AC8-90D4-27DBC5B0CF2A}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4466E6F6-F644-43AB-96B3-5ECE1622E711}"
- ProjectSection(SolutionItems) = preProject
- Config.xml = Config.xml
- EndProjectSection
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SystemTestServices", "..\test\Libraries\SystemTestServices\SystemTestServices.csproj", "{89563CD0-509B-40A5-8728-9D3EC6FE8410}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleLibraryTests", "Libraries\Samples\SampleLibraryTests\SampleLibraryTests.csproj", "{933B8108-4E74-470A-86C7-4B7F633115B9}"
@@ -207,6 +202,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GeometryUIWpf", "Libraries\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Display", "Libraries\Display\Display.csproj", "{A50C198C-DA6E-4081-BC53-0F44D287F207}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DisplayTests", "..\test\Libraries\DisplayTests\DisplayTests.csproj", "{F8D2E3E5-4505-4463-9367-2EB2629D7DCD}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -445,6 +442,10 @@ Global
{A50C198C-DA6E-4081-BC53-0F44D287F207}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A50C198C-DA6E-4081-BC53-0F44D287F207}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A50C198C-DA6E-4081-BC53-0F44D287F207}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F8D2E3E5-4505-4463-9367-2EB2629D7DCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F8D2E3E5-4505-4463-9367-2EB2629D7DCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F8D2E3E5-4505-4463-9367-2EB2629D7DCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F8D2E3E5-4505-4463-9367-2EB2629D7DCD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -507,5 +508,6 @@ Global
{E674F1A1-BE83-475A-9CC9-F55CADBEC448} = {FA7BE306-A3B0-45FA-9D87-0C69E6932C13}
{C068DE76-0651-4F6C-8807-B90EF749D104} = {FA7BE306-A3B0-45FA-9D87-0C69E6932C13}
{A50C198C-DA6E-4081-BC53-0F44D287F207} = {FA7BE306-A3B0-45FA-9D87-0C69E6932C13}
+ {F8D2E3E5-4505-4463-9367-2EB2629D7DCD} = {0E492D35-2310-4849-9694-A2A53C09F21B}
EndGlobalSection
EndGlobal
diff --git a/src/DynamoCore/Core/PreferenceSettings.cs b/src/DynamoCore/Core/PreferenceSettings.cs
index 21c003e7308..6e46b32b89e 100644
--- a/src/DynamoCore/Core/PreferenceSettings.cs
+++ b/src/DynamoCore/Core/PreferenceSettings.cs
@@ -149,6 +149,11 @@ public int MaxNumRecentFiles
public bool PackageDownloadTouAccepted { get; set; }
///
+ /// Indicates whether surface and solid edges will
+ /// be rendered.
+ ///
+ public bool ShowEdges { get; set; }
+
/// Indicates the default state of the "Open in Manual Mode"
/// checkbox in OpenFileDialog
///
@@ -175,6 +180,7 @@ public PreferenceSettings()
UseHardwareAcceleration = true;
PackageDownloadTouAccepted = false;
maxNumRecentFiles = DefaultMaxNumRecentFiles;
+ ShowEdges = false;
OpenFileInManualExecutionMode = false;
BackupInterval = 60000; // 1 minute
diff --git a/src/DynamoCore/Core/Threading/UpdateRenderPackageAsyncTask.cs b/src/DynamoCore/Core/Threading/UpdateRenderPackageAsyncTask.cs
index b63a734d30e..fffec0da755 100644
--- a/src/DynamoCore/Core/Threading/UpdateRenderPackageAsyncTask.cs
+++ b/src/DynamoCore/Core/Threading/UpdateRenderPackageAsyncTask.cs
@@ -41,7 +41,6 @@ class UpdateRenderPackageAsyncTask : AsyncTask
private const byte DefB = 130;
private const byte DefA = 255;
private const byte MidTone = 180;
- private bool renderEdges = false;
#region Class Data Members and Properties
@@ -169,16 +168,16 @@ private void GetRenderPackagesFromMirrorData(MirrorData mirrorData, bool display
try
{
- graphicItem.Tessellate(package, -1.0, factory.MaxTessellationDivisions);
+ graphicItem.Tessellate(package, factory.TessellationParameters);
- if (renderEdges)
+ if (factory.TessellationParameters.ShowEdges)
{
var surf = graphicItem as Surface;
if (surf != null)
{
foreach (var curve in surf.PerimeterCurves())
{
- curve.Tessellate(package, -1.0, factory.MaxTessellationDivisions);
+ curve.Tessellate(package, factory.TessellationParameters);
curve.Dispose();
}
}
@@ -188,7 +187,7 @@ private void GetRenderPackagesFromMirrorData(MirrorData mirrorData, bool display
{
foreach (var geom in solid.Edges.Select(edge => edge.CurveGeometry))
{
- geom.Tessellate(package, -1.0, factory.MaxTessellationDivisions);
+ geom.Tessellate(package, factory.TessellationParameters);
geom.Dispose();
}
}
diff --git a/src/DynamoCore/Interfaces/IRenderPackageFactory.cs b/src/DynamoCore/Interfaces/IRenderPackageFactory.cs
index 1b480ab304b..0e853c56fa1 100644
--- a/src/DynamoCore/Interfaces/IRenderPackageFactory.cs
+++ b/src/DynamoCore/Interfaces/IRenderPackageFactory.cs
@@ -1,4 +1,5 @@
using Autodesk.DesignScript.Interfaces;
+using Dynamo.Annotations;
namespace Dynamo.Interfaces
{
@@ -10,11 +11,7 @@ namespace Dynamo.Interfaces
///
public interface IRenderPackageFactory
{
- ///
- /// The maximum number of subdivisions of a surface for tesselation.
- /// Used only by methods that tessellate BReps.
- ///
- int MaxTessellationDivisions { get; set; }
+ TessellationParameters TessellationParameters { get; set; }
///
/// Create an IRenderPackage object of the type manufactured by this factory.
diff --git a/src/DynamoCore/Library/LibraryServices.cs b/src/DynamoCore/Library/LibraryServices.cs
index 149f831dd9a..5347eb155d0 100644
--- a/src/DynamoCore/Library/LibraryServices.cs
+++ b/src/DynamoCore/Library/LibraryServices.cs
@@ -1,16 +1,12 @@
using System;
using System.Collections.Generic;
-using System.Diagnostics;
using System.IO;
using System.Linq;
-using System.Text;
using System.Xml;
-using System.Xml.Linq;
using Dynamo.Interfaces;
using Dynamo.Library;
using Dynamo.Utilities;
-using DynamoUtilities;
using ProtoCore.AST.AssociativeAST;
using ProtoCore.BuildData;
@@ -18,10 +14,10 @@
using ProtoCore.Utils;
using ProtoFFI;
-using RestSharp;
using Operator = ProtoCore.DSASM.Operator;
using ProtoCore;
+using ProtoCore.Namespace;
namespace Dynamo.DSEngine
{
@@ -820,7 +816,11 @@ private void ImportProcedure(string library, ProcedureNode proc)
defaultArgumentNode = binaryExpr.RightNode;
}
}
-
+ if (defaultArgumentNode != null)
+ {
+ var rewriter = new ElementRewriter(LibraryManagementCore.ClassTable, LibraryManagementCore.BuildStatus.LogSymbolConflictWarning);
+ defaultArgumentNode = defaultArgumentNode.Accept(rewriter);
+ }
return new TypedParameter(arg.Name, argType, defaultArgumentNode);
}).ToList();
diff --git a/src/DynamoCore/Nodes/DummyNode.cs b/src/DynamoCore/Nodes/DummyNode.cs
index cb034d2b7e6..7cbb843e81c 100644
--- a/src/DynamoCore/Nodes/DummyNode.cs
+++ b/src/DynamoCore/Nodes/DummyNode.cs
@@ -48,6 +48,10 @@ public DummyNode(int inputCount, int outputCount, string legacyName, XmlElement
var helper = new XmlElementHelper(originalElement);
X = helper.ReadDouble("x", 0.0);
Y = helper.ReadDouble("y", 0.0);
+
+ //Take the GUID from the old node (dummy nodes should have their
+ //GUID's. This will allow the Groups to work as expected. MAGN-7568)
+ GUID = helper.ReadGuid("guid", this.GUID);
}
private void LoadNode(XmlNode nodeElement)
diff --git a/src/DynamoCore/Rendering/DefaultRenderPackageFactory.cs b/src/DynamoCore/Rendering/DefaultRenderPackageFactory.cs
index d1c2bd7d02e..29388a8adfe 100644
--- a/src/DynamoCore/Rendering/DefaultRenderPackageFactory.cs
+++ b/src/DynamoCore/Rendering/DefaultRenderPackageFactory.cs
@@ -9,11 +9,14 @@ namespace Dynamo
{
public class DefaultRenderPackageFactory : IRenderPackageFactory
{
- public int MaxTessellationDivisions { get; set; }
+ public TessellationParameters TessellationParameters { get; set; }
public DefaultRenderPackageFactory()
{
- MaxTessellationDivisions = 32;
+ TessellationParameters = new TessellationParameters()
+ {
+ MaxTessellationDivisions = 32
+ };
}
public IRenderPackage CreateRenderPackage()
diff --git a/src/DynamoCore/Utilities/Configurations.cs b/src/DynamoCore/Utilities/Configurations.cs
index 61c8f03e73d..7931d030a43 100644
--- a/src/DynamoCore/Utilities/Configurations.cs
+++ b/src/DynamoCore/Utilities/Configurations.cs
@@ -228,6 +228,12 @@ public class Configurations
#endregion
+ #region InCanvasSearch
+
+ public const double InCanvasSearchTextBoxHeight = 40.0;
+
+ #endregion
+
#region Backup
public static string BackupFileNamePrefix = "backup";
diff --git a/src/DynamoCoreWpf/Controls/IncanvasSearchControl.xaml b/src/DynamoCoreWpf/Controls/IncanvasSearchControl.xaml
index 7014251c358..eb3c686698e 100644
--- a/src/DynamoCoreWpf/Controls/IncanvasSearchControl.xaml
+++ b/src/DynamoCoreWpf/Controls/IncanvasSearchControl.xaml
@@ -6,10 +6,11 @@
xmlns:controls="clr-namespace:Dynamo.Controls"
xmlns:views="clr-namespace:Dynamo.UI.Views"
xmlns:ui="clr-namespace:Dynamo.UI"
+ xmlns:uicontrols="clr-namespace:Dynamo.UI.Controls"
xmlns:resx="clr-namespace:Dynamo.Properties;assembly=DynamoCore"
xmlns:viewmodels="clr-namespace:Dynamo.ViewModels;assembly=DynamoCoreWpf"
mc:Ignorable="d"
- Width="250"
+ MinWidth="250"
IsVisibleChanged="OnInCanvasSearchControlVisibilityChanged">
@@ -24,6 +25,10 @@
TargetType="{x:Type ListBoxItem}">
+
+