Commit Graph

114 Commits

Author SHA1 Message Date
KatKatKateryna 18ea2fea54 arcgis debugging profiles (#169) 2024-08-21 08:07:36 +00:00
Dimitrie Stefanescu 13490d9862 feat(revit): correctly unpacks multistory stairs (#176)
of course there was another one. here's to more :)
2024-08-20 14:37:48 +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 81cd2fc7d9 feat(rhino): pre bakes layers on receive for speed and profit (#173) 2024-08-20 11:49:11 +00:00
Alan Rynne e7c3d2054c fix: Move *.addin files to their respective projects. (#174)
* fix: Move `*.addin` files to their respective projects.

These files should not live in `shared` projects as they are not shareable.

* fix: Revit2022 Release configuration + Add all versions to zip file
2024-08-20 11:42:46 +00:00
Claire Kuang 8a0dfca204 fix(autocad): CNX-318 better color inheritance for blocks (#167)
* updates definition object colors and refactors speckle application id retrieval

* adds definition object color inehritance and speckle app id extensions

* minor build fixes

* adds source to color proxy and color proxy id

* Update AutocadColorManager.cs

* Update AutocadColorManager.cs
2024-08-20 12:39:21 +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 3301ebae27 adds unit conversions to blocks in connector (#165) 2024-08-16 15:05:53 +01:00
Dimitrie Stefanescu fa48f5db1d fix(rhino): group selection on highlight + get send settings (#158)
* fix(rhino): group selection on highlight + get send settings

* fix: pr comments

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2024-08-16 12:10:47 +00:00
Claire Kuang db375abfc7 fix(arcgis): CNX-307 correct hsv color conversions to rgb (#164)
* fixes hsv color conversions to rgb

* removes unused method
2024-08-16 12:07:57 +01:00
Jedd Morgan 7044014a73 Cleaned up cancellation token source usages (#156) 2024-08-16 07:44:17 +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
Claire Kuang 4a7474053a feat(autocad): CNX-281 adds speckle ribbon and button (#160)
* adds ribbon and button

* Update AutocadCommand.cs

* makes icon larger

---------

Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-15 18:33:58 +03:00
Oğuzhan Koral 00d62c56b0 Fix(autocad): Add "layer_" prefix for layer application ids (#161)
* Add "layer_" prefix for layer application ids

* Have an extension method for layer table record to get speckle application id
2024-08-15 15:21:57 +00: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
Jedd Morgan b9411f4609 Rhino send binding fixes (#155)
* Rhino send binding fixes

* Added Send settings to ISendBinding
2024-08-15 10:38:52 +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
Oğuzhan Koral af97f2cd7a Adjust send card settings with UI (#143) 2024-08-13 16:25:55 +00:00
Claire Kuang 145afc049e Update Speckle.Connectors.Autocad2024.csproj (#145) 2024-08-13 15:46:05 +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
Oğuzhan Koral db60e3e725 Clear the cache on doc swap (#139) 2024-08-12 19:18:51 +00:00
Oğuzhan Koral 56fd9289c2 Do not select if object to highlight is in Block (#138) 2024-08-12 21:32:30 +03:00
Jedd Morgan 7f717585c9 bump deps (#134) 2024-08-12 16:52:10 +00:00
Oğuzhan Koral df158832ee Change active layer to 0 if active layer name and will be erased matches (#133) 2024-08-12 17:01:52 +01:00
Dimitrie Stefanescu 98e2b47496 fixes cnx-217: nested families not sent unless they are in a group (#128)
* fix: now sends nested families (wip)

* fix: explodes nested families into subcomponents correctly

* fix: removed unecessary using

---------

Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-09 20:19:47 +03: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
Claire Kuang a1e95ee7de adds 2024 connector (#129) 2024-08-09 18:42:48 +03:00
Dimitrie Stefanescu acb8a8b6c4 fix(acad): fatal crash on highlight (#130)
cause: we were creating definition instances with no objects inside of them, and this was causing acad to throw later down the line on highlighting
2024-08-09 15:21:22 +00:00
Claire Kuang 6fb4081efd fix(rhino): CNX-245 render materials inherited from layer bug (#127) 2024-08-09 14:50:40 +03:00
Jedd Morgan 46bb442f02 CNXPLA-19: Add logging for model card handled exceptions (#118)
* Add logging for model card handled exceptions

* Arcgis logger

* Polish
2024-08-09 10:42:38 +00:00
Dimitrie Stefanescu 65a8106a52 Dimitrie/cnx 201 group names from autocad to rhino are not supported (#126)
* fix(dui3): correctly creates groups with their appropriate name in rhino

* fix(dui3): purges groups on second receive to ensure correct name is set always

note, this means we're using our naming hack again

* fix: moves group logic to group manager :/

* chore: adds comment
2024-08-09 00:27:20 +03:00
Dimitrie Stefanescu b8d4b03be0 fix: handles correctly nested dynamic instances (inside other instances) (#125)
this check can now be safely removed, as we're handling 'em correctly
2024-08-08 19:06:39 +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
Oğuzhan Koral 6615badfe5 Track layer changes by ModifyObjectAttributes of RhinoObject (#119) 2024-08-08 09:23:48 +01:00
Oğuzhan Koral a0d44150e9 Remove DisableRedrawScope on send (#116) 2024-08-07 18:04:16 +00:00
Dimitrie Stefanescu f0745cae97 Fixes Rhino unhandled exception 'destination array is not long enough...' etc. (#115)
* fix(dui3): wip fix for cnx-202

* fix(dui3): propagates change from rhino to other host apps

* fix(dui3/revit): cnx-225; revit was reporting cancellation as errors

---------

Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-07 17:32:04 +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