Prepare device geometry for import
A CAD file is generally created with manufacturing details in mind, so device geometry files will generally come with many separate parts such as thin shells, small gaps, screws, hinges and internal details.
Import with widget
The device import widget is a graphical user interface that opens in your notebook. With it you can import a device, put it on a mannequin, check the geometry and add it to your project without writing code. This page goes through every part of the widget. For a walk-through from CAD to simulation, see Smart glasses on a mannequin.
Fit a device to a mannequin
Our mannequin library has heads of different shapes and sizes, and a wearable device often won't fit all of them perfectly. The arms of a pair of glasses can cut into the head, for example. A real pair of glasses adapts to the wearer: the arms spread a little to fit around the head. The fit tool in the device import widget does the same on a mannequin. It treats the device as a solid, elastic body, like a plastic frame, and slightly moves and bends it until it rests on the mannequin instead of going into it or floating above it.
Import with Python method
This page aims to support the device simulation workflow by showing how to import geometry that can be used to import devices into Treble.