Re: [QGIS-Developer] keys of the dict in setShapeProperties(dict)

2024-06-03 Thread Jacky Volpes via QGIS-Developer

Hi Abdelghani,

Reading the source code, we can deduce the properties.
I agree that the documentation is too light here.

https://github.com/qgis/QGIS/blob/master/src/3d/symbols/qgspoint3dsymbol.cpp#L172

For a cylinder, the properties are "length", "radius" (default values 
are 10).

For a sphere: "radius" (default value is 10).
For a cone: "length" (default value is 10).
For a cube: "size"(default value is 10).
For a torus: "radius" (default value is 10), "minorRadius" (default 
value is 5).

For a plane: "size" (default value is 10).
For extruded text: "depth" (default value is 1).
For Model and Billboard: no property.

I only did a "translator" job here :-)   and I don't know if the 3D 
shapes that are listed make sense for you.

Regards,

Jacky Volpes

Ingénieur SIG - Oslandia


Le 03/06/2024 à 17:33, Abdelghani Tamort via QGIS-Developer a écrit :

Howdy,

I want to know which are the keys of each shape in the 
setShapeProperties(/self/, /properties:Dict[str,Any]/) method of 
qgis.analysis.Qgis.Point3DShape. It would help me choose a 3d model as 
a point symbol.
There is no mention of them in the PyQGIS docs 
(https://qgis.org/pyqgis/3.36/_3d/QgsPoint3DSymbol.html#qgis._3d.QgsPoint3DSymbol.shapeProperty) 



Cheers,

Abdelghani TAMORT

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] keys of the dict in setShapeProperties(dict)

2024-06-03 Thread Abdelghani Tamort via QGIS-Developer
Howdy,

I want to know which are the keys of each shape in the  setShapeProperties(
*self*, *properties: Dict[str, Any]*) method of
qgis.analysis.Qgis.Point3DShape.
It would help me choose a 3d model as a point symbol.
There is no mention of them in the PyQGIS docs (
https://qgis.org/pyqgis/3.36/_3d/QgsPoint3DSymbol.html#qgis._3d.QgsPoint3DSymbol.shapeProperty
)

Cheers,

Abdelghani TAMORT
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-user] Looking for assistance with fixing RTL label bugs

2024-06-03 Thread Andrea Giudiceandrea via QGIS-Developer

Il 03/06/2024 10:49, Nyall Dawson ha scritto:

It's definitely still an issue for curved labels.


The issue about curved RTL  labels has been reported about 10 years ago 
https://github.com/qgis/QGIS/issues/21940 since QGIS 2 and confirmed by 
users at least until QGIS 3.28.8 and QGIS 3.32.0.


I can confirm such issue also occurs on my Windows 10 system (on which 
the https://github.com/qgis/QGIS/issues/54098 issue didn't occur) even 
using QGIS 3.34.7 and QGIS 3.36.3 from OSGeo4W.


So I think https://github.com/qgis/QGIS/issues/54098 can now be closed 
as an upstream issue, while https://github.com/qgis/QGIS/issues/21940 is 
still a valid QGIS issue.


Regards.

Andrea
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-user] Looking for assistance with fixing RTL label bugs

2024-06-03 Thread Nyall Dawson via QGIS-Developer
On Mon, 3 June 2024, 6:20 pm Andrea Giudiceandrea via QGIS-Developer, <
qgis-developer@lists.osgeo.org> wrote:

> Hi all,
> various user are reporting that the issue no longer occurs on Windows
> using  QGIS 3.34.6 and QGIS 3.36.3 from OSGeo4W.
>
> Since the OSGeo4W installers of both such versions (3.34.6 and 3.36.3)
> ship a bunch of updated libraries [1] (with the Qt library among them),
> then it looks like the root cause of the issue may have been due to a
> library used by QGIS and not to QGIS itself.
>

It's definitely still an issue for curved labels.

Nyall


> Best regards.
>
> Andrea
>
> [1]
> https://lists.osgeo.org/pipermail/qgis-developer/2024-April/066691.html
>
> Il 29/05/2024 12:30, Micha Silver via QGIS-Developer ha scritto:
> > Again thanks for your efforts. I'm sure we'll land on the source of the
> > prob, and find a solution. As I said, I don't think this is a QGIS
> > issue. The underlying bidi library should handle this, AFAIK.
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-user] Looking for assistance with fixing RTL label bugs

2024-06-03 Thread Andrea Giudiceandrea via QGIS-Developer

Hi all,
various user are reporting that the issue no longer occurs on Windows 
using  QGIS 3.34.6 and QGIS 3.36.3 from OSGeo4W.


Since the OSGeo4W installers of both such versions (3.34.6 and 3.36.3) 
ship a bunch of updated libraries [1] (with the Qt library among them), 
then it looks like the root cause of the issue may have been due to a 
library used by QGIS and not to QGIS itself.


Best regards.

Andrea

[1] https://lists.osgeo.org/pipermail/qgis-developer/2024-April/066691.html

Il 29/05/2024 12:30, Micha Silver via QGIS-Developer ha scritto:
Again thanks for your efforts. I'm sure we'll land on the source of the 
prob, and find a solution. As I said, I don't think this is a QGIS 
issue. The underlying bidi library should handle this, AFAIK.

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer