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.

Cross section tool doesn't work.

Started by MarkX, November 05, 2011, 10:29:19 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

MarkX

I'm trying to make a cross section. I place the plane about 3 ft high. Cross sections are generated hit and miss. The same extruded structure will have a cross section at one point, but not at the other.

Has anyone else experienced problems with cross sections? I'm trying to make the cross section of a lower floor in order to make the starting layout for the second floor.

I've attached an image. Everything in light green is one solid. But the cross sections only show up in the gap between the lower windows and a section in the middle. At the top, sides, other middle section, and remaining structures (not shown) no cross sections were formed.

Thanks,
Mark

Dr PR

#1
Mark,

I have never used the "Solid/Cross Section" tool (I didn't even know it existed) so I can't help much. I do note in the instructions that it works only with solids - not things that look like solids (collections of planes and grids) but only with things that DesignCAD thinks are solids. You can select an object and use the Info Box to tell you if DesignCAD thinks it is a solid.

I have never used the function because there is something I find much more useful.

I have used the "Draw/Lines/Contour Line" function many times. It is ideal for creating contour maps from 3D surfaces, etc. It works with solids, grids and planes. I have never had any problems using this function.

You can select the XY, XZ and YZ planes, or a custom plane defined by three points. You can tell the function to save all closed contour lines as planes.

Change to an empty layer before using the "Contour Line" function, and switch to a new color, and you will get easily identifiable lines through a slice of the drawing. The contour line will be created only with visible objects, so you can turn off layers to reduce clutter.

I use contour lines to test the smoothness of hull surfaces, etc. After the contour lines are created I rotate the view to look along the length of the line. Any place where the surface is not smooth shows up as a kink in the curve. I show how to do this here:

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

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on November 06, 2011, 11:14:07 AM
I have never used the "Solid/Cross Section" tool (I didn't even know it existed) so I can't help much. I do note in the instructions that it works only with solids - not things that look like solids (collections of planes and grids) but only with things that DesignCAD thinks are solids. You can select an object and use the Info Box to tell you if DesignCAD thinks it is a solid.
Its definitely all solid. In fact its all one solid (except for the windows). Yet it would make the cross section in one portion but not in another. So it seems broken to me.

But you're right. The Draw/Lines/Contour seems to have done a great job, begging the question "why do they have the cross section tool" if (1) It doesn't work and (2) there's already something that does.

Thanks Dr Pr! That was very useful! I was pretty much despairing of the whole program when the cross-section tool didn't work.

Mark

Dr PR

#3
Mark,

I'll experiment with the Cross Section tool when I have time. You may have uncovered a bug.

Maybe someone else can shed some light on the problem?

Remember, no one said the program was perfect (is any?) but DesignCAD usually has a pretty good way to accomplish a particular task.

Phil
DesignCAD user since 1987

Dempsey

MarkX,

I have been playing around with Cross Sections myself and they seem to work fine. Can you make the drawing available where you have the Cross Section problems with so I can see if there is something unique about your drawing.

BTW, I am running V21.1
Dempsey

MarkX

Quote from: Dempsey on January 10, 2012, 04:36:31 PM
MarkX,

I have been playing around with Cross Sections myself and they seem to work fine. Can you make the drawing available where you have the Cross Section problems with so I can see if there is something unique about your drawing.

BTW, I am running V21.1
At first I thought the problem might be fixed in V21.1. Then I was able to duplicate it in this file. Do the cross-section using the XZ plane at the bulls-eye shown. When you do, you'll see the cross-section gets drawn across the windows and pillars immediately to the right, but nothing else.

HTH
Mark

Dempsey

Mark, a very interesting problem. The good (or bad) part is that I can easily reproduce it.

I create the attached drawing by creating solids and using solid subtracts. Then dis as you did, created a cross section in the XZ plane at the pointmark.
Dempsey

Dr PR

Aha!

This is probably related to the failure of "Surface Intersect" to find all intersections with solids that have been "massaged" by the solid Boolean functions (P-265).

"Solid Add" seems to be the worst culprit for me, followed closely by "Solid Subtract." The symptoms are:

1. "Surface Intersect" no longer works correctly.

2. Cross section apparently no longer works.

3. Some parts of the resulting solid may have altered materials - most commonly random facets of the solid are changed to the "Aluminum" material.

4. Some facets of the resulting solid may be moved to other layers. Layer 0 (zero) is the normal destination, but on one occasion the missing bits were in a layer numbered higher than all other layers in use (this may have been the result of somethihg I did - I haven't been able to repeat this).

5. Solids combined with "Solid Add" may render bizarrely. Less often it appears "Solid Subtract" may cause this. It appears that the shading of the shadow side is displayed on the lighted side. In some cases rectangular facets have a "bowtie" shading with the shadow side on one end and the lighted side on the other end. A complex solid looks like it is being viewed through a kaleidoscope. In most cases closing the file and reopening it will fix this problem.

6. Mirroring solids produced with the solid Boolean operations will also provoke the display issues described in 5 with the new copy, but the original may display correctly.

Note: I rarely use any of the other solid Boolean functions, so don't assume these problems are limited to "Solid Add" and "Solid Subtract."

Note: The problems I described are not rare. They occur regularly in large drawings, probably as often as one in four or one in three times the solid Boolean functions are used.

Phil
DesignCAD user since 1987

Dean

#8
In the attached dcd file I drew something similar to Dempsey using the wall tool then using boxes as a solid subtract. If you use the solid>cross section tool and choose xz plane can you explain to me why the XZ plane cross section works. I really think it comes down to what designcad defines as a solid and how entities are created by the user within the designcad interface. It is clearly written in the manual what the tool can and can't do.
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

Dean

#9
Hi Mark, I used the "contour line tool" on your drawing and dempsey's and it created a cross section, go figure. i'm a bit slow :( To confirm what phil  mentioned. it does say 'slice/cross section/contour in the command window. the cross section tool creates a solid plane even if there are openings and it is not closed.
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

Dempsey

Interesting observation Dean, I was not aware of the "contour line tool" under Draw/Line. It works better, but when I put the XZ plane a bit higher it also shows errors.

Indeed it appears to use the the same slice/cross section/contour function internally.
Dempsey

Dr PR

Mark,

I opened your original drawing and found the Cross Section tool worked as you described.

I exploded the wall solid and picked the wall plane around all of the "garage door" like openings.

I then extruded it (X) through your wall distance. The Cross Section tool worked correctly on the extruded wall!

I copied the wall plane again, and this time constructed a wall plane by plane, just like the extruded version. I selected all the planes and used Solid Define to make a solid. Then I used the Cross Section tool and it worked correctly!

Next I used the Box tool to create a new wall and another solid to create a door opening. I replicated (N) the door solid three more times in the positions of your door openings. Then I subtracted (Solid Subtract) the four door openings from the wall solid, one at a time. I tried the Cross Section tool before starting and after each subtraction - it worked correctly on all solids every time!

Like you, I don't understand. The Cross Section tool worked on every solid I created, no matter how I created it, but it doesn't work on some of yours. In the same drawing!

However, I can tell you that there is something strange about this drawing. When I draw a line and end it with the Enter key, the program leaves a ghost cursor (3D "+")at the last cursor position. Every time I do anything the screen blinks noticeably. This doesn't happen with any of my drawings - at least not lately. I have seen the ghost cursor in the past but not recently.

Phil
DesignCAD user since 1987

Dempsey

Phil,

Use my crosssection.dcd in one of my earlier replies in this topic. It is made with solids and solid subtracts only. Apply Solid / Cross Section ==> incomplete. Use Draw / Line /Contour Line it it is not perfect either.
Dempsey

MarkX

Quote from: Dempsey on January 10, 2012, 10:22:04 PM
Mark, a very interesting problem. The good (or bad) part is that I can easily reproduce it.

I create the attached drawing by creating solids and using solid subtracts. Then dis as you did, created a cross section in the XZ plane at the pointmark.
It gets weirder. Move your pointmark down 2 units. Now the cross-section gets created completely! Same solids -- different result.

Dr PR

#14
Dempsey,

I used your file and got the results shown in the image, and it confirms what Mark just said.

Neither "Cross Section" nor "Countour Lines" works reliably.

DesignCAD V21.1.

Phil
DesignCAD user since 1987