Search found 7 matches

by Kuma
Sat Jan 26, 2019 5:31 am
Forum: Chat
Topic: Wanted a way to define a spline
Replies: 2
Views: 6326

Re: Wanted a way to define a spline

Thank you for your reply it is very helpful, are there any algorithm to calculate the control point if we knew the length of the spline?
by Kuma
Fri Jan 25, 2019 5:20 am
Forum: Chat
Topic: Wanted a way to define a spline
Replies: 2
Views: 6326

Wanted a way to define a spline

Is it possible to create a spline with predefined length and control its curve?
by Kuma
Wed Sep 21, 2016 5:53 am
Forum: QCAD 'How Do I' Questions
Topic: how to use tool like trim or lengthen in scripting
Replies: 7
Views: 6153

Re: how to use tool like trim or lengthen in scripting

AddEntity() return undefined when use with offscreen document so I changed it to return entity now I can use trim and lengthen.
by Kuma
Mon Sep 19, 2016 5:46 pm
Forum: QCAD 'How Do I' Questions
Topic: how to use tool like trim or lengthen in scripting
Replies: 7
Views: 6153

Re: how to use tool like trim or lengthen in scripting

Hi Andrew, When I create offscreen document and addLine to it, It works fine but when I try to use lengthen or trim like this: var doc = createOffScreenDocument(); startTransaction(doc); var e1 = addLine(10,10,50,10); lengthen(e1, false, 10); endTransaction(); paste(doc, getDocumentInterface(), new ...
by Kuma
Sun Sep 18, 2016 7:24 am
Forum: QCAD 'How Do I' Questions
Topic: how to use tool like trim or lengthen in scripting
Replies: 7
Views: 6153

Re: how to use tool like trim or lengthen in scripting

Thanks you very much for helping me out :) :)
by Kuma
Sat Sep 17, 2016 11:14 am
Forum: QCAD 'How Do I' Questions
Topic: how to use tool like trim or lengthen in scripting
Replies: 7
Views: 6153

Re: how to use tool like trim or lengthen in scripting

Thank Andrew for very helpful answer very appreciate it, I have another question How can I translate my drawing to any coordinate rather than (0,0) because I have two drawing one starting at (0,0) and another I want to offset to other coordination. Should I start both at (0,0) and then select and mo...
by Kuma
Tue Sep 13, 2016 5:00 pm
Forum: QCAD 'How Do I' Questions
Topic: how to use tool like trim or lengthen in scripting
Replies: 7
Views: 6153

how to use tool like trim or lengthen in scripting

Hi I am newbie here, I wonder how can I use tool like trim or lengthen in scripting, for example I have created a line in my script and I want to extend it in my script, how do I do that? thanks.

Go to advanced search