Search found 8 matches

by GnrlSchnavy
Wed Sep 13, 2017 4:24 pm
Forum: QCAD 'How Do I' Questions
Topic: Turn off debug statements in terminal
Replies: 1
Views: 1070

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...
by GnrlSchnavy
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: 1242

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 :shock:. 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 :shock:.
by GnrlSchnavy
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: 1242

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 ~...
by GnrlSchnavy
Thu Aug 31, 2017 3:42 pm
Forum: QCAD Developers and Contributors
Topic: Deleting/removing entities *updated & SOLVED*
Replies: 0
Views: 4783

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...
by GnrlSchnavy
Fri Aug 25, 2017 2:27 pm
Forum: QCAD Developers and Contributors
Topic: [solved] Importing DWG files
Replies: 5
Views: 4584

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 :D
by GnrlSchnavy
Fri Aug 25, 2017 12:53 pm
Forum: QCAD Developers and Contributors
Topic: [solved] Importing DWG files
Replies: 5
Views: 4584

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...
by GnrlSchnavy
Fri Aug 25, 2017 11:30 am
Forum: QCAD Developers and Contributors
Topic: [solved] Importing DWG files
Replies: 5
Views: 4584

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...
by GnrlSchnavy
Sat Aug 19, 2017 10:12 am
Forum: QCAD Developers and Contributors
Topic: [solved] Importing DWG files
Replies: 5
Views: 4584

[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...

Go to advanced search