(BUG) - dimension text position for dims with suppressed witness/extension lines

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
User avatar
bambuko
Senior Member
Posts: 122
Joined: Fri Jul 02, 2021 6:20 pm
Location: UK, England, North Devon

(BUG) - dimension text position for dims with suppressed witness/extension lines

Post by bambuko » Sat Jun 25, 2022 4:48 pm

Screenshot from 2022-06-25 16.42.07.png
Screenshot from 2022-06-25 16.42.07.png (3.52 KiB) Viewed 4042 times
Two dimensions.
One (on the left) - I can adjust position of dimension text at will.
Other (on the right) - I have adjusted witness lines to make them disappear. All is fine, but if I do it, I no longer can adjust the position of dimension text.
Is it a bug? or am I doing something wrong?
Please.

Code: Select all

My version: 3.27.6.0 (3.27.6)
Internet: QCAD.org
Build Date: May 17 2022
Revision: 39d0e9f
Qt Version: 5.8.0
Architecture: x86_64
Compiler: gcc 4.8.1
and a sample file:
dim_test.dxf
(100.34 KiB) Downloaded 243 times
Last edited by bambuko on Mon Jun 27, 2022 10:06 am, edited 2 times in total.
QCad Pro
Linux MX-21.3 "Wildflower"

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

Re: dimensions - suppress witness lines

Post by CVH » Sat Jun 25, 2022 5:33 pm

Hi,

Not noticed yet ...

Also because I don't think it is a bug.
A dimension without witness lines is usually the inside measurement.
Common is than to align the text centered over the measuring line.

Regards,
CVH

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4931
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: dimensions - suppress witness lines

Post by Husky » Sat Jun 25, 2022 7:40 pm

Hi,

I can reproduce the issue.
bambuko wrote:
Sat Jun 25, 2022 4:48 pm
Is it a bug? or am I doing something wrong?
I tend to answer to both question with: Yes and no.

The QCAD dim function isn't currently designed to work without extension line. Nevertheless you are able to do that what will break the math behind the dynamic dimension function.
Should QCAD prevent such a modification at the extension lines - I think yes.
Should QCAD have the ability to create a Dim without extension lines - I think yes.
Probably it is worth to file a feature request below ...
www.qcad.org/bugtracker
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

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

Re: dimensions - suppress witness lines

Post by CVH » Sun Jun 26, 2022 10:16 am

Husky wrote:
Sat Jun 25, 2022 7:40 pm
Should QCAD prevent such a modification at the extension lines - I think yes.
Should QCAD have the ability to create a Dim without extension lines - I think yes.
I find that is rather contradictory:
Being able to but also preventing it ....

On the other hand I am perfectly able to manually create a Dim without witness lines.
What I did here is dragging the witness reference points to the end of the arrows.
After wich one can still place the text anywhere.
Dim No-witness-lines.dxf
(98.2 KiB) Downloaded 231 times


Regards,
CVH

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

Re: dimensions - suppress witness lines

Post by CVH » Sun Jun 26, 2022 10:28 am

It seems that two markers coincide and then we observe bambuko's problem.
One can't pick the text marker but one does pick the Dim marker.
Moving that will re-center the text.

Align your text with the dimension line and choose to place it above to show individual markers.
dim_test_rev.dxf
(100.3 KiB) Downloaded 220 times
The text orientation can be corrected back after custom placement.

Regards,
CVH
Last edited by CVH on Mon Jun 27, 2022 2:14 am, edited 1 time in total.

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

Re: dimensions - suppress witness lines

Post by CVH » Sun Jun 26, 2022 10:53 am

bambuko wrote:
Sat Jun 25, 2022 4:48 pm
I no longer can adjust the position of dimension text.
Another option with your original file is:
- Select the right Dimension.
- Add '+5' to the Text Position X field so it is displaced by 5 units.

Now you have two individual markers and are able to pick and place the text anywhere. :wink:

Regards,
CVH

User avatar
bambuko
Senior Member
Posts: 122
Joined: Fri Jul 02, 2021 6:20 pm
Location: UK, England, North Devon

Re: dimensions - suppress witness lines

Post by bambuko » Sun Jun 26, 2022 10:54 am

I am kind of lost in all your replies @CVH :?
Tried your file that supposedly solves my problem... and it doesn't (at least as far as I am concerned)
On the other hand I am perfectly able to manually create a Dim without witness lines.
yes, I can do it as well
What I did here is dragging the witness reference points to the end of the arrows.
yes, that is how I do it
After wich one can still place the text anywhere.
Here is, where you and I differ - it is not possible for me to do it (with your file as well)
Is it possible that it could be OS related?


I need a dimension without (or with suppressed) witness/extension lines that allows me to customise dimension text position as in "normal" dimension.

I agree with @Husky that until it is possible to customise dimension text position for dimensions without witness/extension lines - it is a bug that should be addressed.
QCad Pro
Linux MX-21.3 "Wildflower"

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

Re: dimensions - suppress witness lines

Post by CVH » Mon Jun 27, 2022 3:53 am

The attached file should explain what happens without witness lines ...
The marker for the dimension line and that of the text is at the same spot.
The text marker cannot be selected individually.

Both solutions to display 2 distinct markers are included.
From there one can drag only the text to a new place.

dim_test_rev2.dxf
(123.45 KiB) Downloaded 228 times

Regards,
CVH

User avatar
bambuko
Senior Member
Posts: 122
Joined: Fri Jul 02, 2021 6:20 pm
Location: UK, England, North Devon

Re: dimensions - suppress witness lines

Post by bambuko » Mon Jun 27, 2022 9:15 am

Thank you for taking time to explain (better :wink: :D ) what you have meant!
It seems that the issue is (separate) markers for the dimension and dimension text.
It would appear that when they coincide it is "impossible"? to select correct one to position dimension text as desired.

You are proposing "workarounds" (thank you) rather than "solution" to a bug :mrgreen:

I would raise/file feature request as suggested by @Husky (if I knew how to do it?) e_confused
QCad Pro
Linux MX-21.3 "Wildflower"

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

Re: (BUG) - dimension text position for dims with suppressed witness/extension lines

Post by CVH » Mon Jun 27, 2022 5:24 pm

bambuko wrote:
Mon Jun 27, 2022 9:15 am
You are proposing "workarounds" (thank you) rather than "solution" to a bug
A workaround like you call it is immediate, if a fix is possible it will only be included in one of the upcoming releases.

There are plenty more examples of two or more markers that coincides.
Even Alt-select cannot work in such cases ... :?
Simply because it is one and the same entity.

I think it should be possible to let Text markers be selected over others types ... But ...
... What if while selecting you need the Dim marker and not at all the Text marker as in your problem :roll: .


QCAD Bugtracker can be found here:
https://www.ribbonsoft.com/bugtracker/
You need to create a separate login there.
Then you can enter a new task, explaining the problem in detail.
You could include a link to this topic.

Regards,
CVH

User avatar
bambuko
Senior Member
Posts: 122
Joined: Fri Jul 02, 2021 6:20 pm
Location: UK, England, North Devon

Re: (BUG) - dimension text position for dims with suppressed witness/extension lines

Post by bambuko » Mon Jun 27, 2022 6:01 pm

CVH wrote:
Mon Jun 27, 2022 5:24 pm
...A workaround like you call it is immediate, if a fix is possible it will only be included in one of the upcoming releases...
I understand and agree (and am grateful for workarounds to keep me going :P )
CVH wrote:
Mon Jun 27, 2022 5:24 pm
...There are plenty more examples of two or more markers that coincides....
Indeed (now that you mention it I can think of few others as well)
Don't know what the solution is - I am just a grease monkey not a developer :mrgreen:
CVH wrote:
Mon Jun 27, 2022 5:24 pm
...You need to create a separate login there...
That was the bit I was missing, thank you.
Will think whether it is worth creating a request...
if I am the only one having an issue, perhaps it is not all that important? (or else, others would mention it as well...)
QCad Pro
Linux MX-21.3 "Wildflower"

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4931
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: (BUG) - dimension text position for dims with suppressed witness/extension lines

Post by Husky » Mon Jun 27, 2022 10:54 pm

bambuko wrote:
Mon Jun 27, 2022 6:01 pm
Will think whether it is worth creating a request...
if I am the only one having an issue, perhaps it is not all that important? (or else, others would mention it as well...)
You are no longer alone - I mentioned that I would use such a function too. However - QCAD developer will always decide a tool development based on what assumably the majority of user will need. But as a grease monkey you know only the squeaky wheel gets the grease ... :wink:

This said - if a workaround causes more headache than the issue then you have to reconsider the used method. If your goal is just to get rid of the extension lines and still be able to move the dim text then QCAD offers already everything what is needed. You just need to think a bit out of the box ... :shock:

workaround dim suppressed extension lines.gif
workaround dim suppressed extension lines.gif (2.06 MiB) Viewed 3832 times
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

User avatar
bambuko
Senior Member
Posts: 122
Joined: Fri Jul 02, 2021 6:20 pm
Location: UK, England, North Devon

Re: (BUG) - dimension text position for dims with suppressed witness/extension lines

Post by bambuko » Tue Jun 28, 2022 9:37 am

Husky wrote:
Mon Jun 27, 2022 10:54 pm
...If your goal is just to get rid of the extension lines and still be able to move the dim text then QCAD offers already everything what is needed. You just need to think a bit out of the box ... :shock:
Yes, my goal is to get rid of extensions and be able to position dim text as desired.

I hate .gifs with a vengence (they give me headache when I try to follow them :mrgreen: )
but the workaround is very neat indeed 8) - thank you for another suggestion.

But that leads to me to another question that has bothered me for a while... :lol:
If I modify linear feature, I can update linear dimension by re-attaching it's attachment points.
If I modify circle (i.e. change it's diameter), I cannot do that - I have to re-dimension it again e_confused
or is there another workaround for that as well?
QCad Pro
Linux MX-21.3 "Wildflower"

Post Reply

Return to “QCAD 'How Do I' Questions”