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.

DesignCAD 3D Max23. Paper-Space Crash and File Corruption.

Started by DaveTK, April 03, 2014, 02:26:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prl

Phil is a tremendous documentation type of person.  Only thing is you need to know where to look.  Here is a topic that touches upon this.

http://forum.designcad.com/index.php?topic=3800

MarkX

Quote from: DaveTK on April 04, 2014, 12:12:47 PM
Quote from: MarkX on April 04, 2014, 11:16:08 AM
It appears that somewhere between 1000 and 5000 DC ignores the view distance field in the Paper Space mode.

Mark


Mark,

It appears that similar is true in 3D drawing space. But the distance factor at which nothing happens anymore is different to paperspace.  The Distance setting must be a non-linear function and not real distance.  But did you have a specific point to make? You know that Rob S came up with the solution to fixing the drawing in reply #16!
David
I was able to fix the model space just by changing the distance setting (I moved it to 4000).

But I wasn't able to fix it in the paperspace by adjusting the distance setting. On the side and front views, it wasn't possible to change the distance number. On the perspective and isometric, it was possible to change the number but it seemed to stop working somewhere between 2000 and 5000, though I didn't try to nail down the exact position.

Someone, if anyone, who wanted to fix the software could be looking in the part of the code where the paperspace distance is applied. I think a max() function of some type is being applied surreptitiously so that no matter what number is plugged in the working value is something else.

Mark

DaveTK

Quote from: prl on April 04, 2014, 01:31:09 PM
Phil is a tremendous documentation type of person.  Only thing is you need to know where to look.  Here is a topic that touches upon this.

http://forum.designcad.com/index.php?topic=3800

prl,
  The thread you refer to is essence of what Dr PR brought up in his reply #11 this morning, (my time). Although it does explain some problems that can occur, it doesn't in itself explain the issue I had but it is useful for future reference and I have bookmarked it as such.

The critical issue for me is why did the Rob S cure require a Save – Close – Re-open to work, in his reply  #16. I asked the question of him but no reply as of yet. The cure is King but its understanding is key to remembering it in the future.
David

DaveTK

Re reply #46

Mark,
Now that you explain your point I understand where you are coming from.  It may be that there is a Max() function being applied but it feels more like the distance control in paper space generates a function that is asymptotic to a limit, this would give the same sort of effect as the Max() function you suggest.
However, I think as far as someone coming up with a software fix is concerned, it is in the 3D design space region where the problem lies since it drives the paper space region rather than the other way around. In any event it is a good thought and hopefully someone, (not me), will debug the issue. It doesn't seem to be a major problem for everyone else so I wouldn't expect software changes to be readily forthcoming.
Thanks for your comment.
David

prl

Quote from: DaveTK on April 04, 2014, 02:24:40 PM
The critical issue for me is why did the Rob S cure require a Save – Close – Re-open to work, in his reply  #16. I asked the question of him but no reply as of yet.

Okay, I'm not in a position to respond for Rob but often I've encountered that DesignCAD can use different coordinate systems origins during the course of a session.  Programmatically there are times when closing down DesignCAD and bringing it back up will purge all the various history transformations.  I don't know if this is the case for Rob's comment but it does exist for certain other things I've done with BasicCAD.

In other words, it resets certain parameters to a fresh start.

samdavo

Well, all I can say is that if I went back, and was given a fresh start with new "parameters",  I would still buy (and enjoy) DCAD!
So too my grand father -
I enclose a photo of a small incident he had with the mouse recently.
cheers.

PS.  If I was summarising (pisstake alert), the first half of the trick, imo, was the resetting of the origin.  I mean, I tried resetting the view distance from 1000 to 3000 to 5000 to 20000.(!)  As far as I could see it wasn't helping.  Then I realised I wasn't wearing my long distance glasses, so if it did reappear, I wouldn't be able to see it anyway :)   

But I personally would never have thought of closing and reopening the case.  Like when you accidentally take your wife's suitcase on a business trip, and you open it and wonder what you are gonna wear to the meeting next day - and then you close the case - and open it again hoping you'll get a different result next time.  Then again, I watched enough Perry Mason as a kid - and you'd think I would have learnt something from that.   (2 cents). 

David, If you need to remember those two steps - just think ...  ahh the ole "it's an open and shut case, Perry!" trick :)
PS except that it's a "shut and open" case, so that won't work either.
ahhh - work out your own system - I have enough trouble with MY memory!

(ps cheers) :)

MarkX

Here's how to restore the view in one step. Mind you I'm using v21, but I don't think the camera view stuff has changed since then.

Click on set viewer points (black camera with red arrow). Use running snap to snap to invisible cube and ENTER.

Voila!

In Paperspace, if you delete the Perspective frame and draw a new one, you can get Isometric view to show up. But not Perspective. Maybe the problem in PS is that there is no way to tell the frame where to point it's internal camera.

Mark


Mark

samdavo

David
(edit - this post doesn;t take into account Mark's contribution above - but  Mark's version doesn't fix Paperspace , as he discusses - so we come back to Rob-S's fix))

I have a pet conspiracy theory - that people who work in feet and inches ( no names no pack drill ok?) they think of 5000 as a big number - but for some of us who work in mm (millimetres), think of that as 5 paces of a groan, sorry grown man.

i once stuck a view an object a few metres off to the side - and back, - which proceeded to give problems - and I was accused (on the forum) of using "unwieldy" coordinates lol.  Anyway, the real problem (then as now in your case) was view point versus object location, and I'm sure (? or suspect) that the ole
"origin-shut-and-open" trick...
was/is/and for the forseeable future will be ...
  the answer.  (just imo of course)

I suppose it is worth discussing the option that MAYBE your drawing IS corrupted - and incidentally, I'd be accusing myself before I accused DCAD on that score (something else, like picking the wrong points for some move etc etc).

...  Hence saving it as a new drawing would seem to be a wise precaution - well - I would call it wise - my wife would say the closest I get to wise is that mine are probably crossed, but ...  :) 

*hint wise/wires.   Ahh every time a joke is explained, a duck jumps into a volcano. There goes another duck, albeit a particularly hopeless duck. ahhh SHUDDUP!

But equally, the other thing to assume is that it is NOT corrupted, and that the work you've put in since the last save can almost certainly be "found" again. 

And (as they say on the Stock Market reviews) if you're not confused by now, then you don't know what's going on.  Cheers.

MarkX

Quote from: samdavo on April 04, 2014, 04:33:24 PM
I have a pet conspiracy theory - that people who work in feet and inches ( no names no pack drill ok?) they think of 5000 as a big number -
Gee, I wonder who that could be?

Let's see ... there's Liberia, Myanmar, and the United States. I'm sure the use of  DesignCad would be suppressed in Myanamar, so it must be .... must be Liberia.

Mark.

Edit: If you create a new drawing with a  20^3 cube somewhere out at -5000 on the  Z axis (I'm using unitless) the Main view is invisible and a quick paper space view has the same problem as shown in David's. This suggests that the problem isn't one of file corruption and it doesn't matter what units are used.

Rob S


For DaveTK - pardon my brief absence....

I have no idea why I had to save, close and reopen, all I know is I thought this fix should work, and when it didn't right away, I tried that and then it did.

Begin Philosophy:  I'm not sure if that is a Designcad quirk or just happens for me, or if it was just that once, but just in case, it doesn't take very long, and if it works, so be it.  End Philosophy.

User since forever

Dempsey

David, Rob S,

I did notice the negative Z too. In parallel mode I did set the origin on the left bottom front point of the box. In Perspective mode I set the view distance to 5000. Unfortunately that was not enough as Rob S demonstrated.

The Save - Close - Open trick is brilliant... yet not transparent to us.

DT, CAN YOU GIVE US YOUR INSIDE ON THIS?  :-[ :o
Dempsey

samdavo

Quote from: MarkX on April 04, 2014, 06:24:26 PM
Gee, I wonder who that could be?
Let's see ... there's Liberia, Myanmar, and the United States. I'm sure the use of  DesignCad would be suppressed in Myanamar, so it must be .... must be Liberia.
Mark.
Lol,
Mark, I was reminded of this one which I (then) found on another forum ..

Apparently, one in five people in the world are Chinese. And there are five people in my family, so it must be one of them. It's either my mum or my dad, or maybe my older brother Colin, or maybe my younger brother Ho-Cha Chu. But I'm pretty sure it's Colin.

samdavo

Quote from: MarkX on April 04, 2014, 06:24:26 PM
Edit: If you create a new drawing with a  20^3 cube somewhere out at -5000 on the  Z axis (I'm using unitless) the Main view is invisible and a quick paper space view has the same problem as shown in David's. This suggests that the problem isn't one of file corruption and it doesn't matter what units are used.
Mark , thanks for reconstructing the problem. 
Question?   would it have helped if the cube was 2x2x2, and placed at 500 (?)
i.e. would centimetres be a wiser choice that millimetres if one wanted to avoid optical err difficulties?  Is DCAD prejudiced against large numbers?  (some internal test for maximums/maxima ? )
cheers
sam

Dr PR

Dave,

The "viewpoint" thing is a bit complex and non-intuitive (for me).

Views in DesignCAD do not work like pointing a camera and taking a picture. With a camera if you rotate the camera the view rotates about the camera's axis of rotation.

In DesignCAD the camera ALWAYS points at the "viewpoint." The "viewpoint" is an XYZ coordinate in the drawing. When you rotate the view the camera spins in a circle around the "viewpoint" coordinates at the "view distance." While this may sound crazy, it is what happens when you walk around an object while looking at the object. It is sort of a machinist's way of viewing the world.

Lets suppose you have some drawing objects and the "viewpoint" coordinates are off to the side of the objects. If the camera, objects and "viewpoint" are aligned the view will show the objects IF the "view distance" is great enough to put the camera on the other side of the objects. If the "view distance" is too short the camera may be among the objects, or between the objects and the "viewpoint." In this case some or all of the objects will be behind the camera and not visible.

Now, given the setup described above, suppose you rotate the view. It doesn't rotate around the objects, but rotates around the "viewpoint." So the objects will move out of view to one side of the screen, and as the view rotation continues they will move back into view on the other side.

To be sure that everything is viewable from all directions the "viewpoint" must be within the area of the objects, and the "view distance" must be great enough that the camera is positioned some distance from the objects.

Hope this helps.

Phil
DesignCAD user since 1987

DaveTK

Quote from: MarkX on April 04, 2014, 04:29:52 PM
Here's how to restore the view in one step. Mind you I'm using v21, but I don't think the camera view stuff has changed since then.

Click on set viewer points (black camera with red arrow). Use running snap to snap to invisible cube and ENTER.

Voila!....................


Mark,
Your solution to the problem is pretty much the same as Samdavo's suggestion in reply # 1 but as you can see is only a partial result.
David