+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Full Member AutoCAD Slave's Avatar
    Using
    AutoCAD 2008
    Join Date
    Feb 2005
    Location
    Wakefield - UK
    Posts
    37

    Default Problem with Fillet Radius command???

    Registered forum members do not see this ad.

    Hi,

    Sometimes when i use the fillet command set at ZERO to join two lines to a point it tells me it cannot be done and the the lines are not coplanor, what does this mean and why won't the lines join each other??

    Thank you in advance.

    Rich

  2. #2
    Senior Member Jamalama's Avatar
    Using
    Civil 3D 2010
    Join Date
    Mar 2005
    Location
    Colorado, USA
    Posts
    157

    Default

    are you working in 3d? If so, the computer is right. Check to see of they are actually attatched or if one is just floating in space. Adjust accordingly.

  3. #3
    Administrator CADTutor's Avatar
    Computer Details
    CADTutor's Computer Details
    Operating System:
    Windows 7 Home Premium 64bit
    Motherboard:
    Asus P7P55D-E PRO
    CPU:
    Intel Core i7-860
    RAM:
    4GB PC3-12800 C8 Corsair Dominator
    Graphics:
    NVIDIA Quadro FX 1800 768 MB
    Primary Storage:
    Intel X25-M SSD 160GB
    Secondary Storage:
    Samsung Spinpoint 320GB
    Monitor:
    BenQ FP241W 24" Wide
    Discipline
    Education
    CADTutor's Discipline Details
    Occupation
    Senior Lecturer (Digital Design), Landscape Architect & Web Designer
    Discipline
    Education
    Using
    AutoCAD 2014
    Join Date
    Aug 2002
    Location
    Hampshire, UK
    Posts
    3,606

    Default

    Coplanar means "in the same plane". Lines can only be filleted if they are drawn in the same plane. Often when working in 3D your lines may be drawn in different planes.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.
    AutoCAD Tutorials | How to add images to your posts | How to register successfully | Forum FAQ

  4. #4
    Super Member Mr T's Avatar
    Using
    AutoCAD 2007
    Join Date
    Nov 2002
    Location
    Loch Oich SCOTLAND...
    Posts
    1,641

    Default Re: Problem with Fillet Radius command???

    Quote Originally Posted by AutoCAD Slave
    Hi,

    Sometimes when i use the fillet command set at ZERO to join two lines to a point it tells me it cannot be done and the the lines are not coplanor, what does this mean and why won't the lines join each other??

    Thank you in advance.

    Rich
    Select one of the lines, hit Ctrl+1. PROPERTIES docker pops up and then look for the Z value, normally that would be the ht. Remember it. Select the other line and adjusts it's Z value if it is diff.

    Nick
    http://www.flickr.com/photos/80049703@N00/ http://mtbnick.fotopic.net/
    http://s240.photobucket.com/albums/ff241/dyNick_Scots/
    http://designgraphicsshowcase.blogspot.com/

    High School Classroom - 21 AutoCAD 2007, Inventor 11, COREL Draw & Paint 11. Very Unreliable Network.

    Home - AMD 2.1GHZ - 512Ram, 64 Video,
    Laptop Inventor 7, Autocad 2004, Corel 11

  5. #5
    Senior Member erona's Avatar
    Using
    AutoCAD 2007
    Join Date
    Feb 2005
    Location
    Philippines
    Posts
    306

    Default

    Alternatively, you can use this lisp.

    Code:
    ;;; FLATTEN.LSP version 2k.0, 25-May-1999
    ;;;
    ;;; FLATTEN sets the Z-coordinates of these types of objects to 0
    ;;; in the World Coordinate System:
    ;;;  "3DFACE" "ARC" "ATTDEF" "CIRCLE" "DIMENSION" 
    ;;;  "ELLIPSE" "HATCH" "INSERT" "LINE" "LWPOLYLINE"
    ;;;  "MTEXT" "POINT" "POLYLINE" "SOLID" "TEXT"
    ;;;
    ;;;-----------------------------------------------------------------------
    ;;; copyright 1990-1999 by Mark Middlebrook
    ;;;   Daedalus Consulting
    ;;;   e-mail: markmiddlebrook@compuserve.com
    ;;;
    ;;; Thanks to Vladimir Livshiz for improvements in polyline handling
    ;;; and the addition of several other object types.
    ;;;
    ;;; You are free to distribute FLATTEN.LSP to others so long as you do not
    ;;; charge for it.
    ;;;
    ;;;-----------------------------------------------------------------------
    ;;;*Why Use FLATTEN?
    ;;;
    ;;; FLATTENing is useful in at least two situations:
    ;;;  1) You receive a DXF file created by another CAD program and discover
    ;;;     that all the Z coordinates contain small round-off errors. These
    ;;;     round-off errors can prevent you from object snapping to
    ;;;     intersections and make your life difficult in other ways as well.
    ;;;  2) In a supposedly 2D drawing, you accidentally create one object with
    ;;;     a Z elevation and end up with a drawing containing objects partly
    ;;;     in and partly outside the Z=0 X-Y plane. As with the round-off
    ;;;     problem, this situation can make object snaps and other procedures
    ;;;     difficult.
    ;;;
    ;;; Warning: FLATTEN is not for flattening the custom objects created by
    ;;; applications such as Autodesk's Architectural Desktop. ADT and similar
    ;;; programs create "application-defined objects" that only the
    ;;; application really knows what to do with. FLATTEN has no idea how
    ;;; to handle application-defined objects, so it leaves them alone.
    ;;;
    ;;;-----------------------------------------------------------------------
    ;;;*How to Use FLATTEN
    ;;;
    ;;; This version of FLATTEN works with AutoCAD R12 through 2000.
    ;;;
    ;;; To run FLATTEN, load it using AutoCAD's APPLOAD command, or type:
    ;;;   (load "FLATTEN")
    ;;; at the AutoCAD command prompt. Once you've loaded FLATTEN.LSP, type:
    ;;;   FLATTEN
    ;;; to run it. FLATTEN will tell you what it's about to do and ask you
    ;;; to confirm that you really want to flatten objects in the current
    ;;; drawing. If you choose to proceed, FLATTEN prompts you to select objects
    ;;; to be flattened (press ENTER to flatten all objects in the drawing).
    ;;; After you've selected objects and pressed ENTER, FLATTEN goes to work.
    ;;; It reports the number of objects it flattens and the number left
    ;;; unflattenened (because they were objects not recognized by FLATTEN; see 
    ;;; the list of supported objects above).
    ;;;
    ;;; If you don't like the results, just type U to undo FLATTEN's work.
    ;;;
    ;;;-----------------------------------------------------------------------
    ;;;*Known limitations
    ;;;  1) FLATTEN doesn't support all of AutoCAD's object types. See above
    ;;;     for a list of the object types that it does work on.
    ;;;  2) FLATTEN doesn't flatten objects nested inside of blocks.
    ;;;     (You can explode blocks before flattening. Alternatively, you can
    ;;;     WBLOCK block definitions to separate DWG files, run FLATTEN in
    ;;;     each of them, and then use INSERT in the parent drawing to update
    ;;;     the block definitions. Neither of these methods will flatten
    ;;;     existing attributes, though.
    ;;;  3) FLATTEN flattens objects onto the Z=0 X-Y plane in AutoCAD's
    ;;;     World Coordinate System (WCS). It doesn't currently support
    ;;;     flattening onto other UCS planes.
    ;;;
    ;;;=======================================================================
    
    (defun C:FLATTEN (/       olderr  oldcmd  zeroz   ss1     ss1len  i
                      numchg  numnot  numno0  ssno0   ename   elist   etype
                      yorn    vrt     crz
                     )
      ;;Error handler
      (setq olderr *error*)
      (defun *error* (msg)
        (if (= msg "quit / exit abort")
          (princ)
          (princ (strcat "error: " msg))
        )
        (setq *error* olderr)
        (command "._UCS"           "_Restore"        "$FLATTEN-TEMP$"
                 "._UCS"           "_Delete"         "$FLATTEN-TEMP$"
                )
        (command "._UNDO" "_End")
        (setvar "CMDECHO" oldcmd)
        (princ)
      )
    
      ;;Function to change Z coordinate to 0
    
      (defun zeroz (key zelist / oplist nplist)
        (setq oplist (assoc key zelist)
              nplist (reverse (append '(0.0) (cdr (reverse oplist))))
              zelist (subst nplist oplist zelist)
        )
        (entmod zelist)
      )
    
      ;;Setup
      (setq oldcmd (getvar "CMDECHO"))
      (setvar "CMDECHO" 0)
      (command "._UNDO" "_Group")
      (command "._UCS"         "_Delete"       "$FLATTEN-TEMP$"
               "._UCS"         "_Save"         "$FLATTEN-TEMP$"
               "._UCS"         "World"
              )                             ;set World UCS
    
      ;;Get input
      (prompt
        (strcat
          "\nFLATTEN sets the Z coordinates of most objects to zero."
        )
      )
    
      (initget "Yes No")
      &#40;setq yorn &#40;getkword "\nDo you want to continue <Y>&#58; "&#41;&#41;
      &#40;cond &#40;&#40;/= yorn "No"&#41;
             &#40;graphscr&#41;
             &#40;prompt "\nChoose objects to FLATTEN "&#41;
             &#40;prompt
               "&#91;press return to select all objects in the drawing&#93;"
             &#41;
             &#40;setq ss1 &#40;ssget&#41;&#41;
             &#40;if &#40;null ss1&#41;                 ;if enter...
               &#40;setq ss1 &#40;ssget "X"&#41;&#41;       ;select all entities in database
             &#41;
    
    
             ;;*initialize variables
             &#40;setq ss1len &#40;sslength ss1&#41;    ;length of selection set
                   i      0                 ;loop counter
                   numchg 0                 ;number changed counter
                   numnot 0                 ;number not changed counter
                   numno0 0                 ;number not changed and Z /= 0 counter
                   ssno0  &#40;ssadd&#41;           ;selection set of unchanged entities
             &#41;                              ;setq
    
             ;;*do the work
             &#40;prompt "\nWorking."&#41;
             &#40;while &#40;< i ss1len&#41;            ;while more members in the SS
               &#40;if &#40;= 0 &#40;rem i 10&#41;&#41;
                 &#40;prompt "."&#41;
               &#41;
               &#40;setq ename &#40;ssname ss1 i&#41;   ;entity name
                     elist &#40;entget ename&#41;   ;entity data list
                     etype &#40;cdr &#40;assoc 0 elist&#41;&#41; ;entity type
               &#41;
    
               ;;*Keep track of entities not flattened
               &#40;if &#40;not &#40;member etype
                                '&#40;"3DFACE"     "ARC"        "ATTDEF"
                                  "CIRCLE"     "DIMENSION"  "ELLIPSE"
                                  "HATCH"      "INSERT"     "LINE"
                                  "LWPOLYLINE" "MTEXT"      "POINT"
                                  "POLYLINE"   "SOLID"      "TEXT"
                                 &#41;
                        &#41;
                   &#41;
                 &#40;progn                     ;leave others alone
                   &#40;setq numnot &#40;1+ numnot&#41;&#41;
                   &#40;if &#40;/= 0.0 &#40;car &#40;reverse &#40;assoc 10 elist&#41;&#41;&#41;&#41;
                     &#40;progn                 ;add it to special list if Z /= 0
                       &#40;setq numno0 &#40;1+ numno0&#41;&#41;
                       &#40;ssadd ename ssno0&#41;
                     &#41;
                   &#41;
                 &#41;
               &#41;
    
               ;;Change group 10 Z coordinate to 0 for listed entity types.
               &#40;if &#40;member etype
                           '&#40;"3DFACE"    "ARC"       "ATTDEF"    "CIRCLE"
                             "DIMENSION" "ELLIPSE"   "HATCH"     "INSERT"
                             "LINE"      "MTEXT"     "POINT"     "POLYLINE"
                             "SOLID"     "TEXT"
                            &#41;
                   &#41;
                 &#40;setq elist  &#40;zeroz 10 elist&#41; ;change entities in list above
                       numchg &#40;1+ numchg&#41;
                 &#41;
               &#41;
    
               ;;Change group 11 Z coordinate to 0 for listed entity types.
               &#40;if &#40;member etype
                           '&#40;"3DFACE" "ATTDEF" "DIMENSION" "LINE" "TEXT" "SOLID"&#41;
                   &#41;
                 &#40;setq elist &#40;zeroz 11 elist&#41;&#41;
               &#41;
    
               ;;Change groups 12 and 13 Z coordinate to 0 for SOLIDs and 3DFACEs.
               &#40;if &#40;member etype '&#40;"3DFACE" "SOLID"&#41;&#41;
                 &#40;progn
                   &#40;setq elist &#40;zeroz 12 elist&#41;&#41;
                   &#40;setq elist &#40;zeroz 13 elist&#41;&#41;
                 &#41;
               &#41;
    
               ;;Change groups 13, 14, 15, and 16
               ;;Z coordinate to 0 for DIMENSIONs.
               &#40;if &#40;member etype '&#40;"DIMENSION"&#41;&#41;
                 &#40;progn
                   &#40;setq elist &#40;zeroz 13 elist&#41;&#41;
                   &#40;setq elist &#40;zeroz 14 elist&#41;&#41;
                   &#40;setq elist &#40;zeroz 15 elist&#41;&#41;
                   &#40;setq elist &#40;zeroz 16 elist&#41;&#41;
                 &#41;
               &#41;
    
               ;;Change each polyline vertex Z coordinate to 0.
               ;;Code provided by Vladimir Livshiz, 09-Oct-1998
               &#40;if &#40;= etype "POLYLINE"&#41;
                 &#40;progn
                   &#40;setq vrt ename&#41;
                   &#40;while &#40;not &#40;equal &#40;cdr &#40;assoc 0 &#40;entget vrt&#41;&#41;&#41; "SEQEND"&#41;&#41;
                     &#40;setq elist &#40;entget &#40;entnext vrt&#41;&#41;&#41;
                     &#40;setq crz &#40;cadddr &#40;assoc 10 elist&#41;&#41;&#41;
                     &#40;if &#40;/= crz 0&#41;
                       &#40;progn
                         &#40;zeroz 10 elist&#41;
                         &#40;entupd ename&#41;
                       &#41;
                     &#41;
                     &#40;setq vrt &#40;cdr &#40;assoc -1 elist&#41;&#41;&#41;
                   &#41;
                 &#41;
               &#41;
    
               ;;Special handling for LWPOLYLINEs
               &#40;if &#40;member etype '&#40;"LWPOLYLINE"&#41;&#41;
                 &#40;progn
                   &#40;setq elist  &#40;subst &#40;cons 38 0.0&#41; &#40;assoc 38 elist&#41; elist&#41;
                         numchg &#40;1+ numchg&#41;
                   &#41;
                   &#40;entmod elist&#41;
                 &#41;
               &#41;
    
               &#40;setq i &#40;1+ i&#41;&#41;              ;next entity
             &#41;
             &#40;prompt " Done."&#41;
    
             ;;Print results
             &#40;prompt &#40;strcat "\n" &#40;itoa numchg&#41; " object&#40;s&#41; flattened."&#41;&#41;
             &#40;prompt
               &#40;strcat "\n" &#40;itoa numnot&#41; " object&#40;s&#41; not flattened."&#41;
             &#41;
    
             ;;If there any entities in ssno0, show them
             &#40;if &#40;/= 0 numno0&#41;
               &#40;progn
                 &#40;prompt &#40;strcat "  &#91;"
                                 &#40;itoa numno0&#41;
                                 " with non-zero base points&#93;"
                         &#41;
                 &#41;
                 &#40;getstring
                   "\nPress enter to see non-zero unchanged objects... "
                 &#41;
                 &#40;command "._SELECT" ssno0&#41;
                 &#40;getstring "\nPress enter to unhighlight them... "&#41;
                 &#40;command ""&#41;
               &#41;
             &#41;
            &#41;
      &#41;
    
      &#40;command "._UCS"           "_Restore"        "$FLATTEN-TEMP$"
               "._UCS"           "_Delete"         "$FLATTEN-TEMP$"
              &#41;
      &#40;command "._UNDO" "_End"&#41;
      &#40;setvar "CMDECHO" oldcmd&#41;
      &#40;setq *error* olderr&#41;
      &#40;princ&#41;
    &#41;
    
    &#40;prompt
      "\nFLATTEN version 2k.0 loaded.  Type FLATTEN to run it."
    &#41;
    &#40;princ&#41;
    
    ;;;eof
    erona

    "AutoCAD habangbuhay" not anymore... moved to Vectorworks>Cinema4D

    Just got back to AutoCAD. Modeling directly in C4D.

  6. #6
    Administrator CADTutor's Avatar
    Computer Details
    CADTutor's Computer Details
    Operating System:
    Windows 7 Home Premium 64bit
    Motherboard:
    Asus P7P55D-E PRO
    CPU:
    Intel Core i7-860
    RAM:
    4GB PC3-12800 C8 Corsair Dominator
    Graphics:
    NVIDIA Quadro FX 1800 768 MB
    Primary Storage:
    Intel X25-M SSD 160GB
    Secondary Storage:
    Samsung Spinpoint 320GB
    Monitor:
    BenQ FP241W 24" Wide
    Discipline
    Education
    CADTutor's Discipline Details
    Occupation
    Senior Lecturer (Digital Design), Landscape Architect & Web Designer
    Discipline
    Education
    Using
    AutoCAD 2014
    Join Date
    Aug 2002
    Location
    Hampshire, UK
    Posts
    3,606

    Default

    Or use this version from our AutoLISP Archive.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.
    AutoCAD Tutorials | How to add images to your posts | How to register successfully | Forum FAQ

  7. #7
    Full Member AutoCAD Slave's Avatar
    Using
    AutoCAD 2008
    Join Date
    Feb 2005
    Location
    Wakefield - UK
    Posts
    37

    Default

    cheers dudes.

  8. #8
    Forum Newbie
    Using
    not specified
    Join Date
    Sep 2005
    Posts
    1

    Default

    Does anyone have a version or other method to flatten drawings containing to many block to use this inside every block?

  9. #9
    Senior Member
    Using
    not specified
    Join Date
    Sep 2005
    Location
    Brisbane, Australia
    Posts
    318

    Default

    Anyone ever considered the FLATTEN in the express tools ?

  10. #10
    Senior Member Cadastrophic's Avatar
    Using
    not specified
    Join Date
    Dec 2002
    Location
    Australia
    Posts
    152

    Default

    Registered forum members do not see this ad.

    Can Express Tools from R14 be used with 2004? I can't find ET in 2004.
    I'm sure you said "Hurry up and DELETE your work".

    AutoCAD 2004, Inventor 8.
    AMD Athlon 64 FX-55, 3GB RAM, NVIDIA Quadro4 980XGL, Windows XP Pro.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts