Duplicating boltholes - a different way

Started by samdavo, February 25, 2015, 01:16:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

#15
Actually, that's an interesting "crazy-camera" you have there Dempsey :)

PS I was only talking about sliding the holes in the plane of the plate. I notice you have (presumably?) slid that hole perpendicular to the plate.(?)

Herewith a screen snip with and without Graphics Acceleration.  ( i.e. GDI and OpenGL resp,   - although I am using V22.1 which only had the accelerator).

PS And also I enclose a dcd file which you may find handy for swapping the "object under investigation" with others.  but always bring the solids to this drawing - otherwise the lighting and shadows are lost. (2 cents)

But that's an interesting problem you have there !  thanks for posting.
PS I'll give it a go one day - but probably after a week or so, as I am on leave until then. ...  See below.


prl

#16
Quote from: Dempsey on February 28, 2015, 04:48:30 PM
Sam, stop doing that to me  ;D ;D ;D You caused me to play with a "holed" solid creating an unreal solid

The nickels drops for Sam and Dempsey.  Magicmatter - converting a hole into a whole.  (http://forum.designcad.com/index.php?topic=5546.msg38040#msg38040)

samdavo

#17
 prl, and Dempsey
Just because Dempsey pushes the boundaries (literally) in a different direction to the way I pushed the boundaries - and HE / you ended up with improper results - doesn't mean that MY extended boundaries are ALSO improper, lol ! :)

Or to word it differently, I would argue that he / you are making your improper solids improperly.

i.e. In summary, I find no problems with sliding holes around a plate.

PS and in any case, I have another theory - all Dempsey has to do is multiply by [sqrt (-1)], and it's sure to become real again. :)

But being serious for a minute, the problem with moving the hole in the direction you have, i.e. perpendicular to the plane, you end up with a  seriously warped plane.  Personally I can see that DCAD would get confused there...  WHEREAS sliding the hole around the plane is or appears to be acceptable. (IMO - and fingers crossed).

..................

BUT HEY - straight away that becomes the next challenge,  how do you move the hole perpendicular to the plate, in a way that DCAD can accept it, or can split the warped plane into unwarped triangular planar segments?

PS And straight away again, a solution springs to mind, namely to explode the improper solid, get rid of the strange planes, and use surface connect to redraw that "roughly conical" taper. (2 cents)  - refer the attached jpeg which a) took a while to do, and b) isn;t perfect anyway  - ... and c) has little or nothing to do with point select mode and this thread.

PS A better way than Surface Connect in the next post.


samdavo

#18
And here's a better way than using Surface Connect to achieve that conical nose on the camera - it is to use the macro above (mtpm.d3m) - just on the green rectangular prism (made from a rectanglur vector that has been segmented, then made into a plane, then extruded). Basically you reduce one end of the rectangular prism to a circle - and you get a real neat circle - and real neat cone - real easily (2 cents)

PS see you in about 10 days - I'm heading bush till then :)

prl

Quote from: samdavo on March 01, 2015, 12:34:43 AM
PS see you in about 10 days - I'm heading bush till then :)

In Australian speak I'm hoping that means you are taking a vacation (rather than getting medically repaired or reduced (gutted) as Phil would say).

And trending on the news lately, Live long and use DesignCAD!  (RIP Spock), and what color is that DesignCAD model, black and blue or gold and white?

samdavo

#20
Just going walkabout for a few days (as the Aborigines would say),
Looks gold and white to me.  What's the correct answer? Was I right? :)

Something about rods in the eye - I heard one expert calling them cones, but then another expert calling them cylinders - Anyway, when they make up their minds, DCAD can whip them up in no time whatever they are, and with or without a macro.

As for the colour of these rods and other things drawn in DCAD, were they (eg)
a) yellow on dark blue background (my computer), or
b) dark blue on yellow (yours maybe)?  (2 cents)

Dempsey

Spent only a few minutes starting with my original drawing. This time trying to put the cat back into bag as they say.

With RedSDK I end up with the rim of the square and the rim of the hole; front and back is lost.

Without RedSDK I can move the hole back and everything appears to look fine. Saved the file and looked at it with RedSDK and it looks good there too.

I need to research this more and look at the hidden lines of the solid itself when I have a bit more time.

Dempsey

Dr PR

Sam,

The "conical" nose to the camera in #19 looks like a very improper surface/solid.

The image shows facets that are angled differently at the short sides, and that is guaranteed to cause problems with rendering and editing with the Boolean functions.

However, I suspect the original rectangular facets were actually converted into pairs of triangles. You would have to explode the surface to see what is really there.

While the solution shown does produce the desired surface, it generates about twice as many triangles as necessary to represent the surface. All you need are four isosceles triangles (top, bottom, left and right sides) connecting the corners of the rectangle to points at the top, bottom, left and right extremes of the "circle" and a bunch of triangles connecting each segment of the "circle" to the corners of the rectangle.

Phil


DesignCAD user since 1987

prl

#23
Quote from: Dr PR on March 01, 2015, 02:19:33 PM
The "conical" nose to the camera in #19 looks like a very improper surface/solid.

Here is what is happening.  In DesignCAD, solids with internal openings (round, square, anything) has that surface (a mathematical plane) defined by what Phil, Lar, etc. call a "Smart" plane.  That "smart" plane is a single multi-segment line defining a DesignCAD plane.  It contains switchbacks, line segments that travel back on itself to complete the single multi-segment line.  When DesignCAD processes one of these "smart" planes, it automatically "hides" the switchback lines.  A very efficient and clever algorithm for defining planes with internal openings.  But the rules for these "smart" planes is that the "openings" with switchback lines are all contained within the perimeter.  And the "holes" are in one mathematical plane with all the points of the "smart plane". 

Magicmatter, DesignCAD magic, etc. occurs when you move the "hole" points outside the perimeter points, or out of plane from the original plane. Technically you've taken a proper solid and fiddled with the point locations for the smart planes to make the overall solid a silly solid.  It can be done as demonstrated and of course the rendering code doesn't know what to do.

And to get back to Sam's original observation.  You can move the "hole" points around as you wish, resize them, change the shape, etc. as long as the points remain within the perimeter points and remain in the same original plane.  In those cases, the "smart" plane is indeed "smart" and very flexible.

samdavo

#24
Quote from: Dr PR on March 01, 2015, 02:19:33 PM
Sam,

1. The "conical" nose to the camera in #19 looks like a very improper surface/solid.
/////////
2.  All you need are four isosceles triangles (top, bottom, left and right sides) connecting the corners of the rectangle to points at the top, bottom, left and right extremes of the "circle" and a bunch of triangles connecting each segment of the "circle" to the corners of the rectangle.
Phil
Phil
I note you can still think straight lol - that's a good sign for your quick recovery :)

Trouble is I'm trying to think twisted ...

1. I enclose the dcd in case anyone is interested (but so far I have posted "several" dcd files, and with rare exception, these are never downloaded lol).    Personally I believe this is better than Surface Connect.  (And I enclose another screensnap which is based on Surface Connect, BUT exploded, and every second element deleted - to give striped segments.     

I call the file "Proper",  but mainly because it is more proper than Dempsey's camera. 

OK I concede that these elements are twisted, - and that applies whether or not you use Surface Connect, or prl's macro  (PS Which I doubt he ever intended to be used for this application lol) 

2. Good point.   But ...  Sure that is probably easier to make a shape as you say - and better and easier to make - like a standard airconditioning duct transition yes?,

... but it is also a different shape to what I was after - EVEN if this is "a hypothetical" (which was suggested by the jpeg in Dempsey's post).
cheers
sam

PS  Looking at that jpeg below,  And whether or not it is proper - In the end this can be extrapolated to be a discussion on the validity of ANY surface connect result yes?

PS And I repeat (and as prl has confirmed) that I really started this thread to talk about valid and proper tricks of sliding holes around plates - and/or stretching them or rotating them in the plane of the plate surface.

Dempsey

prl,

With my improper solid I did "Edit --> Show All Edges" to show the extra hidden solid lines. That indeed confirms what you mentioned, and that I should stay away from "air conditioner duct transitions"  ;D
Dempsey