Dear Sir/Madam I am currently having some trouble with a python script that I developed and I would like to know if you could have a look. I basically am attaching the script as part of .py file in this email. The script in its essence is set up to take a set of data from a CSV file (containing x,y points) and then arrange them into coordinates points i.e. gather the two sets of x and y to form coordinates (x1,y1) and (x2, y2) etc... to be plotted as a sketch within ABAQUS FE software.. As I run the script I get an error stating the following:
'TypeError: point1; found int, expecting tuple' - This is referring to line 57 of the code which is essentially the critical command. It is a command that instructs to join coordinate points thus creating a line. The thing is I am pretty sure I have changed inputs into tuples from line 16 of the code to 19. I am not too sure what the issue is here. Could you get back to me with what I should look to do in this case. Thanks in Advance Jude Mudannayake MSc BEng DIC Stress Engineer The National Composites Centre Feynman Way Central, Bristol & Bath Science Park, Emersons Green, Bristol, BS16 7FS Project part financed by the European Union with £9M from the European Regional Development Fund 2007-2013, through the South West Regional Development Agency under the Competitiveness Operating Programme. --------------------------------------------------------------------------------------------------- This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the National Composites Centre (NCC), the National Composites Centre Operations Limited (NCCOL) or any of its members or associates. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.
csv_coordinatesgen_part.py
Description: csv_coordinatesgen_part.py
trial.csv
Description: trial.csv
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor