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.

intentionally warped and/or wrapped planes

Started by samdavo, July 04, 2014, 04:58:57 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

samdavo

I note that, when you are dealing with a polygon of more than 3 sides, that you can move points (using point select mode and/or stretch) and end up with a warped plane - Infobox is still saying it's a plane, but it can in fact be multifaceted.

I enclose an example of
a) a red plane that is warped by this method
b) what you get when you wrap the points around a sphere (by moving the points onto the sphere one at a time)
c) and finally what you get with qs2 - just to show that the lines of longitude are still ther on the yellow sphere, but not on the red multi-faceted "plane".

Uses for this?  Not sure - but hey that's been the case for many inventions that arrived "before their time" :) 

samdavo

#1
To be honest, it doesn;t stand close scrutiny -
I enclose wireframe (including evidence that Infobox thinks it is still a plane)
and also shadows with graphics accelerator off  (where many planes sides are not shaded, and many don't cast a shadow - well not reliably anyway).

I imagine this would be a semi-disastrous problem if you achieved this accidentally  :)

And the likelihood of someone wanting to so it intentionally is,  err ,  "remote" lol

(Edit - these are the same objects as attached to the first post - and reposted in third png below - but there I used graphics accelerator - and went on to use qs2.d3m to show that some lines of longitude are present and some are not).

(edit) - I just thought of an implication of - and application for - all this. 
1. Suppose you accidentally twist a plane, and it doesn't show up with accelerator off, then
2. try with accelerator on :)


Oops - but then the red twisted plane might show up as black in some views ...  ( in summary it's pretty daggy).


Dr PR

Sam,

Well, no one should want to do this intentionally, but someone who was unaware of the shading problems that result from warping a plane might do it. In fact someone would do it. Me.

I used to be pretty cavalier about moving points on a planar polygon to close gaps between surfaces. DesignCAD didn't seem to care that the polygons weren't planar, so why should I? Well, after creating quite a few large drawings (in my ship modeling project) I began to see some really odd effects:

1. Surfaces would shade  properly along one edge but show a darker shading along another. In fact, the darker shading was the color of the reverse side (in shadow). Often rectangular grid facets shaded with a "bowtie" effect.

2. I would find odd shadows all over the place, even on surfaces that had nothing between them and the light source. Twisted planes more distant from the light source were projecting shadows back toward the light (180 degrees off) and those shadows appeared on the light source side of surfaces closer to the light! Wierd!

When you rotated the view, using the "Move with eye" option for the light, the errant shadows moved across the surfaces in the opposite direction of the view rotation - the shadows followed the line of sight to the light source. Really wierd!

It took me a long time to trace down the problem.

3. Solid Boolean operations would create really strange intersecting surfaces with bits and pieces scattered off the surfaces.

As a consequence I have had to redraw some pretty large drawings. PITA!

****

So the moral of this story, which I learned the hard way, is DON"T DO IT! Don't even think about doing it!

With the upcoming changes in DesignCAD surfaces and solids I can just imaging horror stories of trying to translate these warped solids for STL export!

****

DesignCAD has a "rule" about shading adjacent polygons in grids and solids (but not two independent adjacent polygons). If the angle between the polygons is less than about 5 degrees the edge will be shaded as a smooth curve (if you are using smooth shading). If the angle is greater than about 5 degrees the edge will be shaded as a "knuckle" or sharp edge.

If you create too sharp a curvature by moving points in Point Select mode or by using the "Hammer" tool the grid surface may no longer shade smoothly.

****

There are several posts from a few years ago when I was reporting all sorts of odd behavior in DesignCAD. In fact, it was an operator problem and not a fault of the program. However, I do think DesignCAD should have a surface planarity check when you move points and warn you if you are creating a non-planar polygon.

The "Plane" tool will not allow you to create a non-planar polygon - it will move the fourth and subsequent points into the same plane as the first three.

Phil
DesignCAD user since 1987

samdavo

As usual, thanks for the benefits of your experience Phil,

I would humbly try to summarise thus :-
If you try such things in Solidworks ( which I use occasionally - but as little as possible) , it insists on perfection at each and every stage of the process, and no way would you get away with such warps etc.  IN fact you are lucky to get away with drawing a simply planar polygon and sweeping it - because it finds some fault with lines not closing, or your eyes are the wrong colour or some such 

  But in DCAD, you have to keep your wits about you, because the warnings are rare by comparison.

PS I prefer DCAD :))