EgtGeomKernel 1.5l2 :
- correzione a offset a sinistra con chamfer e extend - correzione a offset semplice con angoli di 180 deg - modifica a calcolo colore back per superfici.
This commit is contained in:
+4
-5
@@ -47,8 +47,7 @@ using namespace std ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Per Id di entità
|
||||
static const int ID_SEL = -2 ;
|
||||
static const int ID_NO = -3 ;
|
||||
static const int ID_NO = -99 ;
|
||||
// Per tipo di costruzione di poligono
|
||||
static const int POLYG_INSCR = 1 ;
|
||||
static const int POLYG_CIRC = 2 ;
|
||||
@@ -160,7 +159,7 @@ GdbExecutor::AddStandardVariables( void)
|
||||
return false ;
|
||||
// imposto variabili predefinite
|
||||
m_pParser->AddVariable( "$ROOT", GDB_ID_ROOT) ;
|
||||
m_pParser->AddVariable( "$SEL", ID_SEL) ;
|
||||
m_pParser->AddVariable( "$SEL", GDB_ID_SEL) ;
|
||||
m_pParser->AddVariable( "$NN", ID_NO) ;
|
||||
// verifico la corrispondenza tra GDB_ID_NULL e CMD_ID_NULL
|
||||
return ( GDB_ID_NULL == CMD_ID_NULL) ;
|
||||
@@ -2983,7 +2982,7 @@ GdbExecutor::GetNamesParam( const string& sParam, INTVECTOR& vnNames)
|
||||
for ( Iter = vsNames.begin() ; Iter != vsNames.end() ; ++Iter) {
|
||||
Trim( (*Iter), " \t\r\n()") ;
|
||||
int nId = GetIdParam( *Iter) ;
|
||||
if ( nId != ID_SEL) {
|
||||
if ( nId != GDB_ID_SEL) {
|
||||
vnNames.push_back( nId) ;
|
||||
}
|
||||
else {
|
||||
@@ -3434,7 +3433,7 @@ GdbExecutor::GetPointsParam( const string& sParam, const Frame3d& frPnt, PolyLin
|
||||
STRVECTOR::iterator Iter ;
|
||||
for ( Iter = vsPoints.begin() ; Iter != vsPoints.end() ; ++Iter) {
|
||||
Trim( (*Iter), " \t\r\n") ;
|
||||
if ( GetIdParam( *Iter) == ID_SEL) {
|
||||
if ( GetIdParam( *Iter) == GDB_ID_SEL) {
|
||||
int nId = m_pGDB->GetFirstSelectedObj() ;
|
||||
while ( nId != GDB_ID_NULL) {
|
||||
Point3d ptP ;
|
||||
|
||||
Reference in New Issue
Block a user