← Back to team overview

yade-dev team mailing list archive

[Bug 668329] [NEW] gts imports surfaces incorrectly (regression from 0.50)

 

Public bug reported:

examples/gts-horse/gts-horse.py does not import the givem gts file
correctly (all points of the surface as colinear, lying on the x-axis?),
while running the same script with 0.50 works. The data are incorrect as
soon as they are imported via

 surf=gts.read(open('horse.coarse.gts'))

which can be checked with

 print 'volume:',surf.volume()

(gives  0.00026341826018 with 0.50 and 0 with recent trunk)

Curiously, 0.50 links to the same libgts library (the reason is not an
upstream change) and pygts sources in yade tree are always at version
0.3.1. We should investigate when this regression happened and fix it.

Parametrically-constructed surfaces work normally.

** Affects: yade
     Importance: Undecided
         Status: New

-- 
gts imports surfaces incorrectly (regression from 0.50)
https://bugs.launchpad.net/bugs/668329
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
examples/gts-horse/gts-horse.py does not import the givem gts file correctly (all points of the surface as colinear, lying on the x-axis?), while running the same script with 0.50 works. The data are incorrect as soon as they are imported via

 surf=gts.read(open('horse.coarse.gts'))

which can be checked with

 print 'volume:',surf.volume()

(gives  0.00026341826018 with 0.50 and 0 with recent trunk)

Curiously, 0.50 links to the same libgts library (the reason is not an upstream change) and pygts sources in yade tree are always at version 0.3.1. We should investigate when this regression happened and fix it.

Parametrically-constructed surfaces work normally.





Follow ups

References