You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BH.oM.Geometry.NurbsSurface definition has been extended with additional properties in order to handle trims + IImmutable interface has been implemented
All Adapter actions (Push, Pull, etc) now live in different files (Push.cs, Pull.cs, etc) in a folder named AdapterActions.
The Delete Adapter Action now lives in a file (temporarily?) named Remove.cs, while awaiting on the decision on a better naming to distinguish it from the CRUD delete. Discussion here.
Removed the UpdateProperty Adapter Action, as discussed here.
Added a dispatch pattern in the Pull() that calls the appropriate Read()/ReadResults() method depending on the base parent type of the provided request, using as dynamic.
These Read methods will now be required in single Toolkit implementations in order for the Read to work with different types of Requests. The appropriate read method will now be called by the as dynamic pattern in the Pull, as introduced above in the "Adapter Actions" changes.
Made all CRUD Wrapper Methods virtual for consistency.
Tidy up in the arrangement of the CRUD methods:
Moved the "Protected Abstract CRUD Methods" in their respective files in the CRUD folder (Create.cs, Read.cs, etc.). From now on, we will call those Basic CRUD methods.
Renamed the UpdateOnly.cs file to Update.cs.
Moved the UpdateProperty in the same file as the UpdateOnly, Update.cs.
Added comment sections to clearly separate Basic CRUD methods and Wrapper CRUD methods. Wrapper methods are now those that are meant to add some functionality and then call the Basic CRUD method.
Added comments to clarify when such or such method should be implemented/overridden
Adapter properties:
Deleted the superseded ErrorLog Adapter property.
Changes to the Adapter Config public property:
Renamed SeparateProperties to HandleDependencies. Changed its default value from False to True.
Changed the default value of ProcessInMemory from True to False.
Removed MergeWithComparer property. It was never used.
Adapter other methods:
Renamed Replace() method to CRUD()
File_Adapter:
File_Adapter: changes to comply with the changes above.
File_Adapter: removed the Legacy folder and its content (was all commented/unused code).
Added a WrapNonBHoMObjects() method. Wraps nonBHoMObjects into Custom BHoM Objects so they can make use of the Adapter Replace/Crud methods as the BHoMObjects (they get an ID, CustomData, etc).
Added AdapterConfig.WrapNonBHoMObjects that defines default Toolkit behaviour for that method. Defaults to false, as it should be used only in few specific Toolkits.
Added a push config boolean option that overrides the default AdapterConfig setting if specified, so the user has control over the specific Push case.
Adding checks for all ratios used to generate section profiles, raising error messages and returning null if the provided values does not generate a functioning profile.
Make sure that when using the keyboard to navigate the BHoM menu, the component is not created at the mouse cursor location, but at the location of the top left corner of the menu
Capitalized Etabs namespaces where not all cap, so they are all ETABS; only exceptions are those things that want PascalCase/camelCase (i.e. object names)
Changed calls to the now superseded ErrorLog to use Reflection.RecordError
Removed GetNextIdOfType() which is no longer used because NextId() has been disabled.
BH.Engine.Adapters.Revit.Create.ModelInstance() methods were added for locations of type ISurface and ISolid
A method converting ModelInstance with location of type ISurface or ISolid to a Brepbased DirectShape has been added together with necessary helper methods
BH.UI.Revit.Engine.Query.Discipline methods have been deprecated and moved to BH.Engine.Adapters.Revit.Query
return type of Query.Discipline methods originally sitting in BH.Engine.Adapters.Revit.Query has been changed from a nullable to nonnullable enum (Discipline.Undefined is returned instead of null now)
BHoM
IObject
instead ofIBHoMObject
IsEqualConfig
moved from Testing_oM to Diffing_oM, renamed toDiffConfig
DiffConfig
now that is specific for the diffingDiffConfig StreamDiffConfig
property to store the default settingsData.oM.IResultRequest
for all result extraction requests.BH.oM.Structure.Requests.BarResultRequest
for controlling extraction of BarResultsBH.oM.Structure.Requests.NodeResultRequest
for controlling extraction of NodeResultsBH.oM.Structure.Requests.MeshResultRequest
for controlling extraction of MeshResultsBH.oM.Structure.Requests.GlobalResultRequest
for controlling extraction of Global reactions and Modal resultsIObject
has been implemented byDBSCANObject
DeepLearning
namespace to the BHoM and some simple concepts:Graph
andSequential
BHoMObject
from Environment FragmentsFragmentSet
class that inherits fromKeyedCollection
to store the Fragments.KeyedCollection<Type, IBHoMFragment>
instead ofList<IBHoMFragment>
in IBHoMObject interface and BHoMObject classBH.oM.Geometry.SurfaceTrim
class has been addedBH.oM.Geometry.NurbsSurface
definition has been extended with additional properties in order to handle trims +IImmutable
interface has been implementedVertex
which contains aPoint
and aColor
RenderMesh
which contains aList<Vertex>
and aList<Face>
CrudConfig
; FragmentSet implementsIObject
.IResultCollection : IResult
BHoM_Adapter
AdapterActions
.Delete
Adapter Action now lives in a file (temporarily?) namedRemove.cs
, while awaiting on the decision on a better naming to distinguish it from the CRUD delete. Discussion here.UpdateProperty
Adapter Action, as discussed here.Pull()
that calls the appropriateRead()
/ReadResults()
method depending on the base parent type of the providedrequest
, usingas dynamic
.replaceAll
from theCreate()
method signature. It was never properly used.protected virtual Read(IRequest)
Wrapper virtual methodprotected virtual ReadResult(IRequest)
Wrapper virtual methodas dynamic
pattern in the Pull, as introduced above in the "Adapter Actions" changes.virtual
for consistency.Create.cs
,Read.cs
, etc.). From now on, we will call those Basic CRUD methods.UpdateOnly.cs
file toUpdate.cs
.Update.cs
.ErrorLog
Adapter property.Config
public property:SeparateProperties
toHandleDependencies
. Changed its default value from False to True.ProcessInMemory
from True to False.MergeWithComparer
property. It was never used.Replace()
method toCRUD()
Legacy
folder and its content (was all commented/unused code).WrapNonBHoMObjects()
method. Wraps nonBHoMObjects into Custom BHoM Objects so they can make use of the Adapter Replace/Crud methods as the BHoMObjects (they get an ID, CustomData, etc).AdapterConfig.WrapNonBHoMObjects
that defines default Toolkit behaviour for that method. Defaults to false, as it should be used only in few specific Toolkits.config
boolean option that overrides the defaultAdapterConfig
setting if specified, so the user has control over the specific Push case.AdapterId
was not being mapped to alldependencyObjects
causing an error when pushing objects with dependencies.BHoM_Engine
GetAllFragments
engine method useful for testingDiffConfig
class (formerlyIsEqualConfig
in the Test_oM)DiffConfig
inputDiffConfig
classList<IBHoMObject>
and one from 2D table with header values.Engine.Reflection.IsDeprecated(MethodBase)
now also checks if the class is deprecatedEngine.Reflection.IsDeprecated(MethodBase)
now also checks if the class is deprecatedCreate.OrientationMatrixGlobalToLocal()
public method added in theGeometry_Engine
forCartesian
classCreate.OrientationMatrixLocalToGlobal()
public method added in theGeometry_Engine
forCartesian
classCreate.OrientationMatrix()
public method added in theGeometry_Engine
forCartesian
classModify.Orient()
generic public method added in theGeometry_Engine
forIGeometry
classModify.Rotate()
public method added in theGeometry_Engine
forEllipse
classModify.Scale()
public method added in theGeometry_Engine
forEllipse
classModify.Translate()
public method added in theGeometry_Engine
forEllipse
classModify.Transform()
public methods updated in theGeometry_Engine
forArc
,Circle
andEllipse
classModify.IsUniformScaling()
private method added in theGeometry_Engine
forTransformMatrix
classModify.Offset()
public methods added in theGeometry_Engine
forLine
,Arc
,Circle
,Polyline
andPolyCurve
classesModify.Extend()
public method deprecated in theGeometry_Engine
forLine
class.Modify.Extend()
public methods added in theGeometry_Engine
forLine
,Arc
,Circle
,Ellipse
,NurbsCurve
,Polyline
,PolyCurve
andICurve
classes.Modify.ExtendTangent()
private methods added in theGeometry_Engine
forArc
andPolyCurve
classesModify.ExtendToPoint()
private method added in theGeometry_Engine
forICurve
class, but really works only onLine
andArc
classes.Modify.Fillet()
private method added in theGeometry_Engine
forICurve
class, but really works only onLine
andArc
classes.Convert.NurbsForms()
public methods implemented in theGeometry_Engine
forArc
,Circle
,Ellipse
,Line
,NurbsCurve
,Polyline
andICurve
classes.NurbCurve.cs
file renamed toNurbsCurve.cs
.Create.NurbsCurve()
method implemented in theGeometry_Engine
.Modify.Rotate()
public method implemented in theGeometry_Engine
forNurbsCurve
class.Modify.Scale()
public method implemented in theGeometry_Engine
forNurbsCurve
class.Modify.Translate()
public method implemented in theGeometry_Engine
forNurbsCurve
class.Modify.Transform()
public method implemented in theGeometry_Engine
forNurbsCurve
class.Compute.BooleanUnion()
Compute method updated in theGeometry_Engine
forPolyline
classCompute.BooleanUnion()
Compute method updated in theGeometry_Engine
forICurve
classModify.SplitAtPoints()
Modify method updated in theGeometry_Engine
forArc
classModify.SplitAtPoints()
Modify method updated in theGeometry_Engine
forCircle
classGeometry()
query method added toBH.oM.Geometry.SettingOut.Grid
BH.Engine.Geometry.Compute.CurveProximity(Line, Circle)
coplanar curve edge case bug fixedCreate.Ellipse()
public method was updated inGeometry.Engine()
BH.Engine.Geometry.Query.IsPeriodic
method added forBH.oM.Geometry.NurbsCurve
BH.Engine.Geometry.Compute.FitPlane
methods added forBH.oM.Geometry.NurbsCurve
andBH.oM.Geometry.Ellipse
BH.Engine.Geometry.Query.Degrees(this NurbsSurface surf)
has been removed.BH.Engine.Geometry.Query.IsClosed(this NurbsSurface surface)
has been added.BH.Engine.Geometry.Query.IsPeriodic(this NurbsSurface surface)
has been added.EnumValues()
method has been added inBH.Engine.Reflection.Query
G
public static IGeometry Geometry(this object section)
is now privateSVG_Engine
renamed toGraphics_Engine
, to align withGraphics_oM
Gradient
added as a create method toGraphics_Engine
Color
added toQuery
to retrieve aColor
from a value, either within the base range (0 to 1) or a specified oneBHoM_UI
ComponentRequest
has a location when menu is navigated via keyboard inputsglobal
namespaceglobal
namespace.Global
category.AssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
Dynamo_Toolkit
AssemblyInfo.cs
files for all projects updated with new versionNurbsCurve
conversion to DesignScript has been fixed to accept knot vectors not starting with 0NurbsSurface
conversion was extended to attempt to add trimsETABS_Toolkit
Etabs
namespaces where not all cap, so they are allETABS
; only exceptions are those things that want PascalCase/camelCase (i.e. object names)ErrorLog
to use Reflection.RecordErrorGetNextIdOfType()
which is no longer used becauseNextId()
has been disabled.AssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
Excel_Toolkit
AssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
Grasshopper_Toolkit
Explode
does not refresh continuously if an empty structure is plugged inCreateType
maintains the banner now after serialisation/deserialisation routinesAssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
AssemblyInfo.cs
file of the Grasshopper_UI project into theProperties
folderGSA_Toolkit
AssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
Lusas_Toolkit
FabricatedISection
was being used as theTopFlangeWidth
AssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
Mongo_Toolkit
MongoAdapter
fromconnectionString
now checks if the connections is actually validMongoAdapter
fromhost
andport
now checks if the connections is actually validRAM_Toolkit
AssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
Revit_Toolkit
AssemblyInfo.cs
files updated with the latest version for all the projectsinternal
methods inBH.UI.Revit.Engine
that are possibly useful outside Revit_Toolkit were madepublic
BH.UI.Revit.Engine.Modify.AppendBuiltInCategories
method name has been changed toAppend
BH.UI.Revit.Engine.Convert.ToBHoMLevel
has been changed fromBHoMObject
toBH.oM.Geometry.SettingOut.Level
BH.UI.Revit.Engine.Convert.ToBHoMGrid
has been changed fromBHoMObject
toBH.oM.Geometry.SettingOut.Grid
BH.UI.Revit.Engine.Query.SpatialElementIds
BH.UI.Revit.Engine.Query.RevitType
BH.UI.Revit.Engine.Query.BuiltInCategory
- first two methodsBH.UI.Revit.Engine.Convert.ToRevitElementType
BH.Engine.Adapters.Revit.Create.ModelInstance()
methods were added for locations of typeISurface
andISolid
ModelInstance
with location of typeISurface
orISolid
to a Brepbased DirectShape has been added together with necessary helper methodsBH.UI.Revit.Engine.Query.Discipline
methods have been deprecated and moved toBH.Engine.Adapters.Revit.Query
Query.Discipline
methods originally sitting inBH.Engine.Adapters.Revit.Query
has been changed from a nullable to nonnullable enum (Discipline.Undefined
is returned instead ofnull
now)*.csproj
files changed to include new way of referencing Revit dllpackages.config
removedRevit_Toolkit.sln
updated to include Debug2020 and Release2020 Solution Configurationsa
andp
prefixes from variable namesBH.UI.Revit.Engine.Query.BHoMUnitType(UnitType)
has been addedRhinoceros_Toolkit
NurbsSurface
definition.Engine.Rhinoceros.ToRhino(PolyCurve polycurve)
now returnsnull
if the input curve is made of disconnected segments.ToRhino
forRenderMesh
ToRhino
forVertex
(which are in aRenderMesh
)AssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
Robot_Toolkit
SurfaceProperties
are returned as ConstantThickness proeprties with NaN thickness. Warning raised to state that this has happened.AssemblyFileVersion
to3.0.0.0
AssemblyVersion
to3.0.0.0
Socket_Toolkit
TAS_Toolkit
ErrorLog.Add
withEngine.Reflection.Compute.RecordError
.TriangleNet_Toolkit
XML_Toolkit
The text was updated successfully, but these errors were encountered: