Smart questions
Smart answers
Smart people
Join Eng-Tips Forums
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Eng-Tips
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

meltman (Industrial) (OP)
7 Jun 04 12:41
I need to export a spline into another software package that cannot read a spline. Is it possible to convert the spline to a polyline? AutoCAD will not allow me to explode the spline either. Suggestions? Thanks,
Helpful Member!  borgunit (Mechanical)
7 Jun 04 13:17
I have a vlx file that converts spline to plines. Just let me know your email and its on its way.

"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford

Exxit (Computer)
7 Jun 04 14:07
Hi,

"flatten", by Express Tools 1-9

Lothar

ADT 2004
ACAD 2002

meltman (Industrial) (OP)
7 Jun 04 14:16
Thanks to all. Express tools did the job!
meltman (Industrial) (OP)
12 Jul 04 13:38
I just noticed an odd occurance in the flatten command and I want to know if there is a solution. I am creating a spline in the shape of a toroid by copying "_spline" followed by multiple data points and tangent points from an excel worksheet. The spline is perfect in autocad... but when I flatten the spline using Express tools the resultant polyline is altered. For example if the spline (and spreadsheet for that matter) show a space between turns in the toroid of .2" for several turns, the polyline might have a space of 0.15" between turns 3&4 then .25" between turns 4&5. The average is correct but the individual turns are not exactly correct. Has anyone ever seen this before and is there a solution or am I just making a not so bright mistake? If it would be helpful I can send file for analyses. Thanks
CarlB (Civil/Environmental)
12 Jul 04 14:59
A free vlx file to convert splines to polylines (maybe the same one as Borgunit's?) is available at http://www.dotsoft.com/freestuff.htm
"spl2pl.vlx"
pardal (Automotive)
12 Jul 04 23:00
Hi Borgunit , please send me such file.

devitg@ciudad.com.ar

Pardal

twlincoln (Electrical)
16 Jul 04 23:14
You can also isloate the spline(s) and SAVEASR12 DXF...
borgunit (Mechanical)
20 Jul 04 9:53
I think the link above to DOTSOFT was the file I am referring to. I found this in my archives that does a decent job...

(defun C:SPLINE2PLINE (/ SPLINES PLINETYPE OSMODE I SPL ED CODEPAIR)
  (if
    (setq SPLINES (ssget (list (cons 0 "spline"))))
     (progn
       (if
         (zerop (setq PLINETYPE (getvar "plinetype")))
          (setvar "plinetype" 1)
          ) ;if
       (setq OSMODE (getvar "osmode"))
       (setvar "osmode" 0)
       (setq I 0)
       (while
         (setq SPL (ssname SPLINES I))
          (setq    I  (1+ I)
                ED (entget SPL)
                ) ;setq
          (command ".pline")
          (foreach
               CODEPAIR
                       ED
            (if
              (= 10 (car CODEPAIR))
               (command (cdr CODEPAIR))
               ) ;if
            ) ;foreach
          (command "")
          (command ".pedit" "l" "s" "")
          ) ;while
       (if PLINETYPE
         (setvar "plinetype" PLINETYPE)
         )
       (setvar "osmode" OSMODE)
       ) ;progn
     ) ;if
  (princ)
  ) ;defun

"Everybody is ignorant, only on different subjects." — Will Rogers

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!

Back To Forum

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close