EgtGeomKernel 2.7i5 :
- ritorno alla vecchia modalità per virtual milling a 5 assi - piccoli aggiustamenti soprattutto estetici.
This commit is contained in:
Binary file not shown.
@@ -99,7 +99,7 @@ class VolZmap : public IVolZmap, public IGeoObjRW
|
||||
{ return m_nDexVoxRatio ; }
|
||||
bool ChangeResolution( int nDexVoxRatio) override ;
|
||||
void SetShowEdges( bool bShow) override
|
||||
{ m_bShowEdges = bShow ; // qui � necessario far ricreare la grafica
|
||||
{ m_bShowEdges = bShow ; // qui è necessario far ricreare la grafica
|
||||
m_OGrMgr.Clear() ; }
|
||||
bool GetShowEdges( void) const override
|
||||
{ return m_bShowEdges ; }
|
||||
@@ -484,39 +484,28 @@ class VolZmap : public IVolZmap, public IGeoObjRW
|
||||
bool OffsetFillet( double dOffs) ;
|
||||
bool OffsetSharped( double dOffs, int nType) ;
|
||||
|
||||
public :
|
||||
// ------------------------- ENUM ----------------------------------------------------------------
|
||||
enum MillingPhase {
|
||||
COUNT_START_VOL = 0 ,
|
||||
ONLY_LATERAL_SURF = 1 ,
|
||||
COUNT_END_VOL = 2 ,
|
||||
COUNT_START_END = 3
|
||||
} ;
|
||||
|
||||
enum Move5Axis{
|
||||
ALONG_CONVEX = 0 ,
|
||||
ALONG_CONCAVE = 1 ,
|
||||
ACROSS = 2 ,
|
||||
NO_BASE_INTERS = 3
|
||||
} ;
|
||||
|
||||
enum CuttingSurface {
|
||||
NONE = -1,
|
||||
TOOL = 0 ,
|
||||
BZ = 1 ,
|
||||
LATERAL = 2
|
||||
} ;
|
||||
|
||||
private :
|
||||
enum Status { ERR = 0, OK = 1, TO_VERIFY = 2} ;
|
||||
enum Shape { GENERIC = 0, BOX = 1, EXTRUSION = 2, OFFSET = 3} ;
|
||||
enum Move5Axis {
|
||||
ALONG_CONVEX = 0 ,
|
||||
ALONG_CONCAVE = 1 ,
|
||||
ACROSS = 2 ,
|
||||
NO_BASE_INTERS = 3} ;
|
||||
enum Status {
|
||||
ERR = 0,
|
||||
OK = 1,
|
||||
TO_VERIFY = 2} ;
|
||||
enum Shape {
|
||||
GENERIC = 0,
|
||||
BOX = 1,
|
||||
EXTRUSION = 2,
|
||||
OFFSET = 3} ;
|
||||
static const int N_MAPS = 3 ;
|
||||
static const int N_VOXBLOCK = 32 ;
|
||||
|
||||
private :
|
||||
ObjGraphicsMgr m_OGrMgr ; // gestore grafica dell'oggetto
|
||||
Status m_nStatus ; // stato
|
||||
int m_nTempProp[2] ; // vettore propriet� temporanee
|
||||
int m_nTempProp[2] ; // vettore proprietà temporanee
|
||||
double m_dTempParam[2] ; // vettore parametri temporanei
|
||||
bool m_bShowEdges ; // flag di visualizzazione spigoli vivi
|
||||
Frame3d m_MapFrame ; // riferimento intrinseco dello Zmap
|
||||
@@ -550,8 +539,8 @@ class VolZmap : public IVolZmap, public IGeoObjRW
|
||||
mutable BOOLVECTOR m_BlockToUpdate ;
|
||||
mutable INTVECTOR m_BlockUpdatingCounter ;
|
||||
|
||||
int m_nConnectedCompoCount ; // Se == - 1 il numero di componenti non � noto
|
||||
// Se >= 0 � il numero di componenti connesse
|
||||
int m_nConnectedCompoCount ; // Se == - 1 il numero di componenti non è noto
|
||||
// Se >= 0 è il numero di componenti connesse
|
||||
|
||||
mutable std::vector<VoxelContainer> m_InterBlockVox ;
|
||||
mutable SharpTriaMatrix m_InterBlockOriginalSharpTria ;
|
||||
|
||||
+1
-1
@@ -875,7 +875,7 @@ VolZmap::CreateFromTriMesh( const ISurfTriMesh& Surf, double dStep, bool bTriDex
|
||||
IntersParLinesSurfTm intPLSTM( frMapFrame, Surf) ;
|
||||
|
||||
// Standarda è multithread
|
||||
const bool MULTITHREAD = true ;
|
||||
constexpr bool MULTITHREAD = true ;
|
||||
if ( MULTITHREAD) {
|
||||
|
||||
// Numero massimo di thread
|
||||
|
||||
+1
-1
@@ -951,7 +951,7 @@ VolZmap::UpdateTripleMapGraphics( void) const
|
||||
}
|
||||
|
||||
// Standarda è multithread
|
||||
const bool MULTITHREAD = true ;
|
||||
constexpr bool MULTITHREAD = true ;
|
||||
if ( MULTITHREAD) {
|
||||
|
||||
// Calcolo i triangoli sui blocchi
|
||||
|
||||
+398
-397
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user