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.

Strange display problem

Started by Dr PR, August 06, 2012, 03:13:31 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dr PR

V22.0 5/16/2012

I was working in a large file (255 Mbytes) with many layers and I created a valve, piping and flanges on layer 30 (a temporary work layer). All other layers were disabled.

I selected all of the objects and applied "Recursive Group Explode" to extirpate any lurking groups. Then I grouped all of the parts (nested groups are disabled) on layer 30 (the active layer) and moved the group to layer 3 with the Info Box. I have attached an image of what it looks like in the original file.

Then I selected the group and used the Copy tool in the tool bar to make a copy in the clip board.

I opened a new file and pasted the group into the empty drawing. Nothing appeared but a handle! I repeated this several times with the same results.

All layers are enabled and the Layers dialog shows objects on layers 1 and 3. This is odd, because I moved (I thought) the entire group to layer 3. I have no idea what is on layer 1 - it should be empty.

"Help/Drawing Info" reported these results:

1281 entities
8709 points
367 grid surface entities
913 planes

File size is 526 Kbytes - not empty.

I can gravity snap to the invisible group, move it, delete it or recursively explode the group. Nothing ever becomes visible.

I saved the file and transferred it to my XP machine, running the same version of DesignCAD. The objects are still invisible.

I can paste the group back into the original drawing and it is visible!

The objects are invisible when the file is opened in V21.1, V19.1, V17.2.

It is visible when the file is opened in V15.0.001 but the perspective is really screwed up. The view distance = 1000 and the object is only about 19 high, so 1000 should be OK.

****

AHA!

In V22.0 I changed the view from "Perspective" to "Parallel" and the object appeared. Ditto with "Isometric" view. Then when I switched back to "Perspective" view the object remained visible! I didn't change the view distance or any other program/drawing settings.

All visible objects are on layer 3 but the Info Box reports all objects on layer 1.


****

I have attached the file for your amusement. Sure looks like a bug to me!

Phil
DesignCAD user since 1987

magic

Hi Phil,

I don't know, if you fixed it yourself, otherwise you'll find it below.

I noticed that I could see all the points in the Perspective view in Point Select Mode, if I selected all, so I increased the view distance in the Perspective view to 10000 and your valve appeared.

Then I selected all and moved it to layer 3 using the Info Box, so now everything is in layer 3.
It's a kind of magic!




Lar

#2
This is the relatively new clipping plane problem. In what seems like all 3d viewing modes there exists a 'camera plane' some distance in front of and always perpendicular to the camera (the front clipping plane) and another further away from the camera (the 'rear clipping plane'). The distance of the two planes are related to the 'viewing distance' value in the View toolbar. Whatever is between the two planes is visible and whatever is outside of these two planes is invisible. Whatever crosses the planes gets clipped, hence the name.

This is a noble concept and I would assume it is DT&Co's attempt at addressing the issue of dcad's inability to reliably display a camera-view from within an enclosed object or in between a group of objects.

Dcad's clipping planes have a few problems:

  • They tend to make the 'perspective' function redundant because by the time you get everything you want visible between the two clipping planes (usually everything on all visible layers) all the perspective is lost and the model appears 'parallel'.
  • You can't toggle them on and off (together or separately)... Personally I can see the use of the front clipping plane at times but the rear I would use sparingly.
  • You can't control the distance other than via the 'viewing distance and you can't control the angle... It would make sense if the clipping planes were entities that you could place anywhere and orientate anyhow (with buttons for 'xy', 'yz', 'xz' and 'perpendicular to camera', of course) and controlled by layers. This way you could display 3d cross sections in perspective with the cutting plane being perpendicular to the model rather than 'leaning' across the model. With layer control different cross sections can be displayed in different paper space view frames.
  • The front clipping plane is in front of the camera... which is normal for this function in 3d software... but in dcad's case it should be slightly behind the camera's lens. In this way you would be able to see within an enclosed object without things close to the camera being clipped. It is very disorienting to see objects constantly re-forming while rotating views with the 'set view' (Y) command and I seriously dislike seeing clipped surfaces when saving an image or printing.

Lar

Dr PR

Lar,

Thanks. I was aware of the front clipping plane, and I have seen objects disappear and reapper when rotating the view if the view distance is shorter than the dimensions of the obejcts.

This is the first I have heard of a rear clipping plane. That is just stupid! If an object is in front of the "camera" and beyond the view center it should be visible.

I think the problem is the default view distance of 1000. In the main large drawing the view distance has been 10000 since I started it back in 2010. When I copied the group into a blank drawing the default view distance was 1000. If the program worked correctly this would not have been a problem because the object is only 19 units high and about 8 units wide. But for some reason the drawing center is some where out in left field in the new drawing (bug) and not at the center of the objects. I guess the objects were not pasted into the center of the new empty drawing. That's just weird!

As I have requested before, the default view distance should be greater than the greatest dimensions in a drawing and the default view center should be at the center of the drawing objects. That way everything will always be visible.

If the user wants to set different values that is OK, but the default should be to display everything.

Apparently when I switched to Parallel view the drawing center was reset and everything became visible.

Phil
DesignCAD user since 1987

Dr PR

magic,

Are you working with nested groups enabled or disabled?

I did select everything and moved it to layer 3 with the Info Box, but I still got an invisible "something" (care to guess what?) on layer 1. I was working with nested groups enabled, of course.

Phil
DesignCAD user since 1987

magic

#5
Hi Phil,

I work with nested groups enabled.

First I turned off layer 3 and tried to Gravity snap to see, if there were any objects in layer 1, but I couldn't, so there wasn't, so I thought: "OK, it's one of them group entities that you've been talking about somwhere else."

Then I turned layer 3 back on again and selected all in Point Select mode. I don't know, if that makes any difference.

QuoteBut for some reason the drawing center is some where out in left field in the new drawing (bug) and not at the center of the objects. I guess the objects were not pasted into the center of the new empty drawing.

If you copied your valve from a very large drawing and/or a drawing with a View Distance of 10000, maybe that's why your Viewing Centre and/or View Distance give(s) you grief.
It's a kind of magic!




prl

I agree there is something wrong/different with the "perspective" view setting.  Cycling through parallel etc. did bring the valve into view. Not sure where it was before.

Lar

If you 'select all' with point select mode you will see the points of cloaked entities outside of the clipping planes. Change the view distance to bring them into view. For me things can get cloaked in perspective, parallel or isomentic views. I think if I change from perspective to one of the others without changing the view distance the objects remain cloaked. I have to switch back to perspective in order to change the view distance, then switch back.

Lar

Dempsey

#8
Dr PR,

In your original drawing there is one entity in layer 1. It is entity type 34 (group) containing one point.

Secondly, after I did Set View by Drawing Center the valve was visible when I rotated it at a distance of 1000.0

This need some more testing IMHO to see if we can narrow it down even more.

I am always working with Nested Group OFF.
Dempsey

Dr PR

Dempsey,

Thanks. I do not know where the group container on layer 1 came from. When I created the group I was very careful to have layer 30 active and all of the parts of the group on layer 30. After I created the group I used the Info Box to put it in layer 3. I was working with nested groups disabled.

In huge drawings it is my practice to create new objects in a working layer that has no other objects in it, and to disable all other layers. This is just self defense to prevent me from screwing up some other part of the drawing and to minimize display refresh timing. If all of the 250 Mbyte drawing was visible it wouldn't be possible to rotate the view in real time.

I still have to be very careful to deselect items with the ESCape key instead of my normal way of just clicking in a blank part of the drawing. In huge files clicking on a blank part of the screen can result in a several minute delay while the program tries to figure out what you are trying to select when you click. It is a habit I developed years ago in much smaller drawings and it comes back to bite me in the posterior every now and then in huge drawings.

Phil
DesignCAD user since 1987

Dean

"Then I selected the group and used the Copy tool in the tool bar to make a copy in the clip board".
Phil from the menu under edit did you use the section copy or did you select everything then copy? Either way when you went to paste you had to of placed the coordinates/ location of the copy before you  could see anything. Maybe you put it off into space somewhere :)

> that's a beautiful drawing you created.
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