You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could the Free Function API and the Workplane API with the same function names be designed to have consistent parameter interfaces as much as possible?
#1763
Open
huskier opened this issue
Feb 6, 2025
· 4 comments
Could the Free Function API and the Workplane API with the same function names be designed to have consistent parameter interfaces as much as possible? Here is a table of inconsistencies between the Free Function API and the Workplane API with the same function names:
Fair request, there is also cq.Sketch to match. For clarity: are you referring to parameter order and semantics (e.g. radius vs diameter) or names too?
Is it possible to keep the centered parameter for box, cylinder and sphere free functions? This is also related to consistency with the the same name methods in Workplane class.
Could the Free Function API and the Workplane API with the same function names be designed to have consistent parameter interfaces as much as possible? Here is a table of inconsistencies between the Free Function API and the Workplane API with the same function names:
def rect(
) -> T:
def ellipse(
) -> T:
def box(
) -> T:
def cylinder(
) -> T:
def sphere(
) -> T:
The text was updated successfully, but these errors were encountered: