From ba057f8c8dc116cf6e5dd7b8b2c0c9f65df6af7d Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 6 Sep 2018 11:27:31 +0000 Subject: [PATCH] EgtGeomKernel 1.9i1 : - parziali migliorie a virtual milling per chisel. --- EgtGeomKernel.rc | Bin 11710 -> 11710 bytes VolZmapCalculus.cpp | 2 +- VolZmapVolume.cpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index 74eafbfd54db266b4a0b5f07b6115b5b31c7d046..b38985726e4fa4e0ee285cae4d065ad23b136e6f 100644 GIT binary patch delta 118 zcmdlNy)SyhH#SyF1|0^&&A-{?nVB;g3@0mc>u&bq>S2M3-{!MM7I$OZ+#~G9j8n2h Q8ZL=uq6g#VEaea`0ANlYDgXcg delta 118 zcmdlNy)SyhH#Sxa1|0^I&A-{?nVB;fOeQOG>u&bq>S2M3-{!MM7I$OZ+#~G9j8n2h Q8ZL=uq6g#VEaea`0Avy#IsgCw diff --git a/VolZmapCalculus.cpp b/VolZmapCalculus.cpp index 2305dfc..3f3abb9 100644 --- a/VolZmapCalculus.cpp +++ b/VolZmapCalculus.cpp @@ -1185,7 +1185,7 @@ VolZmap::IntersLineMyPolyhedron( const Point3d& ptLineSt, const Vector3d& vtLine dDeltaZ = dDeltaZ * ( 1 - ( 2 * EPS_SMALL) / dLenX) ; // Riferimento del poliedro offsettato Frame3d frInnerFrame = PolyFrame ; - frInnerFrame.Translate( dOffsetX * frInnerFrame.VersX() + dOffsetZ * frInnerFrame.VersZ()) ; + frInnerFrame.Translate( dOffsetX * frInnerFrame.VersX() + ( dOffsetZ + EPS_SMALL * dDeltaZ / dLenX) * frInnerFrame.VersZ()) ; Point3d ptP = ptLineSt ; Vector3d vtV = vtLineDir ; diff --git a/VolZmapVolume.cpp b/VolZmapVolume.cpp index 4f0ad33..56e350a 100644 --- a/VolZmapVolume.cpp +++ b/VolZmapVolume.cpp @@ -53,7 +53,7 @@ VolZmap::SubtractIntervals( unsigned int nGrid, unsigned int nI, unsigned int nJ // Riporto le coordinate cicliche nell'ordine di partenza Vector3d vtNmi = vtNMin ; Vector3d vtNma = vtNMax ; - // Passo dalla grilgia al sistema intrinseco + // Passo dalla griglia al sistema intrinseco if ( nGrid == 1) { swap( vtNmi.x, vtNmi.z) ; swap( vtNmi.y, vtNmi.z) ;