gerroffme Posted July 15, 2014 Share Posted July 15, 2014 Hi all, I need to make a survey line from a set of coordinates. I am adept enough to create a simple script to make a PLINE out of these points, but I am struggling with the curved areas. Can someone explain how I can include the curves into the script so it will PLINE between certain points and then put an arc with set radius in between areas where the line is curved? This is an example of the type of script I have made but it comes out incorrectly (just a load of spirals/circles). PLINE 455689.44,9316137.67 452605.04,9312886.21 ARC 452605.04,9312886.21 451526.05,9310522.88 4000 PLINE 451526.05,9310522.88 451534.62,9309664.29 451603.91,9309077.47 Quote Link to comment Share on other sites More sharing options...
Spaj Posted July 15, 2014 Share Posted July 15, 2014 Would it not be simpler to only enter the HPI's and fillet in the Radii.. Quote Link to comment Share on other sites More sharing options...
JerryG Posted July 15, 2014 Share Posted July 15, 2014 I agree - you know your radius so draw your line per the coordinates then type "fillet" set your radius to 4000 or 3000 and Fillet that corner. Quote Link to comment Share on other sites More sharing options...
eldon Posted July 15, 2014 Share Posted July 15, 2014 Try to draw the arcs manually, then remembering what steps you took, the script should follow. I don't know where you got your data from, but I reckon the KP of TP"04 should be 9.426 Quote Link to comment Share on other sites More sharing options...
eldon Posted July 15, 2014 Share Posted July 15, 2014 You should also make sure that you understand the meaning of the points. Point X09 is not at the end of the arc radius 4000. It is merely a point along the way. Point TP"03 is at the end of the arc. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 16, 2014 Share Posted July 16, 2014 You can draw arcs as part of a pline I have to remeber how I did it, but this should go a long way helping cut from a program (command "pLINE" p2 "w" 0.0 0.0) ; now put pts 3,4,5,6 ;do some calc's for pts here using polar (command "a" "ce" p3 "a" "-180" "l" p5 "a" "ce" p6 p7 "l" p8) (command "") Quote Link to comment Share on other sites More sharing options...
gerroffme Posted July 16, 2014 Author Share Posted July 16, 2014 Many thanks for all your help. I don't know where you got your data from, but I reckon the KP of TP"04 should be 9.426 This data has been provided by ESSO and so it is up to them on how they issue the KPs of points. They are likely scaled KPs I imagine, but haven't actually looked into it as it's not a requirement of mine to check their drawings fortunately. Many thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.