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

Method to draw/extend trace path incrementally #3726

Closed
hui-zhou-a opened this issue Oct 9, 2023 · 0 comments · Fixed by #3725
Closed

Method to draw/extend trace path incrementally #3726

hui-zhou-a opened this issue Oct 9, 2023 · 0 comments · Fixed by #3725
Assignees
Labels
enhancement New features or code improvements

Comments

@hui-zhou-a
Copy link
Contributor

Description of the feature

Example

        points = [
            [-0.025, -0.02],
            [0.025, -0.02],
            [0.025, 0.02],
        ]
        trace = self.edbapp.modeler.create_trace(points, "1_Top")
        assert trace.add_point("delta_x", "1mm", True)
        assert trace.add_point(0.001, 0.002)
        assert trace.get_center_line()[-1] == [0.001, 0.002]

Steps for implementing the feature

No response

Useful links and references

No response

@hui-zhou-a hui-zhou-a added the enhancement New features or code improvements label Oct 9, 2023
@hui-zhou-a hui-zhou-a self-assigned this Oct 9, 2023
@hui-zhou-a hui-zhou-a linked a pull request Oct 9, 2023 that will close this issue
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 a pull request may close this issue.

1 participant