Author Topic: Project 2D polylines to surface  (Read 1092 times)

JensM

  • Newbie
  • *
  • Posts: 2
Project 2D polylines to surface
« on: August 19, 2022, 12:26:43 PM »
Hi,

I'm trying to find a way to convert multiple 2D polylines to 3D polylines.
The height of 3D polylines should be determined on the basis of a previously made surface.
Is this possible with CadTools?

Thanks!

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 643
Re: Project 2D polylines to surface
« Reply #1 on: August 19, 2022, 04:10:27 PM »
Hi!
Yes that os possible.
  • First you create a new surface (or import triangles from graphics, using the import surface in Edit/View form).
  • Then convert your 2DPolyline to 3Dpolyline using CadTools Convert command.
  • Finally you use "Edit/View" command, load your surface and then use the drape command.
This procedure will drop the polyline onto the triangles and insert a vertex at every crossing with a triangle leg. As an option you can drape only original line vertices (useful if you creating a drainage pipe)

If your 2DPolyline contain arcs they will be converted to 3Dline elements due to the fact that a 3Dpolyline only can contain straight line elements. You can use the Setting "Chord height" in the General tab to manipulate the accuracy (default value is 0,01, a lower value will increase the accuracy)

Lars
« Last Edit: August 21, 2022, 07:38:36 PM by Lars »

JensM

  • Newbie
  • *
  • Posts: 2
Re: Project 2D polylines to surface
« Reply #2 on: August 21, 2022, 05:16:42 PM »
Thanks for your reply, will try it soon  :)