Author Topic: Radial Menu  (Read 13571 times)

0 Members and 1 Guest are viewing this topic.

ROBBO

  • Bull Frog
  • Posts: 217
Re: Radial Menu
« Reply #30 on: June 17, 2014, 02:38:53 AM »
Dimension enhancements made.
The only thing to do with good advice is to pass it on.
It is never of any use to oneself.

Oscar Wilde
(1854-1900, Irish playwright, poet and writer)

liuhaixin88

  • Guest
Re: Radial Menu
« Reply #31 on: June 17, 2014, 03:09:01 AM »
Dimension enhancements made.

Thanks ROBBO, Great routine !

You and Reltro are the same person ?

reltro

  • Guest
Re: Radial Menu
« Reply #32 on: June 17, 2014, 03:26:32 AM »
Dimension enhancements made.

Thanks ROBBO, Great routine !

You and Reltro are the same person ?

:D not at all... I sent him, Robbo, the "compiler"... He asked for it ;)


Thanks Robbo... nice stuff...
The file is now pretty big, hm... U draw a lot of lines in the graphics... they look nice...
nice-looking stuff hasto be big I think :P


greets
« Last Edit: June 17, 2014, 03:30:30 AM by reltro »

ROBBO

  • Bull Frog
  • Posts: 217
Re: Radial Menu
« Reply #33 on: June 17, 2014, 03:50:51 AM »
liuhaixin88,

All the credit goes to reltro and his hard work and generosity.

I just compiled the text-dims routine from reltro's program and raw data, and made it look pretty.

Thanks Robbo... nice stuff...
The file is now pretty big, hm... U draw a lot of lines in the graphics... they look nice...
nice-looking stuff hasto be big I think :P

Reltro,

I noticed that, although once loaded, I haven't experienced any performance issues. Use it all the time.

Extremely useful  :kewl:

Kindest regards, Robbo.
The only thing to do with good advice is to pass it on.
It is never of any use to oneself.

Oscar Wilde
(1854-1900, Irish playwright, poet and writer)

reltro

  • Guest
Re: Radial Menu
« Reply #34 on: June 23, 2014, 04:06:12 AM »
new version - RADIAL MENU 2.4

Now with a DCL-control to change look and behaviour...
Its me first DCL, so tell me what u think! ;)
Its really easy :)

:-D
Big thanks to ROBBO to build up such a nice draw-modifiy-menu!!!

CHANGES:
- the routine now does not exit with an *error* by pressing ESC, so it can be used as a subroutine
- added a key for the "noAction>goSub"option (forgot about it)
- added an Overview for the current Menu and his actions/shortcuts
- changed the "writeToFile"
        * in the previous Version changes were not written to file until an recall of the routine
        * last used command is skipped


EDIT: Writing the Menu to File would be overwrite the inserted Subroutines... fixed and reattached... They are now readed first and rewritten to the new file

So far so good...
enjoy...
Hope its useful to someone... :)


reltro
« Last Edit: June 23, 2014, 05:44:34 AM by reltro »

andy_lee

  • Newt
  • Posts: 147
Re: Radial Menu
« Reply #35 on: June 23, 2014, 06:30:32 AM »
new version - RADIAL MENU 2.4

Now with a DCL-control to change look and behaviour...
Its me first DCL, so tell me what u think! ;)
Its really easy :)

:-D
Big thanks to ROBBO to build up such a nice draw-modifiy-menu!!!

CHANGES:
- the routine now does not exit with an *error* by pressing ESC, so it can be used as a subroutine
- added a key for the "noAction>goSub"option (forgot about it)
- added an Overview for the current Menu and his actions/shortcuts
- changed the "writeToFile"
        * in the previous Version changes were not written to file until an recall of the routine
        * last used command is skipped


EDIT: Writing the Menu to File would be overwrite the inserted Subroutines... fixed and reattached... They are now readed first and rewritten to the new file

So far so good...
enjoy...
Hope its useful to someone... :)


reltro

Cool, Big thanks reltro.
andy.
Best regards.

ROBBO

  • Bull Frog
  • Posts: 217
Re: Radial Menu
« Reply #36 on: June 23, 2014, 11:53:14 AM »
TEXT-DIMS menu updated for version 2.4.

Again thanks to reltro for his hard work and update.

Kind regards, Robbo.
The only thing to do with good advice is to pass it on.
It is never of any use to oneself.

Oscar Wilde
(1854-1900, Irish playwright, poet and writer)

reltro

  • Guest
Re: Radial Menu
« Reply #37 on: June 24, 2014, 06:31:10 AM »
 :ugly: 400 downloads? thats a lot... but just one feedback... :|
nevermind....


I found a bug wich I "solved" long time ago, but not in the right manner... The above Version does not work properly within all UCS; Work only if the CoordinateSystem is aligned to the display. I don't know why I did not find this bug earlier...

I allready solved that issue for all planar UCS (planar to the Display), but I can't figure out how to do it for a 3DView, like isometric.

:?
I have two Coordinates returned for (grread) and have to calculate the distance between them, and the angle measured from the XAxis (polarCoordinates); but not in the CoordinateSystem of the Drawing. They have to be in the CoordinateSystem of the Display.... I get the right angle, but the distance is to "short" "long"....

Anyone can help? so I can post the fixed version...


greets reltro
« Last Edit: June 24, 2014, 07:00:43 AM by reltro »

ROBBO

  • Bull Frog
  • Posts: 217
Re: Radial Menu
« Reply #38 on: June 24, 2014, 06:46:08 AM »
A slight bug in the rectangle commands to return to menu after command.

Commands to be amended to:

Code - Auto/Visual Lisp: [Select]
  1. (command "_.Rectang" pause "_r" "0" (while (/= (getvar 'cmdactive) 0) (command pause)))

Code - Auto/Visual Lisp: [Select]
  1. (command "_.rectang" P1 "_rotation" (getpoint P1) (while (/= (getvar 'cmdactive) 0) (command pause)))

respectively to return to menu after placement.

Cheers, Robbo.

p.s. to reiterate reltro's comment:

:ugly: 400 downloads? thats a lot... but just one feedback... :|
nevermind....

Feedback negative or positive is most welcome.
« Last Edit: June 24, 2014, 07:09:11 AM by ROBBO »
The only thing to do with good advice is to pass it on.
It is never of any use to oneself.

Oscar Wilde
(1854-1900, Irish playwright, poet and writer)

reltro

  • Guest
Re: Radial Menu
« Reply #39 on: June 24, 2014, 07:58:30 AM »

p.s. to reiterate reltro's comment:

:ugly: 400 downloads? thats a lot... but just one feedback... :|
nevermind....

Feedback negative or positive is most welcome.

Thanks Robbo,
postive or negative! just constructiv ;)

As I see that every action in the Menu ends with the same while loop
Code: [Select]
(command ... (while (= (getvar 'cmdactive) 1) (command pause))) I added this piece of code in the routine it self. So its not necassary to add it all the time.
Now we can write simply the command itself...
Sent u the (your) modified Raw-File...

greets reltro

andy_lee

  • Newt
  • Posts: 147
Re: Radial Menu
« Reply #40 on: June 24, 2014, 08:34:56 AM »
A slight bug in the rectangle commands to return to menu after command.

Commands to be amended to:

Code - Auto/Visual Lisp: [Select]
  1. (command "_.Rectang" pause "_r" "0" (while (/= (getvar 'cmdactive) 0) (command pause)))

Code - Auto/Visual Lisp: [Select]
  1. (command "_.rectang" P1 "_rotation" (getpoint P1) (while (/= (getvar 'cmdactive) 0) (command pause)))

respectively to return to menu after placement.

Cheers, Robbo.

p.s. to reiterate reltro's comment:

:ugly: 400 downloads? thats a lot... but just one feedback... :|
nevermind....

Feedback negative or positive is most welcome.


Thanks reltro & robbo
A little advice, I think can increase a little more color for the graphical interface.
andy.
Best regards.

reltro

  • Guest
Re: Radial Menu
« Reply #41 on: June 24, 2014, 08:44:21 AM »
Thanks reltro & robbo
A little advice, I think can increase a little more color for the graphical interface.

What do u mean?
U allready tried pressing ? on the center? A DCL pops up... There u can adjust the Colors and KeyPresses... Just have a look...

greets
reltro

ribarm

  • Water Moccasin
  • Posts: 2126
  • Marko Ribar, architect
Re: Radial Menu
« Reply #42 on: June 24, 2014, 09:52:24 AM »
I allready solved that issue for all planar UCS (planar to the Display), but I can't figure out how to do it for a 3DView, like isometric.

Lee Mac solved this question in his star.lsp... I don't know if it's going to be helpful, but compare these two codes... First one is with snaps and work only in top of WCS in WCS :
http://www.theswamp.org/index.php?topic=12813.msg521921#msg521921

And this second one works with snaps and in all UCS/Views :
http://www.theswamp.org/index.php?topic=12813.msg522024#msg522024

Regards, M.R.
« Last Edit: June 24, 2014, 10:20:54 AM by ribarm »
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

ROBBO

  • Bull Frog
  • Posts: 217
Re: Radial Menu
« Reply #43 on: June 24, 2014, 10:13:25 AM »
Thanks reltro & robbo
A little advice, I think can increase a little more color for the graphical interface.

What do u mean?
U allready tried pressing ? on the center? A DCL pops up... There u can adjust the Colors and KeyPresses... Just have a look...

greets
reltro
The only thing to do with good advice is to pass it on.
It is never of any use to oneself.

Oscar Wilde
(1854-1900, Irish playwright, poet and writer)

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: Radial Menu
« Reply #44 on: June 24, 2014, 12:38:06 PM »
The concept is great.  I am in the process of trying to incorporate it into my daily routine.  I curently use command to temporarily change out the right click menu to do something similar, but this is more heads up (I think)

Great work!
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright 2016