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

 
 

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

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  Fri 29 Aug 2014 10:08:30 AM UTC  
 
Category: PluginsSeverity: 1 - Wish
Item Group: Feature requestStatus: In Progress
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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>
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 gianlucadesi (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 01 Sep 2014 07:08:13 PM UTCbverhegStatusNone=>In Progress
      Assigned toNone=>bverheg

    Back to the top


    Powered by Savane 3.1-cleanup1