Commit Graph

1139 Commits

Author SHA1 Message Date
Claire Kuang 6b7574e5fb feat(revit): CNX-340 add reference point setting to revit send (#203)
* adds reference point transform to xyz, and refactors

* spelling fixes

* adds reference point caclulation to connector instead of converter

* disables xyz test for now due to complications mocking the reference point converter

* moves reference point transform method to separate class

* extracts to speckle settings into manager singleton

* removes  unecessary usings

* Pragma the send function sorry to not sorry

* optimizes mesh conversions

* removes unnessary meshconversion method and adds reference point transform to meshlist conversion

---------

Co-authored-by: oguzhankoral <oguzhankoral@gmail.com>
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-30 15:33:42 +01:00
Oğuzhan Koral e821e93ba5 Get dev mode info from config binding (#210) 2024-08-29 19:18:11 +03:00
KatKatKateryna 8744331ebb receive materials (#208)
* receive materials

* typos
2024-08-29 22:13:41 +08:00
Alan Rynne a5012eda02 chore: Silence SDK1206 warnings for now (#207)
* chore: Silence SDK1206 warnings for now

* fix: Do not include sha in product info version
2024-08-29 13:24:00 +01:00
Alan Rynne f9a8831fec CNX-369 Rename all UI elements and commands in v3 connectors (#206)
* feat: Renamed to v3

* feat: Use Speckle (Beta) and Speckle for XXX (Beta)

* feat: Change to `Speckle (Beta) for XXX`

* fix: Revert unintentional change

* fix: IDE0100 unnecessary equality check
2024-08-28 19:09:04 +03:00
KatKatKateryna 39ff7c9bba receive points as fallback displayValue (#205)
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-28 13:23:36 +00:00
Oğuzhan Koral 2d345e606b Fix(revit): Reference to CefSharp.Wpf.NETCore for Revit 2025 (#204)
* Reference to CefSharp.Wpf.NETCore for revit 2025

* Remove commented out code
2024-08-28 15:00:11 +03:00
Oğuzhan Koral 93f2df0c9e Fix(revit): regression on switching ElementId to UniqueId (#202)
* Fix regression on switching ElementId to UniqueId

* Do not treat object ids in send filter as unique ids

* Use unique ids everywhere

* Get element ids from unique id also for highlight model

* Remove unnecessary using

* Remove unused Parse function

* Rename function

* Find intersection of invalidated objects with UniqueIds
2024-08-27 11:50:45 +03:00
Claire Kuang 2916af03e6 feat(revit): CNX-344 parameter elementid values sent as elements names when available (#201)
* uses element name instead of elementid as param value

* Update ParameterValueExtractor.cs
2024-08-27 09:24:14 +01:00
Claire Kuang 14a429f4de feat(revit): CNX-188 extract material quantities out for all objects (#184)
* adds material quantity conversions

* adds material quantities to top level converter

* fixed bugs

* Update MaterialQuantitiesToSpeckle.cs

* refactor material quantities (#196)

* combines material and render material conversion and removes bad logic

* simplifies caching logic

* minor notes

* fix(dui3): corrects merge, resolves some DI confusion around the typed converter & fixes a copy paste error

* fix(dui3): removes params from materials.

we can bring 'em back if we validate the need for them.

* feat(dui3): radical simplification of material quantity extraction

* chore: adds comments and flags things as obsolete

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-08-26 19:37:25 +03:00
Oğuzhan Koral ace7bdf3b4 Fail fast if all conversion status is ERROR (#200) 2024-08-26 16:31:17 +01:00
Oğuzhan Koral 41c96a032c Fix(rhino): Remove square brackets from material name (#198) 2024-08-26 09:32:58 +00:00
KatKatKateryna e369292979 Agis separate dataset creation (#170)
* arcgis debugging profiles

* refactor write to database

* support tables

* optimize renderers

* visible progress for grouping

* Revert "arcgis debugging profiles"

This reverts commit d5753cac9b.

* receiving gisFeatures separately

* more refactor, broken colors

* remove unused stuff

* avoid multiple loops

* keep the first assigned Speckle_ID, don't change on every receive

* color categories fixed

* closed polyline geometry fixed on send

* fix color categories

* fold layers

* delete reference to deleted converter

* invoke Converting msg earlier on receive

* comment
2024-08-26 09:55:54 +02:00
Oğuzhan Koral eab6770695 Do not skip first item if it is one-to-one conversion (#199) 2024-08-25 10:57:53 +01:00
Dimitrie Stefanescu 5cbb59db0a Dimitrie/cnx 358 caching element from another model sent (#197)
* fix(dui3): correctly invalidates cache and syncs id behaviour in revit

* fix: filters for nulls
2024-08-24 22:25:51 +03:00
Jedd Morgan a18c1b5ecf Bumped sdk to 115 (#192)
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-24 00:33:54 +03:00
Claire Kuang 2c46b1d0b8 chore(autocad/rhino): CNX-357 removes unnecessary definition color logic (#194)
* removes definition color hack for autocad

* removes color hack from rhino

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-08-24 00:27:18 +03:00
Oğuzhan Koral 953ffcc293 Feat(Settings): revit settings passes to converter (#195)
* Map and pass setting to converter

* Change return type to ICardSettings

* Invalidate cache if the setting of model card has changed

* Default to medium for geometry fidelity

* Rename GeometryFidelity to DetailLevel

* Default to medium

* Pass detail level to options in DB.Options
2024-08-23 17:56:59 +01:00
KatKatKateryna dc23b80352 Supports points as fallback in Rhino (#193) 2024-08-23 13:55:55 +03:00
Dimitrie Stefanescu 944e7c4326 Dim/light geo fix 2 (#191)
* fix: corrects if check post refactor

* chore: do not ask

* wraps up fix
2024-08-22 19:00:00 +03:00
Dimitrie Stefanescu a89de6bcc4 fix: corrects if check post refactor (#190) 2024-08-22 15:35:41 +00:00
Dimitrie Stefanescu bc3d7da65a fix(revit): invalidates send cache on doc unit change (#189) 2024-08-22 16:57:12 +03:00
Dimitrie Stefanescu f2a6619013 fix(revit): fixes display value extraction problems (#188) 2024-08-22 13:58:39 +03:00
Alan Rynne 1415f89a8c feat: Includes autocad 2022-2025 in stored artifact for deployment (#183)
Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2024-08-22 11:57:36 +02:00
KatKatKateryna cc2c847fd3 better exception message (#186) 2024-08-22 09:16:04 +00:00
KatKatKateryna 8b17f6f5f7 add exception msg to stackTrace (#187) 2024-08-22 10:51:14 +03:00
Oğuzhan Koral d0d1f681ca Do not store group id in baked object ids (#185) 2024-08-21 18:53:52 +01:00
Oğuzhan Koral e37009095e Feat(revit): CNX-220 Grid to speckle conversion (#182)
* Grid to speckle conversion

* Fix the namespace

---------

Co-authored-by: Alan Rynne <alan@rynne.es>
2024-08-21 17:50:47 +03:00
Alan Rynne c75961cd19 CNX-311 Sign releases with Digicert on tag push (#168)
* feat: First attempt at signed releases with Digicert on tag push

* fix: Delete gitversion config

* test: add gitversion manual mode

* tool manifest update

* fix: Only build on `v3.x` tags for now

* fix: Minor gitconfig tweaks

* fix: Revert to deploy from `main` branch
2024-08-21 14:53:57 +02:00
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
KatKatKateryna 18ea2fea54 arcgis debugging profiles (#169) 2024-08-21 08:07:36 +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
Alan Rynne 0c03d664b0 feat: Include Rhino8 files in zip operation (#177)
Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com>
2024-08-20 17:02:28 +02: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
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 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