bugpyFormex - Bugs: bug #38751, Pgf writing issues

 
 

bug #38751: Pgf writing issues

Submitted by:  Wouter Devriendt <whdvrien>
Submitted on:  Tue 16 Apr 2013 12:29:29 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 16 Apr 2013 12:42:02 PM UTC, comment #1:

Fixed in 10fc156

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Tue 16 Apr 2013 12:29:29 PM UTC, original submission:

Since update ebc24dde579f98b7c1444186004cc6790b2e0004 (removing of "\n" in filewrite.writeData), pgf files are not written correctly anymore (e.g. geomFile.writeMesh). Except for the header, everything is written on one line.

Example:

In this case the elements and nodes are written on one line, and the pgf cannot be read again. The same happens when writing multiple geometries, adding properties, ...

One solution would be to insert a "self.fil.write('\n')" after every writeData in geomfile, but that should be done for writeMesh, writeNurbsCurve, writeNurbsSurface, ...

So another solution would be to revert the filewrite.writeData to the way it was, and try to solve the off/stl problem another way.
I tried to reproduce this problem, but could only see the extra lines in off files (so not in stls). In writeOFF, adding end='' to the writeData also removes these extra lines (with the old filewrite.writeData)

So I don't know if this would solve all tetgen problems, or what exactly the problem with stl's still is?

Wouter

Wouter Devriendt <whdvrien>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by whdvrien (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 16 Apr 2013 12:42:02 PM UTCbverhegStatusNone=>Fixed
      Assigned toNone=>bverheg
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1