3.9.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.9.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.

29KB
Mapper_Interpolate_EigenShape.gh
34KB
Mapper_Interpolate_Shape_I.gh
25KB
Mapper_Interpolate_Shape_II.gh
35KB
Mapper_Stitch_Simple_I.gh
40KB
Mapper_Stitch_Simple_II.gh
24KB
Mapper_Stitch_Simple_III.gh
25KB
Mapper_Stitch_Simple_IV.gh
32KB
Mapper_Stitch_Stacked.gh

Last updated