To reproduce execute this script:

var arc = new RArc(new RVector(0, 0), 100, Math.PI*2, Math.PI/2, true); var points = []; points.push(arc.getPointAtPercent(1/3)); var arcs = arc.splitAt(points); if (arcs.length == 2) { qDebug("OK, arcs count:", arcs.length); } else { qDebug("FAILED, arcs count:", arcs.length); } arc.mirror(new RLine(0, 0, 0, 100)); points = []; points.push(arc.getPointAtPercent(1/3)); arcs = arc.splitAt(points); if (arcs.length == 2) { qDebug("OK, arcs count:", arcs.length); } else { qDebug("FAILED, arcs count:", arcs.length); }

The first case split in two arcs, but the second splits in one arc only.

I think the reason is the code in RArc::splitAt():

... if (RMath::getAngleDifference180(a1, a2))*radius()<0.001) { continue; } ...

The RMath::getAngleDifference180() return angle between -pi and pi so absolute value should be used.

]]>

]]>

]]>

“échelle” should be between “cotes” and “platines”, not at the bottom. “e” and “é” must be considered the same letter when ordering alphabetically.

]]>

]]>

RGraphicsSceneDrawable or type image references deleted, temporary preview document through RImageData which leads to crash when trying to load the image.

QCAD needs its own implementation of shortcut handling which also affects shortcut configuration.

]]>

https://qcad.org/rsforum/viewtopic.php?f=89&t=5657 ]]>

]]>