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