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.

2d to 3d converting to plane issue (newby)

Started by compman2, January 07, 2013, 09:39:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

minstrel

#15
Great!  Compman2...Full Steam Ahead!

Quote from: compman2 on January 09, 2013, 10:05:00 AM
I have another real world project that I was working on and designcad has proved a gem.
Now this is a perfect way to get a 'handle' on working with DesignCAD.  It's basically where I spent my first few
years with the program :-\...  As a Landscape Contractor the software worked a treat and made me and my clients very happy.

Keep at it and bring all your 'challenges' and 'successes' back to the forum...that's what it's all about!

Minstrel

edit - good tip Mark!  I forget about that tool too many times!

Dr PR

compman,

Is the program failing to subtract anything in the failed holes, or is the resulting hole just not passing all the way through?

One thing that is guaranteed to cause strange behavior with Solid Subtract is if the subtracted object has common surfaces (coplanar) with the object to the subtracted from.

For example, you started with 2D outlines of the main object and the holes in it. When you extruded these objects the "hole" cylinders had ends coplanar with the larger object. In other words, the ends of the cylinders are surfaces in the same plane as the surface of the larger object.

Here is the problem: surfaces are zero thickness polygons. In other words, the cylinders do not actually pass all the way through the larger object. When you subtract the solids you are subtracting a zero thickness surface from a zero thickness surface. Zero minus zero = zero. You are telling DesignCAD to remove nothing from the surface, so it may not, and the ends of the holes are blocked by a zero thickness polygon. In a sense, it is doing what you are telling it to do.

I suspect this is a bug because I can't think of any reason why someone would want to leave a zero thickness surface over the end of a hole.

The way to avoid this problem (and any accompanying philosophical discussions about what the program "should" do) is to set up an unambiguious situation. Be sure the hole cylinders pass all the way through and beyond the surface of the work solid. End of problem.

****

So why doesn't it always work the same way?

When you create a hole in a solid surface DesignCAD actually divides the surface into a different polygon, or perhaps two independent polygons. The edges between these polygons is hidden to make them look like a single polygon with a hole in it. A polygon can have only one boundary, and that is the outside of the polygon - there cannot be two boundaries, one outside and one inside.

It is my guess that the different results occur because of the order in which the hole solids were created or selected. The cylinders are subtracted one at a time, even if they are all defined to be a single solid. After the first cylinder is subtracted the second cyllinder subtraction is working with a different solid (the modified plate with a hole in it) to subtract from than the first, and the third cylinder is working with yet another solid (two holes), etc. So each individual cylinder subtraction is a unique situation. Each cylinder cuts through a different set of surface polygons than the last.

I have noticed that you can "overload" DesignCAD as the result of too many holes punched through a plate. The surface of the plate becomes fragmented into dozens of irregular polygons. Sometimes the program "thinks" it has processed all of the polygons that intersect the hole cylinder, but misses one. In this case the hole is blocked by the surface polygon. You can tell when this has happened because the inside surfaces of the hole will be visible in wireframe mode, but in shaded mode the hole is covered over.

A last resort measure is to explode the solid, select the offending surface polygons, and either delete them or edit them in Point Select mode to wrap them around the hole. After all the problems are mended, select all of the parts of the solid and redefine it with "Solid Define."

Phil


DesignCAD user since 1987

Rob S

Sorry, I was away yesterday, and missed all the fun.

There are a couple of more ways in which this complete subtract could fail.

One is if one or more of the original circles failed to convert to a plane, before extrude and solid define, in this case you would be subtracting a cylinder instead of a rod, and you would not see a hole.

Indeed drag select worked in this drawing, another way would be to use selection filter by color to make sure all the holes are selected.

When I did it, I kept all the circles selected, did the plane convert, which you can see it worked if you have point select mode turned on, as all the new points show up, then extrude, then solid define, without ever losing the selection set, thus avoiding any chance of missing one..

I have not seen any reports of solid subtract failing particular to version 20.1.
User since forever