Posts

Showing posts with the label 3D Models

[067] How to Control Insert Modes for External 3D Models

Image
Since I have some time, I'll go ahead and write the rest. This is the last usage of i(). It requires three parameters in total. We covered two of the parameters earlier, and the new parameter this time is insertMode. figure 1 https://doc.arcgis.com/en/cityengine/latest/cga/cga-i.htm It is divided into three types in total: alignSizeAndPosition is the default. It is the same as i(filePath). keepSizeAndPositoin keeps the size of the original source, but because it reflects the model's position at the time of export as is, there are cases where it ends up outside the scope. keepSizeAlignPosition keeps the original source size but places it at the bottom center of the scope plane. It's not difficult, right? Just choose the insertMode that suits the situation. Next is an example. figure 2 This imports a truck file. Let's compare the results for each mode. figure 3 figure 4 The diff...