3.8.13: Mapper πŸ”·

A β€œMapper” is a component that takes a Karamba3D-model and modifies it according to some generic rules defined by mappings, based on parameters supplied by the user. It acts directly on the model, so the process of transferring Grasshopper-geometry to a Karamba3D-model is dispensed with. The resulting gain of speed can be important when running optimization tasks with e.g. Galapagos. Fig. 3.8.13.1 shows a definition where a mapper applies a mapping called β€œSimple Stitch” on a given model which originally consists of two elements: β€œA” and β€œB”. In this case there is one mapping that connects two beam-sets with elements whose position is controlled by the parameters given to the mapper. In other words: a mapping is a functor.

The input-plug β€œParams” receives two parameters. In the context of the β€œSimple Stitch”-mapping these parameters give the relative position on the two beam-sets β€œA” and β€œB” where a connection β€œC” shall be introduced. So a mapping encapsulates an operation and the mapper activates it. Currently Karamba3D offers mappings which mainly deal with connecting existing beam-sets by variants of an operation termed β€œstitching”. The notion comes from the analogy to joining together pieces of cloth. The stitching component is rooted in the research project β€œAlgorithmic Generation of Complex Space Frames” which was conducted at the University of Applied Arts Vienna.

Last updated