Search found 9 matches

by alexbottoni
Sat Nov 29, 2014 5:23 pm
Forum: Chat
Topic: Python or Lua for scripting QCAD?
Replies: 6
Views: 19952

Re: Python or Lua for scripting QCAD?

Having said that, QCAD is of course open source and if someone feels like writing a plugin that exposes an alternative script API, go for it :) I'm afraid that having a not negligible part of the system implemented in ECMAScript makes virtually impossible to add another scripting engine to QCAD wit...
by alexbottoni
Sat Nov 29, 2014 3:31 pm
Forum: Chat
Topic: Python or Lua for scripting QCAD?
Replies: 6
Views: 19952

Python or Lua for scripting QCAD?

Hi All, Just out of curiosity, is there any plan to implement a Python or Lua scripting interface in any future version of QCAD? Could Python or Lua be a useful/appreciated alternative to ECMAscript as a QCAD scripting language? How hard (or labour-demanding) could it be to expose the QCAD API to Py...
by alexbottoni
Thu Nov 27, 2014 9:13 pm
Forum: QCAD 'How Do I' Questions
Topic: How can I ensure that a path is uninterrupted?
Replies: 8
Views: 14197

Re: How can I ensure that a path is uninterrupted?

andrew wrote: Did you try adjusting the tolerance value?
Ah, wonderful! I will try this way. It can even be a way to implement a (semi)automatic "smart join" in ECMAScript (as Clive suggested).

Thanks for your help, Andrew.
by alexbottoni
Thu Nov 27, 2014 6:19 pm
Forum: QCAD 'How Do I' Questions
Topic: How can I ensure that a path is uninterrupted?
Replies: 8
Views: 14197

Re: How can I ensure that a path is uninterrupted?

or actually ... just a brand new tool as you have already suggested - a 'Smart Join tool' 1. Make selction. 2.use 'smart join' tool and tool offers to find and fill all gaps :wink: . I do not think to be good enough at graphics programming for such a task. The main problem is: how could I detect th...
by alexbottoni
Thu Nov 27, 2014 4:08 pm
Forum: QCAD 'How Do I' Questions
Topic: How can I ensure that a path is uninterrupted?
Replies: 8
Views: 14197

Re: How can I ensure that a path is uninterrupted?

After snapping points 1 and 2 point 3 presumably would be aligned correctly also - if so you could finalise by using the create polyline from segments command - Draw > Polyline > Create from Segments (O,G), this would create a continuous polyline. Well, I cannot be sure that the two ends on point 3...
by alexbottoni
Thu Nov 27, 2014 9:54 am
Forum: QCAD 'How Do I' Questions
Topic: How can I ensure that a path is uninterrupted?
Replies: 8
Views: 14197

Re: How can I ensure that a path is uninterrupted?

I'm back with an example. Please refer to the attached image. example-of-assembly.jpg As you can see, I have a base drawing and a couple of modular blocks. I have to assemble (concatenate) them as pictured. The final drawing will be sent to a laser cutter. The entire drawing will be cut off from a s...
by alexbottoni
Thu Nov 27, 2014 12:12 am
Forum: QCAD 'How Do I' Questions
Topic: How can I ensure that a path is uninterrupted?
Replies: 8
Views: 14197

Re: How can I ensure that a path is uninterrupted?

Hi Andrew, thanks for your attention. >> Can you maybe attach a screenshot or drawing file that illustrates the problem?<< Yep, I'll try to post an example tomorrow (now it's ten past midnight here...). >> As far as combining different drawings into one goes: Are you aware of the QCAD command line t...
by alexbottoni
Wed Nov 26, 2014 9:52 pm
Forum: QCAD 'How Do I' Questions
Topic: How can I ensure that a path is uninterrupted?
Replies: 8
Views: 14197

Re: How can I ensure that a path is uninterrupted?

Hi Clive, thanks for your attention. >>The easiest way to link your sub drawings/blocks is to place them on their own independent layer, most modern laser cutters will be able to 'map' the layers and carry out the cut or etch requirements in sequence.<< OK, nice. I apologize for my ignorance but I'm...
by alexbottoni
Wed Nov 26, 2014 7:12 pm
Forum: QCAD 'How Do I' Questions
Topic: How can I ensure that a path is uninterrupted?
Replies: 8
Views: 14197

How can I ensure that a path is uninterrupted?

Hi All, I have to programmatically create a large amount of 2D drawings for a laser cutting project and I'm trying to use QCAD and its ECMAScript interface for this task (no code yet, just few drawings). Each drawing will be different from any other so no manual tweaking or optimization "at the sour...

Go to advanced search