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.

Subtract / Add polygons or cirlces?

Started by ms0212, February 21, 2008, 01:27:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ms0212

Hello everybody,

during my DC experiments I encountered a new problem, possibly someone could point me in the right direction  :-\. I am trying to add two circles (or subtract one from another), but the commands constantly fail. This is what I have tried so far:

* In 3D Mode I switch to the "View from top" view (my DC version is german, so I can only guess the english translations for window and command captions)

* I draw 2 overlapping circles

* I select "Edit" -> "Edit polygon" -> "Polygon Add"

* I move the mouse in the first circle, hit "." on the keyboad (also tried LMB click) to mark the first circle

* I move the mouse in the second circle, again hit "." on the keyboard and get "Command failed"

Results are identical for every operation in the "Edit polygon" menu  :(. What I really do not understand: If I try this with two polygons (or one polygon and one circle) it works like a charm! What am I missing here?

Thank you very much in advance for any hints.

regards,
marc

Pearco

Marc;

I tried your example and if when I draw the circle as a circle, it will not work. If I draw the circle with either the draw as plane or as lines selected it works fine. Try with different types of circle then of course you can convert to plane or what ever.
Jim
User since ProDesign 1.5

Dr PR

Marc,

Pearco is right. The polygon commands work only with various forms of plane surfaces.

There are three general types of entities in DesignCAD: lines, planes and solids.

Circles, triangles, rectangles or other polygonal outline are just open lines. If you shade them with Quick Shade they render as open lines. Polygon and solid commands will not work with these objects. Circles default to be just open lines and not filled surfaces.

Planes, polygons, parallelograms, grids, etc. will render as filled surfaces. You can draw "circles" as planes if you select that option in the circle command - these are actually drawn as many sided polygon surfaces. Polygon commnads work with these, but solid commands will not.

Solids are composed of planes (not lines) and only the solids commands work with them.
DesignCAD user since 1987

Lar

Quote from: Dr PR on February 21, 2008, 10:09:35 AM

There are three general types of entities in DesignCAD: lines, planes and solids.

... ... ...

Solids are composed of planes (not lines) and only the solids commands work with them.


I would differ with the top line (in the quote box above) and say that the main types are lines, planes and grid surfaces. Yes, a grid surface shades like a plane but a plane can only be flat (at whatever angle) but can't have creases in like a grid can.

With the second line I would comment that solids are not entities but a condition a group of entities are put in. Solids can consist of any group of dcad entity but a Proper Solid (my term) would consist of planes and grid surfaces only. The reason for this is that solids should always be a 3d object that is fully enclosed (not hollow with zero thickness sides) and the reason for that is if you do a Boolean operation on a solid, like Slice, Solid Add or Solid Subtract, the result should be a fully enclosed 3d object. It's like when you cut a piece of wood in two, or break up a rock, the resultant pieces are still fully enclosed. An egg shell, although solid in real life, would not qualify as a solid in dcad because breaking it would result in a hollow object. To get a hollow object from a dcad solid you would have to Solid Explode, delete one of the sides then recombine the parts in a group. You can recombine in a solid but it won't be a Proper Solid. You can Solid Subtract one solid from another, leaving very thin walls, which would qualify as a Proper Solid.

A single flat Plane would not be a Proper Solid but if you extrude a plane along its own plane line (so that the extrusion is flat) the result would be a Proper Solid.

Lar

Dr PR

Lar,

I definitely agree and disagree!

When I used the word "solids" I was thinking more of a class of objects that some commands work with and others don't instead of the actual nature of the solid objects themselves. This was Marc's problem - he was trying to use polygon editing commands with non-polygon objects. You could have the same problem trying to use solid editing commands with non-solid objects.

There are solids and there are solids ... In the real world there is no such thing as a 2D entity, so the side surfaces of solids don't really exist - they are just where the 3D interior stops. But in the imaginary CAD world 2D entities are "real" - we can draw and work with planes with zero thickness. Although solid surfaces may be "grids" these are just a specialized collection of plane facets (polygons) with zero thickness.

A "real" solid, in the real world and CAD world is fully enclosed, with no leaks. However, DesignCAD allows us to define anything to be a solid, even a simple line. DesignCAD solid boolean operations (almost) always create "real" solids that are fully enclosed. However, we can use Solids Explode to convert a solid into individual 2D parts, and Solid Define lets us create "pseudo solids" that are made of zero thickness sides and aren't fully enclosed.

DesignCAD "real" solids are typically made up of planes and grid surfaces combined into a collection that DesignCAD calls a "solid." These are not "hollow," have no apparent zero thickness surfaces, and have no "leaks" (openings between the interior and exterior). This is what you get with the solid creation commands like box, cylinder, cone, etc. The solid boolean operations work best with these objects, and the results are (almost) always "real" solids.

I say almost always, because in earlier versions some extremely complex boolean operations failed, leaving projecting 2D surfaces and an occasional hole or crack between the inside and the outside. This is something that has been improved tremendously in the last few versions, and I haven't seen this problem for quite a while.

Pseudosolids produced with the Solid Define command can defy ordinary "rules" and be open objects with zero thickness sides. The solid boolean operations can be used with pseudosolids, but they may or may not work as expected. In almost every case the result is not desirable. However, the unsatisfactory object can be exploded with Solid Explode, the unwanted surfaces can be deleted, and the remaining parts can be combined again into a pseudo solid with Solid Define.

A grid is a collection of points that renders as a smooth surface. In wire frame mode it looks like a bunch of interconnecting polygons. However, you cannot edit the polygons individually, and in point select mode you cannot add or delete points from these apparent polygons. The only way to edit a grid (that I have found) is to define it to be a solid and use the boolean operations to put holes in it, notch the edges, etc. Unfortunately, the result is often unusable, and may produce several fragment grids. Worse still, each rectangular facet may be converted into two triangles, the object size (bytes) is tripled, and rendering time may increase exponentially. The only other option I am aware of is to explode the grid and edit the resulting polygons individually. This also increases the size (bytes) of the resulting polygons, there is no way to put the parts back together again as a grid, and the individual polygons will not render as a smooth surface. However, if you collect all the pieces together and use Solid Define to make a pseudosolid, the resulting surface will render more or less properly (a smooth surface and not just a bunch of flat polygons).



DesignCAD user since 1987