mesh
A solid from a file
Signatures
- mesh( file f )
Details
The mesh data type allows to import solids from an external source.
The solid should be represented as a triangle mesh. Note that the solid should ideally be watertight (i.e. that all triangles form closed volumes without any holes) to work well with all internal functions of trCAD.
Remark
In case the input file contains information about its physical length unit, like e.g. the 3MF format, the imported object is automatically scaled to match the length unit specified by document.unit.
Casts To
Parameters
- f
-
An input file of type "STL", "PLY" or "3MF".