grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedCurve
Rectangle From Paper
00000000-e309-4023-82b8-6a09b7a61009
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Create a rectangle out of a standard paper size.

Input parameters:

  1. Pl → Location and orientation of the top-left corner of the paper.
  2. Pt → Paper size standard.
    •  0 → 4A0
    •  1 → 2A0
    •  2 → A0
    •  3 → A1
    •  4 → A2
    •  5 → A3
    •  6 → A4
    •  7 → A5
    •  8 → B0
    •  9 → B1
    • 10 → B2
    • 11 → B3
    • 12 → B4
    • 13 → B5
    • 14 → P1
    • 15 → P2
    • 16 → P3
    • 17 → P4
    • 18 → P5
    • 19 → P6
    • 20 → US Letter
    • 21 → US Half Letter
    • 22 → US Government Letter
    • 23 → US Junior Legal
    • 24 → US Government Legal
    • 25 → US Legal
    • 26 → US Ledger
  3. Ls → Landscape orientation of paper.
    •  True → Landscape
    • False → Portrait
  4. Mh → Horizontal margin along the left and right edges of the paper.
  5. Mv → Vertical margin along the top and bottom edges of the paper.

Output parameters:

  1. Pb → Rectangle describing the outer boundary of the page.
  2. Pc → Rectangle describing the size of the page once the margins have been subtracted.