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

feat(civil3d): adds name prop to surfaces #3084

Merged
merged 3 commits into from
Nov 30, 2023

Conversation

clairekuang
Copy link
Member

Description & motivation

Adds a missing name property to civil TIN and grid surfaces.
Includes minor refactor for adding name and description props, as well as some warn fixes.
Closes #2743

Changes:

  • AutocadCivil converter

Screenshots:

After:
image


// add tin surface props
var props = Speckle.Core.Models.Utilities.GetApplicationProps(surface, typeof(CivilDB.TinSurface), false);
AddNameAndDescriptionProperty(surface.Name, surface.Description, mesh);
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the actual feature change line

Copy link
Contributor

@AlanRynne AlanRynne left a comment

Choose a reason for hiding this comment

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

This looks good! Nice to see our new syntax and naming styles coming in too! 😄

@AlanRynne AlanRynne merged commit 8c45c89 into dev Nov 30, 2023
@AlanRynne AlanRynne deleted the CNX-7771-Add-name-property-to-all-surfaces branch November 30, 2023 18:04
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.

2 participants