News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Simplify a downloaded DXF?

Started by Huntxtrm, November 25, 2025, 01:08:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Huntxtrm

Not sure if I want to simplify?  Join Polyline?(Seems really cumbersome)?  I downloaded a 2d Dxf of a fitting.  I want to add some pen color to it and fill.  But, I cant seem to get it to join up?  Is there and easy way to do this?  I usually make a part, then join polylines when necessary and color it at will.  I cant seem to get downloaded objects to cooperate as easily.  I am building a library of symbols to use in some drawings I will be doing.  You cannot view this attachment. File is attached.
TuboCad Deluxe 2022

lglauberman

The pic point hatching seems to fill some parts of it.

You might need to explode the drawing and join up some lines however.

You cannot view this attachment.
Lawrence Glauberman, LIG
TurboCAD 2024 Platinum, Lightworks
Bambu H2S w/AMS2, QIDI XPlus3

Huntxtrm

I started out with it exploded.  Messing with it.  I actualy grouped it to put it in my symbols.  I can do what your saying.  I was just wondering if there is a more efficient way of getting there.  Thanks for the info.  It all helps.
TuboCad Deluxe 2022

lglauberman

There might be. Give it a few hours and some of the others on the forums might have a better answer.
Lawrence Glauberman, LIG
TurboCAD 2024 Platinum, Lightworks
Bambu H2S w/AMS2, QIDI XPlus3

Huntxtrm

Yes sir.  In the mean time I am breaking it down to the bits and pieces and getting it done.  But, I have a few of these to do. I have ran into this before.  There has to be some kind of work around. 
TuboCad Deluxe 2022

Alvin Gregorio

Quote from: Huntxtrm on November 25, 2025, 01:08:51 PMNot sure if I want to simplify?  Join Polyline?(Seems really cumbersome)?  I downloaded a 2d Dxf of a fitting.  I want to add some pen color to it and fill.  But, I cant seem to get it to join up?  Is there and easy way to do this?  I usually make a part, then join polylines when necessary and color it at will.  I cant seem to get downloaded objects to cooperate as easily.  I am building a library of symbols to use in some drawings I will be doing.  You cannot view this attachment. File is attached.
Do you realize it is a Group?, in its current state as provided to use in the .tcw drawing.  In fact, a Group that is made up of a Group.

I'm not clear on the exact objective.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

lglauberman

I think part of the problem here is (and I might be wrong) that this file is simply a converted image from one of those free online converters. JPG to DXF...
Lawrence Glauberman, LIG
TurboCAD 2024 Platinum, Lightworks
Bambu H2S w/AMS2, QIDI XPlus3

Andy H

Quote from: Huntxtrm on November 25, 2025, 01:08:51 PMI downloaded a 2d Dxf of a fitting.  I want to add some pen color to it and fill.  But, I cant seem to get it to join up?  Is there and easy way to do this?

The drawing is flawed. attached is just one example the lined don't meet at vertex, and they overlap.  Join poly will not work on things like this.  also some splines on the thread are open (gaps at the ends).  And when I selected some splines and used 'place on workplane', some of them ended up miles away from the drawing (out in space).  Audit report says the splines are faulty with bad coordinates,  these are the ones representing the threads. 

Lines and arcs appear ok. but you cannot use join poly, as the lines / arcs don't meet at the end vertices. this does not matter as much when using pick point hatch as it looks for enclosed space, whereas normal hatch looks for closed object. you may also have to use place on workplane. 

You need to examine (zoom in) the whole object, repairing mismatched lines arcs.  Replace the splines on the threads, by putting the existing ones on a separate locked layer and trace with new splines.  Do not try join poly on a spline, as it will be converted to a polyline with loads of nodes.  delete the old ones once they are traced.

   

lglauberman

Lawrence Glauberman, LIG
TurboCAD 2024 Platinum, Lightworks
Bambu H2S w/AMS2, QIDI XPlus3

Alvin Gregorio

In the attached, I
>Selected All and Scaled the X -1, so that the 1/2" reads correctly.
>Zoomed Extents, Updated View 0 to be this view
>Inserted that View 0 into Paperspace, Viewport Fixed Scale 1:1
>Exploded that Paperspace Viewport once
>Copied that exploded Viewport contents
>In Modelspace, with Workplane set to By World, Pasted the copied Viewport contents
>That came is as a Group, so Exploded that once to remove the Group wrapper.

In the attached, the one on the left seems to behave better.
But I still don't know exactly what the intent and objective is— to offer further and better suggestion.

  (I forgot Huntxtrm's name)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Huntxtrm

Quote from: Alvin Gregorio on November 25, 2025, 04:00:52 PM
Quote from: Huntxtrm on November 25, 2025, 01:08:51 PMNot sure if I want to simplify?  Join Polyline?(Seems really cumbersome)?  I downloaded a 2d Dxf of a fitting.  I want to add some pen color to it and fill.  But, I cant seem to get it to join up?  Is there and easy way to do this?  I usually make a part, then join polylines when necessary and color it at will.  I cant seem to get downloaded objects to cooperate as easily.  I am building a library of symbols to use in some drawings I will be doing.  You cannot view this attachment. File is attached.
Do you realize it is a Group?, in its current state as provided to use in the .tcw drawing.  In fact, a Group that is made up of a Group.

I'm not clear on the exact objective.

Yes I realize it is a group.  I created it as a group to use as a symbol.   I am exploding it before trying to join polyline.  I am using it as is for the time being as a symbol in my drawings.  I want to add fill color to it.  In the past I have taken drawings and joined polyline and was able to add fill color.  This one seems to not like being joined?  I will probably manually trace it(create my own version of the drawing), if I cannot figure out a easy method to do it. 
TuboCad Deluxe 2022

Huntxtrm

Quote from: lglauberman on November 25, 2025, 04:04:38 PMI think part of the problem here is (and I might be wrong) that this file is simply a converted image from one of those free online converters. JPG to DXF...
It was a direct DXF download from Automation Direct.  I opened it in TC Deluxe 22 and saved as a tc2022 drawing format.  I converted it within TC.  Automation direct is a company that sells these parts, to be clear. 
TuboCad Deluxe 2022

Huntxtrm

Quote from: Andy H on November 25, 2025, 04:19:53 PM
Quote from: Huntxtrm on November 25, 2025, 01:08:51 PMI downloaded a 2d Dxf of a fitting.  I want to add some pen color to it and fill.  But, I cant seem to get it to join up?  Is there and easy way to do this?

The drawing is flawed. attached is just one example the lined don't meet at vertex, and they overlap.  Join poly will not work on things like this.  also some splines on the thread are open (gaps at the ends).  And when I selected some splines and used 'place on workplane', some of them ended up miles away from the drawing (out in space).  Audit report says the splines are faulty with bad coordinates,  these are the ones representing the threads. 

Lines and arcs appear ok. but you cannot use join poly, as the lines / arcs don't meet at the end vertices. this does not matter as much when using pick point hatch as it looks for enclosed space, whereas normal hatch looks for closed object. you may also have to use place on workplane. 

You need to examine (zoom in) the whole object, repairing mismatched lines arcs.  Replace the splines on the threads, by putting the existing ones on a separate locked layer and trace with new splines.  Do not try join poly on a spline, as it will be converted to a polyline with loads of nodes.  delete the old ones once they are traced.

   

Thank you for looking at it.  I see what you are saying.  Sounds easier to just trace it and draw my own.  It is for a representative drawing, not super specific. 
TuboCad Deluxe 2022

Alvin Gregorio

Quote from: Huntxtrm on November 26, 2025, 04:33:47 AMYes I realize it is a group.  I created it as a group to use as a symbol.  I am exploding it before trying to join polyline.  I am using it as is for the time being as a symbol in my drawings.  I want to add fill color to it.  In the past I have taken drawings and joined polyline and was able to add fill color.  This one seems to not like being joined?  I will probably manually trace it(create my own version of the drawing), if I cannot figure out a easy method to do it.
If you care to Upgrade— TurboCAD version 2025 has a tolerance option in Join Polyline, where we can set how close is close enough for vertices to meet and the Join Polyline still work.

But it will still take some effort by the user to get the correct objects to Join.  By "correct" I mean the object's that are in the user's mind that they want to join.  Because there are so many possibilities in your drawing; if one just tried to use AutoJoin, odds are not good that the outcome is what the user desired.
If I knew exactly which objects you wanted to make as one, and exactly which regions you wanted to add a Brush color to, I could probably offer better and more pointed advice.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Huntxtrm

Attached is the actual Drawing I am creating.  I am a chief I&E inspector.  I am creating guidlines for new I&E inspectors within our company.  Some scenarios for training.  Look at some of the scenarios you will see some EYS seals(Explosion Proof Conduit Seals) that I will need to do the same thing with.  I am sort of back tracking now and creating Symbols for the drawing, now that I have a direction in mind.  I would like to create a library of symbols for ease of building different scenarios.  This will eventually all get sent to BlueBeam pdf to be shared with inspectors in the field.  You cannot view this attachment.You cannot view this attachment. 
TuboCad Deluxe 2022

Alvin Gregorio

Thanks for the additional information and .tcw file, Huntxtrm.  That's useful.

I have to get going to work myself.  But for my exercise, I'd like to return to helping you simplify this process some.  If others don't first.

The first thing I am likely to experiment with and offer to you— use Format/Create_Hatch.
>Create a New Layer "Hatches -01".  Maybe set its Layer (Draw) Order to a higher value than other Layers.
>Go to a Hatch Tool and preset its Properties as you prefer to be the default— Layer; Pen Pattern and Width and Color; Brush Pattern and Color and Transparency...
>Select the objects that pretty much define the outline of what you want to "join polyline" and execute the command Create_Hatch (typically can be found in the Format menu and Hatch Toolbar).
>Select the just-created Hatch object (Polyline) and adjust its properties as desired.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Huntxtrm

Quote from: Alvin Gregorio on November 26, 2025, 05:11:52 AMThanks for the additional information and .tcw file, Huntxtrm.  That's useful.

I have to get going to work myself.  But for my exercise, I'd like to return to helping you simplify this process some.  If others don't first.

The first thing I am likely to experiment with and offer to you— use Format/Create_Hatch.
>Create a New Layer "Hatches -01".  Maybe set its Layer (Draw) Order to a higher value than other Layers.
>Go to a Hatch Tool and preset its Properties as you prefer to be the default— Layer; Pen Pattern and Width and Color; Brush Pattern and Color and Transparency...
>Select the objects that pretty much define the outline of what you want to "join polyline" and execute the command Create_Hatch (typically can be found in the Format menu and Hatch Toolbar).
>Select the just-created Hatch object (Polyline) and adjust its properties as desired.


I really appreciate the help.  I will continue on trying some things on my own as well.
TuboCad Deluxe 2022

Alvin Gregorio

#17
Huntxtrm— Is something like in the attached what you are wanting to do?

If I download the same or very similar product 2D.dwg from Automation_Direct, it comes into TurboCAD pretty much intact.  None of the issues Andy and Lawrence highlighted here.  Except the threads' splines & lines don't all connect.

If I open the .dwg, set Selector to 3D, set Workplane_by_World, Place_on_Workplane, switch to 2D Selector, get it all closer to World 0,0,0, it behaves well within editable expectations.  Just have to deal with the threads.
After Save As... .tcw and doing the above, I set the Drawing to 2D_Edit_Mode, for good measure; because this drawing will never have any 3D elements.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Huntxtrm

Quote from: Alvin Gregorio on November 26, 2025, 06:57:36 PMHuntxtrm— Is something like in the attached what you are wanting to do?

If I download the same or very similar product 2D.dwg from Automation_Direct, it comes into TurboCAD pretty much intact.  None of the issues Andy and Lawrence highlighted here.  Except the threads' splines & lines don't all connect.

If I open the .dwg, set Selector to 3D, set Workplane_by_World, Place_on_Workplane, switch to 2D Selector, get it all closer to World 0,0,0, it behaves well within editable expectations.  Just have to deal with the threads.
After Save As... .tcw and doing the above, I set the Drawing to 2D_Edit_Mode, for good measure; because this drawing will never have any 3D elements.


Yes, that is what I am looking for something like that.  So, my take from what you did was download in DWG instead of DXF.  3d place on workplane.  Then back to 2d.  Save as TCW.  Does DWG play better than DXF?  Should I be downloading files in a preferenct to DWG? 
TuboCad Deluxe 2022

lglauberman

Quote from: Huntxtrm on December 01, 2025, 10:52:02 AMDoes DWG play better than DXF?

Yes it absolutely does. AutoCad format imports and exports pretty much flawless into TurboCad.
Lawrence Glauberman, LIG
TurboCAD 2024 Platinum, Lightworks
Bambu H2S w/AMS2, QIDI XPlus3

Huntxtrm

Quote from: lglauberman on December 01, 2025, 11:17:17 AM
Quote from: Huntxtrm on December 01, 2025, 10:52:02 AMDoes DWG play better than DXF?

Yes it absolutely does. AutoCad format imports and exports pretty much flawless into TurboCad.

Thank you.  Good information.  I already played with it as Alvin said.  It is still sort of a pain in the keister.  But, it is way better than tracing. 
TuboCad Deluxe 2022

Huntxtrm

So, here is a method I used that seemed to work. 
I downloaded in DWG.  Like Alvin Said.  toggle 3d>workplane by world>Select the image>place on workplane>Set layer to conduit>created a layer Called Trace>used a series of lines, splines, polylines to trace in trace layer>made conduit layer invisible> joined polyline all of trace>Assigned fill color>  In design Director set draw order to Conduit 6, Trace 5.> Made both layers visible>Grouped>Dragged into symbols.  ???? Seems like a lot, but worked for me. 

If there is an easier way, Im all ears.  It was tough to zoom in and connect/trim ect...  ???  What do you guys think?  Drawing is attached. You cannot view this attachment.
TuboCad Deluxe 2022

Alvin Gregorio

#22
I now decipher from Huntxtrm's other topic thread that it does seem that Huntxtrm is going through TraceParts— not Automation Direct directly.
?*
I also see that Trace Parts has a TurboCAD file download option.  Does it work and how good is it?... I don't know— I didn't elect to Register on the site.

Things are starting to add up.  I am curious if the TurboCAD file(s) downloaded from Trace Parts come in any better intact than the AutoCAD .dwg files do from Automation Direct.  (but probably not curious enough to Register with Trace Parts)
_______
Update:  *Automation Direct does not have a 2D CAD download of this particular product.  It has a 3D .step, which if Huntxtrm was using Platinum, could be downloaded and utilized beneficially.
  I believe the less expensive (than Platinum) but less dynamic, Pro edition of TurboCAD can open .step files.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

sauerkraut2018

Hello,

here is the part as tcw from Traceparts.
#-----
Very low knowledge of English - I ask for indulgence - Thanks
Currently installed
TurboCAD Professional 32-bit V.17.2.77.1
TurboCAD 2016 ProPlatinum 64-bit V23.2-61.2 engl.
TurboCAD 2021 Platinum 64-bit V28.0 B.82.3 de.
#-----

Alvin Gregorio

Thank you, sauerkraut
Yes, Huntxtrm and his company would find it beneficial to use a TurboCAD Platinum edition.  If this is something they intend to do often.
  The 3D object in the .tcw file sauerkraut provided is or is akin to being an ACIS Solid.  In Platinum, there are multiple tools and features we can utilize to produce a more-intact 2D projection from that, from which we can then more easily edit Pen Widths and Colors and apply Brushes as wanted.
___________________________
In case Huntxtrm is curious about how this is modeled in 3D, attached is something that should open in Deluxe.
Invoke Hidden Line render and various standard views including Isometric views.  Also see the Paperspace.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)