diff --git a/LuaLibs/RunCalcSolids.lua b/LuaLibs/RunCalcSolids.lua index a8f99ba..d050366 100644 --- a/LuaLibs/RunCalcSolids.lua +++ b/LuaLibs/RunCalcSolids.lua @@ -21,6 +21,7 @@ local function GetLayerParamsForSolidCalc( nPartId) LayerParams.bSpiralVase = EgtGetInfo( nPartId, KEY_SPIRAL_VASE, 'b') or false LayerParams.dLayHeight = EgtGetInfo( nPartId, KEY_SLICE_STEP, 'd') LayerParams.vtSlicing = EgtGetInfo( nPartId, KEY_SLICING_DIR, 'v') + LayerParams.dStrand = EgtGetInfo( nPartId, KEY_STRAND, 'd') return LayerParams end @@ -237,7 +238,7 @@ local function CreateSolidFromCurve( nCrvId, nSolidGrp, LayerParams, nLayer) elseif nType == TYPE.AUX_SOLID then Color = EgtStdColor( 'AQUA') end - local dStrand = EgtGetInfo( nCrvId, KEY_CRV_STRAND, 'd') + local dStrand = EgtGetInfo( nCrvId, KEY_CRV_STRAND, 'd') or LayerParams.dStrand local nCopyId = EgtCopyGlob( nCrvId, nSolidGrp) local nId = GDB_ID.NULL