Search found 24 matches
- Fri Aug 10, 2018 12:00 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: New Script: Import Leetro MOL files, source included
- Replies: 3
- Views: 31578
Re: New Script: Import Leetro MOL files, source included
I have given up on the Leetro stuff. I was able to generate MOL files that mostly worked, but some of them jerked the laser and were not safe for production. I ended up replacing the Leetro controller with a simple Arduino based controller and grbl as the firmware which works well enough with GCode ...
- Wed May 04, 2016 8:37 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Script attached: box joints
- Replies: 20
- Views: 67480
Re: Script attached: box joints
Sorry to be late. Well, the Box Joints are mathematically perfect. All CNC machines including laser cutters have a tool diameter that needs to be compensated if you want to achieve a tight fit. This compensation must be done for all lines that you plan to cut, not only the ones in the box joints. Th...
- Sun Jul 14, 2013 12:16 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Tutorial: Writing a plugin that draws a dovetail
- Replies: 13
- Views: 55575
Re: Tutorial: Writing a plugin that draws a dovetail
Sure, great! It's nice to see the script being used in real life, even though it was originally just a tutorial for writing scripts ;-) One elegant way would be a parameter in the tool bar that takes the angle an diameter of the router bit and applies that to the drawing. Are you readers interested ...
- Sat Jul 13, 2013 10:47 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Script attached: box joints
- Replies: 20
- Views: 67480
Re: Script attached: box joints
Cool! Thanks. I am happy that I was able to contribute something useful
- Fri Jul 12, 2013 9:34 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Tutorial: Writing a plugin that draws a dovetail
- Replies: 13
- Views: 55575
Re: Tutorial: Writing a plugin that draws a dovetail
Oh, sure. Here's the archive that you will need to unpack: adding: scripts/Draw/Line/LineDove/ adding: scripts/Draw/Line/LineDove/LineDove.js adding: scripts/Draw/Line/LineDove/LineDove.svg adding: scripts/Draw/Line/LineDove/LineDoveInit.js [Edit from andrew: please note that this script might be ou...
- Sat Jun 01, 2013 2:22 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: New Script: Import Leetro MOL files, source included
- Replies: 3
- Views: 31578
New Script: Import Leetro MOL files, source included
Well, here is another script that I found useful. I have a Laser Cutter with a Leetro 6515 controller in it. The machine does not understand dxf files, but requires a proprietary .MOL file that is created using their LaserCut software. This script takes .MOL files and imports them into QCad. All vec...
- Sun May 26, 2013 7:40 pm
- Forum: QCAD Professional
- Topic: *.rdf Dateien
- Replies: 1
- Views: 4922
Re: *.rdf Dateien
Das sind die Referenzen zu den Lizenzen, den Autoren, und eine kurze Dokumentation zu den Vorlagen. Das kann man dann im Library Browser unter Tags nutzen.
- Sat May 25, 2013 6:10 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Tutorial: Writing a plugin that draws a dovetail
- Replies: 13
- Views: 55575
Re: Writing a plugin that draws a dovetail
Allright, now let's finish that birds rear. We need math! The dimensions of a dovetail joint are not fixed, so I decided to make them symmetrical, allowing multiple fingers. If the tail is 12mm at the end, and 8mm at the base, I need 6mm to the left and right of the base which gives us a base with o...
- Fri May 24, 2013 7:16 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: How to get a Layer Id quickly?
- Replies: 3
- Views: 9112
Re: How to get a Layer Id quickly?
I used this.importObject(object); for a block, but it did not add the block to the Blocks Toolbox. Going the DocumentInterfcae route fixed that. Or is there a call after the import that would update the Layer and Blocks Toolbox?
- Thu May 23, 2013 11:53 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Tutorial: Writing a plugin that draws a dovetail
- Replies: 13
- Views: 55575
Tutorial: Writing a plugin that draws a dovetail
OK, so this is how I write plugins. I write C++ code for thirtysome years, learned a few other languages and do some Reverse Engineering. That may or may not explain my approach here. I had no clue about Java Script until a few weeks ago. It's easy and powerful. You can learn it! When extending func...
- Thu May 23, 2013 11:12 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: How to get a Layer Id quickly?
- Replies: 3
- Views: 9112
How to get a Layer Id quickly?
I have the following code inside an RImporter: // what is the best practice to get the Document Interface inside an RImporter? var di = EAction.getDocumentInterface(); var di = RMainWindow.getMainWindow().getDocumentInterface(); var lt = document.getLinetypeId("CONTINUOUS"); var clr = new RColor(128...
- Wed May 22, 2013 3:41 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Script attached: box joints
- Replies: 20
- Views: 67480
Re: Script attached: box joints
The source code is available, so you can easily add the arrow holes .
- Tue May 21, 2013 2:20 pm
- Forum: Chat
- Topic: What do people use QCAD for?
- Replies: 53
- Views: 603867
Re: What do people use QCAD for?
I design and build 3d printers: http://www.youtube.com/watch?v=ixuO-4IBRHg
- Mon May 20, 2013 11:20 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Script attached: box joints
- Replies: 20
- Views: 67480
Re: Script attached: box joints
Allright. Here is the video. Not sure if it explains it better, but you can see me struggling to talk and make a drawer at the same time:
http://youtu.be/MAqGHF9IvU0
- Matthias
http://youtu.be/MAqGHF9IvU0
- Matthias
- Mon May 20, 2013 10:16 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Call External C Library
- Replies: 10
- Views: 21463
Re: Call External C Library
Thanks. With all the code available, I had a fair chance of digging up things that work. I currently have a binary plugin that talks USB (libusb is very nice!) and makes a QObject available named RLaser. I can then call RLaser.move Home(), etc. from any script file. I also added a dockable box for b...