BeamWall :
- miglioria nel calcolo del posizionamento ottimale del solido come trave.
This commit is contained in:
+3
-3
@@ -1,4 +1,4 @@
|
||||
-- 2021/03/18
|
||||
-- 2023/08/24
|
||||
-- Parti solide gestite come travi BTL
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ local function SolidMinBox( nId)
|
||||
local refMin
|
||||
local b3Min
|
||||
for i = 1, nFacCnt do
|
||||
local refFace = EgtSurfTmFacetMinAreaRectangle( nId, i - 1, GDB_ID.ROOT)
|
||||
if refFace then
|
||||
local refFace, dL, dW = EgtSurfTmFacetMinAreaRectangle( nId, i - 1, GDB_ID.ROOT)
|
||||
if refFace and dL * dW > 100 then
|
||||
local b3Box = EgtGetBBoxRef( nId, GDB_BB.STANDARD, refFace)
|
||||
if b3Box then
|
||||
local dVol = b3Box:getDimX() * b3Box:getDimY() * b3Box:getDimZ()
|
||||
|
||||
Reference in New Issue
Block a user