QCAD Bugtracker

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help > Check for Updates)

ID  descCategoryTask TypeSeveritySummaryStatusProgress
 160 ECMAScriptBug ReportMedium SplitIntoEqualParts.js: Uncaught exception Closed
100%
Task Description
 
Uncaught exception at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:174: Error: :-1:-1: REntity: Argument 0 is not of type REntity *REntity *.
<native>(RLineEntityPointer(0xb73b4c8)) at -1
<anonymous>(op = RAddObjectsOperation(0xb733790), argLine = RLineEntityPointer(0xb73b4c8)) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:174
<anonymous>(op = RAddObjectsOperation(0xb733790)) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:111
<anonymous>(true) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:95
<anonymous>() at /home/martin/workspace/rsframework/scripts/Modify/../EAction.js:1150
<anonymous>() at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:73
<global>() at -1
174	        line.copyAttributesFrom(argLine);

qsdb> argLine
RLineEntityPointer(0xb73b4c8)
 159 QCAD (main)Bug ReportLow Dimension text labels Closed
100%
Task Description

“” → default label
“.” → no label

 158 QCAD (main)Bug ReportMedium polyline with segment radius mirrored wrong Closed
100%
Task Description
  • see attached drawing
 157 QCAD (main)Bug ReportMedium rotate causes uncaught exception Closed
100%
Task Description
  1. draw line
  2. Modify → Rotate
    • center point: line end point
    • delete original
    • angle 90°
Uncaught exception at scripts/Modify/Rotate/Rotate.js:117: Error: :-1:-1: Wrong number/types of arguments
for RDocumentInterface.applyOperation().
<native>(undefined) at -1
<anonymous>(event = RCoordinateEvent(0xbfffd478), preview = false) at scripts/Modify/Rotate/Rotate.js:117
<anonymous>(event = RCoordinateEvent(0xbfffd478)) at
/home/martin/workspace/rsframework/scripts/Modify/../EAction.js:1197
<global>() at -1
117	                di.applyOperation(this.getOperation(false));
 156 QCAD (main)Bug ReportMedium Isometric Projection fails for arc Closed
100%
Task Description
'shape.approximateWithLines'"0xc436c88"
 155 QCAD (main)Bug ReportLow Copy / paste: convert units Closed
100%
Task Description

Copy / paste: convert units

- copy: copy drawing unit to clipboard
- paste: convert pasted entities from clipboard unit to drawing unit

 154 QCAD (main)Feature RequestLow Image: move reference points to scale Closed
100%
Task Description

Image: move reference points to scale

 153 QCAD (main)Bug ReportLow Save triangle shape after exploding dimension Closed
100%
Task Description

Save triangle shape after exploding dimension

 152 QCAD (main)Bug ReportLow IsoProject uncaught exception Closed
100%
Task Description
  1. draw circle
  2. modify → iso projection
Uncaught exception at scripts/Modify/IsoProject/IsoProject.js:140: TypeError: Result of expression 'shape.approximateWithLines' [undefined] is not a function.
140	        var pl = shape.approximateWithLines(this.segmentLength);
  • same with an arc
 151 QCAD (main)Bug ReportLow Uncaught exception at Divide.js:135 Closed
100%
Task Description
  1. new circle
  2. modify → divide
'op.deleteEntity'
 150 QCAD (main)Bug ReportLow problematical arc angle values after divide circle Closed
100%
Task Description
  1. new circle
  2. modify → divide circle in 4th quadrant


arc start angle = 317.726311, end angle = 677.726311
→ QCAD hangs if one try to move the arc start / end point

 149 ECMAScriptBug ReportLow SIGABRT when trying to use entiy.setColor() Closed
100%
Task Description

Script context:
Compare.js#413:

"green"

ECMA code:

         QScriptValue
        REcmaSharedPointerEntity::setColor
        (QScriptContext* context, QScriptEngine* engine) 
        {
            QScriptValue result = engine->undefinedValue();
                    // public function: can be called from ECMA wrapper of ECMA shell:
                    REntity* self = 
                        getSelf("setColor", context);
=>               Q_ASSERT(self!=NULL);

Stacktrace:

Thread [1] 18673 (Suspended : Signal : SIGABRT:Aborted)	
	__kernel_vsyscall() at 0xffffe424	
	raise() at 0xb4efc8df	
	abort() at 0xb4efe220	
	RMainWindow::messageHandler() at RMainWindow.cpp:63 0x8f3917a	
	qt_message_output() at 0xb5356f65	
	0xb53571ab	
	qFatal() at 0xb53572c9	
	qt_assert() at 0xb5357355	
	REcmaSharedPointerEntity::setColor() at REcmaSharedPointerEntity.cpp:1,360 0x8bc0602	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xa622afd2	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	0xb6be0cd3	
	0xb6be11a9	
	QMetaObject::metacall() at 0xb5478c83	
	QMetaObject::activate() at 0xb5489134	
	<...more frames...>	
 148 QCAD (main)Bug ReportMedium "inline" leads to linking error on Linux Closed
100%
Task Description

RPainterPath.h

    inline bool isEmpty() const;
g++ -rdynamic -Wl,-rpath,/home/martin/opt/QtSDK/Desktop/Qt/473/gcc/lib
-o ../../debug/qcad-bin debug/main.o
   -L/home/martin/opt/QtSDK/Desktop/Qt/473/gcc/lib
-L/usr/X11R6/lib -L/home/martin/workspace/rsframework/debug
-L/home/martin/workspace/rsframework/debug/opendesign
 -lecma -lecmaapi -ldwg -lpluginsqt -lgui -lentity -loperations -lspatialindexnavel
 -lgrid -lsnap -lcore -lstemmer -lmath -lrxslt -lrxml -ldxf -lModelerGeometry
 -lTD_BrepRenderer -lTD_Br -lTD_AcisBuilder -lTD_Db -lTD_DbRoot -lTD_Gs
 -lTD_SpatialIndex -lTD_Gi -lTD_Ge -lTD_Root -lFreeType -lTD_Alloc -lRecomputeDimBlock
 -lExFieldEvaluator -lQtWebKit -lQtScript -lQtScriptTools -lQtSvg -lQtSql -lQtXmlPatterns
 -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread 
/home/martin/workspace/rsframework/debug/libecmaapi.a(REcmaPainterPath.o): In function `REcmaPainterPath::isEmpty(QScriptContext*, QScriptEngine*)':
/home/martin/workspace/rsframework/src/scripting/ecmaapi/REcmaPainterPath.cpp:2078: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/debug/libgui.a(RGraphicsSceneQt.o): In function `RGraphicsSceneQt::endPath()':
/home/martin/workspace/rsframework/src/gui/RGraphicsSceneQt.cpp:71: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/src/gui/RGraphicsSceneQt.cpp:74: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o): In function `RHatchData::getBoundingBox() const':
/home/martin/workspace/rsframework/src/entity/RHatchData.cpp:104: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o): In function `RHatchData::getDistanceTo(RVector const&, bool, double, bool) const':
/home/martin/workspace/rsframework/src/entity/RHatchData.cpp:127: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o):/home/martin/workspace/rsframework/src/entity/RHatchData.cpp:134: more undefined references to `RPainterPath::isEmpty() const' follow
collect2: ld returned 1 exit status

temporary solution: changed method to non-line

 147 QCAD (main)Bug ReportLow OpenDesign 4.4 won't comiple under Linux Closed
100%
Task Description
opendesign/Extensions/ExServices/ExSystemServices.cpp:28:20: fatal error: StdAfx.h: No such file or directory

I can work with be “old” binary for now (seems to work with the new libraries even it was not compiled newly), so it’s not that urgent.

 146 QCAD (main)RefactoringLow cloning entities: optional ID cloning Closed
100%
Task Description

add parameter to REntity::clone to allow cloning without cloning object ID.

 145 QCAD (main)Feature RequestLow Explode blocks Closed
100%
Task Description

Explode blocks

 144 QCAD (main)Bug ReportMedium snap restriction buttons are not toggled Closed
100%
Task Description

the buttons works, but are not toggled (”restriction off” is always pushed)

 143 QCAD (main)Feature RequestLow Limit number of entities / shapes in previews Closed
100%
Task Description

Limit preview shapes / entities by user configurable number

 142 QCAD (main)Bug ReportHigh Crash when staring QCAD with LibraryBrowser module Closed
100%
Task Description

QCAD crashes directly after start (when all plugins have been loaded) with a “Bus Error” or segmentation fault in approximately 90% of all starts with the LibraryBrowser module. Without modules

  • scripts/Widgets/LibraryBrowser
  • scripts/Tools/LibraryTranslator
  • scripts/Developer/BookImages
  • scripts/Developer/UiTest/LibraryBrowserTest
  • scripts/Developer/UiTest/LibraryBrowserTest2

no crashes occur.

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   QtGui                         	0x0349d27b QWidgetPrivate::showChildren(bool) + 235
1   QtGui                         	0x0349d38b QWidgetPrivate::show_helper() + 107
2   QtGui                         	0x0349d2b9 QWidgetPrivate::showChildren(bool) + 297
3   QtGui                         	0x0349d38b QWidgetPrivate::show_helper() + 107
4   QtGui                         	0x034a13c3 QWidget::setVisible(bool) + 1075
5   QtGui                         	0x0349fd7a QWidget::qt_metacall(QMetaObject::Call, int, void**) + 1098
6   QtGui                         	0x03abf6a5 QMainWindow::qt_metacall(QMetaObject::Call, int, void**) + 53
7   com.ribbonsoft.qcad           	0x007d31c7 RMainWindowQt::qt_metacall(QMetaObject::Call, int, void**) + 45
8   QtScript                      	0x05aa79db QScript::callQtMethod(QTJSC::ExecState*, QMetaMethod::MethodType, QObject*, QTJSC::ArgList const&, QMetaObject const*, int, bool) + 11595
9   QtScript                      	0x05aab60e QScript::QtFunction::execute(QTJSC::ExecState*, QTJSC::JSValue, QTJSC::ArgList const&) + 174
10  QtScript                      	0x05aab900 QScript::QtFunction::call(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) + 224
11  QtScript                      	0x059aec41 QTJSC::NativeFuncWrapper::operator()(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) const + 113
12  QtScript                      	0x05983e99 cti_op_call_NotJSFunction + 489
13  ???                           	0x1a761a65 0 + 443947621
14  QtScript                      	0x0593b427 QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, int, QTJSC::ScopeChainNode*, QTJSC::JSValue*) + 1031
15  QtScript                      	0x0593b721 QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::ScopeChainNode*, QTJSC::JSValue*) + 97
16  QtScript                      	0x05a68cb6 QScriptEnginePrivate::evaluateHelper(QTJSC::ExecState*, long, QTJSC::EvalExecutable*, bool&) + 582
17  QtScript                      	0x05a69511 QScriptEngine::evaluate(QString const&, QString const&, int) + 801
18  com.ribbonsoft.qcad           	0x0003589b RScriptHandlerEcma::eval(QString const&, QString const&) + 57
19  com.ribbonsoft.qcad           	0x000357f1 RScriptHandlerEcma::doScript(QString const&, QStringList const&) + 805
20  com.ribbonsoft.qcad           	0x00923a19 RScriptHandler::init(QString const&, QStringList const&) + 641
21  com.ribbonsoft.qcad           	0x0002d51f main + 2417 (main.cpp:172)
22  com.ribbonsoft.qcad           	0x0002c909 _start + 208
23  com.ribbonsoft.qcad           	0x0002c838 start + 40
 141 QCAD (main)Bug ReportHigh SIGABRT drawing circle crashes Closed
100%
Task Description
  1. new drawing
  2. tools → circle
  3. click center → crash

source code segment:

void RGraphicsSceneQt::exportArcSegment(const RArc& arc) {
    RPainterPath& path = draftMode ? currentPainterPathDraft : currentPainterPath;
 
    // try QPainterPath arcTo method first but this can be very
    // inaccurate (+/- 0.01 difference from start- / end point):
    RPainterPath p;
    RBox box(arc.center - RVector(arc.radius, arc.radius), arc.center
            + RVector(arc.radius, arc.radius));
    p.moveTo(arc.getStartPoint());
    p.arcTo(box.toQRectF(), 360 - RMath::rad2deg(
            arc.startAngle), -RMath::rad2deg(arc.getSweep()));
=>  QPainterPath::Element e1 = p.elementAt(1);
    double errorStart = RVector(e1.x, e1.y).getDistanceTo(arc.getStartPoint());
    QPointF ep = p.pointAtPercent(1.0);
    double errorEnd = RVector(ep.x(), ep.y()).getDistanceTo(arc.getEndPoint());
 
    if (errorStart<1.0e-5 && errorEnd<1.0e-5) {
        // TODO: check if this is ever reached:
        path.addPath(p);
        return;
    }

stack trace:

Thread [1] 6814 (Suspended : Signal : SIGABRT:Aborted)	
	__kernel_vsyscall() at 0xffffe424	
	raise() at 0xb4efc8df	
	abort() at 0xb4efe220	
	RMainWindow::messageHandler() at RMainWindow.cpp:63 0x8ee4076	
	qt_message_output() at 0xb5356f65	
	0xb53571ab	
	qFatal() at 0xb53572c9	
	qt_assert() at 0xb5357355	
	QPainterPath::elementAt() at qpainterpath.h:400 0x8a8163e	
	RGraphicsSceneQt::exportArcSegment() at RGraphicsSceneQt.cpp:210 0x8dc5c5d	
	RExporter::exportArc() at RExporter.cpp:831 0x8ec82c7	
	RGraphicsSceneQt::exportArc() at RGraphicsSceneQt.cpp:125 0x8dc570f	
	RExporter::exportCircle() at RExporter.cpp:911 0x8ec899e	
	RCircleEntity::exportEntity() at RCircleEntity.cpp:110 0x8de6a2a	
	RExporter::exportCurrentEntity() at RExporter.cpp:603 0x8ec7430	
	RGraphicsScene::exportCurrentEntity() at RGraphicsScene.cpp:244 0x8ecff0b	
	RExporter::exportEntity() at RExporter.cpp:557 0x8ec7220	
	RDocumentInterface::previewOperation() at RDocumentInterface.cpp:1,882 0x8ebc561	
	REcmaDocumentInterface::previewOperation() at REcmaDocumentInterface.cpp:5,247 0x88ce888	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xa7fd43b8	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	QScriptValue::call() at 0xb6bd2e67	
	REcmaShellActionAdapter::coordinateEventPreview() at REcmaShellActionAdapter.cpp:1,341 0x8c306d6	
	RDocumentInterface::previewClickEvent() at RDocumentInterface.cpp:770 0x8eb996a	
	RDocumentInterface::mouseMoveEvent() at RDocumentInterface.cpp:621 0x8eb91b7	
	RGraphicsScene::handleMouseMoveEvent() at RGraphicsScene.cpp:152 0x8ecfbd1	
	RGraphicsView::handleMouseMoveEvent() at RGraphicsView.cpp:427 0x8ed23aa	
	RGraphicsViewQt::mouseMoveEvent() at RGraphicsViewQt.cpp:191 0x8dd213b	
	QWidget::event() at 0xb58da661	
	RGraphicsViewQt::event() at RGraphicsViewQt.cpp:102 0x8dd1fb8	
	QApplicationPrivate::notify_helper() at 0xb5871d7c	
	QApplication::notify() at 0xb58772c4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	QApplicationPrivate::sendMouseEvent() at 0xb5875152	
	0xb59066b5	
	QApplication::x11ProcessEvent() at 0xb5905d26	
	0xb5932f04	
	g_main_context_dispatch() at 0xb4af3509	
	0xb4af3d10	
	g_main_context_iteration() at 0xb4af3fce	
	QEventDispatcherGlib::processEvents() at 0xb54a2741	
	0xb5932a55	
	QEventLoop::processEvents() at 0xb547131d	
	QEventLoop::exec() at 0xb54715aa	
	QCoreApplication::exec() at 0xb5473701	
	qtscript_QCoreApplication_static_call() at 0xb0a9c4b7	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xb09fe9e9	
	0xb6a44262	
	0xb6a445f7	
	0xb6bb0f92	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::eval() at RScriptHandlerEcma.cpp:728 0x8787984	
	RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:724 0x8787868	
	RScriptHandler::init() at RScriptHandler.cpp:31 0x8f0163a	
	main() at main.cpp:172 0x87815fb	
 140 QCAD (main)Bug ReportLow Arc rendering with QPainterPath::arcTo not precise enou ...Closed
100%
Task Description

Arcs rendered with QPainterPath::arcTo are not precise. Especially the start- / end point offsets are confusing. Differences are up to 0.01 units.

 139 QCAD (main)Bug ReportLow Linetype / drawing unit Closed
100%
Task Description

Line type rendering with drawing unit != mm

 138 QCAD (main)RefactoringLow SVG Export entity properties "By Layer" and "By Block" Closed
100%
Task Description

If I understand correctly, SVG export uses svg groups to keep QCAD block entities. This in itself is very useful. There is no way to correctly keep layer information, as QCAD blocks can contain elements on different layers, while SVG only knows about groups. That is a deficiency of SVG.

To save on file size, there was some potential to get rid of ever repeating same attributes on entities, eg: style=”stroke:#000000;stroke-width:0.25;stroke-dasharray:2.16,1.08”

To optimize “By Block” is easy: just set the attribute on the SVG group, and omit on below entities styled “By Block”.

To optimize “By Layer” is a little more involved, but might be solved by using css:
- Create a class by the name of the Layer
- add the class attribute to elements styled “By Layer”

Then only individually styled entities would get a style attribute, and filesize of SVG could be halved in most cases.

This just an idea :) Having written this, I now realize, that QCAD can style weight, pattern, color each extra, so the optimazition could only be applied to entities, where everything is “By Layer” or “By Block”. But that should be the case most of the time.

 137 QCAD (main)RefactoringLow SVG Export precision Closed
100%
Task Description

In files exported with the (even PG) exporter I sometimes see values like these: 334.99999999999994 or 570.0000000000001 and very often 12 digits of precision.

To safe on file size, I suggest, that QCAD rounds values on SVG export to eg. three places. When viewed in an ordinary web browser, that will result in a precision of 1 inch / 96dpi / 1000 = 0.00026mm, not? Ends should still meet.

 136 QCAD (main)TaskLow Isometric projection Closed
100%
Task Description

Implement isometric projection tool

 135 QCAD (main)TaskLow Lock layers Closed
100%
Task Description

Implement layer locking

 134 QCAD (main)TaskLow Lock relative zero Closed
100%
Task Description

Lock relative zero tool

 133 QCAD (main)TaskLow Set relative zero point Closed
100%
Task Description

Set relative zero point tool.

 132 QCAD (main)TaskLow Snap restrictions Closed
100%
Task Description

Implement snap restrictions

 131 QCAD (main)TaskLow Create block Closed
100%
Task Description

Create block from selection

 130 QCAD (main)Feature RequestLow Measuring tools Closed
100%
Task Description

Implement measurement (info) tools (see QCAD 2)

 129 QCAD (main)TaskLow Image entity Closed
100%
Task Description

Implement RImageEntity and related classes.

DONE

Image in block

Image insertion tool:

  • change size in options tool bar: keep ratio

Image file look up:

  • absolute path
  • relative path (?)
  • same path as drawing file

Image display:

  • draft: border
  • normal: image
  • preview: border (or image for small file)

Move, rotate, ...

POSTPONED

Selection with click inside image

Move reference points to scale

 128 QCAD (main)Feature RequestLow Export to PNG Closed
100%
Task Description

QCAD 3 TP1 cannot export to PNG (or any other bitmap format). QCAD 2 lets set width and height in pixels of the file to be created. The drawing is then scaled proportionally to fit that. Leaving the height value empty will crash QCAD 2. QCAD 2 will also pad the image with an unspecified value that gets (both absolutely and relatively) smaller when the size increases…

QCAD 2 interface is simple and should meet most users needs. It would be nice to calculate the missing value, if only width or height is set. Some padding might be necessary only when antialiasing is done on export.

Setting scale and DPI instead would require more thinking on users side…

 127 WebsiteFeature RequestLow QCAD scripts development Closed
100%
Task Description

The QCAD scripts, that contain a great deal of functionality in the QCAD framework, are so to say open source, in the limited, still powerful, sense that they can be read, inspected and single-handedly adapted to local needs. Wouldn’t it make sense to store these in a public source code repository?

So to allow closer tracking of development, eg. Of course, all of the scripts would then have to know which release of the /kernel/ they require as a support. But that should be a good thing anyways, as soon as a community of framework users arises, wasn’t it?

 126 QCAD (main)Feature RequestLow Snap to reference points of arcs Closed
100%
Task Description

Snap to reference points does not work for arc entities as one would expect.
The four points on the arc at angles 0,90,180,270 should be reference points (like for circles).

 125 QCAD (main)Bug ReportHigh Modify Tools Not Working - Linux X86 Closed
100%
Task Description

Hi,

When utilising the modify tools, instead of the selection picker appearing, the menu drops back to the start.

The console says
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported

Have tried with rotate, copy/move, mirror etc.

Fedora 15 x86_64

James

 124 QCAD (main)Feature RequestLow White lines in SVG Closed
100%
Task Description

In DXF world, as far as I know, colour 7 - white - is magic, in that it shows white in model space on a black background, possibly also black on a light background, and commonly black in paper space irrespectively of background colour. In my opinion, SVG should be considered paper space.

I propose, that white entities get rendered black in SVG files exported from QCAD. What do you think?

 123 QCAD (main)Bug ReportHigh QCAD Save Fails, File Created Zero Bytes and then compl ...Closed
100%
Task Description

Hi,

uname -r
2.6.38.8-32.fc15.x86_64

We can save a file ok showing permissions on the linux system are ok (its home directory)

But then when we open a CAD file from a supplier, try and modify and save or save as, it complains about disk space / permissions.

However, on checking the file system, the file name is there at zero bytes.

It is felt it is something in the CAD file causing an error behind the scenes. I can not see anywhere to attach this file, so please email me and I will send.

James

 122 QCAD (main)Bug ReportLow SVG of hatch with "hole" Closed
100%
Task Description

A hatch my have “holes”, if it eg. is made of two forms, an inner form, and and outer form, where the outer form is filled while the inner form appears like a window inside of the fill, that lets the background be seen.

QCAD exports such hatches as two SVG paths in one single entity. But the “hole” is lost in the process. I know of two workarounds, that preserve the original intention of the QCAD drawing, both get the same result most of the time, the second one looking more robust and easier to implement:

# draw the outer form clockwise, draw the inner form counterclockwise
# set the “fill-rule:evenodd” attribute on the fill definition of the entity

Drawing a star like in the SVG spec in QCAD actually produces the same picture – so that should be the way to go.

http://www.w3.org/TR/SVG/painting.html#FillRuleProperty

 121 QCAD (main)Bug ReportLow qcad-3.0.0-tp1-prof-linux-run  Closed
100%
Task Description

Hi Andrew,

I took the pain of trying to download qcad-3.0.0-tp1-prof-linux-run under Ubuntu even if I was using Fedora.

The issue is the same.

Did you tried it?

Did it worked for you?

Patrick

 120 QCAD (main)Bug ReportLow RE> FS#119 - qcad-3.0.0-tp1-prof-linux.run is corrupted Closed
100%
Task Description

Hi Andrew,

I took some time to probe qcad 3.0.0 TP1 download from Ubuntu and the issue is the same as the one I encountered using Fedora.

For more information I attach, here with, a screenshot of the qcad-3.0.0-tp1-prof-linux-run download.
As we can see it is a scipt file, but at a certain point, visible on the screenshot, the data is corrupted.

// Don t know how to attach the image, I can send it you by Email if desired

Hope this will help you.

Regards,

Patrick
Patrick

 119 QCAD (main)Bug ReportLow qcad-3.0.0-tp1-prof-linux.run seams corrupted Closed
100%
Task Description

Hi,

I’m running fedora Release 12 and tried to download and install QCAD 3 TP1.

  • The qcad-3.0.0-tp1-prof-linux.run looks corrupted and can not be opened by the gedit editor and returns the following error message: “gedit has not been able to detect the character coding...
  • Of course when trying to launch qcad from the downloaded and decompressed file qcad-3.0.0-tp1-prof-linux I get the following error message: “./qcad-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14’ not found (required by ./qcad-bin)

Thank you in helping me to get this solved.

Patrick

 118 QCAD (main)Bug ReportLow addBoundary and hatchData fails silently Closed
100%
Task Description

In scripting hatchData.addBoundary can use any shape, but only some actually produce something useful, eg. this fails silently:

"ANSI31"

Shouldn’t an exception be thrown?

 117 QCAD (main)Bug ReportLow Use APPID when handling extended entity data to prevent ...Closed
100%
Task Description

Rationale:

Let QCAD handle extended entity data, that is used in the industry to instruct postprocessing applications, e.g. the tooling of a mill or robot.

When I say group code or specs below, I refer to this document http://www.autodesk.com/techpubs/autocad/acad2000/dxf/extended_data_dxf_ab.htm

Current:

In the property editor I can add key value pairs to drawing entities. As in this script:

entity.setProperty(new RPropertyTypeId("MY_KEY"), "MY_VAL");
entity.setProperty(new RPropertyTypeId("MY_REAL"), 123);

In DXF this results in a group code “QCAD” followed by alternating keys and values as strings and typed positions respectively:

[…]
  0
LINE
[…]
1001
QCAD
1000
MY_KEY
1000
MY_VAL
1000
MY_REAL
1040
123.0
[…]

Expected:

From reading the specs, this looks perfectly valid. I’d say though, that QCAD is not right to expect any extended data to follow this pattern. The extended entity data, that I want to recreate eg, looks like this:

[…]
  0
LINE
[…]
1001
MY_DATA
1000
MY_FOO: some text
1000
MY_BAR: 1.250000
[…]

That is: a group code, followed by some string values. Notice that the (limited) typing facilities mentioned in the spec are not used, but the application relies on its own peculiar parsing. The same group code appears in the head of the document as an APPID:

[…]
  0
APPID
  2
MY_DATA
 70
     0
  0
[…]

Proposed:

I suggest, that QCAD uses APPIDs to group extended data. Otherwise data loss may occur. In order to not have to maintain a table of known APPIDs, that tells how to parse their extended data, I further suggest that QCAD not expect extended data to follow a “key value” pattern but an “APPID entries” pattern. Here too data would be lost, if there was an odd number of entries in the extended table and QCAD insisted on its own approach.

Within the specs, deep trees could be constructed with the use of the control string (code 1002, { and }), and the propertyEditor would become a nightmare;) So I propose, that QCAD might parse only extended data with its own APPID in key value pairs, and data with other APPIDs as just an ordered list of entries. (In ECMAscript an array will have to be used, as object properties do not keep sequence.)

 116 QCAD (main)Feature RequestLow Show polyline area in property editor Closed
100%
2 Task Description

Show area of closed polyline, hatch, solid fill in property editor.

 115 QCAD (main)Bug ReportLow DiningTable.js: segfault in RMathLineEdit::isValid() Closed
100%
Task Description
  1. drag-n-drop script “DiningTable” to the drawing, place it somewhere
  2. right-click to finish the action
  3. drag-n-drop script “DiningTable” to the drawing again
Thread [1] 29561 (Suspended : Signal : SIGSEGV:Segmentation fault)	
	RMathLineEdit::isValid() at RMathLineEdit.h:44 0x8a011a9	
	REcmaMathLineEdit::isValid() at REcmaMathLineEdit.cpp:599 0x8a0021a	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xa8b06222	
	0xb6a44262	
	0xb6a466c9	
	0xb6a8db4a	
	0xa6d36360	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	QScriptValue::call() at 0xb6bd2e67	
	REcmaShellActionAdapter::beginEvent() at REcmaShellActionAdapter.cpp:149 0x8bbd222	
	RDocumentInterface::setCurrentAction() at RDocumentInterface.cpp:287 0x8e0906a	
	RScriptHandlerEcma::createActionDocumentLevel() at RScriptHandlerEcma.cpp:780 0x876bd16	
	RGuiAction::slotTrigger() at RGuiAction.cpp:598 0x8e25bd7	
	RGuiAction::qt_metacall() at moc_RGuiAction.cpp:86 0x8e6ee19	
	QMetaObject::metacall() at 0xb5478c83	
	0xb6bec907	
	0xb6beeacb	
	0xb6beee01	
	0xb6ac1f68	
	0xb6a9164c	
	0xa8ce78ee	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	0xb6be0cd3	
	0xb6be11a9	
	QMetaObject::metacall() at 0xb5478c83	
	QMetaObject::activate() at 0xb5489134	
	RGraphicsViewQt::drop() at moc_RGraphicsViewQt.cpp:107 0x8d34d2e	
	RGraphicsViewQt::dropEvent() at RGraphicsViewQt.cpp:997 0x8d28698	
	QWidget::event() at 0xb58daaf6	
	RGraphicsViewQt::event() at RGraphicsViewQt.cpp:808 0x8d27dec	
	QApplicationPrivate::notify_helper() at 0xb5871d7c	
	QApplication::notify() at 0xb58777e4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	0xb5914a25	
	0xb59158fc	
	0xb5918c07	
	QCoreApplicationPrivate::sendThroughApplicationEventFilters() at 0xb54724ea	
	QApplicationPrivate::notify_helper() at 0xb5871cf3	
	QApplication::notify() at 0xb58772c4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	QApplicationPrivate::sendMouseEvent() at 0xb5875152	
	0xb59066b5	
	QApplication::x11ProcessEvent() at 0xb5905d26	
	0xb5932f04	
	g_main_context_dispatch() at 0xb4af3509	
	0xb4af3d10	
	g_main_context_iteration() at 0xb4af3fce	
	QEventDispatcherGlib::processEvents() at 0xb54a2741	
	0xb5932a55	
	QEventLoop::processEvents() at 0xb547131d	
	QEventLoop::exec() at 0xb54715aa	
	0xb5918897	
	QDrag::exec() at 0xb5889fed	
	QDrag::exec() at 0xb588a084	
	qtscript_QDrag_prototype_call() at 0xafe620df	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xaa905c4b	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	QScriptValue::call() at 0xb6bd2e67	
	REcmaShellListView::mouseMoveEvent() at REcmaShellListView.cpp:337 0x8c0bd06	
	QWidget::event() at 0xb58da661	
	QFrame::event() at 0xb5d0c663	
	QAbstractScrollArea::viewportEvent() at 0xb5dabe02	
	QAbstractItemView::viewportEvent() at 0xb5e65d65	
	0xb5dae235	
	QCoreApplicationPrivate::sendThroughObjectEventFilters() at 0xb54725a1	
	QApplicationPrivate::notify_helper() at 0xb5871d53	
	QApplication::notify() at 0xb58772c4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	QApplicationPrivate::sendMouseEvent() at 0xb5875152	
	0xb59066b5	
	QApplication::x11ProcessEvent() at 0xb5905d26	
	0xb5932f04	
	g_main_context_dispatch() at 0xb4af3509	
	0xb4af3d10	
	g_main_context_iteration() at 0xb4af3fce	
	QEventDispatcherGlib::processEvents() at 0xb54a2741	
	0xb5932a55	
	QEventLoop::processEvents() at 0xb547131d	
	QEventLoop::exec() at 0xb54715aa	
	QCoreApplication::exec() at 0xb5473701	
	qtscript_QCoreApplication_static_call() at 0xb0a9c4b7	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xb09fe9e9	
	0xb6a44262	
	0xb6a445f7	
	0xb6bb0f92	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:683 0x876b4de	
	RScriptHandler::init() at RScriptHandler.cpp:31 0x8e512fe	
	main() at main.cpp:152 0x876585e	
 114 QCAD (main)TaskLow Create QCAD Cheat Sheet Closed
100%
Task Description

Cheat Sheet which lists all QCAD tools with icon, key code and explanation

Possibly two versions for Windows / Linux and Mac

 113 QCAD (main)Bug ReportLow Print Preview: page tags Closed
100%
Task Description

page tags / page IDs never shown

 112 QCAD (main)Performance IssueLow Slow startup because of Library Browser Closed
100%
Task Description
  • initial start (no library browser DB present)
  • Linux vostro 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux
  • DWG / DXF files: 79
  • SVG files: 684
  • RDF files: 729
real    1m37.298s
user    1m35.101s
sys     0m0.806s
 111 QCAD (main)Feature RequestLow Switch for line width display Closed
100%
Task Description

Switch on / off line width display (display mode between normal and draft)

Showing tasks 1851 - 1900 of 2010 Page 38 of 41<<First - 36 - 37 - 38 - 39 - 40 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing