<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Abdelghani,</p>
<p>that blog post highlights new features of version 3.36. Those
methods are not available in 3.34.x. ;)<br>
</p>
<p>Cheers, Hannes<br>
</p>
<div class="moz-cite-prefix">On 25.04.24 14:47, Abdelghani Tamort
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOSq7HPrfQcoo_s7-W3nLT9p1G=o0YMiVY3Cn+S6QAfRjxLG6w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Saber,
<div><br>
</div>
<div>From the link you sent, I tried some code lines. For
instance, I tried "<span class="gmail-n"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">iface</span><span
class="gmail-p"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">.</span><span
class="gmail-n"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">mapCanvases3D</span><span
class="gmail-p"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">()"
but It doesn't seem to work, I'm getting the following
error: AttributeError: 'QgisInterface' object has no
attribute 'mapCanvases3D'. I'm working on QGIS 3.34.5. </span></div>
<div><span class="gmail-p"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box"><br>
</span></div>
<div><span class="gmail-p"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box"><br>
</span></div>
<div><span class="gmail-p"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">Kind regards, </span></div>
<div><span class="gmail-p"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box"><br>
</span></div>
<div><span class="gmail-p"
style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">Abdelghani</span></div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 12 Apr 2024 at 15:49,
Saber Razmjooei <<a
href="mailto:saber.razmjooei@lutraconsulting.co.uk"
moz-do-not-send="true" class="moz-txt-link-freetext">saber.razmjooei@lutraconsulting.co.uk</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>You can find more code snippet and examples here:</div>
<div><a
href="https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/</a><br>
</div>
<div><br>
</div>
<div>Kind regards</div>
<div>Saber</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 12 Apr 2024 at
11:58, Johannes Kröger (WhereGroup) via QGIS-Developer
<<a href="mailto:qgis-developer@lists.osgeo.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">qgis-developer@lists.osgeo.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
afaik the 3D Python API is not fully finalized yet. But
you can already <br>
control some aspects of it from Python, mostly the views
themselves. <br>
This was added recently, see <a
href="https://github.com/qgis/QGIS/pull/55862"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/qgis/QGIS/pull/55862</a><br>
<br>
Have fun!<br>
Hannes<br>
<br>
On 12.04.24 11:30, Abdelghani Tamort via QGIS-Developer
wrote:<br>
> Hello,<br>
><br>
> I want to post a message (which contains an
inquiry) to the qgis <br>
> developer list.<br>
> The message is the following:<br>
><br>
> Is there a solid documentation/tutorials on
handling 3D on QGIS's <br>
> python API ? Currently working on a QGIS plugin
that exports data in <br>
> 3D format and trying to make use of the 3D views in
QGIS to visualize <br>
> the outputs. I am aware of the Qgis2threejs plugin
<br>
> (<a href="https://github.com/minorua/Qgis2threejs"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/minorua/Qgis2threejs</a>)
but I am more interested in <br>
> working with the native 3D handling of QGIS.<br>
><br>
><br>
> Thanks in advance<br>
><br>
><br>
> Abdelghani TAMORT<br>
><br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br>
-- <br>
Johannes Kröger / GIS-Entwickler/-Berater<br>
<br>
---------------------------------------------<br>
Aufwind durch Wissen!<br>
Web-Seminare und Online-Schulungen<br>
bei der <a href="http://www.foss-academy.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">www.foss-academy.com</a><br>
---------------------------------------------<br>
<br>
WhereGroup GmbH<br>
c/o KK03 GmbH<br>
Lange Reihe 29<br>
20099 Hamburg<br>
Germany<br>
<br>
Tel: +49 (0)228 / 90 90 38 - 36<br>
Fax: +49 (0)228 / 90 90 38 - 11<br>
<br>
<a href="mailto:johannes.kroeger@wheregroup.com"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">johannes.kroeger@wheregroup.com</a><br>
<a href="http://www.wheregroup.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.wheregroup.com</a><br>
Geschäftsführer:<br>
Olaf Knopp, Peter Stamm<br>
Amtsgericht Bonn, HRB 9885<br>
-------------------------------<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Saber Razmjooei<br>
</div>
<div><a
href="http://www.lutraconsulting.co.uk" target="_blank"
moz-do-not-send="true">www.lutraconsulting.co.uk</a><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Johannes Kröger / GIS-Entwickler/-Berater
---------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der <a class="moz-txt-link-abbreviated" href="http://www.foss-academy.com">www.foss-academy.com</a>
---------------------------------------------
WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany
Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11
<a class="moz-txt-link-abbreviated" href="mailto:johannes.kroeger@wheregroup.com">johannes.kroeger@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------
</pre>
</body>
</html>