QCAD

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)

Tasklist

FS#464 - select not possible in zoom

Attached to Project: QCAD
Opened by Stefan (stefan) - Sunday, 15 January 2012, 10:37 GMT+2
Last edited by Andrew (andrew) - Sunday, 15 January 2012, 21:05 GMT+2
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity Low
Priority Normal
Reported Version 3 RC2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

if drawing is zoomed too much, it is impossible to select a line with a single click (workaround: use area select)

This task depends upon

Closed by  Andrew (andrew)
Sunday, 15 January 2012, 21:05 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  Problem reproducible in RC2/3 but not reproducible in current development release.
Comment by Stefan (stefan) - Sunday, 15 January 2012, 19:57 GMT+2

"select not possible" does not mean "low severity" to me. Attached you find a screen shot in default view, where every line is selectable as expected. With little zooming (second file) NONE of the displayed lines is selectable by a single click and therefore none of the tools with two lines (e.g. trim) is working. The marked tiny line in the first view is not selectable precisely without zooming.

Comment by Andrew (andrew) - Sunday, 15 January 2012, 21:04 GMT+2

Information for potential workaround: Problem is caused by non-zero Z level (i.e. drawing is not 2D).

Comment by Stefan (stefan) - Sunday, 15 January 2012, 22:05 GMT+2

Thank you for the hint.

How can I check or reset one or all Z-levels? (sorry, couldn't find an answer with google or in FAQ or qcad-how-do-I.)

The drawing is created by someone else with ACad (file starts with AC1018 and shows the string "AutoCAD LT 2004\R9" somewhere inside), so I don't know the Z-levels.

Comment by Andrew (andrew) - Sunday, 15 January 2012, 22:22 GMT+2

You would have to use a 3D CAD application for that or (if you are comfortable working with a plain text editor) modify a QCAD script as described below to allow Z coordinate editing in QCAD.

  • Open file scripts/Widgets/PropertyEditor/PropertyEditor.js with your favorite plain text editor.
  • Change the section (original code):
// don't display any Z values:
var controls;
if (title==="Z") {
    controls = undefined;
}
else {
    controls = this.initControls(propertyTypeId, onlyChanges);
}
  • Into (new code):
// don't display any Z values:
var controls;
//if (title==="Z") {
//    controls = undefined;
//}
//else {
    controls = this.initControls(propertyTypeId, onlyChanges);
//}
  • Restart QCAD
  • Select all
  • At top of property editor, choose "Selection: Line"
  • Change all Z coordinates to 0
Comment by Stefan (stefan) - Sunday, 15 January 2012, 22:37 GMT+2

Thank you very much, I will try this as soon as possible and post the result.

Comment by Stefan (stefan) - Monday, 16 January 2012, 13:52 GMT+2

Confirmed, after changing to Z=0 all lines are selectable even if view is zoomed. :-)

Is there a way to set all Z-coordinates to 0? If I select all?
Choosing "Selection: Line" does not show Z-coordinates (General and in Geometry: length and angle, nothing more).
Choosing "Selection: Block Reference" gives Z-coordinates in position and scale.

The property editor rises another question: why does the selection always change back to "All"?

Thank you very much.

Comment by Stefan (stefan) - Monday, 16 January 2012, 13:53 GMT+2

maybe this would be a feature request: reset all Z-coordinates on load to 0?

Comment by Stefan (stefan) - Monday, 16 January 2012, 14:22 GMT+2

the received file or the importing of it seems to have other issues, see attached screen shot with "Parse Error"

Loading...