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.

File corruption when saving a 2D projection

Started by adriank, June 28, 2020, 10:02:36 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Adrian 2.0

I've just been trying to save some elevations from a 3D drawing and I had a disaster which I now remember has happened before in an older version (running on 2020 now)
The first thing to remember (and I didn't) is that when you save a 2D projection the file thinks it's been saved - so your undo history is gone, and unless you save it again before you close it your 3D file will be gone too - you'll just have the 2D projected file instead!

So, I set up for the first elevation which involved vector converting a boundary wall so I can 'see through' it but still see the outline when I save the 2D file in hidden line mode.
I saved the 2D projection which seemed to go well. (with hidden line removal and hidden line cleanup active)
I then rotated the model 90 degrees (still looked good) and attempted to save another 2D projection.
Suddenly nearly all the model had disappeared. Most layers were gone, just a few scattered walls and windows remained.
No undo was available and the original 3D model was gone (see the first note above).
Not only that - the first 2D projection which seemed ok, and displayed ok in the thumbnail when I went to open it was also missing all the same bits. (they just hadn't disappeared from what displayed on screen at that stage).

Has anyone else had issues saving 2D projections?
(Edit)
A little more investigation...
This was the first 3D I'd constructed with solid surfaces enabled (see my other post) and it seems that the entities that disappeared were all the solid surfaces. The only solids on the drawing that remained were solids I'd needed to edit by dragging points, and those were converted to solids.
Another good reason NOT to use solid surfaces it seems!

Adrian

bdeck

#1
Hi Adrian,

Below are some images to illustrate some of the findings you've reported here and elsewhere.

The image "8 renderings" shows Paul's carriage from another thread, sliced with a orthogonal plane, sliced with an oblique plane, sliced with a curved surface, triangulated, and imported from an stl of the solid.

Using Gouraud shading in OpenGL (Smooth in the vdd macro) the Solids on the bottom row all render well, but the Solid Surfaces and imported STL render poorly unless sliced with a plane normal to the extrusion. (Top Left). I suspect the defect is not in the hardware, but in the way DC presents the data to the hardware.

Using Gouraud shading in GDI or Flat shading in either mode (not shown) all 8 models render well.

When I use VDD to save a 2d projection ("S2") I get the following results illustrated in "3 2D Projections.jpg":

Panel 1 shows everything except the imported STL being saved to the projection. But after the save, all of the top row (solid surfaces) disappeared from the drawing, and the imported STL (a solid surface, according to infobox) was still there.

Panel 2 shows the result of saving a projection of the remaining 4 solids and the imported STL. The imported STL shows up in the projection, but is thereafter deleted from the drawing.

Panel 3 shows the result of saving a projection of the remaining 3 solids.

As you have pointed out, in point select mode one can select multiple points on one end of the solid, and stretch or shorten the extrusion easily. But no luck trying to do the same to a solid surface.

These issues remain in version 30. I would be more concerned if I understood what point is served by solid surfaces.

When I isolated the  imported stl to its own file, converting it to a solid was quick and simple. (Of course, the triangles remained.) When I tried converting it (or another solid surface) from within a drawing containing the other 7 entities, DC 30 crashed, but DC 29 survived the conversion. The resulting solid was not watertight in either version of DC, but when re-exported and re-imported the resulting solid surface was watertight.

Best Regards,
bd

Adrian 2.0

Hi BD,
Thanks for posting your observations on this.
I concur completely with 'These issues remain in version 30. I would be more concerned if I understood what point is served by solid surfaces'.
For exactly that reason I binned working with solid surfaces & I've never tried again since. Thanks for re-awakening the nightmare I had back then, just when my therapist said I was over it, too!

A

Rob S

Re the solid surface stuff- Nothing to do with the file corruption issue:

I think this solid surface issue has something to do with the fact that Designcad allows warped "planes".  You can draw a multi-point plane in xy direction, and then move one of its points in the z direction, and it still calls it a plane.

I am not sure if such warped surfaces can be created by adding and subtracting solids, but if so, it is easy to imagine how a leaky solid could be created.

I believe the original idea behind solid-surface entities was to restrict all surfaces to triangle entities, so by definition all edges must match.

See also this post from the troll attempting to explain some of it.

https://forum.designcad.com/index.php?topic=7459.msg53671#msg53671
User since forever

Rob S

It seems there are currently tons of ways to lose your work in Designcad, so it really reminds us of the need to save backups of our projects at all significant stages.

Most of us no have plentiful disk space and probably a big stash of underused usb memory sticks as well, so it really pays off to save a copy of your project, and separately of significant parts of the drawing as well.   The trick is to come up with a filing and naming scheme that works for you.

Every time before you start a process that you don't do every day, or after you have done more work than you would like to do over again for free, save and then "save-as, new name" your working file, and then proceed.   It becomes so easy once you get in the habit.
User since forever

bdeck

#5
Quote from: Rob S on August 13, 2021, 10:07:03 AMThe trick is to come up with a filing and naming scheme that works for you.

Hi Rob,

Perhaps IMSI could create an autosave feature that adds a timestamp to the autosave file name, and leaves it to the user to erase all the unused saves, or autoerases any stale autosaves.

Quote from: Rob S on August 13, 2021, 09:59:28 AM
I think this solid surface issue has something to do with the fact that Designcad allows warped "planes".  You can draw a multi-point plane in xy direction, and then move one of its points in the z direction, and it still calls it a plane.

Perhaps, but the trapezoid is the very foundation of design, unless you are building a geodesic dome. Bucky's dome was interesting, but I wouldn't want to sit on one. ;)

So do we want a fair surface, or do we want a surface that is geometrically logical. I prefer fair, but DC lets us have it (sort of) both ways.

bd




Rob S

User since forever

Adrian 2.0

So many constructive comments to unpack here.
If only we could get IMSI to read these threads! Yes, I know they are theoretically visiting us regularly. (Syed & Igeib 1month ago, Zunair 2 weeks ago, BMayer 12 months ago)
I do have a routine of saving very regularly but it's all to easy to let a couple of hours slip by and suddenly realise you've lost it all.
I've broken a few keyboards that way!

For the solid surface topic, I've never found the need to use solid surfaces for my work. Most of my 3D work is exported to SKP files and they automatically convert to surfaces. When I did experiment with them I had nothing but headaches - and I have enough of them already.