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 0 Guests are viewing this topic.

prl

Quote from: Lar on April 07, 2014, 09:24:07 AM
http://forum.designcad.com/index.php?topic=4515.0 . . . . I myself have to refer to my own writings

Thanks Lar.  I've now officially run out of steam.  Taking my bottle with me.

Dr PR

Dave,

No thread is too long if it is causing us to learn more about the program. This thread certainly did that!

For what it is worth, every now and then (pretty rare) someone gets a corrupt file. Often as not the reason never becomes apparent.

Sometimes the corruption is imported with a file from another program.

Sometimes you can correct the problem by unlocking all layers, selecting everything, and copy/paste into a new blank DesignCAD drawing. Unfortunately, when you do this yopu lose layer names and properties.

Thanks for starting this discussion!

Phil
DesignCAD user since 1987

Dean

Quote from: prl on April 07, 2014, 09:29:40 AM
Quote from: Lar on April 07, 2014, 09:24:07 AM
http://forum.designcad.com/index.php?topic=4515.0 . . . . I myself have to refer to my own writings

Thanks Lar.  I've now officially run out of steam.  Taking my bottle with me.

Ha! :) C'mon prl, that's it, just like that....  :)
When you feel motivated check this file out. (rev4)
It's getting closer. Everything appears to be working. I can render all views in modelspace with "EGA" enabled and all views in paperspace. Though I'm not using David's original paperspace template. I created my own viewports. The cube has not moved from its original coordinates.
It appears that after I created my custom views dcad was able to make the calculations.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

Lar

Quote from: Dr PR on April 07, 2014, 10:22:42 AM
Unfortunately, when you do this yopu lose layer names and properties.
That's not so big a problem with v23. While the file is open go to the new layer dialog box and click save as default. This saves all the layer names, colors and linestyles so that whenever you open a new drawing they come in automatically. If you have another layer setup as the default already then after opening, pasting in and saving the new file (mentioned above) open the other default and re-save that as the default.

Lar

prl

Quote from: Dean on April 07, 2014, 02:02:03 PM
Ha! :) C'mon prl, that's it, just like that....  :)

Dean, excellent.  I have been keeping an eye on the coordinates in your files.  (But I will admit I'm personally amazed that you guys use DC's paperspace. Lar's impressive notes remind me why I don't.)

; Data file produced by TellMe.d3m
; Data for  3  objects.

;Entity 1 is type 31 (Plane) on layer 1
; Name string;
; RGB color is: 47, 187, 0
; Line Type: 0 ; Line Width: 0.000000 ; ; Line Type Scale: 0.125000 .
; Group # 0 ; Solid # 1 ; Points: 5
; Selection Status: 1
; String data: 
     1848.791198142663 1167.120597777504 -3570.874999991921
     1868.791198142615 1167.120597777469 -3570.874999991794
     1868.791198142623 1187.120597777479 -3570.874999991822
     1848.791198142633 1187.120597777489 -3570.874999991867
     1848.791198142663 1167.120597777504 -3570.874999991921

DaveTK

Quote from: Dean on April 07, 2014, 02:02:03 PM

Ha! :) C'mon prl, that's it, just like that....  :)
When you feel motivated check this file out. (rev4)
It's getting closer. Everything appears to be working...........................

Dean,
        I took a look at your (rev 4) and it is still unstable.
Do the following and observe what happens.

1 Open( rev4) file.
2 Go straight to paperspace
3 Click on Side view to select it.
4 Click "Change view settings", little black camera icon.
5 Don't make any changes to the setting just click OK to close the dialog box.

By now you should notice no more side view remaining and something I've noticed at various times without understanding why – if you open the Info Box, the Distance setting is greyed out for some inexplicable reason. Undo doesn't work.    

I'm also wondering why the views show signs of perspective when the distance has been set so far out  - 240,000, this perspective didn't occur in the original file or one recovered using prl's re-centering macro.

The more you fix it, the more it's going to break!
Motto: if it aint broken don't fix it. If it is broken, break it some more.
Good look with it.

Quote from: prl on April 07, 2014, 02:18:47 PM
Quote from: Dean on April 07, 2014, 02:02:03 PM
Ha! :) C'mon prl, that's it, just like that....  :)

Dean, excellent.  .........................(But I will admit I'm personally amazed that you guys use DC's paperspace. Lar's impressive notes remind me why I don't.)


Prl,
We use it because we paid for it!  :)
It's also good at reconstructing 3+ views automatically when changes are made in design space.

David

Dean

David, yes. Dcad appears to have a limitation with its built-in default view calculations. That's why I created "custom views". For some reason my custom views which do contain the same vertical, horizontal and rotation angle but not the same view distance as the "default " top, side and front  views appear to  work and hopefully this will help the makers to find where dcad has trouble doing the view calculations in this type of situation. We are getting closer...
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

magic

Hi David and Dean,

Quote from: DaveTK on April 07, 2014, 03:14:55 PM
1 Open( rev4) file.
2 Go straight to paperspace
3 Click on Side view to select it.
4 Click "Change view settings", little black camera icon.
5 Don't make any changes to the setting just click OK to close the dialog box.

By now you should notice no more side view remaining and something I've noticed at various times without understanding why – if you open the Info Box, the Distance setting is greyed out for some inexplicable reason. Undo doesn't work.

6 Click the Preview button in the Paper Space Bar, and you have your Side view back. Your Distance is greyed out, because it's only used in Perspective view. You'll notice that the Distance is still editable in the Perspective view. Also, if you revert to model space (or design space, as you call it), you'll see that the Top view, Front view and Side view have greyed out View distances too.

And Undo is greyed out/doesn't work, because you have made no actual changes. Try changing the Perspective view to Isometric, and Undo comes to life.
It's a kind of magic!




magic

Hi Dean,

Quote from: Dean on April 06, 2014, 03:46:30 PM
I create walk through animations with Dcad, believe me I know all about perspective views.

Any chance you might do a small tutorial on Walk Through? I never really got to grips with it.

Thank you very much.
It's a kind of magic!




Dean

Quote from: magic on April 07, 2014, 05:26:24 PM
Hi Dean,

Quote from: Dean on April 06, 2014, 03:46:30 PM
I create walk through animations with Dcad, believe me I know all about perspective views.

Any chance you might do a small tutorial on Walk Through? I never really got to grips with it.

Thank you very much.

Hi Magic
Ha!  :)That's quite a request considering we are on the 8th page in a thread that started with a cube in paperspace but I'd be more than happy to help if I can. Can you be more specific as to what you're having a problem with? You're not new to animations in Dcad. Perhaps it would be best to start a new thread and in the meantime I'll locate one of my walk throughs for demonstrating that I'm able to share here in the forum.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

Dr PR

Dean,

I'm with magic on this one. I have used animations a few times, but not much. And I have never meen successful at a walk-through (again, I haven't tried much).

Phil
DesignCAD user since 1987

DaveTK

Quote from: magic on April 07, 2014, 05:16:06 PM

............................................... Your Distance is greyed out, because it's only used in Perspective view. You'll notice that the Distance is still editable in the Perspective view. Also, if you revert to model space (or design space, as you call it), you'll see that the Top view, Front view and Side view have greyed out View distances too.

And Undo is greyed out/doesn't work, because you have made no actual changes. Try changing the Perspective view to Isometric, and Undo comes to life.

Hi Magic,

Thanks for the info, it partially helps me.

Preview button - that's one I haven't used yet, but it really shouldn't be necessary to use it since if I haven't changed anything the view shouldn't have disappeared. Views from non-corrupted files don't disappear in that way.

The greyed out bit that's confusing too. If on first opening the (rev 4) drawing you select any of the Top, Side or Front views and open the Info Box you will find that distance is NOT greyed out initially, but as soon as you start to change a selected view to a different type of view and back again it becomes greyed out. Surely DCAD should never have given you the option of editing the distance setting from the get go.

I agree, model space is consistent in only allowing perspective view to have its distance set, the other distances being default to 1000. Now look again at Dean's drawing in paperspace, he has set the distance to 24000 – not greyed out at 1000.  Confusing or what!

Onwards and upwards!

David

magic

Hi David,

Quote from: DaveTK on April 08, 2014, 02:29:12 AM
Quote from: magic on April 07, 2014, 05:16:06 PM

............................................... Your Distance is greyed out, because it's only used in Perspective view. You'll notice that the Distance is still editable in the Perspective view. Also, if you revert to model space (or design space, as you call it), you'll see that the Top view, Front view and Side view have greyed out View distances too.

And Undo is greyed out/doesn't work, because you have made no actual changes. Try changing the Perspective view to Isometric, and Undo comes to life.

Hi Magic,

Thanks for the info, it partially helps me.

Preview button - that's one I haven't used yet, but it really shouldn't be necessary to use it since if I haven't changed anything the view shouldn't have disappeared. Views from non-corrupted files don't disappear in that way.

The greyed out bit that's confusing too. If on first opening the (rev 4) drawing you select any of the Top, Side or Front views and open the Info Box you will find that distance is NOT greyed out initially, but as soon as you start to change a selected view to a different type of view and back again it becomes greyed out. Surely DCAD should never have given you the option of editing the distance setting from the get go.

I agree, model space is consistent in only allowing perspective view to have its distance set, the other distances being default to 1000. Now look again at Dean's drawing in paperspace, he has set the distance to 24000 – not greyed out at 1000.  Confusing or what!

Onwards and upwards!

David

I agree with you all the way!  :) Especially onwards and upwards!
It's a kind of magic!




Dr PR

DAve,

Maybe I didn't understand you, but the view distances in the model space "top," "side" and "front" views are infinite, and not 1000.

If you draw a cube, all you see in wireframe mode in these three views is a square because the back side lines are directly behing the front side lines - regardless of the size of the cube.

Phil
DesignCAD user since 1987

DaveTK

David.
Quote from: Dr PR on April 08, 2014, 09:21:00 AM
DAve,

Maybe I didn't understand you, but the view distances in the model space "top," "side" and "front" views are infinite, and not 1000. ...............................


Phil,
        If you look at Dean's rev 4 drg in paperspace, pin-open the Info Box. Do the following and observe what I see then I'll explain.

1. Without making any changes to the drawing select the side view for instance. I may be mistaken but I think the view is not supposed to be an isometric view and yet it looks that way with the distance not greyed out.
2. Change from smooth shading to wireframe. - It is still isometric looking!
3. The view is shown in the info box as Side View. Pull down the view selection box and click on side view again - nothing should happen since it is side view already. However, the box loses its isometric appearance and the distance becomes greyed out.

Now to your question. If the distance box is greyed out then yes I would expect for a non isometric view, the distance would effectively be infinite - although DCAD usually shows a greyed out figure of 1000 in the design-space view-toolbar, but I'm guessing that the number there is meaningless.
Perhaps it is just another quirk of DCAD that upon initial opening of the Top, Front and Side views in paperspace, the view is isometric even though the labelling is not.

David.