Skip to content

feat: make Waypoints behave like a list (fixes #430) - #477

Open
ChickenisLegit wants to merge 2 commits into
compas-dev:mainfrom
ChickenisLegit:fix/waypoints-list-behavior
Open

feat: make Waypoints behave like a list (fixes #430)#477
ChickenisLegit wants to merge 2 commits into
compas-dev:mainfrom
ChickenisLegit:fix/waypoints-list-behavior

Conversation

@ChickenisLegit

Copy link
Copy Markdown

Closes #430. Added list-like methods to the Waypoints base class so that FrameWaypoints and PointAxisWaypoints can be iterated, indexed, appended to, etc.

@gonzalocasas
gonzalocasas requested a review from yck011522 August 8, 2026 13:28
@gonzalocasas

Copy link
Copy Markdown
Member

@ChickenisLegit thanks for the contribution!!! 🌟 Could you please add a bullet point in the changelog file describing the change and a little unit test for the feature?

@ChickenisLegit

Copy link
Copy Markdown
Author

@gonzalocasas Done! Added the changelog entry and the unit tests.

@yck011522

yck011522 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Hi @ChickenisLegit thanks for the contribution. Look good to me.

Just a stylistic suggestion, would you consider moving the implementation of the waypoints property into the two child class. That way whoever implementing new child classes would not need to fiddle with the base class.

You can choose to merge as is or choose to move it and merge.

@gonzalocasas

Copy link
Copy Markdown
Member

@yck011522 very good point!

@ChickenisLegit could you please move it to the subclasses and then we can merge?

Thanks!

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.

Make FrameWaypoints and PointAxisWaypoints behave like a list

3 participants