there is no possibility to enforce that Array starts with [0.00,0.00].
But it doesn't matter, because this assertion would you not help really !
If you want to have this, then you can "rotate" the array in the script
until 0.00,0.00 is at position.
However, the width and height of the polygon you can find in ref_x and ref_z.
(max. dimensions = bounding box)
A good solution for "cutting" the jambs is:
-create a prism with ref_poly-points (maybe with offset for frame)
-make boolean intersection (GROUP_ISECT) of jambs with this prism
For working with arbitrary polygons there are some new functions available in PolyOperationsAddon. You have access to this with commands:
and have functionality for boolean operations and offsetting a polygon.
For further documentation read here:
In addition to this we have added 3 functions:
PREPAREFUNCTION ch, "MoveBack", ...
PREPAREFUNCTION ch, "PolyOffsetParams", ...
CALLFUNCTION (ch, "PolyOffsetEdges", ...)
Furthermore we have new commands for creating a frame (similar to PRISM)