Creating A line based on an equation

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

Moderator: andrew

Creating A line based on an equation

Postby MT_Keg » Thu Jan 28, 2010 9:22 pm

I have developed an equation for a line i wish to create... I was wondering how I could implement that?

MT
MT_Keg
Registered Member
 
Posts: 1
Joined: Thu Jan 28, 2010 9:19 pm

Postby andrew » Thu Jan 28, 2010 10:05 pm

If I understand you correctly you are talking about a curve rather than a (straight) line.

The QCAD Community edition does not offer a scripting interface like QCAD Professional does. With the scripting interface you can programmatically add entities to a QCAD drawing from a script environment,

For the Community Edition, you could try to create a simplified DXF file with your lines or other entities in it.

This simplified DXF file can be read by QCAD. It contains two lines:
(45.6,33.4) - (60.5,55.2)
(23.2,12.5) - (34.5,26.3)

Code: Select all
0
LINE
10
45.6
20
33.4
11
60.5
21
55.2
0
LINE
10
23.2
20
12.5
11
34.5
21
26.3
0
EOF
User avatar
andrew
Site Admin
 
Posts: 2600
Joined: Fri Mar 30, 2007 6:07 am


Return to QCAD Community 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 1 guest