[GiDlist] bas file problem

Moderator: GiD Team

Post Reply
Mark Smith

[GiDlist] bas file problem

Post by Mark Smith »

Found a solution, my mistake was misusing *ElemsMat
Solved the problem by changing my material file and the following in my bas
file

*loop materials
*set var MaterialNum(int)=Operation(MatProp(Number,int))
*loop elems
*ElemsNum 1 29650 *MaterialNum *ElemsConec
*end elems
*end materials



Regards
mark



-----Original Message-----
From: Mark Smith [mailto:mark.smith at linx.co.uk]
Sent: 23 July 2002 12:44
To: Gidlist (E-mail)
Subject: [GiDlist] bas file problem


win98 GiD6.3.0b

Dear GiD team,

I am having a problem writing out a mesh data file in my required format.
the following few lines from my .bas file are giving me problems:

*loop elems
*ElemsNum 1 29650 *ElemsMat *ElemsConec
*end elems


no mater what material I asign to my volume before meshing (linear tets),
the output file always shows the value 1 as the elements material.
If I do a write mesh then the output file shows the correct material number?
Whats going on?

Regards
Mark



--------------------------------------------------------------------------
Linx Printing Technologies plc
+44 (0)1480302100
http://www.linx.co.uk/
This e-mail may contain privileged/confidential information and may be
read, copied and used only by the intended recipient. If you have received
it in error, please contact the sender by return e-mail or by
telephoning +44 (0)1480 302100.
Please then delete the e-mail and do not disclose its contents to any
person.

Any information in this message that does not relate to the official
business of Linx shall be understood as neither given nor endorsed by Linx.
We reserve the right to monitor all e-mail communications through our
internal and external networks.
--------------------------------------------------------------------------



_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist


--------------------------------------------------------------------------
Linx Printing Technologies plc
+44 (0)1480302100
http://www.linx.co.uk/
This e-mail may contain privileged/confidential information and may be
read, copied and used only by the intended recipient. If you have received
it in error, please contact the sender by return e-mail or by
telephoning +44 (0)1480 302100.
Please then delete the e-mail and do not disclose its contents to any
person.

Any information in this message that does not relate to the official
business of Linx shall be understood as neither given nor endorsed by Linx.
We reserve the right to monitor all e-mail communications through our
internal and external networks.
--------------------------------------------------------------------------
Mike Monti

[GiDlist] DXF files

Post by Mike Monti »

Hi troops
Im having trouble importing files in dxf format from Qcad to Gid. This
problem seems to just have appeared since i upgraded to V7.0. Sometimes it
works and sometimes Gid just shuts down. I didnt experience this with 6.03?
Anybody else have this problem or any advice
Thanks a lot
Mike
Miguel A. de Riera Pasenau

[GiDlist] DXF files

Post by Miguel A. de Riera Pasenau »

can you send us a little example where this happens, so we can
check it out?
are you running in windows/linux/...?

miguel

Mike Monti wrote:

Hi troops
Im having trouble importing files in dxf format from Qcad to Gid. This
problem seems to just have appeared since i upgraded to V7.0. Sometimes it
works and sometimes Gid just shuts down. I didnt experience this with 6.03?
Anybody else have this problem or any advice
Thanks a lot
Mike
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

--
--------------------------------------------------------------------------------
Miguel A. de Riera Pasenau miguel at cimne.upc.es http://gid.cimne.upc.es
Mike Monti

[GiDlist] DXF files

Post by Mike Monti »

Hola Miguel
y beunos dias.
Im running gid on a linux machine using turbolinux, I dont have windows or
dos on this machine.
Attached is a dxf file where this does happen printing.dxf and one where it
works fine, paper.dxf. I cant seem to make the connection between what will
work and what wont work. I suspect Qcqd dxf and Gid dsf are different
versions of dxf.
Muchas gracias
Mike
-------------- next part --------------
0
SECTION
2
HEADER
9
$LIMMIN
10
0.000000
20
0.000000
9
$LIMMAX
10
155.563380
20
253.154930
9
$EXTMIN
10
0.000000
20
0.000000
9
$EXTMAX
10
155.563380
20
253.154930
9
$ANGBASE
50
0.000000
9
$ANGDIR
70
0
9
$INSUNITS
70
4
9
$DIMALT
70
4
9
$DIMLUNIT
70
2
9
$DIMASZ
40
3.000000
9
$DIMTXT
40
5.000000
9
$DIMRND
40
0.010000
9
$DIMEXE
40
2.000000
9
$DIMEXO
40
2.000000
9
$DIMAUNIT
70
0
9
$DIMADEC
70
2
9
$GRIDUNIT
10
0.001000
20
0.001000
9
$PLIMMIN
10
0.000000
20
0.000000
9
$PLIMMAX
10
210.000000
20
297.000000
9
$PSVPSCALE
40
1.000000
0
ENDSEC
0
SECTION
2
TABLES
0
TABLE
2
LTYPE
70
1
0
LTYPE
2
CONTINUOUS
70
64
3
Ausgez
72
65
73
0
40
0.000000
0
ENDTAB
0
TABLE
2
LAYER
70
1
0
LAYER
2
default
70
64
62
0
6
CONTINUOUS
0
ENDTAB
0
ENDSEC
0
SECTION
2
BLOCKS
0
ENDSEC
0
SECTION
2
ENTITIES
0
LINE
8
default
6
CONTINUOUS
10
35.563380
20
253.154930
11
35.563380
21
193.154930
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
35.563380
20
193.154930
11
155.563380
21
193.154930
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
155.563380
20
193.154930
11
155.563380
21
253.154930
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
155.563380
20
253.154930
11
35.563380
21
253.154930
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
130.790806
20
212.939394
11
95.790806
21
212.939394
39
0
62
0
0
CIRCLE
8
default
6
CONTINUOUS
10
45.563380
20
223.154930
40
4.250000
39
0
62
0
0
CIRCLE
8
default
6
CONTINUOUS
10
63.563380
20
223.154930
40
4.250000
39
0
62
0
0
CIRCLE
8
default
6
CONTINUOUS
10
45.563380
20
244.154930
40
5.000000
39
0
62
0
0
CIRCLE
8
default
6
CONTINUOUS
10
45.563380
20
202.154930
40
5.000000
39
0
62
0
0
CIRCLE
8
default
6
CONTINUOUS
10
145.563380
20
244.154930
40
5.000000
39
0
62
0
0
CIRCLE
8
default
6
CONTINUOUS
10
145.563380
20
202.154930
40
5.000000
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
95.790806
20
232.939394
11
130.790806
21
232.939394
39
0
62
0
0
ARC
8
default
6
CONTINUOUS
10
95.790806
20
222.939394
40
10.000000
50
90.000000
51
270.000000
39
0
62
0
0
ARC
8
default
6
CONTINUOUS
10
130.790806
20
222.939394
40
10.000000
50
270.000000
51
90.000000
39
0
62
0
0
ENDSEC
0
EOF
-------------- next part --------------
0
SECTION
2
HEADER
9
$LIMMIN
10
0.000000
20
0.000000
9
$LIMMAX
10
140.000000
20
260.000000
9
$EXTMIN
10
0.000000
20
0.000000
9
$EXTMAX
10
140.000000
20
260.000000
9
$ANGBASE
50
0.000000
9
$ANGDIR
70
0
9
$INSUNITS
70
4
9
$DIMALT
70
4
9
$DIMLUNIT
70
2
9
$DIMASZ
40
3.000000
9
$DIMTXT
40
5.000000
9
$DIMRND
40
0.010000
9
$DIMEXE
40
2.000000
9
$DIMEXO
40
2.000000
9
$DIMAUNIT
70
0
9
$DIMADEC
70
2
9
$GRIDUNIT
10
0.001000
20
0.001000
9
$PLIMMIN
10
0.000000
20
0.000000
9
$PLIMMAX
10
210.000000
20
297.000000
9
$PSVPSCALE
40
1.000000
0
ENDSEC
0
SECTION
2
TABLES
0
TABLE
2
LTYPE
70
1
0
LTYPE
2
CONTINUOUS
70
64
3
Ausgez
72
65
73
0
40
0.000000
0
ENDTAB
0
TABLE
2
LAYER
70
1
0
LAYER
2
default
70
64
62
0
6
CONTINUOUS
0
ENDTAB
0
ENDSEC
0
SECTION
2
BLOCKS
0
ENDSEC
0
SECTION
2
ENTITIES
0
LINE
8
default
6
CONTINUOUS
10
60.000000
20
260.000000
11
60.000000
21
10.000000
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
60.000000
20
10.000000
11
65.000000
21
10.000000
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
65.000000
20
10.000000
11
65.000000
21
260.000000
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
65.000000
20
260.000000
11
60.000000
21
260.000000
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
100.000000
20
260.000000
11
100.000000
21
10.000000
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
100.000000
20
10.000000
11
140.000000
21
10.000000
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
140.000000
20
10.000000
11
140.000000
21
260.000000
39
0
62
0
0
LINE
8
default
6
CONTINUOUS
10
140.000000
20
260.000000
11
100.000000
21
260.000000
39
0
62
0
0
ENDSEC
0
EOF
Ramon Ribó

[GiDlist] DXF files

Post by Ramon Ribó »

Hello,

My GiD version 7 can read correctly your printing.dxf. What problem
appears to you?

Regards,

--
Compass Ing. y Sistemas Dr. Ramon Ribó
http://www.compassis.com ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es
[mailto:gidlist-admin at gatxan.cimne.upc.es]En nombre de Mike Monti
Enviado el: miércoles, 31 de julio de 2002 22:29
Para: gidlist at gatxan.cimne.upc.es
Asunto: Re: [GiDlist] DXF files


Hola Miguel
y beunos dias.
Im running gid on a linux machine using turbolinux, I dont have windows or
dos on this machine.
Attached is a dxf file where this does happen printing.dxf and one where it
works fine, paper.dxf. I cant seem to make the connection between what will
work and what wont work. I suspect Qcqd dxf and Gid dsf are different
versions of dxf.
Muchas gracias
Mike
Post Reply