API Reference > geometry-core > Solid > TorusPipe > createInFrame createInFrame MethodStatic Create a new TorusPipe createInFrame(frame: Transform, majorRadius: number, minorRadius: number, sweep: Angle, capped: boolean): TorusPipe | undefined Parameter Type Description frame Transform local to world transformation majorRadius number major hoop radius minorRadius number minor hoop radius sweep Angle sweep angle for major circle, with positive sweep from x axis towards y axis. capped boolean true for circular caps Returns - TorusPipe | undefined Defined in core/geometry/src/solid/TorusPipe.ts Line 90 Last Updated: 13 June, 2024