Commit Graph

1139 Commits

Author SHA1 Message Date
Claire Kuang 94de06e842 Update SpecklePropertyGoo.cs 2025-06-30 15:08:43 +01:00
Björn Steinhagen 641f6fcc76 fix(grasshopper): prevent duplicate nested block instances in receive (#958)
* fix: `consumedObjectIds` tracking preventing duplicate nested block instances

* refactor: remove redundant `isDefinitionObject` logic
2025-06-30 13:48:10 +01:00
Björn Steinhagen 65313008a4 fix(grasshopper): receive pipeline polish (#957)
* fix: loading, publish and query

* docs: explanations

* fix: format

* docs: remove old comment

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2025-06-29 16:19:47 +02:00
Claire Kuang f5ad1cff39 fix(grasshopper): a bunch of instance vs object casting issues (#954)
* adds instance converter and filter objects casting helper

* adds missing casting an fixes casting to speckle object passthrough

* cleans up more casting logic

* more casting fixes

* Update InstanceReferenceGeometryToSpeckleConverter.cs

* fixes goos inputs and outputs for expand collection, query, filter, etc

* removes deep copying from casting

* more mutations on object passthrough

* fixes missing model object instance  casting properties

* fixes build

* model instance and def casting issues for nesting

* im literally crying

* Update InstanceReferenceGeometryToSpeckleConverter.cs

* fix: POC disabling cyclomatic complexity

* refactors speckle object code to reduce complexity

* further strips model object casting since rhino objects can be passed as model objects

* light at the end of the tunnel

* last commit i swear

fixes model insstance casting since this actually registers as IGH_GeometricGoo of type reference

* last LAST commit on god

---------

Co-authored-by: Björn Steinhagen <steinhagen.bjoern@gmail.com>
2025-06-29 11:47:26 +02:00
Claire Kuang 5670b8e99e Merge branch 'dev' into bjorn/cnx-1625-blocks-in-gh8 2025-06-27 20:06:26 +01:00
Oğuzhan Koral 2adfee6f49 Reset menu list on closed according to search text (#956) 2025-06-27 19:14:23 +01:00
kekesidavid 4bb67318a8 feat(revit): Reference Point Setting on Receive (#948)
* Receive settings

* wip

* wip

* resolved warnings

* cleanup

* cleanup

* netlify url restored

* review comments fixed

---------

Co-authored-by: oguzhankoral <oguzhankoral@gmail.com>
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2025-06-27 13:53:30 +02:00
Björn 39c4f2c7d4 chore: removing todo comments 2025-06-26 23:09:49 +02:00
Björn Steinhagen c2bb8b319d fix(grasshopper): improve block instance preview for nested instances (#951)
* fix: display block instances

- problem on deeply nested instances
- good poc

* chore: missing method in block definition

* fix: re-instating changes after param classes refactor

* fix: add 3-level depth limit for block instance DrawPreview methods

* fixes collection preview and some isvalid props

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2025-06-26 17:46:34 +01:00
Björn 2e2c8e1732 fix: throw if id null
review comment
2025-06-26 17:18:04 +02:00
Björn 6e6e737807 fix: auto-sync block instance definition references 2025-06-26 16:55:01 +02:00
Björn 8c8320ea75 fix: url broken 2025-06-26 15:54:24 +02:00
Björn 4d81bce0ea fix: preserve id in SpeckleBlockInstanceWrapper round-trip casting 2025-06-26 14:00:02 +02:00
Björn d513187acd fix: SpeckleBlockInstanceWrapper inheritance in DeepCopy() 2025-06-26 12:59:41 +02:00
Björn af3810bc98 chore: xml comment on the parameterless constructor 2025-06-26 11:14:04 +02:00
Claire Kuang 02f3c1c3fa Merge branch 'dev' into bjorn/cnx-1625-blocks-in-gh8 2025-06-26 01:58:20 +01:00
Claire Kuang 31c63cce22 moves all param classes to their own file (#950) 2025-06-26 01:37:43 +01:00
Claire Kuang f94acec6a5 adds create goo to wrapper class
also adds missing instance casting to create collection
2025-06-25 22:01:01 +01:00
Björn Steinhagen 093dbc826b feat(grasshopper): update load to handle blocks (#947)
* feat: block recognition in receive pipeline

* feat: `GrasshopperBlockUnpacker`

* feat: working nested blocks and removing `LocalToGlobalUnpacker`

* chore: cleanup

* refactor: remove unnecessary check

* refactor: better naming

* pr review fixes

* adds colors and materials to instance and defs on load

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2025-06-25 16:32:13 +01:00
Claire Kuang 5edaee1fa8 feat(grasshopper): adds color and materials to instances (#945)
* adds color and materials to instances

also includes refactoring for passthrough nodes

* some more appid and name changes

* removes unnecessary casting

also fixes some bugs with missing applicationIds on cast

* Update SpeckleBlockInstanceWrapper.ModelObjects.cs

* Update SpeckleBlockInstancePassthrough.cs

* fixes broken url
2025-06-25 14:26:09 +01:00
Claire Kuang 54b14b8bc9 fix dev merge changes 2025-06-25 11:20:26 +01:00
Claire Kuang a7ab4915c3 Merge branch 'dev' into bjorn/cnx-1625-blocks-in-gh8 2025-06-25 11:09:21 +01:00
Adam Hathcock dadf07a3c3 Detect by OS, Windows only (#943) 2025-06-25 10:51:13 +01:00
Claire Kuang 7f6c8bb1a3 fix(grasshopper): deconstructing collections now has elements (#946)
* Update DeconstructSpeckleParam.cs

* Update DeconstructSpeckleParam.cs
2025-06-25 09:24:52 +00:00
Adam Hathcock eb8db87d9f feat (Grasshopper) dev enable account auth by dev token (#937)
* adds url by token component

* Add gubbins for passing Account objects and AccountResource objects to include token usage

* format

* add bits to make things work?

* revert usage of SpeckleApplication

* review fixes

* more reverts

* Fix tests

* token is correct now

* fix build

* fixes url resource exception and adds new icon

* Made model cards dumb and moved conversions

* can build NW

* actually, remove dead code

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2025-06-25 08:42:37 +00:00
Claire Kuang bf91a8d6a3 chore(grasshopper): various touchups (#942)
* adds view in browser and exposures

* updates categories

* removes obscure
2025-06-24 11:35:40 +01:00
Oğuzhan Koral bce949951c Scale elevation with internal (#941) 2025-06-23 18:58:04 +03:00
Oğuzhan Koral 744b185cfe Feat(revit): proxify levels with their all props (#940)
* Unpack levels as proxy

* Dynamically attach elevation and units to data object

* Do not add level properties to collection

* Bump SDK to 3.4.3
2025-06-23 17:48:18 +03:00
Björn 03d231b056 Merge branch 'dev' into bjorn/cnx-1625-blocks-in-gh8 2025-06-23 15:31:27 +02:00
Björn Steinhagen 445e10dbb4 feat(grasshopper): nested block support (#934) 2025-06-23 14:55:47 +02:00
Adam Hathcock 8919ba2491 Merge pull request #939 from specklesystems/adam/revert-non-windows-build
Revert "(feat) non windows building (#935)"
2025-06-23 15:48:25 +03:00
Claire Kuang fc82dda558 fix(rhino): toolbar now loads in rhino 7 (#932)
* Update Speckle.Connectors.Rhino.rui

* Update Speckle.Connectors.Rhino.rui

* Update Speckle.Connectors.Rhino.rui
2025-06-23 11:44:33 +00:00
Björn c58a8d2757 Merge branch 'dev' into bjorn/cnx-1625-blocks-in-gh8 2025-06-23 12:31:31 +02:00
Claire Kuang d70fe9df73 adds latest version handlers (#938)
and reformats dividers and toolstrips
2025-06-23 09:56:43 +01:00
Claire Kuang d2c78695fe adds owner selected to collection and object param (#933)
also changes the output type of create collection to be a collection param, to enable previewing

Co-authored-by: Björn Steinhagen <steinhagen.bjoern@gmail.com>
2025-06-20 14:29:28 +01:00
Adam Hathcock 4aa087e38d (feat) non windows building (#935)
* add check for non-windows building

* Remove mac solution
2025-06-20 12:49:23 +01:00
Adam Hathcock a3cbb1bcb6 Merge pull request #936 from specklesystems/adam/recieve-spam
Don't mark cancelled or conversion exceptions as errors
2025-06-20 12:48:43 +01:00
Adam Hathcock 60823dda97 Remove error from test 2025-06-20 10:59:08 +01:00
Adam Hathcock 40650bfed2 Don't mark cancelled or conversion exceptions as errors 2025-06-20 10:38:48 +01:00
Claire Kuang b0423af14b feat(grasshopper): adds create properties by keyvalue (#930)
* adds keyvalue component

* fixes some bugs

* more bugs

* adds modes to speckle props passthrough node

* Update Speckle.Connectors.GrasshopperShared.projitems

* adds new icon

* removes unused method
2025-06-20 08:14:14 +00:00
kekesidavid 636af5c7c2 fix (civil3d) extract properties from c3d block references (#931)
* extract properties from c3d block references

* cleans up property set structure and adds properties to autocad root to speckle

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2025-06-19 14:19:39 +01:00
Jedd Morgan efc532fce0 refactor(grsashopper): Update grasshopper async to 2.0.1 (#919)
* easy changes

* generics are fun

* second pass

* reverted cancellation changes

* bring back receive

* ConfigureAwait(false);

* worker count

* lock files, that will need to be changed before pr

* updates

* notnull

* minor tweaks

* made stable tag

* locks

* locks

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2025-06-19 06:24:26 +00:00
Claire Kuang dfb75d98c1 adds new icons for blocks 2025-06-18 20:11:35 +01:00
Claire Kuang a93f9e9c42 Merge branch 'dev' into bjorn/cnx-1625-blocks-in-gh8 2025-06-18 19:51:58 +01:00
Claire Kuang 4bf54550aa Update EllipseToHostConverter.cs (#929) 2025-06-17 15:06:31 +00:00
Björn cd8dab48ae Merge remote-tracking branch 'origin/dev' into bjorn/cnx-1625-blocks-in-gh8 2025-06-17 16:22:12 +02:00
Björn Steinhagen a78c8962be refactor(grasshopper): make SpeckleBlockInstanceWrapper inherit from SpeckleObjectWrapper (#917)
* feat: first pass

* fix: deconstruct speckle params

* refactor: cleanup

* docs: `GeometryBase`note on `SpeckleBlockInstanceWrapper`

* refactor: CreateGoo() to remove type checking in ExpandCollection

* refactor: incorporating pr comments

* fixes deconstruct component

adds removed support for materials and collections

consolidates logic for name and output creation

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2025-06-17 16:19:08 +02:00
Claire Kuang 43773c63eb feat(grasshopper): adds variable type outputs to the query objects node (#926)
* adds type outputs to query node

* Update Speckle.Connectors.GrasshopperShared.projitems

* fixes output param creation bug

* fixes last index bug

* removes speckle exception from query node

* adds better error
2025-06-17 13:57:31 +01:00
Jonathon Broughton 9be0cd8c6e feat(Navisworks): CNX-2009 - Adds saved views filter to Navisworks send operations (#927)
* Refactors hierarchical name building for saved items

Moves hierarchical name construction to a new helper class.

Modifies the selection set filtering logic to enhance clarity.
Updates the root item handling to streamline the recursive logic.

Improves code maintainability and readability.

* Adds saved views filter for object selection

Implements a new filter to manage saved views in the application.

Enables users to select and manage saved viewpoints effectively.
Implements logic to resolve saved views and collect visible object IDs based on current selections, enhancing the user experience in managing views.

Improves selection efficiency and overall usability.

* Adds new view filter for sending operations

Updates service registration to include the new filter for improved data handling.
2025-06-17 08:23:05 +01:00
Claire Kuang a91ecd9e88 Merge branch 'dev' into bjorn/cnx-1625-blocks-in-gh8 2025-06-16 20:37:05 +01:00