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.

Warn when extruding a non-plane

Started by MarkX, January 08, 2013, 07:38:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarkX

I would like the extrude command and variations to warn me if I'm about to extrude with something other than a plane.

Mark

Dr PR

Hmm...

I'll have to think about that one.

It is perfectly legal to extrude anything in DesignCAD. It is up to the users to know what they are doing.

For example, you can create a surface grid with "Surface Connect" and then extrude it to create a solid. You can draw a line and extrude it to create a plane. A circular line can be extruded to create a cylindrical grid.

All of these are quite reasonable operations. It would really annoy me to have the program stop the operation and say "Are you sure?" "Are you really sure?" "Say please!"

Unnecessary dialog boxes are the bane of efficiency and productivity.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on January 08, 2013, 08:49:16 PM
Unnecessary dialog boxes are the bane of efficiency and productivity.

Except when they're not. 90% of the time I want to create a solid. Can't tell you how many times I've gotten 10 steps in and then discovered that back at the extrude step I had forgotten to form a plane first. This is especially so since its just not practical to work in hidden line mode or render mode where you would spot the mistake immediately.

For people with perfect memories, there can be a "Don't ask me again" checkbox like we see on the tips dismiss dialog.

Mark

Dr PR

Mark,

I do understand what you are saying. I have been bitten in the posterior by the same thing more times than I like to think about! This is why I try to avoid working with lines in 3D mode, and always create polygons or solids when possible.

Still, sometimes it is necessary to use lines and segmented curves to piece together the outline of a polygon. It might be possible to do it by creating a sequence of polygons and subtracting them from a working polygon, but I would be really POd of that was the only way to work!

On those occasions when I am forced to work with lines in 3D drawings I am aware of the potential problems, so I rarely forget to create a true polygon before extruding. I guess after having been bitten so many times I learned my lesson.

I am probably a bit more paranoid than most about this, so I usually just use the lines as a template and manually draw a polygon over them using gravity snap. In other words I avoid combining lines to make a polygon if at all possible, so I almost never end up extruding lines instead of polygons.

Phil

PS: I would not object to a warning if I do not have to respond to it (and it if doesn't pop up in the middle of the work space). Just ignoring it wouldn't slow down productivity much.
DesignCAD user since 1987

magic

Hi Mark and Phil,

I wouldn't mind such a warning, but then

  • it ought to be a more general one, i.e. come up for Extrude, Extrude along a curve and Sweep as well,

  • it should be activated via a check box in Options > General and,

  • it should be unchecked as default.
Also as Mark says, it must have a check box, in which you can deactivate it.

Speaking of Surface Connect, I think there ought to be a "fill up empty space" command, sort of like a Hatch Fill but with "matter". For instance, if you connect two planes using Surface Connect, you only get two planes and a surface grid between them, not a solid, and there is no way that you can make it into a solid solid.

This would also be handy, if you'd ignored the above warning, if it existed.
It's a kind of magic!




Dr PR

magic,

I didn't understand your comment about Surface Connect. What do you mean about connecting planes with surface Connect?

Phil
DesignCAD user since 1987

magic

Hi Phil,

In the attached picture you see two planes (objects 1 and 2) that I have connected using Surface Connect. Then I have moved the connection (object 3) to the right and shaded it, and as you can see it's a hollow shell.

If I had extruded a plane, it would have been solid.

Does this make it clearer?
It's a kind of magic!




JJG

Yes, Magic, it's OK

note however that concerning the object (grid) # 3, you would get exactly the same result if instead plans # 1 and # 2, you were "surface connected" the contour lines of these two plans.

Dr PR

magic,

Did you use the two polygons as the lines for the Surface Connect or did you draw lines around them?

I do understand your point - Surface Connect just creates an open grid, not a solid, whereas extruding a plane will make a solid.

Your "fill space" option would cap the ends of the grid and create a solid.

I can see how this would work IF the starting curves were planar, but that is not a requirement of the Surface Connect function. The template lines can curve in three dimensions, so the open ends of the grid may not be planar. I guess something like Surface Patch could be used to stretch a grid over the open ends, but the user would have little control over this. You can always do the Surface Patch manually.

However, it is very easy to select the grid and the two polygons/end grids and use Solid Define to create a solid.

Phil
DesignCAD user since 1987

magic

Hi JJG and Phil,

Quotenote however that concerning the object (grid) # 3, you would get exactly the same result if instead plans # 1 and # 2, you were "surface connected" the contour lines of these two plans.
Yes, I know, I used planes to illustrate the idea. What I'm looking for is a way to fill an area surrounded by planes and grids, so as to create a solid.

QuoteDid you use the two polygons as the lines for the Surface Connect or did you draw lines around them?
I used the two polygons, drawn as planes and just moved the connecting surface to the right afterwards.

QuoteYour "fill space" option would cap the ends of the grid and create a solid.
This is what you get, before moving the connecting grid as I did above. Using Solid define doesn't fill up the area.

QuoteI can see how this would work IF the starting curves were planar
Why would they need to be planar? I want to fill in the area inside the two planes and the connecting surface grid.

QuoteHowever, it is very easy to select the grid and the two polygons/end grids and use Solid Define to create a solid.
Yes, but if you slice it or do a solid subtract on it, it will still be hollow inside. What I'm looking for is something like Hatch fill, but in 3D.
It's a kind of magic!




Dr PR

magic,

I learned something new! I have never tried to use polygons as the "curves" for Surface Connect. The Reference Manual and on-line help say nothing about polygons so I never tried.

That brings up the question how you discovered it?

Phil
DesignCAD user since 1987

Lar

#11
Quote from: magic on January 13, 2013, 12:48:55 PM
Yes, but if you slice it or do a solid subtract on it, it will still be hollow inside. What I'm looking for is something like Hatch fill, but in 3D.
Magic,

As long as the connecting Grid Surface connects all of the points of the 2 Planes you should get a 'Proper Solid' (ie, one that would not be 'hollow' if Sliced) if the 3 entities are defined as a solid.

This should happen as long as the 2 planes have the same amount of points and you select the 'use original points' option. Even if the grid twists you should be able to get a non-hollow slice.

Lar

magic

Hi Phil and Lar,

Phil, I think you may be confusing Surface Connect with Surface Patch.

Lar, thank you very much, you are right! I withdraw the suggestion.
It's a kind of magic!




Dr PR

magic,

I have used both "Surface Connect" and "Surface Patch" thousands of times and I know the difference. I do see that you stretched a surface between the two polygons - Surface Patch won't do that.

It was the part where you used polygons as the template "lines" that I was wondering about.

The Reference Manual and help instructions for "Surface Connect" say "Stretches a surface between two or more lines. The lines can be planes, lines, curves, arcs or circles." For some reason I hadn't noticed the "planes" (really polygons), and I was unaware that they could be used with Surface Connect. I have been drawing outlines around polygons and using them for the template lines - unnecessary work!

Thank you for bringing this up. It pays to read the instructions once in a while!

Phil
DesignCAD user since 1987

magic

Dear Phil,

As you know, "Real men don't read manuals and don't do backups, they just cry a lot".
It's a kind of magic!