Commit Graph

74 Commits

Author SHA1 Message Date
Claire Kuang a30b2cad90 fix(revit): CNX-329 adds units to all relevant conversions (#181)
* adds units to all relevant conversions

* Update LevelTopLevelConverterToSpeckle.cs

* adds units to revit elements

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-08-21 08:15:34 +00:00
Claire Kuang 53cd73c806 fix(revit): CNX-187 adds missing parameters to levels and revitelements (#179)
* adds missing parameters to levels and revitelements

* Update LevelTopLevelConverterToSpeckle.cs
2024-08-21 08:25:22 +01:00
Dimitrie Stefanescu efaf8e3d0f Dimitrie/cnx 221 light as in lamps geometry is sent (#178)
* feat(revit): correctly unpacks multistory stairs

of course there was another one. here's to more :)

* fix: no longer sends lamp source geometry

* fix: nullability?

i think this is fake news, but...

* fix: nullability part 3

* fix: revit 2025 should be happy now 🤞
2024-08-20 14:55:57 +00:00
Claire Kuang c42441dc76 fix(rhino): CNX-319 rhino block colors (#171)
* adds color source to color proxies and sends definition object layer colors

* adds missing materials and colors to instances on bake

* Update RhinoColorManager.cs
2024-08-20 15:14:22 +01: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
Claire Kuang fa9cd87013 feat(arcgis): refactors converters to use new IGisFeature classes (#150)
* refactors converters to use new IGisFeature classes

* Update GisFeatureToSpeckleConverter.cs

* removes unused converter

* fixes vector layer row conversion logic

* refactored visible fields lookup

* fixes display value bug

* Update GisFeatureToSpeckleConverter.cs

* adds old gisfeature converter

* Update FeatureClassToHostConverter.cs

* removes unecessary usings

* Fix for tables (#157)

* add tables fix

* usings

* feature count

* fixes table to host conversion to handle both new and old gisfeature classes

* refactors more to remove nullability on feature converters

* adds converter notes

* send multipatch layers + geometry fix on send (#162)

* account for more layer types

* namespaces

* fixed PolygonMeshes on send

* refactors layer unpacking logic

---------

Co-authored-by: KatKatKateryna <89912278+KatKatKateryna@users.noreply.github.com>
Co-authored-by: KatKatKateryna <kateryna@speckle.systems>
2024-08-16 05:06:24 +08:00
KatKatKateryna 58e7c1a449 Agis colors receive (#147)
* receive colorProxies

* documentation

* color manager to Scoped

* remove poc comment

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2024-08-15 15:15:07 +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
Alan Rynne fcc22076a7 CNX-299: Adds support for sending SubD elements as BREPs (#153)
* feat: Adds support for sending SubD elements as BREPs

* fix: Format file
2024-08-14 16:40:16 +00:00
Adam Hathcock 42b6f297f5 Update SDK to 103 (#152) 2024-08-14 16:20:09 +00:00
Claire Kuang 22f62b34a3 fixes autocad circulararc conversions to handle edge cases (#146)
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-14 11:23:21 +03: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
Adam Hathcock 20e7ebe476 Adam/cnx 249 add autocad 2025 connector and converter (#132)
* add projects that build

* adjustments for .net 8

* version 2025

* add 2025 options needed
2024-08-13 13:59:46 +00:00
Dimitrie Stefanescu 4e220db35d feat(revit): extracts collection creation logic out into SendCollectionManager (#142)
* feat(revit): extracts collection creation logic out into SendCollectionManager

to cleanup the root object builder

* fix: null check for category in revit top level converter

* chore: removes stale code referencing hosted object collector

* chore: makes HostedElementConversionToSpeckle fully obsolete

---------

Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-13 11:33:51 +00:00
Jedd Morgan d25272f5af Use Operations.Send over SendHelper (#140) 2024-08-13 11:07:47 +00:00
Claire Kuang f87b2b7206 feat(arcgis) : CNX-257 send color proxies (#135)
* adds color proxies on send

* minor color manager refactor

* Update ArcGISColorManager.cs

* add values to colorProxies

* add root collection name

* solve precision for comparing unique values

* specify color space for rgb color conversions

* priorityValue matching the number of selected layers

* move comparison logic out

* Update ArcGISColorManager.cs

---------

Co-authored-by: KatKatKateryna <kateryna@speckle.systems>
2024-08-13 09:27:01 +00:00
Alan Rynne 647cbb5e55 CXPLA-17 Add XX_OR_GREATER flags to converter/connector projects (#136)
* feat: Add REVITXXXX_OR_GREATER flags to all revit projects

* feat: Add RHINOX_OR_GREATER flags to Rhino projects

* feat: Add XX_OR_GREATER flags to AutoCAD and Civil3d projects
2024-08-13 09:12:15 +02:00
Jedd Morgan 7f717585c9 bump deps (#134) 2024-08-12 16:52:10 +00:00
Claire Kuang e85c568228 feat(autocad): CNX-250 Adds 2022 connector and converter (#131)
* adds autocad 2022 connector and converter

also changes dependencyinjection to be a shared project

* fix: selection events no longer crash 2022

co-authored with ogu and claire

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-08-09 17:15:03 +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
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 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
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
Jedd Morgan 3074855cde quick optimised rhino send (#105) 2024-08-06 10:31:09 +01: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
Claire Kuang e432183df3 fix(rhino) : CNX-136 fixes gem, glass, and emission materials to acceptable degree in rhino<>rhino (#95)
* makes rhino nurbs curve converter safer

* bug fixes for gem, glass, and emissive materials

* Update NurbsCurveConverter.cs
2024-08-02 14:47:59 +00:00
KatKatKateryna 08d1e4578d AGIS: Blocks ToTransform for ITransformable (#93)
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-02 16:13:05 +03: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
KatKatKateryna 05aa73dad1 AGIS: update progress bar on WriteToDataset step (#87)
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-01 11:08:44 +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
Dimitrie Stefanescu bba22eef77 fix(rhino): checks for null edge trims (#82) 2024-07-27 20:31:10 +00: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
Claire Kuang dc57a34990 CNX-103 Autocad: fixes polyline arc segment bug (#77)
* found the arc bug

* Update CircularArc3dToSpeckleRawConverter.cs
2024-07-26 12:42:25 +00: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
KatKatKateryna ea5910b102 catch invalid projection (#56)
Co-authored-by: Adam Hathcock <adam@speckle.systems>
2024-07-24 09:54:55 +00:00
Adam Hathcock 4237d8ac22 Use ServerTransportFactory on receive (#64) 2024-07-23 15:59:32 +01:00
KatKatKateryna f4e7214130 Syntax error (#58)
* don't reassign values; division in brackets

* new syntax
2024-07-23 21:53:56 +08: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 8d20c7a6c4 update locks for new project revit 2022 (#54) 2024-07-22 10:00:24 +00: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
Adam Hathcock 369eb05737 update tests and add Revit 2022 project (#50)
* update tests and add Revit 2022 project

* VS fixes
2024-07-22 09:55:58 +01:00
connorivy f6ae5ea1fc add curve to direct shape conversions (#37)
* add curve to direct shape conversions

* rename base converter

* update projitems

* Fix XML comments

---------

Co-authored-by: Connor Ivy <connor@speckle.systems>
Co-authored-by: Adam Hathcock <adam@speckle.systems>
2024-07-19 07:06:58 -05:00
connorivy f4a542b913 add point conversion (#28)
* add point conversion

* fix scaling issue

* remove useless comments

---------

Co-authored-by: Connor Ivy <connor@speckle.systems>
2024-07-18 16:40:22 -05:00
Adam Hathcock 6f74f768af connectors also need docs (#45) 2024-07-18 13:30:36 +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