|
|||
author | remove search highlighting | ||
---|---|---|---|
posted: 25 Jul 2008 13:14 from: Alan Turner
click the date to link to this post click member name to view archived images |
Martin, I am trying to import a DXF file. My problem is that most but not the entire file comes in. This includes some of the lines representing the track. My problem is that I don't really understand what I am doing with the DXF file. I have TurboCAD but don't really know how to use it. Help appreciated. Alan |
||
posted: 26 Jul 2008 13:02 from: richard_t
click the date to link to this post click member name to view archived images |
Alan Turner wrote: I am trying to import a DXF file. My problem is that most but not the entire file comes in. This includes some of the lines representing the track. My problem is that I don't really understand what I am doing with the DXF file. I have TurboCAD but don't really know how to use it.Templot, and other software, doesn't implement "CLOSED" lines. (I know some etching companies don't like CLOSED lines either) [If you think of a square, this can be made up of 4 lines, i.e. (start at 0,0): LINE(1,0), LINE(1,1), LINE(0,1), LINE(0,0). Which Templot would import OK. But you could also define the square as (start at 0,0): LINE(1,0), LINE(1,1), LINE(0,1), CLOSE. Where the software knows that the line's started at 0,0, so the close draws a line back there. LINE and CLOSE aren't DXF commands, just something to I've made up!] The solution would be not to CLOSE any lines in TurboCAD (although I haven't used TurboCAD, so I can't help there.). Richard. PS: I reported this at: topic 205 - message 1018 |
||
posted: 26 Jul 2008 14:42 from: Alan Turner
click the date to link to this post click member name to view archived images |
trouble is it's not my drawing and I don't know enough about TurboCAD to correct anything like that. Alan |
||
posted: 26 Jul 2008 14:51 from: Martin Wynne
click the date to link to this post click member name to view archived images |
Alan Turner wrote: trouble is it's not my drawing and I don't know enough about TurboCAD to correct anything like that.Hi Alan, It's difficult to help without seeing the file. Can you attach it here? DXFs are accepted and you can go up to 5MB. If it's track I think it's probably not the closing of polylines which Richard mentioned. Most likely it contains blocks. Templot doesn't do blocks, they should be exploded before saving the DXF file. There's an option in TurboCad's Save dialog to explode any blocks. regards, Martin. |
||
posted: 26 Jul 2008 17:27 from: Alan Turner
click the date to link to this post click member name to view archived images |
Martin Wynne wrote: It's difficult to help without seeing the file. Can you attach it here? DXFs are accepted and you can go up to 5MB. Attached. Thanks for the help. I've just joined W'ton MRC and offered to do their new layout plan and help with the track construction. The DXF file is theirs. Alan |
||
Attachment: attach_321_502_Final.dxf 349 | |||
posted: 26 Jul 2008 17:52 from: Martin Wynne
click the date to link to this post click member name to view archived images |
Alan Turner wroteAttached. Thanks for the help. I've just joined W'ton MRC and offered to do their new layout plan and help with the track construction. The DXF file is theirs.Hi Alan, Thanks for the DXF. The missing tracks are elliptical, used as an approximation to transition curves. Templot doesn't do ellipses (nor do railways, of course ) in the DXF import. I will replace them with the best match to a transition curve I can get, and return a modified file. The plan looks impressive. regards, Martin. |
||
posted: 9 Aug 2008 15:05 from: Alan Turner
click the date to link to this post click member name to view archived images |
Sorry to bother you again on this but I produced a track plan and converted it to DXF. I can import this into TurboCAD and also into a freeware DXF reader with no problem. However when the member of the club tries to load it into Auto CAD for printing it off he gets the following error: Command: dxfin Syntax error or premature end of file on line 466959. Invalid or incomplete DXF input -- drawing discarded. ; User warning: Namespace for closing Document is not found Regenerating model any idea what is going on? I attach the DXF file. Alan |
||
Attachment: attach_328_502_Old_Mill.dxf 415 | |||
posted: 9 Aug 2008 16:14 from: Martin Wynne
click the date to link to this post click member name to view archived images |
Hi Alan, The DXF file which you attached was not created by Templot. I can't see anything wrong in line 466959. It loads into TurboCad ok, but I don't have AutoCad here to try. Perhaps you attached the wrong file? Was this one saved from TurboCad? p.s. I notice two 3-throw turnouts in there! Is this a Midland Railway design? regards, Martin. |
||
posted: 9 Aug 2008 19:35 from: Alan Turner
click the date to link to this post click member name to view archived images |
Martin Wynne wrote: The DXF file which you attached was not created by Templot. It was but it went via TurboCAD and I probably saved it from there. here is the "straight from Templot" DXF. regards Alan |
||
Attachment: attach_329_502_Old_Mill.dxf 458 | |||
posted: 9 Aug 2008 20:06 from: Martin Wynne
click the date to link to this post click member name to view archived images |
Alan Turner wrote: here is the "straight from Templot" DXF.Hi Alan, That's reduced the file size from 4.7MB from TurboCad to 2.7MB direct from Templot. However, it has only 415,778 lines, so it can't be the source of an error on line 466,959. You seem to have got in a muddle with your files -- I suggest sending this file to your friend instead of the previous one. regards, Martin. |
||
posted: 10 Aug 2008 15:43 from: Martin Wynne
click the date to link to this post click member name to view archived images |
Alan Turner wrote: However when the member of the club tries to load it into Auto CAD for printing it off he gets the following error: Hi Alan, Did you send the file as an email attachment? It's a large file -- it is very likely that it has exceeded the allowed attachment size and been truncated. Now that you have uploaded it here, you can invite your friend to download it from here instead. The link is: http://85a.co.uk/forum/attachment.php?id=329 regards, Martin. |
||
posted: 10 Aug 2008 16:25 from: Alan Turner
click the date to link to this post click member name to view archived images |
Martin Wynne wrote:
I did but I subsequently gave him a CD with the same result. You also asked about the Midland Railway. Yes, as it happens I am a student of the Midland Railway but this particular section of track isn't. I suppose track practises just get ingrained! Alan |
||
Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes, and in your messages on this web site. If you want to publish any of this material elsewhere or use it commercially, you must first obtain the owner's permission to do so. |