Rectangle from a single

Good evening,

I would like to know if it would be possible to create a rectangle from a single point (like on rhino).

Great night,

What size?

You can do it with the Rectangle component. But it won’t be from center.

To make it from center you would need to create a domain with Domain component and input -x/2 into A and x/2 into B. X being any number, for example a Slider.

Thank you for your answers.
I succeeded.
However, I don’t understand exactly what a “domain” is.
Can you explain to me please.

Construct Domain component lets you define a numeric range. For example. From 3 to 27.
Many components use Domains in GH, such as Range component.

In this case the Rectangle component is using the Domain to define x and y dimensions.

For example, a Rectangle from -2 to 2 in x and -5 to 5 in y.