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)

IDCategoryTask TypeSeverity  descSummaryStatusProgress
 971 QCAD (main)Bug ReportLow Dimension properties: text position not saved Closed
100%
Task Description

When reopening a dxf that had the dimension text aligned differently than the default, the text position has the same X position for vertical dimensions and the same Y position for horizontal dimensions as the dimension line. In other words, changes to the text position are not saved or loaded when reopening a file.

For example:
1) Create the drawing and take a dimension measurement
Dimension Line on (X, Y): (110, 1680)
Text Position changed to (X, Y): (100, 1255)

2) Save file, close it and reopen it
Dimension Line on (X, Y): (110, 1680)
Text Position on (X, Y): (110, 1255)

The text height (in drawing preferences) is set to 15 and page printing scale is 1:5 (if it matters).

QCAD Professional 3.4.2.0 on Ubuntu 13.04. See the attached file for the program specs.

Not really a major bug, but quite irritating none the less. :)

 243 QCAD (main)Bug ReportLow Dimension preferences: precision not saved Closed
100%
Task Description

Dimension preferences: precision not saved between preference dialog sessions.

See:
http://www.ribbonsoft.com/rsforum/viewtopic.php?t=1605

 751 QCAD (main)Bug ReportLow Dimension Leader: Arrow attribute Closed
100%
Task Description

XP/32 QCAD 3.0.0

If I try to change the Attributes of a dim leader it doesn’t works.

Leader → Option Arrow head - marked or not - no impact - always with arrow,

Property editor:
Geometry of leader,
Arrow: yes or no - doesn’t changed anything,
Vertex: Index Number doesn’t change anything,

 501 QCAD (main)Feature RequestLow Dimension labels: R prefix Closed
100%
Task Description

Is it possible to add the “R” prefix (Radius) in the label drop box when dimensioning?

 1572 QCAD Community EditionBug ReportLow Dimension font not set to "Standard" when importing thr ...Closed
100%
Task Description

Since updating to QCAD 3.16 on MacOS, my dimension font face suddenly changed to something very unattractive and I can’t figure out how to reset it. I tried deleting QCAD and all references to it in ~/Library and then reinstalling, but no luck. Something weird has gone wrong with QCAD’s fonts.

The font change has made it impossible to open and redraw many DXF files because the new font face is larger and wider spaced and it ruins the layout of many documents.

Attached is an example of what the same DXF file looked like in the prior QCAD version, and the new version. No change to the DXF file.

Dan.

 1653 QCAD (main)Bug ReportLow Dimension font configuration only loaded if drawing con ...Closed
100%
Task Description

This bugs me since a long time but I wasn’t able to reproduce it ..... till now!

My Dim Label font for new drawings (Application Preferences) is set to “Helvetica-Bold” Basically it was working just fine for new drawings but from time to time, after saving and reopen my drawing, the font was lost and replaced by “Standard”. No idea why!

Today I was playing with the new QCAD Feature “Default Template” and learned that I loose all the time my preselected font. QCAD ignores that my Template “Drawing Preferences” and also the “Application Preferences” are set to “Helvetica-Bold”. It will be replaced by “Standard”. Annoying! :-(

Ok, question was why it doesn’t happened with all drawings, all the time?
After many tests ....
The “old” blank Template opens with the correct font setting. If I use a Dim in the drawing and save it everything works as expected.
If I save the drawing without a Dim in it then the preselected Font will be replaced by “Standard”. It happens also if I delete all Dims in a so far proper working drawing - save and reopen it leads to the same issue. The Font will be replaced by “Standard”.

The new feature “your own Default Template” will not work regarding the Dim Label font in any cases - the template itself needs at least one Dim in the drawing to keep the desired Font.

 165 QCAD (main)Bug ReportLow dimension arrows / draft mode Closed
100%
Task Description

dimension arrows not visible in draft mode

 1166 QCAD (main)Bug ReportLow Dimension > Radius/Diameter: scale option has no effect Closed
100%
Task Description

I think Husky may have found a bug, please see topic:

http://www.qcad.org/rsforum/viewtopic.php?f=31&t=3239&p=11643#p11643

@Husky, hope you don’t mind me adding this for you.

 1474 QCAD (main)Bug ReportLow Dimension > Leader: changing options breaks tool Closed
100%
Task Description

Community 3.15.5.3 (Git 9c49f08b), FreeBSD 10.3, Qt 5.5.1

Start the Dimension Leader tool, click a point. While the rubber line is active, click the “Arrow head” option to toggle it (the effect is seen on the rubber line immediately). Now click it again to toggle. The entire dimension disappears with no appreciable trace left anywhere. The DL tool stays active.

Expected outcome would be for the dimension to just toggle the arrow head style.

This only seems to happen if this double-toggling is done as long as no segment is actually created yet (i.e. once at least one segment is actually set, the repeated toggling works as expected).

1714QCAD (main)Feature RequestLowDimension > Diametric: improve display when label is mo...Assigned
0%
1 Task Description

See also:
https://www.qcad.org/rsforum/viewtopic.php?f=31&t=5408

 1504 QCAD (main)Bug ReportLow Dimension - Aligned not working with context menu Closed
100%
Task Description

Dimension - Aligned, not working with context menu.

757QCAD (main)Feature RequestLowDim: Architectural tick and Leader Arrow size independe...Assigned
0%
Task Description

Leader Arrow size and the Architectural tick size are controlled by one and the same value.

It would be nice to get the possibility to adjust them independently from each other ...

 801 QCAD (main)Bug ReportLow Different solid appearence in Autocad and Qcad Closed
100%
Task Description

Hi,

It seems that QCAD and Autocad treat solid fills differently. Here is attached
example and its view in QCAD and autocadws.com web service. I found that order
of vertices is important.

Thank you
Mikhail

617QCAD (main)Feature RequestLowDifferent dimensions font sizes in the same drawing.Assigned
0%
1 Task Description

Different dimensions font sizes in the same drawing.

 1231 QCAD (main)Bug ReportLow Dialogs 'Save As' and 'Open' freezes QCAD under Linux/F ...Closed
100%
Task Description

Linux Fedora 21, kde 4.14.7, QCAD version 3.9.4. QCAD Pro add-on and QCAD/CAM add-on disabled.

Clicking on ‘Save As’ or ‘Open’, even when showing an empty drawing, freezes the program. A dialog shows up, but is completely grayed out. QCAD then stops responding completely (so far for about an hour), and has to be killed.

In the process, a warning shows up in the terminal:
Warning: KGlobal::locale(): Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work

(’Open Recent’ and ‘Save’ does seem to work, and can (presently) be used as kind of a workaround, since I’m only working on one file at the moment.)

923QCAD (main)Feature RequestLowDiagramming (Intelligent Orthogonal Connectors)Assigned
0%
1 Task Description

Hi,

With the new block attribute feature available in QCAD 3.3, there’s little to be done in order to make QCAD a good environment for typesetting circuits and other diagrams. In particular, the only killer feature that lasts is support for connectors: orthogonal lines that connecting one endpoint to another creates a connection line; when the concerned entities are moved the connection line is re-arranged. I’d like to know whether commercial support for this feature is available.

 573 TestsTaskLow Devin Closed
100%
Task Description

conducive to host presentations and video clip http://www.askweddingdress.net plus size beach wedding dresses , photography shooting , http://www.askweddingdress.net plus size dresses leaving a lovely second. additional affordable wedding ceremony dresses on 1luckybride 1 reader asks: What exactly are all of the legal actions and the way do you go about receiving your title altered? Is there an inventory of other things which has to alter, http://www.askweddingdress.net bridal gown dresses like your financial institution accounts, http://www.askweddingdress.net short brides dresses charge cards, insurance coverage, and so on http://www.askweddingdress.net brides mothers dresses http://www.askweddingdress.net bridal bridesmaid dresses .? I used to be gonna start into the best way to go about this when I recognized we’ve an intensive post on “How To Alter Your Surname Whenever you Get Married”on our weddings web page http://www.askweddingdress.net muslim wedding dresses . Study it it is useful! 1 factor to become conscious of, specifically in case your honeymoon is not using location appropriate following the marriage ceremony: http://www.askweddingdress.net vintage short dresses Ensure your identify lines up on all of the paperwork necessary to journey. As an example, your driver’s license http://www.askweddingdress.net/evening-dresses.html vintage gowns dress

1723QCAD (main)Feature RequestLowDetecting overlapping line / arc segmentsAssigned
0%
4 Task Description

Add a tool to detect overlapping segments or lines and arcs.
Similar like the “overkill” command in other CAD systems.

1503QCAD (main)Feature RequestLowDetect duplicates within a given selection -new tool re...Assigned
0%
Task Description

It would be so useful to have an option to be able to detect duplicates within a given selection.

986QCAD (main)Feature RequestLowDetect duplicates - only on selected areaAssigned
0%
1 Task Description

It would be useful to have an additional option to only detect duplicates on user defined selection of drawing.
Please see topic:
http://www.qcad.org/rsforum/viewtopic.php?f=32&p=9145#p9145

 176 QCAD (main)Feature RequestLow Demo Version Closed
100%
Task Description
  • Save drawings on exit
  • 10min time limit
  • markers in
    • PDF export
    • BMP export
    • SVG export
    • printing
268QCAD (main)Feature RequestLowDefine grid originAssigned
0%
Task Description

Define grid origin

 1202 QCAD (main)Bug ReportLow Defaults - New drawing - Printing colors setting shows  ...Closed
100%
Task Description

Default settings (Application preferences) for “Printing colors” shows no effect on a “Grayscale” or a “Black and white” setting.
Regardless the setting a new drawing is always presented with a “Full color” adjustment.

 1385 QCAD (main)Bug ReportLow Default unit for new drawings reset to Inch on restart Closed
100%
Task Description

Application Preferences > Defaults for New Drawings > Drawing Units

Do not save new selected value, It keeps “Inch”.

Could be changed per file in Edit > Drawing Preferences. I normally use Millimeter. I have no tested in command line / automation mode.

Error tested in:
Mac OS X 10.11.2 El Capitan
Mac OX X 10.7.5 Server Lion
Windows 10 (also with QCad fresh install)

 1435 QCAD (main)Feature RequestLow Default Template for new Drawing Closed
100%
4 Task Description

It would be great if the user could choose a default template for new drawings.

There exists already a “File → New from Template” feature, where I can choose a template, but in most cases I want my new drawings to be based on my default template.
It would be very convenient if there is an option to set the default template and use it for the “File → New” function.

 249 QCAD (main)Feature RequestLow Default Save Format Closed
100%
Task Description

It was nice to specify the default Format for saving files. 2010 is too young for distribution to unknown users, better use 2004 or so...

962QCAD (main)Feature RequestLowDefault save / open directoriesAssigned
0%
1 Task Description

Add the option to use a fixed path for the save to, open and CAM export directories.

(G code files are usually saved in on directory that the Control Program opens them up from so this would save a ton of mouse clicking)

 364 QCAD (main)Bug ReportLow Default paper with default unit inch Closed
100%
Task Description

Default paper might be configured as 210×297 inches if inch is chosen as default unit.

990QCAD (main)Feature RequestLowDefault Names for Custom Property ...Assigned
0%
Task Description

Property Editor - Geometry - Custom - Add Custom Property

It would be nice to have in “Application preferences” the possibility to predefine a couple Custom Property Names.
Right now I use the Custom Property function to add a DIN and the Material info to every Block. This project has a lot of DIN parts and I have to type again and again the names DIN ... Material ... DIN ... Material ... DIN ... Material ... DIN ... Material ... DIN ... Material ... you got my point ;-)

If I have predefined Names - I have just to fill out the value :-)

 578 QCAD (main)Feature RequestLow Default line weight for new layers Closed
100%
Task Description

I couldn’t find where to specify the default “Line weight” for a newly created layer. Default proposed is 0,25 mm ISO and I would like to continue to uses 0,00 mm. Because, these lines are very thick when i look at my drawing in

 633 QCAD (main)Bug ReportLow Default file type(s) can not be inserted by Visio 2010 Closed
100%
Task Description

The R2010 DXF and R2010 DWG formats produced by QCAD 3 RC5 cannot be opened by Visio 2010.

Error message:
Cannot open file. The file may not be a DWG or DXF file, it may not be in a supported version of the DWG file format, or it may be corrupted. Check the file and try again.

Prerequisites:

  1. QCAD 3 RC5
  2. Visio 2010 with all updates installed

Steps to reproduce:

  1. Open QCAD 3 RC5 and create a basic drawing. Save using the default file types (R2010 DXF or DWG)
  2. Open Visio and create a new drawing.
  3. Go to Insert tab and click CAD Drawing. select drawing created above.
  4. Observe error message

Additional info:

  • When I use Save As in QCAD 3 RC5 and select any previous file format, Visio can insert the drawing. The problem I’m seeing with this part is that on a more complex drawing, the spacing/alignment is messed up (items aren’t in their proper spacing).

Other observations with a more complex file:

  • If I open a R2010 versioned file in Solidworks and then save it back out as a dxf file again, Visio will properly insert the drawing with correct spacing/alignment
  • If I open the file in QCAD 2.2.2.0 and then save as Drawing Exchange (*.DXF) it inserts properly in Visio with correct spacing/alignment.
  • If I open the file in QCAD 2.2.2.0 and then save as Drawing Exchange R12 (*.DXF) it inserts in Visio but the alignment is off (similar to problem above).

File attached for reference.

Thanks,
Rich

 1615 QCAD (main)Bug ReportLow Decimal point of dimensions shown as '?', preferences p ...Closed
100%
Task Description

First. I am not able to find OS selection for macOS Sierra so I choose Mac OS X.
I noticed that when I opened my drawing, I saw dimensions on drawing showed ‘156?6’ instead of ‘156.6’ in prior version I had installed. Probably in 3.16.5

So I opened Dimension Settings page to review and found when opening Dimension Settings under Drawing Preferences,
Dimension Settings does not show. It remains blank.

Then I clicked on other settings menu item from left and clicked back on the Dimension Settings I was able to see the Dimension setting.
However; when I closed the dialog and try to open the Dimension Settings again, I am not able to see the settings page at all. Just blank. I can see other settings page fine.

One time when I was able to see the Dimension Setting, I noticed that the Separator symbol was blank. So I updated that to ‘.’ and hit OK.
The drawing still shows ‘156?6’ instead of expected ‘156.6’.

It seems the separator symbol is not being saved for some reason.

 317 QCAD (main)Bug ReportLow Debugger with -always-load-scripts Closed
100%
Task Description

Starting qcad Beta 3 with command line argument -always-load-scripts will bring up debugger:

Uncaught exception at /opt/qcad-3.0.0-beta3-prof-linux/scripts/library.js:2: RangeError: Maximum call stack size exceeded.
2 include(”sprintf.js”);

 947 QCAD (main)Bug ReportLow Debug builds failing (Linux/FreeBSD) Closed
100%
1 Task Description

6a5c66 on both FreeBSD and Linux (particular example on FreeBSD). The following diff is present, but it should be a no-op in this regard:

--- a/shared.pri
+++ b/shared.pri
@@ -11,6 +11,7 @@ DEFINES += QCAD_DLL
 # output directory:
 CONFIG(debug, debug|release) {
     ROUTDIR = debug
+    QMAKE_CXXFLAGS_DEBUG += -ggdb3
 } else {
     ROUTDIR = release
 }
qmake-qt4 qcad.pro CONFIG=debug

Goes on a while, then bombs off at

g++ -c -pipe -g -ggdb3 -Wall -W -fPIC -DQCAD_DLL -DPTHREADS -DHAVE_PTHREAD_H
    -I/usr/local/share/qt4/mkspecs/freebsd-g++
    -I.
    -I/usr/local/include/qt4/QtHelp
    -I/usr/local/include/qt4/QtDesigner
    -I/usr/local/include/qt4/QtUiTools
    -I../../../../core
    -I../../../../core/math
    -I../../../../grid
    -I../../../../snap
    -I../../../../gui
    -I../../../../entity
    -I../../../../operations
    -I../../../../scripting
    -I../../../../stemmer
    -I../../../../scripting/ecmaapi
    -I../../../../scripting/ecmaapi/generated
    -I../../../../scripting/ecmaapi/adapters
    -I../../../../io/dxf
    -I../../../../spatialindex
    -I../../../../3rdparty
    -I.
    -I/usr/local/include/qt4
    -I/usr/local/include
    -o debug/qtscript_Global.o
    ../../generated_cpp/com_trolltech_qt_core/qtscript_Global.cpp

../../generated_cpp/com_trolltech_qt_core/qtscript_Global.cpp:6:25: error: qmetaobject.h: No such file or directory
../../generated_cpp/com_trolltech_qt_core/qtscript_Global.cpp:8:20: error: QVariant: No such file or directory
../../generated_cpp/com_trolltech_qt_core/qtscript_Global.cpp:10:21: error: qglobal.h: No such file or directory

The corresponding good release compile line is:

g++ -c -pipe -O2 -Wall -W -pthread -D_THREAD_SAFE -fPIC -DQCAD_DLL
    -DPTHREADS -DHAVE_PTHREAD_H -DQT_NO_DEBUG -DQT_WEBKIT_LIB
    -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SVG_LIB -DQT_SQL_LIB
    -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
    -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
    -I/usr/local/share/qt4/mkspecs/freebsd-g++
    -I.
    -I/usr/local/include/qt4/QtHelp
    -I/usr/local/include/qt4/QtDesigner
    -I/usr/local/include/qt4/QtUiTools
    -I/usr/local/include/qt4/QtCore
    -I/usr/local/include/qt4/QtNetwork
    -I/usr/local/include/qt4/QtGui
    -I/usr/local/include/qt4/QtOpenGL
    -I/usr/local/include/qt4/QtXml
    -I/usr/local/include/qt4/QtXmlPatterns
    -I/usr/local/include/qt4/QtSql
    -I/usr/local/include/qt4/QtSvg
    -I/usr/local/include/qt4/QtScriptTools
    -I/usr/local/include/qt4/QtScript
    -I/usr/local/include/qt4/QtWebKit
    -I/usr/local/include/qt4
    -I../../../../core
    -I../../../../core/math
    -I../../../../grid
    -I../../../../snap
    -I../../../../gui
    -I../../../../entity
    -I../../../../operations
    -I../../../../scripting
    -I../../../../stemmer
    -I../../../../scripting/ecmaapi
    -I../../../../scripting/ecmaapi/generated
    -I../../../../scripting/ecmaapi/adapters
    -I../../../../io/dxf
    -I../../../../spatialindex
    -I../../../../3rdparty
    -I.
    -I/usr/local/include
    -Irelease
    -I/usr/local/include/qt4
    -I/usr/local/include
    -o release/qtscript_Global.o
    ../../generated_cpp/com_trolltech_qt_core/qtscript_Global.cpp

The diff between them is suspiciously big (unique items only):

includes-wise:

--- incbad      2013-10-20 11:45:37.302711863 +0200
+++ incgood     2013-10-20 11:45:31.899711566 +0200
@@ -16,7 +16,19 @@
 -I../../../../stemmer
 -I/usr/local/include
 -I/usr/local/include/qt4
+-I/usr/local/include/qt4/QtCore
 -I/usr/local/include/qt4/QtDesigner
+-I/usr/local/include/qt4/QtGui
 -I/usr/local/include/qt4/QtHelp
+-I/usr/local/include/qt4/QtNetwork
+-I/usr/local/include/qt4/QtOpenGL
+-I/usr/local/include/qt4/QtScript
+-I/usr/local/include/qt4/QtScriptTools
+-I/usr/local/include/qt4/QtSql
+-I/usr/local/include/qt4/QtSvg
 -I/usr/local/include/qt4/QtUiTools
+-I/usr/local/include/qt4/QtWebKit
+-I/usr/local/include/qt4/QtXml
+-I/usr/local/include/qt4/QtXmlPatterns
 -I/usr/local/share/qt4/mkspecs/freebsd-g++
+-Irelease

Defines-wise:

--- defbad      2013-10-20 11:51:22.405716122 +0200
+++ defgood     2013-10-20 11:52:05.362693170 +0200
@@ -1,3 +1,17 @@
 -DHAVE_PTHREAD_H
 -DPTHREADS
 -DQCAD_DLL
+-DQT_CORE_LIB
+-DQT_GUI_LIB
+-DQT_NETWORK_LIB
+-DQT_NO_DEBUG
+-DQT_OPENGL_LIB
+-DQT_SCRIPTTOOLS_LIB
+-DQT_SCRIPT_LIB
+-DQT_SHARED
+-DQT_SQL_LIB
+-DQT_SVG_LIB
+-DQT_WEBKIT_LIB
+-DQT_XMLPATTERNS_LIB
+-DQT_XML_LIB
+-D_THREAD_SAFE

qmetaobject.h is on Qt/ and QtCore/, both of which is missing from the debug include path.

On Linux, it’s complaining about QtScript/QScriptExtensionPlugin (which is in /usr/include/qt4), diffs between includes:

--- incbad      2013-10-20 12:04:32.612710645 +0200
+++ incgood     2013-10-20 12:04:58.129714235 +0200
@@ -14,7 +14,21 @@
 -I../../../../snap
 -I../../../../spatialindex
 -I../../../../stemmer
+-I/usr/X11R6/include
+-I/usr/include/qt4
+-I/usr/include/qt4/QtCore
 -I/usr/include/qt4/QtDesigner
+-I/usr/include/qt4/QtGui
 -I/usr/include/qt4/QtHelp
+-I/usr/include/qt4/QtNetwork
+-I/usr/include/qt4/QtOpenGL
+-I/usr/include/qt4/QtScript
+-I/usr/include/qt4/QtScriptTools
+-I/usr/include/qt4/QtSql
+-I/usr/include/qt4/QtSvg
 -I/usr/include/qt4/QtUiTools
+-I/usr/include/qt4/QtWebKit
+-I/usr/include/qt4/QtXml
+-I/usr/include/qt4/QtXmlPatterns
 -I/usr/share/qt4/mkspecs/linux-g++-64
+-Irelease

Defines:

--- defbad      2013-10-20 12:07:16.961712166 +0200
+++ defgood     2013-10-20 12:07:38.831670098 +0200
@@ -1,4 +1,18 @@
 -DHAVE_PTHREAD_H
 -DPTHREADS
 -DQCAD_DLL
+-DQT_CORE_LIB
+-DQT_GUI_LIB
+-DQT_NETWORK_LIB
+-DQT_NO_DEBUG
+-DQT_OPENGL_LIB
+-DQT_SCRIPTTOOLS_LIB
+-DQT_SCRIPT_LIB
+-DQT_SHARED
+-DQT_SQL_LIB
+-DQT_SVG_LIB
 -DQT_WEBKIT
+-DQT_WEBKIT_LIB
+-DQT_XMLPATTERNS_LIB
+-DQT_XML_LIB
+-D_REENTRANT
 481 QCAD (main)Bug ReportLow data points display as either a dot (.) or a plus sign  ...Closed
100%
Task Description

data points display as either a dot (.) or a plus sign (+) on output to pdf or printer. There appears to be no constancy or control over the behaviour. Any way it could be forced to behave like Qcad-2 (i.e. line-weight controlled dot (.) ???

 300 QCAD (main)Bug ReportLow Dashed lines in SVG PG export Closed
100%
Task Description

Chat from  FS#194  singled out, so that can be closed.

Dash patterns in BETA2 are very much out of proportion. BETA2 always PG exports 1:1 and only scales strokes so that in the final rendering they match what a technical drawing would show. As dash patterns depend on stroke, both current stroke and final scale have to be brought in accord.

The patch below also restores the alignment of dashes, so that dashed lines do not end in a gap, at least in most occasions.

--- SvgExporterPG-orig.js	2011-09-15 23:11:40.000000000 +0200
+++ SvgExporterPG.js	2011-10-07 13:28:04.085376719 +0200
@@ -384,32 +384,29 @@
         continuous = true;
     }
     if (!continuous) {
-        //p.scale(this.getPatternFactor());
-        p.scale(1/this.scale);
+        // dash and gap lengths are to be proportional to line weight
+        // beware: line weight unit is 100 times millimeters, convert to current unit
+        // beware: the viewer scales lengths differently from weight
+        p.scale(RUnit.convert(this.weight / 100.0, RS.Millimeter, this.svgUnit) / this.scale);
         var num = p.getNumDashes();
-        var str = "";
+        var str = [];
         for ( var i = 0; i < num; ++i) {
             var len = Math.abs(p.getDashLengthAt(i));
-            // see FS#192:
-            //len = this.convert(len);
-            str += "" + len;
-            if (i < num - 1) {
-                str += ",";
-            }
-        }
-        additionalStyles += "stroke-dasharray:" + str;
-        
-        // does more harm than good
-//        if (isShape(this.shape)) {
-//            var length = this.shape.getLength();
-//            if (isNaN(this.offset)) {
-//                this.offset = this.getPatternOffset(length, p);
-//            } else {
-//                var num = Math.ceil(this.offset / p.getPatternLength());
-        //                this.offset -= num * p.getPatternLength();
-        //            }
-        //            additionalStyles += ";stroke-dashoffset:" + this.offset;
-        //        }
+            str.push(len);
+        }
+        additionalStyles += "stroke-dasharray:" + str.join(",");
+
+        // center dash-array
+        if (isShape(this.shape) && isFinite(this.shape.getLength())) {
+            var length = this.shape.getLength();
+            if (isNaN(this.offset)) {
+                this.offset = -this.getPatternOffset(length, p);
+            } else {
+                var num = Math.ceil(this.offset / p.getPatternLength());
+                this.offset -= num * p.getPatternLength();
+            }
+            additionalStyles += ";stroke-dashoffset:" + this.offset;
+        }
     }
928QCAD (main)TaskLowCXF font editingAssigned
0%
1 Task Description

Port CXF font editor to QCAD 3.
- Load CXF fonts (load glyphs into blocks)
- Save back to CXF format

 575 QCAD (main)Bug ReportLow Cut out segment: fails with ellipse segments that are t ...Closed
100%
Task Description

See also:
http://www.qcad.org/rsforum/viewtopic.php?f=32&t=1945

 436 QCAD (main)Bug ReportLow Cut / copy with reference and paste do not change comma ...Closed
100%
Task Description

Cut / copy with reference and paste do not change command line prompt

 647 QCAD (main)Feature RequestLow Customize line type Closed
100%
5 Task Description

I would like to get a submenu in properties to define own line types, i.e. one dash and three points or line + block.

Edit: Add support for custom line types defined in DXF / DWG files.

 425 QCAD (main)Feature RequestLow Custom properties Closed
100%
1 Task Description

Assigning custom properties to entities and possibly layers and other objects.

 1468 QCAD (main)Bug ReportLow Custom patterns are not selectable from qcad Closed
100%
Task Description

Hi,

I added a new custom pattern into patterns/metric folder
However, even after restarting QCAD, new pattern is not showing in hatch dialog.

 1079 QCAD (main)Feature RequestLow Custom line weights in 0.001mm steps Closed
100%
Task Description

The user can choose from 24 different line weights at the moment.
Unfortunately, 0.1mm is not among them.

Please add the possibility (add a textbox) to set any line weight from 0 to max in 0.001mm steps.

 1603 QCAD (main)Feature RequestLow Curved leader Lines Closed
100%
Task Description

Hi Andrew,

I would like to request an additional option in the dimension tool set to have a curved leader line, could be just the spline tool with an arrow on the end?

Regards

Clive

 371 QCAD (main)Bug ReportLow Ctrl-P not working in print preview Closed
100%
Task Description

Ctrl-P not working in print preview

Linux only.

 1512 QCAD/CAMBug ReportLow CTR command is not working Closed
100%
Task Description

1) Tool Circle WC
2) CTR circletangent2radius

This doesn’t work between two circles !
I can make a circle that touches a line and a circle.
But I can NOT make a third circle with a given radius that touches two other circles.

All the other commands in this menu are working properly, can someone help me out ?

 477 QCAD (main)Feature RequestLow crop objects at page margins Closed
100%
Task Description

It would be nice if QCad would print only objects inside page margins (i.e. to print a detail of a large drawing with margins). At the moment objects are visible up to page borders, and exporting to PDF with re-printing to a larger page contains even more objects.

 54 QCAD (main)Bug ReportLow Creating polyline from segments hangs Closed
100%
Task Description
  1. load “scripts/Draw/Polyline/PolylineFromSegments/Tests/lines.dxf”
  2. choose Polyline → Create from segments
    • the conversion isn’t done
    • the tool can be cancel with right click, but QCAD stays in strange stage using 25% CPU permanently
    • quit leads to segmentation fault
Thread [1] 20083 (Suspended : Signal : SIGSEGV:Segmentation fault)	
	0xb693148a	
	QScriptEngineAgentPrivate::atStatement() at 0xb6bc397b	
	0xb6a42232	
	0xb6a8e39a	
	0xa9b50ac0	
	0xffffffff	
	0x5	
	0xfffffffe	
	0xdc	
	0xfffffffe	
	<...more frames...>	
805QCAD (main)Feature RequestLowCreate tool radius compensation / tool path generationAssigned
0%
Task Description

This is how I would implement this:

This would be a modification tool. Parts are selected, a toolpath is generated, and a dialog pops up to allow putting the tool path into an existing layer, a new layer, or replace all drawings in an existing layer.

This is how the toolpath is generated:

We iterate through all elements and explode everything but text into line segments. Then we connect the line segments into chains wherever the line endpoints are less than some tolerance away from each other. The chains can be very chaotic, but at least we have separate entities for now.

For every chain, we need to find the largest complete loop. A good drawing would only contain non-overlapping loops, but we can’t expect that. Everything that is not on this loop can not be defined as a part or as a hole, so we will merely create a tool path segment that is equivalent to the line segment. Every segment that *IS* on a loop is either an outside edge (part outline), or an inside edge (hole outline), (or overlapping, in which case it is neither, and we have an operator problem).

In a perfect world, we need to find exactly which shape is inside which other shape, and then create alternating tool offsets from the outmost loop (part edge) to the second outmost (hole), to the next (part) etc. .

In a simplified world, we can used the bounding box of the loop instead. This works OK for rectangular shapes, but a circle next to an “L” shape could be seen as inside the L’s bounding box, hence inside the L, wrongly accused of being a hole, not a part.

Now all that is left to do is to create a new loop, offset by the tool radius. Oh, and since we have the connections from line segment to line segment in the correct order already, we can use the opportunity to order all cutting loops from inner to outer, or from small to large, and order non-loop edges by travel distance.

The new drawing in the new layer can now be exported without further hassle to create a nice laser cut file.

PS: of course, a user could create multiple layers for marking, cutting, enraging, etc. . Additional Layer attributes for cutting speed and laser power (and a few more) would be needed.

 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

Showing tasks 1351 - 1400 of 1769 Page 28 of 36<<First - 26 - 27 - 28 - 29 - 30 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing