B
BR52
Nouveau
Bonjour kalu and David
When importing or exporting the DXF file, an element called “bulge” with code 42 located in LWPOLYLINE.
The math expression is:
bulge = Math.tan(sweepangle/4) <-------------
bulge = height/(length/2)
The bulge is the tangent of 1/4 of the included angle for the arc between the selected vertex and the next vertex in the polyline's vertex list.
A negative bulge value indicates that the arc goes clockwise from the selected vertex to the next vertex.
A bulge of 0 indicates a straight segment, and a bulge of 1 is a semicircle.
kalu you could put the source code of NCnetic here or on your website.
Armando
When importing or exporting the DXF file, an element called “bulge” with code 42 located in LWPOLYLINE.
The math expression is:
bulge = Math.tan(sweepangle/4) <-------------
bulge = height/(length/2)
The bulge is the tangent of 1/4 of the included angle for the arc between the selected vertex and the next vertex in the polyline's vertex list.
A negative bulge value indicates that the arc goes clockwise from the selected vertex to the next vertex.
A bulge of 0 indicates a straight segment, and a bulge of 1 is a semicircle.
kalu you could put the source code of NCnetic here or on your website.
Armando