createRectangleXY MethodStatic

Create a Loop with given xy corners and fixed z.

  • The corners always proceed counter clockwise from lower left.
  • If the radius is too large for the outer rectangle size, it is reduced to half of the the smaller x or y size.

createRectangleXY(x0: number, y0: number, x1: number, y1: number, z: number0, filletRadius?: number): Loop

Parameter Type Description
x0 number  
y0 number  
x1 number  
y1 number  
z number  
filletRadius number  

Returns - Loop

Defined in

Last Updated: 17 December, 2024