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

Implementing Line and Segment classes #54

Merged
merged 46 commits into from
Sep 8, 2022
Merged

Conversation

RobPasMue
Copy link
Member

Resolves #33, #34 and #43

@RobPasMue RobPasMue self-assigned this Sep 5, 2022
This was linked to issues Sep 5, 2022
@github-actions github-actions bot added the enhancement New features or code improvements label Sep 5, 2022
Copy link
Contributor

@chadqueen chadqueen left a comment

Choose a reason for hiding this comment

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

Had a few concerns/comments/questions, but can revise over time if not able to work into the PR. This is a good first implementation.

src/ansys/geometry/core/shapes/base.py Show resolved Hide resolved
src/ansys/geometry/core/shapes/circle.py Outdated Show resolved Hide resolved
src/ansys/geometry/core/shapes/circle.py Show resolved Hide resolved
src/ansys/geometry/core/shapes/line.py Outdated Show resolved Hide resolved
src/ansys/geometry/core/shapes/line.py Show resolved Hide resolved
RobPasMue and others added 2 commits September 7, 2022 16:26
Co-authored-by: Maxime Rey <87315832+MaxJPRey@users.noreply.github.com>
Co-authored-by: Chad Queen <chadqueen82@gmail.com>
tests/test_misc_checks.py Outdated Show resolved Hide resolved
tests/test_misc_checks.py Outdated Show resolved Hide resolved
Copy link
Contributor

@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

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

See my comments. Let's start subclassing as needed to reduce code duplication and rename LineShape to Line.

@RobPasMue RobPasMue enabled auto-merge (squash) September 8, 2022 06:05
@RobPasMue RobPasMue dismissed akaszynski’s stale review September 8, 2022 06:18

Remaining issue (code refactoring) will be handled in #63. Thanks for your comments @akaszynski!

@RobPasMue
Copy link
Member Author

Sorry, not #63 but #68!!!

@RobPasMue RobPasMue merged commit da5dffd into main Sep 8, 2022
@RobPasMue RobPasMue deleted the feat/improve-line-segment branch September 8, 2022 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase robustness of Line Add Line primitive geometry class Add Line Segment primitive geometry class
5 participants