Geometry object

Together with the Model object, Geometry objects are a core tool in building generative parametric models in the HyperObject modelling language.

You build shapes and designs by generating and manipulating geometry objects.

The main attribute of a geometry is a list of points. Depending on the geometry type this list of points is rendered as a group of points or as a path.

In the above script a Group geometry is created with four points. It is added to the model as an edditable geometry. Meaning you can drag the points arround.

Another type of geometry is a Path geometry. It's created simmilarly to a Group object but then by calling new Path in the script. See below:

In a path object the points are connected by a line. Try changing the order of the points. The wide range of functionalities of the path geometry will be explained in a later post.

Continue learning hyperobjects concepts