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.

Creating a chain linked fence.

Started by Don A, September 16, 2012, 11:02:44 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Don A

I am interested in creating a chain linked fence in DC and just can't figure out how to go about it. Any help would be greatly appreciated.
I looked at an example in the following link 3ds max. http://makeitcg.com/model-chain-link-fence-in-3ds-max/287/

MarkX

Quote from: Don A on September 16, 2012, 11:02:44 AM
I am interested in creating a chain linked fence in DC and just can't figure out how to go about it. Any help would be greatly appreciated.
I looked at an example in the following link 3ds max. http://makeitcg.com/model-chain-link-fence-in-3ds-max/287/
Just in case you're looking in the wrong forum, you do know that that tutorial is for a completely different product? That's 3DS Max by Autodesk, which is a $3500 dollar product. This forum is for DesignCad including DC 3D Max which retails for much, much less.

I'm sure some people much smarter than myself will be along to give you some helpful advice. If it was me, and unless I was actually designing the links in a fence, I would try using hatching to give the linked chain look.

Good luck!
Mark

Don A

Quote from: MarkX on September 16, 2012, 12:18:11 PM
Quote from: Don A on September 16, 2012, 11:02:44 AM
I am interested in creating a chain linked fence in DC and just can't figure out how to go about it. Any help would be greatly appreciated.
I looked at an example in the following link 3ds max. http://makeitcg.com/model-chain-link-fence-in-3ds-max/287/
Just in case you're looking in the wrong forum, you do know that that tutorial is for a completely different product? That's 3DS Max by Autodesk, which is a $3500 dollar product. This forum is for DesignCad including DC 3D Max which retails for much, much less.

I'm sure some people much smarter than myself will be along to give you some helpful advice. If it was me, and unless I was actually designing the links in a fence, I would try using hatching to give the linked chain look.

Good luck!
Mark

Thanks, I know that 3DS Max is a different program. I wanted to know if this can be done in DesignCAD 3D. I just wanted the fence done in 3D, not sure if hatching can be used. I used 3DS Max as an example of what I'm trying to accomplish in DesignCAD 3D Max.

prl

#3
Sure.  DesignCAD can do this.  Good exercise in drawing in 3d, and using extrude-along-curve.   The profiles you need to generate are on the left in the graphic.  Once you get the vertical weave, join all the lines into one vector.  Then find a shape you like for your wire and extrude away. I would keep the face count low on your extrusion though.  This will generate many faces by the time you do a length of fence in 3d.   Hope this gives you what you need.

MarkX

Quote from: prl on September 16, 2012, 01:59:25 PM
Sure.  DesignCAD can do this.  Good exercise in drawing in 3d, and using extrude-along-curve.   The profiles you need to generate are on the left in the graphic.  Once you get the vertical weave, join all the lines into one vector.  Then find a shape you like for your wire and extrude away. I would keep the face count low on your extrusion though.  This will generate many faces by the time you do a length of fence in 3d.   Hope this gives you what you need.

Nice work! What did you do to get your final render?

That bit of fence already has 1700 elements. A complete perimeter fence could end you up with as many elements as an automobile engine!

Mark

prl

Quote from: MarkX on September 16, 2012, 03:20:40 PM
What did you do to get your final render?

Nothing fancy, a screen capture directly from DesignCAD using the qs2.d3m macro I posted in the other topic discussing shading with black edges.

MarkX

When I try your macro in various render modes, nothing comes out as nice as yours. First I changed the layer colors to gray, so let me know if that was wrong.  The attached shows what I got in the best case.

Thanks,
Mark

prl

Quote from: MarkX on September 16, 2012, 07:25:10 PM
First I changed the layer colors to gray, so let me know if that was wrong.

No, I simply applied the aluminum material.  I thought I saved it (the materials settings) along with the file I attached but I didn't.  Try the attached file and let me know if the material setting is transferred with the file.  The graphic is a double-check of the shading settings I use. 

Only other thing is I adjusted the background color of the qs2.d3m to exactly match SketchUP  (for the graphics in the other topic where I was comparing the two in side by side images).  The SketchUP background color numbers are (RGB) 210, 208, 185.

Using version 22  you should get what I get.

cavelamb

Quote from: MarkX on September 16, 2012, 03:20:40 PM
Quote from: prl on September 16, 2012, 01:59:25 PM
Sure.  DesignCAD can do this.  Good exercise in drawing in 3d, and using extrude-along-curve.   The profiles you need to generate are on the left in the graphic.  Once you get the vertical weave, join all the lines into one vector.  Then find a shape you like for your wire and extrude away. I would keep the face count low on your extrusion though.  This will generate many faces by the time you do a length of fence in 3d.   Hope this gives you what you need.

Nice work! What did you do to get your final render?

That bit of fence already has 1700 elements. A complete perimeter fence could end you up with as many elements as an automobile engine!

Mark

First question - how much detail do you really need?
While it's nice to be able to zoom in on a fence and see the bends, etc,
is that really necessary for something like a house drawing?

If it (the fence in this case) doesn't HAVE to have that much detail, a simple
set of straight lines might work.  It would certainly take less space!



MarkX

Ok, I loaded V22 and opened the fence 2 drawing. The fence elements were marked as aluminum.

But my rendering still looks poor. The wires look semi-transparent. I'm using the same settings as you show in screen shot.

See attached.

Mark

Don A

Quote from: prl on September 16, 2012, 01:59:25 PM
Sure.  DesignCAD can do this.  Good exercise in drawing in 3d, and using extrude-along-curve.   The profiles you need to generate are on the left in the graphic.  Once you get the vertical weave, join all the lines into one vector.  Then find a shape you like for your wire and extrude away. I would keep the face count low on your extrusion though.  This will generate many faces by the time you do a length of fence in 3d.   Hope this gives you what you need.

I'm having alot of trouble getting the vertical weave. For some reason I can't seem to get my angles correct. I'll keep trying and let you know how I'm doing.

Don A

Here's a sample of what I've got. I can't figure out the correct angles.

prl

Quote from: MarkX on September 17, 2012, 04:28:02 PM
But my rendering still looks poor. The wires look semi-transparent. I'm using the same settings as you show in screen shot.

Graphics card issue?  Maybe your system doesn't like some of the tricks in the qs2.d3m macro.  Open up the macro and edit it:  Add the lines in blue, see if it makes a difference.

.
.
.

>selectall
{
}

'move cursor off in deep space somewhere
>sethandle
{
<pointxyz -1000,-1000,-1000
}

print "Pausing - hit anykey to continue"
anykey whatever


>redraw
{
}

'reset to original colors
'set background color
sys(321)=br
sys(322)=bg
sys(323)=bb

.
.
.

If not that, try dialing down your graphics card Hardware acceleration setting from Full one notch at a time.  (I'm talking about the Display Properties>Settings>Advanced>Troubleshoot or the equivalent in later windows versions. I use XP).

prl

Quote from: Don A on September 17, 2012, 07:34:33 PM
I'm having alot of trouble getting the vertical weave. For some reason I can't seem to get my angles correct. I'll keep trying and let you know how I'm doing.

Draw it so the diamond link pattern is square.  Then at the end rotate the pattern by 45 degrees.  See the attached file.

The blue solid line is your basic pattern.   I used a 2" square as my basis.  The Z offset is 1/8".  Don't know if any of that is technically correct, but for this exercise that worked.  The red can be redrawn using an opposite convention or by mirroring a couple of times.  More things for you to try.

Have fun.

prl

Quote from: cavelamb on September 17, 2012, 05:44:35 AM
First question - how much detail do you really need?

Sometimes things pull you in like climbing mountains, sailing around the world, jogging backwards.  I spend hours writing basiccad programs, riding a motorcycle . . kind of meaningless stuff when you come to think of it . . . now how can I add hatches with a material check automatically to a 3d section crop?    . . . got to go, I'm on it.  :)