[Solved] Crooked line question

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
Nenagh52
Junior Member
Posts: 19
Joined: Wed Oct 25, 2023 12:01 pm

[Solved] Crooked line question

Post by Nenagh52 » Thu Feb 27, 2025 10:45 am

I asked about this before and dont understand the suggested solution so can we have another go please
crooked line .dxf
(131.08 KiB) Downloaded 220 times
Thank you

Versions
QCAD version: 3.27.6.0
Date: May 17 2022
Qt version: 5.15.2
Compiler version: Clang 13.0.0
Build date: May 17 2022
Revision: 39d0e9fbce3f2bde22b12437b60bc7fb7fef1bc8
Architecture: arm6<
Device pixel ratio: 1
Configuration file: /Users/Xasuser/.config/QCAD/QCAD3.ini
OS: macOS
OS version: 15.3
Last edited by Nenagh52 on Thu Apr 17, 2025 9:39 am, edited 3 times in total.

CVH
Premier Member
Posts: 4919
Joined: Wed Sep 27, 2017 4:17 pm

Re: 2 line questions as described in attachment

Post by CVH » Thu Feb 27, 2025 11:59 am

Hi,
Please read the above forum rules in red.
One question per post makes the Forum better searchable. :wink:

Regarding: 'I want this magenta line to be dashed'
It lives on layer 'DRY LINED' what is set to 'ISO dash space'
Although, the entity itself has a forced custom pattern defined: 'Divide 2x'
See Property Editor when the line is selected.
Reset that to 'By Layer' ... The same for Lineweight.

Regarding: 'I want this magenta line to be straight'
A line entity is always straight ... You probably mean horizontal. :wink:
The vertical line segment at the left is 0.19 long, at the right it is 0.38 long.

When drawing ... Hold the Alt key down for indicating a point in an orthogonal fashion to the last indicate/used point.
Called the 'Relative Zero', the little crossed red circle that is trailing while creating new entities.

Afterwards ...
The easiest way is to select the line and edit it endpoints in the Property Editor.
Ensure that both Y values of the start and end are the same by entering new values.

Remark the rather awkward coordinate values. :roll:
Especially when displaying more decimal digits.

Other solutions include to set 360 for the angle property and re-trim to the vertical segment.
Or equalize the vertical segments and drag the start or endpoint of the dashed line to where they end.
...
..
.

I can detect 3 zero-length entities in your drawing.

Regards,
CVH

Nenagh52
Junior Member
Posts: 19
Joined: Wed Oct 25, 2023 12:01 pm

Re: [Solved] Crooked line question

Post by Nenagh52 » Thu Apr 17, 2025 9:39 am

the crooked line prints as straight line so case closed

CVH
Premier Member
Posts: 4919
Joined: Wed Sep 27, 2017 4:17 pm

Re: [Solved] Crooked line question

Post by CVH » Thu Apr 17, 2025 10:26 am

Hi,

It is not a good idea to delete answered questions in your original post. :wink:
Or to replace attachments with something completely different.
Before there was nothing mentioned about a 'Crooked line'.
You probably changed the topic completely and no one answered because it was not flagged as a new topic.
line question.dxf
Original topic file
(140.21 KiB) Downloaded 241 times
Nenagh52 wrote:
Thu Feb 27, 2025 10:45 am
I asked about this before and dont understand the suggested solution so can we have another go please
You probably mean that a slanted line in your new attachment is displayed as stepped.
That is a limitation of your screen what is divided up in pixels.
Typical about 70-90 dpi or so and printers can do much better: 300 dpi, 600 dpi or even higher.

Things may be rendered as thin as 1 pixel on screen using Screen-based Linetypes (NL).
The stepped nature will be more pronounced.
On paper it will be printed with its actual weight and with a much higher resolution so that you can not detect the stepped nature.
Even then it will be stepped but in a micro scale.
Only pen-plotters can do it somewhat better.


A solution may be activating Anti-aliasing (NT).
Remember that this mode may slow down QCAD with complex drawings as there is much more information to render on screen.

Regards,
CVH

Post Reply

Return to “QCAD 'How Do I' Questions”