Regression in handling splines? 3.23.0→3.24.2

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
kaur
Newbie Member
Posts: 6
Joined: Thu Apr 16, 2020 7:12 am

Regression in handling splines? 3.23.0→3.24.2

Post by kaur » Thu Oct 01, 2020 8:46 am

Working on a DXF with splines, there is a bug in handling splines that appears in two possible workflows. When done in 3.25.2 or 3.24.2, the problem occurs, but when going back to 3.23.0, everything works correctly.
  1. Open file, save as DXF R27, re-open, the splines are broken
  2. Open file, select all, modify→explode, one spline disappears
Attachments
a194673-3.24.2.dxf
Saved as R27 in 3.24.2
(101.14 KiB) Downloaded 299 times
a194673-3.23.0.dxf
Saved as R27 in 3.23.0
(108.58 KiB) Downloaded 298 times
a194673.dxf
Original file
(40.31 KiB) Downloaded 293 times

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

Re: Regression in handling splines? 3.23.0→3.24.2

Post by andrew » Thu Oct 01, 2020 9:21 am

There seems to be something odd about those splines indeed.

I couldn't quite figure out what so far.

Here's a workaround that seems to work though:
- Load a194673.dxf
- Select all
- Misc > Modify > Convert Splines to Bézier Segments

Note that this leaves behind some zero length splines you might want to clean up.

kaur
Newbie Member
Posts: 6
Joined: Thu Apr 16, 2020 7:12 am

Re: Regression in handling splines? 3.23.0→3.24.2

Post by kaur » Fri Oct 02, 2020 8:12 am

Thanks for the reply. Are you going to look into it further? Since it works in the older version, we would also like to have it working again in newer versions too.

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

Re: Regression in handling splines? 3.23.0→3.24.2

Post by andrew » Fri Oct 02, 2020 2:19 pm

The problem seems to be caused by one of the OpenDesign updates (from 4.3.2 to 20.x). Any fix would have to be a workaround for that OpenDesign bug. I'd recommend to rollback to the last working QCAD version as this is a complex problem and there are not many affected (it cannot occur with QCAD generated files).

kaur
Newbie Member
Posts: 6
Joined: Thu Apr 16, 2020 7:12 am

Re: Regression in handling splines? 3.23.0→3.24.2

Post by kaur » Tue Oct 06, 2020 9:47 am

Thanks for clearing this up. Going through the changelog I suspected it might be related to the ODA update so I know it's that and might not be fixed any time soon.

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

Re: Regression in handling splines? 3.23.0→3.24.2

Post by andrew » Tue Oct 06, 2020 11:37 am

Meanwhile, I've actually found a workaround which is implemented for the next release.

kaur
Newbie Member
Posts: 6
Joined: Thu Apr 16, 2020 7:12 am

Re: Regression in handling splines? 3.23.0→3.24.2

Post by kaur » Tue Oct 06, 2020 2:07 pm

Sounds great, thanks!

Post Reply

Return to “QCAD Troubleshooting and Problems”