Forum Allplan

problem with "GROUP_DIFF"

Tags:
  • 2013

Hello

I have a problem with "GROUP_DIFF".

with the command PRISM_ the well deducted the volume control, but with the TUBE command that no longer works?

or so it works once, and I change the value REF_Z the voume of subtraction generated by TUBE disappear...

is what I done something that he does know not?

tky

oliver1

Administrateur forum : Allplan.leforum.eu

http://allplan.leforum.eu

Olivier1

Allegati (3)

Type: image/png
533 scaricato
Size: 61,80 KiB
Type: application/octet-stream
1631 scaricato
Size: 19,71 KiB
Type: application/octet-stream
1690 scaricato
Size: 19,82 KiB

Hi Olivier,

the TUBE you contructed describe no closed volume:

TUBE 4 , 4 , 16 + 32 ,
0 , 0 , 0 ,
0 , 0.015 , 0 ,
0.005 , 0.015 , 0 ,
0.005 , 0 , 0 ,
0 , 0 , 0 , 0 ,
0 , 0 , 0 , 0 ,
0 , 0 , REF_X , 0 ,
0 , 0 , 1 , 0

What you think does "16+32" mean? I dont'nt know!

Try this:
TUBE 4 , 4 , 1+ 2
0 , 0 , 0 ,
0 , 0.015 , 0 ,
0.005 , 0.015 , 0 ,
0.005 , 0 , 0 ,
0 , 0 , 0 , 0 ,
0 , 0 , 0 , 0 ,
0 , 0 , REF_X , 0 ,
0 , 0 , 1 , 0

1 + 2 ... means:
Masking
mask = j1 + 2*j2
with j1, j2 may be 0 or 1
j1 (1): surface at the beginning of the tube is present
j2 (2): surface at the end of the tube is present

Look at the "Output and Messages"-Control in Editor!
You get a good help there, if you klick the TUBE-command in the script.

With this usage of TUBE the GROUP_DIFF works fine (see enclosed test_group_tube1.smt)

Regards Jörg

Allegati (1)

Type: text/plain
1813 scaricato
Size: 20,29 KiB

erinnert an autocad von 1988.... :-)

Nemo thanks for your help,

I knew that I had made a mistake somewhere, but as I copy paste a part of the TUBE code since an other smartparts I not thought it was ca.

To complete:
I had 16 + 32 in a preceding smartparts because the tube was a loop and start edges and final this affected, for not seeing this stop I had 16 + 32 ;)

Administrateur forum : Allplan.leforum.eu

http://allplan.leforum.eu

Olivier1