Lector DXF
Subject: Re: Lector DXF
Last edited by vuott on Wednesday, 06 May 2020, 01:19; edited 1 time in total
Last edited by vuott on Wednesday, 06 May 2020, 01:19; edited 1 time in total
Subject: Re: Lector DXF
Last edited by vuott on Wednesday, 06 May 2020, 01:42; edited 2 times in total
ok, siguo probando con la libreria que me señalaste.
Last edited by vuott on Wednesday, 06 May 2020, 01:42; edited 2 times in total
Subject: Re: Lector DXF
Last edited by tercoIDE on Wednesday, 06 May 2020, 03:28; edited 1 time in total
Cada funcion se ve mas o menos asi, entonces a medida que "descubrimos" una entidad en el archivo importado, se agrega directamente al listado de entidades de gambasCAD
Public Function AddCircle(Points As Float[], radious As Float, Optional _color As Integer = 0, Optional LineWidth As Float = 1, Optional Linetye As Integer = 0, Optional Layer As Integer = 0, Optional Block As Integer) As Boolean
Dim oEntity As Object ' creamos la entidad de la clase apropiada
oEntity = Object.New("cadCircle") ' create the new entity of proper class
oEntity.P.insert(points) ' centro x1,y1
oEntity.fParam[0] = radious ' radio
oEntity.layer = Layer
oEntity._color = _color
oEntity.LineWidth = LineWidth ' datos CAD
oEntity.Block = Block
clsEntities.Add(oEntity)
oEntity = Null ' free object
End
Dim oEntity As Object ' creamos la entidad de la clase apropiada
oEntity = Object.New("cadCircle") ' create the new entity of proper class
oEntity.P.insert(points) ' centro x1,y1
oEntity.fParam[0] = radious ' radio
oEntity.layer = Layer
oEntity._color = _color
oEntity.LineWidth = LineWidth ' datos CAD
oEntity.Block = Block
clsEntities.Add(oEntity)
oEntity = Null ' free object
End
Last edited by tercoIDE on Wednesday, 06 May 2020, 03:28; edited 1 time in total
Subject: Re: Lector DXF
Perdona, asì yo no tengo hacer nada con aquella libreria DXF escrita en C++ ?
tercoIDE escribió: [Ver mensaje]
Perdona, asì yo no tengo hacer nada con aquella libreria DXF escrita en C++ ?
Subject: Re: Lector DXF
Last edited by vuott on Wednesday, 06 May 2020, 16:20; edited 2 times in total
Yo esperaba que no.
Last edited by vuott on Wednesday, 06 May 2020, 16:20; edited 2 times in total
Subject: Re: Lector DXF
lo hare yo, no te preocupes
necesito abrir DXF para verificar la perfomance de gambasCAD y si vale la pensa seguir con Paint que tiene un rendimiento inferior a OpenGL aun que mas facilidad de uso
necesito abrir DXF para verificar la perfomance de gambasCAD y si vale la pensa seguir con Paint que tiene un rendimiento inferior a OpenGL aun que mas facilidad de uso
Page 2 of 4
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo
Generation Time: 0.0988s (PHP: -32% SQL: 132%)
SQL queries: 26 - Debug Off - GZIP Enabled