Search found 8 matches
- Wed Sep 13, 2017 4:24 pm
- Forum: QCAD 'How Do I' Questions
- Topic: Turn off debug statements in terminal
- Replies: 1
- Views: 2611
Turn off debug statements in terminal
Is there a way while running QCAD from command line to completely skip all the debug/error statements? They fill up so so much of the terminal screen that debugging other stuff is pretty much impossible :p. Right now im running -no-gui -no-dock-icon -allow-multiple-instances -autostart. (Also, -no-d...
- Mon Sep 04, 2017 2:31 pm
- Forum: QCAD 'How Do I' Questions
- Topic: PDF export via Print (printer) in .js is 4 ~ 5 times bigger than by hand exported PDF.
- Replies: 3
- Views: 3547
Re: PDF export via Print (printer) in .js is 4 ~ 5 times bigger than by hand exported PDF.
Hmm, both ways of printing via the GUI you mention yield the same filesize pdf. Both way smaller than the pdf file created using the script . Even with very few layers on while printing from the script vs. all layers on while printing in the GUI, the GUI pdf is still way smaller .
- Mon Sep 04, 2017 1:38 pm
- Forum: QCAD 'How Do I' Questions
- Topic: PDF export via Print (printer) in .js is 4 ~ 5 times bigger than by hand exported PDF.
- Replies: 3
- Views: 3547
PDF export via Print (printer) in .js is 4 ~ 5 times bigger than by hand exported PDF.
Hi, So to save myself a lot of work I created a script that takes in an x amount of .DWG's, applies some very elementary operations on it and then exports it to .PDF. It works near perfect but there is one thing that I keep running into, namely the fact that the exported PDF's via the script are 4 ~...
- Thu Aug 31, 2017 3:42 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Deleting/removing entities *updated & SOLVED*
- Replies: 0
- Views: 7364
Deleting/removing entities *updated & SOLVED*
Alright, I sort of figured it out. But now, using this code: var textID = doc.queryAllEntities(false,false,RS.EntityText); for(var i = 0;i<textID.length;i++){ // print(ID[i]); var op = new RMixedOperation(); entity = doc.queryEntity(textID[i]); op.deleteObject(entity); di.applyOperation(op); } var t...
- Fri Aug 25, 2017 2:27 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: [solved] Importing DWG files
- Replies: 5
- Views: 10688
Re: Importing DWG files
Already found a solution. I messed up the scale. :p. Thanks for your help Andrew. Now onto removing entities with text in batch
- Fri Aug 25, 2017 12:53 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: [solved] Importing DWG files
- Replies: 5
- Views: 10688
Re: Importing DWG files
Almost 2k views and no one able to give me any hints? I'm wondering if it is needed, just like with the merge.js, to copy and paste every element one by one into a new seperate RDocument or if there is a way to skip all that and just import the .DWG file into the view or scene directly. Your code l...
- Fri Aug 25, 2017 11:30 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: [solved] Importing DWG files
- Replies: 5
- Views: 10688
Re: Importing DWG files
Almost 2k views and no one able to give me any hints? I'm wondering if it is needed, just like with the merge.js, to copy and paste every element one by one into a new seperate RDocument or if there is a way to skip all that and just import the .DWG file into the view or scene directly. Again, if so...
- Sat Aug 19, 2017 10:12 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: [solved] Importing DWG files
- Replies: 5
- Views: 10688
[solved] Importing DWG files
Eventually I need a script that opens multiple .DWG files, makes some changes to all of them and then exports them to .PDF. Using some of the examples and the documentation I've gotten pretty far except there is one problem I keep running into to which is that I don't seem to be importing the .DWG c...