Search found 20 matches

by garciadelcastillo
Fri Jun 14, 2019 8:45 am
Forum: QCAD Troubleshooting and Problems
Topic: Strange line weight on line type
Replies: 5
Views: 461

Re: Strange line weight on line type

Sounds good.

In your code, are 0 the vertex index and 7 the line width in drawing units? Should I then iterate over all vertices in the polyline, setting Start and EndWidth? How about using RPolyline.setWidth(double) to set the width of the whole thing?

Thanks a lot!
by garciadelcastillo
Tue Jun 11, 2019 9:41 pm
Forum: QCAD Troubleshooting and Problems
Topic: Strange line weight on line type
Replies: 5
Views: 461

Re: Strange line weight on line type

Ooooh, I see, that makes sense. So, how could I change that through ECMAScript? I only see getters for the vertices on the RPolylineEntity class: https://www.qcad.org/doc/qcad/latest/developer/class_r_polyline_entity.html#aa4b4ce04c4bb59bd7a607a473dbad57c https://www.qcad.org/doc/qcad/latest/develop...
by garciadelcastillo
Tue Jun 11, 2019 7:10 pm
Forum: QCAD Troubleshooting and Problems
Topic: Strange line weight on line type
Replies: 5
Views: 461

Strange line weight on line type

Hi there! Problem: when I "dwg2bmp" a file with special line types, they render very thick! Description: running into a strange issue with line weights for non-continuous line types. If I try to rasterize the following file: 01-07a55.dwg I get this: 01-07a55.dwg.png But as far as I can tell inspecti...
by garciadelcastillo
Mon Jun 10, 2019 6:46 pm
Forum: QCAD 'How Do I' Questions
Topic: Create DWG from PDF?
Replies: 1
Views: 168

Create DWG from PDF?

Hi there,

Is there any way to convert a PDF file with vector information into a DWG/DXF file? I looking specifically at batch automating this process with a script, CLI-style ;)

Thanks!
by garciadelcastillo
Mon Jun 10, 2019 6:04 pm
Forum: QCAD Troubleshooting and Problems
Topic: Strange things happening with blocks in file
Replies: 4
Views: 300

Re: Strange things happening with blocks in file

Hi Andrew,

Is there any way to detect which blocks use block transforms from the ECMAScript API? While the FR goes through, I would like at least to be able to remove those blocks from the drawing prior to rasterizing them.

Thanks!
by garciadelcastillo
Thu Jun 06, 2019 7:31 pm
Forum: QCAD Troubleshooting and Problems
Topic: Strange things happening with blocks in file
Replies: 4
Views: 300

Strange things happening with blocks in file

Hi there, Problem: I am running into a strange problem with some block references in a reduced number of cad files being rendered in strange places. Description: I have a routine that batch-rasterizes cad files. The script relies on "dwg2bmp" with the "-zoom-all" argument. However, I started noticin...
by garciadelcastillo
Wed Jun 05, 2019 3:02 pm
Forum: QCAD Developers and Contributors
Topic: Relation between core C++ Qt and its ECMAScript implementation
Replies: 1
Views: 213

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: 242

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: 185

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: 185

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: 335

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: 335

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: 335

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

Go to advanced search