cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

picture in GDL without borderlines in 3D??

Hmooslechner
Advisor

The picture command unfortunately only knows one setting for an always visible border line

Who knows a simple way to work around this?

so - to get an GDL image -simply resizeable like the picture-command -  without border lines in 3D.

AC5.5-AC25EduAut, PC-Win10, MacbookAirM1
1 ACCEPTED SOLUTION

Solution
Pertti Paasky
Advocate

This works in 3d.

mask=0
rotx 45
group "pict"
if picturename #"" then PICTURE picturename, a, b, mask
endgroup
placegroup "pict"

addz 2
repl_directive = 0

j1=0!: replace pen,
j2=0!: replace material,
j4=1!: make edges invisible.
repl_directive = j1 + 2*j2 + 4*j3 + 8*j4
pen_= 1
material_=0

placegroup CREATEGROUPWITHMATERIAL ("pict", repl_directive, pen_, material_)
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.

View solution in original post

5 REPLIES 5

DGSketcher
Champion

Shot in the dark, have you tried different pen settings before the picture command including background and transparent. The frame makes reference to using RECT which doesn't have pen settings so I assume relies on the PEN setting.

Apple iMac macOS Monterey / AC26UKI (most recent builds)

Hmooslechner
Advisor

no - unfortunately not - i cant turn it off completely to just show the picture without the lineframe with the pen-setting.

AC5.5-AC25EduAut, PC-Win10, MacbookAirM1

runxel
Ace

You can't have that with PICTURE, Heimo.

Either use a Graphic Override to get rid of the outline.

Or just use "DEFINE TEXTURE" with any geometry.

This might be the best option.

Mostly AC 26 on Mac | Author of SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

Solution
Pertti Paasky
Advocate

This works in 3d.

mask=0
rotx 45
group "pict"
if picturename #"" then PICTURE picturename, a, b, mask
endgroup
placegroup "pict"

addz 2
repl_directive = 0

j1=0!: replace pen,
j2=0!: replace material,
j4=1!: make edges invisible.
repl_directive = j1 + 2*j2 + 4*j3 + 8*j4
pen_= 1
material_=0

placegroup CREATEGROUPWITHMATERIAL ("pict", repl_directive, pen_, material_)
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.

Thank You - it worked fine!

 


@Pertti Paasky wrote:
This works in 3d.

mask=0
rotx 45
group "pict"
if picturename #"" then PICTURE picturename, a, b, mask
endgroup
placegroup "pict"

addz 2
repl_directive = 0

j1=0!: replace pen,
j2=0!: replace material,
j4=1!: make edges invisible.
repl_directive = j1 + 2*j2 + 4*j3 + 8*j4
pen_= 1
material_=0

placegroup CREATEGROUPWITHMATERIAL ("pict", repl_directive, pen_, material_)


I did it for the whole group i already had with all pictures in it:

 



repl_directive = 0 !!! GDL Handbuch Seite 183

j1=0!: replace pen,
j2=0!: replace material,
j3=0!: ????
j4=1!: make edges invisible.

repl_directive = j1 + 2*j2 + 4*j3 + 8*j4

pen_= 1

material_=0

if OhneRahmenLinien = 1 then

  placegroup CREATEGROUPWITHMATERIAL (Wandvorsatz, repl_directive, pen_, material_)

else

   placegroup Wandvorsatz

endif

 

 

For What: 

 

https://forum.Graphisoft.de/viewtopic.php?f=6&t=28872 

AC5.5-AC25EduAut, PC-Win10, MacbookAirM1

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!