Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Solid Transitions

4 REPLIES 4
Reply
Message 1 of 5
Ronso
1134 Views, 4 Replies

Solid Transitions

Ducting experts,
The attached code makes it simple to draw a 3d solid, a 3d mesh, or a 2d double line transition to and from the most common duct shapes. (circular, rectangular, and flat oval). Eccentric and concentric transitions possible. Even cones and pyramid type shapes are possible.
The code creates the objects in plan view to the current ucs.

Remove the .txt extension from the attachment. You should be left with Transition.fas. Load the .fas file. Note: The code will only work in files named Drawing1.dwg.
This code has been used on AutoCAD r14-2004.

Please provide feedback on the command line options of the code, as well as, to the geometry and orientation of the objects created.

Thanks,
Ronso
A2k2
4 REPLIES 4
Message 2 of 5
Ronso
in reply to: Ronso

Well nobody has made any request but here is the updated code for A2k7 (should work from r14 up).
The file attached will draw in plan view a Double line, a 3D Mesh or a 3D solid transition of the most common duct shapes Circular/Round,Rectangular/Square, and Flat Oval.
Eccentric cones are just one possibility.
Only works in files named Drawing1.dwg
The 3DMesh accuracy is controlled by the SURFTAB1 variable.

To load
1. Download the file transition.zip
2. Extract the file transition.fas
3. Start AutoCAD in file named Drawing1.dwg (Note: Case Sensitive)
4. Load transition.fas utilizing one of the following methods
A. At the command line (load "transition.fas") transition.fas
file must be in a folder that is included in the AutoCAD
support directory.
B. At the command line APPLOAD then locate and load
transition.fas
C. Drag and drop by dragging transition.fas into the
AutoCAD workspace.

Good luck,
Ronso
A2k7
Message 3 of 5
Anonymous
in reply to: Ronso

Hey Ronso,

Your app did the job for me, rectangular to round transition.

Cheers.
Message 4 of 5
Anonymous
in reply to: Ronso

worked good after a little practice. Just got done designing and fabing a trans sq to rnd dbl offset which your progam does...but the plane of discharge end (round) was not parallel with the inlet. Maybe when you are bored one day you can add a feture to vary the plane of the discharge end reletive the the inlet (on both axis). I used the tried and true cardboard model method 🙂

 

thanks for making this available.

Message 5 of 5
HullDrafter
in reply to: Ronso

The command line works great in 2015 Elec. I keep getting a diamond shape where I need a round connection. Either I am inputting the wrong answers or my video card is still out of it. The 3D factor works great.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost