Search found 9028 matches

by andrew
Tue Dec 16, 2014 4:53 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: CXF file format description?
Replies: 6
Views: 13132

Re: CXF file format description?

Sure! I'm driving old HP-GL pen plotters from Python. I'm using the Shapely and Fiona libraries to handle 2D geometry and arbitrary vector file formats. HP-GL's text formatting is weak and old fashioned. If I'm able to use someone else's vector fonts, I'll be able to render complex characters as ve...
by andrew
Tue Dec 16, 2014 3:10 pm
Forum: QCAD Professional
Topic: Einige Tastaturkürzel ohne Funktion
Replies: 1
Views: 3337

Re: Einige Tastaturkürzel ohne Funktion

WV für Ansicht WB für Blockwerkzeuge Diese Tastenkürzen zeigen die entsprechenden Werkzeuge in der CAD Werkzeugleiste links an. Allerdings sind weder die Ansichtwerkzeuge noch die Blockwerkzeuge standardmässig in der CAD Werkzeugleiste vorhanden. Das müsste also erst so konfiguriert werden: Screen ...
by andrew
Tue Dec 16, 2014 3:04 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] RRay bug or misunderstanding?
Replies: 10
Views: 9385

Re: RRay bug or misunderstanding?

I'd have to see the actual coordinates to see if this is a bug. I like to test such situations in simple test scripts like this: File test.js: var r1 = new RRay(new RVector(10,10), new RVector(1,0)); var r2 = new RRay(new RVector(50,0), new RVector(0,1)); var inters = r1.getIntersectionPoints(r2); q...
by andrew
Tue Dec 16, 2014 11:54 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: CXF file format description?
Replies: 6
Views: 13132

Re: CXF file format description?

The format of the glyphs in .cxf files is: [<hex unicode>] <character (optional for better readability)> <'L' for line> <start x>,<start y>,<end x>,<end y> <'A for arc (CCW)'> <center x>,<center y>,<radius>,<start angle in degrees>,<end angle in degrees> <'AR for reversed arc (CW)'> <center x>,<cent...
by andrew
Mon Dec 15, 2014 7:38 pm
Forum: QCAD Troubleshooting and Problems
Topic: Autocad won't read dxf file
Replies: 8
Views: 9792

Re: Autocad won't read dxf file

I was not expecting entities out of view as usually when opening a file, auto zoom supposedly shows everything on the screen... The problem for auto zoom is that these invalid entities have no size and are ignored for auto zoom (like empty texts). This has actually been changed recently, no way you...
by andrew
Mon Dec 15, 2014 4:15 pm
Forum: QCAD Troubleshooting and Problems
Topic: Autocad won't read dxf file
Replies: 8
Views: 9792

Re: Autocad won't read dxf file

On this other drawing, I did the same but found nothing You likely found two entities but didn't see them getting selected because they're off the canvas: Screen Shot 2014-12-15 at 16.15.04.png Check also the status bar after running the selection filter: Screen Shot 2014-12-15 at 16.15.07.png
by andrew
Mon Dec 15, 2014 2:22 pm
Forum: QCAD Suggestions and Feedback
Topic: persisting QDoubeSpinBox
Replies: 2
Views: 6436

Re: persisting QDoubeSpinBox

Thanks. I've implemented these changes in:
https://github.com/qcad/qcad/commit/c9d ... 186857d864

On a side note: QCAD never uses QDoubleSpinBox but RMathLineEdit instead. RMathLineEdit allows the user to enter mathematical expressions such as "17.5/2" or "sin(32.5)*37".
by andrew
Mon Dec 15, 2014 2:09 pm
Forum: QCAD 'How Do I' Questions
Topic: [SOLVED] correctly add multiple blocks inside script
Replies: 7
Views: 7144

Re: correctly add multiple blocks inside script

The blockRefId in new RAttributeData(e.getData(), blockRefId, e.getTag())); refers to the block reference the attribute belongs to. Attributes have a life on their own though, as individual entities on the same level as the block reference. To check if an attribute is indeed linked to a block refere...
by andrew
Mon Dec 15, 2014 1:17 pm
Forum: QCAD Troubleshooting and Problems
Topic: Autocad won't read dxf file
Replies: 8
Views: 9792

Re: Autocad won't read dxf file

If the problem is the same, you can fix them as follows: - Load the file with QCAD - Show selection filter: View > Selection Filter - Entity Type: Dimension - Click left button to replace the current selection Screen Shot 2014-12-15 at 13.17.35.png - Check that no real, valid dimensions are selected...
by andrew
Mon Dec 15, 2014 12:50 pm
Forum: QCAD Troubleshooting and Problems
Topic: Autocad won't read dxf file
Replies: 8
Views: 9792

Re: Autocad won't read dxf file

There were indeed two invalid dimension entities in this file.
I've removed them and attached the fixed file.

This is the first time I've seen an error like this. Please let me know if it occurs again. Thanks.
by andrew
Sat Dec 13, 2014 9:01 pm
Forum: QCAD Community Edition
Topic: Select a printer
Replies: 5
Views: 30696

Re: Select a printer

You could, but that's not exactly straight forward and would very likely not fix this problem. I think actually that QCAD / Qt should be able to print to any printer that has been set up on your computer. So this might be a different problem after all. The error message "Before you can print, you ne...
by andrew
Wed Dec 10, 2014 10:19 pm
Forum: QCAD/CAM
Topic: CAM Anleitung
Replies: 1
Views: 20804

Re: CAM Anleitung

Eine Anleitung (in Englisch) zum Erstellen eigener Konfigurationen gibt es unter: http://www.qcad.org/en/qcad-cam-configuration Diese Anleitung ist noch nicht komplett, sollte aber für das Erstellen eigener Konfigurationen für die Ausgabe von G-Code Dialekten helfen. Wenn das nicht Ihr Problem ist, ...
by andrew
Wed Dec 10, 2014 10:17 pm
Forum: QCAD/CAM
Topic: Where to find documentation for CAD/CAM
Replies: 4
Views: 10641

Re: Where to find documentation for CAD/CAM

I've started to publish documentation for advanced QCAD/CAM users to create their own G-Code output dialect at: http://www.qcad.org/en/qcad-cam-configuration This is work in progress, but this should help to get started in most situations (adjusting header, footer, file extension, tool down, tool up).
by andrew
Wed Dec 10, 2014 9:12 pm
Forum: QCAD Community Edition
Topic: Select a printer
Replies: 5
Views: 30696

Re: Select a printer

Thanks. Unfortunately, there's not a lot I can do about this issue. We use the Qt toolkit to print, list printers, for printer setup, etc. It looks like Qt cannot detect your printer for unknown reasons. As a workaround, you could create a PDF instead of printing and then print the PDF using Acrobat...
by andrew
Wed Dec 10, 2014 5:22 pm
Forum: QCAD/CAM
Topic: Where to find documentation for CAD/CAM
Replies: 4
Views: 10641

Re: Where to find documentation for CAD/CAM

I'm in the process of putting an introduction to QCAD/CAM configuration together. I'll post the link to it here soon.

Go to advanced search