News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

DRawing in 3D shaded mode.

Started by Rob S, October 19, 2019, 11:32:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lar

#15
Phil, do you still only use a trackball, as oppose to a mouse? Maybe that has something to do with it.
The problem is that once the cursor is moved the rubberband line wants to refresh, on top of a shaded area (so the ever increasing rectangle the rubberband is in has to shade too)...  at a certain rate per second... through all the points... So the more points the longer the refresh. If you draw a line by one of the point commands, so there is no dragging of the cursor, the cursor only moves once so there is only one refresh. It still goes through all the points, though, so the more points the longer it takes. I once drew a line using a macro of all the points. Happened very quickly, since there was no dragging of the cursor.
The solution is very simple for the programmers...  just have the option to disable the rubberband. I do this now by calling up the zoom command after I set a point, move the cursor and comma-snap to a point, esc the zoom then gravity snap to the point. This eliminates the rubberband. Problem is it gets tedious after a while.

Actually, my disabling the rubberband solution exists alreaby, just use preset point mode. Little discomforting not see the rubberband though.
Also, you can draw a line one or two segments at a time then when done select then all and Combine.

Lar

Rob S

#16
THanks for confirming I am no alone in having this problem.   

I wonder how many users have phils miraculous cure for this, whatever it may be.   Somehow I doubt it would be solved by a trackball, becuase the basic event of the moving cursor is still presented, with the need to redraw the rubber band.

It is not just drawing lines where the problem occurs, try drawing an entity such a a cylinder that presents numerous rubber band lines just for the second point to be set!!!!

I wonder if a better solution would be a delay in redrawing the rubber band some (configurable?) number of milliseconds after mouse movement stops.  The cursor itself should remain visible, of course.  Also, it appears to redraw several times for each movement, if somehow this could be reduced to a single redraw it would help a lot.

Looking at this again, I actually see it redrawing three times in the original position before the mouse move, and then once in the final position.   Closing all but the main window makes no difference.
User since forever

Dr PR

Lar,

I do use trackballs on both the desktop machine and the laptop (can't use the flaky touch pad for anything useful). They are both  Kensington "Expert Mouse" but two versions. However, I do not install any special drivers. Both machines use the default Microsoft mouse driver. The trackballs have a bunch of extra buttons but i have never installed the Kensington driver - that seems to me to be asking for trouble.

I wonder if the old DesignCAD nemesis "ipoint" has resurfaced here? It has always caused problems. Look in your Windows files to see if it is there (don't remember if it was a .dll or a .com file). I ran a couple of searches for "ipoint" on my Windows 10 Home laptop and found nothing. Wonder if they changed the name?

****

Rob,

You may have discovered the difference between my machines and yours. Here is the solution:

Place your hand on top of the machine and shout "Bless you my machine! BE HEALED!"

I have done this on several computers and they miraculously started working again. Really!

However, on all occasions I have first discovered something unplugged or disabled in software. Of course I don't tell the owners what the problem was, or that I have corrected it, before shouting BE HEALED!

Phil
DesignCAD user since 1987

Lar

#18
Rob,

I mentioned the track ball because it seems to be the only real difference between Phil and us.


From Phil's description of his experience this seems to be a hardware issue. We all have used many different machines, big and small. He has never had the problem and we have always had it, so that eliminates the machines. I think both of you use desktops and laptops (I can't remember the last time I used a desktop), so that eliminates screens. Unless Phil only uses the point commands to set points and never drags the mouse then that leaves the other human interface device, ie, the mouse.


Concerningthe amount of redraws of the rubberband I too have noticed it redraws three times for every one need. Also I have confirmed my claim that the more screen space the rubberband takes up the slower it redraws, meaning dcad is probably regenerating the bounding box rectangle the rubberband occupies. If you draw a long line with many points zoomed in close it bogs down. If you then zoom way out and draw the same line, so that it occupies a tiny bit of screen space, it doesn't big down, even with many points.


Also,  the more entities the slower everything is, even with not all the layers on.


Another thing I uncovered...  it seems that the rubberband is not just a simple outline but a whole command in itself, with each type of rubberband being a different command. So when you draw a line, dcad is actually performing a new line command every time the rubberband blinks, when drawing a cylinder, a new cylinder command is performed for every blink.


As you say, Rob, maybe if the user can configure the redraw rate that could help.



Lar

Dr PR

#19
Lar,

I am skeptical that the trackballs are the difference. As I said, I use them as an ordinary mouse. But mouse drivers (especially "ipoint" and its variations) are notorious for causing problems with DesignCAD, going back decades, so it is a possibility. I'll look around here and see if  I have a mouse laying around somewhere. If I do, I'll plug it in and see what happens.

At the lowest level mouse and keyboard input are handled by the BIOS. The mouse driver just asks the BIOS for the latest mouse position and translates it for Windows. DesignCAD then asks Windows for mouse information. So there are several possible places a problem can exist. But I do not see any mouse movement problems in any other program - except for the disappearing cursor in Photoshop (PS makes no effort to contrast the cursor from the background [stupid programmer trick #1], so if they are both the same or nearly the same color the cursor becomes invisible).

Your observations about the redraws of the rubberband are good. When I draw in shaded mode the rubberband does flicker noticeably, but the redraw rate is very fast and doesn't delay operations. We know that the DesignCAD display routines redraw the screen over and over, so this may be contributing to the problem. The number of entities being redrawn does contribute to the flickering on my desktop. But even in drawings with nearly a million entities the flickering is just a bit more  noticeable and annoying and really doesn't hinder drawing.

I really hope we can continue chasing this bug and squash it! I suspect fixing this problem will also solve other display issues.

Phil

Edit: Some around here claim that my office is more like a museum of ancient computer junk, and it is true that I have boxes of old parts stacked in the closet  - need a 30 foot parallel printer cable, or a couple of 5 1/2 inch floppy drives? But I couldn't find an ordinary mouse. I think I have one here somewhere, but, if so, it's buried deeper than I am willing to go.
DesignCAD user since 1987