[Solved] QCAD drawing default line width settings
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
-
- Full Member
- Posts: 84
- Joined: Fri Oct 20, 2023 7:21 am
[Solved] QCAD drawing default line width settings
WIN10 qcad3.28.2 pro
Hello everyone, while using QCAD, I found that there is a default line width for drawing graphics. What if I set the configuration file to change the default line width to the default value?
Hello everyone, while using QCAD, I found that there is a default line width for drawing graphics. What if I set the configuration file to change the default line width to the default value?
Last edited by WildWolfCJ on Wed Dec 06, 2023 4:06 am, edited 1 time in total.
Re: QCAD drawing default line width settings
To my knowledge there is no default for the Default Lineweight itself.WildWolfCJ wrote: ↑Wed Nov 29, 2023 8:03 amWhat if I set the configuration file to change the default line width to the default value?
See Application Preferences .. Graphics View .. Appearance .. Linetypes and Lineweights .. Default Lineweight
You can set this from 0.00mm up to 2.11mm and then all line-art that uses the Default weight will be rendered in the chosen weight.
This does not affect weights inherited form layers or as individual property other than 'Default'.
Line-art in Default weight may thus be rendered differently on other computers where the user has preferred to use a different weight.
You should not edit the configuration file (QCAD.ini/config) in direct unless you know what you are doing.
It will not have any effect when QCAD is running there the settings are cached and stored back on termination.
Regards,
CVH
Last edited by CVH on Tue Dec 05, 2023 9:40 am, edited 1 time in total.
-
- Full Member
- Posts: 84
- Joined: Fri Oct 20, 2023 7:21 am
Re: QCAD drawing default line width settings
HI CVH
Thank you very much for your answer. I followed this method and found that the default line width of the drawn graphics is still 0.25. I restarted QCAD and it still doesn’t work.See Application Preferences .. Graphics View .. Appearance .. Linetypes and Lineweights .. Default Lineweight
- Attachments
-
- VeryCapture_20231129161414.jpg (157.37 KiB) Viewed 5695 times
Re: QCAD drawing default line width settings
WildWolfCJ wrote: ↑Wed Nov 29, 2023 9:17 amI followed this method and found that the default line width of the drawn graphics is still 0.25
Drawing entities usually (= common practice) inherited the pen size form the layer they are on: ByLayer
Or they may use a custom pen size.
Only if that is set to 'Default' then the application default size is used.
Weight 0.00mm may or may not export well to paper or pdf/svg.
For the geometry that doesn't matter ... All vector art has an infinite small width.
Regards,
CVH
-
- Full Member
- Posts: 84
- Joined: Fri Oct 20, 2023 7:21 am
Re: QCAD drawing default line width settings
Drawing entities usually (= common practice) inherited the pen size form the layer they are on: ByLayer
HI CVH Thank you for your patient answer. I understand that the pen width of drawing entities is inherited from the layer. Is there any way to set the default pen width of the layer to default? I found that the default pen width of the layer is 0.25 (ISO)
Re: QCAD drawing default line width settings
First define what the Lineweight 'Default' should be for you, globally, application based.WildWolfCJ wrote: ↑Thu Nov 30, 2023 2:05 amHI CVH Thank you for your patient answer. I understand that the pen width of drawing entities is inherited from the layer. Is there any way to set the default pen width of the layer to default? I found that the default pen width of the layer is 0.25 (ISO)
See: Application Preferences .. Graphics View .. Appearance .. Linetypes and Lineweights .. Default Lineweight
The sole exception is that the application default Lineweight can not be 'Default' itself ... It can't be recursive, right?
Edit the layer and set Lineweight to 'Default'. See layer List widget.
Ensure that entities on this layer that should inherit this attribute have Lineweight 'By Layer'.
Entities can also have a custom Lineweight set and that can be any weight including 'Default'.
If you change their layer(s) attribute(s) then it is obvious that they stick to the custom set Lineweight.
For new layers created with QCAD in an existing drawing one can set the attribute defaults under Application Preferences .. Layer .. Add Layer.
And there you can also set the default attributes for the mandatory Layer 0 in a new file created with QCAD.
That should cover all Preferences there are.
Again, there are no defaults for 'Default', that is all up to you.
Regards,
CVH
-
- Full Member
- Posts: 84
- Joined: Fri Oct 20, 2023 7:21 am
Re: QCAD drawing default line width settings
HI CVH Thank you very much for your patient answer.
I think the default line width is 0.00mm, but I followedFirst define what the Lineweight 'Default' should be for you, globally, application based.
Set 0.00mm and restart QCAD. The drawing line width is not 0.00mm. I don't know how to solve it.”See: Application Preferences .. Graphics View .. Appearance .. Linetypes and Lineweights .. Default Lineweight
"
Re: QCAD drawing default line width settings
Although QCAD asks to restart, any change of the application default Lineweight value is instantaneously.
There may be other reasons why a restart flag is set for this or these set of preferences.
What to use as default value is up to you, your firm/organisation or an industry standard if any.
I suspect that the entities in question have a custom Lineweight or inherent such from their layer.
Refering to the test.dxf drawing attached to: https://www.qcad.org/rsforum/viewtopic. ... 442#p42897
I wrote
Regards,
CVH
There may be other reasons why a restart flag is set for this or these set of preferences.
Agreed, on first install or after resetting the configuration a practical value is preset.WildWolfCJ wrote: ↑Fri Dec 01, 2023 4:40 amI think the default line width is 0.00mm, but I followed
What to use as default value is up to you, your firm/organisation or an industry standard if any.
Please attach your drawing or a drawing example.WildWolfCJ wrote: ↑Fri Dec 01, 2023 4:40 amSet 0.00mm and restart QCAD. The drawing line width is not 0.00mm. I don't know how to solve it.
I suspect that the entities in question have a custom Lineweight or inherent such from their layer.
Refering to the test.dxf drawing attached to: https://www.qcad.org/rsforum/viewtopic. ... 442#p42897
I wrote
Regards,
CVH
-
- Full Member
- Posts: 84
- Joined: Fri Oct 20, 2023 7:21 am
Re: QCAD drawing default line width settings
See Application Preferences .. Graphics View .. Appearance .. Linetypes and Lineweights .. Default Lineweight
I tried it. No matter how I change it, the default pen width of the newly created drawing is by layer and the width is 0.25mm. The settings here have no effect.
Re: QCAD drawing default line width settings
Tested this in QCAD Pro 3.27.6.0 & 3.28.2.0 ; QCAD CE 3.27.9.0
Works like a charm.
As stated earlier:
See: Application Preferences .. Layer .. Add Layer .. Default Lineweight for Layer 0
And also Default color for layer 0
That is upon creation of a new drawing, any change to these attributes afterwards is up to you.
For an existent drawing (also an newly created with the Layer 0) the defaults for adding extra layers are:
Application Preferences .. Layer .. Add Layer .. Default Lineweight for new layers
And also Default color for new layers
Again upon creation of any additional new layer.
Both these layer preferences can be set to 'Default' or a specific 0.00mm ... 2.11mm lineweight.
What 'Default' refers to is set in:
Application Preferences .. Graphics View .. Appearance .. Linetypes and Lineweights .. Default Lineweight
'Default' can be set to a 0.00mm ... 2.11mm lineweight.
The lineweight 'Default' is defined application wide and can differ between machines, applications, installations or users.
Should be self-explanatory and was explained higher up.
Regards,
CVH
Works like a charm.
The keywords here are 'newly created drawing'WildWolfCJ wrote: ↑Mon Dec 04, 2023 4:54 amthe default pen width of the newly created drawing is by layer and the width is 0.25mm
As stated earlier:
New files are created with at least the mandatory Layer 0 declared.
See: Application Preferences .. Layer .. Add Layer .. Default Lineweight for Layer 0
And also Default color for layer 0
That is upon creation of a new drawing, any change to these attributes afterwards is up to you.
For an existent drawing (also an newly created with the Layer 0) the defaults for adding extra layers are:
Application Preferences .. Layer .. Add Layer .. Default Lineweight for new layers
And also Default color for new layers
Again upon creation of any additional new layer.
Both these layer preferences can be set to 'Default' or a specific 0.00mm ... 2.11mm lineweight.
What 'Default' refers to is set in:
Application Preferences .. Graphics View .. Appearance .. Linetypes and Lineweights .. Default Lineweight
'Default' can be set to a 0.00mm ... 2.11mm lineweight.
The lineweight 'Default' is defined application wide and can differ between machines, applications, installations or users.
Should be self-explanatory and was explained higher up.
Regards,
CVH
-
- Full Member
- Posts: 84
- Joined: Fri Oct 20, 2023 7:21 am
Re: QCAD drawing default line width settings
Wow, after so many days of discussion, I finally solved this problem. Thank you so much.
Re: QCAD drawing default line width settings
Nice,
If considered solved then please edit the title of your initial post in this topic and prefix it with [Solved]
Regards,
CVH
If considered solved then please edit the title of your initial post in this topic and prefix it with [Solved]
Regards,
CVH