top of page

Transfering image to geometry (grasshopper example)

> Transfering image to geometry (grasshopper example)

Here is an example of how to transfer a simple floorplan into brep and points on Grasshopper using the brightness values of each pixel. However, this method is a hack specifically for floorplans without text and may not apply to other images.

​

Example file: ImagetoGeometry.gh

​

A simple floorplan into BREP and points on Grasshopper involves using the brightness value of each pixel in the image. The values are then projected onto a grid of points based on the image's dimensions. Delaunay edges are then utilized to extract edges from the points. Applying a constraint makes it possible to extract the edges from the floor plan.

ImagetoGeometry.png
grid points floorplan.png

Grid points floorplan.

Delaunay edges based on grid points.png

Delaunay edges based on grid points.

result of brep.png

Result of BREP.

> OpenAI (DALL-E) in Grasshopper

Luciano Ambrosini. (2022, November 23). OpenAI (DALL-E) inside Grasshopper with Python Advanced version (EDIT mode) - Grasshopper DEV [Video]. YouTube.

Explore:

​

OpenAI (DALL-E) platform.

 

Tap on the image to see more.

dalee 2.jpg

OpenDall-E integrates OpenAI's Dall-E, a state-of-the-art deep learning model, into Grasshopper with Python scripting. The potential application of this tool in architecture is significant as it can generate new architectural designs based on the input image features and attributes provided.

​

OpenDall-E can generate floor plans, architectural illustrations, and even 3D models, making the design process faster, easier, and more efficient. The article "OpenAI Dall-E inside Grasshopper with Python" (link below) provides an in-depth look at how OpenDall-E works and can be used in architectural design.

Further Reading:

​

OpenAI (DALL-E) inside Grasshopper with Python — Advanced version.

 

Tap on the image to see more.

OpenAI (DALL-E) inside Grasshopper with Python — Advanced version.webp
bottom of page