Hi riverbuoy
Very nice work here , been trying this out and its very useful for the feedback. As regards the F8 toggle option, how about adding an additional button for this with options?
Line2PEx - An improved line command?
Moderators: andrew, Husky, J-J
Re: Line2PEx - An improved line command?
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: Line2PEx - An improved line command?
Hi all.
When testing this, I realised that pressing F8 changes the display whether or not QCAD is waiting for a coordinate. For example, the 'trim' command expects the user to select entities, so the coordinates aren't shown. But pressing F8 still changes the display. So I have changed this so that it only changes when QCAD is expecting a coordinate.
Only one file is changed - 'DisplayDistanceAngle.js', which I have attached. Replace the existing file - '/scripts/View/DisplayDistanceAngle/DisplayDistanceAngle.js'.
riverbuoy
When testing this, I realised that pressing F8 changes the display whether or not QCAD is waiting for a coordinate. For example, the 'trim' command expects the user to select entities, so the coordinates aren't shown. But pressing F8 still changes the display. So I have changed this so that it only changes when QCAD is expecting a coordinate.
Only one file is changed - 'DisplayDistanceAngle.js', which I have attached. Replace the existing file - '/scripts/View/DisplayDistanceAngle/DisplayDistanceAngle.js'.
I regard this more as a simple feature rather than a full blown command. So, at the moment, I have no plans to add a command button.Clive wrote:As regards the F8 toggle option, how about adding an additional button for this with options?
riverbuoy
- Attachments
-
- DisplayDistanceAngle.js
- (1.29 KiB) Downloaded 868 times
Re: Line2PEx - An improved line command?
No problem, thanks for all your input.riverbuoy wrote:I regard this more as a simple feature rather than a full blown command. So, at the moment, I have no plans to add a command button.
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: Line2PEx - An improved line command?
Hi,
This involved changes to 3 files, which I have attached. These are 'EAction.js' which is in the '/scripts' directory. The other two files, 'ToolbarPreferences.js' and 'PreferencesPage.ui' are both in the '/scripts/Edit/AppPreferences/ToolbarPreferences' directory. Replace these files.
Phew, is the line command now complete?
riverbuoy
I have now added this option to 'Edit->Application Preferences->Widgets->Toolbars'. The option allows one character to be used as the first key. The input box cannot be empty, therefore to change the character, highlight the current character (use left arrow key, home key or mouse), and then type the character you wish to use. (If you change this while in the line command, for example, the change won't take effect until you exit the line command and then restart it.). The input box will not accept a space character, a plus(+) or a minus(-) character as these are currently one key shortcuts.andrew wrote:OK. Eventually, that first key for tools in the options tool bar could even be configurable to some extent.
This involved changes to 3 files, which I have attached. These are 'EAction.js' which is in the '/scripts' directory. The other two files, 'ToolbarPreferences.js' and 'PreferencesPage.ui' are both in the '/scripts/Edit/AppPreferences/ToolbarPreferences' directory. Replace these files.
Phew, is the line command now complete?
riverbuoy
- Attachments
-
- PreferencesPage.ui
- (3.98 KiB) Downloaded 866 times
-
- ToolBarPreferences.js
- (1.76 KiB) Downloaded 843 times
-
- EAction.js
- (44.48 KiB) Downloaded 867 times
Re: Line2PEx - An improved line command?
Thanks Robert. I've pushed these changes to the current master branch:
https://github.com/qcad/qcad
I've made some changes to the preference page layout and added the current shortcut to the tool tip of the tool buttons (e.g. "Close Sequence .C").
https://github.com/qcad/qcad
I've made some changes to the preference page layout and added the current shortcut to the tool tip of the tool buttons (e.g. "Close Sequence .C").