Search found 9026 matches

by andrew
Sat Dec 10, 2011 1:27 pm
Forum: QCAD Professional
Topic: script qcad3 et arguments
Replies: 10
Views: 23509

Sorry, I think this only works with the current development version. Try this simpler variation: var td = new RTextData(); td.setText("My Text"); td.setTextHeight(10.0); td.setPosition(new RVector(10.0,10.0)); td.setAlignmentPoint(new RVector(10.0,10.0)); // set more attributes... var text = new RTe...
by andrew
Sat Dec 10, 2011 12:03 pm
Forum: QCAD Professional
Topic: script qcad3 et arguments
Replies: 10
Views: 23509

Please post the complete exception and the relevant code segment, thanks.
by andrew
Sat Dec 10, 2011 10:53 am
Forum: QCAD Professional
Topic: script qcad3 et arguments
Replies: 10
Views: 23509

For documentation about creating documents and adding entities, please refer to: http://www.ribbonsoft.com/doc/qcad/3.0/developer/_creating_drawing.html Text entities can be added in the same way as line entities in the examples. Here's an example for a text entity: ... // creating a text entity: va...
by andrew
Fri Dec 09, 2011 11:01 am
Forum: QCAD Installation and Upgrades
Topic: installation on ubuntu 11.10
Replies: 9
Views: 22668

For some reason the file is not executable for you. Unfortunately, it is very difficult to give accurate advice for graphical user interfaces. If you are familiar with the Linux console (terminal), please run the installer from there: cd /home/paul/Downloads chmod a+x qcad-3.0.0-rc2-prof-linux.bin ....
by andrew
Thu Dec 08, 2011 10:32 pm
Forum: QCAD Professional
Topic: script qcad3 et arguments
Replies: 10
Views: 23509

Si j'osais, je demanderais encore comment traiter tous les fichiers d'un répertoire. QDir.entryList(...) (returns file names) or QDir.entryInfoList(...) (returns array of QFileInfo objects): // create QDir object that represents a directory: var dir = new QDir("/Users/andrew"); // get directory lis...
by andrew
Thu Dec 08, 2011 9:40 pm
Forum: QCAD Installation and Upgrades
Topic: installation on ubuntu 11.10
Replies: 9
Views: 22668

It's an executable, an application that installs QCAD.

1. Make it executable: Right-click on the file. Select 'Properties', 'Permissions' tab, check the option "Allow executing file as program"
2. Run the file by clicking on it.
by andrew
Thu Dec 08, 2011 7:57 pm
Forum: QCAD Professional
Topic: script qcad3 et arguments
Replies: 10
Views: 23509

Example: File myscript.js: var args = QCoreApplication.arguments(); for (var i=0; i<args.length; i++) { print("Argument number " + i + ": " + args[i]); } Launching the script: ./qcad -autostart myscript.js somefile.txt -x 400 Output: Argument number 0: qcad Argument number 1: -autostart Argument num...
by andrew
Thu Dec 08, 2011 7:48 pm
Forum: QCAD Installation and Upgrades
Topic: installation on ubuntu 11.10
Replies: 9
Views: 22668

The tar.gz does not change your system configuration in any way.

If you would like to have an icon on the desktop and link DXF files and DWG files to QCAD, please download the installer for Linux instead.
by andrew
Thu Dec 08, 2011 11:39 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: User Defined Custom Entity
Replies: 1
Views: 7158

The final version of QCAD 3.0 will not have support for custom entities (scriptable entity extensions) or custom properties that can be assigned to entities. Custom properties are planned for QCAD 3.1. Scriptable entities would definitely be interesting for applications like the one you described. I...
by andrew
Thu Dec 08, 2011 11:25 am
Forum: QCAD 'How Do I' Questions
Topic: Restore an autosaved file
Replies: 7
Views: 13968

@ Brass Monkey: Thanks for the hint. I'll change the default to another directory for Windows systems.

Task:
http://www.ribbonsoft.com/bugtracker/in ... ask_id=424
by andrew
Tue Dec 06, 2011 7:29 pm
Forum: QCAD 2.1/2.2 Suggestions and Feedback
Topic: LibreDWG -SummerOfCode DWG write support
Replies: 4
Views: 33189

The Open Design Alliance Teigha library.
by andrew
Tue Dec 06, 2011 5:15 pm
Forum: QCAD Professional
Topic: QCAD 3 neben QCAD2 installieren?
Replies: 4
Views: 7551

Den Pfad koennen sie waehlen indem Sie die ZIP Datei im entsprechenden Verzeichnis entpacken. Alle QCAD Dateien und Ressourcen befinden sich in beiden Faellen in einem einzigen Verzeichnis mit Unterverzeichnissen, in dem auch die qcad.exe Datei ist (= das Installationsverzeichnis). Einzige Ausnahme ...
by andrew
Tue Dec 06, 2011 4:57 pm
Forum: QCAD Professional
Topic: QCAD 3 neben QCAD2 installieren?
Replies: 4
Views: 7551

Sowohl fuer QCAD 2 als auch QCAD 3 existiert jeweils eine ZIP Datei, die gar nichts installiert sondern beim Entpacken einfach nur die benoetigten Dateien erzeugt.
by andrew
Sat Dec 03, 2011 11:21 pm
Forum: QCAD Professional
Topic: importer un fichier texte
Replies: 2
Views: 9147

Pour traduire ce texte en français, s'il vous plaît utilisez http://translate.google.com, merci. You might want to have a look at the script examples that come with QCAD 3, for example scripts/Examples/MathExamples/Spiral/Spiral.js which draws a spiral from line segments. You can duplicate the 'Spir...

Go to advanced search