Jump to content

Convert several 3Dpolyline into 3Dface


Recommended Posts

Posted

I'm trying to convert several 3dpoly with 4 points (same plane) into 3dface without sucess.

 

Can anybody help?

Thanks in advance.

Posted

If all 4 points are in the same plane, you can use the CONVTOSURFACE command, or you can use the REGION command.

If the points are not in the same plane, you can use the SURFPATCH command.

 

If none of these commands work, you will need to provide the dwg file for us to look at.

Posted
4 minutes ago, Cad64 said:

If all 4 points are in the same plane, you can use the CONVTOSURFACE command, or you can use the REGION command.

If the points are not in the same plane, you can use the SURFPATCH command.

 

If none of these commands work, you will need to provide the dwg file for us to look at.

 

Thanks for your reply. none of the comands worked. the output needs to be a 3dpface (only one per 3dpoly).

Attached file.

 

Thanks in advance.

test.dwg

Posted

The 4 points of the 3D polylines are not in the same plane. I checked a few of them and they were all slightly twisted.

SURFPATCH will work to create a surface, but it won't create a 3D face. You can adjust the properties of the patch and set the U isolines to 1 and V isolines to 1. That will create a patch of 4 poly's, but that's the best you can get.

 

I'm not sure what else to tell you other than maybe try exporting your file to FBX format, import it into Blender to create the faces, then export back out to FBX and import back into Autocad. I don't have time to try it right now, so I'm not sure if it will work or not. I can try it out later, unless someone else has a better idea.

Patch.jpg

Posted

Actually, I was wrong. You can set the U isolines to 0 and the V isolines to 0 and that will create a single poly face.

Patch2.jpg

Posted

For a rectang you could also do 2 3dface triangles, but that is 2 planes.

Posted

Thanks to all.

 

Is it possible to automate this for the full 3dpoly in the drawing?

 

thanks.

Posted (edited)

Looking at your dwg have you considered making a surface from all the points ? If you use triangulation it will make a surface model of your dwg in 1 go. it will also create a surface between each rectang, If you have access to say CIV3D then it is done, else try this by YMG.

 

You can convert the 3dfaces to a Autocad surface if needed, but the YMG has contours etc built in.

 

;;****************************************************************************;
;; Version V0.5.8                                                             ;
;; C:TIN, Generates Delaunay Triangulation and Voronoi Diagram.               ;
;; C:CONT, Generates Contours from a sset of 3DFACES.                         ;
;; C:GEN, Generates a bunch of points for testing.                            ;
;; C:DEMOZ, Demo of locating yourself in a triangulation.                     ;
;; C:LBL, Generates Label on Major Contour at regular spacing.                ;
;; C:FLBL, Generates Label on All Contours along Fence Lines.                 ;
;; C:DLBL, Generates Label Dynamically (Based on Alan JT routine)             ;
;; C:PROF, Generates a Longitudinal Profile.                                  ;
;; C:XSHAPE, (Chi-shape) Generates a concave boundary around triangulation 

 

image.png.14211a5fd70b1138736168673a72ccee.png

 

TriangV0.5.9.LSP

Edited by BIGAL
  • Like 1
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...