Search found 83 matches

by pietro_72_
Mon Nov 04, 2019 10:13 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: How do I go about recalling a method from an event
Replies: 1
Views: 3820

How do I go about recalling a method from an event

Hello Sorry, I confess I have some difficulty with object-oriented programming If instead of using the function:      operativeModePres = function () {          ...... I use the method:      OrthogonalProjections.prototype.operativeModePres = function () { As I have to do to recall this method from ...
by pietro_72_
Wed Oct 16, 2019 9:00 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [Updated beta 0.42e] FlexPainter beta 0.34
Replies: 24
Views: 44666

Re: Updated beta 0.41 FlexPainter beta 0.34

Beautiful, strong, complex your program
I don't use these forms much, but you never know
If in case I could also take inspiration from your code if you don't mind?
Good job.
by pietro_72_
Tue Oct 15, 2019 6:47 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: [Updated beta 0.42e] FlexPainter beta 0.34
Replies: 24
Views: 44666

Re: Updated beta 0.41 FlexPainter beta 0.34

Hi, when I have time I would like to try your program, but to work it must be extracted all the content of the zip in the path
QCAD\scripts\Misc\Examples\MathExamples\
Does it work if I put your program files in a [Flexpainte] folder?
by pietro_72_
Mon Oct 14, 2019 7:50 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Because QCAD is slower than BricsCAD or DraftSight
Replies: 7
Views: 7762

Re: Because QCAD is slower than BricsCAD or DraftSight

I don't pretend that QCAD can open and work on 3D files :-D, but I managed to open it in 2D with QCAD, simplifying it partly with BricsCAD (which I can't use for now), eliminating unused blocks and layers and simplifying drawing and blocks. , to be able to make orthogonal changes and projections to ...
by pietro_72_
Sat Oct 12, 2019 11:39 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Because QCAD is slower than BricsCAD or DraftSight
Replies: 7
Views: 7762

Because QCAD is slower than BricsCAD or DraftSight

Hello Opening with QCAD some 3D / 2D files a little more than 1000 KB, made by my brother in BricsCAD (CAD that pushes me a little to learn besides the LISP), makes it much more difficult to manage them than it does program or DraftSight For what reason? Can it depend on how much code is interpreted...
by pietro_72_
Sun Oct 06, 2019 11:27 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Loss of Script operation after using snaps
Replies: 5
Views: 10855

Re: Loss of Script operation after using snaps

I made some corrections on the files, maybe so they are a little clearer and I also did a little movie about it. For now, the Export 3D button only saves a file in dxf format that contains a square whose vertices are not connected to the vertices drawn on QCAD http://creativitainformaticart.altervis...
by pietro_72_
Fri Oct 04, 2019 10:41 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Loss of Script operation after using snaps
Replies: 5
Views: 10855

Re: Loss of Script operation after using snaps

Hello Oops, thank you, I have to correct the GPL license references on the scripts, it is a program that I am trying to make myself as a hobby but starting from the files and / or parts of these made by Andrew, trying to understand how it works. What would be the most correct way to write the GPL Li...
by pietro_72_
Fri Oct 04, 2019 9:00 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Loss of Script operation after using snaps
Replies: 5
Views: 10855

Loss of Script operation after using snaps

I can't understand why I lose control of the script operation when using snaps

If someone can give me a tip, if you have time and desire and always without haste :-D

I attach the source files:
by pietro_72_
Wed Oct 02, 2019 9:46 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: reduce a button
Replies: 4
Views: 5746

Re: reduce a button

ok thank you, I try to arrange myself as much as possible :D solved this way:     <Item>      <widget class = "QPushButton" name = "NewIdObj3D">       <property name = "toolTip">        <string> Creates a new 3d shape </string>       </ Property>     <property name = "sizePolicy">      <sizepolicy h...
by pietro_72_
Wed Oct 02, 2019 8:25 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: reduce a button
Replies: 4
Views: 5746

Re: reduce a button

I tried that:      newIdObj3D = objectFromPath ("MainWindow :: Options :: NewIdObj3D");      //newIdObj3D.resize(21,21);      sizePolicy = QtGui.QSizePolicy (QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed);      newIdObj3D.setSizePolicy (sizePolicy);      newIdObj3D.clicked.connect (function () {p...
by pietro_72_
Thu Sep 26, 2019 8:09 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: reduce a button
Replies: 4
Views: 5746

reduce a button

It is possible to decrease the width of a QPushButton, I tried with:
      <property name = "geometry">
       <Rect>
        <Width> 21 </ width>
        <Height> 21 </ height>
       </ Rect>
      </ Property>
but it did not work
Thank you also for the previous answer
by pietro_72_
Tue Sep 24, 2019 7:28 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: di.setSnapRestriction (new RRestrictVertical (di));
Replies: 1
Views: 3903

di.setSnapRestriction (new RRestrictVertical (di));

With
di.setSnapRestriction (new RRestrictVertical (di));
I am prevented from moving vertically, but the button remains deactivated
Is it also possible to press the button via script?

Go to advanced search