Type alias Profile

Profile: {
    center?: Point3D;
    height: Scalar;
    kind: "profile.rectangle";
    width: Scalar;
} | {
    center?: Point3D;
    kind: "profile.circle";
    radius: Scalar;
} | {
    center?: Point3D;
    kind: "profile.poly";
    radius: Scalar;
    rotation?: Scalar;
    sides: Scalar;
} | {
    holes?: ID[][];
    kind: "profile.sketch";
    loop: ID[];
    open?: boolean;
}

Type declaration

Type declaration

Type declaration

Type declaration

  • Optional holes?: ID[][]
  • kind: "profile.sketch"
  • loop: ID[]
  • Optional open?: boolean