bugpyFormex - Bugs: bug #43106, ascii or binary pgf in webGL...

 
 

bug #43106: ascii or binary pgf in webGL models?

Submitter:  gianluca de santis <gianlucadesi>
Submitted:  Fri 29 Aug 2014 10:08:30 AM UTC
   
 
Category:  Plugins Severity:  1 - Wish
Item Group:  Feature request Status:  In Progress
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 01 Sep 2014 07:08:13 PM UTC, comment #1: 

45de507 adds the sep= argument to the WebGL class.

The default is still binary (sep='') because the FEops
fewgl.js application seems not to support the ascii pgf
mode yet, at least not for the examples I tried.
(Needs checking)

Also, the option should be added to export dialogs.

Benedict Verhegghe <bverheg>
Group administrator
Fri 29 Aug 2014 10:08:30 AM UTC, original submission:  

Binary format when exporting webGL originates at
pyformex/plugins/webglline 306:

Geometry.write(obj, attrib.file, '')

The sep='' means BINARY, when writing the pgf file.
Should the binary/ASCII selection be exposed tothe user up to pyformex.gui.draw.exportWebGL() ??

Also, we should test it with zipped files: is BINARY.pgf.gz really smaller than ASCII.pgf.gz? If not then ASCII should be set as default (I will try to verify this).

gianluca de santis <gianlucadesi>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-01 bverheg StatusNone In Progress
        Assigned toNone bverheg

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code