1

(160 replies, posted in Import DXF)

plc-user wrote:

Let's not guess what might be wrong with the fonts, but wait for Vadoola's answer when he has looked at the dxf and the resulting element-file!

I'm also not asking why you took the additional conversion route via dwg when there is a dxf available from the supplier that can be converted directly. I achieved the perfect results I described in the post above

No worries, if I get time later I may run the conversion in debugger and trace code myself, Scorpio810 showed me where to start.

As for the DWG conversion, completely different item from different vendor that had DWG only, I'll try reimporting from the DWG and see if it scales correctly later, not relavent to the text issue, but I wanted to include my sheet in case it could help anyone else with conversions (maybe rescaling existing wrong scaled drawings)

2

(160 replies, posted in Import DXF)

plc-user wrote:

I don't know what you are complaining about: the drawing is perfectly converted and the scale of 1mm = 2px is also correct!
And vadoola's statement is also correct: scaling of texts and their positioning still needs to be worked on.

What texts do you want to use for the front view of the element? You know the name, the part-number and the manufacturer...


No complaints sir, I am happy and thankful for the work on the importer and your resizer. I only bring it up because the text issue was mentioned and I saw the issues on the USA based DXFs I tried which leads me to wonder if they have a 3rd party backend generating these and if so fixing may be worth it. (as it would affect a ton of these DXFs)

Also if it's prescaled, I wonder if prev document I converted from DWG->DXF->Element was messed up or if I did some dragging around 1st by mistake

@Scorpio810, I may have to look into file format, but I assume the DXF has font size and QET has font size, so can't we get a porportion based on doc size and then just hit the font sizes with that (rounded as needed)

3

(160 replies, posted in Import DXF)

Howdy all, hope this is the correct place for bugs on DXF conversion, am playing around with doing an enclosure layout, so I grabbed a coordgrip dxf I could use off Mcmaster carr and the text is garbled to heck, may be useful for the "fun" text layout issues


Can grib dxf here since I can't upload it https://www.mcmaster.com/8302K738/

As a gift, a quick scale factor conversion sheet I made, after importing to ELMT if you know some dimension in real world units you can punch in coords of that in PX units and it will calculate scale factor based on 2px=1MM, its set in inches 'cause I'm 'Murican, but easy enough to knock the 25.4mm/inch out if needed

found best way to use is import -> save as element, measure, figure scale factor; delete contents of element, then do import and resize the element onto itself with calculated scale factor