DXF spline curve help

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
AesculusMaximus
Registered Member
Posts: 1
Joined: Sun Sep 27, 2015 9:27 am

DXF spline curve help

Post by AesculusMaximus » Sun Sep 27, 2015 9:29 am

Hi

Im trying to write a dxf programmatically but am having problems with a spline. I need to use fit points rather than control points as the curve needs to actually go through the specified points. Does anyone have an example?

Thanks

My code so far (not working)

SPLINE
8
mylayer
70
11
71
2
74
4
12
0
22
1
32
0
13
1
23
0
33
0
11
-12286.2742525
21
8637.96944549
31
0
11
-10286.2742525
21
5637.96944549
31
0
11
-12286.2742525
21
3637.96944549
31
0
11
-15286.2742525
21
5637.96944549
31
0
0

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

Re: DXF spline curve help

Post by andrew » Mon Sep 28, 2015 10:19 am

You can create a working example using QCAD:
- Draw a simple spline with known fit points
- Save as DXF

Post Reply

Return to “QCAD 'How Do I' Questions”