Shapemetry API / LatticeOptions
Interface: LatticeOptions
Defined in: mesh/lattice.ts:304
Properties
offset
offset:
number
Defined in: mesh/lattice.ts:306
Total tube thickness. Positive = thicker rim.
offsetFactor?
optionaloffsetFactor?:number
Defined in: mesh/lattice.ts:308
Offset bias along normal. -1 = inward, 0 = centered, 1 = outward.
offsetFactorVertexGroup?
optionaloffsetFactorVertexGroup?:number
Defined in: mesh/lattice.ts:310
Vertex-group factor (no vgroup support -> pass 0).
replaceOriginal?
optionalreplaceOriginal?:boolean
Defined in: mesh/lattice.ts:312
Remove original faces wireframed.
boundaryCaps?
optionalboundaryCaps?:boolean
Defined in: mesh/lattice.ts:314
Build end-caps at boundary edges.
evenOffset?
optionalevenOffset?:boolean
Defined in: mesh/lattice.ts:316
Even thickness at corners via shell_angle_to_dist.
relativeOffset?
optionalrelativeOffset?:boolean
Defined in: mesh/lattice.ts:318
Scale thickness per-vertex by mean edge length.
taggedFacesOnly?
optionaltaggedFacesOnly?:boolean
Defined in: mesh/lattice.ts:320
Process only faces with ELEM_TAG (skip untagged).
recomputeNormals?
optionalrecomputeNormals?:boolean
Defined in: mesh/lattice.ts:322
If true, recompute vertex normals from face normals first. Default true.