label

open fun label(name: String): Labelled3d

Labels a shape, so that we can collect all the important labelled shapes, and ignore the others. The PlanTarget in the construction module uses label to know which items to add to the plan.


open fun label(name: String, type: String): Labelled3d

Labels a shape, so that we can collect all the important labelled shapes, and ignore the others.

The PlanTarget in the construction module uses label to know which items to add to the plan.

The type allows you to label different kinds of things, for example, you could label all cut lumber with a type "wood", and other pieces with type "fixture" (for screws, hinges, handles etc).