News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

3D Modeling with Designcad

Started by accuratesteel, February 11, 2011, 03:46:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

accuratesteel

I have been using designcad since 1992 and it has been a great program. I only use 2D for my work as a structural steel detailer. Lately the need for supplying a model of the structure has been coming up more and more.
I am wondering if anyone has written a macro that will take a steel shape (which Herbert Jackson's programs are excellent) turn it into a solid and extrude it a certain user input dimension. I know this is a rough idea, but I think if some one could get me going I could go from there.

Any help would be appreciated.

accuratesteel

Pearco

accuratesteel;

Go to IMSI web site and see if they have the ALLCAD macros still available. They may be of some help.
Jim
User since ProDesign 1.5

impulse

Below is what I had in my mac library for doing that...its very UN-feature rich.

This takes the selected shape, prompts for a distance to extrude, and then extrudes it in the "Z" direction.
The originating shape needs to be drawn in the X,Y planes. If it is a plane entity, then the resulting extrusion WILL be a solid if not the extrusion will be "open ended" so to speak.

I dont use DCAD for 3D too much anymore (though I still prefer it to any other 2D drawing environments) so I never added the following refinements:
1. the program should check the selected entity to see if it is a PLANE if not promt for a conversion.

2. It might be nice to check for the orientation (XY, YZ XZ) and then extrude accordingly.

3. Add a prompt for a centered extrusion.... split the extruding distance so it extrudes half positive and half negative. This feature is nice when converting things origianlly drawn as 2D  This is what the EXC.BSC version does

Note: I have never run this code in versions later than 18


'--------------------------------------------
'ex.d3m  prompts for a distance to extrude in 180° dir of YZ plane
xhndl = sys(190)
yhndl = sys(191)
zhndl = sys(202)

sys(130)=-10      'locate input box out of the way
sys(131)=-10
If Sys(344) = 1 then    'check for a selection
  end
else
input "Enter Amnt to extrude ", Zdist
end if

If Zdist = 0 then end   'test for a no zero extrude value

>Extrude
{
<pointxyz [xhndl,yhndl, zhndl]
'<pointrel [0, 0 , - zdist]
<pointxyz [xhndl,yhndl, zhndl + zdist]
}
end
'===================================================




'---------------------------------------------------
'exc.d3m 
'this version centers te extrusion on the selected item
xhndl = sys(190)
yhndl = sys(191)
zhndl = sys(202)

sys(130)=-10
sys(131)=-10
If Sys(344) = 1 then
  end
else
input "Enter Amnt to extrude ", Zdist
end if

If Zdist = 0 then end

>Duplicate
{
<Pointxyz [xhndl,yhndl,zhndl]
}

>MOVE
{
<Pointxyz [xhndl,yhndl,zhndl - zdist/2]
}


>Extrude
{
<pointxyz [xhndl,yhndl, zhndl - zdist/2]

<pointxyz [xhndl,yhndl, zhndl + zdist/2]
}

accuratesteel


accuratesteel

impulse, Thanks, That was a great start. This will work great for columns on the z axis. My next hurtle will be for beams which my plan will only show as a single line in plan. I guess I could use the same macro, extrude in the z axis and while selected, rotate down the correct angle. I will keep planing with it.
Thanks,

accuratesteel

accuratesteel

Here is another thought. I wonder if anyone has modified Herbert Jackson's program to draw steel shapes and added a option to create a solid from the user defined shape and extrude it a user defined length. This would work in modeling well because the beam may or may not be flat. Any help would be appreciated.
Modeling is something that is going to be in demand in the near future in the construction field.

accuratesteel

Dr PR

impulse,

What do you use for 3D drawing? How is it superior to DesignCAD? Inferior?
DesignCAD user since 1987

accuratesteel

Impulse, I have always drawn structural steel using 2d. It is now a big push to have a 3d model with larger jobs. My thought was to bring in my 2d framing plan and extrude columns up to the right height and them extrude beams in their correct plan. I thought it would be cleaner keeping all my cad work with in designcad.

accuratesteel

impulse

Dr PR: - PM sent


AcurrateSteel: Your plan sounds practical enough. If I had a lot of that sort of thing to do I would sure enough "macro" it up. Your idea of adding extrusion capabilities to Herbert's program is pretty good. Without seeing a typical framing plan, It's hard for me to comment on what macros could be most beneficial.

I could see a slight modification of the EX macro along with one that rotates the selected part 90° on any axis depending on an X Y or Z key press. that way you could reoreint the part for its "installation" with the least fuss. I may already have a Macro that does that ...I'll take a look.
   

-impulse

 

Bob P

AccurateS,

Are there that many shapes to your beams?  Instead of trying to convert existing profiles in the drawing, I would create separate 3D symbols based on all the standard shapes.  Then I would import (overlay) those symbols in a new layer.  Time-wise, I suspect that creating the new symbols will take very little extra time now, and certainly save time in the long run.

accuratesteel

Keep the input coming, I am trying to soak it all up. I am sure there must be other structural steel detailers out there using designcad. This modeling is not going away and it would benifit everyone in steel construction as well as any type of construction. In my business after the model is made it is shared with HVAC, Electrical, plumbing  ect. All trades put their portion into the model and the idea is not to have conflict within the trades.

Thanks,
accuratesteel

impulse

QuoteAll trades put their portion into the model and the idea is not to have conflict within the trades.


fer sure...I hate it when they run I-Beams through my ductwork ;)

Dr PR

Impulse has a very good point about 3D modeling. I have seen several 2D blueprints showing great detail of how something should be built, only to have one pipe pass through another, etc., when making the 3D model from the 2D drawings. If you make the 3D model first and then create the 2D drawings from it, there is a much better probability that it can be built without surprises.

Use caution trying to extrude your 2D drawings into 3D objects. You MUST extrude planes to create 3D solids. Most 2D drawings are made with lines, and if these are extruded you get a zero thickness grid with open ends instead of a solid.

I have found that it is much easier and faster to leave the 2D drawing as is, on a separate and locked layer, and use it as a template for creating 3D solids on other layers. Just use gravity snap to trace points in the 2D drawing while creating the 3D objects. After all, most of the work was in getting the 2D dimensions correct in the first place, and tracing over these existing points is very fast.

One other tip about working in 3D - don't waste time making simple plane polygons like squares, rectangles and circles and then extruding them in the 3rd dimension. Work with the 3D entities (box, cylinder, sphere) from the beginning. It is faster than extruding.

The only time I use lines in 3D drawing is to set up temporary geometric constriction frameworks to hang the 3D objects on. I put these reference lines on a separate layer that can be hidden or displayed as necessary.
DesignCAD user since 1987

herbertjackson

Accuratesteel.
I'm steel doing my steel  in 2D. I understand what you are trying to do, but steel shapes in 3D is hard, even when drawn from scratch.  When you extrude my shapes in 3D it becomes a mess to edit (and that's just a beam). You have copes and clips, moments etc.  To write a micro cad program to do this properly would be one long program. There are steel cad programs that will do this but they cost one arm, two legs and a lot of money.  I have seen some of these programs, they are fast. Some take a 2D drawing and turn it into a 3D drawing.  What these programs do not tell you in there advertisements, is that you have to spend time to program the software to work your way.   If you can find anyone that can program Design Cad to do what you want to do please let me know.


Lar

#14
Before you guys get all romantic about 3D drawings, understand that while a 3D model would be better than 2D, actually creating a model accurate enough so all the different trades can avoid conflicts is not for the lighthearted. You have to create every little detail of the structure very accurately. CAD generally relies on what I call the 'extrusion concept' : you take a flat profile and extrude it along a path and everything's fine and dandy. This only goes so far in reality because somewhere along that path something is gonna jut out or take a dip here and there. This is where dcad shows it's strength.

The big problem is presenting 3d on paper. You just can't show every little nook and cranny of a project on paper.

Until things like IPads become commonplace and the majority of the construction trade can work in 3d, where you can pass along a 3d file that the construction foreman can 'walk through', orbit around and cut sections on his own time, it gonna be an uphill climb.

I know about this because this is how I work.

It pays off though. Just day-before-yesterday I was in the field, sitting on a bucket up under some hoarding, trying to get away from the sun so my glossy laptop screen don't reflect too much, orbiting around in a 3d model I created back in 2007 of a project I thought would never be built, showing a bunch of construction personnel how a highly sensitive security booth relates to the the roads, curbing and landscaping surrounding it while offering maximum protection to the security personnel. Luckily (and ironically), back then the model was created for a 3d rendering to go on a large billboard so I paid attention to detail. Another bit of luck was that since then I had developed some camera manipulation techniques that made the whole walk-thru process flow (the model was created in dcad but exported to another 3d app for rendering, which is also very good for orbiting around in since it doesn't try to maintain absolute on-screen accuracy).

I had actually forgotten much of the thinking involved in the design of the security booth (much of which was never seen in the rendering), but there it all was, clear as day, and all eyes could immediately grasp the concepts.

3d apps like Chief and Sketch Up, while quick and easy to use, usually just generalizes a model, which would never stand up to a walk-thru on a laptop on a construction site with construction fellows gazing over your shoulder.

Another thing is a 3d model needs a '3d technician' to interpret it, much like an MRI scan needs to be interpreted by a medical technician, since to the untrained eye everything looks correct in a 3d model. Unless you software can detect faults in the design, such as a post that is floating an inch above ground or that a 4" pvc pipe is really 4.5" inches wide (and even wider at the end) or 2" x 12" lumber is really 1.5" x 11.25", then you will need a trained human being to recognize pit falls in the model before the builders runs into them.

Lar