unexpected results convert 2d to 3d polyline

unexpected results convert 2d to 3d polyline

sybold
Advocate Advocate
612 Views
7 Replies
Message 1 of 8

unexpected results convert 2d to 3d polyline

sybold
Advocate
Advocate

Converting a 2d polyline to 3d polyline, the 3dpolyline is created above the 2d polyline.

Watch the screencast!

 
 
 
 
 
0 Likes
613 Views
7 Replies
Replies (7)
Message 2 of 8

AllenJessup
Mentor
Mentor

Can you post a drawing with that polyline in it? That way we can investigate the PL and test it.

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 8

sybold
Advocate
Advocate

sure, attached the file from the screencast

0 Likes
Message 4 of 8

AllenJessup
Mentor
Mentor

The polylines are not parallel to the WCS. Flatten them and it will work as expected. See below. However. When I list one of the PLs. I see an elevation of 85913.7119. So there is definitely something strange about it.

flat.PNG

 

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 5 of 8

sybold
Advocate
Advocate

when flattend the elevations will be gone, if it only works on planar objects the function is useless, the conversion has no point to still have a flat result but a other entity.

 

the whole point is that the line would stay in place(3dspace), only to be converted to a 3d polyline.

 

A work around is to divide the 2d polyline and connect the points with a new 3d polyline, also knows as the long way.

0 Likes
Message 6 of 8

AllenJessup
Mentor
Mentor

You could copy the PLs and convert one to 3D. Then snap that to the original to obtain the elevations. Bottom line is that the command wasn't written to work with non-planar 2D polylines. If you try and convert them to Featurelines. You'll get an error that they aren't planar.

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 7 of 8

ilia.borisov
Collaborator
Collaborator

..., the conversion has no point to still have a flat result but a other entity.

The point of conversion is to get one line with different elevation on each vertex(if you want) not one line with only one elevation, and if you noticed when you convert to 3d the straight segment of you line followed the direction in 3d space that you gave to the line only the curve part became planar to UCS.

0 Likes
Message 8 of 8

sybold
Advocate
Advocate

the generate 3d polyline is not planar too....

 

red line is the generated 3d line
green the original 2d line
blue the expected 3d line

 

 

0 Likes