<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Ubuntu">Hi </font>Abdelghani,<br>
<br>
Reading the source code, we can deduce the properties.<br>
I agree that the documentation is too light here.<br>
<font face="Ubuntu"><br>
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/blob/master/src/3d/symbols/qgspoint3dsymbol.cpp#L172">https://github.com/qgis/QGIS/blob/master/src/3d/symbols/qgspoint3dsymbol.cpp#L172</a><br>
<br>
For a cylinder, the properties are "length", "radius" (default
values are 10).<br>
For a sphere: "radius" (default value is 10).<br>
For a cone: "length" (default value is 10).<br>
For a cube: "size"</font><font face="Ubuntu"> (default value is
10).</font><br>
<font face="Ubuntu">For a torus: "radius" (default value is 10),
"minorRadius" (default value is 5).<br>
For a plane: "size" (default value is 10).<br>
For extruded text: "depth" (default value is 1).<br>
For Model and Billboard: no property.<br>
<br>
I only did a "translator" job here :-) and I don't know if the
3D shapes that are listed make sense for you.<br>
Regards,<br>
<br>
</font>
<pre class="moz-signature" cols="72">Jacky Volpes
Ingénieur SIG - Oslandia</pre>
<div class="moz-cite-prefix"><br>
Le 03/06/2024 à 17:33, Abdelghani Tamort via QGIS-Developer a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAOSq7HPjX=M8A5JVf-hHaVcNbPpjcPnfA5fQyDXPbdAnnOwsHw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Howdy,
<div><br>
</div>
<div>I want to know which are the keys of each shape in the
<span class="gmail-sig-name gmail-descname"
style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;color:rgb(0,0,0);font-size:14.4px;font-weight:700"><span
class="gmail-pre" style="box-sizing:border-box">setShapeProperties</span></span><span
class="gmail-sig-paren"
style="box-sizing:border-box;color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px;font-weight:700">(</span><em
class="gmail-sig-param"
style="box-sizing:border-box;color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px;font-weight:700"><span
class="gmail-n" style="box-sizing:border-box"><span
class="gmail-pre" style="box-sizing:border-box">self</span></span></em><span
style="color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px;font-weight:700;background-color:rgb(240,240,240)">, </span><em
class="gmail-sig-param"
style="box-sizing:border-box;color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px;font-weight:700"><span
class="gmail-n" style="box-sizing:border-box"><span
class="gmail-pre" style="box-sizing:border-box">properties</span></span><span
class="gmail-p" style="box-sizing:border-box"><span
class="gmail-pre" style="box-sizing:border-box">:</span></span><span
class="gmail-w" style="box-sizing:border-box"> </span><span
class="gmail-n" style="box-sizing:border-box"><span
class="gmail-pre" style="box-sizing:border-box">Dict</span><span
class="gmail-p" style="box-sizing:border-box"><span
class="gmail-pre" style="box-sizing:border-box">[</span></span><span
class="gmail-pre" style="box-sizing:border-box">str</span><span
class="gmail-p" style="box-sizing:border-box"><span
class="gmail-pre" style="box-sizing:border-box">,</span></span><span
class="gmail-w" style="box-sizing:border-box"> </span><span
class="gmail-pre" style="box-sizing:border-box">Any</span><span
class="gmail-p" style="box-sizing:border-box"><span
class="gmail-pre" style="box-sizing:border-box">]</span></span></span></em><span
class="gmail-sig-paren"
style="box-sizing:border-box;color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px;font-weight:700">)
</span><span class="gmail-sig-paren"
style="box-sizing:border-box;color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px">method
</span><span class="gmail-sig-paren"
style="box-sizing:border-box;color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px">of </span><span
class="gmail-sig-paren"
style="box-sizing:border-box;color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px;font-weight:700">qgis.analysis.Qgis.Point3DShape.
</span><span class="gmail-sig-paren"
style="box-sizing:border-box;color:rgb(85,85,85);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:14.4px">It
would help me choose a 3d model as a point symbol. </span>
<div><font
face="Lato, proxima-nova, Helvetica Neue, Arial, sans-serif"
color="#555555"><span style="font-size:14.4px">There is no
mention of them in the PyQGIS docs (</span></font><a
href="https://qgis.org/pyqgis/3.36/_3d/QgsPoint3DSymbol.html#qgis._3d.QgsPoint3DSymbol.shapeProperty"
moz-do-not-send="true" class="moz-txt-link-freetext">https://qgis.org/pyqgis/3.36/_3d/QgsPoint3DSymbol.html#qgis._3d.QgsPoint3DSymbol.shapeProperty</a>) </div>
</div>
<div><br>
</div>
<div>Cheers, </div>
<div><br>
</div>
<div>Abdelghani TAMORT</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<br>
</body>
</html>