plugin.dev.lab Antlion

Antlion / Components / Field

FieldFIELD-001

Draws the playing field outline for a sport and the focal point every sightline is measured to. Start here — the rest of the chain hangs off Field Info.

1Plan
2Section
3Seats
43D
5Analysis

core Bowl ▸ Section 1 9 in · 6 out

Fig. 1 — PortsReads left, writes right
Field component in Grasshopper
Custom Curve CurveGeometry · itemYour own field outline
Base Plane PlanePlane · itemWhere the field sits and which way it faces
Custom Focal Point Custom FPoint · itemYour own focal point
Sport Mode ▾ SportText · itemWhich sport sets the field size and shape (default SOCCER)
Focal Position Mode ▾ Focal PosText · itemWhere the focal point sits: HALF_N or HALF_S halfway along a long side, HALF_E or HALF_W at an end, CUSTOM at…
Focal Horizontal Focal HNumber · itemHow far inside the field outline the focal point sits, for sports watched a little in from the edge such as…
Focal Vertical Focal VNumber · itemHow high above the field the focal point sits, Custom Focal Point included
Rotate 90 RotateBoolean · itemTurn the field a quarter turn so its long side runs the other way
Panel Values PanelObject · itemEvery value from Input Panel, as one bundle
Field Info FieldObject · itemThe field as one object
Field Outline OutlineCurve · itemThe playing field outline in plan
Focal Curve Focal CCurve · itemThe outline pulled inside by Focal Horizontal, then lifted by Focal Vertical
Focal Point FocalPoint · itemThe point every sightline aims at
Base Point Base PtPoint · itemThe same point on the field outline, before Focal Vertical and Focal Horizontal moved it
Debug Text · itemDeveloper diagnostic output for tracking down bugs

Ports with a dark edge and line carry the chain from one component to the next. The rest are values you set once. Inputs marked ▾ take a Value List: wire one in and it fills with the choices.

Inputs

  • Custom CurveCurveYour own field outline - a closed planar curve, or a planar surface whose border is used. Once wired, the preset Sport Mode is ignored
  • Base PlanePlaneWhere the field sits and which way it faces (default world XY)
  • Custom Focal PointCustom FYour own focal point. Used when Focal Position Mode is CUSTOM, and whenever it is wired with a Custom Curve that is not a rectangle - there it also sets which way the field faces (toward the outline center). Required for a Custom Curve with no long and short side (one that does not touch the middle of all four sides of the rectangle around it, such as a triangle or fan). Keep it at the height of the field outline and use Focal Vertical to aim higher
  • Sport Mode▾ SportWhich sport sets the field size and shape (default SOCCER). Each choice names the rule it follows and whether that rule sizes it in metric or imperial units. CUSTOM uses your Custom Curve - wiring the curve does the same
  • Focal Position Mode▾ Focal PosWhere the focal point sits: HALF_N or HALF_S halfway along a long side, HALF_E or HALF_W at an end, CUSTOM at Custom Focal Point (default HALF_S). A Custom Curve such as a track or rounded rectangle uses the sides of the rectangle around it when Custom Focal Point is not wired, HALF_E being the end toward Base Plane X
  • Focal HorizontalFocal HHow far inside the field outline the focal point sits, for sports watched a little in from the edge such as ice hockey (default 0). With Focal Vertical as well, the point is pulled in first and then lifted. Treated as 0 when a Custom Curve that is not a rectangle takes its focus from Custom Focal Point
  • Focal VerticalFocal VHow high above the field the focal point sits, Custom Focal Point included. Ball on the ground is 0 (default 0)
  • Rotate 90RotateTurn the field a quarter turn so its long side runs the other way (default false)
  • Panel ValuesPanelEvery value from Input Panel, as one bundle. Anything you wire in yourself wins over it

Outputs

  • Field InfoFieldThe field as one object - outline, frame, sport and focal point
  • Field OutlineOutlineThe playing field outline in plan
  • Focal CurveFocal CThe outline pulled inside by Focal Horizontal, then lifted by Focal Vertical
  • Focal PointFocalThe point every sightline aims at
  • Base PointBase PtThe same point on the field outline, before Focal Vertical and Focal Horizontal moved it
  • DebugDebugDeveloper diagnostic output for tracking down bugs. Copy this when reporting a problem

What it does

Focal Horizontal pulls the focal point in from the field outline and Focal Vertical lifts it above the field; with both, it is pulled in first and then lifted.

Before Antlion 1.0.20 the focal point moved one way only, set by Focal Direction Mode (VERTICAL or HORIZONTAL) and a single Focal Offset, and the tutorial videos were recorded with those inputs. Where a video raises the focal point with Focal Offset, use Focal Vertical. Files saved with earlier versions open with their values moved to the new inputs.

Component
FIELD-001
Ribbon
Bowl ▸ Section 1
Tier
core
Ports
9 in · 6 out
Version
1.2.1
Checked
2026-11-05