[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libredwg] Re: libreDWG decode_3dsolid

From: Felipe Sanches
Subject: [libredwg] Re: libreDWG decode_3dsolid
Date: Sun, 21 Feb 2010 21:11:22 -0300

I agree that using this vriable is not the best thing to do. But decode3d is not working at all yet. If you want to give it a try, feel free. But if you do so, let us know what you're doing so that we dont duplicate efforts.


PS: I forwarded your message to address@hidden

2010/2/21 Timo Lähde <address@hidden>

Is this better way to do that, because of variable i :

dwg.spec line 1244:

if (FIELD_VALUE(version)==1)
              //FIELD_VALUE(sat_data) = (BITCODE_RC**) realloc(FIELD_VALUE(sat_data), i * sizeof(BITCODE_RC*));
             FIELD_VALUE(sat_data) = (BITCODE_RC**) realloc(FIELD_VALUE(sat_data), (i + 1) * sizeof(BITCODE_RC*));
              FIELD_BL (block_size);
              //FIELD_VECTOR (sat_data[i++], RC, block_size);
              FIELD_VECTOR (sat_data[i], RC, block_size);
            } while(FIELD_VALUE(block_size));
          fprintf(stderr, "TODO: Implement parsing of ACIS file in entities 37,38 and 39.\n");

regards Timo VJ Lähde

reply via email to

[Prev in Thread] Current Thread [Next in Thread]