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.

Projections of solid into planes

Started by j-wetzel, March 25, 2015, 01:50:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

j-wetzel

(DC 3D Max 24.1).  I have drawn a solid (or at least a closed object bounded by planes, if that isn't the same thing to DesignCad)--in fact, it is an icosahedron.  I want to illustrate the fact that its orthogonal projection P1 onto one plane very nearly fits inside its orthogonal projection P2 onto a different plane.  I think I have figured out how to find the projections as 2D drawings, although a few properly chosen words of wisdom on the best way to achieve this would be most welcome.  Then I want to superimpose the projection P2 on the projection P1--which I assume I can do by just copying the pasting.  But what happens to the dimensions during this process?  The projections must both be orthogonal projections of the same icosahedron, or the point of the drawing will be lost.

This is a weird mixture of 3D and 2D drawing, and I frequently get lost. 
--Jack

Dr PR

When you save a 3D drawing as a 2D projection (File/Save As/2D Projection) the dimensions are preserved - the same in 2D as in 3D. So two projections from different angles will have the same scale. You can then load them into a 2D drawing and superimpose, etc. Colors, layers, etc. carry over from the 3D drawing to the 2D projection.

In 3D mode you can use the View Toolbox to specify exact rotations. Use "View/Show-Hide" to make the toolbox visible if it isn't already.

****

With the 2D projection save operation all of the lines in the 3D drawing are projected as a wireframe into the 2D drawing.

If you use the "With Hidden Line Removal" option you get a hidden line projection.

If you have one line directly in front of another in the 3D view the 2D drawing will contain both lines, one on top of the other, but they appear as one.

The "Enable Hidden Line Cleanup" option removes duplicate lines.

****

In complex drawings with grid surfaces the hidden line removal doesn't work very well - some lines that should be removed are not (especially with grids) and some lines that shouldn't be removed are.

Often it is easier to avoid the hidden line removal options and place the 2D projection on a single layer in a new drawing. Then switch to another layer and just trace (gravity snap to set points for Lines and Curves) over the part of the 2D projection you want. Then disable the original 2D projection layer and use the trace layer.

Phil

DesignCAD user since 1987

prl

#2
Quote from: j-wetzel on March 25, 2015, 01:50:45 PM
I have drawn a solid (or at least a closed object bounded by planes, if that isn't the same thing to DesignCad)--in fact, it is an icosahedron. 

Jack, are you willing to attach the 3d iscoahedron DesignCAD drawing?  I wish to tag along (learn) on your 3d/2d projection problem.

samdavo

Hear hear - I want to see what a Icosa-thingo looke like ...  :)

prl

Quote from: samdavo on March 26, 2015, 02:00:41 AM
Hear hear - I want to see what a Icosa-thingo looke like ...  :)

Sam, I think Lar showed us the way http://forum.designcad.com/index.php?topic=5301.msg35252#msg35252

but I thought maybe Jack could show us for sure.

samdavo

Dead right prl,
At my age, I personally would happily take a punt ...
but my "kids"? - wouldn't have a clue , i.e. what a Icosa-thingo looke like  :)

Hey. I'm not (intentionally) taking the piss. indeed I'm looking forward to how this thread resolves itself ( as I do about each and every thread on the forum :)  )

prl

#6
Quote from: samdavo on March 26, 2015, 02:38:57 AM
i.e. what a Icosa-thingo looke like  :)

Sam, using Lar's step by step, this is what I get.  Jack will need to confirm.  The xyz triad is at 0,0,0.

j-wetzel

In response to a great many requests (viz., >2), I attach the two 3D plots I am currently trying to manipulate.  Dodec.dcd is the dodecahedron, which is familiar to everyone because it has 12 faces and is commonly used to make a nice desk calendar; and Icosa.dcd is the dreaded icosahedron.  These are two of the five solids known as "Platonic solids": the other three are the tetrahedron, the cube, and the octahedron.

Thanks for all your suggestions and comments.  Now that I'm back from lunch, I'll try again to do what I want to do..
--Jack

prl

#8
Quote from: j-wetzel on March 26, 2015, 11:40:14 AM
Icosa.dcd is the dreaded icosahedron.

Thanks.  I literally gave your model a spin. There are two missing facets of the 20.  I can see into the icosa. . . . and see the red line (pole to pole).  Maybe you intended this. 

j-wetzel

Thanks prl.  The red line is one of the axes I need; but how did you know that two of the facets were missing?  I'm not surprised to learn that I missed some--actually I'm quite pleased the drawing is as good as it is.  But how could you tell?
--Jack

prl

Quote from: j-wetzel on March 26, 2015, 01:58:52 PM
but how did you know that two of the facets were missing?

Select the main window then shade the view (make sure graphics acceleration is checked).  You can then hit the Y hotkey to put DC into a real-time camera orbit mode.  You'll see the missing facets (two of them) and the red line inside.

j-wetzel

Thanks again, prl.  That's the difference between the professional and an amateur.  You guys remain the best help service on the internet!
--Jack

prl

#12
Quote from: j-wetzel on March 26, 2015, 05:10:37 PM
Thanks again, prl.  You guys remain the best help service on the internet!

Glad to help.  When you get your projection demonstration worked out, I would be interested in seeing what you are describing in your opening post.

3d geometry and DesignCAD offers endless playgrounds for the curious mind.

Also, if you are into programming or just wish to use code already developed for DC, BasicCAD can help navigate DesignCAD in 3d mode.  Example, the below flash video which uses a macro so the user can use arrow keys to spin your model.

A movie - Using bdeck's vdd.d3m macro (prl version) to shade and spin Jack's Icosahedron

samdavo

prl
I seem to recall that you used a macro rather than the default "Y" hotkey - an improvement as I recall on the viewing spinning and manipulating operation?  Any tips?
cheers
sam

prl

#14
Quote from: samdavo on March 27, 2015, 09:24:14 AM
I seem to recall that you used a macro rather than the default "Y" hotkey - an improvement as I recall

Yes,  here is a link where I am suggesting the reassigning of the Y key using vc.d3m. http://forum.designcad.com/index.php?topic=1832.msg9444#msg9444

The routine is here: http://forum.designcad.com/index.php?topic=758.msg3545#msg3545