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.

exploding 3D

Started by adriank, March 01, 2015, 05:26:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Adrian 2.0

Back in an older version of DCad - maybe V22 - I reported a strange issue where I printed a view from inside a 3D drawing and then the whole drawing got 'reset' with all the points that were 'behind me' getting repositioned and destroying the original drawing.

It has happened to me again in V24.1.
Weirdly I'm working on the same project that it happened on before (Sam will recognize it)  except this is an entirely new file with nothing copied from the old one.

Luckily I'd not saved the drawing after printing & I was able to close it and it re-opened undamaged  - except that the view centre had moved miles away. I can't therefore post the damaged file but I did save a screenshot of the mess it made. Also attached are what the drawing is supposed to look like and the PDF print that exploded it.

Adrian

Rob S


I used to get this phenomenon all the time with imported 3D autocad drawings, until I learned to fix it by simply entering a very large view distance for the imported drawing.

I think this was exacerbated by the fact that autocad users often draw in inches units rather than in feet.

I'm curious, if you could re-save your drawing with a new name for testing and then try your print routine again, and then enter a very large view distance afterwards, if it would restore itself to normal??
User since forever

Adrian 2.0

Hi Rob,
This is not a problem with view point or viewer distance - it physically changes everything that is behind the viewer when the print is made.
I did as you suggested - used an abandoned 3D of the same job as a guinea-pig- and got the same result. I 'went inside' one of the units and printed the view, this time it was a unit close to the edge of the group so only 2 objects were 'behind me'.
After printing I saved it, closed it & re-opened again. If I change the drawing to 2D mode everything that was in front of the camera displays correctly, everything behind is wildly distorted.
I also captured the effect in 3D mode, parallel view instead of perspective. When I select the distorted elements it also selects the building that they had previously been in. As you can see in point-select mode thee are 2 buildings involved.

Interestingly in 2D mode when you zoom to fit or zoom to selection it ignores the distorted elements but in 3D mode zoom to fit tries to display all the extents of the universe it created.

Speaking of universes prompted me to measure the distance between the exploded points.
I do my drawings in metres, (or meters to those of you who use feet) and my 3D measures about 220 x 140 metres. The furthest distance between points is now 1,400,000 metres (million four hundred thousand) That's a number I'd like to see on my bank balance, not on my drawing!

prl

You have discovered a serious issue. Though the user sequence and/or DC trigger of how it happens is less obvious.  Otherwise others would be reporting it too if it happened frequently.

When you think about it, DesignCAD maintains a base database of everything you see on the screen.  And there are a great many algorithms that take that data and put multipliers to those numbers.   In other words, the database is constantly manipulated.  For example, the screen mapping for each view, when you zoom in/out in separate views, printing to scale, paperspace viewports etc.   

So somehow in your model the database is manipulated and then something is overwriting the original database causing a physical corruption of the base model data.

If you can boil it down into a set of steps with a small example model, it could offer Dt and Co. a clue as where to look.

Dr PR

Adrian,

How large is your drawing?

How much RAM do you have in your computer?

In the Windows Task Manager Performance tab you can see the total "Physical Memory" and the amount of "Available" memory.

In the past I have seen strange things in DesignCAD when the computer ran out of available memory.

Phil
DesignCAD user since 1987

Adrian 2.0

Hi Phil,
The drawing is about 12.5mb.  My computer is an i7 with 8gb RAM.
As I mentioned at the top of the thread, I've seen this before - in an older version, (on an older computer) I think it might have been V22. When I reported that I believe DT tracked down the issue & fixed it on the update, I certainly have not seen this happen for a long time & I do fairly regularly capture views from inside models. That is why I was so surprised to see it come back.

I can't be 100% sure but I think it only happened when I printed with smooth shading in GDI mode. It had no problem printing overviews of the same file, it only happens when parts of an element are behind the camera.
From memory the print that exploded it only took a couple of minutes to process, I've printed files that take hours to process without problems (except boredom) before, as I know you have too!

Meantime, it's a good idea to save your work before attempting to look inside a model & make sure you back out to an overview before you save it again.

Adrian

Dr PR

Adrian,

A 12.5 Mbyte file shouldn't cause a memory problem. In my experience the file size limit is about 20 times larger than your drawing.

Phil
DesignCAD user since 1987

DrollTroll

Adrian, can you zip up the drawing and email it to me?

DT
25 years with DesignCAD

Adrian 2.0

Hi DT,
Actually no need to zip anything - I opened the original villa drawing (that I'd pasted onto the masterplan) and experimented with that.
This is an extremely crude drawing, no details, no transparent material. It is designed to be viewed from 500 metres away & multiplied x 30 villas so filesize was everything. ( I did a 'Phil' on it)
The result is only 500kb and the exact same problem is repeatable on it, so it's definitely not a memory problem.

I set the view centre 1.8m above the dead centre of the lower floor level & I set a focal length of 1m. That puts me in the middle of the building looking out.
I used 'print section' to make a pdf of a small 'window' view (discarding the distorted peripheral stuff) and 'printed' 3 tests in various render options.
Wireframe view. - printed fine, the drawing was undamaged.
Smooth shade with Open GL - print was rubbish but the drawing was still undamaged.
smooth shade with without open GL - the print was fine but the drawing had exploded.

There is only one lightsource and no shadows turned on. I do have some texture maps applied which I've not supplied the source files for, but the exploded elements are not exclusively textured.

I was sure to NOT save the drawing but I could not back out of the corruption. My undos were deleting the setup lines I'd added to place the view centre but not undoing the corruption.

I hope that helps?
Adrian