Recent Posts

Pages: [1] 2 3 ... 10
1
Looking For Help? / Re: cursor step size changes
« Last post by rccon on Today at 11:39:44 AM »
Thanks, guys. I'm using Bob P's macro with a small modification, and I think it will make life a bit easier.
2
Looking For Help? / Re: cursor step size changes
« Last post by Dr PR on September 18, 2019, 05:21:21 PM »
rccon,

Check the "Options/Options/Cursor" dialog box to see if the "Cursor Step" is set to "Relative to Screen" or "Relative to Drawing."

"Relative to Screen" causes the cursor step size to change (relative to the drawing) with every zoom increment or with every screen resolution.

"Relative to Drawing" causes the cursor step size to remain the same relative to the drawing no matter what zoom level or screen resolution you are working in.

Phil
3
Looking For Help? / Re: cursor step size changes
« Last post by Bob P on September 18, 2019, 04:08:34 PM »
See whether this works for you. This sets the cursor step on the command line.
You can run the program with or without a value (for the large cursor step) on the command line. If no argument is given, the current value shows at the bottom of the screen and will prompt you for a new number. If you just press Enter without entering a new number, nothing is changed.

Note that the small cursor step is automatically defined as 1/4 the large CS. Change that if you wish.

Code: [Select]
'cst.d3m
'Cursor step size
Print "Large cursor step = ",sys(30) 'The value shows up at the bottom of the screen.
cs=Val(sys$(0))
if cs=0 then INPUT "What large cursor step size? ", cs
sys(30)=cs
sys(31)=cs/4
End
4
Looking For Help? / cursor step size changes
« Last post by rccon on September 18, 2019, 12:32:02 PM »
Dcad 2016. I use cursor step keys a lot. Cursor step size changes when I switch from one window to another, or for unknown other reasons, so it's hard to trust it. Never figured out a way to make it stay put, so I set a keystroke for a macro to restore my settings. Trouble is, to see if it has changed I need to open the options box, then choose the cursor tab. I would like to have the step size display on the screen so I will see at a glance if it has changed. Is there a way to do this?
5
SDK Errata / Anykey, F1, and F10
« Last post by bdeck on September 12, 2019, 09:24:10 AM »
The "anykey" statement fails to suppress DC handling of F1 and F10.

When F1 is pressed, anykey returns a key code,  but F1 also opens a Help window.

When F10 is pressed, anykey loses keyboard focus, and DC activates the File menu, as if the ALT key had been pressed.

Handling of the F1 and F10 keys, when pressed in response to an anykey statement, should be corrected.
 
Other notes:

When the ALT key is pressed, anykey loses keyboard focus, and the File menu is activated.

When the Windows Logo key is pressed, anykey returns a value, then the macro loses keyboard focus, and the Windows Start menu is activated.

Anykey does not report a value for the Fn key.

Focus:

After the Windows Logo key is pressed, focus may be restored by clicking within the DC window.

After the F10 or ALT key is pressed, focus may be restored by clicking within the DC window or by pressing the escape key.
 
6
General Discussion / Re: short cut key assignment - number pad?
« Last post by corlett on September 12, 2019, 07:51:01 AM »
Thanks bdeck

Great idea I see were you are going.
Unfortunately I now have some work to do but will get back on this soon.

Thanks, Clive

I have just invested in an ergonomic keyboard 'Microsoft Sculpt'. It has a separate key pad.  ( I don't like the mouse and will be keeping my old LOGITECH)
But I can place the number pad to my left the two key press solution could work for me
7
Looking For Help? / Re: DesignCAD 3D Max 2019 (current version) assessment requested.
« Last post by bdeck on September 11, 2019, 11:08:09 AM »
Hello Virgal,
 
The pdf import works better than I expected.

I've not had occasion to try stl.

The executable file for the 32-bit Version 28 is triple the size of version 17's, and 63% bigger than version 27's. Startup time is 3 to 10 times longer than in  version 17. First start of version 28 took 25 to 52 seconds in my tests. Subsequent restarts of version 28 took 18 to 25 seconds vs  7.2  sec  in version 27. In versions 15 and 17, subsequent restart times were typically 2.4 sec. It is unclear whether this bloat is the result of untrimmed clutter from code editing, or whether it is the result of additions which should have been linked dynamically from external libraries.

bd

PS The attached chart shows the executable file size for various 32-bit versions of DC.
8
General Discussion / Re: short cut key assignment - number pad?
« Last post by bdeck on September 11, 2019, 10:41:42 AM »
Hi Clive,

Good Idea.

Some keys on the numeric keypad are assignable, so here's a back door solution.

If you assign this macro the the "+" key, for example, the next key stroke can be from any key on the keyboard. Using the macro requires two consecutive key strokes (first the "+", then the shortcut), but both keys can be on the numeric pad for one-hand operation. And no shifted keys are ever required (or allowed). 

If you rename multiple copies and assign to +, -, pgup, pgdn, etc, you can heavily overload all the shortcuts.

bd

PS: Note that a bug in DC prevents anykey from suppressing the default handling of F1 and F10..

Code: [Select]
' ' ' keydirector.d3m    initiate a command or macro using two key strokes on the numeric pad   bdeck,2019
' ' ' Rename multiple versions and assign keyboard shortcuts using +, -, pgup, pgdn key, etc
' ' ' This demo is set up to start the circle command or print a message as examples only
' ' ' Add an if structure in "decode" section for each shortcut key you want to use
 
gosub keydefine
print "press a key to initiate an action"
anykey k
gosub decode
end

decode:
if k=k_0 then
>Circle
{
}
endif

if k=k_0A then
print "You pressed the alpha 0 key,  keycode = ", k
anykey
endif
return

keydefine:                   'partial list of key codes
k_a=65
k_b=66
k_c=67
k_d=68
k_e=69
k_f=70
k_g=71
k_h=72
k_i=73
k_j=74
k_k=75
k_l=76
k_m=77
k_n=78
k_o=79
k_p=80
k_q=81
k_r=82
k_s=83
k_t=84
k_u=85
k_v=86
k_w=87
k_x=88
k_y=89
k_z=90

k_F1=112      'DC  BUG, do not use, returns code AND activates Help
  k_F2=113
k_F3=114
k_F4=115

k_F5=116
k_F6=117
k_F7=118
k_F8=119

k_F9=120
k_F10=121      'DC  BUG, do not use, activates file menu
k_F11=122
k_F12=123

k_esc=27
k_cr=13           ' enter key
k_up=38
k_dn=40
k_rt=39
k_lft=37
k_pup=33
k_pdn=34
k_home=36
k_spc=32
k_shft=16
k_cntrl=17
k_click=1
k_plus=107
k_minus=109
k_eq=187
k_plusA=187     'use keycode for equal ("=")
k_minusA=189

k_0=96
k_0A=48

k_1=97
k_1A=49

k_2=98
k_2A=50

k_3=99
k_3A=51

k_4=100
k_4A=52

k_5=101
k_5A=53

k_6=102
k_6A=54

k_7=103
k_7A=55

k_8=104
k_8A=56

k_9=105
k_9A=57
    return
 







 
9
Looking For Help? / DesignCAD 3D Max 2019 (current version) assessment requested.
« Last post by virgal on September 11, 2019, 09:27:36 AM »
I am currently running Design Cad 3D max ver.25.

From what I read on this forum the current version is not coming across as stellar.

My question is - is the current version worth the $70 dollar upgrade or is there something better coming down the pike. 

What are the major pros and cons compared to what I am using.

By the way, what is the EDS add on for $7.99 and do I need it.

I am most interested in better performance with 3D drawing and STL file conversion. 

I still do my 2D work on version Express 18; Rock solid for my needs.

Thanks

Alan  DC user since the 1980ís dos.
10
General Discussion / Re: short cut key assignment - number pad?
« Last post by Bob P on September 11, 2019, 03:52:42 AM »
Have you looked at Autohotkey?

* I fiddled around with assigning keystrokes to numpad1 and couldn't get it to work.

A macro keyboard addition might be your best bet. Just not free...
Pages: [1] 2 3 ... 10