Hi Andrew,
Thanks for your reply and help with explaining the toolpath blocks, I 'll give it a go..
Search found 11 matches
- Sun Jun 11, 2017 2:05 pm
- Forum: QCAD/CAM
- Topic: Automating QCAD/CAM 3 functions using scripts
- Replies: 8
- Views: 13919
- Wed Jun 07, 2017 4:15 pm
- Forum: QCAD/CAM
- Topic: Automating QCAD/CAM 3 functions using scripts
- Replies: 8
- Views: 13919
Automating QCAD/CAM 3 functions using scripts
Hi I'm looking to automate Qcad / cam by writing a script to batch process dxf files so they will be automatically toolpathed by layer, and then Gcode automatically saved for each file. I have read your article on setting a Gcode configuration, but I wanted to see what CAM functions are available to...
- Tue May 01, 2012 5:02 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Re: Setting file export path
Thanks for that Andrew I would be great if class that would work as really be useful...,
I'm Finding Qcad scripting really powerful and easy once you get the feel for how the class structure works. Ecmascript is a really good choice for a scripting language too.
I'm Finding Qcad scripting really powerful and easy once you get the feel for how the class structure works. Ecmascript is a really good choice for a scripting language too.
- Thu Apr 26, 2012 8:41 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Re: Setting file export path
Hi Andrew, Thanks a lot for that, and for your tips on variable names.. my script works well now. :D Can you show an example of how to now use the PolylineEquidistant class for crating a "parallel" polyline using the polyline entity created above? I Assume we use PolylineEquidistant::createEquidista...
- Wed Apr 25, 2012 3:46 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Re: Setting file export path
I tried using your code but the debugger has an exemption on line 122: traversed[entity.getId()] = true; of the polyinefromsegments script. I assume i'm still not finding a valid entity. Part of my code is as follows where Entity is the last segment of the geometry i want to convert to polyline. //....
- Mon Apr 23, 2012 2:42 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Re: Setting file export path
Hi Andrew, I want to use the polylinefromsegments function, but I need help in how to find particular entity that I have added to a Document through an operation. If for example I've added several RlineEntity objects to single operation and then applied that operation to a document, How do I then se...
- Thu Apr 19, 2012 9:05 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Re: Setting file export path
Hi Andrew, thanks for the help with the layers.. Could you advise me on how to convert a a series of lines and curves (that form a closed shape) that i've programmed using the Rdocumentinterface into a single polyline. So for example if I have all my line and curve entities in a single operation obj...
- Wed Apr 18, 2012 12:15 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Re: Setting file export path
Hi Andrew, Thanks that was easy and it worked well. my next question (sorry about all the questions) is how to add new layers and set the current layer so that when I use the apply function, the new entities are added to the current layer. I tried declaring a new layer object as in OpenFile but it d...
- Wed Apr 18, 2012 7:57 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Re: Setting file export path
Thanks Andrew,
Is there an easy way to script the loading of a drawing file that was created using the RdocumentInterface , into the GUI?
Either before or after it is exported to dxf.
regards
Is there an easy way to script the loading of a drawing file that was created using the RdocumentInterface , into the GUI?
Either before or after it is exported to dxf.
regards
- Tue Apr 17, 2012 1:58 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Re: Setting file export path
Hi Thanks for that it works well now..
Can you give an example how to implement Qdir, is it a Qt class? as I could not find it in the Application framework documentation.
thnaks
Can you give an example how to implement Qdir, is it a Qt class? as I could not find it in the Application framework documentation.
thnaks
- Tue Apr 17, 2012 8:06 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Setting file export path
- Replies: 17
- Views: 54174
Setting file export path
Hi, I'm still new to Qcad scripting, I've just finished working through the scripting tutorials, I need help to find the function that sets the export path it appears the default path is the Qcad folder. I'm using the exportFile() function of the RdocumenIInerface Class for saving dxf files. thanks ...