Usually it's because I've messed up a conversion QString <--> std::string or QString <---> char*. For Symbols, QByteArray gets involved too. Lots of opportunity to mess up non-Ascii. I'll look into it.yorik wrote:One little problem I found too, it seems that I can't add utf-8 text to a TechDraw Symbol (and therefore Draft & Arch too). For ex, try creating a symbol with the attached file below. Any idea to solve this?
The Big TechDraw Comments Thread
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- wandererfan
- Veteran
- Posts: 6265
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: The Big TechDraw Comments Thread
- wandererfan
- Veteran
- Posts: 6265
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: The Big TechDraw Comments Thread
Found it. char* to QString to QByteArray. PR to follow.yorik wrote:One little problem I found too, it seems that I can't add utf-8 text to a TechDraw Symbol (and therefore Draft & Arch too). For ex, try creating a symbol with the attached file below. Any idea to solve this?
Re: The Big TechDraw Comments Thread
Fast finding! Thanks!
Re: The Big TechDraw Comments Thread
Hopefully this is the right place to post.
Attached a screen and a file of a Arch Section on Tech Draw. I would like to use the Rendring Mode Solid instead of Wireframe. I would like to see the colors and transparency the part really has on the paper. But it still shows as wireframe. Am I missing something?
OS: Debian GNU/Linux 8.6 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8817 (Git)
Build type: Unknown
Branch: master
Hash: 253907d15f80369cd6a900007d5460caca4517aa
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.0.0
Attached a screen and a file of a Arch Section on Tech Draw. I would like to use the Rendring Mode Solid instead of Wireframe. I would like to see the colors and transparency the part really has on the paper. But it still shows as wireframe. Am I missing something?
OS: Debian GNU/Linux 8.6 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8817 (Git)
Build type: Unknown
Branch: master
Hash: 253907d15f80369cd6a900007d5460caca4517aa
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.0.0
Re: The Big TechDraw Comments Thread
hmm there are still some problems here and there, but solid rendering should work... I'll check.
In the meantime this is what I produced today, this is the raw techdraw output:
In the meantime this is what I produced today, this is the raw techdraw output:
Re: The Big TechDraw Comments Thread
How did you do that. I stuck with a simple wall ... No filling inside the cutted walls.yorik wrote:hmm there are still some problems here and there, but solid rendering should work... I'll check.
In the meantime this is what I produced today, this is the raw techdraw output:
OS: Debian GNU/Linux 8.6 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8817 (Git)
Build type: Unknown
Branch: master
Hash: 253907d15f80369cd6a900007d5460caca4517aa
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.0.0
- wandererfan
- Veteran
- Posts: 6265
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: The Big TechDraw Comments Thread
Wow. Very impressive!yorik wrote:In the meantime this is what I produced today, this is the raw techdraw output
-
- Posts: 384
- Joined: Sat Sep 24, 2016 6:51 am
Re: The Big TechDraw Comments Thread
Nice to see caption in drawing.
How can I change font size. it is overlapping with section view text. Also rotate along with view [see section B-B]
How can I change font size. it is overlapping with section view text. Also rotate along with view [see section B-B]
- Attachments
-
- sample 4.fcstd
- (59.8 KiB) Downloaded 88 times
-
- freecad techdraw.png (31.86 KiB) Viewed 5927 times
-
- Posts: 384
- Joined: Sat Sep 24, 2016 6:51 am
Re: The Big TechDraw Comments Thread
Is it possible to do like this shaded view in tech draw
- Attachments
-
- shded view.png (34.39 KiB) Viewed 5923 times
Re: The Big TechDraw Comments Thread
@bernd you need to set the ShowFill property to True in the ArchView. But unfortunately on your example it doesn't work well, the two concentric wires are both filled. This is a difficult case... What we get from the cut algo is an unsorted list of edges, it'll be hard to detect such holes...
If you want to have a look at my file above: https://github.com/uncreatednet/casa-ec ... 2001.FCStd
@wandererfan Have you seen that now the label doesn't encompass the whole view anymore, but stays at the corner? (See Bernd's screenshot above). Something might have change in the code that gets the Symbol bounding rectangle...
If you want to have a look at my file above: https://github.com/uncreatednet/casa-ec ... 2001.FCStd
@wandererfan Have you seen that now the label doesn't encompass the whole view anymore, but stays at the corner? (See Bernd's screenshot above). Something might have change in the code that gets the Symbol bounding rectangle...