Skip to content

Improve circle and direction APIs

Adrien Delsalle requested to merge adriendelsalle/pyoccad:fix-2d-circle into master

Description

Fix circle and direction factories:

  • fix direction helper to allow gp_Ax1 (use Direction() in this case)
  • introduce CreateCircle.from_radius_center_normal which is equivalent to from_radius_and_center
    • be more explicit about factory signature
    • add deprecation warning on from_radius_and_center
Edited by Adrien Delsalle

Merge request reports