Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revit receive first pass: reference geometry workflow (CNX-403) #254

Merged
merged 37 commits into from
Sep 19, 2024

Conversation

didimitrie
Copy link
Member

@didimitrie didimitrie commented Sep 18, 2024

First pass at revit receive, where everything becomes a nested by collection direct shape.

CNX-403: Revit Receive: Reference Geometry Workflow

didimitrie and others added 30 commits September 9, 2024 16:18
probably the fourth time
maybe too drastic, we will see soon
* highlight works

* use status.success on receive success

* question comment
* materials wip

* Make it work receiving render materials

* MaterialBaker mods, cleanup

* Address the PR comments

* Remove invalid chars from structured material names

---------

Co-authored-by: oguzhankoral <oguzhankoral@gmail.com>
…rt-for-layer-render-materials

Feat(revit): CNX-470 add support for layer render materials
oguzhankoral and others added 4 commits September 17, 2024 11:59
…stances-blocks-local-to-global

Feat(revit) CNX-442 handle instances blocks local to global
* purge materials and groups in Revit before update

* cleaner linq

* renamed _groupManager to _groupBaker
@didimitrie didimitrie changed the title Revit receive first pass: reference geometry workflow Revit receive first pass: reference geometry workflow (CNX-403) Sep 18, 2024
Copy link

linear bot commented Sep 18, 2024

oguzhankoral and others added 3 commits September 19, 2024 11:10
# Conflicts:
#	Connectors/Revit/Speckle.Connectors.RevitShared/Bindings/RevitReceiveBinding.cs
#	Connectors/Revit/Speckle.Connectors.RevitShared/Operations/Receive/RevitHostObjectBuilder.cs
#	Connectors/Revit/Speckle.Connectors.RevitShared/Operations/Receive/TransactionManager.cs
#	Converters/Revit/Speckle.Converters.RevitShared/ToHost/Raw/RenderMaterialToHostConverter.cs
#	Converters/Revit/Speckle.Converters.RevitShared/ToHost/TopLevel/BrepToHostTopLevelConverter.cs
#	Converters/Revit/Speckle.Converters.RevitShared/ToHost/TopLevel/DirectShapeTopLevelConverterToHost.cs
#	Converters/Revit/Speckle.Converters.RevitShared/ToHost/TopLevel/GridlineToHostTopLevelConverter.cs
#	Converters/Revit/Speckle.Converters.RevitShared/ToHost/TopLevel/LevelToHostTopLevelConverter.cs
#	Converters/Revit/Speckle.Converters.RevitShared/ToHost/TopLevel/ModelCurveToSpeckleTopLevelConverter.cs
#	Converters/Revit/Speckle.Converters.RevitShared/ToHost/TopLevel/PointToHostTopLevelConverter.cs
* minor changes, logging, comments

* typo
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 69 lines in your changes missing coverage. Please review.

Project coverage is 7.86%. Comparing base (2418b3e) to head (7a42a10).
Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
...Converters.RevitShared/RevitRootToHostConverter.cs 0.00% 48 Missing ⚠️
...tShared/ToHost/Raw/Geometry/MeshConverterToHost.cs 0.00% 11 Missing ⚠️
...ils/Operations/Receive/TraversalContextUnpacker.cs 0.00% 4 Missing ⚠️
...e.Converters.Common/LocalToGlobalConverterUtils.cs 0.00% 3 Missing ⚠️
...hared/ToHost/Raw/Geometry/ICurveConverterToHost.cs 0.00% 2 Missing ⚠️
...RevitShared/Helpers/RevitMaterialCacheSingleton.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             dev    #254      +/-   ##
========================================
+ Coverage   7.38%   7.86%   +0.48%     
========================================
  Files        243     235       -8     
  Lines       4767    4473     -294     
  Branches     564     523      -41     
========================================
  Hits         352     352              
+ Misses      4400    4106     -294     
  Partials      15      15              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@oguzhankoral oguzhankoral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested,

  • Receive from Revit (sample house)
  • Receive materials from rhino (by layer, by object)
  • Receive blocks and all proxies
  • Second receive

Revit_ScrmRS3Nhh

@oguzhankoral oguzhankoral merged commit 4e48427 into dev Sep 19, 2024
5 checks passed
@oguzhankoral oguzhankoral deleted the revit-receive branch September 19, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants