project2{3} and SECT_​​FILL command works different in AC18-19 and AC20-21

Home Forums Problems and solutions in GDL Object design project2{3} and SECT_​FILL command works different in AC18-19 and AC20-21

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Orsolya Almer 1 year, 5 months ago.

  • Author
    Posts
  • #3961

    Orsolya Almer
    Participant

    Hello!
    I have used the command “project2{3}” and in 3D script I used the sect_fill command for the fill types (in the version AC18)
    In AC18 and AC19 it works fine but if I check the object in AC20 or AC21 it looks different.

    2D:

    pen 25
    set fill 15
    line_type 1

    project2{3} 3, 270, 3+32*0, 1+4

    3D:
    pen 75

    addz 0.5
    cutplane{2} 0, 1
    del 1
    material 36
    sect_fill 1, 20, 40, 6
    block 1, 1, 1

    addx 1
    material 8
    sect_fill 4, 10, 11, 20
    block 1, 1, 2

    addx 1
    material 1
    sect_fill 4, 10, 11, 20
    block 1, 1, 0.1
    del 1
    del 1
    cutend

    Thanks in advance
    Orsolya

    Attachments:
  • #3964

    Barry Kelly
    Participant

    Are you opening exactly the same file in all versions or are you just placing the object in the template (or any file) for 18 and then the template (or any file) for 20?
    If two separate files are the attributes the same in both files?
    Seems to me you might have different attributes for the same index numbers.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • #3965

    Orsolya Almer
    Participant

    Hi Barry,
    No, I am affraid that is not the problem.
    In version 20 and 21 you see the colors of the surfaces not the sect_fill set attributes.
    As if the method 32 would be always active.
    Thanks

You must be logged in to reply to this topic.