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 1 Guest are viewing this topic.

Dean

#15
The attached file below is Dempsey's original with some changes made. I exploded Dempsey's original drawing then extruded the planes into solids (rather quickly). Then I cleaned up the drawing a little bit and put all the solids on a layer I created. Then I named the walls in the info box.  Now, the cross section tool works. I used "K" snap to pick the cross section point. So where is it when dc gets confused?
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

Both "Cross Section" and "Contour Line" now generate the appropriate set of lines - but the cross section lines are not created on the active layer or in the currently selected colr.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dean on January 14, 2012, 04:35:54 PM
The attached file below is Dempsey's original with some changes made. I exploded Dempsey's original drawing then extruded the planes into solids (rather quickly). Then I cleaned up the drawing a little bit and put all the solids on a layer I created. Then I named the walls in the info box.  Now, the cross section tool works. I used "K" snap to pick the cross section point. So where is it when dc gets confused?
Add the walls together again. The wall at the far right doesn't mesh with the rest of the model. When you do the cross section now, that part of the new solid will not be represented in the cross-section. Ok, that part makes some sense. But also the cross section will not be made to the right of the right-most window. That makes no sense. Apparently DC considers the wall to the right of the window as part of the far right wall rather than part of the front wall. Go figure.

In any event, DC should be making the cross-section in those parts of the wall no matter what they're part of, as long as they're solids. But it doesn't.

Dr. Pr: The cross-section appears to be created on the same layer and the same color as the wall that it cuts through.

Mark

Dean

#18
The attached file below is Marks original file with one minor change. Now try the cross section tool on it,It works. I used the "K" snap when selecting the cross section point. The walls in Marks drawing were 8 feet in height. Now they measure 7.99 ft. I used the slice tool to cut it down, go figure. ;)
"Add the walls together again."

Yea, and keep adding(solid add) them until all 4 walls are 1(solid) and you end up with the same result as Dempsey did in his original file. It's always good to know what you 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

MarkX

Quote from: Dean on January 14, 2012, 09:23:32 PM
The attached file below is Marks original file with one minor change. Now try the cross section tool on it,It works. I used the "K" snap when selecting the cross section point. The walls in Marks drawing were 8 feet in height. Now they measure 7.99 ft. I used the slice tool to cut it down, go figure. ;)
That's interesting. Maybe something about the slicing "glues" it back together.

Quote
"Add the walls together again."

Yea, and keep adding them until all 4 walls are 1 and you end up with the same result as Dempsey did in his original file. It's always good to know what you can and can't do.
Well there's nothing in the manual to suggest that adding or subtracting solids will interfere with the cross section tool. And in most real-life uses you want a tool to work exactly like advertised or, at least, to be recognized as a bug.

Thanks!
Mark

Dr PR

#20
Mark,

You are right. The Cross Section tool should create sections through all solids.

The function works only with solids - not with grids or planes, even if you define them to be solids.

I have been reporting bugs with the Solid boolean functions for some time now, especially Solid Add and Solid Subtract which I use most. My guess is that the boolean functions somehow change the descriptions of solids so parts of them are not recognized as solids by the Cross Section function.

One thing to note - the cross section that is generated is a plane, and not a line.

I tried something else - see the attached picture. I drew a single horizontal plane larger than all the objects in your drawing. Then I moved it so it intersected all of the walls. Then I used the "Surface Intersection" function to create a line at the intersection of the plane with your solids, using Line Snap (K) to snap to the outside edge of the wall corner. Look at the result. The magenta line is the intersection of the plane with your wall.

1. It doesn't recognize the wall as a solid or the intersection would show on all outer surfaces - it just found one side. The Info Box reports that all of the walls are one solid, so the intersect line should have extended through everything just like a Cross Section.

2. Stranger yet, it thinks the wall surface extends in front of the doors - as if the wall was continuous over the doors. Bizarre!

The program definitely does recognize the walls as solids even though the Info Box says all the walls are a single solid. Three different functions generate three different results.

There is definitely a bug or two here!

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on January 15, 2012, 04:49:53 PM

There is definitely a bug or two here!



And here's something to think about. Dean's post got me thinking. Instead of a cross-section, I performed a slice, cutting off the top half. The slice routine uses the same dialogue (the title of the dialogue is "Slice / Cross-section / Contour") as the cross-section routine. The difference is that the slice works perfectly. Then, just for more interest, I performed a cross-section 0.01 unit below the new (sliced) top of the model. NOW the cross section is perfect. Of course, now half my model is gone ;-)

If it knows how to slice, why doesn't it know how to do a cross-section? And why should the cross-section work *after* a slice?

Mark

Dr PR

Mark,

Just a guess - Slice forces the program to create new solids. In the process it puts the pieces together correctly.

I suspect that Cross Section, Contour Lines and Surface Intersection are seeing some sides of solids as independent planes or grids, and not as parts of solids.

Phil
DesignCAD user since 1987