Linetype 'Fenceline 1' corrupted by CXF upgrade

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 3418
Joined: Wed Sep 27, 2017 4:17 pm

Linetype 'Fenceline 1' corrupted by CXF upgrade

Post by CVH » Fri Jun 28, 2019 12:55 pm

Win7pro/32bit
QCADpro 3.22.1.2

I especially post this in the QCAD Troubleshooting and Problems so pro users can fix this immediately.
I could report it as a bug too if prefered.

The '0x0043 CIRC1' entry of the linetypes was corrupted in coding it to CXFversion 3.
This was a full arc radius 1 at x,y 1,0. Full Arcs do not code as polylines.

Solutions:
Edit the >lhtypeshp.cxf< file in your QCAD fonts folder.
Under [0043] CIRC1 add a line with PL 1,1,1,1,-1,1,1,1,0
Save the file, the coding should be UTF-8.
If QCAD was open, reopen it.
or
Edit the >lhtypeshp.cxf< font file with QCAD.
Select the block '0x0043 CIRC1'.
Put 2 arcs radius 1 at x,y 1,0. One from 90 to 270 degrees and one from 270 to 90 degrees.
Create a polyline from segments if prefered.
Save the fontfile and restart QCAD.

For the moment I prefer to code full arcs or circles as open type polylines with two Arcs.
Feel free to use the double arc definition with A or AR (reversed) and add the next two lines instead.
A 1,0,1,90,270
A 1,0,1,270,90

Can't post the file because for now the recoding on my Win7 is done faulty.

Regards,
CVH

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Linetype 'Fenceline 1' corrupted by CXF upgrade

Post by andrew » Fri Jun 28, 2019 3:22 pm

Thanks. I've overlooked that one. Fixed for the next snapshot.

Post Reply

Return to “QCAD Troubleshooting and Problems”