Shapes
Shapes are rigid mesh objects that are composed of triangular faces. They can be imported/exported and edited. They come in four different sub-types: ![]() ![]() ![]() ![]() ![]() ![]() ![]() By default, all imported shapes are simple shapes. Two or more simple shapes or compound shapes can however be grouped ([Menu bar --> Edit --> Grouping/Merging --> Group selected shapes]) or ungrouped ([Menu bar --> Edit --> Grouping/Merging --> Ungroup selected shapes]). Simple shapes can also be merged ([Menu bar --> Edit --> Grouping/Merging --> Merge selected shapes] in which case the visual properties become same for all composing elements. A shape can also be divided ([Menu bar --> Edit --> Grouping/Merging --> Divide selected shapes]), depending on its configuration: the division algorithm will extract each distinct element of a shape. Two elements are distinct if they don't share any common edge. Refer also to the model tutorial. which illustrates how to correctly import and prepare shapes for a simulation model. Pure shapes are mainly functional shapes. They are most of the time only used by the physics engine that performs on them much better and faster than on non-pure shapes (e.g. random or convex meshes). For that reason, pure shapes are often hidden in an invisible layer (e.g. layer 9). Refer to the layer selection dialog and the section on how to design dynamic simulations for more information. [(a) 5 simple shapes (e.g. after import), (b) 1 simple shape (after merging), (c) 1 compound shape (composed by 5 simple shapes)] Pure simple shapes can also be grouped, the resulting compound shape will however only be pure if all of its composing elements are also pure. Merging pure simple shapes will result in a non-pure simple shape. Shapes are collidable, measurable and detectable objects. This means that shapes: The collidable, measurable and detectable properties of a shape can be altered in the object common properties. Additionally, those properties can be overridden if the shape is part of a model which overrides them. Refer to the model dialog for more information. The shape calculations (i.e. collision, distance and proximity sensor calculations) available in CoppeliaSim are also available as stand-alone routines via the Coppelia geometric routines. |