TechDraw Line Width change without effect
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: TechDraw Line Width change without effect
Added my FreeCAD infos, its slightly outdated.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: TechDraw Line Width change without effect
Hello!
Do you solved this? A have same problem on Fedora 33 and 34.
Do you solved this? A have same problem on Fedora 33 and 34.
Re: TechDraw Line Width change without effect
I tried build FreeCAD from source (git master) on Fedora 34 and Line Width works.
-
- Posts: 1
- Joined: Tue Nov 30, 2021 7:14 pm
Re: TechDraw Line Width change without effect
Hello
In my version of freecad 0.18 line thickness is possible to set on:
Menu: Edit --> Preferences
then :"Display" section on the left side
and the "Part Colors" tab. I use following settings :
Default line width : 2px
...
Default vertex size: 2px
This setting when changed works only for new projects. Unfortunately I could not find how to apply change to an already existing project made where lines thickness was set to 9px.
It seems line thickness is taken from FreeCad preferences to project only at the moment of project creation? Later line thickness is stored inside of the project file?
To change it I edited the project file directly.
FreeCad project is a zip with project.FCStd extension. To open it for edition i add .zip at the end if file project.FCStd.zip
Open file with zip
look for file named: GuiDocument.xml
Extatct it from zip file so i can edit it
I use notepad to open and edit GuiDocument.xml
Search all tags sections with:
<Property name="LineWidth" type="App::PropertyFloatConstraint">
<Float value="9.0000000000000000"/>
</Property>
and change in each occurence 9 to 2:
<Property name="LineWidth" type="App::PropertyFloatConstraint">
<Float value="9.0000000000000000"/>
</Property>
to:
<Property name="LineWidth" type="App::PropertyFloatConstraint">
<Float value="2.0000000000000000"/>
</Property>
save file
put GuiDocument.xml to zip file
remove zip extension. and now the project is back with 2 px line thickness.
Make a copy of the file before edition just in case you damage it.
For me it works. Bit brute force solution but could not find anything better.
the same you can do to point size, xml tag is:
<Property name="PointSize" type="App::PropertyFloatConstraint">
<Float value="4.0000000000000000"/>
</Property>
Regards
Maciej
In my version of freecad 0.18 line thickness is possible to set on:
Menu: Edit --> Preferences
then :"Display" section on the left side
and the "Part Colors" tab. I use following settings :
Default line width : 2px
...
Default vertex size: 2px
This setting when changed works only for new projects. Unfortunately I could not find how to apply change to an already existing project made where lines thickness was set to 9px.
It seems line thickness is taken from FreeCad preferences to project only at the moment of project creation? Later line thickness is stored inside of the project file?
To change it I edited the project file directly.
FreeCad project is a zip with project.FCStd extension. To open it for edition i add .zip at the end if file project.FCStd.zip
Open file with zip
look for file named: GuiDocument.xml
Extatct it from zip file so i can edit it
I use notepad to open and edit GuiDocument.xml
Search all tags sections with:
<Property name="LineWidth" type="App::PropertyFloatConstraint">
<Float value="9.0000000000000000"/>
</Property>
and change in each occurence 9 to 2:
<Property name="LineWidth" type="App::PropertyFloatConstraint">
<Float value="9.0000000000000000"/>
</Property>
to:
<Property name="LineWidth" type="App::PropertyFloatConstraint">
<Float value="2.0000000000000000"/>
</Property>
save file
put GuiDocument.xml to zip file
remove zip extension. and now the project is back with 2 px line thickness.
Make a copy of the file before edition just in case you damage it.
For me it works. Bit brute force solution but could not find anything better.
the same you can do to point size, xml tag is:
<Property name="PointSize" type="App::PropertyFloatConstraint">
<Float value="4.0000000000000000"/>
</Property>
Regards
Maciej
Re: TechDraw Line Width change without effect
You use a pretty outdated version. Try 0.20.maciej.krych wrote: ↑Tue Nov 30, 2021 7:43 pm <Property name="LineWidth" type="App::PropertyFloatConstraint">
<Float value="9.0000000000000000"/>
</Property>
For improved readability put the code snippets in code tags.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.