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.

How to Draw, Connect, Surface, Rotate......Everything!

Started by Designer, February 05, 2009, 08:14:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Designer


Designer

Now I'm going to ask one or two basic questions because even though I have read a number of tutorials, I must have missed these techniques.

1-Suppose I want to draw a "T". I draw a vertical line and then a horizontal line. How exactly do I connect the two lines? And is this the same technique if I draw two boxes and want to connect a common side as well?

2-Suppose I draw a box, how many ways are there to put a surface on it? Is it only the "Surface Connect" feature?

3-To tackle my project, how would you begin? I would think to start with a top view and draw all of the main crease lines that lead from front to back as curves, but then how do I elevate them to the right elevation....would you use the side view window or the perspective window, or....? Or would you tackle it all a different way?

Thanks!
Wes

crckrjck

I have some tutorials on my website which I haven't updated in a long time, but should still mostly work with the newer versions.

Many of your questions may be answered there.
;D

bdeck

Also you might look at the drawing at this link:

http://forum.designcad.com/index.php?topic=652.msg2981#msg2981


Although the drawing in the link looks good on screen, this surface has not been properly faired.

DC has no tools to assist in surface fairing or lofting. For anything other than simple geometric forms, you'll probably need to write those tools in basiccad (please post if you do).

Regards,

BD

PS:

Stations for surface connect do not have to be parallel. The final station (the front one) can be right on the centerline.

Designer

Quote from: crckrjck on February 06, 2009, 08:12:49 PM
I have some tutorials on my website which I haven't updated in a long time, but should still mostly work with the newer versions.

Many of your questions may be answered there.
;D
Sorry, but I can't find my answers.

There are 22 tutorials and after reading several I still don't how to connect two lines, etc.. The problem with tutorials is they are often specific to the task at hand, and don't go any broader. There should perhaps be a tutorial about how to draw a specific line object from scratch, like a car or other irregular shape. The pillow tutorial was interesting, but short.

So again, if anyone wants to tackle my 3 questions it would be appreciated.

Thanks!
Wes

crckrjck

Q1: A line connected to another line:

  • Use Line Snap either at the beginning or end of the line tp place a line freehand.
  • Use Gravity Snap to begin from the end of a line , Midpoint Snap to start from the center.
  • Use Drawing command 'Perpendicular to a Line' or 'Perpindiular From a Line'
  • Use various Trim commands (Edit Menu) to extend to a line or trim back to a line.

Q2: Box Surface:
A box in 2D can have a hatch applied as a pattern, solid, gradient, or bitmap.

Abox in 3D is a native solid that can be viewed hiden lines removed or solid shaded.

3D boxes can also have colors and materials. Textures and hatches can be applied to the whole box or to any surface.

A 3D solid box can be 'Solid Exploded' to become a set of grids and planes. Those objects will also solid shade, can have materials applied, colors changed and texture mapping (images applied)

Q3: See Unleashed tutorial on 'contours'.
You can draw all the main contours for a curved surface from a 'head on view in 2D mode. Then move them to a series of depths in 3D to create a framework for a surface connect. Use a 3D grid on the x-z or y-z plane to help position these or an array of pointmarks or other snap anchors. A line drawn into the Z direction and then segmented into the desired number of pieces woks well. Use a common point in the 2D set of contours to set a handle on each contour to move it down the line or grid.



Dr PR

Designer,

To rotate the drawing in 3D view select the little "camera" icon That has four arrows around it. The View toolbar has two of these, on black and one yellow. The black one (Set View By View Center) rotates the drawing around a (sometimes unpredictable) point at the "center" of the objects currently seen in the Main window. The yellow camera (Set View By Drawing Center) zooms out so all objects are viewable and rotates about the center of all objects. These function work smoothly.

As far as creating a complex 3D shape like the picture you attached, you can do it with DesignCAD (I have a lot of experience with complex shapes) but there are some caveats you need to know about.

1. As mentioned above, you can't select a curved surface and give it a uniform thickness. This is VERY difficult to do with DesignCAD, especially for very large and complex surfaces like the picture you show. However, all is not lost.

If you are very careful in defining the framework of lines you use to create the surface with "Draw/Surface Connect" you can draw parallel lines at a distance (say 3mm) and use these to create a second parallel surface. You have to plan this carefully, and it will likely take several attempts before you get it "correct." This will be true for any program that doesn't have an automatic surface thickness function.

Then you must connect the two surfaces with planes around the edges, select the whole thing and make it a solid (Solid/Solid Define).

It is a lot of work, but it can be done in DesignCAD.

2. You may not be able to export your design to any other program. DesignCAD surfaces are composed of a "grid" of rectangular facets. When exported the may be exploded into independent facets. The smooth surface in DesignCAD becomes a faceted surface (not smooth) in other programs. This is true for simple surfaces such as the sides of a cylinder. In the other program you may be able to select all the facets and make them a smooth surface again, and maybe you can't. It depends upon the other program.

3. DesignCAD surface grids cannot be edited to add/subtract elements. You can edit them to reposition existing points (point Select mode - CTRL 1). You can define them to be solids and use the solid Boolean functions to add/subtract another solid "tool", but the grid will explode into a mess of rectangles and triangles. As long as these remain a solid they will shade smoothly in DesignCAD, but when exported all bets are off.

4. You can convert a multi-segment line into a curve (and vice versa) with "Edit/Selection Edit/Convert/Line to Curve." You cannot convert a simple two point line into a curve directly, but there is a fairly simple way to get a curve.

Switch to Point Select mode (CTRL 1 - all points on lines are displayed and you can add new points, delete points, and cut lines into two segments). Add new points to the line and position them where you want the curve to be. Then either convert the newly segmented line to a curve, or (simpler) use the segmented line as a template and draw a new curve (C) from point to point. Then delete the segmented template.

5. Keep in mind that there are lines and there are planes. If you want a flat surface DO NOT use the line (V) function to create an outline - it will be an empty outline. You can convert it to a plane, but it is simpler to use the Plane (P) command to create simple flat surfaces. Use planes to draw your box with surfaces, or just use the "Draw a Box" function in 3D to create a simple six sided parallelepiped.

6. To make the "T" draw the two lines and use the "Trim One Line" function to extend one line to meet the other. You can do this with multiple lines - the last line selected is the one the others will extend to. If you want to extend two lines to meet at a single point (corner) use the Trim Two Lines (SHIFT E) function. It is very easy once you have learned the commands.

7. To create your snowmobile hood I would:

A. Draw a 2D "map" of what the creases would look like when seen from "above." Include the overall outline of the part. Draw a straight reference line between the midpoints of the ends that are more or less perpendicular to the valleys.

B. Draw a new set of lines (in a different color) to represent where you want the high points between the creases - it is very important to get these exactly where you want them between the creases.

C. Next I would create a simple smooth surface that fits the outline of the hood and has the general shape of the whole thing. This is important! This allows you to define the overall shape before you try to create each ridge in the hood. Without this it will be extremely difficult to get a nice looking finished part.

To do this you will need to draw some curves to define the general shape and then use them as templates for the "Draw/Surface Connect" command. You might also be able to use the "Draw/Surface Patch" function with intermediate lines to accomplish this. Trial and error will reveal the best way. Repeat until you get the general shape you want.

D. Now Extrude the intermediate lines (between creases) vertically to create surfaces that intersect the curved surface. Use the "Draw/Line/Surface Intersection" function to produce lines on the surface that correspond to the high points of the ridges between the creases. Note: switch to an empty layer before doing this so the intersect lines will appear in that layer. Then you can turn off the layers with the surface and vertical grids to lessen the drawing clutter.

E. Take a break. Get a cup of coffee.

F. Repeat C and D to create a new surface that represents the bottom of the grooves, and extrude the groove lines upward to intersect it. Then use the "Surface Intersection" function to locate the bottoms of the grooves.

G. Now you have lines that show well coordinated tops of ridges and bottoms of grooves. These will serve as templates for forming the actual grid surface template lines.

H. Draw a vertical plane that will cut across all of the ridge and valley template lines. This plane should be created along an edge of the hood that is (more or less) perpendicular to the direction of the grooves. The idea is to step this plane in the direction of the grooves in equal increments to find the points where the ridge and valley template lines intersect it.

I. It is important to create the ridge template lines in uniform increments - the reason will become clear later. To get even increments draw tickmarks (Draw/Tickmark) along the central reference line (from step A). Start with something like 20 segments - you may need more for very convoluted surfaces.

J. Use the "Line-Plane" function to find the points where each valley and crest template line intersect the plane (note - the sides are valleys). Mark these points in some recognizable fashion. I just use the "V" command to draw a short line segment away from the intersect point.

K. There are two ways to proceed at this point. One is to draw simple three point curves (C) from one valley line intersect to a crest line intersect and then to the next valley line intersect. This will give you a bunch of arcs to use as templates for the "Surface Connect" function.

If you want to live dangerously you can draw a single curved line between sides, crests and valleys across the entire point. DesignCAD has a neat feature that lets you set two points in a curve at the same place. This will produce a sharp kink in the curve. IF it works properly with the "Surface Connect" function this is the best choice. With very complex curves it doesn't always work predictably.

L. Step the vertical plane to the next tickmark and repeat J and K.

M. This process creates the valley/ridge template lines to create the more or less final surface. If you want sharp "V" bottoms these tamplate lines will work as is. Use the Fillet (F) command to make rounded "U" shaped bottoms to the valleys.

N. Use the "Surface Connect" function to draw surfaces between template lines along each ridge. Experiment with the "Number of Intermediate Breaks" (the number of lines on the surface grid between each template line) and the "Number of Planes Per Line" (segments along each template line) to get a smooth surface. More is better - except the file gets larger and drawing is slower.

O. Use the Shading functions to see what it looks like.

P. It probably won't be perfect the first time. Go back to C and start over if necessary. You may be able to edit the template lines at a later step to get better results. Also, you can use a less than perfect surface as a "template" to create another set of template lines for yet another surface.

****

The simple three point curve template lines create something more like a parabola than a circular arc. If you need more points on these template curves you will have to edit them manually - a lot of work. However, if you want the surfaces of the ridges to have a circular arc cross section just use the "Draw and arc that passes through three points" function. Just click on one valley intersect point, then a crest intersect, and finally another valley intersect. Be sure to select "Draw as line" and set the number of segments you want - at least four to get five points on the arc.

****

Q. After you get the top surface to your liking start over at A for the bottom surface.

R. When you have the top and bottom surfaces finished you need to connect them along the sides. Switch to an empty layer and draw a multi-segmented line (V) along a side of the top surface. Then extrude (X) the line between the surfaces. First set a handle at one end of the line (at a corner of the top surface) and extrude to the corresponding corner of the bottom surface.

S. The resulting grid will not connect the two surfaces correctly. Switch to Point Select mode (CTRL 1). Select the side grid and move each bottom edge point to the appropriate point on the edge of the bottom surface. Repeat R and S for all sides. If you have holes in the top/bottom surfaces you must also stitch together the edges around the holes in a similar manner.

T. After you have finished all the edge surfaces, move all surfaces (or copy them) to an empty layer. Be sure no individual lines are moved to this layer - just surfaces. Select the surfaces layer and disable all other layers (L - layers dialog). Use the "Wireframe View" function and deselect the "Wireframe Renderable Objects" option. The view should be empty - no nonrenderable objects should show, If they do, move them to another layer. The select the "Wireframe View" and select the "Wireframe Renderable Objects" option. Be SURE that only the surfaces layer is visible and unlocked (Layers dialog).

U. Select all of the surfaces (select all) and use "Solids/Solid Define" function to create a single solid object.

That's all there is to it! Wasn't that easy!
DesignCAD user since 1987

Rob S


Wow!  Dr, are you getting paid by the word here? ;D

They need a new statistic in the members area = total word count to date = you'd kill us!!!
User since forever

Designer

Wow, phenominal post, thanks!
Quote from: Dr PR on February 09, 2009, 02:01:45 AM1. As mentioned above, you can't select a curved surface and give it a uniform thickness.
This is VERY difficult to do with DesignCAD, especially for very large and complex surfaces like the picture you show.
I am just wondering, if I wanted my design Rapid Prototyped or produced with 3D Printing, anyone think I could submit a shell drawing and they would just add the 3mm on their end?

Dr PR

Designer,

I forgot to mention that adjacent surfaces may not match up perfectly - there can be tiny gaps between the surfaces created with Surface Connect. Examine the results carefully from multiple angles. You can use the Point Select mode (CTRL 1) to reposition points on surface grids to close these gaps. This is why the single curve with inflection points mentioned in step K is advantageous. If it works (and that is problematic) there will be no gaps.

Also, you really should be careful to always use the same number of "breaks" between the template lines so that each surface grid has the same number of elements on the edges that run down the valleys. This greatly improves the probability that the surfaces will align correctly without gaps.

Sometimes the only way to get the Surface Connect to do what you want (as opposed to what it wants to do) is to force it to use the original points in the template curves (select "Use Original Points" and "Retain Original Point Order"). For this to work correctly the template lines must:

1. Have exactly the same number of points. Use Point Select mode and select a line to count the points.

2. Have the points ordered in the same direction. One of the insidious bugs in DesignCAD (maybe a deliberate Stupid Programmer Trick) is that each point in a line is numbered, and commands that use these points follow the number order of the points. If one template line is created from left to right and the next is created from right to left, the resulting surface will be twisted into a bow-tie shaped mess. Yes, it is stupid, but that is how it works.

To make matters worse, some commands scramble the point order. The line appears to draw correctly, but it cannot be used with Surface Connect.

If this happens select the offending line(s), open the Info Box (CTRL I), and use the little button near the top that has the horizontal red and blue arrows to reverase the point order in the line(s).

If all else fails use the existing line as a template and draw a new line over it, being careful to start at the correct end (relative to other lines point order) and set the points for the new line at the points of the old line. Then delete the old line.

If you want to see some complex surfaces created in DesignCAD go to www.okieboat.com and look at the Modeling Information page and select the CAD Model Page.
DesignCAD user since 1987

Designer

Quote from: Dr PR on February 09, 2009, 01:09:42 PMIf you want to see some complex surfaces created in DesignCAD go to www.okieboat.com
and look at the Modeling Information page and select the CAD Model Page.
I wish my project was that simple.......................KIDDING!!!!  ;D

Wow! What a piece of work! Congrats! It's some program that can do all that,
but I suspect you're pretty good..... ;)

Thanks again.
Wes

bdeck

Here's something more similar to your project:

http://www.cadsavant.com/nogo/dc/cowl03.jpg

A single station, rescaled for 3 locations, and then surface connect 7 times, then mirror.

(Thanks to Dr PR for showing me the tricks to do this.)

This took less than half an hour, but the same shape with cutouts will be more difficult.

BD


Designer

Quote from: bdeck on February 09, 2009, 08:36:18 PM
Here's something more similar to your project:

http://www.cadsavant.com/nogo/dc/cowl03.jpg

A single station, rescaled for 3 locations, and then surface connect 7 times, then mirror.

(Thanks to Dr PR for showing me the tricks to do this.)

This took less than half an hour, but the same shape with cutouts will be more difficult.
Very cool, and helpful, thanks!

I too was thinking that using the mirror function would be appropriate in my case.

Time for me to give all this a try.......

Thanks again, all.

Wes

Designer

Quote from: crckrjck on February 08, 2009, 08:53:24 PMQ3: See Unleashed tutorial on 'contours'.
You can draw all the main contours for a curved surface from a 'head on view in 2D mode. Then move them to a series of depths in 3D to create a framework for a surface connect. Use a 3D grid on the x-z or y-z plane to help position these or an array of pointmarks or other snap anchors. A line drawn into the Z direction and then segmented into the desired number of pieces woks well. Use a common point in the 2D set of contours to set a handle on each contour to move it down the line or grid.
I'm sorry, I forgot to say thank you for that excellent description.....thank you!  :)

Wes

Dr PR

bdeck,

Good point about just designing half and then mirroring. I forgot to mention that, Duh!
DesignCAD user since 1987