- in BeamLib.Is3EdgesApprox tolleranza portata a 5 (era 15 mm)
- in DiceCut piccola correzione
This commit is contained in:
+1
-1
@@ -391,7 +391,7 @@ function BeamLib.Is3EdgesApprox( Proc, idFace, nAddGrpId)
|
||||
elseif nEntityCount then
|
||||
for i = 1, nEntityCount do
|
||||
local dLength = EgtCurveCompoLength( nContourId, i - 1)
|
||||
if dLength < 15 then nEdges = nEdges - 1 end
|
||||
if dLength < 5 then nEdges = nEdges - 1 end
|
||||
end
|
||||
end
|
||||
if nEdges == 3 then bResult = true end
|
||||
|
||||
+4
-4
@@ -400,16 +400,16 @@ function DiceCut.GetDice( Part, Face1, Face2, OptionalParameters)
|
||||
local ptCMainFace
|
||||
local vtNMainFace
|
||||
if Face1.ptCenter and Face1.vtN then
|
||||
ptCMainFace = Face1.ptCenter
|
||||
vtNMainFace = Face1.vtN
|
||||
ptCMainFace = Point3d( Face1.ptCenter)
|
||||
vtNMainFace = Vector3d( Face1.vtN)
|
||||
end
|
||||
-- faccia secondaria; se non esiste, si forza il calcolo dei piani ortogonali
|
||||
local ptCSubordinateFace
|
||||
local vtNSubordinateFace
|
||||
local bGetOrtoPlanes
|
||||
if Face2.ptCenter and Face2.vtN then
|
||||
ptCSubordinateFace = Face2.ptCenter
|
||||
vtNSubordinateFace = Face2.vtN
|
||||
ptCSubordinateFace = Point3d( Face2.ptCenter)
|
||||
vtNSubordinateFace = Vector3d( Face2.vtN)
|
||||
bGetOrtoPlanes = false
|
||||
else
|
||||
bGetOrtoPlanes = true
|
||||
|
||||
Reference in New Issue
Block a user