Search found 28 matches

by garciadelcastillo
Wed Jun 05, 2019 3:02 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Relation between core C++ Qt and its ECMAScript implementation
Replies: 1
Views: 5807

Relation between core C++ Qt and its ECMAScript implementation

Hi there! TL,DR: is there any documentation available about the ECMAScript bindings to Qt used for scripting on QCAD? Description: I am curious if there is any documentation available about the JS-side API of the Qt C++ framework used for scripting. Qt looks quite powerful, and I like the idea of an...
by garciadelcastillo
Wed Jun 05, 2019 2:21 am
Forum: QCAD Troubleshooting and Problems
Topic: Points rendering very thick with dwg2bmp
Replies: 2
Views: 5360

Points rendering very thick with dwg2bmp

Hi there! Posting here because I just noticed that dwg2bmp is rendering points on the drawing as very thick circles: test_file_points_clean.png Notice the two black circles where it says "RECIBIDOR" and all the black spot on the tree block. I believe all the points in the file have min line weights ...
by garciadelcastillo
Wed Jun 05, 2019 12:15 am
Forum: QCAD 'How Do I' Questions
Topic: Export text file from ECMAScript routine
Replies: 2
Views: 2550

Re: Export text file from ECMAScript routine

Ooooh, I see... So the full Qt API has an ECMAScript mirror...? That is sooo interesting...

Wonderful, thank you Andrew!
by garciadelcastillo
Tue Jun 04, 2019 11:12 pm
Forum: QCAD 'How Do I' Questions
Topic: Export text file from ECMAScript routine
Replies: 2
Views: 2550

Export text file from ECMAScript routine

Hi there! Question: is the possibility of writing a plain text file to the system with the ECMAScript API for a custom CLI script? Scenario: say I am writing a processing tool to perform a batch geometry operations on a set of files. I want to be able to save the modified file, which is straightforw...
by garciadelcastillo
Fri May 24, 2019 3:07 pm
Forum: QCAD 'How Do I' Questions
Topic: Set MAX line weight for "dwg2bmp"?
Replies: 4
Views: 4731

Re: Set MAX line weight for "dwg2bmp"?

Wonderful, thanks andrew! :)
by garciadelcastillo
Fri May 24, 2019 3:05 pm
Forum: QCAD 'How Do I' Questions
Topic: Set MAX line weight for "dwg2bmp"?
Replies: 4
Views: 4731

Re: Set MAX line weight for "dwg2bmp"?

Ok, thanks. Is there a formal way to submit a "feature request"? Is that here? https://qcad.org/rsforum/viewforum.php?f=31
by garciadelcastillo
Fri May 24, 2019 3:00 pm
Forum: QCAD 'How Do I' Questions
Topic: Set MAX line weight for "dwg2bmp"?
Replies: 4
Views: 4731

Set MAX line weight for "dwg2bmp"?

Hi there, Similar to the "-min-lineweight" options in "dwg2svg" and "dwg2bmp", is there a way to set MAX lineweight? I am looking specifically at this feature for "dwg2bmp." Depending on the configuration of the CAD file, rasterization some times yields terrible results (see attachment). 153.png Tha...
by garciadelcastillo
Thu May 23, 2019 10:49 pm
Forum: QCAD Suggestions and Feedback
Topic: Set min. line thickness when using dwg2pdf
Replies: 8
Views: 12051

Re: Set min. line thickness when using dwg2pdf

Same problem here with "dwg2bmp", did this feature make it to 3.22.1?
by garciadelcastillo
Thu May 23, 2019 10:42 pm
Forum: QCAD 'How Do I' Questions
Topic: Deactivate hatches for batch raster convert
Replies: 1
Views: 2055

Deactivate hatches for batch raster convert

Hello, I am writing a batch process to convert thousands of CAD files to raster. The source files are from very different origins, and many get rasterized with large black fills due to solid hatches. Is there any way to deactivate hatches with raster convert tools such as "dwg2bmp"? Or is there a wa...
by garciadelcastillo
Tue May 14, 2019 3:49 pm
Forum: QCAD 'How Do I' Questions
Topic: [Solved] How to get the list of layers in a drawing from the command line
Replies: 5
Views: 4780

Re: How to get the list of layers in a drawing from the command line

Hi Andrew,

Thanks a lot, that was very helpful. I guess my question was more like where can I see the source for `dwginfo` in order to learn from it, but I guess the answer is that I cannot, since it is part of the pro bundle...?

Cheers,
by garciadelcastillo
Mon May 13, 2019 2:33 pm
Forum: QCAD 'How Do I' Questions
Topic: [Solved] How to get the list of layers in a drawing from the command line
Replies: 5
Views: 4780

Re: How to get the list of layers in a drawing from the command line

Wonderful, this is very helpful! A couple questions still... First, if I run the call from the terminal, I get nothing on the stdout (using window's powershell): qcad -no-gui -allow-multiple-instances -autostart "scripts/Pro/Tools/DwgInfo/DwgInfo.js" -l .\atestfile.dwg However, if instead I create a...
by garciadelcastillo
Fri May 10, 2019 6:32 pm
Forum: QCAD 'How Do I' Questions
Topic: [Solved] How to get the list of layers in a drawing from the command line
Replies: 5
Views: 4780

[Solved] How to get the list of layers in a drawing from the command line

Hi! First of all, I just started using QCAD Pro command line tools, and I am very impressed by how efficient and featureful it is. Big congrats! Writing a routine to export individual layers from a DWG file to raster. The "-layer=LAYER_NAMES" option from "dwg2bmp" seems to be the way to go, but I ne...

Go to advanced search