template

CraftML provides a powerful template system designed to make it easy to parameterize, reuse, and customize 3D models.

The key components of CraftML's template system are:

  • <part> defines a reusable object,
  • <param> defines a parameter,
  • <content> defines a placeholder for inserting content, and
  • repeat repeats an object multiple times, where each object can be either a clone or a customized version.

The live example below demonstrates the use of these components.