<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<blockquote type="cite"
cite="mid:CABc2Abx-iDj2=tu-0Yd7fs9MO76=DtfHEnCrjobmG1YFRO+T5A@mail.gmail.com">
<div dir="ltr">
<div>1. I'm confused with the way lists and tuples are used to
pass sequences to class methods:<br>
<br>
For example, the Coordinate node accepts both lists and tuples
as a point vector:<br>
<font face="monospace">>>> import x3d<br>
x3d.py package loaded, have fun with X3D Graphics!<br>
>>> x3d.Coordinate(point=[[1,0,0], [0,1,0]])<br>
<x3d.Coordinate object at 0x000001EA57A437F0><br>
>>> x3d.Coordinate(point=[(1,0,0), (0,1,0)])<br>
<x3d.Coordinate object at 0x000001EA57A43710><br>
</font><br>
But the Normal node only takes list of tuples:<br>
<font face="monospace">>>>
x3d.Normal(vector=[(1,0,0), (0,1,0)])<br>
<x3d.Normal object at 0x000001EA582FA160><br>
>>> x3d.Normal(vector=[[1,0,0], [0,1,0]])<br>
Traceback (most recent call last):<br>
</font></div>
</div>
</blockquote>
<p><br>
</p>
<p><font face="monospace">X3D uses "MFVecf" FOR Coordinate.point and
Normal.vector.</font></p>
<p><font face="monospace">If Phyton supports "own data types", this
should be a "aarray of x, y and z values"</font></p>
<p>so long</p>
<p>MUFTI<br>
</p>
</body>
</html>