Skip to content

Arc primitive question #3

Description

@ostryhub

Hi @thes01.

I am implementing Arc primitive in my sketcher app using this great wrapper lib, thank you for making it!

When looking at how arcs are defined I am having trouble understanding why it needs start and end angles on top of the three points ?

I am looking to implement the "center arc curve" in the very same way FreeCAD does its, so I am interested in defining three points of the arc (a, b and center) and hope the solver to keep them constrained to the arc's defining circle.
I want the arc to "float freely in 2d space" in its most basic setup (without any additional constraints) by just keeping the a and b points the same distance form the center point.

Could you explain how the planegcs's arc primitive is meant to be used and in what scenarios?
Why the start and end angles are needed to define it?

Is my intuition right when I think that the FreeCAD like arc curve can be implemented using a set of other primitives like three points and a circle plus constraints keeping the arc end points on the circle and the arc center coincident with the circle's center?

Thank you for any answer to this questions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions