Re: [Scilab-users] String and integer

2020-11-20 Thread paul francedixhuit
Based on your advices, I've fix my issue.

Thanks

Paul

###

i = 1FileName = "MyFile"// PreviouslyNewFileName1 = FileName +
string(i)// NowNewFileName2 = FileName + msprintf("%.4d",i)i =
666NewFileName3 = FileName + msprintf("%.4d",i)



Le ven. 20 nov. 2020 à 15:43, CHEZE David 227480  a
écrit :

> Hi Paul,
>
>
>
> --> msprintf("%04d",3)
>
> ans  =
>
>
>
>   "0003"
>
>
>
>
>
>
>
> David
>
>
>
> *De :* users  *De la part de* paul
> francedixhuit
> *Envoyé :* vendredi 20 novembre 2020 14:49
> *À :* Users mailing list for Scilab 
> *Objet :* [Scilab-users] String and integer
>
>
>
> Hi all
>
>
>
> In ordre to change files names, I need to convert integers into strings
> but with zeros prior to it
>
>
>
> Example if i=1 i need 0001 and not 1
>
>
>
> I don't know how to use something like "%4d" with "string"
>
>
>
> Thanks
>
>
>
> Paul
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] String and integer

2020-11-20 Thread CHEZE David 227480
Hi Paul,

--> msprintf("%04d",3)
ans  =

  "0003"



David

De : users  De la part de paul francedixhuit
Envoyé : vendredi 20 novembre 2020 14:49
À : Users mailing list for Scilab 
Objet : [Scilab-users] String and integer

Hi all

In ordre to change files names, I need to convert integers into strings but 
with zeros prior to it

Example if i=1 i need 0001 and not 1

I don't know how to use something like "%4d" with "string"

Thanks

Paul
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] String and integer

2020-11-20 Thread CRETE Denis
Hello
msprintf(‘%04d’,1) seems to do the job
HTH
Denis
De : users  De la part de paul francedixhuit
Envoyé : vendredi 20 novembre 2020 14:49
À : Users mailing list for Scilab 
Objet : [Scilab-users] String and integer

Hi all

In ordre to change files names, I need to convert integers into strings but 
with zeros prior to it

Example if i=1 i need 0001 and not 1

I don't know how to use something like "%4d" with "string"

Thanks

Paul
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] String and integer

2020-11-20 Thread Jean-Yves Baudais
Hi,
  A solution, of course not the best,
--> if i<10, s=msprintf("000%d",i) end
with iteration for high number, or with 3-floor(log10(i)) added zeros?

--Jean-Yves

- Original Message -
> From: "paul francedixhuit" 
> To: "Users mailing list for Scilab" 
> Sent: Friday, 20 November, 2020 14:48:46
> Subject: [Scilab-users] String and integer

> Hi all
> 
> In ordre to change files names, I need to convert integers into strings but 
> with
> zeros prior to it
> 
> Example if i=1 i need 0001 and not 1
> 
> I don't know how to use something like "%4d" with "string"
> 
> Thanks
> 
> Paul
> 
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-- 
--
Jean-Yves Baudais
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] String and integer

2020-11-20 Thread paul francedixhuit
Hi all

In ordre to change files names, I need to convert integers into strings but
with zeros prior to it

Example if i=1 i need 0001 and not 1

I don't know how to use something like "%4d" with "string"

Thanks

Paul
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] mesh2d - finding identical points

2020-11-20 Thread Stéphane Mottelet
Yes, just mesh the set of (u,v) coordinates corresponding to your 
(x,y,z) reference points.


S.

Le 20/11/2020 à 13:05, P M a écrit :

I guess I do have such an u-v-plane.

The background of the background :

The task is to map an image onto a 3D geometry.

The image includes reference points, which correspond to known x-y-z 
coordinates.


So the image plane is (my guess) the u-v-plane.

BR
Philipp




Am Fr., 20. Nov. 2020 um 12:16 Uhr schrieb Stéphane Mottelet 
mailto:stephane.motte...@utc.fr>>:


In order to use mesh2d with your data, there must exist a plane
(u,v) on which you could project your (x,y,z) data. The mesh
obtained on projected data (u,v) would give you the triangulation
of the (x,z,y) data. This won't be possible with mesh2d if you
take for example scattered points on a sphere. However, any
non-linear transformation "unfolding" the data could also help to
use pure 2d tools like mesh2d.

S.

Le 20/11/2020 à 12:05, P M a écrit :



Am Fr., 20. Nov. 2020 um 11:47 Uhr schrieb Stéphane Mottelet
mailto:stephane.motte...@utc.fr>>:

Hi again,

Le 20/11/2020 à 11:30, P M a écrit :

OK,
some more background:

I actually want to perform a delaunay triangulation on a set
of X-Y-Z-coordinates.

I suppose you mean a triangulation of scattered X-Y-Z but you
call mesh2d with X-Y only ?


Yes, indeed. And there is the bug in my data.
As x-y coordinates repeat, they do have a different z in the
original data.
But since I call mesh2d with x-y only there are indeed identical
points.



I know of CGLAB, but it seems only available to Scilab
6.0.x, while I am on Scilab 6.1.0

CGLAB is based on a very old version of CGAL and thus is very
hard  to maintain as is. There is a lot of work...


I am currently installing Scilab 6.0 to try CGLAB...



So the nearest thing to a delaunay triangulation I found is
mesh2d...

Yeah. Suboptimal choice indeed...

Because of the delaunay triangulation, I am not sure if the
order of points may change.

What do you mean ?


The scattered points represent a 3D surface geometry.
If the points will be resorted, I could imagine that the
triangulation does not fit to the surface geometry anymore.



About unique:

The result I get is actual of same size as the input
matrix...I therefore do assume that each point is unique in
the first place (which they actually should).

What does repeat are individual x, y, z coordinates, but in
different combinations.
So the actual point is different.


e.g.:    x may repeat, but than the y-z-coordinates are
different from point to point


Could you share the data (you can send me a private message) ?

S.



Thanks,
Philipp



Am Fr., 20. Nov. 2020 um 10:57 Uhr schrieb Stéphane Mottelet
mailto:stephane.motte...@utc.fr>>:

Hi Philipp,

Glad to hear that some people use mesh2d. I know we have
to improve the error message by getting the numbers at
the Fortran level... There is also other errors which
are not easy to fix without knowing the number of the
problematic point (point too close to the boundary, for
example). Can you file a bug on BZ ?

S.

Le 20/11/2020 à 10:03, P M a écrit :

Dear all,

using the mesh2d - function I get an error:
mesh2di: some points are identical.


How to identify these points and remove the duplicates?

There are roughly 500'000 coordinates

Thank you,
Philipp

___
users mailing list
users@lists.scilab.org  

https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
  



-- 
Stéphane Mottelet

Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet  

Re: [Scilab-users] mesh2d - finding identical points

2020-11-20 Thread P M
I guess I do have such an u-v-plane.

The background of the background :

The task is to map an image onto a 3D geometry.

The image includes reference points, which correspond to known x-y-z
coordinates.

So the image plane is (my guess) the u-v-plane.

BR
Philipp




Am Fr., 20. Nov. 2020 um 12:16 Uhr schrieb Stéphane Mottelet <
stephane.motte...@utc.fr>:

> In order to use mesh2d with your data, there must exist a plane (u,v) on
> which you could project your (x,y,z) data. The mesh obtained on projected
> data (u,v) would give you the triangulation of the (x,z,y) data. This won't
> be possible with mesh2d if you take for example scattered points on a
> sphere. However, any non-linear transformation "unfolding" the data could
> also help to use pure 2d tools like mesh2d.
>
> S.
> Le 20/11/2020 à 12:05, P M a écrit :
>
>
>
> Am Fr., 20. Nov. 2020 um 11:47 Uhr schrieb Stéphane Mottelet <
> stephane.motte...@utc.fr>:
>
>> Hi again,
>> Le 20/11/2020 à 11:30, P M a écrit :
>>
>> OK,
>> some more background:
>>
>> I actually want to perform a delaunay triangulation on a set of
>> X-Y-Z-coordinates.
>>
>> I suppose you mean a triangulation of scattered X-Y-Z but you call mesh2d
>> with X-Y only ?
>>
>
> Yes, indeed. And there is the bug in my data.
> As x-y coordinates repeat, they do have a different z in the original data.
> But since I call mesh2d with x-y only there are indeed identical points.
>
>
>
>>
>> I know of CGLAB, but it seems only available to Scilab 6.0.x, while I am
>> on Scilab 6.1.0
>>
>> CGLAB is based on a very old version of CGAL and thus is very hard  to
>> maintain as is. There is a lot of work...
>>
>
> I am currently installing Scilab 6.0 to try CGLAB...
>
>>
>> So the nearest thing to a delaunay triangulation I found is mesh2d...
>>
>> Yeah. Suboptimal choice indeed...
>>
>> Because of the delaunay triangulation, I am not sure if the order of
>> points may change.
>>
>> What do you mean ?
>>
>
> The scattered points represent a 3D surface geometry.
> If the points will be resorted, I could imagine that the triangulation
> does not fit to the surface geometry anymore.
>
>>
>> About unique:
>>
>> The result I get is actual of same size as the input matrix...I therefore
>> do assume that each point is unique in the first place (which they actually
>> should).
>>
>> What does repeat are individual x, y, z coordinates, but in different
>> combinations.
>> So the actual point is different.
>>
>>
>> e.g.:x may repeat, but than the y-z-coordinates are different from
>> point to point
>>
>> Could you share the data (you can send me a private message) ?
>>
>> S.
>>
>>
>> Thanks,
>> Philipp
>>
>>
>>
>> Am Fr., 20. Nov. 2020 um 10:57 Uhr schrieb Stéphane Mottelet <
>> stephane.motte...@utc.fr>:
>>
>>> Hi Philipp,
>>>
>>> Glad to hear that some people use mesh2d. I know we have to improve the
>>> error message by getting the numbers at the Fortran level... There is also
>>> other errors which are not easy to fix without knowing the number of the
>>> problematic point (point too close to the boundary, for example). Can you
>>> file a bug on BZ ?
>>>
>>> S.
>>> Le 20/11/2020 à 10:03, P M a écrit :
>>>
>>> Dear all,
>>>
>>> using the mesh2d - function I get an error: mesh2di: some points are
>>> identical.
>>>
>>>
>>> How to identify these points and remove the duplicates?
>>>
>>> There are roughly 500'000 coordinates
>>>
>>> Thank you,
>>> Philipp
>>>
>>> ___
>>> users mailing 
>>> listusers@lists.scilab.orghttps://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>>>  
>>> 
>>>
>>> --
>>> Stéphane Mottelet
>>> Ingénieur de recherche
>>> EA 4297 Transformations Intégrées de la Matière Renouvelable
>>> Département Génie des Procédés Industriels
>>> Sorbonne Universités - Université de Technologie de Compiègne
>>> CS 60319, 60203 Compiègne cedex
>>> Tel : +33(0)344234688http://www.utc.fr/~mottelet 
>>> 
>>>
>>> ___
>>> users mailing list
>>> users@lists.scilab.org
>>> http://lists.scilab.org/mailman/listinfo/users
>>> 
>>>
>>
>> ___
>> users mailing 
>> listusers@lists.scilab.orghttps://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>>  
>> 

Re: [Scilab-users] mesh2d - finding identical points

2020-11-20 Thread Stéphane Mottelet
In order to use mesh2d with your data, there must exist a plane (u,v) on 
which you could project your (x,y,z) data. The mesh obtained on 
projected data (u,v) would give you the triangulation of the (x,z,y) 
data. This won't be possible with mesh2d if you take for example 
scattered points on a sphere. However, any non-linear transformation 
"unfolding" the data could also help to use pure 2d tools like mesh2d.


S.

Le 20/11/2020 à 12:05, P M a écrit :



Am Fr., 20. Nov. 2020 um 11:47 Uhr schrieb Stéphane Mottelet 
mailto:stephane.motte...@utc.fr>>:


Hi again,

Le 20/11/2020 à 11:30, P M a écrit :

OK,
some more background:

I actually want to perform a delaunay triangulation on a set of
X-Y-Z-coordinates.

I suppose you mean a triangulation of scattered X-Y-Z but you call
mesh2d with X-Y only ?


Yes, indeed. And there is the bug in my data.
As x-y coordinates repeat, they do have a different z in the original 
data.

But since I call mesh2d with x-y only there are indeed identical points.



I know of CGLAB, but it seems only available to Scilab 6.0.x,
while I am on Scilab 6.1.0

CGLAB is based on a very old version of CGAL and thus is very
hard  to maintain as is. There is a lot of work...


I am currently installing Scilab 6.0 to try CGLAB...



So the nearest thing to a delaunay triangulation I found is mesh2d...

Yeah. Suboptimal choice indeed...

Because of the delaunay triangulation, I am not sure if the order
of points may change.

What do you mean ?


The scattered points represent a 3D surface geometry.
If the points will be resorted, I could imagine that the triangulation 
does not fit to the surface geometry anymore.




About unique:

The result I get is actual of same size as the input matrix...I
therefore do assume that each point is unique in the first place
(which they actually should).

What does repeat are individual x, y, z coordinates, but in
different combinations.
So the actual point is different.


e.g.:    x may repeat, but than the y-z-coordinates are different
from point to point


Could you share the data (you can send me a private message) ?

S.



Thanks,
Philipp



Am Fr., 20. Nov. 2020 um 10:57 Uhr schrieb Stéphane Mottelet
mailto:stephane.motte...@utc.fr>>:

Hi Philipp,

Glad to hear that some people use mesh2d. I know we have to
improve the error message by getting the numbers at the
Fortran level... There is also other errors which are not
easy to fix without knowing the number of the problematic
point (point too close to the boundary, for example). Can you
file a bug on BZ ?

S.

Le 20/11/2020 à 10:03, P M a écrit :

Dear all,

using the mesh2d - function I get an error: mesh2di:
some points are identical.


How to identify these points and remove the duplicates?

There are roughly 500'000 coordinates

Thank you,
Philipp

___
users mailing list
users@lists.scilab.org  

https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
  



-- 
Stéphane Mottelet

Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet  


___
users mailing list
users@lists.scilab.org 
http://lists.scilab.org/mailman/listinfo/users




___
users mailing list
users@lists.scilab.org  

https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
  



-- 
Stéphane Mottelet

Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable

Re: [Scilab-users] mesh2d - finding identical points

2020-11-20 Thread P M
Am Fr., 20. Nov. 2020 um 11:47 Uhr schrieb Stéphane Mottelet <
stephane.motte...@utc.fr>:

> Hi again,
> Le 20/11/2020 à 11:30, P M a écrit :
>
> OK,
> some more background:
>
> I actually want to perform a delaunay triangulation on a set of
> X-Y-Z-coordinates.
>
> I suppose you mean a triangulation of scattered X-Y-Z but you call mesh2d
> with X-Y only ?
>

Yes, indeed. And there is the bug in my data.
As x-y coordinates repeat, they do have a different z in the original data.
But since I call mesh2d with x-y only there are indeed identical points.



>
> I know of CGLAB, but it seems only available to Scilab 6.0.x, while I am
> on Scilab 6.1.0
>
> CGLAB is based on a very old version of CGAL and thus is very hard  to
> maintain as is. There is a lot of work...
>

I am currently installing Scilab 6.0 to try CGLAB...

>
> So the nearest thing to a delaunay triangulation I found is mesh2d...
>
> Yeah. Suboptimal choice indeed...
>
> Because of the delaunay triangulation, I am not sure if the order of
> points may change.
>
> What do you mean ?
>

The scattered points represent a 3D surface geometry.
If the points will be resorted, I could imagine that the triangulation does
not fit to the surface geometry anymore.

>
> About unique:
>
> The result I get is actual of same size as the input matrix...I therefore
> do assume that each point is unique in the first place (which they actually
> should).
>
> What does repeat are individual x, y, z coordinates, but in different
> combinations.
> So the actual point is different.
>
>
> e.g.:x may repeat, but than the y-z-coordinates are different from
> point to point
>
> Could you share the data (you can send me a private message) ?
>
> S.
>
>
> Thanks,
> Philipp
>
>
>
> Am Fr., 20. Nov. 2020 um 10:57 Uhr schrieb Stéphane Mottelet <
> stephane.motte...@utc.fr>:
>
>> Hi Philipp,
>>
>> Glad to hear that some people use mesh2d. I know we have to improve the
>> error message by getting the numbers at the Fortran level... There is also
>> other errors which are not easy to fix without knowing the number of the
>> problematic point (point too close to the boundary, for example). Can you
>> file a bug on BZ ?
>>
>> S.
>> Le 20/11/2020 à 10:03, P M a écrit :
>>
>> Dear all,
>>
>> using the mesh2d - function I get an error: mesh2di: some points are
>> identical.
>>
>>
>> How to identify these points and remove the duplicates?
>>
>> There are roughly 500'000 coordinates
>>
>> Thank you,
>> Philipp
>>
>> ___
>> users mailing 
>> listusers@lists.scilab.orghttps://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>>  
>> 
>>
>> --
>> Stéphane Mottelet
>> Ingénieur de recherche
>> EA 4297 Transformations Intégrées de la Matière Renouvelable
>> Département Génie des Procédés Industriels
>> Sorbonne Universités - Université de Technologie de Compiègne
>> CS 60319, 60203 Compiègne cedex
>> Tel : +33(0)344234688http://www.utc.fr/~mottelet 
>> 
>>
>> ___
>> users mailing list
>> users@lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>> 
>>
>
> ___
> users mailing 
> listusers@lists.scilab.orghttps://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>
> --
> Stéphane Mottelet
> Ingénieur de recherche
> EA 4297 Transformations Intégrées de la Matière Renouvelable
> Département Génie des Procédés Industriels
> Sorbonne Universités - Université de Technologie de Compiègne
> CS 60319, 60203 Compiègne cedex
> Tel : +33(0)344234688http://www.utc.fr/~mottelet
>
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] mesh2d - finding identical points

2020-11-20 Thread Stéphane Mottelet

Hi again,

Le 20/11/2020 à 11:30, P M a écrit :

OK,
some more background:

I actually want to perform a delaunay triangulation on a set of 
X-Y-Z-coordinates.
I suppose you mean a triangulation of scattered X-Y-Z but you call 
mesh2d with X-Y only ?


I know of CGLAB, but it seems only available to Scilab 6.0.x, while I 
am on Scilab 6.1.0
CGLAB is based on a very old version of CGAL and thus is very hard to 
maintain as is. There is a lot of work...


So the nearest thing to a delaunay triangulation I found is mesh2d...

Yeah. Suboptimal choice indeed...
Because of the delaunay triangulation, I am not sure if the order of 
points may change.

What do you mean ?


About unique:

The result I get is actual of same size as the input matrix...I 
therefore do assume that each point is unique in the first place 
(which they actually should).


What does repeat are individual x, y, z coordinates, but in different 
combinations.

So the actual point is different.


e.g.:    x may repeat, but than the y-z-coordinates are different from 
point to point


Could you share the data (you can send me a private message) ?

S.



Thanks,
Philipp



Am Fr., 20. Nov. 2020 um 10:57 Uhr schrieb Stéphane Mottelet 
mailto:stephane.motte...@utc.fr>>:


Hi Philipp,

Glad to hear that some people use mesh2d. I know we have to
improve the error message by getting the numbers at the Fortran
level... There is also other errors which are not easy to fix
without knowing the number of the problematic point (point too
close to the boundary, for example). Can you file a bug on BZ ?

S.

Le 20/11/2020 à 10:03, P M a écrit :

Dear all,

using the mesh2d - function I get an error: mesh2di: some points
are identical.


How to identify these points and remove the duplicates?

There are roughly 500'000 coordinates

Thank you,
Philipp

___
users mailing list
users@lists.scilab.org  

https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
  



-- 
Stéphane Mottelet

Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet  


___
users mailing list
users@lists.scilab.org 
http://lists.scilab.org/mailman/listinfo/users




___
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users


--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] mesh2d - finding identical points

2020-11-20 Thread P M
OK,
some more background:

I actually want to perform a delaunay triangulation on a set of
X-Y-Z-coordinates.

I know of CGLAB, but it seems only available to Scilab 6.0.x, while I am on
Scilab 6.1.0

So the nearest thing to a delaunay triangulation I found is mesh2d...
Because of the delaunay triangulation, I am not sure if the order of points
may change.

About unique:

The result I get is actual of same size as the input matrix...I therefore
do assume that each point is unique in the first place (which they actually
should).

What does repeat are individual x, y, z coordinates, but in different
combinations.
So the actual point is different.


e.g.:x may repeat, but than the y-z-coordinates are different from
point to point

Thanks,
Philipp



Am Fr., 20. Nov. 2020 um 10:57 Uhr schrieb Stéphane Mottelet <
stephane.motte...@utc.fr>:

> Hi Philipp,
>
> Glad to hear that some people use mesh2d. I know we have to improve the
> error message by getting the numbers at the Fortran level... There is also
> other errors which are not easy to fix without knowing the number of the
> problematic point (point too close to the boundary, for example). Can you
> file a bug on BZ ?
>
> S.
> Le 20/11/2020 à 10:03, P M a écrit :
>
> Dear all,
>
> using the mesh2d - function I get an error: mesh2di: some points are
> identical.
>
>
> How to identify these points and remove the duplicates?
>
> There are roughly 500'000 coordinates
>
> Thank you,
> Philipp
>
> ___
> users mailing 
> listusers@lists.scilab.orghttps://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>
> --
> Stéphane Mottelet
> Ingénieur de recherche
> EA 4297 Transformations Intégrées de la Matière Renouvelable
> Département Génie des Procédés Industriels
> Sorbonne Universités - Université de Technologie de Compiègne
> CS 60319, 60203 Compiègne cedex
> Tel : +33(0)344234688http://www.utc.fr/~mottelet
>
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] mesh2d - finding identical points

2020-11-20 Thread Stéphane Mottelet

Hi Philipp,

Glad to hear that some people use mesh2d. I know we have to improve the 
error message by getting the numbers at the Fortran level... There is 
also other errors which are not easy to fix without knowing the number 
of the problematic point (point too close to the boundary, for example). 
Can you file a bug on BZ ?


S.

Le 20/11/2020 à 10:03, P M a écrit :

Dear all,

using the mesh2d - function I get an error: mesh2di: some points 
are identical.



How to identify these points and remove the duplicates?

There are roughly 500'000 coordinates

Thank you,
Philipp

___
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users


--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] {EXT} mesh2d - finding identical points

2020-11-20 Thread Dang Ngoc Chan, Christophe
Hello,

> De : users  De la part de P M Envoyé :
> vendredi 20 novembre 2020 10:04
>
> How to identify these points and remove the duplicates?

You might try to use unique().

Maybe the following discussion can help:

http://mailinglists.scilab.org/Scilab-users-Remove-duplicate-rows-and-sustain-original-order-of-rows-td4038110.html

regards

--
Christophe Dang Ngoc Chan
Mechanical Calculation Engineer

General
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] mesh2d - finding identical points

2020-11-20 Thread paul francedixhuit
Hi
Have a look to "unique" to identify (and remove) duplicates

Paul

Le ven. 20 nov. 2020 à 10:04, P M  a écrit :

> Dear all,
>
> using the mesh2d - function I get an error: mesh2di: some points are
> identical.
>
>
> How to identify these points and remove the duplicates?
>
> There are roughly 500'000 coordinates
>
> Thank you,
> Philipp
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] mesh2d - finding identical points

2020-11-20 Thread P M
Dear all,

using the mesh2d - function I get an error: mesh2di: some points are
identical.


How to identify these points and remove the duplicates?

There are roughly 500'000 coordinates

Thank you,
Philipp
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users