Commit Graph

48 Commits

Author SHA1 Message Date
KatKatKateryna 802a109abd AGIS receive obj without appId (#172)
* receive obj without appId

* style: better if conditions? (#175)

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-08-20 14:51:50 +00:00
Dimitrie Stefanescu dbc359f0e4 Dim/revit materials (#149)
* chore: cleans up display value extractor

removes transform references and checks for groups, as objects are ungrouped by that point

* feat: generates render material proxy maps in revit send

* chore: removes unused code

* feat(revit): material proxies wip

* wip

* removes unused converted cache

* wip

* chore: cleanup part 1

* chore: finished cleanup (moved revit render material proxy cache out)

* fix(revit): invalid progress reporting on send

* feat(rhino): adds rhino support for revit proxy materials

* fix(acad): checks group names for invalid chars

* fix(acad): checks material name for invalid chars

* feat(acad): adds support for baking fallback objects properly

including materials!

* wip: arcgis support for multiple fallback values

* Fix build errors (#166)

* fix: arcgis

---------

Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-19 16:14:09 +01:00
Jedd Morgan 5c3249ca0b Required keyword on various object models (#159)
* Polyline & curve required

* More objects

* default domain

* bumped deps

* revit units stack for boundry seg

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2024-08-16 14:32:05 +00:00
Jedd Morgan 7044014a73 Cleaned up cancellation token source usages (#156) 2024-08-16 07:44:17 +00:00
Adam Hathcock cd3944cbb8 Adam/cxpla 16 dry alignment of connector settings for hostapp slugs (#144)
* Revit redone

* ArcGIS and Rhino

* Remove settings

* Fixed warnings
2024-08-15 14:07:30 +02:00
Adam Hathcock be572a20af Add Progress for download and deserialization (#151)
* First pass using ProgressDisplayManager

* update for local

* Change root reporting

* fmt

* add upload reporting and remove unknown progress

* fix locks

* add tests

* FIx local sln
2024-08-15 10:45:45 +00:00
Adam Hathcock 42b6f297f5 Update SDK to 103 (#152) 2024-08-14 16:20:09 +00:00
Oğuzhan Koral df13216cf4 Bump objects and sdk version to 3.1.0-dev.102 (#148) 2024-08-14 07:25:49 +00:00
Jedd Morgan d25272f5af Use Operations.Send over SendHelper (#140) 2024-08-13 11:07:47 +00:00
Oğuzhan Koral db60e3e725 Clear the cache on doc swap (#139) 2024-08-12 19:18:51 +00:00
Jedd Morgan 7f717585c9 bump deps (#134) 2024-08-12 16:52:10 +00:00
Adam Hathcock d4c47a050f Add more Rhino activities and update SDK (#124)
* Add more Rhino activities and update SDK

* update lock files

* fmt

---------

Co-authored-by: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com>
2024-08-08 18:58:52 +01:00
Claire Kuang 158027eb72 feat(autocad): CNX-23 render materials on send and receive (#117)
* adds color manager to autocad

* injects color manager

* adds colors to objects on receive

* Fixes setting layer colors on receive

* fixes layer colors and adds color to objects

* autocad color bugs

* merge errors

* object ids fix

* adds application id to autocad layers

* object ids bug

* reduces type complexity on send

* initializes collection cache to empty

* Update RhinoColorManager.cs

* layer bug

* adds materials to autocad on send

* skips inherited materials on send

* adds render materials as (color, transparency) on receive, and refactors groups to reduce complexity

* adds render material conversion to material

* fixes material bugs on receive

* fixes rhino render material receive default bug

* adds missing colors and materials to instances

* minor suggestions + semantics (#120)

* namespace changes

* Update AutocadInstanceObjectManager.cs

* fix: blocks

* Dim/cnx 23 fixes (#123)

* feat: simplification on the rhino side

* chore: removes stale code

* chore: moves colors next to materials

* chore: removes unused file

* chore: actually just stylistic changes

* feat: passes in material and color manager to layer manager by DI

* fix: forgot to stage this last change

* fix: typos, renaming + deleting stale code

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-08-08 16:56:11 +00:00
Adam Hathcock 92af8677e9 Update to Sdk 3.1.0-dev.95 (#122) 2024-08-08 13:59:21 +01:00
Adam Hathcock 891a18819b React to sdk renaming (#113)
* react to renamespacing

* merge dev

* fmt

* initialize things with typeloader

* autocad initialization

* add arcgis

* add more projects to local

* instrument rhino more

* update nugets

* fmt
2024-08-08 10:32:01 +00:00
Adam Hathcock 3cb527667c Rhino otel (#112)
* add autocad beginnings

* WIP on DUI3-316-AutoCAD-Civil3d-SideBySide-Run-DUI3-and-DUI2-together

* Rhino 7 basics

* fix targets

* launch rhp

* intermediate commit

* intermediate commit

* Logger for Speckle.Logging

* Use nugets

* adjust dependencies

* Build fix

* merge fixes

* oops, two classes

* more receive instrumentation

* instrument to otel but not seq

* adds color manager to autocad

* injects color manager

* adds colors to objects on receive

* merge fixes

* add config for otel

* fmt

* Fixes setting layer colors on receive

* fixes layer colors and adds color to objects

* autocad color bugs

* merge errors

* object ids fix

* adds application id to autocad layers

* object ids bug

* reduces type complexity on send

* initializes collection cache to empty

* Update RhinoColorManager.cs

* react to sdk changes

* Update nugets

* remove serilog again

* fmt

* Rhino 7/8 now initializes logs same as Revit

* more instrumenting

* remove post-bulid copy step

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2024-08-07 13:37:33 +01:00
Adam Hathcock 5f9c718056 Logging using ILRepack and start of Open Telemetry usage (#89)
* add autocad beginnings

* WIP on DUI3-316-AutoCAD-Civil3d-SideBySide-Run-DUI3-and-DUI2-together

* Rhino 7 basics

* fix targets

* launch rhp

* intermediate commit

* intermediate commit

* Logger for Speckle.Logging

* Use nugets

* adjust dependencies

* Build fix

* merge fixes

* oops, two classes

* more receive instrumentation

* instrument to otel but not seq

* adds color manager to autocad

* injects color manager

* adds colors to objects on receive

* merge fixes

* add config for otel

* fmt

* Fixes setting layer colors on receive

* fixes layer colors and adds color to objects

* autocad color bugs

* merge errors

* object ids fix

* adds application id to autocad layers

* object ids bug

* reduces type complexity on send

* initializes collection cache to empty

* Update RhinoColorManager.cs

* react to sdk changes

* Update nugets

* remove serilog again

* fmt

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2024-08-07 11:56:55 +00:00
Oğuzhan Koral dfe2f71b67 Feat(dui3): CNX-182 upload download progress updates (#111)
* Downloading progress

* chore(dui3): comprise solution

* note re cnx-202

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-08-07 11:10:28 +00:00
Claire Kuang cea5750cae feat(autocad/rhino): CNX-162 CNX-163 adds color proxies on send and receive (#104)
* adds color manager to autocad

* injects color manager

* adds colors to objects on receive

* Fixes setting layer colors on receive

* fixes layer colors and adds color to objects

* autocad color bugs

* merge errors

* object ids fix

* adds application id to autocad layers

* object ids bug

* reduces type complexity on send

* initializes collection cache to empty

* Update RhinoColorManager.cs

* layer bug

---------

Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-06 16:46:55 +01:00
KatKatKateryna bf0f2b3884 All operations: split main tread operations (ArcGIS, Rhino, Revit, Aacad) (#94)
* remove sync to main thread on Receive Operation

* non-gis datasets writing - to main thread

* map layers - on main thread

* gis & non-gis converters - to main thread

* Revert "non-gis datasets writing - to main thread"

This reverts commit 9b10a9ec99.

* all to main thread

* async host installer

* RootObjectBuilder uses Task now for sending

* move subscriptions to new layers to Send event

* Send to async

* spaces on conflict merge

* format

---------

Co-authored-by: Adam Hathcock <adam@speckle.systems>
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-03 13:09:22 +03:00
Dimitrie Stefanescu ad9fb2d4be Dimitrie/cnx 34 implement in revit send (#86)
* feat(dui3): selection unpacker + removes wall hosted elems

* feat(dui3): removes hosted elems converter usage from all elements

* chore(dui3): refactors out hosted element converter

* fix(dui3): correctly unpacks and packs groups and curtain walls

+ comments

* feat(dui3): adds type sub-path to sent elements

* fix(dui3): fixes rhino layer creation

* feat(dui3): removes traverse with progress from hopefully everywhere
2024-08-02 17:42:36 +00:00
Adam Hathcock 36cfa1d6fd Ilrepack update with logging only (#92)
* Update dependencies for SDK to latest

* Adjust code to build

* rework logger

* mark as sealed to drop warning suppressions
2024-08-01 11:53:45 +00:00
Oğuzhan Koral 8a9ada020b Rhino 8 support (#84)
* Split Rhino and Shared for 8 version

* Make plugin and command version agnostic

* Make it partially work

* Successful send from Rhino 8

* Fix rhino8 (#85)

* Regen lock files

* use BoxFactory again with generated types

* fmt

* Project settings for targets for x64 and copy

---------

Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com>
2024-07-31 18:05:00 +03:00
Oğuzhan Koral a5d0b861c2 Feat(arcgis): Receive new blocks (#79)
* Local to global proxy

* Fix on having only non-instanceProxy maps

* transforms

* fixed matrix

* text

* wip

* Fix styling

* More styling

* Lock files

* Fix atomic object unpacking

* Receive new blocks in arcgis

* Check matrix count before adding conversionTracker

* update TC in Unpacker

* Add note on serialization hack

* transforms for displayValues

---------

Co-authored-by: KatKatKateryna <kateryna@speckle.systems>
2024-07-29 16:14:58 +03:00
Jedd Morgan f4d77bf8ce Top Level Exception Handler and Bindings fix (#76)
* TopLeveExceptionHandlerBindings

* Fixed idle manager on exceptional path

* null bindings check

* Made TopLevelExceptionHandler injectable

* Revit now works

* Fixed Tests

* returned unintentional change
2024-07-27 12:40:21 +01:00
Adam Hathcock a1c0fbec3e Cleanup notnull (#72)
* alphabetize deps

* rerun locks

* use new nuget

* dump usage of one not null

* dump another usage of not null
2024-07-25 08:35:11 +01:00
Adam Hathcock 78fc084c15 Update Core for new stuff (#70)
* Update Core for new stuff

* package locks correct
2024-07-24 15:18:27 +01:00
Adam Hathcock 4237d8ac22 Use ServerTransportFactory on receive (#64) 2024-07-23 15:59:32 +01:00
Claire Kuang b07a61aaef feat(rhino): DUI3-142 adds render materials to objects on send and receive (#63)
* adds rhino material table to send commit

* adds render materials on send

* adds render materials on receive

* Update RhinoHostObjectBuilder.cs

* fixes dictionary trygetvalue errors

* Update RhinoMaterialManager.cs
2024-07-23 15:31:53 +01:00
Adam Hathcock a554a2ab9d Create connector tests (#52)
* Use shared IdleManager

* Fix usage of _hasSubscribed by using Try methods on concurrent dictionaries

* use top exception handler in idle manager subscription

* Connectors with TopLevel handler tests

* fix handler

* start idle call manager tests

* add remove tests

* merge fixes

* add a bit more coverage

* Fix tests
2024-07-23 13:13:28 +01:00
Jedd Morgan e0f26d2816 More warnings (#41)
* More warnings

* Code warnings fixes and setup

* more warning fixes

* Fixed all warnings

* format

* Fixed new warnings

* registration

---------

Co-authored-by: Adam Hathcock <adam@speckle.systems>
2024-07-22 17:15:04 +01:00
Adam Hathcock ea8b8dddce D ui3 100 ensure proper disposal of transports from di factory (#49)
* changes to use new factory

* Update nuggets

* update params
2024-07-22 10:38:10 +01:00
Claire Kuang 3a322ee1e4 feat(rhino/autocad): cnx-18 add layer colors to send and receive in autocad and rhino (#47)
* adds layer colors on send

* adds collection color on receive

* adds layer colors on receive

* fixes null transaction

* adds layer colors to rhino send and receive
2024-07-18 11:43:24 +01:00
Adam Hathcock 22757465eb Add local solution for across core repo (#42)
* add Local.sln and targets to connectors projects

* redo locks

* do Objects as well

* update readme and remove old things
2024-07-18 09:32:19 +01:00
Claire Kuang 7bad788e54 updates collections namespaces (#39) 2024-07-17 16:29:28 +01:00
Oğuzhan Koral 6fba41d80d Support groups for Rhino (#38)
* Support groups

* Doc

* POC comment
2024-07-17 15:40:34 +01:00
Adam Hathcock 438df1240f Update SDK and add Clean Locks (#35)
* Update SDK dlls

* add clean locks file

* fix build

* Fix clean
2024-07-16 17:12:52 +00:00
Adam Hathcock 3498e5854e Rework logging to be more MS logger (#33)
* Rework logging to be more MS logger

* Add compile references

* Add scanning for send helper
2024-07-16 18:56:17 +02:00
Adam Hathcock 3ea6841e53 Update SDK with newer tagging (#29) 2024-07-16 12:43:27 +02:00
Jedd Morgan 7e5a7e525f DUI3-350 update dui3 connectors to use new api client functions (#20)
* DUI3 all using new FE2 client functions

* undone some warnings (we'll look at those during the meetup)
2024-07-12 11:52:32 +01:00
Jedd Morgan 8e7cfd0919 Bump Core + Objects + fixes (#18)
* Bump Core + Objects + fixes

* Format
2024-07-11 10:53:40 +00:00
Adam Hathcock d35e25d5f7 Setup assembly scaning for Revit2023 and Rhino7 (#16)
* Setup assembly scaning for Revit2023 and Rhino7

* default registration goes first
2024-07-11 09:33:37 +01:00
Adam Hathcock c241028079 Update csharpier and format (#14) 2024-07-10 15:13:55 +01:00
Oğuzhan Koral 7cdf86345b DUI3-126 shared files (#12)
* Account service to get account first from id otherwise from server Url

- And other simplications, removing dup code etc.

* Add TransportException to all bindings

* Register AccountService as singleton and add doc
2024-07-09 22:00:35 +01:00
Oğuzhan Koral 9d0635ce1c DUI3-470 fix max depth of children (#10)
* Temp fix

* Update children max depth

* Remove trailing spaces

* Fix registration issue on box factory

* formatting changes

* Extract common functions and dictionaries to abstract class

* Inject instance object manager

* POC comment

---------

Co-authored-by: Adam Hathcock <adam@speckle.systems>
2024-07-09 13:16:50 +01:00
Adam Hathcock 49a0af8165 Add Rhino tests and refactor current ones (#4)
* add tests with base test class

* update locks

* pin coverage to 4.4.0

* this is a subjob with uses, pass the secrets

* fix secret passing

* try quotes

* try a different glob

* Try simplier glob

* try something else

* try ubuntu for uploads

* update build.sh

* fix target

* update test only target
2024-07-05 15:31:36 +01:00
Adam Hathcock 91a69a897a Add Revit 2023 and Rhino 7 Converter Tests with Fakes (#3)
* Moved code

* update fakes

* add code coverage

* try code coverage again

* fix test finding

* still file problem?

* try token a different way
2024-07-04 16:00:58 +01:00
Adam Hathcock 60499e3a34 Initial commit from alpha 2024-07-04 11:56:34 +01:00